Initial configuration did not include external SD card loading. The "SD card" being mounted during original testing proved to be internal storage acting as an SD card. USB OTG was set to only mount fat32 devices. Changing to auto should support more filesystem types.
Change-Id: Icdb6117f03383d853dc0dda138eb6360a37491b4
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>
* Dependency of the qti_glink_charger.ko module
* Taken from motorola/hiphi/hiphi:12/S3SHS32.12-42-11-5/bf0951:user/release-keys
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>
* According to the main Android.mk TW_INCLUDE_CRYPTO_FBE is the BoardConfig value to use, which sets TW_INCLUDE_FBE in the source.
* Special thanks to bigbiff for the explanation
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>
* hiphi:/ $ cat /proc/cpuinfo | grep -m 1 Features
Features: fp asimd evtstrm aes pmull sha1 sha2 crc32
atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc
dcpop sha3 sm3 sm4 asimddp sha512 asimdfhm dit uscat
ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint i8mm bti
* From this, it's evident that our CPU (Snapdragon 8 Gen 1)
supports all the features of ARMv8.2-DotProd [1].
Moreover AOSP sets this arch variant in their generic
cortex-a55 ART target as well [2]. This should unlock
some optimizations in different code paths.
[1]: https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features
[2]: https://android.googlesource.com/device/generic/art/+/refs/heads/master/armv8_cortex_a55/BoardConfig.mk#23
Change-Id: I484bb2bcc181c62e29c04bc6e467e5edea8ac0d8
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
Saving your time for recursive search of sysfs :)
Signed-off-by: Albert I <kras@raphielgang.org>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
Change-Id: I6eab8dca82f36cfea6af6f40073c6f4981b78cbf