kernel-zimage to flashable zip - P8lite Q&A, Help & Troubleshooting

Hi,
hope everyone is doing well.
i have a question. i have extracted kernel from boot.img but unable to convert it into flashable zip. can anyone guide me how to convert it into flashable zip. i have searched alot on google and found anykernel//anykernel2 but these two are not working everytime weird error appears like /tmp/****baseline-cmd/ etc.

htc.hero said:
Hi,
hope everyone is doing well.
i have a question. i have extracted kernel from boot.img but unable to convert it into flashable zip. can anyone guide me how to convert it into flashable zip. i have searched alot on google and found anykernel//anykernel2 but these two are not working everytime weird error appears like /tmp/****baseline-cmd/ etc.
Click to expand...
Click to collapse
You can just flash image through twrp you know. It is better to flash image than zip.

Suleiman01 said:
You can just flash image through twrp you know. It is better to flash image than zip.
Click to expand...
Click to collapse
Only .img & zip can be flashed through twrp.
ZImage doesn't have any extension to be flashed by twrp.

You need to turn Zimage in to boot.img.
On XDA there are several threads teaching how to do it.
.

persona78 said:
You need to turn Zimage in to boot.img.
On XDA there are several threads teaching how to do it.
.
Click to expand...
Click to collapse
Persona78.. if you read my post carefully, I asked the same thing.

Related

[Q] Flashable ROM.zip

Can someone please give a guideline or link for making a flashable zip pack of a whole rom, i mean is there any way to make a rom in flashable zip formate, so we dont need odin and we can flash rom without laptop, i.e. via cwm. Thanks for your help.
Mohanshbhr said:
Can someone please give a guideline or link for making a flashable zip pack of a whole rom, i mean is there any way to make a rom in flashable zip formate, so we dont need odin and we can flash rom without laptop, i.e. via cwm. Thanks for your help.
Click to expand...
Click to collapse
Please someone help, i really need it.
unfortunately no one is going to help even if they know, just have a look at such similar posts in the forum all they were closed without any answer....
Mohanshbhr said:
Can someone please give a guideline or link for making a flashable zip pack of a whole rom, i mean is there any way to make a rom in flashable zip formate, so we dont need odin and we can flash rom without laptop, i.e. via cwm. Thanks for your help.
Click to expand...
Click to collapse
I am trying same thing. It will take just 1-2 days to figure it out. I will tell u as soon as possible.
i5 Rom
arunmcops said:
I am trying same thing. It will take just 1-2 days to figure it out. I will tell u as soon as possible.
i5 Rom
Click to expand...
Click to collapse
I have tried it once and it worked
here is what i did:
1: flash the ROM
2: Use qtadb to copy /system folder
3: make update .zip
arunmcops said:
I am trying same thing. It will take just 1-2 days to figure it out. I will tell u as soon as possible.
i5 Rom
Click to expand...
Click to collapse
Thanks i will wait.
RafayelG said:
I have tried it once and it worked
here is what i did:
1: flash the ROM
2: Use qtadb to copy /system folder
3: make update .zip
Click to expand...
Click to collapse
it will sure work, but i m searching some different, like kernel flashing via cwm.
Mohanshbhr said:
it will sure work, but i m searching some different, like kernel flashing via cwm.
Click to expand...
Click to collapse
that alreasy exists
RafayelG said:
that alreasy exists
Click to expand...
Click to collapse
i mean that like kernel flashing via cwm (in zImage formate not extracted files of zImage),
i want to flash rom in system.img or system.rfs (not extracted form of system.rfs)
Mohanshbhr said:
i mean that like kernel flashing via cwm (in zImage formate not extracted files of zImage),
i want to flash rom in system.img or system.rfs (not extracted form of system.rfs)
Click to expand...
Click to collapse
idk backup using cwm recovery then flash?
Well there is a way to flash zImage as it is from cwm - search in development forum - marcellusbe posted about it
But no way exists to flash rfs files from cwm

[RELEASE] Multi Recovery Flasher

im just letting the S3 users know that i have now got an s3 and will begin developing for s3 now!
starting with my first creation for the s3, i have made a flashable .zip file that flashes the selected recovery, so no need for re-downloading and re-flashing, simply flash the .zip, then aroma will open asking whitch recovery to flash then it will flash then reboot into the new recovery!
coming soon!
ricky310711 said:
im just letting the S3 users know that i have now got an s3 and will begin developing for s3 now!
starting with my first creation for the s3, i have made a flashable .zip file that flashes the selected recovery, so no need for re-downloading and re-flashing, simply flash the .zip, then aroma will open asking whitch recovery to flash then it will flash then reboot into the new recovery!
coming soon!
Click to expand...
Click to collapse
Looking forward, it will be useful, any information about the development state?
mirroalex said:
Looking forward will be useful, any information about the development state?
Click to expand...
Click to collapse
i actually just amde the packages and tested each of them, all ive gotta do is configure aroma and we will be up and running by tommorow arvo!
will it automatically download the newest version of the selected recovery?
chrismast said:
will it automatically download the newest version of the selected recovery?
Click to expand...
Click to collapse
Its a flashable .zip package, I will just gather the latest recoveries and update every month
ricky310711 said:
Its a flashable .zip package, I will just gather the latest recoveries and update every month
Click to expand...
Click to collapse
ok, good luck with it!
personally I do not see the point yet as I just can download the single recovery (there is anyway not that much choice) and flash it but I am sure there are users that will appreciate an Aroma installer.
chrismast said:
ok, good luck with it!
personally I do not see the point yet as I just can download the single recovery (there is anyway not that much choice) and flash it but I am sure there are users that will appreciate an Aroma installer.
Click to expand...
Click to collapse
The point of this being that some recoveries cant flash certain .zip files... eg twrp 2.5.0.0 cannot flash .zip files with aroma, this is also a pachage to help developers!
ricky310711 said:
The point of this being that some recoveries cant flash certain .zip files... eg twrp 2.5.0.0 cannot flash .zip files with aroma, this is also a pachage to help developers!
Click to expand...
Click to collapse
ah ok, didn't know that, anyway as I said for certain people surly helpful! Good luck!
An app that could connect to a central repository and download the latest versions would be great. Then using the same method stweaks by siyah uses to "hijack" recovery or temp boot would make more sense to me.
That way you open app, choose recovery to boot and flash your zips. Then boot back to android...
Rather than boot recovery, flash zip,,choose recovery, flash zip...
Or just use philz recovery and be able to flash all zips anyway
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
An app that could connect to a central repository and download the latest versions would be great. Then using the same method stweaks by siyah uses to "hijack" recovery or temp boot would make more sense to me.
That way you open app, choose recovery to boot and flash your zips. Then boot back to android...
Rather than boot recovery, flash zip,,choose recovery, flash zip...
Or just use philz recovery and be able to flash all zips anyway
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Seems legit, although I do not have time to make a . Apk of it..
Also keep in mibd what if you didnt have data connection, or yet couldnt even boot...

[Q][REQUEST][SM-G7105][Recovery port]Need developer help to port.

Hi, all.I'm trying to port cwm recovery to Grand 2 LTE sm-G7105.I need developer's help those developers who don't have this phone can make a blind port.Please help me there is no any recovery available for this phone so I can't install any mods or port rom without this so help me. here is link to stock recovery and kernel http://www.mediafire.com/download/1k8tl0h36ttnnxy/recovery_and_kernel.zip
info about phone:
Galaxy Grand 2 LTE
model no:SM-G7105
running android kitkat 4.4.2
Bump............
qasim799 said:
Bump............
Click to expand...
Click to collapse
maybe you have to try to make it and ask some dev when you have some trouble for now i have no time to learn how to do it but i can try to help you ,
try to start this project qasim :good:
I think no one is going to help me.
qasim799 said:
I think no one is going to help me.
Click to expand...
Click to collapse
sometime the only way is learn by yoursefl
i'm asking if porting a custom recovery is needing a rooted device?
avenir792 said:
i'm asking if porting a custom recovery is needing a rooted device?
Click to expand...
Click to collapse
No it doesn't requires rooted device only things are need the stock recovery.img(found in stock firmware) and port recovery.img(which we want to port)
maxx35000 said:
sometime the only way is learn by yoursefl
Click to expand...
Click to collapse
Building recovery from source is very difficult. sm7102 is same to sm-g7105 so both recovery. Img should be unpacked and i don't know which files should be replaced.
So developers who port recovery,their help is needed.
recovery
I repacked a recovery and changed some file, and repacked and finally the custom recovery .img compressed in tar.md5 file and reflashed by odin, but it dosnt work . i think i have to learn more about files in there, but it's not easy to learn by myself.
avenir792 said:
I repacked a recovery and changed some file, and repacked and finally the custom recovery .img compressed in tar.md5 file and reflashed by odin, but it dosnt work . i think i have to learn more about files in there, but it's not easy to learn by myself.
Click to expand...
Click to collapse
yeah I'm with you and i will help you also. can you tell me how you unpacked and repacked recovery.img tell me procedure?
qasim799 said:
yeah I'm with you and i will help you also. can you tell me how you unpacked and repacked recovery.img tell me procedure?
Click to expand...
Click to collapse
you use this tool http://boot-repacker.blogspot.com/, first you put a stock recovery.img in one directory or a file, and you unpack the recovery with the the boot recovery repacker , in the the file you will find a ramdisk and kernel images, into ramdisk file u will find all files that u have change. after that changing files y have to rapack the recovery, dont forget that the tool boot recovery repacker must be always open, dont close it. after repacking the edited recovery , u can compress this recovery and tar file and add md5 with an other tool md5 tool packager http://forum.xda-developers.com/showpost.php?p=42393470&postcount=2.
avenir792 said:
you use this tool http://boot-repacker.blogspot.com/, first you put a stock recovery.img in one directory or a file, and you unpack the recovery with the the boot recovery repacker , in the the file you will find a ramdisk and kernel images, into ramdisk file u will find all files that u have change. after that changing files y have to rapack the recovery, dont forget that the tool boot recovery repacker must be always open, dont close it. after repacking the edited recovery , u can compress this recovery and tar file and add md5 with an other tool md5 tool packager http://forum.xda-developers.com/showpost.php?p=42393470&postcount=2.
Click to expand...
Click to collapse
This tool is for mtk devices and it does'nt repacks recovery correctly. You have to check every tool by unpacking stock recovery.img and repack as it is make no changes then flash and check that recovery boots or not, if it boots it means pack/unpack tool is ok.
qasim799 said:
This tool is for mtk devices and it does'nt repacks recovery correctly. You have to check every tool by unpacking stock recovery.img and repack as it is make no changes then flash and check that recovery boots or not, if it boots it means pack/unpack tool is ok.
Click to expand...
Click to collapse
what you make think that tool is only for mtk devices, and the problem is not the tool the problem is the changing file in stock recovery
avenir792 said:
what you make think that tool is only for mtk devices, and the problem is not the tool the problem is the changing file in stock recovery
Click to expand...
Click to collapse
I checked it by just simply unpacking and repacking recovery.img with this tool and made no changes. i flashed and it failed also the size of img changed it decreased
qasim799 said:
I checked it by just simply unpacking and repacking recovery.img with this tool and made no changes. i flashed and it failed also the size of img changed it decreased
Click to expand...
Click to collapse
Hi when you say i flashed and it failed have you an error message ?
an if yes What the error message ?
maybe like system.img there a samsung format to repack
maxx35000 said:
Hi when you say i flashed and it failed have you an error message ?
an if yes What the error message ?
maybe like system.img there a samsung format to repack
Click to expand...
Click to collapse
for me i flashed by odin but there is no error message, the flash is successful, but when i want to reboot to recovery it wil boot in download mode like there is no recovery in phone
avenir792 said:
for me i flashed by odin but there is no error message, the flash is successful, but when i want to reboot to recovery it wil boot in download mode like there is no recovery in phone
Click to expand...
Click to collapse
Yeah that is the problem.let's build recovery from source. Install ubuntu
qasim799 said:
Yeah that is the problem.let's build recovery from source. Install ubuntu
Click to expand...
Click to collapse
the problem odin just verify integrity of md5 file but nothing else i see a thread , someone explain of some problem on some samsung phone have different header on recovery.img not android one maybe it's the problem
look here http://forum.xda-developers.com/showthread.php?t=2073775 on second post
qasim799 said:
Yeah that is the problem.let's build recovery from source. Install ubuntu
Click to expand...
Click to collapse
i have ubuntu installed but i don't know how to unpack repack img file like system.img in this environnement
---------- Post added at 08:19 PM ---------- Previous post was at 08:13 PM ----------
maxx35000 said:
the problem odin just verify integrity of md5 file but nothing else i see a thread , someone explain of some problem on some samsung phone have different header on recovery.img not android one maybe it's the problem
look here http://forum.xda-developers.com/showthread.php?t=2073775 on second post
Click to expand...
Click to collapse
i didn't touch the header on recovery i let it , i mean from stock recovery i let it inchanged, i juste changed files in ramdisk
avenir792 said:
i have ubuntu installed but i don't know how to unpack repack img file like system.img in this environnement
---------- Post added at 08:19 PM ---------- Previous post was at 08:13 PM ----------
i didn't touch the header on recovery i let it , i mean from stock recovery i let it inchanged, i juste changed files in ramdisk
Click to expand...
Click to collapse
let me try something i tell you if it work :good:
i try to unpack recovery and boot img and repack it in ubuntu

no force encrypt on nexus 6p running mhc19i

Hi, can some one give me a guide on the nexus 6 p running mhc19i for no force encrypt, with either a system root that will allow me to remove apps, or a systemless root that I have to go through recovery, and is there a recovery for this version at this time other then the stock one
gigawatt said:
Hi, can some one give me a guide on the nexus 6 p running mhc19i for no force encrypt, with either a system root that will allow me to remove apps, or a systemless root that I have to go through recovery, and is there a recovery for this version at this time other then the stock one
Click to expand...
Click to collapse
To decrypt you need to format the userdata partition:
Code:
fastboot format userdata
This will obviously wipe your storage so back it up to your PC first. You will also need to flash a custom kernel that doesn't force encryption first otherwise the stock kernel will just encrypt again when you boot after formatting. You need to use TWRP recovery to flash SuperSU to get root. I have detailed instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
yeh, is there a custom kernel for mhc19i
gigawatt said:
yeh, is there a custom kernel for mhc19i
Click to expand...
Click to collapse
Of course, there are many. Have you actually looked?
yes, I have looked, but most of them have an aroma installer, I am totally blind so I need one I can flash through fastboot as there is no talkback in aroma or recovery mode. Even the stock no force encrypt would be helpful thanks.
gigawatt said:
yes, I have looked, but most of them have an aroma installer, I am totally blind so I need one I can flash through fastboot as there is no talkback in aroma or recovery mode. Even the stock no force encrypt would be helpful thanks.
Click to expand...
Click to collapse
You can flash any of them via fastboot. Extract the boot.img from the zip and flash it:
Code:
fastboot flash boot boot.img
You'll just end up with the default settings. Why don't you just flash TWRP? Then you can install it the intended way.
I can flash twrp through fastboot, but I am totally blind and use a screen reader, so I would have to have some one around to use the twrp interface, since there is no speech there, so I need a kernel or modified no force encrypt boot.img I can flash through fastboot
gigawatt said:
I can flash twrp through fastboot, but I am totally blind and use a screen reader, so I would have to have some one around to use the twrp interface, since there is no speech there, so I need a kernel or modified no force encrypt boot.img I can flash through fastboot
Click to expand...
Click to collapse
Ahh, I see, that is definitely a difficult situation. So basically as I said, I believe any of them can be flashed via fastboot, but it isn't without its own work. You'd need to download the kernel zip, extract it, place the boot.img into your working directory (your fastboot folder), and use the "fastboot flash boot boot.img" command to flash it to the device. This will give you a kernel that doesn't force encryption, and you could then go on to use an app like Kernel Auditor to tweak the settings once you've booted into Android. How possible is this for you?
well I downloaded fk-r12-anykernel2.zip and unzipped it and there was no boot.img inside, so, can you send me a link to a boot.img for his kernel or the stock with no force encrypt, and am I missing any features by not flashing it through recovery, don't really care, just asking, but if you can please send me a boot.img for the verison I posted earlier in the thread.
Thanks so much for your help
gigawatt said:
well I downloaded fk-r12-anykernel2.zip and unzipped it and there was no boot.img inside, so, can you send me a link to a boot.img for his kernel or the stock with no force encrypt, and am I missing any features by not flashing it through recovery, don't really care, just asking, but if you can please send me a boot.img for the verison I posted earlier in the thread.
Thanks so much for your help
Click to expand...
Click to collapse
Apologies for the late reply, been a bit busy with my family. It looks like Franco is one of the kernels that doesn't have the boot.img directly inside the zip. There's probably a way to extract it but it's beyond my expertise. I'm in the process of extracting the boot.img from some other popular kernels for you now though, I'll update here once I have some uploaded. It might take a while because my upload speed is woefully slow.
gigawatt said:
well I downloaded fk-r12-anykernel2.zip and unzipped it and there was no boot.img inside, so, can you send me a link to a boot.img for his kernel or the stock with no force encrypt, and am I missing any features by not flashing it through recovery, don't really care, just asking, but if you can please send me a boot.img for the verison I posted earlier in the thread.
Thanks so much for your help
Click to expand...
Click to collapse
Actually, it turns out none of the kernels have an easily accessible boot.img inside the zip. Things have changed since I last unpacked a kernel. I'll see what I can find out for you.
Here my friend use this thread. From @Tigerstown
https://tapatalk.com/shareLink?url=...share_tid=3306684&share_fid=3793&share_type=t
[UPDATED 3-10-16][Stock modified boot.img for regular root/Android N decrypted boot
It contains a stock modified boot image allowing system root and no force encryption. He updates thread for every build. Flash right from fastboot. If you need anything else feel free to PM me.
Sent from my Nexus 6P using Tapatalk
toknitup420 said:
Here my friend use this thread. From @Tigerstown
https://tapatalk.com/shareLink?url=...share_tid=3306684&share_fid=3793&share_type=t
[UPDATED 3-10-16][Stock modified boot.img for regular root/Android N decrypted boot
It contains a stock modified boot image allowing system root and no force encryption. He updates thread for every build. Flash right from fastboot. If you need anything else feel free to PM me.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Is this the link you meant?
http://forum.xda-developers.com/showthread.php?t=3306684
Yours is directing to download Tapatalk.
PS. Please conduct troubleshooting help in the open forum, the information is of no use to other people searching for it if it's hidden away in an inbox.
PPS. Fantastic idea by the way, I had forgotten about that thread.
Heisenberg said:
Is this the link you meant?
http://forum.xda-developers.com/showthread.php?t=3306684
Yours is directing to download Tapatalk.
PS. Please conduct troubleshooting help in the open forum, the information is of no use to other people searching for it if it's hidden away in an inbox.
PPS. Fantastic idea by the way, I had forgotten about that thread.
Click to expand...
Click to collapse
Yes that's the correct link. I shared it from Tapatalk instead of web browser. Thank you for grabbing the correct one.
Sent from my Nexus 6P using Tapatalk
Heisenberg said:
Apologies for the late reply, been a bit busy with my family. It looks like Franco is one of the kernels that doesn't have the boot.img directly inside the zip. There's probably a way to extract it but it's beyond my expertise. I'm in the process of extracting the boot.img from some other popular kernels for you now though, I'll update here once I have some uploaded. It might take a while because my upload speed is woefully slow.
Click to expand...
Click to collapse
If they are using anykernel zip there is no boot.img.
---------- Post added at 10:38 AM ---------- Previous post was at 10:35 AM ----------
Heisenberg said:
Is this the link you meant?
http://forum.xda-developers.com/showthread.php?t=3306684
Yours is directing to download Tapatalk.
PS. Please conduct troubleshooting help in the open forum, the information is of no use to other people searching for it if it's hidden away in an inbox.
PPS. Fantastic idea by the way, I had forgotten about that thread.
Click to expand...
Click to collapse
I posted that thread in General. I should have posted in dev threads but less traffic the better for me answering the same questions over and over ??

How to unpack system img and boot img

Guys!!!... Just need some help!...
How to Unpack and Repack system img and boot img of our stock roms
Both LP and MM
Tried many ways.
Nothing worked.
If any knows... Plz cmnt below
rberk said:
Guys!!!... Just need some help!...
How to Unpack and Repack system img and boot img of our stock roms
Both LP and MM
Tried many ways.
Nothing worked.
If any knows... Plz cmnt below
Click to expand...
Click to collapse
http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
here you go..
hirencj said:
http://forum.xda-developers.com/and...tool-tool-unpack-repack-dat-img-v2-0-t3284806
here you go..
Click to expand...
Click to collapse
Tried that too.. didnt worked
rberk said:
Tried that too.. didnt worked
Click to expand...
Click to collapse
try this if you have ota zip. not the sp flash tool flashable zip.
hope you know what to do. Copy systemnew.dat and system.transfer.txt file to folder "place_for_system.new.dat_system.transfer.list_here". then run Extraktor_EN.cmd
iamironman91 said:
try this if you have ota zip. not the sp flash tool flashable zip.
hope you know what to do. Copy systemnew.dat and system.transfer.txt file to folder "place_for_system.new.dat_system.transfer.list_here". then run Extraktor_EN.cmd
Click to expand...
Click to collapse
thx... bt i got Super R kitchen now... ill try on that

Categories

Resources