Guide to make a2sd work in custom roms
hello.i open this thread to show you how to solve a2sd not working on custom roms so you people can use your favorite rom with all the features and rom developers can continue developing of their rom and make them more and more better.
First of all the reason why a2sd dont work and ext partition doesnt mount:
for these feautures and others that dev gives as with his rom,the kernel ramdisk is modified (by xda kitchen or "by hand").so if this boot.img is not flashed into your phone,those feautures wont work.every custom rom have her boot.img into the flashable rom.zip.the thing that our rom creators and devs dont know(cause all phones are not the same) is that the boot.img in the zip
doesn flash!.our phone cant flash boot.img from recovery and the reason is because in this phone kernel and recovery are in the same partition and not separately partition like most phones.
The solution:
REMEMBER THAT YOU DO IT WITH YOUR OWN RISK!
its just very simple:the only thing you have to do is to flash the boot.img that comes with your rom and the only way to do that succesfull is with Odin.(this ofcourse will give the custom bin counter 1 up because its a modified and not stock kernel).also have in mind that you have to flash it once.if for any reason you want to reflash your rom,you just do wipe data etc and reflashing the rom.zip.its not necesary to reflash the kernel(boot.img) again.its still there and will only change if you flash another boot.img or stock firmware with Odin.
So i will give two options.
1.download my PDA_S5360_kernel.tar from TermaRomGR thread
http://forum.xda-developers.com/show....php?t=1520167(the mods in all of these kernel are about the same).flash it with Odin in pda field (first try without wipe anything or reflashing stock firmware first.just boot in download mode,flash with odin and reboot,it should work ok.DONT FORGET TO BACKUP YOUR ROM FIRST!JUST IN CASE!).reboot may take more time dont worry.when phone is on your ext partition should be mounted.you can try with terminal simulator:
su
a2sd check
if everything is ok you can remove your dalvik cache to your sd if you want for more internal memory free space:
su
a2sd cachesd
the phone will reboot.it will late to reopen just be patient and then your internal memory will be almost empty.but have in mind that this partition is not as fast asthe internal memory so some apps or games maybe slow a bit.
2.the other option is to flash the kernel(boot.img) that come with your custom rom.how to do that (thanks to Doky):
copy the boot.img that is inside the zip of the rom you are using.
download my PDA_S5360_kernel.tar
find in web the program total commander for windows
open t commander and in left window navigate to my PDA_S5360_kernel.tar file and get into it.in the right window find the boot.img of your rom.drag it and drop it to the left window so it replace the boot.img into the .tar file with yours.its ready.just flash it with Odin.
Some important things too that i notice from my experiments:
with busybox 1.18 your rom will not boot after nove dalvik cache to sd
it will work nice with 1.17 but its not suitable for people who want to run v6 script.for those who want to run v6 you must download busybox instaler from market and install v1.19.2.if after that you have problems with wifi try another version (1.19.3 or 1.19.4).and report back what works ok and what not so all people together can find the best setup.
Please tell to the devs of your roms to read this thread so they learn about the solution to this problem so they can create even better and better roms