Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,395 Members 47,975 Now Online
XDA Developers Android and Mobile Development Forum

[Howto] App2sd Step by Step

Tip us?
 
wolfilein
Old
(Last edited by wolfilein; 17th November 2010 at 12:14 AM.)
#1  
Senior Member - OP
Thanks Meter 52
Posts: 223
Join Date: Aug 2010

 
DONATE TO ME
Default [Howto] App2sd Step by Step

This new Turial is not from me credits go to tot31




I'm writing the how to my own way, hope this will more helpful..

How To : App2sd on Xperia X10i mini

Pre Installation.
I'm assuming that you have just fresh install 2.1/1.6 firmware and root your phone before you start the procedure. This is how I did with my phone.
1. Reinstall 2.1 firmware by using Sony Ericsson Update Service.
2. Root the phone by using SuperOneClick ( http://d01.megashares.com/dl/1xcuTic/Super...4-ShortFuse.zip ). More info on SuperOneClick, go here -> http://forum.xda-developers.com/showthread.php?t=803682
Note : Please disable any anti virus especially Kaspersky as it will give false virus alarm and will delete one of the file.

Step 1 : Preparing your micro SD Card.
Please refer to this link ( http://forum.xda-developers.com/wiki/index...rd_partitioning ) on how to prepare your micro sd card. For better performance I would advise that you use a Class 10 card instead of the original card that comes with the phone because the card is only Class 2 card. For more infomation on speed class rating of sd card please go here -> http://en.wikipedia.org/wiki/Secure_Digital

An excerpt taken from wikipedia :-
The following are the ratings of some currently available cards:
* Class 0 - These cards do not specify performance, which includes all legacy cards prior to class specifications.
* Class 2 - Minimum of 2 MB/s performance. Lowest speed for SDHC cards.
* Class 4 - Minimum of 4 MB/s performance.
* Class 6 - Minimum of 6 MB/s performance.
* Class 10 - Minimum of 10 MB/s performance.

Note : The recommended maximum size of ext2 partition is 1.4GB. I've tried 3GB before and ended up with unstable system and eventually crash the phone. So if you're really greedy since you've bought a 16GB or 32GB card to partition the ext2 more than the recommended size and if your phone is unstable, you've been warn.

Step 2 : Download the related files.
1. App2sd : see attachment
2. adb shell : see attachment

Step 3 : Enabling USB Debugging mode on you phone.
Go to Settings -> Applications -> Development -> USB Debugging (check this option).

Step 4 : Installing App2sd.
Create a folder name adb in your pc and extract all the files from adb.zip into this folder.

Connect your phone to your pc and mount the sd card. Extract all the file from app2sd2.1.zip to the root of your sd card. Make sure to unmount the sd card before continue the next step.

In your pc open up a dos terminal box by typing cmd in the Search programs and files box.

Type

cd /adb

then type

adb shell

then type

sh /sdcard/app2sd.sh

you'll be presented by this screen...
+________________________________+
|********************************|
|*Welcome To wolfilein's App2sd *|
|*installing script *|
|********************************|
+--------------------------------+

~this version should be go on any device ~

+___________________+
|********************|
|* Menu *|
|* *|
|*[0] install app2sd*|
|*[1] remove app2sd *|
|*[2] exit *|
|********************|
+--------------------+
[0]


now just press the enter key & wait.

Important : Make sure to set your phone screen timeout to the max because Superuser will ask for your permission to allow this script to run. If your screen goes blank, you can't see this prompt and the installation will fail.

after a while you'll get this..

busybox is /system/bin/busybox
rm failed for /etc/mount_sd.sh, No such file or directory
+________________________________+
|********************************|
| finished going reboot now |
|********************************|
+--------------------------------+


Don't worry, actually it does not fail. I also got the same message and I also thought it failed but when install all the apps and check using Minitool Partition Wizard and Linux Reader for windows, all my applications are installed into my card (see my previous post with screenshot).

The Explanation
If you look through the app2sd.sh script, command rm /etc/mount_sd.sh means remove/delete the mount_sd.sh file from /etc folder, since that file does not exist in the fresh install phone, it gives this error message but continue with other commands..

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 |
|********************************|
+--------------------------------+
"
sleep 1
reboot


Finally after a reboot, your phone is ready with app2sd. From now on when you install any applications it will save into your sd card.

Disclaimer : Do this at your own risk. I will not responsible if any injuries or damage occur to you or your phone
Attached Files
File Type: zip adb.zip - [Click for QR Code] (784.1 KB, 34551 views)
File Type: zip app2sd2.1.zip - [Click for QR Code] (979.0 KB, 38779 views)
The Following 24 Users Say Thank You to wolfilein For This Useful Post: [ Click to Expand ]
 
knudsen81
Old
#2  
Senior Member
Thanks Meter 43
Posts: 1,606
Join Date: Sep 2006
Location: Aabenraa

 
DONATE TO ME
Quote:
Originally Posted by wolfilein View Post
/!\Warning this is for testing only/!\
ŻŻ ŻŻ
here is the script that "should work on the x10 minni"
i hadn't one so i can't say if it works
install is verry easy just
first make a second ext2 fomratted patition on the sdcard

extract the zip in the root of your sd-card
open an adb shell
and type in
sh /sdcard/app2sd.sh
then press just enter and app2sd will be installed
yout phone will reboot and then say me if it give errors

wolfilein
it says the folder do not exist
Knudsen81

Htc One
M7_UL PVT SHIP S-OFF
CID: GOOGL001
HBOOT: 1.54.0000
RADIO: 4A.18.3263.15
OS: 3.07.1700.1


 
wolfilein
Old
#3  
Senior Member - OP
Thanks Meter 52
Posts: 223
Join Date: Aug 2010

 
DONATE TO ME
when said it this??
 
Manny-
Old
#4  
Manny-'s Avatar
Senior Member
Thanks Meter 282
Posts: 471
Join Date: Nov 2009
Location: Bradford - Mobile: HTC Evo 3D

 
DONATE TO ME
does the actually work?
 
wolfilein
Old
#5  
Senior Member - OP
Thanks Meter 52
Posts: 223
Join Date: Aug 2010

 
DONATE TO ME
i have an idea
can anyone of you guys ceck out wat habens if you add a bootscript to
/system/drm/DxDrm/init_drm.rc
/system/etc/hw_config.sh


anyone check this please
 
MasterKira
Old
#6  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Oct 2010
Location: Trapani - Sicily - Italy
just a question.... do it "should work on the x10 minni PRO" ?? ( device with phisycal qwerty) ?

Sorry for my bad english !!
 
rudem0e
Old
#7  
Junior Member
Thanks Meter 0
Posts: 21
Join Date: Jun 2010
Default init.rc

what if i enter contents of drm.sh to init.rc?
 
wolfilein
Old
#8  
Senior Member - OP
Thanks Meter 52
Posts: 223
Join Date: Aug 2010

 
DONATE TO ME
check please this out!!
in the init.rc it seems the pregram must be a service


Quote:
Originally Posted by wolfilein View Post
i have an idea
can anyone of you guys ceck out wat habens if you add a bootscript to
/system/drm/DxDrm/init_drm.rc
/system/etc/hw_config.sh


anyone check this please
 
rudem0e
Old
(Last edited by rudem0e; 14th October 2010 at 07:15 PM.)
#9  
Junior Member
Thanks Meter 0
Posts: 21
Join Date: Jun 2010
Default init.rc

i'm not comfy editing init.rc.
I'm gonna try Autostart application from market first.
 
wolfilein
Old
(Last edited by wolfilein; 14th October 2010 at 07:28 PM.)
#10  
Senior Member - OP
Thanks Meter 52
Posts: 223
Join Date: Aug 2010

 
DONATE TO ME
are you ignoring me ??


and you the autostartapp can't start before it's loaded on boot that means that you must first load the apps

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes