Bootlogo Loop? - Nexus 4 Q&A, Help & Troubleshooting

No matter what ROM I flash, I keep getting to the ROM's boot logo, and it just loops until the battery drains. The only thing I could get to boot is Sailfish OS....
I've got 3.0.3.0 TWRP on there and I've tried LineageOS and Nitrogen OS, same result.

I would try and flash the factory images and start all over again
Nitin

nitin.chobhe said:
I would try and flash the factory images and start all over again
Nitin
Click to expand...
Click to collapse
Tried, no luck, same result.

RavenII said:
Tried, no luck, same result.
Click to expand...
Click to collapse
Are you sure you flashed the factory images? What process did you follow?
Nitin

Did u flash through twrp??
Flash the factory img using fastboot commands, backup data using adb commands. This will remove ur custom recovery though and you'll have to flash twrp through fastboot. Then u can go for custom rom.

nitin.chobhe said:
Are you sure you flashed the factory images? What process did you follow?
Nitin
Click to expand...
Click to collapse
TundraLK520 said:
Did u flash through twrp??
Flash the factory img using fastboot commands, backup data using adb commands. This will remove ur custom recovery though and you'll have to flash twrp through fastboot. Then u can go for custom rom.
Click to expand...
Click to collapse
I just followed https://developers.google.com/android/images#occam
The zip for the N4 has a .sh file with all the fastboot commands that automates the process.

RavenII said:
I just followed https://developers.google.com/android/images#occam
The zip for the N4 has a .sh file with all the fastboot commands that automates the process.
Click to expand...
Click to collapse
Lollipop takes a bit longer to boot, just wait it out like 20-30 mins.
Sorry just read ur first post again, don't know what to tell u, maybe someone else will figure it out.

RavenII said:
I just followed https://developers.google.com/android/images#occam
The zip for the N4 has a .sh file with all the fastboot commands that automates the process.
Click to expand...
Click to collapse
I got the 4.4.4 stock image to boot...flashed TWRP (latest) and then Nitrogen from there...boot loop. Weird.

Try flashing with old twrp, not the lastest one. I doubt twrp is the problem but u can give it a try.
Or just try with fastboot directly.
Or maybe try another rom PN , SAOSP, maybe u downloaded a problematic Nitrogen OS build.

Related

Status 7

I couldnt find any fix or helpful answers elsewhere on the web
Many of you are aware of the status 7 installation abort when trying to install a new rom
Ive been tinkering since last night trying to get miui 2.10.12 on my nexus 7 and every time I get a "Installation Abort (Status 7)
how do I get it to finish installation?
ive tried with multiple roms, CM10, MIUI, Kang all have same result
I have clockwork mod installed, from rom manager
I made sure I wipe data and cache and also davlik cache
any suggestions?
and i thank everyone in advance
I think you will hopefully get more joy posting in the Q&A section.
I have read that it can be fixed by fastbooting stock and then re-rooting though. If you can make backups first, you should, because this will wipe everything.
z1gackly said:
I think you will hopefully get more joy posting in the Q&A section.
I have read that it can be fixed by fastbooting stock and then re-rooting though. If you can make backups first, you should, because this will wipe everything.
Click to expand...
Click to collapse
what ive been doing is not making any backups (nothing important to save) and just using nexus toolkit to flash back stock and starting over and trying new way every time
still nothing though after about the 20th time
No idea then sorry. Stick with rooted stock?
z1gackly said:
No idea then sorry. Stick with rooted stock?
Click to expand...
Click to collapse
i think I might have to, ive never had any issues with custom roms (to speak of)
oh well, at least im happy with stock, i just love miui.
anyone else have answers please chip in, i give thanks!
harecurtis said:
I couldnt find any fix or helpful answers elsewhere on the web
Many of you are aware of the status 7 installation abort when trying to install a new rom
Ive been tinkering since last night trying to get miui 2.10.12 on my nexus 7 and every time I get a "Installation Abort (Status 7)
how do I get it to finish installation?
ive tried with multiple roms, CM10, MIUI, Kang all have same result
I have clockwork mod installed, from rom manager
I made sure I wipe data and cache and also davlik cache
any suggestions?
and i thank everyone in advance
Click to expand...
Click to collapse
You're using a wrong recovery. Install TWRP recovery using Goo Manager. Get it from Google Play Store
joedoe said:
You're using a wrong recovery. Install TWRP recovery using Goo Manager. Get it from Google Play Store
Click to expand...
Click to collapse
give me 5 minutes, while i try your method.
harecurtis said:
give me 5 minutes, while i try your method.
Click to expand...
Click to collapse
joedoe said:
You're using a wrong recovery. Install TWRP recovery using Goo Manager. Get it from Google Play Store
Click to expand...
Click to collapse
its a no go
anyone else wanna help me?
ive tried almost everything:/
download TWRP for the Nexus 7 (grouper) Here : http://teamw.in/project/twrp2/103
Since your rooted you can use a simple app to flash the Image. Download and install the free app here http://forum.xda-developers.com/showthread.php?t=1790150&highlight=flash+gui
Open the free app and select the option for Recovery Image. Hit Browse and find the recovery image you downloaded and select it.Once finished hit flash image. It will ask you to confirm this image is a recovery image. Hit yes and it'll flash.
Then reboot to recovery, you can do this by using Terminal Emulator from the market issue this command
Code:
su *hit enter*
adb reboot recovery
If that doesnt work.. remove "adb" I forget if you need it or not :S
This should put you into TWRP Recovery.. go ahead and flash your ROM. Make sure you follow the proper procedure. I recommend this
1.Wipe data/Factory Reset
2. Wipe Cache Partition
3.Wipe Dalvik Cache
4. Format /System
then proceed to flash the ROM and Gapps. and Reboot.
ÜBER™ said:
download TWRP for the Nexus 7 (grouper) Here : http://teamw.in/project/twrp2/103
Since your rooted you can use a simple app to flash the Image. Download and install the free app here http://forum.xda-developers.com/showthread.php?t=1790150&highlight=flash+gui
Open the free app and select the option for Recovery Image. Hit Browse and find the recovery image you downloaded and select it.Once finished hit flash image. It will ask you to confirm this image is a recovery image. Hit yes and it'll flash.
Then reboot to recovery, you can do this by using Terminal Emulator from the market issue this command
Code:
su *hit enter*
adb reboot recovery
If that doesnt work.. remove "adb" I forget if you need it or not :S
This should put you into TWRP Recovery.. go ahead and flash your ROM. Make sure you follow the proper procedure. I recommend this
1.Wipe data/Factory Reset
2. Wipe Cache Partition
3.Wipe Dalvik Cache
4. Format /System
then proceed to flash the ROM and Gapps. and Reboot.
Click to expand...
Click to collapse
ill try this in just a few minutes as im flashing stock as we speak and "starting fresh"
harecurtis said:
ill try this in just a few minutes as im flashing stock as we speak and "starting fresh"
Click to expand...
Click to collapse
If you're going that route.. you might as well just use fastboot to reflash recovery instead of the app.
Download the same image i linked to earily. While in the bootloader issue this command
Code:
fastboot flash recovery name-of-recovery.img
Make sure you have the Command Prompt in the same directory as the recovery image.
So say its in your downloads folder on your computer open CMD and cd to that directory.
Code:
cd C:\Users\Name\Downloads
Or just open yoru downloads folder and Shift + Right click and select "open command window here" then issue the fastboot command.
ÜBER™ said:
download TWRP for the Nexus 7 (grouper) Here : http://teamw.in/project/twrp2/103
Since your rooted you can use a simple app to flash the Image. Download and install the free app here http://forum.xda-developers.com/showthread.php?t=1790150&highlight=flash+gui
Open the free app and select the option for Recovery Image. Hit Browse and find the recovery image you downloaded and select it.Once finished hit flash image. It will ask you to confirm this image is a recovery image. Hit yes and it'll flash.
Then reboot to recovery, you can do this by using Terminal Emulator from the market issue this command
Code:
su *hit enter*
adb reboot recovery
If that doesnt work.. remove "adb" I forget if you need it or not :S
This should put you into TWRP Recovery.. go ahead and flash your ROM. Make sure you follow the proper procedure. I recommend this
1.Wipe data/Factory Reset
2. Wipe Cache Partition
3.Wipe Dalvik Cache
4. Format /System
then proceed to flash the ROM and Gapps. and Reboot.
Click to expand...
Click to collapse
didnt work(
harecurtis said:
didnt work(
Click to expand...
Click to collapse
?? Is your bootloader unlocked? You are rooted still correct? I dont see how your even rooting if you dont flash a Superuser package with recovery??
ÜBER™ said:
?? Is your bootloader unlocked? You are rooted still correct? I dont see how your even rooting if you dont flash a Superuser package with recovery??
Click to expand...
Click to collapse
yes my bootloader is unlocked, and I rooted as well
what Im using is wugfresh nexus root toolkit 1.5.3
harecurtis said:
yes my bootloader is unlocked, and I rooted as well
what Im using is wugfresh nexus root toolkit 1.5.3
Click to expand...
Click to collapse
Stop... dont use that.. -_-. Do it manually..
ÜBER™ said:
Stop... dont use that.. -_-. Do it manually..
Click to expand...
Click to collapse
okay, can you send me a lint to a post that I can manually do it?
and thanks so much!
harecurtis said:
okay, can you send me a lint to a post that I can manually do it?
and thanks so much!
Click to expand...
Click to collapse
Ill write you up a quick tutorial.
First download this zip it contains adb and its .dll's needed to be executed and fastboot.exe for flashing
http://db.tt/EOwGUAPV
Unzip it and put that TWRP image in the same folder.
Then in that folder Shift + Right click and select open command prompt here.
Then type
Code:
adb reboot bootloader
This will boot you into the bootloader. Once in the bootloader do this command
Code:
fastboot flash recovery name-of-recovery.img
Hopefully your smart enough to realize that means type in the name of the recovery not exactly what that says.. for instance openrecovery-twrp... etc etc.
Then once its finished writing the recovery hit the volume up until the "Start" Says Recovery Mode. Then hit the power button. You should now be booting in the TWRP. Then flash your ROM.
ÜBER™ said:
Ill write you up a quick tutorial.
First download this zip it contains adb and its .dll's needed to be executed and fastboot.exe for flashing
http://db.tt/EOwGUAPV
Unzip it and put that TWRP image in the same folder.
Then in that folder Shift + Right click and select open command prompt here.
Then type
Code:
adb reboot bootloader
This will boot you into the bootloader. Once in the bootloader do this command
Code:
fastboot flash recovery name-of-recovery.img
Hopefully your smart enough to realize that means type in the name of the recovery not exactly what that says.. for instance openrecovery-twrp... etc etc.
Then once its finished writing the recovery hit the volume up until the "Start" Says Recovery Mode. Then hit the power button. You should now be booting in the TWRP. Then flash your ROM.
Click to expand...
Click to collapse
thanks
ill do that in a few minutes, im in the middle of trying another process, and if it fails ill try your method.
and should i re lock my bootloader before i try your method, or can i just keep it unlocked?
harecurtis said:
thanks
ill do that in a few minutes, im in the middle of trying another process, and if it fails ill try your method.
and should i re lock my bootloader before i try your method, or can i just keep it unlocked?
Click to expand...
Click to collapse
Keep it unlocked.... otherwise you'll have to re unlock it...

[Q] HELP! Stuck in a boot loop :(

*RESOLVED*
I tried to update to 4.2.2 manually and got stuck in a bootloop. The first time, I got an error message (attached) and rebooted, so I went into Voodoo Root protector and deleted my backup of SU thinking that could be the problem. I tried again, got the same error, and now I'm in a bootloop. I am on stock Android 4.2.1 and using Franco Kernel r72. Please help me.
Thanks.
wipe data then reflash your rom
benblb said:
I tried to update to 4.2.2 manually and got stuck in a bootloop. The first time, I got an error message (attached) and rebooted, so I went into Voodoo Root protector and deleted my backup of SU thinking that could be the problem. I tried again, got the same error, and now I'm in a bootloop. I am on stock Android 4.2.1 and using Franco Kernel r72. Please help me.
Thanks.
Click to expand...
Click to collapse
If you have unlocked bootloader, download Nexus 4 image from here, unzip it to get the various factory images and then flash using fastboot. If you have locked bootloader, you will have to unlock it using
Code:
fastboot oem unlock
.
CAUTION: This will wipe all data.
Follow this guide to re-root and install CWM.
simms22 said:
wipe data then reflash your rom
Click to expand...
Click to collapse
Is there any way for me to keep my data? How do I cleanly do it? If I do need to wipe data, what do I do? Do I just go into CWM and tell it to wipe the data and then flash the operating system? I saw some instructions that had me flashing all sorts of stuff (i.e. radios etc). Sorry for all the questions.
rhoadster91 said:
If you have unlocked bootloader, download Nexus 4 image from here, unzip it to get the various factory images and then flash using fastboot. If you have locked bootloader, you will have to unlock it using
Code:
fastboot oem unlock
.
CAUTION: This will wipe all data.
Click to expand...
Click to collapse
My bootloader is unlocked. What exactly do I flash from the 4.2.2 image? Do I need to wipe my data first or is my data just wiped in the process?
benblb said:
Is there any way for me to keep my data? How do I cleanly do it? If I do need to wipe data, what do I do? Do I just go into CWM and tell it to wipe the data and then flash the operating system? I saw some instructions that had me flashing all sorts of stuff (i.e. radios etc). Sorry for all the questions.
Click to expand...
Click to collapse
yes, in cwm. wipe data then flash the rom. you can try just reflashing your rom first, without wiping data. if it still bootloops, then wipe data and reflash. flashing the system img via fastboit will wipe everything.
benblb said:
I tried to update to 4.2.2 manually and got stuck in a bootloop. The first time, I got an error message (attached) and rebooted, so I went into Voodoo Root protector and deleted my backup of SU thinking that could be the problem. I tried again, got the same error, and now I'm in a bootloop. I am on stock Android 4.2.1 and using Franco Kernel r72. Please help me.
Thanks.
Click to expand...
Click to collapse
Since you aren't running the stock kernel, one of the kernel modules failed an md5sum check for a patch and the install stopped before attempting to patch a file that wasn't equal to what it was expecting.
a wipe data/factory reset in Recovery Mode can solve this bootloop, especially after you have just flashed a ROM.
benblb said:
My bootloader is unlocked. What exactly do I flash from the 4.2.2 image? Do I need to wipe my data first or is my data just wiped in the process?
Click to expand...
Click to collapse
Flashing from fastboot will automatically clear all data. There should be a system.img file. Flash it using
Code:
fastboot flash system system.img
But to make a clean install, I would recommend you flash all the factory images. Refer this for more detail.
JaiaV said:
Since you aren't running the stock kernel, one of the kernel modules failed an md5sum check for a patch and the install stopped before attempting to patch a file that wasn't equal to what it was expecting.
Click to expand...
Click to collapse
So I can just re-flash my kernel and be fine? I can't get the kernel to flash though.
benblb said:
So I can just re-flash my kernel and be fine? I can't get the kernel to flash though.
Click to expand...
Click to collapse
reflash the rom. franco kernel isnt flashable in recovery, you need to flash it via fastboot(.img file not a .zip).
simms22 said:
reflash the rom. franco kernel isnt flashable in recovery, you need to flash it via fastboot(.img file not a .zip).
Click to expand...
Click to collapse
I'm on stock. What file do I flash? Thanks for all your help.
benblb said:
I'm on stock. What file do I flash? Thanks for all your help.
Click to expand...
Click to collapse
look in the development section, there are a few rooted stock roms available.
simms22 said:
look in the development section, there are a few rooted stock roms available.
Click to expand...
Click to collapse
I just flashed stock. I followed these instructions: http://forum.xda-developers.com/showthread.php?t=2010312
Do I also need to flash a kernel? If so, where do I get the download for stock?
benblb said:
I just flashed stock. I followed these instructions: http://forum.xda-developers.com/showthread.php?t=2010312
Do I also need to flash a kernel? If so, where do I get the download for stock?
Click to expand...
Click to collapse
Flashing the factory images will have restored the stock kernel.
If you are going to flash a factory image or anything like that, watch this: http://forum.xda-developers.com/showthread.php?t=2039162
after you flash that ROM, if your phone stucks in a bootloop, then go to Recovery, wipe cache and reset factory will solve the problem.
benblb said:
I just flashed stock. I followed these instructions: http://forum.xda-developers.com/showthread.php?t=2010312
Do I also need to flash a kernel? If so, where do I get the download for stock?
Click to expand...
Click to collapse
na, the kernel is always included in the rom. you flash a kernel if you want to use a different kernel(trinity is great with stock).
Hi everyone,
Thanks for your help. I have flashed stock 4.2.2 to my phone and have finished setting everything up. I really appreciate the quick responses and dedication to my issue. It means a lot to me that you guys helped me in my time of need. Thanks again.
Cheers,
Ben

Creating modified boot.img and enabling adb during first boot.

Modified boot.img of a rom is required to be flashed on that rom so that it works with TWRP.
Enabling ADB during first boot creates a way out in case your phone bootloops or stuck at MI logo and also hardbricked.
Many people hardbricked their phone while flashing MIUI based roms through TWRP, and they had to test-point to bring their phone back to life, my mod enables adb during boot and so people who used my mod and hardbricked their phone can access adb when their phone is stuck at MI logo or bootlooping and thus revive their phone.
Tools needed:-
1)Notepad++ (google it and download)
2)Android Image Kitchen(AIK) http://forum.xda-developers.com/attachment.php?attachmentid=3638835&d=1454959265
Steps:-
1)Download the required rom and extract its boot.img
2)Copy the boot.img to AIK folder and drag boot.img and drop it on unpackimg.bat
3)Open ramdisk folder and look for default.prop , open them with Notepad++
4)Editing default.prop Note:- This will enable adb at first boot
5)Change
Code:
ro.secure=1 to ro.secure=0
ro.adb.secure=1 to ro.adb.secure=0
ro.debuggable=0 to ro.debuggable=1
persist.sys.usb.config=none to persist.sys.usb.config=adb
delete the line ro.secureboot.devicelock=1 if present
OR (Alternate way)(recommended)
open ramdisk and look for fstab.qcom, open with notepad++ and search for ",verify" (without quotes) and delete it and save.
6)Now execute repackimg.bat, a image-new.img file will be compiled.
7)Flash the image-new.img through TWRP or through fastboot using "Fastboot flash boot image-new.img"
That's all
P.S:- Remember only use Boot.img specific for the miui version you wanna run, boot.img version not matching with MIUI version
will cause the Wifi to stop working.
Press thanks If this helped.:good:
Any queries feel free to ask me.:laugh:
Does the modified boot.img procedure need to be done for every ROM or just for the MIUI ROMs? I want to install the AOSP ROM and later CM 13 but I'm still not sure about the whole flashing process.
Sent from my Redmi Note 3 using XDA-Developers mobile app
SkinCoffin said:
Does the modified boot.img procedure need to be done for every ROM or just for the MIUI ROMs? I want to install the AOSP ROM and later CM 13 but I'm still not sure about the whole flashing process.
Sent from my Redmi Note 3 using XDA-Developers mobile app
Click to expand...
Click to collapse
modified boot.img is only for official MIUI roms, all other roms doesnt need it
Rajdip said:
modified boot.img is only for official MIUI roms, all other roms doesnt need it
Click to expand...
Click to collapse
So if I'm on Miui Official Global ROM 7.2.3 all I have to do is flash TWRP through fastboot, boot into it and flash the new ROM+GApps through it?
SkinCoffin said:
So if I'm on Miui Official Global ROM 7.2.3 all I have to do is flash TWRP through fastboot, boot into it and flash the new ROM+GApps through it?
Click to expand...
Click to collapse
exactly
Rajdip said:
exactly
Click to expand...
Click to collapse
Thank you! I just did it. It has booted and almost over in the "Optimizing apps" window. Thing is, I did forget to wipe system, data and cache before flashing, should I do it again or will it be fine like this?
EDIT: I rebooted the phone into recovery, wiped system, data and cache, flashed the ROM zip and wiped cache and dalvik cache. I booted the phone and it showed the Mi logo, then 4 circles screen flying around (green, red, blue and yellow) and it has been like this for like 5 min now.. Did I do something wrong? I'm starting to worry to be honest.
SkinCoffin said:
Thank you! I just did it. It has booted and almost over in the "Optimizing apps" window. Thing is, I did forget to wipe system, data and cache before flashing, should I do it again or will it be fine like this?
EDIT: I rebooted the phone into recovery, wiped system, data and cache, flashed the ROM zip and wiped cache and dalvik cache. I booted the phone and it showed the Mi logo, then 4 circles screen flying around (green, red, blue and yellow) and it has been like this for like 5 min now.. Did I do something wrong? I'm starting to worry to be honest.
Click to expand...
Click to collapse
it takes time to boot for the first time, did it boot now?
Rajdip said:
it takes time to boot for the first time, did it boot now?
Click to expand...
Click to collapse
Still hasn't booted. It has been on the flying circles screen for around 10 minutes now. Maybe fastboot twrp again and do the process all over again?
SkinCoffin said:
Still hasn't booted. It has been on the flying circles screen for around 10 minutes now. Maybe fastboot twrp again and do the process all over again?
Click to expand...
Click to collapse
Try again, goto TWRP, wipe system,data,cache,dalvik and flash the rom. Now reboot...
Rajdip said:
Try again, goto TWRP, wipe system,data,cache,dalvik and flash the rom. Now reboot...
Click to expand...
Click to collapse
So I shouldn't reinstall TWRP through fastboot?
EDIT: Ok so I restarted the phone and it booted normally into the ROM, everything seems alright. Will check if I have any problem, if I do I'll just reflash it.
SkinCoffin said:
So I shouldn't reinstall TWRP through fastboot?
Click to expand...
Click to collapse
No, first try what I said, dont wipe cache and dalvik after the rom is flashed
Rajdip said:
No, first try what I said, dont wipe cache and dalvik after the rom is flashed
Click to expand...
Click to collapse
Ok so I restarted the phone and it booted normally into the ROM, everything seems alright. Will check if I have any problem, if I do I'll just reflash it.
SkinCoffin said:
Ok so I restarted the phone and it booted normally into the ROM, everything seems alright. Will check if I have any problem, if I do I'll just reflash it.
Click to expand...
Click to collapse
okay
i do exactly like your tutor...i edit boot.img n delete ",verify"
repack than delete original boot.img, than use moded boot.img... but wifi doesn't work...
where my mistake...?
Mayoz said:
i do exactly like your tutor...i edit boot.img n delete ",verify"
repack than delete original boot.img, than use moded boot.img... but wifi doesn't work...
where my mistake...?
Click to expand...
Click to collapse
are you sure you are using the boot.img of the MIUI version you are flashing? there is two 7.2.3.0 version of boot.img one for global and one for china. Anyway try this and see if wifi works, goto TWRP(I hope you've already deleted the emmc_appsboot file), select mount and then tick on mount system as read only. Then flash the rom. This method will replace TWRP with MIUI recovery but your wifi should start working.
Rajdip said:
are you sure you are using the boot.img of the MIUI version you are flashing? there is two 7.2.3.0 version of boot.img one for global and one for china. Anyway try this and see if wifi works, goto TWRP(I hope you've already deleted the emmc_appsboot file), select mount and then tick on mount system as read only. Then flash the rom. This method will replace TWRP with MIUI recovery but your wifi should start working.
Click to expand...
Click to collapse
yes using the boot.img of the MIUI version to flashing...from recovery rom stable 7.2.3.0 china....maybe my mistake i replace emmc_appsboot file from miui forum...not delete "will replace TWRP with MIUI recovery...' still can booting? i already UBL...
Mayoz said:
yes using the boot.img of the MIUI version to flashing...from recovery rom stable 7.2.3.0 china....maybe my mistake i replace emmc_appsboot file from miui forum...not delete "will replace TWRP with MIUI recovery...' still can booting? i already UBL...
Click to expand...
Click to collapse
I didnt get you, can you be more clear?
Do I need to use Windows 64bits to flash TWRP?
Thanks.
pepemonje said:
Do I need to use Windows 64bits to flash TWRP?
Thanks.
Click to expand...
Click to collapse
no need 32bit works
Hello, I've followed a certain tutorial and flashed a fastboot Rom with modified emmc file in attempt to unlock bootloader by force because, even after two weeks of trying, I can't get a confirmation SMS from xiaomi to confirm sending an unlock request. After doing it and flashing TWRP onto my device, I'm still unable to enter recovery. Just shows a picture of device and a disconnected usb cable. I need to flash SuperSU in order to get root access.
Because this device is getting me really confused, please answer a couple of questions for me.
If I flash a recently uploaded global stable ROM 7.2.3.0. and flash TWRP with a modified boot image from this tutorial, will I finally be able to enter recovery and install SuperSU?
Flashing will probably relock my bootloader. Is it possible for me to finally enter TWRP and flash SuperSU after flashing the new boot image?
I've thought that I could enter TWRP just by unlocking the bootloader but it seems that I've missed something. I can't remember last time a phone got me this confused.
My only goal here is being able to enter TWRP and rooting my phone, I gave up on unlocking the bootloader officially because I can't ever get that confirmation SMS.
I appreciate the help!! :fingers-crossed:

Root N Dev Preview 5

Can anyone here point in the right direction to guide me through DP5 root? TWRP hangs on splash screen when attempting to install. Thanks!
Sent from my Nexus 6P using XDA-Developers mobile app
TWRP can't decrypt the N system right now. So it will stay stuck on the splash screen.
The most common way around here, is to decrypt your device's storage. Once, you have decrypted, you will be able to access the recovery, and flash the latest SuperSU zip for root.
DJBhardwaj said:
TWRP can't decrypt the N system right now. So it will stay stuck on the splash screen.
The most common way around here, is to decrypt your device's storage. Once, you have decrypted, you will be able to access the recovery, and flash the latest SuperSU zip for root.
Click to expand...
Click to collapse
Thanks! What's the best way of doing that!?
DLloyd said:
Thanks! What's the best way of doing that!?
Click to expand...
Click to collapse
Be advised that decrypting will wipe off your complete data, including that on the internal storage. So, backup first.
The first step would be to download the modified boot image for DP5: http://forum.xda-developers.com/nexus-6p/general/stock-modified-boot-img-regular-root-t3306684 (Make sure that you download the correct file).
Next, reboot your device into bootloader mode and flash the boot image using the following command:
Code:
fastboot flash boot boot.img
Once that is done, you will need to decrypt using the following command (Do not mix "fastboot erase" command with "fastboot format"):
Code:
fastboot format userdata
Finally, reboot your device. Now, you will be able to access TWRP and flash SuperSU: http://download.chainfire.eu/969/SuperSU/UPDATE-SuperSU-v2.76-20160630161323.zip
This is great but unfortunately no joy - I'm still stuck on the TWRP splash screen when trying to enter recovery, after flashing the modified boot.img - in security it still show's encrypted?
DLloyd said:
This is great but unfortunately no joy - I'm still stuck on the TWRP splash screen when trying to enter recovery, after flashing the modified boot.img
Click to expand...
Click to collapse
Have you formatted the userdata after flashing the boot.img?
DJBhardwaj said:
Have you formatted the userdata after flashing the boot.img?
Click to expand...
Click to collapse
Yeah, exactly as advised... re-downloaded boot.img to try again, no luck
DLloyd said:
Yeah, exactly as advised... re-downloaded boot.img to try again, no luck
Click to expand...
Click to collapse
Go to Settings > Security and see if Encrypt phone option is available or greyed out. Also try reflashing TWRP.
DJBhardwaj said:
Go to Settings > Security and see if Encrypt phone option is available or greyed out. Also try reflashing TWRP.
Click to expand...
Click to collapse
It show's Encrypted, with no option to change, have tried re-flashing TWRP but nothing. How do I make sure format userdata has worked correctly? Appreciate your help!
DLloyd said:
It show's Encrypted, with no option to change, have tried re-flashing TWRP but nothing
Click to expand...
Click to collapse
Then the decryption process didn't work at all.
Download this specific boot.img: https://www.androidfilehost.com/?fid=24591023225178833
Flash it via fastboot. And then, "fastboot format userdata" and "fastboot format cache".
Finally, reboot.
DJBhardwaj said:
Then the decryption process didn't work at all.
Download this specific boot.img: https://www.androidfilehost.com/?fid=24591023225178833
Flash it via fastboot. And then, "fastboot format userdata" and "fastboot format cache".
Finally, reboot.
Click to expand...
Click to collapse
Yeah, still no joy... I'll revert to previous dev preview for root. Thanks anyway!
DLloyd said:
Yeah, still no joy... I'll revert to previous dev preview for root. Thanks anyway!
Click to expand...
Click to collapse
I rooted my Nexus 6P successfully with that specific boot.img and flash TWRP for many times.
1.flash specific boot.img
2.flash TWRP 3.0.0.0
3.get into TWRP-Wipe-format data and type "yes"
4.reboot to bootloader, flash TWRP 3.0.0.0 again.
5.get into TWRP and flash supersu
6.do not reboot or clean cache, get into wipe, and format data
7.reboot to bootloader, flash TWRP 3.0.2.0
7.get into TWRP and flash supersu
8.done
Since it seems ridiculous, it works.
DLloyd said:
Yeah, still no joy... I'll revert to previous dev preview for root. Thanks anyway!
Click to expand...
Click to collapse
Weird. I have followed the same drill about 2-3 times on DP5, and it works perfectly.
using CF Auto root works with Android N DP5. Don't need custom recovery.
XRaptor29 said:
using CF Auto root works with Android N DP5. Don't need custom recovery.
Click to expand...
Click to collapse
How did you pull that off, I recently did that and it bootloop on the cf auto root screen
jussaren said:
How did you pull that off, I recently did that and it bootloop on the cf auto root screen
Click to expand...
Click to collapse
Make sure boot loader is unlocked. I never had the CF Auto Root screen boot loop, it does boot loop a few times when booting afterwards but that's it finishing it up.
Last night I unencrypted my phone and twrp works fully so I could flash a custom kernel. It's sad that NP5 forces encryption and you have to flash the stock kernel with encryption disabled to unencrypted. I can provide a link if you're interested in that. It provides the kernel and step by step process.
Edit: didn't realize that one guy with the Droid Origin signature had the link also, I Googled and found it but this is how I unencrypted and everything last night. http://www.droidorigin.com/decrypt-nexus-6p/ Props go out to that team.
Sent from my Nexus 6P using Tapatalk

Help

I flashed Lineage Os 15.1 from stock feb. update rooted, it gets stuck in bootanimation and does not go into system, any solution?
U have twrp? Can u boot into it? If yes do a clean flash or use miflash to get back to stock
If u have TWRP installed then like @apexashwin said clean flash with the recommended process if u dont have twrp u can first boot your phone into TWRP for a while from fastboot commands and clean flash rom and if you want to go to stock use Mi Flash Tool data backup will be recommended .
Sry guys
apexashwin said:
U have twrp? Can u boot into it? If yes do a clean flash or use miflash to get back to stock
Click to expand...
Click to collapse
iamlfcfan said:
If u have TWRP installed then like @apexashwin said clean flash with the recommended process if u dont have twrp u can first boot your phone into TWRP for a while from fastboot commands and clean flash rom and if you want to go to stock use Mi Flash Tool data backup will be recommended .
Click to expand...
Click to collapse
Yes, I have TWRP installed, and i have tried with a lot of clean flashes, installing the rom and the steps that you know.
Nothing have worked, and i don't know what else to do.
Nothing works
Sry guys
apexashwin said:
U have twrp? Can u boot into it? If yes do a clean flash or use miflash to get back to stock
Click to expand...
Click to collapse
iamlfcfan said:
If u have TWRP installed then like @apexashwin said clean flash with the recommended process if u dont have twrp u can first boot your phone into TWRP for a while from fastboot commands and clean flash rom and if you want to go to stock use Mi Flash Tool data backup will be recommended .
Click to expand...
Click to collapse
Yes, I have TWRP installed, and i have tried with a lot of clean flashes, installing the rom and the steps that you know.
Nothing have worked, and i don't know what else to do.
Nothing works
AnonyIsRight said:
Yes, I have TWRP installed, and i have tried with a lot of clean flashes, installing the rom and the steps that you know.
Nothing have worked, and i don't know what else to do.
Nothing works
Click to expand...
Click to collapse
Use mi flash tool to clean install your rom then please take backup of ur data
iamlfcfan said:
Use mi flash tool to clean install your rom then please take backup of ur data
Click to expand...
Click to collapse
Also tried with MiFlash, with the flash_all.bat, the flash_all_lock.bat, and all of that. ( in fastboot mode and edl mode, also tried with qfil )
Idc about my personal data, but if what you mean is the phone data... i have formated it a lot of times :/
I'm going to try with "tissot_images_7.8.23_7.1", i hope it works, but i'm thinking that it will give me the same result https://www.youtube.com/watch?v=3YcWsWYQVGQ
I will write over here if i am able to solve it, and if not, i will write too.

Categories

Resources