Tips for Nougat rooting - Honor 6X Guides, News, & Discussion

Just wanted to pass along some knowledge I gained the hard way when rooting my BLN-24 with Nougat (360).
1) Make sure you have the EMUI 5-specific TWRP and SU. They may have the exact same version #s as their EMUI4 counterparts, but only the EMUI5 versions will work.
2) (This one cost me a LOT of time): Once you "fastboot oem unlock", do NOT let the phone boot to system until you've installed TWRP! If you do, it will FRP lock, and the "Allow OEM Unlock" developer option will be permanently greyed out. With FRP lock on, you won't be able to flash a new recovery (it will error with FAILED (remote: not allowed)).
So after running "fastboot oem unlock" at recovery, the phone will reboot and factory reset. Once finished, shut it down, then start up with USB cable plugged in and holding Volume down + Power on. This will get you back into fastboot where you can now flash recovery or recovery2. If you screw it up and flash the wrong recovery, you'll have to RE-lock your bootloader, then re-unlock the bootloader and go through the whole process again.
Unless there's a simple way around that problem that I totally missed...
3) Don't try to re-lock your bootloader once you've flashed a new recovery. Once I did that, the device would only boot to eRecovery. (Actually, I flashed TWRP to recovery2 so I could still get OTA updates, but I suspect flashing a replacement recovery and relocking bootloader will cause the same issue).
Hope that saved somebody some pain.

Help needed After Flashing berlin twrp recovery . The phone just boots to Revovery.
Thanks for the article Florp . I need some help to fix my recovery issue.
I have flashed the twrp berlin recovery for EMUI 5.x and now my phone just boot to recovery no matter what I do.
Your help will be much appreciated.

Are you able to get to the bootloader (fastboot) screen (USB cable plugged in, Volume down + Power on)?
If so, what does it show for the lock status of FRP and bootloader?

Florp said:
Are you able to get to the bootloader (fastboot) screen (USB cable plugged in, Volume down + Power on)?
If so, what does it show for the lock status of FRP and bootloader?
Click to expand...
Click to collapse
The Bootloader screen says
Phone Unlocked
FRP Unlocked.

If you only flashed TWRP and haven't flashed a custom ROM, I would try to flash the stock recovery for your current ROM and see if that fixes it.

Thanks for the heads up. Good looking out..

Related

[Q] Locked out of phone... Help?

My friend was trying to guess my unlock pattern and after so many failed attempts the only way to use the phone is to input your Google account details. The only problem with this is I had the mobile data and wifi turned off so the phone is stuck on the same screen. Any way of getting past this? If not, any way to restore to factory settings without getting into the settings menu or flash the stock rom? For the first time ever a Google search has completely failed me
I'm not sure the correct key press sequence, but I thinking holding both volume keys while powering on (from off state) should get you into the bootloader, from there you can pick recovery, and in recovery there should be an option to do a factory reset.
edit: once the stock recovery boots, it might look like a warning sign with an android in the middle. from that point you need to do another key sequence to see the options. It's been a while since I used a stock recovery, so I am not 100% positive.
perhaps try and pull the battery and let the phone restart? might let you try and use the pattern lock.
Thank you! Sorted now It was the same key sequence from the recovery screen and got it from there!
I am quite sure that the stock recovery menu does not offer any options.
I know one way which would work 10000%. Go to bootloader mode(hold both volume buttons while switching on), connect to your computer, and then use fastboot(http://koushikdutta.blurryfox.com/G1/) in the console, typing "fastboot oem unlock". This will unlock your handset(not a simlock,just the bootloader), but because of security reasons, your phone will be restored to factory settings. After that just use "fastboot oem lock" to lock the bootloader again if you want to preserve your warranty.
Stop thief!

[Solved] Unlocked Bootloader now having trouble

I unlocked the bootloader and installed TWRP Recovery using the OP3 Tool. However now the phone will not boot unless I press the power button a few times. When it does boot I get the "Your device is not safe message", if I boot from here I get the OnePlus logo with the "powered by android" text but then it just shuts off. If I use the volume keys to select something else, I get nothing, the fastboot mode just gets stuck on the fastboot until I turn the device off, recovery just reboots to the "Your device is not safe screen".
Any help would be wonderful
McreativeH said:
I unlocked the bootloader and installed TWRP Recovery using the OP3 Tool. However now the phone will not boot unless I press the power button a few times. When it does boot I get the "Your device is not safe message", if I boot from here I get the OnePlus logo with the "powered by android" text but then it just shuts off. If I use the volume keys to select something else, I get nothing, the fastboot mode just gets stuck on the fastboot until I turn the device off, recovery just reboots to the "Your device is not safe screen".
Any help would be wonderful
Click to expand...
Click to collapse
Did you flash anything while you were unlocking the bootloader? The message is shown when the bootloader is unlocked so that is ok. Your phone, however, should turn on by long pressing the power button. You're getting a bootloop, If I were in such a situation I'd use the fastboot mode to flash the stock firmware again to get the phone working...
mharis05 said:
Did you flash anything while you were unlocking the bootloader? The message is shown when the bootloader is unlocked so that is ok. Your phone, however, should turn on by long pressing the power button. You're getting a bootloop, If I were in such a situation I'd use the fastboot mode to flash the stock firmware again to get the phone working...
Click to expand...
Click to collapse
I managed to get it working in the end by reflashing the stock recovery image ???? thank you for the help
McreativeH said:
I managed to get it working in the end by reflashing the stock recovery image ???? thank you for the help
Click to expand...
Click to collapse
Awesome! Enjoy :good:

Stuck :( TWRP flashing screen

So I was trying to install TWRP on my phone. I have a Mac and was looking at some online guide. I had a pin set-up, and this is what I did:
1. Installed ADB and fast boot
2. Unlocked the boot loader on the phone
3. Check the terminal commands that the device is connected correctly
4. Had the ABD and TWRP img files on the phone.
5. Tried to fast boot TWRP.
What is happening now is that I'm stuck on a boot loop of a TWRP screen, the screen if flashing and won't load. I'm guessing to let the battery die out over night
I was looking at a few threads and some say that I should flash the factory image. Everyone is saying flash the stock file... However, I can't even get the phone to turn off or go back into bootload mode for my computer to recognize the phone.
Any tips?
Hold volume down and the power button down. Keep it held down might take sometime but you should get to the loader. boot twrpRC1 flash rc2 after getting in twrp. You could also start fresh by fishing factory once you get back to bootloader
Long press power button to shut it off
or press power button and vol down together and will take you to fatsboot mode and from there you can use volume button to seltect bootloader or recovery
I don't do pin's so I'm not familiar with the hangups involved with those and TWRP.
But I guess the first thing I'd do is remove the pin lock.
Then power down phone.
Wait 30 seconds!!!!!
Press power + volume down until phone powers on, then let go.
Should boot right into bootloader.
Fastboot boot twrp.
Install TWRP from the fastbooted TWRP.
I'm not familiar with the Mac process but on a PC we need to fastboot into TWRP from an image file on our computer first, and then flash the file on the phone.
I recommend keeping a copy of the boot signer on your device, flashing this fixes most of these types of issues I have found, especially with new rom upgrades etc.
Did you let the phone fully boot into the system after unlocking the bootloader, or did you immediately try and boot twrp?
I've had this problem twice before, both after a fastboot unlock, and I had to let it fully boot into the system before proceeding
DR3W5K1 said:
Hold volume down and the power button down. Keep it held down might take sometime but you should get to the loader. boot twrpRC1 flash rc2 after getting in twrp. You could also start fresh by fishing factory once you get back to bootloader
Click to expand...
Click to collapse
Rajaasim1980 said:
Long press power button to shut it off
or press power button and vol down together and will take you to fatsboot mode and from there you can use volume button to seltect bootloader or recovery
Click to expand...
Click to collapse
CZ Eddie said:
I don't do pin's so I'm not familiar with the hangups involved with those and TWRP.
But I guess the first thing I'd do is remove the pin lock.
Then power down phone.
Wait 30 seconds!!!!!
Press power + volume down until phone powers on, then let go.
Should boot right into bootloader.
Fastboot boot twrp.
Install TWRP from the fastbooted TWRP.
Click to expand...
Click to collapse
Thank you you too. That was the problem, my patience. I didn't hold it down long enough for it to boot back into boot loader mode.
noidea24 said:
Did you let the phone fully boot into the system after unlocking the bootloader, or did you immediately try and boot twrp?
I've had this problem twice before, both after a fastboot unlock, and I had to let it fully boot into the system before proceeding
Click to expand...
Click to collapse
Hey I think that was it. I immediately tried to boot twrp without letting the system fully boot.
Thanks you all for the support. Go XDA!
The first question everyone should be asking is if OP was on the O Beta previously.. If that is the case Op needs to flash the factory image in both slots.
Put phone into the bootloader
Flash all bat
Put phone into the bootloader
fastboot --set-active=other
fastboot reboot bootloader
flash all bat
fastboot boot twrp
Even if OP wasnt on the O beta, this should fix the issue.
After successfully flashing Oreo, I am seeing the same flashing/looping TWRP (twrp-3.0.2-0-RC1).
Long press of Pwr restarted the phone.
Rinsed & repeat a few times.
Any thoughts to flash TWRP (temporarily)?
markp99 said:
After successfully flashing Oreo, I am seeing the same flashing/looping TWRP (twrp-3.0.2-0-RC1).
Long press of Pwr restarted the phone.
Rinsed & repeat a few times.
Any thoughts to flash TWP (temporarily)?
Click to expand...
Click to collapse
https://forum.xda-developers.com/pixel/development/mod-twrp-recovery-pixel-android-o-dp4-t3651896
pcriz said:
https://forum.xda-developers.com/pixel/development/mod-twrp-recovery-pixel-android-o-dp4-t3651896
Click to expand...
Click to collapse
Success. Thank you!

OEM unlocked (showing in System) - Download mode -> OEM locked

Hi,
I just got a second hand Galaxy Note 10+
And I'm trying to get TWRP up and running on that phone.
I'm havin huge issues with the OEM lock.
I already did a complete reset of the phone with a Sammobile firmware. Flashed it via ODIN. Everything was factory resetted.
Then I did the OEM unlock in the developer options. Rebooted. And it is showing that OEM is unlocked.
Then I tried to flash the TWRP-recovery via ODIN. But it always fails with the same message "Cutom binary(RECOVERY) by OEM lock"
I am no beginner. I already flashed many Samsung phones and have them all unlocked. Please help me with that issue.
OK, I got it working.
I just forgot to reboot directly into Download-mode. I always booted into the original recovery menu and there I selected the "Reboot to bootloader" option.
But the right way to do it is to enable OEM unlock in Dev-options... then turn off the phone... Plug in a data cable(!!!)... and holding Vol up + Vol down
Then you will get asked to unlock the bootloader. Long press Vol up... then short Vol up as a confirmation. Done...
I hope this helps other people having hard times to do that. And: DON'T FORGET THE DATA CABLE.
This is nice, May I know the model of the second hand phone?

can't boot to recovery mode

I flashed the stock firmware of my device and I tried to root it again by installing twrp but after flashing the twrp, it boots straight to download mode. I can't get to recovery mode even attached to a pc.
I've already unlocked oem and bootloader.
Hi upbeat... I am having the identical problem, did you ever sort it out.
I out of ideas at this point.
Cheers LL13
Its been a long time.....but i think you either forgot to do the necessary steps after unlocking oem unlock (reboot + required steps)
Or you haven't followed all the steps correctly to install twrp.
Double check the guide and make sure no steps were missed.
Since A11, if you want to boot into Recovery Mode, besides of holding hard-keys combination, you will also have to plug the device into a data cable or plugin a Type-C headset

Categories

Resources