cyanogen with a2sd, partitioned, dalvik on sd - HTC Aria Android Development

Could somebody PLEASE give me walk through of the holy grail here? I have rooted my aria and loaded cyanogen nightlies many times, but when it comes time to format and get a2sd working on a partitioned card I fail miserably. I seem to run into issues when the guides mention to go into recovery and partition the card. I am running clockwork and can't find the right partition menu. I tried a method involving adb and could not get a file to push, downloaded darktremor and got an endless htc screen boot loop, and at this point my phone may as well be a missile to my computer screen. I am a noob, but not entirely unfamiliar, just some sort of help getting to that last screen where I see lots of phone memory and can finally lay off deleting apps to add one.
Thanks and I hope someone is out there willing to help!

Can't give you a link from here, but I can encourage you to look for a forum that discusses Ext3 partitioning using a live ubuntu cd. You may have rooted using a similar method. I'll try to remember to send you a link when I get home. Search until then. Post if you find it.
Sent from my (liberated) HTC Liberty using XDA App

Why not just use Rom Manager to partition the card?

I tried that many times but it never worked. It always hung up on the ! triangle screen. I had no problems with the live cd method.
Sent from my (liberated) HTC Liberty using XDA App

Found the link...
androidcommunity.com/forums/f9/how-to-create-ext2-partition-14232/
I did this but went with ext3. I actually practiced with an older SD card until I got it right. The order of partitions is important. Fat32, ext, then lswap. Read around about recommended sizes. For an 8GB card I went with 6.5gb/1gb/32m.
Sent from my (liberated) HTC Liberty using XDA App

duckredbeard said:
Found the link...
androidcommunity.com/forums/f9/how-to-create-ext2-partition-14232/
I did this but went with ext3. I actually practiced with an older SD card until I got it right. The order of partitions is important. Fat32, ext, then lswap. Read around about recommended sizes. For an 8GB card I went with 6.5gb/1gb/32m.
Sent from my (liberated) HTC Liberty using XDA App
Click to expand...
Click to collapse
Skip swap. Should not need/use it on a 512K ram device.
Edit: I know specs say less - specs are wrong! Liberty has the same memory as the N1.

I did it as a precaution. My SD is waaaaaay oversized and figured I could afford to waste 32mb.
Sent from my (liberated) HTC Liberty using XDA App

duckredbeard said:
I did it as a precaution. My SD is waaaaaay oversized and figured I could afford to waste 32mb.
Sent from my (liberated) HTC Liberty using XDA App
Click to expand...
Click to collapse
and I am running out of space on a 16 gb card. 12gb mp3s and 600+ pictures will do that.

attn1 said:
Skip swap. Should not need/use it on a 512K ram device.
Edit: I know specs say less - specs are wrong! Liberty has the same memory as the N1.
Click to expand...
Click to collapse
thanks for this attn. i had seen posts about swap on other devices and wondered if it would help my aria. i'm glad i didn't try to set it up...

Thanks everone for responding. This is where I am with the partition. So when I put the card the phone and mount sd card it shows the same amount of memory in the phone (77.26) when I added a gig of ext2 in gparted.

Do I need to go back into gparted and charnge the ext2 to ext3? Or is this an issue where I need to change something in the phone I am missing. I did reboot after putting the card in.

You won't see any increased capacity there. What you will see after apps2sd is working is that the amount of internal used will go down. I had to reinstall apps2sd after I did the partition, even though darktremor's apps2sd came with my ROM. It defaulted to off because it saw no ext partition upon ROM installation.
Sent from my (liberated) HTC Liberty using XDA App

So I wipe data and flash a cyanogen nightly it will automatically pick up a2sdext and show the proper storage data?
Sent from my Liberty using XDA App

I haven't been in this position myself (always clean installs since using a2ext) but I believe if you have darktremor's a2sd installed and have ext on your sd card, but apps are still on the device, you can do:
su
a2sd reinstall
in the terminal app on the device and it will move all apps from device memory to the ext partition. not sure how this behaves if you have any apps on sd via the standard froyo method....

I don't have a problem wiping data, dalvik and cache since I backed up everything. Going to give it a shot here...
Sent from my Liberty using XDA App

Fwiw, I have been using this method up until this release candidate. Seems broken now.
Sent from my Liberty using XDA App

Ok, so I tried wiping data/cache/dalvikr then flashed cyanogen nightly 99 and it still only showed 138m internal memory. So then I tried downloading darktremor and flashing the zip from clockwork which gives me infinate htc white bootscreens. Then I tried wiping again and flashed the darktremor zip and then cyanogen 99 and the phone booted up, but when I check internal memory I am at 123m. Am I just completely missing something here?

You are likely seeing dalvik. If you have a good SD card, do su in a terminal and then a2sd cachesd. The phone will reboot.
That moves dalvik to SD as well.
Sent from my Liberty using XDA App

BelacNongaw said:
You are likely seeing dalvik. If you have a good SD card, do su in a terminal and then a2sd cachesd. The phone will reboot.
That moves dalvik to SD as well.
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
Says a2sd not found. If anyone has any ideas, I am willing to start from scrap to get this running. BelacNongaw, how did you get yours running? If you don't mind I could try tracing the steps you took and that might work?

Did you type:
su
system/bin/a2sd cachesd
in terminal?

Related

[Q] Superwipe/flashing ROM error (Sensation XE) (Answered)

Hi guys,
OK so I have had my first Android phone for 2 days now (Sensation XE) and I have rooted it last night with Revolutionary.
Had some hitches, but got there in the end.
Anyway so to play it safe I thought I would flash Android Revolution 3.6.8 for sensation
I have clockwork and made a full backup, which is now on my computer.
Anyway I copied over superwipe and the ROM to the SD card and booted into recovery.
I attempt to use Superwipe, this does start but then fails on its own package, Status error 1 Installation aborted
When I try to flash the ROM on its own (Wiped using clockwork) basically the same thing happens again
What could the the issue?
Redownload zip files.
Sent from my HTC Sensation Z710e with Beats Audio using XDA App
Even if its happening on both?
I would give it a try.
Sent from my HTC Sensation Z710e with Beats Audio using XDA App
Nope still the same issue
Also, I formatted my SD card and redownloaded again, it still states "E:error in /sdcard/android revolution etcetcetc
(Status 1)
Installation aborted
If you do the wipe manualy via CWM (wipe cache,boot,system,data...) does it work?
Sent from my HTC Sensation Z710e using xda premium
Good news! Seems as though I have fixed the issues.
Basically formatting (Even doing a full long format) of my Sd card wouldnt work, but would always show 1.6GB total space, the Card is 2GB, so I would expect around 1.8GB at least.
Anyway Superwipe wouldnt work, but the one from this thread: http://forum.xda-developers.com/showthread.php?t=1280358
Is different, and did actually run.
Since it has run, its seems as though its deleted a hidden partition, I now have 1.8GB of free space on the SD. and I can now instlal anything without fault.
Hope someone else who is having the same issues as me see this thread, it would stop them from pulling there hair out!
sgtbash117 said:
Good news! Seems as though I have fixed the issues.
Basically formatting (Even doing a full long format) of my Sd card wouldnt work, but would always show 1.6GB total space, the Card is 2GB, so I would expect around 1.8GB at least.
Anyway Superwipe wouldnt work, but the one from this thread: http://forum.xda-developers.com/showthread.php?t=1280358
Is different, and did actually run.
Since it has run, its seems as though its deleted a hidden partition, I now have 1.8GB of free space on the SD. and I can now instlal anything without fault.
Hope someone else who is having the same issues as me see this thread, it would stop them from pulling there hair out!
Click to expand...
Click to collapse
Thanks I had this issue too and it was fixed as above.
Odd though - SD comes with a partition from factory?
sgtbash117 said:
Good news! Seems as though I have fixed the issues.
Basically formatting (Even doing a full long format) of my Sd card wouldnt work, but would always show 1.6GB total space, the Card is 2GB, so I would expect around 1.8GB at least.
Anyway Superwipe wouldnt work, but the one from this thread: http://forum.xda-developers.com/showthread.php?t=1280358
Is different, and did actually run.
Since it has run, its seems as though its deleted a hidden partition, I now have 1.8GB of free space on the SD. and I can now instlal anything without fault.
Hope someone else who is having the same issues as me see this thread, it would stop them from pulling there hair out!
Click to expand...
Click to collapse
Thank you so much. I was having the same issue, and this one works!!!
I was having the same issue and this worked for me.
Thank you!
Glad I'm helping people!
Can you press the "Thanks" button for me?
I had the same issue on my phone, and it turned out that Android Revolution and the Super Wipe that comes with it do not work with ClockworkMod. They are instead built to work with 4EXT. If you try to install with ClockworkMod, it will get a failure in the package. The reason for the failure is because the cache is still mounted, and it tries to wipe it. You can work around this by going back and unmounting cache, then trying to run the Super Wipe install again. You'll have to repeat the same procedure for installing Android Revolution.
One thing though is if you do install Android Revolution with ClockworkMod instead of 4EXT, you'll miss some important prompts. Once you get your phone up and running again, install 4EXT, then reinstall Android Revolution with it.
remove factory partition
status_six said:
Thanks I had this issue too and it was fixed as above.
Odd though - SD comes with a partition from factory?
Click to expand...
Click to collapse
What software do you use to remove the factory partition in SD?
cryogenous said:
What software do you use to remove the factory partition in SD?
Click to expand...
Click to collapse
The superwipe!

[Q] File System question

I performed a Factory Reset / Wipe and was under the impression this cleared everything off the Xoom that I had added. Upon looking at the /mnt/sdcard folder I see folders of Apps that I had previously installed.
Question
Can the /mnt/sdcard be formatted ? If so how ?
Not super familiar with the whole file system setup so If this is a noob/stupid question could you please explain things for me.
mgabriel2 said:
Can the /mnt/sdcard be formatted ? If so how ?
Click to expand...
Click to collapse
There are two ways that I know of that I personally have done just in the last week or so. First you can unmount the SD card from the Xoom and place it in an Android Cell Phone, and go to settings/storage and from there unmount the card and click reformat SD card. Or you can hook the Xoom up via USB and clear it from within the PC/mac. Hope this helped.
Sent from my Xoom using xda premium
Nope that would be for the micro USB card this is the /mint/sdcard which is part of the internal memory
Sent from my Xoom using xda premium
mgabriel2 said:
Nope that would be for the micro USB card this is the /mint/sdcard which is part of the internal memory
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
Fastboot -w wipes all user data including /mnt/sdcard I lost some pictures of my dog because of it
Sent from my MB860 using xda premium
The simplest way I know of is thru the Backup/Restore options in CWM, just doing the wipes won't do it. I use the Team Rogue version of CWM tho, i don't remember off hand if it can be done in the other recovery's (i.e. Rom Managers version or the one from solarnz that is most popular).
I just, personally, like the way the menus are laid out with Team Rogue's version and not having like a dozen No's with one Yes when confirming an action, nothing against the others.
Thanks guys I will try the Fastboot -w when at home and able to use it and Team Rogue's Recovery when at work.
Its been awhile but what is the option in Team Rogue recovery I dont see one to wipe the Internal data
mgabriel2 said:
Its been awhile but what is the option in Team Rogue recovery I dont see one to wipe the Internal data
Click to expand...
Click to collapse
I believe that its or in the Advance or Mount Storage options....

Internal Sd mount

Hello does any one know how to mount internal sd on cm9 because I don't have an external sd card.
Thank you
Sent from my HTC Amaze 4G using XDA App
Need an external sd
Sent From Space Using My ICS Flavored Sensation
No I'm pretty sure you can use internal memory
Sent from my HTC Amaze 4G using XDA App
http://forum.xda-developers.com/showpost.php?p=22569708&postcount=203
try the second method
Ok i can't get either method to work. I've tried editing it myself and I used your zip.
Whats strange is, I scrubbed everything with the g2x scrubber AND i wiped everything manually. I still get this stupid issue with the SD card and also, a Background from my previous rom loads up all of a sudden????
I know a lot of people got this working and all but damn, this has to be the worst rom I've ever dealt with in terms of getting this to work.
I was working on this last night, DO NOT MESS WITH THIS STUFF IF YOU DON'T KNOW WHAT YOUR DOING!!!! I wiped the internal partitions and it took me a good 4 hours to get my baby back!
It's gonna have to wait till a ROM dev adds the function back into cm 9. I was trying to change all of the necessary files myself, i figured that the file system was close enough to Linux for new to figure it out, like spare parts did in cm7.
but it ended up in a real nasty soft brick.
Seriously, messing with your vold.fstab can f up your recovery partition and make it so you can't get into recovery, and you can't reflash it because the partition tables aren't there.
Sent from my LG-P999 using Tapatalk
Arcee sk3 has a setting for internal storage settings>storage> hit menu button>storage config and select internal storage.. haven't actually tried to connect to PC yet

[Q] Root/SD card question

Ok, so I've rooted my Wildfire S, flashed CM7 on it, with the updated gapps files (gapps gb)
My question is this...Do I need to keep all those files on my SD card? Or can I remove them?
Also, having an "H" icon for my data is better than 3G, correct? everything I've read says that, but I'd like to know from a DAMN good source (you guys)
xxjdm said:
Ok, so I've rooted my Wildfire S, flashed CM7 on it, with the updated gapps files (gapps gb)
My question is this...Do I need to keep all those files on my SD card? Or can I remove them?
Click to expand...
Click to collapse
If you've installed all packages you shouldn't need to keep those on the sd card, but best to keep them on your computer in case you need them in the future.
xxjdm said:
Also, having an "H" icon for my data is better than 3G, correct? everything I've read says that, but I'd like to know from a DAMN good source (you guys)
Click to expand...
Click to collapse
Yeah the 'H' is for highspeed access, you'll get that in areas where you have best reception.
Thank you very much. Yeah I still have them on my computer, along with my backup.
I also have one more question, how do I make a partition on my SD card? And should I get a bigger one? I currently have a 2gb
Sent from my Wildfire S A510e using xda app-developers app
Not exactly sure of the context. Why do you want to create partitions?
If you are wanting to create an .ext3/.ext4 partition on which to install apps (I know people did this with the HTC Desire, because of the really low amount of onboard storage), the best tool for the job is a Linux based partition editor called GParted. Just download the live CD iso, burn it to a CD and boot from that.
You should get a new SD card yes.
A 32gb card will run you ~$20 brand new on ebay, just make sure your phone supports that capacity
Link2sd says to make sure you have a partition created on the SD card for whatever reason...I uninstalled it, and forgot what it said, but yeah....same reason. 512mb onboard storage = pure sh*t.
Edit: it says to do that for "symbolic link" whatever that means.
Sent from my Wildfire S A510e using xda app-developers app
Sure, well most apps like that will want an ext4 partition, which like I said can be created using GParted. Plenty of tutorials on youtube I'm sure for using GParted
Ok, thanks for all your help! It's greatly appreciated!
Sent from my Wildfire S A510e using xda app-developers app

[Q] SD-EXT on SGS4G with CM9?

I'm currently running bhundven's herring CM9 with no kernel modifications and CWM 6. I find that the internal storage for this phone is very low and only holds a small amount of applications, especially since many apps seem to not want to install at all (about 3/4 of the time I try to install things, I get either "Package invalid" or "Insufficient space available", which is extremely annoying and might be a separate problem).
Is there any way that I can get sd-ext to work on this phone with this setup? I'd rather not switch kernels (I'd love to get TWRP recovery but the flashable doesn't work for me and I don't want to switch kernels).
cpkelley94 said:
I'm currently running bhundven's herring CM9 with no kernel modifications and CWM 6. I find that the internal storage for this phone is very low and only holds a small amount of applications, especially since many apps seem to not want to install at all (about 3/4 of the time I try to install things, I get either "Package invalid" or "Insufficient space available", which is extremely annoying and might be a separate problem).
Is there any way that I can get sd-ext to work on this phone with this setup? I'd rather not switch kernels (I'd love to get TWRP recovery but the flashable doesn't work for me and I don't want to switch kernels).
Click to expand...
Click to collapse
I haven't used it but this app should do the trick.
https://play.google.com/store/apps/details?id=eu.codlab.int2ext
Let me know if it works.
I prefer Mounts2SD, which lets you completely configure things. I was running PACman with cache and dalvik offloaded which worked quite well. And free is a good price.
https://play.google.com/store/apps/details?id=com.spazedog.mounts2sd
That seems like it just switches the internal and external storage, not making an ext partition on the SD card. But can things like this really be done through an app? I thought these things had to be done through init.d or build.prop scripts.
Sent from my SGH-T959V using xda app-developers app
The app creates an init file. Or so it appears. Like I said I don't use it. It seems that raze does and I'd defer to him here. Either his app or the one I linked should work fine.
Thanks (given) to both of you. And any ideas on what else might be causing the invalid packages when downloading from the play store? It happens even though I have much more free app space than I would need (eg. I had 119 MB of free space and a 30 MB app download failed).
EDIT: Just tried using Mounts2SD, but it couldn't find the sd-ext partition. Do I need to create that manually, and how?
Sent from my SGH-T959V using xda app-developers app
Titanium backup had a feature to integrate app updates into the Rom.
Sent from my SAMSUNG-SGH-I547 using xda app-developers app
Another way is to create ext4 partition (about 1G is usually enough) on you SD card with free MiniTool Partition Wizard and then use Link2SD to link apps/dalvik to this partition. I've been using it like this for a long time and it works fine. There are plenty of guides on the Web how to do that.
I used CWM or TWRP to create the sd-ext partition. You need to create that first somehow... if MiniTool Partition Wizard will do it without wiping the sdcard, that's better than recovery though.
My method was boot to recovery, mount sdcard, copy everything to computer HD, unmount sdcard, partition sdcard with 2 GB sd-ext (because I wanted lots of space, but I'd probably cut it down to 1 GB next time), mount sdcard, copy everything back from computer HD, unmount sdcard, reboot to system. Then launch Mounts2SD, pick what format you want the sd-ext in (FAT or ext2 are the fastest, but you can take ext3 or ext4 if you're not going to just disable the safety features) and what stuff you want moved over.
Edit: Just found this link, which I haven't used but which explains how to do the sd-ext with MiniTool... apparently MiniTool DOES still wipe the partitions though, so you may as well just use CWM/TWRP and make your life easier.
http://forum.xda-developers.com/wik...#using_MiniTool_Partition_Wizard_Home_Edition
Theraze said:
I used CWM or TWRP to create the sd-ext partition. You need to create that first somehow... if MiniTool Partition Wizard will do it without wiping the sdcard, that's better than recovery though.
Click to expand...
Click to collapse
MiniTool will wipe the sd card to create the new partition as well. I wish there was a way to do it without wiping the card but there is not. So back that stuff up first.
Madein Cyberspace said:
MiniTool will wipe the sd card to create the new partition as well. I wish there was a way to do it without wiping the card but there is not. So back that stuff up first.
Click to expand...
Click to collapse
I used GParted to partition my SD card. NO WIPING. Move, resize, add partitions.
nevkuril said:
Another way is to create ext4 partition (about 1G is usually enough) on you SD card with free MiniTool Partition Wizard and then use Link2SD to link apps/dalvik to this partition. I've been using it like this for a long time and it works fine. There are plenty of guides on the Web how to do that.
Click to expand...
Click to collapse
Yes, but our herring kernel does not support EXT4 partition, I tried it myself
and it didn't work. I had to create EXT3 which is supported by almost all kernels.
Eh, my results varied. Worked fine for me with ext4. And worked fine for my wife as well.
Rebel_X said:
Yes, but our herring kernel does not support EXT4 partition, I tried it myself
and it didn't work. I had to create EXT3 which is supported by almost all kernels.
Click to expand...
Click to collapse
The OP says he's running CM9. That's what I'm running but I use Proton kernel as CM9 kernel has a video bug, and ext4 partition works just fine for me. Strange if Bryan really removed ext4 support, it's just a line in the config file.
Successfully made the partitions last night but my phone won't mount the SD card anymore. Was trying ext3, I'll try ext2 and ext4.
EDIT: Fixed the problem, changed my partition to ext2 and set both partitions to "Primary" (not sure which one did the trick).
cpkelley94 said:
Successfully made the partitions last night but my phone won't mount the SD card anymore. Was trying ext3, I'll try ext2 and ext4.
Click to expand...
Click to collapse
Make sure that you make the first partition Primary/FAT32. This will be your normal SD card. Just take about 1GB of space from it at the end. Then make second partition Primary/ext4 with size to the end of the card. You can try ext2/3 but I don't think it is really necessary.
MiniTool will NOT wipe your partition if you do it right.
dsexton had a guide posted on how to do it.
Is it worth making a swap partition? If I remember correctly it significantly degrades the life of the SD card (and microSD's are delicate as it is), and I don't know if it would significantly increase performance.
cpkelley94 said:
Is it worth making a swap partition? If I remember correctly it significantly degrades the life of the SD card (and microSD's are delicate as it is), and I don't know if it would significantly increase performance.
Click to expand...
Click to collapse
I also created 128MB swap partition, not supported too and not mounted.
I tried to used swapper2 app from the market, but it says not supported by
kernel. Now I lost that space till I feel motivated to format or repartition the SD
card again.
I am using hefe kernel btw on AOKP milestone 6-5.
No swap.
Sent from my SGH-T959V using xda app-developers app

Categories

Resources