Wiping before flashing custom ROMs - Droid Eris Q&A, Help & Troubleshooting

Hello,
I rooted my eris about a month ago and have flashed about every rom thats been on grdlock's site. But one thing I've never been quite clear on is the whole wipe process. Can someone explain the difference between the factory wipe and the dalvik wipe? For instance why should i do one or the other or both before flashing a new custom rom?
HTC Droid Eris ROOT
Aloysious 2.0 v.7
Sent from my HERO200 using the XDA mobile application powered by Tapatalk

Can anybody help??

The factory wipe cleans the phones OS out, the dalvik wipe clears the cache. You don't need to know exactly what they do to know they definitely make ROMs run much cleaner when you do it, because I really dont know the specifics. I don't know how commands are programmed into DOS but I still know that the commands work...if that metaphor makes any sense.
PS - you should definitely do both before flashing a new ROM or restoring a nandroid backup

thanks taco. that helps a ton.

lol
chaneer said:
thanks taco. that helps a ton.
Click to expand...
Click to collapse
Sorry to let you down my friend.

factory wipe is like formating your harddrive on your computer before installing a new OS.
dalvik is a way to run multiple virtual machines where parts of the applications your running on android also run during normal operation to minimize memory and cpu usage, the cache obviously plays a part in memory usage, clearing this is like rebooting the ram on your computer to run faster.
in summary: format both and google your questions before asking them.

thanks guys. and trust me i did search all over for this but couldnt find a definitive answer. i just wanted to know for myself exactly what each "wipe-type" does, but i'll just stick with using both before i flash a new rom unless the dev instructs otherwise.

factory wipe is like formating your harddrive on your computer before installing a new OS.
dalvik is a way to run multiple virtual machines where parts of the applications your running on android also run during normal operation to minimize memory and cpu usage, the cache obviously plays a part in memory usage, clearing this is like rebooting the ram on your computer to run faster.
in summary: format both and google your questions before asking them.
Click to expand...
Click to collapse
Factory wipe is not wiping the os
...factory is like restoring the os, to how it came when you first got your computer, deleting all your programs, personal files, and stuff, that you added over the life of your computer.
You got cache down though.
Hope that makes it a little more clear.
Sent from my Eris using the XDA mobile application powered by Tapatalk

[ROM](7-19-11) SNS Gingerbread v1.4.1, OTA 4.24 Sense, Now W/ Remap Rosies.
Hey guys,
So I'm planning to flash the ROM at this URL: http://forum.xda-developers.com/showthread.php?t=1131217 but it requires that I "wipe" first. My rank says it all--I'm new to this stuff.
So, to the question; What should I wipe, and any tips on flashing this ROM?
Thanks,
Lacedaemon

Well, Its for a different phone, so I would say no.

First of all, Linux has a few different folders. /data is used to install all your apps and stuff, but /system is for the 0S and stuff. The /system section is restricted unless you gain root access. Anyways, /system isn't removed via factory reset, just /data. Installing a new rom, /system has files usually overwritten.... Hope that helps a little. The other folders are for cleaning up what's ever left over.

Related

[Q] What kind of system maintenance does Android require?

Is there a kind of system maintenance routine necessary (or beneficial) to keep Android running in top condition? I've seen that permissions can be repaired via CWMod and Dalvik cache, etc, but what else should we do to maintain the system performance and stability, etc.?
well, idk if this helps, but tmobile told me to clear the user data every 2 months or so...
User data holds what?
I'm not sure I trust the "expertise" of a T-Mobile rep, but thanks for the response.
I've had one instance where the system told me that my DB data was getting too full and asked me to purge it manually. I removed some stuff and then I noticed that the DB data went down in Titanium Backup, but I don't know what that does either, or how to keep it cleaned out.
If you are plain stock not rooted, delete cache data as the previous poster said. There is not an specific amount of time for this, but if you feel your phone starts too lag more than usual
If you are rooted, and have CWM installed wipe cache partition, and in Advanced do Wipe Dalvik cache, nad if you want wipe battery stats (Do this when your battery is full once in a while so yo get better battery reads)
I need to clear out the directories for apps from my internal SD card periodically. As I install and uninstall apps I get a bunch of directories on there that I don't need. I also like to reboot every few days to a week when my phone gets laggy.

How to completely wipe?

I've been having alot of issues, lag, freezes, reboots, and ive been having these issues on a few different roms ive tried. I had Been running the paranoid android one from Jamied81 and it worked great but then i switched around and on any rom including the PA one, and other cm10 roms, im having the same issues, So There must be something wrong with my phone... i guess?
How can i completely wipe clean and start fresh? because ive been wiping data, cache and dalvik cache but thats not helping...
Of course i could go back to best buy and cash in on my warranty.. but i really dont want to do that...
thanks
Well,
It depends on the level you want to take the "cleaning" too...
Data, cache, dalvik cache, and stats are a normal cleaning, and used by most folks to get an average clean.
Some roms even state to do this 3 times or more to be sure.
Two additional steps are needed to get the device "clean". and it involves moving everything off of the device to PC storage, and wiping the following two areas.
( by everything, I mean "anything" you want to keep. pictures etc.)
First, the SD card. As the device uses this memory location for cache of files, and bits of user data, it can be a source of misery when bouncing between roms. so a complete format to FAT32 on the PC will wipe this card clean.
Second, and my personal favorite, is wiping of the internal card space, or the EMMC partition.
This is performed through the recovery, under the advanced options menu, in the format sub-section.
Effectively, wiping the emmc "will" remove all rom data from the device, above the normal data wipe level, and leaves the device empty.
Note: the new rom will re-populate the needed files to run the rom upon the first boot cycle.
IMPORTANT !!!
If moving files back to your device from PC, you must ensure that they are clean too. It is very easy to forget that many files contain rom specific data, and should be avoided as a restore function, especially APK's....
The partitions from the last rom will remain in place, but they will be overwritten by using odin to restore the device. ( if you wish to restore the factory rom architecture )
If odin or kies are not used, the rom partitions remain, but are empty anyway.
"WARNING" !!!!
Although this method is considered safe, you "will lose "any" data or files left behind on the internal space of the device, or on your External SD card by formatting.
And you must place a new rom to your External card prior to placing the card back into the phone, and use CWM or TWRP recovery to flash a new rom in recovery mode. (unless odin or kies are used to return a device to stock condition)
Note: (no pun intended)
This method will "not" touch your recovery, Unless using odin or kies to push a non-rooted rom to the device, and the user must choose carefully when selecting any firmware image to flash.
It is up to the user to restore the factory partitions by flashing a stock odin rom, unless the last rom was a "stock" rom. (Note: kies may be used as well, but Odin is the most common, and works well )...
The standard recovery flash can be used, and is advised if you want to retain root...!!!!
"WARNING" !!!... THE USE OF ODIN OR KIES TO FLASH A STOCK FIRMWARE IMAGE WILL REMOVE YOUR ROOT, AND RECOVERY, FORCING THE DEVICE BACK TO A STOCK STATE....( choose carefully as you select any image to flash using Odin or Kies, as these roms are likely "NOT" rooted roms, and will jam you up)...
I hope this helps you.
Please ask if you have any questions, "before" attempting this procedure... PM included.
And could the Mods please move this thread to QA ? Thank you.....g
gregsarg said:
Well,
It depends on the level you want to take the "cleaning" too...
Data, cache, dalvik cache, and stats are a normal cleaning, and used by most folks to get an average clean.
Some roms even state to do this 3 times or more to be sure.
Two additional steps are needed to get the device "clean". and it involves moving everything off of the device to PC storage, and wiping the following two areas.
( by everything, I mean "anything" you want to keep. pictures etc.)
First, the SD card. As the device uses this memory location for cache of files, and bits of user data, it can be a source of misery when bouncing between roms. so a complete format to FAT32 on the PC will wipe this card clean.
Second, and my personal favorite, is wiping of the internal card space, or the EMMC partition.
This is performed through the recovery, under the advanced options menu, in the format sub-section.
Effectively, wiping the emmc "will" remove all rom data from the device, above the normal data wipe level, and leaves the device empty.
Note: the new rom will re-populate the needed files to run the rom upon the first boot cycle.
IMPORTANT !!!
If moving files back to your device from PC, you must ensure that they are clean too. It is very easy to forget that many files contain rom specific data, and should be avoided as a restore function, especially APK's....
The partitions from the last rom will remain in place, but they will be overwritten by using odin to restore the device. ( if you wish to restore the factory rom architecture )
If odin is not used, the rom partitions remain, but are empty anyway.
"WARNING" !!!!
Although this method is considered safe, you "will lose "any" data or files left behind on the internal space of the device, or on your External SD card by formatting.
And you must place a new rom to your External card prior to placing the card back into the phone, and use CWM or TWRP recovery to flash a new rom in recovery mode.
Note: (no pun intended)
This method will "not" touch your recovery, Unless using odin or kies to push a non-rooted rom to the device, and the user must choose carefully when selecting any firmware image to flash.
It is up to the user to restore the factory partitions by flashing a stock odin rom, unless the last rom was a "stock" rom. (Note: kies may be used as well, but Odin is the most common, and works well )...
The standard recovery flash can be used, and is advised if you want to retain root...!!!!
"WARNING" !!!... THE USE OF ODIN OR KIES TO FLASH A STOCK FIRMWARE IMAGE WILL REMOVE YOUR ROOT, AND RECOVERY, FORCING THE DEVICE BACK TO A STOCK STATE....( choose carefully as you select any image to flash using Odin or Kies, as these roms are likely "NOT" rooted roms, and will jam you up)...
I hope this helps you.
Please ask if you have any questions, "before" attempting this procedure... PM included.
And could the Mods please move this thread to QA ? Thank you.....g
Click to expand...
Click to collapse
Wow.... first of all, thanks for the very detailed reply.
So i format the card separately, format the emmc in recovery, and install a new rom? do i need to deal with the other partitions? or will the new rom just take care of that?
mottyengel said:
Wow.... first of all, thanks for the very detailed reply.
So i format the card separately, format the emmc in recovery, and install a new rom? do i need to deal with the other partitions? or will the new rom just take care of that?
Click to expand...
Click to collapse
The partitions will be empty....and the device will be as clean as you can safely get it, without risking a brick....g
gregsarg said:
The partitions will be empty....and the device will be as clean as you can safely get it, without risking a brick....g
Click to expand...
Click to collapse
Thanks alot for your help!!
mottyengel said:
Thanks alot for your help!!
Click to expand...
Click to collapse
Always welcome...g
Another easy way...go to this site: http://rootzwiki.com/topic/25980-sgh-i717ucle2-official-leak/, follow the instructions, bam. Basically just throw into DL mode and hit start, its one of the one click Odin ICS leaks from designgears and it completely wipes everything on your phone.
I have run into similar sounding problems as yours where my phone won't wipe properly in cwm, and I've used this to completely nuke my internal storage and start over.
Of course, transfer all pictures, music, and important files to your computer first. Then after you use the one click Odin, just begin romming as usual
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
With a nice moist wipe!
Sent from the TermiNOTEr!
While i've seen and like the rootzwiki method, I prefer to manually wipe and install roms.
For me, it adds back in, that level of control I like to have when changing roms etc.
I'm the " do it myself " kinda user ...but I agree, it's a good system.
Thank you for posting it ....g
---------- Post added at 06:09 PM ---------- Previous post was at 06:08 PM ----------
borijess said:
With a nice moist wipe!
Sent from the TermiNOTEr!
Click to expand...
Click to collapse
..springtime fresh ??
Oh yehhhhhhhhhh!!!.....LOL .......g
I factory reset. cache wipes. Darkside wipe zip.
"The clean getaway"
gregsarg said:
Always welcome...g
Click to expand...
Click to collapse
View attachment 1291207
Sent from A Closet @ Arkham Asylum on my GNote using Forum Runner, Black ★.
Yeah, I prefer the manual way in cwm as well, but I've run into an error a couple of times where it won't wipe properly. So I nuke my phone to fix the ability to wipe. There's no way I would do that every time I flash a ROM.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
welchertc said:
Yeah, I prefer the manual way in cwm as well, but I've run into an error a couple of times where it won't wipe properly. So I nuke my phone to fix the ability to wipe. There's no way I would do that every time I flash a ROM.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Click to expand...
Click to collapse
True ....and of course, my post was meant in the context of a device having severe problems.
I seldom use that method either, but in a pinch it's good to have available ......and if users see and retain either of the methods we've posted, they can repair virtually any problem going forward.
And hopefully avoid those JTAG moments we all dread ....g
That's for sure. Haha.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Must wipe...
View attachment 1291573
Sent from A Closet @ Arkham Asylum on my GNote using Forum Runner, Black ★.
LOL. !!!
Excellent !!!
welchertc said:
Another easy way...go to this site: http://rootzwiki.com/topic/25980-sgh-i717ucle2-official-leak/, follow the instructions, bam. Basically just throw into DL mode and hit start, its one of the one click Odin ICS leaks from designgears and it completely wipes everything on your phone.
I have run into similar sounding problems as yours where my phone won't wipe properly in cwm, and I've used this to completely nuke my internal storage and start over.
Of course, transfer all pictures, music, and important files to your computer first. Then after you use the one click Odin, just begin romming as usual
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Click to expand...
Click to collapse
Thanks for the reply. But, i dont see any instructions... what do i do with the file?
Basically its a one click version of Odin with the files already loaded into it so you don't have to pick anything.
Download it to your comp, unzip the file (I believe?), open the program, put your phone into download mode, connect it to your comp, make sure Odin recognizes it, then click start.
Takes a bit because its a huge process that it's undertaking, but at times its necessary to go nuclear on your phone.
Really should only be used as a last resort to wiping your phone.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
welchertc said:
Basically its a one click version of Odin with the files already loaded into it so you don't have to pick anything.
Download it to your comp, unzip the file (I believe?), open the program, put your phone into download mode, connect it to your comp, make sure Odin recognizes it, then click start.
Takes a bit because its a huge process that it's undertaking, but at times its necessary to go nuclear on your phone.
Really should only be used as a last resort to wiping your phone.
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Click to expand...
Click to collapse
Agreed ....g
I mostly wipe front to back.

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

[Q] CWM Wipe cache - huge problem

Alright, I hope I have this in the right place. I just recently flashed the TerraSilent Kernel for the Galaxy Player 4.0 US version. The Flash went fine, but my device was running extremely slowly. A re-flash didn't solve it either. I figured that wiping the cache partition might solve the problem - I decided to do this before running a backup, since no important data is stored in the cache (...right?), and since I was worried that backing up while I had this problem could make things worse - so I went ahead into CWM and did just that. Then, it reboots, and I nearly get a heart attack. The stock wallpaper is back, it's using the default launcher again (I had LauncherPro installed), and pretty much only system apps work, all the others have an icon with an SD card on it, and when clicked on, it says something like "application not installed". I did some searching, and it seemed like a reboot might help (although I didn't find anyone with a problem like mine anywhere). The reboot didn't do anything, so now I have it shut down, so that nothing can happen. The odd thing is, it doesn't seem to me like the system messed up and did a full wipe instead, either, because a couple of things I have are still there - for example, some of my bookmarks I made on the homescreen while still using the default launcher are still there. I'm really confused because I have wiped the cache partition before, when I was still on an unmodified stock kernel, and everything stayed the same, the way I thought it was supposed to. And now this happens. What do I do now? I exported my absolute most important data (Astrid Tasks and Calendar) before I installed TerraSilent (but I obviously wasn't able to do a full backup because I wasn't rooted, I figured installing TerraSilent would root it), so my absolute most important data is on my computer. I also did a simple file backup of the internal USB storage and external SD card to another computer before flashing TerraSilent. However, there is still a good deal of data still need, and a lot of data that would just be a pain in the rear to recreate, not to mention my (valuable to me) game data. What did I do wrong - or did something in the system mess up? And - what do I do to get back to where I was before?
It happened to me when I was on gingerbread with terrasilent. It's a known issue with this kernel. In fact, you didn't wipe the data, but the recovery contain a bug wich format the data as soon as you do an operation wich mount the data partition(I think it's this but I can't remind) but it doesn't wipe the system or anythin else, so the icon, setting and everything else stay there but without anything attach to them. I don't remind what was causing it, I only stopped using cwm with this kernel unless I wanted to flash something or to wipe everything. Sorry but I can't help you more as I don't remind everything, it's been a while since I've been on gingerbread.
ti-pich said:
It happened to me when I was on gingerbread with terrasilent. It's a known issue with this kernel. In fact, you didn't wipe the data, but the recovery contain a bug wich format the data as soon as you do an operation wich mount the data partition(I think it's this but I can't remind) but it doesn't wipe the system or anythin else, so the icon, setting and everything else stay there but without anything attach to them. I don't remind what was causing it, I only stopped using cwm with this kernel unless I wanted to flash something or to wipe everything. Sorry but I can't help you more as I don't remind everything, it's been a while since I've been on gingerbread.
Click to expand...
Click to collapse
Wasn't that problem solved with a later version of the kernel though?
And, assuming that's what happened (what you describe sounds pretty much like what happened to me), would that mean that the only way to try and get it back would be by trying to recover the formatted data?
trainman261 said:
Wasn't that problem solved with a later version of the kernel though?
And, assuming that's what happened (what you describe sounds pretty much like what happened to me), would that mean that the only way to try and get it back would be by trying to recover the formatted data?
Click to expand...
Click to collapse
It was said to be resolved, but it happened to some peoples even thought. Maybe you can recover some of your data with your computer and some tools that let you get the erased data, but I can't guarantee the integrity of your data and you would need to replace every bit of data that was there before to get it running nicely. The easiest way would be to try to recover some of your important data, put it on your computer then wipe your player and start from scratch (wipe data/factory reset) and reinstall your apps. Then put back the save, or setting or files that you got back in your apps. Hope this help, I'm not a proffessional with data recovering or where to put it back after you got it, maybe someone else could further help you with this.
And the conclusion...
ti-pich said:
It was said to be resolved, but it happened to some peoples even thought. Maybe you can recover some of your data with your computer and some tools that let you get the erased data, but I can't guarantee the integrity of your data and you would need to replace every bit of data that was there before to get it running nicely. The easiest way would be to try to recover some of your important data, put it on your computer then wipe your player and start from scratch (wipe data/factory reset) and reinstall your apps. Then put back the save, or setting or files that you got back in your apps. Hope this help, I'm not a proffessional with data recovering or where to put it back after you got it, maybe someone else could further help you with this.
Click to expand...
Click to collapse
OK, my reply is late, but thanks for your help. I managed to copy the partition with all the deleted contents over to the computer, and I'll have to study the contents some other time, because I've spent about 24+ hours on this problem in total, and need my device for more important purposes - those for which the data I managed to copy before the custom kernel and everything else. For those of you who have a similar issue, this is how I managed to save (or that is I am 95% sure this will have saved at least some, as I said I haven't studied it yet) what I hope is a good chunk of my data.
Have you tried flashing a different kernel? Terrasilent also gave me some weird in that after a few days my device would boot into recovery by itself then wipe all my data in that only my system apps would remain. So it's a little different than what's happened to you. I ended up using klin's R3 kernel or Steven's kernel that fixed the issue.
Sent from my YP-G1 using xda app-developers app
obscuresword said:
Have you tried flashing a different kernel? Terrasilent also gave me some weird in that after a few days my device would boot into recovery by itself then wipe all my data in that only my system apps would remain. So it's a little different than what's happened to you. I ended up using klin's R3 kernel or Steven's kernel that fixed the issue.
Sent from my YP-G1 using xda app-developers app
Click to expand...
Click to collapse
I've got huge issue with steve's kernel. You can get into recovery, but once you booted in it will simply bootloop. Then you have to flash back with odin. So if you go with steve's kernel, don't boot into recovery. As for klin's kernel, I've never tried it, and will probably never as we have some really nice jellybean rom that I recommend you.
I never got that issue with steve's kernel.
Sent from my YP-G1 using xda app-developers app
obscuresword said:
Have you tried flashing a different kernel? Terrasilent also gave me some weird in that after a few days my device would boot into recovery by itself then wipe all my data in that only my system apps would remain. So it's a little different than what's happened to you. I ended up using klin's R3 kernel or Steven's kernel that fixed the issue.
Sent from my YP-G1 using xda app-developers app
Click to expand...
Click to collapse
Actually, with my problem, my system apps did remain, so it's almost the same problem, only my device didn't boot into recovery on its own (seriously, it booted into recovery on its own and wiped the data? ). I only installed the terrasilent kernel to be able to upgrade to JB, so I'm now on JB, running into different problem (the wrong settings are being backed up from google backup, they're restoring from my galaxy mini 2), but thanks anyway. I am really not having any luck at all with this whole update . But ti-pich, I agree with you, that JB rom is awesome
trainman261 said:
Actually, with my problem, my system apps did remain, so it's almost the same problem, only my device didn't boot into recovery on its own (seriously, it booted into recovery on its own and wiped the data? ). I only installed the terrasilent kernel to be able to upgrade to JB, so I'm now on JB, running into different problem (the wrong settings are being backed up from google backup, they're restoring from my galaxy mini 2), but thanks anyway. I am really not having any luck at all with this whole update . But ti-pich, I agree with you, that JB rom is awesome
Click to expand...
Click to collapse
Yes it did, after 1 week. I was like ???. I reflashed it again and it did the same exact thing, and it happened to me while I was at my college too.
I also had that same issue where it was restoring from the wrong device. I just had to reflash the rom, and install stuff manually because it was making my device horribly slow.
obscuresword said:
Yes it did, after 1 week. I was like ???. I reflashed it again and it did the same exact thing, and it happened to me while I was at my college too.
I also had that same issue where it was restoring from the wrong device. I just had to reflash the rom, and install stuff manually because it was making my device horribly slow.
Click to expand...
Click to collapse
Wow that is some scary stuff, now I know why every kernel/ROM/mod has a disclaimer at the beginning ... I'm glad I'm off that now and on a stable JB build now. I found a way to have it restore at least some of the stuff from when it was on gingerbread (mostly apps and appdata, no WiFi passwords or other settings - at least I'm pretty sure, I'm still working on getting all the stuff up and running) - go into a terminal, and type
Code:
bmgr list sets
It will probably have two different sets, one for when it was on GB and one for JB - or that is, if you had the problem, there will probably be a third set for a different device (maybe more). Then, choose the one you want to restore from, and type
Code:
bmgr restore xxxxxxxxxxxxxxxx
and replace xxxxxxxxxxxxxxxx with the apropriate ID from the command before. I'm having to type it several times in order to get it to work - I type it once, it restores some apps, then stops, I type it again, and it restores some more - but I'm hoping it gets as much possible onto the JB build. I guess this won't help you much, I've seen you saying on the ICS and JB threads that you've upgraded a while ago, but I guess if someone else comes along with the same problem, I hope it will help
trainman261 said:
Wow that is some scary stuff, now I know why every kernel/ROM/mod has a disclaimer at the beginning ... I'm glad I'm off that now and on a stable JB build now. I found a way to have it restore at least some of the stuff from when it was on gingerbread (mostly apps and appdata, no WiFi passwords or other settings - at least I'm pretty sure, I'm still working on getting all the stuff up and running) - go into a terminal, and type
Code:
bmgr list sets
It will probably have two different sets, one for when it was on GB and one for JB - or that is, if you had the problem, there will probably be a third set for a different device (maybe more). Then, choose the one you want to restore from, and type
Code:
bmgr restore xxxxxxxxxxxxxxxx
and replace xxxxxxxxxxxxxxxx with the apropriate ID from the command before. I'm having to type it several times in order to get it to work - I type it once, it restores some apps, then stops, I type it again, and it restores some more - but I'm hoping it gets as much possible onto the JB build. I guess this won't help you much, I've seen you saying on the ICS and JB threads that you've upgraded a while ago, but I guess if someone else comes along with the same problem, I hope it will help
Click to expand...
Click to collapse
hmmm. I'm about to try Terrasilent with my YP-G1 (US version) running 2.3.6. This is giving me second thoughts. Does this kernel still cause issues with SGP 4.0s running GB 2.3.6?? Maybe I should try the old Steves Kernel? I just want to use voodoo sound - thats really the only reason I want to root and get these kernels.

General cleaning and wiping informations

hello actually i am intending with xda developers forum and using custom rom for almost 8 years. but the problem is i never know what does that wipe methods do. until now i just fallowed the instructions but i think i need to know .
i have 2 main questions.
1-) what are this wipe processes do (exacly what are they wiping)
a-)Wipe Data/Factory Reset
b-)Wipe Cache Partition
c-)Wipe Dalvik Cache
please give me proper explenation for each .what are they wiping ? and why we using them for ?
2-) A proper cleaning on my android device. as much as i use my device there is junk files, cropses and all other unnecessary files rolling up in times. so this is very disturbing. and i want to have a blank page only with my rom and my karnel + bootloader etc files i don't want anything more.
so question is this. what should i do to clean my device as this clean like having nothing except basic things ?
if any of you explaint this 2 questions for a dumb user i hope it will be very helpfull also other newbie android users. or the people like me ignorant for 8 years shame of myself
anyway thank you for your help and interests.
Quayron said:
hello actually i am intending with xda developers forum and using custom rom for almost 8 years. but the problem is i never know what does that wipe methods do. until now i just fallowed the instructions but i think i need to know .
i have 2 main questions.
1-) what are this wipe processes do (exacly what are they wiping)
a-)Wipe Data/Factory Reset
b-)Wipe Cache Partition
c-)Wipe Dalvik Cache
please give me proper explenation for each .what are they wiping ? and why we using them for ?
2-) A proper cleaning on my android device. as much as i use my device there is junk files, cropses and all other unnecessary files rolling up in times. so this is very disturbing. and i want to have a blank page only with my rom and my karnel + bootloader etc files i don't want anything more.
so question is this. what should i do to clean my device as this clean like having nothing except basic things ?
if any of you explaint this 2 questions for a dumb user i hope it will be very helpfull also other newbie android users. or the people like me ignorant for 8 years shame of myself
anyway thank you for your help and interests.
Click to expand...
Click to collapse
A. Wiping data/factory reset completly erases whats in /data,
Your apps, dalvik cache, app data and many others are wiped, but those i listed are the most relevant
With certain devices internal storage can be wiped such as Xperias because /data/media is where the internal storage is mounted however this is typically avoided with the recoveries we have
2. Wiping cache, the cache is typically used to store information or app data that isnt permanent however that can cause crashes or other kinds of issues after a mod instalation
3. Dalvik/art cache is used to store decompiled readable versions of the android apps installed meaning it can launch the app much quicker however if you dont wipe this, it can cause much more issues after installing a app mod lets say
Envious_Data said:
A. Wiping data/factory reset completly erases whats in /data,
Your apps, dalvik cache, app data and many others are wiped, but those i listed are the most relevant
With certain devices internal storage can be wiped such as Xperias because /data/media is where the internal storage is mounted however this is typically avoided with the recoveries we have
2. Wiping cache, the cache is typically used to store information or app data that isnt permanent however that can cause crashes or other kinds of issues after a mod instalation
3. Dalvik/art cache is used to store decompiled readable versions of the android apps installed meaning it can launch the app much quicker however if you dont wipe this, it can cause much more issues after installing a app mod lets say
Click to expand...
Click to collapse
so is there a way to clean my leftover media/data/etc.. in internal storage withouth touching rom files ?
Quayron said:
so is there a way to clean my leftover media/data/etc.. in internal storage withouth touching rom files ?
Click to expand...
Click to collapse
Your ROM is in /system so wiping data doesn't affect the system its self
You can wipe data but that wipes dalvik cache
Its probably better to wipe caches with a data wipe
Quayron said:
so is there a way to clean my leftover media/data/etc.. in internal storage withouth touching rom files ?
Click to expand...
Click to collapse
thank you so much.

Categories

Resources