January
parent
2def63d6a9
commit
21945b75e0
|
@ -0,0 +1,103 @@
|
||||||
|
# Copyright (C) 2016 The Android Open Source Project
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
instrumentation_tests := \
|
||||||
|
HelloWorldTests \
|
||||||
|
BluetoothInstrumentationTests \
|
||||||
|
LongevityPlatformLibTests \
|
||||||
|
ManagedProvisioningTests \
|
||||||
|
FrameworksCoreTests \
|
||||||
|
FrameworksCoreGameManagerTests \
|
||||||
|
FrameworksMockingCoreTests \
|
||||||
|
BinderProxyCountingTestApp \
|
||||||
|
BinderProxyCountingTestService \
|
||||||
|
FrameworksNetTests \
|
||||||
|
FrameworksUiServicesTests \
|
||||||
|
BstatsTestApp \
|
||||||
|
FrameworksServicesTests \
|
||||||
|
FrameworksMockingServicesTests \
|
||||||
|
WmTests \
|
||||||
|
WmPerfTests \
|
||||||
|
DisplayServiceTests \
|
||||||
|
JobTestApp \
|
||||||
|
SuspendTestApp \
|
||||||
|
FrameworksUtilTests \
|
||||||
|
MtpServiceTests \
|
||||||
|
MtpTests \
|
||||||
|
DocumentsUITests \
|
||||||
|
ShellTests \
|
||||||
|
SystemUITests \
|
||||||
|
TestablesTests \
|
||||||
|
FrameworksWifiApiTests \
|
||||||
|
FrameworksWifiNonUpdatableApiTests \
|
||||||
|
FrameworksWifiTests \
|
||||||
|
FrameworksTelephonyTests \
|
||||||
|
ContactsProviderTests \
|
||||||
|
SettingsUnitTests \
|
||||||
|
TelecomUnitTests \
|
||||||
|
TraceurUiTests \
|
||||||
|
AndroidVCardTests \
|
||||||
|
PermissionFunctionalTests \
|
||||||
|
BlockedNumberProviderTest \
|
||||||
|
DownloadAppFunctionalTests \
|
||||||
|
NotificationFunctionalTests \
|
||||||
|
DynamicCodeLoggerIntegrationTests \
|
||||||
|
UsbTests \
|
||||||
|
DownloadProviderTests \
|
||||||
|
CalendarProviderTests \
|
||||||
|
SettingsLibTests \
|
||||||
|
RSTest \
|
||||||
|
PrintSpoolerOutOfProcessTests \
|
||||||
|
CellBroadcastReceiverUnitTests \
|
||||||
|
CellBroadcastServiceTests \
|
||||||
|
TelephonyProviderTests \
|
||||||
|
CarrierConfigTests \
|
||||||
|
TeleServiceTests \
|
||||||
|
PresencePollingTests \
|
||||||
|
ImsCommonTests \
|
||||||
|
SettingsProviderTest \
|
||||||
|
FrameworksPrivacyLibraryTests \
|
||||||
|
SettingsUITests \
|
||||||
|
SettingsPerfTests \
|
||||||
|
ExtServicesUnitTests \
|
||||||
|
FrameworksNetSmokeTests \
|
||||||
|
FlickerLibTest \
|
||||||
|
FlickerTestsOther \
|
||||||
|
FlickerTestsAppClose \
|
||||||
|
FlickerTestsIme \
|
||||||
|
FlickerTestsAppLaunch \
|
||||||
|
FlickerTestsQuickswitch \
|
||||||
|
FlickerTestsRotation \
|
||||||
|
FlickerTestApp \
|
||||||
|
WMShellFlickerTestsOther \
|
||||||
|
WMShellFlickerTestsBubbles \
|
||||||
|
WMShellFlickerTestsPip \
|
||||||
|
WMShellFlickerTestsSplitScreen \
|
||||||
|
trace_config_detailed.textproto \
|
||||||
|
perfetto_trace_processor_shell \
|
||||||
|
CarDeveloperOptionsUnitTests \
|
||||||
|
SpaPrivilegedLibTests \
|
||||||
|
SettingsSpaUnitTests \
|
||||||
|
SpaLibTests
|
||||||
|
|
||||||
|
ifneq ($(strip $(BOARD_PERFSETUP_SCRIPT)),)
|
||||||
|
instrumentation_tests += perf-setup
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Storage Manager may not exist on device
|
||||||
|
ifneq ($(filter StorageManager, $(PRODUCT_PACKAGES)),)
|
||||||
|
|
||||||
|
instrumentation_tests += StorageManagerUnitTests
|
||||||
|
|
||||||
|
endif
|
|
@ -0,0 +1,75 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<manifest>
|
||||||
|
|
||||||
|
<remove-project path="external/chromium-webview" name="platform/external/chromium-webview" groups="pdk" clone-depth="1" />
|
||||||
|
|
||||||
|
<remove-project path="device/google/atv" name="device/google/atv" groups="device,broadcom_pdk,generic_fs,pdk" />
|
||||||
|
<remove-project path="device/google/barbet" name="device/google/barbet" groups="device,barbet" />
|
||||||
|
<remove-project path="device/google/barbet-sepolicy" name="device/google/barbet-sepolicy" groups="device,barbet" />
|
||||||
|
<remove-project path="device/google/bluejay" name="device/google/bluejay" groups="device,bluejay" />
|
||||||
|
<remove-project path="device/google/bluejay-sepolicy" name="device/google/bluejay-sepolicy" groups="device,bluejay" />
|
||||||
|
<remove-project path="device/google/bluejay-kernel" name="device/google/bluejay-kernel" groups="device,bluejay" clone-depth="1" />
|
||||||
|
<remove-project path="device/google/bramble" name="device/google/bramble" groups="device,bramble" />
|
||||||
|
<remove-project path="device/google/bramble-sepolicy" name="device/google/bramble-sepolicy" groups="device,bramble" />
|
||||||
|
<remove-project path="device/google/contexthub" name="device/google/contexthub" groups="device,pdk" />
|
||||||
|
<remove-project path="device/google/coral" name="device/google/coral" groups="device,coral,generic_fs" />
|
||||||
|
<remove-project path="device/google/coral-kernel" name="device/google/coral-kernel" groups="device,coral,generic_fs" clone-depth="1" />
|
||||||
|
<remove-project path="device/google/coral-sepolicy" name="device/google/coral-sepolicy" groups="device,coral,generic_fs" />
|
||||||
|
<remove-project path="device/google/felix" name="device/google/felix" groups="device,felix" />
|
||||||
|
<remove-project path="device/google/felix-sepolicy" name="device/google/felix-sepolicy" groups="device,felix" />
|
||||||
|
<remove-project path="device/google/felix-kernel" name="device/google/felix-kernel" groups="device,felix" clone-depth="1" />
|
||||||
|
<remove-project path="device/google/gs101" name="device/google/gs101" groups="device,slider,bluejay,pdk-gs-arm" />
|
||||||
|
<remove-project path="device/google/gs101-sepolicy" name="device/google/gs101-sepolicy" groups="device,slider,bluejay,pdk-gs-arm" />
|
||||||
|
<remove-project path="device/google/gs201" name="device/google/gs201" groups="device,cloudripper" />
|
||||||
|
<remove-project path="device/google/gs201-sepolicy" name="device/google/gs201-sepolicy" groups="device,cloudripper" />
|
||||||
|
<remove-project path="device/google/gs-common" name="device/google/gs-common" groups="device,slider,bluejay,cloudripper,pdk-gs-arm" />
|
||||||
|
<remove-project path="device/google/lynx" name="device/google/lynx" groups="device,lynx" />
|
||||||
|
<remove-project path="device/google/lynx-sepolicy" name="device/google/lynx-sepolicy" groups="device,lynx" />
|
||||||
|
<remove-project path="device/google/lynx-kernel" name="device/google/lynx-kernel" groups="device,lynx" clone-depth="1" />
|
||||||
|
<remove-project path="device/google/pantah" name="device/google/pantah" groups="device,cloudripper" />
|
||||||
|
<remove-project path="device/google/pantah-sepolicy" name="device/google/pantah-sepolicy" groups="device,cloudripper" />
|
||||||
|
<remove-project path="device/google/pantah-kernel" name="device/google/pantah-kernel" groups="device,cloudripper" clone-depth="1" />
|
||||||
|
<remove-project path="device/google/raviole" name="device/google/raviole" groups="device,slider,pdk-gs-arm" />
|
||||||
|
<remove-project path="device/google/raviole-kernel" name="device/google/raviole-kernel" groups="device,slider,pdk-gs-arm" clone-depth="1" />
|
||||||
|
<remove-project path="device/google/redbull" name="device/google/redbull" groups="device,redbull" />
|
||||||
|
<remove-project path="device/google/redbull-kernel" name="device/google/redbull-kernel" groups="device,bramble,redfin" clone-depth="1" />
|
||||||
|
<remove-project path="device/google/redbull-sepolicy" name="device/google/redbull-sepolicy" groups="device,redbull" />
|
||||||
|
<remove-project path="device/google/redfin" name="device/google/redfin" groups="device,redfin" />
|
||||||
|
<remove-project path="device/google/redfin-sepolicy" name="device/google/redfin-sepolicy" groups="device,redfin" />
|
||||||
|
<remove-project path="device/google/tangorpro" name="device/google/tangorpro" groups="device,tangorpro" />
|
||||||
|
<remove-project path="device/google/tangorpro-sepolicy" name="device/google/tangorpro-sepolicy" groups="device,tangorpro" />
|
||||||
|
<remove-project path="device/google/tangorpro-kernel" name="device/google/tangorpro-kernel" groups="device,tangorpro" clone-depth="1" />
|
||||||
|
<remove-project path="device/google/shusky" name="device/google/shusky" groups="device,ripcurrent" />
|
||||||
|
<remove-project path="device/google/shusky-kernel" name="device/google/shusky-kernel" groups="device,ripcurrent" />
|
||||||
|
<remove-project path="device/google/shusky-sepolicy" name="device/google/shusky-sepolicy" groups="device,ripcurrent" />
|
||||||
|
<remove-project path="device/google/sunfish" name="device/google/sunfish" groups="device,sunfish" />
|
||||||
|
<remove-project path="device/google/sunfish-kernel" name="device/google/sunfish-kernel" groups="device,sunfish" clone-depth="1" />
|
||||||
|
<remove-project path="device/google/sunfish-sepolicy" name="device/google/sunfish-sepolicy" groups="device,sunfish" />
|
||||||
|
|
||||||
|
<remove-project path="device/google/trout" name="device/google/trout" groups="device,trout,gull,pdk" />
|
||||||
|
<remove-project path="device/google/vrservices" name="device/google/vrservices" groups="pdk" />
|
||||||
|
<remove-project path="device/google/zuma" name="device/google/zuma" groups="device,ripcurrent" />
|
||||||
|
<remove-project path="device/google/zuma-sepolicy" name="device/google/zuma-sepolicy" groups="device,ripcurrent" />
|
||||||
|
<remove-project path="device/google_car" name="device/google_car" groups="pdk" />
|
||||||
|
|
||||||
|
<remove-project path="packages/apps/BasicSmsReceiver" name="platform/packages/apps/BasicSmsReceiver" groups="pdk-cw-fs,pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/Browser2" name="platform/packages/apps/Browser2" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/Calendar" name="platform/packages/apps/Calendar" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/Camera2" name="platform/packages/apps/Camera2" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/DeskClock" name="platform/packages/apps/DeskClock" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/DevCamera" name="platform/packages/apps/DevCamera" groups="pdk" />
|
||||||
|
<remove-project path="packages/apps/Dialer" name="platform/packages/apps/Dialer" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/EmergencyInfo" name="platform/packages/apps/EmergencyInfo" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/Gallery" name="platform/packages/apps/Gallery" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/Gallery2" name="platform/packages/apps/Gallery2" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/HTMLViewer" name="platform/packages/apps/HTMLViewer" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/LegacyCamera" name="platform/packages/apps/LegacyCamera" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/Messaging" name="platform/packages/apps/Messaging" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/Music" name="platform/packages/apps/Music" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/MusicFX" name="platform/packages/apps/MusicFX" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/QuickSearchBox" name="platform/packages/apps/QuickSearchBox" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/QuickAccessWallet" name="platform/packages/apps/QuickAccessWallet" groups="pdk-fs" />
|
||||||
|
<remove-project path="packages/apps/UniversalMediaPlayer" name="platform/packages/apps/UniversalMediaPlayer" />
|
||||||
|
<remove-project path="packages/inputmethods/LatinIME" name="platform/packages/inputmethods/LatinIME" groups="pdk-fs" />
|
||||||
|
|
||||||
|
</manifest>
|
38
build-u.sh
38
build-u.sh
|
@ -10,11 +10,17 @@ echo " harvey186 "
|
||||||
echo "--------------------------------------"
|
echo "--------------------------------------"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
git clone http://62.178.96.192:3000/JoJo/LeOS-GSI.git -b LeOS-U --git-lfs
|
#git clone http://62.178.96.192:3000/JoJo/LeOS-GSI.git -b LeOS-U
|
||||||
|
|
||||||
|
##### only for testing ###
|
||||||
|
sudo rm -R treble_aosp
|
||||||
|
###-
|
||||||
|
|
||||||
|
|
||||||
git clone https://github.com/ponces/treble_aosp -b android-14.0
|
git clone https://github.com/ponces/treble_aosp -b android-14.0
|
||||||
|
cp LeOS/patch.sh treble_aosp/patch.sh
|
||||||
|
|
||||||
git clone https://github.com/ponces/vendor_ponces.git -b android-14.0 vendor/ponces
|
#git clone https://github.com/ponces/vendor_ponces.git -b android-14.0 vendor/ponces
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -46,26 +52,28 @@ applyPatches() {
|
||||||
|
|
||||||
echo "--> Applying ponces personal patches"
|
echo "--> Applying ponces personal patches"
|
||||||
rm treble_aosp/patches/personal/platform_frameworks_base/0001-gmscompat-Change-attestation-and-instrumentation-to-.patch
|
rm treble_aosp/patches/personal/platform_frameworks_base/0001-gmscompat-Change-attestation-and-instrumentation-to-.patch
|
||||||
rm treble_aosp/patches/personal/platform_packages_apps_Trebuchet/0001-Revert-Add-support-for-toggling-taskbar.patch
|
rm treble_aosp/patches/personal/platform_frameworks_base/0002-gmscompat-Spoof-Pixel-XL-for-Google-Photos.patch
|
||||||
rm treble_aosp/patches/personal/platform_frameworks_base/0003-monet-Use-Style.SPRITZ-by-default.patch
|
rm treble_aosp/patches/personal/platform_frameworks_base/0003-monet-Use-Style.SPRITZ-by-default.patch
|
||||||
rm treble_aosp/patches/personal/platform_frameworks_base/0004-fw-b-Use-ro.build.version.incremental-to-signal-OTA-.patch
|
rm treble_aosp/patches/personal/platform_frameworks_base/0004-fw-b-Use-ro.build.version.incremental-to-signal-OTA-.patch
|
||||||
|
rm treble_aosp/patches/personal/platform_frameworks_base/0005-SystemUI-fix-SliceView-layout.patch
|
||||||
rm treble_aosp/patches/personal/platform_frameworks_base/0006-Add-android.permission.READ_PHONE_STATE-to-manifest.patch
|
rm treble_aosp/patches/personal/platform_frameworks_base/0006-Add-android.permission.READ_PHONE_STATE-to-manifest.patch
|
||||||
rm /home/ich/src/LeOS-GSI/treble_aosp/patches/personal/platform_frameworks_base/0005-SystemUI-fix-SliceView-layout.patch
|
|
||||||
rm -R treble_aosp/patches/personal/device_phh/treble
|
|
||||||
rm -R treble_aosp/patches/personal/platform_build
|
|
||||||
rm treble_aosp/patches/personal/platform_frameworks_base/0002-gmscompat-Spoof-Pixel-XL-for-Google-Photos.patch
|
|
||||||
rm treble_aosp/patches/personal/platform_frameworks_base/0007-permissions-Pre-grant-google-restore-permissions.patch
|
rm treble_aosp/patches/personal/platform_frameworks_base/0007-permissions-Pre-grant-google-restore-permissions.patch
|
||||||
rm -R treble_aosp/patches/personal/platform_frameworks_base/0008-feat-Add-Lockscreen-Weather-with-OmniJaws-1-2.patch
|
rm -R treble_aosp/patches/personal/platform_frameworks_base/0008-feat-Add-Lockscreen-Weather-with-OmniJaws-1-2.patch
|
||||||
|
rm -R treble_aosp/patches/personal/device_phh_treble
|
||||||
|
rm -R treble_aosp/patches/personal/platform_build
|
||||||
|
rm -R treble_aosp/patches/personal/platform_packages_apps_Trebuchet
|
||||||
|
rm -R treble_aosp/patches/personal/platform_packages_apps_Aperture
|
||||||
rm -R treble_aosp/patches/personal/platform_packages_apps_Settings/0001-feat-Add-Lockscreen-Weather-with-OmniJaws-2-2.patch
|
rm -R treble_aosp/patches/personal/platform_packages_apps_Settings/0001-feat-Add-Lockscreen-Weather-with-OmniJaws-2-2.patch
|
||||||
rm treble_aosp/patches/personal/platform_build/0001-Remove-su-from-vanilla-builds.patch
|
|
||||||
bash treble_aosp/patch.sh treble_aosp personal
|
bash treble_aosp/patch.sh treble_aosp personal
|
||||||
echo
|
echo
|
||||||
|
|
||||||
echo "--> Applying LeOS patches"
|
echo "--> Applying LeOS patches"
|
||||||
mv patches/leos treble_aosp/patches/leos
|
cp -R patches/leos treble_aosp/patches/leos
|
||||||
bash treble_aosp/patch.sh treble_aosp leos
|
bash treble_aosp/patch.sh treble_aosp leos
|
||||||
|
echo "testlists"
|
||||||
cp LeOS/instrumentation_test_list.mk platform_testing/build/tasks/tests/
|
cp LeOS/instrumentation_test_list.mk platform_testing/build/tasks/tests/
|
||||||
cp LeOS/platform_test_list.mk platform_testing/build/tasks/tests/
|
cp LeOS/platform_test_list.mk platform_testing/build/tasks/tests/
|
||||||
|
echo "texte"
|
||||||
cp LeOS/texte.sh .
|
cp LeOS/texte.sh .
|
||||||
bash texte.sh
|
bash texte.sh
|
||||||
echo
|
echo
|
||||||
|
@ -179,13 +187,13 @@ echo "READY"
|
||||||
|
|
||||||
START=$(date +%s)
|
START=$(date +%s)
|
||||||
|
|
||||||
#initRepos
|
initRepos
|
||||||
#syncRepos
|
syncRepos
|
||||||
#applyPatches
|
applyPatches
|
||||||
#setupEnv
|
#setupEnv
|
||||||
#buildTrebleApp
|
#buildTrebleApp
|
||||||
buildVanillaVariant
|
#buildVanillaVariant
|
||||||
generatePackages
|
#generatePackages
|
||||||
|
|
||||||
END=$(date +%s)
|
END=$(date +%s)
|
||||||
ELAPSEDM=$(($(($END-$START))/60))
|
ELAPSEDM=$(($(($END-$START))/60))
|
||||||
|
|
|
@ -1,164 +0,0 @@
|
||||||
From d5f70e02277ae0389693651b7d62ac5dcb1ea9d6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: harvey186 <harvey186@hotmail.com>
|
|
||||||
Date: Mon, 11 Dec 2023 17:20:55 +0100
|
|
||||||
Subject: [PATCH] LeOS-Stuff
|
|
||||||
|
|
||||||
---
|
|
||||||
generate.sh | 31 +++++--------------
|
|
||||||
{tdgsi_a64_ab => leos_a64_ab}/BoardConfig.mk | 0
|
|
||||||
.../BoardConfig.mk | 0
|
|
||||||
tdgsi_a64_a/BoardConfig.mk | 8 -----
|
|
||||||
tdgsi_arm64_a/BoardConfig.mk | 7 -----
|
|
||||||
tdgsi_arm_a/BoardConfig.mk | 11 -------
|
|
||||||
tdgsi_arm_ab/BoardConfig.mk | 7 -----
|
|
||||||
7 files changed, 8 insertions(+), 56 deletions(-)
|
|
||||||
rename {tdgsi_a64_ab => leos_a64_ab}/BoardConfig.mk (100%)
|
|
||||||
rename {tdgsi_arm64_ab => leos_arm64_ab}/BoardConfig.mk (100%)
|
|
||||||
delete mode 100644 tdgsi_a64_a/BoardConfig.mk
|
|
||||||
delete mode 100644 tdgsi_arm64_a/BoardConfig.mk
|
|
||||||
delete mode 100644 tdgsi_arm_a/BoardConfig.mk
|
|
||||||
delete mode 100644 tdgsi_arm_ab/BoardConfig.mk
|
|
||||||
|
|
||||||
diff --git a/generate.sh b/generate.sh
|
|
||||||
index 8fbb16b..ffad809 100644
|
|
||||||
--- a/generate.sh
|
|
||||||
+++ b/generate.sh
|
|
||||||
@@ -15,8 +15,8 @@ fi
|
|
||||||
echo 'PRODUCT_MAKEFILES := \' > AndroidProducts.mk
|
|
||||||
|
|
||||||
for part in a ab;do
|
|
||||||
- for apps in vanilla gapps foss gapps-go;do
|
|
||||||
- for arch in arm64 arm a64;do
|
|
||||||
+ for apps in vanilla;do
|
|
||||||
+ for arch in arm64 a64;do
|
|
||||||
for su in yes no;do
|
|
||||||
apps_suffix=""
|
|
||||||
apps_script=""
|
|
||||||
@@ -24,29 +24,13 @@ for part in a ab;do
|
|
||||||
extra_packages=""
|
|
||||||
vndk="vndk.mk"
|
|
||||||
optional_base=""
|
|
||||||
- if [ "$apps" == "gapps" ];then
|
|
||||||
- apps_suffix="g"
|
|
||||||
- apps_script='$(call inherit-product, vendor/gapps/common/common-vendor.mk)'
|
|
||||||
- apps_name="with GApps"
|
|
||||||
- fi
|
|
||||||
- if [ "$apps" == "gapps-go" ];then
|
|
||||||
- apps_suffix="o"
|
|
||||||
- apps_script='$(call inherit-product, device/phh/treble/gapps-go.mk)'
|
|
||||||
- apps_name="Go"
|
|
||||||
- fi
|
|
||||||
- if [ "$apps" == "foss" ];then
|
|
||||||
- apps_suffix="f"
|
|
||||||
- apps_script='$(call inherit-product, vendor/foss/foss.mk)'
|
|
||||||
- apps_name="with FOSS apps"
|
|
||||||
- fi
|
|
||||||
+
|
|
||||||
if [ "$apps" == "vanilla" ];then
|
|
||||||
apps_suffix="v"
|
|
||||||
apps_script=''
|
|
||||||
apps_name="vanilla"
|
|
||||||
fi
|
|
||||||
- if [ "$arch" == "arm" ];then
|
|
||||||
- vndk="vndk-binder32.mk"
|
|
||||||
- fi
|
|
||||||
+
|
|
||||||
if [ "$arch" == "a64" ];then
|
|
||||||
vndk="vndk32.mk"
|
|
||||||
fi
|
|
||||||
@@ -64,7 +48,7 @@ for part in a ab;do
|
|
||||||
optional_base='$(call inherit-product, device/phh/treble/base-sas.mk)'
|
|
||||||
fi
|
|
||||||
|
|
||||||
- target="treble_${arch}_${part_suffix}${apps_suffix}${su_suffix}"
|
|
||||||
+ target="leos${arch}_${part_suffix}${apps_suffix}${su_suffix}"
|
|
||||||
|
|
||||||
baseArch="$arch"
|
|
||||||
if [ "$arch" = "a64" ];then
|
|
||||||
@@ -81,15 +65,16 @@ TARGET_GAPPS_ARCH := ${baseArch}
|
|
||||||
\$(call inherit-product, device/phh/treble/base-pre.mk)
|
|
||||||
include build/make/target/product/aosp_${baseArch}.mk
|
|
||||||
\$(call inherit-product, device/phh/treble/base.mk)
|
|
||||||
+\$(call inherit-product, vendor/LeOS/leos.mk)
|
|
||||||
$optional_base
|
|
||||||
$apps_script
|
|
||||||
$rom_script
|
|
||||||
|
|
||||||
PRODUCT_NAME := $target
|
|
||||||
-PRODUCT_DEVICE := tdgsi_${arch}_$part
|
|
||||||
+PRODUCT_DEVICE := leos_${arch}_$part
|
|
||||||
PRODUCT_BRAND := google
|
|
||||||
PRODUCT_SYSTEM_BRAND := google
|
|
||||||
-PRODUCT_MODEL := TrebleDroid $apps_name
|
|
||||||
+PRODUCT_MODEL := LeOS-A14
|
|
||||||
|
|
||||||
# Overwrite the inherited "emulator" characteristics
|
|
||||||
PRODUCT_CHARACTERISTICS := device
|
|
||||||
diff --git a/tdgsi_a64_ab/BoardConfig.mk b/leos_a64_ab/BoardConfig.mk
|
|
||||||
similarity index 100%
|
|
||||||
rename from tdgsi_a64_ab/BoardConfig.mk
|
|
||||||
rename to leos_a64_ab/BoardConfig.mk
|
|
||||||
diff --git a/tdgsi_arm64_ab/BoardConfig.mk b/leos_arm64_ab/BoardConfig.mk
|
|
||||||
similarity index 100%
|
|
||||||
rename from tdgsi_arm64_ab/BoardConfig.mk
|
|
||||||
rename to leos_arm64_ab/BoardConfig.mk
|
|
||||||
diff --git a/tdgsi_a64_a/BoardConfig.mk b/tdgsi_a64_a/BoardConfig.mk
|
|
||||||
deleted file mode 100644
|
|
||||||
index d430bf8..0000000
|
|
||||||
--- a/tdgsi_a64_a/BoardConfig.mk
|
|
||||||
+++ /dev/null
|
|
||||||
@@ -1,8 +0,0 @@
|
|
||||||
-include build/make/target/board/generic_arm_ab/BoardConfig.mk
|
|
||||||
-include device/phh/treble/board-base.mk
|
|
||||||
-
|
|
||||||
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
|
||||||
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000
|
|
||||||
-endif
|
|
||||||
-TARGET_USES_64_BIT_BINDER := true
|
|
||||||
-BOARD_SYSTEMIMAGE_AS_SYSTEM := true
|
|
||||||
diff --git a/tdgsi_arm64_a/BoardConfig.mk b/tdgsi_arm64_a/BoardConfig.mk
|
|
||||||
deleted file mode 100644
|
|
||||||
index c9bc831..0000000
|
|
||||||
--- a/tdgsi_arm64_a/BoardConfig.mk
|
|
||||||
+++ /dev/null
|
|
||||||
@@ -1,7 +0,0 @@
|
|
||||||
-include build/make/target/board/generic_arm64_ab/BoardConfig.mk
|
|
||||||
-include device/phh/treble/board-base.mk
|
|
||||||
-
|
|
||||||
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
|
||||||
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2080374784
|
|
||||||
-endif
|
|
||||||
-BOARD_SYSTEMIMAGE_AS_SYSTEM := true
|
|
||||||
diff --git a/tdgsi_arm_a/BoardConfig.mk b/tdgsi_arm_a/BoardConfig.mk
|
|
||||||
deleted file mode 100644
|
|
||||||
index 7340fc4..0000000
|
|
||||||
--- a/tdgsi_arm_a/BoardConfig.mk
|
|
||||||
+++ /dev/null
|
|
||||||
@@ -1,11 +0,0 @@
|
|
||||||
-include build/make/target/board/generic_arm_ab/BoardConfig.mk
|
|
||||||
-include device/phh/treble/board-base.mk
|
|
||||||
-
|
|
||||||
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
|
||||||
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1313583104
|
|
||||||
-else
|
|
||||||
-BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 25165824
|
|
||||||
-endif
|
|
||||||
-
|
|
||||||
-TARGET_USES_64_BIT_BINDER := false
|
|
||||||
-BOARD_SYSTEMIMAGE_AS_SYSTEM := true
|
|
||||||
diff --git a/tdgsi_arm_ab/BoardConfig.mk b/tdgsi_arm_ab/BoardConfig.mk
|
|
||||||
deleted file mode 100644
|
|
||||||
index a9a4fe3..0000000
|
|
||||||
--- a/tdgsi_arm_ab/BoardConfig.mk
|
|
||||||
+++ /dev/null
|
|
||||||
@@ -1,7 +0,0 @@
|
|
||||||
-include build/make/target/board/generic_arm_ab/BoardConfig.mk
|
|
||||||
-include device/phh/treble/board-base.mk
|
|
||||||
-
|
|
||||||
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
|
||||||
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824
|
|
||||||
-endif
|
|
||||||
-TARGET_USES_64_BIT_BINDER := false
|
|
||||||
--
|
|
||||||
2.34.1
|
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
From a926ba87b4a39f1c773a6de566094e0ff8a7638f Mon Sep 17 00:00:00 2001
|
|
||||||
From: harvey186 <harvey186@hotmail.com>
|
|
||||||
Date: Mon, 8 Jan 2024 10:07:07 +0100
|
|
||||||
Subject: [PATCH] adb_secure
|
|
||||||
|
|
||||||
---
|
|
||||||
rw-system.sh | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/rw-system.sh b/rw-system.sh
|
|
||||||
index fdd47ae..867a954 100644
|
|
||||||
--- a/rw-system.sh
|
|
||||||
+++ b/rw-system.sh
|
|
||||||
@@ -827,7 +827,7 @@ copyprop() {
|
|
||||||
resetprop_phh ro.build.type user
|
|
||||||
resetprop_phh ro.build.selinux 0
|
|
||||||
|
|
||||||
- resetprop_phh ro.adb.secure 1
|
|
||||||
+ resetprop_phh ro.adb.secure 0
|
|
||||||
|
|
||||||
for abi in "" 64;do
|
|
||||||
f=/vendor/lib$abi/libstagefright_foundation.so
|
|
||||||
--
|
|
||||||
2.34.1
|
|
||||||
|
|
|
@ -0,0 +1,88 @@
|
||||||
|
From eda5a305da60f3e10b1d9173d5812738a72ecb07 Mon Sep 17 00:00:00 2001
|
||||||
|
From: harvey186 <harvey186@hotmail.com>
|
||||||
|
Date: Wed, 10 Jan 2024 12:08:02 +0100
|
||||||
|
Subject: [PATCH] generate_sh
|
||||||
|
|
||||||
|
---
|
||||||
|
generate.sh | 30 ++++++------------------------
|
||||||
|
1 file changed, 6 insertions(+), 24 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/generate.sh b/generate.sh
|
||||||
|
index 461eff1..b3d80c4 100644
|
||||||
|
--- a/generate.sh
|
||||||
|
+++ b/generate.sh
|
||||||
|
@@ -15,8 +15,8 @@ fi
|
||||||
|
echo 'PRODUCT_MAKEFILES := \' > AndroidProducts.mk
|
||||||
|
|
||||||
|
for part in a ab;do
|
||||||
|
- for apps in vanilla gapps foss gapps-go;do
|
||||||
|
- for arch in arm64 arm a64;do
|
||||||
|
+ for apps in vanilla;do
|
||||||
|
+ for arch in arm64 a64;do
|
||||||
|
for su in yes no;do
|
||||||
|
apps_suffix=""
|
||||||
|
apps_script=""
|
||||||
|
@@ -24,29 +24,11 @@ for part in a ab;do
|
||||||
|
extra_packages=""
|
||||||
|
vndk="vndk.mk"
|
||||||
|
optional_base=""
|
||||||
|
- if [ "$apps" == "gapps" ];then
|
||||||
|
- apps_suffix="g"
|
||||||
|
- apps_script='$(call inherit-product, device/phh/treble/gapps.mk)'
|
||||||
|
- apps_name="with GApps"
|
||||||
|
- fi
|
||||||
|
- if [ "$apps" == "gapps-go" ];then
|
||||||
|
- apps_suffix="o"
|
||||||
|
- apps_script='$(call inherit-product, device/phh/treble/gapps-go.mk)'
|
||||||
|
- apps_name="Go"
|
||||||
|
- fi
|
||||||
|
- if [ "$apps" == "foss" ];then
|
||||||
|
- apps_suffix="f"
|
||||||
|
- apps_script='$(call inherit-product, vendor/foss/foss.mk)'
|
||||||
|
- apps_name="with FOSS apps"
|
||||||
|
- fi
|
||||||
|
if [ "$apps" == "vanilla" ];then
|
||||||
|
apps_suffix="v"
|
||||||
|
apps_script=''
|
||||||
|
apps_name="vanilla"
|
||||||
|
fi
|
||||||
|
- if [ "$arch" == "arm" ];then
|
||||||
|
- vndk="vndk-binder32.mk"
|
||||||
|
- fi
|
||||||
|
if [ "$arch" == "a64" ];then
|
||||||
|
vndk="vndk32.mk"
|
||||||
|
fi
|
||||||
|
@@ -64,7 +46,7 @@ for part in a ab;do
|
||||||
|
optional_base='$(call inherit-product, device/phh/treble/base-sas.mk)'
|
||||||
|
fi
|
||||||
|
|
||||||
|
- target="treble_${arch}_${part_suffix}${apps_suffix}${su_suffix}"
|
||||||
|
+ target="leos_${arch}_${part_suffix}${apps_suffix}${su_suffix}"
|
||||||
|
|
||||||
|
baseArch="$arch"
|
||||||
|
if [ "$arch" = "a64" ];then
|
||||||
|
@@ -77,18 +59,18 @@ for part in a ab;do
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat > ${target}.mk << EOF
|
||||||
|
-TARGET_GAPPS_ARCH := ${baseArch}
|
||||||
|
include build/make/target/product/aosp_${baseArch}.mk
|
||||||
|
\$(call inherit-product, device/phh/treble/base.mk)
|
||||||
|
+\$(call inherit-product, vendor/LeOS/leos.mk)
|
||||||
|
$optional_base
|
||||||
|
$apps_script
|
||||||
|
$rom_script
|
||||||
|
|
||||||
|
PRODUCT_NAME := $target
|
||||||
|
-PRODUCT_DEVICE := tdgsi_${arch}_$part
|
||||||
|
+PRODUCT_DEVICE := leos_${arch}_$part
|
||||||
|
PRODUCT_BRAND := google
|
||||||
|
PRODUCT_SYSTEM_BRAND := google
|
||||||
|
-PRODUCT_MODEL := TrebleDroid $apps_name
|
||||||
|
+PRODUCT_MODEL := LeOS-A14
|
||||||
|
|
||||||
|
# Overwrite the inherited "emulator" characteristics
|
||||||
|
PRODUCT_CHARACTERISTICS := device
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
|
@ -1,88 +1,89 @@
|
||||||
From cfe78eb7d23ea53fa588a4a4ee724f0fe6665d71 Mon Sep 17 00:00:00 2001
|
From d5f70e02277ae0389693651b7d62ac5dcb1ea9d6 Mon Sep 17 00:00:00 2001
|
||||||
From: harvey186 <harvey186@hotmail.com>
|
From: harvey186 <harvey186@hotmail.com>
|
||||||
Date: Sun, 7 Jan 2024 16:39:26 +0100
|
Date: Mon, 11 Dec 2023 17:20:55 +0100
|
||||||
Subject: [PATCH] 0001-LeOS-Stuff
|
Subject: [PATCH] LeOS-Stuff
|
||||||
|
|
||||||
---
|
---
|
||||||
generate.sh | 30 ++++++------------------------
|
generate.sh | 31 +++++--------------
|
||||||
1 file changed, 6 insertions(+), 24 deletions(-)
|
{tdgsi_a64_ab => leos_a64_ab}/BoardConfig.mk | 0
|
||||||
|
.../BoardConfig.mk | 0
|
||||||
|
tdgsi_a64_a/BoardConfig.mk | 8 -----
|
||||||
|
tdgsi_arm64_a/BoardConfig.mk | 7 -----
|
||||||
|
tdgsi_arm_a/BoardConfig.mk | 11 -------
|
||||||
|
tdgsi_arm_ab/BoardConfig.mk | 7 -----
|
||||||
|
7 files changed, 8 insertions(+), 56 deletions(-)
|
||||||
|
rename {tdgsi_a64_ab => leos_a64_ab}/BoardConfig.mk (100%)
|
||||||
|
rename {tdgsi_arm64_ab => leos_arm64_ab}/BoardConfig.mk (100%)
|
||||||
|
delete mode 100644 tdgsi_a64_a/BoardConfig.mk
|
||||||
|
delete mode 100644 tdgsi_arm64_a/BoardConfig.mk
|
||||||
|
delete mode 100644 tdgsi_arm_a/BoardConfig.mk
|
||||||
|
delete mode 100644 tdgsi_arm_ab/BoardConfig.mk
|
||||||
|
|
||||||
diff --git a/generate.sh b/generate.sh
|
diff --git a/tdgsi_a64_ab/BoardConfig.mk b/leos_a64_ab/BoardConfig.mk
|
||||||
index 1e63d8c..b3d80c4 100644
|
similarity index 100%
|
||||||
--- a/generate.sh
|
rename from tdgsi_a64_ab/BoardConfig.mk
|
||||||
+++ b/generate.sh
|
rename to leos_a64_ab/BoardConfig.mk
|
||||||
@@ -15,8 +15,8 @@ fi
|
diff --git a/tdgsi_arm64_ab/BoardConfig.mk b/leos_arm64_ab/BoardConfig.mk
|
||||||
echo 'PRODUCT_MAKEFILES := \' > AndroidProducts.mk
|
similarity index 100%
|
||||||
|
rename from tdgsi_arm64_ab/BoardConfig.mk
|
||||||
for part in a ab;do
|
rename to leos_arm64_ab/BoardConfig.mk
|
||||||
- for apps in vanilla gapps foss gapps-go;do
|
diff --git a/tdgsi_a64_a/BoardConfig.mk b/tdgsi_a64_a/BoardConfig.mk
|
||||||
- for arch in arm64 arm a64;do
|
deleted file mode 100644
|
||||||
+ for apps in vanilla;do
|
index d430bf8..0000000
|
||||||
+ for arch in arm64 a64;do
|
--- a/tdgsi_a64_a/BoardConfig.mk
|
||||||
for su in yes no;do
|
+++ /dev/null
|
||||||
apps_suffix=""
|
@@ -1,8 +0,0 @@
|
||||||
apps_script=""
|
-include build/make/target/board/generic_arm_ab/BoardConfig.mk
|
||||||
@@ -24,29 +24,11 @@ for part in a ab;do
|
-include device/phh/treble/board-base.mk
|
||||||
extra_packages=""
|
-
|
||||||
vndk="vndk.mk"
|
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
||||||
optional_base=""
|
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000
|
||||||
- if [ "$apps" == "gapps" ];then
|
-endif
|
||||||
- apps_suffix="g"
|
-TARGET_USES_64_BIT_BINDER := true
|
||||||
- apps_script='$(call inherit-product, vendor/gapps/common/common-vendor.mk)'
|
-BOARD_SYSTEMIMAGE_AS_SYSTEM := true
|
||||||
- apps_name="with GApps"
|
diff --git a/tdgsi_arm64_a/BoardConfig.mk b/tdgsi_arm64_a/BoardConfig.mk
|
||||||
- fi
|
deleted file mode 100644
|
||||||
- if [ "$apps" == "gapps-go" ];then
|
index c9bc831..0000000
|
||||||
- apps_suffix="o"
|
--- a/tdgsi_arm64_a/BoardConfig.mk
|
||||||
- apps_script='$(call inherit-product, device/phh/treble/gapps-go.mk)'
|
+++ /dev/null
|
||||||
- apps_name="Go"
|
@@ -1,7 +0,0 @@
|
||||||
- fi
|
-include build/make/target/board/generic_arm64_ab/BoardConfig.mk
|
||||||
- if [ "$apps" == "foss" ];then
|
-include device/phh/treble/board-base.mk
|
||||||
- apps_suffix="f"
|
-
|
||||||
- apps_script='$(call inherit-product, vendor/foss/foss.mk)'
|
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
||||||
- apps_name="with FOSS apps"
|
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2080374784
|
||||||
- fi
|
-endif
|
||||||
if [ "$apps" == "vanilla" ];then
|
-BOARD_SYSTEMIMAGE_AS_SYSTEM := true
|
||||||
apps_suffix="v"
|
diff --git a/tdgsi_arm_a/BoardConfig.mk b/tdgsi_arm_a/BoardConfig.mk
|
||||||
apps_script=''
|
deleted file mode 100644
|
||||||
apps_name="vanilla"
|
index 7340fc4..0000000
|
||||||
fi
|
--- a/tdgsi_arm_a/BoardConfig.mk
|
||||||
- if [ "$arch" == "arm" ];then
|
+++ /dev/null
|
||||||
- vndk="vndk-binder32.mk"
|
@@ -1,11 +0,0 @@
|
||||||
- fi
|
-include build/make/target/board/generic_arm_ab/BoardConfig.mk
|
||||||
if [ "$arch" == "a64" ];then
|
-include device/phh/treble/board-base.mk
|
||||||
vndk="vndk32.mk"
|
-
|
||||||
fi
|
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
||||||
@@ -64,7 +46,7 @@ for part in a ab;do
|
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1313583104
|
||||||
optional_base='$(call inherit-product, device/phh/treble/base-sas.mk)'
|
-else
|
||||||
fi
|
-BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 25165824
|
||||||
|
-endif
|
||||||
- target="treble_${arch}_${part_suffix}${apps_suffix}${su_suffix}"
|
-
|
||||||
+ target="leos_${arch}_${part_suffix}${apps_suffix}${su_suffix}"
|
-TARGET_USES_64_BIT_BINDER := false
|
||||||
|
-BOARD_SYSTEMIMAGE_AS_SYSTEM := true
|
||||||
baseArch="$arch"
|
diff --git a/tdgsi_arm_ab/BoardConfig.mk b/tdgsi_arm_ab/BoardConfig.mk
|
||||||
if [ "$arch" = "a64" ];then
|
deleted file mode 100644
|
||||||
@@ -77,18 +59,18 @@ for part in a ab;do
|
index a9a4fe3..0000000
|
||||||
fi
|
--- a/tdgsi_arm_ab/BoardConfig.mk
|
||||||
|
+++ /dev/null
|
||||||
cat > ${target}.mk << EOF
|
@@ -1,7 +0,0 @@
|
||||||
-TARGET_GAPPS_ARCH := ${baseArch}
|
-include build/make/target/board/generic_arm_ab/BoardConfig.mk
|
||||||
include build/make/target/product/aosp_${baseArch}.mk
|
-include device/phh/treble/board-base.mk
|
||||||
\$(call inherit-product, device/phh/treble/base.mk)
|
-
|
||||||
+\$(call inherit-product, vendor/LeOS/leos.mk)
|
-ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
||||||
$optional_base
|
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824
|
||||||
$apps_script
|
-endif
|
||||||
$rom_script
|
-TARGET_USES_64_BIT_BINDER := false
|
||||||
|
|
||||||
PRODUCT_NAME := $target
|
|
||||||
-PRODUCT_DEVICE := tdgsi_${arch}_$part
|
|
||||||
+PRODUCT_DEVICE := leos_${arch}_$part
|
|
||||||
PRODUCT_BRAND := google
|
|
||||||
PRODUCT_SYSTEM_BRAND := google
|
|
||||||
-PRODUCT_MODEL := TrebleDroid $apps_name
|
|
||||||
+PRODUCT_MODEL := LeOS-A14
|
|
||||||
|
|
||||||
# Overwrite the inherited "emulator" characteristics
|
|
||||||
PRODUCT_CHARACTERISTICS := device
|
|
||||||
--
|
--
|
||||||
2.34.1
|
2.34.1
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
From 4b800e04249254a798ce2c5f120501084cad2579 Mon Sep 17 00:00:00 2001
|
From c205b881e04aa9cb2f4b5ed4d7b7995a414ffb35 Mon Sep 17 00:00:00 2001
|
||||||
From: harvey186 <harvey186@hotmail.com>
|
From: harvey186 <harvey186@hotmail.com>
|
||||||
Date: Tue, 9 Jan 2024 10:15:21 +0100
|
Date: Wed, 10 Jan 2024 13:13:34 +0100
|
||||||
Subject: [PATCH] secure_0_rw_system
|
Subject: [PATCH] adb_and_debugable
|
||||||
|
|
||||||
---
|
---
|
||||||
rw-system.sh | 5 ++---
|
rw-system.sh | 5 ++---
|
||||||
1 file changed, 2 insertions(+), 3 deletions(-)
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/rw-system.sh b/rw-system.sh
|
diff --git a/rw-system.sh b/rw-system.sh
|
||||||
index 867a954..6cf1919 100644
|
index 9a65307..a89a2f2 100644
|
||||||
--- a/rw-system.sh
|
--- a/rw-system.sh
|
||||||
+++ b/rw-system.sh
|
+++ b/rw-system.sh
|
||||||
@@ -822,12 +822,11 @@ copyprop() {
|
@@ -795,12 +795,11 @@ if [ -f /system/phh/secure ] || [ -f /metadata/phh/secure ];then
|
||||||
resetprop_phh ro.boot.veritymode enforcing
|
resetprop_phh ro.boot.veritymode enforcing
|
||||||
resetprop_phh ro.boot.warranty_bit 0
|
resetprop_phh ro.boot.warranty_bit 0
|
||||||
resetprop_phh ro.warranty_bit 0
|
resetprop_phh ro.warranty_bit 0
|
||||||
|
@ -22,10 +22,10 @@ index 867a954..6cf1919 100644
|
||||||
resetprop_phh ro.build.type user
|
resetprop_phh ro.build.type user
|
||||||
resetprop_phh ro.build.selinux 0
|
resetprop_phh ro.build.selinux 0
|
||||||
|
|
||||||
- resetprop_phh ro.adb.secure 0
|
- resetprop_phh ro.adb.secure 1
|
||||||
|
|
||||||
for abi in "" 64;do
|
# Hide system/xbin/su
|
||||||
f=/vendor/lib$abi/libstagefright_foundation.so
|
mount /mnt/phh/empty_dir /system/xbin
|
||||||
--
|
--
|
||||||
2.34.1
|
2.34.1
|
||||||
|
|
Loading…
Reference in New Issue