Or Continue to Thread: [ROM] [4.2.2] Chameleon OS for…
Find Your Device:
27th May 2013, 03:59 PM   |  #27  
rugglez's Avatar
Recognized Contributor
Flag Mushroom kingdom
Thanks Meter: 2,740
883 posts
Join Date:Joined: Dec 2011
Originally Posted by pengus77

Use my howto in signature

That's for building a rom from source for the new bl. He's trying to port it

Originally Posted by azharshaikh7866

Even I tried porting this ROM using this thread http://forum.xda-developers.com/show....php?t=1908008
It booted but stuck on chameleon os logo......tried adblogcat but it shows no devices in list of devices in cmd

Sent from my LG-P990 using xda premium

I wasn't aware of the existence of such a thread, or else it may have saved me some thinking and work earlier
But it won't work for all roms.

About the porting procedure:
The folders except those 4 dont have to be deleted and replaced, rather they need to be merged and replace the similarly named files(I've not read that guide, but just stating it) . This means that some additional files in the original old bl ROM (such as invoke-as in xbin folder in this case) which are required by the ROM wont be deleted while porting.

Secondly, also just check out the updater script first time while porting a ROM, to see if there are any special changes to be made or lines to be maintained in it. In this case, there is a set permissions line for invoke-as and a symlink in addition. Those two are :
set_perm(0, 0, 06755, "/system/xbin/invoke-as");
symlink("/cache/srec/", "/system/usr/srec/en-US");
Lastly, I think now its better that we narrow down to only the files required to be ported.
So here's what is recommended to port from now, instead of all those folders:

boot.img, META-INF

.dump_image, Flash_image, setup-recovery, vold, recovery

recovery-resource.dat, vold.fstab

/system/lib/modules (all files in it)


That's right boys and girls, that's how you port a rom to the other bootloader
Last edited by rugglez; 27th May 2013 at 04:05 PM.
The Following 8 Users Say Thank You to rugglez For This Useful Post: [ View ]