Samsung Full/4Files Firmware Maker For Windows - General Topics

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...

Related

[GUIDE]How To Create A Custom Rom(noob friendly guide)

HERE IS A GUIDE FOR YOU ALL YOU CAN CREATE YOUR OWN ROM BY THIS SEXY METHOD.I AM NOT RESPONSIBLE FOR BRICKED DEVICES,DAMAGED DEVICES IF YOU BLAME ME I WILL LAUGH AT U.
Click to expand...
Click to collapse
Requirement to make a custom rom
*java jdk installed on your pc
*windows xp or 7.
*package given in download section
Who is this kitchen for ?
Those who are brand new to
creating custom ROMs and
want an easy place to start
learning
Those who just want to modify
shipped ROMs or someone
else's custom ROMs to their
liking
Those who are confused by all
those scripts and complex
commands required for
building and extracting
This is NOT a tool to
automatically turn you into a
full-fledged ROM developer.
ROM development normally
involves work from the ground
up and involves time , research
and patience .
Click to expand...
Click to collapse
PRESS THANKS IF YOU LIKE MY WORK
Kitchen setup guide
setting up android kitchen
1.download all the three link and unzip kitchen.rar and cywin package.
2.open cywin_package then open folder Now, you can see 3 icons, a read-
me,a setup, and a folder. Choose
the setup. Here You will choose
install from local directory. Next,
Navigate to the the folder of
extraction of cygwin and choose
the folder Cygwin_packages inside
the cygwin extraction folder. Wait
for some time. Then, You will come
across a list of file. Click the 2-
circle-arrows,untill, it displays
“install”
After the procedure is complete,
run the batch file cygwin.bat . Now, minimise
it and copy kitchen folder,
Keep it in some location where you have installed your cygwin package open home/ajay-Pc(in my case this is administrator name of my pc)kitchen
Now, open the batch file window
and type
cd C:\Kitchen
Wait for some time and then when
the location the changed, type
./menu
Click to expand...
Click to collapse
PRESS THANKS IF YOU LIKE MY WORK
GUIDE
now minimize the batch file and extract official rom and open pda there you will find system.img then extract it using magic iso or flash
the official stock rom using odin the take a nandroid backup u will get system.rfs.tar in your sd card extract it using magic iso then make a folder in called rom and open it. again create a folder called system and copy all data from system.rfs.tar which u have extracted(do drag and dropping).
Now copy meta-inf of any stock rom and copy and kernel to rom folder.
Now you will get two folder and one file in your rom folder zip the folder content and copy the file where you have installed cygwin/home/ajay/kitchen/original update folder.
now open command shell which you have minimized 1st create working folder then add root permission,deodex your rom.
and at last press 99 to build your rom..
note-if it ask you to change updater script to update script change it but dont forget to change it back to updater script.now you will get your rom in output folder copy it to your sd card flash it if error occur unzip the zip file and delete meta-inf and boot.img and again copy meta-inf of any rom and kernel to it and zip it..again flash the rom..
PRESS THANKS IF YOU LIKE MY WORK
Downloads
Downloads​
Link for cygwin click here :good:​link for kitchen click here :good:​link for magic iso click here :good:​
PRESS THANKS IF YOU LIKE MY WORK
CREDIT
credits
xda
dev of kitchen DSIXDA
me for boring guide
PRESS THANKS IF YOU LIKE MY WORK
gd 1 but think theirs many guide to teach how to cook rom from kitchen
amanmehta007 said:
gd 1 but think theirs many guide to teach how to cook rom from kitchen
Click to expand...
Click to collapse
many user asked for my help so i created this for them
gd
THE DEV OF KITCHEN IS DSIXDA U SHOULD MENTION HER NAME
bY
------------------------------------------------------------------------------SOMKLL---------------------------------------------------------------------------------------------------
Yes
yes i m Flasholic
I already have a guide for this.
Sent from my GT-S5360 using XDA

Convert IMG into Odin flashable TAR.MD5

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?

[Tool] [Windows] Auto Tool Unpack Repack Rom Android .DAT

[Tool] [Windows] Auto Tool Unpack Repack Rom Android .DAT [No Cygwin] [No Linux]
***(Marshmallow Supported)***
Develop by MTK THAI ROM MODDER (Thiland) Group
Create Tool by: Kritsada Chaitan
SS:
Youtube : https://www.youtube.com/watch?v=nKYozWOETIU
-NOTE 1.-
***First Install Needed For Use This Tool.***
1. Java SDK
2. Python v3.xx
-NOTE 2.-
***First Copy system.new.dat , system.transfer.list To "Paste-DAT-Here" Folder.***
Download:
MEGA
Thank you Original Thread by: "xpirt" https://forum.xda-developers.com/member.php?u=5132229
Thanks for the tool
Bebooo43 said:
Thanks for the tool
Click to expand...
Click to collapse
Good.... ^^
It is a wonderful tool, brother.
is this tool works fine?
Getting error about incompatible operating system when recompressing dat so I tried on windows and got the same do I have to install the java or the phyton to a certain directory or the auto tool to a certain directory it extracted fine thanks in advance for the feedback
Can someone lend a hand.... Program works great. After removing a couple apps, one from 'app' another from 'priv-app', I made a zip file with 7zip and tried flashing but it fails. Is 7zip okay to make a zip file? was I not supposed to remove a 'priv-app' ? I can't find any solid guides on editing a MM rom. thanks in advance.
i succesfully unpack .dat files and repack .dat files (without edit anything) using this tool .
then i replace the repack .dat file to the rom and zip it and flash it .
but the problem is, when i flash i get error 7 system partition has unexpected contents after ota update . any solution ?
can't unpack system.new.dat cm14 (7.1)
Thank you very much, really useful
update - https://forum.xda-developers.com/an...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Is it work for N based ROMs
tooolll
worked for me also...
t.y.
please update it to new version waiting for it.

For (WINDOWS) Tool Android Unpack\Repack system.new.dat Nougat 7.х.х

A tool to Repack the firmware image system.new.dat Nougat 7.x.x
the author of the tool by Karan Sangaj thank you :good: on XDA haven't found the original post
The usage is very simple, I hope many will be useful.
thanks for the help ajsmsg78
1) install Python 2.7.13
2) original post File contexts.bin converter thank you
another File context tools thank you
video instruction
https://www.youtube.com/watch?v=OsHWPdIgGjY
https://plus.google.com/u/0/collection/EiQ1NE
sory for my English
cannot convert my_new_system.img.
how to convert it exactly?
Any solution??
Traceback (most recent call last):
File "C:\Users\pc\Desktop\Android Unpack Repack Nougat\tools\img2sdat.py", line 10, in <module>
import common, blockimgdiff, sparse_img
File "C:\Users\pc\Desktop\Android Unpack Repack Nougat\tools\common.py", line 112
print " running: ", " ".join(args)
^
Esakren17 said:
Any solution??
Traceback (most recent call last):
File "C:\Users\pc\Desktop\Android Unpack Repack Nougat\tools\img2sdat.py", line 10, in <module>
import common, blockimgdiff, sparse_img
File "C:\Users\pc\Desktop\Android Unpack Repack Nougat\tools\common.py", line 112
print " running: ", " ".join(args)
^
Click to expand...
Click to collapse
I am getting the same error as this, what should I do to fix it?
Have installed python v2.7.13+3.6.1, latest java jdk and jre and .NET framework v4.7 and running windows 10, it had worked on the first try but started showing this error suddenly.
It works, but after install ROM the battery discharges very quickly and heats up... I think that incorrectly exposed file permissions, because if i flash "system" folder with setting simlinks and set_metadata in updater-script ROM works fine and battery is ok.
ROM work only with system.img, system.new.dat dont flash, error 7 in TWRP...
best tools ,thanks!!
raghuM said:
I am getting the same error as this, what should I do to fix it?
Have installed python v2.7.13+3.6.1, latest java jdk and jre and .NET framework v4.7 and running windows 10, it had worked for the first time but started showing this error suddenly
Click to expand...
Click to collapse
same here
Anyway to repack oreo
Got a problem with this tool.....
it works perfectly to extracting system.new.dat and unpack system.img I modify and remove some files in the system folder (remove some apks and fonts, add some hosts....) so the size of the system folder change and when I type the 04 option got this error message.....
0 [main] make_ext4fs 7236 cygwin_exception:pen_stackdumpfile: Dumping stack trace to make_ext4fs.exe.stackdump
Impossible de trouver C:\Users\RAYMAN95\Desktop\Android Unpack Repack Nougat\temp_size.txt
How is it possible to made some modifications and repack it to system.new.dat????
thank's for the help
This tool is very nice.... But please help me guys... On the last step I'm failed to repack system.img to new.system.dat... SYNTAX ERROR... how to fix it?
By the way it is very great tool... Thx to Dev ^^
Can't Unpack system.img
Ok Bro .. That's awesome Tutorial.
I have the system.img of Note 8 AP file .. I try to unpack it directly but it Ext4Extractor.exe is stopping working.
I don't have system.new.dat file so I'm trying to unpack system.img directly but it doesn't work.
As these images show the error:
https://imgur.com/a/jlZvb
Thank you very much for your tools very easy to use Thank you again
iMenesi said:
Ok Bro .. That's awesome Tutorial.
I have the system.img of Note 8 AP file .. I try to unpack it directly but it Ext4Extractor.exe is stopping working.
I don't have system.new.dat file so I'm trying to unpack system.img directly but it doesn't work.
As these images show the error:
https://imgur.com/a/jlZvb
Click to expand...
Click to collapse
The link is not working.
You need to have a custom ROM, and in it system.transfer.list and system.new.dat.
Use this method:
[DEV] sdat2img 1.0 - img2sdat 1.2 ◦ Unpack/re-pack android DAT files
For a long time I use and have not found Android ROM 5.1.1 - 8.0.0, which can not be unpacked using sdat2img.py.
Thank you authors @xpirt , @luxi78 , @howellzhu !
You dont need a custom rom or the system.transfer.list, or system.new.dat. This unpacks images just fine. It will not unpack factory images tho. I got it to work just fine unpacking nexus 6 system.img by placing the image in the output_converted_dat_to_ext4 folder then telling the bat file what the size is and unpacking it. Do the same thing for oreo and the ext4 exe crashes.
ze7zez said:
The link is not working.
You need to have a custom ROM, and in it system.transfer.list and system.new.dat.
Use this method:
[DEV] sdat2img 1.0 - img2sdat 1.2 ◦ Unpack/re-pack android DAT files
For a long time I use and have not found Android ROM 5.1.1 - 8.0.0, which can not be unpacked using sdat2img.py.
Thank you authors @xpirt , @luxi78 , @howellzhu !
Click to expand...
Click to collapse
iMenesi said:
Ok Bro .. That's awesome Tutorial.
I have the system.img of Note 8 AP file .. I try to unpack it directly but it Ext4Extractor.exe is stopping working.
I don't have system.new.dat file so I'm trying to unpack system.img directly but it doesn't work.
As these images show the error:
https://imgur.com/a/jlZvb
Click to expand...
Click to collapse
greeshan said:
It works, but after install ROM the battery discharges very quickly and heats up... I think that incorrectly exposed file permissions, because if i flash "system" folder with setting simlinks and set_metadata in updater-script ROM works fine and battery is ok.
ROM work only with system.img, system.new.dat dont flash, error 7 in TWRP...
Click to expand...
Click to collapse
flash "system" folder with setting simlinks and set_metadata in updater-script ROM
Click to expand...
Click to collapse
How did you fix the problem?
How did you do that?
master.robot said:
How did you fix the problem?
How did you do that?
Click to expand...
Click to collapse
i use commands set_metdata(xxxx); after block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
Is this tool work with oreo roms ?
wgmmmx said:
Is this tool work with oreo roms ?
Click to expand...
Click to collapse
No i think
link77kz said:
A tool to Repack the firmware image system.new.dat Nougat 7.x.x
the author of the tool by Karan Sangaj thank you :good: on XDA haven't found the original post
The usage is very simple, I hope many will be useful.
thanks for the help ajsmsg78
1) install Python 2.7.13
2) original post File contexts.bin converter thank you
another File context tools thank you
video instruction
https://www.youtube.com/watch?v=OsHWPdIgGjY
https://plus.google.com/u/0/collection/EiQ1NE
sory for my English
Click to expand...
Click to collapse
rom isn't booting after editing system.new.dat. any help ?
For anyone having syntax errors converting systemsparse.img to system.new.dat just download the updated img2sdat files from the link below and extract all files ending in .py to the tools folder of this batch tool. There's also an updated sdat2img.py linked below which goes in the same tools folder. Overwrite all the old files when prompted.
Edit: I've attached a zip that has the tools already updated. Maybe the OP can update the first post?
img2sdate update: https://github.com/xpirt/img2sdat
sdat2img update: https://github.com/xpirt/sdat2img

Oreo Contexts Converter

THIS TOOL IS FOR TESTING PURPOSE ONLY.
THIS MAY WORK ON SOME DEVICES OR MAY NOT WORK AT ALL.
IF THIS TOOL MAKES THE ROM UNBOOTABLE PLEASE COMMENT BELOW.
NO BUG FIXING not until i get an oreo supported phone for me to test.
TREBLE ROMS ARE NOT SUPPORTED!
FEATURES:
CAN DETECT OREO BOOT.IMG (YOU CANT MESS UP THIS TOOL. HAHA!!)
CAN DETECT WHETHER THERES A BOOT.IMG INSIDE THE MAIN FOLDER
CONVERTS BINARY INTO PLAIN CONTEXTS (MAIN FEATURE)
DECOMPRESS .BR IMAGES INTO .DAT (COOL RIGHT?)
USAGE:
GRAB A BEER AND RELAX
WHILE ON YOUR WINDOWS COMPUTER, UNPACK THE ARCHIVE AND GRAB THE OREO BOOT.IMG INTO oreo_contexts_tool FOLDER
RUN OFC.EXE AS ADMIN (NO NEED ADMIN RIGHTS FOR V2.0.0.1 AND V2.0.0.2)
FOLLOW INSTRUCTIONS AFTERWARDS..
IF YOU NEED THE CONTEXTS CONVERTER FOR NOUGAT THEN USE MY TOOL HERE TO CONVERT PLAIN CONTEXTS INTO BINARY AND VICE VERSA.
tested only on x32bit windows 7 ultimate
ofc v2.0.0.1
ofc v2.0.0.2
!!VERY IMPORTANT TO READ NOTES!!
Code:
v2.0.0.1
can decompress .br image into .dat
can compress .dat image into .br
NO NEED to run the application with admin rights, just run normally.
I added x64 bit application but havent tested it yet on 64bit machine
(my laptop cant run x64 os :p) if it wont work pls use the other application.
v2.0.0.2
file contexts output is current directory
added reset tool if experiencing errors
added clean current directory
less popup of cmd (only when unpacking boot.img)
x64bit tool is not included yet.
note:
choosing "clean current directory" option will delete EVERYTHING
inside the current directory except for the tool. so i advise to run this tool
inside a folder/directory to avoid deleting all your important files on your pc.
e.g you run ofc.exe in drive C:\ (C:\OFC.EXE) ...then you chose
"clean current directory" option, this will delete EVERYTHING in
C: drive so BE CAREFUL!! I wont be responsible if this happens..
if your anti virus detects malware, trojan, etc just ignore.. my script is very simple and basic that any highschool student can laugh at it. :silly: :laugh:
AIK LINK
CREDITS
@osm0sis <-- also thank him
@munjeni <-- and him
DONT JUST SAY THANKS!! HIT THE BUTTON BELOW..
last update:
06/08/18
Thank You.oreo unpacked.
tool
Zipper31 said:
Thank You.oreo unpacked.
Click to expand...
Click to collapse
can you give oreo extract tool
new test update..
there is a trojan in the executable??
Friend, link is broken, please, upload again.
JamFlux said:
Friend, link is broken, please, upload again.
Click to expand...
Click to collapse
Yes! Update link please
greeshan said:
Yes! Update link please
Click to expand...
Click to collapse
I MANAGE MY OWN TOOL FOR THIS:
https://forum.xda-developers.com/ch...l-extract-repack-dat-img-android-5-8-t3670763
JamFlux said:
I MANAGE MY OWN TOOL FOR THIS:
https://forum.xda-developers.com/ch...l-extract-repack-dat-img-android-5-8-t3670763
Click to expand...
Click to collapse
Thanks, i'll try
link works on my slow internet..
reupload please?
0ther said:
reupload please?
Click to expand...
Click to collapse
link is working fine.. maybe use another browser?
Got 404, reupload please ?

Categories

Resources