Any one knows how to extract a binary patched file
I was extracting files from ota update and I found a .p file
I need to extract the file, so if anyone can help me
manishnraj said:
Any one knows how to extract a binary patched file
I was extracting files from ota update and I found a .p file
I need to extract the file, so if anyone can help me
Click to expand...
Click to collapse
Unzip the OTA zip, which can be found on General section stickies.
Sent from my Nexus
Related
can u point out the folder???
It resides in the User Temp folder of your windows user profile.
And is deleted as soon as the firmware upgrade is completed on your phone.
can you post the exact compressed file name..what zip utility are you using.
I know winzip is suck..cant unzip alot of stuff.
What size is the package file ?
if the package is stored on non-english characters..that post problem too.
Its just any random file name ending with a TMP extension. Its about 257MB.
e.g. tmp2EFA.tmp
Still no leads to opening this file.
Post the first line of the file: some formats are identifiable based on their opening signature.
Sent from my GT-I9000 using XDA App
i2umi said:
Its just any random file name ending with a TMP extension. Its about 257MB.
e.g. tmp2EFA.tmp
Still no leads to opening this file.
Click to expand...
Click to collapse
What unzip program are you using ?
Can you try change the extension to .7z and use WinRar to unzip it..Winzip no go
Before Kies starts to flash the firmware, it decrypts the .tmp file to .zip file in the same directory. When Kies update window says "Extracting binary file" or something like that, you can copy the zip file from temp directory. It contains one tar and one dll file. Tar file can be flashed with Odin
Norpa76 said:
Before Kies starts to flash the firmware, it decrypts the .tmp file to .zip file in the same directory. When Kies update window says "Extracting binary file" or something like that, you can copy the zip file from temp directory. It contains one tar and one dll file. Tar file can be flashed with Odin
Click to expand...
Click to collapse
If that's the case, are there any other ways to decrypt this file back to zip directly than doing the whole upgrade thing again just for the zip?
hmanxx said:
What unzip program are you using ?
Can you try change the extension to .7z and use WinRar to unzip it..Winzip no go
Click to expand...
Click to collapse
Tired all. no go.
i2umi said:
Tired all. no go.
Click to expand...
Click to collapse
Use the method given on post #8
Hi all,
I've extracted rom from 2.17.401.2 ruu with dsixda kitchen and downloaded ota.zip 3.09.401.100. I want to update my rom with files from ota.zip. So i guess i have to do this? :
* copy and replace all files from ota.zip/system to working/system
* adding/replacing file contents from ota.zip/patch/system to working/system excisting files. (I can't find anything about what to do with .p files,)
* copy and replace boot.img from ota/zip/firmware to working/
* let kitchen create a updater script and update binary.
So i'm looking for any hints or solutions for these .p files and confirmation for these steps ( and/or adding missing parts)
Kind regards l3inky
bump
l3inky said:
Hi all,
I've extracted rom from 2.17.401.2 ruu with dsixda kitchen and downloaded ota.zip 3.09.401.100. I want to update my rom with files from ota.zip. So i guess i have to do this? :
* copy and replace all files from ota.zip/system to working/system
* adding/replacing file contents from ota.zip/patch/system to working/system excisting files. (I can't find anything about what to do with .p files,)
* copy and replace boot.img from ota/zip/firmware to working/
* let kitchen create a updater script and update binary.
So i'm looking for any hints or solutions for these .p files and confirmation for these steps ( and/or adding missing parts)
Kind regards l3inky
Click to expand...
Click to collapse
.p file means path file
.p file + old file = new file
I want to try this method to update from a OTA.zip too, please anyone confirm or correct this method. My situation: Lenovo p1ma40 with superSu, busybox, and Stock recovery (i keep stock recovery for update ota but turn out it still cant update).
Hi, I am new to Android and rooting and I am attempting to root my Galaxy S3 and I have been following mr.Robinsons guide. However I can't manage to get the .tar file I need. I download the AT&T RAR, extract it and see 10 or so files with Recovery images,boot image, mbn files..etc.
Why is this happening?
Anyone aware of what to do?
GilaMonster1 said:
Anyone aware of what to do?
Click to expand...
Click to collapse
Just google UNRAR.
GilaMonster1 said:
Hi, I am new to Android and rooting and I am attempting to root my Galaxy S3 and I have been following mr.Robinsons guide. However I can't manage to get the .tar file I need. I download the AT&T RAR, extract it and see 10 or so files with Recovery images,boot image, mbn files..etc.
Why is this happening?
Click to expand...
Click to collapse
I reread his guide, just to be sure I got my instructions correct. You should have downloaded a .7z file. Extract that and now you have a .tar file. Do not extract it. Open up Odin, click on pda, and point it to the tar file.
Here are the tools needed for file extraction of system.img and
TAR MD5 packing for ODIN flash, it means you could do your package with only the files to want to flash in ODIN, for me this tools are very useful.
ALL IS WORKING FLAWLESS WITH LOLLIPOP
http://www23.zippyshare.com/v/4v1wFBtL/file.html
Explanation:
------
For unpacking the system.img
NEWIMG2EXT2 system.img systemext2.img <- It converts ODIN images to EXT2 filesystem
Read the file systemext2.img with ext2explore and extract any file you want
NOTE: newimg2ext2 is renamed from the original file name SVAImgUnpack, credits to @svadev
-------
For packing files for ODIN, I made an example file that is named modem2tarmd5.bat, this pack modem.bin into modem.tar.md5 ready to be flashed with ODIN,
edit the .bat and use with the files you like.
Yes!! I have asked countless people and put a thread up but nobody answered. Thank you very much for this tool! I used to use EXT2EXPLORE on KitKat with my S4 Mini, now I can use it on my S6. Thank you!!
citytrader said:
Here are the tools needed for file extraction of system.img and
TAR MD5 packing for ODIN flash, it means you could do your package with only the files to want to flash in ODIN, for me this tools are very useful.
ALL IS WORKING FLAWLESS WITH LOLLIPOP
http://www23.zippyshare.com/v/4v1wFBtL/file.html
Explanation:
------
For unpacking the system.img
NEWIMG2EXT2 system.img systemext2.img <- It converts ODIN images to EXT2 filesystem
Read the file systemext2.img with ext2explore and extract any file you want
NOTE: newimg2ext2 is renamed from the original file name SVAImgUnpack, credits to @svadev
-------
For packing files for ODIN, I made an example file that is named modem2tarmd5.bat, this pack modem.bin into modem.tar.md5 ready to be flashed with ODIN,
edit the .bat and use with the files you like.
Click to expand...
Click to collapse
I'm FRP boot loop locked on my G928W8 and I can't fix it because stock firmware isn't available on sammobile yet. Can this tool be used by someone with the stock firmware to pull it off and fix my problem? Does it require root to make the image?
I need a stock firmware image before the battery runs down even while off. So if someone can extract their stock firmware then it could really save my phone. Is this something the tool could be used for, or would the md5 not be the same as the actual stock firmware so the FRP lock would stay?
thismonk said:
I'm FRP boot loop locked on my G928W8 and I can't fix it because stock firmware isn't available on sammobile yet. Can this tool be used by someone with the stock firmware to pull it off and fix my problem? Does it require root to make the image?
I need a stock firmware image before the battery runs down even while off. So if someone can extract their stock firmware then it could really save my phone. Is this something the tool could be used for, or would the md5 not be the same as the actual stock firmware so the FRP lock would stay?
Click to expand...
Click to collapse
You need someone that can dump the partitions of their phone and flash that partitions to your phone, you need to understand a bit the procedure before flashing with ODIN
citytrader said:
Here are the tools needed for file extraction of system.img and
TAR MD5 packing for ODIN flash, it means you could do your package with only the files to want to flash in ODIN, for me this tools are very useful.
ALL IS WORKING FLAWLESS WITH LOLLIPOP
http://www23.zippyshare.com/v/4v1wFBtL/file.html
Explanation:
------
For unpacking the system.img
NEWIMG2EXT2 system.img systemext2.img <- It converts ODIN images to EXT2 filesystem
Read the file systemext2.img with ext2explore and extract any file you want
NOTE: newimg2ext2 is renamed from the original file name SVAImgUnpack, credits to @svadev
-------
For packing files for ODIN, I made an example file that is named modem2tarmd5.bat, this pack modem.bin into modem.tar.md5 ready to be flashed with ODIN,
edit the .bat and use with the files you like.
Click to expand...
Click to collapse
How can we use it;;it gives wrong parameter if executed.needs editing;;the newimgext2 ??
citytrader said:
For unpacking the system.img
NEWIMG2EXT2 system.img systemext2.img <- It converts ODIN images to EXT2 filesystem
Read the file systemext2.img with ext2explore and extract any file you want
Click to expand...
Click to collapse
Works fine ! I tried a lot of methods to do the same thing, of firmware Lollipop Samsung Galaxy S6 and S5 neo. This method is the only one which works. Thanks !
Very good love it, works even on Nougat (S7).
Hello all, I need some help finding the .tar or the .md5 file from the stock ROM zip file (Tab Pro 8.4).
I am trying to flash / revert back to stock ROM and recovery, since I am giving this tablet to my nephew. I've downloaded the official firmware directly from Samsung, I've downloaded Odin V3.07 and the samsung drivers are installed on my laptop. I've used Odin before, to flash files (months ago), but where I'm getting stuck is on Odin when I go to select the .tar or the .md5 file form the zip, I can't locate the files. I've extracted them several times using different methods, but not a single time have I been able to extract a .tar or .md5 file, all I get is: META-INF folder, system folder and boot disk image, no .tar or .md5 file anywhere in the folders either.
Am I an idiot here or what am I doing wrong that I don't get the .tar or .md5 file?
Any help is appreciated, thanks!
i am not sure where you downloaded it from. i took it from sammobile and the name of the zip is: T320XXU1BNI1_T320DBT1BNJ1_DBT.zip inside it being a file named: T320XXU1BNI1_T320DBT1BNJ1_HOME.tar.md5
PS: i have a german device thats why the DBT code...please download yours...
mospantagruel said:
i am not sure where you downloaded it from. i took it from sammobile and the name of the zip is: T320XXU1BNI1_T320DBT1BNJ1_DBT.zip inside it being a file named: T320XXU1BNI1_T320DBT1BNJ1_HOME.tar.md5
PS: i have a german device thats why the DBT code...please download yours...
Click to expand...
Click to collapse
I am downloading it one more time from sam mobile just to make sure. How did you extract the zip (what program)? 7zip, winrar, etc?
i think i know whats going on. i use winrar for windows you probably use something else. inside .zip there is a .md5 file but inside .md5 file there are meta folders etc. some software consider it being an archive inside an archive and it doesn't even bother to tell you that probably it's extracting folders directly...
mospantagruel said:
i think i know whats going on. i use winrar for windows you probably use something else. inside .zip there is a .md5 file but inside .md5 file there are meta folders etc. some software consider it being an archive inside an archive and it doesn't even bother to tell you that probably it's extracting folders directly...
Click to expand...
Click to collapse
use 7 zip, there should be a .tar.md5 in the .zip only extract the .tar.md5. dont extract anything from the tar.md5. just select the tar.md5 in odin after you put your device in download mode