• Announcements

    • PaulOBrien

      Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance) CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission) ROMs must give full credit to the original author ISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • PaulOBrien

      Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

ROM Development help

5 posts in this topic

Hey guys,

can anyone point me in the right direction for starting ROM development...

I have seen http://theunlockr.co...up-the-kitchen/

is it the same procedure..?

Links and tips on where to start off will be really helpful...

vache..?? davidevinavil..??lens_flare..??anyone else who is experienced in this area..??

Thanks,Looking forward to your replies...

Also, I can code well and very familiar with linux.. :)

PS: i have googled enough with unsatisfactory results..just letting you know.. :)

Edited by redshift13

Share this post

Link to post
Share on other sites

Hi, first you have to look deep into custom rom..

All rom has the same folder structure..

A rom is essentially a zip file signed with a java tool named signapk..

Download this and put into your home directory. Hope you are using linux because all this tools are for linux.

You need also sun-java6-jdk installed..

To give that folder you can made a nandroid backup of acer stock rom and copy into pc..

You'll use only system.img and boot.img

To extract system.img use unyaffs

Put system.img keeped from nandroid backup into unyaffs folder and type this

your_home:~/unyaffs$ ./unyaffs system.img

This will extract system folder into unyaffs folder..

Now you can choose wich apk delete or add or edit

Look also at buil.prop. For beginning you can use original build.prop

After yours editing you have to create a zip file named like you want your new rom.

Then open this empty zip and put those folder: system, META-INF, boot.img

You can use META-INF folder picked-up from mine last Ginger_dmd rom, but pay attenction to delete CERT.RSA, CERT.SF, MANIFEST.MF

If you leave those files sign wont't work

For boot.img use mine, I don't know if will work that picked directly from nandroid backup :/

Look also at updater-script into META-INF/com/google/android/

This is the file that recovery use to flash rom, set permission and create symbolic link..

Please try to understand well updater-script.

To have superuser you have to add su, busybox and Superuser.apk

So keep Superuser.apk from mine rom and put into system/app/ folder and su and busybox into system/xbin/ folder

Really busybox isn't need by superuser, but it's used by updater-script so you must have it

Now you are ready to sign your zip file with a command like this

your_home:~/sign$ java -jar SignApk\\signapk.jar SignApk\\testkey.x509.pem SignApk\\testkey.pk8 ~/sign/your_rom.zip ~/sign/signed/your_rom.zip

Look into /sign/signed folder and you'll find yours new rom ready to flash :)

Note that you can add/delete all stuff to a normal folder and after put into zip file, or add/delete directly into zip file

Obviously you can try editing mine rom to understand the signing process and to see if it works :)

After that try wich you want and good luck :)

Hope this help you and anyone that want to play with custom rom :)

Edited by davidevinavil

Share this post

Link to post
Share on other sites

To edit boot.img you have to unpack it, made edit and repack

Use this tool (mkbootimg was compiled by Vache so any credits goes to him)

Put boot.img into same folder you put unpack-bootimg.pl an mkbootimg

Run those command

./unpack-bootimg.pl boot.img this will unpack kernel and ramdisk

Enter into boot.img-ramdisk folder with

cd boot.img-ramdisk

Look into that folder and made your edit.

You can also leave it as it

After that type this

find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz (this command will keep all files and folder into boot.img-ramdisk folder and put into newramdisk.cpio.gz file)

cd ..

./mkbootimg --cmdline 'console=null' --kernel boot.img-kernel.gz --ramdisk newramdisk.cpio.gz -o newboot.img

newboot.img is boot that you'll put into your custom rom

Remember to rename it into boot.img or you must edit updater-script

Edited by davidevinavil

Share this post

Link to post
Share on other sites

Wonderful.!!thanks a lot buddy..will be looking into it now..

will post if i have any doubts on how to do things.. :)


Share this post

Link to post
Share on other sites

ALl the links are down. Also how do i open the bun file?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.