Related
This tool is an interactive console application. It makes it easier to use blob tools. All you have to do is run it, choose to unpack or repack. If you choose repack it will ask you to enter the name for each of the required files. After that it will due the rest.
Notice: You either have to enter the full, have the blob file in the same directory/folder or have change changed directories to the location of the blob. For example: cd /path/to/blob's Dir/
Update: I have fixed the case sensitivity issue.
Note: The attachments below will always be the latest.
ostar2 said:
I created an application to make BlobTools easier to use. It is an interactive console application. I made this because I wanted to be of some help to the community. Well anyways, here it is...
Click to expand...
Click to collapse
Files are corrupt. Try again please.
Regards,
Brad
bradslinux said:
Files are corrupt. Try again please.
Regards,
Brad
Click to expand...
Click to collapse
Those were compressed with the LZMA algorithm. Here try these ones there compressed with the normal zip compression for windows.
Edit: To prevent confusion I have removed these attachments please download from The Original Post. Thanks.
ostar2 said:
Those were compressed with the LZMA algorithm. Here try these ones there compressed with the normal zip compression for windows.
Click to expand...
Click to collapse
That did it, thanks.
Nice work.
Regards,
Brad
welcome..
Excellent! Thank you - these will aid me greatly!
I like to be of help to the community so I am happy that this helps others.
Sourcecode and Update
As I am unable to compile for Linux or mac at the moment here is the sourcecode for this tool.
This uses a Code::Blocks IDE for its project/workspace. It can be compiled with just a c++ compiler. The icon is only available on windows as I do not know to implement it on macosx and Linux does not support icons in executables. also, I have updated this application as well the updated binarie zip files and source zip are attached. Enjoy!
Edit: To prevent confusion I have removed these attachments please download from The Original Post. Thanks.
ostar2 said:
As I am unable to compile for Linux or mac at the moment here is the sourcecode for this tool.
This uses a Code::Blocks IDE for its project/workspace. It can be compiled with just a c++ compiler. The icon is only available on windows as I do not know to implement it on macosx and Linux does not support icons in executables. also, I have updated this application as well the updated binarie zip files and source zip are attached. Enjoy!
Click to expand...
Click to collapse
I tried to unpack a blob and it kept failing with an Invalid Option! error. I hit u then typed blob which was in the same directory. I then manually dragged the blob onto the blobunpack.exe and it unpacked it fine.
Any ideas why?
sbdags said:
I tried to unpack a blob and it kept failing with an Invalid Option! error. I hit u then typed blob which was in the same directory. I then manually dragged the blob onto the blobunpack.exe and it unpacked it fine.
Any ideas why?
Click to expand...
Click to collapse
I was unsure of what extenstion the blob file had when I created this. What extenstion do they have? is it .blob? If so I think i can fix it.
Update: Fixed Not unpacking
Hello again I fixed the tool it should work fine now.
Edit: To prevent confusion I have removed these attachments please download from The Original Post. Thanks.
ostar2 said:
I was unsure of what extenstion the blob file had when I created this. What extenstion do they have? is it .blob? If so I think i can fix it.
Click to expand...
Click to collapse
The blobs usually have no extension at all, and the extracted parts have a dot and the partition name as their last part, but I would not call these "extensions" (even if Windows disagrees with me).
_that said:
The blobs usually have no extension at all, and the extracted parts have a dot and the partition name as their last part, but I would not call these "extensions" (even if Windows disagrees with me).
Click to expand...
Click to collapse
Thanks, that makes more sense. Also, I am thinking about having BlobTools print the command usage in more detail or at least a "--help" command displaying detailed usage of BlobTools. Like, how to unpack and repack.
[WIP] New tool
I am going to make gui version of this using wxwidgets and also maby consolidate the two tools into one and then combine it with GUI. That would make it much better.
still getting the "invalid option" message :/
arminneman said:
still getting the "invalid option" message :/
Click to expand...
Click to collapse
Please re-download from the original post. It should work fine. If not let me know.
Ok, its updated let me know if any problems occur.
ostar2 said:
Ok, its updated let me know if any problems occur.
Click to expand...
Click to collapse
I try it on win 7 64bit, run as administrator BlobToolUI select u and blob the name of file and give this error:
Unable to open "b"
Can You help me?
Thanks
Riccardo.
cipolippo said:
I try it on win 7 64bit, run as administrator BlobToolUI select u and blob the name of file and give this error:
Unable to open "b"
Can You help me?
Thanks
Riccardo.
Click to expand...
Click to collapse
Is the blob you want to unpack in the same directory? If that does not work try adding a "." the end of the file name.
ostar2 said:
Is the blob you want to unpack in the same directory? If that does not work try adding a "." the end of the file name.
Click to expand...
Click to collapse
Yes is in the same directory, adding a "." the end of the file does not work..
work if I rename file "blob" in also "b" ?
Thanks.
Hey guys,
I know that many of you have given a bunch of solutions to the error message saying that the play store can't establish a reliable connection. However, I've tried all of those methods and none have worked. I got here in the first place because I couldn't connect to the play store. When I cleared data, I was logged out and couldn't log back in. I've tried editing the host file using total commander,clearing cache/data, and even a factory reset. Do you guys have any solutions? Thanks in advance.
Did you run Towelroot?
If so a friend of mine went into system/etc/hosts and commented out one of the IP addresses and it worked fine. Factory resetting doesn't change back system files to my knowledge.
TheLastSidekick said:
Did you run Towelroot?
If so a friend of mine went into system/etc/hosts and commented out one of the IP addresses and it worked fine. Factory resetting doesn't change back system files
to my knowledge.
Click to expand...
Click to collapse
I'm not sure what towel root is, but that is exactly what I did using total commander. I put a # before the second address. That didn't work. Also, since resetting won't change system files, I tried flashing a factory image. However, when I try to download the latest image on my PC, the download shows up as a document and not as a zipped file. That means that there is no flash-all script to run. I've reached a wall lol if you could think of anything that would work, I would appreciate that. Also, thanks for replying!
Winrarlabs.com and get latest WinRAR and extract the .tgz file with WinRAR to same directory as fastboot. Flash all script will be there once you extract .tgz
TheLastSidekick said:
Winrarlabs.com and get latest WinRAR and extract the .tgz file with WinRAR to same directory as fastboot. Flash all script will be there once you extract .tgz
Click to expand...
Click to collapse
So I zip the document, and then extract it to the fastboot directory?
Skippery said:
So I zip the document, and then extract it to the fastboot directory?
Click to expand...
Click to collapse
Or is there even a need to zip the file? Sorry real tech noob here
Skippery said:
Or is there even a need to zip the file? Sorry real tech noob here
Click to expand...
Click to collapse
Install winrar. Open the .tgz file via winrar and then extract all the files you get there. flash-all file will be among those files
vin4yak said:
Install winrar. Open the .tgz file via winrar and then extract all the files you get there. flash-all file will be among those files
Click to expand...
Click to collapse
Thanks guys
Skippery said:
Thanks guys
Do you know where I could install WinRar for free (Windows 8 64-bit)?
Click to expand...
Click to collapse
Here you go: http://www.filehippo.com/download_winrar_64/
Really appreciate this. Thanked ya both.
i made this small tool to Edit boot images on windows without Linux and cygwin.
i was carefull writing but even if there is any errors.. plz report bugs.
details is given in readme.
i searched over and over on google to find tool that works on windows but couldnt find any
finaly i decided to write my own.. and here is the tool.
New version available (1 aug 2014)
abimE v1.1R2
Hey first of all, nice tool. It seems to extract and recreate the boot.img file correctly although I haven't actually tested it yet.
However, I am getting some strange behavior with the header editor in Windows 7.
First, when selecting the attached image file to extract, I immediately get the error, "HeaderEditorERROR: File does not exists" in the log. This does not prevent me from extracting the image.
Then when attempting to edit the header info file extracted from this image I either get nothing or an overflow error which causes the application to crash.
ok buddy im looking for this
Sent from my Titanium S5 using XDA Free mobile app
temporarily.. you can solve this by deleting boot.img_out folder that you last time extracted..
header not found error:: this app automatically try to load last extracted bootimginfo file.. if it not exists.. it show this error.. its not to worry about.
Sent from my Titanium S5 using XDA Free mobile app
What can be the use of it? can you give more details?
nwalk7800 said:
Hey first of all, nice tool. It seems to extract and recreate the boot.img file correctly although I haven't actually tested it yet.
However, I am getting some strange behavior with the header editor in Windows 7.
First, when selecting the attached image file to extract, I immediately get the error, "HeaderEditorERROR: File does not exists" in the log. This does not prevent me from extracting the image.
Then when attempting to edit the header info file extracted from this image I either get nothing or an overflow error which causes the application to crash.
Click to expand...
Click to collapse
new version (abimE v1.1R2)available.. your reported bug is solved..
also have a look readme.txt inside the zip.
-- m9j_cfALt
net8 said:
What can be the use of it? can you give more details?
Click to expand...
Click to collapse
its used to edit boot.img and recovery.img
you may use it for theming purpose.
or making upgrading ROM
-- m9j_cfALt
m9j_cfALt said:
new version (abimE v1.1R2)available.. your reported bug is solved..
also have a look readme.txt inside the zip.
-- m9j_cfALt
Click to expand...
Click to collapse
Excellent, thank you for the fix. It is working without errors now.
I flashed the image to my device after changing a file and it worked perfectly. Thank you for the easy to use tool
Does not work. Getting a comdlg32.osx missing error.. Tried installing it to system32 from the net, but still does not work.. Did i spot that you used VB6 for this ? Why use something so old
error
Da9L said:
Does not work. Getting a comdlg32.osx missing error.. Tried installing it to system32 from the net, but still does not work.. Did i spot that you used VB6 for this ? Why use something so old
Click to expand...
Click to collapse
I get the same error. (Getting a comdlg32.osx missing error.) I am running Windows 8.1
Just download comdlg32.osx and stick it in the same folder.
Download Arquive OCX
Da9L said:
Does not work. Getting a comdlg32.osx missing error.. Tried installing it to system32 from the net, but still does not work.. Did i spot that you used VB6 for this ? Why use something so old
Click to expand...
Click to collapse
Download file >
View attachment COMCTL32.rar
Download File OCX
Da9L said:
Does not work. Getting a comdlg32.osx missing error.. Tried installing it to system32 from the net, but still does not work.. Did i spot that you used VB6 for this ? Why use something so old
Click to expand...
Click to collapse
Download File OCX
View attachment COMCTL32.rar
Download File OCX
iaTa said:
Just download comdlg32.osx and stick it in the same folder.
Click to expand...
Click to collapse
Download File OCX
View attachment COMCTL32.rar
Download File OCX
iaTa said:
Just download comdlg32.osx and stick it in the same folder.
Click to expand...
Click to collapse
Download File OCX
View attachment COMCTL32.rar
Interesting tool .... it won't unpack a Nexus 9 boot.img, though ...
Says not a valid Android boot img ...
do you still maintain this tool? cause i have successfully pack n repack but when i flash the packed boot.img the device boot into fastboot instead of system
Dont work with Wiko Pulp 3G Boot.img or recovery.img
Error Message:
MGError:byte 1Not a New ASCII Format CPIO directory Header
ERROR: Unpacking Failed!!
It will unpack s6 plus 7.0 boot.img but after repack if you try to flash it will not allow secure check fail boot
Hi!
I'd like to know where the OTAs are stored in our M2. Anyone that hasn't done yet the update download, and that has Root permissions, can use this app to find where they're stored, and if possible, upload it and post a link to it.
Thank you!
Do you still needed the file, sir ?
FunSucker said:
Do you still needed the file, sir ?
Click to expand...
Click to collapse
Yep. It's for some research
I think, the app didn't work sir. After I wait 30 minutes, none of the files were copied to my storage. Then I try searching using manual method, I found one file, the file size is as large as my OTA update. The nama file is "update-package".
The file extension is not ".zip", in the folder recovery (internal storage). My estimate, the file extension .LZMA or .tar.LZMA or .zipx.
I've tried to extract and decompress in the PC (windows os) using some programs, but failed.
If you still need the file, I'll upload it now .
FunSucker said:
I think, the app didn't work sir. After I wait 30 minutes, none of the files were copied to my storage. Then I try searching using manual method, I found one file, the file size is as large as my OTA update. The nama file is "update-package".
The file extension is not ".zip", in the folder recovery (internal storage). My estimate, the file extension .LZMA or .tar.LZMA or .zipx.
I've tried to extract and decompress in the PC (windows os) using some programs, but failed.
If you still need the file, I'll upload it now .
Click to expand...
Click to collapse
Yes please! Thanks
oke, sir. when finished i will share the link.
Oke sir, check this out --> Google Drive
FunSucker said:
Oke sir, check this out --> Google Drive
Click to expand...
Click to collapse
Great, thank you very much!
Okay, so this is what I got:
The update zip refuses to be flashed in UBL devices. FOTAkernel system is broken after you open the bootloader, which leads us with an unused partition (but that's other thing). The recovery logs just say: WARN: Status Rooted, ERR: Bootloader is unlocked.
I've tried to force it using AOSP Recovery commands
Code:
echo 'boot-recovery' > /cache/recovery/command
echo '--update_package=/sdcard/update.zip' >> /cache/recovery/command
reboot recovery
But just got a big nope.
So, now time to have a look at it. I tried to unpack it several times but no luck. The reason seems to be, very probably, because this is a LZMA compressed file (as 7-Zip reported) but with 2 additions at the end (which corrupts the entire read of it): An unencrypted/uncompressed XML which points out which is the software available right now in the phone (<source>), and which is the version that is going to be installed (<target>), plus, some a weird <generation> section. This is the XML
Code:
<?xml version='1.0' encoding='ISO-8859-1'?>
<metadata version="3.3">
<product>
<manufacturer>Sony</manufacturer>
<model>D2302</model>
<hwplatform>msm8226</hwplatform>
</product>
<update>
<generation>
<version>1.1.2</version>
<date>2015-12-28T12:10:19Z</date>
<rb_version>7.0.15.117</rb_version>
<rb_ua_version>7.0.15.117</rb_ua_version>
</generation>
<source>
<software>
<revision>18.6.A.0.175</revision>
</software>
<customization>
<variant>1281-0464</variant>
<revision>R2C</revision>
</customization>
</source>
<target>
<software>
<revision>18.6.A.0.182</revision>
</software>
<customization>
<variant>1281-0464</variant>
<revision>R2C</revision>
</customization>
</target>
</update>
</metadata>
And, right after that, I can perfectly see a SIN header, so I isolated it and, looks quite similar to the FOTAkernel.sin included in FTFs (330613072905Z010U S1_FOTA0 ‚"0), I personally guess it's a very, very small ELF binary, by the size of it.
So, the problem now comes to isolate the 3 parts, the LZMA file, the XML and the SIN, separetly. After that, I think we can probably have a look insde them.
How about linux os? Can we unpack or decompress that file on linux os, sir? Do you have tried?
FunSucker said:
How about linux os? Can we unpack or decompress that file on linux os, sir? Do you have tried?
Click to expand...
Click to collapse
I've tried many tools and combinations (ext4, .img, etc) and none of them worked... I'll think more about it.
What am I doing wrong... It says packed image not exist. I try to extract it but it just shows 8 text files. Can someone please help me. I'm starting to get a little pissed. Thank you
Same problem as me. I copied the extracted folder to Desktop and try open from there as administrator.
Anybody?
akinkoff85 said:
What am I doing wrong... It says packed image not exist. I try to extract it but it just shows 8 text files. Can someone please help me. I'm starting to get a little pissed. Thank you
Click to expand...
Click to collapse
Create new folder, place and extract the downloaded files in the same folder then open the extracted msm tool. Make sure you installed all drivers needed.
boybkol said:
Create new folder, place and extract the downloaded files in the same folder then open the extracted msm tool. Make sure you installed all drivers needed.
Click to expand...
Click to collapse
Can you send me the extracted msm tool?
akinkoff85 said:
Can you send me the extracted msm tool?
Click to expand...
Click to collapse
Don't know what MSM tool you need there are several here. Just download again the tool you need then put the file in a folder and extract the file in the same folder. You should be able to open it.
My msm tool won't open. No matter how may times I click to open it just won't open. If I click a lot it says running even though its not open. Anyone know what I can do to get this running?
bryanpen said:
My msm tool won't open. No matter how may times I click to open it just won't open. If I click a lot it says running even though its not open. Anyone know what I can do to get this running?
Click to expand...
Click to collapse
same here
rhodnie said:
same here
Click to expand...
Click to collapse
Also had this problem, had to restart the pc every time.
Also having the same problem. Installed and updated all drivers. Still will not even open, just throws the packed image not exist error and closes. Running as administrator, extracted and copied files to desktop, everything done as instructed.
iamthecarley said:
Also having the same problem. Installed and updated all drivers. Still will not even open, just throws the packed image not exist error and closes. Running as administrator, extracted and copied files to desktop, everything done as instructed.
Click to expand...
Click to collapse
That's because you are transferring downloaded zip via flash drive to another computer: it will never work. The file must be downloaded and unzipped on the same PC it was downloaded.