Is there anyway to do a clean flash so unnecessary fold also deleted? - Samsung Infuse 4G

My phone is already rooted and currently on infused v2.2.2. So far flashing from rom to rom or installing apps from apps, there are so many folder in phone.
Is there anyway to do a clean flash where all those unnecessary folder not be in the phone? Even if i do a wipe/reset, I still see other folder from different rom i flashed or other apps folder that i no long needed. I hope you understand what i'm trying to say.
thx

You must manually delete those folders between flashing. Dont worry, it wont harm anything, just be sure to not delete anything you need. For instance, i always delete all the folders except the DCIM one for my photos and my titanium.backup folder. All other needed folders will be created again when you flash the new rom.
Sent from my SAMSUNG-SGH-I997 using XDA App

You can always mount the SD card to your computer and format it that way as well. Just remember what slapshot30 said about backing up items you will want to keep though.

I go through all those folders in root explorer, and and if there's nothing in them and the name doesn't seem important (like gnotes) I end up deleting them.
Sent from my SAMSUNG-SGH-I997 using XDA App

Related

Apps folder

Their recently was a thread here asking if their is a way to import your apps from one rom to another. And I just thought of this lil idea. If you copy the apps folder in your data folder and save it to your SD card and flash a whole new rom and replace your apps folder with the one you saved on SD. Will this work? Has anyone tried this? Idk just curious. maybe this method is the hard way of doing what titanium back up does lol your thoughts?
gman87 said:
Their recently was a thread here asking if their is a way to import your apps from one rom to another. And I just thought of this lil idea. If you copy the apps folder in your data folder and save it to your SD card and flash a whole new rom and replace your apps folder with the one you saved on SD. Will this work? Has anyone tried this? Idk just curious. maybe this method is the hard way of doing what titanium back up does lol your thoughts?
Click to expand...
Click to collapse
This will work for most apps. A few apps require installation but most will work this way. For ones that don't work just delete the apk file and install it properly.
Titanium backup
Sent from my LG-P999 using XDA App

[Q] How did my sdcard get "wiped" when I installed the newest AOKP ROM?

OK, so I'm using wiped in quotes because according to my available free space, it appears my data is still there somewhere. It's just that it's really not and I don't understand why (or where it may be hiding). I've done this many times and never had this problem, so I don't think I did anything wrong, but here are the steps I took: I made a TWRP backup. I wiped my cache, then my Dalvik cache, and then did a factory reset. I installed the new AOKP ROM (aokp_d2vzw_jb-mr1_build-3), installed Gapps, and installed the flashable zip for Titanium Backup. I then booted into Android with no problem, went through the setup process, and rebooted into TWRP. At that point, I was going to install the flashable update.zip I created from Titanium Backup, but I couldn't find it or any of my normal files or folders. I booted back into Android and checked again with a file explorer and sure enough – it's only showing the basic folders you start with and none of my content is there. Like I said, it appears my data is still there somewhere according to my available free space, but I haven't been able to find it anywhere. When I was in TWRP, I hit the button to restore and it showed me my two Nandroid backups, so I feel like the files have to be hiding somewhere.
I'm not really sure what caused it, but I know the files were still there after the wiping and the factory reset, or else I wouldn't have had the zip files to then flash. Therefore, I feel like it had to be during the AOKP or the Gapps install where my sdcard got erased (I forgot to mention my Titanium Backup somehow never got installed). Oh, and just to be clear, I'm talking about the internal (emulated) sdcard, so I can't simply pull it out and put it in my PC to search the contents.
Does anyone have any idea how this happened or where my files are? I'm tempted to do a restore to see if get everything back so I can then make more backups and store them somewhere else.
On your internal SD, do you have a /0 folder? methinks all your stuff's in there....
It's an artifact of flashing 4.2.1 and it's "multiple user accounts" feature
letinsh said:
On your internal SD, do you have a /0 folder? methinks all your stuff's in there....
It's an artifact of flashing 4.2.1 and it's "multiple user accounts" feature
Click to expand...
Click to collapse
No, I don't have a /0 folder on my sdcard. I did find a /0 folder somewhere in my root, but it only mirrored what's currently on the sdcard.
I found it! It's not on my card, but in the root, under data/media. There is a /0 folder in there as well and it links to the sdcard folder. To be safe, I'm going to first copy everything to my real external sdcard before trying to put it back.
/data/media is the real path for your internal sd card. All the other paths (/mnt/sdcard0, /sdcard, /storage/sdcard0, etc) are just pointers that look at the /data/media location. If you were looking in any of those other locations, the 0 folder should have been seen...
Either way, I'm glad you found your data!
letinsh said:
/data/media is the real path for your internal sd card. All the other paths (/mnt/sdcard0, /sdcard, /storage/sdcard0, etc) are just pointers that look at the /data/media location. If you were looking in any of those other locations, the 0 folder should have been seen...
Either way, I'm glad you found your data!
Click to expand...
Click to collapse
Well, that makes sense, but I assure you it isn't showing. The only thing that's showing is the contents of the /0 folder which is inside the data/media folder.
In other words, it appears the system created a /0 folder in my internal sdcard and decided that new folder would now be my internal sdcard. So if I'm trying to browse the internal sdcard, I have no way of going up a level and getting to my old content; the system considers that part of the root. Luckily, I can use FX File Explorer to get in there and access the files.
JerseyMike4 said:
Well, that makes sense, but I assure you it isn't showing. The only thing that's showing is the contents of the /0 folder which is inside the data/media folder.
In other words, it appears the system created a /0 folder in my internal sdcard and decided that new folder would now be my internal sdcard. So if I'm trying to browse the internal sdcard, I have no way of going up a level and getting to my old content; the system considers that part of the root. Luckily, I can use FX File Explorer to get in there and access the files.
Click to expand...
Click to collapse
It's like that because of Android profiles you can create now on 4.2, so basically I'd you were to make another profile it'd be /1 and so on.
Sent from my SCH-I535 using xda app-developers app
GoonAssJuan said:
It's like that because of Android profiles you can create now on 4.2, so basically I'd you were to make another profile it'd be /1 and so on.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
That makes sense. But it would have been nice if the system "moved" my data automatically when I upgraded.

[Q] What's on my SD Card?

I wanted to start this thread because I am having trouble, (and I assume other noobs are as well), understanding what's on my SD Card and how to navigate through it.
I've attached what I see when I open my device and check the internal storage.
My main reasoning for trying to understand all that's on my SD Card is because it's important! And because I'm trying to figure out where all my apps are stored. I recently installed the venom custom ROM, and since then have lost the knowledge of where my .apk files are stored. That's really what I'm after trying to find those files. I've searched every folder but still no dice. I used Titanium Pro to backup all my files but there is nothing located in the Titanium folder.
Can anybody help me identify where my .apk files are located?
I also have a few .apk files I wish to install on my phone. From what I've gathered the way to do this is to add them to where the other .apk files are located and then Fix Permissions. If I cannot locate my .apk files is there another file path I could save it to?
Lastly I have these two files I have not recognized before, BUGSENSE and .profig
What are these files?
So if you're downloading the apks off a website they'll be in the downloads folder if you downloaded then through Google play..they won't be on your sd unless you manually backed up them up through titanium
a box of kittens said:
So if you're downloading the apks off a website they'll be in the downloads folder if you downloaded then through Google play..they won't be on your sd unless you manually backed up them up through titanium
Click to expand...
Click to collapse
Right okay, so if I choose to back them up onto the SD card then my .apk file paths should appear? Because as you can see now I have no app folders on my phone (sd card) currently.
I've backed up my phone via titanium still nothing in there is an .apk file.
I'm also interested in keeping my phone clean of useless things (another reason for this thread).
As file explorer. Settings allow up to root allow root. Go up from sd card. System/data folder
Sent from my VENOMized HoxL
Boom. That's what I was searching for. Thanks.
Sent from my HTC One X using xda app-developers app
dmcin23 said:
I've backed up my phone via titanium still nothing in there is an .apk file.
I'm also interested in keeping my phone clean of useless things (another reason for this thread).
Click to expand...
Click to collapse
If you go to titanium backup location on sd card and open it you will find what you looking for. Its pretty easy to restore backup in titanium app itself.....also a true backup should be done in twrp recovery as it backs up everything (file partitions,kernel,radio,apps) it will save a copy (known as a nandriod backup) on your sd card that you can recover if your rom won't boot or you just need to restore .
Sent from my HTC One X using xda premium
Make sure you enable writing to the root folder as well. System apps are in system/app.

Can't upload app from titanium with weapon. Help please.

So I got a little bored of CM7 and decided to flash something new. I went with weapon G2X. Installed fine except for some reason when I am in the ROM itself my file manager does not seem to detect anything that I have on my SD card. I know it's still there because when I boot into recovery I can see them there. I side loaded my Titanium apk (thankfully I threw it on my pc for safekeeping) but it will not allow me to restore any of my apps. When I click on "batch actions" I get an error saying mnt/sdcard/emmc/titaniumbackup cannot be found. In recovery mode I mounted emmc and my sdcard with no help at all. What else can I do? I would really like to get this rom working but if not I'm going to restore from my cm7 nandroid.
So I realized that my TiBa location is actually sdcard/titanium backup not emmc. So in the preferences portion of titanium I changed the backup folder to sdcard/titaniumbackup. But that didn't help my issue. Now all I have is "mnt/sdcard/titaniumbackup cannot be accessed. Even though when I chose the correct location TiBa is TELLING ME that i have 69 backups in that folder. Any ideas?????????
**Edit- Not sure why but TiBa eventually recognized by backup directory and am now in the process of restoring all my lost applications. Any mods can delete the thread. Sorry.
CM7 and stock based roms use different main storages. CM uses the external one while stock uses internal, so when you did tibu it changed its default location when changing roms.
Sent from my LG-P999 using xda app-developers app
That's really good to know man, appreciate it
Sent from my LG-P999 using xda premium

What do I NEED to keep on my SD card?

I'm trying to clean up my SD card and free up some space. I have some files on there that I am wondering if I need to leave them, or if I can store them on my computer instead.
I always have 2 roms on there.
Synergy_backup_HWkeys_signed.zip (I think that has something to do with my IEMI backup)
MB1 modem
MF1 modem
SuperSU_bootloader_fixed.zip
triangleAway-v2.37.zip
The tibu backup folder......is there only one (the most recent back up in there)
Anything else I can delete that you can think of?
Thanks so much!
Sdcard as in internal or external sd? If external, I doubt there are many apps that see it besides music/vids/pics apps. If internal then if that's all you cherish, everything else can be deleted. I'd save pics/vids but to each his own. Some folders will be rebuilt if you're flashing a rom as well.
You can delete the modems and the SU zip, you won't need those anymore. And I don't know about you but I have 1 TiBu folder which only holds my most recent backups. And if you are referring to an Ext SD Card then you can be liberal with what you delete, no important system data should be going there
If you're responding to me, make sure to quote me so I get an immediate email
You should be able to delete everything (if you don't want pics, etc). However, I remember there was some sort of bin file or something like that on the top most layer of files. I tried deleting it (after opening it and not finding any data), and it messed everything up to the point where I had to reflash the ROM. To this day, I don't know where it came from. But now whenever I reflash a ROM I completely wipe my internal card to get rid of any weird files that may still be around.
Sent from my SCH-I535 using xda app-developers app

Categories

Resources