• 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

Porting Jellybean to other devices

1 post in this topic

I'll happily admit I'm a noob when it comes to developing but I come across this post over on XDA about porting Android 4.1 over to other phones and it seems doable

so here's my little mini walkthrough:

Start with a pure sdk system dump and deodex it - or use one of the dumps floating around here that are pre deodexed

you need to basically merge it with your latest ics build - I used my last compile of cm9 as a base but needless to say the closer the base is to aosp the better. You'll want to keep as much of the sdk pristine as possible basically just add in the things you need that are device specific such as:

any platform named hw libs from /system/lib/hw

your egl files from /system/lib/egl

your modules from system/lib/modules

wifi, bluetooth, and gps related files from /system/etc

you also will need your idc and keymap files and all the other device specific items out of /system/usr folders so your input methods will work - no idc files means no touch screen

the above error looks like a framework and lib are not getting along. Make sure the frameworks and all of the root /libs are sdk originals you can copy libs over to your sdk port that are not included however just don't overwrite any

make sure you properly modifiy the build.prop to match your device

copy busybox to the working folder into /system/bin and /system/xbin make sure every binary is executable! symlink /system/bin/busybox to /system/bin/sh and replace the sdk version of toolbox bin with the ics version

in ramdisk retain your device.init.rc but replace everything else with what comes in the sdk ramdisk - download the sdk properly and extract the ramdisk as cpio.gz extract it and use it as a base only adding the device specific .rcs that you need. If init.rc needs a few changes make them but as a rule you can usually just use your device.init.rc and keep the master clean. Be sure that init.traces.rc is in your ramdisk it's a new file for jellybean and it gives a crapload of errors when it's not there.

try not to load any wifi modules for initial tests - theres some changes that are screwing mine up if I set my modules to load on boot- it prevents a full boot haha

All credit to randomblame on XDA (post http://forum.xda-dev...78&postcount=36)

So my question to anyone who knows their ROMS is: Does this seem like something that can be done for the G300? I know the CM9 port is still a work in progress, but it does work. Is it stable enough to maybe branch off for a 4.1 port?.

Edited by FlatPackPete

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.