Invisible Data Taking Up Space? - OnePlus 3 Questions & Answers

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.

Related

[Q] Internal memory even worse after reflashing

So I posted this question and I did not get a helpful reply so I am trying again because the problem is even worse.
Basically, I rooted with unrEVOked over a year ago and I have flashed several ROMs, always doing a factory reset andwiping the dalvik cache with Clockworkmod.
I tried Leedroid, AuTrax, Ginervillain, Cyanogen then Oxygen. Perhaps another. When using Cyanogen I noticed I had very little internal memory (about 19Mb) even though all apps were on the SD card. I switched to Oxygen and nothing changed.
NOW I have done a factory reset, wiped dalvik, and reflashed Oxygen and I only have about 800Kb of internal memory.
I thought a factory reset would make my phone go back to pristine condition (albeit rooted) and I could start over from the beginning if I'd totally mucked something up and bricked or crippled it--but wipingand relashing has just made the problem worse!
Is there any solution here?
Youre doing the factory reset via recovery?
If thats not working, try formatting /data via recovery
S-off then change your hboot?!
Are you 100% sure apps2sd is working properly?
use a custom mtd or use one of the hboots at alpharev.nl
Yeah if you want more space you can always S-OFF and then flash a different SPL (hboot).
Also before you flash a new ROM remember to go to mounts and storage and format boot, data, system, cache.
rootSU said:
Youre doing the factory reset via recovery?
If thats not working, try formatting /data via recovery
Click to expand...
Click to collapse
Yes, I'm doing "wipe data/factory reset" from the green ClockworkMod menu. And "Wipe Dalvik Cache" from the "Advanced" menu beneath that.
Can you tell me in fairly simple terms what formatting /data is likely to accomplish? I'm up for it if there's a logical reason, certainly. But since every wipe&reflash chews up the little remaining memory I don't want to just be trying every option in the menu until SOMETHING works because at the rate it is losing internal memory I only have 1-2 more wipe-reflashes until it's a brick.
bortak said:
Yeah if you want more space you can always S-OFF and then flash a different SPL (hboot).
Also before you flash a new ROM remember to go to mounts and storage and format boot, data, system, cache.
Click to expand...
Click to collapse
OK, I'll try this (formatting boot, data, system, cache) but is there a simple explanation for why this is necessary and will fix the problem? I was pretty sure every rooting-flashing guide I'd read said only data wipe/factory reset (and sometimes dalvik cache) was necessary.
An explanation suitable for a noob like me, but a little more detailed than "it's a deeper, better wipe"
Thanks!!!
if you don't do it, sometimes it's possible that some of the data and crap from the past ROM gets left over and just uses space.
k.p. said:
NOW I have done a factory reset, wiped dalvik, and reflashed Oxygen and I only have about 800Kb of internal memory.
Click to expand...
Click to collapse
U get only 800 kb after reflash only the rom or even after restoring ur apps?
(maybe a stupid question, but i always prefer to make clarify everything)
andQlimax said:
U get only 800 kb after reflash only the rom or even after restoring ur apps?
(maybe a stupid question, but i always prefer to make clarify everything)
Click to expand...
Click to collapse
Yes. I did a factory reset, wiped the dalvik cache, flashed Oxygen and had 800kb of internal memory before doing anything else (and a barely functioning phone that couldn't even receive a text message but would sendone).
bortak said:
if you don't do it, sometimes it's possible that some of the data and crap from the past ROM gets left over and just uses space.
Click to expand...
Click to collapse
OK, that's what I figured it would do (and what I figured the problem was, since memory decreased with succesive flashes). So format data, boot, system, and cache but NOT sd-ext (I don't think there's a format /boot option).
In any particular order? And before or after "wipe data/factory reset"?
doesn't matter in what ordered. you only format sd-ext if you have an EXXT3/4 on your sd-card
k.p. said:
Can you tell me in fairly simple terms what formatting /data is likely to accomplish? I'm up for it if there's a logical reason, certainly. But since every wipe&reflash chews up the little remaining memory I don't want to just be trying every option in the menu until SOMETHING works because at the rate it is losing internal memory I only have 1-2 more wipe-reflashes until it's a brick.
Click to expand...
Click to collapse
This is a really simple explanation, which means that it will not be technically accurate, but will give you an idea.
When you delete a file, its not really deleted. It is there until something else overwrites it.
What actually happens is the reference to that file is removed from the File system (be that EXT, FAT, NTFS etc etc). The File system is basically table, or even an address book. The operating system uses this table to locate files that are there (when you request the file is opened etc). But also to locate spaces where new files can be written to.
When the next file is written, it will find a place via the file system that is empty and write to the location. This is usually when a past file is overwritten, although not neccessarily by the next new file.
Even when you do a factory reset, this is still the case. The files are still there, but the file system's "table" is cleared, making it appear empty, therefore able to accept new files.
It could be there is a corruption or failure of the file system where these entries are not properly being removed.
A format also will not delete these files. This is how anyone with a little bit of knowledge can recover some or all of your data after you format your Hard drive, SD card etc etc. What it will do though, is format the drive with a new file system, which will be clean and hopefully free of corruption.
Of course, the cause may be something else but it always a good idea to rule it out.
Thank you very much bortak and rootSU. I surmised generally that the problem was repeated flashing leaving debris and knew there had to be some solution to clean it up instead of going beyond simple root-and-flash. I very much wanted to fix it in one go instead of having another failed attempt and even less memory to work with for a fix. And thank you very much for taking the time for that explanation--I am now a little wiser and it let me know this wasn't an ill-informed "hail mary pass".
For anyone who finds this searching in the future, I formatted boot, system, data and cache and then did a factory reset. Rebooting got me stuck on the bootloader screen. I went back into recovery and flashed Oxygen. Now I have a working Desire with Oxygen and 109MB free on the internal memory.

[Tool][Port][Blackhole Nullifier & Wipe][1.5a][6.3.12] Discontinued

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

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...

Wiping internal storage?

I followed This Guide to get temp root on my Verizon M8 in order to get s-off with sunshine. The SuperSU apk the guide requires is hosted on an iffy looking file hosting site. I'm worried that it could've been infected with malware, which would've gotten root access.
After getting s-off, I followed the guide to install the DigitalHigh GPE ROM HERE. First I had to flash the 5.1 GPE firmware, and then the ROM itself. Would doing both of these things remove any infections, if that apk was infected? If not, what should I do? If it had root access, it could have installed as a system app. I'm assuming that flashing either the 5.1 firmware or the ROM would've overwritten system apps, but I'd like to be sure.
If I wipe internal storage, will I still have s-off and be able to flash the firmware through adb or sideload a ROM?
TheLeshii said:
I'm assuming that flashing either the 5.1 firmware or the ROM would've overwritten system apps, but I'd like to be sure.
Click to expand...
Click to collapse
Firmware doesn't touch system partition; but a ROM flash wipes it and flashes the new ROM to the system partition.
TheLeshii said:
First I had to flash the 5.1 GPE firmware, and then the ROM itself. Would doing both of these things remove any infections, if that apk was infected?
Click to expand...
Click to collapse
I can't claim to have the technical knowledge to really say. But I suppose theoretically its possible some malicious code can reside on other partitions. But it probably unlikely for an infection to be that sophisticated, when there is lower hanging fruit to be had. I'd guess that you are correct, that most malware is installed in system partition or as an app in user data.
TheLeshii said:
If I wipe internal storage, will I still have s-off and be able to flash the firmware through adb or sideload a ROM?
Click to expand...
Click to collapse
Yes, yes, and yes.
The only thing that can make the phone s-on again, is you manually making it so.
So if I do wipe internal storage, would I be able to do everything without a microSD, being that I can't enable USB debugging with no OS? If so, would it be as simple as rebooting to fastboot, then RUU mode, flashing a firmware zip, and then maybe pushing the ROM?
Sent from my HTC One_M8 using XDA Free mobile app
TheLeshii said:
So if I do wipe internal storage, would I be able to do everything without a microSD, being that I can't enable USB debugging with no OS? If so, would it be as simple as rebooting to fastboot, then RUU mode, flashing a firmware zip, and then maybe pushing the ROM?
Click to expand...
Click to collapse
I'm not sure I follow. Wiping internal storage doesn't affect the ROM. Or are you thinking of wiping everything (internal storage, system, etc.) again.
Wouldn't wiping internal storage take out everything, including the ROM? I'd just like to my sure my phone is clean of malware.
Sent from my HTC One_M8 using XDA Free mobile app
TheLeshii said:
Wouldn't wiping internal storage take out everything, including the ROM? I'd just like to my sure my phone is clean of malware.
Click to expand...
Click to collapse
"Internal storage" specifically just means the user-accessible storage partition (also called the "virtual SD" by some), which is /data/media. That one partition, that's it. No other partitions are touched, including system (ROM) partition, as I already mentioned.
Now, there are options to wipe other partitions, such as in the Advanced Wipe options in TWRP. If you select the system partition, than that will wipe the ROM. But again, its a completely different option and partition than internal storage.
If I wipe the OS completely, would I still be able to access the device with adb? Or would wiping /system definitely get rid of all possible malware?
TheLeshii said:
If I wipe the OS completely, would I still be able to access the device with adb?
Click to expand...
Click to collapse
You should be able to use adb while booted into TWRP. Fastboot commands will work without OS (boot into bootloader-fastboot mode).
TheLeshii said:
Or would wiping /system definitely get rid of all possible malware?
Click to expand...
Click to collapse
"Definite" is a tough term. In the grand scheme, in theory you can have malware on your phone and computer from any number of sources. But its a matter of probability. I'd say if you've already replaced your ROM, wiped user data, and you wipe internal storage; the probability of malware is rather low.
redpoint73 said:
"Internal storage" specifically just means the user-accessible storage partition (also called the "virtual SD" by some), which is /data/media. That one partition, that's it. No other partitions are touched, including system (ROM) partition, as I already mentioned.
Now, there are options to wipe other partitions, such as in the Advanced Wipe options in TWRP. If you select the system partition, than that will wipe the ROM. But again, its a completely different option and partition than internal storage.
Click to expand...
Click to collapse
Sorry to ask again, seems I have to do it because my internal storage is almost full because of unnecessary "things".
So if I wipe the internal storage from TWRP, it will not affect the ROM, etc? So I don't need to flash any ROM again after wiping the internal storage?
Thank you, sir!
pryg said:
Sorry to ask again, seems I have to do it because my internal storage is almost full because of unnecessary "things".
So if I wipe the internal storage from TWRP, it will not affect the ROM, etc? So I don't need to flash any ROM again after wiping the internal storage?
Click to expand...
Click to collapse
ROM is on the "system" partition, which is completely separate from internal storage. You will only wipe the ROM if you specifically choose to wipe the system partition in Advanced wipe options.
You will however, lose all personal data on internal storage if you wipe it, including TWRP backups. So its advised you copy TWRP backups to your computer or removable SD before wiping. You should always have a known good TWRP backup available, in my opinion.
ROM zips also take up a lot of space. If you've been doing a lot of ROM flashing you might clear up your storage problem simply by moving unneeded TWRP backups and ROMs to your computer.
redpoint73 said:
ROM is on the "system" partition, which is completely separate from internal storage. You will only wipe the ROM if you specifically choose to wipe the system partition in Advanced wipe options.
You will however, lose all personal data on internal storage if you wipe it, including TWRP backups. So its advised you copy TWRP backups to your computer or removable SD before wiping. You should always have a known good TWRP backup available, in my opinion.
ROM zips also take up a lot of space. If you've been doing a lot of ROM flashing you might clear up your storage problem simply by moving unneeded TWRP backups and ROMs to your computer.
Click to expand...
Click to collapse
Thank you, sir. Where can I find the TWRP backups?
pryg said:
Thank you, sir. Where can I find the TWRP backups?
Click to expand...
Click to collapse
TWRP>Backups>Serial number

Lost my data, while flashing oos 3.2.8 from 3.2.6

Need some help, I dirty flashed the update from OnePlus site, the 3.2.8. thru twrp. From 3.2.6
After rebooting, I lost all my data, and media, even backup.
Any advice.
I'm in serious trouble as I lost all my media without any user prompt
ProNewb said:
I'm in serious trouble as I lost all my media without any user prompt
Click to expand...
Click to collapse
Yes and ? How to you thing we can help recover your data ? If the update format your phone (as your say it did), I don't think there is much hope recovering your data.
ProNewb said:
even backup.
Click to expand...
Click to collapse
protip: dont store backups on a device you are about to flash
ProNewb said:
Any advice.
Click to expand...
Click to collapse
Your data is 99% gone, as the partitions were formatted
GiantAxe said:
Your data is 99% gone, as the partitions were formatted
Click to expand...
Click to collapse
I'm not sure about the memory on phones but at least with HDD's and SD cards, all data is recoverable (with some data recovery software) unless it was wiped with a data destruction/HDD 0 algorithm (and even still can be recovered). Even if the HDD was physically damaged, data can be recovered (mind you, depends on the severity and how much $$$ you're willing to fork out).
Hw4ng3r said:
I'm not sure about the memory on phones but at least with HDD's and SD cards, all data is recoverable (with some data recovery software) unless it was wiped with a data destruction/HDD 0 algorithm (and even still can be recovered). Even if the HDD was physically damaged, data can be recovered (mind you, depends on the severity and how much $$$ you're willing to fork out).
Click to expand...
Click to collapse
I agree, however. If a HDD or SSD crashes for example and it gets send for recovery. besides the thing having crashed it has not been modified.
If his phone was formatted, not all but many of the sectors where he had old data would have been overwritten with new data. (System being the biggest for example. although I doubt he stored media and data there)
If he installed any apps after his phone was formatted, even if its not a lot of space, the sectors those got written to will have overwritten anything that was there in the first place.
(now, I'm not a 100% hardware expert. I do software development for a living, not hardware. So I'm probably not 100% right)
In any case though, probably the best thing to do is just re-install everything you had. Start from scratch. and if you ever flash again. Store the backup safely on your pc first before you flash your phone.
You may try your luck with an app called Undeleter
Yes, you did a backup. Did you copy it on a PC or memory stick? This it's the real problem.
The data partition has changed after format.it has changed from ext4 to f2fs.So there is no any possibility to retrieve the data.
paradise220 said:
The data partition has changed after format.it has changed from ext4 to f2fs.So there is no any possibility to retrieve the data.
Click to expand...
Click to collapse
Yeah, OOS 3.2.8 doesn't use f2fs though.
But OP. Was your device decrypted before you flashed the update through twrp? If so, then the device got forced encrypted and in some weird way also formatted the sd card.
its normal at Oneplus, i´ve deleted all my stuff 2 times by accident. Today my phone get stuck at the TWPR because of a normal OTA from Oneplus and this deleted everything...

Categories

Resources