Delete extra-TWRP backup post-root on Leagoo T5c - Android Q&A, Help & Troubleshooting

Hi everyone,
This weekend, I rooted my Leagoo T5c using the excellent tutorial posted here, and everything went well.
However, while I was in Recovery mode in TWRP, I decided to backup the factory image AND the system image, thinking it would add an extra-layer of safety in case my rooting plan went south.
Thing is, I now have only 10GB of free space left on the device, though I have installed only a few of the apps I had prior to rooting the phone, and I still have to transfer my music (about 10GB worth) on it, something I'll do when I've decided to try and install a custom ROM or not (things are not entirely clear on that front).
When I go to the TWRP folder in File Explorer, after sorting by size, I see the following:
- One file named system.ext4.win001 (size: 1.50GB)
- One file named system.ext4.win000 (size: 1.50GB)
- One file named data.f2fs.win001 (size: 1.50GB)
- One file named data.f2fs.win000 (size: 1.49GB)
- One file named system_image.emmc.win (size: 3.61GB)
I take it the latter is the actual factory image backup of the last ROM I flashed on the device; the other four seem to be duplicates of one another, and *should* be safe to delete, but I don't want to do something I'll regret later.
I'd like your advice on this, because I sorely need to reclaim some free space on this device, and from the look of it, there are almost 6GB of data I can do without now that my phone is up and running, considering the fact that I'll leave the factory image as is.
What do you think?

EDIT: I decided, to Hell with it, I went and deleted the four files of 1.5GB in size, and rebooted. Everything is OK.

Related

Deleting/Editing Nandroid Backups

Is there a way to edit the name of the backup files in amons recovery. and is there a way to delete the backups. any help appreciated thanks
The backups are all located in the nandroid folder on your sdcard. the first folder inside nandroid is your device's serial number or something, the ones inside that are the backups, named by date and time. im pretty sure you can renaame these folders with no harm done to nandroids restore abilities and deleting them does absolutely no harm
if you want to edit the internals, you need to unyaffs it
When i rename the back up it will never let me back up so i wouldnt do that.... i lost my backup because of this :/
that sucks
He is right.. i went into the sd card went to nandroid and tried changing the names of the backups to keep them organized and it wouldnt restore.. then i renamed them to what they were before i changed them and they restored succesfully.. so can anyone shed some light if it is even possible to rename these nandroid backups?
Im sure it is an issue with Amon-ra's program.
Go find the guy and ask him.
There is a way to edit the name and still have the backups work.
The original name is BSD-20100330-0745. You apparently need the last part for the date and such. I changed the name to EvilEris1.1 and it failed, but if it is changed to EvilEris1.1-20100330-0745 it works. You just need the "-20100330-0745". So "(name)-20100330-0745" will work.
Amon_RA said:
Renaming works fine, just don't use spaces or special characters.
Click to expand...
Click to collapse
i didnt link the thread he posted that in because i told him about this thread and dont want posts in two places. though you could find it easily im sure....
Excellent, that is better than what I had to do.
Problem solved!!!!!!!
I was just messing around with it for an hour or so and I resolved my own question.... You can name the backups what ever you want.. you dont have to have the dates or anything just no spaces in the name... so if you wanted to name it "Evil Eris 1.1" it would have to be something like this... "Evil-Eris-1.1" No Spaces...
You could also (from a computer with your phone in recovery) do:
adb shell
nandroid-mobile.sh -b
It will ask you what to name it, and then it will automatically add the suffix.
you get the "run mobile.sh" error if you rename the folder directly under the "nandroid" folder on your sd card directory. you will also get this error if your battery is low or you have no storage left. the folder directly under the "nandroid" folder it is your serial number. if you're having issues, just go to the "other" menu and select "send recovery.log to SD card." then go in and search the recovery.log file on your sdcard for "serialno=" right after that there will be a 12 character string of capital letters and numbers directly followed by lower case letters that are useless for this purpose. Create a folder with the same name as that string (capital letters and numbers only, no lower case) and place your previously renamed backups into that folder and voila! you'll be able to restore them.
burdenedreflect said:
The backups are all located in the nandroid folder on your sdcard. the first folder inside nandroid is your device's serial number or something, the ones inside that are the backups, named by date and time. im pretty sure you can renaame these folders with no harm done to nandroids restore abilities and deleting them does absolutely no harm
if you want to edit the internals, you need to unyaffs it
Click to expand...
Click to collapse
thank you, it worked for me
I'm not sure this is the correct place to post this info or my question, but I believe it is at least relevant to the topic at hand. If not, I apologize profusely.
I have numerous backups created with CWM (v6.0.1.0) that are eating up an enormous amount of space on my Galaxy Nexus SD card. I've been flashing numerous ROMs and Kernels and I want to get rid of most, if not all of those backups and then create a fresh one from my current working/bootable ROM (JB 4.1.1), just so I have a good backup to roll back to if/when I hose up my phone.
For poking around on the the SD card, I'm using a Windows-based program called 'Android Commander' (Google it), which I find to be exceptionally handy. It is very much like Total Commander, which I've been using for MANY years (since version 1.0 of the original Windows Commander) on Windows boxes, as well as a variant under numerous Linux distros.
At any rate, what I've discovered is as follows;
1. the contents of the /clockworkmod/ directory on the SD card contains three directories and a couple of files (in its root). The directories are;
/clockworkmod/backup/
/clockworkmod/blobs/
/clockworkmod/download/
2. the /clockworkmod/backup/ folder contains folders that are dated and time stamped (date and time the backups were created).
3. within each of the /clockworkmod/backup/date-time folders, there are six (6) files, the largest being the 'recovery.img' file. There is also a 'boot.img' file and four (4) other files that are quite small. Each 'recovery.img' file sizes are in gigabytes (yeah, I have a lot of crap on my phone), so it's pretty obvious that deleting these directories will give me a great deal more storage space, which is my main goal in life right now (recoup all that space).
4. my main point here, however, revolves around the /clockworkmod/blobs/ director. There are over 3000 sub directories within that directory, and I have no idea how many files are within those sub directories or how much space on the SD card they occupy, although my guess is around 8-10 gigabytes. Being an astute user of Google, here's what I found out about all this;
"Starting with version 6, duplication support has been built into clockworkmod recovery. The blobs directory folder contains a hashed directory structure that holds the duplicated files across all backups."
// This info was derived from a post on Android Enthusiasts (author unknown).
"Don't delete anything in your blobs folder. Those are your nandroid backups. Starting with CWM6, it makes incremental backups and your backup files point to the files in the blobs folder. To free up space, delete unwanted backups and the next time you run nandroid, it will delete the unneeded files in the blobs folder."
// This info was derived from a post by 'NotJustAPhone', a very senior member of the Android Central forum.
And for my next trick ... what I'm wondering is if it REALLY matters whether or not I blow away the contents of the 'blobs' directory, and I guess that's my question. What if I do delete everything in 'blobs'? Since I'm going to flash another ROM and Kernel anyway, does it matter? That directory obviously started out life as being empty, right? What will CWM do, or more importantly, NOT do, should I blow away the contents of the 'blobs' directory (assuming the file system will let me)? Won't CWM just create a new/fresh/relevant set of directories/files within 'blobs' the next time I do a backup? Has anyone actually tried doing that?
And just in case anyone is wondering, the only thing in the /clockworkmod/download/ directory is the clockwordmod img file.
Thanks in advance for any response this might elicit.
Old Fart
ImaOldFart said:
I'm not sure this is the correct place to post this info or my question, but I believe it is at least relevant to the topic at hand. If not, I apologize profusely.
Click to expand...
Click to collapse
Hi! You're in the HTC Droid Eris section of the forum, and the latest version of CWM for the Eris is much older (v2.x).
Without direct experience with the newer versions, all I can wonder is that doesn't CWM have any way built-in to delete old backups?
On the Eris, the easiest and most reliable way of using CWM is through installing the "ROM Manager" app, in which you can then manage your backups from the Android interface. In the future, you might want to consider trying that for your device as well as it may make it easier for you to manage your own backups.
I have no idea if under your configuration if installing ROM Manager now would help you delete your old backups, and I realize that even then you would probably only be able to delete them one by one, which is how it works for me in ROM Manager, and that being able to delete them en mass via Windows might be tempting. I keep four backups of my currently running ROM, and number them. I keep the very first one which is usually after I configure the ROM to my liking without really installing or restoring any apps.
Maybe you should ask wherever CWM-specific support is, but definitely at least in the section for your phone might attract better answers.
Good luck.

[Q] Visual Voicemail, where does it store?

Okay, here's the back story, it's short. My SD card fried on me yesterday. I had a nand backup of my stock setup on that card. That backup contained a couple of voicemails from my 2 year old daughter (not saved/forwarded, just downloaded into the voicemail app) which i hadn't gotten around to saving in the forever style yet. (was going to restore the backup and save them, then jump back to current ROM)
Anyway, i got a utility that will scan the card and found a whole ton of files on there. What's more it looks like it actually pulled a lot of it from within the backup files (no kidding, i'm seeing icons and temporary internet files and that sort of stuff) in addition to stuff stored on the root.
Was hoping someone could tell me what format these files would be in (3gp, mp4, etc.) so i know what to tell it to pull out. it's a trial software and will only let me restore 10 files before it chokes (could probably just run again on another pc though) but can anyone help me? it's doesn't give me a folder structure at all, just files, and they're even named genericly. So if i know what file type i'm looking for i can just grab those and maybe one of them will be it.
thanks!!
I looked before, and believe its something proprietary. Try using ES file explorer or something similar, store a vm and check which folders updated the time and date..start there..only thing I can think of currently.
Sent from my EVO using xda app-developers app
dangle79 said:
Okay, here's the back story, it's short. My SD card fried on me yesterday. I had a nand backup of my stock setup on that card. That backup contained a couple of voicemails from my 2 year old daughter (not saved/forwarded, just downloaded into the voicemail app) which i hadn't gotten around to saving in the forever style yet. (was going to restore the backup and save them, then jump back to current ROM)
Anyway, i got a utility that will scan the card and found a whole ton of files on there. What's more it looks like it actually pulled a lot of it from within the backup files (no kidding, i'm seeing icons and temporary internet files and that sort of stuff) in addition to stuff stored on the root.
Was hoping someone could tell me what format these files would be in (3gp, mp4, etc.) so i know what to tell it to pull out. it's a trial software and will only let me restore 10 files before it chokes (could probably just run again on another pc though) but can anyone help me? it's doesn't give me a folder structure at all, just files, and they're even named genericly. So if i know what file type i'm looking for i can just grab those and maybe one of them will be it.
thanks!!
Click to expand...
Click to collapse
Mine are located on sdcard/smvvm
They are AMR files
I use ES Flie Explorer to find them
Hope this helps
stealthl said:
Mine are located on sdcard/smvvm
They are AMR files
I use ES Flie Explorer to find them
Hope this helps
Click to expand...
Click to collapse
sorry, just circling back to see this. i ended up giving up on it. wasn't able to find any reliable way to recover the card, so i guess it's just lost

[Q] Deleting Folders from Recovery

Hello all.
All of my mobile devices are Samsung devices (2 Phones and 2 Tablets) all but one device is rooted, and all are on stock Lollipop ROM. I have went through my phone (Note 3) and removed all the bloatware and have it pretty trim and fit. I want to do the same also for my tablet (Galaxy Tab S). I poured over a bunch of safe to remove type lists and compiled a list of what I could remove and tested things out on my phone. All went well until I got to KNOX and I guess I got a little aggressive (searched for everything with 'knox' in it and deleted what I could), and when I rebooted it got stuck on the boot sequence. No idea why. So I wiped and started over and then used Uninstall ROOT from the Playstore and just deleted the Knox entries that showed up there and that worked better.
Once I was happy that all was working as it should I installed all the normal apps that I use and things have been working perfectly. So I turned my attention to the tablet. I used the list of bloatware from my phone and found, as would be expected, there was much the same with respect to the bloatware just different names.
On my phone, in order to remove the .apk file and the odex files I just deleted the folder since they were in the same place. The odex files were in a sub-folder named 'arm'. I thought with the tablet it would just be easier to use some kind of script run from recovery to delete all the folders and be done with it in a matter of a minute or two if that long instead of doing it manually. To my surprise I found one already made that even used the Aroma installer so you could just select what you wanted to remove, which seemed perfect, except it didn't work. It was removing nothing despite the fact when the script ran it looked like it was doing all it should. Looking at the script that ran, some of the file names were wrong and it wasn't pointing to the 'arm' folder to remove the odex files. So I modified the script to test and set it to remove just one folder as a trial run. The script ran, but did nothing. It seems redundant to me to remove the .apk file and the odex file separately when you can just delete the folder and do in one action. However, I am at a loss as to how to accomplish that from the script.
One of the scripts is Bloatware Removal Script 1.
I can't seem to find the location that I got the one with the Aroma installer, but I have the file on my computer.
So, all this said (I wanted you all to know the process I went through in hopes it would help) to ask, how would one delete a folder from recovery using a script. The CoolBoy script uses:
Code:
delete("/system/app/Chrome.apk");
But not only does it not delete the apk, if I drop the file extension to delete the folder, it does not do that either. The Aroma installer option seems perfect, I just am not familiar with the command that would needed to be used in order to delete the folder. Thanks for reading my long winded post and for any help.

The possibility recover information from .asec

Hello.
There was a big trouble, because there are ugly men, perverted a good file manager (in the past, unfortunately...) ES File Explorer.
After i flashing my Fly Magic, as usual, I decided to restore the backups Titanium.
I do not remember why, but I opened file manager and this bastard invited me to clean the "rubbish".
I have not looked, clicked on something and he removed all backups...
Using of the best file recovery program "dmde" - did not help...
But it turned out that before I pulled from the SD-card, along with the garbage, .android_secure folder.
Search the Web showed it just will not work to recover the information from there, because it is encrypted.
A AppsOnSD.sks key, of course, already been overwritten after flashing ...
.asec files are opened by AndroidStudio, but in the form of gibberish.
Question: I'm a complete zero (nuub and dummie) in the programming, though "on you" with IT-sphere.
Strongly request help on the issue of the content of the .asec files WITHOUT "AppsOnSD.sks" key
In fact, I need to get from one app - it is the Old notepad (Ultra Notes app), and that is the russian text. All the rest does not matter.
Thank you in advance.

Files disappeared from phone's download folder after update (OnePlus 2 6.0.1)

Hi there, yesterday I noticed that about 500mb of files disappeared from my downloads folder. I am not exactly sure what caused this to happen but i suspect it to be a system update a day prior (Only other things that changed recently was that I installed and uninstalled malwarebytes). All files except for around 10 had disappeared (dont think it has anything to do with their file format as other files of the same format disappeared as well). However files within subfolders inside the downloads folder were fine. My android shows that the space is free (51.7 gb used of 53.9) and i cant find the files with diskdigger when i tried, even though it had found files i had deleted from a year ago. However when I plugin my phone to my PC, my pc shows that 52.2gb of 53.9gb of space is being used (although i still cant see/find the files on pc except for a 126b M3U file). Im wondering if theres anyway to get the data back and what is causing the issue.
Thanks
(Im sorry if this question doesnt belong here, new to xda. Please direct me to the right subforum if I posted this in the wrong section)

Categories

Resources