Jump to content

Link2SD - alternative to A2sd


Recommended Posts

Posted

Hi,

For those who have stock rooted roms , here is the alternative to A2SD,

http://forum.xda-developers.com/showthread.php?t=919326

It is not working on my U8230, but I hope it will work.

Maybe some pulse guru can help,

This app works in that way that it mounts ext2 partiiton on sd card when phone is booting,

it is achived with one script named install-recovery.sh in system/etc.

The line in script is: mount -t ext2 /dev/block//vold/179:2 /data/sdext2

Problem is that phone is ignoring this script on boot, if I run it manualy, it mounts the ext2 partition,

but it should be mounted on boot.

Thanks,

Petar

Guest BigBearMDC
Posted
Hi,

For those who have stock rooted roms , here is the alternative to A2SD,

http://forum.xda-developers.com/showthread.php?t=919326

It is not working on my U8230, but I hope it will work.

Maybe some pulse guru can help,

This app works in that way that it mounts ext2 partiiton on sd card when phone is booting,

it is achived with one script named install-recovery.sh in system/etc.

The line in script is: mount -t ext2 /dev/block//vold/179:2 /data/sdext2

Problem is that phone is ignoring this script on boot, if I run it manualy, it mounts the ext2 partition,

but it should be mounted on boot.

Thanks,

Petar

Try adding this line to init.rc or just run this script through init.d.

Best regards,

BB

Guest CarpetDiem
Posted

*.If you applied App2sd, please uninstall App2sd and revert to original. Otherwise you cannot create link with Link2SD. Link2SD detects this and warns you at startup

__________

Uninstall a2sd?Am i supposed to type "a2sd remove" in the terminal?

Whats more,if i unistall a2sd,can i use swap any longer?

Regards

Posted (edited)
*.If you applied App2sd, please uninstall App2sd and revert to original. Otherwise you cannot create link with Link2SD. Link2SD detects this and warns you at startup

__________

Uninstall a2sd?Am i supposed to type "a2sd remove" in the terminal?

Whats more,if i unistall a2sd,can i use swap any longer?

Regards

i tried the command "a2sd remove" but i get stuck on the android text boot stage.

any ideas?

you can still use swap but using a short script to switch it on, i got mine located in init.d named 13swap.sh; it has the following two lines:

mkswap /dev/block.mmcblk0p3

swapon /dev/block.mmcblk0p3

Edited by peelie
Guest CarpetDiem
Posted
i tried the command "a2sd remove" but i get stuck on the android text boot stage.

any ideas?

you can still use swap but using a short script to switch it on, i got mine located in init.d named 13swap.sh; it has the following two lines:

mkswap /dev/block.mmcblk0p3

swapon /dev/block.mmcblk0p3
Thx for reply.I've tried "a2sd remove" and my phone boot as normally as before and the apps do move to internal storage,which can be confirmed by the internal space decreasing a lot.Im not sure but guess the reason why you go stuck on android text is that your apps take up such a large space that your phone cant hold them all,so came the erro.But it seems that "a2sd remove" is not equal to "a2sd uninstall"(which is an invalid syntax in terminal) because the app link2sd keep informing that a2sd appiled on my phone. Any ideas? Regards.
i tried the command "a2sd remove" but i get stuck on the android text boot stage. any ideas? you can still use swap but using a short script to switch it on, i got mine located in init.d named 13swap.sh; it has the following two lines:
mkswap /dev/block.mmcblk0p3 swapon /dev/block.mmcblk0p3

Thx for reply.I've tried "a2sd remove" and my phone boot as normally as before and the apps do move to internal storage,which can be confirmed by the internal space decreasing a lot.Im not sure but guess the reason why you go stuck on android text is that your apps take up such a large space that your phone cant hold them all,so came the erro.But it seems that "a2sd remove" is not equal to "a2sd uninstall"(which is an invalid syntax in terminal) because the app
Guest CarpetDiem
Posted
i tried the command "a2sd remove" but i get stuck on the android text boot stage.

any ideas?

you can still use swap but using a short script to switch it on, i got mine located in init.d named 13swap.sh; it has the following two lines:

mkswap /dev/block.mmcblk0p3

swapon /dev/block.mmcblk0p3
Thx for reply.I've tried "a2sd remove" and my phone boot as normally as before and the apps do move to internal storage,which can be confirmed by the internal space decreasing a lot.Im not sure but guess the reason why you go stuck on android text is that your apps take up such a large space that your phone cant hold them all,so came the erro.But it seems that "a2sd remove" is not equal to "a2sd uninstall"(which is an invalid syntax in terminal) because the app link2sd keep informing that a2sd appiled on my phone. Any ideas? Regards.
i tried the command "a2sd remove" but i get stuck on the android text boot stage. any ideas? you can still use swap but using a short script to switch it on, i got mine located in init.d named 13swap.sh; it has the following two lines:
mkswap /dev/block.mmcblk0p3 swapon /dev/block.mmcblk0p3

Thx for reply.I've tried "a2sd remove" and my phone boot as normally as before and the apps do move to internal storage,which can be confirmed by the internal space decreasing a lot.Im not sure but guess the reason why you go stuck on android text is that your apps take up such a large space that your phone cant hold them all,so came the erro.But it seems that "a2sd remove" is not equal to "a2sd uninstall"(which is an invalid syntax in terminal) because the app
Posted

Here is the fix for Huawei phones from author,

Copy "/system/etc/install_recovery.sh" file into "/system/bin" directory and rename it to "flash_image". You can do these operations easyly with "root explorer".

Then reboot.

Now it works fine!

Regards,

Petar

Guest Boony123
Posted (edited)

nice find will try that in a mo :D

edit: working nicely :D

Edited by Boony123
  • 2 months later...
Guest lousou76
Posted (edited)

Guys flash_image is used in some roms.

I found that /system/bin/userinit.sh has room for commands and does run on startup.

I added those lines there and it works fine.

you can add the lines


#added for link2sd
/system/bin/sh /system/bin/sh /system/etc/install-recovery.sh
[/codebox]

to file

/system/bin/userinit.sh

you must add these lines above

[codebox]#### END - app install cache partition ramdisk ####
# Done here
/system/bin/setprop userinit.filesystem.ready 1

I have userinit.sh attached ready for anyone who likes to use mine.

This is from froyo ROM Sweedish Spring RLS5.

userinit.zip

Edited by lousou76
Guest James Kei
Posted
Hi,

For those who have stock rooted roms , here is the alternative to A2SD,

http://forum.xda-developers.com/showthread.php?t=919326

It is not working on my U8230, but I hope it will work.

Maybe some pulse guru can help,

This app works in that way that it mounts ext2 partiiton on sd card when phone is booting,

it is achived with one script named install-recovery.sh in system/etc.

The line in script is: mount -t ext2 /dev/block//vold/179:2 /data/sdext2

Problem is that phone is ignoring this script on boot, if I run it manualy, it mounts the ext2 partition,

but it should be mounted on boot.

Thanks,

Petar

It works straight through for CM6 & CM7.

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.