How To Create TWRP/CWM flashable Zip - From Sock ROM Or Backup
In this guide I will show you how to build a flashable zip from Stock Firmware.
If you want to make a CWM recovery flashable zip from your stock firmware then you are at correct place. This guide will show you how to make a cwm/twrp custom recovery flashable zip file from your stock firmware.
This guide is specifically for those users who have SP Tool Flashable Stock Rom
Requirements:
1. A TWRP/CWM Recovery Installed in your Phone, If you don't have any custom recovery then read below topics and create/port custom recovery yourself.
2. A backup from Created by MTK Droid Tool
or a SP Flash Tool Flashabe Stock ROM
3. Ext4 Unpacker : Download
4. Ext2Read: Download
5. Winrar or 7zip installed in your PC
Procedure:
1. Create a backup of your current ROM installed in your phone.
2. Or, Just collect the SP Tool Flashable Stock ROM from official Forum.
3. Copy the the System.img, boot.img, logo.bin (if available) to a folder in desktop.
4. Now Download ext4_unpacker.exe, Ext2explore-2.2.71.zip & extract them.
5. Now open ext4_unpacker.exe and browse the system.img.
6. Now click Save as Ext4 button (See Before the Exit button)
7. Then select the folder where you kept the system.img file (Same folder)
8. Save the file exactly as : system.ext4
9. The process will start and you will get the system.ext4 file in the same folder where system.img.
10. Now open Ext2explore, browse for system.ext4 from Ext2explore tool.
11. After selecting system.etx4 file you will see the following image, select the marked icon.
12. Now click tools and select save. Create a folder as system in desktop & select that folder to save the file. The process will start like below.
13. After completing the process you will get may folder like below in your newly created "system" folder.
14. Now copy system folders and place them into the folder where you put the System.img, boot.img, logo.bin files.
15. Keep the following folders & file & delete the others
1. System (its the folder we have just copied), boot.img, logo.binp
2. Delete System.img, system.ext4 these two files only.
16. It will be like this.....
17. Now collect any META-INF folder from any custom ROM ported for your phone & place it into this folder. So now the folder will be look like this
18. Now select the all & click right button and choose add to archive (winrar menu). Select zip option then click OK
19. Winrar will create a flashable zip file inside that folder.
20. Now our TWRP/CWM flashable zip of stock ROM is ready. You can boot into your custom recovery and flash this zip.
0 comments: