How to create update-binary file....?? - General Questions and Answers

Hi guys,
plz tell me how to create and edit update-binary file.
Thank you

Umn... Update-binary file or updater script?

utsha.saha.58 said:
Umn... Update-binary file or updater script?
Click to expand...
Click to collapse
tell about binary

miyuru priyawadan said:
Hi guys,
plz tell me how to create and edit update-binary file.
Thank you
Click to expand...
Click to collapse
If you are trying to modify the binary to be able to downgrade to an older firmware on a Samsung device, that is not going to work at all, it requires things that a user does not have access to, so don't waste your time trying. Without extensive knowledge of how the bootloader on your device is designed and intimate knowledge of what your hardware components expect from the software that you design, it would take years of time for you to gain the necessary knowledge and enough understanding to implement that knowledge. By then, your device would be too old to use and you will have moved on to a newer device.
Sent from my SM-S767VL using Tapatalk

Related

UPDATE-ZIP/Flashable-zip Whole-file Signer

Here I present,
An easy to use and effective, Flashable-zip(or update.zip) Signer!
There are many update-zip(flashable zip) Signers available, but this is special.
This Signer WHOLE-FILE signs your update.zips/flashable-zips, so it can pass even recovery's Signature Verification(Tested on CWM 5.0.2.8 on HTC Wildfire S)!
Unfortunately, as I am not very veryGood at C/C++ Programming, this tool does not have a Graphic User Interface(GUI).
I apologize, but as I am new to XDA, I don't know how to insert pictures, "Code:" etc, so this thread may look very ugly to you.
Oh yes! And DON'T EVER delete any file included in the zip, as it will cause the zip signer to malfunction.
I may have made this flashable-zip Signer, but I couldn't have done it without this people:
zeppelinrox ( for teaching me a little C/C++ Programming with his scripts )
The creator of signapk.jar ( an important part of this tool )
Google ( For Creating Android so that these tools can be developed )
YOU! ( for testing out my flashable-zip Signer )
And many more, who I apologize for leaving you out
Guide to using this zip signer
To Use this Signer:
1) Unzip the file(Obviously!)
2) Copy & paste the update-zip(a.k.a flashable zip) that you want to sign into that folder.
3) Run ROM Signer.bat
4) Follow the instructions in the application.
5) When it says "File successfully signed......", You are DONE!
After File signing operation succeeds, check the "signed" folder for your signed zip file.
Thank you for Using my Flashable-zip Signer!
I would appreaciate if you would hit the "Thanks" button.
Portable Java(jPortable by PortableApps.com) DIRECT link
Here are the direct links for the 32-bit & 64-bit Windows Portable version of the Java(R) Runtime Environment:
32-bit : http://jaist.dl.sourceforge.net/pro...Versions/jPortable_7_Update_25_online.paf.exe
64-bit: http://jaist.dl.sourceforge.net/pro...rsions/jPortable64_7_Update_25_online.paf.exe
Just click on the link and the Portable Java RE should start downloading!
Nice work
Marília de Oliveira said:
Nice work
Click to expand...
Click to collapse
Lol didn't expect to see you here. Hi @haoyangw long time no see mate
Hi thanks for this signer! good work!
Please if someone can help me,
i have all firmware files for the Nokia 8110 4G and im not sure how to make the META-INF file what do i need to put in there and how to do it, as im trying to sign the package and it dose not go
yowejowe said:
Hi thanks for this signer! good work!
Please if someone can help me,
i have all firmware files for the Nokia 8110 4G and im not sure how to make the META-INF file what do i need to put in there and how to do it, as im trying to sign the package and it dose not go
Click to expand...
Click to collapse
Sorry let me better understand your issue first, you want to create a flashable update.zip for installing your firmware files right? So you want to create the correct META-INF files from scratch? Do you have TWRP recovery installed on your phone already? Cos it supports a newer kind of META-INF structure that makes a lot easier. Also your firmware files are for installing into the /system partition, or to be flashed? Sorry for having so many questions haha, I can better help you if I understand the technical details
haoyangw said:
Sorry let me better understand your issue first, you want to create a flashable update.zip for installing your firmware files right? So you want to create the correct META-INF files from scratch? Do you have TWRP recovery installed on your phone already? Cos it supports a newer kind of META-INF structure that makes a lot easier. Also your firmware files are for installing into the /system partition, or to be flashed? Sorry for having so many questions haha, I can better help you if I understand the technical details
Click to expand...
Click to collapse
HI thanks for the reply,
i have all .img files for this model i want to flash, its a kaios phone, and i have the original recovery still on it, (will the TWRP recovery work on kaios?) and yes i need to create a META-INF file from scratch.
THANKS FOR MAKING THIS TOOL!!!
You just saved me from a chao of broken bootanimation issue!
I REALLY REALLY APPRECIATE YOU AND I ALMOST CRIED( •̥́ ー •̀ू )!!!
THAAANK YOU!!!!O(≧▽≦)O
Is there a Linux version

[Q] Is there any APK to exact the boot.img in the phone

I want to unpack the img but don't want to use in my pc(too confused).
so I want to unpack by the phone,
thank you
ytyyutianyun said:
I want to unpack the img but don't want to use in my pc(too confused).
so I want to unpack by the phone,
thank you
Click to expand...
Click to collapse
I don't think there is. Maybe I'm wrong too.
Basically all these boot.img tools are written in shell/bash and is made specifically to run in Linux distros.
Anyways there is an Android app called, Complete Linux Installer that lets you install any Linux OS in your phone. But I doubt whether boot.img tools work, as it needs various library files for it to work.
On a side note, I guess it would be more complex to do it in phone rather than in PC, if there is some way for it to work.
coolsandie said:
I don't think there is. Maybe I'm wrong too.
Basically all these boot.img tools are written in shell/bash and is made specifically to run in Linux distros.
Anyways there is an Android app called, Complete Linux Installer that lets you install any Linux OS in your phone. But I doubt whether boot.img tools work, as it needs various library files for it to work.
On a side note, I guess it would be more complex to do it in phone rather than in PC, if there is some way for it to work.
Click to expand...
Click to collapse
Thank you for your reply, but do you feel strange that the IMG is created by the recovery, so it is rational that there is a tool about IMG building. then why there is no apk. I mean some professional can extract just from the CWM recovery, I think.
need root
if you wanna get boot.img i think you must be rooted.
k0tsompakos said:
if you wanna get boot.img i think you must be rooted.
Click to expand...
Click to collapse
yes, I root, so I can use the recovery to back and restore,
I think any app that can access zip files in the internal and external memory can extract boot.img.
Like ASTRO File Manager and stuff...
recovery?
You wanna install a rom?
or recovery??
or we speak about boot.img? (Boot img is the boot animation when you turn on your phone.)
k0tsompakos said:
You wanna install a rom?
or recovery??
or we speak about boot.img? (Boot img is the boot animation when you turn on your phone.)
Click to expand...
Click to collapse
Nooooo
boot.img is the kernel (zImage + Ramdisk packed into an image file) that lies in the /boot partition
@ OP - If you want to extract boot.img itself, there are various methods and from CWM recovery like you said. I thought you were mentioning about how to unpack the contents of the boot.img say like zImage, Ramdisk and other files.
0ops
0ops yeah... :silly:
Searching for 1 minute and found this tool :good:
--> [TOOL] Boot.img tools [unpack, repack, ramdisk] <--
( I do not send link cause i am new here and can't :angel: )
It works. Have a nice day
k0tsompakos said:
0ops yeah... :silly:
Searching for 1 minute and found this tool :good:
--> [TOOL] Boot.img tools [unpack, repack, ramdisk] <--
( I do not send link cause i am new here and can't :angel: )
It works. Have a nice day
Click to expand...
Click to collapse
Yes, that's the tool and it works :good:
But as OP mentioned, he wanted to do it within phone, I highly doubt though.
coolsandie said:
Yes, that's the tool and it works :good:
But as OP mentioned, he wanted to do it within phone, I highly doubt though.
Click to expand...
Click to collapse
It could be done using this post http://forum.xda-developers.com/showpost.php?p=20227868&postcount=1124 and a hex editor from play store on your phone. But would be even more fiddly than on pc I would imagine, unless your phone has a largish screen. It could be done though.
If editing the ramdisk, you would need to unpack and repack after editing, which usually requires linux. I recently found http://forum.xda-developers.com/showthread.php?t=2036528 for PC, but have not had a chance to try it yet, seems best solution for OP
coolsandie said:
Yes, that's the tool and it works :good:
But as OP mentioned, he wanted to do it within phone, I highly doubt though.
Click to expand...
Click to collapse
thank you coolsandie, the android is based on linux, isn't it, and if I can, I can install busybox.and using the terminal like Android Terminal Emulator, but I do not know the procedure. like you, it's more complex,
Robbie P said:
It could be done using this post http://forum.xda-developers.com/showpost.php?p=20227868&postcount=1124 and a hex editor from play store on your phone. But would be even more fiddly than on pc I would imagine, unless your phone has a largish screen. It could be done though.
If editing the ramdisk, you would need to unpack and repack after editing, which usually requires linux. I recently found http://forum.xda-developers.com/showthread.php?t=2036528 for PC, but have not had a chance to try it yet, seems best solution for OP
Click to expand...
Click to collapse
it's good tool, it can unpack the boot.img, but as to the kernel, I don't know how to unpack. but this tool add to my favorite, thanks Robbie.
OK, I find the app, names: yaffs, the author I don't know because I found in the search engine. so I also cannot find the course
then the app,

[Q] G920f S6 --Dump Request

Plesase, can anyone could be so kind enough to help me make a dump of his Samsung S6 G920f/G920P Variant
PARTITION NEEDED
~PERSDATA.img
~persistent.img
======================================================================
And ODIN FLASHABLE format convertion (.TAR) will be appreciated. I mean after making the dump,
You may also help to convert to .tar {ODIN flashable format}
How about requesting this in the right section, for starters.
Paradoxumical said:
How about requesting this in the right section, for starters.
Click to expand...
Click to collapse
where do you think, i can post, to get appropriate and Quick response
Me may not been posting but not newbie
chubbie said:
Plesase, can anyone could be so kind enough to help me make a dump of his Samsung S6 G920f/G920P Variant
PARTITION NEEDED
~PERSDATA.img
~persistent.img
======================================================================
And ODIN FLASHABLE format convertion (.TAR) will be appreciated. I mean after making the dump,
You may also help to convert to .tar {ODIN flashable format}
Click to expand...
Click to collapse
why are you asking these partitions dumps? do you want to remove EE?
nsnobel2 said:
why are you asking these partitions dumps? do you want to remove EE?
Click to expand...
Click to collapse
you are very intelligent. Someone gave me a file, though.
i compile witth cygwin, but file not flashed. i dont know what could be wrong
chubbie said:
you are very intelligent. Someone gave me a file, though.
i compile witth cygwin, but file not flashed. i dont know what could be wrong
Click to expand...
Click to collapse
Let me a try, can you tell me the how you compile it with cygwin?

Boot manipulation

Greetings.
Need a Android 6 ELF file for :
makebootfs
mkbootimg
unmkbootimg
They must be Honor 8 compatible.
Can any1 help please.
StratOS_HTC said:
Greetings.
Need a Android 6 ELF file for :
makebootfs
mkbootimg
unmkbootimg
They must be Honor 8 compatible.
Can any1 help please.
Click to expand...
Click to collapse
What are you planning to use them for?
Sent from my honor 5X using XDA Labs
Disasemble and reasemble the images.
StratOS_HTC said:
Disasemble and reasemble the images.
Click to expand...
Click to collapse
Hey @StratOS_HTC nice to see you here (coming from the Galaxy Core 2 Forum )
Sent from my Honor 8 using XDA Labs
I don't think you need them. Unpacking and packing boot images is pretty straightforward since Huawei's boot images have the same format as stock Android AOSP boot images. You can use the utilities you mentioned to unpack without need of any ELF file.
disasm
hackslash said:
I don't think you need them. Unpacking and packing boot images is pretty straightforward since Huawei's boot images have the same format as stock Android AOSP boot images. You can use the utilities you mentioned to unpack without need of any ELF file.
Click to expand...
Click to collapse
Since i have soe experience on other phones and the best way is always with disasm and reasm of the files. Don't want to put the whole sdk or git files on my comp.
The best way I'm doing it is with phone throught adb bridge.
So I'm looking for the executable files for it (mkbootimg,unmkbootimg), have found only PIE version of Marshmallow for it.
Can any one please help.
Thx in advance.
StratOS_HTC said:
Since i have soe experience on other phones and the best way is always with disasm and reasm of the files. Don't want to put the whole sdk or git files on my comp.
The best way I'm doing it is with phone throught adb bridge.
So I'm looking for the executable files for it (mkbootimg,unmkbootimg), have found only PIE version of Marshmallow for it.
Can any one please help.
Thx in advance.
Click to expand...
Click to collapse
Look into the systemless root tools , those should do what you're looking for.
https://github.com/phhusson/super-bootimg

AllWinner: U-Boot Script (Convert .BIN to .FEX)

I need help converting an Allwinner U-Boot .bin file to .fex file so I can stitch it into my android update. I can't quite figure out how to accomplish this. I have found multiple resources to accomplish this but it confuses me a little bit. I'm utilizing a 'Live USB' Xubuntu Distro to attempt this. Basically I need a tiny tutorial of commands to enter so I can succeed.
Alternatively, would a native Linux user convert the file for me using 'Sunxi-tools' bin2fex? I attached the file that needs converted, in case that's an option.
If there's anymore information I need to relay to accomplish this task, please let me know.
Resources....
http://linux-sunxi.org/Sunxi-tools
http://wiki.andahammer.com/AllWinner:_U-Boot_Script
Can you understand me the difference bet. Sboot and U boot ?
aboodgamal13 said:
Can you understand me the difference bet. Sboot and U boot ?
Click to expand...
Click to collapse
I truly have NO idea! I just know that's what it's referred to for my application.

Categories

Resources