Remove All Ads from XDA
Honor 9 Lite
Thread Deleted Email Thread
Prev Previous Post   Next Post Next
I've been running Linux (debian/ubuntu based on rabits's stuff) on my tablet, with no ability to (easily) boot Android, for a few months now.
My System partition still has on it, and I'd like to reinstall a kernel, without wiping my System partition, so I can switch back to Android.

I've (I think) extracted a kernel image and a ramdisk image from a install image, and I'm trying to create a install image containing just the kernel and ramdisk, and copy it to the Staging partition with dd.

I've created a Makefile to create the blobfile, and (seemingly) successfully created the blobfile, but after I do the dd, and reboot, debian/ubuntu boots as usual, instead of some kind of install process.

I've included the Makefile that I'm using below.

Any idea what I'm doing wrong, or what's wrong with my expectations?
Something I have yet to try is an alternative to dd (such as fastboot or nvflash)
Also, maybe I'd have better luck trying to create something that I could install from TWRP.

kern = zImage
bootimg_filename = boot.img
blobpack = ./blobpack
blob_img = blob.LNX
recovery_part = /dev/mmcblk0p4

$(bootimg_filename) : initrd.img $(kern)
        abootimg --create $(bootimg_filename) -k $(kern) -r initrd.img

blob.LNX: $(bootimg_filename)
        $(blobpack) blob.LNX LNX $(bootimg_filename)

        dd if=$(blob_img) of=$(recovery_part)
Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes