Related
IntroductionYou may have seen many threads on xda about porting roms. All of them provide step by step tutorial but they do not explain everything and do not answer common questions. So i decided to post a guide and answer all questions about porting roms.
Please note that I am not a developer or an expoert porter (I should say i am a noob) but I will to explain everything as simply as possible.
What is Porting?You can think of porting as simply getting a rom, designed for another device to work on your device.
What do I need for porting roms?You need two roms. One designed for your phone called "Base rom" and another which you want to port called "Port rom"
What skills/software do I need to port rom?Porting a rom is as simple as copy and paste. If you know how to copy and paste folders then you can port a rom.
For software side, you only need an archiver for porting (eg 7-zip)
How do I choose a base rom?Usually you choose cyanogenmod as base. The version number is important for porting.
Choose CM7 if you are porting android 2.3 (gingerbread rom)
Choose CM9 if you are porting android 4.0 (Ice cream sandwich rom)
Choose CM10 if you are porting android 4.1 (Jellybean rom)
Choose CM10.1 if you are porting android 4.2 (Jellybean rom)
Can I port all roms?No you cant.
You cannot port stock roms like sense, touchwiz etc.
You can port aosp roms like aokp, paranoid etc
Can I port from any phone?No. The phone must meet some requirements for you to be able to port.
What are those requirements?Well these things should be common in your phone and the phone you are porting from
1. Both should be armv7 (very important)
2. Both should have same resolution
3. Both should have same pixel density
4. Both should be of same brand (Not required but highly recommended)
5. Both should have same cpu (again not required but recommended)
What phone is best for porting?There is no "best phone for porting". It depends upon your phone. Simply put that if your phone and port phone have all the above things common then it is probably the best phone for porting.
HOW TO PORT ROM
1. Download base rom (designed for your phone) and port rom (the rom you want to port)
2. Open them with 7-zip (no need to extract)
3. Delete app, framework, fonts and media folders in BASE rom and move the app, framework, fonts and media from PORT rom to BASE rom
4. Your rom is now ready. Boot into recovery, Wipe everything and flash the BASE rom. It should boot. If it does not boot then do the next step
5. Go into system/lib folder in both the roms and replace the libandroidruntime.so file
6. Remember the final rom is BASE rom which you should flash on the phone.
reserved
Important: Before porting any rom always ask the developer about permission. I he allows then port and if he refuse then work on another rom. Dont ask him again and again.
Hey,
Good work!
You can port roms like sense, touchwizz... see my guide
Sent from my XT890 using xda app-developers app
GalaxyUser said:
Hey,
Good work!
You can port roms like sense, touchwizz... see my guide
Sent from my XT890 using xda app-developers app
Click to expand...
Click to collapse
Well yes but they require advanced knowledge about porting and are always buggy. This faq is for absolute beginners
UPDATE: added a guide to port rom. Hope you will like it
Could I port a rom designed for Samsung Galaxy Beam GT-i8530 to my Samsung Galaxy Beam GT-i8520 (Note that the first product model ends with 30 and the other ends with 20).
They are different phones and I would like to be able to update the stock Android 2.1 on my i8520 to Android 2.3 or above, preferably with the projector app/function of the i8530.
Both phones have projectors built in, but they are a little different in specs.
can we port 4.2 rom to 4.1.2 with same resolution, cpu & processor ??
plz confirm
Maveric-Romeo said:
Could I port a rom designed for Samsung Galaxy Beam GT-i8530 to my Samsung Galaxy Beam GT-i8520 (Note that the first product model ends with 30 and the other ends with 20).
They are different phones and I would like to be able to update the stock Android 2.1 on my i8520 to Android 2.3 or above, preferably with the projector app/function of the i8530.
Both phones have projectors built in, but they are a little different in specs.
Click to expand...
Click to collapse
I doubt that you will be able to get it to load, I've ported cm7,9 and cm10( cm10 requires me to decompile framework.jar add cdma smali files recompile the framework.jar. swap out the baseband libs and edit the build.prop cm7 and cm9 are the easiest for porting as its basically copy and paste cm9 is just baseband and build.prop edits for me to get cdma working it
Sent from my R800x using xda premium
darkharbinger81 said:
I doubt that you will be able to get it to load, I've ported cm7,9 and cm10( cm10 requires me to decompile framework.jar add cdma smali files recompile the framework.jar. swap out the baseband libs and edit the build.prop cm7 and cm9 are the easiest for porting as its basically copy and paste cm9 is just baseband and build.prop edits for me to get cdma working it
Sent from my R800x using xda premium
Click to expand...
Click to collapse
Thank you. I'm completely new to this and I'm not sure I really understand porting yet.
can i port 4.1 rom to 4.0 device with same specification ?
pankycool123 said:
can we port 4.2 rom to 4.1.2 with same resolution, cpu & processor ??
plz confirm
Click to expand...
Click to collapse
vny10 said:
can i port 4.1 rom to 4.0 device with same specification ?
Click to expand...
Click to collapse
Sorry for being late but someone pm'ed me about this thats why answering.
You need the same android version for both the port and the base rom otherwise it will not boot.
grt guide!!!!
from which phone i can port roms for my karbonn a9?
Really?
You said that you can port from ARMv7 to ARMv7 only. Is it not possible to port ARMv6 to ARMv6?
Good day! im using galaxy y, is it possible to port apps and framework from stock based roms to cm7 rom through your guide?
Are there any additional steps to be followed if jumping to the next android version aka from 4.2.2 to 4.4.2 ? I am asking this because i want to port a Kitkat based rom from a similar MTK 6572 device to our own device with exactly the same specs but different android versions, they even are the same brand.
Hi, can I use touchwiz stock like base rom and port on it cm10.1 ?
I'm using this phone for a while, but since it is made in China and lack supports
It is still in 2.3.x branch, which contains some known security issues
So, I'd like to know how to build a custom rom for it, my friend told me Slim is one of the most stable custom ROM on the run, and fits my minimaist style, can you give me some advice?
P.S. I've been looking into many Chinese sites, but still I can't get the full list of device tree
EDIT: seems it is a mtk6516 CPU with dual SIM
it has some different model names:
Meizu G11
Chianjing A007 or V7
found some maybe useful specs.
http://forum.xda-developers.com/showthread.php?t=1501849&page=2
WHAT IS THIS APP ALL ABOUT?
THIS IS A APP THAT CONTAINS
NEW PORTED ROMS
ROM GUIDES
NEW UPCOMING ROMS
MODS
UPDATES
AND A LOT MORE TO BE ADDED .........
WHY THIS APP ?
A LOT OF ROM FOR ALL MTK DEVICES
SORTED ROMS (DIFFERENT CHIPSETS ) FOR EASY PORTING
PORTING GUIDES
MANY TUTORIALS
LEAST NUMBER OF ADS
BETTER UI
A PLACE WHERE U LL GET EVERY ROM
U CAN ALSO ADD YOUR ROMS IN THE APP (PROPER CREDITS WILL BE GIVEN TO ALL)
FEATURES
MATERIAL UI
MATERIAL THEMES
(LIGHT RED , METRO BLUE , LIGHT,DARK)
REVIEWS OF DIFFERENT ROMS (WITH VIDEOS)
AND MUCH MORE .........
A NOTE
EVERY ROM YOU PORT GIVE PROPER CREDITS
SHARE THIS APP
AND MAKE THE COMMUNITY OF MTK BETTER
XDA:DevDB Information
MTK ROMS OFFICIAL APP , ROM for all devices (see above for details)
Contributors
manhar2108
Source Code:
ROM OS Version: 5.0.x Lollipop
Version Information
Status: Beta
Stable Release Date: 2016-03-31
Beta Release Date: 2016-03-07
Created 2016-03-07
Last Updated 2016-03-07
DOWNLOAD LINK
HERE
or
the download tab
for lazy guys
here
last one
forgot this
Thanks
So this is for ANY device? I have the d2cri and there are no new roms being developed for it. I really want to be rid of KitKat and to get Lollipop but nothing I have tried has worked up to this point.
Sn0wflak352485 said:
So this is for ANY device? I have the d2cri and there are no new roms being developed for it. I really want to be rid of KitKat and to get Lollipop but nothing I have tried has worked up to this point.
Click to expand...
Click to collapse
Yes its for any device
We have porting guides
Custom ROMs and .any more things
U can choose them
We will also help u if u find any problems
Stay connected
Just downloaded and installed this on to my MediaTek China phone. Unfortunately this app has not been active for the last 3-4 years. Shame as it would make a nice little community for all of the MTK users out there
Chris
MTK ROMs? Wowzers!
Unfortunately this app has not been active for the last 3-4 years. Shame as it would make a nice little community for all of the MTK users out there Chris
Click to expand...
Click to collapse
I probably wouldn't have found this if you didn't make a comment. Would you please point out what link you used to get a ROM, all the ones I see here are broken or non-functiomal. I've been looking for some firmware to put into my RCA Tablets that haven't made it past Android 5 Lollipop. I wish I could find something more up to date like Android 8.1
I didn't get a ROM. I merely downloaded this app to my phone, installed it and noticed that all of the posts were from 3-4 years ago.
are we going to see any updates soon?
Here's a usable link
tarongee said:
are we going to see any updates soon?
Click to expand...
Click to collapse
I doubt it. I've been waiting for years searching for an update to my RCA tablets. I can Root them but then I have nothing to flash into it. So I, like everyone else is stalled.
Here's a workable link to the MTK app
https://forum.xda-developers.com/devdb/project/dl/?id=17231
I have started to port MIUI 7 Marshmallow rom from MI Max to Redmi Note 3.
Here is the MIUI 7 Marshmallow ROM: http://en.miui.com/download-302.html
Anyone working on the same project may contact, also anyone experienced in porting may contact too.
Initial ports will be closed released for testing and stable ports will be posted here.
MIUI8?good work
Me bro
Sent from my Redmi Note 3 using XDA-Developers mobile app
<rant>
It's fairly simple to "port" I guess, as far as I know the process consists of: downloading the MiMax ROM and copying over the hardware files from our Kenzo MIUI-7 ROM, of course before any of this your either going to need system dumps or a way to extract the firmwares, and even then you'll need to put together an update-script to properly flash it all, and then you can start testing stuff out to see what works/dosnt and then you rinse and repeat until everything works, I've done this before for another device and although it did boot, there were countless issues and the entire process is archaic and pointless tbh, building from source (but we can't since MIUI is closed source so id say just wait for MIUI8 lol) would be easier in some sense since having the source upfront helps you have an idea of wtf is actually going on compared to the guess work that is copying & pasting libs and stuff from /system/etc, my point is, just wait till June 28th or whenever were supposed to have MIUI-8 since hacking together an M based MIUI-7 for our device based on another devices firmware with "similar" hardware would just be painful and I'd feel sorry for you if you had to do such, then again I could be awfully wrong and the entire thing may work (it is quite possible) relatively easily considering the familiarity of the hardware, I just wouldn't expect it to be bugless, but someone please do prove me wrong, I'd be happy.
</rant>
DiamondBond said:
It's fairly simple to "port" I guess, as far as I know the process consists of: downloading the MiMax ROM and copying over the hardware files from our Kenzo MIUI-7 ROM, of course before any of this your either going to need system dumps or a way to extract the firmwares, and even then you'll need to put together an update-script to properly flash it all, and then you can start testing stuff out to see what works/dosnt and then you rinse and repeat until everything works, I've done this before for another device and although it did boot, there were countless issues and the entire process is archaic and pointless tbh, building from source (but we can't since MIUI is closed source so id say just wait for MIUI8 lol) would be easier in some sense since having the source upfront helps you have an idea of wtf is actually going on compared to the guess work that is copying & pasting libs and stuff from /system/etc, my point is, just wait till June 28th or whenever were supposed to have MIUI-8 since hacking together an M based MIUI-7 for our device based on another devices firmware with "similar" hardware would just be painful and I'd feel sorry for you if you had to do such, then again I could be awfully wrong and the entire thing may work (it is quite possible) relatively easily considering the familiarity of the hardware, I just wouldn't expect it to be bugless, but someone please do prove me wrong, I'd be happy.
Click to expand...
Click to collapse
1. I have ported Roms for Micromax canvas music, Micromax unite 2. They were mtk. I have themed complete rom for LG l 3 e405. It was Qualcomm.
2. Flashing will be block based. If what I have planned will work.
3. We have no other better option to get marshmallow right now. And I live in present.
4. Without trying I can't know if it is a good idea or not. What I will loose? Few hours. What many will gain? May be a stable marshmallow miui 7.
Be positive.
Sent from my Redmi Note 3 using XDA-Developers mobile app
Sudeep Duhoon said:
3. We have no other better option to get marshmallow right now. And I live in present.
4. Without trying I can't know if it is a good idea or not. What I will loose? Few hours. What many will gain? May be a stable marshmallow miui 7.
Be positive.
Sent from my Redmi Note 3 using XDA-Developers mobile app
Click to expand...
Click to collapse
Keep up good work my friend. Looking forward for this..
count me in bro, i have spare redmi note 3 to test and provide logcats or anything you want.
Sudeep Duhoon said:
I have started to port MIUI 7 Marshmallow rom from MI Max to Redmi Note 3.
Here is the MIUI 7 Marshmallow ROM: http://en.miui.com/download-302.html
Anyone working on the same project may contact, also anyone experienced in porting may contact too.
Initial ports will be closed released for testing and stable ports will be posted here.
Click to expand...
Click to collapse
nice work bro...
keep moving...
I think you will be founder of quick charge 2.0 for RN3 if you can port this rom :good:
Here you have a beta tester of your work men! Good luck
Nice..can you please port to MTK?
The leaked version of
Miui 7:http://forum.xda-developers.com/showthread.php?t=3377347
and cm13:http://forum.xda-developers.com/showthread.php?t=3350656
are stable enough now. Though the initial boot was failed of Port rom. I see no point of trying now.
Please close the thread.
Sent from my Redmi Note 3 using XDA-Developers mobile app
In order to keep this thread clean, please use this one to discuss about Development, Support or Software Updates.
ROMs:
HOW-TO Root and Install Stock ROM: https://docs.google.com/presentation/d/1NJcDBkLk8zMwyv2BTqRjn2NB_ZOWKjP1fRpSVr44Oxk
To avoid any possible issue, do not forget to backup your NVRAM so that you won't risk to lose your IMEI. How-to: http://www.anythingultimate.in/2015/11/how-to-backup-your-nvram-partition.html
Stock (Android 7.0) - 4+64 Variant
- 20171028: https://mega.nz/#!4Lo2TJyJ!-m8rhxTJ3VCFjQnLfauIC2dGMfnPwGtcs7o32J4Et-k
DO NOT USE THE "Format All & Download" OPTION IF YOU CARE ABOUT YOUR IMEI! Choose "Firmware Upgrade" instead.
Previous Releases:
- 20171022: https://mega.nz/#!t6onDL5D!JI3mdIyqG2A_pXtZ-vKzCAwj-QFBAFPCRIiM6TbbDZY
- 20170830: https://mega.nz/#!kLYjVTpY!l8_hoKlS7d0_RLV71xUBwL1w0lR11PN4IVPC1u26EEM
- 20170615: https://mega.nz/#!ZeQTARAQ!Z8q1hUWtMn6SXFtL-PfTFbwvQz6G9i46WosEXlU2ay0
Stock (Android 7.0) - 6+64 Variant
- 20171028: https://mega.nz/#!0bxyDQbb!FOnbe5cYZr7Q7DWQKgSx4IQ7Keiy7fD5aZ55ZOe9zDc
DO NOT USE THE "Format All & Download" OPTION IF YOU CARE ABOUT YOUR IMEI! Choose "Firmware Upgrade" instead.
Previous Releases:
- 20171022: https://mega.nz/#!FOQHRIhB!nTA2F2SVAs4ncESTAJRyvHBIMBw5QU8Ot1Vl7lQL418
- 20170810: https://mega.nz/#!IP5xwabB!D2i1ac-utl6A8A-q77cvwE0iQmJBrjz1-c6imAZ5Xhg
- 20170621: https://mega.nz/#!AfIz3SLb!41TxksnjlcgN51t1MggQdoVRlVPiajcebaO6BEEpeug
Flash Tool
- SP Flash Tool for Windows and Linux: https://mega.nz/#F!dYUm0TbB!SWeMLb5Wu1NbRzTPQ8-s_A
Recovery:
- TWRP 3.1.1 by @jemmini (20170810 based): https://mega.nz/#F!FVsH2JLR!bKDbF3Wz3Jsyk8_A4R_m4g
Root:
Rooting Methods (if you are on Stock ROM)
- Pre-rooted boot.img for 4/64 variant: https://forum.xda-developers.com/showpost.php?p=74358280&postcount=335
- SuperSU (flashable using TWRP): http://forum.xda-developers.com/apps/supersu
Extras (Root-Only):
Customization
- Xposed Framework: http://forum.xda-developers.com/showthread.php?t=3034811
Useful Third-Party Apps:
Battery Life
- Amplify: https://play.google.com/store/apps/details?id=com.ryansteckler.nlpunbounce&hl=en
- Greenify: https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en
How u do it man... So many development for so many devices... Share some knowledge dude.
sagargjasani264 said:
How u do it man... So many development for so many devices... Share some knowledge dude.
Click to expand...
Click to collapse
For Mediatek Devices it is pretty easy because if you manage to build a ROM for a device that has its software made by the same company who did the same software for another device (i hope this sentence is clear), then you can build a ROM for both devices with just some minor changes.
Alberto96 said:
For Mediatek Devices it is pretty easy because if you manage to build a ROM for a device that has its software made by the same company who did the same software for another device (i hope this sentence is clear), then you can build a ROM for both devices with just some minor changes.
Click to expand...
Click to collapse
Yep.. Got that line clearly... But what to do when u don't have source codes for your perticuler device or similar device with same company and software ? U can't build.... Am i right?
If its possible pls pm me.. I dont wanna add more off topic comments in ur thread..
sagargjasani264 said:
Yep.. Got that line clearly... But what to do when u don't have source codes for your perticuler device or similar device with same company and software ? U can't build.... Am i right?
If its possible pls pm me.. I dont wanna add more off topic comments in ur thread..
Click to expand...
Click to collapse
I'll just reply here for the last time, it is OT, but still useful for development
When there is no kernel source code, i use the prebuilt kernel image (included with the Stock ROM), while everything else gets compiled (excluding proprietary files required to handle the hardware).
Alberto96 said:
I'll just reply here for the last time, it is OT, but still useful for development
When there is no kernel source code, i use the prebuilt kernel image (included with the Stock ROM), while everything else gets compiled (excluding proprietary files required to handle the hardware).
Click to expand...
Click to collapse
I don't know i got last part correctly or not but i will google now for that.. Anyways thanks for information man.. Keep it up ur work.. And keep sharing knowledge..
... the rom - download (mega) is it working with the 4gb version too? great job so far...
i have tried that rom, it does not work for 4gb version, doogee logo stuck on the screen
---------- Post added at 12:01 PM ---------- Previous post was at 11:58 AM ----------
i bought phone from banggood came with offical outdated software, so i will never get update.the only rom with update is 20170621. the rom that we have here 6gb version,hope someone will provide rom 20170621 for 4gb version.
many thanks
I'm also wondering about ROMs for the 4gb version of the phone? Have they updated that to the same level as the 6gb ROM? I thought the specs were identical apart from the extra 2gb of memory??
Can you do a rom for 4gb Version?
pheemc said:
Can you do a rom for 4gb Version?
Click to expand...
Click to collapse
"Can you do" doesn't exist yet.
It is only the Stock ROM provided by DOOGEE directly, not something I made. You have to ask DOOGEE if you want other variants, then provide me the link.
Ah okay, i thought this was the pure stock Android Rom without Doogee "bloat".... Do you think there will be a lineage Version in future?
pheemc said:
Ah okay, i thought this was the pure stock Android Rom without Doogee "bloat".... Do you think there will be a lineage Version in future?
Click to expand...
Click to collapse
It's too early to discuss about source-built ROMs, this is a pretty new platform.
hi guys,i cannot find any source that i can obtain doogee mix 4gb varient rom(build 20170621),i already asked admin doogee mix forum ,but no response.any idea where we can get that rom? thanks
the rom does not work . the flash tool say the scatter is invalid
libuda04 said:
the rom does not work . the flash tool say the scatter is invalid
Click to expand...
Click to collapse
It does, I have flashed it on my own MIX.
How did you flash it with SP Flash Tools?
When i connect and try it says BROM ERROR: STATUS_BROM_CMD_SEND_DA_FAIL(0xC0060003)
What does it mean.
I installed drivers for MT67xx and latest SP Flash Tool
I have my phone turned off and when i connect (after clicking download in SP Flash Tool) it says the error.
Hi guys, i'm pretty novice about all of this and i dont speak english a lot, i have a problem with my new DOOGEE MIX (6gb i think), i tried to uninstall the "DOOGEE OS" many times but i failed all time. There is a cat/gameboy on my screen and i cant remove them, maybe i can find an issue here. Thank a lot in advance and have a good day !
hi, do following:
home screen, press on the screen a few seconds,you will see launcher settings, then turn off search bar and know on home screen
hans2001 said:
hi, do following:
home screen, press on the screen a few seconds,you will see launcher settings, then turn off search bar and know on home screen
Click to expand...
Click to collapse
Oh yeah it worked ! I have almost intalled something for "root" my phone. Thank a lot dude !:laugh:
Do you know how to remove the last background on the left too ? The one with all the newspapers ? I'am actually searching on the new launcher settings but i cant find it, thank .