[Guide] How to make Custom Recovery Flashable Stock ROM

Make Stock ROM

Hello guys, many of you have problems finding stock ROMs online so I decided to make a guide on how you can make your own stock ROM.

Update : A step by step full HD video guide can be found 
https://www.youtube.com/watch?v=dSCseBYVc3Y&feature=share
Please subscribe to my channel and press the thumbs up button

Things You Need :
MTK Droid Tools
SP Flash Tool backup made by MTK Droid Tools - Guide Here
META-INF - Download

Only for personal use
you shall not share this or modify this guide


How To :

1. First make a SP Flash tool backup, link on how to is above
2. Make a new folder anywhere called Stock_ROM
3. Open MTK Droid tools
4. Connect your device
5. In MTK Droid tools press the ROOT button if it is there
6. Click on ADB Terminal in MTK Droid Tools
7. A Command Prompt will appear
8. Type each line one by one :
     adb root
     adb remount
     adb pull /system system
9. Now wait for it to complete
10. You should get a new folder named system inside MTK Droid tools folder
11. Copy it and paste it inside the Stock_ROM folder we created earlier
12. Now open the folder where your SP Flash Tool Backup is stored
13. Copy boot.img from the SP Flash tool backup folder
14. Paste it in the Stock_ROM folder
15. Download the META-INF folder link is given in Things you need
16. Extract the META-INF.zip you will get a folder name META-INF again
17. Paste it in Stock_ROM folder
18. Open Stock_ROM/META-INF/com/google/android/updater script with NotePad++ only
19. In MTK Droid Tools select Blocks Map
20. A new window will appear
21. Find the things that I have highlighted



22. Open updater-script and change the mount points accordingly (change the numbers accordingly) 
NOTE : Only change the numbers nothing else

eg. 

  

23. Now after making changes save it
24. Now zip it and your stock ROM is now ready to flash whenever
Make Stock ROM

84 comments:

  1. thanks you so much you help me so much,can i flash it using cmw or sp flash tool only ?

    ReplyDelete
  2. my stock rom resident in my phone is rooted, do i have to press root, adb root etc?

    ReplyDelete
    Replies
    1. dude, will the world end if you type an extra line or press an extra button ? too lazy ?

      Delete
  3. I asked because i didn't want to ruin my phone, dude!

    ReplyDelete
    Replies
    1. how do you suppose providing root access to MTK droid tools so that it can copy your /system folder ruin your phone ? you provide root access to apps on your device it is the same for MTK droid tools

      Delete
  4. how to make cwm backup to internal storage is it possible ?

    ReplyDelete
    Replies
    1. go to CWM and then go to backup and restore then select backup to internal sd card it will backup your device to internal storage

      Delete
  5. there is only backup,restore,restore backup. my sd card only 2gb when backup it stops while backing up data

    ReplyDelete
    Replies
    1. i use a 1 GB SD card to backup my ROM and it works use the CWM made my MTK droid tools

      Delete
  6. mine require 3.5gb,any way to backup to usb flash or backup without data (only system)

    ReplyDelete
    Replies
    1. 3.5 GB ? you kidding me ? it must be 350 mb or 305mb

      Delete
  7. im serious i backed it up on my friend's sd card it takes 3.5gb its 4.4.2 and stock htc (not sense) the larger one is data file i need a way to back up without data

    ReplyDelete
    Replies
    1. you must be having a freaking lot of songs and pictures in your device, if you have the stock ROM made by this Guide you are good, you dont need to make a backup

      Delete
  8. yes you are right i deleted most of them and i could make a backup thanks..

    ReplyDelete
  9. now if i flash one of your roms i can safely restore this backup and back my phone as before flashing a rom ?

    ReplyDelete
    Replies
    1. yup, but port the custom rom before flashing

      Delete
  10. Hello ajit could create a video about this guide please I need bro I speak Spanish but would be better you to do a video to better understand please

    ReplyDelete
    Replies
    1. nice idea thank you. i will start right away

      Delete
    2. Ok Great friend and that video on youtube no explaining this guide and you can accept the friend request on facebook my username is Marcell Rojas

      Delete
    3. I admire very much I like what you do want to be like your friend :)

      Delete
    4. Ok now watch the video and is well appreciated but costs because it has zoom will change the digits or letters too ?

      Delete
    5. i do not understand what you are saying and actually this is not a post to talk about it.
      you can email me : ajit4guraya@gmail.com

      Delete
  11. Hello please ajit could make a tutorial video on how to install MTK droid and then make a backup

    ReplyDelete
    Replies
    1. what do you mean by install MTK droid ? i already made a video guide on how to make a flashable Stock ROM

      Delete
    2. You can make a video tutorial explaining the first step I can not make a backup helps to make the rom

      Delete
  12. Hi Ajit apology and did everything step by step and I have my file system and file boot.img but I have a problem my not change mount points can help me please send an email review

    ReplyDelete
  13. Hi Ajit apology and did everything step by step and I have my file system and file boot.img but I have a problem my not change mount points can help me please send an email review

    ReplyDelete
  14. what IF i bricked my phone,then after that,i fiished restoring the things,do I need to go to recovery mode??cause my device's volume down is broken.

    ReplyDelete
    Replies
    1. ofcourse you need to got to recovery mode to flash your stock ROM or you can use MTK droid tools to make a SP flashable backup I already have guide on how to do it in the Tutorials section of this website

      Delete
  15. Hello, here's the screenshot of the blocksmap of my ubifs mtd partition 6572 device. Do you think you can change the meta-inf file a bit for mtd devices? I have a backup for my phone so I'm willing to try. http://picpaste.com/BSxX00MS.png

    Hope to hear from you! :)

    ReplyDelete
    Replies
    1. Oh, I just saw your reply to my first comment. You're not on ubifs. Sorry for the trouble!

      Delete
  16. Hi dear, at #24: Now zip it and your stock ROM is now ready to flash whenever... what are the files or folder to zip? (Stock_Rom folder?)
    Thanks

    ReplyDelete
    Replies
    1. go into stock rom folder and select all files and then zip it

      Delete
  17. Replies
    1. don't be dumb, all the information you need is in the post

      Delete
  18. can you port this to intex aqua i5

    ReplyDelete
  19. download link above for meta inf file not working

    ReplyDelete
  20. it is ok? http://picpaste.com/pics/screen-fzB73hoG.1441510039.jpg see the screen shot please

    ReplyDelete
    Replies
    1. you did it wrong.
      Just switch the places of 6 and 7. Instead of 7 write 6 and instead on 6 write 7.

      Delete
    2. Awesome
      Please consider clicking on Ads

      Delete
  21. Please need an alternative link for the meta_inf file

    ReplyDelete
    Replies
    1. Each time I wanna download it it redirect me to MEGA and I downloaded their apk file.... Since then can't login to their server talkless of getting the file link to download within. Pls help wit alternative link

      Delete
    2. i only prefer mega, you must download from PC, if not then you must download Mega app in phone

      Delete
  22. you are the bomb was able to download and use it... thanks for saving my phone

    ReplyDelete
    Replies
    1. thank you, enjoy
      please consider clicking on ads

      Delete
  23. I have a problem. When I'm trying to connect my phone to pc, opening the mtk droid&tools my phone won't recognize but when becomes to sp_flash tool my phone recognize easily. I've already install or the drivers needed. My phone has a mt6589

    ReplyDelete
    Replies
    1. spflashtool has a differ driver installation to mktdroidtools obviously find MTK driver on google not (VCOM drivers)

      Delete
  24. i have done all the steps but in recovery installation aborted
    wha i did wrong?

    ReplyDelete
    Replies
    1. either there is error in the ROM, zip or in the updater-script

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

    ReplyDelete
  26. Replies
    1. link is working, checked it. Add https before the link

      Delete
  27. getting Status 6 error when try to flash. I have put the right 'mmcblk0p'

    ReplyDelete
  28. getting Status 6 error when try to flash. I have put the right 'mmcblk0p'

    ReplyDelete
  29. Dude.. it worked for my LAVA IRIS FUEL 60.. Kudoos :D
    Porting Result:
    camera, internet, wifi, touch, orientation - ok

    BUGS:
    * OTG option not working (after plugging usb, it asking for default storage but there is no option of usb, and usb not showing in explorer)
    * screen gesture not supporting (double tap to unlock, draw 'I' to unlock on contacts etc..)
    * font size is very small even after setting it to large font, (and at small font option it is hard to read.)
    * date and day is displaying in russian language in navigation bar, even after selecting device language as english.
    * my device name changed from "Fuel 60" to LAGOO LEAD3"
    (waiting for solutions)

    ReplyDelete
    Replies
    1. this is your stock ROM bro, how can it have bugs

      Delete
  30. Ajit? At the time, when you made this tutorial - you had real KitKat rom on kernel 3.4.5?

    ReplyDelete
  31. Can I use this Rom created by this method as my stock Rom for porting??

    ReplyDelete
  32. can any one tell me where to download philz recovery for micromax a290 mtk ,as i am have to flash custom rom in my phone ,or can i use twrp ?

    ReplyDelete
  33. when i type adb root it says more than one device or emulator

    ReplyDelete
    Replies
    1. you have more than two devices connected or you have bluestacks or some other emulator running

      Delete
    2. Now the problem is when I put dab pull/system system it show a list of commands

      Delete
    3. you did not type the correct command

      Delete
  34. Replies
    1. it never stated there was a /cust folder it's a partition, a partition and folder are two different things

      Delete
  35. I am using gionee p3.... its boooting but not starting....Logo screen only how to solve it plzzz help me.....

    ReplyDelete
  36. can i do this for a phone which is not mtk?

    ReplyDelete
    Replies
    1. yes 90% considering you already have your boot.img and mount points because MTK droid tools does not support non-mtk device

      Delete
  37. Do you have meta-inf for ubifs ?

    ReplyDelete
  38. I have a problem, my sim card isn't recognized on my phone

    ReplyDelete
  39. Perhaps you can answer me a question: if the same Android (4.4.2) is being ported from the same chipset, even though from different devices, is there a need at all to port the Kernel, if the Kernel is the same version?

    I don't get it. Aren't ramdisk and other files from base ROM boot.img an important part of the device boot? I mean, the more logical procedure would appear to port both Android and Kernel from port ROM to base ROM.

    ReplyDelete
    Replies
    1. it depends on the ROM, if MIUI, CM then you need to port because they contain many patches and new binaries in ramdisk

      Delete

Powered by Blogger.