Huawei p8 lite twrp problem - P8lite Q&A, Help & Troubleshooting

I have huawei p8 lite dual sim android 6 marshallow and i tried all tools to root it but failed.Finally i tried to install twrp.I unlock the bootloader and with adb i wrote adb reboot bootloader,fastboot devices,fastboot flash recovery recovery.img and fastboot reboot but twrp didn't saved.When i boot to recovery the stock recovery was still there..What i have to do?

nikriga said:
I have huawei p8 lite dual sim android 6 marshallow and i tried all tools to root it but failed.Finally i tried to install twrp.I unlock the bootloader and with adb i wrote adb reboot bootloader,fastboot devices,fastboot flash recovery recovery.img and fastboot reboot but twrp didn't saved.When i boot to recovery the stock recovery was still there..What i have to do?
Click to expand...
Click to collapse
Did fastboot gave some error message, also did you only test to go to recovery straight from fastboot, because that is other recovery which can't be changed.

keikari said:
Did fastboot gave some error message, also did you only test to go to recovery straight from fastboot, because that is other recovery which can't be changed.
Click to expand...
Click to collapse
Fastboot didnt gave me error and i tried to go recovery from fastboot without reboot and i tried recovery with reboot.i cant understand whats going on made it all correct

nikriga said:
Fastboot didnt gave me error and i tried to go recovery from fastboot without reboot and i tried recovery with reboot.i cant understand whats going on made it all correct
Click to expand...
Click to collapse
Just to make sure because the recovery stuff with this device can be at start a bit confusing. Please check does the recovery you boot into have factory reset option in it.
Also can you give a link for the twrp you flashed?

keikari said:
Just to make sure because the recovery stuff with this device can be at start a bit confusing. Please check does the recovery you boot into have factory reset option in it.
Also can you give a link for the twrp you flashed?
Click to expand...
Click to collapse
I tried a lot of versions of twrp from forum here for p8 lite.Today i tried 3.0.2.I cant select factory reset because the phone crashed because the bootloader is unlocked i think.But if you think that the phone has to be in factory reset i will relock bootloader.Another question.If i downgrade firmware to android 5.0 tools such king root will be success?I have firmware from my county greece.If i choose android 5 firmware from other country i will have problem?

nikriga said:
I tried a lot of versions of twrp from forum here for p8 lite.Today i tried 3.0.2.I cant select factory reset because the phone crashed because the bootloader is unlocked i think.But if you think that the phone has to be in factory reset i will relock bootloader.Another question.If i downgrade firmware to android 5.0 tools such king root will be success?I have firmware from my county greece.If i choose android 5 firmware from other country i will have problem?
Click to expand...
Click to collapse
1. Booloader unlocking only affects to what you can flash in fastboot, it doesn't affect stock recovery funtionality.
I asked about factory reset option, because I wanted to make sure you aren't booting to "recovery2/eRecovery". (It doesn't have factory reset option)
2. Avoid using kingoroot and other oneclick root apps if it is possible.
3. Your firmware version doesn't matter.
4. Bootloader unlocking can't cause crash. Locked bootloader could cause crash if system is modified(I think), but you would still be able to get recovery.
One way to make sure you boot to normal recovery is to connect your phone to pc --> open command line --> type "adb reboot recovery". This won't take you to erecovery
I can't do any better help with the current information.

After you successfully flash the recovery with fastboot (always use the latest!) You need to do these things in order (and fast) in order to but to TWRP. If you don't it will boot to stock recovery and you have to fastboot flash again.
You must
a) write fastboot reboot in the console but don't pass Enter!!
b) hold VOLUME UP
c) (still holding VOL UP) presss Enter and remove the USB cable immediately once it says your device is booting now.
Keep holding VOL UP until you boot to TWRP. Allow modifications.
For root you will flash Magisk (you know, normal zip), which a) is open source, so no sneaky stuff and b) can hide root from apps as a bonus. You can always get the zip here: http://tiny.cc/latestmagisk
Important: If you have other root solutions install them for example SuperSU has an uninstall option. Then flash Magisk

JpegXguy said:
After you successfully flash the recovery with fastboot (always use the latest!) You need to do these things in order (and fast) in order to but to TWRP. If you don't it will boot to stock recovery and you have to fastboot flash again.
You must
a) write fastboot reboot in the console but don't pass Enter!!
b) hold VOLUME UP
c) (still holding VOL UP) presss Enter and remove the USB cable immediately once it says your device is booting now.
Keep holding VOL UP until you boot to TWRP. Allow modifications.
For root you will flash Magisk (you know, normal zip), which a) is open source, so no sneaky stuff and b) can hide root from apps as a bonus. You can always get the zip here: http://tiny.cc/latestmagisk
Important: If you have other root solutions install them for example SuperSU has an uninstall option. Then flash Magisk
Click to expand...
Click to collapse
The recovery you go from fastboot is eRecovery. You can't boot to stock or TWRP recovery directly from fastboot. If you choose shutdown from eRecovery then you can just go to TWRP with normal way (power + VOL UP). Going to eRecovery doesn't undo TWRP installation. (This also means you can do force update even with TWRP installed, I think, not 100% sure)

keikari said:
The recovery you go from fastboot is eRecovery. You can't boot to stock or TWRP recovery directly from fastboot. If you choose shutdown from eRecovery then you can just go to TWRP with normal way (power + VOL UP). Going to eRecovery doesn't undo TWRP installation. (This also means you can do force update even with TWRP installed, I think, not 100% sure)
Click to expand...
Click to collapse
I do this every time. See surdu's post here. Fastboot reboo is just a reboot, so the familiar key combo will boot to recovery.

JpegXguy said:
I do this every time. See surdu's post here. Fastboot reboo is just a reboot, so the familiar key combo will boot to recovery.
Click to expand...
Click to collapse
I just wanted to point out that you don't need to re-flash if you happen to only press vol up in fastboot.

Related

How to flash TWRP and Root Moto X Style on Marshmallow

I am using moto x style and unlocked bootloader with 'Windroid Universal Android Toolkit' v2.5 but cannot flash TWRP and root this apl. Today I tried flash TWRP and then root but after showing 'Congratulation' pop up,my phone stucked on 'No command' page. I tried twice and same result. Later i check there is either no TWRP or root by SuperSU. And i see youtube video and and read many XDA forum and comments and most of the users says the phone stuck on M logo page when reboot after the root process. And all says its a issue with Marshmallow. And most of the xda posts and youtube video are made during 5.1.1 so there is no problem in that video during flash TWRP and root. So i need a seamless process to flash TWRP and root on Marshmallow so that it doesnot stuck on M logo. And I dont want to downgrade to L for root. And unluckily if it stuck M logo thwn what to do to go back to home screen?Thank you.
http://forum.xda-developers.com/moto-x-style/general/guide-how-to-root-pure-style-t3503958
Look in my sig...
It's in my signature... There are multiple links to what your looking for and other threads, if you are on computer they should be immediately below the message, if you're in the XDA app you have to look in the user profile (don't think it's possible in Tapatalk though).
http://forum.xda-developers.com/moto-x-style/general/guide-how-to-root-pure-style-t3503958
acejavelin said:
It's in my signature... There are multiple links to what your looking for and other threads, if you are on computer they should be immediately below the message, if you're in the XDA app you have to look in the user profile (don't think it's possible in Tapatalk though).
http://forum.xda-developers.com/moto-x-style/general/guide-how-to-root-pure-style-t3503958
Click to expand...
Click to collapse
My build no is 24.49-18-4. So is this process suitable for this build no? And still i dont flash TWRP. I tried with "Windroid Universal Android Toolkit app" to flash TWRP. though it showed a 'Successful' pop up but it didn't. Can I go with any old process to flash TWRP or u have a new process?
Atanu Mukherjee said:
My build no is 24.49-18-4. So is this process suitable for this build no? And still i dont flash TWRP. I tried with "Windroid Universal Android Toolkit app" to flash TWRP. though it showed a 'Successful' pop up but it didn't. Can I go with any old process to flash TWRP or u have a new process?
Click to expand...
Click to collapse
Step 1 - Stop using toolkits! They rarely work right on modern Android devices. With the Moto the only safe, reliable way to root is manually.
I don't know what the 'old way' is to flash TWRP your referring to here... I recommend one time booting twrp with "fastboot boot twrp.img" command (replace twrp.img with your actual twrp image file) then perform a backup to the SD card or USB OTG device and put it away for safe keeping. Then flash twrp either with twrp you have booted, or manually with "fastboot flash recovery twrp.img"
The rooting method I linked before is valid for all Marshmallow builds, if you have Lollipop or Nougat you need to find a different method.
acejavelin said:
Step 1 - Stop using toolkits! They rarely work right on modern Android devices. With the Moto the only safe, reliable way to root is manually.
I don't know what the 'old way' is to flash TWRP your referring to here... I recommend one time booting twrp with "fastboot boot twrp.img" command (replace twrp.img with your actual twrp image file) then perform a backup to the SD card or USB OTG device and put it away for safe keeping. Then flash twrp either with twrp you have booted, or manually with "fastboot flash recovery twrp.img"
The rooting method I linked before is valid for all Marshmallow builds, if you have Lollipop or Nougat you need to find a different method.
Click to expand...
Click to collapse
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode.
Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
fastboot flash recovery twrp.img
fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
I am saying about this official method which is on twrp.me site. And after typing 'fastboot reboot' what I have to do to go home page? Sorry to ask u so many things. Actually I am totally new in this thing and very much worry after facing issues 2-3 times. And thank u very much for fast reply.
One more ques, I have unlocked bootloader with that "Windroid Universal Android Toolkit". Now in fastboot it shows 'bootloader unlocked,code 3' is that ok? As u say toolkit doesnot work on modern devices.
Atanu Mukherjee said:
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode.
Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
fastboot flash recovery twrp.img
fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
I am saying about this official method which is on twrp.me site. And after typing 'fastboot reboot' what I have to do to go home page? Sorry to ask u so many things. Actually I am totally new in this thing and very much worry after facing issues 2-3 times. And thank u very much for fast reply.
One more ques, I have unlocked bootloader with that "Windroid Universal Android Toolkit". Now in fastboot it shows 'bootloader unlocked,code 3' is that ok? As u say toolkit doesnot work on modern devices.
Click to expand...
Click to collapse
So Moto is a tad different... After you flash recovery, do not reboot with fastboot, instead use the Vol Dn key select Recovery and press Power to start it. When the splash screen comes up, allow changes to system, then I the TWRP main menu select Reboot - Recovery, the device will start TWRP again and it should be "locked" in. From there perform the rooting.
acejavelin said:
So Moto is a tad different... After you flash recovery, do not reboot with fastboot, instead use the Vol Dn key select Recovery and press Power to start it. When the splash screen comes up, allow changes to system, then I the TWRP main menu select Reboot - Recovery, the device will start TWRP again and it should be "locked" in. From there perform the rooting.
Click to expand...
Click to collapse
That mean after typing fastboot flash recovery twrp.img press enter and then i can plug off the usb keeping my device on fastboot then changes to recovery and do the rest?
Btw suppose if i dont want to root it at that time,then what i do? I mean just after flash recovery how to go to home screen without rooting?
And when i want to perform root process later,after installing SuperSU zip if I press power button and vol down then may I go to twrp recovery or ph stock recovery?
Atanu Mukherjee said:
That mean after typing fastboot flash recovery twrp.img press enter and then i can plug off the usb keeping my device on fastboot then changes to recovery and do the rest?
Btw suppose if i dont want to root it at that time,then what i do? I mean just after flash recovery how to go to home screen without rooting?
And when i want to perform root process later,after installing SuperSU zip if I press power button and vol down then may I go to twrp recovery or ph stock recovery?
Click to expand...
Click to collapse
OK... I'm confused, why are you unlocking and installing twrp if your not going root or flash a custom ROM?
acejavelin said:
OK... I'm confused, why are you unlocking and installing twrp if your not going root or flash a custom ROM?
Click to expand...
Click to collapse
I will definately do so. I also want to use CM14.1 but i want to do so step by step. Actually after facing issues 2-3 times i am little bit worry now. That is true. So hesitate to perform both at a single time.
Atanu Mukherjee said:
I will definately do so. I also want to use CM14.1 but i want to do so step by step. Actually after facing issues 2-3 times i am little bit worry now. That is true. So hesitate to perform both at a single time.
Click to expand...
Click to collapse
You don't need to root if your going CM, flash TWRP, backup, and flash CM. You don't need to over complicate it.
If you boot (not flash) TWRP and backup then get a copy to safe place there is little risk of anything going wrong.
acejavelin said:
You don't need to root if your going CM, flash TWRP, backup, and flash CM. You don't need to over complicate it.
If you boot (not flash) TWRP and backup then get a copy to safe place there is little risk of anything going wrong.
Click to expand...
Click to collapse
Ok. But is there any regular chance of going wrong during flash TWRP or flash CM? I backed up all internal important data to external sd card and when I perform these process I just remove that sd from phone.
You pls tell me how to go to home screen after flashing TWRP?
And if I need to root it later then also what to do then? I mean if then I press power and vol minus then will I get TWRP recovery to root it or it will be redirectred to phone custom recovery?
Atanu Mukherjee said:
Ok. But is there any regular chance of going wrong during flash TWRP or flash CM? I backed up all internal important data to external sd card and when I perform these process I just remove that sd from phone.
You pls tell me how to go to home screen after flashing TWRP?
And if I need to root it later then also what to do then? I mean if then I press power and vol minus then will I get TWRP recovery to root it or it will be redirectred to phone custom recovery?
Click to expand...
Click to collapse
There is always a chance of something going wrong, no one can guarantee everything will be fine. We have had people do everything perfectly but something happens and it's bricked... It's rare but does happen.
After you flash TWRP in the bootloader, press Vol Dn until it says Recovery and press power to start it, after several seconds you will get a screen that will ask if it can write to system, select yes, the next screen will be the TWRP home screen.
Once you flash TWRP, your stock recovery is gone, but you access it the same way... Power off, press and hold PWR+Vol Dn and in the bootloader menu select Recovery and press power.
acejavelin said:
There is always a chance of something going wrong, no one can guarantee everything will be fine. We have had people do everything perfectly but something happens and it's bricked... It's rare but does happen.
After you flash TWRP in the bootloader, press Vol Dn until it says Recovery and press power to start it, after several seconds you will get a screen that will ask if it can write to system, select yes, the next screen will be the TWRP home screen.
Once you flash TWRP, your stock recovery is gone, but you access it the same way... Power off, press and hold PWR+Vol Dn and in the bootloader menu select Recovery and press power.
Click to expand...
Click to collapse
Thank you very much for your kind guidance and quick reply. I will perform this may be tomorrow and then inform you. If it is bricked or stucked in any stage/page then is there any instant process to go back to safety?
acejavelin said:
There is always a chance of something going wrong, no one can guarantee everything will be fine. We have had people do everything perfectly but something happens and it's bricked... It's rare but does happen.
After you flash TWRP in the bootloader, press Vol Dn until it says Recovery and press power to start it, after several seconds you will get a screen that will ask if it can write to system, select yes, the next screen will be the TWRP home screen.
Once you flash TWRP, your stock recovery is gone, but you access it the same way... Power off, press and hold PWR+Vol Dn and in the bootloader menu select Recovery and press power.
Click to expand...
Click to collapse
I am listing here only the commands,u just tell me is this ok?
adb devices
adb reboot bootloader
fastboot devices
fastboot flash recovery twrp.img
fastboot boot twrp.img
Will these commands directly take me to twrp page?
And here I put a pic of the twrp page. If I dont want to root it then what to do? Click reboot option or anything else to do?
Atanu Mukherjee said:
I am listing here only the commands,u just tell me is this ok?
adb devices
adb reboot bootloader
fastboot devices
fastboot flash recovery twrp.img
fastboot boot twrp.img
Will these commands directly take me to twrp page?
And here I put a pic of the twrp page. If I dont want to root it then what to do? Click reboot option or anything else to do?
Click to expand...
Click to collapse
Your last two are redundant, either flash or boot, you don't have to do both, but each has a purpose... Flash is permanent, boot is transient and will disappear on a reboot.
Boot TWRP first, the first time it will not take you to the main page initially but show you a notification page asking if you want allow it to make changes to the system or keep it read-only, this time only do not allow changes... Then the main screen of TWRP will be displayed and you should do a full backup of all partitions to the SD card.
Flash will just write the recovery partition, it doesn't start anything, you select recovery from the fastboot menu to start it.
acejavelin said:
Your last two are redundant, either flash or boot, you don't have to do both, but each has a purpose... Flash is permanent, boot is transient and will disappear on a reboot.
Boot TWRP first, the first time it will not take you to the main page initially but show you a notification page asking if you want allow it to make changes to the system or keep it read-only, this time only do not allow changes... Then the main screen of TWRP will be displayed and you should do a full backup of all partitions to the SD card.
Flash will just write the recovery partition, it doesn't start anything, you select recovery from the fastboot menu to start it.
Click to expand...
Click to collapse
So after "fastboot boot twrp.img" i have to allow to make changes and have to do a nandroid backup. After that will I get option to "Reboot?"
And later when I went to recovery I will get twrp page instead of stock recovery? 1st I think I should flash cm13 then root then upgrade to 14.1 bcz still a feel little worry to root it on stock rom.
Atanu Mukherjee said:
So after "fastboot boot twrp.img" i have to allow to make changes and have to do a nandroid backup. After that will I get option to "Reboot?"
And later when I went to recovery I will get twrp page instead of stock recovery? 1st I think I should flash cm13 then root then upgrade to 14.1 bcz still a feel little worry to root it on stock rom.
Click to expand...
Click to collapse
No, almost every part of what your saying is wrong...
Boot twrp and do not allow changes first time and backup. This will give a clean backup to restore from if things go badly.
After this is complete, in TWRP go to Reboot menu and select Bootloader, flash TWRP, do not reboot but use the bootloader menu to start TWRP. This time allow it to make changes to system. At the main menu if twrp go to Reboot - Recovery the device will restart and TWRP will load automatically, this step will lock in twrp so the stock OS doesn't replace it.
You only need to root stock rom, you don't need to root CM roms as they are already rooted (there are a few roms that are not pre-rooted but they are rare and none of the ones your talking about). As far as CM 13 vs 14.1 I can't really help you but from I've read both are stable enough for a daily driver device.
acejavelin said:
No, almost every part of what your saying is wrong...
Boot twrp and do not allow changes first time and backup. This will give a clean backup to restore from if things go badly.
After this is complete, in TWRP go to Reboot menu and select Bootloader, flash TWRP, do not reboot but use the bootloader menu to start TWRP. This time allow it to make changes to system. At the main menu if twrp go to Reboot - Recovery the device will restart and TWRP will load automatically, this step will lock in twrp so the stock OS doesn't replace it.
You only need to root stock rom, you don't need to root CM roms as they are already rooted (there are a few roms that are not pre-rooted but they are rare and none of the ones your talking about). As far as CM 13 vs 14.1 I can't really help you but from I've read both are stable enough for a daily driver device.
Click to expand...
Click to collapse
After typing 'fastboot flash recovery twrp.img' i switch to recovery and select it. But it shows recovery failed,bla bla in red colour. I tried 3 times but same result. What to do? now again when I go to the recovery,i see still it is the stock recovery.

Really Stuck and Need Help ASAP!!! MLA-L03 Soft Brick

I'm stuck in an infinite eRecovery loop. No matter what I try or what I do I can't get the phone to boot back into the OS. Anyone have any tips or tricks? Huawei is going to do an rma for me but I'm flying out on business for 2 weeks and really need this phone with me. It's an MLA-L03 that is oem unlocked (which is what I'm thinking is causing me the most issues as I can't do the normal button presses to get to certain things but I can't relock it as it says it can't be trusted or whatever)
I did manage to get to a point where I have full access to /data/ but no matter what rom I try to flash it fails with failing to mount /cust/
If I put an update.app it will get to 5% and hang until it fails when I do the button press to force an update. I cannot get to the emui factory reset screen.
PS, yes I know I'm a dumbass, so be gentle lol. I'm really desperate and have nothing to lose at this point so will to try anything.
I did try everything here with no luck (other than getting full access to /data/ lol):
https://forum.xda-developers.com/nova-plus/help/help-nova-plus-mla-l03-bricked-t3573234
Im not a pro either but,have you try to recover phone via HiSuite ?
in hisuite,main screen,bottom right tab...
I did try that but it says my phone is not compatible (or something to that effect).
rednekcowboy said:
I did try that but it says my phone is not compatible (or something to that effect).
Click to expand...
Click to collapse
sadly,i cant help more...i did not installed that erecovery thing/unlocked or rooted my device so.....
hope someone will join to help you
the erecovery thing is a huwaei emui feature, not something I installed but thanks anyways for the suggestion.
rednekcowboy said:
the erecovery thing is a huwaei emui feature, not something I installed but thanks anyways for the suggestion.
Click to expand...
Click to collapse
my bad hehehe...i wanted to say the twrp :silly:
Ok so you'll have to flash firmware with fastboot.
You need to download and install fastboot, firmware finder and huawei extract tool.
https://forum.xda-developers.com/showthread.php?t=2588979 (fastboot), https://forum.xda-developers.com/tools/general/huawei-firmware-finder-team-mt-t3469146 (firmware finder), https://forum.xda-developers.com/showthread.php?t=2433454 (huawei extract tool).
So install adb and fastboot, extract firmware finder and huawei extract tool. Open firmware finder hit common base, on model for find enter mla-l03 and download a full ota, form firmware you just downloaded extract update.app. Now open huawei extract tool and load your update.app you've just extracted and extract from there boot.img, recovery.img and system.img by using the right click (extract them on the same folder where is located fastboot, for example I got fastboot installed on local C/adb).
If you have twrp installed boot in fastboot mode by using twrp, if not you can boot in fastboot mode with the phone turned off by pressing volume - while plugging the usb cable.
Open cmd and write cd /adb (between cd and / is space) and hit enter than write fastboot flash boot BOOT.IMG and hit enter, fastboot flash recovery RECOVERY.IMG and hit enter, fastboot flash system SYSTEM.IMG and hit enter, after finally writing the system write fastboot reboot and hit enter and wait till phone reboots.
Thanks, I've done all that already and it did not fix it but will try again once I get home.
mArIuS% said:
Ok so you'll have to flash firmware with fastboot.
You need to download and install fastboot, firmware finder and huawei extract tool.
https://forum.xda-developers.com/showthread.php?t=2588979 (fastboot), https://forum.xda-developers.com/tools/general/huawei-firmware-finder-team-mt-t3469146 (firmware finder), https://forum.xda-developers.com/showthread.php?t=2433454 (huawei extract tool).
So install adb and fastboot, extract firmware finder and huawei extract tool. Open firmware finder hit common base, on model for find enter mla-l03 and download a full ota, form firmware you just downloaded extract update.app. Now open huawei extract tool and load your update.app you've just extracted and extract from there boot.img, recovery.img and system.img by using the right click (extract them on the same folder where is located fastboot, for example I got fastboot installed on local C/adb).
If you have twrp installed boot in fastboot mode by using twrp, if not you can boot in fastboot mode with the phone turned off by pressing volume - while plugging the usb cable.
Open cmd and write cd /adb (between cd and / is space) and hit enter than write fastboot flash boot BOOT.IMG and hit enter, fastboot flash recovery RECOVERY.IMG and hit enter, fastboot flash system SYSTEM.IMG and hit enter, after finally writing the system write fastboot reboot and hit enter and wait till phone reboots.
Click to expand...
Click to collapse
Really?
I got my phone in the same state and was the only method witch helped me.
Did you successfully flashed boot, recovery and system and still not working? phone get stuck on the huawei logo? After you flash them, boot into recovery and do a factory reset and wipe cache.
yup, everything flashed successfully. I can't get into the recovery to do a factory reset. I have 4 options at my disposal:
1. fastboot
2. Huawei eRecovery
3. TWRP
4. force update where it always fails at 5%
I think the biggest thing that is screwing me is the fact that it's unlocked and I can't relock it. I'm almost 100% positive if I could relock it, I would have no issues with it.
And woh do you boot into twrp? Since you can boot into twrp you must be able to boot in stock recovery. Use huawei multi tool by black team too go into recovery.
---------- Post added at 07:04 PM ---------- Previous post was at 07:01 PM ----------
rednekcowboy said:
yup, everything flashed successfully. I can't get into the recovery to do a factory reset. I have 4 options at my disposal:
1. fastboot
2. Huawei eRecovery
3. TWRP
4. force update where it always fails at 5%
I think the biggest thing that is screwing me is the fact that it's unlocked and I can't relock it. I'm almost 100% positive if I could relock it, I would have no issues with it.
Click to expand...
Click to collapse
I got the bootloader unlocked too, and it's working via fastboot....
Huawei multi tool have the option to relock the bootloader.
mArIuS% said:
And woh do you boot into twrp? Since you can boot into twrp you must be able to boot in stock recovery. Use huawei multi tool by black team too go into recovery.
---------- Post added at 07:04 PM ---------- Previous post was at 07:01 PM ----------
I got the bootloader unlocked too, and it's working via fastboot....
Huawei multi tool have the option to relock the bootloader.
Click to expand...
Click to collapse
Thanks I'll try that.
It's weird. I flash TWRP, do what I need to do, then reflash the recovery.img. However it just does a continuous loop to eRecovery when I do that unless I try to force it to update.
I'll try using the fastboot that you linked to and see if that makes a difference. Right now I'm using the minimal adb and fastboot install.
EDIT: Same result when trying to relock the bootloader--device cannot be trusted.
EDIT2: Do you have the cust.img file? None of the firmwares I've downloaded has it in it.
rednekcowboy said:
Thanks I'll try that.
It's weird. I flash TWRP, do what I need to do, then reflash the recovery.img. However it just does a continuous loop to eRecovery when I do that unless I try to force it to update.
I'll try using the fastboot that you linked to and see if that makes a difference. Right now I'm using the minimal adb and fastboot install.
EDIT: Same result when trying to relock the bootloader--device cannot be trusted.
EDIT2: Do you have the cust.img file? None of the firmwares I've downloaded has it in it.
Click to expand...
Click to collapse
I have a cust.img but is for can-l01...and won't help you.
Sorry i'm out ideas.
mArIuS% said:
I have a cust.img but is for can-l01...and won't help you.
Sorry i'm out ideas.
Click to expand...
Click to collapse
When your device reboots and you get to the warning screen about your device being unlocked, what buttons do you press to get into the normal (ie not eRecovery) recovery where you can do a factory reset? When I have TWRP installed, I have to hold volume + and volume - at the same time to go into TWRP. If I do the same thing after I reflash recovery.img, then it goes straight into the forced update which stalls and fails at 5%. Volume - reboots and goes back to fastboot. Volume + takes me to eRecovery. Doing nothing, the phone reboots and goes to eRocovery on the reboot. Holding down all 3 buttons also goes to the forced update screen.
I'm assuming that I'm missing something super simple and stupid so I'm going to go over everything again, step by step very carefully.
rednekcowboy said:
When your device reboots and you get to the warning screen about your device being unlocked, what buttons do you press to get into the normal (ie not eRecovery) recovery where you can do a factory reset? When I have TWRP installed, I have to hold volume + and volume - at the same time to go into TWRP. If I do the same thing after I reflash recovery.img, then it goes straight into the forced update which stalls and fails at 5%. Volume - reboots and goes back to fastboot. Volume + takes me to eRecovery. Doing nothing, the phone reboots and goes to eRocovery on the reboot.
I'm assuming that I'm missing something super simple and stupid so I'm going to go over everything again, step by step very carefully.
Click to expand...
Click to collapse
To enter in normal recovery you have to press and hold at the same time volume - and power button.
mArIuS% said:
To enter in normal recovery you have to press and hold at the same time volume - and power button.
Click to expand...
Click to collapse
That just reboots me and then puts me in fastboot unfortunately. I'm going to try loading twrp and removing anything in /dload/ and see if it will boot to normal recovery. Last time I checked there was an update.app file there so maybe it's just bypassing recovery and trying to install that.
rednekcowboy said:
That just reboots me and then puts me in fastboot unfortunately. I'm going to try loading twrp and removing anything in /dload/ and see if it will boot to normal recovery. Last time I checked there was an update.app file there so maybe it's just bypassing recovery and trying to install that.
Click to expand...
Click to collapse
Sorry it is volume up + and power button
And that brings me to eRecovery
mArIuS% said:
Sorry it is volume up + and power button
Click to expand...
Click to collapse
I'm driving and it's a bit hard to write did you tried another recovery? You can flsh twrp, put the stock recovery on sdcard, boot into twrp and flash recovery from there and reboot phone from twrp into recovery....
No worries, I really appreciate all the help. Now stop texting and driving. Your life is more important than my phone!!

[Need help]Rooting moto g4 plus in stock june security patch level.

I want to root my moto g4 plus(unlocked bootloader and twrp flashed). Anyone knows how to root moto g4 plus. And i also want to know that how to increase battery backup after rooting(is it a myth).
@ADITYA_KUMAR this has been asked and explained many times and once more.
- Take Backup
- get Elemental-X kernel (see development section and download correct one )
- flash with TWRP
- get latest SuperSU : SuperSU
- now you can follow same guide of MM from step 5 : Guide
Don't Forget to Take Backup..
____Mdd said:
@ADITYA_KUMAR this has been asked and explained many times and once more.
- Take Backup
- get Elemental-X kernel (see development section and download correct one )
- flash with TWRP
- get latest SuperSU : SuperSU
- now you can follow same guide of MM from step 5 : Guide
Don't Forget to Take Backup..
Click to expand...
Click to collapse
How to take backup and restore it. I flashed twrp image. Before rebooting twrp works fine. But after rebooting i am not able to open twrp. I think it got removed.
ADITYA_KUMAR said:
How to take backup and restore it. I flashed twrp image. Before rebooting twrp works fine. But after rebooting i am not able to open twrp. I think it got removed.
Click to expand...
Click to collapse
What happens if you select Recovery from Bootloader ? Is it booting in Stock Recovery ?
In TWRP go to Backup and make backup of /system /data /boot.
If anything bad happens while flashing/Rooting then you can restore it.
The first time, you must open TWRP from the bootloader directly or the recovery gets overwritten.
For rooting, you can flash Magisk instead of flashing SuperSu. Other steps remain exactly the same.
____Mdd said:
What happens if you select Recovery from Bootloader ? Is it booting in Stock Recovery ?
In TWRP go to Backup and make backup of /system /data /boot.
If anything bad happens while flashing/Rooting then you can restore it.
Click to expand...
Click to collapse
When i booted into recovery mode. It shows no command.
ADITYA_KUMAR said:
When i booted into recovery mode. It shows no command.
Click to expand...
Click to collapse
That's stock Recovery, you need to flash TWRP again.
____Mdd said:
That's stock Recovery, you need to flash TWRP again.
Click to expand...
Click to collapse
I flashed twrp 2 times. But every time i restarted my phone it removed automatically.
ADITYA_KUMAR said:
I flashed twrp 2 times. But every time i restarted my phone it removed automatically.
Click to expand...
Click to collapse
Did you flashed TWRP and with the next command booted immediately into twrp?
strongst said:
Did you flashed TWRP and with the next command booted immediately into twrp?
Click to expand...
Click to collapse
Commands used:
Fastboot flash recovery name.img
It gives output as image not signed or corrupt.
After that i typed command fastboot reboot bootloader.
I open recovery mode. It opens twrp. But after i restart my phone. It automatically removes the twrp.
ADITYA_KUMAR said:
Commands used:
Fastboot flash recovery name.img
It gives output as image not signed or corrupt.
After that i typed command fastboot reboot bootloader.
I open recovery mode. It opens twrp. But after i restart my phone. It automatically removes the twrp.
Click to expand...
Click to collapse
This is your problem. You must open recovery from the bootloader menu the very first time. Or TWRP is overwritten with stock recovery. I don't know why that is. But that is how it is...
baunthiyal said:
This is your problem. You must open recovery from the bootloader menu the very first time. Or TWRP is overwritten with stock recovery. I don't know why that is. But that is how it is...
Click to expand...
Click to collapse
It means that i don't have to run the fasboot reboot bootloader command and after finishing the flashing i have to open the recovery mode directly?
Yes
ADITYA_KUMAR said:
It means that i don't have to run the fasboot reboot bootloader command and after finishing the flashing i have to open the recovery mode directly?
Click to expand...
Click to collapse
Reboot into bootloader.
Flash recovery - fastboot flash recovery twrp-xxx.img
Open recovery from bootloader menu (by using the volume and power buttons)
From there you can reboot and your recovery will work normally after this, most probably.
baunthiyal said:
Reboot into bootloader.
Flash recovery - fastboot flash recovery twrp-xxx.img
Open recovery from bootloader menu (by using the volume and power buttons)
From there you can reboot and your recovery will work normally after this, most probably.
Click to expand...
Click to collapse
I need to root my stock nougat( june version).What should i do after that.
I'll tell you what I did.
1. Flash Elemental Ex kernel. https://forum.xda-developers.com/moto-g4-plus/development/kernel-elementalx-g4-0-01-t3424836
2. Flash Magisk. https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
baunthiyal said:
Reboot into bootloader.
Flash recovery - fastboot flash recovery twrp-xxx.img
Open recovery from bootloader menu (by using the volume and power buttons)
From there you can reboot and your recovery will work normally after this, most probably.
Click to expand...
Click to collapse
It didn't work. I flashed twrp. I opened recovery mode by using volume down to scroll to recovery mode and power button to select it. I booted in twrp mode and rebooted system from there. After that i power off my phone and tried to open twrp again, but it is showing no commands only. I didn't boot into twrp again.
ADITYA_KUMAR said:
It didn't work. I flashed twrp. I opened recovery mode by using volume down to scroll to recovery mode and power button to select it. I booted in twrp mode and rebooted system from there. After that i power off my phone and tried to open twrp again, but it is showing no commands only. I didn't boot into twrp again.
Click to expand...
Click to collapse
Try commands,
fastboot oem fb_mode_set
fastboot flash recovery name.img
Fastboot oem fb_mode_clear
Then directly boot into recovery,
Then again boot into recovery through twrp itself (there is option for it in reboot) or try anything.
Thank you guys i successfully rooted my moto g4 plus(xt1643)

Hard/soft brick

I think I messed up my PH-1 something royally.
All I was trying to do is unlock my bootloader and load Magisk.
To preface this, my PH-1 seemed to act a little wonky from the get-go. I bought it 3rd person from a guy on craigslist so anything warranty involved I think I'm out of luck.
The phone would take a while to power on, it took something like 10secs on the power button just to turn it on. And if I set it to reboot , it boots into the bootloader. Also, I was never able to access the recovery (even using power + up). It always felt like I had to hold the buttons for way to long to get to its destination; e.g. up and power to get into fastboot.
Ok where I'm at now. In can occasionally get into fastboot mostly after it bootlooping a few times. It won't get past the Essential logo if I try to boot it up.
PS I was able to unlock the bootloader.
Steps I took to remedy this:
> erase all user data in fastboot
> hold power + u + d to hard power off
> follow this guide https://forum.xda-developers.com/essential-phone/how-to/guide-rooting-essential-ph-1-magisk-t3701976
> attempt to install stock system image via flash-all
>a ton other
Here are the results of that.
https://imgur.com/a/iVwwS
Help me guys please. :crying:
A little progress, I was unable to unlock_critical but its still hanging here
https://imgur.com/a/IdZum
jAm-0 said:
I think I messed up my PH-1 something royally.
All I was trying to do is unlock my bootloader and load Magisk.
To preface this, my PH-1 seemed to act a little wonky from the get-go. I bought it 3rd person from a guy on craigslist so anything warranty involved I think I'm out of luck.
The phone would take a while to power on, it took something like 10secs on the power button just to turn it on. And if I set it to reboot , it boots into the bootloader. Also, I was never able to access the recovery (even using power + up). It always felt like I had to hold the buttons for way to long to get to its destination; e.g. up and power to get into fastboot.
Ok where I'm at now. In can occasionally get into fastboot mostly after it bootlooping a few times. It won't get past the Essential logo if I try to boot it up.
PS I was able to unlock the bootloader.
Steps I took to remedy this:
> erase all user data in fastboot
> hold power + u + d to hard power off
> follow this guide https://forum.xda-developers.com/essential-phone/how-to/guide-rooting-essential-ph-1-magisk-t3701976
> attempt to install stock system image via flash-all
>a ton other
Here are the results of that.
https://imgur.com/a/iVwwS
Help me guys please. :crying:
Click to expand...
Click to collapse
read through this and follow the steps should be good to go.
https://forum.xda-developers.com/essential-phone/development/stock-7-1-1-nmj20d-t3701681
This is also very helpful
https://mata.readthedocs.io/en/latest/
That's the exact process I was going through, and it finally booted up.
The issue I was having was a bad usb connection which wouldn't allow me to unlock_critical.
SOLVED. Still no Magisk, we'll worry about that another time. 5hrs of troubleshooting is enough for one night.
https://imgur.com/a/ZiBzp
SO close to getting Magisk to install, any reason the refuses to flash the boot partition? I used the stock boot.img and had Magisk patch it before I flashed
SO close to getting Magisk to install, any reason the refuses to flash the boot partition? I used the stock boot.img and had Magisk patch it before I flashed
jAm-0 said:
SO close to getting Magisk to install, any reason the refuses to flash the boot partition? I used the stock boot.img and had Magisk patch it before I flashed
Click to expand...
Click to collapse
You have to flash magisk in twrp recovery NOT bootloader mode.
It's right in the OP from the rooting guide you followed:
Do not set up a password if you are on 8.1 twrp doesn't work.
You need to read through that rooting guide and make sure you know what you're doing before you try.
This phone is easy to hard brick and there is no solution to recover from that.
OREO 8.0/8.1
REQUIREMENTS:
An unlocked bootloader.
A working ADB/Fastboot environment on your computer. Knowledge on how ADB and Fastboot works is also preferred.
The stock boot image for whatever build you're running/trying to root.
The latest TWRP build for our device.
If on 8.1, remove your pin/pattern/passcode until the root process is done.
1. Download both the stock boot image for whatever build you're running and the Magisk or SuperSU zip. Transfer both files to your device's internal storage.
2. Reboot your phone into the bootloader, then open up your command prompt or terminal and flash the latest TWRP build for the device using:
Code:
fastboot flash boot twrp.img
3. Once TWRP has finished flashing, reboot into your recovery. When prompted, enter your pattern/passcode/password to decrypt your data in order to gain access to your internal storage.
4. Once you're in TWRP, install the stock boot image and then the Magisk/SuperSU zip.
5. Whenever Magisk/SuperSU finishes installing, simply reboot your device! You should now be rooted.
*NOTE: TWRP will NOT remain installed on your device.
wolfu11 said:
You have to flash magisk in twrp recovery NOT bootloader mode.
It's right in the OP from the rooting guide you followed:
Do not set up a password if you are on 8.1 twrp doesn't work.
You need to read through that rooting guide and make sure you know what you're doing before you try.
This phone is easy to hard brick and there is no solution to recover from that.
OREO 8.0/8.1
REQUIREMENTS:
An unlocked bootloader.
A working ADB/Fastboot environment on your computer. Knowledge on how ADB and Fastboot works is also preferred.
The stock boot image for whatever build you're running/trying to root.
The latest TWRP build for our device.
If on 8.1, remove your pin/pattern/passcode until the root process is done.
1. Download both the stock boot image for whatever build you're running and the Magisk or SuperSU zip. Transfer both files to your device's internal storage.
2. Reboot your phone into the bootloader, then open up your command prompt or terminal and flash the latest TWRP build for the device using:
Code:
fastboot flash boot twrp.img
3. Once TWRP has finished flashing, reboot into your recovery. When prompted, enter your pattern/passcode/password to decrypt your data in order to gain access to your internal storage.
4. Once you're in TWRP, install the stock boot image and then the Magisk/SuperSU zip.
5. Whenever Magisk/SuperSU finishes installing, simply reboot your device! You should now be rooted.
*NOTE: TWRP will NOT remain installed on your device.
Click to expand...
Click to collapse
I realize all that, the issue is I cannot access any sort of recovery because I think my bootloader is defective.
For example from a cold restart if I press the power button for say 3 -5 seconds it wont boot, just boot to the Essential logo and loop. To get the phone to boot I have to hold the power down for 15-20 seconds while it bootloops a couple times then it'll boot.
Is there a possible way to reflash the bootloader software if it is defective? It's unlocked btw
There is a way to install magisk via fastboot with a patched_boot img which I'm working on. Cant seem to find the right boot img to patch for 8.1
PS Is it possible to flash .zips through fastboot? e.g. custom roms etc
Was finally able to get into recovery, so all is well. Thanks for the help yall
OP, what was your process to successfully get into recovery and fix your problems?
It may help others sometime?
gimpy1 said:
OP, what was your process to successfully get into recovery and fix your problems?
It may help others sometime?
Click to expand...
Click to collapse
It's really hard to say, my phone has a serious problem with it. sometimes I cant get it to boot, it will boot into the bootloader over and over and over. I've managed to get Lineage 15.1 on if for a bit until I tried to get back into the recovery which sent it manic.
I just got lucky I was able to get into TWRP and flash lineage.
my first issue not being able to flash the stock image via fastboot because I didn't unlock_critical which can sometimes fail when the usb connection is bad.
Currently flashing stock again if my phone will boot up. I'm not sure whats wrong with my bootloader but its causing a ton of havoc
My essential phone stuck in boot logo,bootloader work but recovery doesn´t work
Bootloader locked.
Oem unlocking disable.
Usb debugging disable.
How to flash stock recovery or twrp on bootloader locked ? please
Thank you!
katastyle971 said:
My essential phone stuck in boot logo,bootloader work but recovery doesn´t work
Bootloader locked.
Oem unlocking disable.
Usb debugging disable.
How to flash stock recovery or twrp on bootloader locked ? please
Thank you!
Click to expand...
Click to collapse
Same boat for me - just keep rebooting to show Powered by Android Screen and then reboot again and again. Was able to see my device using fastboot devices command but all attempts to access recory just repeat the bootloop entry. I would happily check the OEM UNLOCK option in dev settings but can't even get it to book to any OS to make that option happen. Still shows bootloader locked on bootloader screen - any help someone can suggest?
I had this problem tonight also. In my case I suspect it had to do with the install of magisk in which I checked both boxes and patched the bootloader. on reboot I was stuck on boot. Just wanted to add my solution. I got the pie back to stock zip here https://forum.xda-developers.com/essential-phone/development/stock-7-1-1-nmj20d-t3701681 then I put it into the adb folder and ran the flashall.bat script. I tried the no wipe one and it saved my information. very happy I didnt have to resetup my phone in the end.
katastyle971 said:
My essential phone stuck in boot logo,bootloader work but recovery doesn´t work
Bootloader locked.
Oem unlocking disable.
Usb debugging disable.
How to flash stock recovery or twrp on bootloader locked ? please
Thank you!
Click to expand...
Click to collapse
I am in the same boat. I tried to re-install the OS, but because my USB debugging was not enabled, Fastboot worked but ADB would not and since I basically wiped the recovery area, my phone will only boot into Fastboot but will not allow any loading of recovery. I would pay for someone to help. This is so hard to figure out. I have contacted Essential but since my phone is over 12 months old, the warranty has expired.
Help please. It seems like such a waste to have a bricked phone.

Lost recovery after a hard factory reset when using TWRP

I recently got a huawei Nexus 6p. I had it with TWRP and rooted. The battery in these as you know the batteries are not the best. I had been told to try a hard factory reset. I then was able to wipe using TWRP and then lost the recovery. I was able to flash a stock version of the android 8.1.0, however, Now when I try to boot in recovery mode I get nothing but an android guy and say's something like no command found. I haven't been able to root it again or flash TWRP. My goal is to root and flash nethunter. Is there any way of fixing the recovery or flashing a new one.
Once you are on the screen with the little green guy laying down, hold the power button and tap volume up. That should take you into recovery.
Boot into Download mode, (voldown + power) then flash normally with fastboot.
https://dl.twrp.me/angler/twrp-3.2.3-0-angler.img.html
Download image to desktop, open command prompt, and type "fastboot flash recovery twrp-3.2.3-0-angler.img" without quotations. You need device drivers and android sdk tools. Bootloader needs to be unlocked as well.

Categories

Resources