Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
termagazis
Old
#1  
termagazis's Avatar
Senior Member - OP
Thanks Meter 188
Posts: 679
Join Date: Nov 2011
Location: Arachova-Greece
Default 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 threadhttp://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
XPERIA NEO V | WeberICS | NightElf Kernel | O/C 1.4 GHz |
MY WORK:
TermaRomGR for U8800pro
TermaRomGR for Galaxy Y
Guide for a2sd and EXT partition mount for Galaxy Y
The Following 13 Users Say Thank You to termagazis For This Useful Post: [ Click to Expand ]
 
Silvane
Old
#2  
Senior Member
Thanks Meter 135
Posts: 645
Join Date: Feb 2012
I love you. I'll try this tomorrow.

Sent from my GT-S5360 using xda premium
 
eyjay1991
Old
#3  
Senior Member
Thanks Meter 21
Posts: 262
Join Date: Dec 2011
Why do i have SD Card Remove Problem then when i boot back i was in the Welcome Screen where my info of google account is being ask. I skipped it then check the settings, my account was just there still. Also having this Turning off by itself problems. This was just started when i begin using a2sd supported ROMS. But when i'm just on stock or non-a2sd roms it work fine. Maybe its the boot.img?
 
termagazis
Old
#4  
termagazis's Avatar
Senior Member - OP
Thanks Meter 188
Posts: 679
Join Date: Nov 2011
Location: Arachova-Greece
Quote:
Originally Posted by eyjay1991 View Post
Why do i have SD Card Remove Problem then when i boot back i was in the Welcome Screen where my info of google account is being ask. I skipped it then check the settings, my account was just there still. Also having this Turning off by itself problems. This was just started when i begin using a2sd supported ROMS. But when i'm just on stock or non-a2sd roms it work fine. Maybe its the boot.img?
which boot.img you instal?mine?i dont think that this is the problem.for me and for others works ok.try wipe cache and if the same try wipe data/reset.
XPERIA NEO V | WeberICS | NightElf Kernel | O/C 1.4 GHz |
MY WORK:
TermaRomGR for U8800pro
TermaRomGR for Galaxy Y
Guide for a2sd and EXT partition mount for Galaxy Y
 
bumslayer
Old
(Last edited by bumslayer; 1st March 2012 at 04:30 PM.)
#5  
bumslayer's Avatar
Senior Member
Thanks Meter 119
Posts: 440
Join Date: Dec 2011
Location: Near you
Thank you for the info bro!

Sent from my GT-S5360 using xda premium
 
termagazis
Old
#6  
termagazis's Avatar
Senior Member - OP
Thanks Meter 188
Posts: 679
Join Date: Nov 2011
Location: Arachova-Greece
Quote:
Originally Posted by bumslayer View Post
I am interested to know what is so special about your boot.img and how you customized it. I am guessing you decompiled a stock boot.img to come up with your own

Sent from my GT-S5360 using xda premium
with xda kitchen.it doesnt has something xterme only a2sd, init.d support and ext mount on boot.
XPERIA NEO V | WeberICS | NightElf Kernel | O/C 1.4 GHz |
MY WORK:
TermaRomGR for U8800pro
TermaRomGR for Galaxy Y
Guide for a2sd and EXT partition mount for Galaxy Y
 
ronnieryan
Old
#7  
ronnieryan's Avatar
Recognized Contributor
Thanks Meter 801
Posts: 2,062
Join Date: Jan 2012
Location: Dumaguete
So this will happen?
before flashing ur 5360kernel.tar


after flashing
Click image for larger version

Name:	SC20120302-010640.png
Views:	1141
Size:	21.0 KB
ID:	926853

is this correct?
 
termagazis
Old
#8  
termagazis's Avatar
Senior Member - OP
Thanks Meter 188
Posts: 679
Join Date: Nov 2011
Location: Arachova-Greece
Quote:
Originally Posted by ronnieryan View Post
So this will happen?
before flashing ur 5360kernel.tar


after flashing
Attachment 926853

is this correct?
yes its succesfuly flashed and should working right
XPERIA NEO V | WeberICS | NightElf Kernel | O/C 1.4 GHz |
MY WORK:
TermaRomGR for U8800pro
TermaRomGR for Galaxy Y
Guide for a2sd and EXT partition mount for Galaxy Y
 
bumslayer
Old
#9  
bumslayer's Avatar
Senior Member
Thanks Meter 119
Posts: 440
Join Date: Dec 2011
Location: Near you
Quote:
Originally Posted by termagazis View Post
with xda kitchen.it doesnt has something xterme only a2sd, init.d support and ext mount on boot.
Oh, so I can take a stock firmware from Doky73's thread and modify it thru xda kitchen and change the kernel to include just init.d support (I kind of hate a2sd at the moment)? What about ext4 file system support? Is this possible?

By xda kitchen you mean the one by dsixda, right?
 
ronnieryan
Old
#10  
ronnieryan's Avatar
Recognized Contributor
Thanks Meter 801
Posts: 2,062
Join Date: Jan 2012
Location: Dumaguete
just like to ask if a2sd's low memory setting would conflict with st@matis scripts?
coz after installing a2sd in my phone with st@matis script, i sometimes notice that memory usage would reach 240+?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...