* 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
* Kernel source will no longer be needed to build the recovery
Signed-off-by: Sushrut1101 <guptasushrut@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
When markBoolSuccessful is invoked, we update
the partition table. These writes should be
synced before merge operation is resumed post OTA.
If not, any crash before these writes are landed to
backing storage will lead to incorrect switching of
slots.
BUG: 175711601
Test: Verify slot switching correctly after crash when merge in progress
Change-Id: I2da9286490d5d063df0c9d4dc491e0fbf28f51bb
Signed-off-by: Akilesh Kailash <akailash@google.com>
Signed-off-by: sekaiacg <sekaiacg@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
* Update PTN_SWAP_LIST to reflect partition entry changes
to BOOT LUN and handle "multiimgoem", "multiimgqti"
partitions, similar to other BOOT LUN partitions.
[Also contains partitions information update from sm8350]
Signed-off-by: 7Soldier <reg.fm4@gmail.com>