yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Themes and Apps] hugmys0ul:
Thank you very much tot31.

Your tutorial worked flawlessly - STARTING FROM A FULLY FLASHED PHONE (Norway).

I do have one question:-

running "mount" in adb shell does not report any swap partition even though I do have a 380MB swap partition after my ext2 partition.

Any ideas on how tyo get my swap partition used?
[XPERIA X10 Themes and Apps] darkzeroex:
First off i would like to thank wolfilein for such a great app and tot31 for making a great tutorial.

I was able to install format my partitions and install app2sd successfully.

The only problem I have at the moment is trying to shell root after having app2sd install. I tried unsecuring the shell using:

mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

chmod 4755 /system/bin/sh

the resulting lines are:

-rwsr-xr-x root root 178 2010-11-12 01:17 sh

If the above shows:

-rwsr-xr-x root shell [size] [date modified] sh

then it is unsecured!

Whereas when i uninstall app2sd I am able to shell root.

-rwsr-xr-x root shell 178 2010-11-12 01:25 sh

If the above shows:

-rwsr-xr-x root shell [size] [date modified] sh

Am I doing something wrong? Thanks in advance for your reply!
[XPERIA X10 Themes and Apps] Yodd:
Does App2sd will work on 1.6?
[XPERIA X10 Themes and Apps] Ragespeed:
it was meant for 1.6 then 2.1

you can see the post on the first page
[XPERIA X10 Themes and Apps] fuusuke:
after i made the sd card partitions, theres a popup on my phone it says, blank sd card then underneath "sd card blank or has unsupported filesystem, then when i click it, it tells me format it..

i made a fat32, and an ext2 partition. i made both PRIMARY as it said in the guide. dunno what is up :[ format/partitioned twice now, and its still says the same notification popup.
[XPERIA X10 Themes and Apps] wolfilein:
Update

new turial by tot31

and leds working but

sry untested
[XPERIA X10 Themes and Apps] fuusuke:
Hi under Android Commander, it gives me options what should i choose when it asks me if i have App2sd

Native Froyo 2.2

Cynaogens Apps2SD (/sd-ext/)

old type App2SD (/system/sd/)
[XPERIA X10 Themes and Apps] huevito589:
tot31

Can you upload it in a different server please? Like: wwwDOTmediafireDOTcom

THANKS! I can't download anything from ur tuto because this server is blocked to my country.
[XPERIA X10 Themes and Apps] fuusuke:
use this link

http://xdaforums.com/attachment.php?attachmentid=440747&d=1289699333
[XPERIA X10 Themes and Apps] huevito589:
But there is two files:

app2sd2.1 and adb.zip... I need the second one PLEEEASE :)
[XPERIA X10 Themes and Apps] wolfilein:
Please use the version in the attachment i've added
[XPERIA X10 Themes and Apps] ChilliBo:
i get this error

* daemon started successfully *
# sh /sdcard/app2sd.sh
sh /sdcard/app2sd.sh
/sdcard/app2sd.sh: 43: Syntax error: "fi" unexpected (expecting "}")

what to do now?
[XPERIA X10 Themes and Apps] wolfilein:
sry :( mistake by me

*fixed*
[XPERIA X10 Themes and Apps] ChilliBo:
woot now it works fine =) ty so much for the great work!

Edit: it does not work.. it still install to intern memory...

LED glowes purple...

EDIT EDIT: -.- after reinstall it works pretty now.. sorry!
[XPERIA X10 Themes and Apps] fuusuke:
YES! got it working also, hehe got the same error as the guy above, then deleted the new updated one :P

Thanks so much
[XPERIA X10 Themes and Apps] h.boushi1987:
doesnt work for me every time i try to install any app says" application not installed"
[XPERIA X10 Themes and Apps] JeK87:
after step 4, i get

mkdir filed for /system/sd, file exists

mount: device or resource busy

busybox is /system/xbin/busybox

cp: cannot create '/system/sd/app/app' : File exists

mkdir failed for /data/appbak, File exists

cp: cannot create '/data/appbak/app': File exists

im using a u20i maybe that's the problem? thanks in advance
[XPERIA X10 Themes and Apps] The-Lord:
Is your phone rooted? And yea the steps are only for X10i
[XPERIA X10 Themes and Apps] JeK87:
yes my phone is rooted prob that's the reason it doesnt work on my phone. Hope a guide like this will come out for my u20i(mini pro) aswell! ^^
[XPERIA X10 Themes and Apps] beerio:
Unable to get it to work!

UPDATE! 15th november

I finally got everything to work! now do I have both a rooted & app2sd xperia x10 mini!!!

This is how I did it, I used a Kingston 16gb SD 4 class card. I started from a TOTAL clean install.

I have rooted the phone with z4root instead of the Superoneclick and it was much easier than Superoneclick worked on the first try!.

1. Made a partition in fat32 Primary

2. Made a partion in ext2 Primary (1400mb)

3. Unzipped and copied all contents of app2sd2.1.zip to fat32 root partition

4. Unpacked the adb.zip to C:\

5. Used dos terminal box CMD

5. Typed cd /adb

6. adb shell

7. Got a $

8. Typed su and got #

9. Wrote sh /sdcard/app2sd.sh

10. Came into the menu, choosed 0

11. Everything installed and rebooted (I removed the USB cable directly after closedown)
[XPERIA X10 Themes and Apps] JeK87:
@^ gz!:p

can anyone confirm this if this also works on the x10 mini pro? if yes that would be great! ^^
[XPERIA X10 Themes and Apps] tot31:
Guys, please read my tutorial carefully, in order to have a successful installation, do it with a clean fresh formatted phone. If you try to install it after you have install a lot of applications, the chances to success is quite slim.

I wrote the tutorial based on my experience to get app2sd works flawlessly.
[XPERIA X10 Themes and Apps] x10rickic:
i am going to try this out right now~~~

hope this works
[XPERIA X10 Themes and Apps] erick_o:
my phone is running smoothly then the phone crashed... it restarted with blinding purple led indicator... then i restarted my phone hoping that i will get the blue indicator back, YES it did, but i have FORCE CLOSE dialogbox in some of my apps, especially those that should be loaded with startup.... :( please... help meeee...:((
[XPERIA X10 Themes and Apps] ChilliBo:
ive got a stupid (or maybe not stupid) question... why types after install "app2sd"

in step 1 (pre-check) "root" instead of "shell" ?

i just asking because befor i installed app2sd it was "shell" and after it is "root"...

i needed to deinstall app2sd to get theme install working...

isnt there a way to keep "shell" ??
[XPERIA X10 Themes and Apps] JeK87:
does this guide also works for the mini pro? have you confirmed it yet? cause i cant seem to get it working on my mini pro.. have tried 6 times already.. -_-
[XPERIA X10 Themes and Apps] Ricky1029:
i want to ask you a question~~~

- exec '/system/bin/sh' failed: exec format error <8> -

what does it mean... i just open the dos and write down “adb shell”
[XPERIA X10 Themes and Apps] tot31:
@JeK87, sorry I don't have a mini or a mini pro so I can't confirm.

@Ricky1029, please give more details what have you done. Have fresh reflash you phone first?
[XPERIA X10 Themes and Apps] chongbh:
Hi,

I have just finished all the steps for the Ext2 partition in my SDCard so those apps which I installed should appear in /data/app, right?

I did see the available space on the top of this folder is similar to the partition I set earlier as I have format it at less than 1.4GB.

Please correct me if I am wrong, thanks.
[XPERIA X10 Themes and Apps] Dudisex:
hello, please help. i have xperia x10 mini android 2.1..

I did everything as instructed, but I forgot to create a partition on the card. Threw me an error that is not enough space. I started again and I created the partitions ext2, But .... I will write a CD and then "adb shell" and jumps out to me Message tower

- exec ' /system/bin/sh' failed: Exec format error <8> -

please help! thank u
[XPERIA X10 Themes and Apps] dr krucifix:
ok this is what I did

1 formatted sd 1st partition fat 32 2nd ext2

2 I did a clean install

3 rooted with z4root

4 put files on root sd card and the folder on C-drive pc

5 connect with pc ==> battery charge

6 did everything you said with the cd/adb etc

7 it worked, ram didn't decrease that much anymore

but than my problems started

- not every app could be installed anymore, couldn't install angry birds anymore and even my titanium back-up just disappeared from my apps list. There where also a few more apps, widgets and games I could install anymore.

My question, is this normal, has there still work to be done to make app2sd work properly and are there more people with this problem?

and is there a minimum class sd card what you need, because my x10 mini just kept crashing all the time. If this is so, I will get the fastest card :) but there are some apps that didn't install anymore and I find that a big problem.

Keep up the good work, I have all the respect for you guys, I wish I was that smart :)
[XPERIA X10 Themes and Apps] wolfilein:
on my x10i angry birds works like charms :)
[XPERIA X10 Themes and Apps] aminmizar:
This is what i did to have my phone with theme,optimise and having App2sd.

1. Do a fresh clean install.

2. Root with z4root and install busybox.

3. Install a theme of choice.

4. Shell root and install busybox to run Android Optimiser.

(Just run_JIT_enabler)

5. Partation my sd card to prepare for App2sd.

6. Rooted again with busybox and follow the command prompt.

7. Phone booted with blue light.

8. Installed Titanium to verify all the partations are there.

9. Run Quardrant and score 749, not bad.:p

Worth the time spent. :)
[XPERIA X10 Themes and Apps] dr krucifix:
1 more question :)

in this post : http://xdaforums.com/showthread.php?t=833722

it says it is importand to remove the usb-cable as soon as the phone close down for reboot.

is this also the case with this method?
[XPERIA X10 Themes and Apps] Ragespeed:
I've already install this two weeks ago.I could see from root explorer and partition manager showing the ext2 with balance space and I assumed it's working.

Can anyone check this for me (and for others too) it seems that the internal memory was used again.Looks like it copied from the internal memory to the sd card.

Whenever you install any new app from the market,both the memory was used that is using the internal and sdcard.

Please check this for me (at least). Currently,my internal memory left around 280mb (with 100+ apps) after a fresh install the internal memory it's about 404MB(originally).Thanks :)
[XPERIA X10 Themes and Apps] dpk0875:
damaged sd card

i hope no one asked for this yet; i tried search thread and couldn't get any answers

i flashed my phone yesterday with rogers 2.1 firmware and with the help of the good people of xda community succeeded in installing app2sd

everything was working and joy lasted for several hours before i tried to import a 720p video file to x10 through media go (i only did this because media go converts non playable video files to playable files before transferring without user having to tinker with any video settings). the process stopped about half way through and when i tried to unmount sd card, on my x10 status bar came the warning sign "damaged sd card" when i press it it gave me an option to format which didn't do anything.

when i mounted the sd card everything was there and i managed to back up a few things before my computer asked to reformat so i did so. also all the apps on my phone was working fine

from there i tried repartitioning and installing app2sd over again and had a problem at the adb shell (i realize now that i didn't have the phone in debugging mode - stupid) so i re-flashed and reinstalled app2sd all over again!

the question i have is if i did have the phone in debugging mode and just installed app2sd again without flashing, would it have worked and everything would have been fine??

also if anyone else had the experience with damaged sd card warning please share your experience and solution, thx
[XPERIA X10 Themes and Apps] HunteronX:
To get this to work for me, I had to mount the /system/sd/ folder, when I wanted to install something (using root explorer), even though all permissions are enabled for that folder already. What's wrong? :confused:

Also, how can this be set on boot?
[XPERIA X10 Themes and Apps] Xvenic:
hay sorry to bother you all

but i have a problem with my x10...

i have my eclair rooted and tried to install apps2sd but it's failed

i reset my x10 to factory condition... it works but when i tried to root it with oneclick

Killing ADB Server...

OK

Starting ADB Server...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

OK

Waiting for device...

OK

Pushing rageagainstthecage...
337 KB/s (0 bytes in 5392.000s)

OK

chmod rageagainstthecage...
- exec '/system/bin/sh' failed: Exec format error (8) -

OK

Running rageagainstthecage...
- exec '/system/bin/sh' failed: Exec format error (8) -

FAILED

someone please help me fix this....
[XPERIA X10 Themes and Apps] dpk0875:
Xvenic, just root with z4root from the market - real hassle free and no fails (at least the two times ive used it)

Sent from my X10a
[XPERIA X10 Themes and Apps] Xvenic:
i'm afraid z4root can't help me fix this problem...

z4root app got error and need to be closed...

any other info how to fix this and install apps2sd
[XPERIA X10 Themes and Apps] dpk0875:
Sorry, I'm not sure if factory reset is the same as re-flashing but as far as I can tell you can only install app2sd from fresh install of 2.1.

Hope this helps..

Sent from my X10a
[XPERIA X10 Themes and Apps] stayfi:
Hi,

Just a small correction:

in the file "app2sd.sh", line 9: "sleep 2" instead of "sleep2", a space has been forgotten.

Thank's for your job !

=> Anyone have the same problem ?

1. I've flashing my phone to have a fresh formatted x10

2. Rooted my phone with SuperOneClick

3. adb shell

4. sh /sdcard/app2sd.sh

5. [0] install app2sd

6. the phone reboot

7. i have all my application working fine

?. but when i want to install new application from the market, it failed !

I tried to do it step by step in the adb shell

and when i try this :

#mount -t ext2 /dev/block//vold/179:2 /system/sd

mount -t ext2 /dev/block//vold/179:2 /system/sd

mount: Stale NFS file handle

I continue the step by step "app2sd"

Reboot the phone

try to install an apk from adb shell and have :

"Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]"

Try to do this for test :

adb shell

$ su

# cd /system/sd

# echo 1>test_file

cannot create test_file: read-only file system

After several trials, i still have the probem: can't mount the ext2 partition

Can anyone have an idea to help me please ?

Thank's

UP
[XPERIA X10 Themes and Apps] goodraja14:
i just need some serious help...i did everything u told to,,,reinstalled,rerooted..downloaded apps2sd 2.1.zip and created adb folder...but in cmd when type cd /adb it shows"the system cannot find the path specified"..im stuck..plzzz
[XPERIA X10 Themes and Apps] stayfi:
Where did you create the adb folder ?

For example, create the folder : "c:\adb"

and unzip in it all fils in "adb.zip"

so, you juste have to do, under dos window :

c:

cd c:\adb

adb shell
[XPERIA X10 Themes and Apps] goodraja14:
i jus extracted the adb.zip into a normal fordr named adb.on desktop..this is my first time with adb and apps2sd..that is the only reason i want this for

plz can u be more elaborate...how can i create the folder in dos????i know..im dumb
[XPERIA X10 Themes and Apps] goodraja14:
is sdk required..for this thing???.coz im jus downloadin it...and how can i create and unzip in dos....????
[XPERIA X10 Themes and Apps] stayfi:
Ok, so you will do this :

1. open your window explorer and copy your "adb" folder from desktop to your (C:) disk

2. click on windows "Start" button and type "cmd" (enter)

it will execute an ms-dos command window

3. in this window, write : "cd c:\adb"

That's all, now you can do :

adb shell

[...]
[XPERIA X10 Themes and Apps] goodraja14:
so wat u r sayin is i shld create adb folder in c/program files..?????
[XPERIA X10 Themes and Apps] goodraja14:
stayfi..thanxa lot fro ur patience and the help... finally got it..

ok]

now should i jus start puttin backed up stuff in2 my sd card..and install apk. files..

how can i be sure.. they are installin in sd cards memory

or should i install apps2sd.apk and create a a partition of 1.4 gb agan as in some methods???
[XPERIA X10 Themes and Apps] stayfi:
Hello,

I was not sure so i did a test,

at the beginning i was using a 32GB SD card but in Minitools Partition, the "ext2" partition was not recognized

So i used a 8 GB SD card and it works!

The problem is that i can't create "ext2" partition after "fat32" partition on my 32GB SD card!

Anyone succed to do it with a 32GB SD card ?
[XPERIA X10 Themes and Apps] stayfi:
app2sd is not an application but a shell script.

Try the step by step method on the first post.

1. partition your card

2. root your phone

3. unzip all files from "app2sd21.zip" in your sd card root

4. execute "adb shell"

5. write :

$ su

# sh /sdcard/app2sd.sh

And all will be ok.

Nothing else to do.
[XPERIA X10 Themes and Apps] goodraja14:
hey thnx.. i did it.. now then i just installed few apps and it says insufficient storage memory...if there is ext2 created then what will its size be.. 1.4gb???in explorer it shows its got 2 gb left..and internal phone memory..400mb...

i just am confused...did all the apps install in internal memory.. or only android system occupies 500 mb of phones memory...???
[XPERIA X10 Themes and Apps] stayfi:
Hi,

1. You have to create your partitions at first, on your computers

2. Some peoples have troubles with ext2 partition > 1.4Gb, i have 1G

3. When you install app2sd, your installed applications are backuped on your phone, if your sdcard fail, so i suggest to keep only applications you really need before install app2sd

4. When applications are installed on your phone, there is 3 things that are installed :

a) APK file

b) Data files

c) Dalvik cache files

App2sd, only link your app dir to the sdcard, but the data and dalvik cache dir still on the phone.

ps: sorry for my english, i'm not used to speack english
[XPERIA X10 Themes and Apps] tot31:
You got it right bro....:)
[XPERIA X10 Themes and Apps] goodraja14:
hi..so what u are saying is i have 2 create partitions on my sd card first and then do all the stuff i did??????and you did not answer this..how much does andriod occupy on phone memory..our phone memory is 1gb +memory for android system or without it???aand i am getting device not found in command prompt..earlier it was fine...plz help.
[XPERIA X10 Themes and Apps] lkmnlkmn:
Thank you for App2SD.

It works on X10a?

In my X10a I running and no error, but after reboot it does not mount the sd.

I just had to change this: mount -o rw,remount -t yaffs2 /dev/block/mtdblock2 /system

I also tried the manual and had the same problem. If restart does not mount the SD partition.

Tank you very much, again.
[XPERIA X10 Themes and Apps] ashu6:
could u pls help me out with this

my x10 mini pro is rooted n i want to install app2sd as i install ample apps on my phoen ..... pls help me with the instructions i follow ure instructions but not getting the rite result ....

pls mail me at racelikepro@gmail.com
[XPERIA X10 Themes and Apps] Ragespeed:
Did you click on the link for X10 mini.The steps given is for large X10
[XPERIA X10 Themes and Apps] lkmnlkmn:
Wow,

it works fine on my X10A.

I used Z4Root (permanent) (does not work on a temporary mode).

I use:

adb shell

su

mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system

sh /sdcard/app2sd.sh

0

After reboot:

At first it seemed all the same, but then I realized that installed new applications and did not occupy more space.

Very good, very thank you.
[XPERIA X10 Themes and Apps] Ragespeed:
Just a tip, try restarting your phone and if you see blue light while Sony Ericsson logo is up, your installation is successful :-)
[XPERIA X10 Themes and Apps] duddukuruprasanth:
purple light....goes on restarting

Guys, seriously need a big help

Ive done everything as mentioned....got blue light first and done with the process

later on, when i reboot my phone,

its rebooting continuously with purple led.....

can some one pls help me out to recover my phone
[XPERIA X10 Themes and Apps] Ragespeed:
I took this from the first page/post

blue means:

no proplem with sd card booting normal

purple/voilet means

sdcard malfunktion booting with failsafe
[XPERIA X10 Themes and Apps] Ragespeed:
I suggest you remove the app2sd installation from the adb menu and reinstall again

+___________________+

|********************|

|* Menu *|

|* *|

|*[0] install app2sd*|

|*[1] remove app2sd *|

|*[2] exit *|

|********************|

+--------------------+
[XPERIA X10 Themes and Apps] imranyousaf:
Thanks man , i did it after 2nd try,on X10i

Realy great job

Thanks alot
[XPERIA X10 Themes and Apps] HaoZeke:
I have an x10 mini pro... I just factory reset it and formatted the sd card(6gb FAT32 and 2gb other thing) After that i rooted the phone as per instructions and put the app2sdcard files on the sd card...

But when i try to use command promt...

It tells me..

After the su

when i write sh/sdcard/app2sdcard.sh

it tells me it cannot find the file

Please help ASAP.
[XPERIA X10 Themes and Apps] moneyman1978:
My situation is different i went from x10i global to x10a LAM. I rooted (z4root) phone ran the script and i get a green light but when i go to try to install apps everything is unsuccessful. Any hints ?
[XPERIA X10 Themes and Apps] saaapy:
Is this method work for x10mini/pro or not?!
[XPERIA X10 Themes and Apps] duddukuruprasanth:
sh /sdcard/app2sd.sh

there should be a space between sh and /

it should work now
[XPERIA X10 Themes and Apps] flrenato:
Following the instructions , got the job done !!

Restored all backed ups apps and for my surprise they restored to the SD !!

Excellent job,

Thanks
[XPERIA X10 Themes and Apps] saaapy:
hi

my first eror is busybox not found i install the busybox from market

after it

when i type the command i see this please help me:

i root with super one click
[XPERIA X10 Themes and Apps] flrenato:
actually what does

" rm /etc/mount_sd.sh

mv /system/bin/sh /system/bin/sh_bak

cat /sdcard/sh.sh > /system/bin/sh

chmod 777 /system/bin/sh

busybox cp /sdcard/mount_sd.sh /etc/mount_sd.sh

echo "

+________________________________+

|********************************|

| finished going reboot now |

|********************************|

+--------------------------------+

"

Stands for ??

I have done until

busybox is /system/bin/busybox

rm failed for /etc/mount_sd.sh, No such file or directory

+________________________________+

|********************************|

| finished going reboot now |

|********************************|

+--------------------------------+

Rebooted and everything worked fine,,, but what did I miss not doing those next steps ??
[XPERIA X10 Themes and Apps] wolfilein:
*NEWS*

I'm Aktually working on a new version with brings the following updates:

You also can decide to move the Dalvik-cache, update modus, a help to add this in custom roms, so you can decide with an setting if you want to use app2sd.

but it won't give an android app because i haven't any java skills.
[XPERIA X10 Themes and Apps] kebre001:
it wiped my phone.. THX!
[XPERIA X10 Themes and Apps] kench928:
sorry, let me ask a question.

Is it possible that i do app2sd that my phone 2.1 firmware is not fresh installed?

i have use it for around 2 month since upgrade to 2.1 and installed a lot of app / game / launcherpro / etc.

thanks.
[XPERIA X10 Themes and Apps] wolfilein:
on my phone it have working great, but the first restart took a long time
[XPERIA X10 Themes and Apps] Galaxea:
Purple light after a few days...

This is just in case anyone runs into the same problem as me:

After a few days of using Apps2sd I was suddenly getting the purple light on reboot. Titanium was also reporting that my Ext2 partition was only 160Mb instead of 1.3Gb.

What I did to fix it was to boot into recovery mode (xrecovery) and tried the "Fix permissions" option. After a reboot the blue light was back and everything looked fine again.

I am not sure if this fixed it but you can try it if you have the same problem.