No Data after installing custom rom. Installed vendor image. - Nexus 6P Q&A, Help & Troubleshooting

Hello! I installed Pure Nexus and that went great. That is until I left the house and had no data. Did some searching and all the recommendations say install the latest vendor image. So I did and flashed the mmb29q vendor image and I still don't have data. I'm not sure whats wrong and if someone could atleast point me in the right direction I'd appreciate it.

Has nothing much to do with data. It highly likely that your device storage is encrypted.

On a clean install like: wipe data, system, cache, delvik cache, flash rom, flash gapps, flash sprint data fix zip, reboot. Do a Google search its in Nexus 5 forums. It is the fix and it works but must be used on a clean install at end of flash. @mechlior
Sent from my Nexus 6P using Tapatalk

Related

[Q] Correct wipe/flash procedure

Disclaimer: I'm used to my old Evo 4G and use a triple wipe script built into my recovery (smelkus) whenever I flash a rom. It pretty much wipes everything.
For the Nexus 7, what needs to be wiped to flash a rom? I did a factory reset, wiped data, wiped cache, wiped system, wiped dalvik-cache, and then flashed a new rom, but I wasn't sure if all that was necessary. I'm using the latest TWRP recovery.
If I'm moving from one rom based on a jelly bean version to another based on the same version, am I ok?
Can I assume upgrading to a new version of the same rom that I don't have to wipe? (I know this one is rom specific, but in general.)
Can I leave data and will that retain my apps? Otherwise, I use Titanium Backup religiously on my Evo and now on my Nexus 7.
I searched within some of the rom instructions as well as the rooting guides, but didn't see anything specific as to what to wipe. Some threads seem to say just factory reset and maybe dalvik-cache.
Instructions with what to wipe usually come in the original post of each ROM. Usually the same ROM with different version only requires a cache wipe while moving between different ROM's requires a full wipe/reset + dalvik.
Worse comes to worse you try something and it doesn't boot and you get back into recovery and fix it.

[Q] will my data be deleted if update my rom

hey im using paranoid android 3.56 and i want to update it to 3.60 will i loose my data if i do so and also im using nexus 4
yes u will loose
but u can take backup also
rasroh said:
yes u will loose
but u can take backup also
Click to expand...
Click to collapse
how to i backup my entire phone data to my pc
sum93 said:
hey im using paranoid android 3.56 and i want to update it to 3.60 will i loose my data if i do so and also im using nexus 4
Click to expand...
Click to collapse
No. You will not lose your data if you dirty flash the new rom. That means, if you just clear cache andd dalvik cache before flashing the new rom, your data wont be deleted. As you are upgrading from one version of the same rom to another, this will function as well as a clean flash.
A clean flash implies you will have to clear data too in the recovery along with cache and dalvik cache. As I said before, this isnt needed when upgrading from one version of a rom to another of the same. However, if you are shifting from one rom to a different one, clean flash is recommended.
So in conclusion, these are the steps you will have to follow to upgrade to the new rom -
1. Download the new upgraded version of the rom and gapps(if not included in the rom). Also take backups (titanium or/and nandroid as required)
2. Boot into recovery.
3. Clean cache.
4. Clean dalvik cache.
5. Flash new rom.
6. Flash gapps.(if not included in the rom)
7. Clean cache and dalvik again.
8. Reboot to system.
Thus, no data wipe required. Your data and applications will be safe.
Sent from my GT-N7100 or the Nexus 10, heaven knows.
Those who help noobs go to heaven. True story.
---------- Post added at 05:27 PM ---------- Previous post was at 05:24 PM ----------
rasroh said:
yes u will loose
but u can take backup also
Click to expand...
Click to collapse
Please do research some on the topic before giving any advice
Most roms do not ask for a clean flash when upgrading the rom, so he won't lose his data. Unless oyherwise recommended by the developer, he doesnt have to clear his data when going from one version of a rom to a new one.
Sent from my GT-N7100 or the Nexus 10, heaven knows.
Those who help noobs go to heaven. True story.
use a backup app like titanium, helium etc
sum93 said:
hey im using paranoid android 3.56 and i want to update it to 3.60 will i loose my data if i do so and also im using nexus 4
Click to expand...
Click to collapse
If you're just updating a rom you wont lose any data. All you have to do is flash the new rom on top of the old one and that's it. No need to wipe anything.
If you are upgrading from one version of a rom to a higher version of the same rom, you can usually dirty flash (flash on top without wiping) without losing any data.
Also even if you did "wipe date", it won't touch your /data/media which is basically where your /sdcard stuff lives (it will just wipe your apps, settings, etc data, so a backup via recovery is usually advised anyways).
On a related note: what does it take to wipe all of your data off your phone? Basically, to get the Nexus 4 back to brand-new, out-of-the-box fresh? Is there an easy way to do it or do you have to manually wipe different locations and if the latter, what locations must you wipe?
Johmama said:
On a related note: what does it take to wipe all of your data off your phone? Basically, to get the Nexus 4 back to brand-new, out-of-the-box fresh? Is there an easy way to do it or do you have to manually wipe different locations and if the latter, what locations must you wipe?
Click to expand...
Click to collapse
If you are on a stock rom, a simple "format data" from recovery would do the trick as it would wipe /data and /data/media. As the stock rom on /system never changes unless you rooted and added stuff to it. (fastboot can do this too from the bootloader with fastboot erase userdata).
Alternatively, you can just unpack the factory firmware and flash the *.img to their respective partitions (boot[kernel], system, userdata, etc) from this list https://developers.google.com/android/nexus/images#occamjdq39 (PS: I wouldn't bother touching the bootloader as most people never changed it other than to maybe unlock it).
Nutshell version: All your user-specific stuff lies under /data (settings, downloaded apps, media, etc)

[Q] Solved.

..
starbeard89 said:
Hello,
I have looked quite a bit, but I can't find anything to help (perhaps I'm using the wrong search terms or something). The problem I keep running into is that, even with wiping cache, dalvik cache, and data/factory reset, gapps keeps on coming back. I've flashed the latest CM11 nightly, the latest Purity, and the latest BS Harmony, all without flashing gapps, but when it boots up, sure enough, gapps are there. Why are gapps still there, and what can I do to get rid of them?
Thank you in advance!
Click to expand...
Click to collapse
Yes because it has backup system yo backup gapps, if you want to get rid of gapps, go to mounts and storage on cwm and do format system, and then flash cm11 or other rom
Sent from my Nexus 4 using Tapatalk
starbeard89 said:
Hello,
I have looked quite a bit, but I can't find anything to help (perhaps I'm using the wrong search terms or something). The problem I keep running into is that, even with wiping cache, dalvik cache, and data/factory reset, gapps keeps on coming back. I've flashed the latest CM11 nightly, the latest Purity, and the latest BS Harmony, all without flashing gapps, but when it boots up, sure enough, gapps are there. Why are gapps still there, and what can I do to get rid of them?
Thank you in advance!
Click to expand...
Click to collapse
If I'm not mistaken, some devs do add some gapps into their roms. Not all of them mind you. Also when you do a factory reset via the recovery, it doesn't wipe the system partition. Most roms will wipe it when it (rom) is flashed, so gapps from previous roms wouldn't or shouldn't be there.
Sent from my Nexus 7 (2013)
xtrymind said:
Yes because it has backup system yo backup gapps, if you want to get rid of gapps, go to mounts and storage on cwm and do format system, and then flash cm11 or other rom
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Thank you. I'm feeling sheepish.
You're welcome.
Sent from my Nexus 7 (2013)

Full wipe / clean install problems

Hey guys. I have TWRP 2.8.7.2 installed. I've been using Pure Nexus + Elemental X exclusively since December. This never seemed to be a problem before, but my last few flashes have resulted in sticky data. I go into TWRP, advanced wipe and wipe: DALVIK, System, data, Cache. Then, I delete Android from the internal storage and any other app directories that linger. Then I install the ROM, GApps, and kernel. Then, when I first boot my email shows up in the Google account setup. I thought "maybe it's saved on the sim card." But then I notice that when I reinstall apps, that they retain their data and my user data (for example, I don't even need to log into Runkeeper).
So somehow, despite performing a full wipe and clean install my user data is being saved. I know it's not part of internal storage so wiping that would only result in me having to copy my ROM files, music, photos, etc back over. So, where is this user data being saved and why isn't it being wiped?
Any help would be appreciated.
jserio said:
Hey guys. I have TWRP 2.8.7.2 installed. I've been using Pure Nexus + Elemental X exclusively since December. This never seemed to be a problem before, but my last few flashes have resulted in sticky data. I go into TWRP, advanced wipe and wipe: DALVIK, System, data, Cache. Then, I delete Android from the internal storage and any other app directories that linger. Then I install the ROM, GApps, and kernel. Then, when I first boot my email shows up in the Google account setup. I thought "maybe it's saved on the sim card." But then I notice that when I reinstall apps, that they retain their data and my user data (for example, I don't even need to log into Runkeeper).
So somehow, despite performing a full wipe and clean install my user data is being saved. I know it's not part of internal storage so wiping that would only result in me having to copy my ROM files, music, photos, etc back over. So, where is this user data being saved and why isn't it being wiped?
Any help would be appreciated.
Click to expand...
Click to collapse
I'm not sure why this is happening, it's definitely word. But is there a reason you're wiping like this when updating the ROM? You really don't need to, you can just dirty flash the ROM zip when updating.
Heisenberg said:
I'm not sure why this is happening, it's definitely word. But is there a reason you're wiping like this when updating the ROM? You really don't need to, you can just dirty flash the ROM zip when updating.
Click to expand...
Click to collapse
I don't like to dirty wipe. I guess it's the OCD in me that likes to start clean every time. I wonder if it's a bug in TWRP or something.
jserio said:
I don't like to dirty wipe. I guess it's the OCD in me that likes to start clean every time. I wonder if it's a bug in TWRP or something.
Click to expand...
Click to collapse
I used to do the same thing, until I realised I was just wasting time for no benefit. I don't think it's a TWRP issue, I was using that same build for ages with no problems. You could try updating to the latest TWRP though.
Try with "rm - fr" instead of regular wipe in options, maybe this works.
Are you doing a Factory Reset in TWRP to actually wipe the rom away? You list system, cache, and data (internal storage) but not Factory Reset.
Alternatively, are your apps reinstalling after signing into your account at Setup Wizard?
Sent from my Nexus 5X using Tapatalk
Try wiping system 2x. I had to do this on my S6. After wiping the first time and going back to the advance menu, System would then show up as 2 different partitions, System Read and System Write. I had to wipe the 2 in order to do a clean install. Although this is not the case for the 6P, I have made it a habit to do so. If that fails, you will need to adb the factory image.
Sent from my Nexus 6P using Tapatalk
SlimSnoopOS said:
Are you doing a Factory Reset in TWRP to actually wipe the rom away? You list system, cache, and data (internal storage) but not Factory Reset.
Alternatively, are your apps reinstalling after signing into your account at Setup Wizard?
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
He's already performing a factory reset by wiping the partitions individually.
Heisenberg said:
He's already performing a factory reset by wiping the partitions individually.
Click to expand...
Click to collapse
That's what you would think, but why is this happening?
FWIW, I always TWRP factory reset, then wipe all the partitions he mentioned again by itself and have never seen this behavior on any version of TWRP.
farfromovin said:
That's what you would think, but why is this happening?
FWIW, I always TWRP factory reset, then wipe all the partitions he mentioned again by itself and have never seen this behavior on any version of TWRP.
Click to expand...
Click to collapse
I have no explanation for what's happening, I really don't know. I only ever use the advanced wipe menu, it's pointless performing the factory reset too.

Not able to boot any ROM

Hi,
Coming from PureNexus, I wanted to give CM13 a try. Made a nandroid backup so none of my data is lost, and put that backup on pc. I installed CM13 which went fine. It stopped at the CM booting animation and did not go further, so I cleanflashed Purenexus to restore my backup later on. Now PureNexus won't boot either. I'm out of ideas to try, and I want to get my phone back up and running ASAP.
Can anyone help me with this issue?
Riyge said:
Can anyone help me with this issue?
Click to expand...
Click to collapse
When you clean flashed, did you also wipe system? If you did and you're still hung at boot, your best bet would be to flash the factory images via fastboot and start fresh.
Riyge said:
Hi,
Coming from PureNexus, I wanted to give CM13 a try. Made a nandroid backup so none of my data is lost, and put that backup on pc. I installed CM13 which went fine. It stopped at the CM booting animation and did not go further, so I cleanflashed Purenexus to restore my backup later on. Now PureNexus won't boot either. I'm out of ideas to try, and I want to get my phone back up and running ASAP.
Can anyone help me with this issue?
Click to expand...
Click to collapse
Are you wiping properly (system, data, cache, dalvik cache) before installing a ROM? Are you making sure you flash the appropriate vendor image after flashing the ROM? When you made your backup which options did you check? And which options are you restoring?
Heisenberg said:
Are you wiping properly (system, data, cache, dalvik cache) before installing a ROM? Are you making sure you flash the appropriate vendor image after flashing the ROM? When you made your backup which options did you check? And which options are you restoring?
Click to expand...
Click to collapse
When I try to wipe, it's only wiping cache for some reason. My backup consists of everything except cache.
Riyge said:
When I try to wipe, it's only wiping cache for some reason. My backup consists of everything except cache.
Click to expand...
Click to collapse
What do you mean it's only wiping cache? Explain to me how you're doing the wipe. Also, when creating a backup (and restoring it) you should only be selecting system, data, boot, and vendor.
PS. You didn't answer my question about whether you're flashing the vendor after flashing the ROM. If you want help you need to answer the questions that are asked.
Heisenberg said:
What do you mean it's only wiping cache? Explain to me how you're doing the wipe. Also, when creating a backup (and restoring it) you should only be selecting system, data, boot, and vendor.
Click to expand...
Click to collapse
I'll keep that in mind. When I boot up TRWP, I wiped system, dalvik, data, internal storage and cache. After that I pushed CM13 through adb. That's where the problems started.
EDIT: I flashed the most recent vendor after I flashed the ROM.
Riyge said:
I'll keep that in mind. When I boot up TRWP, I wiped system, dalvik, data, internal storage and cache. After that I pushed CM13 through adb. That's where the problems started.
EDIT: I flashed the most recent vendor after I flashed the ROM.
Click to expand...
Click to collapse
Ok, you definitely don't need to wipe internal storage before flashing so don't worry about that part. Only system, data, cache, and dalvik cache. You said before only cache was being wiped, can you please elaborate on that?
Are you sure the ROM zip didn't become corrupt during the download? Did you check the MD5 to ensure that it didn't? That could be what's causing your problems. Also, what gapps are you flashing?
If you want to go back to Pure Nexus just to get your phone working you can just restore that backup, just make sure you only restore system, data, boot, and vendor.
Heisenberg said:
Ok, you definitely don't need to wipe internal storage before flashing so don't worry about that part. Only system, data, cache, and dalvik cache. You said before only cache was being wiped, can you please elaborate on that?
Are you sure the ROM zip didn't become corrupt during the download? Did you check the MD5 to ensure that it didn't? That could be what's causing your problems. Also, what gapps are you flashing?
If you want to go back to Pure Nexus just to get your phone working you can just restore that backup, just make sure you only restore system, data, boot, and vendor.
Click to expand...
Click to collapse
It won't wipe anything other than cache, no matter what I'm trying to do. Now when I'm trying to push a ROM through adb, I can install it but it won't boot.
Riyge said:
It won't wipe anything other than cache, no matter what I'm trying to do. Now when I'm trying to push a ROM through adb, I can install it but it won't boot.
Click to expand...
Click to collapse
I'm trying to help you here but if you keep failing to answer my questions it's impossible for me to do so. At this point I can only think that it's user error, I'd flash the factory images to return to stock and start fresh. I have detailed instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Heisenberg said:
I'm trying to help you here but if you keep failing to answer my questions it's impossible for me to do so. At this point I can only think that it's user error, I'd flash the factory images to return to stock and start fresh. I have detailed instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Click to expand...
Click to collapse
I found your guide by googling, thanks for making that! Flashing the factory image worked, and I succesfully restored my backup. The only problem left is that it won't accept my pattern lock. I have used the same one for years across multiple android devices, so I'm absolutely sure I have the right pattern. Any way to bypass this?
Riyge said:
I found your guide by googling, thanks for making that! Flashing the factory image worked, and I succesfully restored my backup. The only problem left is that it won't accept my pattern lock. I have used the same one for years across multiple android devices, so I'm absolutely sure I have the right pattern. Any way to bypass this?
Click to expand...
Click to collapse
You need to remove all security before making a backup because the security information is encrypted and doesn't get backed up or restored properly. You can delete some files using TWRP (see section 3 of my guide) in order to remove the security so you can get into Android. This will cause problems with Smart Lock though.
Heisenberg said:
You need to remove all security before making a backup because the security information is encrypted and doesn't get backed up or restored properly. You can delete some files using TWRP (see section 3 of my guide) in order to remove the security so you can get into Android. This will cause problems with Smart Lock though.
Click to expand...
Click to collapse
Tried that, fixed my phone. Thanks so much! Is it possible to restore these functions or should I clean flash to get it?
Riyge said:
Tried that, fixed my phone. Thanks so much! Is it possible to restore these functions or should I clean flash to get it?
Click to expand...
Click to collapse
I'd be clean flashing.

Categories

Resources