[Q] Is there any APK to exact the boot.img in the phone - General Questions and Answers

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,

Related

Old cooker want to cook something

After many many tweaking and cooking ROMs for WinMo I want to do same with Android. The reason I cooked for WinMo was speed, but since it is not an issue with mine Desire(but it can be better I want to customize ROM a little bit, so remove some stuff and later maybe add few apps. If this want be a problem I will try to tweak too.
However in WinMo I have always have served kitchen, I just tweaked removed and add few things and job done but here there are no kitchens..yet(I hope somebody will sooner or later post it
So is there anybody who can help to set up kitchen so that I can cook few roms for me and this community?
So if I understanded correctly I need following to start cooking
android sdk
java jdk
signing tool
stock ROM
I have downloaded them all, extracted SDK in D:\HTC Desire\Android SDK, installed Java JDK in C:\Program Files (x86)\Java and I don't know what to do next?
Extract ROM, where(?), extract system.img which is in rom.zip if yes how and where?
Thanks for your help
Benko, you can extract the ROM anywhere you want. But, you don't want images. You should look at Pauls rootedupdate.zip as a starting point. Unzip that.
eViL D: said:
Benko, you can extract the ROM anywhere you want. But, you don't want images. You should look at Pauls rootedupdate.zip as a starting point. Unzip that.
Click to expand...
Click to collapse
Ok extracted that rootedupdate.zip and found a lot of apks and obexes so after I delete those files that I dont want how to put that all back together to file that is flashable?
You'll have to resign the zip after removing stuff, otherwise it will give verification errors when trying to flash.
You need to remove the current certificates from the file, there are three files in the META-INF folder - delete those, but keep the update script (the COM folder inside), it's needed for flashing.
I use this little thingy for signatures: http://android-dls.com/wiki/index.php?title=Generating_Keys
Hope this helps!
PS-beware of any dependencies between the various apk's and any framework modding that might be needed, otherwise you'll get more fc's than you can carry; I know I did
PS2- if you want a served kitchen, you'll find one over at Modaco, for a CyanogenMod port (a link is posted in a thread here) - see if that suits you're needs.
PS3- check out the Chef Central sticky here, too - it should be easier to get quicker/more accurate info from the seasoned cooks there
benko286 said:
Ok extracted that rootedupdate.zip and found a lot of apks and obexes so after I delete those files that I dont want how to put that all back together to file that is flashable?
Click to expand...
Click to collapse
Rezip the folders: meta, system & boot.img.
Then resign them. You can then transfer it to sd and try to flash. If it doesn't boot, then you have to troubleshoot.
May I know that how to change layout of the home screen?
e.g. HTC sense has news/mail widget where first installed and booted.
Where can I change these settings?
Also , I want to know if I made my own rom, and updated to my desire.
If it doesn't boot or anything, can I updated the rootedupdate.zip from Paul to get the desire back working?
Thanks
eViL D: said:
Rezip the folders: meta, system & boot.img.
Then resign them. You can then transfer it to sd and try to flash. If it doesn't boot, then you have to troubleshoot.
Click to expand...
Click to collapse
kevin612 said:
May I know that how to change layout of the home screen?
e.g. HTC sense has news/mail widget where first installed and booted.
Where can I change these settings?
Also , I want to know if I made my own rom, and updated to my desire.
If it doesn't boot or anything, can I updated the rootedupdate.zip from Paul to get the desire back working?
Thanks
Click to expand...
Click to collapse
Ok zipped those folders(META-INF, system, boot.img) in rootedupdate.zip, used autosign.bat to manually sign that .zip and now it should be flashable?
@Kevin-yes if it is not bootable you can flash Pauls rom again
benko286 said:
Ok zipped those folders(META-INF, system, boot.img) in rootedupdate.zip, used autosign.bat to manually sign that .zip and now it should be flashable?
@Kevin-yes if it is not bootable you can flash Pauls rom again
Click to expand...
Click to collapse
Hopefully. After a few hundred times you'll get the hang of it. ;P
If it boot loops, it won't boot. Try again. Always remember what you're adding and subtracting. Maybe start out with only a couple things.
eViL D: said:
Hopefully. After a few hundred times you'll get the hang of it. ;P
Click to expand...
Click to collapse
OK Since I returned my device to my store because of warranty can you try that ROM, I will upload it for you ?
benko286 said:
OK Since I returned my device to my store because of warranty can you try that ROM, I will upload it for you ?
Click to expand...
Click to collapse
Sure, why did you return it?
Uploading it now
Some very very bad battery leaking...80% in one night and sync was off!
Thank you so much eViL D: and everybody else for help
Ok I also want to create my own rom but I don't know how to sign it..
Any help would be most appreciated.
ROM Link here
http://www.mediafire.com/?zt4ymz42jzj
I hope it works
So for now I even don't need Android SDK?
I downloaded the rom kitchen from Chef Central...Does the rom need to be sign after I built them out in Linux?
Also there are some folders I not understand yet....
Inside system folder - customize, etc, framework, usr and xbin I dont understand yet.
Cause looking at eVil D:'s rom and paul's rom is very different in those. And even paul's rom doesnt have customize folder.
Would like to understand all and see if I can make a rom out.
Thanks
Anybody tried my ROM ?
benko286 said:
Anybody tried my ROM ?
Click to expand...
Click to collapse
Got corrupted DL. Will have to try again.
kevin612 said:
I downloaded the rom kitchen from Chef Central...Does the rom need to be sign after I built them out in Linux?
Also there are some folders I not understand yet....
Inside system folder - customize, etc, framework, usr and xbin I dont understand yet.
Cause looking at eVil D:'s rom and paul's rom is very different in those. And even paul's rom doesnt have customize folder.
Would like to understand all and see if I can make a rom out.
Thanks
Click to expand...
Click to collapse
the kitchen signs the rom automatically. run the menu from terminal ( using linux) and u will see all the what the kitchen is doing.
do not try to compare custom roms ... they are different. some have extrafiles & folders depending on their customisations.
best thing is to compare with an original rom for the desire. and u see what has been added to get X and Y. involves a lot of trials and errors.
eViL D: said:
Got corrupted DL. Will have to try again.
Click to expand...
Click to collapse
I will try downloading too, if it wont work I will reupload it
I know that this can sound wierd but can anybody of you upload his kitchen?
Thank you all for help!
EDIT: File is corrupted, uploading again!
Reuploaded and tested, RAR file is ok
http://www.mediafire.com/?w5wommomzmk
Please somebody try ROM
Thanks
benko286 said:
Reuploaded and tested, RAR file is ok
http://www.mediafire.com/?w5wommomzmk
Please somebody try ROM
Thanks
Click to expand...
Click to collapse
Anybody tried ROM ?
P.S anybody has link to CyanogenMod port, anybody uses that kitchen?

Batch Flasher (splash, radio, and boots into bootloader/recovery)

Hi guys, don't know if I'm posting in the right section or not, if not move it please, I'm still fairly new here.
Thought I would share a tool of mine that I created for my own use.
It'd a DOS batch file that I use to reboot my phone into bootloader, reboot it into recovery, or to create and flash various splash images.
As of 22/05/2011 code was added to flash RADIO.IMG files to your phone.
I did some work extending it so its a bit more user friendly, and contains various explanations, options etc.
Like i say, its just a tool I created for my own use, but I figure you might get some use out of it, or you can use it to build your own custom boot loady thing.
included in the zip is adb.exe, nbimg.exe, fastboot.exe and the adb dll files, so that everything you need is contained in the same folder. There is a read me file that also points out a few features.
Enjoy
Downloaded,thanks mate....
SENT FROM HONEYSENSE
Boskoel03 said:
Downloaded,thanks mate....
SENT FROM HONEYSENSE
Click to expand...
Click to collapse
Apologies, going over the code and realized I forgot to remove the lines linking to my default Android directory (which it doesn't need, since its all self-contained now).
Have re-uploaded the ZIP but if you edit the batch file just remove the lines "cd c:\android" and your good to go.

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

[Completed] Can .tar.md5 be edited and repack for flash in Odin?

Hello everyone,
The reason why I wish it to be edited and repack is because I want to change the boot logo(not boot animation) without rooting.
After few hours searching here and there, I found Samsung's boot logo located at BL_[texts].tar.md5
Open it with 7-Zip and open Param.bin, if you like to see it yourself here is a sample:
https://mega.nz/#!bV1XAQ6a!O53nC4V0HNMt3i7Qj6SCN4bxZGtkDqxPQYxSdnh_vm8
I know there's tool to edit and pack the system file but not sure how to do it with BL_[texts].tar.md5 thought
What is the tool available to replace the logo.jpg? Or is it possible to be edited using linux?
Please share what you know, and please don't discourage if you don't know.
doulc said:
Hello everyone,
The reason why I wish it to be edited and repack is because I want to change the boot logo(not boot animation) without rooting.
After few hours searching here and there, I found Samsung's boot logo located at BL_[texts].tar.md5
Open it with 7-Zip and open Param.bin, if you like to see it yourself here is a sample:
hxxps://mega.nz/#!bV1XAQ6a!O53nC4V0HNMt3i7Qj6SCN4bxZGtkDqxPQYxSdnh_vm8 <-- _vm8 no space
I know there's tool to edit and pack the system file but not sure how to do it with BL_[texts].tar.md5 thought
What is the tool available to replace the logo.jpg? Or is it possible to be edited using linux?
Please share what you know, and please don't discourage if you don't know.
Click to expand...
Click to collapse
Greetings and welcome to assist. I think it may be possible with linux, you can unpack and repack the tar file easy enough and then create a md5 file. I have never done it myself but do know of someone who did this on a verizon device with a locked bootloader
Good Luck
Sawdoctor
sawdoctor said:
Greetings and welcome to assist. I think it may be possible with linux, you can unpack and repack the tar file easy enough and then create a md5 file. I have never done it myself but do know of someone who did this on a verizon device with a locked bootloader
Good Luck
Sawdoctor
Click to expand...
Click to collapse
I'm not using any linux OS so I don't know much
1. How to compress tar files and set specific permission to file while compress using linux?
2. Is there any GUI or need to use everything using console?
3. In windows is there any tool available to compress tar file as well?
doulc said:
I'm not using any linux OS so I don't know much
1. How to compress tar files and set specific permission to file while compress using linux?
2. Is there any GUI or need to use everything using console?
3. In windows is there any tool available to compress tar file as well?
Click to expand...
Click to collapse
If you want to use linux there are plenty of prebuilt vm machines at osbox.com, I like linux mint myself as it has a desktop similar to windows. You can also boot linux mint from a usb drive without actually installing it (live mode)
I also found this tool for windows which may work as well
http://forum.xda-developers.com/showthread.php?t=2446269
And this kitchen runs in windows too
http://forum.xda-developers.com/che...-android-roms-editor-assayyedkitchen-t3410545
Hope that helps
Good Luck
Sawdoctor

How to repack payload.bin

Hello all.
I haven't posted here for years. My account is still active, but I am no longer allowed to post in specific forums regarding ROMs, so I am asking here.
[moderators: sorry if this is the wrong topic. It is the closest I could find, since my question is not device specific]
I have an Android 9 box which is signed with AOSP test certificates.
I also have an update.zip file for this box.
This box has A/B OTA support, it is working and verified through fastboot.
I want to edit and repackage the update.zip
I know how to do it on old ROMs, but I could not find any tool that can repackage payload.bin
There are several tools to unpack it, and I used one to extract boot.img and system.img
But I can't find any way to package these files back in to payload.bin format.
I tried various google searches and even analyzing the open source unpacking tools, but building a packaging tool from scratch is too complex for me at this point.
Any advice?
Have you found anything for this? I am trying to repack the payload.bin as well from modified IMG files, but I cant find anything on the web.
I extracted this script from linux-86 tools, pretty sure this is the one that repacks all the images into payload.bin, but donno what's the exact code inside it that makes it possible... Understand the last 100 lines & you might succeed.
MPK99 said:
I extracted this script from linux-86 tools, pretty sure this is the one that repacks all the images into payload.bin, but donno what's the exact code inside it that makes it possible... Understand the last 100 lines & you might succeed.
Click to expand...
Click to collapse
MPK99 said:
I extracted this script from linux-86 tools, pretty sure this is the one that repacks all the images into payload.bin, but donno what's the exact code inside it that makes it possible... Understand the last 100 lines & you might succees
Click to expand...
Click to collapse
Please Teach me, how to repack .img files into payload.bin
Did u Already Know How To Repack .img Files Into Payload.bin?
MPK99 said:
I extracted this script from linux-86 tools, pretty sure this is the one that repacks all the images into payload.bin, but donno what's the exact code inside it that makes it possible... Understand the last 100 lines & you might succeed.
Click to expand...
Click to collapse
Hello do you still have this script trying to repack a QCM6125 with magisk and twrp
Edit: Its advised to use superR's kitchen
SuperR Kitchen
forum.xda-developers.com
Hey
I've also tried everything, how do you pack it back into a payload.bin, I only wanted usb rights in the Platform.xml, I didn't want that anymore, that's enough for me, but how do I pack it again, thanks
I'm asking here as I never got an answer, sorry
don't want root
Thanks

Categories

Resources