Unable To Properly Install Pure Nexus Nougat & Nandroid Not Working - Nexus 5X Q&A, Help & Troubleshooting

Hi! I went into the latest TWRP recovery with unlocked bootloader, and I wiped system, cache, dalvik and data. Then I flashed the proper vendor image, the ROM zip, Gapps and then Elemental X kernel. However, when I reboot, it just boots me into TWRP recovery. I have tried wiping dalvik cache and cache. I then tried restoring a nandroid, but it just got stuck on the Google screen. Didn't even get to the colored dots screen. I ended up flashing factory image, but I would like to get my Nandroids working and this ROM. Please help! Thanks

I'm no expert but I think it might be happening because of encryption. Did you disable encryption before doing all this stuff?

Aman301582 said:
I'm no expert but I think it might be happening because of encryption. Did you disable encryption before doing all this stuff?
Click to expand...
Click to collapse
Encryption in stock Android? As far as I know, I can't turn it off. It says that the device is encrypted in settings. I think nougat forces encryption.
Unless maybe there's a patched kernel that can do that?

NateDev473 said:
Encryption in stock Android? As far as I know, I can't turn it off. It says that the device is encrypted in settings. I think nougat forces encryption.
Unless maybe there's a patched kernel that can do that?
Click to expand...
Click to collapse
I dont think is your problem , im encrypted and never have issues with twrp! Never!! What version of twrp you running? Theres an unofficial kicking around that is much better than official! Maybe you got a bad download! I would redownload all, find and download unofficial twrp 3.0.2.3 I believe. Let your phone boot before you flash custom kernel, thats always worked great for me. The latest official twrps 3022 and 3021 both have nandroid restore issues as well efs restore issues that could ruin your day

Format data and system (format, not wipe) and try installing it again. Should work

OK, thanks

neth15 said:
Format data and system (format, not wipe) and try installing it again. Should work
Click to expand...
Click to collapse
Only data and system? Not cache and dalvik like the purenexus install guide says?

NateDev473 said:
Only data and system? Not cache and dalvik like the purenexus install guide says?
Click to expand...
Click to collapse
Ofc wipe all partitions, but these two also format.

neth15 said:
Ofc wipe all partitions, but these two also format.
Click to expand...
Click to collapse
What's the difference between wipe and format? On TWRP there is only WIPE for all partitions, but a format data button.

NateDev473 said:
What's the difference between wipe and format?
Click to expand...
Click to collapse
Wipe just deletes all data on the partition. Format makes the partition again, therefore it removes encryption, repairs potential problems etc. Format data has dedicated button in TWRP, for formatting System go to Advanced Wipe, check system, tap on Partition details, check EXT4 and perform format.

neth15 said:
Wipe just deletes all data on the partition. Format makes the partition again, therefore it removes encryption, repairs potential problems etc. Format data has dedicated button in TWRP, for formatting System go to Advanced Wipe, check system, tap on Partition details, check EXT4 and perform format.
Click to expand...
Click to collapse
There is no Partition details button. Just fix partition or something like that.

NateDev473 said:
There is no Partition details button. Just fix partition or something like that.
Click to expand...
Click to collapse
Repair or Change filesystem? Yeah, it should be that.

neth15 said:
Repair or Change filesystem? Yeah, it should be that.
Click to expand...
Click to collapse
OK, I will do that. Thanks Just to clarify, I format data and system, and wipe cache and dalvik?

A Thought
Dunno if this will help, but whenever I flash a ROM/kernel combo, I always flash the ROM/gapps, boot up with whatever kernel is included in ROM to make sure it boots properly, and then after successful boot flash EX kernel through TWRP.

OK, so I formatted DATA and SYSTEM, and I wiped CACHE and DALVIK. I then flashed the proper vendor image, pushing it to the device with adb push, and then adb sideload for the pure nexus ROM. It's currently installing. Then, I will adb sideload the gapps ZIP file. Then I'll reboot and see if it worked
EDIT: It just said "No OS installed"
EDIT 2: Just flashed the ROM again, and it is showing the boot animation. This time I did not do Gapps. I also wiped and formatted everything again. Hope all goes well.
EDIT 3: The ROM booted fine. Glad all is working now

NateDev473 said:
OK, so I formatted DATA and SYSTEM, and I wiped CACHE and DALVIK. I then flashed the proper vendor image, pushing it to the device with adb push, and then adb sideload for the pure nexus ROM. It's currently installing. Then, I will adb sideload the gapps ZIP file. Then I'll reboot and see if it worked
EDIT: It just said "No OS installed"
EDIT 2: Just flashed the ROM again, and it is showing the boot animation. This time I did not do Gapps. I also wiped and formatted everything again. Hope all goes well.
EDIT 3: The ROM booted fine. Glad all is working now
Click to expand...
Click to collapse
Good job You're welcome

neth15 said:
Good job You're welcome
Click to expand...
Click to collapse
So I had flashed the ROM with no Google Apps or anything, just the ROM. But when I add a Google Account, I can't because it says Google Play Services has stopped. I just noticed that the build number is one of a Nexus 6P, and the vendor image is different, the one I manually flashed.

Related

[Q] Problem flashing GingerTiny

Just did a clean install of Anthem v2.1 and everything booted up fine. I went into recovery, wiped data, dalvik, and cache, and installed the latest gingertiny kernel. When I reboot from recovery, I get bootloop. What's wrong?
prinzmetal6 said:
Just did a clean install of Anthem v2.1 and everything booted up fine. I went into recovery, wiped data, dalvik, and cache, and installed the latest gingertiny kernel. When I reboot from recovery, I get bootloop. What's wrong?
Click to expand...
Click to collapse
Thats because you wiped data. You should only wipe dalvik-cache and the cache partition.
cmlusco said:
Thats because you wiped data. You should only wipe dalvik-cache and the cache partition.
Click to expand...
Click to collapse
Thank you!
cmlusco said:
Thats because you wiped data. You should only wipe dalvik-cache and the cache partition.
Click to expand...
Click to collapse
Just to add to this. NEVER wipe data after flashing a Sense 3 or Sense 3.5 ROM. Actually even some Sense 2.1 ROMs that is a bad idea.
This is because the way these ROMS are built as the storage in /system cannot hold the whole ROM so they have to build part of it in /data. So wiping data will clear the ROM components as well as the user data. If you have to wipe data, plan to reflash the ROM again. So I say don't wipe data AFTER flashing the ROM unless you plan on reflashing the ROM. You can and will probably need to wipe data before flashing the ROM though.
Is there a reason why Titanium Backup isn't working? When I try to restore the progress bar just doesn't do anything...I had this problem with my Galaxy Tab and I had to change the app processing mode but is there a different issue?
prinzmetal6 said:
Is there a reason why Titanium Backup isn't working? When I try to restore the progress bar just doesn't do anything...I had this problem with my Galaxy Tab and I had to change the app processing mode but is there a different issue?
Click to expand...
Click to collapse
Make sure USB debuggging is on. If it is, I don't know.
I think the problem is that I ran out of internal memory, I have a huge sd card so I think I can solve this problem. Thank you for replying though. I would've posted something on the actual rom page but I don't have enough thumbs up

My device stuck on HTC Logo when I format it !!

My HTC One X stuck on "HTC One's Logo" every time I try to format it,
so I restore my backup which works fine and when I tried to format it the same thing happened.
Whenever I try formatting my device it stuck on the logo !!
Please I need your help, what should I do with this strange problem ??
- Updated on May 26 -
Everything was okay one month ago and I was able to format my device normally but know I can't
I tried almost everything:-
1. I formatted my device then installed the ROM & Boot.img (and I was sure that it will not help)
2. I formatted my device from ARHD Aroma installation
3. I restore my ARHD backup then formatted my device again from CWM Recovery
Tips: formatting from recovery don't touch system partition, I'm sure
What do you mean by format? You mean from custom recovery? Factory reset from bootloader?
Maybe because you delete everything ? And without sytem it won't boot.
Sent from my HTC One S using xda app-developers app
vin4yak said:
What do you mean by format? You mean from custom recovery? Factory reset from bootloader?
Click to expand...
Click to collapse
From both, I tried every thing !!
sGollSv said:
Maybe because you delete everything ? And without sytem it won't boot.
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
but formatting only format cache & data partitions !!
omar_bazaraa said:
From both, I tried every thing !!
Click to expand...
Click to collapse
If you Factory reset a custom rom, it will bootloop! Because there's nothing to boot beyond the logo!
1. Flash the boot.img from the nandroid backup. Then fastboot erase cache
2. Now go to recovery wipe data/cache/dalvic and then restore the nandroid backup.
3. Reboot. Let the OS load completely.
4. Go to bootloader and then do factory reset.
If your still bootlooping, then download a nandroid backup from http://forum.xda-developers.com/showthread.php?t=1975140 and then restore it! It will work flawlessly!
If you post your main-version, then we can also find a RUU for you?!
---------- Post added at 08:59 PM ---------- Previous post was at 08:58 PM ----------
omar_bazaraa said:
but formatting only format cache & data partitions !!
Click to expand...
Click to collapse
Aah! Wiping data means all the files are gone! The OS won't boot up! :cyclops:
vin4yak said:
Aah! Wiping data means all the files are gone! The OS won't boot up! :cyclops:
Click to expand...
Click to collapse
But I tried this lots of times before and it format only user data, and system partition remain as it is.
I forgot to say that also when I flashed ARHD and checked "wipe data partition" in Aroma, the phone also stuck.
omar_bazaraa said:
But I tried this lots of times before and it format only user data, and system partition remain as it is.
I forgot to say that also when I flashed ARHD and checked "wipe data partition" in Aroma, the phone also stuck.
Click to expand...
Click to collapse
which boot.img are u flashing?
sridheepan said:
which boot.img are u flashing?
Click to expand...
Click to collapse
I'm aware of all these things >> I'm flashing the stock boot.img in ARHD.zip <<
Why do you want to wipe data every now and then?
Install a clean rom and use it...
vin4yak said:
Why do you want to wipe data every now and then?
Install a clean rom and use it...
Click to expand...
Click to collapse
My rom become heavy so I want to clean it
omar_bazaraa said:
My rom become heavy so I want to clean it
Click to expand...
Click to collapse
Which ROM are you currently on? ARHD?
and what do you mean by "I want to clean it"? Use rom cleaner to remove the system apps and to de-sense it!
omar_bazaraa said:
I'm aware of all these things >> I'm flashing the stock boot.img in ARHD.zip <<
Click to expand...
Click to collapse
Ok. start from zero.
Download again ARHD.
format sd card
Put ROM in Sd
Put this one in sd: http://d-h.st/kG0 (t.y for vin4yak for link)
Put boot.img in fastboot folder.
via cmd (i recomend to copy cmd into fastboot folder ((it automaticaly gives acces to that folder))) adb reboot-bootloader
type fastboot flash boot boot.img (fastboot must be in usb)
wait
reboot in recovery. install super wipe (link given)
clear catche, dalvik
install rom
clear catche, dalvik
And IF! it still got boot loop, go to bootloader and repeat fastboot flash boot boot.img command via cmd. It should work.
And after all, if it doesn't, do a full nandroid restore.
Good luck.
Formatting does only wipe cache and dalvic, you should still be able to boot. It does not get rid of Rom. I do it all the time when flashing a custom kernel. So maybe you should try as suggested above.
from my Viped out one x
Command: fastboot erase cache after flashing boot.IMG will fix it I guess. Looks like none of you do that but I always do that and never, I say never had a bootloop. And I switch ROMs weekly with wipes and all.
Hope it helps.
Sent from my HTC One X using xda app-developers app
J_Dutch said:
Command: fastboot erase cache after flashing boot.IMG will fix it I guess. Looks like none of you do that but I always do that and never, I say never had a bootloop. And I switch ROMs weekly with wipes and all.
Hope it helps.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
His question had nothing to do with flashing a boot.IMG, I've never not fast boot erase cache either. He was asking why when he hits the format button in recovery, his phone won't boot. Format in recovery simply wipes cache and dalvic so it should still boot, just like when you format after flashing the modules from a kernel.
DroidIt! said:
His question had nothing to do with flashing a boot.IMG, I've never not fast boot erase cache either. He was asking why when he hits the format button in recovery, his phone won't boot. Format in recovery simply wipes cache and dalvic so it should still boot, just like when you format after flashing the modules from a kernel.
Click to expand...
Click to collapse
O sorry for the misunderstanding.
So basicly OP asks "i took the fuel out of my car, why won`t it drive?"
Depends on wich recovery then cause in twrp a factory reset wipes not only cache and dalvik for sure!
From twrp site: A factory reset wipes data and cache (which includes dalvik cache). A factory reset will also wipe sd-ext and android_secure if your device has those items
Sent from my ASUS Transformer Pad TF700T using xda app-developers app
vin4yak said:
Which ROM are you currently on? ARHD?
and what do you mean by "I want to clean it"? Use rom cleaner to remove the system apps and to de-sense it!
Click to expand...
Click to collapse
Yes, I'm on ARHD. I mean by cleaning the rom is to format it to return fast as it was.
omar_bazaraa said:
Yes, I'm on ARHD. I mean by cleaning the rom is to format it to return fast as it was.
Click to expand...
Click to collapse
Did you flash a custom kernel with modules?
Sent from my ASUS Transformer Pad TF700T using xda app-developers app
Thanks all for your help but unfortunately all in vain
Before a month I was able to format without any problem, but now I can't.
I tried almost everything:
1. I formatted my device then installed the ROM & Boot.img (and I was knowing that it will not help)
2. I formatted my device from ARHD Aroma installation
3. I restore my ARHD backup then formatted my device again from CWM Recovery
All these attempts but in vain, please I need your help essentially, I need to format my device as I was doing before.

Boot loop issue :( please help

Ok, so i was using the cyanogenmod nightlys just fine until i decided to want to try other roms (Pac-man, exodus, etc.) when i loaded the first i used clockwork recovery and it seemed to go smoothly and installed the Gapps, and BAM boot loop, i can still access the recovery menu and the Odin mode menus with the boot sequence, ive successfully side-loaded other roms and Gapps and nothing seems to work, everything just gives me the boot loop, Any help is much appreciated.
Edit: forgot to mention, sometimes it loads the rom but only for a few seconds and reboots again
Assume you did clean flash? Wiping data, cache, dalvik cache.
Also twrp recovery works a little better flashing lollipop roms.
madbat99 said:
Assume you did clean flash? Wiping data, cache, dalvik cache.
Also twrp recovery works a little better flashing lollipop roms.
Click to expand...
Click to collapse
yes, i did a clean flash, do you think it could be as simple as using twrp?
Could even be the gapps you're using. If you're using a very recent build of a rom, make sure you're using new gapps. Try open gapps.
It's also sometimes necessary to wipe internal storage.
madbat99 said:
Could even be the gapps you're using. If you're using a very recent build of a rom, make sure you're using new gapps. Try open gapps.
It's also sometimes necessary to wipe internal storage.
Click to expand...
Click to collapse
ive tried different versions of gapps but ill give open another shot, whats the best way to wipe the internal storage?
Shadow00f said:
ive tried different versions of gapps but ill give open another shot, whats the best way to wipe the internal storage?
Click to expand...
Click to collapse
In twrp. Wipe/advanced wipe/ internal storage. Make sure you have anything you need from internal backed up.

TWRP installed; Do I need anything else to flash CM13?

Title basically says it all.
I have been able to install TWRP on a S4 Mini. Do I need anything else to flash CM13?
riahc3 said:
Title basically says it all.
I have been able to install TWRP on a S4 Mini. Do I need anything else to flash CM13?
Click to expand...
Click to collapse
No, but most people would flash gapps 6 too, else you will miss a lot (must be done at the same time as the ROM the first time to set permissions)
IronRoo said:
No, but most people would flash gapps 6 too, else you will miss a lot (must be done at the same time as the ROM the first time to set permissions)
Click to expand...
Click to collapse
What I ment is before flashing it....Afterwards/during of couse Ill flash gapps
riahc3 said:
Title basically says it all.
I have been able to install TWRP on a S4 Mini. Do I need anything else to flash CM13?
Click to expand...
Click to collapse
Copy CM13 rom and gapp in your sd card.
Backup your old firmware through twrp.
Do a factory Reset from Wipe.
And install CM13 and gapp respectively.
And enjoy ^_^
syednawaz said:
Copy CM13 rom and gapp in your sd card.
Backup your old firmware through twrp.
Do a factory Reset from Wipe.
And install CM13 and gapp respectively.
And enjoy ^_^
Click to expand...
Click to collapse
checked every file hash matches, did exactly as written, done all of above and it doesn't work
TWRP went on in less than 10 second does that sound normal ? and how do you know if its actually on there?
Nope. Installation take atleast 2 or 3 minutes.
and if its installed properly you would have seen different rom from the stock.
Here is what i use for s4 mini(i9192). Also used it on i9190 model as well.
http://forum.xda-developers.com/galaxy-s4-mini/development/rom-aokp-rom-25-apr-2016-t3366314
and these steps mentioned in the website.
A. Initial install
1. Copy ROM and Gapps to your external SD Card or internal memory
2. Boot into recovery
3. Wipe
4. Install ROM and Gapps
5. Reboot
Its simple. Should have worked.
I hope you have installed your model rom.
A question the system format is required to install the rom ??
juanpabloml said:
A question the system format is required to install the rom ??
Click to expand...
Click to collapse
In TWRP Swipe for factory reset will do the job. you can also do dalvik /art cache in advance wipe. System or other wipe never did it for changing roms.
syednawaz said:
In TWRP Swipe for factory reset will do the job. you can also do dalvik /art cache in advance wipe. System or other wipe never did it for changing roms.
Click to expand...
Click to collapse
Ie that enough only to make WIPE FACTORY RESET AND WIPE DALVIK CACHE is not necessary to the FORMAT SYSTEM, DATA AND CACHE ??
sorry i do not understand.
to install a rom just do a factory reset. nothing else is necessary.
If you do not do factory reset, sometimes you will not be able to install a new version of rom(for example, from kitkat to lollipop).
if you do not do factory reset its called dirty flash.
for example
you are using custom rom cm13. and it has a new update released, you go in twrp recovery and install the updated rom without doing factory reset. this way you can keep all the application and data you have.
i hope i am making some sense. it is hard for me to explain.
well do some flashing and you will understand but always make a backup.

I accidentally wiped vendor in twrp while flashing RR rom is that a problem?

Hi!! I flashed twrp as soon as I got the device and as a redmi note 3 user I don't know anything about vendor so I wiped it and even flashed 3 OTA updates of RR will I face any problems in future?if yes are there any solution?
Ps- now the device is running fine no probs at all
**Thanks for tuning in this question is answered**
Yep. Now you can't mount data, vendor and probably can't flash any other roms.
Happens to my other devices.
beeduq said:
Yep. Now you can't mount data, vendor and probably can't flash any other roms.
Happens to my other devices.
Click to expand...
Click to collapse
False. Please don't spread misinformation.
RR overwrites the vendor partition anyway, so @sreek995 will have no problems. If you eventually want to flash GSIs just flash this first.
Oh, then I might used bad recoveries. Happens to my two of smartphones and a tablet.
Every time, I wiped the vendor, I can't re-mount it after rebooting the recovery, even after wipe it and installing a rom seems works fine, but rebooting to recovery, "can't mount vendor" error pops up. Now I always stay away from clicking vendor when wiping the device.
JoseRebelo said:
False. Please don't spread misinformation.
RR overwrites the vendor partition anyway, so @sreek995 will have no problems. If you eventually want to flash GSIs just flash this first.
Click to expand...
Click to collapse
thank you sir!!
beeduq said:
Oh, then I might used bad recoveries. Happens to my two of smartphones and a tablet.
Every time, I wiped the vendor, I can't re-mount it after rebooting the recovery, even after wipe it and installing a rom seems works fine, but rebooting to recovery, "can't mount vendor" error pops up. Now I always stay away from clicking vendor when wiping the device.
Click to expand...
Click to collapse
This is actually my first phone with a vendor partition, but that is weird. Bad TWRPs are probably doing something terribly wrong, that shouldn't happen. But you should still be able to flash the vendor partition.
Sorry if my message came out a bit too harsh.
JoseRebelo said:
This is actually my first phone with a vendor partition, but that is weird. Bad TWRPs are probably doing something terribly wrong, that shouldn't happen. But you should still be able to flash the vendor partition.
Sorry if my message came out a bit too harsh.
Click to expand...
Click to collapse
Me and vendors were not in good terms, I guess. ?
beeduq said:
Oh, then I might used bad recoveries. Happens to my two of smartphones and a tablet.
Every time, I wiped the vendor, I can't re-mount it after rebooting the recovery, even after wipe it and installing a rom seems works fine, but rebooting to recovery, "can't mount vendor" error pops up. Now I always stay away from clicking vendor when wiping the device.
Click to expand...
Click to collapse
I think after formating data ,you might mount it again.
Dush4711 said:
I think after formating data ,you might mount it again.
Click to expand...
Click to collapse
Nope, it's gone and never mounted again. Even format, repair or change the storage type cannot re-mount the vendor.
The only way, I can get it to work is by flashing original recovery using computer and let it format it. After that, using computer flash twrp.
But I never unlocked bootloader in this device (note5), so I don't know about it's recovery. Xiaomi's can be very tricky or very easy. My wifes phone (Mi 5X) came with unoriginal rom, and I brick it when trying to install twrp, but by open the device and doing something inside of it, I manage to restore it to original and flash twrp.
beeduq said:
Oh, then I might used bad recoveries. Happens to my two of smartphones and a tablet.
Every time, I wiped the vendor, I can't re-mount it after rebooting the recovery, even after wipe it and installing a rom seems works fine, but rebooting to recovery, "can't mount vendor" error pops up. Now I always stay away from clicking vendor when wiping the device.
Click to expand...
Click to collapse
it happened on my samsung j6 plus (SM_J610F) and i can not even flash it with original rom (in download mode it said sw rev check failed fused 4 binary 1) and t can not do any thing. twrp said /vendor has no data in it (0MB) and vendor img has (477MB). do you have any idea i can resurect my phone from dead.
tumo07 said:
it happened on my samsung j6 plus (SM_J610F) and i can not even flash it with original rom (in download mode it said sw rev check failed fused 4 binary 1) and t can not do any thing. twrp said /vendor has no data in it (0MB) and vendor img has (477MB). do you have any idea i can resurect my phone from dead.
Click to expand...
Click to collapse
Use PIT file for your model (don't use other or you'll brick the phone) in Odin.
Good luck.
Sent from my SM-A300FU using XDA Labs
;-;
you dont wipe vendor partition and reboot. If you wipe vendor, wipe system partition too reinstall the rom and everything runs fine. If you wipe vendor and dont flash rom, sure you'll get into trouble(Not that trouble actually,just cant boot into your rom).
Prathamesh 27 said:
you dont wipe vendor partition and reboot. If you wipe vendor, wipe system partition too reinstall the rom and everything runs fine. If you wipe vendor and dont flash rom, sure you'll get into trouble(Not that trouble actually,just cant boot into your rom).
Click to expand...
Click to collapse
yep, vendor is essential to runs the system

Categories

Resources