[GUIDE]Port Nexus s roms to sgs devices - Captivate Android Development

Well i will share my knowladge to you people, two years of learning stuff about android....
This is only guide for porting nexus s roms to sgs phones, you cannot use this guide to port other rom to other device, well you can but dosnt ensurance that it will work.
If this guide dont help you (0,01 possibilities) LOGCAT YOUR BUILD!! I WILL TRY TO HELP
Tools needed /by saranhai/:
7zip (alternative to winrar, doesn't matter which you choose to use)
Notepad++ (highly recommend if you're on windows)
Android SDK/ADB (MUST HAVE, for troubleshooting and such)
dsixda kitchen (could come in handy)
First to port an ics rom you need winrar.
This are the steps:
grab an ics rom like cm9 or aokp to take the libs and hw folders
Never unzip the rom.
1-from cm9/aokp copy all outside system, i mean boot.img mtd etc..... and past it over the rom you are porting (nexus s rom)
2-enter system/app and remove torch.apk, crespoparts.apk and replace camera.apk with aokp camera.
3-enter system bin and replace this files with aokp/cm9 ones
*dhcpcd
*bluetoothd
*vold
*wpa_client
*wpa_supplicant
Click to expand...
Click to collapse
4-enter system etc and replace this files with aokp/cm9 ones
*bluetooth folder
*dhcpcd folder
*Apnconf.xml
*wifi
*vold.fstab
*vold.conf
Click to expand...
Click to collapse
5-Then we go to the libs, enter system/lib and replace:
*HW folders
*modules folders
*egl folders
*libril.so
*libsec-ril.so
*libreference-ril.so
*libsec-ril-client.so
*libbluedroid.so
*libbluetooth.so
*libbluetoothhd.so
*lib_cameraclient.so
*libcameraservice.so
*libhardware_legncy.so (very important to wifi to work) hell this caused me problems
*libEGL
*libgles (the 3 files)
Click to expand...
Click to collapse
--------------replace usr and vendor folders-------------------
And last edit build.prop, well first check if it boots then you change this and add this.
edit this:
ro.product.model=SGH-I897
ro.product.brand=samsung
ro.product.name=SGH-I897
ro.product.device=SGH-I897
ADD THIS TO SIGNAL TO WORK!!
additional build propieties
ro.telephony.ril_class=SamsungRIL
ro.telephony.ril.v3
=icccardstatus,datacall,signalstrength,facilitylock
mobiledata.interfaces=pdp0,eth0,gprs,ppp0
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
Click to expand...
Click to collapse
ADVANCED USERS ONLY (dont ask me how) :
for working external sd (emcc) you need to decompile/recompile framework-res.apk
you need to change this:
xml/storage_xml with other storage xml from aokp or cm9
Click to expand...
Click to collapse
I´m not responsible for bricked devices (this shouldnt brick it) but i dont want anyone crying because i will laugh at you, it works for me..

Libs functions
Lib:
*Libhardware_legancy.so (makes wifi works)
*all libs with ril: DATA and SIGNAL
*LibEGL, modules, hw: hw aceleration, lights,etc...
*Libgles (i suppose this ones controlls battery stats and consuption)
Click to expand...
Click to collapse
etc:
*apns-conf.xml (all related to apn and services)
*dchcpd,vold.ftsab,vold.conf: internal sd
*wifi,bluetooth: wifi bluetooth lol
Click to expand...
Click to collapse
someone correct me if im wrong but im preaty sure what im writing...

Thanks for this! Warn people that it won't work for all ROM's. (one's ported from other device to Nexus S.)

b-eock said:
Thanks for this! Warn people that it won't work for all ROM's. (one's ported from other device to Nexus S.)
Click to expand...
Click to collapse
okey, thanks will add it... the only rom i cant get to boot with this guide is cybergr rom, dont know what the hell he did to it... hahah

Madflapjack said:
Libs functions
Lib:
etc:
someone correct me if im wrong but im preaty sure what im writing...
Click to expand...
Click to collapse
is this work on aosp rom from google?

Madflapjack said:
okey, thanks will add it... the only rom i cant get to boot with this guide is cybergr rom, dont know what the hell he did to it... hahah
Click to expand...
Click to collapse
I was actually trying to get cyberGR working, the updater.script is different from normal. May be not having these could be the issue. Just a guess though
package_extract_file("modem.bin", "/tmp/modem.bin");
set_perm(0, 0, 0777, "/tmp/modem.bin");
package_extract_file("updater.sh", "/tmp/updater.sh");
set_perm(0, 0, 0777, "/tmp/updater.sh");
package_extract_file("make_ext4fs", "/tmp/make_ext4fs");
set_perm(0, 0, 0777, "/tmp/make_ext4fs");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
package_extract_file("flash_image", "/tmp/flash_image");
set_perm(0, 0, 0777, "/tmp/flash_image");
package_extract_file("erase_image", "/tmp/erase_image");
set_perm(0, 0, 0777, "/tmp/erase_image");
package_extract_file("bml_over_mtd", "/tmp/bml_over_mtd");
set_perm(0, 0, 0777, "/tmp/bml_over_mtd");
package_extract_file("bml_over_mtd.sh", "/tmp/bml_over_mtd.sh");
set_perm(0, 0, 0777, "/tmp/bml_over_mtd.sh");
Click to expand...
Click to collapse

q659503934 said:
is this work on aosp rom from google?
Click to expand...
Click to collapse
It should work even with gb but not tested by me, and aosp ics i think that yes.

asasione said:
I was actually trying to get cyberGR working, the updater.script is different from normal. May be not having these could be the issue. Just a guess though
Click to expand...
Click to collapse
if you get it to boot, it would be awsome, keep the good work, i think that might be the reason.

Madflapjack said:
okey, thanks will add it... the only rom i cant get to boot with this guide is cybergr rom, dont know what the hell he did to it... hahah
Click to expand...
Click to collapse
You mean it is possible to port the PureXperia rom? If yes, i will give it a try

The egl and gles are related to gpu rendering. Also, this guide looks very familiar...
Sent from my SPH-D700 using Tapatalk 2

Hey guys I have a working Xperia ROM. I wasn't ever supposed to release it because the other DEV I worked with asked me not to. But I will PM you the link if you want it. It is GB but it boots and everything.
Sent from my SGH-I897 using xda premium

b-eock said:
Hey guys I have a working Xperia ROM. I wasn't ever supposed to release it because the other DEV I worked with asked me not to. But I will PM you the link if you want it. It is GB but it boots and everything.
Sent from my SGH-I897 using xda premium
Click to expand...
Click to collapse
b-eock can you come on gtalk?

xboxfanj said:
The egl and gles are related to gpu rendering. Also, this guide looks very familiar...
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
sorry i forgot to add you in credits

The directions are not very clear.
grab an ics rom like cm9 or aokp to take the libs and hw folders
Click to expand...
Click to collapse
Does this mean Extract /system/lib/HW folder and all files under /system/lib from the Captivate ICS cm9/AOKP and put into the Nexus S rom.zip?
2-enter system/app and remove torch.apk, crespoparts.apk and replace camera.apk with aokp camera.
Click to expand...
Click to collapse
This seems very easy, remove the listed files from the Nexus S rom.zip and add the Camera.apk from the Captivate cm9/AOKP rom.zip
Steps 3,4,5 seems very easy also, take listed files from the Captivate cm9/AOKP rom.zip and move them into the Nexus S rom.zip. Then we take /system/usr and /system/vendor from the Captivate cm9/AOKP rom.zip and move to the Nexus S rom.zip.
Last is editing the build.prop file.
Advanced step, I found this thread http://forum.xda-developers.com/showthread.php?t=1511730 which could mean editing the storage_xml will be easier.
Is that about everything needed?

askpcguy said:
The directions are not very clear.
Does this mean Extract /system/lib/HW folder and all files under /system/lib from the Captivate ICS cm9/AOKP and put into the Nexus S rom.zip?
This seems very easy, remove the listed files from the Nexus S rom.zip and add the Camera.apk from the Captivate cm9/AOKP rom.zip
Steps 3,4,5 seems very easy also, take listed files from the Captivate cm9/AOKP rom.zip and move them into the Nexus S rom.zip. Then we take /system/usr and /system/vendor from the Captivate cm9/AOKP rom.zip and move to the Nexus S rom.zip.
Last is editing the build.prop file.
Advanced step, I found this thread http://forum.xda-developers.com/showthread.php?t=1511730 which could mean editing the storage_xml will be easier.
Is that about everything needed?
Click to expand...
Click to collapse
not extract hw and modules and egl just replace the folders....
and thats all..

Related

[ deodex script] deodexerious: all your base are belong to us!

Here's a script I've built for my own ROM cooking purpose
another purpose was to create a very easy to read script, so everyone can understand the magic of deodex
had some hard time figuring all the BOOTCLASSPATH and all the signing magic (if you want to do it manually, the secret is: don't pack and sign!, just add the classes.odex to the original jar or apk...whatever...
or use my script to automagically do all that)
after one brick and jtag reincarnation and a few bootloops
I present to you:
DEODEXERIOUS !! (the only spartan deodex script)
requirements:
Linux
zip
* tested on my Ubuntu 10.10
instructions:
1. extract the included script
2. put the content of system(including the system folder) inside the rom folder
actually you can create a folder named system inside the rom folder and copy framwork and app folder there, it does not require any other files from the rom
3. while in the console inside the extracted script directory execute from the console
Code:
./deodexrom.sh
4. wait and watch the console for errors (there shouldn't be any)
5. when it is done, you should find the deodexed files inside the deodexed folder
* if you want to start over just execute from the same place in the console
Code:
./cleanall.sh
tested and successfully deodexed:
I897 UCKB1
I9088 KP2
I9088 ZNKP5
I9000 XXJPY
I9000 XWJS3
I9000 XWJS5
I9000 ZSJPG
I9000 XWJV1 2.3.2, except email.apk
it does not support already deodexed rom's!!! (why should it?)
if you test other raw versions (even captivate ones) please inform the result, or problems found, I'll do my best to help
careful
the script is a very initial version
it does inform errors human readable so watch the console for them
oh! almost forgot , here's the script:
http://dl.dropbox.com/u/3595341/deodexerious/deodexerious_03.zip
change log:
04/03/2011 - deodexerius_03
added gingerbread XWJV1 2.3.2 - custom classpaths
smali and baksmali 1.2.6
case insensitive classpath helpers
note:
deodexerius can deodex all XWJV1 2.3.2, except email.apk
27/02/2011 - deodexerius_02
better support for the additional files in kp5 and kp2
good luck!!
To Be Continued
If someone could come up with one of these for windows they would be my hero
Sent from my GT-I9000 using XDA App
rob989_69 said:
If someone could come up with one of these for windows they would be my hero
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
kind of like this one?
http://forum.xda-developers.com/showthread.php?t=700904
omg
You saved my life man... thanks a billion! And add a donate link, I know I'd like to send a few bucks your way
Pirateghost said:
kind of like this one?
http://forum.xda-developers.com/showthread.php?t=700904
Click to expand...
Click to collapse
If this works you are my hero!!! LOL. I've found a number of different ones, either they don't work or I'm not using them correctly but this one is new to me. Thanks.
rob989_69 said:
If someone could come up with one of these for windows they would be my hero
Click to expand...
Click to collapse
sorry man no windows version.
ytt3r said:
You saved my life man... thanks a billion! And add a donate link, I know I'd like to send a few bucks your way
Click to expand...
Click to collapse
your'e welcome.
rob989_69 said:
If this works you are my hero!!! LOL. I've found a number of different ones, either they don't work or I'm not using them correctly but this one is new to me. Thanks.
Click to expand...
Click to collapse
oh it works....
Just used this on KP2, works great, thanks!
existz said:
Just used this on KP2, works great, thanks!
Click to expand...
Click to collapse
great news!
works great with xwjs3
This is great. Works on the new KB1.
I keep seeing this while the script is running
Compiling classes.dex from rom/system/framework/framework-tests
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.raiseBoundsError(libgcj.so.11)
at java.util.ArrayList.checkBoundExclusive(libgcj.so.11)
at java.util.ArrayList.get(libgcj.so.11)
at org.jf.dexlib.DexFile$2.placeAt(DexFile.java:783)
at org.jf.dexlib.DexFile.place(DexFile.java:659)
at org.jf.smali.main.fixInstructions(main.java:255)
at org.jf.smali.main.main(main.java:203)
Packing
Cleaning up
Done.
Cleaning up
Do I have to worry? I am going to try it again when it all completes, just want to make sure I am not missing anything
|OP|
it does not support already deodexed rom's!!! (why should it?)
Click to expand...
Click to collapse
what if you wanted to deodex a single new app? just redo the whole thing?
Trusselo said:
what if you wanted to deodex a single new app? just redo the whole thing?
Click to expand...
Click to collapse
To deodex a single app, you need to keep the deodexed framework files around. Then you can just do that app by pulling the code bits out of the framework.
Sent from my SAMSUNG-SGH-I897 using XDA App
Trusselo said:
what if you wanted to deodex a single new app? just redo the whole thing?
Click to expand...
Click to collapse
baksmali/smali + about 6 or 7 framework jars + cmd prompt = win!
How can I verify that the Deodex worked? I ran the script a couple times last night just to see what happens and then dropped the files in on my phone. Everything is working fine, just wanted to know how I can verify its deodexed.
nakedninja42 said:
How can I verify that the Deodex worked? I ran the script a couple times last night just to see what happens and then dropped the files in on my phone. Everything is working fine, just wanted to know how I can verify its deodexed.
Click to expand...
Click to collapse
do you see any .odex files named the same as your apks?
nakedninja42 said:
How can I verify that the Deodex worked? I ran the script a couple times last night just to see what happens and then dropped the files in on my phone. Everything is working fine, just wanted to know how I can verify its deodexed.
Click to expand...
Click to collapse
if you don't see errors like the one quoted bellow, then you should be fine.
nakedninja42 said:
I keep seeing this while the script is running
Compiling classes.dex from rom/system/framework/framework-tests
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.raiseBoundsError(libgcj.so.11)
at java.util.ArrayList.checkBoundExclusive(libgcj.so.11)
at java.util.ArrayList.get(libgcj.so.11)
at org.jf.dexlib.DexFile$2.placeAt(DexFile.java:783)
at org.jf.dexlib.DexFile.place(DexFile.java:659)
at org.jf.smali.main.fixInstructions(main.java:255)
at org.jf.smali.main.main(main.java:203)
Packing
Cleaning up
Done.
Cleaning up
Do I have to worry? I am going to try it again when it all completes, just want to make sure I am not missing anything
Click to expand...
Click to collapse
actually this is an error, it means it failed to deodex this file
please provide more information, the reason can be many things:
java version
base rom
did you provide the full rom or only the file you mentioned?
provide more information and ill see what can be done.
ih4ckback said:
This is great. Works on the new KB1.
Click to expand...
Click to collapse
awesome.
marcelo.waisman said:
if you don't see errors like the one quoted bellow, then you should be fine.
actually this is an error, it means it failed to deodex this file
please provide more information, the reason can be many things:
java version
base rom
did you provide the full rom or only the file you mentioned?
provide more information and ill see what can be done.
awesome.
Click to expand...
Click to collapse
I am use the same KB1 that hit the forums yesterday that i4ackback stated that works for him. I installed Ubuntu 10.10 and installed Java from the software manager, not sure if its the right one. I started copying the full system folder but ended up only extracting just app and framework just like the OP states. That message appears throughout the process but I end up with everything in the deodexed folder.
Sent from my SAMSUNG-SGH-I897 using XDA App

[CUSTOM .ZIP]Your own personalized flashable .zip - Inquire within!

I enjoy giving back to this community so I am going to do so in another way - its not a groundbreaking ROM or anything but just something small and helpful
When I flash between ROMs, there are little things I want to change (like the bootanimation, font's, etc) so I made my own update.zip with everything I want in it. It's not very hard to do, but it might be helpful for others.
So, if you would like me to make you your own customized .zip, just post in here telling me what you would like. Now, I'm a nice guy, but I don't want to go fishing for what you want. You need to post links to things and specify exactly what you'd like. It can be pretty much anything that you can currently flash in recovery and maybe even more (nothing comes to mind right now)
I don't know if there will be alot of interest in this or not, but just be patient and I will get you your .zip And this seems like the right place to post this, but if a mod feels it would be better elsewhere, feel free to move it.
Downloads​
dirkyd3rk (Decepticon boot animation with sound and Ubuntu font) - http://bit.ly/k7N8OJ
pamplina (Titanium Backup and Astro to /data/app/) - http://bit.ly/jwxYL0
phatmanxxl (/cache and dalvik-cache wipe) - http://bit.ly/j5lmFb
Rem3dy (Remove shutter sound on CM7) - http://bit.ly/j3wzLG
Sry0fcr (CM7 Launcher2.apk replace with SalvageMod Launcher2.apk) - http://bit.ly/kpqKWJ
You da man viper I should buy you a beer or coffee for your awesome work. Im still rocking your scripts they rule! I'd like a zip, not because I can't make my own but because I've been extremely busy with work and haven't found time to get to a comp. Can I have zip for cm7 that includes the ubuntu font combined with the PlayStation 1 boot animation w/ sound?
Oh yeah and make me a sandwich jk lol
Sent from my PC36100 using XDA Premium App
Can someone point me to a how to / tutorial so i can do it myself?
johnylovejoy said:
Can someone point me to a how to / tutorial so i can do it myself?
Click to expand...
Click to collapse
I second that. a tutorial would be nice.
teach us > give us
dirkyd3rk said:
You da man viper I should buy you a beer or coffee for your awesome work. Im still rocking your scripts they rule! I'd like a zip, not because I can't make my own but because I've been extremely busy with work and haven't found time to get to a comp. Can I have zip for cm7 that includes the ubuntu font combined with the PlayStation 1 boot animation w/ sound?
Oh yeah and make me a sandwich jk lol
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
Remember what I said about posting links to stuff? I will look for this one time to be nice, but I shouldn't. Give me a few.
johnylovejoy said:
Can someone point me to a how to / tutorial so i can do it myself?
Click to expand...
Click to collapse
initial said:
I second that. a tutorial would be nice.
teach us > give us
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=717437
A great tool for creating an update.zip. The hard part is the updater-script. One slightly wrong thing and the .zip won't flash. I would recommend looking at the updater-script located in /META-INF/com/google/android/ of any flashable .zip for the EVO. Here is an example from my zip...
mount("MTD", "system", "/system");
ui_print("");
set_progress(1.000000);
ui_print("Derek's Customization Pack");
show_progress(0.500000, 20);
ui_print("");
ui_print("Replacing boot animation...");
sleep(1);
show_progress(0.500000, 40);
package_extract_dir("system", "/system");
show_progress(0.500000, 80);
ui_print("");
ui_print("Replacing font...");
sleep(1);
ui_print("");
ui_print("Extracting customized build.prop...");
sleep(1);
unmount("/system");
show_progress(0.100000, 100);
ui_print("");
ui_print("Done!");
Click to expand...
Click to collapse
Should be pretty self-explanatory what they all do. Hopefully this mini tutorial helps you guys out a little bit.
dirkyd3rk said:
You da man viper I should buy you a beer or coffee for your awesome work. Im still rocking your scripts they rule! I'd like a zip, not because I can't make my own but because I've been extremely busy with work and haven't found time to get to a comp. Can I have zip for cm7 that includes the ubuntu font combined with the PlayStation 1 boot animation w/ sound?
Oh yeah and make me a sandwich jk lol
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1048231
Have you done this or confirmed that you don't need to do this on the new nightlies?
Fonts (ubuntu) last one on op
http://forum.xda-developers.com/showthread.php?t=801160
(Transformers decepticon with sound)
http://forum.xda-developers.com/showthread.php?t=1069118
I have tried that method on cm7 I can confirm it works.
Sent from my PC36100 using XDA Premium App
Replace the Launcher2.apk
I would like a .zip that will replace the Launcher2.apk in CM7 with the modified Launcher2.apk from SalvageMod. I'm hoping to get landscape functionality of the homescreen and app drawer.
Note: I use Frank707's zip to remove ADW and go back to the stock launcher.
Much thanks for taking the time to do something like this. The SalvageMod launcher should be attached.
Instead of delete all I would like a .zip that will quickly wipe the cache an delvik cache in one go in the recovery.
That would be really helpful.
All the .zips are done and in the OP. Let me know if you have any issues
How about zip to install apks in recovery? I know you can do that in adb but this is in case you dont have a pc near, 3G or wifi.
pamplinas said:
How about zip to install apks in recovery? I know you can do that in adb but this is in case you dont have a pc near, 3G or wifi.
Click to expand...
Click to collapse
Why wouldn't you just install an app while the phone was running?? I don't understand that at all. And it wouldn't be possible to make it universal, I'd have to make you a zip with the apps you want in it. But again, why not just install them with the phone running?
-viperboy- said:
Why wouldn't you just install an app while the phone was running?? I don't understand that at all. And it wouldn't be possible to make it universal, I'd have to make you a zip with the apps you want in it. But again, why not just install them with the phone running?
Click to expand...
Click to collapse
I was thinking of something else. My bad for the confusion lol. What I meant to say was, astro manager free on the market.
how about a zip that can kill everything running in backround when screen off?
Sent from my PC36100 using XDA App
pamplinas said:
How about zip to install apks in recovery? I know you can do that in adb but this is in case you dont have a pc near, 3G or wifi.
Click to expand...
Click to collapse
This makes no sense at all lol. I don't think some of us get the concept; this isn't supposed to make him pop a vein in his forehead just thinking about it, he's just offering a simple service to give back.
I really appreciate the zip viper. Thanks
Sent from my PC36100 using XDA Premium App
mfknboss said:
how about a zip that can kill everything running in backround when screen off?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Just download system panel from the market and kill everything or tasker.
Sent from my PC36100 using XDA Premium App
It's gonna be huge and I know that, but since I've started using Sense 2.1 roms I've been downloading and constantly installing a random assortment of skins from here:
http://forum.xda-developers.com/showthread.php?t=1048894
If I could get all of them in a single sexy .zip it would be greatly appreciated
Yeah I know they're apks and they can be side loaded, but with how many there are, it'd be easier to just let recovery take care of it.
Super much appreciated and you couldn't have asked at a better time
Awesome, thanks! Flashing now.
dirkyd3rk said:
This makes no sense at all lol. I don't think some of us get the concept; this isn't supposed to make him pop a vein in his forehead just thinking about it, he's just offering a simple service to give back.
I really appreciate the zip viper. Thanks
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
Yeah my bad. lol
Why wouldn't you just install an app while the phone was running?? I don't understand that at all. And it wouldn't be possible to make it universal, I'd have to make you a zip with the apps you want in it. But again, why not just install them with the phone running?
Click to expand...
Click to collapse
I was thinking of something else. My bad for the confusion lol. What I meant to say was, astro manager free on the market.
Click to expand...
Click to collapse
Ok I get ya now, how about titanium backup free to go with it? Those are always 2 apps I need on a new ROM but let me know.

[GUIDE] How to port MIUI v4 to your Device

Hi guys, last days i got messages about a guide port miui4 to each device.
that is my method i use on my miui4 ports.
take a any cm9 or aosp based ics rom as base. with this guide, you can port miui4 from any device to your one. for best compatibility use own brand base to port. if you have desire s then port from htc devices. if galaxy nexus then try port from nexus s
first of all replace complete folders with miui4 one.
system/app
system/framework
copy libandroid_runtime.so lib from miui 4 (rom you port). without this file rom will not boot. if you get bootloop, try with base libandroid_runtime.so file..
Click to expand...
Click to collapse
replace media folder with base rom (that themes, wallpaper, audio from miui work)
copy telocation.db and yellowpage.db to /system/etc folder.
copy content-types.properties file to /system/lib
copy invoke-as from miui4 rom to /system/xbin and give it permissions on updater-script
set_perm(0, 0, 06755, "/system/xbin/invoke-as");
(for backup & themes app work)
Click to expand...
Click to collapse
copy liblbesec.so from miui 4 to /system/lib and give permission on updater-script
set_perm(0, 0, 0755, "/system/lib/liblbesec.so");
(for superuser app from miui work)
Click to expand...
Click to collapse
change values from build.prop
ro.build.id=MIUI
ro.build.display.id=MIUI
ro.build.version.incremental=2.x.x (version number)
ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=GoodMorning.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
Click to expand...
Click to collapse
if your base rom has issues, these issues will seen on this port too. example, if camera not works on base rom, then will on miui4 port also not work!
then add your stuff (updated apps, wallpaper or installer whatever you want )
make your zip and there is it. if you open your thread, dont forget give a link to based ics and port rom's.
that is method actually i use. for more info please use search on xda or ask on this thread. no private messages will answered from now.
(if you like this guide, just give 5 star and click to thanks button)
good good study day day up! thanks very much!
thanks for your guide, work with tablet this guide???
Thx a lot,good work,please help me galaxy3.
any tips for motorola defy users (suggested rom base)..wajk is developing on a miuiv4 rom already .. but i thought i could give this method a try .
thanks
Does it work on ARMV6 CPU like in Galaxy 3 ??
Is it possible to port miui tho HTC explore ?
HTC Sense 3.5,Android 2.3.5
antaine said:
Does it work on ARMV6 CPU like in Galaxy 3 ??
Click to expand...
Click to collapse
Same question here. But we have a cm9 rom all we need is miui but it I'd a arm6 device with ldpi screen
Sent from my GT-S5670 using xda premium
We dont have a ice sandwich Rom on the vivid/hoilday would it be possible to port One this way
Sent from my HTC PH39100 using XDA App
I can't say anything about ldpi and mdpi devices. Miui is designed for hdpi devices. This guide is for hdpi devices only..
Some guys got it working on Mdpi devices with resizing but i don't know how's.
come at me bro said:
We dont have a ice sandwich Rom on the vivid/hoilday would it be possible to port One this way
Sent from my HTC PH39100 using XDA App
Click to expand...
Click to collapse
I don't think. You need special kernel for that like cm9 .
Sent from my HTC Desire S using xda premium
Are you saying that it should work on ARMV6 and ARMV7 ldpi mdpi (with resized framework and apps) and hdpi?
This sucks, I never seen a beast of a phone with no development, I shoulda went with the gs2 or the 4s
Sent from my HTC PH39100 using XDA App
I didn't find liblbesec.so in SGS II's MIUI 4. It's normal?
co2gaz said:
I didn't find liblbesec.so in SGS II's MIUI 4. It's normal?
Click to expand...
Click to collapse
its libibesec.so
thanks a lot, great!
I've never even considered porting a rom, but I followed the instructions and it worked!
Only glitch: it thinks my slide out keyboard is out when it's in, and vice versa. Oh well. Thanks!
Sent from my epic 4g using Tapatalk
Brilliant guide! Managed to port MIUI to my ZTE Skate - an arm6 device using this!
"copy invoke-as from miui4 rom to /system/xbin and give it permissions on updater-script
set_perm(0, 0, 06755, "/system/xbin/invoke-as")"
I'm really green when it comes to this stuff...just wondering how i'd go about giving it the permissions as above...? thanks
m4rk84 said:
"copy invoke-as from miui4 rom to /system/xbin and give it permissions on updater-script
set_perm(0, 0, 06755, "/system/xbin/invoke-as")"
I'm really green when it comes to this stuff...just wondering how i'd go about giving it the permissions as above...? thanks
Click to expand...
Click to collapse
Its for advanced users, you should better leave it before you do something wrong and write here in the thread that you fried your Phone.
No offense.
Any idea if this should work on CAF ICS roms? Took a quick attempt without success, libdvm.so was failing in a bootloop - needed phone so didn't investigate much further.

[GUIDE] How to port sense to non-HTC devices.

How to port Sense.
Source: http://forums.androidcentral.com/optimus-v-rooting-roms-hacks/164989-guide-how-i-port.html (second post)
This is NOT my guide, just posting it here!
This is a very difficult process that I hope you'll understand.
First step is to find a device that is preferably VERY similar to your device, in this instance I guess we would use the htc thunderbolt, which I've been told multiple times that it is used for the MT.
You're going to want to use CM7 for parts. Simple enough.
I will be referring the Sense ROM to SENSE and CM7 as BASE to simple things up. So remember that.
When I say replace, I would recommend deleting from one and adding it with the other
Open up Sense and Base in different windows.
Put in the boot.img from Base into Sense (make sure you put the original boot.img in some other place that you'll remember)
go into /system/usr on both
replace keylayouts and keychars from Base into Sense (this is just your keys)
download dsixda's kitchen (http://forum.xda-developers.com/showthread.php?t=633246)
Get the ROM you have so far set up in it and what not (I'm a little fuzzy at this part)
Once you get done with that, run the menu in terminal and navigate your way to decompile the boot.img (action key- "a") and then run the same thing except run the action key "w" to decompile the original boot.img. So the key here is to decompile both boot.img's.
Go into the ramdisk on both and go into init.rc
THE MOST IMPORTANT PART IN THIS (THE MATTER OF BOOT AND BOOTLOOP) IS THE LINE
"export BOOTCLASSPATH" near the top. It will have a bunch of lines after it. Now in the Base's boot.img, delete this whole line. Replace it with the lines from Sense's boot.img.
Now you can add anything else you want that looks like it belongs (preferably anything sense related)
Don't recompile the boot.img yet.
Now we add a2sd. To do this, just follow this guide (https://www.facebook.com/note.php?note_id=158823170833688)
The only thing you do in there is the edits to the init.rc, don't listen to the decompiling/recompiling mentions. Now you can go back into the menu for the kitchen and recompile the boot.img (action key - "b"). Now don't compile the WHOLE ROM, just take the new boot.img in working_** and put it into the Sense zip.
Now you're going to want to download my ROM (sorry, just don't feel like uploading each individual file) http://gannon5197.blogspot.nl/2012/03/got-sense-booted.html
And go into the /system/bin on both
these are the files you're going to need: a2sd, bash, apps2sd.hlp, busybox.a2sd, chka2sd, jita2sd, launcha2sd, starta2sd, and maybe possibly sh (try once without it)
And you're going to want to set permissions for each one of these in the updater-script (look at mine for references)
Now also look at my zip and you'll see move_cache_sd. Put that in yours and set permissions for it in updater-script (use mine for references)
After that, the other stuff is mainly just getting rid of all the bloatware, (look in /system/app and /system/media) I wouldn't delete any libs as of right now. If you try to flash it and it reboots recovery then it is too big.
If it is too big, you're probably going to want to move a lot of the apps to data. To do this, just make a file called data/app/put_your_apps_here on the root of the zip. You're going to have to set permissions for it in the updater-script, but use the test.zip I sent you in the original.
This will most likely get you booted. Nothing will likely work. Which is expected. If you have any problems, just use logcat. It will be your bestfriend. Have fun porting
Click to expand...
Click to collapse
reserved
Thanks for reopening it bro...
Sent from my LG-P500 using Tapatalk 2
No problem :thumbup:
Don't know how this above awesome thread is so blank
Have u tested if this way works
Sent from my LG-P500 using Tapatalk 2
great guide, gonna try out soon
hmm this one's new for me. saved
should come in handy sometimes
someone has to do this for the Galaxy S2.
Will it also work for ICS ROMs?
I must do this. Anybody know where I can get the firmware for the One S?
Can i use a Gingerbread ROM as a base instead of cm7?
Hello for lg p500 there is 2 sense rom but data and mic not working in both rom can you help to solving that problems????btw great tutorial.
in fact sensse porting is differnet from the tutorial showed it is a little bit more difficult and there are some libs needed that there is only for the devices you are porting to. so a general tread will not really work
QuBe2 said:
in fact sensse porting is differnet from the tutorial showed it is a little bit more difficult and there are some libs needed that there is only for the devices you are porting to. so a general tread will not really work
Click to expand...
Click to collapse
Well this is not my tutorial just found it on the internet so I don't know if it works
Lord Inglip said:
Well this is not my tutorial just found it on the internet so I don't know if it works
Click to expand...
Click to collapse
why sharing things on the internet
QuBe2 said:
why sharing things on the internet
Click to expand...
Click to collapse
Because it's the internet. This guide was the only thing I could find.
Well you ported a htc sense One x rom to the Nexus S, so can you show us how you did it?
Lord Inglip said:
How to port Sense.
Source: http://forums.androidcentral.com/optimus-v-rooting-roms-hacks/164989-guide-how-i-port.html (second post)
This is NOT my guide, just posting it here!
Click to expand...
Click to collapse
Similar phone means the same chipset,processor and gpu??
a2441918 said:
Similar phone means the same chipset,processor and gpu??
Click to expand...
Click to collapse
Yes it's better if the phones have the same hardware
Lord Inglip said:
Yes it's better if the phones have the same hardware
Click to expand...
Click to collapse
I have an xperia x10.. will the nexus one and HTC desire be suitable??
My cm7 rom which i downloaded doesn't have a boot.img file.. So how to get it?? Is it the system.img got from a nandroid backup?? and the sense rom which the post refers to is the stock sense rom of the phone in a zip format or a modded one??
Not working..stuck at boot logo

[GUIDE]How To Port ROMS to Your Device [AOSP]

Code:
/*
* ~ DO READ THIS BEFORE ATTEMPTING~
* Iam not here to guarantee any successful PORTING. nor i am responsible
for bricked devices, dead SD cards, or a broken device. YOU are
choosing to make these modifications, and if you point the finger
at me for messing up your device, I will laugh at you. But I will try
my best to explain all the necessities, so you won't mess up your Device.
*
~END
*/
Hello XDA'S Today i'm back with a useful guide/tutorial for ANDROID ROM PORTING
may have tried porting roms to their phones and has been succefull but most of the case is that we being end up in bootloops or cwm errors
So i'm dedicating this post for all users how are having a craze of rom porting or for atleast those wgo wanted to try rom porting
SO LETS START
There are two phases or rom porting
1) Its finding the correct port and source roms for ROM PORTING copying the files which is explained here
2) After a succefull port also the rom may not work properly ,we have to sort out the bugs to for a rom to become perfectly working
So with no more blahh blahh blahh Lets start the PORTING procedure :fingers-crossed: :fingers-crossed:
Click to expand...
Click to collapse
And lastly Before you a port a ROM, make sure you asked permission from the Developer!
What you'll need:
WinRAR/7zip
Notepad++ (When developing, always use this)
Android SDK (For Logcatting & DDMS)
Some basic knowledge about Android
If you are on Linux/Unix/BSD use your favorite Archiving Tool & Text Editor.
Click to expand...
Click to collapse
What is base Rom:
The ROM which is Developed For your Mobile..
You can use either CM or any other AOSP roms as your Base ROM
Click to expand...
Click to collapse
What is Port Rom:
The Rom Which you want to port to your Device.
Make sure that the rom has most of the hardware specifications as of your base rom
Click to expand...
Click to collapse
STEP1;
Take any clean CM9, AOSP, CM7, CM10 ROM which is running on your device as Base ROM
Click to expand...
Click to collapse
STEP2:
Extract it Using Winrar.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
STEP3:
Take the ROM you want to port. This Port ROM. Extract it also using Winrar.
Click to expand...
Click to collapse
STEP4:
Delete app, Framework, Fonts and Media folder in System Folder of Base ROM.
Click to expand...
Click to collapse
STEP5:
Now copy app, Framework, Fonts and Media folder in System Folder from Port rom to base rom system folder.
Click to expand...
Click to collapse
STEP6:
Now open etc folder in both the ROMs folder.
Click to expand...
Click to collapse
STEP7:
In etc folder of base ROM open permissions folder and copy all the permissions files in Port rom to your base ROM folder except platform and handheld_hardware
Click to expand...
Click to collapse
STEP 8: .And Then open init.d Folder in Base ROM and Delete Every thing except banner and then copy all the files inside init.d folder of port ROM to Base ROM.
Click to expand...
Click to collapse
STEP9:
Now open buid.prop file using Notepad++ and make changes to these of Base Rom as you wish.
ro.build.id=
ro.build.display.id=
ro.build.date=
ro.modversion=
Click to expand...
Click to collapse
STEP10:
In build.prop file change these to same as Port Rom build.prop values.
ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=
ro.cmversion=
ro.modversion=
Also Copy anything you Find Extra in ADDITIONAL BUILD PROPERTIES related to theme..
Click to expand...
Click to collapse
STEP11:
COPY THE set_perm Lines in META-INF/com/google/android/updater-script From Port to Base ROM After Deleting set_perm lines in Base ROM's Updater-Script.
Click to expand...
Click to collapse
STEP12:
If You find any extra file or folder in system folder of PORT rom than copy them to your base rom system folder.
Click to expand...
Click to collapse
STEP 13:
Last Step to ZIP THE FOLDERS IN ONE..
SELECT META-INF, system, boot.img(if it is having), data(if it is having).
Right Click and Select Add to Archive..
Select Zip..
Type the Name.
Click OK..
Click to expand...
Click to collapse
HERE THE BASIC ROM PORTING IS OVER BUT FOR SOME SPECIFIC COSTUME ROMS WE NEED LITTLE MORE STUFFS TO WORK ON ,THEY ARE SHOWN BELOW
ONLY FOR MIUI ROMS :
Copy telocation.db and yellowpage.db From /system/etc folder to yours..
Copy content-types.properties file From /system/lib to yours..
Copy invoke-as from miui4 rom to /system/xbin and give it permissions on updater-script
set_perm(0, 0, 06755, "/system/xbin/invoke-as");
Note:It is needed for backup & themes app to work
Copy liblbesec.so from miui 4 to /system/lib and give permission on updater-script
set_perm(0, 0, 0755, "/system/lib/liblbesec.so");
It is needed for superuser app from miui to work
Change values Some of the Values in build.prop of your ROM:
ro.build.id=MIUI
ro.build.display.id=MIUI
ro.build.version.incremental=2.x.x (version number)
ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=GoodMorning.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
Click to expand...
Click to collapse
FOR ParanoidAndroid And PAC:
Copy paranoid folder inside system/etc to yours..
Go to META-INF/com/google/android/Updater-Script of your base ROM and open it with Notepad++
Copy this line:
set_perm(1000, 1000, 0644, "/system/etc/paranoid/properties.conf");
Specially For PA:
Now Open Build.prop in /system with Notepad++
Copy these lines in Additional Properties of Build.prop:
Depends on Resolution Of your device can be pa_hdpi/pa_mdpi/pa_xhdpi. Change it according to your device.
ro.pa.family=pa_mdpi
Depend on pa version. Replace x.xx with the version of PA you are porting.
ro.pa.version=x.xx
Click to expand...
Click to collapse
Specially For PAC Rom:
Now Open Build.prop in /system with Notepad++
Copy these lines in Additional Properties of Build.prop:
Replace the x.x.x with your PAC Rom version
ro.pac.version=x.x.x
Customize these lines according to your wish.
ro.pacrom.version=mesona_PAC_jb-alpha-v19.0.0
ro.modversion=mesona_PAC_jb-alpha-v19.0.0
Depends on Resolution Of your device can be pa_hdpi/pa_mdpi/pa_xhdpi. Change it according to your device.
ro.pa.family=pa_mdpi
Depend on pa version. Replace x.xx with the version of PA you are porting.
ro.pa.version=x.xx
Modify this line according to your AOKP version
ro.aokp.version=mesona_jb-Milestone-1
Modify it according to your base ROM's build.prop
ro.cm.version=xxxxxxxxxxxx
Replace any line in Your build.prop which appear twice mainly ro.cm.version and ro.modversion
Click to expand...
Click to collapse
FOR SPECIFIC MANUFACTURE DEVICE
For HTC Devices:
To fix network auto select-
Decompile framework-res.apk
Go to \framework-res\res\values\bools.xml and change change <bool name="skip_restoring_network_selection">true</bool> to false
To Fix Graphichal issues:
Code:
Decompile framework.jar
Change these files with your base
smali\smali\android\os
Environment
SystemProperties
smali\smali\android\view
HardwareCanvas
HardwareRenderer$Gl20Renderer
HardwareRenderer$GlRenderer
HardwareRenderer
Click to expand...
Click to collapse
IF YOU ARE HAVING BOOTLOOP THEN COPY THESE LIB FILES TO BASE ROM FROM PORT ROM:
libandroid_runtime.so
libandroid_servers.so
libmedia_jni.so
Click to expand...
Click to collapse
IF YOUR BASE ROM HAS ISSUES LIKE CAMERA ISSUE THAN YOUR PORTED ROM TOO WILL HAVE ISSUES.
NOW ZIP YOUR ROM AND POST IT BUT DON'T FORGET TO GIVE CREDITS TO THE DEVELOPER OF PORT ROM..
TROUBLESHOOTING AFTER SUCCEFULL PORT
After a succefull port also there can be many bugs present which has to soved logically
here are somethings which can help in DEBUGGING
1) IF GALLERY FC :
open the system/framework and find framework-res.apk file[can use any extracting app]
in both the roms and go to res folder then to xml subfolder and copy and replace the storage_list.xml file from source to port rom
( framework-res.apk\res\xml\storage_list.xml)
Porting Wallpapers | Lockscreen Wallpapers | bootanimation
Usually you get a wallpaper/bootanimation that doesn't fit your device. Here's a quick tutorial on how to port it to your device.
Download & Install FreeImageConverter then launch it.
For Wallpapers & Lockscreen Wallpapers:
Click Add Folder... and add the folder were the wallpapers are
Then click Advanced Convert...
Select Exact Size and set the image quality to 100
Set your Width and Height resolutions for your device.
Uncheck Add "Converted by www.freeimageconverter.com"
Select Leave the same file name and leave the Postfix & Prefix empty. Then set your output in a folder.
For bootanimation:
Extract /system/media/bootanimation.zip OR /data/local/bootanimation.zip OR /system/customize/resource/bootanimation.zip (For Oxygen ROM, the bootanimation is built into the framework-res)
Do the steps above
Move the new resized folder(s) into your bootanimation workspace
Edit the desc.txt to match your device resolutions
Zip the contents ( folder_name desc.txt )
Set compression method to Store
Delete the extracted bootanimation files
Make sure this new bootanimation.zip is in PORTED
Click to expand...
Click to collapse
Sources
http://cleanimport.xda/index.php?threads/1598713/
http://cleanimport.xda/index.php?threads/1908008/
Click to expand...
Click to collapse
Credits & Thanks to
# rishabh.raj37
# Peteragent5
Happy porting!
:laugh:
Click to expand...
Click to collapse
reserved
for clarification
This method gives bootloop too often. It works only for very similar devices like Xperia J & Arc or Huawei u8818
Yes. This method gives a lot of bootloops. It only can be used on devices with hairline differences between specs.
Sent from my GT-N7000 using XDA Premium 4 mobile app
lozohcum said:
This method gives bootloop too often. It works only for very similar devices like Xperia J & Arc or Huawei u8818
Click to expand...
Click to collapse
not really ,,i have tried porting with this and it worked succefullyy
:laugh:
may be you have to try it perfectly
1c3_5n0w said:
Yes. This method gives a lot of bootloops. It only can be used on devices with hairline differences between specs.
Sent from my GT-N7000 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
have you tried this methode,,iam sure it will work,,:laugh::laugh:
ArjunrambZ said:
have you tried this methode,,iam sure it will work,,:laugh::laugh:
Click to expand...
Click to collapse
I started porting roms about year ago so... yes I did, I tried many "methods". This works mostly for similar devices.
Now I'm trying to use source code
lozohcum said:
I started porting roms about year ago so... yes I did, I tried many "methods". This works mostly for similar devices.
Now I'm trying to use source code
Click to expand...
Click to collapse
yah trying with source code is the best way ,but this tut is for users who really cant get it using source :good:
Arjunramb456651 said:
Code:
/*
* ~ DO READ THIS BEFORE ATTEMPTING~
* Iam not here to guarantee any successful PORTING. nor i am responsible
for bricked devices, dead SD cards, or a broken device. YOU are
choosing to make these modifications, and if you point the finger
at me for messing up your device, I will laugh at you. But I will try
my best to explain all the necessities, so you won't mess up your Device.
*
~END
*/
Hello XDA'S Today i'm back with a useful guide/tutorial for ANDROID ROM PORTING
may have tried porting roms to their phones and has been succefull but most of the case is that we being end up in bootloops or cwm errors
So i'm dedicating this post for all users how are having a craze of rom porting or for atleast those wgo wanted to try rom porting
SO LETS START
And lastly Before you a port a ROM, make sure you asked permission from the Developer!
HERE THE BASIC ROM PORTING IS OVER BUT FOR SOME SPECIFIC COSTUME ROMS WE NEED LITTLE MORE STUFFS TO WORK ON ,THEY ARE SHOWN BELOW
ONLY FOR MIUI ROMS :
FOR ParanoidAndroid And PAC:
Specially For PAC Rom:
FOR SPECIFIC MANUFACTURE DEVICE
IF YOUR BASE ROM HAS ISSUES LIKE CAMERA ISSUE THAN YOUR PORTED ROM TOO WILL HAVE ISSUES.
NOW ZIP YOUR ROM AND POST IT BUT DON'T FORGET TO GIVE CREDITS TO THE DEVELOPER OF PORT ROM..
TROUBLESHOOTING AFTER SUCCEFULL PORT
After a succefull port also there can be many bugs present which has to soved logically
here are somethings which can help in DEBUGGING
1) IF GALLERY FC :
open the system/framework and find framework-res.apk file[can use any extracting app]
in both the roms and go to res folder then to xml subfolder and copy and replace the storage_list.xml file from source to port rom
( framework-res.apk\res\xml\storage_list.xml)
Credits & Thanks to
# rishabh.raj37
# Peteragent5
Happy porting!
:laugh:
Click to expand...
Click to collapse
Can you port an AOSP/CM based rom using a Manufacturer/maufacturer based ROM as the base (i.e. touchwiz rom)?
Click to expand...
Click to collapse
So i own a Galaxy Tab 2 10.1 from AT&T... If i wanted to port a 4.2.2 Touchwiz rom to my tablet, would the steps vary much from those you've listed?
Sent from my SGH-I337 using XDA Premium 4 mobile app
---------- Post added 16th November 2013 at 12:02 AM ---------- Previous post was 15th November 2013 at 11:59 PM ----------
Neozx25 said:
So i own a Galaxy Tab 2 10.1 from AT&T... If i wanted to port a 4.2.2 Touchwiz rom to my tablet, would the steps vary much from those you've listed? I would be using a rom that runs on another tab 2 10.1 but not for AT&T. Or even if i wanted an AOSP rom, would be that difficult?
Sent from my SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sent from my SGH-I337 using XDA Premium 4 mobile app
HitBobLer said:
Arjunramb456651 said:
Code:
/*
* ~ DO READ THIS BEFORE ATTEMPTING~
* Iam not here to guarantee any successful PORTING. nor i am responsible
for bricked devices, dead SD cards, or a broken device. YOU are
choosing to make these modifications, and if you point the finger
at me for messing up your device, I will laugh at you. But I will try
my best to explain all the necessities, so you won't mess up your Device.
*
~END
*/
Hello XDA'S Today i'm back with a useful guide/tutorial for ANDROID ROM PORTING
may have tried porting roms to their phones and has been succefull but most of the case is that we being end up in bootloops or cwm errors
So i'm dedicating this post for all users how are having a craze of rom porting or for atleast those wgo wanted to try rom porting
SO LETS START
And lastly Before you a port a ROM, make sure you asked permission from the Developer!
HERE THE BASIC ROM PORTING IS OVER BUT FOR SOME SPECIFIC COSTUME ROMS WE NEED LITTLE MORE STUFFS TO WORK ON ,THEY ARE SHOWN BELOW
ONLY FOR MIUI ROMS :
FOR ParanoidAndroid And PAC:
Specially For PAC Rom:
FOR SPECIFIC MANUFACTURE DEVICE
IF YOUR BASE ROM HAS ISSUES LIKE CAMERA ISSUE THAN YOUR PORTED ROM TOO WILL HAVE ISSUES.
NOW ZIP YOUR ROM AND POST IT BUT DON'T FORGET TO GIVE CREDITS TO THE DEVELOPER OF PORT ROM..
TROUBLESHOOTING AFTER SUCCEFULL PORT
Can you port an AOSP/CM based rom using a Manufacturer/maufacturer based ROM as the base (i.e. touchwiz rom)?
Click to expand...
Click to collapse
no i dont think so,because cm /pa have modified source code ,which differ from manufacture rom hence ,,not possible ,u will possibly end in boot loop
Click to expand...
Click to collapse
Neozx25 said:
So i own a Galaxy Tab 2 10.1 from AT&T... If i wanted to port a 4.2.2 Touchwiz rom to my tablet, would the steps vary much from those you've listed?
Sent from my SGH-I337 using XDA Premium 4 mobile app
---------- Post added 16th November 2013 at 12:02 AM ---------- Previous post was 15th November 2013 at 11:59 PM ----------
Sent from my SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Neozx25 said:
So i own a Galaxy Tab 2 10.1 from AT&T... If i wanted to port a 4.2.2 Touchwiz rom to my tablet, would the steps vary much from those you've listed?
Sent from my SGH-I337 using XDA Premium 4 mobile app
---------- Post added 16th November 2013 at 12:02 AM ---------- Previous post was 15th November 2013 at 11:59 PM ----------
Sent from my SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
yes of course ,this methode is for aosp or for cm roms and not for manufacture roms,,there are other guids for porting manufacture roms ,go search the forum
only boot loop no progress!!!
i had tried this method more then 4 times but it didnt worked....
rom is not booting up and its stucked on boot animation and shows no progress although i left it for an hour but still stucked....
any idea??
and for details...
i am porting chameleon OS built for htc one s just see this....-
android v is 4.2.2
so i used aokp 4.2.2(stable) first as base rom but i failed more then 2-4 times then i tried cm10.1 as base rom but still i am at bootanimation.
i had also used the three libs from the port rom and base rom as mentioned in the guide but still nothing is going good......:crying:
can you tell me that am i missing something or i should try other guides?
if your answer is that i should try other guides so please lead me to a guide.....
thanks.
regardslayboydroid
playboydroid said:
i had tried this method more then 4 times but it didnt worked....
rom is not booting up and its stucked on boot animation and shows no progress although i left it for an hour but still stucked....
any idea??
and for details...
i am porting chameleon OS built for htc one s just see this....-
android v is 4.2.2
so i used aokp 4.2.2(stable) first as base rom but i failed more then 2-4 times then i tried cm10.1 as base rom but still i am at bootanimation.
i had also used the three libs from the port rom and base rom as mentioned in the guide but still nothing is going good......:crying:
can you tell me that am i missing something or i should try other guides?
if your answer is that i should try other guides so please lead me to a guide.....
thanks.
regardslayboydroid
Click to expand...
Click to collapse
bro firstof all,, porting is not that easy as to read,,, here logcat is your only friends,,, get me the logcat
hmm
ArjunrambZ said:
bro firstof all,, porting is not that easy as to read,,, here logcat is your only friends,,, get me the logcat
Click to expand...
Click to collapse
okay just wait for a day...
and thanks for your quick reply..
playboydroid said:
okay just wait for a day...
and thanks for your quick reply..
Click to expand...
Click to collapse
okay
Good evening to all, first of all thanks for the guide.
The rom part, it works most of the things, porting is a rom for nexus 5 to take on g2.
I have problems with wifi, vpn and security in the setting menu.
Practically the vpn and security go on crash, while the wifi is active but can not find anything.
Do you have suggestions?
thanks
Sorry for my bad english
jokerpoker1 said:
Good evening to all, first of all thanks for the guide.
The rom part, it works most of the things, porting is a rom for nexus 5 to take on g2.
I have problems with wifi, vpn and security in the setting menu.
Practically the vpn and security go on crash, while the wifi is active but can not find anything.
Do you have suggestions?
thanks
Sorry for my bad english
Click to expand...
Click to collapse
it would only b possible if you could get a logcat about the problem,, and if the problem persist in the base rom,then its sure to be in ur port too,
ArjunrambZ said:
it would only b possible if you could get a logcat about the problem,, and if the problem persist in the base rom,then its sure to be in ur port too,
Click to expand...
Click to collapse
thanks for the reply, it is the first time I use logcat, this is what I said when I port ROM.un my friend was telling me That might be the update script.
Thanks
Inviato dal mio LG-D802 utilizzando Tapatalk
jokerpoker1 said:
thanks for the reply, it is the first time I use logcat, this is what I said when I port ROM.un my friend was telling me That might be the update script.
Thanks
Inviato dal mio LG-D802 utilizzando Tapatalk
Click to expand...
Click to collapse
yes when it coms to porting logcat is ur only friend,, well updater script doesn't have any relations with the rom actually its like a process to installing the rom as said, and fixing permision,,,
and please tell me when was this logcat obtained and this time get me a full logcat

Categories

Resources