Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,757 Members 47,128 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: This Tutorial Worked For You?
Yes 4 66.67%
No 3 50.00%
Multiple Choice Poll. Voters: 6. You may not vote on this poll

[TUTORIAL] How To Port Any ROM

Tip us?
 
pranavaryans
Old
(Last edited by pranavaryans; 17th February 2014 at 09:04 AM.)
#1  
pranavaryans's Avatar
Senior Member - OP
Thanks Meter 216
Posts: 389
Join Date: Dec 2013
Location: Rajkot

 
DONATE TO ME
Angry [TUTORIAL] How To Port Any ROM


If it Helped then help me through recharging my vodafone(INDIA) Number : +91 9586999937
How To Port Any ROM To TAB2



Things you will need installed on your PC
Notepad++
Winzip/Winrar

Q) What device should i port from?

Any Device

Base ROM and PORT ROM

Base ROM is what is Developed For Tab2

Port ROM is what ROM you want to port for Tab2

Note: If you are porting a CM(PORT) which is ICS the BASE should Be cm9... same for JB

Now Let's start Porting!
Extract the BASE ROM to a Folder named Base
Extract the PORT ROM to a Folder named Port
Open Base ROM and go to system folder
DELETE "app,fonts,framework,media"
Open Port ROM and go to system folder
COPY "app,fonts,framework,media"
and paste it in System folder of the Base ROM
Open Port ROM and go to etc folder
Open Permissions Folder copy everything EXCEPT handheld_core_hardware.xml and platform
and paste it in the etc folder of the BASE ROM
Open Base ROM and go to system/etc/init.d folder
DELETE all files except 00banner
Open Port ROM and go to system/etc/init.d Folder
COPY everything Except 00banner
and paste it in the init.d folder of the BASE ROM

Now open build.prop And edit


ro.build.display.id=add what you want here
ro.modversion=add what you want here

Now open build.prop of PORT ROM and find

ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=

COPY there 3 lines and replace them in the BASE ROM's build.prop

Now Open updater-script

scroll down and find the lines starting with set_perm (there will be lots of them!)

Copy only those lines From PORT ROM's updater-script to BASE ROM's updater-script

If You find any extra file or folder in system folder of PORT rom than copy them to your base rom system folder.

Open updater-script from PORT ROM and copy all the set_perm lines and replace them with the lines in BASE ROM

To prevent bootloop copy

libandroid_runtime.so
libandroid_servers.so
libmedia_jni.so

from system/lib in PORT ROM and REPLACE it with the files in system/lib of BASE ROM

Now ZIP the ROM and flash it

THIS WILL WORK....


DONATE TO ME : send your donation directly by paypal to pranavxda@gmail.com
If you want to join my team then Click Here
The Following 7 Users Say Thank You to pranavaryans For This Useful Post: [ Click to Expand ]
 
iamashwin
Old
#2  
iamashwin's Avatar
Senior Member
Thanks Meter 327
Posts: 420
Join Date: Mar 2013
Location: Mysore

 
DONATE TO ME
Quote:
Originally Posted by pranavaryans View Post
How To Port Any ROM To TAB2.....................................
.................................................. .............

THIS WILL WORK....
Well not to discourage you but there are already a lot of threads like this out there so why one more?

All ways at help
Hey Don't forget to hit the thanks button if i helped !
Help me in my education
Donate Bitcoins to me
Wallet Address:1MCXZC4ELPTtZGyiuiJ38S8HVwoqpEqAC7
The Following 2 Users Say Thank You to iamashwin For This Useful Post: [ Click to Expand ]
 
pranavaryans
Old
#3  
pranavaryans's Avatar
Senior Member - OP
Thanks Meter 216
Posts: 389
Join Date: Dec 2013
Location: Rajkot

 
DONATE TO ME
Ht seen this kind of thread in TA2 forum that's why... if there is then sorry...


DONATE TO ME : send your donation directly by paypal to pranavxda@gmail.com
If you want to join my team then Click Here
 
talkingmonkeys
Old
#4  
talkingmonkeys's Avatar
Recognized Contributor
Thanks Meter 1242
Posts: 1,153
Join Date: May 2013

 
DONATE TO ME
Quote:
Originally Posted by iamashwin View Post
Well not to discourage you but there are already a lot of threads like this out there so why one more?
Helped me because it was on the first page when I loaded the app and now I learned something else thats useful thank you

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
The Following User Says Thank You to talkingmonkeys For This Useful Post: [ Click to Expand ]
 
pranavaryans
Old
#5  
pranavaryans's Avatar
Senior Member - OP
Thanks Meter 216
Posts: 389
Join Date: Dec 2013
Location: Rajkot

 
DONATE TO ME
Quote:
Originally Posted by talkingmonkeys View Post
Helped me because it was on the first page when I loaded the app and now I learned something else thats useful thank you

Sent from my SAMSUNG-SGH-I747 using xda app-developers app
thank you bro..


DONATE TO ME : send your donation directly by paypal to pranavxda@gmail.com
If you want to join my team then Click Here
 
pranavaryans
Old
#6  
pranavaryans's Avatar
Senior Member - OP
Thanks Meter 216
Posts: 389
Join Date: Dec 2013
Location: Rajkot

 
DONATE TO ME
Help me by telling me that how to use BITCOIN : My bitcoin address --->18Bp5xj68Z9Ppru84ryzpDBqF1B3JnjfS


DONATE TO ME : send your donation directly by paypal to pranavxda@gmail.com
If you want to join my team then Click Here
 
pranavaryans
Old
(Last edited by stamatis; 17th February 2014 at 12:51 PM.)
#7  
pranavaryans's Avatar
Senior Member - OP
Thanks Meter 216
Posts: 389
Join Date: Dec 2013
Location: Rajkot

 
DONATE TO ME
Mod edit: Link removed. Please don't post material which require you to register to external sites.


DONATE TO ME : send your donation directly by paypal to pranavxda@gmail.com
If you want to join my team then Click Here
 
LioCraft
Old
#8  
Junior Member
Thanks Meter 3
Posts: 17
Join Date: Apr 2013
Thank you very much for your tutorial.
 
pranavaryans
Old
#9  
pranavaryans's Avatar
Senior Member - OP
Thanks Meter 216
Posts: 389
Join Date: Dec 2013
Location: Rajkot

 
DONATE TO ME
Quote:
Originally Posted by LioCraft View Post
Thank you very much for your tutorial.
Your welcome @LioCraft


DONATE TO ME : send your donation directly by paypal to pranavxda@gmail.com
If you want to join my team then Click Here
 
tolux77
Old
#10  
Junior Member
Thanks Meter 4
Posts: 22
Join Date: Jan 2014
Thank you much

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes