Commit graph

43 commits

Author SHA1 Message Date
SGCMarkus
ee61490715 eqs: initial rebrand 2023-07-25 19:07:41 +02:00
7Soldier
c92ac5f61f hiphi: Update TWRP Device Version to Release 2
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-06-18 22:32:09 +03:00
7Soldier
d829219479 hiphi: Set TWRP Device Version to Release 1
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 16:07:24 +03:00
7Soldier
0542466309 hiphi: Configure platform and bootloader params
Co-authored-by: Captain Throwback <captainthrowback@hotmail.com>
Co-authored-by: yarpiin <yarpiin@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 16:07:24 +03:00
7Soldier
65a7c9a48c hiphi: Configure kernel parameters properly
* Used dummy kernel prebuild - since GKI 2.0 kernel
   is shipping separate from recovery.

Co-authored-by: s4704 <igorkud00@gmail.com>
Co-authored-by: VladV1V <mahno444@gmail.com>
Co-authored-by: sekaiacg <sekaiacg@gmail.com>
Co-authored-by: Alexander <alexvl1972@hotmail.com>
Co-authored-by: Naman Padhiar <npadhiar@codeaurora.org>
Co-authored-by: Captain Throwback <captainthrowback@hotmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 16:07:16 +03:00
Pranav Talmale
299ae7add4 hiphi: Add haptics support
* Taken from motorola/hiphi/hiphi:12/S3SHS32.12-42-11-5/bf0951:user/release-keys

Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 16:06:59 +03:00
Pranav-Talmale
1cb048e2e8 hiphi: Let qcom common decryption tree handle decryption
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:49:36 +03:00
Paul Crowley
ae721ceb0c hiphi: Use platform option for metadata mountpoint
Test: booted metadata-encrypted device
Bug: 79781913
Change-Id: Ib5a4939b58ffe353bb47b400353080b5c4313947
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:49:36 +03:00
sekaiacg
28371258f6 hiphi: Use fscrypt policy v2
Signed-off-by: sekaiacg <sekaiacg@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:49:36 +03:00
bigbiff
a83a760143 hiphi: Enable TW_INCLUDE_CRYPTO
* 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>
2023-05-04 15:49:36 +03:00
Jprimero15
acb4705f86 hiphi: Add TARGET_USE_CUSTOM_LUN_FILE_PATH
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:49:36 +03:00
Sushrut1101
fd0474646b hiphi: Exclude the Default USB Init
Signed-off-by: Sushrut1101 <guptasushrut@gmail.com>
Signed-off-by: Emmanuel <alzadidine33@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:49:36 +03:00
7Soldier
0621defba9 hiphi: Move recovery.fstab to system/etc directory
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
Adithya R
3275448d84 hiphi: Switch to dot product CPU variant
* 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>
2023-05-04 15:45:38 +03:00
Sarthak
cf68f2bd15 hiphi: Change sensor used for CPU temp indicator
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
Aayush Gupta
7d9289c3d2 hiphi: Include logcat binary in TWRP
- logcat is useful for debugging issues

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
Change-Id: I71b719c92e89a5b38e3d0fe185c3a3665a160791
2023-05-04 15:45:38 +03:00
dianlujitao
f7b4fcbb50 hiphi: Advertise EDL mode
Change-Id: I701407ead4b09d48b6245a506c0b8eed0da4f5c0
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
LuK1337
3ebbff3b71 hiphi: Enable TARGET_RECOVERY_QCOM_RTC_FIX
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
nebrassy
6642851a60 hiphi: Render at 60 FPS
Required commits to pick:
 * https://gerrit.twrp.me/c/android_bootable_recovery/+/5639/1
 * https://gerrit.twrp.me/c/android_bootable_recovery/+/5691/1

Change-Id: I602ec6a5ca4ffbcc01f6eb7e4f35899df0616ae5
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
Albert I
3ca5106fb9 hiphi: Define brightness-related flags for TWRP
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
2023-05-04 15:45:38 +03:00
Albert I
aab1993974 hiphi: Disable blank screen on boot
Causes weird display flashes upon boot.

Signed-off-by: Albert I <kras@raphielgang.org>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
SahilSonar
6abbc4d6a6 hiphi: Add masking to hide notch cutout
Change-Id: I944b8532039ffded855b2893f0b360e38700f70e
Signed-off-by: SahilSonar <sss.sonar2003@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
7Soldier
1e98a27606 [SQUASH] hiphi: Configure missing stuff for A/B
Co-authored-by: s4704 <igorkud00@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: brigudav <brigudav@gmail.com>
Co-authored-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
Mohammad Afaneh
808c22c144 hiphi: Exclude fonts data from backup 2023-05-04 15:45:38 +03:00
Synesio Neto
0ba0a62d33 hiphi: Enable NTFS-3G in TWRP Builds
Change-Id: I8c52f22fd868a71ce7e5c92583f85ccb741f8c9c
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
Alex Damaratski
b2d39a351f hiphi: Recreate /data/media folder after format data
Change-Id: Ie6aa2792afd073c7f4a07af34239cb4264df3b2e
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
Anirudh Gupta
879c861485 hiphi: Build userdata image as f2fs
Change-Id: Iba951e193144ab3739b0a3c8472e97562b426eca
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
AdarshGrewal
41a30789ba hiphi: motorola_dynamic_partitions -> qti_dynamic_partitions
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
Ash Blake
b20bc0953f hiphi: props: Import initial properties
Co-authored-by: sekaiacg <sekaiacg@gmail.com>
Co-authored-by: brigudav <brigudav@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
roynatech2544
bfb4010ef6 hiphi: Build resetprop and libresetprop
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
DarkJoker360
e4c8e4b906 hiphi: Enable back updatable apexes
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
Sebastiano Barezzi
992b2a04ec hiphi: Use RSA4096 key also for vbmeta_system
* Per https://android.googlesource.com/platform/external/avb/+/master/README.md#build-system-integration, SHA256_RSA4096 is used if BOARD_AVB_ALGORITHM isn't defined
* We can assume bootloader is able to understand a RSA4096 key for vbmeta_system as well

Change-Id: I1d7a539731add04feb8d89c2234e8050e209c5c1
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
AdarshGrewal
840ea9d871 hiphi: Configure vbmeta for product, system and system_ext
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
Jyotiraditya
015f831c0a hiphi: Specify AVB recovery flags
Change-Id: I576883b03b9c4239f9010bbc200179958e6fe95c
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:05 +03:00
Woomymy
a1be4ae5bf hiphi: Update PLATFORM_VERSION
* Should fix a13 decryption (still works on a12)
* Thanks to peoples on TWRP zulip for the values

Signed-off-by: Woomymy <github@woomy.ovh>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:44:02 +03:00
Jeferson
3044d47594 hiphi: Update PLATFORM_VERSION and add PLATFORM_VERSION_LAST_STABLE
Signed-off-by: Sushrut1101 <guptasushrut@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:44:02 +03:00
Garret Kelly
2befb37c00 hiphi: Set BOOT_SECURITY_PATCH during build
This property is now used during boot to provide the TEE-backed
keymaster with the correct boot SPL.  Set it to the platform SPL until
it diverges as part of an update.

Bug: 119549677
Test: verified boot.img has property using avbtool
Change-Id: Ice8e7747059492fc8729128e99119d8678fe5562
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:44:02 +03:00
Chris Fries
8881edaba4 hiphi: Set VENDOR_SECURITY_PATCH to platform
Set the VENDOR_SECURITY_PATCH level to match the platform
security patch level.  These are functionally the same.

Bug: 125914443
Change-Id: Ib77ab115d6faabd21958c34e2dae49ec96421fdd
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:44:02 +03:00
7Soldier
ecce8592ee hiphi: Introduce device and model spoofing
Co-authored-by: Zinadin Zidan <zidan44@pixelexperience.org>
Co-authored-by: TTTT555 <albukerko@gmail.com>
Co-authored-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
Co-authored-by: luk1337 <priv.luk@gmail.com>
Co-authored-by: sekaiacg <sekaiacg@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:44:02 +03:00
me-cafebabe
074c7804b5 hiphic: Add $(DEVICE_PATH) to TARGET_RECOVERY_DEVICE_DIRS
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:44:02 +03:00
Aseem Athale
57815c8e63 hiphi: Remove TW_USE_TOOLBOX
Toolbox has long been the default in TWRP, this flag is no longer needed
or used. In fact, it is automatically assumed true, unless you
specifically specify TW_FORCE_USE_BUSYBOX.

Change-Id: If19d67f9377481e522a488364bd881c5fb389611
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:44:02 +03:00
LuK1337
107306f55f hiphi: Kill BOARD_HAS_LARGE_FILESYSTEM
* No longer exists.

Change-Id: I7f5088b8daedd87107c94f4bddd45286d7453834
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:43:15 +03:00
Sebastiano Barezzi
bfa2b50714 hiphi: Initial TWRP device tree
Made with SebaUbuntu's TWRP device tree generator
Arch: arm64
Manufacturer: motorola
Model: motorola edge 30 pro
Script version: 3.0.0
2023-04-04 18:44:40 +02:00