any one know how to wipe dalvik NOT on sd with RA recovery?
its boggling my mind and ive searched this place believe me
why do you need to wipe it?
alt+x
mount /data/
rm -r /data/dalvik-cache
reboot
IT WILL take longer to boot after this because it has to rebuild the cache , then it will boot normally .....
thank you so much. the reason i want to wipe it is because i want to start with a fresh phone and try out the new bluetooth fix from eugene for hero roms. he has it working on his (ibelieve). its not neccasary i just wanted to do it.
well if you were going to flash a new rom, doing a wipe/data factory restore would have gotten the job done. You would only need to delete it if it were on your sd card.
Related
About to flash this ROM or that new ROm, and usually before I flash a new ROM I would delete all the files in /system/sd/dalvik-cache but leave the /system/sd/app folder intact with all my apps inplace. I will do a wipe ofcourse also.
I have never had any problems with flashing roms this way.. Why do a full ext3 wipe?
Am I missing something, for example, by leaving my /system/sd/app folder intact, does this cause problems for odex'ing with any ROM?
For Hero ROMs I also delete the files within the /system/sd/app_s...
But doing it this wasy ensures that during the install, all my Apps are automatically loaded on boot...
If anyone knows why a full ext3 wipe, i.e. rm -rf /system/sd is necessary, please let me know!! Thanks
Sometimes you can just run into issues, so if you wipe it should be fool proof to hopefully not hit any problems. Loading some hero's without wiping can cause bootloops.
supremeteam256 said:
Sometimes you can just run into issues, so if you wipe it should be fool proof to hopefully not hit any problems. Loading some hero's without wiping can cause bootloops.
Click to expand...
Click to collapse
Yes, I have learned this the hard way. You really need to wipe your ext3 partition before flashing a new hero rom bc you will run into bootloops if you don't
My G1 is running AmonRA 1.7.0 recovery and I recently switched from OpenEclair to Cyanogen 5.0.8. But when I wiped to factory reset/data wipe and installed the new ROM, all the applications were still there from the earlier ROM. I wiped ext partitions, cache and everything. I even tried partioning the SD card through the recovery, but it still lingered there. Anyone know what the problem is?
RodrigoKim said:
My G1 is running AmonRA 1.7.0 recovery and I recently switched from OpenEclair to Cyanogen 5.0.8. But when I wiped to factory reset/data wipe and installed the new ROM, all the applications were still there from the earlier ROM. I wiped ext partitions, cache and everything. I even tried partioning the SD card through the recovery, but it still lingered there. Anyone know what the problem is?
Click to expand...
Click to collapse
Yep. You didn't wipe one of either the ext partition or the userdata partition.
Use cyanogens recovery that has a console... then you can check type the scripts with the hard keyboard and check your work...
To wipe the ext partition:
mount /system/sd
rm -rf /system/sd/*
To see what is on the ext:
ls system/sd
Does nobody use switchrom.sh anymore?
-------------------------------------
Sent via the XDA Tapatalk App
will try that, thanks.
usually i use the console, but the options in the 1.7.0 recovery looked convenient and thought it would do the same thing as the commands on the console.
if you have found that you have wiped all sections in the recovery and the apps still appear. try going into your privacy settings and unchecking the option to back up system data to servers, then do a wipe.
hey guys, i have a smiple question, I am running Cyanogen7rc2 with data2ext applied. Now if i wiped data and it formatted everything, and i format sd card and sd-ext, i get this "(bad) installition aborted" when ever i flash that rom. Can anyone explain this to me in greater detail?
1st what version are you running??? If your able to nand back to when you had data2ext working do so. 2nd if you wipe sd-ext more than likely you'll end up in a boot loop. Also if you just wipe everything and flashed the rom without flashing the data2ext zip right after you might receive that msg. After you restore a nand always reflash the data2ext zip. If your rom is functioning fine and you want to update to a new one. Reboot into recovery make a nand+ext backup then flash the data2ext zip and reboot. Then reboot back into recovery and to keep all of your data just wipe cache & dev-cache then flash the rom then the data2ext zip and reboot. If your rom is running fine and you wanna do a fresh install do the same process of making a nand+ext backup then reboot. Then go back into recovery and wiped data,cache,dev-cache. "Don't wipe sd-ext". Then flash the rom & right after flash the data2ext zip and reboot. You will have to setup the data2ext again threw terminal or adb. This is what I do no guarantee it will work for you if your running cwm but it should. The reason I say this is because I'm running data2ext ext2 gf's mod and I'm using Ra1.7. Hope this helps. Also you might want to redownload the rom as it might be a bad dl.
Root/Hack_Mod-Always*
laie1472 said:
1st what version are you running??? If your able to nand back to when you had data2ext working do so. 2nd if you wipe sd-ext more than likely you'll end up in a boot loop. Also if you just wipe everything and flashed the rom without flashing the data2ext zip right after you might receive that msg. After you restore a nand always reflash the data2ext zip. If your rom is functioning fine and you want to update to a new one. Reboot into recovery make a nand+ext backup then flash the data2ext zip and reboot. Then reboot back into recovery and to keep all of your data just wipe cache & dev-cache then flash the rom then the data2ext zip and reboot. If your rom is running fine and you wanna do a fresh install do the same process of making a nand+ext backup then reboot. Then go back into recovery and wiped data,cache,dev-cache. "Don't wipe sd-ext". Then flash the rom & right after flash the data2ext zip and reboot. You will have to setup the data2ext again threw terminal or adb. This is what I do no guarantee it will work for you if your running cwm but it should. The reason I say this is because I'm running data2ext ext2 gf's mod and I'm using Ra1.7. Hope this helps. Also you might want to redownload the rom as it might be a bad dl.
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
That was a ginormous explation! thanks!
Im running dataext4 v4.
So let me get this straight, if i wipe data data/factory reset it wipes the partion off the sd card, or no?
coffeehandle said:
That was a ginormous explation! thanks!
Im running dataext4 v4.
So let me get this straight, if i wipe data data/factory reset it wipes the partion off the sd card, or no?
Click to expand...
Click to collapse
Na not wipe it out as in making the partition disappear it just removes the link you had to it threw data2ext. Because you wiped all of the data from it. Your partition remains but the link is removed. Data2ext ext4 or ext2 wont carry over if you wipe data.
Root/Hack_Mod-Always*
You might want to consider data2ext ext2 "IMO" It performs better. I've read a lot of posts about users having problems with ext4. Its a know fact ext2 can cause data loss if you do a battery pull or improper shut down. But I've been using it for quite some time and I've done batter pulls galore and have lost no data just had to boot into recovery and wipe cache & dev-cache and reflash the data2ext zip and I was good. Also if your not s-off I recommend it when using data2ext and just in general.
Root/Hack_Mod-Always*
laie1472 said:
You might want to consider data2ext ext2 "IMO" It performs better. I've read a lot of posts about users having problems with ext4. Its a know fact ext2 can cause data loss if you do a battery pull or improper shut down. But I've been using it for quite some time and I've done batter pulls galore and have lost no data just had to boot into recovery and wipe cache & dev-cache and reflash the data2ext zip and I was good. Also if your not s-off I recommend it when using data2ext and just in general.
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
L I thought it was the other way around ext2 was the one that could lose data if you pulled battery
Yea I caught that and edited my post look up lol
Root/Hack_Mod-Always*
laie1472 said:
Yea I caught that and edited my post look up lol
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
You sly one lol,you get my pm?
Nope no go. Strange. I guess I have to figure out how to contact a admit. Never did it.
Root/Hack_Mod-Always*
laie1472 said:
Nope no go. Strange. I guess I have to figure out how to contact a admit. Never did it.
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
ok thanks ill do the data2ext2 and try that out.
So one last thing and im all good. the only way you can erase those partions is if you format the sd card, through a computer program?
ah man now im stuck, i nand back to a stock back up i had, then formatted my sd card through my computer
then went to recovery to flash CM7rc2 and i still get this (bad)installition aborted. do i need to re enable the data2ext in my stock rom, then flash CM7.
You can threw a computer program or threw your recovery.
Root/Hack_Mod-Always*
laie1472 said:
You can threw a computer program or threw your recovery.
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
did you read my edit? i did just that in my nand stock rom, and it did the same thing
coffeehandle said:
did you read my edit? i did just that in my nand stock rom, and it did the same thing
Click to expand...
Click to collapse
Backup all of your data.
After you format threw your pc then format it threw your recovery. Then re partition your sd to 1024 ext2 or 1024 ext4 0swap and the rest fat. Then place all of your data back on your sd. Then wipe data, cache,dev-cache and sd-ext. Then flash your rom of choice followed by the data2ext zip and reboot. When you reboot you will have to resetup data2ext threw terminal or adb.
Root/Hack_Mod-Always*
laie1472 said:
Backup all of your data.
After you format threw your pc then format it threw your recovery. Then re partition your sd to 1024 ext2 or 1024 ext4 0swap and the rest fat. Then place all of your data back on your sd. Then wipe data, cache,dev-cache and sd-ext. Then flash your rom of choice followed by the data2ext zip and reboot. When you reboot you will have to resetup data2ext threw terminal or adb.
Root/Hack_Mod-Always*
Click to expand...
Click to collapse
cheers to you man, hope this works. so as long as i dont run that command in adb it wont push the data over to the ext, though it is always partioned?
Yup your right. Even if you flash the data2ext zip it wont activate until you tell it to.
Root/Hack_Mod-Always*
Pardon my noob language, but thanks friend it got me up n running
A no prob. Glad you got it. If you need anything else just shoot me a pm.
Root/Hack_Mod-Always*
Hey my xda'ers. I apologize with the bombardment of questions i have recently, theyre all things i have looked into and couldnt find exactly what i needed.
Its an easy question for those who use data to ext.
I had to go back to my backup (stock rom) to update my prl. This was from CM7.03 with data2ext applied. In recovery i wiped data/fac reset., cache partion, format boot, cahche, data, system, and sd-ext (this part is what i might mis understood) But anyway. I did what i had to do then decided to flash an AOSP rom. So in recovery i did the exact same wipe as above. Flashed rom, gapps, and data2ext4 v4. I didnt partion my card cause i though it was already partioned from my CM rom when i did it then (correct?) so i booted in and ran all the commands i needed for data2ext4 and it didnt run down my internal memory. so i decided to partion my sd card (again) to see if that would fix, it did NOT.
So can anyone shed light on what i did wrong and if i need to format and start over!?
When you were running data2ext you were supposed to do a nand+ext backup first and then flashed the data2ext zip and then rebooted. Then you were supposed to boot back into recovery and only wipe data,cache & dev-cache and then flashed your sense rom of choice. After you updated pri/prl power down and reboot back into recovery and make a regular nand and reboot. Then boot back into recovery and wipe data,cache & dev-cache then restore your nand+ext you made and then flash the data2ext zip and reboot. When your running data2ext ext don't wipe the sd-ext it will more than likely result in bootloops and could make your nands useless. Also your partition you setup on your sd should still be there unless you reformatted your sd. So when you wiped the sd-ext you essentially wiped out your data2ext link. And as far as if you have to start over well you could try to restore your nand+ext if you made one and then flash the data2ext and reboot to see if it will. If not then yes. But when you get it all set back up just make a nand+ext backup and remember not to wipe the sd-ext.
Root/Hack-Mod_Always *
laie1472 said:
When you were running data2ext you were supposed to do a nand+ext backup first and then flashed the data2ext zip and then rebooted. Then you were supposed to boot back into recovery and only wipe data,cache & dev-cache and then flashed your sense rom of choice. After you updated pri/prl power down and reboot back into recovery and make a regular nand and reboot. Then boot back into recovery and wipe data,cache & dev-cache then restore your nand+ext you made and then flash the data2ext zip and reboot. When your running data2ext ext don't wipe the sd-ext it will more than likely result in bootloops and could make your nands useless. Also your partition you setup on your sd should still be there unless you reformatted your sd. So when you wiped the sd-ext you essentially wiped out your data2ext link.
Root/Hack-Mod_Always *
Click to expand...
Click to collapse
hahahaha freakin A dude.
Thanks for sticking this with me as i understand this better. Ill re format and starrt over, and do this right! Hey once i get a few extra bucks ill donate to you for your constant help with buligernet questions from me
Lol na man I don't do donations but thanks for the offer. I don't mind helping out my fellow xda member. If you need anything else just let me know.
Root/Hack-Mod_Always *
I appreciate it so much. god bless
Ha Now that's a thanks I'll be glad to accept. God bless you to man.
Root/Hack-Mod_Always *
Oh and you don't have to reformat your sd your partitions should still be there as long as you didn't reformat your sd. You can just flash a fresh copy of your rom and just resetup the data2ext mod. But remember to make a nan+ext backup. Also always remember when you do and nand+ext backup always flash the data2ext zip and reboot. Then go back into recovery and continue. Same with restoring a nan+ext always reflash the data2ext zip right after.
Root/Hack-Mod_Always *
im using CW 3.0.2.8 and it doesnt say nand+ext, so i assume you use RA?
But i also assume CW backs up the ex if it exsits?
Edit: also you say flash it then reboot, then go back into recovery.
When i reboot do i need to enable it while im there, or just simply boot and go back to recovery?
coffeehandle said:
im using CW 3.0.2.8 and it doesnt say nand+ext, so i assume you use RA?
But i also assume CW backs up the ex if it exsits?
Click to expand...
Click to collapse
yes, CWM automatically backs up ext.
Thanks Il Duce!
From which part are you flashing the data2ext zip from???? And my bad. I'm using Ra, I should have asked you what recovery you were using. The same applys. And thanks duce for the cwm info.
Root/Hack-Mod_Always *
From the rom i had enabled with? yes. Cause i dont know how to disable it haha
If you already have the mod enabled and you want to do a update the same applys. Roms, kernels,etc. And since cwm already backs up the ext, then after you do the nand just flash the zip and reboot. Same applys for an update for pri/prl. And to disable data2ext in terminal do this
Su
data2ext --disable
Root/Hack-Mod_Always *
Just wanted to know what happens when you format /system and /preload partitions.
Suppose you format /system from recovery. Can you boot into you ROM after that? Or is that where the ROM was?
dark_polok said:
Just wanted to know what happens when you format /system and /preload partitions.
Suppose you format /system from recovery. Can you boot into you ROM after that? Or is that where the ROM was?
Click to expand...
Click to collapse
If you format /system in recovery you blow away the ROM, definitely cannot boot after that. If you format /data as well, the only way you'll be able to recover is with an ADB sideload.
you_eeeeeediot said:
If you format /system in recovery you blow away the ROM, definitely cannot boot after that. If you format /data as well, the only way you'll be able to recover is with an ADB sideload.
Click to expand...
Click to collapse
Thanks.
What if I format /system + /data + cache and dalvik chache and then flash a custom rom right after that, without rebooting the phone in any way [meaning not rebooting into system or bootloader or recovery] that should be ok right? Coz I came from a S3 and that combination worked perfectly for it.
Also still have no idea what the /preload partition and formatting it does.
That's what I do when I update within a rom.
Wipe system, cache, dalvik. Flash rom, then wipe cache/dalvik again.
Just a habit after all the different recommendations from previous devs in the past.
dark_polok said:
Thanks.
What if I format /system + /data + cache and dalvik chache and then flash a custom rom right after that, without rebooting the phone in any way [meaning not rebooting into system or bootloader or recovery] that should be ok right? Coz I came from a S3 and that combination worked perfectly for it.
Also still have no idea what the /preload partition and formatting it does.
Click to expand...
Click to collapse
Yes you can wipe /system, /data and /cache and you're good to flash a ROM, no need to reboot back into recovery again. Dalvik-cache is located on /data, so no need to wipe dalvik when you're wiping data, it's redundant. There is no need to worry about wiping or formatting /preload in almost all situations, otherwise the ROM devs would be telling us to do it. Back in my Galaxy s3 days I remember some ROMs would wipe and flash /preload but I don't think it's a big deal on the One. If it needs to be done, the ROM installation script will handle it.
Most ROM installation scripts wipe /system so it usually isn't necessary to do it yourself. However I do it anyway just to insure a completely clean installation in case the dev's script is messed up (it does happen). Wiping /data is optional of course but it is recommended when changing the base version (for example, 4.1.2 to 4.2.2) or if you're anal like me you can wipe data when upgrading between HTC base versions (2.17 to 2.24 for instance). Some people don't ever wipe /data and don't have any problems, but I can guarantee many of the weird odd-ball issues on this forum could have been prevented with a full wipe.
erikikaz said:
That's what I do when I update within a rom.
Wipe system, cache, dalvik. Flash rom, then wipe cache/dalvik again.
Just a habit after all the different recommendations from previous devs in the past.
Click to expand...
Click to collapse
henrybravo said:
Yes you can wipe /system, /data and /cache and you're good to flash a ROM, no need to reboot back into recovery again. Dalvik-cache is located on /data, so no need to wipe dalvik when you're wiping data, it's redundant. There is no need to worry about wiping or formatting /preload in almost all situations, otherwise the ROM devs would be telling us to do it. Back in my Galaxy s3 days I remember some ROMs would wipe and flash /preload but I don't think it's a big deal on the One. If it needs to be done, the ROM installation script will handle it.
Most ROM installation scripts wipe /system so it usually isn't necessary to do it yourself. However I do it anyway just to insure a completely clean installation in case the dev's script is messed up (it does happen). Wiping /data is optional of course but it is recommended when changing the base version (for example, 4.1.2 to 4.2.2) or if you're anal like me you can wipe data when upgrading between HTC base versions (2.17 to 2.24 for instance). Some people don't ever wipe /data and don't have any problems, but I can guarantee many of the weird odd-ball issues on this forum could have been prevented with a full wipe.
Click to expand...
Click to collapse
Very helpful replies guys. Thanks =}