So, today i was looking to install Link2SD (for those that don't know: https://play.google....om.buak.Link2SD ) in my Xperia L, but i faced many problems. Most of the are becouse i have a locked Bootloader and im stuck with the stock ROM.
One of the requeriments to use the Link2SD is the support to init.d scripts. Most of the custom roms support this, but not the stock one, giving a boot loop.
After looked for a while, i notice that this topic doesn't appears to be here, so lets start creating...
Init.d allows execute scripts in the boot. In this guide i will focus in the Link2SD, but this will enable the init.d to ALL the apps and scrips. This works in ANY rom (at least, is supposed to) and also with locked bootloaders.
And after the blablabla, a "legal part":
Disclaimer: I have tested this in my Xperia L, with a locked bootloaded and the last version of the Sony Stock rom. No problems so far, but im not responsible for any damage, including data lost, nuclear wars or explosions! But should be safe. Any problem just comment.
..:: Requirements ::..
- A Xperia L (duh...)
- Root access
- A SD Card with some space (8 GB or more is recommended, unless you don't use the sd card).
- Link2SD - https://play.google....om.buak.Link2SD
- Init.d Toggler - https://play.google....nk.initdtoggler
..:: Steps ::..
First of all, you need of create a second Partition on the SD Card. I will not go in many details at this point. There are many guides about how to do this around the web (just a example: http://forum.xda-dev...d.php?t=1614700 - ONLY Point 1 to 4 ).
After create the new Partition, restart the system.
Now lets start the magic:
1 - Start (or install and start) the "Init.d Toggler" app.
2 - Just click in the button "Enable Init.d" .
3 - Restart your phone
If everything works fine, good. Now you should have support to the init.d! Yeahhhh
Now lets proceed to the Link2SD:
1- Open the Link2SD.
2 - Wait a few seconds and should appear a pop-up to creat the link2sd script, requesting to you select the File System of the second partition. Just do it!
3 - If the pop-up doesn't appear, go to the menu and press "Recreate mount scripts".
Always select the File System that you have used in the second partition. After that, reboot one last time.
And now, if everything works fine, you should have the Link2SD active and working fine!