[HOW TO] Install + Root ULM Pie (21d and 20e) and add working TWRP /w stock! - LG G7 ThinQ Guides, News, & Discussion

Hey guys,
VIDEO TUTORIAL:
https://youtu.be/ylBSZk7EqcA o
Someone written a better tutorial or you can follow my video tutorial
https://docs.google.com/document/d/1fdeO9jmm8ewwRX_G0MaGHsVfIVtxgh0yRK0-Yypcl_E/edit?usp=drivesdk
Credits:
@loonycgb2 for the bootloader tutorial
@jsergan[/MENTION] for the root tutorial
@Zackptg5p and whoever helped him for this DM Verity and forceencrypt disabler

Where "21ULMD Kdz file"
I can't found it on web

Ahmed Ismael said:
Where "21ULMD Kdz file"
I can't found it on web
Click to expand...
Click to collapse
https://lg-firmwares.com/downloads-file/20303/G710ULM21d_00_NAO_US_OP_0711
---------- Post added at 07:17 PM ---------- Previous post was at 07:16 PM ----------
Before I flash it I wanted to ask if you notice any performance difference between 11g (oreo) and 21d. Is it just as fast?

ninjamirage said:
https://lg-firmwares.com/downloads-file/20303/G710ULM21d_00_NAO_US_OP_0711
---------- Post added at 07:17 PM ---------- Previous post was at 07:16 PM ----------
Before I flash it I wanted to ask if you notice any performance difference between 11g (oreo) and 21d. Is it just as fast?
Click to expand...
Click to collapse
I Cross-Flash G710ULM20 GFI
Performance increases

I cross-flashed G710pm to G710ulm20e USA. Thanks OP and lge.fun
I only have to ask if you should let magisk manager download and install the updated zip (20.1). I decided not to because it may break the rooted boot image.

ninjamirage said:
I cross-flashed G710pm to G710ulm20e USA. Thanks OP and lge.fun
I only have to ask if you should let magisk manager download and install the updated zip (20.1). I decided not to because it may break the rooted boot image.
Click to expand...
Click to collapse
Nah it works you can update it via twrp or direct install it.

Awesomeslayerg said:
Nah it works you can update it via twrp or direct install it.
Click to expand...
Click to collapse
Thanks. I don't think I need fastboot yet. I am not sure how to erase the LAF partition.

ninjamirage said:
I cross-flashed G710pm to G710ulm20e USA. Thanks OP and lge.fun
I only have to ask if you should let magisk manager download and install the updated zip (20.1). I decided not to because it may break the rooted boot image.
Click to expand...
Click to collapse
ninjamirage said:
Thanks. I don't think I need fastboot yet. I am not sure how to erase the LAF partition.
Click to expand...
Click to collapse
To zero it out use adb shell or the termrnial app then su
The do:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/laf_a
To get into download mode:
Theres two ways#
1. Get into fastboot mode and set current slot to b
Code:
fastboot --set-active=b
then reboot and hold the up button while its connectrc to your pc and you should be able to get into download mode
2. Boot into twrp, then tap reboot in the menu and on the bottom it should say slot a or b and select b. Then reboot. Dont worry about not being able to mount.

Awesomeslayerg said:
To zero it out use adb shell or the termrnial app then su
The do:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/laf_a
To get into download mode:
Theres two ways#
1. Get into fastboot mode and set current slot to b
Code:
fastboot --set-active=b
then reboot and hold the up button while its connectrc to your pc and you should be able to get into download mode
2. Boot into twrp, then tap reboot in the menu and on the bottom it should say slot a or b and select b. Then reboot. Dont worry about not being able to mount.
Click to expand...
Click to collapse
Is that for installing a custom rom?
Then do you need to do this?
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta_a.img

ninjamirage said:
Is that for installing a custom rom?
Then do you need to do this?
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta_a.img
Click to expand...
Click to collapse
Yes

This tutorial is trash, I'm tried everything but my device keep getting bricked and bootloop, pls delete it!

CyborgSG said:
This tutorial is trash, I'm tried everything but my device keep getting bricked and bootloop, pls delete it!
Click to expand...
Click to collapse
One person got it to work. I

Can you show the full details of your method, as I'm tried patch both img and it's work, but when I boot to download mode and connect to PC and open LGUp, it's always show unknown model, try flash the img it in fastboot many time, it's always happen like that

CyborgSG said:
This tutorial is trash, I'm tried everything but my device keep getting bricked and bootloop, pls delete it!
Click to expand...
Click to collapse
CyborgSG said:
Can you show the full details of your method, as I'm tried patch both img and it's work, but when I boot to download mode and connect to PC and open LGUp, it's always show unknown model
Click to expand...
Click to collapse
First don't call a tutorial trash cause you didn't do it properly and you didn't even detail the problem properly. . Second, make sure you're still on 11g firmware or go back to 11g firmware via download mode of you're not and then flash the abl partition from the unlocked bootloader tutorial if you havent used that abl. Then fastboot flash rooted 11g boot_a and boot_b file then reboot to firmware and make sure it boots all the way up and restart your PC then try going into download mode again if it works go into fastboot flash the 21ulmd booted rooted image both a and b then immediately restart to download mod

I'm on g710ulm11g and I'm rooted, updated the magisk to 20.1, now do I have to boot to fastboot and boot the twrp20ulmrooted img to boot_a and boot_b and then boot to download mode?

CyborgSG said:
I'm on g710ulm11g and I'm rooted, updated the magisk to 20.1, now do I have to boot to fastboot and boot the twrp20ulmrooted img to boot_a and boot_b and then boot to download mode?
Click to expand...
Click to collapse
Noo. Fastboot flash 21ulmrooted to both a and b then reboot to download mode.

question: I am rooted with magisk and on ULM21d. I have extracted the image file and renamed it "twrp21ulmdroot.img" and put this file on my internal storage /sdcard. When I run the command dd if=/sdcard/twrp21ulmdroot.img of=/dev/block/bootdevice/by-name/boot_a in adb shell (as root #) it keeps giving me a response of dd: /sdcard/twrp21ulmdroot.img: No such file or directory. The file is actually there. Any ideas?

way2aware said:
question: I am rooted with magisk and on ULM21d. I have extracted the image file and renamed it "twrp21ulmdroot.img" and put this file on my internal storage /sdcard. When I run the command dd if=/sdcard/twrp21ulmdroot.img of=/dev/block/bootdevice/by-name/boot_a in adb shell (as root #) it keeps giving me a response of dd: /sdcard/twrp21ulmdroot.img: No such file or directory. The file is actually there. Any ideas?
Click to expand...
Click to collapse
Are you sure you didn't name it twrp21ulmd.img.img? Or reboot the device.. Make sure it's where the Download, pictures etc.. folders are.

Awesomeslayerg said:
Noo. Fastboot flash 21ulmrooted to both a and b then reboot to download mode.
Click to expand...
Click to collapse
When I'm try to boot the twrp20ulmrooted to boot a and boot b, bcoz I want to root on g710ulm20e, then in command it's show up: cannot boot a boot.img *and* ramdisk, so what exactly command I have to use in adb and fastboot?

Awesomeslayerg said:
Are you sure you didn't name it twrp21ulmd.img.img? Or reboot the device.. Make sure it's where the Download, pictures etc.. folders are.
Click to expand...
Click to collapse
sir, your tutorial worked perfectly for me- I now for the first time since owning this phone have a custom recovery. Thank you for your help :good:
Edit: my problem earlier was that the image file was not installing to my internal storage in the right place for whatever reason... /sdcard was not available when searching my int storage. So I dropped the file into 'Download', then used Advanced tools pro file manager to grab it and paste it into the parent directory. At that point the shell commands worked

Related

Can Nokia 3 root

Hello guys i have Nokia 3 and i want to root it can i root it without any problems and after root can I recieve updates and am able to install it successfully?
I need help
I unlocked the bootloader, Thanks to the_laser, but... I can´t install any recovery, I´ve looking many options, and I can´t
Can yo help me, giving me the link here or by private message.
I need to root my nokia 3 ta-1028 please.
Thanks a lot
xdrucsix said:
I unlocked the bootloader, Thanks to the_laser, but... I can´t install any recovery, I´ve looking many options, and I can´t
Can yo help me, giving me the link here or by private message.
I need to root my nokia 3 ta-1028 please.
Thanks a lot
Click to expand...
Click to collapse
twrp is available only for ta-1032, sorry about that, you need to wait for someone to port it.
SkaboXD said:
twrp is available only for ta-1032, sorry about that, you need to wait for someone to port it.
Click to expand...
Click to collapse
Oh, Ok I can see, I have to wait :/
is there any difference between ta-1028 and ta-1032 in TWRP view ?
it is easy to try just boot into recovery - "fastboot boot <recovery.img>"
the_laser said:
is there any difference between ta-1028 and ta-1032 in TWRP view ?
it is easy to try just boot into recovery - fastboot boot recovery <recovery.img>
Click to expand...
Click to collapse
i know that ta-1032 is for EU dual sim, ta-1028 is american single sim version but i think that there is no difference in hardware. he can try that command to see is that recovery works @xdrucsix
Steps:
first download twrp if you didn't
rename recovery to recovery.img and move it to platform-tools
open cmd as administrator
type location of platform-tools
boot to fastboot
type command
fastboot boot recovery.img
then you will see does it boot or not. twrp will disappear completely after you exit twrp.
I did every step that you say, nothing happened :/
something should definitely happen
at least show all fastboot.exe output during your tries
SkaboXD said:
twrp is available only for ta-1032, sorry about that, you need to wait for someone to port it.
Click to expand...
Click to collapse
The twrp dint even work for 1032..
Mithra siva said:
The twrp dint even work for 1032..
Click to expand...
Click to collapse
it worked for me and others, which method you tried?
SkaboXD said:
it worked for me and others, which method you tried?
Click to expand...
Click to collapse
The method you have mentioned only.. it was showing writing ..'recovery' failed..
---------- Post added at 12:53 PM ---------- Previous post was at 12:49 PM ----------
SkaboXD said:
it worked for me and others, which method you tried?
Click to expand...
Click to collapse
The method you have mentioned only..
It was showing ." Writing 'recovery'...failed (remote size too large)... Please help
SkaboXD said:
it worked for me and others, which method you tried?
Click to expand...
Click to collapse
Bro say something
Mithra siva said:
Bro say something
Click to expand...
Click to collapse
try this
Steps:
first download twrp if you didn't
rename recovery to recovery.img and move it to platform-tools
open cmd as administrator
type location of platform-tools
boot to fastboot
type command
fastboot boot recovery.img
SkaboXD said:
try this
Steps:
first download twrp if you didn't
rename recovery to recovery.img and move it to platform-tools
open cmd as administrator
type location of platform-tools
boot to fastboot
type command
fastboot boot recovery.img
Click to expand...
Click to collapse
How to type location..I have kept it in root folder of (E)
---------- Post added at 05:16 AM ---------- Previous post was at 05:00 AM ----------
SkaboXD said:
try this
Steps:
first download twrp if you didn't
rename recovery to recovery.img and move it to platform-tools
open cmd as administrator
type location of platform-tools
boot to fastboot
type command
fastboot boot recovery.img
Click to expand...
Click to collapse
Can you please send again...how to install twrp..with twrp link indetail.. I go for a last try..
Mithra siva said:
How to type location..I have kept it in root folder of (E)
---------- Post added at 05:16 AM ---------- Previous post was at 05:00 AM ----------
Can you please send again...how to install twrp..with twrp link indetail.. I go for a last try..
Click to expand...
Click to collapse
link for twrp
https://1drv.ms/u/s!AsmTb5aqoY12mDZqDZbPOp47QVMV
when downloaded, copy twrp to folder platform-tools and rename it to recovery.img
to type platform-tools location, type this:
chdir C:/Users/John/Desktop/platform-tools (this is just a example, you need to type your own location of platform-tools)
reboot to recovery
adb reboot recovery
then reboot to bootloader (fastboot) by pressing volume keys.
to flash recovery type this command:
fastboot flash recovery recovery.img
then reboot, fastboot reboot
if it didn't worked, use this command just to boot to twrp (you need to do this everytime when you are connected to PC)
fastboot boot recovery.img
To install root, first disable system modification on twrp then flash this zip for root.
This is not the latest version of SuperSU, but newest releases have some problems and crashes. (at least for me). This is last version that works for me.
That is it.
SkaboXD said:
link for twrp
https://1drv.ms/u/s!AsmTb5aqoY12mDZqDZbPOp47QVMV
when downloaded, copy twrp to folder platform-tools and rename it to recovery.img
to type platform-tools location, type this:
chdir C:/Users/John/Desktop/platform-tools (this is just a example, you need to type your own location of platform-tools)
reboot to recovery
adb reboot recovery
then reboot to bootloader (fastboot) by pressing volume keys.
to flash recovery type this command:
fastboot flash recovery recovery.img
then reboot, fastboot reboot
if it didn't worked, use this command just to boot to twrp (you need to do this everytime when you are connected to PC)
fastboot boot recovery.img
To install root, first disable system modification on twrp then flash this zip for root.
This is not the latest version of SuperSU, but newest releases have some problems and crashes. (at least for me). This is last version that works for me.
That is it.
Click to expand...
Click to collapse
Thanks man it's done..
---------- Post added at 03:35 PM ---------- Previous post was at 03:33 PM ----------
Mithra siva said:
Thanks man it's done..
Click to expand...
Click to collapse
Now can I relock my Bootloader with root..if i can please instruct me
And again thanks a lot
Mithra siva said:
Thanks man it's done..
---------- Post added at 03:35 PM ---------- Previous post was at 03:33 PM ----------
Now can I relock my Bootloader with root..if i can please instruct me
And again thanks a lot
Click to expand...
Click to collapse
no, you can't have locked bootloader and root, after locking bootloader you need to reflash .nb0 file with OST because locking bootloader don't just remove data, it removes whole ROM.
SkaboXD said:
no, you can't have locked bootloader and root, after locking bootloader you need to reflash .nb0 file with OST because locking bootloader don't just remove data, it removes whole ROM.
Click to expand...
Click to collapse
I can't able to remove the system apps even after root..I used system app remover (root) ..
Help
Mithra siva said:
I can't able to remove the system apps even after root..I used system app remover (root) ..
Help
Click to expand...
Click to collapse
did you rebooted after uninstalling system apps?
SkaboXD said:
did you rebooted after uninstalling system apps?
Click to expand...
Click to collapse
It was showing uninstalling failed

[GUIDE] Fix device automatically rebooting after few seconds of booting.

If you are having a weird bootloop where the phone just reboots after few seconds of booting like shown here (https://www.youtube.com/watch?v=3YcWsWYQVGQ) then you're in the right place, here's how you can fix the issue.
Before proceeding make sure you know your risks as I am not responsible for bricked devices, dead SD cards, thermonuclear war and anything really.
Steps:
1) Download Mi Flash Tool and install it. (For the drivers, skip it if you have installed the drivers already)
2) Download and Install minimal ADB and Fastboot Tool, persist.img and temporary twrp.img links will be below.
3) Copy the persist.img to your internal storage.
4) Copy the recoveryxx.img to same folder where you've saved the minimal ADB/Fastboot tool.
4) Goto the minimal adb fastboot tool folder where you had put the recoveryxx.img
5) Open cmdhere.exe
6) Put your phone in fastboot mode (Volume - and Power)
7) Type the following commands:
- fastboot devices (you should something like this:
Fastboot dsad5454sfs, If not, re-install the the fastboot drivers correctly. )
- fastboot oem unlock (This is just for unlocking the bootloader you can just skip it if you have unlocked bootloader.)
- fastboot boot recoveryxx.img *(basically the filename of the image file.)
Now you will boot to the temporary twrp and once you're there follow these steps:
8) Open Terminal in TWRP Custom Recovery (go to “Advanced” > “Terminal”).
9) Type the following command:
- dd if=/sdcard/persist.img of=/dev/block/mmcblk0p27
10) Go to reboot and select system and that's it!
Voila!
Minimal ADB and Fastboot tool: https://forum.xda-developers.com/sho....php?t=2317790
Mi Flash Tool: http://c.mi.com/thread-235054-1-1.html
TWRP Recovery: https://forum.xda-developers.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472 , download the recovery3/2x.img according the android version your on.
Persist(Using this persist.img file is a must) : https://xiaomifirmware.com/download-link/?dlm-dp-dl=7270
Couldn't flash, Error: This image isn't allowed download.
tajamulbaba said:
Couldn't flash, Error: This image isn't allowed download.
Click to expand...
Click to collapse
Have you unlocked the bootloader? If you have and it's showing that error then download the august fastboot ROM and use that persist.img.
Edwin Hamal said:
Have you unlocked the bootloader? If you have and it's showing that error then download the august fastboot ROM and use that persist.img.
Click to expand...
Click to collapse
Yes I've unlocked bootloader, August ROM is nowhere available.
tajamulbaba said:
Yes I've unlocked bootloader, August ROM is nowhere available.
Click to expand...
Click to collapse
Available here (first result of Google search for "mi a1 firmware").
_mysiak_ said:
Available here (first result of Google search for "mi a1 firmware").
Click to expand...
Click to collapse
Thanks for the link, I downloaded and extracted the persist.img, it still shows the error.
tajamulbaba said:
Thanks for the link, I downloaded and extracted the persist.img, it still shows the error.
Click to expand...
Click to collapse
Try other builds then, that occurs if the size of persist.img is different than what your partition allows. For most the August one should work.
Does this break SafetyNet?
No!
ltf_195 said:
Does this break SafetyNet?
Click to expand...
Click to collapse
Nooo. What even makes you think it does?
Could you update the persist file? mine stuck on oreo..
So basically is it working on any nougat build?
awandroid89 said:
Could you update the persist file? mine stuck on oreo..
So basically is it working on any nougat build?
Click to expand...
Click to collapse
I've updated the guide the new one works no matter what.
Edwin Hamal said:
I've updated the guide the new one works no matter what.
Click to expand...
Click to collapse
Hi..successful to flash the file on august firmware but problem still happen. Do you know why?
TWRP
tajamulbaba said:
Couldn't flash, Error: This image isn't allowed download.
Click to expand...
Click to collapse
Use the twrp method as in this thread:
https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-restrore-persist-partition-t3765643
Had the same problem, used twrp
CoolPlushBear said:
Use the twrp method as in this thread:
https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-restrore-persist-partition-t3765643
Had the same problem, used twrp
Click to expand...
Click to collapse
I've updated my method too.
could you explain why does this happens?
Help me.
IMEI= 0
How to fix it?
Step 7.1 adb devices
Step 7.2 adb push persist.img /sdcard
Worked in my case.
Thanks
---------- Post added at 03:12 AM ---------- Previous post was at 03:10 AM ----------
Now i need to fix my IMEI
...
this can not find file on twrp terminal how i can flash it
Can I re-lock bootloader?
Hi,
Flashing the persist.img seems to have resolved the issue for me also, once I have completed the steps in the guide can I re-lock the bootloader?
I assume as we didn't flash TWRP and only booted into it temporarily should be fine?
Thanks

Root OOS 5.1.9 patched boot.img

Hi people,
Here can you you get the patched boot.img for 5.1.9 so that you can fastboot from the boot.img and then root your device in cmd.
Patched and normal boot.img can be downloaded from the attachments
After the update you need to boot your phone into bootloader then then type fastboot boot patched_boot.img and when it the phone boots then install magisk manager on the phone and then press install and then directly (recommend) option.
update download links: https://www74.zippyshare.com/v/dxGCgGju/file.html
https://wsi.li/1U5TP90Cyt26
Great , works perfectly. Thank you
thanks buddy really appreciate the effort just updated.
Gonna test the camera tomorrow when it's daylight haha
Just patched with your file, worked like a charm! Thanks a lot for the effort!!!
No problem people and all you have to do is use a bin extractor to get all the files from the update and then let magisk patch the boot.img so that you get a nice patched fastboot ?
McNizi said:
Great , works perfectly. Thank you
Click to expand...
Click to collapse
Sent from my Galaxy S8 using XDA Labs
how to install it guide please
---------- Post added at 04:00 AM ---------- Previous post was at 03:59 AM ----------
McNizi said:
Great , works perfectly. Thank you
Click to expand...
Click to collapse
how o you install it thanks
---------- Post added at 04:01 AM ---------- Previous post was at 04:00 AM ----------
Viking84 said:
Just patched with your file, worked like a charm! Thanks a lot for the effort!!!
Click to expand...
Click to collapse
guide to install it please help
sry but, what's the advantage?
need unlocked bootloader, yes?
Can you install this from twrp? Reason I ask is because I like to restore the stock boot image before installing a custom kernel, and this would save a step for me.
Thanks for posting this. This got me past accidentally flashing twrp directly to the boot partition after taking the latest OTA.
help
McNizi said:
Great , works perfectly. Thank you
Click to expand...
Click to collapse
installation guide please help
---------- Post added at 06:12 AM ---------- Previous post was at 06:11 AM ----------
RiTCHiE007 said:
Hi people,
Here can you you get the patched boot.img for 5.1.9 so that you can fastboot from the boot.img and then root your device in cmd.
Patched and normal boot.img can be downloaded from the attachments
After the update you need to boot your phone into bootloader then then type fastboot boot patched_boot.img and when it the phone boots then install magisk manager on the phone and then press install and then directly (recommend) option.
files can be downloaded here https://wetransfer.com/downloads/5c80da83c5af3815fae1ee8ed785756220180717173519/0d0778
Click to expand...
Click to collapse
installation guide please help
izote61 said:
installation guide please help
---------- Post added at 06:12 AM ---------- Previous post was at 06:11 AM ----------
installation guide please help
Click to expand...
Click to collapse
He just told you. Read the first post:
get the patched boot.img for 5.1.9 so that you can fastboot from the boot.img and then root your device in cmd.
Patched and normal boot.img can be downloaded from the attachments
After the update you need to boot your phone into bootloader then then type fastboot boot patched_boot.img and when it the phone boots then install magisk manager on the phone and then press install and then directly (recommend) option.
files can be downloaded here https://wetransfer.com/downloads/5c8...7173519/0d0778
help
REAL6 said:
He just told you. Read the first post:
get the patched boot.img for 5.1.9 so that you can fastboot from the boot.img and then root your device in cmd.
Patched and normal boot.img can be downloaded from the attachments
After the update you need to boot your phone into bootloader then then type fastboot boot patched_boot.img and when it the phone boots then install magisk manager on the phone and then press install and then directly (recommend) option.
files can be downloaded here https://wetransfer.com/downloads/5c8...7173519/0d0778
Click to expand...
Click to collapse
help how to do it fastboot from the boot.img
izote61 said:
help how to do it fastboot from the boot.img
Click to expand...
Click to collapse
Install ADB and the fastboot mode with the oneplus drivers.
Then type cmd in the windows search bar to open up command prompt
Will my data be deleted after this procedure?
Enviado desde mi ONEPLUS A6003 mediante Tapatalk
deleted
RiTCHiE007 said:
Install ADB and the fastboot mode with the oneplus drivers.
Then type cmd in the windows search bar to open up command prompt
Click to expand...
Click to collapse
Hi, I don't know what I'm doing wrong :
My OEM Bootloader is unlocked
I reboot on fastboot mode
I connect the phone to my PC
I launch the PowerShell window from the folder where I have downloaded the boot.img and patched_boot.img
I check if my phone is here : fastboot devices (OK)
I launch the first command : fastboot boot.img => then the phone reboot "normally"
I power off the phone
I boot on fastboot mode
I launch the second command : fastboot patched_boot_img => the the phone reboot "normally"
And no root at the end... What am I doing wrong ?
Tibawbaw said:
Hi, I don't know what I'm doing wrong :
My OEM Bootloader is unlocked
I reboot on fastboot mode
I connect the phone to my PC
I launch the PowerShell window from the folder where I have downloaded the boot.img and patched_boot.img
I check if my phone is here : fastboot devices (OK)
I launch the first command : fastboot boot.img => then the phone reboot "normally"
I power off the phone
I boot on fastboot mode
I launch the second command : fastboot patched_boot_img => the the phone reboot "normally"
And no root at the end... What am I doing wrong ?
Click to expand...
Click to collapse
Reboot to recovery and flash magisk
Geoz said:
Reboot to recovery and flash magisk
Click to expand...
Click to collapse
Sorry, I'm so close :
I reboot to recovery
I type my password
I select English
Then... "Wipe data and cache" or "Advanced"
No "flash". Do I have to wipe cache (or anything else) in order to flash magisk ?
Thanks for your help !!
Tibawbaw said:
Sorry, I'm so close :
I reboot to recovery
I type my password
I select English
Then... "Wipe data and cache" or "Advanced"
No "flash". Do I have to wipe cache (or anything else) in order to flash magisk ?
Thanks for your help !!
Click to expand...
Click to collapse
If updating from stock only cache

[Guide] How to Install TWRP & Root Essential PH-1(Method 2)

How to Install TWRP Recovery & Root Essential PH-1 (Windows/Mac/Linux)​​​
This is an alternate method on how install TWRP. This one might give you a better understanding of slots.
Another method can be found at below link. Use whatever is easier for you.
https://forum.xda-developers.com/essential-phone/how-to/guide-rooting-essential-ph-1-magisk-t3701976
Warning 1: If you can't do fastboot commands, do a flash all, root your device or flash TWRP/ROM, please do not ask for help here. If you cannot flash all back to stock, please stay stock for everyone's sake.
Warning 2: You might loose all your data. Make sure to backup your data.
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Pre-Requisites
Make sure you have unlocked the bootloader.
Download and Install drivers (Windows) :- https://storage.googleapis.com/essential-static/Essential-PH1-WindowsDrivers.exe
Make sure to remove pin/password/pattern etc. Even though TWRP support decryption I personally suggest you remove it and can add it back later.
Make sure you are stock. If you are rooted, please install stock boot.img.
How to Boot into fastboot/bootloader mode
1. Reboot phone, and keep volume down pressed while device is rebooting until you see bootloader mode screen.
2. While phone is off, press volume down and then press power button. Keep holding both until you see bootloader mode screen.
How to Install
Steps
1. Download all the files listed in downloads section and place them inside one folder say ph-1.
2. Unzip fastboot and adb zip file (platform-tools). Rename twrp image file to twrp-mata.img. move twrp img file to platform-tools folder.
3. Connect phone to computer and copy below files to internal memory.
* TWRP Installer Zip
* Magisk Zip
Reboot device into bootloader mode.
4. Using command prompt/terminal navigate to folder where fastboot is.
Command Prompt
Code:
fastboot devices
Mac/Linux/Powershell
Code:
./fastboot devices
Make sure device is detected in fastboot mode.
5. Find current slot. Note this down some where.
Command Prompt
Code:
fastboot getvar current-slot
Mac/Linux/Powershell
Code:
./fastboot getvar current-slot
6. If you get current slot as
* A - we will flash twrp to slot B
* B - we will flash twrp to slot A
7. Flash TWRP to slot opposite of what we found out in Step 5.
Command Prompt
Code:
fastboot flash boot_slot twrp-mata.img
Mac/Linux/Powershell
Code:
./fastboot flash boot_slot twrp-mata.img
So, if your current slot was a, you will use boot_b above. If current slot was b, you will use boot_a above.
8. Set slot where we flashed TWRP as active.
Command Prompt
Code:
fastboot --set-active=slot
Mac/Linux/Powershell
Code:
./fastboot --set-active=slot
So, if your current slot was a, you will use --set-active=b above. If current slot was b, you will use --set-active=a above.
9. Use volume rockers till you see recovery option. Then press power button to select. You should now boot into TWRP.
If the touchscreen doesn't function, skip to instructions in post 2 below.
Now, flash TWRP installer zip file.
Once zip is flashed and has patched both slots. Go back to home screen.
Reboot.
On this screen select the slot which we had noted down in step 5.
Then reboot into system. You should now boot into Android.
10. To root. Boot back into bootloader mode. Go into TWRP recovery. Flash magisk zip. reboot.
Support :
1) Search. Search, search, search. If you make the effort of reading atleast 5 pages back, most if not all your questions will be answered. I personally, will ignore any questions, if I know they have been answered in the last 5 pages. Not being rude, but please read.
2) If you can't find answers in last 5 pages, ask here, be respectful and have a good time.
Video Guide
Downloads :
Latest ADB & Fastboot Zip File :- https://developer.android.com/studio/releases/platform-tools
TWRP for Essential Phone (need both .img and zip file) :- https://forum.xda-developers.com/es...official-twrp-3-2-3-0-essential-ph-1-t3840931
Magisk :- https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Going Back to Stock :- https://forum.xda-developers.com/essential-phone/development/stock-7-1-1-nmj20d-t3701681
If you flashed September Android 9.0 Pie Back to Stock (BTS) it flashes to both slots. In that case, if touch is not working please refer post 2.
Credits
@Dees_Troy for TWRP
@aer0zer0 for back to stock (BTS)
@topjohnwu for Magisk
@munchy_cool for this guide
reserved
Common Issues
Thanks to @starcms for helping with the instructions.
No touch in TWRP in Step 9.
Keep your phone connected to computer. Open command prompt/terminal/powershell.
Now we are going to install TWRP installer zip.
Command Pormpt
Code:
adb shell twrp install path/to/zip
So, let's say you have twrp installer zip (named
twrp-installer-mata-3.2.3-0.zip) in root of internal memory.
Code:
adb shell twrp install /sdcard/
twrp-installer-mata-3.2.3-0.zip
This should flash TWRP to both slots. Now, you can reboot using
Code:
adb reboot bootloader
and go back into TWRP. Check if touch is working and then set your slot to one noted in step 5.
If touch is not working use fastboot (step 8) to change the slot to that noted in Step 5..
Now boot back into TWRP using volume rockers and proceed to Step 10 (flashing Magisk zip)
Terminal/Powershell users please add ./ before the adb.
reserved 002
reserved 002
Nice write-up. I would also maybe add (to your discretion ofc) that if you flash the latest P BTS, it flashes to both slots, making touch unusable in twrp and will need to follow your addendum.
aer0zer0 said:
Nice write-up. I would also maybe add (to your discretion ofc) that if you flash the latest P BTS, it flashes to both slots, making touch unusable in twrp and will need to follow your addendum.
Click to expand...
Click to collapse
Done. Thanks for the advice :highfive:
Uh I...have a new problem. I use "adb shell twrp install" to install twrp-installer-mata-3.2.3-0.zip and it seem to work...but later I flash the stockboot and flash magisk. Than I cant boot into the system. It reboot itself to the stock recovery when it finished booted. And told me cant start up the system and two options down below "try again" "factory reset"
Is my stockboot file is incorrect?
YunolexDDP said:
Uh I...have a new problem. I use "adb shell twrp install" to install twrp-installer-mata-3.2.3-0.zip and it seem to work...but later I flash the stockboot and flash magisk. Than I cant boot into the system. It reboot itself to the stock recovery when it finished booted. And told me cant start up the system and two options down below "try again" "factory reset"
Is my stockboot file is incorrect?
Click to expand...
Click to collapse
recovery is part of boot image. if you flash stock boot, twrp is removed.
munchy_cool said:
recovery is part of boot image. if you flash stock boot, twrp is removed.
Click to expand...
Click to collapse
Yeah i know but now i wonder where goes wrong with my phone
Seem my English is not very good so....I dont know how to search the key word
So..I wonder if you have seem this situation before.
YunolexDDP said:
Yeah i know but now i wonder where goes wrong with my phone
Seem my English is not very good so....I dont know how to search the key word
So..I wonder if you have seem this situation before.
Click to expand...
Click to collapse
after installing twrp zip, if you instal stock boot or new kernel it will remove twrp.
you have to flash twrp zip after installing new kernel.
to root, boot into android once after instalinh twrp zip.
then boot back into twrp, and flash magisk zip.
munchy_cool said:
after installing twrp zip, if you instal stock boot or new kernel it will remove twrp.
you have to flash twrp zip after installing new kernel.
to root, boot into android once after instalinh twrp zip.
then boot back into twrp, and flash magisk zip.
Click to expand...
Click to collapse
I am pretty close it. Now i have my twrp install in one slot and the system can boot from another slot but uh..
do I need to flash stock boot before I flash magisk?
cus now I still cant boot the system from twrp..
the official website said "use the devices as normal" hmm..
I need to change the slot if i want to boot the system. Is that normal?
YunolexDDP said:
I am pretty close it. Now i have my twrp install in one slot and the system can boot from another slot but uh..
do I need to flash stock boot before I flash magisk?
cus now I still cant boot the system from twrp..
the official website said "use the devices as normal" hmm..
I need to change the slot if i want to boot the system. Is that normal?
Click to expand...
Click to collapse
NO you don't need to flash stock boot to instal Magisk.
yes, you need to change slot to boot system.
all of this is mentioned in first post.
i have a question, is there a way to just boot into TWRP to just flash magisk? without flashing TWRP itself? i want to recive OTAs still and all i want is just magisk installed, i tried the ,ethod of patching the boot.img but that was a huge fail please help!!!
DeimosPhobos said:
i have a question, is there a way to just boot into TWRP to just flash magisk? without flashing TWRP itself? i want to recive OTAs still and all i want is just magisk installed, i tried the ,ethod of patching the boot.img but that was a huge fail please help!!!
Click to expand...
Click to collapse
No.
We don't have fastboot boot
aer0zer0 said:
No.
We don't have fastboot boot
Click to expand...
Click to collapse
Ahhhh ok,
I figured out the patched boot image method, although when I tried to make my own patched boot IMG, it didn't work, I found a Reddit thread where someone had done it, I used theirs and it worked....although the command was supposed to be fastboot flash boot patched_boot.img and Everytime I did that it sent it to B, but failed on the write, they yelled at me saying that's the command and it should work lol, but I had to actually put fastboot flash boot_b patched_boot.img....the damn A/B partition stuff confuses me Alot lol
DeimosPhobos said:
Ahhhh ok,
I figured out the patched boot image method, although when I tried to make my own patched boot IMG, it didn't work, I found a Reddit thread where someone had done it, I used theirs and it worked....although the command was supposed to be fastboot flash boot patched_boot.img and Everytime I did that it sent it to B, but failed on the write, they yelled at me saying that's the command and it should work lol, but I had to actually put fastboot flash boot_b patched_boot.img....the damn A/B partition stuff confuses me Alot lol
Click to expand...
Click to collapse
sometimes older fastboot versions dont work well with Essential.
for ab slots, if you are want to flash magisk pre-rooted boot.img
just do
fastboot gervar current-slot (say you get a)
and then flash boot.img to current slot.
fastboot flash boot_a nameofboot.img
munchy_cool said:
sometimes older fastboot versions dont work well with Essential.
for ab slots, if you are want to flash magisk pre-rooted boot.img
just do
fastboot gervar current-slot (say you get a)
and then flash boot.img to current slot.
fastboot flash boot_a nameofboot.img
Click to expand...
Click to collapse
essential's driver package for windows doesnt require _a,_b unless you are being specific
fastboot flash boot whatever will work and flash to the current slot if your using essentials (which is an older version) if your using a newer version from google or minimal, it gives the __a or b error trying to append an extra underscore
aer0zer0 said:
essential's driver package for windows doesnt require _a,_b unless you are being specific
fastboot flash boot whatever will work and flash to the current slot if your using essentials (which is an older version) if your using a newer version from google or minimal, it gives the __a or b error trying to append an extra underscore
Click to expand...
Click to collapse
true, but not everyone is on Windows :highfive:
munchy_cool said:
true, but not everyone is on Windows :highfive:
Click to expand...
Click to collapse
Poor Linux folks ?
aer0zer0 said:
Poor Linux folks
Click to expand...
Click to collapse
lol.
Essential is the only phone to give me issues with fastboot though.
munchy_cool said:
lol.
Essential is the only phone to give me issues with fastboot though.
Click to expand...
Click to collapse
Tell me about it, lol.
---------- Post added at 12:00 PM ---------- Previous post was at 11:46 AM ----------
aer0zer0 said:
Tell me about it, lol.
Click to expand...
Click to collapse
Never seen a phone so finicky. I've also got the holy Grail cable that I don't let out of my sight. I've often wondered what makes it so finicky, and I come from a long line of HTC and motos

Honor 6x BLN-L21C10B131 mode error

Hi, I think I flashed a wrong recovery on the phone and now it's in a loop and shows this message the restart again .
there is no recovery or system installed I tried a lot of methods (dload - Multi-Tool 8 - adb fastboot ....) to install a recovery and boot and nothing did work.
the phone boots only in fastboot mode when I press volume -
ERROR MODE
Attention!
please update system again
(picture of android robot thingy)
Error!
Func NO:11 (recovery image)
Error NO:2 (load failed!)
I don't understand because sometimes it shows in cmd that all was successfully installed but when I try to boot into the recovery nothing happens!
Any help or suggestions would be appreciated ,thanks.
PS: Latest version was installed: a custom ROM OREO 8.0
Nevermind, I've fixed it.
Thanks anyway.
Fed-uP said:
Nevermind, I've fixed it.
Thanks anyway.
Click to expand...
Click to collapse
How you fixed it plzz help me bro..I have tried everything not a single hope:crying:
---------- Post added at 05:12 PM ---------- Previous post was at 05:11 PM ----------
I am able to boot into fastboot mode...plzz help me asap:crying:
mohsin.kadiwala said:
How you fixed it plzz help me bro..I have tried everything not a single hope:crying:
---------- Post added at 05:12 PM ---------- Previous post was at 05:11 PM ----------
I am able to boot into fastboot mode...plzz help me asap:crying:
Click to expand...
Click to collapse
Hi bro, can you tell me please how did your phone get broken?
What was the last firmware installed on the phone before it broke?
And is your phone the same edition as the one described above?
Fed-uP said:
Hi bro, can you tell me please how did your phone get broken?
What was the last firmware installed on the phone before it broke?
And is your phone the same edition as the one described above?
Click to expand...
Click to collapse
I think my system partion is damage because of that phone broken it's BLN-L22C675 EMUI 8.0 PATCH 1
mohsin.kadiwala said:
I think my system partion is damage because of that phone broken it's BLN-L22C675 EMUI 8.0 PATCH 1
Click to expand...
Click to collapse
Ok so you have the Indian branding.
The point is to get a recovery on the phone and to do that after a phone break like that is to first flash a kernel. With Oreo you need to to use a bit different commands than other android versions however you need to have a kernel.img for your phone edition (you can find one in Internet or extract it from the oreo version of your phone edition and once you have it boot into fastboot and run adb fastboot on your pc as administrator then type the following commands :
1- fastboot flash kernel (here you put the directory location of where you have the kernel.img file FOR EXAMPLE: "C:\downloads\kernel.img")
2- fastboot flash ramdisk (here you put the directory location again of where you have the kernel.img file FOR EXAMPLE: "C:\downloads\kernel.img")
3- fastboot flash recovery_ramdisk (here you put the directory location of where you have the recovery_ramdisk.img file FOR EXAMPLE: "C:\downloads\recovery_ramdisk.img") to download the TWRP
Remember to have the right imgs of the kernel and the recovery for you phone and the android version which is oreo in your case.
You should get no errors in cmd during the the process and you should be able to boot into recovery after accomplishing all that steps successfully.
Try this and tell me how it worked out for you.
Fed-uP said:
Ok so you have the Indian branding.
The point is to get a recovery on the phone and to do that after a phone break like that is to first flash a kernel. With Oreo you need to to use a bit different commands than other android versions however you need to have a kernel.img for your phone edition (you can find one in Internet or extract it from the oreo version of your phone edition and once you have it boot into fastboot and run adb fastboot on your pc as administrator then type the following commands :
1- fastboot flash kernel (here you put the directory location of where you have the kernel.img file FOR EXAMPLE: "C:\downloads\kernel.img")
2- fastboot flash ramdisk (here you put the directory location again of where you have the kernel.img file FOR EXAMPLE: "C:\downloads\kernel.img")
3- fastboot flash recovery_ramdisk (here you put the directory location of where you have the recovery_ramdisk.img file FOR EXAMPLE: "C:\downloads\recovery_ramdisk.img") to download the TWRP
Remember to have the right imgs of the kernel and the recovery for you phone and the android version which is oreo in your case.
You should get no errors in cmd during the the process and you should be able to boot into recovery after accomplishing all that steps successfully.
Try this and tell me how it worked out for you.
Click to expand...
Click to collapse
Kk..Ty's buddy I will try let u know..:good:

Categories

Resources