[4.2.2] MIUI 4.7.23 For MT6572

Custom Rom For MT6572

THIS ROM IS BUILT FROM SOURCE. BE HAPPY HAPPY AND HAPPY


I ALSO HAVE A PURE LOLLIPOP UI ROM FOR MT6572 : HERE

I Also Have The Lightest and Fastest Pure Lollipop UI ROM FOR MT6572*Only 126MB*: Here

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

Bugs: Calling might not work in some devices, Replace dialer.apk from stock to port to fix it

I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE BECAUSE OF YOUR CARELESSNESS.


The Porting Tutorial Shown In This guide is 100% Safe And Works Like A Charm


PORT THIS BEFORE FLASHING TO YOUR DEVICE


Download : MIUI V4.7.23


SCREENSHOTS :


ROM FEATURES :
-PURE MIUI 
-BUILT FROM SOURCE
-ALL MIUI FUNCTIONS
-SUPER SMOOTH
-GOOD RAM MANAGEMENT
-THEME SUPPPORT
-BEST MULTITASKING
-GOOD BATTERY LIFE
-Dual SIM Support
-3G/2G Works On Both SIM's
-AND MANY MORE.....................


THERE ARE 2 METHODS TO PORT THIS TO YOUR DEVICE :

MRTHOD 1 (RECOMMENDED)  :

Requirements:
  • Notepad++
  • 7zip
  • Stock ROM (Original Firmware of your device or the rom your mobile is currently running) (If you don't have then gooogle search and download or use the steps to extract stock rom in METHOD 2 )
  • Port Rom (MIUI ROM you want to port to your device) 
  • Android kitchen (Optional)

Copy/replace the necessary files from Stock rom to 

port ROM
  • boot.img
  • folder bin , data (inside folder system\ )
  • folder egl , hw , modules , and libaudio.primary.default.so (inside folder system/lib)
  • folder firmware (inside folder etc\ )
  • boot_logo (inside folder system\media\images)
  • Generic.kl (inside folder system\usr\keylayout)

Change necessary lines from updater-script


  • 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 updater-script
format("ext4", "EMMC","/dev/block/mmcblk0p5", "0");
mount("ext4", "EMMC","/dev/block/mmcblk0p5", "/system");
mount("ext4", "EMMC","/dev/block/mmcblk0p7", "/data");

Flashable ROM Making .

If the ROM finish Port . Now how to make this ROM Flashable , Select ALL The Files as shown below right click on it and if you have 7-Zip then click on 7-zip and select Add to "MIUI ROM.zip"
If you do not have 7-zip then select ALL files and right click select send to and select compressed zipped folder

METHOD 2 :

USE ONLY IF FIRST METHOD DOES NOT WORK

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

Credits :
1. Roman At-Tubani
2. Dilov
3. gan Wong Jowo

IF YOU HAVE ANY PROBLEMS PLEASE COMMENT 

117 comments:

  1. Did you use it on your mobile? As far I know there in an error with phone. It stuck during call receive and send. Not possible to make any call. Its showing activity not responding.
    So please make sure the rom is full ok before post on your blog.

    Thanks.

    ReplyDelete
    Replies
    1. yes i have used it. i already mentioned about the bug read carefully before commenting.
      Oh wow you are so great man make a rom and show it to me.
      People release many roms with bugs understand you don't even know the hard work that goes into it. There is something called a beta release. Nothing is perfect get that ?

      there are thousands of roms with bugs even original CM roms have bugs they still post

      Delete
    2. Where to find the dialer.apk from my stock rom?

      Delete
  2. I dont understand this part "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 "

    Where do I copy the files of stock_rom ?
    Why would I replace the stock_rom files if Im making a new rom folder ?

    ReplyDelete
    Replies
    1. are you new to english buddy ?

      just copy all the files in /etc/permissions of stock rom and paste them in /etc/permissions of port rom replacing the files in port rom /etc/permissions but don't delete the extra files that may be present in port rom /etc/permissions

      Delete
    2. Wow, that was fast. I'm not new, but if it was so easy to understand in the first place, you shouldn't have had the need to say "***DO NOT DELETE THE FILES PRESENT IN PERMISSIONS FOLDER OF PORT_ROM JUST REPLACE THE FILES PRESENT IN PERMISSIONS FOLDER OF STOCK_ROM***"

      But I did that (stock > new_rom) using common sense.

      And thanks for this tutorial, is the "best" I've found at the moment.

      Delete
    3. you know there are some people who delte all files in the port rom /etc/permission and then copy files from the stock /etc/permissions and then paste them in port rom /etc/permissions. and then they keep reporting bugs

      Delete
  3. Hi again.

    I've done the method 2 + method 1 (cause the merging in 2 isnt the same as the 1) but I get a bricked phone at the end.

    It may sound a stupid question, but, how are you suppose to install the "MIUI_ROM.zip" ? Cause I installed it using CWM but not very sure if that was the right method to do it.

    ReplyDelete
    Replies
    1. you need to port and then flash using CWM i did not face such a problem as your nor did anyone else who has tried this rom

      Delete
  4. Well, this just doesn't work with my phone, meanings that there arent shortcuts in these kind of things.

    ReplyDelete
    Replies
    1. it will will work as long as your are running MT6572
      you are missing something while porting ?
      do you have team viewer ? i will port the ROM for you by remotely controlling your PC

      Delete
    2. It's an strange version of mt6572 that runs at 1ghz instead of 1.3 like it's supposed to be.
      I'm going to follow another guide, that says the permisions is from port to new instead from base: http://i45.tinypic.com/2mye13.png

      It would be nice the teamview but I want to learn too,

      Delete
  5. of course no problem

    haha if i use team viewer you can see what i will be doing so you will also be able to learn

    ReplyDelete
    Replies
    1. It appears that the real problem is that my phone is a 6577 but reported fakedly as 6572. =/

      And thats the reason of my ports not working (I've done several tutorials, some with little differencies, but mostly the same).

      I want to say thanks again for your rapid responses.

      Delete
    2. i told you.
      no problem it is my responsibility to help everybody

      Delete
    3. At the end it worked. I couldn't put to work the Dolby Version and other MIUIs for 6572/6577 but this one. It may seems that the updater script is missing 2 permissions:

      set_perm(0, 0, 06755, "/system/xbin/invoke-as");
      set_perm(0, 0, 0755, "/system/lib/liblbesec.so");

      But I haven't tested without them (I dont have that kind of free time).

      The MIUI is just lovely, but I still feel it kinda heavy for 512mb ram. I'm testing now the Project Xperia, but I may probably upgrade to your 4.3 (when you re-upload it).

      Good luck with the mess of the earthquake.

      Delete
    4. those permissions in updater-script are symlinked with other permissions, that is why they are not in the updater script.

      Yes i know but it works good, no lag in it though i tested it for 2 weeks if you seem to get lags please flash the Performance tweak that can be found in the tweaks section in this blog

      haha we are safe though no damage at all except for my leg can't walk

      Delete
  6. hi man. I ported and install the Rom. Everything is working fine, expect there is no sound while incoming and outgoing calls. Can you help fixing this.

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

      Delete
    2. I have already done that. The problem is when i call someone i cant hear any voice nor the receiver can hear. any fix for this.

      Delete
  7. i already mention in the post that calling does not work, please read everything before commenting

    ReplyDelete
  8. Replies
    1. if there was, i would have fixed it myself

      Delete
  9. HELP
    format("ext4", "EMMC", "/data", "0");
    format("ext4", "EMMC", "/system", "0");
    mount("ext4", "EMMC", "/dev/block/mmcblk0p6", "/cust");

    mount("ext4", "EMMC", "/dev/block/mmcblk0p4", "/system");
    mount("ext4", "EMMC", "/dev/block/mmcblk0p6", "/data");


    and this what i get from my phone
    android ..... ..... ..... ext4 mmcblk0p4 /system
    usrdata ..... ..... ..... ext4 mmcblk0p6 /usrdata


    wich one should I edit in note++?

    ReplyDelete
  10. oh then I don't need to change anything on that updater script right?

    ReplyDelete
    Replies
    1. you have to change the mount points in updater-script dude, read the guide it clearly says
      "Open META-INF/com/google/android
      Right Click On Updater-Script And select Edit With Notpad++
      Edit it like this "

      Delete
  11. my phone bricks, which steps that might be wrong..?

    ReplyDelete
    Replies
    1. you will probably be stuck in a bootloop if you do not follow the steps

      Delete
  12. I'm stuck at loading logo! Why? :(

    ReplyDelete
    Replies
    1. what do you mean my loading logo ?

      Delete
    2. After Loading is a blank (black) screen, and my phone stuck here!

      Delete
    3. I'm using Philips mobile, when restart my phone, after PHILIPS logo is a black screen! (My English isn't perfect, hope u understand it!)

      Delete
    4. you have not ported the ROM correctly

      Delete
    5. I'm realy do same what the topic tut! @@
      I have no idea what wrong!

      Delete
    6. there are 2 methods which one did you follow ? is this you https://www.facebook.com/huu.phuoc.5623 if yes then message me on facebook

      Delete
    7. All of them, 2 methods! I'm not Huu Phuoc!

      Delete
    8. are you using 4.2.2 MT6572 ?

      Delete
    9. try my new porting guide, it is in this site only in the porting guide section

      Delete
  13. hey man can't find dialer.apk in my stock rom. any help?

    ReplyDelete
    Replies
    1. I did that but whenever i make a call the phone app crash and close itself. do i have to replace any other things.

      Delete
    2. can you not wait ? i have a social and school life too, cannot wake up all night. try to download a dialer app from play store and use it

      Delete
  14. Hello,
    I face some issue related to download link, it shows page 404 error message... can you please confirm about it or resend the download link for same.

    Download : MIUI V4.7.23 (http://adf.ly/14o70W)

    ReplyDelete
  15. It stucks in a boot loop, looking at logcat it continues to blame me on "unknown permission"
    Do you have any tip?

    ReplyDelete
    Replies
    1. I've ported it following the two methods that you described and the result it's the bootloop

      Delete
    2. a successful port will never result in a bootloop you are doing something wrong

      Delete
  16. Hi Friend, just wanted to let you know that I succesfully ported the rom, I needed to port with kitchen then following your directions I've made all the replacements and then I used the kitchen to create a flashable zip and it worked, I think that the problem was with the zip file!
    Anyway, about calling, do you have any news? I think that the problem it's with lib files like for the libaudio.primary.default.so file...

    ReplyDelete
    Replies
    1. libaudio.primary.default.so is a audio file

      Delete
  17. I did not find the script

    format ("ext4", "EMMC", "/ dev / block / mmcblk0p5", "0");


    I just found this script as I've adjusted to the "mount" on my android perngkat as below.

    format ("ext4", "EMMC", "/ data", "0");
    format ("ext4", "EMMC", "/ system", "0");
    mount ("ext4", "EMMC", "/ dev / block / mmcblk0p6", "/ cust");
    delete_recursive ("/ cust / hw");
    mount ("ext4", "EMMC", "/ dev / block / mmcblk0p4", "/ system");
    mount ("ext4", "EMMC", "/ dev / block / mmcblk0p6", "/ data");


    but when I install it, I had stuck on the android logo, botlop. if I have to change to be like that in demonstrated by adding script '' 'format ("ext4", "EMMC", "/ dev / block / mmcblk0p5", "0"); "" "So that it becomes" "..

    format ("ext4", "EMMC", "/ data", "0");
    format ("ext4", "EMMC", "/ system", "0");
    mount ("ext4", "EMMC", "/ dev / block / mmcblk0p6", "/ cust");
    delete_recursive ("/ cust / hw");
    format ("ext4", "EMMC", "/ dev / block / mmcblk0p5", "0");
    mount ("ext4", "EMMC", "/ dev / block / mmcblk0p4", "/ system");
    mount ("ext4", "EMMC", "/ dev / block / mmcblk0p6", "/ data");


    please help

    ReplyDelete
  18. why is that evry install custom rom works success but the problem is no sound at all coming out to the speaker when flashing bak to stock rom the sounds work..any suggestion sir?

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

      Delete
  19. Hi! Please help me! I have problems with my mtk6572... Recently I tried to install Twrp on my phone but now I Can't open the phone... What can I do to unbrick my phone? Sorry for my bad English...

    ReplyDelete
    Replies
    1. How can I do that? Could you send me a link with tutorial? I really appreciate!

      Delete
    2. do you have a backup of your ROM ?

      Delete
    3. I tried to install another custom rom with cwm but it doesn't work...

      Delete
    4. you need to port a ROM and then flash

      Delete
  20. i can't succeed to port any custom rom on my wiko fizz mt6572 device even i follow all steps. help plz

    ReplyDelete
  21. plz i search for many custom roms but i really like this and the os color rom but no one work for me. plz help me. this is my fb account add me if you can help me
    https://www.facebook.com/zouhair.khorchani.1990

    ReplyDelete
  22. is their any solution to port this rom to ubifs?

    ReplyDelete
  23. all is fine..but camera not working?
    how to fix? plz.. ;((

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

      Delete
  24. i already replace from stock to port,
    but still not working..

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

      Delete
  25. in miui Rom patteren lock not working ? when i set patteren lock n unlock that phone reboot ? why its happen sir

    ReplyDelete
  26. Sir so How to slove that pattern lock bug ? tell me plzz

    ReplyDelete
    Replies
    1. try to use 3rd party app from play store

      Delete
  27. not working third party app ? also any locker ? do u know how to slove that bug ??

    ReplyDelete
  28. Hey bro after flashing this rom i cant see my storage both internal an external and it also doednt shoe when i enter settingd/storage..

    ReplyDelete
    Replies
    1. you need to replace vold.fstab and vold.fstab.nand from stock to port

      Delete
  29. installation aborted ( status 6 ) ... P.S i did change the mount points in updater script

    ReplyDelete
    Replies
    1. you either messed up the updater-script or messed up the ROM zip

      Delete
  30. No dude......not work
    can u send me link plz

    ReplyDelete
    Replies
    1. i just checked it -.- it is working
      try to add https before the link, if doesn't work for you then I cannot do anything

      Delete
  31. I'm not understand with editing updater-script. Edit updater-script in stockrom or port rom? #help please

    #sorry for bad english# :)

    ReplyDelete
    Replies
    1. Sorry Im ask again, in method 2 delete files with folders or delete files only?
      Because in my stockrom system/vendor/"no have bin folder" | but in port rom have a bin folder.
      System/vendor/lib/"no have egl and hw folder"
      In port rom have egl and hw folder.
      What must I do? Delete files and folder bin, egl, hw in port rom or don't delete anything in folder bin, egl and hw?

      Sorry I can't English :3

      Delete
    2. do not ask this question again, everything is completely explained in the post. All you need to do is replace mount points according to the given partition -.-

      Delete
    3. Okay. I'm sorry _/|\_
      And I don't know with this step
      -----------------------------
      Verify /system should be mounted in "/dev/block/mmcblk0pS" & /data should be mounted in
      "/dev/block/mmcblk0pD"
      ---------------------------------
      Where lines I must edit it?
      This lines?

      format("ext4", "EMMC", "/data", "0");
      format("ext4", "EMMC", "/system", "0");
      mount("ext4", "EMMC", "/dev/block/mmcblk0p6", "/cust");
      delete_recursive("/cust/hw");
      -------------------------
      Or somewhere places

      Please help me, I really want feels this cusrom :D

      Delete
  32. #sorry ask again and again
    In this step
    ###
    Open META-INF/com/google/android
    Right Click On Updater Script And select Edit With Notpad++
    Download Notepad++ : Here


    Edit it like this
    Verify /system should be mounted in "/dev/block/mmcblk0pS" & /data should be mounted in
    "/dev/block/mmcblk0pD"

    Where must I place it? And where lines I must edit it.

    RIP ENGLISH | forgive me :)

    ReplyDelete
  33. Hello, I have a problem with porting your ROM.. i have completed all of the steps (part 1 and 2) and it is still stuck on the MI logo... my phone is Acer Liquid Z4/Z160... Thanks for help, you have sure done a lot of work here :)

    ReplyDelete
    Replies
    1. Hello it is mtk6572..android is 4.2 think...in settings it shows 6.0 because i have a custom ROM which overwrites the info ...i am sure i am not on marshmallow :D

      Delete
    2. did you port according to the guide

      Delete
    3. Hello, thx for response. I am not sure,is kernel porting included in this guide? My kernel version is 3.4.5 . In the porting guide,it doesnt say anything about kernel so i dont know if i did port it :D Thanks again man ;)

      Delete
    4. there is a guide in this site for porting kernel follow that

      Delete
    5. Hello, i tried porting kernel as you advised, but it still doesnt work :( Do you have any other advice?

      Thx :)

      Delete
    6. the only conclusion I can think of is that, this ROM does not support your device

      Delete
  34. Replies
    1. replace /etc/firmware,bluetooth,security,wifi

      Delete
  35. Hello,
    I got a new 10.1 inch, version 4.4.2, MT6582 tablet from Taiwan. The dialer does not work - with error "Mobile network not available" How can I fix it?

    Thanks

    ReplyDelete
    Replies
    1. It must unpack repack boot.img or not?

      Thanks

      Delete
  36. Help.

    Your tutorial for (Change Necessary Lines from updater-script) is for EMMC Storage.

    Mine is NAND Storage and UBIFS Files.
    ----------------------------------------------------------

    Your tutorials Blocks Map:

    format("ext4", "EMMC", "/dev/block/mmcblk0p4", "0");
    mount("ext4", "EMMC", "/dev/block/mmcblk0p4", "/system");
    mount("ext4", "EMMC", "/dev/block/mmcblk0p6", "/data");

    My Blocks Map

    /dev/block/mtdblock14 /System
    /dev/block/mtdblock16 /Data
    -------------------------------------------------------

    This is what I'm trying to do:

    format("ubifs", "NAND", "/dev/block/mtdblock14", "0");
    mount("ubifs", "NAND", "/dev/block/mtdblock14", "/system");
    mount("ubifs", "NAND, "/dev/block/mtdblock16", "/data");

    Is this a correct?

    Thank You.

    ReplyDelete
    Replies
    1. EXT4 ROMs do not work on UBIFS devices, your attempt is futile

      Delete
  37. Solved, Download and Flash MIUI Moderm patch..Search google. If it persists, then you will have to Report including the patch..

    ReplyDelete

Powered by Blogger.