I have two OFFICIAL builds for my device:
- the first one, 3.10.65+ kernel, with Lollipop 5.1 and
- the second one, 3.18.35+ kernel, with Nougat 7.0
1. The first build, has the bootloader locked, and in FastBoot, the volume-UP button doesn't work (for confirming the fastboot oem unlock)
2. The second build can be unlocked (the bootloader) - and thus custom ROMs can be booted.
I want to port some ROMs with 3.10.65+ (because all ROMs with 3.18.35+ have some problems on my device).
I have changed the partition layout, and TWRP works great in flashing the new build (3.10.65+), but I got a bootloop.
Porting ROMs with the same kernel (3.18.35+) works "great", but have several bugs (related to vendor libs, GPS libs, and maybe even kernel). As the original ROM (it also has those problems)
Porting ROMs with the 3.10.65+, even after changing the fstab, kernel (from boot.img) + partition layouts, cannot be booted.
The question is: Is it possible to have the second build flashed (which has another preloader + lk.bin) from 3.18.35+ - whos bootloader can be unlocked - , and then, using the files from the first build to port a ROM with kernel 3.10.65+ ? Or I am trying the "impossible" ?
In fact, I am not mixing "kernels" regarding boot.img. I am "mixing" a preloader+lk.bin (from a build, which runs Nougat, on 3.18.35+ kernel and with different partition names) with boot.img+system (based on 3.10.65+)