Reworked the script logic to load both variants' touchscreen kernel modules. Only the nova_0flash_mmi.ko module needs a manual load of the firmware as the ili8992_mmi.ko module loads firmware automatically. The script runs a quick check for a known value and then loads firmware accordingly. Running both modules showed no issues.
Change-Id: Ib38f3adf802c505eb5aae58441efba4fda0e4f91
* On different versions of ROM can be used different kernel modules,
loading prebuilds can cause issues with battery, touchscreen and OTG
for some users.
* However, in fastbootd mode not possible to load kernel modules from
current ROM, so we forced to use prebuilds for it. Of course, its not
proper solution, but at least it keep situation in same state, and
fixes issues for some users in normal recovery mode.
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
* Required for USB to work properly
Co-authored-by: Andrew Hexen <SyberHexen@gmail.com>
Co-authored-by: Captain Throwback <captainthrowback@hotmail.com>
Co-authored-by: nebrassy <nebras30@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>