Port any Custom Rom for your Android Smart Phone.. Easy Steps!!!!

xxweri

Member
Oct 2, 2009
9
1
0
Where will I get this:

System/usr/keylayout/generic.kl
Meta inf/.../update script
Meta inf/.../ update binary

I have gone through the root folders of my phone and I am not finding them.

Regards
 

zenesis

Senior Member
Jan 13, 2012
548
151
0
WORKING but....

Nice guide it's working but have a serious bug.

After porting a custom ROM my wifi can't be turned on. Only the wifi is the problem, the rest are perfect. I guess it's about the boot.img that my wifi can't be turned on. Please help
 

princemouli

Senior Member
Sep 19, 2013
277
99
0
24
visakhapatnam
needed help....

i have tried to port the lewa rom ( LeWa_AMOI_N821_ROM_12.11.23_6096d ) to my celkon A97i which is MT6575
the rom installed successfully
when i on the phone i also saw the lewa name
but after the boot animation my phone is not going futher what to do .............
please help me to port the rom successfully............ thanks in advance........
 

androidnooob98

Senior Member
Mar 18, 2013
148
16
0
Hello,

What if there's no custom released for my device yet? Where do I get the working files of my rom then?
That depends. If the rom you're trying to port is the same version of android as your stock ROM (2.2,2.3,4.0,4.1,4.2,4.3,4.4) then I believe you can just use the files from that ROM.

Sent from my KitKat Infused SGH-I997
 

Zyquil

Senior Member
May 13, 2013
208
59
0
That depends. If the rom you're trying to port is the same version of android as your stock ROM (2.2,2.3,4.0,4.1,4.2,4.3,4.4) then I believe you can just use the files from that ROM.

Sent from my KitKat Infused SGH-I997
What if my device is running 4.1.1 JB and the Rom I'm trying to port is of 4.2.2 JB, how would I get the files? Also, I can't find the Meta Inf/ directory from my device.
 

androidnooob98

Senior Member
Mar 18, 2013
148
16
0
What if my device is running 4.1.1 JB and the Rom I'm trying to port is of 4.2.2 JB, how would I get the files? Also, I can't find the Meta Inf/ directory from my device.
Sorry man you know as much as I know. Haha. I wish I could help more.

Sent from my KitKat Infused SGH-I997
 

omnis

Member
Jan 25, 2012
48
19
0
Some files not listed...


Credits
This is not work at all thanks to the XDA DEVELOPERS who made porting easy all credit goes to them iam just sharing it..

So lately so many custom Roms are ported and i thought let's share how to port a custom Rom in easy steps!! Did i said easy steps? yes!! porting is that easy shuffling things from here to there replacing files and you are done so let's start how to port a rom.

Notice
First Iam not Responsible if you somehow brick your phone always make a backup. Second This will not work on MIUI and LEWA SINCE YOU NEED THE RAMDISK FILES in next tutorial i will tell you how to pack and unpack the boot.img to get the Ram disk...

Things you Need


  • Open Mind other wise not possible ;)
  • Any working Rom for your phone
  • Rom to port
  • Rooted Phone

Remeber!!! All Rom will not work on your device

  1. First of all you need to choose a porting rom of phone with similar spec's as your phone have i.e Processor,Ram,internal Storage,size,Camera and same android version otherwise it will not boot up
  2. Then make two folders one named base and second named port
  3. Put any working Rom files for your phone to folder named base
  4. Then put the downloaded working Rom you want to port to the folder named port
Copy these files from stock to port:
System/etc/firmware (whole folder).
System/lib/modules (whole folder).
System/usr/keylayout/generic.kl
Meta inf/.../update script
Meta inf/.../ update binary
Boot.img

Repack it in Zip folder not Rar..Put it into the root of your SD go into recovery wipe data wipe cache and flash your created Rom and you are done Happy Porting ;) Please give feedback if got success and need anyhelp.. Dont Forget to click the thanx button. This is all i need in Return :cowboy:

OFFICIAL THREAD
This is what I see:
[email protected]:/ # ls -a
ls -a
acct
advanced_meta_init.rc
cache
config
custom_build_verno
d
data
default.prop
dev
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]_f
[email protected]_s
[email protected]
etc
factory_init.project.rc
factory_init.rc
fstab
init
init.aee.customer.rc
init.charging.rc
init.fon.rc
init.goldfish.rc
init.modem.rc
init.no_ssd.rc
init.project.rc
init.protect.rc
init.rc
init.trace.rc
init.usb.rc
init.xlog.rc
meta_init.modem.rc
meta_init.project.rc
meta_init.rc
mnt
proc
protect_f
protect_s
res
root
sbin
sdcard
storage
sys
system
ueventd.goldfish.rc
ueventd.rc
vendor

There is no meta inf only meta init and advanced meta init... So what do I do next? I'm totally lost.
 
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