[WINDOWS][TOOL]Android ICS JB EXT4 ImageFile Unpacker!!! - Verizon Samsung Galaxy S III

Download NOW from SourceForge!!
VIEW YOUR SYSTEM.IMG (HAVEN'T TESTED OTHERS) FROM YOUR ODIN DUMPS IMG'S FROM THE TUTORIAL:
"[GUIDE][HOW-TO]Create custom ODIN packages"
VIEW THE IMG FILES AND THEN SAVE THEM AS EXT4!!!
VIEW XML (NICELY)
HEX TOO!!
For WINDOWS!!!​
UNPACK folders to any place in Windows:​
(ie: look at your system.img in this tool, then select the folder you want to have in Windows, right-click on it, and click "extract", and then choose where in your Windows Directory where you want it saved.)
"I had not tried it with anything but the System.img. But if you right-click on ANY folder in the tool, you can extract it (save a copy in windows) to anywhere. And it's totally readable. You can also extract the apk's, etc, etc.."​
PERFECT TOOL. EASY TO USE. I FOUND IT WHILE BROWSING SOURCEFORGE AND NOBODY HAD DOWNLOADED IT YET.​
DOWNLOAD HERE​​
{
"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"
}
PHOTO SOURCE: SourceForge.net (they were better than my screenshots)
THIS TOOL WAS NOT MADE BY ME. NOR DID I HAVE ANYTHING TO DO WITH IT OTHER THAN THE FACT I FOUND IT WHILE WHILE BROWSING...​

Android RFS Unpacker
HERE IS ANOTHER TOOL FROM THE SAME PERSON:
HERE
THE ANDROID RFS UNPACKER

Nice find.
Ta,
Alqi
Sent from my SCH-I535 using xda app-developers app

Nice find! Hopefully, this can help some of the Devs on here that know what they are looking at.
Sent from my SCH-I535 using xda premium

It really helps me out a lot if I am stuck in Windows and don't feel like firing up my Ubuntu Machine or having to start VMware. I mainly use it for the Odin dumps I pull off my extSdCard (if I am already in Windoze...
Sent from my SCH-I535 using Tapatalk 2

I get "Unknown file" when I try to open the .ext4 file. How do I fix this?

MinnesotaVikings1961 said:
I get "Unknown file" when I try to open the .ext4 file. How do I fix this?
Click to expand...
Click to collapse
Me too.

I can See the files, But cannot do anything else
h311sdr0id said:
Download NOW from SourceForge!!
VIEW YOUR SYSTEM.IMG (HAVEN'T TESTED OTHERS) FROM YOUR ODIN DUMPS IMG'S FROM THE TUTORIAL:
"[GUIDE][HOW-TO]Create custom ODIN packages"
VIEW THE IMG FILES AND THEN SAVE THEM AS EXT4!!!
VIEW XML (NICELY)
HEX TOO!!
For WINDOWS!!!​
UNPACK folders to any place in Windows:​
(ie: look at your system.img in this tool, then select the folder you want to have in Windows, right-click on it, and click "extract", and then choose where in your Windows Directory where you want it saved.)
"I had not tried it with anything but the System.img. But if you right-click on ANY folder in the tool, you can extract it (save a copy in windows) to anywhere. And it's totally readable. You can also extract the apk's, etc, etc.."​
PERFECT TOOL. EASY TO USE. I FOUND IT WHILE BROWSING SOURCEFORGE AND NOBODY HAD DOWNLOADED IT YET.​
DOWNLOAD HERE​​
PHOTO SOURCE: SourceForge.net (they were better than my screenshots)
THIS TOOL WAS NOT MADE BY ME. NOR DID I HAVE ANYTHING TO DO WITH IT OTHER THAN THE FACT I FOUND IT WHILE WHILE BROWSING...​
Click to expand...
Click to collapse
I can view the files inside the folder. But cannot do anything. It is shown in a dialogue window. When open it says, unknown file. Can anyone help to extract an apk from the list??

Thanks! Works great.

Hi.. I saw your tutorial.. I tried to extract system.sin from my Stock ROM of Xperia S.. And when i did, i got to extract it in "ext4" format instead of what other tutorials showed me as "yaffs2" format.. Well, i googled about how to extract ext4 format files and found your tutorial.. I happened to find only app and bin folders as in the SS i have given you and even when i try to extract those folders i am unable to.. I see the error i have given you in 2nd SS.. And i couldn't even exit the application.. Can you help?

sudhindrakv said:
Hi.. I saw your tutorial.. I tried to extract system.sin from my Stock ROM of Xperia S.. And when i did, i got to extract it in "ext4" format instead of what other tutorials showed me as "yaffs2" format.. Well, i googled about how to extract ext4 format files and found your tutorial.. I happened to find only app and bin folders as in the SS i have given you and even when i try to extract those folders i am unable to.. I see the error i have given you in 2nd SS.. And i couldn't even exit the application.. Can you help?
Click to expand...
Click to collapse
i get unknown file formay when i try to open a system.img file. or pretty much any file .it seems

I downloaded the ext4 unapcker v. 16.10.2013 (R2) archive.
The file inside are quite old (April and August 2013) and didn't include latest changes (italian translation and tips for translation).
Please update the files in the distriibution archive.
Could add simple text file for documentation
*** README.TXT
- Info about command line parameters
- How to change GUi language
- How to create a new language
*** CHANGELOG.TXT
- Small info about changelog in different releases
If I can help you I can post a sample for two files.

Hi.
There some serious bugs in this util.
1. Didn't extract all files (compared with other similar utils)
I checked that utils didn't extract all files (compared with other utils).
I made a comparison between the file/folders extracted from saprse file iamge (ex. Android systm.img of some smartphones) by this util and Total commander Diskinternal Total Commander Plugin)
EXT4 unapcker extract a lot of file less than Total Comamnder with DiskInternal plugin (about 300 Mb elss).
2. File extracted dind't maintain original date/time
Opening a system.img file and extracting the files inside, the extracted files/folders have today date/time instead original date/time.
Please mantain original date/time for the file extracted.
3. Comamnd line use - it crashed
Using command line for EXT4 unpacker it crashed
The error is
Extracting \system\xbin\Base64
Exception EListError in module ext4_unpacker.exe at 00019E8A
List index out of bounds (0).

Is it a really living project?
No one answer.
The autho din't reply since first day of novembrer.
There are some critical issues.
The file into sourceforge repository are wrong.
Very interesting project but (probably) dead.

The idea is good, but..
From time to time i need to unpack system images for android. It happens. the latest models have HUGE images ~2Gb+
But unfortunately, the program designed to load data to RAM, wich makes problems for 32 bit applications to work with huge images.
Actully, EXT4 partitions may be unpacked in many ways (WinHex can do it easy), but we have here some-kind of compressed images wich have to be uncompressed before we can read it with any 3rd party tool.
According to the SF sources i made a small tool for this purpose.May be it will help to someone
BR

@darkmen
jb.ext4 comamnd
Could you customize the app with more option like
/nodetail to avoid showing the progress
add an option to specify the output file name, ex
jb.ext4 system.img newsystem.img
Should be possible to make a similar command to extract all ffles/folder by system.img?
Or should be possible to use unyaffs command?
Thanks.

I believe that we can close this thread!
The program was very interesting but had some bug and from November the author didn't replay on Sourceforge.
Thanks.

bovirus said:
@darkmen
jb.ext4 comamnd
Could you customize the app with more option like
/nodetail to avoid showing the progress
add an option to specify the output file name, ex
jb.ext4 system.img newsystem.img
Thanks.
Click to expand...
Click to collapse
Hi, source is attached, so its very easy to modify.
Updated the download URL with these fixes.

Many thanks darkmen.
If I will have some improvement proposals I hope that you can help me to implement it.
Which language do you sue for this program?
Which resources/program are needded to compile it?
Thanks. Bye.

bovirus said:
Many thanks darkmen.
If I will have some improvement proposals I hope that you can help me to implement it.
Which language do you sue for this program?
Which resources/program are needded to compile it?
Thanks. Bye.
Click to expand...
Click to collapse
Just open zip and you will see (delphi).

Related

[Tool] Yaffs Explorer, made for Defy

Its a free Root Explorer without Ads and without network use.
When busybox and root modes are enabled, you can make dumps of your nand partitions and export Kernel and initramfs (Menu/Tools)
{
"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"
}
https://market.android.com/details?id=fr.wdscript.yaffsexplorer
You can report here bug and feature requests...
Example : Dump and Rename The /cdrom partition (p17)
change dump file ext from .raw to .iso and you get your Windows drivers (MotoHelper 2.0.44 Driver 4.9.0 - 27 Jan 2011)
Version 1.9.9.8 attached
Awesome thanks, will def check this out.
useful tool
How can i dump the roofs?
can i restore it after backup?
Thank you.
This tool execute this command :
dd if=/dev/block/<partition> of=/sdcard/<partition>.raw ibs=8192 obs=8192 conv=notrunc
So you can do the reverse command (not in the tool because dangerous)
Update v1.1 : You can create yaffs images now
Epsylon3 said:
This tool execute this command :
dd if=/dev/block/<partition> of=/sdcard/<partition>.raw ibs=8192 obs=8192 conv=notrunc
So you can do the reverse command (not in the tool because dangerous)
Click to expand...
Click to collapse
Do you know, how to dump and remount the rootfs?
Thank you.
in fact, i dont know... rootfs is mounted before android (initrd on some devices)
Epsylon3 said:
in fact, i dont know... rootfs is mounted before android (initrd on some devices)
Click to expand...
Click to collapse
Ok, thank you.
Ok, been using this for a while now; couple suggestions.
1. Copy feature needs to work more like Root Explorer.
---- So when you long-press and copy a file, two buttons popup, Paste and Cancel - Maybe you could even add a third to paste quickly to a favourites folder without leaving working directory ?
2. Be able to change text size of file browser. I have big fingers heh.
3. Have a Mount/Unmount button similar to the Mount R/W in Root Explorer.
--- I find I cant copy anything to anywhere, am I just missing something ?
4. Select multiple files, and copy, delete, zip, move . . . . . to favourites ?
5. Compress files or folders and save zip to a saved favourites without leaving working directory.
6. Load apk icons maybe; easier to find things sometimes.
7. Show favourites picker on program startup. I'm always working in the same directories.
A built in text editor with line numbers would be awesome. Maybe an sqlite editor addon too ?
I like what this looks like so far; I really like that you can see symlinks, the dropdown with recent paths, nandroid dumps of any partitions (nice), and the favorites are cool. Just hoping it can take over for root explorer.
Keep up the great work so far. Will be keeping on eye on this for sure.
Thanks for your report
First, i dont want to copy Root Explorer or all these slow and "3 lines" explorers... So no image/movies preview... This tool is focused on system files exploration
Apk icons maybe but not in my prority (filter by name is nice), line size : not for the moment (maybe a zoom or something later)
The multiselect on click is almost ready (for files), to keep folder navigation
the Mount/Unmount will be in tools menu later (in mounted devices menu) i need to make a new window for that... but that need work (and could make lot of reports from unknown devices, like chinese ones)
Compression.... yea hmm v2.0
Hm. I tried this, but it is a lot slower than Root Explorer. Perhaps this is because it shows a lot more objects, or due to it having a lot of features I do not directly associate with a program to manage files. Still, I can not say that having more competition is a bad thing, so keep up the good work
its because the tool use a terminal process to list folders, and a new one on each refresh... I think i can optimize that if i keep the shell process opened.
but Root enabled, its 5x slower (220ms instead of 40ms)... i think there could be a problem with superuser tool, will try to uninstall it to check...
johnw.xda said:
Do you know, how to dump and remount the rootfs?
Thank you.
Click to expand...
Click to collapse
to remount In fact like others :
Code:
mount -o rw,remount,relatime -t rootfs rootfs /
This feature will be available in some minutes (v1.3.0)
But to dump... you need to skip /proc /tmp and /sys
Hi.
I´m using your app in a Samsung galaxy S.
I lost one file and I want to recover it from a CWM backup.
Your app lets me read the backup, but I cant save the needed file ...
Is there a possibility to extract it from the backup?
Thanks in advance
Its the next step yaffs extraction...
sorry, not for the moment (but soon)
just made an update v1.3.2 which really enhance exploration speed...
I hope you release it soon
Thanks
I can't Dump Partition. A circular thing shows up then it disapear and no text saying records in+out and that it finished (like in the screenshot). And there is no file on my SD card and yes I have plenty of space.
Tried several of the small 512k partitions and the Boot and Recovery partitions.
I'm running rooted froyo 3.4.2-155, few bloat APK's removed.
this feature uses busybox "dd" applet, try to set another busybox in setting window
you can search for them in other apps, do a search in /data/data/
Namiga said:
Hi.
I´m using your app in a Samsung galaxy S.
I lost one file and I want to recover it from a CWM backup.
Your app lets me read the backup, but I cant save the needed file ...
Is there a possibility to extract it from the backup?
Thanks in advance
Click to expand...
Click to collapse
Done... in v1.5.0 Single file or Folder for the moment... (file/folder context menu)
full extraction will be possible in next version... not linked

[HowTo] Easily deodex (System-)Apps and extract StockFirmwares

Hey guys,
for all Dev´s and maybe for user that want to deodex new Firmwares. Here´s my guide how to easily deodex (system-)apps on windows. You don´t need your phone!
Our Situation: A new firmware is released, nobody uploaded the deodexed apps but you want them. So you need:
Step one, Download:
xUltimate
Magic ISO Maker
The Firmware you want to deodex from here
You can find more Information about xUltimate and his author at
http://www.xeudoxus.com/android/xUltimate-v2.3.3.zip
I´m using latest Gingerbread 2.3.5 Stock Firmware KNP in this tutorial, but you can use any other one you want.
{
"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"
}
Step two, extract all files you need
Extract the xxxKP*.zip or .rar (PW: samfirmware.com)
If this file is a one-package you will only finde one file there (like I9003SERKPN_HOME.tar.md5). In this case, extract this one with 7zip or Winrar - else skip this step
You should now have files like "boot.bin", "chache.rfs", "normalboot.img"... in your folder
Now Extrace xUltimate.zip
Open Magic ISO Maker
(When you run it, you will be asked if you want to buy full program-version, press "Try it"
It should now look like this:
Now klick on "File"->"Open"-> Select all files -> Double click on the system.rfs in your Firmware Folder
All this files and folders you now see are later on your device under /system
Remember your xUltimate folder. Drag and drop all files in the opened Magic ISO Maker from /system/app to xUltimate folder origi_app
Drag and drop all files in the opened Magic ISO Maker from /system/framework to xUltimate filder origi_frame
Close Magic ISO Maker
Go on with the second post...
Run Main Skip.bat
Type "4" and press enter
All your Framework apps will be now deodexed
Run Script again and type "3" and press enter
All System apps will now be deodexed
All the deodexed Apps are now located in the folders done_app and done_frame. Finished! If you don´t now how to push the files to your system i can create a tutorial for this in third post. If something goes wrong post in this thread and i will help you
Resereved for future use
I know deodexing but really thanx for telling to us how to extract system.rfs file. It will help me alot.
OK!
i deodex all apps... but how create a file.zip and install with CWM???
jZanetti said:
OK!
i deodex all apps... but how create a file.zip and install with CWM???
Click to expand...
Click to collapse
u can copy all the files on ur sdcard and move them to ur system folder with rootexplorer..
or else u can use adb
-SiMmER
i create a backup nandroid and install with cwm from restore???
jZanetti said:
i create a backup nandroid and install with cwm from restore???
Click to expand...
Click to collapse
If you want to restore your nandroid backup in CWM you select in CWM restore, yes ^^
simmer14 said:
u can copy all the files on ur sdcard and move them to ur system folder with rootexplorer..
or else u can use adb
-SiMmER
Click to expand...
Click to collapse
no memory full...
No one is mentioning the fact that u need to delete the *.odex from /system/app and /system/framework too.
and why do we need another thread when we have one from kkrraazzyy.
Link
need your third post
---------- Post added at 02:56 PM ---------- Previous post was at 02:50 PM ----------
vishal24387 said:
I know deodexing but really thanx for telling to us how to extract system.rfs file. It will help me alot.
Click to expand...
Click to collapse
Use MagicISO to open system.rfs and then you can extract the files within it.
I have create a file To restore with nandrod, but in cwm dont see... i can't install this... why??
your third post is wanted
This method didn't work for me magic iso fail to open system.rfs file saying it's not a image file
Sent from my GT-I9003 using Tapatalk
Start MagicISO
File
Open
In the File select window,
select all files and then find system.rfs
it will load the data.
Thank you the guide is very neatly explained just add what Ganesh said in first post (deleting odex files)
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of a
rguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of arg
uments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.jav
a:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:7
9)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:4
4)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Inst
ruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:84)
... 6 more
Error occured at code address 8
code_item @0x256c
Press any key to continue . . .
Click to expand...
Click to collapse
Got this error while deodexing I have downloaded I9000 2.3.6 firmware from sammobile
dsixda's Android Kitchen http://forum.xda-developers.com/showthread.php?t=633246

[Tutorial] How to change kernel logo (1st boot srceen) [COMPLETED]

We have 3 major works here... So I gonna to make it seperated
-1st post is HOW TO EXTRACT kernel.img (boot.img)
-2nd post is HOW TO CONVERT PICTURE FILE to BOOT.RLE
-3rd post is HOW TO REPACK THE KERNEL PAKAGE into boot.img
Requiredment
-Window machine
-installed cygwin
-the full boot.img/kernel (some kernel won't work because there is no full pakage/ i mean we can't)
-bootimg.zip (tool for UNPACK and REPACK kernel)
-boot_screen_logo_creation_package.rar
Thank and Credit
i- Credit to DooMLoRD Recognized Developer over most of XPERIA devices for his own tool and tutor that I learned before
ii- Credit to jimbo77 Senior Member for his tutorial that I used and learned and tool for unpack and repack
ii- Don't forget to give them a thanks meter
=============================================================================
Here we go
1-This section I will show u how to unpack and repack the boot.img
just see from original thread by jimbo77 from here and download the UNPACK and REPACK tool by him HERE
this is a fast guide from me:-
1-extract the bootimg-tools.zip into new folder (name it 'boot' folder)
2-move it into cygwin directory (cygwin/boot)
3- move your fav kernel into same directory
4-run cygwin.bat
cd /boot
Click to expand...
Click to collapse
{
"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"
}
5-Now, unpack your boot.img by running the following command:
./extractboot boot.img
Click to expand...
Click to collapse
If your output looks like this, then the extraction has worked correctly! Note that the Command Line string has also been read from the source file, this will be used later when you go to re-pack your file.
Your script folder should now look like this:
boot.img-kernel is the compiled kernel blob that was inside the source boot.img, if you want to replace the kernel with another compiled kernel image, you can replace this file with another one (but leave the file name the same)
boot.img-ramdisk.gz is the gzipped ramdisk image which has been split from the boot.img, you should leave this file alone.
The “out” folder contains the EXTRACTED ramdisk, and this is where you should make your changes to the ramdisk.
Important Note!
Remember, when editing files in the ramdisk through Windows, such as init.rc, Windows notepad will not format the files correctly, making them almost impossible to read, wheras Wordpad will LOOK like it is formatting the files correctly, if you save one of these files from the Wordpad application it will BREAK the file and it will no longer be able to be read correctly by Android. To edit these files you MUST use an editor such as Notepad++ which you can download for free.
AGAIN...
Special thanks/credit to jimbo77 for his excellent guide
So.. NEXT step to change a kernel logo is here
Requiredment
1-a picture what are u like to look into the 1st boot screen (kernel logo) (make sure it size/resolution same your device resolution)
2-boot_screen_logo_creation_package.rar
3-some infos and knowledges here
4-window machine like i explained on 1st post
My quick guide
-extract the tool.rar
-move extracted files into new folder (name it 'rle' folder without quote)
-move into cygwin folder (to make it easy to follow my simple guide)
-copy your own logo.png (a picture u want to use on a kernel) into same rle folder
(for 4 steps above it shold look like tis)
-now launch cygwin.bat
cd /rle
Click to expand...
Click to collapse
./convert_image_to_rle.bat logo.png
Click to expand...
Click to collapse
Ah...my mistake..don't forget to move/copy/replace new logo.rle into
C/cygwin/boot/out/ramdisk/here
if you done good...follow next step on next post (to repack your moded kernel)
Last step before you flash a new look kernel (boot.img) is
Repack your moded kernel
./packboot
Click to expand...
Click to collapse
One thing to note that people may mention in other guides, is that when packing boot.img files, you will usually have to declare a base address, and a command line to the packaging tool. This set of scripts reads the existing command line and base address from the boot.img file you originally provided at the time of repacking, so always make sure you leave your original source boot.img file in the folder and do not re-name it after extraction, your newly created boot.img file will be named boot_new.img and will NOT overwrite the original.
Done! If your screen looks like the image above, then you should now have a freshly created boot_new.img file, ready to be flashed to Android for testing, you can now go ahead and flash it through FASTBOOT one thing I'll recommend though is to first do
I need this for extra (extra thanks..)
(may U?)

[TUT]Extract kernel "zimage" From boot.img and Convert to .tar and Flash using Odin

[TUT]Extract kernel "zimage" From boot.img and Convert to .tar and Flash using Odin
[Extremely Noob GUIDE]Since there is no explained and easy Guide to Extract Kernel [zimage] and Ramdisk [Ramdisk] from Boot.img, Then Convert it to zimage.tar and Flash it using Odin
Well here it is step by step:
Note: This Method is used to Extract Kernels form Stock Rom's Boot.img
First you need to install Python, which is round about 17MBs software freely available on python website.
Step 1:Download the attached Python script named "split_boot_img" from attachments down Below, Extract it and copy to the folder created in Step 2.
Step 2:Create a folder with any name you like. I recommend "boot.img extraction".
Step 3: Copy the boot.img, you want to extract, to the folder you created in Step 2.
Step 4: Run the script named "split_boot_img"by double-clicking and see the magic.
Congratulations!!! Here you go. the "zimage" and "ramdisk" files are extracted.
Now the Conversion Part:
Step 1: Download this IZARC software and install it from Here:http://www.izarc.org/download.html
Step 2: Open the folder created in First-Step 2.
Step 3: Right Click the ziamge File Extracted from boot.img. as in Image 1 in attachments.
Step 4: Select add to archive file from IzArc right click options as in Image 1 in attachments.
Step 5: Now scroll the Archiving type to ".tar" as in Image 2 in attachments.
Step 6: Click the Add button as in Image 3 in attachments.
Last Step: Now flash the "zimage" file created in Step 6 Using Odin.
View attachment split_boot_img.zip
Image 1:
{
"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"
}
Image 2:
Image 3:
Not Working
extraction doesn't work for me :/
shivasharmaarya said:
extraction doesn't work for me :/
Click to expand...
Click to collapse
Did you follow till last step. What message did you get?
yes
exceptionalkhan said:
Did you follow till last step. What message did you get?
Click to expand...
Click to collapse
Python script of yours is not working.Its giving error which flashes for microsecond and i am unable to see it
shivasharmaarya said:
Python script of yours is not working.Its giving error which flashes for microsecond and i am unable to see it
Click to expand...
Click to collapse
Maybe he should have put in that you need to use Python 2.7.9 not 3.x ... Had the same problem.
All steps worked after, but didn't flash it yet, I'll do it today or tomorrow.
Also you should mention IZArc is full of crapware, it open one install and even if I chose to not install stuff, it installed iStart and Search Enginer extensions to my browsers. After, surprise, another install showed up to actually install IZArc ... not I need to de-crap my system
dotuletz said:
Maybe he should have put in that you need to use Python 2.7.9 not 3.x ... Had the same problem.
All steps worked after, but didn't flash it yet, I'll do it today or tomorrow.
Also you should mention IZArc is full of crapware, it open one install and even if I chose to not install stuff, it installed iStart and Search Enginer extensions to my browsers. After, surprise, another install showed up to actually install IZArc ... not I need to de-crap my system
Click to expand...
Click to collapse
Did the kernel.img actually work for you? I tried this same process as well. It took me 4 hours to clean all the maleware from my laptop. I mad the .Tar file and tried to flash it. it failed completely. I think this OP needs to be removed. More than likely the OP is getting paid for all the downloads he is tricking people into.
Chillyz12 said:
Did the kernel.img actually work for you? I tried this same process as well. It took me 4 hours to clean all the maleware from my laptop. I mad the .Tar file and tried to flash it. it failed completely. I think this OP needs to be removed. More than likely the OP is getting paid for all the downloads he is tricking people into.
Click to expand...
Click to collapse
No, it failed also. Yes, it should be removed.
Ended up using http://forum.xda-developers.com/showthread.php?t=2446269 but for a strage reason Odin would not like it when I moved the .tar archive from a folder to an other from that method (I keep my pc organized), had to create the tar, flash it from that folder, then... deleted it because after I couldn't use it anymore.
dotuletz said:
No, it failed also. Yes, it should be removed.
Ended up using http://forum.xda-developers.com/showthread.php?t=2446269 but for a strage reason Odin would not like it when I moved the .tar archive from a folder to an other from that method (I keep my pc organized), had to create the tar, flash it from that folder, then... deleted it because after I couldn't use it anymore.
Click to expand...
Click to collapse
It won't trip knox, right?
Joker87 said:
It won't trip knox, right?
Click to expand...
Click to collapse
Flashing any modified boot / kernel / recovery trips Knox, doesn't matter what method you use. Sometimes even stock trips Knox as some users said.
What i did was take a stock rom from SamMobile that was 'hackable' through TowelRoot, extracted the kernel with WinRar, made the kernel flashable in Odin using that tool, flashed it via Odin, rooted device with TR, then used same steps to download,extract,make kernel bootable to restore my original kernel. Knox stayed 0x0 on i9195.
You can try reading about Heimdall. Supose you can flash without Odin and without converting. It would make your life easier, but for me it didn't work (didn't start on Win 64bit, i think i needed another MS visual c++ , a dependency of Heimdall).
ps.: the tool to create flashable archives would't work for me just by double-clicking, so I had to open an command prompt - CMD with admin rights, go to the directory where i had the tool and type ImgToTar.MD5.bat . Just put everything in C:\tool including recovery.img / boot.img or kernel.img then go start-> type in search box CMD -> right-click on the result and Run as admin -> in the black box type the next text followed by Enter key:
cd /
cd tool
ImgToTar.MD5.bat
I hope it works, i need it for the same reason of you, flashing an older kernel to root with towelroot keeping knox 0x0 at the end of this process

[TOOL][WIN]Convert folder to EXT4 format using Windows! Lollipop Supported(No Cygwin)

INTRODUCTION
{
"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"
}
Code:
*/WARNING
This tool is in [B]BETA[/B] phase and is not for noobs. If you use this, you are choosing to play with your device on your own.
I will not be responsible for any damage to your device or your belongings in your home.
If you blame me for anything that goes wrong I'll die laughing at you/*
Hello all!
Today I present you F2I converter. This tool can convert system folder back to ext4 image format suitable for flashtools without cygwin.
Basically, this tool was made in keeping mind the format used by lollipop structure where dat files were converted to ext4 format and then unpacked, repacking them was kind of hard (or lazy to do so in my case) as it required linux or Cygwin [Based on Xpirt's Guide. Now I've always preferred a way to avoid linux and cygwin
I managed to put together a set of tools that can easily convert the extracted system folder back to img for flashing and in lollipop can be converted back to dat format on windows.
So this is what this tool is capable of! If you on lollipop and want @xpirt guide to do so then here it is - [HOW TO] Lollipop DAT files | Compression and Decompression
FEATURES
• Supports all Android Versions
• Works without Linux or cygwin
• Generates Log that help to troubleshoot the issues
• No extra software required (Except Git for Windows)
• Supports both way conversion
• Suggest more features
• Much more to come!
HOW TO USE
You need GIT for windows to run this tool. Kindly download and install GIT from HERE
Now install GIT and when you're done download F2I converter and extract it in core C: directory. There will be a folder names as "IMG_WIN" kindly make sure it is extracted in C:
Recommended GIT is v 1.9.4 or newer.
Mostly everything is self-explanatory in the tool but when you will convert "SYSTEM" folder back to "EXT4 img" format you will be asked to enter size in bytes.
Here is what you are asked to do..
1) Open the system.img inside the respective folder you're working on and then right click on it and click Properties
2) In General tab you'll see something like this
Now copy the highlighted part and paste in the box shown below in image
Now you can continue. Ahead
DOWNLOADS
MAJOR LINK
MIRROR
BUGS
This tool is in BETA phase so you are likely to face some bugs. Though I have paid a lot of attention while creating this tool but you may encounter some small code errors (like path not found etc) I request you to kindly see for yourself and correct it.
You are likely to face this error mostly though
Code:
error in bla bla bla ..... failed to allocate block [NUMBERS] out of space?
If you encounter something like this then it will not work with your files. This will occur mostly in Android 2.3.x-4.4.x and in some cases with 5.0 and 5.1
I am trying to fix this issue. Please co-operate
Rest no major bug.
CREDITS
 @xpirt for his awesome guide on lollipop compression and decompression of dat files
Google for being so hepful :angel:
XDA for it's awesomeness
XDA:DevDB Information
[F2I Converter] Convert System folder into EXT4 Image without cygwin on Windows!, Tool/Utility for all devices (see above for details)
Contributors
Tech N You
Version Information
Status: Beta
Current Beta Version: v1.0
Beta Release Date: 2015-05-03
Created 2015-05-03
Last Updated 2015-05-03
Reserved.
Reserved Again.
Nice Dude ! extracted xolo one files using this ... hoping to port it for q700s
Great tool mate!
Enviado desde mi OnePlus One
Tech N You said:
.....This tool is in BETA phase so you are likely to face some bugs.....I request you to kindly see for yourself and correct it......
Click to expand...
Click to collapse
i've tried this. see the screenshot. i find only 2 files to copy back to my rom zip.
what about "file_contexts"? can/should the original be retained?
large size difference between original "system.transfer.list" and modified one ok?
Doesn't work for me. I'm unable to find system.img. So I downloaded "sda2img.exe" and I made system.img with it. Then, when I try to recompress system folder in DAT format, there is this problem ( see the screenshot ).
Then I noted that after using it, in "Working_Do_Not_Touch", system.transfer.list and system.new.dat get losts.
m0han said:
i've tried this. see the screenshot. i find only 2 files to copy back to my rom zip.
what about "file_contexts"? can/should the original be retained?
large size difference between original "system.transfer.list" and modified one ok?
Click to expand...
Click to collapse
AlessandroXCV said:
Doesn't work for me. I'm unable to find system.img. So I downloaded "sda2img.exe" and I made system.img with it. Then, when I try to recompress system folder in DAT format, there is this problem ( see the screenshot ).
Then I noted that after using it, in "Working_Do_Not_Touch", system.transfer.list and system.new.dat get losts.
Click to expand...
Click to collapse
Thanks for trying out the tool. You must use same file_contexts
As per your issue sir thing is the output is cleaned up and no file is left back. I request you to try the size from xpirts post on this. Kindly check that and reply back.
[system_new.img?]
Any ideas on how to fix this:
When I try repacking [system folder] back to [system.new.dat] the program throws an error : File not found -- system_new.img
MeTaL-01 said:
Any ideas on how to fix this:
When I try repacking [system folder] back to [system.new.dat] the program throws an error : File not found -- system_new.img
Click to expand...
Click to collapse
Option 4 is the correct one for Lollipop i see u chose option 3
Tech N You said:
....You must use same file_contexts.....
Click to expand...
Click to collapse
did so. upon trying to flash rom zip file, "error executing binary in zip....."
Tech N You said:
Option 4 is the correct one for Lollipop i see u chose option 3
Click to expand...
Click to collapse
I've tried both, none work
MeTaL-01 said:
I've tried both, none work
Click to expand...
Click to collapse
Okay then let me recheck whole thing and I'll revert back to you
ahh boy, you never cease to amaze me. Thanks for this
kirito9 said:
ahh boy, you never cease to amaze me. Thanks for this
Click to expand...
Click to collapse
Glad to know you liked this tool :good:
I keep getting a Permission denied error when using option 4. Any ideas why??
LupusGrande said:
I keep getting a Permission denied error when using option 4. Any ideas why??
Click to expand...
Click to collapse
Tool is not getting administrative privilege.
Kindly make your Windows user prompt to lowest
Tech N You said:
Tool is not getting administrative privilege.
Kindly make your Windows user prompt to lowest
Click to expand...
Click to collapse
after conversion there is nothing in system folder
well done bro ......................though small glitches bt overall grt tool (Y)
I can't convert the system folder back to dat files.
I use option 4 but nothing works.
Where I have to put the system.transfer.list and the system.new.dat?
What I have to do?

Categories

Resources