[Q] Question about nandroid backups location - Nexus 10 Q&A, Help & Troubleshooting

Hi, I've got a Nexus 10 and I already have rooted and installed TWRP recovery. I'm used to get devices with microsd slot. As this is not the case, I have a noob question.
I'm having problems installing certain apps and I want to try wiping the device and see if after wiping, the installation suceeds. Just in case, I have already taken a nandroid backup, but, as the backup is located in the internal SD, I'm afraid that if I wipe the device, it will also wipe the backup. Will wiping the device erase the TWRP backup too?. The backup is located at /sdcard/TWRP/BACKUPS/...... and so on. I think that wiping the device shouldn't wipe the /sdcard partition, but I'm not sure about this.
Can you please confirm that wiping the device will erase only /data and not /sdcard?
Thanks a lot.

joanquro said:
Hi, I've got a Nexus 10 and I already have rooted and installed TWRP recovery. I'm used to get devices with microsd slot. As this is not the case, I have a noob question.
I'm having problems installing certain apps and I want to try wiping the device and see if after wiping, the installation suceeds. Just in case, I have already taken a nandroid backup, but, as the backup is located in the internal SD, I'm afraid that if I wipe the device, it will also wipe the backup. Will wiping the device erase the TWRP backup too?. The backup is located at /sdcard/TWRP/BACKUPS/...... and so on. I think that wiping the device shouldn't wipe the /sdcard partition, but I'm not sure about this.
Can you please confirm that wiping the device will erase only /data and not /sdcard?
Thanks a lot.
Click to expand...
Click to collapse
I can't confirm anything; but I'd highly suggest just backing up the nandroid to a computer just in-case. I'm pretty sure though that the nandroid would remain as long as you didn't actually format data.

espionage724 said:
I can't confirm anything; but I'd highly suggest just backing up the nandroid to a computer just in-case. I'm pretty sure though that the nandroid would remain as long as you didn't actually format data.
Click to expand...
Click to collapse
That's what I've done so far. I have copied the nandroid backup to my PC. I suppose that it's possible, in case the backup is deleted, that I can mount the partition from recovery and then using adb, push the backup in order to restore it. Is this the way to go?.
By the way, what you mean is that the backup will remain as long as I don't format /sdcard, right? Because /data will get formated if I wipe the device, I think.
Thanks.

joanquro said:
By the way, what you mean is that the backup will remain as long as I don't format /sdcard, right? Because /data will get formated if I wipe the device, I think.
Thanks.
Click to expand...
Click to collapse
Not entirely sure; I know in TWRP there's some advanced wipe thing with selections (cache, dalvik, system, something else, usb) and then there's a "Format Data" button.

wiping cache, dalvik, system, and factory reset it will not wipe your "media" partition, also known as your sdcard or internal storage. Doing the "format data" will wipe the whole device including your sdcard.

EniGmA1987 said:
wiping cache, dalvik, system, and factory reset it will not wipe your "media" partition, also known as your sdcard or internal storage. Doing the "format data" will wipe the whole device including your sdcard.
Click to expand...
Click to collapse
I finally wiped the device, tested the application I wanted to install and recovered without problems from the TWRP backup that hadn't been deleted. Now that I know that wiping the device solves the problem, I have to backup apps and data for every user, wipe again and recover only apps and data.
Thanks a lot.

Related

[Q] Stupid question

Hi,
I have an Iconia Tab A500 with CWM installed and sometime i switch on different ROM to test them.
Usually befoere making a full NANDROID restore i do only a "Wipe data" / "Wipe cache" / "Wipe dalvik" but sometime you can see on some post that you need in addition to format "/system /flexrom /data /cache, etc.."
So my stupid question, is it necessary to format each time i do a full restore or only to wipe.
In fact, what is the difference between "Wipe" and "Format" ?
Thx a lot for answer.
A developer could certainly give you a more accurate answer to your question than me but, as far as I know, wiping means erasing the data that you have added by yourself to the ROM (for example, your pseudos and passwords, apps, and so...), while formatting means erasing all the data that the developers have written originally.
Personally, when I restore a ROM, I never do a wiping nor a formatting, since the backup contains all the data of the ROM, afaik.
aranna said:
Hi,
I have an Iconia Tab A500 with CWM installed and sometime i switch on different ROM to test them.
Usually befoere making a full NANDROID restore i do only a "Wipe data" / "Wipe cache" / "Wipe dalvik" but sometime you can see on some post that you need in addition to format "/system /flexrom /data /cache, etc.."
So my stupid question, is it necessary to format each time i do a full restore or only to wipe.
In fact, what is the difference between "Wipe" and "Format" ?
Thx a lot for answer.
Click to expand...
Click to collapse
If you install RA Recovery, you only need to select in wipes "user data/factory reset", then do a dalvik wipe. This formats your partitions so no need to do 6 different things. System gets formatted when the rom installs.
so, wiping or formatting as no effect when you restore a backup because all is erased.. strange.. so why on most tutorial we ask to do a wipe ?
Strange...
Can you give me an example of tutorial where it is said that you have to do a wipe before a restore with CMW ?
aranna said:
so, wiping or formatting as no effect when you restore a backup because all is erased.. strange.. so why on most tutorial we ask to do a wipe ?
Click to expand...
Click to collapse
To me this is a better safe than sorry situation. It's probably unnecessary and redundant but i'd rather wipe and format everything before i flash just to be sure im getting a clean base, rather than flash, have bugs, and have to go back into recovery and wipe anyway and reflash
Sent from my SGH-T959 using Tapatalk
you know I always understood that restoring did not require a wipe, but since I've started this tablet, I've noticed I get failed restore more often. I've started wiping before restore but sometimes it still fails.
Sent from my A500 using Tapatalk

[Q] flashing ROM, lost SD card contents

This has been bugging me and I can't seem to find anything on here to explain it.
I have installed custom ROMs on my N7. Problem is most ROM instructions say to do a full wipe/factory reset. When I do that, the downloaded ROM that was sitting on the SDCard gets wiped out as well.
I then have to go back and search for info on how to reset/restore the N7 and start all over, because the recovery (both CWM and TeamWin) don't let me mount the SD card to copy the needed zip over.
How can I do the recommended data wipe without losing the sd card contents?
Failing that, what's easiest way to get the ROM zip back on the N7 when the recovery won't allow it?
Thanks
dont wipe data...
just do a 'factory reset' in custom recovery...then flash a rom
I use TWRP & don't wipe everything, just System & Factory (to delete installed apps).
This is after wiping Cache & Dalvik Cache.
Unless I'm missing something a data wipe will wipe everything except recovery.
I don't think we have the option to exempt the media folder like on other devices.
(you type faster than me PG)
I appreciate the suggestions, and I've done the factory wipe. It wiped out the /SDcard folder contents where the zips were.
How do I get zips back on the N7? tried ADB, tried sideload from TWRP, nothing works.
Having many more problems than the last time I did this.
jneg123 said:
I appreciate the suggestions, and I've done the factory wipe. It wiped out the /SDcard folder contents where the zips were.
How do I get zips back on the N7? tried ADB, tried sideload from TWRP, nothing works.
Having many more problems than the last time I did this.
Click to expand...
Click to collapse
factory reset in TWRP doesnt touch /data/media
are you sure you are on the most recent version of recovery?
updated to latest recovery version, that seemed to be my issue. sd card now untouched.
Pirateghost said:
factory reset in TWRP doesnt touch /data/media
Click to expand...
Click to collapse
Pirateghost speaks the truth.
The stock recovery however, wipes everything with it's "factory reset".
It's a little bit unfortunate that the identical terminology is used. No doubt new folks will occasionally get bit by assuming they are the same.
I haven't used cwm yet; not sure what it means by "factory reset" - or even if it uses that terminology.

[Q] Nexus 4 slowed down significantly.

So I've been on rooted stock 4.2.1 since the purchase of the phone, and decided to flash the CM 10.1 new nightlies (4.2.2) and also Franco's kernel. I did a real full wipe and factory reset and built everything back up, restored with titanium.
And since then I've noticed significant slowness on the day-to-day. I don't know why this is happening?? Anyone has any ideas?
By slowness I mean NovaLauncher doesn't seem as sharp. The recent apps window lags every now and then. Things just seem to run much slower than before...
Anyone had this issue before? I've tried clearing cache and fixing permissions too but nothing worked.
Thanks for your help!
Did you backup System data and restore that too?? This kind of behaviour is generally seen when system data is ****ed up.
Maybe you can try a full wipe again (factory reset + format cache partition) and restore ONLY user apps.
rhoadster91 said:
Did you backup System data and restore that too?? This kind of behaviour is generally seen when system data is ****ed up.
Maybe you can try a full wipe again (factory reset + format cache partition) and restore ONLY user apps.
Click to expand...
Click to collapse
I would wipe system too. I always do, and never have the stupid little problems people report.
estallings15 said:
I would wipe system too. I always do, and never have the stupid little problems people report.
Click to expand...
Click to collapse
No, I mean, did you back up System data from Titanium Backup when on stock and then restore it after flashing CM10.1??
Here's how it works (as far as i know)...
When you backup system data (from stock) the /system/data files are backed up
When you do factory wipe, /data, /system, /sd-ext (skipped where not applicable) and cache partitions are formatted
When you flashed CM10.1, /data, /system were again written with data from .zip file
When you restore User apps from Titanium, .apks are restored to /data/app and app data is restored to /data/data
But the catch is
IF you restore system data, old system data is restored (including some old system .apks) into new system
Restoring system data only has a point if your new ROM you are flashing is the same as your previous ROM.
This kind of thing also happens when you forget to flash gapps.
===========================================
EDIT: Oops didn't notice you were a different person. Sorry.
rhoadster91 said:
No, I mean, did you back up System data from Titanium Backup when on stock and then restore it after flashing CM10.1??
Here's how it works (as far as i know)...
When you backup system data (from stock) the /system/data files are backed up
When you do factory wipe, /data, /system, /sd-ext (skipped where not applicable) and cache partitions are formatted
When you flashed CM10.1, /data, /system were again written with data from .zip file
When you restore User apps from Titanium, .apks are restored to /data/app and app data is restored to /data/data
But the catch is
IF you restore system data, old system data is restored (including some old system .apks) into new system
Restoring system data only has a point if your new ROM you are flashing is the same as your previous ROM.
This kind of thing also happens when you forget to flash gapps.
===========================================
EDIT: Oops didn't notice you were a different person. Sorry.
Click to expand...
Click to collapse
Just tried this and things seem much better! Thanks:highfive:

[Q] What can i wipe without losing my nandroid backups?

I have searched online, and there is no definative reliable content on what portions of memory I can delete safely without loosing the nandroid backup. What I mean is, I have TWRP on my handset. Aside from the factory reset option, what else can I wipe? I am asking because I built a Cyanogenmod unofficial image, and flashed my handset with it. The phone booted ok; I got an error about NFC service stopping. So I restored the phone back to a previous nandroid image. I then, tried to install my image again. This time the phone goes into download mode. I think I saw something online about how doing advanced clean would fix this. So when I log into TWRP I have the following options:
Davlic Cache, System, Data, Internal Storage, Cache, and Micro SDcard. How can I know where my nandroid backups reside so I can avoid clearing that portion?
sansari123 said:
I have searched online, and there is no definative reliable content on what portions of memory I can delete safely without loosing the nandroid backup. What I mean is, I have TWRP on my handset. Aside from the factory reset option, what else can I wipe? I am asking because I built a Cyanogenmod unofficial image, and flashed my handset with it. The phone booted ok; I got an error about NFC service stopping. So I restored the phone back to a previous nandroid image. I then, tried to install my image again. This time the phone goes into download mode. I think I saw something online about how doing advanced clean would fix this. So when I log into TWRP I have the following options:
Davlic Cache, System, Data, Internal Storage, Cache, and Micro SDcard. How can I know where my nandroid backups reside so I can avoid clearing that portion?
Click to expand...
Click to collapse
By default nandroid backup is on internal storage but you can choose to save it on sd card as well. Tap on the top box/menu after you enter restore menu. If you choose sd card and twrp shows no backup then the backup is on internal storage. Explore a bit mate.
Or use file explorer check twrp folder in both storage. There should be subfolder of 'backup' in it.
You don't need factory reset. And just choose wipe cache/dalvik/system/data to install new rom/restore nandroid backup

factory reset on custom rom

I haven't been able to find an answer upon searching and haven't come across this in my time reading forum posts.
So if I go to settings - backup and reset and do a factory reset from there.
I will lose all my data on internal storage, yes. But will the Android system boot into the same rom with Gapps and all just without any data at all? Allowing me to set it up as a new phone completely.
I'm on official Resurrection remix.
Edit - here's what I did. Thanks @Sam Nakamura
1. Clean flashed the ROM I wanted to use. (wipe everything except internal storage)
2. Booted into the ROM and set up Google account.
3. Booted into twrp and wiped internal storage.
4. Rebooted into system.
Everything is good as new. Setting it up from scratch now.
Isn't better doing it from recovery?
fabrquila said:
Isn't better doing it from recovery?
Click to expand...
Click to collapse
Trying to find out how. Want to delete all data including internal storage.
Want to lose all apps, files. Basically exactly as a new phone, just with a custom ROM.
pranayysharma29 said:
Trying to find out how. Want to delete all data including internal storage.
Want to lose all apps, files. Basically exactly as a new phone, just with a custom ROM.
Click to expand...
Click to collapse
Just use wipe data/factory reset function in TWRP and use the advanced wipe options.
fabrquila said:
Just use wipe data/factory reset function in TWRP and use the advanced wipe options.
Click to expand...
Click to collapse
And check everything, swipe to delete and reboot? But that way I won't have any rom or Gapps installed, will i?
pranayysharma29 said:
And check everything, swipe to delete and reboot? But that way I won't have any rom or Gapps installed, will i?
Click to expand...
Click to collapse
Not if you don't wipe system partition, where ROM and Gapps are located. Just if something goes wrong, you should have a way to flash these zips. You can use TWRP to transfer them.
Basically I'm not sure which partitions to wipe. As I don't know what is contained in which partition. Which is what I'm trying to understand
How to use twrp to transfer them? I lost you at that.
pranayysharma29 said:
Basically I'm not sure which partitions to wipe. As I don't know what is contained in which partition. Which is what I'm trying to understand
How to use twrp to transfer them? I lost you at that.
Click to expand...
Click to collapse
Wipe data, cache, dalvik, and internal storage partitions. Don't wipe system.
Data contains your apps. Cache works as cache for apps and dalvik has a similar function afaik. Internal storage stands for the internal memory, where files that you download, transfer or receive, are located.
I'm trying to say that you should have a backup of ROM and gapps just in case something bad happens, which I don't think. If that happens, just boot the phone in TWRP and plug it to a computer. Then transfer zip files of ROM and Gapps to internal storage, and then flash them. Voilá, clean ROM and full operative Gapps.
Sorry for taking so much to reply, I didn't see notifications in the forum.
fabrquila said:
Wipe data, cache, dalvik, and internal storage partitions. Don't wipe system.
Data contains your apps. Cache works as cache for apps and dalvik has a similar function afaik. Internal storage stands for the internal memory, where files that you download, transfer or receive, are located.
I'm trying to say that you should have a backup of ROM and gapps just in case something bad happens, which I don't think. If that happens, just boot the phone in TWRP and plug it to a computer. Then transfer zip files of ROM and Gapps to internal storage, and then flash them. Voilá, clean ROM and full operative Gapps.
Click to expand...
Click to collapse
Thanks for the explanation about the partitions.
I managed to achieve what I set out for.
Did a clean flash of my ROM. Then went on to wipe internal storage in twrp. Now have a new rom and everything. But clean slate for internal storage.

Categories

Resources