Commit graph

21 commits

Author SHA1 Message Date
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