Hi
i want to know if there is a way to extract and repack the OP6 rom
i found a way to extract the zip into .img files, and found a program that can extract the .img files into standard files/folders
but i still have yet to find a way to repack the files back into a .img to flash via fastboot
can anyone help please.
The best tool is currently Super R's kitchen. Great guy and great Dev, you should support his work.
https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
mdl054 said:
The best tool is currently Super R's kitchen. Great guy and great Dev, you should support his work.
https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
Click to expand...
Click to collapse
ive tried this method, doesnt work
I use http://ext2read.blogspot.com/
Ohh, you want to pack the img again, i think linux is the easiest way to go forward.
virtyx said:
ive tried this method, doesnt work
Click to expand...
Click to collapse
Where are you getting stuck? I've had no issues personally
edit* Just checked, working on OnePlus6Oxygen_22_OTA_012_all_1806140300_e4bacf signed zip
you can extract the payload.bin with payload extracter:
windows:
http://www.mediafire.com/file/cx4oodbclxibjf3/payload_dumper-win64.zip/file
WSL / Linux:
https://gist.github.com/ius/42bd02a5df2226633a342ab7a9c60f15
matze19999 said:
you can extract the payload.bin with payload extracter:
windows:
http://www.mediafire.com/file/cx4oodbclxibjf3/payload_dumper-win64.zip/file
WSL / Linux:
https://gist.github.com/ius/42bd02a5df2226633a342ab7a9c60f15
Click to expand...
Click to collapse
I want to repack an IMG file
mdl054 said:
Where are you getting stuck? I've had no issues personally
edit* Just checked, working on OnePlus6Oxygen_22_OTA_012_all_1806140300_e4bacf signed zip
Click to expand...
Click to collapse
I'll try again once I'm behind a PC
were you able to repack an IMG file?
virtyx said:
I'll try again once I'm behind a PC
were you able to repack an IMG file?
Click to expand...
Click to collapse
Yes, the tool extracts payload.bin and further extracts boot.img, system.img, vendor.img etc and allows you to work on them and will repack them after :highfive:
mdl054 said:
Yes, the tool extracts payload.bin and further extracts boot.img, system.img, vendor.img etc and allows you to work on them and will repack them after :highfive:
Click to expand...
Click to collapse
fingers crossed
then we can finally have a decrypt base with no avb on partitions, I'll try this soon, do you mind if I PM you if I get stuck?
do I *need* to donate?
I'll help if I can but it's Super R's work and I'm sure he is more than happy to help if you get stuck.
Related
Hey guys,
it seems that the original OLiFE.tar.gz file with system.img, recovery.img and boot.img is offline, and i need these files for flashing
it with frankstools.
Has anybody got a copy of the OLiFE.tar.gz or can explain to me how to get the system.img, recovery.img and boot.img out
of a nvflash android rom?
i want to flash http://forum.xda-developers.com/showthread.php?t=1852702 this ubuntu image
thanks in advance
Im uploading OLiFE prime atm but its gonna take a loooooooong time with my upload connection lol
I'm currently downloading: OLiFE-Prime-Edition.tar.gz
curti.nogg said:
I'm currently downloading: OLiFE-Prime-Edition.tar.gz
Click to expand...
Click to collapse
lol ive just been uploading it for like the last 6 hours.... oh well now we have a mirror
Thanks a lot! Yesterday I was desperate because the whole Internet relied on lilstevies server
If you already have an android rom installed use the olife -> backup -> stock option and then copy the files from the backup folder to the images folder
Ok any nvflashable image has this three components included, they are just named blob.APP, this is system.img, blob.LNX, this is boot.img, and blob.SOS, this is recovery.img.
Just rename them and you have your files.
Ananasnonym said:
Ok any nvflashable image has this three components included, they are just named blob.APP, this is system.img, blob.LNX, this is boot.img, and blob.SOS, this is recovery.img.
Just rename them and you have your files.
Click to expand...
Click to collapse
Cheers couldn't remember the files to re-name, ill chuck that up on the install guide
Any chance someone still has a valid link? I’ve dug up an old TF101 which could still be useful on Ubuntu…
How to unpack boot.img for micromaxA116 stock rom. because i cannot install megaHD rom to my device
shahib02 said:
How to unpack boot.img for micromaxA116 stock rom. because i cannot install megaHD rom to my device
Click to expand...
Click to collapse
I'm on a doubt whether you meant unpacking or extracting boot.img. Anyways if its unpacking -> you can use Ketut Kumajay's boot.img unpack/repack tools or dsixda's Android kitchen etc.
If you meant extracting boot.img -> you can get it by taking a Nandroid backup in CWM recovery and extracting from it.
Thanks guy
shahib02 said:
Thanks guy
Click to expand...
Click to collapse
Theres a thanks button on the bottom left of his post
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,
Hello xdawesome forum,
If I want to make my own .zip file to flash it using CWM and boot in some linux distro; say debian, what should be included in this .zip file?
Is it as simple as putting my .img file in a .zip file?
I think your best option is to follow this tuto : whiteboard.ping.se/Android/Debian
If you try to flash directly a debian img, you'll miss some libraries and won't even boot.
blanqesto said:
Hello xdawesome forum,
If I want to make my own .zip file to flash it using CWM and boot in some linux distro; say debian, what should be included in this .zip file?
Is it as simple as putting my .img file in a .zip file?
Click to expand...
Click to collapse
Thanks! I'll get back in here and report if I had any sucess with this.
Matt64 said:
I think your best option is to follow this tuto : whiteboard.ping.se/Android/Debian
If you try to flash directly a debian img, you'll miss some libraries and won't even boot.
Click to expand...
Click to collapse
I want to unpack boot.img of my phone, i did it earlier when i was in kitkat but now after upgrading to lollipop that method doesnt work..
Manu11 said:
I want to unpack boot.img of my phone, i did it earlier when i was in kitkat but now after upgrading to lollipop that method doesnt work..
Click to expand...
Click to collapse
@Manu11, are you referring to extracting the boot.img from the firmware?
Manu11 said:
I want to unpack boot.img of my phone, i did it earlier when i was in kitkat but now after upgrading to lollipop that method doesnt work..
Click to expand...
Click to collapse
I can't catch u while do u want to extract boot.IMG from device
R do u need the unpacking software
Manu11 said:
I want to unpack boot.img of my phone, i did it earlier when i was in kitkat but now after upgrading to lollipop that method doesnt work..
Click to expand...
Click to collapse
Unpack with Android kitchen
ravi.vydianathan said:
@Manu11, are you referring to extracting the boot.img from the firmware?
Click to expand...
Click to collapse
mohamed786 said:
I can't catch u while do u want to extract boot.IMG from device
R do u need the unpacking software
Click to expand...
Click to collapse
No no i wanna unpack boot.img so i can change its contents or in simple way create a insecure boot.img
@Manu11, I have seen few such tools but frankly I have no idea and no experience in this regard.
Manu11 said:
No no i wanna unpack boot.img so i can change its contents or in simple way create a insecure boot.img
Click to expand...
Click to collapse
there are a lot of guides available for unpacking and repacking a boot.img a simple google search would have helped u
Bass_Face said:
there are a lot of guides available for unpacking and repacking a boot.img a simple google search would have helped u
Click to expand...
Click to collapse
I unpacked my boot.img with android kitchen, but on recompiling its size went 5mb less and on flashing it directly enters fastboot.
The android kitchen is no longer continued from 2011, so the binaries haven't been updated since then.
I suggest you use "android image kitchen"