[Tool][Port][Blackhole Nullifier & Wipe][1.5a][6.3.12] Discontinued - Acer Iconia Tab A100

I've been working on this port for personal use, but I figured others may find this useful.
What is it?
It's a script flashed through recovery, same as when you flash a ROM, that wipes for you in one simple step!
What does it do? (Wipe)
Depending on which version you choose, it calls on mke2fs and e2fsk to format /cache /data /system, then check the partition afterwards.
It will wipe /cache for the cache only, or system, cache and data for the full wipe. It does not do the external SD card, but it WILL FORMAT INTERNAL SD!
What does it do?(Nullify)
Same as the wipe, however this first calls on DD to zero out the partition, leaving NO DATA behind. Its a full overwrite of all data in the partition, with no way to salvage after running. The chances of anyone being able to recover any data after this is run is pretty slim outside of extreme power users and like..the CIA or something. Even then the data would be so corrupted I doubt anything usable could be rebuilt. Best used when bugs come up regardless of wiping multiple times, or prepping the tab for sale, no personal data can be retrieved from the internal SD.
How do I use it?
This is assuming you run a custom recovery!
System Wipe:
Reboot into recovery (this has been tested on my personal device with CWM and TWRP).
Make a full backup.
Install from SD, pick the system wipe zip.
Install the zip.
Wait a bit, it should take a minute for full wipe.
You can either restore a backup or flash a new ROM zip.
OPTIONAL: Fix permissions
Reboot system
NOTE even on a restore first boot will take longer then normal.
Cache Wipe:
Reboot into recovery.
Make a full backup, just in case.
Install from SD, pick Cache Wipe zip.
It'll take a second.
OPTIONAL: Fix permissions
Reboot system
NOTE boot will take a little longer then normal.
Nullifier:
Make sure you have at LEAST 50% battery or are plugged in.
Copy all information and files you want to save from Internal SD to PC or external SD card (the slot one).
Reboot into recovery.
Make a nandroid backup.
Install zip from SD, pick the nullifier zip you want to run.
Cache nullify takes about 9 minutes, full system takes about 35-40.
Check if you can mount /system /data and /cache, if you can, proceed, if not, reboot recovery (recovery not system!)
Install from zip, pick your ROM zip, or restore a nandroid.
Reboot system, and do whatever the DEV suggests.
NOTE Boot will take longer then usual.
What's this ported from?
This is based on work by Volk's Nullifier script for the G2x, and based directly on the Hellfire Nullifier. It's no longer really even close, but the concept and work is still based on their work.
What does each version do?
Cache Wipe: Formats /cache and deletes /data/dalvik-cache.
System Wipe: Formats /cache /system and /data. Recovery mounts INTERNAL SD to /data/media, so THIS DELETES INTERNAL SD!
Please backup your INTERNAL SD before running this or you will lose everything on it!
Cache Nullify: Nullifies /cache and deletes Dalvik-cache.
System Nullify: Nullifies /cache /data /system. THIS DELETES INTERNAL SD!
Cache Wipe\Nullify is meant for cleaning up when things get buggy.
System Wipe is meant to format everything for a new rom install or nandroid backup restore. The recovery will remove directories around /media, not format, this will format /data completely in preparation for new data.
System Nullify is meant to destroy all data in /system /cache /data, including your internal SD, by zeroing out the partitions. In other words, writes 0s from start to end.
Who should we thank?
Volk, who created the initial concept and script Nullifier, which this is based roughly on.
x0hell0x who ported it to the Hellfire Kindle Series, which this is based directly on.
da-pharoah, who helped me through the process and dealing with different device IDs in different recoveries. If it weren't for him I'd have given up and made seperate zips for each recovery.
What's coming up?
Right now I think this is complete! I'm unsure of how it handles CWM, so I may need to create CWM versions.
Things to note! READ THIS!
This is intended to run on the Acer Iconia Tab A100 ONLY! I have not set this up to run on any other device, and doing so may result in a brick! This wipes partitions, and could wipe boot, recovery, or any number of other partitions if run on a different device!
This was created and tested on my personal device using TWRP recovery! Using any other recovery may or may not prevent the script from running correctly! System wipe\nullify erases internal SD please backup data and ensure your ROMs and Nandroids are stored on EXTERNAL SD CARD!
The wipes are meant for every flash, the nullifiers are NOT meant for every flash! They are meant for changes from one ROM to another rom, or every few flashes, say 10. Otherwise use manual wipes or my wipe scripts!
Porting:
I'll consider porting to other devices if I have time, please PM me if interested.
I am not responsible for any damage that may occur from use of this script! If you choose to use this, that is your choice. As with anything else, flashing can cause problems including data loss, hair loss, bricking, brick laying, and magical fairies cracking your screen.
Changelog:
5.25.12 v0.1
Initial attempt at porting over, full of fail.
5.26.12 V1.0
Wipe Cache only version completed and successfully run on my device in CWM and TWRP.
5.27.12 V1.0a
Minor changes to the script for cache only version.
5.28.12 V1.1
More changes, changed handling of device ID from recovery to handle both types of recovery reporting (thanks da-pharoah)
Adjusted the status bar indicator to better reflect where in the operation the script is (thanks da-pharoah)
5.30.12 V1.1a
Created post, minor clean up of spelling errors.
5.30.12 V1.3
System Wipe finished after some major changes to command arguments. Cache wipe getting updated as well to 1.3 with a fix to rm argument.
6.1.12 V1.4
Cleaned up an error with the cache being formatted and throwing errors. Updated and cleaned up Cache Nullifier, all scripts updated to 1.4.
6.1.12 V1.5a
I made a mistake and updated the wrong script versions, resulting in nothing being formatted due to the system not unmounting before carrying on with the script. My apologies, I hadn't noticed the issue until I attempted to use it today for a rom install. For now, use only 1.5a versions, updating them all now with the fix. Slight changes to output to help see what it's saying. Working on getting the status bar timing correct.
6.3.12 V1.5a Final
Rechecked each script, and should ALL now be FULLY working in TWRP. CWM may or may not handle the script correctly, if you run into issues like it not working, send me a PM or Email with /cache/recovery/last_log and if there dmesg. System Nullifier added finally!
Please bear with me, I'm finishing my High School course and only have limited time on any given day, and it mostly goes to schoolwork, I will update when I can, and I really hope to have the full wipe completed within a few days. Nullifier may take longer as I'm not sure why DD hangs.
Downloads: These are on my drop box for now, it's small so it shouldn't cause issues.
Blackhole System Wipe 1.5a A100
Blackhole Cache Wipe 1.5a A100
Blackhole Cache Nullifier 1.5a A100
Blackhole System Nullifier 1.5a A100

does this actually "wipe" data so that is can not be recovered? or just erase it?

joeyjojojjjjjj said:
does this actually "wipe" data so that is can not be recovered? or just erase it?
Click to expand...
Click to collapse
Right now all it does is format, or wipe, with mke2fs to whatever FS that partition uses, EXT4 or EXT3. Its not much different from using CWM wipe/format commands, just does it all for you. Once I figure out why DD hangs, it will then Nullify the partitions, complete and utter destruction of data by overwriting the partitions with 0s, leaving no traces behind at all. I'm currently hammering out the full system wipe script, which will do /cache /system /data and /data/dalvik-cache, the /cache/dalvik is done when /cache is formatted. The problem I ran into is for some strange reason, internal SD is mounted to /data/media in recovery, meaning formatting /data directly will erase the internal SD card as well. The recovery gets around this by deleting directories around it, but never formats it, which IMO can lead to issues and bugs down the line. I have only 1 method of dealing with this, and that's moving /data/media to the external SD card (SDC), formatting (or nullifying) then moving it back. As this can mean moving up to 8 GB, its not a liable method as it will take a LONG time to move it there and back.
I'm hoping to have the first full system wipe available tonight, however it WILL erase the internal SD, this is only to be used if you don't care what's there, or are having alot of bugs, and copy your stuff off before running. I can't test it since the wife is using the tab now, and I'm not gonna put it online without testing it first.
TL;DNR: It just erases it.

Updates
1.4 versions are up.
Now includes Cache only Nullifier! This is the wiping that I think joeyjojojjjjjj was looking for. Unrecoverable data destruction. Currently DDs /cache, then formats and checks, then deletes dalvik-cache. Overwrites the partition with 0s from beginning to end, leaving nothing but ZERO behind, hence blackhole nullifier.
Hoping to finish up System Nullifier tonight some time.

1.5a Final is done
Scripts are now up to 1.5a Final. The zips are still labeled as 1.5a but they are all updated. Added system nullifier! Please use caution with the wipes and nullifiers, and ensure internal SD is backed up and your nandroids and roms are stored on external SD card before using!
Tested working on TWRP Recovery, YMMV on CWM recoveries.

pio_masaki said:
Scripts are now up to 1.5a Final. The zips are still labeled as 1.5a but they are all updated. Added system nullifier! Please use caution with the wipes and nullifiers, and ensure internal SD is backed up and your nandroids and roms are stored on external SD card before using!
Tested working on TWRP Recovery, YMMV on CWM recoveries.
Click to expand...
Click to collapse
So I finally came upon this thread! Well done bro! Great work and keep it up! makes me wish I had an a100 just to test it

da-pharoah said:
So I finally came upon this thread! Well done bro! Great work and keep it up! makes me wish I had an a100 just to test it
Click to expand...
Click to collapse
It works lol it's based on your work after all

pio_masaki said:
It works lol it's based on your work after all
Click to expand...
Click to collapse
Lol I know but still u got it rockin for the a100 so that's what I meant..
Sent from my LG-P999 using xda premium

Wipes with Crossix Memory Swap?
I am using the Crossix memory swap.
If I use the system wipe script, will it erase the data on my *actual* internal sd (i.e the 5gb partition that I largely don't use). Or will it erase the data on my *tricked* internal (my 32gb microsd card)?
Thanks, I can't wait to try this stuff out!

conorkickass said:
I am using the Crossix memory swap.
If I use the system wipe script, will it erase the data on my *actual* internal sd (i.e the 5gb partition that I largely don't use). Or will it erase the data on my *tricked* internal (my 32gb microsd card)?
Thanks, I can't wait to try this stuff out!
Click to expand...
Click to collapse
Internal SD only. It will never touch your external SD card. And the reason is....
The crossix mount swap is only active when android runs from /system. This is run from recovery, so any system mods don't affect anything running in recovery.
So you're safe, only the included internal SD is wiped, regardless of crossix's mount swap.
Tapatalked from my Galaxy S II.

This is sick. Nice work.
Sent from my SGH-I777 using xda premium

could you make a port of the babsector utility ? A lot of bricks can come back to live with i believe
http://forum.xda-developers.com/showthread.php?t=1624645

Presko said:
could you make a port of the babsector utility ? A lot of bricks can come back to live with i believe
http://forum.xda-developers.com/showthread.php?t=1624645
Click to expand...
Click to collapse
This has nothing to do with these tools lol.
Anyways I can port it but its useless without the sbk, so not really a point until Acer releases it.
Sent from my Nexus 7 using Tapatalk 2

Excuse me but after a couple of days reading about this problem , what is sbk ?
What ever it is , I doubt that they are going to release even a windows 8 driver for this tablet
Btw I have contacted the Russian author via 4pda and he says to give a straight shot and to send him a screen shot
Tomorrow at work will have time to try
Is there something specific to put in the start command at prima vista ?

Presko said:
Excuse me but after a couple of days reading about this problem , what is sbk ?
What ever it is , I doubt that they are going to release even a windows 8 driver for this tablet
Click to expand...
Click to collapse
Its the encryption key for the boot loader, specifically to use nvflash in apx mode. Its covered in the brick thread.
Sent from my Galaxy Nexus using Tapatalk 2

pio_masaki said:
Its the encryption key for the boot loader, specifically to use nvflash in apx mode. Its covered in the brick thread.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
well that's a chance to ps my post while you aswer it
btw is there a petition or something that I can contribute with ?

Presko said:
well that's a chance to ps my post while you aswer it
Click to expand...
Click to collapse
Huh?
Sent from my Galaxy Nexus using Tapatalk 2

pio_masaki said:
Huh?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
not again I will stop editing previous posts

Presko said:
not again I will stop editing previous posts
Click to expand...
Click to collapse
Oh OK I didn't see the edits.
Anything using nvflash or apx mode needs the sbk, no way around it. It may yet be cracked like the a500s, but so far no.
Sent from my Galaxy Nexus using Tapatalk 2

Related

caulkins

hey guys youve all been great and helful, thanks...was wondering what caulkins format all is, what it does and is it just rom specific. meaning konis elite 3 says to flash it first, if i wanted to flash a different rom say myns or something will the c. format all interfer? thanks again
justintammy said:
hey guys youve all been great and helful, thanks...was wondering what caulkins format all is, what it does and is it just rom specific. meaning konis elite 3 says to flash it first, if i wanted to flash a different rom say myns or something will the c. format all interfer? thanks again
Click to expand...
Click to collapse
It is a flash that write all data and cache it us good to flash when going between roms and if you are having force close issues. When using it erases all your data witch means all your apps aswell
Sent from my unrEVOked using xda app
roscoenr said:
It is a flash that write all data and cache it us good to flash when going between roms and if you are having force close issues. When using it erases all your data witch means all your apps aswell
Sent from my unrEVOked using xda app
Click to expand...
Click to collapse
Well said! Thought I'd add: Use it in conjunction with your usual wipes. It's meant as an extra piece of protection against problems NOT as a replacement to your usual wipes.
blakeboys said:
Well said! Thought I'd add: Use it in conjunction with your usual wipes. It's meant as an extra piece of protection against problems NOT as a replacement to your usual wipes.
Click to expand...
Click to collapse
Yeah meant to out that but spaces thanks
Sent from my unrEVOked using xda app
Couple of things to add to the folks above:
1) It won't work on ClockworkMod Recovery 3.0 since it's an Amend script (update-script). Amon_RA 2.3 and below, and ClockworkMod 2.x both support amend and edify (updater-script and update-binary), so it will work for them.
2) Isn't needed on ClockworkMod Recovery 3.0 or Amon_RA Recovery 2.3 since each have the options to wipe all your partitions (albeit you have to wipe each partition separately. I personally nagged Amon_RA to put in the wipe /boot and wipe /system options).
3) It wipes everything on the phone's internal storage except the WiMAX partition (which would be incredibly stupid since it would wipe out everyone's WiMAX radio and keys!). What it really does is format /system (your ROM and system apps), /cache (the kernel and ROM's cache), /data (your apps, settings, app data, etc.), and dalvik-cache (which is usually on /data or /cache, and is the cache for the Dalvik VM; the thing that runs apps).
4) Your SD card, .android_secure (on the SD card, this is where apps that have been moved to the card via the Applications settings in Froyo or Gingerbread), and sd-ext (old style of moving apps and cache to the SD card WHICH SHOULD NEVER BE USED ANYMORE) partitions are left alone. THEY WILL NOT BE WIPED. So if you have any apps on your SD card (for example, all the Angry Birds games install to SD by default), you will have to wipe them manually.
thank you guys!
If you open up the zip and look at the update-script file, the following commands are listed in it
Code:
show_progress 0.1 0
format BOOT:
format CACHE:
format DATA:
format SYSTEM:
show_progress 0.1 10
To anyone with half a functioning brain cell, it should be obvious what each line does.
Post #5 says it well. The only thing I'd add is there really is little reason to do both wipe and this (esp with ra recovery 2.3). If you do the factory wipe option (first on the wipe menu), that will clear both the cache and data partitions. And since the data partition is already formatted, doing an addition wipe dalvik cache is really not necessary.
To the OP: Please use a more descriptive subject in the future. Almost passed this thread over because of it.

what exactly gets wiped when i wipe data?

Hello everyone,
after more then 2 years with my trusted N1 i finally had to move to a new phone because i broke the screen of my old one.
having the GN now for allmost a week, and within the first few hours of owning the device it got 3 OTA updates and is now at 4.1.1. i am quite happy with it but 2 days ago i startet messing around wiht it. so i ulocked the boodloader and rooted and got myself franco kernel on the GN.
as expected everything worked fine.
today i wantet to give some 3th party roms a try. i tried installing MIUI and euroskanks cm10. both with rom manager.
but on each of them i got in a bootloop after flashing, just showing the franco kernel boot animation.
i flashed both roms without wiping the data (just the cache)
i suspect that is my problem.
i am a little bit scared about the wipe data option for flashing new roms. on my N1 it worked fine since all my files on the sd card where not touched and i could get started allmost immediantly.
unlocking the bootloader of the GN wiped everything out off my phone and i had to copy it all back from a backup.
if i choose wipe data will that also (again) wipe my complete device or just the "OS part" and leave my data alone?
if it wipes everything how do i avoid having to make a backup of my data and restore it afterwards after each and every rom i flash?
i have noted the mnt/sdcard folder on my GN that (apparently) just links back to the root of the memory. what is the puropse of this folder? just to be compatible with "old" apps that insist on writing files to the SD-card or something else?
thanks for the info
no data from sdcard gets removed.
its basically a "NON REMOVABLE sdcard"... think of it that way.
patlabor said:
Hello everyone,
if i choose wipe data will that also(again) wipe my complete device or just the "OS part" and leave my data alone?
if it wipes everything how do i avoid having to make a backup of my data and restore it afterwards after each and every rom i flash?
i have noted the mnt/sdcard folder on my GN that (apparently) just links back to the root of the memory. what is the puropse of this folder? just to be compatible with "old" apps that insist on writing files to the SD-card or something else?
thanks for the info
Click to expand...
Click to collapse
1. It will wipe your "OS part" + apps. Will leave data in "sdcard" alone. Factory Wipe clears the virtual "sdcard"
2. Can't be avoided, I use Wugfresh's toolkit to make app backups a breeze. Takes a little more time than it used to when I had my OG Droid with a EXT partition but hey, at least you'll always have a current backup of your apps.
3. Yes. It'd actually be less obvious it's still called /sdcard/ if you weren't rooted and poking around . I believe JB switches this to sdcard0 now to account for devices that have external sdcards to be mounted as /sdcard1 and so on.
Ok, I guess I get it.
Just one more thing to make sure.
It looks like all my files are in the root of my phone and mnt/sdcard has just one folder but with the same files as the folder with the same name in my root.
When I wipe data now will it keep everything or just the files in my mnt/sdcard folder?
patlabor said:
Ok, I guess I get it.
Just one more thing to make sure.
It looks like all my files are in the root of my phone and mnt/sdcard has just one folder but with the same files as the folder with the same name in my root.
When I wipe data now will it keep everything or just the files in my mnt/sdcard folder?
Click to expand...
Click to collapse
Custom recovery (AKA not CWM or TWRP or whatever you're using) will wipe your SD card. Just remember that.
All the custom recoveries wipe /data/ while keeping /data/media/ (your sd card).
Nothing on your "SDcard" will be lost.
I'm in the same situation as the original poster and would like a "definitive" answer. CWM has both a factory reset and a format /data option (in a separate submenu). Which preserve the content of the virtual sdcard ? Which is the raccomended way to try out a JB rom? I have 10+ Gb of data in the sdcard and i would like to avoid moving everything forth and back via MTP protocol...
Thanks
Sent from my Galaxy Nexus using xda app-developers app
IF you are using CWM recovery, "wiping data" will erase the entire userdata partition EXCLUDING /sdcard. This means that everything under /data (except /data/media which = /sdcard) will be erased. This includes all apps you have installed in /data, and most data for those apps.
IF you are using a stock recovery, "wiping data" or "factory reset, will wipe the entire userdata partition, including /sdcard.
Wiping data or factory restore/reset/whatever does NOT touch the system partition or return the device to "factory condition". So if you have installed apps in /system or have root, the will still be there.

Format /System Question

From my understanding formatting the /system partition through CWM will remove the android OS completely from your device and you would have to flash a new one to replace it. Found the following information on the below website:
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
/system
This partition basically contains the entire operating system, other than the kernel and the ramdisk. This includes the Android user interface as well as all the system applications that come pre-installed on the device. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.
My question is, if I format the /system partition, does it remove all my currently saved pictures and videos on my internal memory? When I install a new ROM I typically wipe data /factory reset, then perform TDJs super wipe before installing the new ROM.
However, the instructions for installing the newest CM10 ROM also says to wipe /system partition. I know this will remove the OS, but will this also remove my pics and videos or should I back them up first before performing this step? Thanks.
Chochiwpg said:
From my understanding formatting the /system partition through CWM will remove the android OS completely from your device and you would have to flash a new one to replace it. Found the following information on the below website:
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
/system
This partition basically contains the entire operating system, other than the kernel and the ramdisk. This includes the Android user interface as well as all the system applications that come pre-installed on the device. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.
My question is, if I format the /system partition, does it remove all my currently saved pictures and videos on my internal memory? When I install a new ROM I typically wipe data /factory reset, then perform TDJs super wipe before installing the new ROM.
However, the instructions for installing the newest CM10 ROM also says to wipe /system partition. I know this will remove the OS, but will this also remove my pics and videos or should I back them up first before performing this step? Thanks.
Click to expand...
Click to collapse
Now i could be wrong as i am no Dev by any means but i do not think it will wipe your emmc as well. Reason i think it will be fine if you wipe /system is if you go in with root explorer and go to your /system folder your emmc is not located there so therefore if you were to wipe your /system patition it sould leave the emmc partition in tact.
But as always i would backup your emmc to your pc and give it a try. Hope this helps :good:
sinfulgray said:
Now i could be wrong as i am no Dev by any means but i do not think it will wipe your emmc as well. Reason i think it will be fine if you wipe /system is if you go in with root explorer and go to your /system folder your emmc is not located there so therefore if you were to wipe your /system patition it sould leave the emmc partition in tact.
But as always i would backup your emmc to your pc and give it a try. Hope this helps :good:
Click to expand...
Click to collapse
I was thinking the same thing as well but just had to ask because I have never processed the format /system action before. I am currently running a TW ROM ATM and looking through ES File Explorer my sdcard (which is the same as emmc on AOSP ROMs) isn't located located in the /system folder either.
Thanks for your reply, I tried to give you a thanks but I have reached my limit today
sinfulgray said:
Now i could be wrong as i am no Dev by any means but i do not think it will wipe your emmc as well. Reason i think it will be fine if you wipe /system is if you go in with root explorer and go to your /system folder your emmc is not located there so therefore if you were to wipe your /system patition it sould leave the emmc partition in tact.
But as always i would backup your emmc to your pc and give it a try. Hope this helps :good:
Click to expand...
Click to collapse
I'm no Dev either, but your right. Formatting system will not touch your emmc or sd cards. If you format system when flashing a new nightly (which I do every 3rd flash), you won't lose any user data at all. Only ROM and system apps, this is why you need to reflash Gapps as well if you format system.
When you use TDJ's wipe script, it formats everything (including system) except emmc and external sd cards.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
RikkKeith said:
I'm no Dev either, but your right. Formatting system will not touch your emmc or sd cards. If you format system when flashing a new nightly (which I do every 3rd flash), you won't lose any user data at all. Only ROM and system apps, this is why you need to reflash Gapps as well if you format system.
When you use TDJ's wipe script, it formats everything (including system) except emmc and external sd cards.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 2
Click to expand...
Click to collapse
Thanks so much, I run TDJ's wipe script with each install of a new ROM and completely didn't realize that is also wipes the /system partition. I just re-read his Superwipe thread and right in the OP it says
"This exceeds anything that CWM is capable of from the menu options. This will format and erase EVERYTHING on your /system, /data, /cache partions with EXT4 file system. It WILL NOT wipe SD CARD or EMMC... After it is complete with format and e****, it will align all disks partitions properly."
I was up extra early this morning, forgive me, I need to learn how to read better as well :laugh:
Thanks again.
Remember guys, wiping doesn't wipe everything. However, not wiping everything can bring its own issues.
Sorry for bumping up an old thread but it was very relevant to this topic. If I wipe the system before flashing a new ROM will my apps remain intact with their data? I know system apps will be gone but they will come back anyway so it doesn't matter.
Chochiwpg said:
From my understanding formatting the /system partition through CWM will remove the android OS completely from your device and you would have to flash a new one to replace it. Found the following information on the below website:
http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
/system
This partition basically contains the entire operating system, other than the kernel and the ramdisk. This includes the Android user interface as well as all the system applications that come pre-installed on the device. Wiping this partition will remove Android from the device without rendering it unbootable, and you will still be able to put the phone into recovery or bootloader mode to install a new ROM.
My question is, if I format the /system partition, does it remove all my currently saved pictures and videos on my internal memory? When I install a new ROM I typically wipe data /factory reset, then perform TDJs super wipe before installing the new ROM.
However, the instructions for installing the newest CM10 ROM also says to wipe /system partition. I know this will remove the OS, but will this also remove my pics and videos or should I back them up first before performing this step? Thanks.
Click to expand...
Click to collapse
No, I flash all the time and always format system, you will not lose your internal or SD memory
Inagalaxyfaraway said:
Sorry for bumping up an old thread but it was very relevant to this topic. If I wipe the system before flashing a new ROM will my apps remain intact with their data? I know system apps will be gone but they will come back anyway so it doesn't matter.
Click to expand...
Click to collapse
Yes, they will stay intact with a /system wipe. However, with a factory reset or /data wipe, your apps will be gone.
Sent from my Nexus 7 using xda app-developers app
Sorry to bump old thread. I just deleted system, data, cache etc everything. Now when i attempt to
Reboot it warns that no OS installed. I m using TWRP. is it safe to power off the device? Will i be able to get back to recovery to flash a new rom afterwards, as i dont have one ready now??
Btw i hav nexus 7 , but didnt find this discussion there so i am posting here.
Thanks in advance for help....
I accidentally formatted system on my HTC desire HD. but i'm unable to install rom in it. If anyone can help me make it working(instruct how to install ROM in it) i'd be grateful.
Sawrose said:
I accidentally formatted system on my HTC desire HD. but i'm unable to install rom in it. If anyone can help me make it working(instruct how to install ROM in it) i'd be grateful.
Click to expand...
Click to collapse
You might want to post your question here : http://forum.xda-developers.com/forumdisplay.php?f=754
Careful with that with new versions of TWRP and CWM! http://forum.xda-developers.com/showthread.php?t=1966887
I format my system through xrecovery but after that first it stuck in sony ericsson logo.. sometimes it doesnt boot and the red light flashes
Accelerator00000 said:
I format my system through xrecovery but after that first it stuck in sony ericsson logo.. sometimes it doesnt boot and the red light flashes
Click to expand...
Click to collapse
I think you're lost friend. LOL.
Sent from my Moto X cellular telephone...
kj2112 said:
I think you're lost friend. LOL.
Sent from my Moto X cellular telephone...
Click to expand...
Click to collapse
it stucks at the sony ericsson and i cant enter the xrecovery sorry it just low battery thats why red light flash.. LOL
Accelerator00000 said:
it stucks at the sony ericsson and i cant enter the xrecovery sorry it just low battery thats why red light flash.. LOL
Click to expand...
Click to collapse
Buttttt...this is the t989 S2 forum.
Sent from my Moto X cellular telephone...

Unsure how to properly wipe without wiping internal storage

Hello all,
Sorry for this semi-noob question. I have had many android phones and rooted all of them but this is my first Nexus device. I've unlocked my bootloader and have TWRP installed and I'm ready to install a ROM. Unfortunately I am unsure of how I can do a full wipe without wiping my internal storage too.
On every other phone I have had, I would go to advanced wipe and then wipe system, data, cache and dalvik cache but I just did that and it wiped my internal storage :/
I had to flash the stock system image through ADB because ADB sideload wasn't working. Now I'm afraid to wipe system again before trying again because I feel like it will wipe my internal storage again. How can I wipe system properly before installing a new ROM?
Thanks!
Now the interesting question here is: What is internal storage?
You seem to think it is the entire emmc, including your system, cache and data partitions but that is not how that term is used.
As far as I have been able to figure this out "Internal Storage" in Android refers to the entire /data partition which in itself again is divided into a user accessible part where your photos, videos, files are stored ( /data/media and mounted as /sdcard/0 ) and the rest of the /data partition which is used for apps you install and their data. That part is not accessible to the user unless you have root.
Now, for 99% of all wipe operations all you need to do when installing a new rom is to wipe the data partition of all user installed apps and their data, dalvik and cache - also called a 'clean install'.
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
TWRP made this very easy: Enter the Wipe menu and swipe the button. Default is to wipe /data (without wiping /data/media), cache and Dalvik. Flash the rom - done.
berndblb said:
Now the interesting question here is: What is internal storage?
You seem to think it is the entire emmc, including your system, cache and data partitions but that is not how that term is used.
As far as I have been able to figure this out "Internal Storage" in Android refers to the entire /data partition which in itself again is divided into a user accessible part where your photos, videos, files are stored ( /data/media and mounted as /sdcard/0 ) and the rest of the /data partition which is used for apps you install and their data. That part is not accessible to the user unless you have root.
Now, for 99% of all wipe operations all you need to do when installing a new rom is to wipe the data partition of all user installed apps and their data, dalvik and cache - also called a 'clean install'.
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
TWRP made this very easy: Enter the Wipe menu and swipe the button. Default is to wipe /data (without wiping /data/media), cache and Dalvik. Flash the rom - done.
Click to expand...
Click to collapse
"Internal Storage" as I used the term refers to just the user accessible part of the data partition where (as you said) photos, files, etc are stored. On previous versions of TWRP for phones I have had, you could wipe system, date, cache, etc and it would always leave internal storage intact. Ergo, after wiping, you could navigate to your downloads folder and find the ROM you wanted to flash. The issue I had was that I wiped "system" using TWRP and it wiped my "internal storage", meaning my downloads and photos and everything - leaving me with no ROM to flash.
You answered my question perfectly toward the end with this
Any rom installer worth a damn will format /system before installing a new rom, so wiping /system is redundant.
Click to expand...
Click to collapse
I come from a series of phones where this was not standard behavior for ROM installers, so failing to wipe system would lead to a dirty flash and almost assuredly cause issues. Thanks for the input, I will just do a data wipe from now on.
You shouldn't count on roms wiping system automatically.
A well established rom like pure Nexus for instance does not wipe system at flashing, leaving it up to the user to clean or dirty flash.
Always read and follow the installation instructions that come with the rom and you should have little problems. If there aren't any instructions, stay away from the rom is my advice, especially of you are a new user.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
peltus said:
You shouldn't count on roms wiping system automatically.
A well established rom like pure Nexus for instance does not wipe system at flashing, leaving it up to the user to clean or dirty flash.
Always read and follow the installation instructions that come with the rom and you should have little problems. If there aren't any instructions, stay away from the rom is my advice, especially of you are a new user.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
Click to expand...
Click to collapse
Thanks, I'm not a new user by any stretch, just new to the Nexus 5x.
As to your question: go to the wipe menu in twrp. Then do an advanced wipe. Check every box except internal storage and wipe. Then proceed to flash your rom.
Click to expand...
Click to collapse
This is exactly what I did when it wiped the ROM file (and all photos/sms backups) from my internal storage. That's how I have always wiped before flashing a new ROM in TWRP and this is the first time it ever wiped my internal storage, hence my question. I think I'll just stick to ROM installers that perform a system wipe. I plan on running the odex stock based ROM I just installed for a while anyway.
The_mamba said:
Thanks, I'm not a new user by any stretch, just new to the Nexus 5x.
This is exactly what I did when it wiped the ROM file (and all photos/sms backups) from my internal storage. That's how I have always wiped before flashing a new ROM in TWRP and this is the first time it ever wiped my internal storage, hence my question. I think I'll just stick to ROM installers that perform a system wipe. I plan on running the odex stock based ROM I just installed for a while anyway.
Click to expand...
Click to collapse
Sorry for assuming you're a newby. Last time i wiped that way in twrp (June 2016) it left my SD card alone. Maybe you checked the wrong box?
peltus said:
Sorry for assuming you're a newby. Last time i wiped that way in twrp (June 2016) it left my SD card alone. Maybe you checked the wrong box?
Click to expand...
Click to collapse
No worries, I appreciate the help either way. I suppose it's possible I checked the wrong box but I am very diligent about that because I have REALLY screwed myself over with that in the past. I accidentally wiped internal storage once or twice on my HTC One and had to RUU back to stock, losing everything including root. Luckily recovery is quicker and easier on the 5x (and the phone is brand new so it had no pictures on it).
I'm afraid to try it again even with a nandroid since the recovery files or stored on internal storage so wiping that would leave me SOL too. Like I said, I'll probably just ride on this ROM until the Nougat or so and then make a full cloud backup before trying a full wipe again.
Wiping system did not erase your files. /system is read only, so you nor your apps can store anything there.
I respectfully disagree with @peltus. In those parts of XDA where I "grew up" a dirty flash is a rom flash without wiping data. And I would be grateful for a link to a rom where the installation script does not involve formatting or wiping /system.
I could be wrong but I believe TWRP's wipe of data is without data/media.
Internal Storage wipes the entire data partition.
One if these days with more time I'll give it a try
Sent from my Nexus 5X using Tapatalk
BONUS: What is a data/media device?
https://twrp.me/faq/datamedia.html
The relevant part:
Since /data/media is part of /data, we pretty much never actually format the data partition. Formatting data, of course, also removes the media folder that contains the internal sdcard. When you choose a factory reset [or wipe data], instead of formatting, we use rm -rf commands to remove all the folders except for the media folder so that we can remove all of your apps and settings while leaving your "sdcard" intact. In TWRP we also have a wipe internal storage option that rm -rf's the media folder and a "Format Data" option that formats to recreate the entire file system in case something goes completely wrong or to remove device encryption.
Click to expand...
Click to collapse
[ ] - added by me.

Invisible Data Taking Up Space?

I have a OnePlus 3. It's currently running VertexOS, but I've been having this problem for a while and just barely put 2 and 2 together.
I only have about 10GB free after a complete wipe of the phone. I used TWRP and wiped everything off the phone. Full factory reset and internal storage and all that. It should have been a blank slate except for the OS I transferred afterwards.
I boot up after installing my GAPPS and the Rom and I still have barely any space left. I'm generally pretty Android savvy, but this has me at a loss. Screenshots below. I am rooted.
https://imgur.com/a/0cbxX
edit: ADB Pull of / only pulls 2.32GB of data.
LightTheEntertainer said:
I have a OnePlus 3. It's currently running VertexOS, but I've been having this problem for a while and just barely put 2 and 2 together.
I only have about 10GB free after a complete wipe of the phone. I used TWRP and wiped everything off the phone. Full factory reset and internal storage and all that. It should have been a blank slate except for the OS I transferred afterwards.
I boot up after installing my GAPPS and the Rom and I still have barely any space left. I'm generally pretty Android savvy, but this has me at a loss. Screenshots below. I am rooted.
https://imgur.com/a/0cbxX
edit: ADB Pull of / only pulls 2.32GB of data.
Click to expand...
Click to collapse
Have you tried another app? Perhaps this is just a bug.
Check out an app called DiskUsage. I found I didn't have much space and it showed there was folders called OEM logs that were taking up 15GB or so. May not be what is happening to you but that app is great to see what's using storage.
I do not believe this is a bug. I only know that I'm low on space because I ran out so fast.
Are you on f2fs or ext4? Are you encrypted or unencrypted?
Fobos531 said:
Are you on f2fs or ext4? Are you encrypted or unencrypted?
Click to expand...
Click to collapse
F2fs and unencrypted.
LightTheEntertainer said:
F2fs and unencrypted.
Click to expand...
Click to collapse
Sometimes messing with encryption and filesystems caused me to experience a similar issue. What I'd suggest is, if you can, wipe everything in TWRP, change /data filesystem to ext4 (the dev of VertexOS encourages it), and do a clean flash of VertexOS once again. I think you should be good to go in that case. Make sure to take a backup beforehand though (if you have anything to backup).
Fobos531 said:
Sometimes messing with encryption and filesystems caused me to experience a similar issue. What I'd suggest is, if you can, wipe everything in TWRP, change /data filesystem to ext4 (the dev of VertexOS encourages it), and do a clean flash of VertexOS once again. I think you should be good to go in that case. Make sure to take a backup beforehand though (if you have anything to backup).
Click to expand...
Click to collapse
This solved my problem. I must have have changed the filesystem without thinking about it at some point and forgotten all about it.
Thanks man.

Categories

Resources