You are on page 1of 1

NEWS FORUMS DEVICES TOPICS BEST POSTS

# 5G # Galaxy S20 # OnePlus Nord # Samsung # OnePlus Buds # ROG Phone 3 # Android 11 # Galaxy Note 20

 xda-developers  Android Development and Hacking  Android Software Development  [guide][how to port roms][snapdragon][windows/linux] by kumarayush2104

FORUMS

[guide][how to port roms][snapdragon][windows/linux]   Tweet   Like


Android Software Development
106 posts
By kumarayush2104,
kumarayush2104, Senior Member on 8th June 2018, 01:52 PM   
Thanks:
Thanks: 62 Android General

 Reply  Email Search Thread 1 2  Android Q&A, Help & Troubleshooting

Huawei Developers
HOW TO PORT ROMS IN WINDOWS Android Software and Hacking General
[Developers Only]

[More]

WARNING :- I AM NOT RESPONSIBLE FOR BRICKED DEVICES, DEAD SD CARDS OR ANY OTHER STUFFS HAPPEN WITH YOU.
WARNING:- THIS IS FOR SNAPDRAGON DEVICES ONLY.
ONLY.
THREAD SEARCH
YOU NEED A WORKING A PC AND SOME SOFTWARES LIKE:-
Search this thread

WINRAR (https://www.win-rar.com/download.html?&L=0
(https://www.win-rar.com/download.html?&L=0))
SUGGESTED APPS
NOTEPAD++ (https://notepad-plus-plus.org/
(https://notepad-plus-plus.org/))
Official XDA Forum App
ANDROID IMAGE KITCHEN (https://mega.nz/#F!P5AA3azC!AijFT4S-dAwbt88eKkTIMA
(https://mega.nz/#F!P5AA3azC!AijFT4S-dAwbt88eKkTIMA))
The XDA App is the fastest
EXTRACTOR 4.0 (https://mega.nz/#F!y0YhwT5D!SX6cQ7lPv7XGiH7GLDXLyw
(https://mega.nz/#F!y0YhwT5D!SX6cQ7lPv7XGiH7GLDXLyw))
way to access the forums on
MELD (https://download.gnome.org/binaries/...0%2C4038285101
(https://download.gnome.org/binaries/...0%2C4038285101)) 



mobile.
SO HERE WE GO, Navigation Gestures
Customizable gesture control
STEP 1 for any Android device.




EXTRACT YOUR BASE ROM AND PORT ROM IN TWO DIFFERENT FOLDER. XDA Labs
Labs is an independent app
STEP 2 store that gives developers




full control over their work.
MAKE TWO DIFFERENT FOLDER AND NAME THEM PORT BOOT IMAGE AND BASE BOOT IMAGE.
(NOT INSIDE THE ROM FOLDER) Substratum
The ultimate, most complete
STEP 3 theming solution for Android.




COPY THE BASE BOOT IMAGE IN BASE BOOT IMAGE FOLDER XDA Feed
The best way to get cutting
AND COPY THE PORT BOOT IMAGE IN PORT BOOT IMAGE FOLDER edge news about your device!




STEP 4 TOP FORUM DISCUSSIONS


Tap, Tap brings iOS 14/Android 11’s Back Tap
USING ANDROID IMAGE KITCHEN gesture to any Android device
EXTRACT BOTH BOOT IMAGE (BASE AND PORT)  August 2, 2020

How to root the OnePlus Nord with Magisk


STEP 5
 July 29, 2020

REPLACE [/SPLIT_IMG/boot.img-zImage](AFTER
[/SPLIT_IMG/boot.img-zImage](AFTER EXTRACTION ) No’Me is a launcher manager for those of you
REPLACE [/SPLIT_IMG/boot.img-dtb](AFTER
[/SPLIT_IMG/boot.img-dtb](AFTER EXTRACTION ) with multiple launcher apps
 July 29, 2020
(FROM BASE BOOT IMAGE TO PORT BOOT IMAGE)
Developer ports LineageOS 17.1 based on
Android 10 to the Raspberry Pi 4 B, 3 B+, and 3 B
STEP 6  July 28, 2020

USING MELD, Access Dots now logs when your camera and
microphone are accessed
COMPARE FILES [RAMDISK/INIT.RC]
 July 27, 2020
COMPARE FILES [RAMDISK/FSTAB.QCOM]
Unofficial LineageOS 17.1 brings Android 10 to
(FROM BASE BOOT IMAGE TO PORT BOOT IMAGE) the 2018 Amazon Fire HD 8
 July 23, 2020

STEP 7 Realme X3 SuperZoom gets unofficial bootloader


unlock method, while Realme C3 receives it
USING ANDROID IMAGE KITCHEN officially
REPACK YOUR BOOT IMAGE.  July 22, 2020

FINALLY WE HAVE PORTED BOOT IMAGE !!!

STEP 8

EDIT YOUR UPDATE SCRIPT PRESENT IN [PORT ROM/META-INF/COM/GOOGLE/ANDROID/UPDATE SCRIPT]

ERASE

getprop("ro.product.device") == "XXXXXXX" || abort("This package is for "XXXXXX"" devices; this is a "" + getprop("ro.product.device")

FROM THE UPDATE SCRIPT

STEP 9

EDIT YOUR BUILD.PROP USING NOTEPAD++

COMPARE LCD DENSITY IN BUILD.PROP [PORT ROM/SYSTEM][WITH BASE ROM/SYSTEM/BUILD.PROP]

CHANGE YOUR MODEL NO. IN THESE LINES [IN PORT ROM'S BUILD.PROP]
ro.product.model=
ro.product.brand=
ro.product.name=
ro.product.device=

STEP 10
REPACK YOUR PORT ROM USING WINRAR

[CENTER] DONE !!!

HOW TO PORT ROM IN LINUX

FIRST STEP :-- INSTALL PACKAGES

ZIP, UNZIP, PYTHON,ADB, FASTBOOT, MELD

FOR DEBIAN BASED LINUX

Code:
sudo apt update; sudo apt install zip adb meld fastboot python

DOWNLOAD THESE AND EXTRACT IT IN SEPERATE FOLDER

SUPERR 'S KITCHEN (https://forum.xda-developers.com/app...2-1-6-t3597434


(https://forum.xda-developers.com/app...2-1-6-t3597434))
AIK-LINUX (https://forum.xda-developers.com/sho....php?t=2073775
(https://forum.xda-developers.com/sho....php?t=2073775)) EXTRACT THIS 2 TIME AND NAME IT PORT BOOT AND STOCK BOOT

IF YOU HAVE SYSTEM FOLDER THEN

MAKE TWO FOLDER NAME STOCK AND PORT


FOR MAKING FOLDER

Code:
mkdir stock port

(YOU CAN REPLACE THE NAME)

HERE WE GOT TWO FOLDERS, COPY YOUR STOCK ROM IN STOCK FOLDER AND PORT IN PORT FOLDER

THEN EXTRACT BOTH FILES BY UNZIP LIKE

Code:
name@pcname:~/path/to/your/rom/stock$
name@pcname:~/path/to/your/rom/stock$ unzip *.zip

SAME FOR PORT ROM


Code:
name@pcname:~/path/to/your/rom/port$
name@pcname:~/path/to/your/rom/port$ unzip *.zip

NOW WE HAVE TO PORT THE BOOT IMAGE

GO TO WHERE YOU HAVE EXTRACTED AIK-LINUX , COPY THE STOCK BOOT IMAGE IN STOCK BOOT FOLDER AND PORT IN PORT BOOT FOLDER

NOW EXTRACT BOOT IMAGE

Code:
name@pcname:~/path/to/your/aik-linux/stock
name@pcname:~/path/to/your/aik-linux/stock boot$ ./unpackimg.sh

AND SAME WITH PORT

Code:
name@pcname:~/path/to/your/aik-linux/port
name@pcname:~/path/to/your/aik-linux/port boot$ ./unpackimg.sh

NOW REPLACE, (FROM STOCK TO PORT


Code:
/SPLIT_IMG/BOOT.IMG-ZIMAGE
/SPLIT_IMG/BOOT.IMG-DTB

AFTER THAT USE MELD FOR COMPARING RAMDISK FILES, FOR MELD WRITE THIS IN TERMINAL
Code:
sudo meld

COMPARE,(FROM
COMPARE,(FROM STOCK TO PORT
Code:
/ramdisk/fstab.qcom
/ramdisk/init.rc
/ramdisk/uneventd.rc
/ramdisk/uneventd.qcom.rc

NOW REPACK THE PORT BOOT IMAGE BY


Code:
name@pcname:~/path/to/your/aik-linux/port
name@pcname:~/path/to/your/aik-linux/port boot$ ./repackimg.sh

NOW WE HAVE SUCCESSFULLY PORTED THE BOOT IMAGE

PLACE IT IN YOUR PORT ROM

NOW THROUGH MELD, COMPARE YOUR BUILD.PROP FOR LCD DENSITY AND DEVICE NAME AND BRAND (FROM STOCK TO PORT

NOW OPEN YOUR UPDATER-SCRIPT PATH:- PORT ROM/META-INF/COM/GOOGLE/ANDROID

REMOVE THESE LINES IF IT HAVE


Code:
getprop("ro.product.device") == "XXXXXXX" || abort("This pack

AND REPLACE YOUR MOUNT SYSTEM,FORMAT SYSTEM AND BOOT.IMG FLASHING LINE FROM YOUR STOCK UPDATER-SCRIPT

REPACK YOUR ROM BY


Code:
name@pcname:~/path/to/your/port
name@pcname:~/path/to/your/port rom$ zip -r $ROMNAME meta-inf s

REPLACE $ROMNAME WITH YOUR ROM ZIP NAME AND IF YOU HAVE FOLDER TO COMPRESS JUST ADD THOSE AFTER META-INF WITH SPACE
BETWEEN EACH FOLDER

DONE !!!

IF YOU HAVE SYSTEM.IMG OR SYSTEM.NEW.DAT.BR OR SYSTEM.NEW.DAT

USE SUPERR KITCHEN TO EXTRACT THOSE AND USE METHOD WRITTEN A BIT ABOVE

 Reply  Quick Reply  Submit to XDA Portal

The
The Following
Following 9 Users Say
Say Thank
Thank You
You to
to kumarayush2104
kumarayush2104 For
For This
This Useful
Useful Post:
Post: [[ View
View ]] Gift kumarayush2104 Ad-Free

 Bap062 13th November 2018, 10:19 AM | #2    


Member bro i am totally new in porting eld....however i tried porting MIUI 9 for yu yunique.....but no succeed....can you plz tell is
Thanks Meter:
Meter: 21 it possible to port miui 9 custom rom for yu yunique... i Take port rom for redmi 2 and base rom MIUI 8 by Xinid for yu
   yunique........however i tried all the tuitorial on xda but not even single was helped... i soft bricked my deice more than 15
More  times....Is it compatible for yu yunique?? i found both devices has almost same con guration and android version also
same.... Whats wrong??/

 Reply  Quick Reply  Submit to XDA Portal

Huawei Provides $1,000,000 in Prizes for Innovative Develo…


Develo…

 Chakari 4th December 2018, 10:13 PM | #3    


@AYUSH KUMAR
Hi,
Can you make a video for that? I can't do it because I don't speak English. I'm thinking of uploading the Miui 10 to Asus
Ze552kl.
Junior Member Bye.

Bayburt

Thanks Meter:
Meter: 0
  

More 

 Reply  Quick Reply  Submit to XDA Portal

 kumarayush2104 5th December 2018, 07:37 AM | #4    


Senior Member OP
OP Quote:
Originally Posted by Chakari 
patna
@AYUSH KUMAR
Thanks Meter:
Meter: 62
   Hi,
Can you make a video for that? I can't do it because I don't speak English. I'm thinking of uploading the Miui 10 to
More 
Asus Ze552kl.
Bye.

Sorry I dont have a youtube video

 Reply  Quick Reply  Submit to XDA Portal

The
The Following
Following User Says
Says Thank
Thank You
You to
to kumarayush2104
kumarayush2104 For
For This
This Useful
Useful Post:
Post: [[ View
View ]] Gift kumarayush2104 Ad-Free

 sarthak darshan 29th December 2018, 09:57 AM | #5    


Junior Member @KumarAyush after Porting twrp shows this message
Thanks Meter:
Meter: 1 help me to port rom
  

More 

Attached Thumbnails

 Reply  Quick Reply  Submit to XDA Portal

 kumarayush2104 31st December 2018, 05:01 AM | #6    


Senior Member OP
OP Quote:
Originally Posted by sarthak darshan;78540245 [MENTION=7553374
patna
KumarAyush after Porting twrp shows this message
Thanks Meter:
Meter: 62
   help me to port rom

More 
Message me on telegram @KumarAyush
@KumarAyush2104
2104

 Reply  Quick Reply  Submit to XDA Portal

 kumarayush2104 11th January 2019, 12:57 PM | #7    


Senior Member OP
OP Quote:
Originally Posted by sarthak darshan 
patna
@KumarAyush after Porting twrp shows this message
Thanks Meter:
Meter: 62
   help me to port rom

More 
That's Mount line in updater-script change it according to stock

 Reply  Quick Reply  Submit to XDA Portal

 kumarayush2104 29th January 2019, 04:34 AM | #8    


Senior Member OP
OP Quote:
Originally Posted by Bap062 
patna
bro i am totally new in porting eld....however i tried porting MIUI 9 for yu yunique.....but no succeed....can you plz
Thanks Meter:
Meter: 62
  
tell is it possible to port miui 9 custom rom for yu yunique... i Take port rom for redmi 2 and base rom MIUI 8 by
Xinid for yu yunique........however i tried all the tuitorial on xda but not even single was helped... i soft bricked my
More 
deice more than 15 times....Is it compatible for yu yunique?? i found both devices has almost same con guration
and android version also same.... Whats wrong??/

Message me on telegram @KumarAyush


@KumarAyush2104
2104

 Reply  Quick Reply  Submit to XDA Portal

 hasan.sy 7th February 2020, 06:37 PM | #9    


Senior Member can i port lineageos 15.1 from xperia v with msm8960 1gb ram to samsung s3 d2 with 14.1 and same chipset but 2 gb
Thanks Meter:
Meter: 11 ram?
  

More 

 Reply  Quick Reply  Submit to XDA Portal

 rsasothy 9th April 2020, 10:02 PM | #10    


Junior Member hi help me to port oneplus 5 rom to zenfone 4 pro(ZS551KL) thank you
Thanks Meter:
Meter: 0
  

More 

 Reply  Quick Reply  Submit to XDA Portal

 Di erentPlays 26th May 2020, 01:44 PM | #11    


Hi, rst i want to thank you because making this tutorial, however because i'm new to this porting world, i'm stuck on a
problem, the problem is, after following your steps, zipped it and ashed it on my phone, it goes to recovery back
again and again when i press the reboot button, and i don't know how to solve this. can you help me? here some
details about my port ROM:
Junior Member ROM i want to Port: RR 5.8.5 [7.1.2_r29] [N] [OFFICIAL][LENOVO A6000]
ROM i use as Base: AOSP_RRO_Rev3 [6.0.1] [M] [UNOFFICIAL][C46B2G] (an Indonesian Phone, i think you don't know
Kepulauan Riau
about it)
Thanks Meter:
Meter: 0 plis reply bro i'm stuck
  

More 

 Reply  Quick Reply  Submit to XDA Portal

 Post Reply  Subscribe to Thread Page 1 of 2 1 2 

Tags

how to port rom snapdragon,


snapdragon, port rom

Guest Quick Reply (no urls or BBcode)

Message:

Post Quick Reply Go Advanced

 Previous Thread Next Thread 

 Top Threads in Android Software Development by ThreadRank

AUTOMATER for ROMs  2nd April 2020 OnePlus Parallel App Installer  17th May 2020

 Android Software Development  Android Software Development

[APP] AniWeather  1st June 2020 [Hisense A5] Root & Gapps Customizer R05 - 06.10.04.00  11th May 2020

 Android Apps and Games  Android General

[APP][5.0+] Volume Styles - Customize your volume panel (iOS, MIUI, One…
One… [TOOL][Works with android 10] Henry's unpacker - unpack repack system/…
system/…
 Android Apps and Games  4th April 2020  Android Software Development  27th July 2020

[ROM][unlocked][aquaris_m8] LineageOS 14.1 [9 MAR 2020]  9th March 2020 [VPN] ❯ FAST & UNLIMITED - NETFLIX & PUBG & COD VPN ❯ DNS Changer
 Android Software Development  Android Apps and Games  28th May 2020

 xda-developers  Android Development and Hacking  Android Software Development  [guide][how to port roms][snapdragon][windows/linux] by kumarayush2104

We're Social

     
XDA Developers was founded by developers, for developers. It is now a
valuable resource for people who want to make the most of their mobile
devices, from customizing the look and feel to adding new functionality.
Are you a developer? | Terms of Service

More info
Contact Advertise Rules Suggest Content Security Privacy Policy XDA App Remove ads on XDA

Useful Links
Redmi Note 8 Pro Software Update Download Links Root Any Device How To Guides XDA's Best

Copyright © xda-developers. Hosted by Leaseweb


-- XDA 2015

You might also like