[Q] Is anyone able to extract contents of this update image? - Android Software/Hacking General [Developers Only]

MOMO7达人RK3066-V2RO-CN-V1.0-4.1.1 CUS-JRO03H-20121109 <<< Google this and the top hit should be the download page for the ROM I'm talking about. Sorry, I can't post links just yet!
It's for a Ployer Momo7 Talent (or Darren and I've also seen it referenced as Pro)
I'm trying to extract the contents of this img file under ubuntu with afptool. (the version of afptool for rk3066 devices)
When I try to do so, I get the following error:
invalid header magic
Click to expand...
Click to collapse
I can't find an explanation as to what this error code means.
Actually, I've tried a whole bunch of methods to attempt to get to the contents of the image but nothing seems to work.
Also found a similar issue on Windows with the same afptool app:
Check file... Failed
Unpack failed
Click to expand...
Click to collapse
Sort of making me wary of using this ROM at all! (even just for a straight up flash)
Anyone able to even so much as manage it at all?
Thanks,
Mark.

cacoe said:
MOMO7达人RK3066-V2RO-CN-V1.0-4.1.1 CUS-JRO03H-20121109 <<< Google this and the top hit should be the download page for the ROM I'm talking about. Sorry, I can't post links just yet!
It's for a Ployer Momo7 Talent (or Darren and I've also seen it referenced as Pro)
I'm trying to extract the contents of this img file under ubuntu with afptool. (the version of afptool for rk3066 devices)
When I try to do so, I get the following error:
I can't find an explanation as to what this error code means.
Actually, I've tried a whole bunch of methods to attempt to get to the contents of the image but nothing seems to work.
Also found a similar issue on Windows with the same afptool app:
Sort of making me wary of using this ROM at all! (even just for a straight up flash)
Anyone able to even so much as manage it at all?
Thanks,
Mark.
Click to expand...
Click to collapse
It needs to be unpacked with img_unpack first!

Related

[TOOL] Something to make BlobTools Easier to use

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.

[TOOL][Windows] abimE:: Android Boot Image Editor.. without Linux or Cygwin

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

[Q] stuck

Hello I am trying to flash the factory image on to my Nexus 5 with the flash all option in the zip file and it keep going missing boot.img as seen in the picture and I am unsure what to do at this point cause I disconnect my phone and it does boot up in to android 4.4.4 but I need help here
hell I would let some one remote connect if that helps any lol
Buckii said:
Hello I am trying to flash the factory image on to my Nexus 5 with the flash all option in the zip file and it keep going missing boot.img as seen in the picture and I am unsure what to do at this point cause I disconnect my phone and it does boot up in to android 4.4.4 but I need help here
hell I would let some one remote connect if that helps any lol
Click to expand...
Click to collapse
1) "Stuck" is NOT a question. Please use descriptive thread titles
2) You haven't unzipped the image-hammerheadxxx.zip that contains the images :/
but I have I followed the instructions to a T and put all file in the folder under platform tools
Buckii said:
but I have I followed the instructions to a T and put all file in the folder under platform tools
Click to expand...
Click to collapse
Not sure what instructions you've followed. Either they're incomplete or you made a mistake. Like I said, your screenshot shows a zip file. You need to unzip that in the location that it is in now
picture
rootSU said:
Not sure what instructions you've followed. Either they're incomplete or you made a mistake. Like I said, your screenshot shows a zip file. You need to unzip that in the location that it is in now
Click to expand...
Click to collapse
This is now what I have done you were right but still missing boot.img
Buckii said:
This is now what I have done you were right but still missing boot.img
Click to expand...
Click to collapse
Just fastboot flash it then.
Link to guides in my signature.
I have similar issues. Mine complains that the archive doesn't contain boot.sig and recovery.sig, and then it fails to allocate space and the update package missing system.img.
Going to do it manually now to see if it works
Desca said:
I have similar issues. Mine complains that the archive doesn't contain boot.sig and recovery.sig, and then it fails to allocate space and the update package missing system.img.
Going to do it manually now to see if it works
Click to expand...
Click to collapse
Mine shows same as you, but just reboot and it is working

OPPO R7S Factory Flasher - OR - I bricked my R7S Help!

Here you go guys. Please help each other out using this thread on the how to.
It is pretty straight forward. Just read the READ-ME folder.
I highly recommend using the Factory Flasher version A.05 !
Download Link here: https://mega.nz/#F!70hwFCTa!Kiy6R0TeL70QrLGuvOHFAA
ColorOS A.05 will allow for use of the OppoTools.
Which can be used to gain root access.
Such as seen on my guide here:
https://forum.xda-developers.com/r7...very-official-twrp-oppo-r7sf-3-0-2-0-t3358552
Look at the buttom for the PDF Guide.
Please do NOT PM me for help.
I won't reply. I already have hundreds of unread PM's. I simply don't have time for replying.
So please help each other out.
a short screenshot guide (NOT BY ME!):
just ignore the device model number shown in one of the screenshots and select the proper one.
Hey,
sorry to bug you, I know you're incredibly busy. I've gone to your provided link and downloaded the R7sfEX_11_A.05_151119 Factory Flasher file.
Only thing is - there is no readme. Not in the archive, not at your link. I need the readme to know what to do.
Am I being stupid, or is it nowhere to be found?
Cheers
zaako said:
Hey,
sorry to bug you, I know you're incredibly busy. I've gone to your provided link and downloaded the R7sfEX_11_A.05_151119 Factory Flasher file.
Only thing is - there is no readme. Not in the archive, not at your link. I need the readme to know what to do.
Am I being stupid, or is it nowhere to be found?
Cheers
Click to expand...
Click to collapse
i just noticed the DownloadTool is missing from the A.05 package.
Do this to unbrick:
download the R7sfEX_11_A.06_151210.7z package.
unpack it and install the Qualcomm Driver in the READ-ME folder.
run the "Msm8x39DownloadTool.exe" select the device model which is listed in the "Instructions.txt"
with this package your R7S is unbrickable.
if you want the A.05 version.
do the same just copy the md5sum.exe and Msm8x39DownloadTool.exe from the A.06 package to the A.05 package and follow the same procedure.
at everyone using those packages.
feel free to write a step by step instruction (maybe with screenshots) and include it in this thread!
i've uploaded one older version and the latest i could find to my archive.
older version R7sfEX_11_A.03_151105.7z (rooting works with OppoTools)
newer version R7sfEX_11_A.11_160721.7z (rooting does not work with OppoTools, downgrade to A.05!)
i also came across a possible list of factory flasher versions.
R7sfEX_11_A.03_151105.tar.bz2 (in archive)
R7sfEX_11_A.05_151119.tar.bz2 (in archive)
R7sfEX_11_A.10_160421.tar(1).bz2 (missing)
R7sfEX_11_A.11_160721.tar.bz2 (in archive)
R7sfEX_11_A.12_160809.tar.bz2 (missing)
R7sfEX_11_A.13_170311.tar.bz2 (missing)
if anyone comes across one of the missing packages. please mirror a direct download link and i will push it into my mirror.
Can this thread be updated. Had an old phone lying around and need to reflasg. Cant get into download mode.
Thanks guys x

How can I unpack .mbn files?

Hello all, I am trying to unpack man files to add volte support to a device that has all the hardware needed, but it is not enabled in software and I would like to try and change that. From all my research the files I need are all in the baseband and in .mbn file format, but I cannot find out how to unpack them. Any help would be appreciated!
ghidra or IDA
I'm more conversant with Qualcomm ELF files, hashing, signing and certs.
These seem to have replaced the older MBN.
MBN files are signed. If you mod you'll have to work around this somehow.
See: https://github.com/openpst/libopenpst/blob/master/include/qualcomm/mbn.h
https://github.com/jnaulet/dloadtool/blob/master/mbn.h
Renate said:
I'm more conversant with Qualcomm ELF files, hashing, signing and certs.
These seem to have replaced the older MBN.
MBN files are signed. If you mod you'll have to work around this somehow.
See: https://github.com/openpst/libopenpst/blob/master/include/qualcomm/mbn.h
https://github.com/jnaulet/dloadtool/blob/master/mbn.h
Click to expand...
Click to collapse
I see. This device is quite old and well, to say the least it isn’t an android device either. I’m assuming I would need to find a workaround for this even as it’s running an os that’s nearly a decade old now?
I know that the carrier bundles on this device are signed as well, but people were able to get around that, and this chip was supposedly made with the hexagon DSP and Qualcomm has documentation on how to program for this specific chip/version
aIecxs said:
ghidra or IDA
Click to expand...
Click to collapse
Unfortunately these don't appear to work, or im using them incorrectly
well, maybe you're not an reverse engineer
aIecxs said:
well, maybe you're not an reverse engineer
Click to expand...
Click to collapse
Maybe it’s my first time even hearing of either of those programs and can’t even get one of them to launch without insta crashing, and the other spitting out an error whenever I try to unpack the files.
no problem. just 10 year studying stuff and try again
https://github.com/lololosys/awesome-baseband-research
Hi,
I've probably managed to reverse engineer the MBN. I was able to create my own MBN and load it back.
If anyone wants to get an information, send me a message
RockL79 said:
Unfortunately these don't appear to work, or im using them incorrectly
Click to expand...
Click to collapse
rename it to *.zip
Vortuks said:
Hi,
I've probably managed to reverse engineer the MBN. I was able to create my own MBN and load it back.
If anyone wants to get an information, send me a message
Click to expand...
Click to collapse
they are only ELF files packed in an image, aren't they?
yeah ELF files, with 3 segments. I'm not sure about my knowledge about ELF vs MBN, but I've managed & have a program to extract $ repackage back. I've tested it on Pixel 2 XL and it's working (added support for my country).
WoKoschekk said:
rename it to *.zip
Click to expand...
Click to collapse
unfortunately that didnt work for me either. It could be that the device im trying to work on is quite old and maybe something else has changed since then

Categories

Resources