[GUIDE] [HOW TO] Generate bin.md5 file - Android General

As title says everything, i was trying to find out how to generate bin.md5 file for ported ROM's files but not found anything on google even on XDA too
So finally i decided to start from me,i researched and guess what? i have successfully generated bin.md5 file for
ported ROM and flashed costume qualcomm ROM to my mobile
so Lets start guid...
Today i will show you how to generate bin.md5 file of multiple files in directory
yes, can be used for ported ROM's too ....
ok
download the sfk application
Here is file...
Password-
ONNTECHSOFT
Click to expand...
Click to collapse
Note:- A software Creadit gose to StahlWorks Technologies
now move/copy that file to any good location
here is, i am using D drive and so,moved that file in new folder called tools
again i have moved to multi_download (because my ROM Files is located in multi_download folder )
ok
Now create new text fine any other location (f.e. desktop ) and type
all file name(which you want to generate for) with there extension's
for example- system.img system_1.img (don't forget to add "space" between files)
ok
now open CMD to locating that folder
by pressing shift button + mouse R click
Now in CMD, Enter
sfk
Click to expand...
Click to collapse
press Enter
ok now type following
sfk md5gento=outfile
Click to expand...
Click to collapse
after outfile past all that file names written in new text file
for example-
sfk md5gento=outfile system.img system_1.img
Click to expand...
Click to collapse
and press enter
it will genrate md5 file
(file with name output will generated )
now rename output file to bin.md5 file
Thats it......
if you stuck on any step ,then dont forget to watch this video....:good:
All Done ...
If you like my work then dont forget to press thanks and
Please Dont Forget to Like , Subcribe , Share My Channel ONNTECHSOFT
Thanks
Yours
Raj Kumar
Aka
76Raj
TC All....:highfive:

Related

How do I sign a .DLL file???

Ok , I am trying to resign my phcanBmp.dll file to have my own images. I have used ResHack in order to change the file and make a new one but I know you need to sign the file in order for it to work...
So I have downloaded the latest BuildOS+Package 4.2b3 and it has a signapp.exe.... Problem is I cant find any information on how to use it??? I have searched google and located a sign and timestamp dll files but I am not sure if this will work with mobile applications.
Please help
ryncppr said:
Ok , I am trying to resign my phcanBmp.dll file to have my own images. I have used ResHack in order to change the file and make a new one but I know you need to sign the file in order for it to work...
So I have downloaded the latest BuildOS+Package 4.2b3 and it has a signapp.exe.... Problem is I cant find any information on how to use it??? I have searched google and located a sign and timestamp dll files but I am not sure if this will work with mobile applications.
Please help
Click to expand...
Click to collapse
ResHack will cause a dll or exe locked to sign if u edit it heavily.
Use Heaventools Resource Editor or PE Explorer instead
I bought Resource Editor and there is no way to sign the file....It shows when I edit only 6 bitmap files it says the file is no longer signed or trusted...is there a way around this
NEVER MIND GOOGLE IS MY FRIEND
ryncppr said:
I bought Resource Editor and there is no way to sign the file....It shows when I edit only 6 bitmap files it says the file is no longer signed or trusted...is there a way around this
Click to expand...
Click to collapse
i attached the program i used to sign the htchome.dll file I patched. Do the following:
1) Put the file in the same folder as the program.
2) Go into command prompt and navigate to the folder which contains the the file (in my case C:\Documents and Settings\ScottE\Desktop\Programs\ATT Tilt\Programs\SignCode\SignCode)
3) Type "sign filename" which in my case was: sign htchome.dll
Then it should give you a message that the file was signed.
I just added a screenshot
you can also use sign tool from Microsoft SDK 2008
i tought he cannot sign the file after edit it. silly me there is also multisign tool floating in this forum based on SDK but with easy GUI.
skatdawg said:
i attached the program i used to sign the htchome.dll file I patched. Do the following:
1) Put the file in the same folder as the program.
2) Go into command prompt and navigate to the folder which contains the the file (in my case C:\Documents and Settings\ScottE\Desktop\Programs\ATT Tilt\Programs\SignCode\SignCode)
3) Type "sign filename" which in my case was: sign htchome.dll
Then it should give you a message that the file was signed.
I just added a screenshot
Click to expand...
Click to collapse
Thats what I used..!!!! Thank you so much for the response...The 2008 SDK signs files but not really, you actually have to buy digital signatures...this way its free and works....
Just copied my phncanbmp test file to my phone and it works like a charm!!
ryncppr said:
Thats what I used..!!!! Thank you so much for the response...The 2008 SDK signs files but not really, you actually have to buy digital signatures...this way its free and works....
Just copied my phncanbmp test file to my phone and it works like a charm!!
Click to expand...
Click to collapse
Glad to help you man
a lot of thanks dear scotchua very useful

[Q] How to extract .img files? (system, cache, boot)

Hey guys, i've searched the forums for this although haven't really seen any that can teach or show me how. So, counting on the devs on our thread to help out a little, c'mon, give this noob something to wrack his brains with for a couple of weeks..
What are you extracting them from?
Woodrube said:
What are you extracting them from?
Click to expand...
Click to collapse
[GUIDE] Extract files from Nandroid backups
From an SBF you need this. (instructions provided by chops13)
1. moto android depacker http://i749.photobucket.com/albums/x...ba/screen2.jpg
http://modmymobile.com/forums/402-ge...13-2010-a.html
2. unyaffs for windows
http://boomtopper.blogspot.com/2009/...ws-binary.html
3. cygwin1.dll
http://www.dll-files.com/dllindex/dl....shtml?cygwin1
-
Step 1. - launch moto android depacker
2. Menu > Open From File > choose your .SBF rom file
3. Menu > Split to Folder
4. Put unyaffs and cygwin1.dll in the Folder that has now been created in windows explorer by the last Split to Folder action
5. Also inside that new folder (named like your SBF file automatically) you will see a bunch of .SMG files.
6. Take note of the .SMG filename with the largest amount of data. One will be significantly bigger than the others. This is where all your .apk's are stored.
7. Open command prompt
8. navigate to the location of this Folder with unyaffs, cygwin1.dll, and the other .smg files
9. Once you command prompt is inside that folder type: unyaffs <filename.smg>
10. For me the .SMG file that was the biggest was CG39.smg
11. You will then see that folder filling up with a bunch more folders as it extracts
12. One of the Folders will be "app"
12. Go into that folder and you will see all of you ROM .apk's Each apk is an app, that you can now manually install or remove to rebuild a customized image, etc.
Woodrube said:
What are you extracting them from?
Click to expand...
Click to collapse
You know the image files we have for our XT720s, i was thinking of extracting APKs from the ROM as i need an FM radio apk to try out, that's why i though of extracting them from my nandroid backups.. Is that possible?
3rdstring said:
[GUIDE] Extract files from Nandroid backups
From an SBF you need this. (instructions provided by chops13)
1. moto android depacker http://i749.photobucket.com/albums/x...ba/screen2.jpg
http://modmymobile.com/forums/402-ge...13-2010-a.html
2. unyaffs for windows
http://boomtopper.blogspot.com/2009/...ws-binary.html
3. cygwin1.dll
http://www.dll-files.com/dllindex/dl....shtml?cygwin1
-
Step 1. - launch moto android depacker
2. Menu > Open From File > choose your .SBF rom file
3. Menu > Split to Folder
4. Put unyaffs and cygwin1.dll in the Folder that has now been created in windows explorer by the last Split to Folder action
5. Also inside that new folder (named like your SBF file automatically) you will see a bunch of .SMG files.
6. Take note of the .SMG filename with the largest amount of data. One will be significantly bigger than the others. This is where all your .apk's are stored.
7. Open command prompt
8. navigate to the location of this Folder with unyaffs, cygwin1.dll, and the other .smg files
9. Once you command prompt is inside that folder type: unyaffs <filename.smg>
10. For me the .SMG file that was the biggest was CG39.smg
11. You will then see that folder filling up with a bunch more folders as it extracts
12. One of the Folders will be "app"
12. Go into that folder and you will see all of you ROM .apk's Each apk is an app, that you can now manually install or remove to rebuild a customized image, etc.
Click to expand...
Click to collapse
Seems simple enough.. Thanks!!
JiroPrinz8 said:
You know the image files we have for our XT720s, i was thinking of extracting APKs from the ROM as i need an FM radio apk to try out, that's why i though of extracting them from my nandroid backups.. Is that possible?
Click to expand...
Click to collapse
When I want to do something like this, I just flash the nandroid I want to extract from and once it sets up, I go into /system and pull the apks that I want out and copy them to a folder on my sdcard. Then I go into that ROM I will use and then go into the folder on the sdcard and install them there. If need be, I move them over to /system/app.
Worked for me a number of times but I create a "shopping list" before I flash the one I am extracting from, so I know what it is that I am looking for (and maybe pick a few that i might want to check out, like the 3g hotspot or Notification toggle).
Not all apps will cross over though. Depends on if they are signed or not and also several factors with the framework and the build.
As far as the FM radio apk, which ROM are you using b/c they are posted all over the place (2.1, 2.2dexters, 2.2 Kahls, 2.2Wanhu, Miui).
Yeah, i'm just trying to figure out which will work, i had the FMradio FC on me so tried to reinstall it, no luck, deleted the apk and dalvik cache for FM radio, then tried to install it, still no luck.. Any ideas guys?
You can also do it right on your phone with unyaffs from the market. I use it all the time. Works awsome.
easye420 said:
You can also do it right on your phone with unyaffs from the market. I use it all the time. Works awsome.
Click to expand...
Click to collapse
Very nice. Just checked it out.
Finally
3rdstring said:
[GUIDE] Extract files from Nandroid backups
From an SBF you need this. (instructions provided by chops13)
1. moto android depacker http://i749.photobucket.com/albums/x...ba/screen2.jpg
http://modmymobile.com/forums/402-ge...13-2010-a.html
2. unyaffs for windows
http://boomtopper.blogspot.com/2009/...ws-binary.html
3. cygwin1.dll
http://www.dll-files.com/dllindex/dl....shtml?cygwin1
-
Step 1. - launch moto android depacker
2. Menu > Open From File > choose your .SBF rom file
3. Menu > Split to Folder
4. Put unyaffs and cygwin1.dll in the Folder that has now been created in windows explorer by the last Split to Folder action
5. Also inside that new folder (named like your SBF file automatically) you will see a bunch of .SMG files.
6. Take note of the .SMG filename with the largest amount of data. One will be significantly bigger than the others. This is where all your .apk's are stored.
7. Open command prompt
8. navigate to the location of this Folder with unyaffs, cygwin1.dll, and the other .smg files
9. Once you command prompt is inside that folder type: unyaffs <filename.smg>
10. For me the .SMG file that was the biggest was CG39.smg
11. You will then see that folder filling up with a bunch more folders as it extracts
12. One of the Folders will be "app"
12. Go into that folder and you will see all of you ROM .apk's Each apk is an app, that you can now manually install or remove to rebuild a customized image, etc.
Click to expand...
Click to collapse
Finally, how to rebuild its (app, etc, bin,...) to CG39.smg?
Thank U very much :x
Who can help me, please?
leuleu9x said:
Finally, how to rebuild its (app, etc, bin,...) to CG39.smg?
Thank U very much :x
Click to expand...
Click to collapse
hi i have exatly same cuestion how to rebuild ?? i edit tts lang pico but now now to send to phone
thks in advance
I'm trying to extrack APKs, followed the instructions aforementioned but still receveing:
8 [main] unyaffs 5960 handle_exceptions: Exception: STATUS_ACCESS_VIOLATIO
N
2790 [main] unyaffs 5960 open_stackdumpfile: Dumping stack trace to unyaffs.e
xe.stackdump
error
Anyone can help me? thanks
What command did you use ?
unyaffs works on *.img. For *.apk use apktool.
Sent from my Nexus 4 using xda premium
omartelinho said:
I'm trying to extrack APKs, followed the instructions aforementioned but still receveing:
8 [main] unyaffs 5960 handle_exceptions: Exception: STATUS_ACCESS_VIOLATIO
N
2790 [main] unyaffs 5960 open_stackdumpfile: Dumping stack trace to unyaffs.e
xe.stackdump
error
Anyone can help me? thanks
Click to expand...
Click to collapse
I am too got the same error, till I cant extract the CG2.smg file
pls help anybody
omartelinho said:
I'm trying to extrack APKs, followed the instructions aforementioned but still receveing:
8 [main] unyaffs 5960 handle_exceptions: Exception: STATUS_ACCESS_VIOLATIO
N
2790 [main] unyaffs 5960 open_stackdumpfile: Dumping stack trace to unyaffs.e
xe.stackdump
error
Anyone can help me? thanks
Click to expand...
Click to collapse
Same error here. Did you guys solve this??

[Q] Making tar using efs.rfs

Hi
I have lost my imei due to flashing the wrong ops files GOD knows why ?but I had backed up my imei earlier and I have efs.rfs file in my sdcard but I dont know how to make a unix compatible tars .I have dont a lot of searching as well as tried different methods with no success .Please somebody help urgently PLEASE PLEASE HELP
Use total commander to open an existing .tar kernel or rom file, delete everything inside and copy efs.rfs in the .tar file.
Or send it to me then I'll do it for you
Sent from my GT-I5800 using XDA App
rdass3646 said:
Hi
I have lost my imei due to flashing the wrong ops files GOD knows why ?but I had backed up my imei earlier and I have efs.rfs file in my sdcard but I dont know how to make a unix compatible tars .I have dont a lot of searching as well as tried different methods with no success .Please somebody help urgently PLEASE PLEASE HELP
Click to expand...
Click to collapse
Download total commander, put your efs file in drive, open total commander,u will see two windows tab, in first select your efs and in second select any path where u want to make your tar I.e. desktop, then in first window select efs.rfs then click on pack then tick on tat then click ok,then brows your selected output path.
RafayelG said:
Use total commander to open an existing .tar kernel or rom file, delete everything inside and copy efs.rfs in the .tar file.
Or send it to me then I'll do it for you
Sent from my GT-I5800 using XDA App
Click to expand...
Click to collapse
Thank you so much for your quick rply I understood it now I will try today
Mohanshbhr said:
Download total commander, put your efs file in drive, open total commander,u will see two windows tab, in first select your efs and in second select any path where u want to make your tar I.e. desktop, then in first window select efs.rfs then click on pack then tick on tat then click ok,then brows your selected output path.
Click to expand...
Click to collapse
Thank you so much for guiding me
How can I get the efs.rfs file from Samgun I9003?

Edit .sin file

Hello everyone,
I am tying to make a "light" official rom of the Z3 by removing some *.apk of an *.ftf file.
I have extracted all the folders from the *.ftf (ftf - system.sin - system.ext4 - files...) and removed all the apk I don't want, but I don't know how to make a new "system.sin" from all the files I have extracted. I looked from the internet, but I am a little noob.
Can someone help me to build a new *.ftf file to flash it with Flashtool ? :crying:
Dracow said:
Hello everyone,
I am tying to make a "light" official rom of the Z3 by removing some *.apk of an *.ftf file.
I have extracted all the folders from the *.ftf (ftf - system.sin - system.ext4 - files...) and removed all the apk I don't want, but I don't know how to make a new "system.sin" from all the files I have extracted. I looked from the internet, but I am a little noob.
Can someone help me to build a new *.ftf file to flash it with Flashtool ? :crying:
Click to expand...
Click to collapse
As far as i known you can't edit .sin / .ftf files as they are signed using sony private key that no one has...
Technical info here:
https://gist.github.com/dosomder/8ed79b26a5e063efa5ef
"And that is the reason why we can not create custom firmwares for Xperia. If you still don't understand, RSA is an asymmetric function.
This means it's using a private key to create the signature and a public key to read it. So even if we find the public key
(which is somewhere on the device), we can never find or guess the private key. Therefore we can not create a valid signature."
But you can create a .zip firmware to be flashed via recovery
I used Flashtool-sin editor on "system.sin" that give me "system. ext4".
With ext2explore I opened " system.ext4" and extracts all files and folders (app, privateapp, etc, build.prop...).
From folders "app" and "privateapp", I removed the *.apk I don't want, but I don't know if I can build a new " system.sin".
There is really no way to reverse ? Make a "system. ext4" from the folders I modified, and convert it in "system.sin" ?
If we can do something in a way, can't we do it on "reverse way" ?
Dracow said:
I used Flashtool-sin editor on "system.sin" that give me "system. ext4".
With ext2explore I opened " system.ext4" and extracts all files and folders (app, privateapp, etc, build.prop...).
From folders "app" and "privateapp", I removed the *.apk I don't want, but I don't know if I can build a new " system.sin".
There is really no way to reverse ? Make a "system. ext4" from the folders I modified, and convert it in "system.sin" ?
If we can do something in a way, can't we do it on "reverse way" ?
Click to expand...
Click to collapse
It cannot be done. 100% impossible.
If you want to make your own rom Google [NUT]'s method to create your own rom.
There is also a tool to create your own prerooted flashable zip, but if course, all of this requires root
Thanks a lot for all your answers...
I won't try to make it in zip...

Pls help me extract the system.sin of both firmwares?

Here, I got system.sin of 2 Sony Xperia NXT series phones (files inside the zip). I wanted to extract those files and wanted the apk's but I can't even extract those files. I tried all the apps for extracting but gives me errors. Can somebody help me? It's for a experiment
socerguy said:
Here, I got system.sin of 2 Sony Xperia NXT series phones (files inside the zip). I wanted to extract those files and wanted the apk's but I can't even extract those files. I tried all the apps for extracting but gives me errors. Can somebody help me? It's for a experiment
Click to expand...
Click to collapse
search for "unpack Sony sin image" here on XDA or with Google. which platform? are you rooted?
WoKoschekk said:
search for "unpack Sony sin image" here on XDA or with Google. which platform? are you rooted?
Click to expand...
Click to collapse
Uhh.. I didn't rooted it and extracting .sin file gingerbread worked fine but ics didn't worked
WoKoschekk said:
search for "unpack Sony sin image" here on XDA or with Google. which platform? are you rooted?
Click to expand...
Click to collapse
And it's for Sony Xperia u in android 4.0
socerguy said:
And it's for Sony Xperia u in android 4.0
Click to expand...
Click to collapse
you need a tool to unpack *.sin images for Android 4.0?? What about Windows or Linux?
WoKoschekk said:
you need a tool to unpack *.sin images for Android 4.0?? What about Windows or Linux?
Click to expand...
Click to collapse
I tried all apps from this forums but none of 'em worked (it works with 2.3 gingerbread). I'm using windows 11
WoKoschekk said:
you need a tool to unpack *.sin images for Android 4.0?? What about Windows or Linux?
Click to expand...
Click to collapse
And I don't need a tool, I need help
socerguy said:
And I don't need a tool, I need help
Click to expand...
Click to collapse
help for what? how do you want to unpack it?
WoKoschekk said:
help for what? how do you want to unpack it?
Click to expand...
Click to collapse
to unpack system.sin. I wanted to get the contents inside the file in a zip file
socerguy said:
to unpack system.sin. I wanted to get the contents inside the file in a zip file
Click to expand...
Click to collapse
but HOW??
[TOOL][Windows,Linux,Android,Apple] Unpack any Sony firmware file
Disclaimer: Our tool was made for testing and educational purposes, ME is not responsible for what you have doing using our tool, you must agree that you using our tool on your own risk, I am not responsible for anything or anything else you...
forum.xda-developers.com
download, unpack and open the folder. copy the .sin file(s) into the folder and create a new folder called "output" =>
Code:
C:\Users\$NAME\Downloads\sony_dump_tools\output
type "cmd" in the above address bar of the Explorer window and hit "Enter" => cmd.exe starts
execute
Code:
sony_dump output <name of your *.sin file>
DO NOT doubleclick the .exe! It's a binary for cmd.exe!
For any errors please post the output of cmd.exe or post a screenshot (WINDOWS+Shift+S) of cmd.exe
It gave me system.sin.unknown file
And here is the cmd
socerguy said:
And here is the cmd
Click to expand...
Click to collapse
as you can see everything is fine. the file is called *.unknown because the tool don't know what it is. but it's not an error.
rename system.sin.unknown => system.ext4
download and install 7z from here. Then open system.ext4 with it.
WoKoschekk said:
as you can see everything is fine. the file is called *.unknown because the tool don't know what it is. but it's not an error.
rename system.sin.unknown => system.ext4
download and install 7z from here. Then open system.ext4 with it.
Click to expand...
Click to collapse
unfortunately 7zip says archive is corrupt
socerguy said:
unfortunately 7zip says archive is corrupt
Click to expand...
Click to collapse
Then we have to find out what kind of file type was unpacked.
Please install HxD - Hex Editor.
=> choose your language and "Edition = installable"
=> open HxD > go to "File" (top left) > "Open" > select "system.ext4"
=> press F11 and make screenshot
In HxD you'll see left "Offset". Please also scroll down to Offset 00000400 and do a second screenshot that shows 00000400 and the following lines to round about 00000600.
WoKoschekk said:
In HxD you'll see left "Offset". Please also scroll down to Offset 00000400 and do a second screenshot that shows 00000400 and the following lines to round about 00000600.
Click to expand...
Click to collapse
You have a Sony NXT, but which model exactly? The NXT-series consists of 6 different models.
It's a Sony Xperia s lt26i (4.0) https://m.gsmarena.com/sony_xperia_s-4369.php

Categories

Resources