How to Port Custom ROMs for MTK SoCs (All Chipsets)1

Download How to Port Custom ROMs for MTK SoCs (All Chipsets)1

Post on 16-Feb-2016

121 views

Category:

Documents

34 download

Embed Size (px)

DESCRIPTION

pengetahuan

TRANSCRIPT

  • XposedGeek Xposing Random Tricks & Loots!

    Tradefactsfigures&resourcesforover180countriesworldwide.

    CUSTOM ROM / TUTORIAL 372ROM MTK Android4.4 USBPortAdsbyGoogle

    How To Port Custom ROMs [For All MTKChipsets]BY ROHAN ARYA AUG 7, 2014

    DoyouwanttoportCustomROMtoyourMTKphone?ItsobviouslyawishofmanypeopletoportcustomromtotheirphoneandenjoynewfeaturesandUIintheirdevice.Byfollowingthistutorial,youcaneasilyportCustomROMtoyourMediaTek(MTK)ChipSetphone!IboughtMicromaxA106Unite2inMayandrooteditofofcourse.BecauseIneverhadanexperiencewithMTKbefore,IdidntknowaboutMTKporting.Ilookedintoitssystemfoldersandother.AlsoIhadaskedmyfriendslikeRohanTanejaforhelptoportCustomROMtomydevice.HehelpedmemuchinlearningofMTKporting.FinallyIwasabletoportROMswithoutanybugs.IhavealreadypostedaboutthisinXDA,butIthoughtpostinginblogwillmakeitmucheasierforpeopletocommentbecauseIhaveenabledAnonymouscommentingsouserscancommentherewithoutevenputtingtheirname.IwilltrytoexplainthisguideinbriefasIcansoIdontthinkanyonewillhavedoubtsleft.IncaseifyouhaveanydoubtsyoucanpostyourcommentandIwillreplyitassoonaspossible.ThisisforallMT65xxchipsetsincluding:MT6577MT6582MT6589MT6592

    FOLLOW:

    NEXT STORY

    Get Android L Google Play Store in YourAndroid Phone

    PREVIOUS STORY

    How To Port PhilZ/CTR/CWM/TWRPRecovery to your Phone

    To search type and hit enter

  • Port MTK ROMs Pic Credits: Khadirullah!

    ThisguideisonlyforMTK!ThiswillworkfromsamechiptosamechipforexampleMT6582toMT6582orMT6577toMT6577,MT6592toMT6592.ToportCustomROM,allyouneedtohaveisadevicewithsameSoCanditsCustomROMwithyourownStockROM.

    Requirements to Port Custom ROM to your MTK device:

    A Custom Recovery: If you dont have follow this tutorial to port one!Custom ROM (from a device with almost same specifications and SoC).Your Stock ROM.

    SomedeviceshavedifferentpartitionstoflashandtheROMyoumightflashcanbrickyourphone.Itcanevenhardbrickyourphone.SoitisrecommendedthatyoudoaReadBack,ClockWorkModBackupandMTKDroidRoot&Toolsbackup.Thistutorial[PortCustomROMtoyourMTKphone]is100%working,butstillwewonttaketheGUARANTEEwhathappenstoyourdevice!

    WhatyouneedtoPortCustomROMtoyourdevice[YourChipsettoYourChipset

    only]:

    TheROMyouneedtoport[in.zip].YourstockROM[extractedwith/systemandbuild.prop].

    HowToPortCustomROMtoyourPhone:

    Extract the ROM you need toport and you will have these main things:META-INFSystemboot.img.Ifyouhavethemthenyouarereadyfornextstep.Open/systemfolderofstockandromtoport.OpenbinfolderofstockROMandcopythesefiles.pqvold

  • NowreplacethesefilesinROMtoPorts/System/Binfolder.Open/System/libfolderofStockROMandgetthesefiles:libcamalgo.solibcamdrv.solibcameracustom.solibdpframework.solibsensorservice.solibsync.solibvcodecdrv.so

    in /system/lib

    ReplaceallthefilesmentionabovetoROMtoPorts/system/libfolder.NowopenStockROMs/system/etc/folderandcopythesefiles:

  • apns.conf.xmlvold.fstabvold.fstab.nand

    in/system/etc

    NowreplacethesefilesinROMtoports/system/etcfolder.DeletethesefoldersfromROMtoPort:/System/vendor//System/lib/hw/System/lib/modules//System/etc/WiFi/System/etc/FirmwareReplacethesefoldersfromStockROMtoROMtoPort:/System/lib/hw//System/lib/modules//System/etc/firmware//System/etc/wifi//System/vendor/

  • in /system/lib

    in /system/etc

  • Tags: How To Port Custom ROMs MTK Port MTK Custom ROMs Porting MTK ROMs easily

    YOU MAY ALSO LIKE...

    in /system

    Thefinalstep!PressbackbuttontogotothemainfolderwhereyouhavetheStockROM.Copyboot.img[FromStockROM]andreplaceitwiththeROMtoPorts.Youareready!GoaheadandflashtheROM!

    PortingROMwasaneasytask.Wasntit?Butifthisisyourfirstport,thenobviouslyyourROMmighthavesomebugsinit.Now?CommentbelowwiththeproblemyouarefacinginyourROMsothatIcanhelpyou!

    Share this:

    Rohan AryaRohan is CEO of XposedGeek who with his hard work has setup this blog and isposting tricks regularly along with his studies. Currently, he is in 10th and he'sinterested in Gizmos, new gadgets and especially Android! :)

  • Comments 372 Pingbacks 0

    372 RESPONSES

    1 OCT,2014

    How To Fix InsufficientStorage in AndroidPhones

    1

    6 SEP,2014

    How To Unroot AnyAndroid Phone

    12

    26 FEB,2015

    How To Fix Missing:Updated Error inWebmaster Tools

    0

    udic Aug 18, 2014 at 9:51 pmHello friend, I have a Samsung GT-i9500 Galaxy S4 MT6572 (MediaTek). Ive spent a ROM forMT6589 andfailed because as expected really is a MT6572. I have re-run the Backup ROM originally had and Ihave recovered after that turn and enter the recovery mode and fastboot. The problem is thatwhen in normal mode (turn on) the screen goes black and does not leave much else.

    What do you recommend me about it? as getting the version of Android to retrieve the Backuprunning. Thanks for the help and read us

    Reply

    Rohan Arya Aug 19, 2014 at9:50 am

    Can you please be more specific and tell me which way you are trying to restore yourphone? Using a custom recovery or SP Tools?

    Reply

    deadgod Aug 28,2015 at 8:24pm

    How to extract stock ROM with /system and build.prop???????

    Please help me fast. Q. Does this porting works on all mtk devices???????

    Reply

    RohanArya

    Aug29,2015at10:02am

    Yup. Works with almost all chipsets.

    Reply

    Rigs Aug31,2015at8:53am

    your tutorial is very hard to follow. Can you share a step by steptutorial? how do I copy files to my phone and should I have a pcto follow your guide? .thanks

    RohanArya

    Aug31,2015at1:23

  • pmHi, you will need to backup the stock ROM (You can do this byadb pull /system command) and then get files from it.. Aftergetting the files, replace them with the ROM you need to portand the files are mentioned here so I dont think there should beany problems.

    deadgod Aug 28,2015 at 8:25pm

    How to extract stock ROM with /system and build.prop???????

    Please help me fast.

    Reply

    RohanArya

    Aug29,2015at10:01am

    Use this ADB comment- adb pull /system/

    Reply

    deadgod Aug 28,2015 at 8:31pm

    How to extract stock ROM with /system and build.prop???????

    Please help me fas

    Reply

    Anonymous Nov 5, 2014 at 2:19 amHow about mt 6571 kitkat sir???

    Reply

    Jagan Rao Nov 6, 2014 at 3:50 amhi sir im having karbonn a2+(mt6575) .i download custom rom for mt6575.how can i port rom??plz help me.

    Reply

    Rohan Arya Nov 6, 2014 at 5:48am

    See the tutorial mentioned here, its for porting ROM only.

    Reply

    Tasfaout Yassine Nov 10, 2014 at 5:15 pmThanks for this great blog post but what about the build.prop as you didnt mentioned it

    Reply

    Rohan Arya Nov 12, 2014 at9:43 am

    To port the ROM you dont need it, but to fix rotation, you will need to patch one line, soits not that important and thats why I skipped build.prop!

    Reply

    Tasfaout Yassine Nov 12, 2014 at4:39 pm

    Thanks again for the clarification i ported a cm11 to mt6589 device but i am stuck acyanogen boot loop any idea how to solve it someone said to me its a kernel conflit.

    Reply

    Rohan Arya Nov 13, 2014 at9:52 am

    Hi, did you get the CyanogenMod boot animation and it stuck there? If the device isrunning on Android 4.4.4 and you port CM11 ROM, then it should run well and good, BUTif your phone is running on Android 4.2.x or 4.4.2 (which is probably the case), then theROM wont boot.

    Reply

    Tasfaout Yassine Dec 3, 2014 at 5:14pm

    Hi, yes i reached the boot animation and yes i am on jellybean 4.2.1. can we solve thisissue ;(( ? Thank you

    Reply

  • Tasfaout Yassine Dec 3, 2014 at 5:35pm

    This comment has been removed by the author.

    Reply

    Tasfaout Yassine Dec 3, 2014 at 5:36pm

    I found the kernel soucre in here but i have no idea how to use it to get to android 4.4pleas helphttp://www.hacktohell.org/2013/07/mediatek-mt6589-complete-source.html#.VH9F9jGG_uQ

    Reply

    Rohan Arya Dec 5, 2014 at11:12 am

    It stuck at boot animation? Are you trying to port LeWa OS, ColorOS or any OEM basedOS?

    Reply

    Tasfaout Yassine Dec 5, 2014 at 4:59pm

    No its Cyanogenmod 11 for micromax a116 wich basically is an mt6589 device and iported it to my Hisense U970 also an mt6589 device with the same spec as micromaxa116 5inch 1.2ghz cup 1gb of ram.

    Reply

    Anonymous Nov 12, 2014 at 11:07 amCYANOGENMOD 11 for android one devices(mt6582) is out and can i port it to mmx a106 unite2(mt6582)?

    Reply

    Rohan Arya Nov 13, 2014 at9:53 am

    Sorry, but as per I know you cant because its (MMX U2) based on Android 4.4.2 whereasthe ROM is based on Android 4.4.4.

    Reply

    Wasif Apr 22,2015 at11:54 am

    I have cubot s308 with 4.2.2 and same Mtk6582 cubot release 4.4.2 rom itsavailbe but when i flashed it it wont boot is it due to kernel issue ?

    how can i fix this

    Reply

    RohanArya

    Apr22,2015at1:27pm

    If the KitKat ROM is officially available or some people booted it thenprobably it didnt work because:1. You didnt choose FIRMWARE UPGRADE and rather usedDOWNLOAD ONLY.2. You have 4 GB model and the ROM is for 8 GB..

    Reply

    Wasif Apr22,2015at1:35pm

    so i cannot come to fix this 4GB to 8 GB rom issue ? to installkitkat on cubot s308 ?

    And doogee released lolipop for mtk6582 can i port this to ourcubot s308 ?

    Rahul Mule Nov 15, 2014 at 8:54 amI want to port rom for unite 2 so suggest me ROM based on mtk6582

    Reply

  • Rohan Arya Nov 18, 2014 at10:05 am

    Kindly search for the devices with MT6582 SoC and rest can be seen from NeedRomwebsite.

    Reply

    Anonymous Nov 20, 2014 at 1:21 pmHi, I have a Star S7189 mt6582 android 4.2 and I saw that others mt6582 phone have android 4.4rom. I wanna know how I can port the 4.4 from other phone to my 4.2 phone, remembering bothhas mt6582 processor and both uses 854480 screen resolution.

    Reply

    Rohan Arya Nov 21, 2014 at9:23 am

    Unfortunately, you cannot do so until you have kernel source. [-(

    Reply

    Anonymous Nov 24, 2014 at7:10 am

    what do you mean about kernel source, i want kitkat on my jellybean based MTK6582 :/

    Reply

    Anonymous Nov 22, 2014 at 3:18 pmHello, i want to understand what your chipset to your chipset means??

    Reply

    Rohan Arya Nov 24, 2014 at4:51 am

    It means your SoC. Like MT6572, Mt6589, MT6582, etc.

    Reply

    Anonymous Nov 27, 2014 at 7:15 amsir I port xperia papyrus ROM(mtk6572) to my mtk6572 device every thing is OK but & I runthe ROM successfully..but the problem is the phone reboot automatically & when I switch WiFion the system auto rebootplease give me a helpful solution waiting for your response..

    Reply

    Shamsul Arefin Sajib Nov 28, 2014 at 8:21 pmSir after porting how to fix invert rotation of display mtk 6582

    Reply

    Rohan Arya Nov 30, 2014 at4:01 am

    Add this line in build.prop (separate line): ro.sf.hwrotation=180.If such line exists and its value is 0, then replace it with 180, or if its value is 180,then make it 0.

    Reply

    Anonymous Dec 3, 2014 at 3:05 amwhat about meta-inf folder did updater script need any modification.

    Reply

    Rohan Arya Dec 3, 2014 at 9:20am

    Yes, you will need to modify. I didnt mention because for newbies, it would be a problem.But most probably if you port from the same chipset and your OEM is not a big one likeSamsung, then you probably dont need to edit META-INF.

    Reply

    Anonymous Dec 5, 2014 at 8:35 amdear sir,

    whenever i try to flash in cwm recovery mode it shows :-

    openig update package .intalling update..installing aborted.no files found..

    please help me sir

    Reply

    Rohan Arya Dec 5, 2014 at11:11 am

    Hi, make sure your archive has these files/folders in the root!System folder.

  • boot.img file.Meta-Inf folder.Probably you have packed the whole folder which has these contents.

    Reply

    gg Dec 6, 2014 at 12:57 amCAN U MAKE TUTORIAL IN VIDEO FORMAT PLZ NEED MORE DETAILS BCOZ I ALREADY TRYMANY TIMES PORT ING ROM BUT STILL FAIL..I FOLLOW ALL STEP BUT STILL NOT WORKINGALWAYS STUCK ON BOOT LOGO

    Reply

    Rohan Arya Dec 9, 2014 at 9:42am

    Yup, Im working on it. Will release it today only.

    Reply

    Anonymous Dec 9, 2014 at 3:37 amI haveca galaxy n9006 mtk6582 that got bricked I have clockworkmod back up of phone . I found afew stock toms and flashed them the phone turned on but the touch was frozen ,only the powerand home button worked and also when I touch the volume up button the volume indicatorappears on the screen but doesnt move up or down. When the phone is booting up u can hear atic then the boot animation appears . please help !! I have been flashing this phone over 3 weeksnow and no success

    Reply

    Rohan Arya Dec 9, 2014 at 9:41am

    Is it a UBIFs based device? ClockWorkMod doesnt work well with UBIFs. Try wiping datawhich helped me in the same situation when I had a UBIFs based device.

    Reply

    Anonymous Dec 9, 2014 at 1:03pm

    Thanks for the reply . but I dont know what u mean by UBIFs based device . I can not bootinto recovery so I dont know anything about the phone . the only method of flashing isthrough sp flash tool that works . I made the cm backup before I bricked the phone . I amwondering if there is a way to make a stock ROM from the cmw back up I made .

    Reply

    Animesh Qwerty Dec 12, 2014 at 12:40 pmi know this sounds lamebut i want to upgrade my lenovo s720(MT6577) to kitkat so i thought to download any rom (eg.slimkat or miui) of i9300 to flash it on my phone but on little searching i found that i9500 romshould be fashed. plsss help

    Reply

    Rohan Arya Dec 13, 2014 at1:01 pm

    Sorry, but you cant do that to upgrade your phone.. [-(

    Reply

    Gambit Wolf Dec 13, 2014 at 4:43 pmSir can u mention some Devices name whose ROM should port in Unite 2 KK

    Reply

    Rohan Arya Dec 15, 2014 at9:26 am

    Coolpad 7295C, Micromax Canvas 2.2 and other MT6582 based device.

    Reply

    Binoy Lukose Dec 17, 2014 at 7:30 pmwhich tool you are using for this,r u using es file explorer

    Reply

    Rohan Arya Dec 19, 2014 at2:54 pm

    For what? This can be done in any explorer. Linux, Android, Windows, any!

    Reply

    Anonymous Dec 23, 2014 at 9:43 amWnt to port android L rom to my xolo q1010i hlp me

    Reply

    Rohan Arya Dec 25, 2014 at10:21 am

  • Hunt a ROM and port! The tutorial is here only.

    Reply

    Anonymous Dec 23, 2014 at 10:51 pmHi, I have a Spanish device (MT6577) running Jelly Bean 4.1.1 and kernel 3.4.0. Would it bepossible to port Cyanogenmod 10.0 to my device? Thanks.

    Reply

    Rohan Arya Dec 25, 2014 at10:10 am

    Yes, why not.

    Reply

    Anonymous Dec 26, 2014 at 2:20 pmHi my device is ICS 4.0.4 MT6577can i port JELLY BEAN 4.1.1?Thanks

    Reply

    Rohan Arya Dec 27, 2014 at6:46 am

    Probably it will not boot, but it depends on luck! :d

    Reply

    Anonymous Dec 28, 2014 at 6:53 ami have xfactor shine 2 X120Q, built mt6589, can i flash with this method?

    Reply

    Anonymous Dec 29, 2014 at 3:55 pmHello Rohan BroI am trying to port MMX Unite 2 roms for Canvas fire 2. I tried it. Everything worked exceptcamera. I tried another method from XDA DEVELOPR site.. did not tried your method. Will thismethod can fix the camera problem if i do it perfectly???

    Reply

    Rohan Arya Dec 31, 2014 at9:07 am

    No idea. Maybe you will need to edit INIT files inside boot.img [ramdisk]. But it depends onthe ROM, so i am not sure. I always prefer to replace the whole boot.img file. Maybe thistutorial will fix your error.

    Reply

    Mark Neil Dec 29, 2014 at 9:06 pmWhat is the code for the power off in the menu which restart when it clicks

    Reply

    Rohan Arya Dec 31, 2014 at9:06 am

    What? Please elaborate.

    Reply

    Anonymous Dec 31, 2014 at 5:28 pmWill this work for porting MT6582 Kitkat rom to another MT6582 Jellybean de...

Recommended

View more >