Boot manipulation - Honor 8 Questions & Answers

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

Related

Wanted - srs_processing.cfg and bootanimation.zip from stock 8.4.4.11

I need these two files. If someone can put them on a filehost for me that would be really great. Cheers.
Are you not able to pull these from the OTA zip?
No they are just patch files. Once the OTA isntalls/patches the existing files then you can pull them with ADB or if you root the stock after OTA. I can only get the files from someone who has installed the OTA.
here
I don't have bootanimation.zip cause i used bsdiff to apply the srs_processing.cfg patch file and didn't actually update my tablet.
Thanks. That does indeed fix the balance issues. If anyone can supply bootanimation.zip as well I'll be sorted
deadman3000 said:
Thanks. That does indeed fix the balance issues. If anyone can supply bootanimation.zip as well I'll be sorted
Click to expand...
Click to collapse
You can apply the .p for bootanimation if you download and compile imgdiff2 on linux, don't seem to have a windows port unless you use cygwin or linux box.
bootanimation from 8.4.4.11
deadman3000 said:
I need these two files. If someone can put them on a filehost for me that would be really great. Cheers.
Click to expand...
Click to collapse
Hey don't know if you still want it as it is not that special but here's the bootanimation from 8.4.4.11
frosty5689 said:
don't seem to have a windows port unless you use cygwin or linux box.
Click to expand...
Click to collapse
Hello sir, could you please help me to find IMGDIFF2 tool for Cygwin? I am a windows user, know nothing about linux...
jawad6233 said:
Hello sir, could you please help me to find IMGDIFF2 tool for Cygwin? I am a windows user, know nothing about linux...
Click to expand...
Click to collapse
Thread is 2.5 years old

[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,

Android DAT/IMG File Unpack and Repack V 2.0

This is a thread on how to unpack and repack the system.img.dat file of your Android Rom,to see its content.
Starting from Android 5.x (Lollipop) Custom roms are not compressed like on previous android versions. Earlier all Files were inside the /system folder.And we were able to see all the system files
The problem started in >=5.0 versions because rom size increased and it was necessary to highly compress them again.
You Must Have Following Files Installed in your PC
1. Java SDK = Click here to download java
2. Python 2.xxx= Click here to download Python
How to decompress /Repack these files? Its Sipmle !!
Follow the Instructions Below To do that.
Download the Android Unpack Repack adithyan25.rar from here
Or you can download it from attachments
Run The File And Follow The Instructions As on screen. :good:
Video Tutorial
Special Thanks @xpirt
If you are a good Programmer You Can follow his method .View His Method here
If you Have any doubts or Enquired post in the Comment section
I got an error while repacking the system.img
"Input-IMG\file_contexts: No such file or directory"
Please help.
AmeyRanberg said:
I got an error while repacking the system.img
"Input-IMG\file_contexts: No such file or directory"
Please help.
Click to expand...
Click to collapse
did you copy the files to the creard folder!??... watch the video
adithyan25 said:
did you copy the files to the creard folder!??... watch the video
Click to expand...
Click to collapse
The rom that I had, only had system.img boot.img and those older folders. It didnt have file_contexts. But later I extracted it from boot.img and it worked thanks anyway.
AmeyRanberg said:
The rom that I had, only had system.img boot.img and those older folders. It didnt have file_contexts. But later I extracted it from boot.img and it worked thanks anyway.
Click to expand...
Click to collapse
Great And thank u for trying my app
I falied system.img repacked
Hi~
I wateched your video.
So I succeed system.img unpacked.
But, I tried system.img repack. I failed.
Why failed? T.T
Start Repacking in system.img......
please wait......
Input-IMG\file_contexts: No such file or directory
critical error: main: failed to open input image : No such file or directory
did u copy fule_contexta
Similar to my friends.
http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
same the tool I make http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Kritsada Chaitan said:
same the tool I make http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Click to expand...
Click to collapse
yeah tanks for the info... i made this tool using xpirt post and a screen shot of a software that i saw in google... any way great wrks... i made this through java..
AmeyRanberg said:
The rom that I had, only had system.img boot.img and those older folders. It didnt have file_contexts. But later I extracted it from boot.img and it worked thanks anyway.
Click to expand...
Click to collapse
deleted
adithyan25 said:
did u copy fule_contexta
Click to expand...
Click to collapse
what is file_contexta?
I dont understand..
same here. failed while repack
critical error: main: failed to open input image: No such file or directory
its a file along with the rom that you get.. just watch the video
Sent from my ASUS_Z00A using XDA-Developers mobile app
Problem/
No file " system transfer list". Where to get it? Firmware is given under SPFT.
hi @adithyan25
I'm so interested with this topic.
I tried but still stuck on file_context
please also make written tutorial on this thread.
kevin mitnick said:
hi @adithyan25
I'm so interested with this topic.
I tried but still stuck on file_context
please also make written tutorial on this thread.
Click to expand...
Click to collapse
didnt you watch the video??? i think it had all the component you nedd.. still any prblm cmnt below
Sent from my ASUS_Z00A using XDA-Developers mobile app
adithyan25 said:
didnt you watch the video??? i think it had all the component you nedd.. still any prblm cmnt below
Sent from my ASUS_Z00A using XDA-Developers mobile app
Click to expand...
Click to collapse
i did.
but on video, tutorial about dat file..
Still unable to repack the dat.
Windows says rimg2sdat is not a valid Win32 application.
It works under Windows 7 at work but not under Windows XP Pro like I have at home.
Someone got another version? Is there a XP compatible version of rimg2sdat?
Thanks
Kritsada Chaitan said:
same the tool I make http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Click to expand...
Click to collapse
Thanks to the original work-works correctly!
Working perfectly with Android 6.0.1, Thanks Dev !!

[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

[dump][v10f] G7 Stock Vendor and System

Hello, so i decided to use TWRP to dump the system and the vendor image so that everyone can do whatever they want with it.
Heres the link.
if theres something wrong with the files or with the link please let me know.
The archives are small because i compressed them . . . a lot.
Ask
Hello,
I am using lg G710N10z
Can you please teach me how to unlock bootloader and to root.
Can't find tutorial for Korean model
Thanks
shin2468 said:
Hello,
I am using lg G710N10z
Can you please teach me how to unlock bootloader and to root.
Can't find tutorial for Korean model
Thanks
Click to expand...
Click to collapse
Unfortunately the only model that can be unlocked right now is the European one and version 10z still doesn't exist (maybe a typo?)
Any chans u have the 10k unmodified boot?
Could you do a system dump of the V40? I see you did the vendor for the V40.
TotallyAnxious said:
Could you do a system dump of the V40? I see you did the vendor for the V40.
Click to expand...
Click to collapse
I don't have the v40. The vendor is from autoprime.
LameMonster82 said:
Hello, so i decided to use TWRP to dump the system and the vendor image so that everyone can do whatever they want with it.
Heres the link.
if theres something wrong with the files or with the link please let me know.
The archives are small because i compressed them . . . a lot.
Click to expand...
Click to collapse
First of all, thank you heaps LameMonster82, you are an absolute champion!!. I was searching for hours to find a kdz file for G710EM10p and your posting was the only one I found. For some reason the "thaks" buttob isn't visible to me.. maybe because I'm a new member.
I thought I could be helpful by listing the different KDZ files which are in your google drive folder so other people can find them while searching through google like I was.
In the above link from LameMonster82 there are following KDZ files for the LM-G710EM (European) variant of the LG G7 :
G710EM10b
G710EM10f
G710EM10k
G710EM10p
For the LG V40:
V405UA10c
V405UA10l
To install the KDZ file follow the guide here: https://forum.xda-developers.com/lg-g7-thinq/how-to/guide-how-to-flash-stock-firmware-lock-t3820888
Thanks again
I am having problem downloading G710EM10p kdz file, is there perhaps an alternative download link?
terirem said:
I am having problem downloading G710EM10p kdz file, is there perhaps an alternative download link?
Click to expand...
Click to collapse
What kind of problem? Is it corrupted?
LameMonster82 said:
What kind of problem? Is it corrupted?
Click to expand...
Click to collapse
Download manages to get to 1 GB and then it drastically slows down and eventually fails. Via a download manager the farthest I got was 1,5 GB: although the download manager continued to download (it downloaded ~5 GB of data), the file was only 1,5 GB.
terirem said:
Download manages to get to 1 GB and then it drastically slows down and eventually fails. Via a download manager the farthest I got was 1,5 GB: although the download manager continued to download (it downloaded ~5 GB of data), the file was only 1,5 GB.
Click to expand...
Click to collapse
Doesn't seem to be something from me. Maybe Google's server are acting up or youre using your phone to download it. If you're using a phone it will sometimes do that. Try downloading another file and if not find a 10p version here: https://lg-firmwares.com/lg-lmg710em-firmwares/#tab=firmwares
I managed to download it! It went fine this time, I did not change anything on my side.
Thanks!
Btw, what is system_b.image? I cannot find anything of it on my phone.
terirem said:
Btw, what is system_b.image? I cannot find anything of it on my phone.
Click to expand...
Click to collapse
It's the system partition but it's empty because when you install an update the system copies there. A/B support
Is it possible to extract any of the system apk files from the image without it being flashed?
veekay said:
Is it possible to extract any of the system apk files from the image without it being flashed?
Click to expand...
Click to collapse
Of course. You just need a 7Zip or WinRAR to open the image and fish it out
LameMonster82 said:
It's the system partition but it's empty because when you install an update the system copies there. A/B support
Click to expand...
Click to collapse
Actually, I have unpacked G7's kdz and there's 4.4 GB system_b image. When I mount it, I see bunch of odex and vdex files. I can't see where are those in my phone.
terirem said:
Actually, I have unpacked G7's kdz and there's 4.4 GB system_b image. When I mount it, I see bunch of odex and vdex files. I can't see where are those in my phone.
Click to expand...
Click to collapse
Odex and vdex files? Never heard of them. The image should still have a size but filled with 0.
Hi
Could you plz extract for me from you G7 a system app called LG InCallUi apk (use apk extractor from play store)
Thnak you
KarimAssiakh said:
Hi
Could you plz extract for me from you G7 a system app called LG InCallUi apk (use apk extractor from play store)
Thnak you
Click to expand...
Click to collapse
Is this what you're looking for

Categories

Resources