Plzzz guyzz help me to root my lg g4 h811 20 x...
Tried all method... Any suggestions... Or ways to get result.. Want to root and install twrp on it..
Somnathdey said:
Plzzz guyzz help me to root my lg g4 h811 20 x...
Tried all method... Any suggestions... Or ways to get result.. Want to root and install twrp on it..
Click to expand...
Click to collapse
Can you share what sort of error messages you are getting? Screenshots, copy and paste, something? It'll give us a good starting point.
Somnathdey said:
Plzzz guyzz help me to root my lg g4 h811 20 x...
Tried all method... Any suggestions... Or ways to get result.. Want to root and install twrp on it..
Click to expand...
Click to collapse
Is your bootloader unlocked?
If so....
you need to put a copy of twrp in the adb/fastboot folder on your pc
Copy these files provided below on to your sdcard
1. twrp
2.SuperSU,
3. opengapps,
4. ROM/ROMs
to avoid mistakes name TWRPXXXXXXXXX TO recovery.img and SUPERSUXXXXXXX TO Supersu.zip
1. Activate developer settings by entering the about section and tapping build number 7 times.
2. Enter your developer settings and MAKE sure you have 'Allow OEM unlock' and 'USB Debugging' enabled.
4. download Minimal ADB and Fastboot and install it....Y ....Y .Y ...... ( yes yes yes )http://www.devfiles.co/download/P4Yv....4.1_setup.exe
5. Once the Command window is linked to the folder adb connect your device via USB and allow the connection.
This is hardest step for most.
Adb will be installed c:/minimal adb and fastboot
Open command prompt
Type " CD.." Without quotes till you are in C:/ directory
Once you are in C:/ directory you type "dir" without quotes
There will be a folder named Minimal adb and fastboot
Now type
"CD Minimal adb and fastboot" without quotes
You are now in the adb folder
6. On the command window type 'adb reboot bootloader' and the device should reboot with the fastboot options on the upper left of the phone screen
7. Once again on the command window type 'fastboot oem unlock' and the command window should say OKAY and complete the action.
8. To Confirm that the device is unlocked type 'fastboot getvar unlock' and the window should respond with 'Unlock: YES'
9. Now download the latest available TWRP and drop it into c:/minimal adb and fastboot
10. On your Command Window type 'fastboot flash recovery "NAME OF TWRP FILE" if you get the error ' cannot load recovery' you need to add .img to the end of the filename (name of twrp in this case will be recovery.img to make things easy)
11. Once the process completes you will see 'target reported max download size of 536870912 bytes
sending 'recovery' (32968 KB)...
OKAY [ 1.088s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time:'
THE FAILED UNKNOWN COMMAND NOTICE CAN BE IGNORED
12. Once the process completes the device may not let you enter recovery from the traditional method using the buttons on the back of the phone so the easiest method is to, on your command window, type
'fastboot boot recovery.img' and the device should respond within just a few seconds and reboot into TWRP.
13. Once the device reboots, enter twrp
THIS IS WHERE IT GEETS CONFUSING
* this will boot twrp on the phone itself, YOU WILLL NOW FLASH TWRP onto your device from sdcard
In TWRP hit Install > Images... (bottom right corner) > select recovery.img on ext sdcard > select "recovery" > swipe.
This time you are flashing it onto your device. You only entered it before
Power off
To enter twrp you will
1. Press power and volume down
2. While holding volume down release power and press power again
3. Select yess >power button
4. Select yes > power button
NOW that you have custom recovery installed and you are in TWRP(custom recovery)
Say goodbye to your LG recovery....
Select BACKUP
Make a backup of everything ....save it to sdcard.
NEXT ...
Select WIPE....WIPE EVERYTHING......GOODBYE LG ROM. We backed it up step before
Flash the ROM you put on your sdcard (press install .....select sdcard....install ROM you downloaded)
Press back
Flash open gapps (press install .....select sdcard....install gapps you downloaded)
Press back
Flash Supersu (press install .....select sdcard....install ROM you downloaded
14. Once the process completes successfully, wipe cache to be safe and reboot your device.
YOUR DEVICE WILL NOW LOOP FROM FLASHING SUPERSU
ROM INSTALATION WILL TAKE 5-10 min
15. Resetup your device and restore your data if necessary and install a root checker from Google Play to confirm root!
Enjoy!
After typing fastboot oem unlock
Nothing working... In command it showing some error like cant find or such a things...... Cant do anything.. Tried.. Is there any other solutions...
Somnathdey said:
After typing fastboot oem unlock
Nothing working... In command it showing some error like cant find or such a things...... Cant do anything.. Tried.. Is there any other solutions...
Click to expand...
Click to collapse
Can you copy and paste the error to here on xda or post a screenshot? It would help if we knew exactly what it was doing.
Kudos to you for documenting a comprehensive and clear procedure for rooting this device... regardless if the advice was used.
deltadiesel said:
Is your bootloader unlocked?
If so....
you need to put a copy of twrp in the adb/fastboot folder on your pc
Copy these files provided below on to your sdcard
1. twrp
2.SuperSU,
3. opengapps,
4. ROM/ROMs
to avoid mistakes name TWRPXXXXXXXXX TO recovery.img and SUPERSUXXXXXXX TO Supersu.zip
1. Activate developer settings by entering the about section and tapping build number 7 times.
2. Enter your developer settings and MAKE sure you have 'Allow OEM unlock' and 'USB Debugging' enabled.
4. download Minimal ADB and Fastboot and install it....Y ....Y .Y ...... ( yes yes yes )http://www.devfiles.co/download/P4Yv....4.1_setup.exe
5. Once the Command window is linked to the folder adb connect your device via USB and allow the connection.
This is hardest step for most.
Adb will be installed c:/minimal adb and fastboot
Open command prompt
Type " CD.." Without quotes till you are in C:/ directory
Once you are in C:/ directory you type "dir" without quotes
There will be a folder named Minimal adb and fastboot
Now type
"CD Minimal adb and fastboot" without quotes
You are now in the adb folder
6. On the command window type 'adb reboot bootloader' and the device should reboot with the fastboot options on the upper left of the phone screen
7. Once again on the command window type 'fastboot oem unlock' and the command window should say OKAY and complete the action.
8. To Confirm that the device is unlocked type 'fastboot getvar unlock' and the window should respond with 'Unlock: YES'
9. Now download the latest available TWRP and drop it into c:/minimal adb and fastboot
10. On your Command Window type 'fastboot flash recovery "NAME OF TWRP FILE" if you get the error ' cannot load recovery' you need to add .img to the end of the filename (name of twrp in this case will be recovery.img to make things easy)
11. Once the process completes you will see 'target reported max download size of 536870912 bytes
sending 'recovery' (32968 KB)...
OKAY [ 1.088s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time:'
THE FAILED UNKNOWN COMMAND NOTICE CAN BE IGNORED
12. Once the process completes the device may not let you enter recovery from the traditional method using the buttons on the back of the phone so the easiest method is to, on your command window, type
'fastboot boot recovery.img' and the device should respond within just a few seconds and reboot into TWRP.
13. Once the device reboots, enter twrp
THIS IS WHERE IT GEETS CONFUSING
* this will boot twrp on the phone itself, YOU WILLL NOW FLASH TWRP onto your device from sdcard
In TWRP hit Install > Images... (bottom right corner) > select recovery.img on ext sdcard > select "recovery" > swipe.
This time you are flashing it onto your device. You only entered it before
Power off
To enter twrp you will
1. Press power and volume down
2. While holding volume down release power and press power again
3. Select yess >power button
4. Select yes > power button
NOW that you have custom recovery installed and you are in TWRP(custom recovery)
Say goodbye to your LG recovery....
Select BACKUP
Make a backup of everything ....save it to sdcard.
NEXT ...
Select WIPE....WIPE EVERYTHING......GOODBYE LG ROM. We backed it up step before
Flash the ROM you put on your sdcard (press install .....select sdcard....install ROM you downloaded)
Press back
Flash open gapps (press install .....select sdcard....install gapps you downloaded)
Press back
Flash Supersu (press install .....select sdcard....install ROM you downloaded
14. Once the process completes successfully, wipe cache to be safe and reboot your device.
YOUR DEVICE WILL NOW LOOP FROM FLASHING SUPERSU
ROM INSTALATION WILL TAKE 5-10 min
15. Resetup your device and restore your data if necessary and install a root checker from Google Play to confirm root!
Enjoy!
Click to expand...
Click to collapse
marcgo said:
Kudos to you for documenting a comprehensive and clear procedure for rooting this device... regardless if the advice was used.
Click to expand...
Click to collapse
I have H81120X
The link posted does not work. It is taking me to a web page not found.
Anyone have a link to the required software?
tsmith154 said:
I have H81120X
The link posted does not work. It is taking me to a web page not found.
Anyone have a link to the required software?
Click to expand...
Click to collapse
The h811 Has an unlocked bootloader.
Go into settings, then developer settings and enable bootloader unlock.
Then follow any guide for rooting a Nexus 5x.
deltadiesel said:
Is your bootloader unlocked?
If so....
you need to put a copy of twrp in the adb/fastboot folder on your pc
Copy these files provided below on to your sdcard
1. twrp
2.SuperSU,
3. opengapps,
4. ROM/ROMs
to avoid mistakes name TWRPXXXXXXXXX TO recovery.img and SUPERSUXXXXXXX TO Supersu.zip
1. Activate developer settings by entering the about section and tapping build number 7 times.
2. Enter your developer settings and MAKE sure you have 'Allow OEM unlock' and 'USB Debugging' enabled.
4. download Minimal ADB and Fastboot and install it....Y ....Y .Y ...... ( yes yes yes )http://www.devfiles.co/download/P4Yv....4.1_setup.exe
5. Once the Command window is linked to the folder adb connect your device via USB and allow the connection.
This is hardest step for most.
Adb will be installed c:/minimal adb and fastboot
Open command prompt
Type " CD.." Without quotes till you are in C:/ directory
Once you are in C:/ directory you type "dir" without quotes
There will be a folder named Minimal adb and fastboot
Now type
The link is down so I have been looking up the latest versions of everything. So far I have found:
*
"CD Minimal adb and fastboot" without quotes
You are now in the adb folder
6. On the command window type 'adb reboot bootloader' and the device should reboot with the fastboot options on the upper left of the phone screen
7. Once again on the command window type 'fastboot oem unlock' and the command window should say OKAY and complete the action.
8. To Confirm that the device is unlocked type 'fastboot getvar unlock' and the window should respond with 'Unlock: YES'
9. Now download the latest available TWRP and drop it into c:/minimal adb and fastboot
10. On your Command Window type 'fastboot flash recovery "NAME OF TWRP FILE" if you get the error ' cannot load recovery' you need to add .img to the end of the filename (name of twrp in this case will be recovery.img to make things easy)
11. Once the process completes you will see 'target reported max download size of 536870912 bytes
sending 'recovery' (32968 KB)...
OKAY [ 1.088s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time:'
THE FAILED UNKNOWN COMMAND NOTICE CAN BE IGNORED
12. Once the process completes the device may not let you enter recovery from the traditional method using the buttons on the back of the phone so the easiest method is to, on your command window, type
'fastboot boot recovery.img' and the device should respond within just a few seconds and reboot into TWRP.
13. Once the device reboots, enter twrp
THIS IS WHERE IT GEETS CONFUSING
* this will boot twrp on the phone itself, YOU WILLL NOW FLASH TWRP onto your device from sdcard
In TWRP hit Install > Images... (bottom right corner) > select recovery.img on ext sdcard > select "recovery" > swipe.
This time you are flashing it onto your device. You only entered it before
Power off
To enter twrp you will
1. Press power and volume down
2. While holding volume down release power and press power again
3. Select yess >power button
4. Select yes > power button
NOW that you have custom recovery installed and you are in TWRP(custom recovery)
Say goodbye to your LG recovery....
Select BACKUP
Make a backup of everything ....save it to sdcard.
NEXT ...
Select WIPE....WIPE EVERYTHING......GOODBYE LG ROM. We backed it up step before
Flash the ROM you put on your sdcard (press install .....select sdcard....install ROM you downloaded)
Press back
Flash open gapps (press install .....select sdcard....install gapps you downloaded)
Press back
Flash Supersu (press install .....select sdcard....install ROM you downloaded
14. Once the process completes successfully, wipe cache to be safe and reboot your device.
YOUR DEVICE WILL NOW LOOP FROM FLASHING SUPERSU
ROM INSTALATION WILL TAKE 5-10 min
15. Resetup your device and restore your data if necessary and install a root checker from Google Play to confirm root!
Enjoy!
Click to expand...
Click to collapse
The link is down so I have been looking up the latest stuff. So far I have:
* SuperSU-v2.79-201612051815
* twrp-3.0.2-0-h811
* open_gapps-arm-6.0-stock-20180401
* I also have found: open_gapps-arm-8.0-stock-20180401
Which one should I use Open-Gapps 6.0 or Open-Gapps 8.0
My phone is h81120x with 6.0.
I want to get my phone up to rooted, custom rom, with 8.0
* adb and fastboot
Use Open-Gapps 6.0 for Marshmallow
To regain root is easy.
Make sure you backup the phone just in case.
Copy root of you choice to external SD
Locate you TWRP and boot to bootloader.
Code:
adb reboot bootloader
In bootloader
Code:
fastboot boot
Press space once at the end, drag and drop TWRP file, and press Enter
Install root of your choice in TWRP
That's it
Thanks so much... Working for me after a full day trying... Thanks
Related
I did the following steps to install recovery. Feel free to do this at your own risk.
My thanks to AndroidHero, Vertigo and Shingers5 for Touch recovery and rooting zip files.
1) Unlock Bootloader (if it locked goto htcdev.com site and follow all steps)
2) Download .zip file and Extract recovery_for_1.28.img from the .zip
3) Copy recovery_for_1.28.img to the same folder as fastboot.exe
4) Select usb debugging (settings>develope option)
5) Connect phone with usb cable to pc and select charge only
6) Goto android-sdk folder and then into platform-tools
7) Shift & Right Click and select open command window here
8) type 'adb reboot bootloader' <enter> (without quotes)
9) In the command window type fastboot flash recovery recovery_for_1.28.img
10) type Exit and disconnect phone
11) reboot the phone.
This recovery is touch recovery and seems to be in its crude form but functional.
If you want to root your phone then do the following,
search for this file CWM-SuperSU-v0.88 and copy to the root directory of your phone and flash using zip from sd card option. You will find this file on the last line.
Goto android-sdk folder and then into platform-tools
Shift & Right Click and select open command window here
type adb reboot-bootloader <enter>
Select fastboot
Select Recovery (Using vol down)
Select install zip from sdcard
Select install from zip file
Scroll down to the place where you copied your CWM-SuperSU-v0.88 file and select it
It will do the root
reboot
Download root checker app from play store and check if you are rooted.
This worked for me. Your comment will be highly appreciated, and do not forget to click my Thanks Meter.
Hi all,
I have the well known charge problem when screen is on and can't connect phone to pc/laptop..
Tomorrow i go to the store i bought the phone and they will send it for warrenty to HTC..
Now i want to know how to get my phone original as possible.
I am S-off with superCID 1111111..
I hope someone can help me out.. :good: :angel:
Thanx,
Batskoning said:
Hi all,
I have the well known charge problem when screen is on and can't connect phone to pc/laptop..
Tomorrow i go to the store i bought the phone and they will send it for warrenty to HTC..
Now i want to know how to get my phone original as possible, so i dont get problems.
I am S-off with superCID 1111111..
I hope someone can help me out.. :good: :angel:
Thanx,
Click to expand...
Click to collapse
If you cant connect the phone to the PC or Laptop, then its impossible to get it to stock.
return to stock
Seanie280672 said:
If you cant connect the phone to the PC or Laptop, then its impossible to get it to stock.
Click to expand...
Click to collapse
Hope it was a mistyped.. concerning you cant connect to the pc/laptop....
however if you managed to have it recognised by your pc..
then these information already appeared on xda
http://forum.xda-developers.com/showthread.php?t=2265618
Going back to stock
What you need to know before going back to stock:
Your bootloader will never be "LOCKED" again. You can't restore it. You can only relock it.
"TAMPERED" text in bootloader will disappear only after proceeding method 2.
There are 3 main methods. All three will be described below.
Method 1 - only for users with .401 devices (for more info click here - RUU variants)
Visit this thread - [ROM] HTC One *STOCK* ROM
Download stock odexed version of most recent firmware and recovery.img
Move recovery.img to c:\mini-sdk location
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of stock ROM (zip) package and confirm flashing procedure.
After flashing process is complete, reboot the device in bootloader mode.
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Method 2 - flashing RUU (ROM Update Utility)
Visit this or this thread.
Find proper RUU for your device
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot oem lock
Flash RUU and follow on screen instructions.
You have now completely stock software on your device.
Method 3 - flashing nandroid backup
In custom recovery restore nandroid backup you did after flashing custom recovery for the first time.
If you performed nandroid backup before permanently flashing custom recovery, your stock recovery should be now flashed.
If you still have custom recovery, extract recovery.img from your nandroid backup.
Move recovery.img to c:\mini-sdk location
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Nitric07 said:
then these information already appeared on xda
http://forum.xda-developers.com/showthread.php?t=2265618
Going back to stock
What you need to know before going back to stock:
Your bootloader will never be "LOCKED" again. You can't restore it. You can only relock it.
Click to expand...
Click to collapse
That's outdated, it was before S-OFF days, with S-OFF you can get it to 100% stock, either using my guide: http://forum.xda-developers.com/showthread.php?t=2541082
or crushalot's http://forum.xda-developers.com/showthread.php?t=2358738
Seanie280672 said:
If you cant connect the phone to the PC or Laptop, then its impossible to get it to stock.
Click to expand...
Click to collapse
Nitric07 said:
Hope it was a mistyped.. concerning you cant connect to the pc/laptop....
however if you managed to have it recognised by your pc..
then these information already appeared on xda
http://forum.xda-developers.com/showthread.php?t=2265618
Going back to stock
What you need to know before going back to stock:
Your bootloader will never be "LOCKED" again. You can't restore it. You can only relock it.
"TAMPERED" text in bootloader will disappear only after proceeding method 2.
There are 3 main methods. All three will be described below.
Method 1 - only for users with .401 devices (for more info click here - RUU variants)
Visit this thread - [ROM] HTC One *STOCK* ROM
Download stock odexed version of most recent firmware and recovery.img
Move recovery.img to c:\mini-sdk location
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of stock ROM (zip) package and confirm flashing procedure.
After flashing process is complete, reboot the device in bootloader mode.
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Method 2 - flashing RUU (ROM Update Utility)
Visit this or this thread.
Find proper RUU for your device
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot oem lock
Flash RUU and follow on screen instructions.
You have now completely stock software on your device.
Method 3 - flashing nandroid backup
In custom recovery restore nandroid backup you did after flashing custom recovery for the first time.
If you performed nandroid backup before permanently flashing custom recovery, your stock recovery should be now flashed.
If you still have custom recovery, extract recovery.img from your nandroid backup.
Move recovery.img to c:\mini-sdk location
Connect your device to the PC
Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")
Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>
Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk
In the Command Prompt type following command: fastboot flash recovery recovery.img
You have now stock boot, system and recovery partitions. Time to relock your bootloader.
In the Command Prompt type following command: fastboot oem lock
Click to expand...
Click to collapse
nkk71 said:
That's outdated, it was before S-OFF days, with S-OFF you can get it to 100% stock, either using my guide: http://forum.xda-developers.com/showthread.php?t=2541082
or crushalot's http://forum.xda-developers.com/showthread.php?t=2358738
Click to expand...
Click to collapse
Heey all,
Thanx for the reactions.. :good:
I could not use revone because i cant connect with laptop when on..
And downloading latast RUU.exe (utility update) for my region, also not an option..
I downloaded the latst .401 RUU.zip.. I am lucky that it can connect with fastboot. :victory:
So my steps:
1) Change CID from 11111 to my stock CID. (fastboot oem writecid HTC__001)
2) Download RUU.zip with my region CID.
3) Used Guru Bootloader Reset Tool to Lock bootloader
4) S-on using (fastboot oem writesecureflag 3)
Now it is waiting for 2 weaks.. 2 weaks with a Samsung GT-S5690 with android 2.3.6 :victory:
Thanx all I hope my steps will help someone else
Hey guys,
I just bought the LG G4 and recently unlocked the bootloader, installed TWRP, and rooted it successfully. I was wondering if there was any method to boot into TWRP manually.
On my previous phone, Moto X (2013), all I had to do was hold down the Vol Down + Power button when it was fully powered down, and when the phone turned on, it would bring me to a list in which I could chose recovery, boot in bootloader, download mode etc.
I have tried the same method with my G4 and looked up youtube tutorials on how to boot into recovery which told me to hold down Vol Down + Power and then when the LG boot screen came on, release Power and press again. However, it took me to a white screen prompting me to factory data reset.
My G4 currently has the Stock 20i version of Marshmallow and has TWRP 3.0.2.0 installed. Again, is there any way to manually boot into twrp when the phone is off? I rather not use "adb reboot recovery" everytime I need to flash new zips to my phone. Thanks in advance.
MaRz0o said:
Hey guys,
I just bought the LG G4 and recently unlocked the bootloader, installed TWRP, and rooted it successfully. I was wondering if there was any method to boot into TWRP manually.
On my previous phone, Moto X (2013), all I had to do was hold down the Vol Down + Power button when it was fully powered down, and when the phone turned on, it would bring me to a list in which I could chose recovery, boot in bootloader, download mode etc.
I have tried the same method with my G4 and looked up youtube tutorials on how to boot into recovery which told me to hold down Vol Down + Power and then when the LG boot screen came on, release Power and press again. However, it took me to a white screen prompting me to factory data reset.
My G4 currently has the Stock 20i version of Marshmallow and has TWRP 3.0.2.0 installed. Again, is there any way to manually boot into twrp when the phone is off? I rather not use "adb reboot recovery" everytime I need to flash new zips to my phone. Thanks in advance.
Click to expand...
Click to collapse
Hold volume down and power button when the lg screen comes on release power button for a second then hold it back down at no time do you release the volume down button
---------- Post added at 01:39 AM ---------- Previous post was at 01:37 AM ----------
gillim74 said:
Hold volume down and power button when the lg screen comes on release power button for a second then hold it back down at no time do you release the volume down button
Click to expand...
Click to collapse
I also believe you do have to factory reset the first time but dont quote me on that
gillim74 said:
Hold volume down and power button when the lg screen comes on release power button for a second then hold it back down at no time do you release the volume down button
---------- Post added at 01:39 AM ---------- Previous post was at 01:37 AM ----------
I also believe you do have to factory reset the first time but dont quote me on that
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yeah, that's what I'm experiencing right now by doing the Vol Down + Power, release power and press again, method.
MaRz0o said:
Yeah, that's what I'm experiencing right now by doing the Vol Down + Power, release power and press again, method.
Click to expand...
Click to collapse
Click yes on the next screen click yes and it will take you to twrp
gillim74 said:
Click yes on the next screen click yes and it will take you to twrp
Click to expand...
Click to collapse
Alright. So it won't factory reset my G4 at all? Its just a prompt screen to go to recovery?
MaRz0o said:
Alright. So it won't factory reset my G4 at all? Its just a prompt screen to go to recovery?
Click to expand...
Click to collapse
Exactly
---------- Post added at 06:33 PM ---------- Previous post was at 06:23 PM ----------
MaRz0o said:
Alright. So it won't factory reset my G4 at all? Its just a prompt screen to go to recovery?
Click to expand...
Click to collapse
Is everything all good?
You sir are either out of your depth or are quite a prankster. . I just lost root (as probably did op). You should be disemboweled using a dirty toilet brush for this treachery. Hope you enjoyed being cute.
(post revised to be less explicit, but left up to hopefully help others searching with same doubts about the twrp boot method to see it is apparently legit)
No, what he posted was correct. If TWRP is installed then this method will take you to it. It sounds like you failed to read the post and did this on the stock recovery, which is not his fault.
Mogster2K said:
No, what he posted was correct. If TWRP is installed then this method will take you to it. It sounds like you failed to read the post and did this on the stock recovery, which is not his fault.
Click to expand...
Click to collapse
I agree. This is the method required to get into TWRP. Maybe TWRP was not installed. I've received a lot of false feedback saying something was installed and it wasn't.
Copperwolf said:
Gilicker74... You sir are either out of your depth or are a complete ****. I just lost root (as probably did op). You should be disemboweled using a dirty toilet brush for this treachery. Hope you enjoyed being cute , douchebag.
Click to expand...
Click to collapse
hes right you are not.. cause you did something on your end that removed root. this has nothing to do with removing root. unless you didnt have TWRP installed as permanent and did a factory reset that sir is your problem
Alright, I concede to occasionally being a complete a-hole (I think most men can relate?) That said, to Gillim74 I'm not too egotistical to admit when I am flat out wrong, I was & apologize.
I assumed the comment was a facetious prank to put some "noob" in their place. Punishment for not reading every 300+ page tutorial thread in the development section. Also i was a bit suspicious, i definitely don't get how a recovery is hiding behind or spoofing the stock recovery?...
As it turns out, i suspect that the twrp image file was corrupted or empty in my sdxc card, when I 1st tried to flash it permanently.
To be fair though, this site & it's community have helped me many times over the years. After the stone age days of scanning SDX for roots & mods for a Samsung Moment ... & Getting yelled at on Howard's forums for asking about tools to port it to Boost mobile.... Smdh lol
I get a new phone & eventually find myself here trying to navigate the new landmines of an os, or knox or using older defuct apk backup tools etc...
Anyway, I'm 42 & have a business to run so... I definitely have trouble keeping up with the coding generation, but i try to do my due diligence & read ALOT b4 deciding on doing this tutorial & yes i read his 2nd post lol.
https://forum.xda-developers.com/tm...ck-guide-h811-20-o-bootloader-unlock-t3421589
I'm back to root & trying out the res remix 6.0 rom.... Still afraid to try to boot twrp without being plugged into adb for now.
Turns out my memory card had been corrupted in a way i never heard of & gave up trying to figure out. It was denying android any write access even in apps that are written for post 6.0 permissions, assumed LG had fubared thier coding or Google just hates sd... So i just used the laptop to add the files i needed. Apparently the card somehow lied about all the file changes i decided to make while it was in the reader because it reverted to previous files i had when i check it in phone days later.???
Back in the card reader same story.... I got a new sd & am still a bit baffled as to how that bs happened. I never combined the memory to the phone so.... Maybe lg backup... Glitch with Google write permissions... The xray machine at the courthouse?.... Don't know don't care as long as this new card plays nice.
Maybe I will get brave enough to test manual recovery boot when i get time to try new rom or mods.
gillim74 said:
Hold volume down and power button when the lg screen comes on release power button for a second then hold it back down at no time do you release the volume down button
---------- Post added at 01:39 AM ---------- Previous post was at 01:37 AM ----------
I also believe you do have to factory reset the first time but dont quote me on that
Click to expand...
Click to collapse
My phone froze after clicking the secong Yes prompt
so I did this after flashing the rom and letting it boot the first time, as I wasn't near a computer and didn't have the ability to use adb commands. it didn't take me back to twrp, but actually formated the data and rebooted to the rom. Now that I'm home, I tried "adb reboot recovery", and it rebooted, showed me the warning screen about it being unlocked, showed the LG logo, and then gave me the android with the triangle.
I tried installing TWRP but I keep getting an error. What do I do?
.
Edit edit
deltadiesel said:
:crying:
---------- Post added at 11:04 AM ---------- Previous post was at 10:35 AM ----------
I got an idea. Start all over
you need to put a copy of twrp in the adb/fastboot folder on your pc and twrp,SuperSU, opengapps, and ROM/ROMs you potentially want to install on your microsd card before starting, to avoid mistakes name them recovery.img and supersu.zip
1. Activate developer settings by entering the about section and tapping build number 7 times.
2. Enter your developer settings and MAKE sure you have 'Allow OEM unlock' and 'USB Debugging' enabled.
3. Download the latest SuperSU zip and move it onto your SD card.
4. Using the android issue SDK. Open a command window and link it to your SDK folder where ADB is located (typically Platform-Tools)
4. You can download ADB installer instead of step above https://forum.xda-developers.com/showthread.php?t=2588979
5. Once the Command window is linked to the folder, connect your device via USB and allow the connection.
6. On the command window type 'adb reboot bootloader' and the device should reboot with the fastboot options on the upper left of the phone screen
7. Once again on the command window type 'fastboot oem unlock' and the command window should say OKAY and complete the action.
8. To Confirm that the device is unlocked type 'fastboot getvar unlock' and the window should respond with 'Unlock: YES'
9. Now download the latest available TWRP and drop it into the platform-tools folder where your ADB.exe is located.
10. On your Command Window type 'fastboot flash recovery "NAME OF TWRP FILE" if you get the error ' cannot load 'twrp-X.X.X.X-h811' you need to add .img to the end of the filename
11. Once the process completes you will see 'target reported max download size of 536870912 bytes
sending 'recovery' (32968 KB)...
OKAY [ 1.088s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time:'
THE FAILED UNKNOWN COMMAND NOTICE CAN BE IGNORED
12. Once the process completes the device may not let you enter recovery from the traditional method using the buttons on the back of the phone so the easiest method is to, on your command window, type
'fastboot boot twrp-2.8.7.0-h811.img' and the device should respond within just a few seconds and reboot into TWRP.
13. Once the device reboots, enter twrp
To enter twrp you will
1. Press power and volume down
2. While holding volume down release power and press power again
3. Select yess >power button
4. Select yes > power button
NOW that you have custom recovery installed and you are TWRP(recovery)
Select BACKUP
Make a backup of everything
NEXT ...
Select WIPE
Flash the ROM you put on your sdcard
Flash open gapps
Flash Supersu
and tap on install
14. Once the process completes successfully, wipe cache to be safe and reboot your device.
15. Resetup your device and restore your data if necessary and install a root checker from Google Play to confirm root!
on line 10 change the command to 'fastboot boot recovery "NAME OF TWRP FILE" - this will boot twrp on the phone itself, then from phone install twrp and supersu from your microsd card
latest twrp: https://dl.twrp.me/g4/twrp-3.1.1-1-g4.img.html
latest supersu: https://s3-us-west-2.amazonaws.com/s...1705271822.zip
Gapps: http://opengapps.org arm64 ....android version....I use pico (google Play store only - no chrome no maps nothing)
Credit: villagers odyssey...I edited his post to make it clearer
Click to expand...
Click to collapse
Thanks for the detailed response.
The good news, I can get to twrp. The bad news, even after flashing the ROM and selecting reboot system, the phone only reboots to twrp now. What do I do.
On a related question, I can use magisk instead of supersu, right?
[/COLOR]
shiboby said:
Thanks for the detailed response.
The good news, I can get to twrp. The bad news, even after flashing the ROM and selecting reboot system, the phone only reboots to twrp now. What do I do.
On a related question, I can use magisk instead of supersu, right?
Click to expand...
Click to collapse
I've edited my post.
Now you will flash the ROM on your sdcard...
Flash gapps
Flash SuperSU or magisk
Select install one by one
Wipe dalchik cache if it comes up which it will
---------- Post added at 11:54 AM ---------- Previous post was at 11:47 AM ----------
anyone else having problem and can't read my post or follow directions I won't be rewriting this
you need to put a copy of twrp in the adb/fastboot folder on your pc
Copy these files provided below on to your sdcard
1. twrp
2.SuperSU,
3. opengapps,
4. ROM/ROMs
to avoid mistakes name TWRPXXXXXXXXX TO recovery.img and SUPERSUXXXXXXX TO Supersu.zip
1. Activate developer settings by entering the about section and tapping build number 7 times.
2. Enter your developer settings and MAKE sure you have 'Allow OEM unlock' and 'USB Debugging' enabled.
4. download Minimal ADB and Fastboot and install it....Y ....Y .Y ...... ( yes yes yes )http://www.devfiles.co/download/P4Yv....4.1_setup.exe
5. Once the Command window is linked to the folder adb connect your device via USB and allow the connection.
This is hardest step for most.
Adb will be installed c:/minimal adb and fastboot
Open command prompt
Type " CD.." Without quotes till you are in C:/ directory
Once you are in C:/ directory you type "dir" without quotes
There will be a folder named Minimal adb and fastboot
Now type
"CD Minimal adb and fastboot" without quotes
You are now in the adb folder
6. On the command window type 'adb reboot bootloader' and the device should reboot with the fastboot options on the upper left of the phone screen
7. Once again on the command window type 'fastboot oem unlock' and the command window should say OKAY and complete the action.
8. To Confirm that the device is unlocked type 'fastboot getvar unlock' and the window should respond with 'Unlock: YES'
9. Now download the latest available TWRP and drop it into c:/minimal adb and fastboot
10. On your Command Window type 'fastboot flash recovery "NAME OF TWRP FILE" if you get the error ' cannot load recovery' you need to add .img to the end of the filename (name of twrp in this case will be recovery.img to make things easy)
11. Once the process completes you will see 'target reported max download size of 536870912 bytes
sending 'recovery' (32968 KB)...
OKAY [ 1.088s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time:'
THE FAILED UNKNOWN COMMAND NOTICE CAN BE IGNORED
12. Once the process completes the device may not let you enter recovery from the traditional method using the buttons on the back of the phone so the easiest method is to, on your command window, type
'fastboot boot recovery.img' and the device should respond within just a few seconds and reboot into TWRP.
13. Once the device reboots, enter twrp
THIS IS WHERE IT GEETS CONFUSING
* this will boot twrp on the phone itself, YOU WILLL NOW FLASH TWRP onto your device from sdcard
In TWRP hit Install > Images... (bottom right corner) > select recovery.img on ext sdcard > select "recovery" > swipe.
This time you are flashing it onto your device. You only entered it before
Power off
To enter twrp you will
1. Press power and volume down
2. While holding volume down release power and press power again
3. Select yess >power button
4. Select yes > power button
NOW that you have custom recovery installed and you are in TWRP(custom recovery)
Say goodbye to your LG recovery....
Select BACKUP
Make a backup of everything ....save it to sdcard.
NEXT ...
Select WIPE....WIPE EVERYTHING......GOODBYE LG ROM. We backed it up step before
Flash the ROM you put on your sdcard (press install .....select sdcard....install ROM you downloaded)
Press back
Flash open gapps (press install .....select sdcard....install gapps you downloaded)
Press back
Flash Supersu (press install .....select sdcard....install ROM you downloaded
14. Once the process completes successfully, wipe cache to be safe and reboot your device.
YOUR DEVICE WILL NOW LOOP FROM FLASHING SUPERSU
ROM INSTALATION WILL TAKE 5-10 min
15. Resetup your device and restore your data if necessary and install a root checker from Google Play to confirm root!
Enjoy!
latest twrp: https://dl.twrp.me/g4/twrp-3.1.1-1-g4.img.html
latest supersu: https://s3-us-west-2.amazonaws.com/s...1705271822.zip
Gapps: http://opengapps.org arm64 ....android version....I use pico (google Play store only - no chrome no maps nothing)
Credit: villagers odyssey...I edited his post to make it clearer
deltadiesel said:
[/COLOR]
I've edited my post.
Now you will flash the ROM on your sdcard...
Flash gapps
Flash SuperSU or magisk
Select install one by one
Wipe dalchik cache if it comes up which it will
---------- Post added at 11:54 AM ---------- Previous post was at 11:47 AM ----------
anyone else having problem and can't read my post or follow directions I won't be rewriting this
you need to put a copy of twrp in the adb/fastboot folder on your pc
Copy these files provided below on to your sdcard
1. twrp
2.SuperSU,
3. opengapps,
4. ROM/ROMs
to avoid mistakes name TWRPXXXXXXXXX TO recovery.img and SUPERSUXXXXXXX TO Supersu.zip
1. Activate developer settings by entering the about section and tapping build number 7 times.
2. Enter your developer settings and MAKE sure you have 'Allow OEM unlock' and 'USB Debugging' enabled.
4. download Minimal ADB and Fastboot and install it....Y ....Y .Y ...... ( yes yes yes )http://www.devfiles.co/download/P4Yv....4.1_setup.exe
5. Once the Command window is linked to the folder adb connect your device via USB and allow the connection.
This is hardest step for most.
Adb will be installed c:/minimal adb and fastboot
Open command prompt
Type " CD.." Without quotes till you are in C:/ directory
Once you are in C:/ directory you type "dir" without quotes
There will be a folder named Minimal adb and fastboot
Now type
"CD Minimal adb and fastboot" without quotes
You are now in the adb folder
6. On the command window type 'adb reboot bootloader' and the device should reboot with the fastboot options on the upper left of the phone screen
7. Once again on the command window type 'fastboot oem unlock' and the command window should say OKAY and complete the action.
8. To Confirm that the device is unlocked type 'fastboot getvar unlock' and the window should respond with 'Unlock: YES'
9. Now download the latest available TWRP and drop it into c:/minimal adb and fastboot
10. On your Command Window type 'fastboot flash recovery "NAME OF TWRP FILE" if you get the error ' cannot load recovery' you need to add .img to the end of the filename (name of twrp in this case will be recovery.img to make things easy)
11. Once the process completes you will see 'target reported max download size of 536870912 bytes
sending 'recovery' (32968 KB)...
OKAY [ 1.088s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time:'
THE FAILED UNKNOWN COMMAND NOTICE CAN BE IGNORED
12. Once the process completes the device may not let you enter recovery from the traditional method using the buttons on the back of the phone so the easiest method is to, on your command window, type
'fastboot boot recovery.img' and the device should respond within just a few seconds and reboot into TWRP.
13. Once the device reboots, enter twrp
THIS IS WHERE IT GEETS CONFUSING
* this will boot twrp on the phone itself, YOU WILLL NOW FLASH TWRP onto your device from sdcard (install > twrp and supersu from sdcard)
This time you are flashing it onto your device. You only entered it before
Power off
To enter twrp you will
1. Press power and volume down
2. While holding volume down release power and press power again
3. Select yess >power button
4. Select yes > power button
NOW that you have custom recovery installed and you are TWRP(recovery)
Select BACKUP
Make a backup of everything ....save it to sdcard.
NEXT ...
Select WIPE
Flash the ROM you put on your sdcard (press install .....select sdcard....install ROM you downloaded)
Press back
Flash open gapps (press install .....select sdcard....install gapps you downloaded)
Press back
Flash Supersu (press install .....select sdcard....install ROM you downloaded
14. Once the process completes successfully, wipe cache to be safe and reboot your device.
YOUR DEVICE WILL NOW LOOP FROM FLASHING SUPERSU
ROM INSTALATION WILL TAKE 5-10 min
15. Resetup your device and restore your data if necessary and install a root checker from Google Play to confirm root!
Enjoy!
latest twrp: https://dl.twrp.me/g4/twrp-3.1.1-1-g4.img.html
latest supersu: https://s3-us-west-2.amazonaws.com/s...1705271822.zip
Gapps: http://opengapps.org arm64 ....android version....I use pico (google Play store only - no chrome no maps nothing)
Credit: villagers odyssey...I edited his post to make it clearer
Click to expand...
Click to collapse
thanks again for your response. I started again from the beginning and followed your instructions to the letter. However, I have a problem at step 12. After i typed "'fastboot boot recovery.img" which I replaced with twrp.img, I see:
c:\adb>fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 1.179s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.202s
so I tried fastboot reboot. this booted me into TWRP. I would like to continue by flashing twrp through twrp, but I can't because it is not a zip. Or am I missing something?
---------- Post added at 10:51 PM ---------- Previous post was at 10:47 PM ----------
deltadiesel said:
[/COLOR]
I've edited my post.
Now you will flash the ROM on your sdcard...
Flash gapps
Flash SuperSU or magisk
Select install one by one
Wipe dalchik cache if it comes up which it will
---------- Post added at 11:54 AM ---------- Previous post was at 11:47 AM ----------
anyone else having problem and can't read my post or follow directions I won't be rewriting this
you need to put a copy of twrp in the adb/fastboot folder on your pc
Copy these files provided below on to your sdcard
1. twrp
2.SuperSU,
3. opengapps,
4. ROM/ROMs
to avoid mistakes name TWRPXXXXXXXXX TO recovery.img and SUPERSUXXXXXXX TO Supersu.zip
1. Activate developer settings by entering the about section and tapping build number 7 times.
2. Enter your developer settings and MAKE sure you have 'Allow OEM unlock' and 'USB Debugging' enabled.
4. download Minimal ADB and Fastboot and install it....Y ....Y .Y ...... ( yes yes yes )http://www.devfiles.co/download/P4Yv....4.1_setup.exe
5. Once the Command window is linked to the folder adb connect your device via USB and allow the connection.
This is hardest step for most.
Adb will be installed c:/minimal adb and fastboot
Open command prompt
Type " CD.." Without quotes till you are in C:/ directory
Once you are in C:/ directory you type "dir" without quotes
There will be a folder named Minimal adb and fastboot
Now type
"CD Minimal adb and fastboot" without quotes
You are now in the adb folder
6. On the command window type 'adb reboot bootloader' and the device should reboot with the fastboot options on the upper left of the phone screen
7. Once again on the command window type 'fastboot oem unlock' and the command window should say OKAY and complete the action.
8. To Confirm that the device is unlocked type 'fastboot getvar unlock' and the window should respond with 'Unlock: YES'
9. Now download the latest available TWRP and drop it into c:/minimal adb and fastboot
10. On your Command Window type 'fastboot flash recovery "NAME OF TWRP FILE" if you get the error ' cannot load recovery' you need to add .img to the end of the filename (name of twrp in this case will be recovery.img to make things easy)
11. Once the process completes you will see 'target reported max download size of 536870912 bytes
sending 'recovery' (32968 KB)...
OKAY [ 1.088s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time:'
THE FAILED UNKNOWN COMMAND NOTICE CAN BE IGNORED
12. Once the process completes the device may not let you enter recovery from the traditional method using the buttons on the back of the phone so the easiest method is to, on your command window, type
'fastboot boot recovery.img' and the device should respond within just a few seconds and reboot into TWRP.
13. Once the device reboots, enter twrp
THIS IS WHERE IT GEETS CONFUSING
* this will boot twrp on the phone itself, YOU WILLL NOW FLASH TWRP onto your device from sdcard (install > twrp and supersu from sdcard)
This time you are flashing it onto your device. You only entered it before
Power off
To enter twrp you will
1. Press power and volume down
2. While holding volume down release power and press power again
3. Select yess >power button
4. Select yes > power button
NOW that you have custom recovery installed and you are TWRP(recovery)
Select BACKUP
Make a backup of everything ....save it to sdcard.
NEXT ...
Select WIPE
Flash the ROM you put on your sdcard (press install .....select sdcard....install ROM you downloaded)
Press back
Flash open gapps (press install .....select sdcard....install gapps you downloaded)
Press back
Flash Supersu (press install .....select sdcard....install ROM you downloaded
14. Once the process completes successfully, wipe cache to be safe and reboot your device.
YOUR DEVICE WILL NOW LOOP FROM FLASHING SUPERSU
ROM INSTALATION WILL TAKE 5-10 min
15. Resetup your device and restore your data if necessary and install a root checker from Google Play to confirm root!
Enjoy!
latest twrp: https://dl.twrp.me/g4/twrp-3.1.1-1-g4.img.html
latest supersu: https://s3-us-west-2.amazonaws.com/s...1705271822.zip
Gapps: http://opengapps.org arm64 ....android version....I use pico (google Play store only - no chrome no maps nothing)
Credit: villagers odyssey...I edited his post to make it clearer
Click to expand...
Click to collapse
Thanks again for your reply. I started over and followed your instructions to the letter. Unfortunately, I run into a problem with step 12. When I type 'fastboot boot recovery.img', after typing in the name of the twrp file as it is on my pc, I get the following:
c:\adb>fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 1.179s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.202s
So i typed fastboot reboot, which rebooted it into TWRP.
I would like to continue, but cannot as twrp is an image file, not a zip, so I cannot install it from TWRP. Or am I missing something?
What do you recommend I do now?
shiboby said:
thanks again for your response. I started again from the beginning and followed your instructions to the letter. However, I have a problem at step 12. After i typed "'fastboot boot recovery.img" which I replaced with twrp.img, I see:
c:\adb>fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 1.179s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.202s
so I tried fastboot reboot. this booted me into TWRP. I would like to continue by flashing twrp through twrp, but I can't because it is not a zip. Or am I missing something?
---------- Post added at 10:51 PM ---------- Previous post was at 10:47 PM ----------
Thanks again for your reply. I started over and followed your instructions to the letter. Unfortunately, I run into a problem with step 12. When I type 'fastboot boot recovery.img', after typing in the name of the twrp file as it is on my pc, I get the following:
c:\adb>fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 1.179s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.202s
So i typed fastboot reboot, which rebooted it into TWRP.
I would like to continue, but cannot as twrp is an image file, not a zip, so I cannot install it from TWRP. Or am I missing something?
What do you recommend I do now?
Click to expand...
Click to collapse
.....
deltadiesel said:
AFTER you enter TWRP
You now FLASH/install twrp zip file
Install > select SD card > select twrp zip file
If it isn't there download it again and place it on your sdcard
Continue with power off step
Click to expand...
Click to collapse
the link you provided in your last post was for an img file ( https://dl.twrp.me/g4/twrp-3.1.1-1-g4.img.html) do you have a zip file you want me to use?
shiboby said:
the link you provided in your last post was for an img file ( https://dl.twrp.me/g4/twrp-3.1.1-1-g4.img.html) do you have a zip file you want me to use?
Click to expand...
Click to collapse
Sorry I wrote/ edited this 5am last night
After you enter twrp
In TWRP hit Install > Images... (bottom right corner) > select recovery.img on ext sdcard > select "recovery" > swipe.
Use same twrp file
Continue with power off
So i'm very very new to rooting, soon i'll got my hand on a mi 9t pro and i want to try root it.
I got some gist from reading the guide here and since i want to have OTA updates without the need to flash custom, i thought that rooting with Magisk without TWRP is a good option.
I do have some confusions regarding the method. So unlocking is obviously the first step, which i think is pretty straightforward. Then i need to root Magisk by patching a stock boot image, i assume this is the fastboot stock firmware of my current phone, correct me if i'm wrong.
Does doing it this way risk bricking my device? Usually people suggest to backup the current ROM with TWRP first before doing anything, or can i backup my ROM with other method?
What kind of precaution do i need to pay attention to? And is it actually recommended to do it this way?
yeah, no this has a high hard-brick risk i think. its safer to just flash TWRP and install it trough that, then you can always go back to stock recovery if you wanted to.
dev-DaT said:
yeah, no this has a high hard-brick risk i think. its safer to just flash TWRP and install it trough that, then you can always go back to stock recovery if you wanted to.
Click to expand...
Click to collapse
Could you help point me to any guide thread for flashing MIUI stock recovery back while keeping the root?
thanks for replying
arcwindz said:
So i'm very very new to rooting, soon i'll got my hand on a mi 9t pro and i want to try root it.
I got some gist from reading the guide here and since i want to have OTA updates without the need to flash custom, i thought that rooting with Magisk without TWRP is a good option.
I do have some confusions regarding the method. So unlocking is obviously the first step, which i think is pretty straightforward. Then i need to root Magisk by patching a stock boot image, i assume this is the fastboot stock firmware of my current phone, correct me if i'm wrong.
Does doing it this way risk bricking my device? Usually people suggest to backup the current ROM with TWRP first before doing anything, or can i backup my ROM with other method?
What kind of precaution do i need to pay attention to? And is it actually recommended to do it this way?
Click to expand...
Click to collapse
1. Download the fastboot ROM you currently have installed on your device.
2. Extract the boot image from downloaded zip
3. Keep 1 copy of boot image in your PC (For Backup, in case anything goes wrong)
4. Now copy the boot image in your phone's internal storage.
5. Install Magisk Manager App
6. Open and Tap Install
7. Select "Patch Boot Image"
8. Select the boot image you copied in your phone and follow the on screen instructions.
9. Now there should be a new .img file created in the download folder of your phone. ( I guess named something like magisk_patch.img, not sure of name but you do understand right?)
10. Copy that .img file in your PC.
11. Now connect your phone to your PC in Fastboot mode.
12. Open the folder where you copied it in your PC.
13. Now press and hold shift on you keyboard and right click on empty space in folder and select "Open Command Window Here".
14. Now type the command "fastboot flash boot filename.img",
let the process complete.
15. Reboot.
16. Profit.
This method should work fine without any issues but if anything goes wrong:
1.Connect your device to your PC in fastboot mode.
2. Open the folder where you kept the boot image (in step 3)
3. Now press and hold shift on you keyboard and right click on empty space in folder and select "Open Command Window Here".
4. Now type the command "fastboot flash boot boot.img" (without quotes),
5. let the process complete.
6. Reboot
P12AV33N said:
1. Download the fastboot ROM you currently have installed on your device.
2. Extract the boot image from downloaded zip
3. Keep 1 copy of boot image in your PC (For Backup, in case anything goes wrong)
4. Now copy the boot image in your phone's internal storage.
5. Install Magisk Manager App
6. Open and Tap Install
7. Select "Patch Boot Image"
8. Select the boot image you copied in your phone and follow the on screen instructions.
9. Now there should be a new .img file created in the download folder of your phone. ( I guess named something like magisk_patch.img, not sure of name but you do understand right?)
10. Copy that .img file in your PC.
11. Now connect your phone to your PC in Fastboot mode.
12. Open the folder where you copied it in your PC.
13. Now press and hold shift on you keyboard and right click on empty space in folder and select "Open Command Window Here".
14. Now type the command "fastboot flash boot filename.img",
let the process complete.
15. Reboot.
16. Profit.
This method should work fine without any issues but if anything goes wrong:
1. Connect your device to your PC in fastboot mode.
2. Open the folder where you kept the boot image (in step 3)
3. Now press and hold shift on you keyboard and right click on empty space in folder and select "Open Command Window Here".
4. Now type the command "fastboot flash boot boot.img" (without quotes),
5. let the process complete.
6. Reboot
Click to expand...
Click to collapse
wow this is worthy of its own thread imo. nice!
P12AV33N said:
1. Download the fastboot ROM you currently have installed on your device.
2. Extract the boot image from downloaded zip
3. Keep 1 copy of boot image in your PC (For Backup, in case anything goes wrong)
4. Now copy the boot image in your phone's internal storage.
5. Install Magisk Manager App
6. Open and Tap Install
7. Select "Patch Boot Image"
8. Select the boot image you copied in your phone and follow the on screen instructions.
9. Now there should be a new .img file created in the download folder of your phone. ( I guess named something like magisk_patch.img, not sure of name but you do understand right?)
10. Copy that .img file in your PC.
11. Now connect your phone to your PC in Fastboot mode.
12. Open the folder where you copied it in your PC.
13. Now press and hold shift on you keyboard and right click on empty space in folder and select "Open Command Window Here".
14. Now type the command "fastboot flash boot filename.img",
let the process complete.
15. Reboot.
16. Profit.
This method should work fine without any issues but if anything goes wrong:
1.Connect your device to your PC in fastboot mode.
2. Open the folder where you kept the boot image (in step 3)
3. Now press and hold shift on you keyboard and right click on empty space in folder and select "Open Command Window Here".
4. Now type the command "fastboot flash boot boot.img" (without quotes),
5. let the process complete.
6. Reboot[/QUOTE
target reported max download size of 805306368 bytes
sending 'boot' (40948 KB)...
OKAY [ 0.905s]
writing 'boot'...
FAILED (remote: Flashing is not allowed in Lock State)
finished. total time: 0.920s
Click to expand...
Click to collapse
Unlock the bootloader first
wall.e said:
P12AV33N said:
1. Download the fastboot ROM you currently have installed on your device.
2. Extract the boot image from downloaded zip
3. Keep 1 copy of boot image in your PC (For Backup, in case anything goes wrong)
4. Now copy the boot image in your phone's internal storage.
5. Install Magisk Manager App
6. Open and Tap Install
7. Select "Patch Boot Image"
8. Select the boot image you copied in your phone and follow the on screen instructions.
9. Now there should be a new .img file created in the download folder of your phone. ( I guess named something like magisk_patch.img, not sure of name but you do understand right?)
10. Copy that .img file in your PC.
11. Now connect your phone to your PC in Fastboot mode.
12. Open the folder where you copied it in your PC.
13. Now press and hold shift on you keyboard and right click on empty space in folder and select "Open Command Window Here".
14. Now type the command "fastboot flash boot filename.img",
let the process complete.
15. Reboot.
16. Profit.
This method should work fine without any issues but if anything goes wrong:
1.Connect your device to your PC in fastboot mode.
2. Open the folder where you kept the boot image (in step 3)
3. Now press and hold shift on you keyboard and right click on empty space in folder and select "Open Command Window Here".
4. Now type the command "fastboot flash boot boot.img" (without quotes),
5. let the process complete.
6. Reboot[/QUOTE
target reported max download size of 805306368 bytes
sending 'boot' (40948 KB)...
OKAY [ 0.905s]
writing 'boot'...
FAILED (remote: Flashing is not allowed in Lock State)
finished. total time: 0.920s
Click to expand...
Click to collapse
You must unlock bootloader first.
Click to expand...
Click to collapse
dev-DaT said:
wow this is worthy of its own thread imo. nice!
Click to expand...
Click to collapse
Does magisk ask for additional installation after u flash patch boot? And can u flash zip module via magick.
deleted
P12AV33N said:
1. Download the fastboot ROM you currently have installed on your device.
[...]
Click to expand...
Click to collapse
where can I download "my" fastboot ROM ?
I have: MIUI-V11.0.5.0.QFJMIXM
Xmaster111 said:
where can I download "my" fastboot ROM ?
I have: MIUI-V11.0.5.0.QFJMIXM
Click to expand...
Click to collapse
Wrong forum, you have a Mi 9T, this is the 9T Pro forum.
Anyway, look here.
https://c.mi.com/oc/miuidownload/detail?guide=2
If viewing on a phone you'll probably need to view the page in desktop mode, otherwise you'll see a blank page.
In step 2 of the guide look for the link
★ Xiaomi Mi 9T Latest Global Stable Version Fastboot File Download
It's not too far down the list.
Welcome to my thread. Today I am going to teach you how to install a custom recovery on the device and how to recover the original boot files on the phone to modify them. After modifying those files you will have root on the device. A lot of time and effort has been put into getting this to work. The custom recovery that we will be using is TWRP Recovery.
Note: Modifying your device will void the manufacturer's warranty.
All modifications made to your device are done at your own risk and you claim full
responsibility if the device is damaged or if data is lost.
First, we are going to enable OEM Unlock and USB Debugging. To do so, you will follow the steps below.
1. Sign in to your Mi Cloud Account on your phone.
2. Tap the “Settings” menu on your Mi 11 Ultra, then tap the “About Phone” option.
3. Tap the “MIUI Version” option several times until you see the “You are now a developer” message.
4. Tap the “Additional Settings” Menu, then tap the “Developer options” on your phone.
5. Activate the “OEM Unlock” option, then activate the “USB Debugging” option on your phone.
6. Tap the “Mi Unlock Status” option.
7. Tap “Agree” and then tap the “Add account and device” option on your phone.
8. Turn off your phone, then press the volume down button and the power button simultaneously to put your phone into fastboot mode.
9. Connect your phone to your PC via a USB cable.
10. Download the miflash ZIP file.
11. Extract the miflash unlock tool ZIP file. You will find the Mi USB Driver.exe file and the miflashunlock.exe file after extracting it.
12. Install the Mi USB driver on your PC.
13. Run the miflashunlock.exe file on your PC.
14. Tap the Agree button and then Sign in with your Mi Account after running the miflash_unlock.exe.
15. Click the “Unlock” button, then click the “Unlock anyway” button within the miflash tool to start the process.
16. Click the “Reboot phone” button after you see the “Unlocked successfully” message.
Downloads:
Unlock tool: https://en.miui.com/unlock/download_en.html
Additionally, we will need to have TWRP flashed to the recovery of the phone.
1. We will need to have ADB installed on the computer so download the 15 Second ADB Installer.
2. Run the ADB-Setup.exe.
3. Open a CMD terminal as an Administrator.
4. Type in the command: CD C:/ADB.
5. Type in the command: ADB Devices, make sure that there is a device showing up.
6. Download the TWRP.img to the ADB folder located on C:/ADB.
7. Make sure that you do not have a password or code lock on the device. There can not be any lock on the lock screen.
8. Type the command ADB Reboot Bootloader.
9. Type the command Fastboot Boot TWRP.img.
10. Navigate to the Advanced menu of TWRP and tap on “Install Recovery Ramdisk”.
11. Navigate back to the main menu then tap on Reboot and tap on Recovery.
Downloads:
15 Second ADB Installer: https://forum.xda-developers.com/t/...vers-15-seconds-adb-installer-v1-4-3.2588979/
TWRP image: https://drive.google.com/drive/folders/1ztP266XjxteVk8pxcD7-sD-IxihmODPV?usp=sharing
Now we will copy the three boot files on the phone and make backups.
1. Navigate to Mount on the root menu or TWRP.
2. Select the System Partition and Data partition then go back to the menu.
3. Navigate to Advanced then Terminal.
4. Type the command dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img.
5. Type the command dd if=/dev/block/bootdevice/by-name/boot_a of=/sdcard/boot_a.img.
6. Type the command dd if=/dev/block/bootdevice/by-name/boot_b of=/sdcard/boot_b.img.
7. After all the commands have been entered you can now exit back to the system by rebooting to the system in the Reboot menu.
8. Next, we will install Magisk on the phone to modify the boot files, download the Magisk.apk file on your phone.
9. Open the apk and install the Magisk.apk on the device. You will have to enable Unknown Sources if you have not already.
10. Open Magisk and select install on the Magisk tab.
11. Under Method tap the Select and Patch a File and select the boot.img file.
12. Press the LET'S GO button after you have selected the file. (Make sure to note down the name of the Output file for each file).
13. Repeat steps 11 and 12 for boot file boot_a.img and boot file boot_b.img.
Downloads:
Magisk: https://github.com/topjohnwu/Magisk/releases
Now we will flash the boot files to the phone and we will be rooted!
1. Copy the files you just made from the storage of the phone under /Internal shared storage/Download/(Filenames) to the ADB folder located on C:/ADB
2. Restart the phone and once the phone screen turns off hold the Volume Down button to boot into fastboot.
3. Now this is where it is very crucial to ensure you know what each file corresponds to for the boot files. Type in the command Fastboot flash boot (Modified file name for boot.img).
4. Type in the command Fastboot Flash Boot_a (Modified file name for boot_a.img).
5. Type in the command Fastboot Flash Boot_b (Modified file name for boot_b.img).
6. Then type the command Fastboot reboot
7. Load Magisk and verify that it is indeed installed.
8. Boom rooted!
I don't get this I rooted much easier by simply flashing magisk.
I downloaded magisk zip
I then booted into fastboot connecting my ohone to the pc
I booted into twrp from fastboot with the command "fastboot boot twrp.img"
From twrp I simply flashed magisk.zip wiped dalvik and ART cache and rebooted the phone
Root done!
My question is now how can I update without loosing data.
I was thinking of installing the new rom via miflashtool without wiping data and then reflash magisk. It should work right?
xNAPx said:
I don't get this I rooted much easier by simply flashing magisk.
I downloaded magisk zip
I then booted into fastboot connecting my ohone to the pc
I booted into twrp from fastboot with the command "fastboot boot twrp.img"
From twrp I simply flashed magisk.zip wiped dalvik and ART cache and rebooted the phone
Root done!
My question is now how can I update without loosing data.
I was thinking of installing the new rom via miflashtool without wiping data and then reflash magisk. It should work right?
Click to expand...
Click to collapse
In my testing I couldn't get my phone to root with Magisk. I haven't tested that but it sounds like it should work.
Look it is super simple, it can be done on every rom with an unlocked bootloader (this must be obvious)
Download the latest magisk.zip file on your phone
Download the compatible TWRP for your device on your computer and put it into your ADB and fastboot folder and rename it "twrp.img" (make sure you replace the file extension with the ".img")
Reboot your phone into fastboot
Connect the phone to the PC
Run the check command "fastboot devices" to check if your device is listed
Then run the command "fastboot boot twrp.img"
Your phone will now boot into twrp recovery and there is no need to flash it and overwrite the original recovery
Now give twrp the permissions to look into your folder by unlocking it at boot (password of pattern depends on what you use normally for your phone)
Now since the twrp is chinese you must change your language into english (3rd button on the right then click on the globe on the up right and select the language you want)
Now go into wipe and wipe manually cache and dalvik
Now go into your system and search for magisk.zip, flash it and wipe again dalvik and cache.
Reboot your phone
Now when you boot you must have magisk through your apps, boot magisk and complete the installation process.
Reboot again and enjoy!
xNAPx said:
Look it is super simple, it can be done on every rom with an unlocked bootloader (this must be obvious)
Download the latest magisk.zip file on your phone
Download the compatible TWRP for your device on your computer and put it into your ADB and fastboot folder and rename it "twrp.img" (make sure you replace the file extension with the ".img")
Reboot your phone into fastboot
Connect the phone to the PC
Run the check command "fastboot devices" to check if your device is listed
Then run the command "fastboot boot twrp.img"
Your phone will now boot into twrp recovery and there is no need to flash it and overwrite the original recovery
Now give twrp the permissions to look into your folder by unlocking it at boot (password of pattern depends on what you use normally for your phone)
Now since the twrp is chinese you must change your language into english (3rd button on the right then click on the globe on the up right and select the language you want)
Now go into wipe and wipe manually cache and dalvik
Now go into your system and search for magisk.zip, flash it and wipe again dalvik and cache.
Reboot your phone
Now when you boot you must have magisk through your apps, boot magisk and complete the installation process.
Reboot again and enjoy!
Click to expand...
Click to collapse
is this working with EU ROM?
penyapu79 said:
is this working with EU ROM?
Click to expand...
Click to collapse
On Xiaomi EU is simpler because it inject twrp itself so you don't need to push start via adb
xNAPx said:
On Xiaomi EU is simpler because it inject twrp itself so you don't need to push start via adb
Click to expand...
Click to collapse
Ok thanks. I will try it later
On Xiaomi EU you can straight flash the update, wipe dalvik and cache and flash straight away magisk zip on top, rewipe dalvik and cache and reboot to system
xNAPx said:
On Xiaomi EU you can straight flash the update, wipe dalvik and cache and flash straight away magisk zip on top, rewipe dalvik and cache and reboot to system
Click to expand...
Click to collapse
any problem with bank apps after root?
I'm on official global ROM and I am using revolut with no issues
xNAPx said:
I'm on official global ROM and I am using revolut with no issues
Click to expand...
Click to collapse
I have the Chinese ultra with global rom but if I decide to sale how do I factory reset to do so? thanks ahead and wasn't sure where to post this.
If you want to sell it you must reinstall the original Chinese ROM and relock the bootloader
xNAPx said:
Now give twrp the permissions to look into your folder by unlocking it at boot (password of pattern depends on what you use normally for your phone)
Click to expand...
Click to collapse
Hi, xNAPx !
Thank you for this tuto, but i have a problem :/
At this step, twrp is booting straight on the menu, no password asked, and so, no access to data :/
Do you have an idea please ?
(i'm using xiaomi.eu_multi_MI11Pro_MI11Ultra_21.12.8_v12-12-fastboot)
I believe this is a known issue, there is a problem on some versions of twrp with encryption, to me never happened. What kind of screen security do you have on your phone?
xNAPx said:
I believe this is a known issue, there is a problem on some versions of twrp with encryption, to me never happened. What kind of screen security do you have on your phone?
Click to expand...
Click to collapse
A password
You can try 2 things, remove the screen lock protection or inject a different version of twrp, I never had this problem as I boot twrp via adb
xNAPx said:
You can try 2 things, remove the screen lock protection or inject a different version of twrp, I never had this problem as I boot twrp via adb
Click to expand...
Click to collapse
Thank you
Removal of the screen lock resulted as a failure too (same problem than with the screen lock)
I don't know and can't seem to find another twrp for the mi11 Ultra than this one :
Mi11Ultra(Pro)-twrp3.5.1-recovery-21.5.9-decrypted.img | by Orjon for Generic Device/Other
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Sorry :/
Push it via adb then, in the shell type:
Fastboot boot twrp.img
xNAPx said:
Push it via adb then, in the shell type:
Fastboot boot twrp.img
Click to expand...
Click to collapse
That's what i'm doing from the beginning, but it doesn't work
What does not work in specific? It's a bit too generic