[TUTORIAL] Create Flashable Zip From Nandroid Backup [Complete] - Android General

Create A Flashable ROM From Your Nandroid Backup
►►Requirements◄◄
An OS (Linux/Windows)
Your CWM Or TWRP Backup
7zip On Windows
Archive Manager On Linux (Preferably Download p7zip)
► ► Get Started ◄ ◄​
FOR CWM​#1. Transfer the CWM backup from Phone to PC.
#2. Extract system.ext4.tar file with any of the archive apps like Winrar or 7zip, you will get the system folder of your device containing all the files.
#3. Gather the boot.img from the CWM backup.
#4. Now collect a META-INF folder from any custom ROM which is made for your device. Make sure you get the correct Meta-Inf folder, else the Zip won’t work and might worsen the condition of your device.
#5. Select the META-INF, System folders and the boot.img and right click your mouse and select add to Archive.
In the Archive settings, choose the extension of the compressed file as Zip (Make sure of this part)
#6. That’s it, your flashable Zip is now ready and you can flash it using any custom recovery.
For TWRP Backup​#1. Transfer the TWRP backup from Phone to PC.
#2. You’ll see a file named system.ext4.win which is the System partition backup of your device. Rename it to system.ext4.tar (Changing its extension from .win to .tar)
#3. Extract the system.ext4.tar using an archive software like Winrar or 7zip.
#4. If your TWRP backup is not in compression mode, you will directly get the system folder, else you will get a file named system.ext4, which should be renamed again to system.ext4.tar and extract it to get the system folder.
#5. Take the boot.emmc.win file and rename it to boot.img.
Now collect a META-INF folder from any custom ROM which is made for your device. Make sure you get the correct Meta-Inf folder, else the Zip won’t work and might worsen the condition of your device.
#6. Select the META-INF, System folders and the boot.img and right click your mouse and select add to Archive.
In the Archive settings, choose the extension of the compressed file as Zip (Make sure of this part)
►►Some Important Notes◄◄​
#1. On Linux If You Are Confused To See .tar.a files, don't worry rename it to .tar and then they will work on linux.
#2. Windows Users Should Use 7 ZIP, They Can Download It From Here :- http://www.7-zip.org/download.html
#3. Use Meta INF Preferably From CM Zip. (Just Incase)
#4. Your Final Folder Should Look Like This Before You ZIP It!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Special Thanks to Droid Views And Developers For Giving Light! ​

Related

[TOOL] Droid-IMG

Droid-IMG v1.0
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm new to the Android platform, only getting an Android Phone less than a week ago. I am however a developer and from reading up on Android and ROM's I noticed that there was little to nothing on the .IMG format, especially tools for windows.
With that in mind I started to develop a command line based tool to extract and compress .IMG files. It does rely on other tools to do this (hence the Tools folder included). My utility searches for the GZip Signature in the .IMG file and dumps the data. It then extracts it into a folder and from here you can modify the files and then re-compress them back into an .IMG file using my tool.
What I have found is some .IMG files that contain links/shortcuts will become corrupt upon extraction since they are only supported by the linux operating system.
Anyway, my program should be self explanatory when you run it. The screenshot above also shows the commands and parameters that should be used.
NOTE : [Base IMG] is your original unmodified .IMG File and [New IMG] is the file name of the .IMG file that will be created. Also, ignore the function not implemented errors.
Reserved.
P.S : Guess nobody knows what .IMG files are then...
Nice man! Thank you.
TheUnkn0wn said:
Droid-IMG v1.0
I'm new to the Android platform, only getting an Android Phone less than a week ago. I am however a developer and from reading up on Android and ROM's I noticed that there was little to nothing on the .IMG format, especially tools for windows.
With that in mind I started to develop a command line based tool to extract and compress .IMG files. It does rely on other tools to do this (hence the Tools folder included). My utility searches for the GZip Signature in the .IMG file and dumps the data. It then extracts it into a folder and from here you can modify the files and then re-compress them back into an .IMG file using my tool.
What I have found is some .IMG files that contain links/shortcuts will become corrupt upon extraction since they are only supported by the linux operating system.
Anyway, my program should be self explanatory when you run it. The screenshot above also shows the commands and parameters that should be used.
NOTE : [Base IMG] is your original unmodified .IMG File and [New IMG] is the file name of the .IMG file that will be created. Also, ignore the function not implemented errors.
Click to expand...
Click to collapse
These are some useful little tools, Considering lack of them for Windows users. Maybe nice one day to Polish it up with a nice GUI to make it easy for less experienced people.
But Good job I'll be using these.

[Guide][Tool] How to create flashable zip (noob proof - the easiest way)

Hello everyone..
In my tutorial here, I want to show newbies how to create their own flashable zip file to flash by recovery mode (CWM)...
Now installing your mods become easier and faster
Needed tools for newbies:
1) Download your desired template:
Template - for auto-perm-fix kernel support.zip
Template - for non auto-perm-fix kernel.zip
more details is down there!!
2) WinRAR or 7-zip program installed in your computer.
3) Auto-ZIP-Signer patch in case your kernel needs it
4) Cup of hot tea!!!
Which template should I use?
It depends on kernel you are using whether it supports auto permission fix or not (most of custom kernels support this feature)..
To know if you are using kernel with auto permission fix or not, boot into recovery mode and check if you have fix permissions option or not (usually under advance). If your kernel has fix permissions option, then use Template - for auto-perm-fix kernel support.zip otherwise, use Template - for non auto-perm-fix kernel.zip.
What will happen if you use wrong template?
If your kernel supports auto permission fix feature and you used Template - for non auto-perm-fix kernel.zip, nothing will go wrong (so don't worry!!) but the flashing process will take unnecessary longer time for fixing permissions!!.
If your kernel doesn't support auto permission fix feature and you used Template - for auto-perm-fix kernel support.zip, then you might need to fix permissions of the flashed mod manually or to add extra permissions line in updater-script (not advised for newbies)
How is it working?
Open the template zip file by WinRAR or 7-zip (don't extract!! Just open)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Now what you need to do is just to drag & drop your modded file into its corresponding destination inside the zip file.
​
Copy your finished zip file to your external SD card.
​
Boot into recovery mode and flash your file... Now you can treat yourself the cup of tea.. you deserve it
Extra step:
If you are using stock kernel that needs varification key from flashable zip file, then you need to use Auto-ZIP-Signer to sign your finished zip file.
First copy your finished zip file from previous step and open ZIP Auto-Signer folder (download from above).
Now paste your zip file in "put-zip-to-sign-here" folder and run the script patch.
Now go to "Finished" folder and copy "Signed.zip" into your external SD card.
Boot into recovery mode and flash your signed file
Simple and noob proof tutorial, I hope it will help you all new xda members

can not deodexing Rom with xUltima & Android Kitchen, v0.223

Hey together.
(at first: I do not want use a finished custom rom. I am happy as my Rome is now running)
I Would like to deodex my JB Stock Rom to coustomize my self with Mods and other but for almost everything i used a deodexed Rom. I tried xUltima and the Android Kitchen, v0.223 by dsixda and both doesn't work.
On the Android Kitchen, v0.223 by dsixda i can't find my TWRP Backup and i don't know how i convert it or somthig else.
On xUltima i become instantly an Error. When i delete the odex file which caused the error i become instantly a another error.
Here is a Picture from xUltima:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i have no idee how i fix this.
no one an idea?
Make a imitation ROM:
Create a dump.
Download Rhythm Manager's version of file manager.
Now go to / (self explanatory) and copy system.
It'll take a while, but copy it to sdcard.
Now copy the file onto computer. Find a ROM and copy the META_INF.
Make a empty boot.img.
Put the boot.img, system, and meta_inf into a zip folder. THis would be your ROM.
You can take it from there.
mr_verystock said:
Make a imitation ROM:
Create a dump.
Download Rhythm Manager's version of file manager.
Now go to / (self explanatory) and copy system.
It'll take a while, but copy it to sdcard.
Now copy the file onto computer. Find a ROM and copy the META_INF.
Make a empty boot.img.
Put the boot.img, system, and meta_inf into a zip folder. THis would be your ROM.
You can take it from there.
Click to expand...
Click to collapse
okay sounds quite simple but i have some questsions. it does not matter whitch META_INF i use? And how i make a empty boot.img? Can i put the Deodexed file back in the Data und Jar Folder or must i flash it?
Specimann said:
okay sounds quite simple but i have some questsions. 1) it does not matter whitch META_INF i use? 2) And how i make a empty boot.img? Can i put the Deodexed file back in the Data und Jar Folder or must i flash it?
Click to expand...
Click to collapse
1) Yes. Any ROM is okay. Just get it from an actual ROM.
2) Step 1: unhide extension by going explorer.exe --> organize --> Folder and search options --> view --> uncheck Hide extension ... --> click apply to folders--> Apply. Now simply make a .txt file on desktop and rename the extension as img, and the file name make it boot.

(guide) flash boot.img with cwm$

Hello friends here is the guide to flash boot.img on galaxy core through cwm NO NEED PC..​
DISCLAIMER: I AM NOT
RESPONSIBLE FOR ANY
KIND OF DAMAGES &
BRICKS.
1.. Download the kernel
file to your SD Card. It
may be in *.zip or *.rar or *.7z or* boot.img*
2. Extract the file with
Es file Explorer .(if it simply boot.img no need to extract)
3. You'll get a "boot.img"
file after the extraction
is completed.
4. Now create a folder in your (phone memory)SdCard/0/clockworkmod/backup/KERNEL NAME(For exmple INFINITYKERNEL)
5. Move boot.img file you got after* SdCard/0/
clockworkmod/backup/
NAME/*HERE*. (the folder you've created- in
step=4).
6. View the details of
that boot.img file. (long
tap on boot.img>properties on
Es file Explorer).
7. Copy the md SUM you got in file details.
8. Now there, create a
file and name it as nandroid.md5 . Open
nandroid.md5 file
with TEXT
EDITOR and paste that
md5 sum you've
copied ..and save ur
nandroid.md5 file.( It also created a file named nandroid.md5.bak just delete it)
Now there will be 2 files
in /sdcard/0/clockworkmod/backup/NAME/*HERE*:
--boot.img
--nandroid.md5
make sure their is no
other file except these two (boot.img, nandroid.md5)
9. Boot in CWM recovery.
10. Mount/System. And mount/storage/sdcard
11. Select "backup and
restores''> misc nandroid setting ">md value anable .go back
12. Select restore from sdcard">KERNEL NAME"> yes restore "
13. When restore done,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
14. Finally, click on
REBOOT SYSTEM NOW.
Phone will restart and
1st boot may take some
time.. and the kernel is
flashed ..
Thanks to infinityshooter for kernel http://forum.xda-developers.com/galaxy-core/orig-development/stable-infinity-kernel-t2791377
100% working
Please hit "THANKS"
Thanks
Sent from my GT-I8262 using XDA Free mobile app
Kernel
rrajj said:
Hello friends here is the guide to flash boot.img on galaxy core through cwm NO NEED PC..​
DISCLAIMER: I AM NOT
RESPONSIBLE FOR ANY
KIND OF DAMAGES &
BRICKS.
1.. Download the kernel
file to your SD Card. It
may be in *.zip or *.rar or *.7z or* boot.img*
2. Extract the file with
Es file Explorer .(if it simply boot.img no need to extract)
3. You'll get a "boot.img"
file after the extraction
is completed.
4. Now create a folder in your (phone memory)SdCard/0/clockworkmod/backup/KERNEL NAME(For exmple INFINITYKERNEL)
5. Move boot.img file you got after* SdCard/0/
clockworkmod/backup/
NAME/*HERE*. (the folder you've created- in
step=4).
6. View the details of
that boot.img file. (long
tap on boot.img>properties on
Es file Explorer).
7. Copy the md SUM you got in file details.
8. Now there, create a
file and name it as nandroid.md5 . Open
nandroid.md5 file
with TEXT
EDITOR and paste that
md5 sum you've
copied ..and save ur
nandroid.md5 file.( It also created a file named nandroid.md5.bak just delete it)
Now there will be 2 files
in /sdcard/0/clockworkmod/backup/NAME/*HERE*:
--boot.img
--nandroid.md5
make sure their is no
other file except these two (boot.img, nandroid.md5)
9. Boot in CWM recovery.
10. Mount/System. And mount/storage/sdcard
11. Select "backup and
restores''> misc nandroid setting ">md value anable .go back
12. Select restore from sdcard">KERNEL NAME"> yes restore "
13. When restore done,
View attachment 3041255
View attachment 3041256
View attachment 3041257
View attachment 3041258
View attachment 3041261
View attachment 3041262
14. Finally, click on
REBOOT SYSTEM NOW.
Phone will restart and
1st boot may take some
time.. and the kernel is
flashed ..
Thanks to infinityshooter for kernel http://forum.xda-developers.com/galaxy-core/orig-development/stable-infinity-kernel-t2791377
100% working
Please hit "THANKS"
Click to expand...
Click to collapse
Please i need kernel suppprt otg for stock rom n custom rom.
What u exactly want bro.

Modify your CUSTOM RECOVERY! (Full Tutorial) TeamWin Recovery

Welcome root users!
Today we are going to do something really cool!
Now every root user should know what a custom recovery is. It's basically a modified recovery with more functions than a stock recovery. Every root user should have one.
Please note that this tutorial is ONLY for users that run TWRP (Team Win Recovery Project).
I do not know if this method will work for other recoveries like Philz Touch! If you are going to attempt this on a recovery like Philz Touch, be VERY CAREFUL and ALWAYS ALWAYS ALWAYS make a backup of your recovery!!!!!!!!
Custom recoveries are cool and all, but wouldn't it be awesome if you could actually MODIFY your own recovery? Your question would be simple as this: "Is is possible?".
Well of course it is! Recoveries are in .img format. If we were to extract the img, we would get a ramdisk folder. Inside would be your root folders along with your TWRP folder!
For this part of the tutorial, we are going to modify the text on the buttons at the main screen in TWRP (ex. Install, Backup, Restore, Wipe, etc.). Let's say I wanted to change the word "Install" on the Install button to "Flash" instead. I could easily do this with a computer! I will show you how to do this step-by-step.
Requirements:
Windows PC
Android Image Kitchen
Your recovery img
Obviously your custom recovery so you can flash it.
1: Grab the custom recovery you flashed and put it to your Desktop. If you can't find your custom recovery that you downloaded before, download it again from the internet.
2: Download Android Image Kitchen from the internet and extract it to your Desktop. You should get a folder called "Android Image Kitchen".
3. Inside that folder you will have some files: cleanup.bat, repackimg.bat, and unpackimg.bat along with another folder called "android_win_tools".
4. Put your recovery img inside along along with those files.
5. Now we are going to extract your recovery! To do this, simply drag your recovery.img over onto the unpackimg.bat and a cmd windows will pop up, extracting your recovery.
6. When it's done, two folders will appear called "ramdisk" and "split_img". IGNORE THE split_img FOLDER! YOU DO NOT NEED TO TOUCH THAT EVER!
7. Navigate inside the ramdisk folder until you find a folder called "twres". This is your TWRP
8. Inside will be some files in XML format and 3 folders. Navigate to the folder that says "Languages".
9. Once inside, find "en.xml" and open it with a text editor.
10. Scroll down until you find this line of text:
"name="install_btn">Install</string>
11. To change the word "Install" to "Flash", replace "Install" that is between string and install_btw to "Flash".
12. That's it! Your done! Now we have to repack the ramdisk. To do so, go back to the "Android Image Kitchen* and click on "repackimg.bat".
13. If done correctly, a cmd window will appear and repack your ramdisk. You will be left with a file called "image-new.img". Transfer that file to your phones internal storage.
14. Once it's on your phone, boot into your custom recovery and flash it! MAKE A NANDROID BACKUP just in case anything goes wrong!!
15. You have successfully modified your custom recovery!!
NOTE that for some newer Android devices, you will probably get a message in red at the boot screen "Recovery is not SEandroid enforcing". As long as your device still boots into your modified recovery, ignore that warning.
Note that this tutorial was only for users who are new to rooting and customizing. Android developers would probably know already how to do this. This is only for fun. You should always be careful when modifying your system files.
That was only a text modification. You could have also edited the images if you wanted to
I don't know everything about Android. I'm still learning. I was proud that I was able to modify my own recovery. Please leave any comments you have
Im dragging recovery.img to unpackimg.bat and gives error
Code:
Android Image Kitchen - UnpackImg Script
by osm0sis @ xda-developers
Supplied image: recovery.img
Setting up work folders . . .
Unrecognized format.
Error!
Press any key to continue . . .
Recovery is TWRP 3.5.0-9
tried to unpack orangefox...
the result of the ramdisk folder:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Categories

Resources