[Q] TWRP/Nandroid question - AT&T Samsung Galaxy Note I717

Hi, I'm not exactly new to XDA, however my Note is my first real Android phone. My question is this: If I want to make a backup of the entire phone, so that I can install a new ROM, then restore the phone to exactly the way it was before I installed said ROM, what do I need to select to back up in TWRP? I'm wanting to play with the Lolipop build for i717. I already have a good EFS backup stored separately just in case, so I need to select System, Data, and Boot, and this will save the kernel and the ROM contents, correct? ...and when I restore this backup it will be just like I left it, right?
Also, what do I need to select to Wipe to perform a 'Full Wipe' as is recommended before install?
Thanks for your time.
-josh

joshsmit07 said:
Hi, I'm not exactly new to XDA, however my Note is my first real Android phone. My question is this: If I want to make a backup of the entire phone, so that I can install a new ROM, then restore the phone to exactly the way it was before I installed said ROM, what do I need to select to back up in TWRP? I'm wanting to play with the Lolipop build for i717. I already have a good EFS backup stored separately just in case, so I need to select System, Data, and Boot, and this will save the kernel and the ROM contents, correct? ...and when I restore this backup it will be just like I left it, right?
Also, what do I need to select to Wipe to perform a 'Full Wipe' as is recommended before install?
Thanks for your time.
-josh
Click to expand...
Click to collapse
Use gimmeitorilltell's version of twrp as some specifics have not made it to official version. I've had great results using 2.8.0.0 though I believe some newer versions are working now as well. I backup android secure as well. Not sure if this is necessary, it was the default setting. Wipe is generally accepted as factory reset usually followed by going to advanced wipe and checking cache, and dalvik cache and wiping these again. Then install your new rom zip, gapps zip if required, wipe cache and dalvik cache and reboot. First boot will take a long time. Possibly as long as 5 minutes or more. Once booted let rom settle for at least 10 minutes before adjusting any settings. Good luck.
Edit: Your backed up rom system will restore everything back to the way it was if you desire to go back (installed apps and settings as well).
Sent from my SAMSUNG-SGH-I717

Thanks @developweb, works perfectly. Also thanks to @gimmeitorilltell for his TWRP and Lollipop ROM.
Sent from my SAMSUNG-SGH-I717 using XDA Free mobile app

Related

Flashing stock ROM and the going back to Cyanogen

Hello, I always find the people on this corner of xda very helpful. As usual, I think I know what I'm doing, but I'd like to check that I am proceeding in the right direction.
I've been using Mik's Cyanogen ROMs on my Optimus One. That's going well. But I need to SIM unlock my phone and I need to go back to a stock ROM to input the codes (please let me know if this is incorrect).
Before installing Mik's ROM, I performed a Nand backup. I have boot, cache, data, recovery and system img files. I think I can flash these through recovery and I should be back to stock.
Do I lose my apps and settings by doing this? Do I need to clear any caches?
What about returning to Cyanogen after I unlock my phone... Do I have to root my phone again or will I still be able to flash using recovery?
Using Clockwork, I just backed up my current ROM. I assume I will be able to restore from this later.
Is there anything else I should be aware of?
Thanks for answering my questions / clearing up my confusion.
Hello, I always find the people on this corner of xda very helpful. As usual, I think I know what I'm doing, but I'd like to check that I am proceeding in the right direction.
I've been using Mik's Cyanogen ROMs on my Optimus One. That's going well. But I need to SIM unlock my phone and I need to go back to a stock ROM to input the codes (please let me know if this is incorrect).
this is correct
Before installing Mik's ROM, I performed a Nand backup. I have boot, cache, data, recovery and system img files. I think I can flash these through recovery and I should be back to stock.
Do I lose my apps and settings by doing this? Do I need to clear any caches?
to revert back to stock, you must wipe data/factory reset, cache, and dalvik cache. you will lose your settings. as for your apps, you can back them up with titanium backup and restore them after you have restored your backup.
What about returning to Cyanogen after I unlock my phone... Do I have to root my phone again or will I still be able to flash using recovery?
when you restore your backup of the stock rom, you will still have root. i dont think unlocking your phone will cause you to lose root. your root access and custom recovery will still be intact
Using Clockwork, I just backed up my current ROM. I assume I will be able to restore from this later.
yes this is true
Is there anything else I should be aware of?
just to be on the safe side, please list the steps you are going to follow
Thanks for answering my questions / clearing up my confusion.
Thanks for the quick answer...
I on my sd card, I have a /clockwork directory with two subdirs. One is my original backup that I made before first installing Cyanogen. The other is the one I just made. Both contain boot, cache, data, recovery and system img files. The difference is that with my new backup the image files have an extra yaffs2 suffix: cache.img (stock) but cache.yaffs2.img (Cyanogen). Any problem here?
1. boot into recovery
2. restore stock from my sdcard using nandroid and wipe caches as you indicated
3. reboot, enter unlock code
4. reboot into recovery
5. restore current ROM from my sdcard using nandroid and again wipe the same caches
6. reinstall / restore apps (I'm not using Titanium, instead I backed up the list of installed apps)
Will I need to find and reinstall the GoogleApps (Market, etc) or will they come with the backup of my current ROM?
Pretty simple really. This make sense?
Thanks for the quick answer...
I on my sd card, I have a /clockwork directory with two subdirs. One is my original backup that I made before first installing Cyanogen. The other is the one I just made. Both contain boot, cache, data, recovery and system img files. The difference is that with my new backup the image files have an extra yaffs2 suffix: cache.img (stock) but cache.yaffs2.img (Cyanogen). Any problem here?
there might be a problem. what clockworkmod version did you use to make the backup of the stock rom? if i remember correctly, using cwm 3.x.x.x backs up a certain way (and also does not have the yaffs2 suffix) and using cwm 5.x.x.x backs up a different way (with the yaffs2 suffix) so backups may not be "inter"compatible (more info on that here). however, you can just flash back cwm 3.x.x.x right now (you can do it using rom manager), restore your stock rom backup, do the following steps, flash back cwm 5.x.x.x, then restore your backup
1. boot into recovery
2. restore stock from my sdcard using nandroid and wipe caches as you indicated (i recommend wipe first then restore)
3. reboot, enter unlock code
4. reboot into recovery
5. restore current ROM from my sdcard using nandroid and again wipe the same caches
(same here again, wipe first then restore)
6. reinstall / restore apps (I'm not using Titanium, instead I backed up the list of installed apps)
Will I need to find and reinstall the GoogleApps (Market, etc) or will they come with the backup of my current ROM?
i think you will have to flash gapps again
Pretty simple really. This make sense?
looks good (how sure am i? id say 80-90%. it definitely makes sense, but i have never done this before)
Good good. It's getting late so I'll tackle this tomorrow. Thanks for the detailed help... I'm glad I asked before going at it.
sweetnsour said:
looks good (how sure am i? id say 80-90%. it definitely makes sense, but i have never done this before)
Click to expand...
Click to collapse
I followed your instructions (I downgraded Clockwork before starting) and the 10-20% chance of you being wrong came true... but in a good way
Restoring from the backup brings everything back: apps, settings, contacts, SMSs etc. So it was actually even easier than you suggested since I didn't have to use my backups at all.
Thanks again for the tips!
bosth said:
I followed your instructions (I downgraded Clockwork before starting) and the 10-20% chance of you being wrong came true... but in a good way
Restoring from the backup brings everything back: apps, settings, contacts, SMSs etc. So it was actually even easier than you suggested since I didn't have to use my backups at all.
Thanks again for the tips!
Click to expand...
Click to collapse
glad it worked out for you i am assuming your phone is now unlocked right?
sweetnsour said:
glad it worked out for you i am assuming your phone is now unlocked right?
Click to expand...
Click to collapse
Yes... when I was back in stock I could access the unlock menu by entering 2945*#500# on my keypad. The SIM unlock code that I have worked fine. I haven't actually tested with another SIM card but the phone claimed to have been unlocked, so I should be good to go.

Upgrade ROM "SGT7+CM10+Cherry Picks,By meghd00t"?

hi,
this ROM works very nice for me, thanks all the deveopers!
i have few questions:
(1) since this ROM has OTA updater (it seems, from the changelog), next time when the new version is realeased, can i just update the ROM via OTA updater?
(2) i dont really understand what “Wipe cache/dalvik” and “Wipe data / factory reset” really do. my guess is that “Wipe data / factory reset” repartitions the internal flash memory of the original memory, so we can use all the memory for our purpose. (not like original Nook Tablet, in which they dedicate only 1GB for personal usage)
if i understand all these correctly, this means next time if i flash the new ROM and want to keep the old data, i should not do "Wipe data / factory reset", but only need to do "Wipe cache/dalvik"? is this correct?
thanks so much,
Jun
junkoi said:
hi,
this ROM works very nice for me, thanks all the deveopers!
i have few questions:
(1) since this ROM has OTA updater (it seems, from the changelog), next time when the new version is realeased, can i just update the ROM via OTA updater?
(2) i dont really understand what “Wipe cache/dalvik” and “Wipe data / factory reset” really do. my guess is that “Wipe data / factory reset” repartitions the internal flash memory of the original memory, so we can use all the memory for our purpose. (not like original Nook Tablet, in which they dedicate only 1GB for personal usage)
if i understand all these correctly, this means next time if i flash the new ROM and want to keep the old data, i should not do "Wipe data / factory reset", but only need to do "Wipe cache/dalvik"? is this correct?
thanks so much,
Jun
Click to expand...
Click to collapse
Wipe data/factory reset is an option in CWM Recovery. Really all it does (from the screen messages) is format both /data and /cache.
Assuming you have CWM Recovery (though I imagine that there are similar entries in TWRP, I've just never used it), to wipe both of the caches you will first need to go to the entry "Wipe Cache Partition", which I believe is directly below Wipe Data/Factory Reset. Do that 3x (that's always been the recommendation, anyway) then go to Advanced and click on Wipe Dalvik Cache (again, 3x).
Again, assuming CWM Recovery, when you're in the recovery Vol Up/Down goes up and down in the list, the 'n' key is for Enter, and the Pwr button goes back.
I don't know about the OTA Updater. I always download and install ROMs (on both my phone and my NT) via Recovery.
Since this is a CM10 based rom you probably don't want to do the ota updater since that is a Cyanogenmod feature. This rom is optimized for the Nook from the CM10 Source I would presume. I personally tried the ota uldater since i get the notifications all the time but i get an error message something like "can't verify the source with a string of numbers". Stick to the recovery based flash installation.
Sent from my SPH-L710 using xda app-developers app
---------- Post added at 10:48 AM ---------- Previous post was at 10:10 AM ----------
I agree with liquidzoo that you should probably do the wipe cache, wipe dalvik cache and factory reset 3times seems like overkill but you can never be too safe. Also i use twrp recovery and click the system button and wipe system a few times as well.
Sent from my SPH-L710 using xda app-developers app
kobhomye said:
I agree with liquidzoo that you should probably do the wipe cache, wipe dalvik cache and factory reset 3times seems like overkill but you can never be too safe. Also i use twrp recovery and click the system button and wipe system a few times as well.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I wipe /system 3x as well (under Mounts in CWM Recovery) when I'm installing a new ROM.
liquidzoo said:
I wipe /system 3x as well (under Mounts in CWM Recovery) when I'm installing a new ROM.
Click to expand...
Click to collapse
I'm not picking on you personally, but deleting and/or wiping partitions (in the case of /system) or directories (dalvik-cache) three times as opposed to once is completely unnecessary. You'll gain nothing by running the command three times over running it once, assuming you received no errors the first time.
When wiping the dalvik cache, both CM recovery and TWRP perform an "rm -rf /data/dalvik-cache" command using the shell. It's not Windows, and is unlikely to fail when passed the "-f (force)" option along with the "-r (recursive)" option.
In the case of wiping the /system partition, again both CM and TWRP write out zeros to clear the data on the partition. I would be suprised if CWM acted differently from CM and TWRP when wiping dalvik-cache and /system.
The only reason I bothered to look into what these commands actually do is to prevent a user from thinking there's a corellation between a failure to wipe 3x versus a problem they're having. If a 3x wipe "fixes" something for you, whatever the problem was, it's very unlikely that the second or third wipe was what fixed it but instead it was more likely a result of a clean install of the ROM.
References from source:
TWRP Wipe Dalvik - https://github.com/TeamWin/Team-Win...548de276b62c0e9af8661e/extra-functions.c#L986
TWRP Wipe/Format System - https://github.com/TeamWin/Team-Win...8de276b62c0e9af8661e/mtdutils/mtdutils.c#L498
CM Wipe Dalvik - https://github.com/CyanogenMod/andr...aa7ff3d06d5dd115b16c/extendedcommands.c#L1292
CM Wipe/Format System - https://github.com/CyanogenMod/andr...aa7ff3d06d5dd115b16c/mtdutils/mtdutils.c#L498
Have fun modding!
No worries, it's just something I've always done as it's been recommended to me in the past (there are some ROM developers that recommend 5x, actually). I'm not saying that 3x over 1x is any better, but I've never had issues. YMMV, but it doesn't take much more time and I like being thorough.
liquidzoo said:
Wipe data/factory reset is an option in CWM Recovery. Really all it does (from the screen messages) is format both /data and /cache.
Assuming you have CWM Recovery (though I imagine that there are similar entries in TWRP, I've just never used it), to wipe both of the caches you will first need to go to the entry "Wipe Cache Partition", which I believe is directly below Wipe Data/Factory Reset. Do that 3x (that's always been the recommendation, anyway) then go to Advanced and click on Wipe Dalvik Cache (again, 3x).
Click to expand...
Click to collapse
sorry, but can you confirm that when i upgrade to the new ROM (from the same author), it is really necessary to Wipe cache &Dalvik cache?
i am confused because somebody told me that i can just flash the ROM by installing the ZIP file (containing the ROM), and reboot the Nook without having to wipe or clean anything.
thanks,
JK
Flashing a ROM
junkoi said:
sorry, but can you confirm that when i upgrade to the new ROM (from the same author), it is really necessary to Wipe cache &Dalvik cache?
i am confused because somebody told me that i can just flash the ROM by installing the ZIP file (containing the ROM), and reboot the Nook without having to wipe or clean anything.
thanks,
JK
Click to expand...
Click to collapse
I don't know if I am doing it right or wrong but I have flashed numerous ROMs and lately have flashed every version of SGT7+CM10+Cherry Picks,By meghd00t. from 24/09 thru my current installation of 08/10 with only one glitch and that was when I flashed enhancements v2 on top of v1.
I have never had any other issues with the above mentioned ROMs except when I flashed 04/10 with enhancement v2. I didn't have the tablet option.
The way I do it is as follows:
1. format /system
2. format /data
3. Flash ROM
4. Flash CWM emmc
5. Flash GAPPs
6. Reset Factory/format data
7. Remove CWM SD card put in data SD Card with Flash Player (no longer avail on Google Play)
8. Boot from CWM menu
Takes awhile to boot this first time. When booted up I bypass the setup screens.
9. Manually set up wireless (need to access auth web site at work and need wireless to be working to accomplish that)
10. Browse to a web site and get redirected to auth page.
11. Auth
12. Set up Google account and other settings, especially under Security <Install from other locations>
13. Download apps I want from Google.
At this first boot SD card is not mounted.
14. Shut down and do a cold boot.
Now I can see SD Card.
15. Install Flash Player from External SD Card.
16. Install Crackle from Play Store.
Now I check Pandora for Audio, Crackle for Video, other apps I use, utilities, keyboards, launchers, games, etc.
So far since Version 24/09 everything has worked for me with the two exceptions above, tablet mode with 04/10 with enhancement v2 and when I flashed enhancement v2 over enhancement v1.
I am now running 08/10 and am very happy with the performance, battery drain is more than CM7 but that is to be expected from a fairly new ROM but not so bad that it is unacceptable, to me at least.
I have never had a black screen or arbitrary reboot (knock on wood). However I do turn my tablet off when I am finished using it, so don't know about deep sleep. I'm using OnDemand, and three launchers without one being the default....Apex, Nova and Trebucket.
All I can say is these developers really ROCK, way to go guys!
--------------------------------------------------------------------------------
MojoGB said:
The way I do it is as follows:
1. format /system
2. format /data
3. Flash ROM
4. Flash CWM emmc
5. Flash GAPPs
6. Reset Factory/format data
7. Remove CWM SD card put in data SD Card with Flash Player (no longer avail on Google Play)
8. Boot from CWM menu
Click to expand...
Click to collapse
You don't need to re-flash CWM every time you flash a ROM. Also, it doesn't make sense to me why you would do a factory reset/format after flashing the new ROM, I would think it would be done prior to flashing the ROM but maybe it doesn't make a difference, I don't know.
I've got TWRP installed to the emmc so I just download the new ROM to the SD with GooManager, reboot into recovery, do a backup, factory reset, flash new ROM & GApps and reboot. Only takes a few minutes.
Reflash ROM
LifeWOutMilk said:
You don't need to re-flash CWM every time you flash a ROM. Also, it doesn't make sense to me why you would do a factory reset/format after flashing the new ROM, I would think it would be done prior to flashing the ROM but maybe it doesn't make a difference, I don't know.
I've got TWRP installed to the emmc so I just download the new ROM to the SD with GooManager, reboot into recovery, do a backup, factory reset, flash new ROM & GApps and reboot. Only takes a few minutes.
Click to expand...
Click to collapse
Tried it as you mentioned, doing a factory reset before flashing the ROM and got a black screen and wouldn't boot. May have been a fluke but the way I mentioned above gives me a good image and alway boots. Don't know why, but if it works for me, I will continue to do it this way as long as it works for me. I have flashed numerous other ROMs the same way with good results each time.
junkoi said:
sorry, but can you confirm that when i upgrade to the new ROM (from the same author), it is really necessary to Wipe cache &Dalvik cache?
i am confused because somebody told me that i can just flash the ROM by installing the ZIP file (containing the ROM), and reboot the Nook without having to wipe or clean anything.
thanks,
JK
Click to expand...
Click to collapse
For an update, yes it is recommended to clear both caches. To be clear, this is only for an update. If it is a new ROM, or if the author recommends it, you should also wipe /data and /system first.
You can just flash without clearing them, but you might run into unexpected issues, so it's not recommended.
MojoGB said:
Tried it as you mentioned, doing a factory reset before flashing the ROM and got a black screen and wouldn't boot. May have been a fluke but the way I mentioned above gives me a good image and alway boots. Don't know why, but if it works for me, I will continue to do it this way as long as it works for me. I have flashed numerous other ROMs the same way with good results each time.
Click to expand...
Click to collapse
I get a black screen for a while on first boot too, but it only last a couple minutes at the most and if you shine a bright light at the screen you can see the CM logo spinning. Are you sure it was hung?
Sent from my Barnes & Noble Nook Tablet using xda premium
When you clear the Dalvik cache, it clears out data stored in your applications. When you turn on your Nook after clearing the Dalvik, the first thing it does is it rebuilds the Dalvik cache, that's why it seemed like it hung on startup. I believe the long black screen in the beginning is when it rebuilds Dalvik for core Android apps and then when it says "Optimizing Apps", that's for the rest of your applications. The more apps you have, the longer it will take to build the Dalvik. No need to freak out, just a little patience is all you need. Correct me if I'm wrong, however, as I'm still pretty much a noob at this... :laugh:
Flash a Rom
topdawg7793 said:
When you clear the Dalvik cache, it cleares out data stored in your applications. When you turn on your Nook after clearing the Dalvik, the first thing it does is it rebuilds the Dalvik cache, that's why it seemed like it hung on startup. I believe the long black screen in the beginning is when it rebuilds dalvik for core Android apps and then when it says "Optimizing Apps", that's for the rest of your applications. The more apps you have, the longer it will take to build the dalvik. No need to freak out, just a little patience is all you need. Correct me if I'm wrong, however, as I'm still pretty much a noob at this... :laugh:
Click to expand...
Click to collapse
Well fhe screen was black, no light at all and I waited for over five minutes for the Flash Screen to come up and it never did. Yes I know when you are waiting time drags. But due to the ROMS always taking awhile to boot up the first time I actually pay attention to how long it takes. No more then 2 minutes in my experience. I had to hold the power button in for a long time until it finally booted in B&N Recovery. Used my sequence mentioned in earlier post to flash the ROM again and everything worked as it should, GREAT. The number of APPs shouldn't be an issue as these ROMS only have the very basic apps.
I have read this forum and see the various and asundry errors some are getting, so far I have never gotten a major error, except for when I forgot to do the Wipe Data/Factory Reset after flashing.
I also got the "No Tablet Mode Option" with 04/10 with enhancement v2.
But I consider these minor issues and currently am running 08/10 with no issues, works smoother then any version of Microsoft Windows I have dealt with.
These developers are exceptional.
MojoGB said:
I don't know if I am doing it right or wrong but I have flashed numerous ROMs and lately have flashed every version of SGT7+CM10+Cherry Picks,By meghd00t. from 24/09 thru my current installation of 08/10 with only one glitch and that was when I flashed enhancements v2 on top of v1.
I have never had any other issues with the above mentioned ROMs except when I flashed 04/10 with enhancement v2. I didn't have the tablet option.
The way I do it is as follows:
1. format /system
2. format /data
3. Flash ROM
4. Flash CWM emmc
5. Flash GAPPs
6. Reset Factory/format data
7. Remove CWM SD card put in data SD Card with Flash Player (no longer avail on Google Play)
8. Boot from CWM menu
--------------------------------------------------------------------------------
Click to expand...
Click to collapse
oh, so you always reset factory every time you upgrade the ROM? that way will delete all the old data/apps you installed, so you need to install all the apps again?
this is my concern, because i dont want to reinstall apps, or lose my data. so i think i just need flash the new ROM, then Wipe cache/Dalvik cache, and hopefully all the old apps and data are still intact.
thanks.
MojoGB said:
I don't know if I am doing it right or wrong but I have flashed numerous ROMs and lately have flashed every version of SGT7+CM10+Cherry Picks,By meghd00t. from 24/09 thru my current installation of 08/10 with only one glitch and that was when I flashed enhancements v2 on top of v1.
--------------------------------------------------------------------------------
Click to expand...
Click to collapse
i have some questions on the "Enhancements":
(1) the correct way to install them is to flash version 1 first, then immediately flash version 2 right after version 1 (without having to reboot first)?
(2) i am not sure what i will get with this "enhancements". they will make video/audio playing more smoothly? is the quality improvement really noticable? anything else, like they make the battery last longer, for example?
thanks,
Jun
If you're running 08/10, the enhancements are not needed. That's my understanding at least. I had problems with V2 so I decided to not install them while on 04/10.
Sent from my Barnes & Noble Nook Tablet using xda premium
Flash Rom
junkoi said:
i have some questions on the "Enhancements":
(1) the correct way to install them is to flash version 1 first, then immediately flash version 2 right after version 1 (without having to reboot first)?
(2) i am not sure what i will get with this "enhancements". they will make video/audio playing more smoothly? is the quality improvement really noticable? anything else, like they make the battery last longer, for example?
thanks,
Jun
Click to expand...
Click to collapse
If you flash enhancement v2 on top of version 1 you will have problems, UI will stop. If you only flash v2 you will not have the Tablet Mode Option. So my understanding is that you can use either v1 or v2 but not both.
ROM 08/10 does not need either enhancement as indicated by the developer. ROM 08/10 works great by itself is my experience.
If I'm installing a ROM, backup the existing ROM and wipe everything.
If I'm installing a .zip package like GApps or an enhancement, backup the existing ROM, wipe Data/Dalvik.
Folks, these are development ROMS. Thar be bugs in thet thar code. It's going to take you longer than the time you think you're going to save by doing a dirty flash, and then having to restore the thing to stock (worse case) only to start all over.
Don't ask how I know.
wellersl said:
If I'm installing a ROM, backup the existing ROM and wipe everything.
Click to expand...
Click to collapse
so it is possible to back up the existing data/apps, then restore them back after the new ROM is flashed? could you please confirm this?
if so, how & what is the right steps to do the backup? can we still use CWM, or use ROM Manager, or other tools?
thanks

Do you need to back up your stock ROM only once?

Hello,
I have a question. I backed up my stock rom before installing a custom rom. Now i want to install another rom, so this time do I also have to back up the rom or its already backed up as I did it once the first time? So now that if I want to move to a new rom, i just
Select Wipe Data/Factory Reset. Confirm on the next screen.
Select Wipe Cache. Confirm on the next screen.
Select Advanced and then select Wipe Dalvik Cache.
and I should be good to go? Any other steps?
Best wishes,
Marc
Nandroid makes a snapshot of your entire phone, so you can go back to the exact moment in time when you made it.
Unless you think you'll want to go back to the current custom ROM you are using then no, don't bother.
Factory reset won't wipe the system partition, you would be better off flashing Philz recovery which includes a wipe option for use between ROM's. It's a good idea to have the right modem & RIL for your country ready just in case your new ROM has the wrong modem included..
Make sure you have backed up the entire efs partition to your pc, dropbox etc.
boomboomer said:
Nandroid makes a snapshot of your entire phone, so you can go back to the exact moment in time when you made it.
Unless you think you'll want to go back to the current custom ROM you are using then no, don't bother.
Factory reset won't wipe the system partition, you would be better off flashing Philz recovery which includes a wipe option for use between ROM's. It's a good idea to have the right modem & RIL for your country ready just in case your new ROM has the wrong modem included..
Make sure you have backed up the entire efs partition to your pc, dropbox etc.
Click to expand...
Click to collapse
Thank you for your answer. I just have one more question. I did copy the efs folder, but when I open it in computer its just a blank folder. Does it have to be like that or did I copy it wrong?
marcothev said:
Thank you for your answer. I just have one more question. I did copy the efs folder, but when I open it in computer its just a blank folder. Does it have to be like that or did I copy it wrong?
Click to expand...
Click to collapse
Should contain a number of files .
jje
marcothev said:
Thank you for your answer. I just have one more question. I did copy the efs folder, but when I open it in computer its just a blank folder. Does it have to be like that or did I copy it wrong?
Click to expand...
Click to collapse
Just copying the folder across in explorer won't save you if you need to restore, use Mike Skip's SG3 tool, the app from market or again Philz recovery to snapshot the entire partition. I'd advise having at least one version you can flash via odin.
marcothev said:
Hello,
I have a question. I backed up my stock rom before installing a custom rom. Now i want to install another rom, so this time do I also have to back up the rom or its already backed up as I did it once the first time? So now that if I want to move to a new rom, i just
Select Wipe Data/Factory Reset. Confirm on the next screen.
Select Wipe Cache. Confirm on the next screen.
Select Advanced and then select Wipe Dalvik Cache.
and I should be good to go? Any other steps?
Best wishes,
Marc
Click to expand...
Click to collapse
It's not necessary, but you should always back up your ROM before flashing a new one.
It's a personal thing, but I only do so when I do a major leap, like from Sammy to cm or cm to Sammy or one of those to miui or something like that. Other wise I don't because I like having free space on my SD cards.
CyanogenModded Very China-like, from my Samsung Galaxy S III
LG Familyguy59/Beatsleigher

[Q] So, Cyanogenmod installation on Nexus 5

Basically I have very vague idea of what to do. So far, I have backed up my Apps data using Titanium backup and put that backup folder on my PC. I googled around a bit, but the instruction that I found required me to have a SD card reader to backup my things (apps and ROM). So is there any way around that? Also, when wiping my phone to prepare for flashing Cyanogenmod, what type of data do I wipe? (cache, Dalvik, etc.)
Oh, I already downloaded the snapshot version for Nexus 5 and the gapp already. So far all I know is: Backup -> Wipe (which data?) -> flash ROM -> flash gapp -> done. Am I missing something else?
bump...
Obviously you must be rooted to use Titanium Backup, but do you also have the bootloader unlocked and custom recovery? If so, you can just put the rom zip and gapps zip on the internal storage, boot to recovery, perform a backup (called a nandroid) and then factory data reset and install rom zip and gapps. Reboot and enjoy. Your internal storage will not need to be wiped unless you have not unlocked your bootloader. At that point, just make sure you drag everything off the internal storage to the PC, then unlock the bootloader, install the custom recovery, and wipe and install.
es0tericcha0s said:
Obviously you must be rooted to use Titanium Backup, but do you also have the bootloader unlocked and custom recovery? If so, you can just put the rom zip and gapps zip on the internal storage, boot to recovery, perform a backup (called a nandroid) and then factory data reset and install rom zip and gapps. Reboot and enjoy. Your internal storage will not need to be wiped unless you have not unlocked your bootloader. At that point, just make sure you drag everything off the internal storage to the PC, then unlock the bootloader, install the custom recovery, and wipe and install.
Click to expand...
Click to collapse
So all I have to do now is flash the .zip files and not worry about my data? I am rooted and the bootloader is unlock, I just thought that flashing a new ROM would wipe the phone out (Nexus 5 only have one internal storage)
Depends on which data we're referring to. You will need to perform a factory reset which will wipe your phone as far as the accounts, passwords, settings, call log, texts, apps, contacts, etc. But the recoveries are made to skip wipe /data/media which is the internal storage or what the system considers your /sdcard/. Thus not needing to worry about your pics, music, backups, etc. However, it's always good practice to do a back up of anything super important before attempting any major modification to the system to a safe place. In case of emergency, I recommend having the stock img files to restore the phone to stock. This will save time in getting the phone working again should something go wrong. Never fear though, it's very hard to hard brick the Nexus.
Sent from my One using XDA Premium 4 mobile app
es0tericcha0s said:
Depends on which data we're referring to. You will need to perform a factory reset which will wipe your phone as far as the accounts, passwords, settings, call log, texts, apps, contacts, etc. But the recoveries are made to skip wipe /data/media which is the internal storage or what the system considers your /sdcard/. Thus not needing to worry about your pics, music, backups, etc. However, it's always good practice to do a back up of anything super important before attempting any major modification to the system to a safe place. In case of emergency, I recommend having the stock img files to restore the phone to stock. This will save time in getting the phone working again should something go wrong. Never fear though, it's very hard to hard brick the Nexus.
Click to expand...
Click to collapse
Ok, I'm backing the phone up right now (barely made it within the available SD space). So next is wiping the phone, correct? Then I assume after that I can flashing the files. Next is... I have no idea...
K, so next is rebooting to recovery and going to Backup and backing up the rom you're on. Then it might be good to back that up too. After that, go to recovery and perform the factory data reset and then install rom, then gapps, and reboot. It'll take a while longer to reboot than usual. After that you'll be presented with the setup wizard that'll walk you through getting the phone ready again.
Sent from my One using XDA Premium 4 mobile app
---------- Post added at 05:33 AM ---------- Previous post was at 05:32 AM ----------
Wait, you do or don't have a custom recovery? Because that is needed. I recommend TWRP, but Philz is good as well. But really any of the newest ones will do what you need, just slightly different features and UIs.
Sent from my One using XDA Premium 4 mobile app
es0tericcha0s said:
K, so next is rebooting to recovery and going to Backup and backing up the rom you're on. Then it might be good to back that up too. After that, go to recovery and perform the factory data reset and then install rom, then gapps, and reboot. It'll take a while longer to reboot than usual. After that you'll be presented with the setup wizard that'll walk you through getting the phone ready again.
Click to expand...
Click to collapse
Ok, few more dumb questions. After I back the phone up, where does the backup go? If it is the backup of the current ROM, should I transfer it to somewhere safe (like a PC) before I do a factory reset? Sorry, I'm just having a bad anxiety about all of this flashing and wiping and ROMing...
The backup is stored on your /sdcard/ but yes, I was recommending to also copy that to the computer for safe keeping.
Sent from my One using XDA Premium 4 mobile app

Ultimate wipe?

Hi guys!
I've been fiddling around with different ROMs. With every new rom I install, I always wipe data/factory reset, wipe cache + Dalvik cache.
However, it seems there still are files lingering from earlier versions (eg. wallpaper settings).
Is it possible, and if so how, to do an ultimate reset, to make the phone as bare as possible before installing a new rom?
I've tried using CM recovery, TWRP, CWM, and others based on earlier mentioned recoveries. Right now I'm running the latest Candy 5 (infected) + CWM
It's not quick but if you encrypt before wiping it that is one way. I've always reccomended doing this when selling your device.
Sent from my D6503 using XDA Free mobile app
usually I do a full wipe with TWRP (go advanced wipe and check everything including internal sdcard), this will wipe everything you have on the phone like pics and other stuff, so make sure TO COPY THEM FIRST, the are not included in a nandroid backup, had to learn that the hard way
There's no better wipe then what you do (except formatting sd card).
I think the settings that stay between flashing are the one restored by your Google account.
Uncheck backup / restore from Google settings next time you install a rom and it should be all new !
pec0ra said:
There's no better wipe then what you do (except formatting sd card).
I think the settings that stay between flashing are the one restored by your Google account.
Uncheck backup / restore from Google settings next time you install a rom and it should be all new !
Click to expand...
Click to collapse
I'm quite sure it's more than just the google back-up files lounging around, but I'll make sure to try and set it up as a new phone next time around. Thank you for your help
munte89 said:
I'm quite sure it's more than just the google back-up files lounging around, but I'll make sure to try and set it up as a new phone next time around. Thank you for your help
Click to expand...
Click to collapse
If you mean files that are on your sd (internal or external) they are not Google's backup but have no big effect on your settings (except for some apps). If you want to get rid of this, just format your sd.
Now if you mean some settings like the wallpapers, they are restored by Google automatically but the setting is stored on the data partition (which you wiped).
Do you have other examples of things that stay between wipes?
pec0ra said:
If you mean files that are on your sd (internal or external) they are not Google's backup but have no big effect on your settings (except for some apps). If you want to get rid of this, just format your sd.
Now if you mean some settings like the wallpapers, they are restored by Google automatically but the setting is stored on the data partition (which you wiped).
Do you have other examples of things that stay between wipes?
Click to expand...
Click to collapse
Nothing that comes to mind, only the reoccuring feeling of "Huh? That shouldn't be there anymore". However, I'm quite sure I solved it using PhilZ to advance wipe and wiped everything but the boot.

Categories

Resources