How to convert boot.bin into boot.img?? - T-Mobile LG G4

I'm unable to figure out how to convert the boot.bin file I extracted from the firmware.kdz file. Magic iso won't convert the bin file to img file. So do I just change the extension from .bin to .img? Something tells me it's not that simple.
Btw I'm asking because I'm trying to build a rom. So I'm gonna need this boot.img to be able to boot in my rom. Any help is appreciated.
Or if someone could point me in the right direction for pulling the boot.img from my phone with adb, that would work too. All the guides I found are for different devices with different partition names. And a lot of the commands aren't working for me.
Sent from my LG-H811 using Tapatalk

Mikekelso421 said:
I'm unable to figure out how to convert the boot.bin file I extracted from the firmware.kdz file. Magic iso won't convert the bin file to img file. So do I just change the extension from .bin to .img? Something tells me it's not that simple.
Btw I'm asking because I'm trying to build a rom. So I'm gonna need this boot.img to be able to boot in my rom. Any help is appreciated.
Or if someone could point me in the right direction for pulling the boot.img from my phone with adb, that would work too. All the guides I found are for different devices with different partition names. And a lot of the commands aren't working for me.
Sent from my LG-H811 using Tapatalk
Click to expand...
Click to collapse
You answered the question urself... Just change the file extension from bin to img.. Ive done that before and it works... U can do a adb pull dev/block/bootdevice/by-name/boot.img

Google~Android said:
You answered the question urself... Just change the file extension from bin to img.. Ive done that before and it works... U can do a adb pull dev/block/bootdevice/by-name/boot.img
Click to expand...
Click to collapse
I'll try it and let you know if I have success. Thanks for your response.
Sent from my LG-H811 using Tapatalk

Did it work, or not? I have the same question.

If you have root you can use app 'Partitions Backup & Restore' by Wanam from app store to pull any partition from your phone.

fofopuka said:
Did it work, or not? I have the same question.
Click to expand...
Click to collapse

it work for me i just fix my Tecno WX3P that stuck at boot

Tech_Savvy said:
You answered the question urself... Just change the file extension from bin to img.. Ive done that before and it works... U can do a adb pull dev/block/bootdevice/by-name/boot.img
Click to expand...
Click to collapse
That's what I needed to know !

Related

Kernel Manager

TeamWIN has now made their Kernel Manager app work with the XOOM. What it allows you to do, is flash kernels inside android. No more booting into fastboot, or even running update.zips.
https://market.android.com/developer?pub=Team+Win
Just downloaded and just what we need, it is awesome, will get the paid version as promised in the irc LOL
bwcorvus said:
TeamWIN has now made their Kernel Manager app work with the XOOM. What it allows you to do, is flash kernels inside android. No more booting into fastboot, or even running update.zips.
https://market.android.com/developer?pub=Team+Win
Click to expand...
Click to collapse
It corrupted my kernel just fyi to the devs
sfld said:
It corrupted my kernel just fyi to the devs
Click to expand...
Click to collapse
it didn't corrupt your kernel. Just manually push the BCM4329.ko file through adb.
or just to be safe just push everything again manually. That way you know everything was done right.
sfld said:
It corrupted my kernel just fyi to the devs
Click to expand...
Click to collapse
if there are issues, please join us in #kernel-manager on irc.freenode.net. we encourage all devs to participate in troubleshooting any outstanding issues on all devices.
this broke my wifi. what do i do? i have no idea how to do the steps above with adb
grasshoxda said:
this broke my wifi. what do i do? i have no idea how to do the steps above with adb
Click to expand...
Click to collapse
Download and run the one click root file, it will repatch with the kernel that comes in it or you can place the files from the latest kernel release into it. I think thats the best option for you if you are not comfortable using adb.
Get the one click root here.
http://forum.xda-developers.com/showthread.php?t=1011196
i reran rootmyxoom and have wifi back. how to i use this then without losing wifi?
slatejones said:
Download and run the one click root file, it will repatch with the kernel that comes in it or you can place the files from the latest kernel release into it. I think thats the best option for you if you are not comfortable using adb.
Get the one click root here.
http://forum.xda-developers.com/showthread.php?t=1011196
Click to expand...
Click to collapse
lol just finished doing exactly that thanks tho
how do i go about placing the new files into it?
grasshoxda said:
lol just finished doing exactly that thanks tho
Click to expand...
Click to collapse
It could be an issue with the download. Find the file with astro or root explorer and delete it then redownload, or download to your computer and place it on the xoom and have the app install from the sd card instead of downloading it.
If it still doesnt work for you, just reflash the one click root and give it a day or two for the devs to update the app or something.
Hope everything works out for you
grasshoxda said:
how do i go about placing the new files into it?
Click to expand...
Click to collapse
Well.... Uhhh.... Thats not something I tried myself. But I think it would be pretty easy... When you extract the root my xoom folder to your computer, open it up and find the kernel files... then replace them with the updated files from the 1.3.2 zip file. Just unzip the 1.3.2 folder and copy and paste.
Hope this helps
ive opend the rootmyxoom folder and i dont know where to put the contents from the zip
grasshoxda said:
ive opend the rootmyxoom folder and i dont know where to put the contents from the zip
Click to expand...
Click to collapse
I dont have a current version of the one click root, but I would think to look inside either the wifi root folder or the tiamat folder (inside the rootmyxoom folder). Whichever one has the same files from the 1.3.2 folder, copy and paste them over to that folder inside the rootmyxoom folder and you should be golden.
ive looked thru them all , i dont see any files in any of those folders that look like the ones that come in the zip
open up the tiamit files in the root my xoom folder and replace with whatever kernel you want to use. I did this three times with tiamit 1.3.0, and .1 and .2. You can try to just replace the entire file or go in and replace the indiviual files from within the tiamit kernel folder. Be careful though if you replace the wrong files or mix them up could be bad results, usually just no wifi or bootloops.
Oh by the way i always did all this on a windows based computer that way the files look the same or similar
grasshoxda said:
ive looked thru them all , i dont see any files in any of those folders that look like the ones that come in the zip
Click to expand...
Click to collapse
This works great, now if only there can be a similar app that installs themes
Wow, Kernel manager just solved my problem of flashing the new tiamat 1.4.0 kernel.
Was having issues in CWM, instead of pulling my hair out in testing it out via trial by error. Had a (status 0) error while flashing kernel in CWM.
It was resolved by using Kernel Manager!!!
Can't access link to download apk? Anyone have this problem?
Edit: got it downloaded
Sent from my Xoom using Tapatalk
worked great with 1.3 but as soon as i tried 1.4 it broke my wifi, gonna wait till next update and try again, dont like the 1click root method

[Q] How to extract system.img

how could extract system.img from stock rom? I've tried simg2img and mount, but both not work.
use file command could only get the file as data.
any clues?
Thanks
fireinice said:
how could extract system.img from stock rom? I've tried simg2img and mount, but both not work.
use file command could only get the file as data.
any clues?
Thanks
Click to expand...
Click to collapse
Read--> http://forum.xda-developers.com/moto-x/general/questions-qa-thread-t2404256
You've already been told where to post why are you creating another [Q] thread in General section?
orky87 said:
Read--> http://forum.xda-developers.com/moto-x/general/questions-qa-thread-t2404256
You've already been told where to post why are you creating another [Q] thread in General section?
Click to expand...
Click to collapse
If you notice the post time, you can find the reason. I can not find how to delete this post. And I do use search for forum and google. tried all clues...

Extracting system.img

I've been a member of the Galaxy S3, S4, Galaxy Tab 4 8.0 and now I'm proud member of the Galaxy S6 Gcommunity..
I'm a modder and I have been having a lot of trouble with decompiling and extracting the system.img..
All my old methods will not work like ext4_unpacker...
I've been looking at youtube videos among other things and came up empty..
All I need is a point in the right direction and I can do the rest..
BTW I have the Samsung G920T 128 gig model..
I've tried so many old methods, this is a new device.. I'm likely to be ignored...
But I'd appreciate the help
I dont know much about that stuff but have seen this mentioned before. http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025
Really depends on who ya ask for help bro..............
The Sickness said:
Really depends on who ya ask for help bro..............
Click to expand...
Click to collapse
If you don't mind me asking, @thes1ckness what tool do you use to pull a system dump from system.img for s6 firmwares?
As op said I can't seem to find the common method for doing this nowadays.
Alarand said:
If you don't mind me asking, @thes1ckness what tool do you use to pull a system dump from system.img for s6 firmwares?
As op said I can't seem to find the common method for doing this nowadays.
Click to expand...
Click to collapse
The Sickness has said to me in a PM that ImgExtractor_1_3_4 that can be found at http://forum.xda-developers.com/showthread.php?t=2667610 is an excellent simple application to extract the system.img file.. It has worked on all system.img files current and old..
Zaphodspeaks said:
The Sickness has said to me in a PM that ImgExtractor_1_3_4 that can be found at http://forum.xda-developers.com/showthread.php?t=2667610 is an excellent simple application to extract the system.img file.. It has worked on all system.img files current and old..
Click to expand...
Click to collapse
Thanks man.
Alarand said:
Thanks man.
Click to expand...
Click to collapse
I'm just passing it on.. It was @The Sickness that pointed me in the right direction..
alternative solution for img extraction/fix here
How do you compile it? That way its back into a Odin compatible system.IMG?
1619415 said:
How do you compile it? That way its back into a Odin compatible system.IMG?
Click to expand...
Click to collapse
You use Winrar to zip it up with the appropriate file structure and flash in recovery. That's if you extracted files from the image.
For a tar, follow this....
http://forum.xda-developers.com/showthread.php?t=2665283
1619415 said:
How do you compile it? That way its back into a Odin compatible system.IMG?
Click to expand...
Click to collapse
For remaking system.img you do need make_ext4fs:
make_ext4fs -s -S file_contexts -l <system size> -a system system.img /directory/to/system/folder
System size can be found by dh command
File_contexts should be extracted from kernel ramdisk

[Request] BOOT.img

Hello
Is there any1 with BOOT.img from firmware B584 that could upload?
You mean the kernel, right? Sorry, no. Have just the UPDATE.APP from B594 on my phone. Maybe you can download the zip-file again and get it out of the UPDATE.APP? For what do you need this? Update because custom kernel?
Literally the kernel i have installed now (ESAL v2.0) lacks "Revoke USB Authorizations" on settings. Thats why i need that specific one. (removing data/misc/adb/adb-keys doesnt help)
metonator said:
Literally the kernel i have installed now (ESAL v2.0) lacks "Revoke USB Authorizations" on settings. Thats why i need that specific one. (removing data/misc/adb/adb-keys doesnt help)
Click to expand...
Click to collapse
I'm too lazy to get boot.img for you, but there is a work around for your problem.
If you are using windows go to C:\Users\<your_windows_user_name is_here>\.android
(If using linux I don't know where to go)
Copy adbkey.pub in your device and rename it "adb_keys" with no filename end.
On your device move it in to data/misc/adb/ and probably not important but permissions are -rw-r----- .
Restart adb.
This has worked for me earlier, I hope I didn't forgot anything important.
Also you can use huaweiupdate extractor to get boot.img from update.app.
keikari said:
I'm too lazy to get boot.img for you, but there is a work around for your problem.
If you are using windows go to C:\Users\<your_windows_user_name is_here>\.android
(If using linux I don't know where to go)
Copy adbkey.pub in your device and rename it "adb_keys" with no filename end.
On your device move it in to data/misc/adb/ and probably not important but permissions are -rw-r----- .
Restart adb.
This has worked for me earlier, I hope I didn't forgot anything important.
Also you can use huaweiupdate extractor to get boot.img from update.app.
Click to expand...
Click to collapse
Will try tonight if this method will work
Just use adbd insecure
Ok, extracted it myself (took a bit, but at least it works). Here's the file in case someone will search for it.
metonator said:
Ok, extracted it myself (took a bit, but at least it works). Here's the file in case someone will search for it.
Click to expand...
Click to collapse
thks im looking for that

Question How to unpack .img.lz4 files?

I've been looking through a couple of xda thread about it, found a few solutions. I managed to unpack from the .tar file, got the img.lz4 file and from that the .img and from .img to .img.ext4, but the .ext4 file is too small compared to the original .img file, so I guess the older SVAImgUnpack doesnt do the job correctly and can't open it with ext2explore. Is there any other software to use for this?
Nevermind, I've found a program for it.
Dummen said:
Nevermind, I've found a program for it.
Click to expand...
Click to collapse
which program you used to extract, kindly share it, i need to extract modem files
hahmad78 said:
which program you used to extract, kindly share it, i need to extract modem files
Click to expand...
Click to collapse
I think it was this, Im not sure.

Categories

Resources