[Samsung Galaxy Gio GT-S5660] voetbalremco:
hey guys,

as the ace is a very simular device and multiple roms have already been ported by our devs, I would like to introduce a guide wich makes it very easy to port, as most guides take much time and some experience, but porting from a device that only has a different camera and sensors and some more(from inside), it isn't neccesairly needed..

so here's what I do:

WARNING:

im not responsible if anything goes wrong and your device will be bricked. you have been warned.

I'll be saying ''ACE rom'' to the rom you want to port from ace, and ''GIO rom'' to the rom you are going to use as base

1. preparations before we begin porting:

- make a new folder and paste your rom you want to port inside, and extract it.

- if you're rom is cm7/9/ based, you should download a rom for gio that is too.

if you're rom is stock firmware based, you should download a stock based custom rom for gio.

- after you did that extract them both in seperate folders.

- it will look like this:

''Meta-Inf'' - updaterscript and binary, actual commands to install in recovery

''System'' - the system folder, contains all sounds, apps, framework, etc.

''boot.img'' - the kernel

2. Boot.img/kernel

- delete the kernel from ACE rom and copy GIO rom boot.img to

/ace-rom-name

3. Updaterscript

-head into meta-inf > com > google > android in both roms, and open the updater-script with Notepad ++(use google), so you can browse both scripts in one window.

- delete any lines looking like these:

assert(getprop("ro.product.device") == "ace" || getprop("ro.build.product") == "ace" || getprop("ro.product.board") == "ace" ||
getprop("ro.product.device") == "GT-S5830" || getprop("ro.build.product") == "GT-S5830" || getprop("ro.product.board") == "GT-S5830");

- Optional: you can choose ui-prints( the text you see while installing a rom in recovery) if it contains anything like ''rom for galaxy ace'', but it isn't needed.

take a break here. your meta-inf folder should be good now, even as your boot.img/kernel. now we're going to modify the system folder.

Camera and Bluetooth

- open /system on both roms.

- copy camera.apk and bluetooth.apk from GIO rom to ACE ROM in /system/app

NOTE:

- when your camera doesn't work while testing also do this:

go to /system/lib, and use CTRL+F(windows) to search. search for any called ''camera''. when the search is done copy the libs found from GIO ROM to ACE ROM in system/lib.

- some roms also have a cameradata folder located in /system. if so, delete the ace one and add a gio's. if not, skip this step.

4. Modules and HW

- now head to /system/lib on both

- replace the ''Modules'' and ''HW'' folder from GIO ROM to ACE ROM

5. Build.prop

- now go to /system and open both the build.prop's with notepadd++

- delete these lines for ACE's build.prop and add these into them from your gio build.prop

example:

# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-S5830-user 2.3.3 GINGERBREAD DQKK6 release-keys
ro.build.fingerprint=samsung/GT-S5830/GT-S5830:2.3.3/GINGERBREAD/DQKK6:user/release-keys

TO:

# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-S5660-user 2.3.4 GINGERBREAD DXKP6 release-keys
ro.build.fingerprint=samsung/GT-S5660/GT-S5660:2.3.4/GINGERBREAD/DXKP6:user/release-keys

- use CTRL+F to search, and search for GT-S5830. change any GT-S5830 in any line to GT-S5660.

after you changed them all search ''cooper'' and change those to ''gio''

6. Testing

if its good you are now good to go, and you can try your rom.

make a .zip of

''Meta-Inf'' - updaterscript and binary, actual commands to install in recovery

''System'' - the system folder, contains all sounds, apps, framework, etc.

''boot.img'' - the kernel

at your ACE ROM FOLDER wich you modified to work on gio.

I hope this works, as this method is how I port roms from ace.

it is only to port from ace, because the device is almost the same, but most things you modified can also be used for other roms, but need more modification.

6. Frequently Asked Questions

coming soon