Convert IMG into Odin flashable TAR.MD5 - Galaxy Note 3 General

Hello dear humans,
This tutorial will help you convert simple IMG files into TAR.MD5, which is flashable using Odin (Mobile or PC version both).
For this you need to install JAVA JDK and Cygwin from the links below.
JAVA JDK: http://www.oracle.com/technetwork/ja...s-2133151.html
Cygwin: content.wuala.com/contents/neroyoung/XDA%20ROM%20Dev%20Tools/Cygwin.zip
How to install?
-Before doing anything, install Java then install Cygwin by extracting the zip and then extracting the cygwin_packages.zip, Run the cygwin.exe setup and select "Install from local...." then select the folder containing extracted files from cygwin_packages.zip, then click the "S" like button on all
and install in a folder you can access easily using commands.
(THE ABOVE LINKS ARE ONLY FOR WINDOWS VERSION OF JDK AND CYGWIN, IF YOU WANT TO INSTALL IN OTHER OPERATING SYSTEMS SO PLEASE GOOGLE IT. #IN LINUX DON'T INSTALL ANYTHING JUST DO IT IN THE TERMINAL)
Now in folder installed cygwin, go to home open cygwin.exe or open it from the shortcut in your desktop (THE IMG FILE AND CYGWIN MUST BE IN SAME FOLDER), lets name our IMG file recovery.img, in cygwin type the following commands without $ [Because cygwim already types $ before a command]
$ tar -H ustar -c recovery.img >
recovery.tar
$ md5sum -t recovery.tar >> recovery.tar
$ mv recovery.tar recovery.tar.md5
Congrats you've successfully concerted your IMG file.to Odin flashable TAR.MD5
Hit Thanks if this helped you.

The [TOOL] TAR.MD5 PACKAGER make it easy. From Dev. A.S._id. Thanks @A.S._id
Link HERE.

ValenteL said:
The [TOOL] TAR.MD5 PACKAGER make it easy. From Dev. A.S._id. Thanks @A.S._id
Link HERE.
Click to expand...
Click to collapse
Thank you for your help to the people!
But i want people to know more about using linux and it's commands.

f_u_006 said:
Thank you for your help to the people!
But i want people to know more about using linux and it's commands.
Click to expand...
Click to collapse
I'm Sorry, in this case is a good idea. I don't know Linux and must use that tools.

ValenteL said:
I'm Sorry, in this case is a good idea. I don't know Linux and must use that tools.
Click to expand...
Click to collapse
Good, But my dream is to become a developer!

f_u_006 said:
Good, But my dream is to become a developer!
Click to expand...
Click to collapse
You are a young man You can. Good luck for it.
But me I'm a old man and can't learn more. I tried twice learn Linux but... I not like it. I'm a Windows man.
---------- Post added at 10:28 AM ---------- Previous post was at 10:16 AM ----------
Anyway, I ripe the cache.img or cache.img.ext4 to have the CSC that it have whit this: http://forum.xda-developers.com/showthread.php?t=2666907
But after modify the CSC I need make the inverse, from a folder whit CSC, remake the .img or .img.ext4 to replace the oldest. I don't know make this.
You know something about?
Thanks

ValenteL said:
You are a young man You can. Good luck for it.
But me I'm a old man and can't learn more. I tried twice learn Linux but... I not like it. I'm a Windows man.
---------- Post added at 10:28 AM ---------- Previous post was at 10:16 AM ----------
Anyway, I ripe the cache.img or cache.img.ext4 to have the CSC that it have whit this: http://forum.xda-developers.com/showthread.php?t=2666907
But after modify the CSC I need make the inverse, from a folder whit CSC, remake the .img or .img.ext4 to replace the oldest. I don't know make this.
You know something about?
Thanks
Click to expand...
Click to collapse
Sorry i didnt got ya!
You said you extracted and modified img and added the CSC?#?#

f_u_006 said:
Sorry i didnt got ya!
You said you extracted and modified img and added the CSC?#?#
Click to expand...
Click to collapse
After ripe the cache img i have a foder csc called /system like the csc in on the Rom's.
But the Rom's whit multi-csc OXXENB1 have all XEO from Poland by default. I made that MOd's csc to install my TPH becuse the ROM to PORTUGAL HAVE XEO by Default. But I needd root for that.
Then I want put TPH by default on system/csc from .img file and remake it to include on Rom and flash it, to have TPH at end by default on my Rom.

ValenteL said:
After ripe the cache img i have a foder csc called /system like the csc in on the Rom's.
But the Rom's whit multi-csc OXXENB1 have all XEO from Poland by default. I made that MOd's csc to install my TPH becuse the ROM to PORTUGAL HAVE XEO by Default. But I needd root for that.
Then I want put TPH by default on system/csc from .img file and remake it to include on Rom and flash it, to have TPH at end by default on my Rom.
Click to expand...
Click to collapse
LMAO, What phone are you using?
You mean your trying to add root or some other modifications to your rom and then flash it?

Related

<KANE>How to make i9003 straight flash pack (system embedded cf-root, ext4, deodex)

<KANE>How to make i9003 straight flash pack (system embedded cf-root, ext4, deodex)
Most of the theme is zip format and flash with CWM,but so many people still don't know how to made the zip.So I make one tutorials for the people who don't know (EX:CF-Root,ext4,deodex and bla bla bla)
1.First,wipe data and cache
2.Flash the rom that you want via odin
3.Flash CF-Root(UC kernel also can)via odin
4.Open CWM,flash the deodex(zip)(how to make?google search )
5.When you want to convert you system to ext4 format,backup your rom via CWM firstAfter backup finnish,back to main menu,flash the ext4 format file(zip),restore the rom,than your system are fully convert to ext4 format!
6.After finnish first 5 step,use ADB tool
7.Go to wireless and network/USB setting,select "mass storage" ,and then Open "USB debugging" at applications/development ,open CMD(computer)
type “adb shell” and then connect to computer via USB,press enter,and than type
"dd if=/dev/block/stl9 of=/sdcard/system.rfs bs=4096" then system.rfs will copy to internal SDcard(The system.rfs copy at here is included cf-root,ext4 and deodex)
8.Package it need to use linux system(Virtual Machine also can),at least linux 6 or Ubuntu 10
only linux 6 or above support ext4 format system file! If the version lower than 6 that the system.rfs cannot be mount
9.If you want further modify system.rfs, use terminal,type
mount:mount -o loop system.rfs /root/system/
unmount:umount /root/system/
note:(the path above is me own use! I create folder at / , switch to my new file directory, execute this command!
mount before modify,then after unmount it can be save
10.Package it ,must be add boot.bin Sbl.bin param.lfs normalboot.img system.rfs modem.bin and cache.rfs of the original rom,only can flash with this
now we need to cover the system.rfs with after modify one
Cover the normalboot.img in CF-ROOT into it.And cover the cache.rfs with after convert to ext4 one,and add userdata.rfs file
(you can get the cache.rfs and userdata.rfs at attachment, all rom also can use it!)Now you can package it
go to terminal with linux,cd Command change to the folder you create before this, put the boot.bin Sbl.bin param.lfs normalboot.img(cf-root one) system.rfs(modify one) modem.bin cache.rfs(cover one) userdata.rfs(add one)to the folder
Execute the command "tar cf PDA.tar boot.bin Sbl.bin param.lfs normalboot.img system.rfs modem.bin cache.rfs userdata.rfs" to package it!
PDA.tar is the file after synthesis ,and you can add other file if you want
11.And then copy the PDA.tar to desktop,flash with odin!dont forget to flash with pit file!Why must use pit file and userdata.rfs? Because pit file and userdata.rfs will re-partition and reset all user data ! So all version also can flash the zip file and no need to rely on other versions(pit can get at attachment)!
If it is not very good please tell me! Thanks for your support!
Hopes:
1.most of the XDA people are very pro,and I hope you can make a tutorials when you make a new thing
2.At china,so many people use I9003,so many people at XDA too!!so we hope when you create a new thing can add chinese!
(only hope,not force you!thank you!)
Wow i was sear hing just this in all the forum!! Thanks!!
Enviado desde mi GT-I9003 usando Tapatalk
thank you!!
This is awesome. Thanks
Sent from my GT-I9003 using XDA App
I am reading everything a lot of times, to be sure of that I understand everything. Could anybody explain me this? I don't understand...
go to terminal with linux,cd Command change to the folder you create before this, put the boot.bin Sbl.bin param.lfs normalboot.img(cf-root one) system.rfs(modify one) modem.bin cache.rfs(cover one) userdata.rfs(add one)to the folder
Click to expand...
Click to collapse
Hello Kane, if i understood you, with this procedure i can make a PDA.tar file to flash with ODIN but i also need a pit file althaugh it's a single file. Am i wright?
I could use this method to get a full pda.tar with the firmware i am looking for (i mean, if i get an i9003 phone with that firmware)?
I will explain myself:
recently i poste this question in here http://forum.xda-developers.com/showthread.php?p=20360464#post20360464:
Uan_ar said:
Hi people, i'm looking for the firmware UBKPD (2.3.6) wich is the one that is the update from UBKB1 (2.2.1) by kies in Argentina. I would like to get the official and unbranded, but in the official roms threads of sammobile or sampro.pl it didn't appear yet (like the XXKPQ in sammobile).
If anyone get it or if is possible to get it from Samsung i would be pleased.
On the other hand, if anyone can tell me if it's possible to extract it from a updated phone and to make a .tar file to flash to others it would be helpful also.
Thank you very much in advance.
Click to expand...
Click to collapse
If i get a phone with the UBKPD firmware, can i make a "UBKPD_PDA.tar" file? What else do i need to put it in my phone (i got now intalled the XXKPQ)? Should i flash it over XXKPE (ginger, 4 files) or mi old official froyo (UBKB1)?
Thank you very much in advance. Greetings from Argentina.
HI,luiseteyo!Steps should be so!
put the “boot.bin” “Sbl.bin” “param.lfs” “normalboot.img”(cf-root one) “system.rfs”(modify one) “modem.bin” “cache.rfs”(cover one) “userdata.rfs”(add one)to a new folder, then go to terminal with linux,use "cd" Command change to this folder and type :
"tar cf PDA.tar boot.bin Sbl.bin param.lfs normalboot.img system.rfs modem.bin cache.rfs userdata.rfs"
hi,Uan_ar
yes,u need a pit file..it can be found everywhere lol
sure,there is no doubt that u can make a "UBKPD_PDA.tar" file use this method..and u can flash it over every rom
i just wan to say about the ugly typesetting...= - =
and it's nice ... good job...haha
CHINA-KANE said:
hi,Uan_ar
yes,u need a pit file..it can be found everywhere lol
sure,there is no doubt that u can make a "UBKPD_PDA.tar" file use this method..and u can flash it over every rom
Click to expand...
Click to collapse
OOkey, now I understood. But one more thing. I put the device in debugging mode and massive also. I conect it, I open cmd, I write the location of the adb with:
Code:
C:\Users\***\Desktop\ADB
Then I type:
Code:
adb shell
and then the code to backup system.rfs, but it does nothing in the phone and nothing in the cmd, do I have to wait? Thank you very much!!
EDIT: I answer myself. You have to wait despite it doesn't say nothing. The system.rfs backup is in the internal card (in my case)
CHINA-KANE said:
hi,Uan_ar
yes,u need a pit file..it can be found everywhere lol
sure,there is no doubt that u can make a "UBKPD_PDA.tar" file use this method..and u can flash it over every rom
Click to expand...
Click to collapse
Thank you very much Kane. I don't have any difficulties to find the pit, as you said is everywhere. However, my question was made in base that i never used pit when flashing just one pda.tar file.
What happens if i don't add the userdata.rfs? this pda.tar will work also on any other phone? which is te data that goes there? I´m asking you this because i don´t need/want the data from other phones (personal data, imei, etc.) i just want try to make a flashable update firmware for all the argentinian android i9003 comunity.
thanks again, and again
Interesting and useful. I thing the next link is useful: http://forum.xda-developers.com/showthread.php?t=1132724
userdata.rfs must be added, when the district needs it! Any ROM like this!
After connecting phone, enter the command directly in the CMD adb shell, do not brush into the ADB!
my bad ,,,,,,,,
sakindia123 said:
my bad ,,,,,,,,
Click to expand...
Click to collapse
for what?
hey,do u need to like 'sign' the system.img after combining it with pda?coz i always get 'PDA Invalid"

Samsung Full/4Files Firmware Maker For Windows

This tiny program allow you to create Samsung 4Files Firmware/Rescue Firmware that will include PDA, MODEM, CSC, BOOTLOADER.
Firstly, I would like to thank jamesjerss for his shell execution on Cygnwin.
But this utility aint need Cygwin anymore.
And my friend , Ye Lin Aung ( Myanmar MPX-Team ) for helping me
Usage:
1. Click Open to choose .tar.md5 which is in your firmware zip
Click Unpack button to unpack rom first
Finally , click Make button and wait for finished
4 files will out in Samsung Firmware Maker’s directory
Requirement: Microsoft DotNet 4.0 Framework
Dependencies: libarchive2, bzip, ICSharpCode’s ShareZipLib, CustomControls, sfk
for any bugs and feedback .. : [email protected]
TwizzyIndy said:
This tiny program allow you to create Samsung 4Files Firmware/Rescue Firmware that will include PDA, MODEM, CSC, BOOTLOADER.
Firstly, I would like to thank jamesjerss for his shell execution on Cygnwin.
But this utility aint need Cygwin anymore.
And my friend , Ye Lin Aung ( Myanmar MPX-Team ) for helping me
Usage:
1. Click Open to choose .tar.md5 which is in your firmware zip
Click Unpack button to unpack rom first
Finally , click Make button and wait for finished
4 files will out in Samsung Firmware Maker’s directory
Requirement: Microsoft DotNet 4.0 Framework
Dependencies: libarchive2, bzip, ICSharpCode’s ShareZipLib, CustomControls, sfk
for any bugs and feedback .. : [email protected]
Click to expand...
Click to collapse
this tool wrong worked, beacause put the img partitions to c:/samsung folder (in tar.md5 package) !!
new vers. pls mr. TwizzyIndy.. i9301i not supported !!!
Thankssssss
Thanks bro,this is really great
Trying this tool .......
TwizzyIndy said:
This tiny program allow you to create Samsung 4Files Firmware/Rescue Firmware that will include PDA, MODEM, CSC, BOOTLOADER.
Firstly, I would like to thank jamesjerss for his shell execution on Cygnwin.
But this utility aint need Cygwin anymore.
And my friend , Ye Lin Aung ( Myanmar MPX-Team ) for helping me
Usage:
1. Click Open to choose .tar.md5 which is in your firmware zip
Click Unpack button to unpack rom first
Finally , click Make button and wait for finished
4 files will out in Samsung Firmware Maker’s directory
Requirement: Microsoft DotNet 4.0 Framework
Dependencies: libarchive2, bzip, ICSharpCode’s ShareZipLib, CustomControls, sfk
for any bugs and feedback .. : [email protected]
Click to expand...
Click to collapse
The created tar files are wrong, they are created with subfolders inside (c:/samsung/), am I doing something wrong?
?
So is it good or not
New Version
Hello, Thanks For This Awesome Soft, Please Update
All Files aren't supported By Your Soft,
no support for galaxy J7
does not extract all files, just select few. Garbage.
Thanks man it works
Currently not working, Hasn't been updated in a while...

how to create a boot.tar.md5 file from img For Odin

how to create a boot.tar.md5 file from img For Odin please
I already try with the script of this post => http://forum.xda-developers.com/showthread.php?t=2446269 but it does not work , Rodin speaks of a problem md5.
I join my boot.img if someone could make me a boot flashable via odin I should thank him !
link boot.img => boot.img
naudmick said:
how to create a boot.tar.md5 file from img For Odin please
I already try with the script of this post => http://forum.xda-developers.com/showthread.php?t=2446269 but it does not work , Rodin speaks of a problem md5.
I join my boot.img if someone could make me a boot flashable via odin I should thank him !
Click to expand...
Click to collapse
try this in terminal(if you use linux)
"tar cvf mykernel.tar boot.img"
don't forget to cd to directory of the boot.img file.
neonkat said:
try this in terminal(if you use linux)
"tar cvf mykernel.tar boot.img"
don't forget to cd to directory of the boot.img file.
Click to expand...
Click to collapse
try does not work via terminal emulator ! pc windows 10 no Linux
no way to flash a boot.img via odin ???
naudmick said:
try does not work via terminal emulator ! pc windows 10 no Linux
no way to flash a boot.img via odin ???
Click to expand...
Click to collapse
try this:-http://forum.xda-developers.com/showthread.php?t=2446269
Just use official tar for Windows.
You can't flash an img file in Odin needs to be tar or md5 file. 7zip tars don't work but that does.
neonkat said:
try this:-http://forum.xda-developers.com/showthread.php?t=2446269
Click to expand...
Click to collapse
already trying bootloop
Test file here => https://mega.nz/#!nxcRyJ5T!xrTinHRyxrQaln933BmBg-fM-xz2B9-RK1kqbspYHqk
exad said:
Just use official tar for Windows.
You can't flash an img file in Odin needs to be tar or md5 file. 7zip tars don't work but that does.
Click to expand...
Click to collapse
test and bootloop
Maybe the problem is your boot.img file
naudmick said:
test and bootloop
Click to expand...
Click to collapse
you can install cygwin(linux emulator for win) and try my commands in post #2 ..else request some other user who have linux to make one for you.
exad said:
Maybe the problem is your boot.img file
Click to expand...
Click to collapse
I extract the boot.img rom stock CIO9 with winrar problem just might be the !
naudmick said:
I extract the boot.img rom stock CIO9 with winrar problem just might be the !
Click to expand...
Click to collapse
Do you have TWRP installed? Custom Rom with root?
davebugyi said:
Do you have TWRP installed? Custom Rom with root?
Click to expand...
Click to collapse
No TWRP installed and stock Rom COI9 with root UniKernel v8-0002 COH9 to install the application in priv-app and wanted to return to the stock kernel.
if someone already you extract a kernel ?
naudmick said:
No TWRP installed and stock Rom COI9 with root UniKernel v8-0002 COH9 to install the application in priv-app and wanted to return to the stock kernel.
if someone already you extract a kernel ?
Click to expand...
Click to collapse
flash custom kernel,boot up,flash stock boot.img with flashify app
problem solved.
neonkat said:
flash custom kernel,boot up,flash stock boot.img with flashify app
problem solved.
Click to expand...
Click to collapse
Extract Boot.img (stock COI9 tar.md5) with Winrar, 7zip or other ?
naudmick said:
Extract Boot.img (stock COI9 tar.md5) with Winrar, 7zip or other ?
Click to expand...
Click to collapse
doesn't matter..just get the boot.img.
I talk to extract the boot.img archive. tar stock coi9
naudmick said:
I talk to extract the boot.img archive. tar stock coi9
Click to expand...
Click to collapse
you mean from stock rom.zip?
Stock rom COI9.tar samobile no zip
naudmick said:
Stock rom COI9.tar samobile no zip
Click to expand...
Click to collapse
search over google or xda,there are different tools which help to extract the samsung's stock rom(.tar.md5).
or request someone to upload it.

Extracting CSC from .tar.md5 file

Hello all, I love all the support from the developers who make our ROMs so great and was wondering the following question. Does anyone know how you can extract the CSC files from the .tar.md5 just so if a new one becomes available, I can just apply it immediately to that current ROM? I searched a few threads and found different methods like the s2toext4 method and that didn't work so anything would be most appreciated. I don't want to take anything from the developers and this will just be for my personal use.
Couldn't you just flash the CSC part of the ROM with ODIN?
Inside the .MD5 aren't any flashable files anyway other than a PIT file
{
"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"
}
*Detection* said:
Couldn't you just flash the CSC part of the ROM with ODIN?
Inside the .MD5 aren't any flashable files anyway other than a PIT file
Click to expand...
Click to collapse
I tried that as the file in Odin contains a cache.img and a hidden.img but when I boot the a custom ROM and check Phone Info, the CSC didn't change. I am just wondering how some developers extracted those .img files into the files we see into say the CSC changer.
Google and download ImgExtractor.exe and run it on cmd, e.g
Code:
D:\path\to\cache_img> ImgExtractor.exe cache.img
and you'll find the csc zip file under cache_\recovery .
Btw when you manually flash it through recovery, either stock or twrp, don't forget to mount /system first.
Andrw0830 said:
Hello all, I love all the support from the developers who make our ROMs so great and was wondering the following question. Does anyone know how you can extract the CSC files from the .tar.md5 just so if a new one becomes available, I can just apply it immediately to that current ROM? I searched a few threads and found different methods like the s2toext4 method and that didn't work so anything would be most appreciated. I don't want to take anything from the developers and this will just be for my personal use.
Click to expand...
Click to collapse
Not quite sure what you want to do, flash a stock (any) rom with you CSC ( home _ csc ) check this
Or change the CSC of your custom rom, if so check here
kykint said:
Google and download ImgExtractor.exe and run it on cmd, e.g
Code:
D:\path\to\cache_img> ImgExtractor.exe cache.img
and you'll find the csc zip file under cache_\recovery .
Btw when you manually flash it through recovery, either stock or twrp, don't forget to mount /system first.
Click to expand...
Click to collapse
Very useful post, thanks! Works like a charm.
kykint said:
Google and download ImgExtractor.exe and run it on cmd, e.g
Code:
D:\path\to\cache_img> ImgExtractor.exe cache.img
and you'll find the csc zip file under cache_\recovery .
Btw when you manually flash it through recovery, either stock or twrp, don't forget to mount /system first.
Click to expand...
Click to collapse
Yep thanks so much. That is what I wanted to accomplish!
Andrw0830 said:
Yep thanks so much. That is what I wanted to accomplish!
Click to expand...
Click to collapse
What if you modify inside the zip (change default region) and flash it back from recovery? Does it work? KNOX still 0x0?
viewdetails said:
What if you modify inside the zip (change default region) and flash it back from recovery? Does it work? KNOX still 0x0?
Click to expand...
Click to collapse
What I believe is if you flash stock Samsung packages from ODIN, your Knox stays at 0x0 but once you flash modified software like TWRP Recovery, then you lose Warranty. Your phone should detect default region anyways as was the case when I went back to stock so only if you change the package integrity or flash custom recovery is when you will trip KNOX unless someone corrects me. I'll keep this thread open for the useful post about extracting .tar.md5 files in case someone has the same question I had, but I may not reply to other questions as besides flashing ROMs am not too knowledgeable in customizing ROMs.
viewdetails said:
What if you modify inside the zip (change default region) and flash it back from recovery? Does it work? KNOX still 0x0?
Click to expand...
Click to collapse
@ viewdetails, did you try modifying the zip to change the default region and flash it back? Did it work?
I've recently bought an S7 whose region code I want to change to XFA, except it is still stock and unrooted, and XFA is part of a multi CSC only.
Not wanting to void the warranty by rooting just yet, I also had the idea of modifying the CSC tar.md5 file to make it work. Thing is I have not done something like this before and I don't know if doing so will set KNOX to 0x1 anyway.
When I download the repair firmware (4 pieces of ROM called repair software) for any device from the internet, the pit file is also available, but when I download the 4 pieces of pit file with SamFirm program, the pit file does not come out. When I extract the csc.tar.md5 file in the downloaded rom, I have the pit file in it. Is that the pit file I would choose in the Re-Partition section in the PIT file? In other words, do they retrieve the pit files in the repair firmware that are installed in the internete by extracting the file csc.tar.md5 like me?
---------- Post added at 10:05 PM ---------- Previous post was at 09:54 PM ----------
*Detection* said:
Couldn't you just flash the CSC part of the ROM with ODIN?
Inside the .MD5 aren't any flashable files anyway other than a PIT file
When you extract the file Csc.tar.md5, the pit file comes out. Odin is the pit file I would choose for Re-Partition?
Click to expand...
Click to collapse
Serifbilgin20 said:
When I download the repair firmware (4 pieces of ROM called repair software) for any device from the internet, the pit file is also available, but when I download the 4 pieces of pit file with SamFirm program, the pit file does not come out. When I extract the csc.tar.md5 file in the downloaded rom, I have the pit file in it. Is that the pit file I would choose in the Re-Partition section in the PIT file? In other words, do they retrieve the pit files in the repair firmware that are installed in the internete by extracting the file csc.tar.md5 like me?
---------- Post added at 10:05 PM ---------- Previous post was at 09:54 PM ----------
Click to expand...
Click to collapse
*Detection* said:
Couldn't you just flash the CSC part of the ROM with ODIN?
Inside the .MD5 aren't any flashable files anyway other than a PIT file
When you extract the file Csc.tar.md5, the pit file comes out. Odin is the pit file I would choose for Re-Partition?
Click to expand...
Click to collapse
You don't need to extract the PIT file, just check repartition, the CSC will do the rest as it contains the PIT anyway
I need a pit file for any device. The firmware file I downloaded for that device is csc.tar.md5 and the pit file that comes out of it is the file I am looking for ?
kykint said:
Google and download ImgExtractor.exe and run it on cmd, e.g
Code:
D:\path\to\cache_img> ImgExtractor.exe cache.img
and you'll find the csc zip file under cache_\recovery .
Btw when you manually flash it through recovery, either stock or twrp, don't forget to mount /system first.
Click to expand...
Click to collapse
What did you mean by this ? '' Btw when you manually flash it through recovery, either stock or twrp, don't forget to mount /system first.''
EmperorGsi said:
What did you mean by this ? '' Btw when you manually flash it through recovery, either stock or twrp, don't forget to mount /system first.''
Click to expand...
Click to collapse
A flashable zip file needs /system to be mounted in order to make modifications - including installing and removing files - under it, so most zip files automatically do the mount process first before they do anything. However sec_csc.zip lacks that process, so if you want to flash it, you have to manually mount /system under MOUNT options first.
kykint said:
Google and download ImgExtractor.exe and run it on cmd, e.g
Code:
D:\path\to\cache_img> ImgExtractor.exe cache.img
and you'll find the csc zip file under cache_\recovery .
Btw when you manually flash it through recovery, either stock or twrp, don't forget to mount /system first.
Click to expand...
Click to collapse
kykint said:
A flashable zip file needs /system to be mounted in order to make modifications - including installing and removing files - under it, so most zip files automatically do the mount process first before they do anything. However sec_csc.zip lacks that process, so if you want to flash it, you have to manually mount /system under MOUNT options first.
Click to expand...
Click to collapse
Oh got it thank you. i am trying to get sec_csc.zip from S8 Tur firmware but no recovery folder in cache.img. Do you have any ideas ?
EmperorGsi said:
Oh got it thank you. i am trying to get sec_csc.zip from S8 Tur firmware but no recovery folder in cache.img. Do you have any ideas ?
Click to expand...
Click to collapse
If you're trying to unpack an oreo firmware, looks like imgextractor cannot handle the cache.img properly. Instead you can follow the steps below:
1. Extract lz4 image
Code:
lz4 -d cache.img.lz4
2. Convert the extracted image with simg2img (you can compile one from AOSP source or grab from here)
Code:
simg2img cache.img cache.raw.img
3. Open cache.raw.img with a proper program like 7zip explorer, and you'll find recovery/sec_omc.zip.
I used the method from here.
https://forum.xda-developers.com/pixel-xl/how-to/guide-how-to-extract-pixel-factory-t3563698
I changed cache.img to system.img
The program created a folder called system and copied there all the files
In system/recovery I found the file sec_csc.zip

[]

.
lebigmac said:
Hi. can someone please upload only the stock boot.img from the Nougat firmware for Xperia XA?
Thank you very much!
Click to expand...
Click to collapse
You need to be a little clearer.
1. 100% Stock is a boot.sin which will only flash when using FlashTool. (.sin is a archive like .zip is a archive)
2. If you extract the .sin you will have a boot.elf the .elf can be flashed with recovery or adb shell dd cmd's but Not Flastboot. (or the last time I checked you could not )
3. So are you asking for the .sin, .elf or do you want someone to unpack the .elf then rebuild it as a .img for you??
bigrammy said:
You need to be a little clearer.
1. 100% Stock is a boot.sin which will only flash when using FlashTool. (.sin is a archive like .zip is a archive)
2. If you extract the .sin you will have a boot.elf the .elf can be flashed with recovery or adb shell dd cmd's but Not Flastboot. (or the last time I checked you could not )
3. So are you asking for the .sin, .elf or do you want someone to unpack the .elf then rebuild it as a .img for you??
Click to expand...
Click to collapse
if possible could you send over the boot.sin and recovery.sin so that i can reflash my device as i cannot find these files anywhere thanks
my_old_user_sucked said:
if possible could you send over the boot.sin and recovery.sin so that i can reflash my device as i cannot find these files anywhere thanks
Click to expand...
Click to collapse
Use FlashTool and press the XF (XperiFirm) tab you can then choose which firmware you want.
Or if you want to use the stand alone version of XF (XperiFirm) see here https://forum.xda-developers.com/crossdevice-dev/sony/pc-xperifirm-xperia-firmware-downloader-t2834142
bigrammy said:
Use FlashTool and press the XF (XperiFirm) tab you can then choose which firmware you want.
Or if you want to use the stand alone version of XF (XperiFirm) see here https://forum.xda-developers.com/crossdevice-dev/sony/pc-xperifirm-xperia-firmware-downloader-t2834142
Click to expand...
Click to collapse
I have done this but now i need the original boot img file in order to root the device using magisk is there anyway i could get this file?
---------- Post added at 10:43 AM ---------- Previous post was at 10:26 AM ----------
lebigmac said:
Hi. can someone please upload only the stock boot.img from the Nougat firmware for Xperia XA?
Thank you very much!
Click to expand...
Click to collapse
https://forum.xda-developers.com/xperia-xa/how-to/f3111-f3113-f3115-how-to-root-apply-drm-t3689384
The guide contains the boot.img and recovery.img for xperia xa firmware 33.3.A.1.97
---------- Post added at 10:46 AM ---------- Previous post was at 10:43 AM ----------
bigrammy said:
Use FlashTool and press the XF (XperiFirm) tab you can then choose which firmware you want.
Or if you want to use the stand alone version of XF (XperiFirm) see here https://forum.xda-developers.com/crossdevice-dev/sony/pc-xperifirm-xperia-firmware-downloader-t2834142
Click to expand...
Click to collapse
Many thanks for your help i have found the files i needed and they work perfectly

Categories

Resources