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

Tanuj97

Senior Member
Jun 7, 2014
574
663
0
Mumbai
well i am tying to port euphoria rom for htc one x from lg p880 ...i downloaded the zip files and unziped it
but in the system folder there is only boot.img and no other file all the system is compressed in a system.new.dat file how should i port now ??pls help
Thank you
 

TechGeekD

Senior Member
Nov 6, 2013
84
70
0
Navsari
well i am tying to port euphoria rom for htc one x from lg p880 ...i downloaded the zip files and unziped it
but in the system folder there is only boot.img and no other file all the system is compressed in a system.new.dat file how should i port now ??pls help
Thank you
1)All you gone need is SystemExtractor

2)Which will extract .DAT file and you will get system files extracted

3)then just use this extracted system along with boot.img to build your ROM

4)and ya you will gone need new updater_script as updater_script within euphoria Is lollipop version updater_script

5)so to flash ROM with extracted system as we use to do before lollipop version you will need new updater_script,extracted system.new.dat & boot.img !

6)you can use android script creator for getting new updater_script ! ;)
 

Tanuj97

Senior Member
Jun 7, 2014
574
663
0
Mumbai
1)All you gone need is SystemExtractor

2)Which will extract .DAT file and you will get system files extracted

3)then just use this extracted system along with boot.img to build your ROM

4)and ya you will gone need new updater_script as updater_script within euphoria Is lollipop version updater_script

5)so to flash ROM with extracted system as we use to do before lollipop version you will need new updater_script,extracted system.new.dat & boot.img !

6)you can use android script creator for getting new updater_script ! ;)
i dont think i am going to need new updater_script coz i am using cm12.1 as my base rom which is too lollipop
And thanks for your help
i could use android kitchen to port roms too . Just got to know now :p
 

TechGeekD

Senior Member
Nov 6, 2013
84
70
0
Navsari
i dont think i am going to need new updater_script coz i am using cm12.1 as my base rom which is too lollipop
And thanks for your help
i could use android kitchen to port roms too . Just got to know now :p
Actually you're gone need new updater_script if you only extract .DAT file and just use it as kitkat way with extracted system folder,boot.img

But if you extract the .DAT file and modify the system folder and repack it back as .DAT file then you're not gone need new updater_script
 
  • Like
Reactions: ArjunrambZ

Tanuj97

Senior Member
Jun 7, 2014
574
663
0
Mumbai
Actually you're gone need new updater_script if you only extract .DAT file and just use it as kitkat way with extracted system folder,boot.img

But if you extract the .DAT file and modify the system folder and repack it back as .DAT file then you're not gone need new updater_script
pls suggest me a system extractor that can extract and compress .dat file
 

theonlykamph

Senior Member
Sep 14, 2014
310
112
0
Okay i have now tryed to port a rom from meizu mx4 pro to lg g3.
When i flash my rom i get:
set_perm: some changes failed
E: Error executing updater binary in zip '/sdcard/Download/flymeos.zip

Please help!

---------- Post added at 10:11 PM ---------- Previous post was at 10:10 PM ----------

Sorry for the late as I was busy for few days, your answer is in Q&A section of this thread !
Mate can you help me please? :)
 

m0nt3s

Senior Member
Oct 14, 2015
100
70
0
The TwEEzY
Your guides have been helpful

Thank you for taking the time to make this quick and dirty guide for us. I've read numerous tutorials but my problem is that I'm trying to port MT6735 12.1 from MT67355.1 but there are a couple of differences from your kit kat guides like priv-apps which I assumed I would port over since i'm already porting over the apps folder. I can get the rom to boot all the way up until the "Android is optimizing screen" and then it just stays there forever. If I restart my device then it boot loops, how would you trouble shoot my problem? thank you for your help
 

mF^

Member
Jul 16, 2014
19
7
0
Need Help from Experts

hey m newbie here guys..! What i want to say that i want to port touchwiz rom to my redmi 2 ! can anyone help me how can i ?
which base rom ? and which Port rom should i take ? please help :) sry bad English
 

primski

Senior Member
Jul 10, 2012
172
10
38
Milky Way
explain a noob please,

so if you want to compile a new aosp rom from the repo for your device, say a new phone, do drivers matter? like on pc? or is that not an issue ? what else is an issue? locked/unlocked bootloader? most of phones have locked bootloaders, right? so how does one unlock it?

i'm looking at these cheap chinese phones in the 150-200€ range. they look good on paper, octa core MTK, 3gb ram and such but software is usualy crap and there aren't many rom ports. i've read a few porting tutorials, like for CM and it doesn't include any driver reverse engineering heh, so that's good i think.
 

yaro30383

New member
Jul 20, 2016
1
0
0
No folders in /system

My port rom (the latest cm13 snapshot for the google nexus 10) does not have folders in /system, it only has the build.prop file. How do I port this rom? (My base rom is cm9.1 stable for Asus tf101),
 

rahulsinh

Member
Jan 10, 2015
20
2
0
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! :cowboy::cowboy::cowboy:
:laugh:
.can i use this method for my gionee f103?
I don't have init.rc and permissions folder in system folder. I have port rom of meizu m2 which has same processor and almost all specification same. Please help me.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone