Cleaning up after ROM juggling - HTC Aria General

I have gone between R012, FR006, and CM6.1 and have settled on FR006. I had darktremor on R012 and who knows whatever means on the other two (including App 2 SD v1.22 from AZSoft). I am sure I have one messy ext3 partition. When I set the partition up, I made a 1GB with a swap (don't recall the size). It seems that the 1GB was overkill. I'd like to reclaim some of that and use it elsewhere. This might be a good time to clean out the whole sd card.
Do CM6.1 and FR006 use that ext3 partition? Is there a way to clean it out besides reformatting? I don't mind reinstalling the apps after formatting and repartitioning the sd, I just don't know what I'll lose if I do. Do apps typically store data with the app install location or would everything be in /data or elsewhere in the Fat32. Of course I would back up the sd card (Fat23 portion of it) and do a Nandroid. Who wouldn't do those?

I thought this would get more replies. Not even a suggestion to use search?
Sent from my Liberated Intruder using XDA app.

Use search.
Just kidding, I actually just did this on my phone last night, because I had folders all over the FAT32 portion of my SD card that were just leftovers from old apps, etc. I wanted to clear it all out and start fresh, so I did a nandroid backup, backed up the SD card and used Titanium Backup to save the few apps with data that I wanted.
Formatted the SD in Clockwork Recovery and just put my FR007 zip on there and wiped the phone and reinstalled. Everything seems to be working great.
I don't know if that's any help, but that's what I've got.

Related

APPS2SD and LINK2SD question.

Hello again, I need clarification with this subject...
I had a difficult time in rooting my android, thinking I failed. so for many times I rooted, installed xrecovery, then most importantly apps2sd. but I don't think it works, then I found all about Links2sd. I installed it, and each time after installing I always select the "link2sd" option, and I check the include davlik cache, but my phone memory is continually decreasing... is this normal or not? could there be a conflict with apps2sd and link2sd since I don't know if I have deleted apps2sd. sorry I'm an android newbie. Thanks..
Well... if you had app2sd link2sd would monit about it and asked you to uninstall it first.
If you don't know if your phone is rooted, look through apps - if you have a superuser app - you're rooted
As for link2sd working or not: connect your phone to the computer and open minitool partition wizard home. It will see your ext2 partition along with free and occupied space. If there are any apps on ext2 partition of your SD card - apps are installing there and the slight decrease of space is due to the existing shortcut files. Because you have created ext2 partition, haven't you?...
I did what you said and yes I found files on the other partition I created. but problem is, some files still go to the phone memory, for example the game app "ninjump" has 15mb installed on the phone memory while on links2sd it shows that it is linked to the sd card.
also, I tried removing the memory card, and when I turned on my x8 the programs were missing, so I suppose links2sd is working.
only problem is now is that some chunks are still installed to the phone memory. is there a way of totally redirecting everything to the sd card?
link2sd: Leave data files in Internal Memory, and you can choose the apps to SD
app2sd: Copy all data from the application to the SD, It's all automatic
nowonanx8 said:
I did what you said and yes I found files on the other partition I created. but problem is, some files still go to the phone memory, for example the game app "ninjump" has 15mb installed on the phone memory while on links2sd it shows that it is linked to the sd card.
also, I tried removing the memory card, and when I turned on my x8 the programs were missing, so I suppose links2sd is working.
only problem is now is that some chunks are still installed to the phone memory. is there a way of totally redirecting everything to the sd card?
Click to expand...
Click to collapse
Ok, here's the deal - how many times did you install ninjump in the past? If more then once, and meanwhile you moved it to or from ext2 it might have (though the probability is very slight) that you have two apps - one in internal storage and one in ext2 storage.
So, navigate into ext2 partition (it's a folder in root directory - sdext or so) and look for this app. It might be hard, as names of linked apps are somewhat messed up, but there should be icons If there is no app on ext2, try switching it back to internal mode and then onto ext2 again - perhaps without linking dalvik cache.
chequebo1 said:
link2sd: Leave data files in Internal Memory, and you can choose the apps to SD
app2sd: Copy all data from the application to the SD, It's all automatic
Click to expand...
Click to collapse
Thank you, that was sooooo relevant!
APP2SD
I having problem with the app2sd too..i dunno whether it works...This is what i had done..I had busybox, superuser, and xrecovery installed and rooted. But when come to partitioning the sd card, i partitioned it into 3 parts : FAt, ext2 and ext3...after that i installed the update.zip and custom zip of app2sd...the phone starts not recognizing the sd partition...anyone can help here??
I use titanium backup to see app2sd works or not. if a2sd decrease, so it work.
if internal still decrease, I guess some file or even some app just can't work with app2sd.
one question too, how or can I move games data from fat sdcard to ext2 partition? like gameloft data. I need my fat space for other file
Graveir said:
Ok, here's the deal - how many times did you install ninjump in the past? If more then once, and meanwhile you moved it to or from ext2 it might have (though the probability is very slight) that you have two apps - one in internal storage and one in ext2 storage.
So, navigate into ext2 partition (it's a folder in root directory - sdext or so) and look for this app. It might be hard, as names of linked apps are somewhat messed up, but there should be icons If there is no app on ext2, try switching it back to internal mode and then onto ext2 again - perhaps without linking dalvik cache.
Click to expand...
Click to collapse
I tried navigating to the ext2 partition using minitool partition wizard, and I indeed saw files that I have installed there. so do you mean that apps2sd is better than links2sd? thanks..
Well... I'm not saying anything is better, though I used both solutions in three different ways.
For stock SE ROM link2sd is better, since you only need to partition SD card into primary fat32 and primary ext2 - nothing more. Then you install an app and all works fine.
With custom ROM you cannot use link2sd, since they all have app2sd hack preinstalled (well, you can always modify files, but what for?). Problem occurs when you have this hack AND ext2 partition. The hack then moves automatically all your apps to ext2 memory along with dalvik cache if you install them in internal storage. If you install in external storage, the app goes to fat32 secure folder and dalvik cache remains in ext2. If you don't have any ext on custom ROM, dalvik cache is always in internal storage, while you can move any non-system app onto fat32 sd card.
The ext2 solution in custom ROMs may seem convinient, but for me it was not. When you use apps like phone locator, they should always dwell in internal memory, since SD card can be easily taken out, while deleting such an app from a remotely locked down phone would require flashing, otherwise the device is useless for the thief
Well actually both app2sd and link2sd are typically similliar. I've tried app2sd before and it still leave some files in internal memory. So will link2sd. But link2sd is much more easier to use because once your phone is rooted you just need to install it on your phone without going through the adb shell thing. Easy for newbie for sure. But you just have to manually link new installed applications and games. That's what differ link2sd with app2sd. Now I'm using link2sd. If you want to make sure, why don't you try those froyo phone. Try to use the app2sd stuff on those phone. They still install some applications on their internal as well although they have built in app2sd.
Sent from my E15i using XDA Premium App

[Q] Question about phone backup

Hi, i am very new here and ilack some of the basic info. so i have couples of questions. thanks very much for your answers.
1. what is the internal memory of the htc hd2? and when you partition your sd to fat32 and ext3, will the internal memory be the sum of the ext3 and the phone internal storage?
2. when you want to flash your hd2 with a new rom. do you need to format both partitions of your sd card (fat32 and ext3)
3. when i tried the latest ultimate droid rom, i saw the author posted the rom and another thing called the layout (3.0.2.4_magldr_150M_partitionLayout_30M_cache). what does this do?
4. how do you make the phone to move or install apps in the ext3. and how do you back up those data and apps in the ext3?
and again, thanks guys for helping me out.
1 internal memory, do you mean what's available after a flash? 260 Meg or so with the small cm7 roms (typhoon for example)
No, the internal memory wont show the sum of internal plus ext BUT it will work as if it is. Say you install a 20meg program, internal mem goes down 20 but back up 20 after a restart.
2 no, when you perform the wipes through cwm it takes care of the ext partition and the .android folder on the fat32 for you.
Some apps may put data on the fat32, in which case you can delete those if you want or if you have isues.
3 the layout (clockworkmod, or cwm) sets up the various partitions on your nand (internal) memory, boot, system,cache,data. Without the layout there would be nowhere for the rom to flash into.
The main point of interest in cwm is the system partition size, big roms need big system partitions, sense roms for ex. need 250meg or more, typhoon needs 130. Flash a big rom to small layout fails, small rom on big layout wasted space.
4 you don't, if the rom says ap2sd enabled or words to that effect, it does it automatically. You can test this by loading up some apps then browsing the SD card on a Linux PC
When you run backups and such, it just does it, the phone has no idea that some of the info is on the SD, it treats it as internal.
samsamuel said:
Say you install a 20meg program, internal mem goes down 20 but back up 20 after a restart.
Click to expand...
Click to collapse
i dont understand why is that? so if the rom is apps2sd supported, it will automatically install apps to ext3. then it makes sense to me that the mem goes down, but then why it goes back up???
Example, 250meg internal plus 1gig ext partition.
internal memory shows as 250meg,, install 20 Meg app which goes to ext partition BUT the system displays internal mem as 230, , you reboot the phone and check again and internal memory shows as 250 again.
oh, thanks alot, i get it. but which backup solution is the best? and how does backup using clockworldmod work? does it make a backup file to sd card?
ljaypham said:
oh, thanks alot, i get it. but which backup solution is the best? and how does backup using clockworldmod work? does it make a backup file to sd card?
Click to expand...
Click to collapse
Hi,
It depends what you want to back up.CWM backup will take a snapshot of your entire ROM system,data,settings,everything.A bit like a ghost image of a drive on your PC.
This way, if you install a new ROM and there is a problem,or you don't like it,you can RESTORE your original ROM and everything is back the way it was before.
CWM backup saves to the sd card.
If you just want to backup data,use something like Titanium Backup.

a2sd issues

I am using the Synergy RC1 rom . It comes with a2sd already built in. I have an 1024mb ext3 partition setup on my SD card. My SD card is a class 8 and I have used with success on other roms that supported a2sd. I repartitioned the card and cleared all caches multiple times before flashing the ROM. When I use Quick System Info it shows me how much space I have left on my ext3 partition so I know it is there and readable. The davlik cache is stored on the SD card by default with this particular iteration of a2sd (it is based off of CyanogenMod)
The problem that within a few hours of flashing the rom and installing a couple of apps (I have installed different apps each time so it is not a particular app that cause this) all of a sudden my internal storage starts dropping on its own. No more apps were installed, but every couple of minutes when I check there is less and less internal storage available. The memory drops even when the phone is not in use. I was doing some stuff on my phone and when I put it down it had 260mb free. I pick it up 10 minutes later and it is down to 118mb. I do not understand why this is happening. If anyone has any suggestions it would be greatly appreciated.
Earlier today on the Synergy thread it was said that using a 2 gig EXT3 should work better, than the 1 gig most of are used to using. I know I'm going to reformat mine tomorrow and repartition it to see if I can get this going.
Worked perfectly on MikG, but I guess Synergy just puts more into internal memory.
Also, you did use the Synergy Updater to flash A2SD, right?? Because flashing the DT Zip file could cause problems, I hear....
Thanks for the reply.
I still had space in my ext3 partition. About 640mb I believe. I will reformat and reflash to see if a 2gig partition will help. I did not download and install the DT a2sd mod. I have used the built in a2sd in myn's roms for a while without issue. Should I use DT's instead?
Nope. seems that in Synergy, A2SD is not built in, but in the Synergy updater, you can flash a version that was created FOR synergy. Now, when you do this, it doesn't format your card, it only assigns the partitions.
On MikG, with DT A2SD built in, using my 64MB Swap and 1 gig EXT 3, I'd have over 300MB free internal storage.
With Synergy, same partitions, using the flashable A2SD, I only have 124MB free internal, my apps ARE on the SD Card, but when I try to enable swap (Terminal SU, A2SD Reswap) it fails to start Swap.
I think it was DougJamal that told me to try and reset my EXT to 2 gigs
I see. I was under the impression from the OP that a2sd was built in. I saw my ext3 partition being used as I installed apps. Everything was working I believe. When I first flashed the rom I had 386mb of free internal storage.
alkataz said:
see if a 2gig partition will help. I did not download and install the DT a2sd mod. Should I use DT's instead?
Click to expand...
Click to collapse
DT's works good for me. running MIUI.1.6.24
Yes, DT's is great, but apparently, there's a script that conflicts with Synergy, so I was told to use the flashable in he Synergy Updater.
It's DT, but it's got a mod that works better with the ROM, and believe me, that was a very layman's way to describe it
I was out so I could not repartition and reinstall the rom using the 2 gig partition, but I had repartitioned and reinstalled just before I left my last response and it has happened again. I looked at my phone a couple hours aftr install and internal storage went from 354mb to 177mb. I looked at it 10 minutes later and it was down to 54mb. By the time I reached home I was getting a low memory warning and 511kb free. This is weird.
I did a full wipe and everything. I have never experienced this on any ROM and I have used a2sd on almost all of them. I have read that there was a issue with the GB release updates that caused the phone to incorrectly report free internal storage space. Maybe this is the cause of this, but I have reinstalled the ROM like 3 times and redownloaded the ROM each time.
alkataz said:
I did a full wipe and everything. I have never experienced this on any ROM and I have used a2sd on almost all of them. I have read that there was a issue with the GB release updates that caused the phone to incorrectly report free internal storage space. Maybe this is the cause of this, but I have reinstalled the ROM like 3 times and redownloaded the ROM each time.
Click to expand...
Click to collapse
Yeah, I ran /system/bin/ a2sd reinstall which re processed all my apps but when I ran a2sd reswap, it failed again and my memory is wicked low.
I DO still need to reformat and redo my ext3 partition, but I'm not feeling too confident.

Starting over

Using Titanium Backup, I have seen my internal and SD card get fuller and fuller. I'd like to start from the beginning. Here's what I have planned, let me know if this should work.
1. Download the same fresh ROM that I've been using, FR008.
2. Using ADB, remove bloatware and apps that I'm not going to use.
3. Flash the UOT Kitchen zip that I made recently, as well as a font zip.
4. Nandroid backup all of these changes.
5. Wipe Dalvik, wipe cache partition, wipe data/factory reset, wipe battery stats.
6. Copy the contents of the SD card to a safe place (PC or USB)
7. Reformat the SD to remove the EXT3 partition, make it all FAT
8. Copy the Clockworkmod folder back to the SD card (it will be the only file)
9. Restore the Nandroid backup I made in #4.
This should give me a fresh start and then I can reinstall the apps that I want. I assume this process will remove all of the remnants of junk left behind by all the previously uninstalled apps. I know there has got to be some serious junk in the 1 year of messing with this thing.
On a side note...is there a way to have the previous purchases made in the market no longer visible in the "My apps" view? Some of the previously purchased apps no longer have any purpose for me. It would be nice to clean that up.
In reality you should be able to easily "clean up" whatever is taking up the extra space. First, when you uninstall an application, the app data stored on internal memory is automatically erased. Uninstalled apps can leave behind data on the SD card (and many do), but you can just delete this yourself (even stuff inside the Android folder) without going to the extreme of formatting the entire card. As for the internal space getting larger, this is probably the result of your dalvik cache growing and growing. This is completely normal and doesn't make your device slower, but it can mean you'd run out of space. You can clear your dalvik cache from CWM, but ultimately the phone will just recreate it.
But, if you just WANT to start with a clean slate, that's up to you. If you are going to go that route, then I'd advise you to simply wipe everything (dalvik, cache, data, and in addition to what you said, the system partition) before installing the fresh ROM. Making a Nandroid backup is unnecessary for this process (although you might want to make one at the beginning just in case you want to revert). Like I said before, stuff on your SD card can be deleted whenever you want, so you can just delete/format it before or after you do the above.
You should NOT wipe your battery stats unless your phone is giving inaccurate battery readings. Wiping this will just make your phone give you less accurate battery readings for a while.
duckredbeard said:
On a side note...is there a way to have the previous purchases made in the market no longer visible in the "My apps" view? Some of the previously purchased apps no longer have any purpose for me. It would be nice to clean that up.
Click to expand...
Click to collapse
I think if you force close and clear the data for the Market app, it will clear that list (and repopulate it only with apps currently installed).
The purpose for writing the sd card is to get rid of the ext partition.
My last Intruder was a Grumman A-6E.
duckredbeard said:
The purpose for writing the sd card is to get rid of the ext partition.
Click to expand...
Click to collapse
It seems to me like your intention is to avoid running out of memory, which is why I'm confused why you want to delete your ext partition. The Aria has such little internal memory that I'd suggest using apps2sd with any custom ROM, but to each his own.
In any case, if you are going to delete it, the easiest thing is probably to delete it before you install anything. If you have a computer with a microSD card reader, then you can do:
1) Turn phone off, remove SD card, and format the card from your computer.
2) Copy all the ROM zip files you want to install to the SD card, and put it back in the phone.
3) Boot straight into Clockworkmod, take a Nandroid backup if you want, then wipe everything and do a clean install.
The reason I'm confused with the list of steps that you gave is that you're taking a nandroid backup, then wiping everything, then doing a restore. The restore just completely undoes the wipe, so what was the purpose of wiping? If your intention is to only restore the system partition, then I don't see why you don't just delete the ext partition before wiping.
Ok...that was a little scary. On the high anxiety side of uneasy. I used my old Aria (ATT didn't want the old one on an insurance claim) to clean out FR008 Liberated ROM. I used adb to remove any and everything I had not used in the last year since I got the phone. Stock widgets, HTC widgets of all sorts, app sharing, setup wizard. Lots of stuff. I then applied my font pack and UOT kitchen mods. Once I was happy with that, I did a nandroid of that and saved it away.
Then I took the sd card and made a copy of it. Using Ubuntu, I removed the EXT3 partition and made it all FAT32. Then I copied over pertinent files such as notifications, wallpapers, and the beloved Tasker folder, which contained a very recent backup. I also created a clockworkmod folder and placed the aforementioned nandroid in that folder (from the old device to the new).
Inserted the SD and rebooted into recovery, restored the backup. Rebooted fine.
The only apps I have installed so far are Titanium backup and Tasker. I'll be monitoring Titanium as I reinstall the apps from the market that I know I want.
The scariest part for me was juggling the SD cards and what nandroid was to be the newly reborn aria. Glad there were no issues with the Tasker restore also. That is alot of work rebuilding profiles and tasks.

[Q] Different partition sizes in CM7 SD installer

Hi. Did my usual +3 hours googling but came empty handed.
Could size-agnostic CM7 SD installer script be modified so that /Data partition is set to 2Gb instead of 1Gb? I know that I can always do the "move to SD" routine but Android keeps bugging me that I`m out of space even when I have 170Mb free on /data. And also moving apps back and forth from internal to SD somehow wrecked my system process. As a result I now have constant rebooting of the launcher as my only Android experience. Uninstalling recent apps did not work. Neither did freeing up space on SD and denying root to all apps that previously asked for it.
zuzka said:
Hi. Did my usual +3 hours googling but came empty handed.
Could size-agnostic CM7 SD installer script be modified so that /Data partition is set to 2Gb instead of 1Gb? I know that I can always do the "move to SD" routine but Android keeps bugging me that I`m out of space even when I have 170Mb free on /data. And also moving apps back and forth from internal to SD somehow wrecked my system process. As a result I now have constant rebooting of the launcher as my only Android experience. Uninstalling recent apps did not work. Neither did freeing up space on SD and denying root to all apps that previously asked for it.
Click to expand...
Click to collapse
If you are willing to start from scratch you can burn the image again to the SD, but don't put any zips in it. Boot and let the script create the new partitions. Then put the card back in the PC and use Mini-Tool Partition Manager to shrink partition 4 (sdcard) and grow partition 3 (data) That program will handle the ext partition (3) as long as there is no data written to it yet. You can get that program free on the internet. Do a Titianium backup of your apps and data and restore later.
Edit: Now after thinking about it, you may be able to doctor your existing card. Partition 4 is fat so you can shrink it with data in it. Take the space off the front. Then I think the program will let you grow partition 3 into the empty space even with data already in it. It is just trying to move it with data does the program balk. Windows does not know how to read ext. Of course if you are running linux, just use gparted to do everything.
Yes, you could do that or you could use a program like easeus partition manager and move the partitions around after the first boot of the card.
Edit (while typing): It looks like you might be talking about an internal installation in which case you don't need to use size agnostic SD installer. Just repartition the internal the way you want it (there are threads for this) then flash your CM7.
Edit 2: beat out by leapinlar while editing 1
JP
Thanks for the idea of repartitioning prior to installing CM7. I`ll also try to repartition SD the way it is now- with data. I was concerned that /data partition is unmountable under Ubuntu when /boot and /system can be read without problems.
Hi again. I`ve managed to srink /sdcard partition under Windows and sort of grow /data partition under Ubuntu LiveCD (gparted froze right after doing its magic).
Boot loop on my Nook stopped as free space on /data increased from 175Mb to 1.2Gb. So I guess I wont be doing a fresh install at the moment.
Question is, exactly how much free space does CM7 need on /data partition? In a real world?
(at ~200Mb it starts bugging me about free space but overall Android stays stable)
zuzka said:
Question is, exactly how much free space does CM7 need on /data partition? In a real world?
(at ~200Mb it starts bugging me about free space but overall Android stays stable)
Click to expand...
Click to collapse
Original Nook Color had 1GB for data. B&N upped it to 5GB on the new Nook Colors. I personally would make it 2GB unless you are going to be adding some really big apps.
Sent from my Nook Color running ICS and Tapatalk

Categories

Resources