yashsingh1/xdaforums huggingface dataset:
[Motorola Milestone Android Development] :
apps2ext procedure

CM7-RC4 & above / FroyoMOD - 2.6.1 & above / MIUI GB / Cronos 1.2.0 & above Users

!Read note below!

​

If you are flashing any of the roms mentioned above please do not apply the apps2ext script mentioned in the tutorial as the ROMS have the apps2ext facility builtin. They work out of the box. All you need to do is to follow steps 1 & 2 from my word tutorial to create your ext2 partition.

Procedure to convert ext2 partition to ext3/ext4 is available here.

Thanks to Kabaldan, Srilax and goodwin_c it for making it so simple. :D

A detailed guide to on how to get it working is attached.

Screenshots of my /system/sd folder

Screenshot of ext partition in my sdcard

Update

I have attached the procedure file. The guide is kind off big because i made it for noobs like me. It also includes a few pictures. So it was too big to put it in a post.

I will take no responsibility if you screw up.

This has to be applied after applying the nandroid backup. Let me know if you find any issues.
[Motorola Milestone Android Development] juandpineiro:
That would be great sileshn! :D I made apps2sd work on CM by making the directory /system/sd and then applying update "apps2sd_full" by goodwin_C and it was done! Of course, already had my ext2 partition on the SD card.

But... following the same procedure in this ROM didn't work :confused: I think it's an issue with busybox or maybe WHERE it should be installed (did it when installing Titanium Backup, CM has already got busybox)
[Motorola Milestone Android Development] :
Yes. The problem is with busybox installation. There is an app in the market called " Busybox Installer " by Stericson ( Metamorph creator ). Run it and let it install Busybox. Reboot. Done.

I dont know if it will screw up with your CM6. So get advice before trying.

The guide is for noobs like me, not for experienced guys like you. :)
[Motorola Milestone Android Development] keunhuvac:
Thanks! Waiting for your guide!
[Motorola Milestone Android Development] juandpineiro:
Gonna try this right now. This ROM's battery life is just amazing and now with apps2sd + gingerbread theme = just perfect :D
[Motorola Milestone Android Development] manasgirdhar:
tried your guide.Just cant get it to work on the leaked build.Worked fine on CM.is it possible for you to create a nandroid with apps2ext enabled and upload it?it will help loads of ppl.
[Motorola Milestone Android Development] keunhuvac:
There are 3 .zip files up by goodwin_c , wich file should i download or download all 3 files and apply update all 3 files?
[Motorola Milestone Android Development] :
Only the one which says full.
[Motorola Milestone Android Development] :
Will do. I am currently not at home. Should take me atleast 5 hours to get it uploaded. Will do it for sure tonight. May i know what the problem is?
[Motorola Milestone Android Development] manasgirdhar:
Thnx mate...No prob,you take your time.as for the probs i will start from the begining:-

I already have a fat32 and ext partition on my sd card.While using cm i was easily able to mount it but now on the leaked build i flashed the apps2sd_full.zip,created the sd folder in system.installed busybox,rebooted.The card was not mounted.tried viewing with root explorer(Shows nothing),opened terminal,typed:busybox df-h ,it shows all mounted fs but the ext still not mounted.I just cant understand what the prob is.then i reformatted my card with the instructions you gave.Still not mounting.tried to manaully mount it,then i get the error:Device not found.but the mmcblk0p2 is present in dev/block .Any ideas?
[Motorola Milestone Android Development] bijixda:
Is it possible to revert to stock theme, after applying gb theme?

Thanks
[Motorola Milestone Android Development] tegezan:
same question here.....
[Motorola Milestone Android Development] :
To revert back to stock,make a copy of the theme zip file, replace the files inside with the stock apps from nandroid backup and apply in OR. You should replace every file with the stock equivalent. All the apps that you need can be found in the system.img. You need to extract it.
[Motorola Milestone Android Development] :
To double check that it worked for me, i just installed 5 big games on my phone. All of them showed up in my ext partition under apps & dalvik-cache and my phone memory went down only by 2 MB. My phone memory is 174 MB after installation 5 games and 7 apps. So i guess it works for me alright. :D . I'll start my nandroid upload in a couple of hours.
[Motorola Milestone Android Development] bijixda:
ok, just made backup of stock rom theme. this is tar.gz version not update.zip

stocktheme.tgz
[Motorola Milestone Android Development] :
Why did you post it here?
[Motorola Milestone Android Development] manasgirdhar:
Alrite Mate..Thnx..i'll wait for the Nandroid..i just cant understand why I could not get it to work.The main reason for ext is that i have loads of Gameloft Games..N i move all the Data to the ext partition.
[Motorola Milestone Android Development] :
Apps2ext -Before / After

After installing the following applications on my phone over the my latest nandroid

​

this the difference in phone memory.

Before

<-------------->

After

​
[Motorola Milestone Android Development] zamana:
Hello sileshn!

I'm using this ROM, and after applying the procedure of your guide, I ended up with the following situation (see attached pictures, please):

1) Titanium backup shows my ext2 partition, exactly how Cronos showed before I changed to this one.

2) But my /system/sd folder is empty...

As you can see, my phone is rooted and Busybox is installed.

Can you tell me what can be wrong here?

Thanks.

Regards.
[Motorola Milestone Android Development] :
Forget the /system/sd folder. How does your ext partition look?
[Motorola Milestone Android Development] :
Nandroid Backup with apps2sd incorporated

For all those who were not successfull in getting apps2ext working,hold on. I have created a nandroid backup with apps2ext incorporated. I am uploading as i am writing.

Please check the OP later. I'll post links there.
[Motorola Milestone Android Development] zamana:
It looks like this:

Disk /dev/sdb: 7973 MB, 7973371904 bytes

255 heads, 63 sectors/track, 969 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00077541

Device Boot Start End Blocks Id System

/dev/sdb1 1 933 7494291 b W95 FAT32

/dev/sdb2 934 965 257040 83 Linux

/dev/sdb3 966 969 32130 82 Linux swap / Solaris

Optional GParted view attached.

Note: that swap partition isn't used, but is there just in case...
[Motorola Milestone Android Development] Topuz:
Does anyone know why I can't install Motonav or iGO on this ROM? Once I uninstall the trial (and clear its data too) and try to install either of them, it shows the progress bar for a while, then says "Application not installed". The same apk worked on all previous ROMs that I've tried. Please help, I need Motonav every day since Google Navigation doesn't work in Serbia (yet).
[Motorola Milestone Android Development] :
Go to the /data/data partition and delete the folder " com.navngo.igo.javaclient ". Reboot to recovery, wipe dalvik/cache, try again. Also check that the application or process is not shown in Settings-applications-all.

See if this works.
[Motorola Milestone Android Development] zeppelinrox:
Great apps2ext guide!

For it to work on CM 6.1.2, I guess I don't need to perform the last step? I suppose it wouldn't hurt to just get Busybox Installer anyway lol.
[Motorola Milestone Android Development] Topuz:
I don't have that folder in data/data. :confused:
[Motorola Milestone Android Development] manasgirdhar:
on the latest CM you dont need to do anything.It is auto mounted on /sd-ext
[Motorola Milestone Android Development] juandpineiro:
Yup. CM6 has busybox already installed. But with that app you can keep it up to date :)
[Motorola Milestone Android Development] zuli007:
When i tried to open pocketnow.com android close browser. Opera Mobile is opening web but if you minimalize it android close this browser too. RAM weekness ?
[Motorola Milestone Android Development] juandpineiro:
Really weird BUT not only on this ROM... I also tried that a week ago (opening pocketnow) :confused:
[Motorola Milestone Android Development] zuli007:
Did You tried on 2.1 ? This make me mad, and if on 2.1 problem not exist, i come back to older system.
[Motorola Milestone Android Development] zeppelinrox:
Really? I'm on the 11.01.15

But even with the 11.01.28 update, I thought that I would still have to make the ext2 partition and stuff.
[Motorola Milestone Android Development] :
Nandroid Backup with apps2sd incorporated

You can use this nandroid backup for apps2ext support. You need to have a ext partition in your sdcard to get this working.

http://www.mediafire.com/?6apd7b1jfw33e2t
[Motorola Milestone Android Development] Soy_Filipo:
What does one has to do to get the MotoCam working on any rom?

I know i've asked this in another thread, but i wanna know! Come on guys, help please?
[Motorola Milestone Android Development] :
It will not work because it is not meant to work with AOSP. It needs some kind of moto specific stuff. What i don't know. If you check the cronos forum, you'll find Feeyo's explanation in some post there.

I could have given you the link,but his forum is down atm.
[Motorola Milestone Android Development] Dricos:
Thanks,....

Installed successfully through OR-GOT Nandroid 1.45.

I've got the problems on Root Access after installing Titanium Backup.

Solved by downloading busybox

a Question :

How to enabling App2Ext ?
[Motorola Milestone Android Development] :
http://xdaforums.com/showpost.php?p=10994672&postcount=226
[Motorola Milestone Android Development] manasgirdhar:
You will need to make the partiton ofcourse...but no other steps need to be done.
[Motorola Milestone Android Development] manasgirdhar:
Downloading..then will test and get back to you

edit:Thanx a lot Bro...Ext mounted perfectly on your latest Nandroid.All My earlier ext apps restored fine.script modded to allow data to be moved on ext partition(Manually ofcourse).How did you overclock it?by editing the 10overclock file or by using OR?

Now time to install your GB Theme.
[Motorola Milestone Android Development] :
Good. At least it worked for someone apart from me. I overclocked it using OR. You can edit the 10overclock file to suit your needs. I may also get the notification bar widgets ( CM style ) to work on this. Some problems for now.
[Motorola Milestone Android Development] manasgirdhar:
Well i did try to change the overclock using OR to 650....but it took more than 10 mins to boot(odd)...so back to your settings...SMS limit bug solution still not found..as a work around i installed handcent sms..Another Problem bieng you had removed MOTO apps....i use MOTONav...so copied a few of the apps back to system folder..the rest Work but Motonav does not show up in the App drawer..Changed the Permissions..still Nothing.Any idea?
[Motorola Milestone Android Development] chungtau:
Can I use the app2ext on my cronos 1.8.1 ! Thanks!
[Motorola Milestone Android Development] motorator:
Yes, the same modules also works in Cronos 1.8.1.
[Motorola Milestone Android Development] bijixda:
Applied your gb theme... looks great. Thanks
[Motorola Milestone Android Development] zeppelinrox:
Cool. That's what I thought.

I should have time today to do that today. :)
[Motorola Milestone Android Development] :
Quadrant scores at 900Mhz OC
[Motorola Milestone Android Development] htinaung:
I have partitioned ext2. and make it primary and active as well. Using the app2sd nandroid backup. However, when i go to "SD card & phone storage" it only shows 190MB. my ext partition is 900MB+. In the Titanium backup, i can see app2sd is 900MB+. I can see system/sd/ folder. but, nothing in there. i have tried updating the apps2ext modules and scripts from OR and installed the busybox from market. the only thing i skip is that formatting the sd card. am i missing anything here?
[Motorola Milestone Android Development] chungtau:
Will the App2ext drain more battery then without? :)

Thanks!
[Motorola Milestone Android Development] :
My friend. That is the phone memory that is shown there, not your ext partition details.
[Motorola Milestone Android Development] :
No. 13 hours since charge, regular wifi use, a few calls, some music battery has dropped from 100 to 80.
[Motorola Milestone Android Development] keunhuvac:
Spent 1 day to configure app2ext, and no luck!

After formatting, created 2 fat32 and ext2 partition, my MS did not know the file format and showed an error: SD card damage!!!!!
[Motorola Milestone Android Development] :
Try using my latest nandroid backup and see if it works.
[Motorola Milestone Android Development] keunhuvac:
The problem is my MS does not recognize the SD after created 2 partition! And it means i canot run openrecovery because it cannot mount SD card!
[Motorola Milestone Android Development] tegezan:
same here... so i used or got to make partition..

works :)

maybe os windows issue... or microsd...
[Motorola Milestone Android Development] juandpineiro:
Man that can't be good :( but surely it shouldn't be that complicated to set up. If you have Root Explorer (or some equivalent app) installed it will be much easier to do the following steps that, in my opinion, are the most critical to make it work in this ROM:

1. Check that busybox is installed in /system/xbin. With root explorer go to that folder and there should be a lot of files in there including one named just busybox. With Busybox Installer by Stericson you can choose to install it there but I think it doesn't always "obey" your request :p

2. Also, just to make sure, you can create your /system/sd folder via Root Explorer and assign it the same permissions as the other folders in /system

Honestly I'm not that much a Linux/console/commands guy, I know you can do that on a console -> mkdir, chmod... bla bla... but Root Explorer really makes it avery easy.

The rest is applying apps2sd_full by goodwin_c and that should do it.

I'm gonna try to post some screenshots :) to make my point clearer

EDIT: WHAT? TWO FAT 32 partitions on the SD card? If you had two separate fat32 partitions maybe that was problem, but I'm not sure if that was just a typo :p

EDIT:

That's my /system/xbin folder, you can see busybox and other files there, and the other pic is the permissions my /system/sd folder currently has but I think that has constantly changed cause they're not the same as the other /system folders.
[Motorola Milestone Android Development] keunhuvac:
Thank all for helping me!

But i got stuck at very early stage: create ext2 partition on my SD card!
[Motorola Milestone Android Development] tegezan:
read my reply... make partition with got open recovery.. it works...
[Motorola Milestone Android Development] keunhuvac:
OK, i will try!
[Motorola Milestone Android Development] arttree:
apps2ext vs. apps2sd what are the pro & con? anyone can tell me?
[Motorola Milestone Android Development] tegezan:
ups.. wrong button :D

for me

apps2ext :

+ no memory phone required... large 500-1000mb space in ext2 for apps n games

+ no lag when back to home sceeen... app2 sd lag for me..

- i cant use memory phone :p

- some said, partition make sd life shorter..

apps2sd

+ no partition needed..

- lag..

- still eat memory phone...

sorry for my language...
[Motorola Milestone Android Development] htinaung:
so app should install to ext partition on sd card? i install flash and QQ player. but eating my main memory storage.
[Motorola Milestone Android Development] :
Even when you install to ext,there is some data which needs to be installed in phone memory. So a very small portion of your phone memory will be used which is negligible when you compare it with directly installing in internal storage.
[Motorola Milestone Android Development] arttree:
So apps will automatic install to ext2 or we have to manually move them to ext2 like what happen in apps2sd?
[Motorola Milestone Android Development] htinaung:
i do not se app, app-private & dalvik-cache folders inside /system/sd folder.

is this normal?
[Motorola Milestone Android Development] :
http://xdaforums.com/showpost.php?p=9364036&postcount=2
[Motorola Milestone Android Development] :
Install a app and check.
[Motorola Milestone Android Development] zeppelinrox:
Well I got the same error as keunhuvac about having a damaged SD Card.

I guess I should have taken the sd card out of the phone, huh?

OK so at the moment windows won't read the card and my only option is to format with android.

So the ext2 partition is to be primary and not logical, correct?
[Motorola Milestone Android Development] htinaung:
it seems strange . after installation Zynga poker and few other apps , system/sd folder is still empty.

could it be depends on the app?
[Motorola Milestone Android Development] :
I had mentioned in my guide that it would be better to take the sdcard out of the phone before creating the partitions.

Yes, both partitions primary. First FAT32 partition,then ext2 partition.
[Motorola Milestone Android Development] :
Does your phone memory decrease drastically while installing apps. Try installing some big games and see.If there is a big change in phone menory, it isnot working. Also check the ext2 partition if the apps that you installed are showing up.

For me, whenever i install an app, it shows up in the ext2 partition.When i remove an app,it is deleted from ext2 partition.

@ ManasGiridhar, if you could elaborate a little more when you get time.
[Motorola Milestone Android Development] htinaung:
thanks for your help. when i install 10mb app, main mem decrease by 10mb. so u have your apps in system/sd/ ?
[Motorola Milestone Android Development] zeppelinrox:
Thanks.

Well I have now been trying to get windows to read the micro sd card via a sd card adapter and it won't read it. Windows will see it just fine if I put it back into the phone. I suspect that this would have been the same situation if I had tried the sd card adapter first.

geez...

It's really strange. After formating with android directly, even if i format again with the SD formatter and make ONLY a fat32 partition, I STILL get the damaged card error. So it's not the creation of the ext2 partition that causes the error...

copying AOR to the card now.. will try in recovery...
[Motorola Milestone Android Development] :
Obviously, it is not working for you. Yes, my apps show in system/sd.
[Motorola Milestone Android Development] :
Another option as mentioned by someone here may work. GOT OR has an inbuilt option to partition your card.Give that a try and see if it works.
[Motorola Milestone Android Development] omegaart:
What is the main difference betwin FAT32 and ext2 partitions ?

Why we/you need to do that ?
[Motorola Milestone Android Development] :
http://www.shahz.net/android/the-difference-between-froyo-a2sd-a2sd-and-a2sd-plus.html
[Motorola Milestone Android Development] wolvie_rs:
Hello. Im using the Froymod at this moment. And i wanna try this, but, i really cant understand how to make it. I downloaded the nandroid.zip file, put in the card with anothers Nandroid Backups, try to restore but the file dont appear to me.

Please, can someone explain from a easy way how to make it work?

Thank you!
[Motorola Milestone Android Development] omegaart:
So from this means that this ex2 partition is similar as swap partiton ? Am i right ?
[Motorola Milestone Android Development] manasgirdhar:
Please use andronini open recovery.G.O.T's wont show it.it should be extracted and the folder pasted in sdcard->nandroid->openrecovery.
[Motorola Milestone Android Development] wolvie_rs:
Im using the Androidiani 3.3... have 3 others backups inside that folder. When i extract the nandroid.zip, i have a openrecovery folder and inside this, many .img and .md5 files. Put in the SD folder and nothing appear...
[Motorola Milestone Android Development] :
That's why it didn't show up. The structure should be like this.

/sdcard/nandroid/openrecovery/folder/img files+md5 files.
[Motorola Milestone Android Development] :
Yes. Kind of.
[Motorola Milestone Android Development] zeppelinrox:
I might have to.

I found a guide on how to do it in CM command console but it didn't work.

Not even the su command worked in AOR's console.'

meh...
[Motorola Milestone Android Development] wolvie_rs:
Perfect! Now, another question, there is a way to put the Portuguese Brazilian in the Language Selector? I mean, because the portuguese from portugal sounds a little strange for us.

Thank you!
[Motorola Milestone Android Development] zviki:
For guys who wants ext2 partition.In Androidiani OR 3.3 we have Eclair modding menu-Menu app2sd-split SDCard.So try this.

My question is: I already have apps on sd with Froyo.What about this apps with ext2 app2sd?

And about space on phone with ext2 app2sd-it take some time to move apps to ext2.
[Motorola Milestone Android Development] htinaung:
I got it working finally with miui rom. Will try again with this one
[Motorola Milestone Android Development] wolvie_rs:
174mb free on the phone. All apps running perfect! The rom appear to be very fast. Thanks!
[Motorola Milestone Android Development] :
Yes, it is possible. But involves some work. I added a few languages to the Vivo leak when it came out. I'll see if I can help you out.
[Motorola Milestone Android Development] shreyas99:
Just flashed the new nandroid and the gingerbread theme. Application open/close time lag is almost nil. Here what I feel after a few hours with it. The ROM is near perfect. Just a few things missing, but nothing that external applications cant fix.

Fast. Very fast compared to the previous rom. Flash, camera, 3g, wi-fi, all work flawless.

And as for the battery life, I wasnt very impressed, so heres what I did. I charged up the phone to full battery (including bump charging). Discharged is till it died. Then Charged it back up to full again. Deleted the batterystat.bin file.

Rebooted.

Viola. With average usage, i.e 1 hour of heavy gaming, 2 hours of 3g, a few calls and a few texts. Its been 39 hours and I still got 30% left. Now thats what Im talking about. My milestone now gives me a little more than 2 days without charging.

Oh, yeah, Im overclocked and undervolted to 900mhz.
[Motorola Milestone Android Development] moobe:
hello people,

Is the chrome to phone working for anyone? or we have the same problem as the first leak (GOT's leak) with the android_id?
[Motorola Milestone Android Development] wolvie_rs:
Thank you so much my friend!

Can u please give the location of this file? Maybe it's a good idea to make it here too!
[Motorola Milestone Android Development] :
/data/system
[Motorola Milestone Android Development] zviki:
Hm,i think that apps from sd must be removed on phone before enabling ext2 app2sd...
[Motorola Milestone Android Development] motorator:
Not necessary, you can still move apps stored on SD onto "Internal memory" after you enable Apps2ext and vice versa.

Apps2ext and Froyo's built-in Apps2SD can co-exist peacefully.
[Motorola Milestone Android Development] wolvie_rs:
To do this, i need to uncharge the phone first? The file will be created automatically after?
[Motorola Milestone Android Development] zviki:
OK.Thanks.I think this because i lost some apps after enabling apps2ext,but i can see it on installed on SD.
[Motorola Milestone Android Development] motorator:
I've had apps stored using apps2SD get hosed when restoring nandroids, not sure if that is related to your situation.

I discovered that Apps2ext/Apps2SD could work together because I regularly forget to move my apps back to internal memory when activating the Apps2ext module :D
[Motorola Milestone Android Development] :
Check the post from Sreyas. He has mentioned how to do it.