• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root A2SD Confusssion

I flashed Icarus 1.1 yesterday with no problem - great instructions - working great on my Metro Ascend. Curious about A2SD. Titanium Backup says I have memory as follows:

Internal 198 MB (70.3MB free)
SD card 3.7 GB (2.96 GB free)
SD card (s2sd) 239 MB (235 MB free)

I've got 39 apps installed - seems they are mostly installed on internal memory, I think? How can I tell and how can I move apps to sd. Do I need to install an app to move them? Guess you can tell I'm very new to this - was very nervous about Icarus 1.1 install, but got it right the first time.
 
I flashed Icarus 1.1 yesterday with no problem - great instructions - working great on my Metro Ascend. Curious about A2SD. Titanium Backup says I have memory as follows:

Internal 198 MB (70.3MB free)
SD card 3.7 GB (2.96 GB free)
SD card (s2sd) 239 MB (235 MB free)

I've got 39 apps installed - seems they are mostly installed on internal memory, I think? How can I tell and how can I move apps to sd. Do I need to install an app to move them? Guess you can tell I'm very new to this - was very nervous about Icarus 1.1 install, but got it right the first time.

It should have moved your apps automatically, but mine didn't either. If rebooting doesn't work do this:
Get Terminal Emulator (if you don't already have it or an ADB) the free one works just fine.
run these commands:
su [it will ask for Super User permission. allow it]

a2sd check [make sure everything is okay, kinda confusing at first look but if something is wrong it should stand out]

a2sd zipalign [keeps everything aligned for better performance]

a2sd reinstall [this will put the apps on the sd card]

Now if your SD card is a Class 4 or better and you want to put your Dalvik Cache on your SD card run this command

a2sd cachsd [this will put your Dalvik cache on the sd card]

Reboot your phone if it doesn't do it automatically.

I hope this helps. We are working getting an a2sd thread going here. It should be up soon.
 
Tried Terminal emulator commands like you said. Lost all downloaded apps including market app. What do I do now?
 
Tried Terminal emulator commands like you said. Lost all downloaded apps including market app. What do I do now?[/QUOTE

Which ones did you do?

Did you try moving your Dalvik? If so did you let it complete?
Did you reboot your phone?
I'll be on for a while send me a pm.
 
got to reinstall and phone rebooted its self....
waiting for load....
seems to have worked. got freaked for a minute there.

i spent all day looking up on using the terminal emulator and was a bit worried about accidentally killing my phone.

sitting at 138MB free internal.

woot woot icarus!
 
seems to have worked. got freaked for a minute there.

i spent all day looking up on using the terminal emulator and was a bit worried about accidentally killing my phone.
 
It should have moved your apps automatically, but mine didn't either. If rebooting doesn't work do this:
Get Terminal Emulator (if you don't already have it or an ADB) the free one works just fine.
run these commands:
su [it will ask for Super User permission. allow it]

a2sd check [make sure everything is okay, kinda confusing at first look but if something is wrong it should stand out]

a2sd zipalign [keeps everything aligned for better performance]

a2sd reinstall [this will put the apps on the sd card]

Now if your SD card is a Class 4 or better and you want to put your Dalvik Cache on your SD card run this command

a2sd cachsd [this will put your Dalvik cache on the sd card]

Reboot your phone if it doesn't do it automatically.

I hope this helps. We are working getting an a2sd thread going here. It should be up soon.

Looks good, exect I prob. would do 1 thing different and I don't think it matters a bit, and that is run zipalign last, BUT, doing it this way dosn't matter because they will allign on boot anyway. You can type a2sd align and it will align them immediatly. Other than that, this looks just like what I've done a few times and success each time.
If he lost apps? I havn't a clue, except I never have doing this, BUT I have had to reinstall my apps many times for other things, and to be honest it dosn't take that long, so if that's the worst thing that happened, consider it good....LOL....
Take care...Jeff
 
odd. i just partitioned a new 8gb card with a 2gb partition. ran a2sd check and it said the rom wont support ext4

think i should stick with 1gb?
 
You should stick with Ext2, 3 at most. Apparently the updated ext3/4 file systems include 'improvements' that aren't any use to us the way we're using it, and in fact may decrease the life of the card in return by being more read/write intensive.
 
You should stick with Ext2, 3 at most. Apparently the updated ext3/4 file systems include 'improvements' that aren't any use to us the way we're using it, and in fact may decrease the life of the card in return by being more read/write intensive.


Would you mind giving a brief explanation about EXT 2 3 and 4? I just don't have the time at the moment to research it and make an appropriate post. I'm swamped and I'm sure several people would appreciate it.
 
Well, they're updated versions of the Ext file system, so you would expect 4 would be the most capable of them all. But what you have to bear in mind is that these file systems aren't designed with tiny little phone memory in mind. I don't really know the ins and outs of the differences between then, but apparently the newer ext3 and ext4 file systems brought in changes that are great for PCs/servers (namely journalling), but don't really benefit us the way we're using it. What it does do is work the card a bit harder and potentially wear it out quicker (although to be fair, that's probably a negligible amount). On top of that, Ext4 is usually poorly supported at best by our phones.

So although conventional wisdom says newer is better, you're better off with 2.
 
Is it safe to remove the partition from the sd card? If so, how do I go about doing that?

As I'm sure you've seen here lots, there are not just one way to do things. The deal about that partition is that it is an EXT partition (Linux), which if you bring up in Windows, it will just say "Unknown partition"

Now-The biggest question here-"Are you prepared to lose/format all data on the card?" IF NOT-Make a back-up of the stuff you need.

OK, the problem with this is...IF the stuff you want is on the EXT partition, then Windows will not be able to read it, so I will give you my suggestion, then an alternative:

BTW: All of this assumes that you can put the card into your computer, if that is not the case, I'm writing this anyway, hopefully help somebody, if not write back and we will work around it...OK HERE WE GO:

Solution A:
1. Just do the entire thing in Linux. One of the most popular releases of Linux is Ubuntu. Now, the beauty of Ubuntu (10.10 current version, they don't follow 1,2,3, but that's the month and yr of the release).

Back on track(sorry to digress)-The beauty of Ubuntu, if you have Windows, you can Boot and run the Operating System from a CD (Notice CD not DVD, i never tried to put it on that, it's sized exactly for a CD).
OR
You can make a USB mem stick to boot from, a little faster.

2. To do this: Go to www.ubuntu.com , click download now, pick your version of windows, and download it. Now you will have an ISO file. Use that ISO image file to make a boot disk. Win 7 just double click it with a blank in the drive, it will do it all.

3. MAKE SURE your BIOS is set to check the CD FIRST on boot (you know where you hit F12 or 7 or whatever when you first turn on, set Boot to look at the CD first, maybe USB 2nd, THEN HD), that way if you booting from CD OR USB, it will grab that first, if not, it will just go to windows.

4. OK, so now you have a bootable Ubuntu disk. Put it in and Boot

5. It will take a little bit, remember entire OS on a CD, Then you will get a screen - TRY UBUNTU or INSTALL UBUNTU
YOU WANT TO 'TRY UBUNTU' Give it a second after you see this to 'catch up' a little

6. ok, you are now in Linux.

7. On the Top Left is the Menu, I think it's the far right option, then the second or third one down, "SYSTEM" I think.

8. Just go thru those, you will find a program called " gparted "

SIDENOTE: gparted allows you to change the size of the partitions WITHOUT any erasing. PROBLEM: I tried this, it worked, but then putting back in the phone, something in the phone must know what it is supposed to be, and it just CONSTANTLY FORCE CLOSED Android.system. Had to pull battery, redo everything, big mess.

9. OK, now gparted will take a minute to come up as it scans first. You will see your main harddrives. On the top right of the window is a drop down menu. Drop down and select your SD Card.

10 After you select it, you will see the 2 partitions.

11. Click on the one your deleting, click delete. IT DOES NOT DO IT RIGHT AWAY. It sets it as a task to do, then you click the green checkmark, and it will delete it. (DELETE THE EXT PARTITION)

12. NOW you will have an unallocated Partition

13. Now, click on the other partition, and up in the menu, towards the right, you'll see in the drop down a "Resize" option. Resize the main one (the FAT32 one), Just resize it up until you suck up all of the unallocated one.

14. Click that green thing to make it happen...
BOOM...Now you have a card with 1 FAT partition. Probably want to Format it after that. You can format from within Ubuntu, or just reboot to windows and do it there...UP TO YOU...

NOW (Gettin'' LONG sorry), but I want you to have all the info:

IN WINDOWS:
1. Hit Start, Right click COMPUTER
2. You should see "Manage"
3. It will take a few secs. give it all time to come up, remember EVERYTHING about your computer is loading up.
4. I'm not Super familiar with this but I'm almost positive I can guide you through this.
5. In the main window, double click STORAGE
6. Then Dbl. Click DISK MANAGEMENT

It will bring up a list of all the disks/partitions/etc.

7. For the EXT Linux Partion, it will probably just say "Unknown partition"
8. Here's where I'm a tiny shakey as I always use Linux for this, but just go slow, and you'll know what's happening. GO to the "unknown Partition" Right click on it.
9. You should be able to "Delete" or Delete Partition or something like that.
10. Then instead of being unknown, it will just be unallocated, just like in Linux before "Sucking it up" into the main one.
11. Go to the FAT Partition - "Resize" and "Suck up" all that unallocated space.

**JUST A NOTE: REFORMATTING IN WINDOWS without doing this, will format it, at the size not including the EXT. So if you have an 8GB card 1 GB EXT partition, Windows will format and give you a 7GB card. SO, yes you have to do this.

12. OK, you just resized and pulled all the unallocated former EXT into the FAT.

13. You can Now safely format. and your all set.

A Few notes:
* IF you want to back up something that is on the EXT partition, you will HAVE to boot to linux and back it up from there.

* Don't mess with this much, BUT from Linux, you can get to ALL of your files on the windows side, just not the other way around. (You'll see the drive, it will be a long list of numbers letters as the name, double click it will "MOUNT" and you can get to all your windows stuff, incase you need something, OR want to put something from the card over on the windows partition. Remember your running from a CD, If you back up something, it's only there till you turn off. So toss it over on windows, or a CD or something.

*UBUNTU is VERY VERY user friendly. My best suggestion is a dual boot system. You don't need much for UBUNTU, if you gave it just a couple GIGS it would run GREAT and you could go to it any time, that's what I do. Remember the entire OS is on a CD (NOT DVD, CD), so it's very condensed. plus, ANY, and I mean ANY software you can think of, you can get from a linx repository for FREE....if you play with it you'll find out how, easy as pie. and ALL the software is no cost, that is the entire point of Linux. Just givin a plug.

OK. I think I covered everything. If you have questions, ether post, PM me. Or, probably fastest would be to email me at spyder5157@gmail.com
I promise I answer ALL my emails. It may take a day TOPS, but usually the same day. I know this can be tricky, just follow what I put, you will be fine.

**TO OTHERS: I KNOW THERE ARE EASIER WAYS, BUT, this way runs you thru all of the partition stuff and makes you totally prepared for the next time or if there are any partition issues.
Again, that gparted you will see can also resize without losing data, but that didn't work on the Android, I had a totally successful resize. PERFECT on the computer. Some little piece of data in the phone must "Think" it should be the old size and crapped the bed every try? I can't explain that.

As I said there are some ways a bit easier, but this way explains the EXT partition, and when your done, if you use UBUNTU, you will be really much more knowledgable. If your in a bit of a rush or don't want to mess with it. Do the Windows way:
BUT:
When you have some time, make your self a boot disk of Ubuntu and give it a try. (when making the boot disk, it gives you an option to make a Mem stick boot instead, just make the disk) After UBUNTU is running, you can make a Mem Stick Booter from there.

OK. I KNOW this was a Novella....bordering a full blown Novel. I hope it works.....If it does.....I never get any "thanks" posted to me for anything...cry cry poor me....but if it works....and your happy with my info...toss me a Kudos....I want to be more involved here, but it looks like I'm a tool...LOL...

GOOD LUCK, get in touch if you have problems. Today Mon 3/14 will be gone for a while but back in the late afternoon and then on, so I'll get back to you with whatever...;

GOOD LUCK HAVE FUN...
Jeff
 
I installed Icarus a few days ago and have been using it as is. What is zipalign? And is this something that we should do after installed Icarus? What are the benefits of doing so?

This is a little on the technical side. IF too much so, please do not hesitate to either PM or just toss up another post, but here is the technical details:


zipalign | Android Developers

I had to read it a few times and still am a little shakey, so like I said if you just wanna get down to the basics, let me know....

Take care...Good Luck...Jeff
 
Tried Terminal emulator commands like you said. Lost all downloaded apps including market app. What do I do now?

This happened to me,

After trying this:

It should have moved your apps automatically, but mine didn't either. If rebooting doesn't work do this:
Get Terminal Emulator (if you don't already have it or an ADB) the free one works just fine.
run these commands:
su [it will ask for Super User permission. allow it]

a2sd check [make sure everything is okay, kinda confusing at first look but if something is wrong it should stand out]

a2sd zipalign [keeps everything aligned for better performance]

a2sd reinstall [this will put the apps on the sd card]

Any solutions? Thanks in advance!
Also, when I reboot I have to remove the SD Card or else it will stay in the green android loop forever.
 
Your rom is tweaking


I started from step 1 again and things are working great now!

I must have done a step wrong (I rushed it the first time. Big NO-NO!)

This is where I'm at now:

Internal: 198 MB (193) MB free)
SD card: 3.43 GB (3.43 GB free)
SD card (a2sd): 480 MB (430 MB free)

Looks about right! Thanks everyone!
 
It should have moved your apps automatically, but mine didn't either. If rebooting doesn't work do this:
Get Terminal Emulator (if you don't already have it or an ADB) the free one works just fine.
run these commands:
su [it will ask for Super User permission. allow it]

a2sd check [make sure everything is okay, kinda confusing at first look but if something is wrong it should stand out]

a2sd zipalign [keeps everything aligned for better performance]

a2sd reinstall [this will put the apps on the sd card]

Now if your SD card is a Class 4 or better and you want to put your Dalvik Cache on your SD card run this command

a2sd cachsd [this will put your Dalvik cache on the sd card]

Reboot your phone if it doesn't do it automatically.

I hope this helps. We are working getting an a2sd thread going here. It should be up soon.

This worked great for me! Thanks!
One thing is Terminal Emulator didn't work (kept force closing on me). I used Android Terminal Emulator.
 
What do you mean by tweaking?? Because its happening to me now..twice..dont remember how I got everything back the first time but now im screwed..lost all my apps + market. Re-flash?

what i mean it it's glitched out on you. sometimes it will flash bad and something gets messed up.

it's also mentioned many times that you should do your first startup without the sd card in the phone because market will sometimes install to the card and not work.

boot with no sd for the first time after reflashing and open market, to save time grab titanium backup (or your app backer upper) and terminal emulator by jack palevich not the other one. check market every so often untill it updates, you may need to turn on synch.

try the terminal commands again. if market disappears check your app drawer before freaking out.

use titbu to restore your apps.
 
I have been reading as much as I can about this, but I wanted to ask for some input because I am still cloudy on it.

Here is the setup:

Metro ascend with a fresh install of icarus 1.1. Loving it.

I went through the setup with my factory card (2GB) with a 512 ext2 partition for a2sd, and the remaining space for fat32.

I now want to replace that 2 GB with my 16 GB card, but after reading all over the forums here I am still not sure the best way to do this.

Would someone throw a droid newb a bone?
 
Back
Top Bottom