I've tried using the Amlogic customization tool to do a level 1 unpack of the custom ROM, replace the bootloader files, repack the full image and then flash but with that approach I'm unable get past the boot logo. The only approach I've had nearly any success with is to do a level 2 unpack of the both OEM ROM for the TX8 Max and the custom ROM, replace the files in the system folder of the OEM ROM with those from the custom ROM and then repack and flash. That will give me a ROM that will let me use the stock remote to power on and the have Android TV working. The problem with doing it that way is my leanback YouTube app ends up broken. I've notice when doing it this way that all of the SELinux contexts are lost on all the files in system as well, but I'm not sure if the problem with YouTube is related to that.
What I would like to do is perform a level 1 unpack of both the OEM and custom ROMs, take the the system partition image from the custom ROM and use it to replace the one from the OEM ROM, rebuild and flash. I have tried this and again I get stuck at the boot logo. I've tried this using kernels from both the OEM and custom ROMs as well with the same result either way.
So, if I just swap the untouched system images it won't boot, but if I do a level 2 unpack and swap the contents of the system partitions it boots fine but YouTube is broken. It doesn't make sense to me.
There must be a way to swap the system images and make it work. Can anyone help me figure this out?
Alternatively, If I can figure out how to swap the bootloader of the custom ROM with the OEM I would be happy too. I just want to boot my box with the stock remote.
Comment