Jump to content

app2sd consideration


Recommended Posts

Guest kiokoman
Posted (edited)

there's something wrong with the a2sd script:

#!/system/bin/sh

#

# Apps2SD using symlinks and bind mounts

# [email protected] (cyanogen)

# Adapted for Modaco Custom Rom by Teknologist

#Removed this as there is no /etc/sysctl.conf as of now in MCR

#sysctl -p

# execute any postinstall script then kill it

if [ -e /dev/block/mmcblk0p2 ];

then

echo "--- Checking ext filesystems";

ok

if i start the script with busybox sh 40

# fsck the sdcard filesystem first

e2fsck -y /dev/block/mmcblk0p2;

what about if the ext3 partition is on mmcblk0p1 or p3 ? doesn't work for me

i take my sd card on my linux pc and i see this: sdc1 = ext3 --- sdc2 = swap --- sdc3 = fat32 (mmcblk0p1 - mmcblk0p2 - mmcblk0p3 )

and with gparted i have modified the partition table

but there is a second problem

in terminal if a type e2fsck i receve a message that tell me that i'm not root

if i type that after su i receve a message that say " can't find e2fsck"

now i'm adding e2fsck to /system/bin and will see what appen

....

ok

if i start the script with busybox sh 40a2sd it doesn' produce any error like before ( stderr [ not found like someone say about the script on gscript lite)

e2fsck start after that terminal crash and all my application (terminal file explorer and even market) disappear. if i turn off the phone doesn't start anymore and go in loop with the htc desire screen

.....

why no one told me i was using the wrong a2sd zip files????!!!!! i was using the r1-a2sd-desire-dalvik-upgrade-signed instead of r1-a2sd-desire-dalvik-fresh-signed

oh my god ...

.....

Edited by kiokoman
Guest kiokoman
Posted (edited)

conclusion:

someone should change the script with something like "if /dev/block/mmcblk0p2 is ext3/ext2 then e2fsck -y /dev/block/mmcblk0p2 else check /dev/block/mmcblk0p3 if /dev/block/mmcblk0p3 is ext3/ext2 then e2fsck -y /dev/block/mmcblk0p3 else check /dev/block/mmcblk0p1 etc etc..

second people like me and probably "theboxman" in this 3d http://android.modaco.com/content/htc-desi...s-testing-a2sd/ where gscript lite return error is because we where flashing r1-a2sd-desire-dalvik-upgrade-signed in a fresh root installation instead of r1-a2sd-desire-dalvik-fresh-signed

after testing some more now i'm sure that my installation of a2sd is working correctly, i have made a big mistake but i have learn a lot of thing in the meantime. ok sorry i'm talking alone !

Edited by kiokoman
  • 2 weeks later...
Guest myth1001
Posted
conclusion:

someone should change the script with something like "if /dev/block/mmcblk0p2 is ext3/ext2 then e2fsck -y /dev/block/mmcblk0p2 else check /dev/block/mmcblk0p3 if /dev/block/mmcblk0p3 is ext3/ext2 then e2fsck -y /dev/block/mmcblk0p3 else check /dev/block/mmcblk0p1 etc etc..

second people like me and probably "theboxman" in this 3d http://android.modaco.com/content/htc-desi...s-testing-a2sd/ where gscript lite return error is because we where flashing r1-a2sd-desire-dalvik-upgrade-signed in a fresh root installation instead of r1-a2sd-desire-dalvik-fresh-signed

after testing some more now i'm sure that my installation of a2sd is working correctly, i have made a big mistake but i have learn a lot of thing in the meantime. ok sorry i'm talking alone !

I DID THE SAME MISTAKE!!!

Wasted few hours going round and round.

Only to found your post and this tutorial.

http://nimbu.amorvi.com/2010/05/how-to-roo...comment-page-1/

Hope this might help some people out there facing the same problem.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.