I unpacked boot.img
of Android M for Nexus 6 using Android Image Kitchen (AIK) and then repacked it without any changes, then flashed the phone with the new boot.img. Ideally it should work but somehow the phone doesn't boots showing boot error (img).
Is anyone facing the same issue?
Can anyone suggest an alternative for it?
(For those who think why I am using the image without altering, well I made some changes in the boot.img which did not work, so while debugging I found that even if I do not make any changes to the img file, it doesn't works. Couldn't figure out the reason.)
I am using fastboot
on mac
to flash Nexus 6.
I have done this before for Android L but never faced this issue.
Thanks in advance.
Edit:
I was able to flash the phone with custom boot.img (made img by compiling the mkbootimg
and unmkbootimg
binaries) but android M is behaving a little weird as even after editing default.prop the phone did not respond to the change though it had the changes.
Any idea about this ?
I have the same problem with Nexus 6. I think, I've localized this problem.
I downloaded factory image(shamu-mra58r). After flashing my Nexus 6, I tried to some change in
ramdisk
. Took stockboot.img
, with theunmkbootimg
gotramdisk.cpio.gz
and kernel. If I unpacked fromramdisk.cpio.gz
toramdisk.cpio
and packed back toramdisk.cpio.gz
and after compiledboot.img
bymkbootimg
- phone worked. If I unpacked fromramdisk.cpio.gz
to ramdisk(without any changes). Repacked toramdisk.cpio.gz
and after compiledboot.img
bymkbootimg
- phone didn't worked.So there is problem in unpacking/repacking ramdisk. I don't know how to solve this problem.