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>
* Taken from motorola/hiphi/hiphi:12/S3SHS32.12-42-11-5/bf0951:user/release-keys
Change-Id: If8e75c5ee8de0ef50d6937ffbd6453fb3f5eb648
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
* Taken from motorola/hiphi/hiphi:12/S3SHS32.12-42-11-5/bf0951:user/release-keys
Change-Id: I341dd84e160934cd4b01cdae12be335a872458db
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>