[Q] Full Wipe Equivalent - One (M7) Q&A, Help & Troubleshooting

Hey coming from the nexus s 4g, there was a way where you can get similar to that of doing a full wipe while keeping your data. All you did was wipe system, cache, and dalvik cache. You kept the data for apps/settings, and this worked whenever you upgraded or changed to any rom. Not sure how the file system is setup for htc one but can you do the same thing on this device?
also I've seen that there's lots of ways to access the internal sd card (/sdcard folder, /storage/sdcard0 folder, /storage/emulated/0 folder)... what's the difference between these?

Related

[Q] manage applications stuck in 'computing' help please

Captivate, build 1007, current rom cognition
I've gone back to stock with odin, things look normal, but when i root and flash back to a rom [cognition] i am unable to add few, if any apps. manage applications has any apps in this "computing" mode that never changes
when i try to wipe Dalvic cache, it appears to wipe, but "E: can't/ mount/ dev/ block/ mmcblk1p2 (file exists)" Does that mean i'm not really wiping dalvic ?
I've also wiped partition cache, formated system, data and cache, should i format sdcard?
I have several apps in TiBu, can i copy that folder back to the sd card if i format the sd card?
I've also also wiped data/factory reset ed from both CW recovery as well as in android.
This question has come up in other areas but with either no answers or to delete cache from market, which of i cannot do when it's 'computing'
Any thoughts or assistance will be appreciated
thanks
I'd imagine that you already found a solution to your issue, being that it was posted a while ago. I wanted to post what worked for me, with the same issue. Look in your SD card for a folder called .android_secure. There you will find all your downloaded apps, delete all the apps with a -2 in the extention. They are duplicate apps that have been stored. Once I deleted all thos it worked for me!

[Q] how to clean '/' after multiple flashings

How do I "clean" my phone after flashing different roms. I explored the contents of the root directory ('/') and I could find the files/directories which I suspect are from earlier roms that I had used.
I thought flashing stock rom through ODIN would delete everything related to previous rom but looks like that is not the case. Should I use reparttition option in ODIN with pit file to achieve this ?
What i do when i get to this point is copy everything off internal sd card onto a folder on my pc and format internal sd card. Then do all the normal clear data, cache, dalvik, init'd and ns tools and finally flash new rom...
Sent from my GT-P7500 using Tapatalk 2
You'll want to go into CWM prior to flashing and format /system as well as 'wipe data/factory reset' (this will format the rest). Optionally you can format the sdcard, but with the above you'll have a clean system.
scubadude said:
What i do when i get to this point is copy everything off internal sd card onto a folder on my pc and format internal sd card. Then do all the normal clear data, cache, dalvik, init'd and ns tools and finally flash new rom...
Sent from my GT-P7500 using Tapatalk 2
Click to expand...
Click to collapse
I understand sd card formatting & WIPE (data, cache & dalvik). But what exactly is init'd and ns tools ? how do I do this ?
upichie said:
You'll want to go into CWM prior to flashing and format /system as well as 'wipe data/factory reset' (this will format the rest). Optionally you can format the sdcard, but with the above you'll have a clean system.
Click to expand...
Click to collapse
Thanks..I believe format /system will format /system (i.e. cleaning up system directory in root '/'). Does it mean that I don't have any other leftover in the root directory ( '/') ? Every thing that a rom & kernels install will be wiped after formatting /system ?
If you don't format sd card you still going to have those left over folders and files from various roms and programmes you have installed and removed. This stuff isn't necessary to remove but thought that is what you were asking about.
Sent from my GT-P7500 using Tapatalk 2
scubadude said:
If you don't format sd card you still going to have those left over folders and files from various roms and programmes you have installed and removed. This stuff isn't necessary to remove but thought that is what you were asking about.
Sent from my GT-P7500 using Tapatalk 2
Click to expand...
Click to collapse
Essentially, /sdcard is the only thing you don't need to format. Apps store files here, but they aren't within the system and won't affect performance if they're left over. You can manually delete them if you no longer have the app, or you can backup things to keep and then format it as well.
Otherwise, you'll want to format everything (except for boot).
Init.d is a folder which contains scripts that run at boot. Wiping this prevents problems that may occur from leftover scripts. NSTools is an app that has settings that run at boot, such as overclocking, undervolting, etc. It is also advised to wipe these settings as to avoid conflicts when flashing new kernels, ROMs, etc.
But formatting /system and wiping data/factory reset (which formats the rest of the Androids operating system) will allow you to have a clean install of any ROM. The leftover app files on /sdcard are negligible and can be deleted.

[Q] Complete Superwipe?

Howdy.
I was wondering what's the correct procedure to do a complete, total data wipe of the phone.
When I do a full wipe, cache wipe and a dalvik wipe, all the data still stays intact on the phone. I want to start anew.
Also, if possible, I'd like to fix the external_sd bit so it's actually the sd card and not some directory on the phone (if I recall this was a JB "upgrade"?)
I am currently on a PhilZ Touch Kernel running LSC.
Thank you!
Domen Lo said:
Howdy.
I was wondering what's the correct procedure to do a complete, total data wipe of the phone.
When I do a full wipe, cache wipe and a dalvik wipe, all the data still stays intact on the phone. I want to start anew.
Also, if possible, I'd like to fix the external_sd bit so it's actually the sd card and not some directory on the phone (if I recall this was a JB "upgrade"?)
I am currently on a PhilZ Touch Kernel running LSC.
Thank you!
Click to expand...
Click to collapse
when I want do a full wipe, and start from scratch with new custom rom I do the following:
-make sure that you are on safe kernel (which you probably are)
-make sure that your new rom.zip is on the external sd card (because you will format your internal sd)
-backup your pictures, music etc... from internal sd
-reboot recovery
-wipe dalvik cache, wipe cache, wipe data,
-then go to mounts and storage and format: cache, data, system, preload, emmc(is your internal sd card, first do backup of important stuff), and that is enough, be careful to not format external sd (where is your rom)
-thats enough wiping
-install rom.zip from external sd,
i hope that helped
i dont know what you mean by external_sd is directory on the phone (maybe because of folder icon in stock file explorer "my files"). Can you describe it little bit more
Najlepsa hvala
Looks like the sd issue got fixed with the new rom as well. Awesome.

[Q] Install New Rom Without Deleting Photos,Video & Music?

I AAlready Rooted My Phone HTC One but Wanted to know. If There is a possible Way to install a New Rom without Deleting My internal Pictures Videos & Music What are Some Options?
cornell said:
I AAlready Rooted My Phone HTC One but Wanted to know. If There is a possible Way to install a New Rom without Deleting My internal Pictures Videos & Music What are Some Options?
Click to expand...
Click to collapse
The best option I have found is to use the Superwipe Script. It does a full wipe and optimizes your system for a ROM flash. It does not touch your internal SD card.
http://forum.xda-developers.com/showthread.php?t=1762712
cornell said:
I AAlready Rooted My Phone HTC One but Wanted to know. If There is a possible Way to install a New Rom without Deleting My internal Pictures Videos & Music What are Some Options?
Click to expand...
Click to collapse
Your pics,videos,music are not erased when you flash a rom
Yes, ...
what recovery are you using?
If its twrp
Wipe
This section is dedicated to wiping all standard partitions on your Android device. By default, TWRP offers you to perform a full factory reset upon hitting Wipe, since it’s the most common form of wipe operation that most users need in recovery. This will wipe all your user data from the phone, including your installed apps, cache, and dalvik cache. This will not effect the internal or SD card storage area of your phone, meaning your documents, downloads, pictures, music, videos and other files will stay safe.
If you would rather want to wipe EVERYTHING including the aforementioned data, tap ‘Format Data’. This will wipe all your apps, backups, downloads, pictures, videos and media, and will also remove encryption on your internal storage, if you have applied it, essentially leaving nothing but the operating system itself on the device, in a complete factory state.
If you want to be more specific about the partitions you want to wipe, hit ‘Advanced Wipe’ instead. You can then select one or more common partitions to wipe specifically, leaving the rest untouched. The partitions available for wiping include system (where your operating system is stored), data, cache, Dalvik cache, and usb-otg in case of our Nexus 4, but may (or may not) include other partitions as well. Just remember – if you are unsure of whether to wipe a partition or not, NEVER touch it, especially if it’s the system partition. If you are following instructions provided somewhere, wipe only the partitions that the instructions clearly specify to wipe, and leave the rest untouched. Otherwise, you might be stuck with a device with no operating system installed, or lose all your data stored on the device.
http://www.addictivetips.com/android/what-is-twrp-how-to-install-use-it-on-android-devices-guide/
boy did I come last to this party. You guys are quick!

TWRP 3 for droid turbo

OK other phone I had has external SD card. When I wiped data it wiped internal SD completely. Since turbo has no external SD, will it wipe completely or just Android file data and preserve other files on internal SD. If it does wipe internal SD completely how would you flash ROM? Thanks for any advice.
newbe1droidx said:
OK other phone I had has external SD card. When I wiped data it wiped internal SD completely. Since turbo has no external SD, will it wipe completely or just Android file data and preserve other files on internal SD. If it does wipe internal SD completely how would you flash ROM? Thanks for any advice.
Click to expand...
Click to collapse
That depends on what kind of wipe you do. If you do a factory reset in TWRP, it will not wipe your user data (downloads, music, everything else in /data/media/0 or /sdcard). However, if you select Format Data, or you pick Internal Storage in the advanced wipe menu, all of your user data will be wiped. Usually, a factory reset is all you need after flashing roms, so you don't have to worry about losing photos/music/etc.
Great thanks for the fast reply. OK other phone was sgs3. Sometimes when flashing and then running new ROM it seemed the settings stayed the same as previous ROM. Devs would have you format data for clean install. How would that work on this droid turbo?
I also wiped data and it wiped my internal storage. I thought maybe I had wiped internal storage accidentally or did something else wrong but this leads me to believe I didn't do anything wrong. Back to the previous version that worked for us? (I think it was 2.8.7)
Edit: I just read that choosing to format data will also format internal storage, but a factory reset which "wipes data" does not touch the internal storage. This is a little confusing if you aren't familiar with how everything is partitioned. Is internal storage actually on the data partition?
Sent from my XT1254 using Tapatalk
If I have the ROM and gapps on internal SD and format data I loose ROM and gapps right? Then how would you install ROM? Second if I delete Android file on internal SD would that make it a clean install? But other files would still remain. Just trying to understand so I don't brick or can't get ROM on. Thanks
SpyderPride said:
I also wiped data and it wiped my internal storage. I thought maybe I had wiped internal storage accidentally or did something else wrong but this leads me to believe I didn't do anything wrong. Back to the previous version that worked for us? (I think it was 2.8.7)
Edit: I just read that choosing to format data will also format internal storage, but a factory reset which "wipes data" does not touch the internal storage. This is a little confusing if you aren't familiar with how everything is partitioned. Is internal storage actually on the data partition?
Sent from my XT1254 using Tapatalk
Click to expand...
Click to collapse
Yes, the internal storage is on the data partition. When you do a factory reset with TWRP and you read the script as it executes, it says something like "wiping /data without wiping /data/media." Doing the factory reset wipes everything on /data except /data/media, which is where your user data lives. So what gets wiped is all of the user apps and the data generated by the system apps, but your user data is preserved.
It makes sense that wiping data would wipe everything. I think having separate boxes for data and internal storage is to account for someone who might install an older version of android that is partitioned differently. I can't remember when the change happened, but at one point, the user data and app data were kept on separate partitions. I think that user data lived on /sdcard and apps lived on /data. That's why you see the /sdcard folder as a symlink when you go exploring with a root browser. It's symlinked to /data/media/0 to maintain backwards compatibility with older apps that are expecting /sdcard to exist.
Thanks st33v. My last phone had a /sdcard partition separate from /data so I think that is where the misperception came from. It also had /sdcard2, which was an actual SD card.
Sent from my XT1254 using Tapatalk
Yep my thinking too. You guys are great! Cleared it up.
If you wipe all your files simply use twrp and connect it to the PC. You can drag the files over for flashing.
mrkhigh said:
If you wipe all your files simply use twrp and connect it to the PC. You can drag the files over for flashing.
Click to expand...
Click to collapse
Awesome I was wondering if you could do that...

Categories

Resources