Where can I find the installtointernal on the LE card.
I can take a look why it is overwriting the boot logo
To locate any command use which, e.g. which installtointernal. I guarantee that the script doesn't overwrite the boot logo.
how can I extract compare the DTB.IMG from android and LE?
I hope I can edit the DTB.IMG and saving the file.
Device tree on your device is located at /dev/dtb, you can use dtc tool to convert dtb into readable dts. Keep in mind that there will be many differences in device tree as your device has Marshmallow and my build use Nougat kernel.
I believe the issue is that device tree is not written correctly to internal partition when running the script. It's always been a mistery to me what has to be done to allow writing to /dev/dtb as sometimes it works and sometimes it doesn't. There is no documentation whatsoever that would say how to do this.
Here's another thing I'd like you to try, that is a modified installtointernal script. Please try the following:
- Run LE from SD card as you always do.
- Execute these commands to try a modified script: