[4.2.2] MIUI V5 For MT6582 Built from Source

MIUI FOR MT6582

I am not responsible for any damage to your device because of your carelessness.

The Porting Guide shown in this guide to port the ROM to your device is 100% Working and 100% Safe

For All : Micromax, Karbonn, ZTE, Huawei, Dogee, All Samsung Clones, All iPhone Clones and all MTK Devices (MUST PORT FIRST, GUIDE TO PORT BELOW)


Screenshots :


Features :
  • Fully built from stock
  • All MIUI V5 functions
  • Super Buttery Smooth
  • Good RAM management
  • Good Battery Life
  • Theme Support
  • And many more..........
NO BUGS !!!

You must flash Gapps after installing this ROM
Please Do Not update the ROM or you will never be able to boot your device until you flash stock rom again. Even if the phone shows there is update do not update I will inform you about the updates.

Download Link : MIUI V5

To Port :

STEPS TO PORT THIS ROM TO YOUR DEVICE

If you have the Stock ROM(The ROM which originally was made for your device) extract it in a folder called STOCK_ROM. If you do not have the stock ROM do not fear. Connect you device and open MTK droid Tools and Click on ADB TERMINAL and CMD will open. There type "adb devices" without "" after that type "adb pull /system system" without the "" some process will start wait 7-10 mins depends on the size of your system folder after it is completed close mtk droid tools and ADB TERMINAL now open the folder where you extracted MTK Droid Tools there will be a folder called System copy it and paste it in STOC_ROM.

Open both the PORT_ROM folder and STOCK_ROM folder
In Both the files Open system folder
Now Delete the files that i mention below from the PORT_ROM system folder
system/vendor
system/usr
system/lib/modules
system/lib/hw
system/lib/drm
system/lib/soundfx
system/lib/libaudio.primary.default.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/etc/firmware
system/etc/bluetooth
system/etc/security
system/etc/wifi
system/etc/vold.fstab
system/etc/vold.fstab.nand

Now go to STOCK_PORT and copy all the files mentioned above and paste them to the respected folders.
Now open system/etc/permissions on PORT_ROM and STOCK_ROM and copy all the files present in the permissions folder of STOCK_ROM and replace them with the files in permissions folder of PORT_ROM ***DO NOT DELETE THE FILES PRESENT IN PERMISSIONS FOLDER OF PORT_ROM JUST REPLACE THE FILES PRESENT IN PERMISSIONS FOLDER OF STOCK_ROM***

To get the boot.img of your device first go to CWM Recovery Mode and connect your device open MTK Droid Tools wait for your device to be detected. On MTK Droid Tools go to root,backup, recovery tab and press backup wait for about 10-15 minutes for your rom to be backed up after the process is complete open the folder where you extracted MTK Droid Tools go too backups there will be a folder with the name of your device open it and there will be a boot.img file in it copy it to the STOCK_ROM folder and copy the boot.img again and paste it in PORT_ROM


  • Open META-INF/com/google/android
  • Right Click On Updater Script And select Edit With Notpad++
  1. Download Notepad++ : Here

  • Edit it like this

  • Verify /system should be mounted in "/dev/block/mmcblk0pS" & /data should be mounted in "/dev/block/mmcblk0pD"

What is S and D?
S – System Mount Point
D – Data Mount Point
To know these mount point values
- Open MTK Droid Tool after connecting your phone to PC.
- Open Block Maps.
- Check these lines.


Change accordingly these lines in meta-inf/com/google/android/updater-script
format("ext4", "EMMC","/dev/block/mmcblk0p5", "0");
mount("ext4", "EMMC","/dev/block/mmcblk0p5", "/system");
mount("ext4", "EMMC","/dev/block/mmcblk0p7", "/data");

144 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. After that do i Flash or i should also do a Kenel Port !?

    ReplyDelete
    Replies
    1. port it then flash, if the ROM boots up then no need to port kernel. And if the ROM does not boot up then port the kernel

      Delete
  3. I here by Thanking you for your blog...

    I successfully Ported the Rom and its Running with no Errors but 1 with phone been responsive (screen goes Black) when connected with PC while USB Debugging is Enabled

    For other guys who want to port this Rom (well you should coz it HAS NO BUG!!!)
    1: thing when Porting don't consider the last step... you just have to make sure the format line has .... mmcblk0p5 (also for mount system) and for mount data line has mmcblk0p7... AND THIS ARE ONLY MATCHING WITH YOUR BLOCK MAPS.. mine where the same as this 1... so i gess many phone should.. it will be nice if you live this step.

    2: if you will have wrong screen RESOLUTION
    You should change it in BUILD.PROP file... just Edit the line with ro. lcd density (or 1 with "dpi" value)

    3: Change the build.prop file if your phone stills says the wrong info about your (it should coz its a PORT ROM) and make sure YOU SAVE this build.prop file and it can be done with a Proper Explorer with Root Permission.

    3: After downloading this miui v5 Rom you should "download gapps" and Flash along with it... otherwise you have HARD time singning to GOOGLE ACCOUNT ...

    ReplyDelete
    Replies
    1. lol dude you don't even understand my guide and you come here telling people to leave a important step ?
      i have not told people to freaking change the their updater-script line to "mmcblk0p7" i am giving them an example on how it is supposed to be changed, keep your incomplete knowledge with you

      everybody knows that Gapps is to be flashed, nobody ain't dumb like you

      Delete
    2. do this first before you comment :
      1. Read everything
      2. Understand
      3. Comment
      4. Don't tell people to leave an important step

      Delete
    3. i said open block maps
      check system and data mount points
      and then "Change accordingly these lines in meta-inf/com/google/android/updater-script"

      Delete
  4. Ported to la-912t alps lots of reboots

    ReplyDelete
  5. @Ajit Uchiha BOOM! I have successfully ported it to my device. it has no BUGS at all.
    i m loving it... TY.... :)
    Keep up the good work. :-bd

    ReplyDelete
    Replies
    1. awesome, i am glad i was able to help

      Delete
  6. successfully installed but bootloop

    ReplyDelete
  7. hey its working well.but the sound is very low when playing music.in earphone its good but sound of phone speaker is really very low .can u suggest any mode?how can I boost its sound?

    ReplyDelete
    Replies
    1. replace libaudio.primary.default.so from stock to port

      Delete
  8. Sir if u dont mind, can u please make video of this and kindly upload on youtube? Anytime sir, if u have free time, we're willing to wait sir^^ anytime :) thankyou for this tutorial sir, Godbless!

    ReplyDelete
    Replies
    1. just what i was thinking. i will soon

      Delete
  9. i already did moved libaudio.primary.default.so from stock to port as u above mentioned but still sound is low i guess itz low only in music player but in other apps is ok can u suggest something?pleaz ...

    ReplyDelete
    Replies
    1. you need to use mobile uncle tools to edit sound lelvels

      Delete
  10. u r awsome man!! can u help me a little bit see am having a stock rom 4.2.2 after that no update for my phone is released can i flash my phone to any original lolipop os? i dont how to do it coz am only having my stockrom with me which is 4.2.2 .can u suggest me a little more help pleazz!!

    ReplyDelete
  11. so it means i can never have any lolipop custom rom also.? cant i port a lolipop rom of same mediateck device as of mine.?

    ReplyDelete
    Replies
    1. no that is not possible.
      if that was possible millions or even billions of MTK devices would now be running lollipop and kitkat

      Delete
  12. hmn okk am glad u helped me out thank u so much .Much obliged!!

    ReplyDelete
  13. sir i am having a problem in this rom , whenever i open galley it keep showing below not enough memory.wht is d problem and pleaz give a fix to it!!

    ReplyDelete
    Replies
    1. go to settings, backup and restore restore your device you will be back in this MIUI ROM only and the memory issue will be gone

      Delete
  14. i meant when i open gallery sorry for spelling mistakes

    ReplyDelete
  15. ok it didnt worked but i fixed it by deleting all the .thumbnail folder in every folder of my sd card that was having pictures.now tell me how to make mx player as default players for playing video coz it does not ask which player to play it only uses the stock player.i tried freezing the stock player via linktosd it work only when i play videos opening sd card when i play a video in the gallery it says video cant b playedplayed for tha i have to unfreeze everytime i wann play video in gallery .help pleaz!!

    ReplyDelete
    Replies
    1. that is your own personal choice so i cant help

      Delete
  16. Dear Ajit Uchiha,
    I have one issue in this Rom.it's showing wrong RAM info in Task Manager. How to resolve this issue??

    ReplyDelete
    Replies
    1. that is not a bug, the ROM was built that way

      Delete
  17. sir pleaz also reply to my post!!

    ReplyDelete
  18. i forget to install gapps phone stuck at boot logo

    ReplyDelete
  19. Hey Ajit..
    Miui Music app doesn't have wave Animation...
    Is there a way to Enable it !?

    ReplyDelete
    Replies
    1. mess around with some settings you might find it

      Delete
  20. Hi! Thank you for the ROM, it works great. But obe problem, the camera has green screen. Autofocus is working, flashlight to. But how can I fix this problem?
    P.S. Porting of kernel was helpless.

    ReplyDelete
    Replies
    1. replace libcameracustom.so from stock to port

      Delete
    2. I`ve tried, but it`s not working... Only one thing that helped me is porting Miui from Lenovo A850 to my Lenovo a678t. But this one is quite faster and smoother.

      Delete
  21. Thanks!!
    I successfully ported this rom to my device with only a bug, the lollipop style keyboard give an error when the phone turn on but i can solve this issue by ending the keyboard process by the app manager in the settings.
    =D

    ReplyDelete
  22. i have intex aqua i5 HD mtk6582 with android 4.2.2..how to install miui v5 on my phone as i am new to all this..

    ReplyDelete
    Replies
    1. i already have a guide on how to port this to your device please read everything before you comment. commenting without reading and understanding makes a person look dumb

      Delete
  23. Dear Sir,
    I have read everything & fallow all the step very carefully after that I have install from CWM but it's showing installation aborted...request to you pls pls pls help.....:(

    ReplyDelete
  24. Hello sir , i have try again & it installed successfully ported Thank you So much ....

    nice |o| |o|

    ReplyDelete
  25. sir pls one more help I need CyanogenMod For My device Intex aqua i5 HD JB 4.2.2please give any suggestions ..

    ReplyDelete
  26. Hello, after that i've ported this rom to my device my friend ask me to port this rom to his phone but when the rom start the buttons of the device doesn't work and i'm not able to do nothing.
    Can you help me please?

    ReplyDelete
  27. How can I fix the resolution, since it's too low and everything is too big to fit the screen. And also the Android L keyboard keeps on crashing.

    ReplyDelete
  28. Bro please help me. I installed the ROM correctly. But I can't get 3g on my second Sim. Pls what do I do

    ReplyDelete
  29. my buttons dont work.can you help me pls?

    ReplyDelete
    Replies
    1. replace Generic.kl from stock to port

      Delete
    2. what buttons are not working ?

      Delete
    3. you ported the kernel ?
      and you replaced all the files in /etc/permission from stock to port ?

      Delete
    4. kernel no but i replace permission.

      Delete
  30. Hi, help me please. I have ported rom, it works, but after 4-5 minutes the tablet reboots randomly. Why?

    ReplyDelete
  31. I ported first the rom for my Archos 50b Oxygen and flashed, but it stucks at logo. So I also ported kernel, unfortunately with the same result. Can you help me?

    ReplyDelete
    Replies
    1. did you change the mount points ?

      Delete
    2. i just researched a bit and the kernel base your device uses is different from this ROM, so it will mt work

      Delete
  32. Replies
    1. that is due to corrupted zip or the updater-script is corrupted.

      Delete
  33. is this compatible in tablet too?!

    ReplyDelete
  34. Hi,is there any flashable type of this rom..thanks..great work by the way

    ReplyDelete
  35. I iinstallitsuccess fully but for me(micromax a96) camera and flash light not working

    ReplyDelete
    Replies
    1. replace from stock to port :
      libcameracustom.so
      libfeatureio.so
      libjpeg.so
      libdpframework.so

      camera not working or force close or any other problem
      copy all libs starting with /libcam*.so

      Delete
    2. camera is working well front camera also working well but when i am changing to video mode its stops and it shows camera mega pixel 3mp but my phone mp is 5mp and i tried many camera apps but it doesnt show video option to record

      Delete
    3. camera is working with flash well but video recording is not working when i am opening it it force closed so plz help me and release more roms i want to try different look for 4.2.2

      Delete
  36. I dont have the folder "system/lib/modules" in my stock rom.What should i do?

    ReplyDelete
    Replies
    1. skip it, but all jelly bean devices have modules folder. Are you sure you are not using kitkat ?

      Delete
    2. Sorry dude,you've got point...im on kitkat,my bad :).Thank you for the fast response.

      Delete
  37. Replies
    1. download link is in the post, you can't find it your problem. never ever comment with all capital letters in my post.

      Delete
  38. I don't unterstand this because i bad at english.
    "copy all the files present in the permissions folder of STOCK_ROM and replace them with the files in permissions folder of PORT_ROM ***DO NOT DELETE THE FILES PRESENT IN PERMISSIONS FOLDER OF PORT_ROM JUST REPLACE THE FILES PRESENT IN PERMISSIONS FOLDER OF STOCK_ROM***"

    You mean Copy from stock to port
    Or from port to stock?

    ReplyDelete
    Replies
    1. haha, you happened to comment at the right time just came back from school
      please consider clicking on ads

      Delete
    2. This comment has been removed by the author.

      Delete
    3. And in the last step
      should i change the "mmcblk0p5" from "5" to "S" or only make sure it is "5"

      Delete
    4. mount points are never alphabets. You need to change them ount points according to your mount point. Everything is cleared in the post

      Delete
    5. Ok i'm sorry about that
      But after i flash this rom (ported)
      It stuck at logo
      What should i do

      Delete
    6. Is this what are you saying about?

      http://www.mtkroms.com/2015/02/unpackrepack-bootimg-and-port-kernel.html?m=1

      If that is ,i will try tomorrow(in my country)
      and Thanks for all reply

      Delete
  39. Successful ported kernel
    but it still stuck at logo

    ReplyDelete
  40. I am not able to download the ROM. When clicking on download link it transfer the site to mega.com. plz do it correct and give me another link for downloading.

    ReplyDelete
  41. Thanks mate! After trying to port every one of the Kitkat roms, i decided to try this one, and it finally worked (the phone and MTK Droid tools reported the android version is 4.4.2)! After three days, I have a working phone again. But I'm having some display glitches, usually when playing videos. Its not that big of a problem, but can you tell me if there are some other files i have to copy to remove this bug, ( I imagine it has something to do with the "display drivers").

    ReplyDelete
    Replies
    1. replace libegl.so if it still persists then replace libmali.so

      Delete
    2. Thanks for the quick reply, I'll try it...

      Delete
  42. Can i port it to my tecno h7 4.2.2?

    ReplyDelete
  43. my phone get soft bricked grand 2 clone mt6582 4.4.2 android how can i bring phone to live can you help me please

    ReplyDelete
  44. hello there, i have bricked clone xiaomi note 4g dual sim, it's using mt6582. can i just instal this rom without port it before, because i don't have the stock rom after the phone got bricked. thanks

    ReplyDelete
    Replies
    1. no you cannot, you need to find your stock firmware and flash using SP flashtool

      Delete
  45. I have ported it to my techno h7.
    the ROM looks great no bugs.
    best ROM for jellybean devices.
    thank you so much!

    ReplyDelete
  46. Hello Friend:
    Excuse my English , but I am using a translator.
    I mention that achieves carry this rom on my device , the only problem is that I get head all, any solution?
    I await your response and anything where I get the gapps ?

    ReplyDelete
    Replies
    1. in tutorials section of this website there is a guide to fix upside down screen follow that

      Delete
  47. from where do i get gapps for miui i tried some gaps bt it stil showing playstore connection errror
    thanks in advance :)
    help me out any one

    ReplyDelete
  48. Hardware
    Prozessor (CPU) Cortex A7 Quad Core, 1.3 GHz Speicherkapazität 16 GB* Grafikprozessor (GPU) Mali-400 MP Display-Typ IPS 5-Punkt-Multitouch kapazitives Display Display-Größe 25.7 cm (10.1") Bildschirmauflösung 1280 x 800 Pixel Kamera Rückseite: 5.0 MP (Autofokus), Vorderseite: 2.0 MP Schnittstellen 3G (Micro-SIM), Kamera, Kartenleser, Mikrofon, Stereo Audio out, WLAN, 1 x Micro-USB 2.0, Bluetooth® 4.0, Miracast™ Kartenleser (unterstützte Kartenformate) microSD, microSDH prosesseor mt8382v borad id is p6171-04 i want firmware with flash tools help me please

    ReplyDelete
    Replies
    1. so what i can do please help me sir my tablet is in complete dead position

      Delete
    2. you must find your stock rom backup and restore it. And no i don't know where to find it niether do I have it

      Delete
  49. hi sir
    i have huawei g730-u10 running 4.2.2 jelly bean
    i have ported completely the rom, but after installing rom my phone hangs in "starting apps." state,
    please help me sir
    thank u so muchhhh

    ReplyDelete
  50. Replies
    1. replace storage_list.xml from stock to port framework-res.apk it is upto you how you do it, don't ask me

      Delete
    2. thanks sir, i did it , replacing the storge_list.xml in framework-res.apk/xml/storage_list.xml, from the stock to port

      but the problem remained yet
      should i do above solution just for framework-res.apk? because there is framework-miui-res too!! what about this file?

      Delete
    3. did you reflash the whole ROM after making the change ?
      Also if there is storage_list.xml in the second framework then replace there also

      Delete
    4. yeah sure, i had changed the framework-res.apk in rom source zipfile, then reflashed rom again
      sir there is no storage_list.xml in framework-res-miui.apk

      Delete
    5. did you replace vold.fstab and vold.fstab.nand ? also if there is sdcard and pq file replace them also. If still doesn't work then your device has emulated storage and this ROM does not support it

      Delete
    6. yeah i replaced vold.fstab and vold.fstab.nand and your guide completely...

      i found and replaced sdcard and pq file form stock to port now, im testing now

      Delete
    7. sir how many minuets (after installing rom) is needed to boot the phone up ? 5 minuet is enough?
      thanks, for your support

      Delete
    8. sir it doesn't work for me, you're right ,the phone should has emulated storage...thanks


      sir can you offer me a ROM for my huawei g730-u10 mtk6582?
      except Aosp rom!
      I'm waiting for your offer, thanks dear

      Delete
  51. can u help us port a kernel kk source for specific device...karbonn titanium s5 plus...we're still stuck on jb

    ReplyDelete
  52. but in the end what should we do

    ReplyDelete
  53. Nice Rom thank you,but screen resolution is not good and I can't signup in Xiomi account, Plz help if there is any solution.

    ReplyDelete
    Replies
    1. change density of ROM in build.prop according to stock

      Delete
  54. tex works but u forget lastly to mention edit prop for dencity...i forget too cuz u didnt mentioned...aver all good rom...o and u should also fix the thame launcher and l keybord they are not responding...my model is coolpad 8670 1G Ram 5.5 inch...tex man long life...

    ReplyDelete
  55. Hello,

    I ported succesful to my Samsung Replica everything seems to work except all my Buttons ! (No Power Button, Volume +- , Home, Back and Menu Button)
    I try with port kernel and without but both methods didn't work. I copied system/usr from stock to port and also premission folder! What can I do? How to fix and make my buttons work!?

    ReplyDelete
    Replies
    1. use usr folder of port only and try

      Delete
    2. Yes thanks it works! Just another question do you know how to fix notification issue? My Whatsapp do not recive notification when Phone is in standby (locked). Just when I open Whatsapp I recive my messages. I have already set Keep WiFI on during sleep to ALWAYS. But ssems not to work.

      Delete
    3. check the notification settings and allow what's app to show notification, there's a setting for it

      Delete
    4. Yes I have allowed notification and I recive notifications but if I go in locked (standby) state after 5-10 minutes WhatsApp notifications for messages and Calls do not showed up ansymore till I wake (unlock) phone again than all notifications showed up! The issue occurs If I kill whatsApp from task manager and lock phone. I tought mybe it is a WiFi Issue on Standyby but dont know how ti fix..

      Delete
  56. i found no meta-inf in my stock rom.
    model micromax A96

    how could i get it

    ReplyDelete
    Replies
    1. www.mtkroms.com > Tutorials > Make flashable stock ROM, you can download universal META-INF from there

      Delete

Powered by Blogger.