Can't erase dalvik - HTC Desire X

Hi guys.
I can't erase the davlik cache on my desire X.
TWRP says it "can't erase tha cache", and CWM puts me back into main menu, when i click "erase dalvik" in advanced.
I have problems installing roms.
Maybe this is the reason?

You can erase it manually.
Just
Code:
adb shell
rm -rf /data/dalvik-cache
through adb in recovery
Sent from my HTC Desire X using xda premium

Related

How do I do a full wipe?

Hi, I have a few question?
1. How do I do a full wipe without losing root? (I want my phone to be like when I bought it because now there is so many leftover folders from apps that I had installed and and uninstalled)
2. If I do a full wipe do I have to re-flash omega onto the phone or will omega still be installed?
3. Does titanium backup, backup all my pictures and music since they are in folders and titanium backup only backs up apps if im not mistaken?
Hi there
When you do a full wipe you will necessarily remove omega so yes, you will need to re-flash.
In order to do so you need to go to recovery mode(reachable via long press on power button) and choose wipe data/factory reset.
Titanium backup doesn't backup your sd card (music, photos, videos etc..) so you can just copy rhose to your pc.
But if you wipe data from recovery all your sd info will not be touched.
Huh? You just said wiping from recovery will wipe everything then said wiping from recovery won't touch sd..
Is there a way to wipe everything without losing custom rom?
Boot to CWM recovery and open a command shell via "adb shell" from your PC.
In CWM recovery, go to "Mounts and Storage" and select "Mount /data".
Then, in the shell on your PC, fire up these commands:
Code:
cd /data
rm -Rf *
sync
reboot
This will delete (=wipe) ALL your data, including everything on the internal storage (a.k.a. "internal SD card").
But all system / ROM related things will stay untouched, so when the phone boots up again you'll be greeted with initial setup and start over fresh.
If you have an external SD card you want to wipe too, just use the formatting option from the settings.
HellcatDroid said:
Boot to CWM recovery and open a command shell via "adb shell" from your PC.
In CWM recovery, go to "Mounts and Storage" and select "Mount /data".
Then, in the shell on your PC, fire up these commands:
Code:
cd /data
rm -Rf *
sync
reboot
This will delete (=wipe) ALL your data, including everything on the internal storage (a.k.a. "internal SD card").
But all system / ROM related things will stay untouched, so when the phone boots up again you'll be greeted with initial setup and start over fresh.
If you have an external SD card you want to wipe too, just use the formatting option from the settings.
Click to expand...
Click to collapse
I'm not familiar with shell and that stuff. If I go to cwm and go to mounts and storage and select format sd, will it do the same thing?
uf21 said:
I'm not familiar with shell and that stuff. If I go to cwm and go to mounts and storage and select format sd, will it do the same thing?
Click to expand...
Click to collapse
From my experience no - if it works at all (usually gives me errors) - but you can certainly try.
What if I press menu>settings>backup and reset>factory data reset?
Would that delete everything including the rom and root?
uf21 said:
What if I press menu>settings>backup and reset>factory data reset?
Would that delete everything including the rom and root?
Click to expand...
Click to collapse
It will delete all data and settings, but not necessariely the contents of the internal storage.
It will, however, leave the system untouched, only applies to the data, i.e. after the reboot you still got w/e ROM you have and it's still rooted.

Unable to Wipe Data -- Now What? (Am I bricked?)

So my phone was acting wonky, and after a reboott, it was stuck at the CyanogenMod splash screen. I decided I would just reflash ROM, but I can't wipe/factory reset the phone because it will just reboot while at the "Formatting Data" stage. Tried just reinstalling the ROM but no luck either. Still stuck at loading screen. Is my phone bricked?
Rooted, S-ON, CounterShrike ROM.
Is data and system mounted in recovery?
Sent from my ADR6425LVW using xda app-developers app
ryryrocco said:
Is data and system mounted in recovery?
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
So under Mounts in Recovery, it should say "Mount /system" and "Mount /data" then correct? Or should it say unmount?
I can wipe /cache, Dalvik-cache, /system, but I can't wipe /data for some reason.
Junetastic said:
So under Mounts in Recovery, it should say "Mount /system" and "Mount /data" then correct? Or should it say unmount?
I can wipe /cache, Dalvik-cache, /system, but I can't wipe /data for some reason.
Click to expand...
Click to collapse
Just formatted to ext3 and reinstalled. Working again.

megawipe

How can I megawipe my dna?
All of which will wipe the internal sdcard (/data/media/* )
Reboot to bootloader and select the factory reset option or
Code:
adb reboot bootloader
fastboot -w
It erases user data and cache (including /data/media/* )
And/or use the RUU
Sent from my Nexus 7 using XDA Premium HD app

[Q] Securely wipe device using fastboot

Hello everyone,
I need to securely wipe any personal data on my phone and tablet.
On my Linux notebook I just zero the whole disk one or two times and reinstall the OS, with my Android devices it's a little bit more complicated.
Is there a way to securely wipe all my data, for example using fastboot?
Isn't there anything comparable to the good old
Code:
dd if=/dev/zero of=/dev/sdX
so that I can simply flash a new Android OS afterwards? Or at least for the data and cache partitions so that I just keep the OS
A method that definitely works is to just write a file to the data and cache partitions until there is no space left, but I wondered whether there is a "cleaner" solution?
Thanks for your help
timediv said:
Hello everyone,
I need to securely wipe any personal data on my phone and tablet.
On my Linux notebook I just zero the whole disk one or two times and reinstall the OS, with my Android devices it's a little bit more complicated.
Is there a way to securely wipe all my data, for example using fastboot?
Isn't there anything comparable to the good old
Code:
dd if=/dev/zero of=/dev/sdX
so that I can simply flash a new Android OS afterwards? Or at least for the data and cache partitions so that I just keep the OS
A method that definitely works is to just write a file to the data and cache partitions until there is no space left, but I wondered whether there is a "cleaner" solution?
Thanks for your help
Click to expand...
Click to collapse
A method for wiping all your data and the associated cache partitions using fastboot while still keeping your OS can be accomplished by running the following fastboot commands:
Code:
fastboot erase cache
fastboot erase userdata
After you run those commands you will have wiped your cache and data partitions. Let me know if you still have questions.
shimp208 said:
A method for wiping all your data and the associated cache partitions using fastboot while still keeping your OS can be accomplished by running the following fastboot commands:
Code:
fastboot erase cache
fastboot erase userdata
Click to expand...
Click to collapse
Are you sure that erase not just declares the partition as erased but leaves the actual data untouched?
Another thing I thought about was this method, but I have no idea whether it works and is safe to perform.
Code:
fastboot flash cache /dev/zero
fastboot flash userdata /dev/zero
timediv said:
Are you sure that erase not just declares the partition as erased but leaves the actual data untouched?
Another thing I thought about was this method, but I have no idea whether it works and is safe to perform.
Code:
fastboot flash cache /dev/zero
fastboot flash userdata /dev/zero
Click to expand...
Click to collapse
Since it's fastboot and the bootloader it truly erases the declared partition not just marking it as erase and leaving things untouched. The commands you listed wouldn't work as that's not proper fastboot syntax or how fastboot commands are structured.
Try this guide to sideload the official ota. http://www.gizbot.com/mobile/featur...oneplus-3-official-android-nougat-037189.html

[Q] No ADB from Recovery, hesitant to wipe /data

I currently have CM10.2 on my DNA. I had soft-bricked my phone previously and recovered it using RUU; from there I did the CM10.2 install.
I'd like to wipe my /data partition then push what's necessary to install CM11M8 because of the way it divides up the profiles, but I can't ADB from recovery even after trying the numerous driver fixes that have been mentioned in the forum (naked drivers, etc).
If I wipe /data, there's no OS to boot into and I can no longer ADB to push the files. What are my options?
Wiping data should not wipe out the OS.
You should just be able to put the file on internal storage, wipe and flash cm11.
Not sure I understand the dilemma.
santod040 said:
Wiping data should not wipe out the OS.
You should just be able to put the file on internal storage, wipe and flash cm11.
Not sure I understand the dilemma.
Click to expand...
Click to collapse
When I do "Format /Data" it wiped the OS. Am I missing something? Or am I only supposed to do "Wipe Data/Factory Reset?"

Categories

Resources