Compare commits
272 Commits
fe42919ce1
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
9e1fb030ea
|
|||
|
bd9abc151e
|
|||
|
7112909778
|
|||
|
d320968228
|
|||
|
45131ecf57
|
|||
|
2e2c89d43a
|
|||
|
a51df49649
|
|||
|
cb576a9de2
|
|||
|
16ef215f3f
|
|||
|
|
f1855ffc92 | ||
|
|
b834dbf989 | ||
|
|
7a59061fc9 | ||
|
|
b639b8ee63 | ||
|
|
6960beee5e | ||
|
|
89249d182f | ||
|
|
e43b0bf74a | ||
|
|
a8ac8dfb69 | ||
|
|
f7e2cd8caa | ||
|
|
0ce10a4d61 | ||
|
|
3d1ed602ff | ||
|
|
caee89e14d | ||
|
|
5feee184df | ||
|
|
9d6fa4fd29 | ||
|
|
c85c62bf43 | ||
|
|
b03a8b8652 | ||
|
|
d730ccc408 | ||
|
|
455d2793a7 | ||
|
|
50b670a59f | ||
|
|
e189c2d214 | ||
| 2e22c3def2 | |||
| 9c971370ec | |||
| 70836b68ff | |||
| 62411f5096 | |||
| 0201c2e708 | |||
| 760e9725ba | |||
| b110ccbedd | |||
| 1423d93346 | |||
| 0727551599 | |||
| 93ba6658ef | |||
| 30c58bca72 | |||
| f12d9a3cc4 | |||
| c8b7a6a2b5 | |||
| b2f3b1291c | |||
| 690c629f3d | |||
| 81961dcb45 | |||
| a422dba30a | |||
|
|
32642e4fb1 | ||
| 2deaea05cc | |||
| 258760e5b4 | |||
| 475a5d1b81 | |||
| 3a64b059b0 | |||
| 643c10487b | |||
| 6197aef279 | |||
| 775859c093 | |||
| f01a294f8b | |||
| da00ba147f | |||
| c89c3338aa | |||
| 56e2cb3805 | |||
| 2f6ce0d6f4 | |||
| 057e1929c7 | |||
| 078190f709 | |||
| f4bb9f0a0e | |||
| dd9d263b0c | |||
| 8957b37398 | |||
| ff8f6f2d40 | |||
| 03478237ab | |||
| 9dfdf12476 | |||
| 1aef0e72d8 | |||
| 5e7196ad00 | |||
| 9106bb8298 | |||
| a42a912813 | |||
| ef7a81d855 | |||
| 2091f04cb8 | |||
| 9a986ce1ba | |||
| 31192243cd | |||
| edf29455a4 | |||
| c833df947b | |||
| 458967231b | |||
| 2a2f2b3836 | |||
| 99c253e95f | |||
| 2b316448a4 | |||
| 628f1c044a | |||
| dccfb91aaa | |||
| 5e5986adbe | |||
| 75b1c94ac0 | |||
| e966a43bb4 | |||
| c1989c98be | |||
| 037f1e4eed | |||
| 5b5b0ef363 | |||
| 777629d45a | |||
| bb6521101d | |||
| 6230019780 | |||
| 8b8b05d186 | |||
| ad0324cbc9 | |||
| 1e93888091 | |||
| aafee81383 | |||
| f14bb5bccc | |||
| c7b5572475 | |||
| 9bb121e779 | |||
| 4201de603d | |||
| 1f11ec1790 | |||
| 0a2a61a17e | |||
| 236fba01d4 | |||
| ba66dfed8e | |||
| a89a273a58 | |||
| 2102d14be2 | |||
| 506cd71762 | |||
| 1ebc6eba2e | |||
| 9ae1054585 | |||
| d4c2b906f2 | |||
| 826e2f5417 | |||
| 5ec4733eb6 | |||
| 71fe9ef399 | |||
| 1fa7442cdf | |||
| 0dbe62166e | |||
| b62ca0be34 | |||
| 5d1877ba3d | |||
| 1a008f94d1 | |||
| b6fb6bc757 | |||
| c89fde7530 | |||
| d17d970b25 | |||
| 962b8b8279 | |||
| 5809e9c00c | |||
| fff6e4bcdc | |||
| ee32499165 | |||
| de07a5f47a | |||
| c1a7b24957 | |||
| 15a0804406 | |||
| e84b9b8fd8 | |||
| 17ee052d7f | |||
| a550b93d23 | |||
| 59ebba0cc0 | |||
| 8bf26c5805 | |||
| 6c8d19eb4c | |||
| 07c100e2e2 | |||
| f51ef42f95 | |||
| 33b216d183 | |||
| e3402261ce | |||
| 0bfc6f5d2d | |||
| f346b68b55 | |||
| 75f924f404 | |||
| 16843a287f | |||
| d5888cd972 | |||
| 87edffbd6f | |||
| 9dab723855 | |||
| 63f21cf183 | |||
| 899df863b6 | |||
| db6396d11f | |||
| 1fd7d39a2c | |||
| 4aea05214e | |||
| 8e96c847fa | |||
| e8b5df6796 | |||
| 1cdb5581e4 | |||
| b3414933ee | |||
| 29f47b6fe9 | |||
| d58c7292a4 | |||
| c1ebc5eee4 | |||
| c59139d2ee | |||
| 31177e8bc5 | |||
| c5a104d961 | |||
| 3dae521ca0 | |||
| 158e456dd3 | |||
| f85ea79aab | |||
| 5ac05c85f1 | |||
| a53b31c013 | |||
| a55a0f7782 | |||
| 9d8235ddce | |||
| 5a699f16b1 | |||
| 7f8cf84bc8 | |||
| dd0ad19fe1 | |||
| a6f3e693b2 | |||
| c407944745 | |||
| 2bd1fcd5ab | |||
| d4cfe8ebbf | |||
| c0aea88245 | |||
| f0acf831b3 | |||
| f0e66109df | |||
| abeacac18c | |||
| b5fec06508 | |||
| 037cb82411 | |||
| 7e970cd195 | |||
| cb0674e7be | |||
| 9c32e71fb3 | |||
| 7e08ec70ca | |||
| de07ffd6e9 | |||
| 2499a98a0e | |||
| 766911e7b4 | |||
| 44bb9bb1c8 | |||
| de31afbd2e | |||
| b63c8ba30a | |||
| 571ac60d75 | |||
| 0a354eca48 | |||
| ffca430c04 | |||
| cd29747a85 | |||
| ed80ef57de | |||
| be685be826 | |||
| 366298d67e | |||
| 864bc5f159 | |||
| 8bf1e081cd | |||
| 12ba48106e | |||
| f1f99918b0 | |||
| 4a32bb90dd | |||
| ac6f31f828 | |||
| 834c397861 | |||
| 35e2b1e8ac | |||
| cffb2de42c | |||
| 2b9f40d4c8 | |||
| 527400f497 | |||
| a3bd9d37be | |||
| 1f86ba1f18 | |||
| ea40c54ccd | |||
| b5b7ac1cb6 | |||
| 96607d69be | |||
| 7c4cab5bd0 | |||
| df2a683e3d | |||
| 350ce6d465 | |||
| 62c5a61dc0 | |||
| 06e294ab84 | |||
| 924d433c0d | |||
| 9dd44b3878 | |||
| f6d23fdb19 | |||
| 91fdc811eb | |||
| 65101a13e2 | |||
| 16c4f0e5e6 | |||
| ba030790d5 | |||
| 691c8b5665 | |||
| 916deadd0e | |||
| ba9294954a | |||
| 933845c74f | |||
| 31aa41db3d | |||
| 8b968208d3 | |||
| 6899b8625d | |||
| 944d90d5a6 | |||
| 1eb2f4dbdd | |||
| fc1daeb64c | |||
| b571606e76 | |||
| 670e2df365 | |||
| d769483c2e | |||
| 756aee0ef9 | |||
| 7326e1f3b3 | |||
| 9cb38ea22f | |||
| 8b087ce8d9 | |||
| 8cd32a9e1a | |||
| 264ccf677b | |||
| 108455a391 | |||
| 0c1ca8abe8 | |||
| 37440670a7 | |||
| 183ff7a9b2 | |||
| 2dee349210 | |||
| ca802689ed | |||
| 70444f6b5c | |||
| e93ca5ba90 | |||
| c2ba184e1d | |||
| b6411393a7 | |||
| bdc1e9b858 | |||
| e7fda32d11 | |||
| 60a0ac2e64 | |||
| e05d9b2963 | |||
| c386a7517f | |||
| 862424eb05 | |||
| 7398eaeeaa | |||
| f5e2fc1326 | |||
| b3b2aa4b5b | |||
| 3378b0f495 | |||
| 200d571277 | |||
| 79d6451c3f | |||
| 2b1685c3cc | |||
| 684ba7d140 | |||
| b71ce4bea9 | |||
| db560185a5 | |||
| 5cab73f2a4 | |||
| fb4715ae8d |
@@ -1,2 +0,0 @@
|
|||||||
PRODUCT_MAKEFILES := \
|
|
||||||
$(LOCAL_DIR)/cat_s22.mk
|
|
||||||
@@ -1,9 +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
|
|
||||||
TARGET_SYSTEM_PROP := device/wephone/cat/system.prop $(TARGET_SYSTEM_PROP)
|
|
||||||
2
cats22flip/AndroidProducts.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/cats22flip.mk
|
||||||
1
cats22flip/board-base.mk
Normal file
@@ -0,0 +1 @@
|
|||||||
|
TARGET_SYSTEM_PROP := device/wephone/cats22flip/system.prop $(TARGET_SYSTEM_PROP)
|
||||||
8
cats22flip/cat/BoardConfig.mk
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
include build/make/target/board/generic/BoardConfig.mk
|
||||||
|
include device/wephone/cats22flip/board-base.mk
|
||||||
|
|
||||||
|
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
||||||
|
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000
|
||||||
|
endif
|
||||||
|
|
||||||
|
TARGET_USES_64_BIT_BINDER := true
|
||||||
42
cats22flip/cats22flip.mk
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
TARGET_GAPPS_ARCH := arm
|
||||||
|
|
||||||
|
include build/make/target/product/aosp_arm.mk
|
||||||
|
include build/make/target/product/gsi_release.mk
|
||||||
|
|
||||||
|
PRODUCT_NAME := cats22flip
|
||||||
|
PRODUCT_DEVICE := cat
|
||||||
|
PRODUCT_BRAND := wephone
|
||||||
|
PRODUCT_MODEL := weOs | v14.0.1 | Nehemiah
|
||||||
|
|
||||||
|
# This is for a device
|
||||||
|
PRODUCT_CHARACTERISTICS := device
|
||||||
|
|
||||||
|
PRODUCT_PACKAGE_OVERLAYS += device/wephone/cats22flip/overlay
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/wephone/cats22flip/files/qpnp_pon.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/qpnp_pon.kl \
|
||||||
|
device/wephone/cats22flip/files/soc_matrix_keypad.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/soc_matrix_keypad.kl \
|
||||||
|
device/wephone/cats22flip/files/soc_matrix_keypad.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/soc_matrix_keypad.kcm
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
BromiteSystemWebView \
|
||||||
|
Conversations \
|
||||||
|
Davx5 \
|
||||||
|
DeskClock \
|
||||||
|
Etar \
|
||||||
|
ExactCalculator \
|
||||||
|
Gallery2 \
|
||||||
|
K-9Mail \
|
||||||
|
Linphone \
|
||||||
|
Nextcloud \
|
||||||
|
NextcloudNotes \
|
||||||
|
OpenDocumentReader \
|
||||||
|
Wireguard
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES -= \
|
||||||
|
EasterEgg \
|
||||||
|
webview \
|
||||||
|
libwebviewchromium_loader \
|
||||||
|
libwebviewchromium_plat_support \
|
||||||
|
CtsShimPrebuilt \
|
||||||
|
CtsShimPrivPrebuilt
|
||||||
2
cats22flip/files/qpnp_pon.kl
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
key 114 VOLUME_DOWN WAKE
|
||||||
|
key 116 POWER
|
||||||
17
cats22flip/files/soc_matrix_keypad.kcm
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
type FULL
|
||||||
|
|
||||||
|
key BUTTON_1 {
|
||||||
|
base: fallback DPAD_UP
|
||||||
|
}
|
||||||
|
|
||||||
|
key BUTTON_2 {
|
||||||
|
base: fallback DPAD_LEFT
|
||||||
|
}
|
||||||
|
|
||||||
|
key BUTTON_3 {
|
||||||
|
base: fallback DPAD_RIGHT
|
||||||
|
}
|
||||||
|
|
||||||
|
key BUTTON_4 {
|
||||||
|
base: fallback DPAD_DOWN
|
||||||
|
}
|
||||||
52
cats22flip/files/soc_matrix_keypad.kl
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
key 2 1
|
||||||
|
key 3 2
|
||||||
|
key 4 3
|
||||||
|
key 5 4
|
||||||
|
key 6 5
|
||||||
|
key 7 6
|
||||||
|
key 8 7
|
||||||
|
key 9 8
|
||||||
|
key 10 9
|
||||||
|
key 11 0
|
||||||
|
|
||||||
|
# CLEAR
|
||||||
|
key 14 DEL
|
||||||
|
|
||||||
|
# DPAD CENTER
|
||||||
|
key 28 ENTER
|
||||||
|
|
||||||
|
# DPAD UP
|
||||||
|
key 103 BUTTON_1
|
||||||
|
|
||||||
|
# DPAD LEFT
|
||||||
|
key 105 BUTTON_2
|
||||||
|
|
||||||
|
# DPAD RIGHT
|
||||||
|
key 106 BUTTON_3
|
||||||
|
|
||||||
|
# DPAD DOWN
|
||||||
|
key 108 BUTTON_4
|
||||||
|
|
||||||
|
# BACK
|
||||||
|
key 158 BACK
|
||||||
|
|
||||||
|
# CALL
|
||||||
|
key 169 CALL
|
||||||
|
|
||||||
|
# HOME
|
||||||
|
key 172 HOME
|
||||||
|
|
||||||
|
# FUNCTION
|
||||||
|
key 248 SYM
|
||||||
|
|
||||||
|
# APP SWITCH
|
||||||
|
key 580 APP_SWITCH
|
||||||
|
|
||||||
|
# STAR
|
||||||
|
key 522 STAR
|
||||||
|
|
||||||
|
# POUND
|
||||||
|
key 523 POUND
|
||||||
|
|
||||||
|
# SIDE BUTTON
|
||||||
|
key 525 CTRL_LEFT
|
||||||
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
60
cats22flip/patches/button_backlights.patch
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
diff --git a/services/core/java/com/android/server/display/DisplayPowerController.java b/services/core/java/com/android/server/display/DisplayPowerController.java
|
||||||
|
index 7c0f4197363..16758ba496e 100644
|
||||||
|
--- a/services/core/java/com/android/server/display/DisplayPowerController.java
|
||||||
|
+++ b/services/core/java/com/android/server/display/DisplayPowerController.java
|
||||||
|
@@ -63,7 +63,12 @@ import com.android.server.display.whitebalance.DisplayWhiteBalanceFactory;
|
||||||
|
import com.android.server.display.whitebalance.DisplayWhiteBalanceSettings;
|
||||||
|
import com.android.server.policy.WindowManagerPolicy;
|
||||||
|
|
||||||
|
+import java.io.BufferedWriter;
|
||||||
|
+import java.io.File;
|
||||||
|
+import java.io.FileWriter;
|
||||||
|
+import java.io.IOException;
|
||||||
|
import java.io.PrintWriter;
|
||||||
|
+import java.io.Writer;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
@@ -561,6 +566,18 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
|
mDisplayWhiteBalanceController = displayWhiteBalanceController;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ private void changeKeyboardBacklightState(String value) {
|
||||||
|
+ try {
|
||||||
|
+ File outputFile = new File("/sys/class/leds/keyboard_light/", "brightness");
|
||||||
|
+ Writer writer = new BufferedWriter(new FileWriter(outputFile));
|
||||||
|
+
|
||||||
|
+ writer.write(value);
|
||||||
|
+ writer.close();
|
||||||
|
+ } catch (IOException e) {
|
||||||
|
+ Slog.d("NEHEMIAH", "Sorry, failed to change the value of the keyboard backlight");
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
private Sensor findDisplayLightSensor(String sensorType) {
|
||||||
|
if (!TextUtils.isEmpty(sensorType)) {
|
||||||
|
List<Sensor> sensors = mSensorManager.getSensorList(Sensor.TYPE_ALL);
|
||||||
|
@@ -1154,6 +1171,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
|
&& mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_TURNING_ON) {
|
||||||
|
setReportedScreenState(REPORTED_TO_POLICY_SCREEN_ON);
|
||||||
|
mWindowManagerPolicy.screenTurnedOn();
|
||||||
|
+ changeKeyboardBacklightState("255");
|
||||||
|
}
|
||||||
|
|
||||||
|
// Grab a wake lock if we have unfinished business.
|
||||||
|
@@ -1310,6 +1328,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
|
setReportedScreenState(REPORTED_TO_POLICY_SCREEN_OFF);
|
||||||
|
unblockScreenOn();
|
||||||
|
mWindowManagerPolicy.screenTurnedOff();
|
||||||
|
+ changeKeyboardBacklightState("0");
|
||||||
|
} else if (!isOff
|
||||||
|
&& mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_TURNING_OFF) {
|
||||||
|
|
||||||
|
@@ -1317,6 +1336,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
|
// Complete the full state transition on -> turningOff -> off.
|
||||||
|
unblockScreenOff();
|
||||||
|
mWindowManagerPolicy.screenTurnedOff();
|
||||||
|
+ changeKeyboardBacklightState("0");
|
||||||
|
setReportedScreenState(REPORTED_TO_POLICY_SCREEN_OFF);
|
||||||
|
}
|
||||||
|
if (!isOff && mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_OFF) {
|
||||||
0
cats22flip/system.prop
Normal file
2
cm17/AndroidProducts.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/cm17.mk
|
||||||
56
cm17/cm17.mk
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
|
||||||
|
|
||||||
|
#
|
||||||
|
# All components inherited here go to system_ext image
|
||||||
|
#
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
|
||||||
|
|
||||||
|
#
|
||||||
|
# All components inherited here go to product image
|
||||||
|
#
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
||||||
|
|
||||||
|
#
|
||||||
|
# Special settings for GSI releasing
|
||||||
|
#
|
||||||
|
# ifeq (aosp_arm64,$(TARGET_PRODUCT))
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
PRODUCT_CHARACTERISTICS := device
|
||||||
|
|
||||||
|
PRODUCT_NAME := cm17
|
||||||
|
PRODUCT_DEVICE := cm17
|
||||||
|
PRODUCT_BRAND := Android
|
||||||
|
PRODUCT_MODEL := AOSP on ARM64
|
||||||
|
PRODUCT_AAPT_CONFIG := normal
|
||||||
|
PRODUCT_AAPT_PREF_CONFIG := xhdpi
|
||||||
|
|
||||||
|
PRODUCT_PACKAGE_OVERLAYS += device/wephone/cm17/overlay
|
||||||
|
|
||||||
|
# Use a more decent APN config
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
|
||||||
|
|
||||||
|
ifneq (,$(wildcard external/exfat))
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
mkfs.exfat \
|
||||||
|
fsck.exfat
|
||||||
|
endif
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
TrichromeWebView \
|
||||||
|
Contacts \
|
||||||
|
DeskClock \
|
||||||
|
Etar \
|
||||||
|
ExactCalculator \
|
||||||
|
Gallery2
|
||||||
|
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES -= \
|
||||||
|
EasterEgg \
|
||||||
|
webview \
|
||||||
|
libwebviewchromium_loader \
|
||||||
|
libwebviewchromium_plat_support
|
||||||
31
cm17/cm17/BoardConfig.mk
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
TARGET_ARCH := arm64
|
||||||
|
TARGET_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_CPU_ABI := arm64-v8a
|
||||||
|
TARGET_CPU_ABI2 :=
|
||||||
|
TARGET_CPU_VARIANT := generic
|
||||||
|
|
||||||
|
TARGET_2ND_ARCH := arm
|
||||||
|
TARGET_2ND_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_2ND_CPU_ABI := armeabi-v7a
|
||||||
|
TARGET_2ND_CPU_ABI2 := armeabi
|
||||||
|
TARGET_2ND_CPU_VARIANT := generic
|
||||||
|
|
||||||
|
include build/make/target/board/BoardConfigGsiCommon.mk
|
||||||
|
|
||||||
|
# TODO(jiyong) These might be SoC specific.
|
||||||
|
BOARD_ROOT_EXTRA_SYMLINKS += /vendor/lib/dsp:/dsp
|
||||||
|
|
||||||
|
# TODO(b/36764215): remove this setting when the generic system image
|
||||||
|
# no longer has QCOM-specific directories under /.
|
||||||
|
BOARD_SEPOLICY_DIRS += build/make/target/board/generic_arm64/sepolicy
|
||||||
|
|
||||||
|
TARGET_EXFAT_DRIVER := exfat
|
||||||
|
TARGET_SYSTEM_PROP := device/wephone/ttp/system.prop $(TARGET_SYSTEM_PROP)
|
||||||
|
|
||||||
|
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
||||||
|
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
|
||||||
|
else
|
||||||
|
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 33554432
|
||||||
|
endif
|
||||||
|
|
||||||
|
TARGET_USES_64_BIT_BINDER := true
|
||||||
|
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
@@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright 2015 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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<webviewproviders>
|
||||||
|
<!-- The default WebView implementation -->
|
||||||
|
<webviewprovider description="Vanadium" packageName="app.vanadium.webview" availableByDefault="true">
|
||||||
|
</webviewprovider>
|
||||||
|
</webviewproviders>
|
||||||
12242
cm17/patches/boot_image.patch
Normal file
@@ -3,3 +3,9 @@ persist.bluetooth.bluetooth_audio_hal.disabled=true
|
|||||||
persist.sys.bt.unsupport.features=00000000
|
persist.sys.bt.unsupport.features=00000000
|
||||||
persist.sys.bt.unsupport.states=00000000
|
persist.sys.bt.unsupport.states=00000000
|
||||||
persist.sys.bt.unsupport.stdfeatures=000001
|
persist.sys.bt.unsupport.stdfeatures=000001
|
||||||
|
qemu.hw.mainkeys=1
|
||||||
|
hw.lcd.width = 716
|
||||||
|
hw.lcd.height = 720
|
||||||
|
hw.lcd.depth = 24
|
||||||
|
hw.lcd.density = 220
|
||||||
|
ro.sf.lcd_density=220
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
PRODUCT_MAKEFILES := \
|
|
||||||
$(LOCAL_DIR)/duoqin_f21pro.mk \
|
|
||||||
$(LOCAL_DIR)/duoqin_f22pro.mk
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
TARGET_SYSTEM_PROP := device/wephone/duoqin/system.prop $(TARGET_SYSTEM_PROP)
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
#
|
|
||||||
# All components inherited here go to system image
|
|
||||||
#
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
|
|
||||||
|
|
||||||
# Enable mainline checking
|
|
||||||
# PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
|
||||||
|
|
||||||
#
|
|
||||||
# All components inherited here go to system_ext image
|
|
||||||
#
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
|
|
||||||
|
|
||||||
#
|
|
||||||
# All components inherited here go to product image
|
|
||||||
#
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
|
||||||
|
|
||||||
#
|
|
||||||
# Special settings for GSI releasing
|
|
||||||
#
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
|
||||||
|
|
||||||
|
|
||||||
PRODUCT_NAME := duoqin_f21pro
|
|
||||||
PRODUCT_DEVICE := duoqin
|
|
||||||
PRODUCT_BRAND := generic
|
|
||||||
PRODUCT_MODEL := Duoqin F21pro - wePhone
|
|
||||||
|
|
||||||
# This is for a device
|
|
||||||
PRODUCT_CHARACTERISTICS := device
|
|
||||||
|
|
||||||
PRODUCT_PACKAGE_OVERLAYS += device/wephone/duoqin/overlay
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
device/wephone/duoqin/files/mtk-kpd.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-kpd.idc \
|
|
||||||
device/wephone/duoqin/files/mtk-kpd.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-kpd.kcm \
|
|
||||||
device/wephone/duoqin/files/mtk-kpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-kpd.kl \
|
|
||||||
device/wephone/duoqin/files/mtk-pmic-keys.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-pmic-keys.idc \
|
|
||||||
device/wephone/duoqin/files/mtk-pmic-keys.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-pmic-keys.kcm \
|
|
||||||
device/wephone/duoqin/files/mtk-pmic-keys.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-pmic-keys.kl \
|
|
||||||
device/wephone/duoqin/files/Vendor_0001_Product_0001_Version_0100.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/Vendor_0001_Product_0001_Version_0100.kl
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
BromiteSystemWebView \
|
|
||||||
Conversations \
|
|
||||||
Davx5 \
|
|
||||||
DeskClock \
|
|
||||||
Etar \
|
|
||||||
FDroid \
|
|
||||||
Gallery2 \
|
|
||||||
Linphone \
|
|
||||||
Nextcloud \
|
|
||||||
NextcloudNotes \
|
|
||||||
OpenCalc \
|
|
||||||
Wireguard
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES -= \
|
|
||||||
EasterEgg \
|
|
||||||
webview \
|
|
||||||
libwebviewchromium_loader \
|
|
||||||
libwebviewchromium_plat_support
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
# $(call inherit-product, vendor/hardware_overlay/overlay.mk)
|
|
||||||
|
|
||||||
#
|
|
||||||
# All components inherited here go to system image
|
|
||||||
#
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
|
|
||||||
|
|
||||||
# Enable mainline checking
|
|
||||||
# PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := true
|
|
||||||
|
|
||||||
#
|
|
||||||
# All components inherited here go to system_ext image
|
|
||||||
#
|
|
||||||
$(call inherit-product, device/nehemiah/wephone/gsi_system_ext.mk)
|
|
||||||
|
|
||||||
#
|
|
||||||
# All components inherited here go to product image
|
|
||||||
#
|
|
||||||
$(call inherit-product, device/generic/common/gsi_product.mk)
|
|
||||||
|
|
||||||
#
|
|
||||||
# All components inherited here go to boot image
|
|
||||||
#
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk)
|
|
||||||
|
|
||||||
#
|
|
||||||
# Special settings for GSI releasing
|
|
||||||
#
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
|
||||||
|
|
||||||
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false
|
|
||||||
|
|
||||||
PRODUCT_NAME := duoqin-f22pro
|
|
||||||
PRODUCT_DEVICE := duoqin
|
|
||||||
PRODUCT_BRAND := wePhone
|
|
||||||
PRODUCT_MODEL := F22pro wePhone
|
|
||||||
|
|
||||||
PRODUCT_CHARACTERISTICS := device
|
|
||||||
|
|
||||||
PRODUCT_PACKAGE_OVERLAYS += device/nehemiah/wephone/overlay
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
device/nehemiah/wephone/files/mtk-kpd.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-kpd.idc \
|
|
||||||
device/nehemiah/wephone/files/mtk-kpd.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-kpd.kcm \
|
|
||||||
device/nehemiah/wephone/files/mtk-kpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-kpd.kl
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
device/nehemiah/wephone/files/f22pro-animation.zip:$(TARGET_COPY_OUT_SYSTEM)/media/bootanimation.zip \
|
|
||||||
device/nehemiah/wephone/files/privapp-permissions-app.lawnchair.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-app.lawnchair.xml \
|
|
||||||
device/nehemiah/wephone/files/privapp-permissions-net.mezimmah.wkt9.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-net.mezimmah.wkt9.xml
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
mkfs.exfat \
|
|
||||||
fsck.exfat
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
BromiteSystemWebView \
|
|
||||||
Contacts \
|
|
||||||
Conversations \
|
|
||||||
Davx5 \
|
|
||||||
Etar \
|
|
||||||
ExactCalculator \
|
|
||||||
DeskClock \
|
|
||||||
FDroid \
|
|
||||||
Gallery2 \
|
|
||||||
Lawnchair \
|
|
||||||
Lawnicons \
|
|
||||||
Linphone \
|
|
||||||
Nextcloud \
|
|
||||||
Wireguard
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<permissions>
|
|
||||||
<privapp-permissions package="app.lawnchair">
|
|
||||||
<permission name="android.permission.INTERNET"/>
|
|
||||||
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
|
|
||||||
<permission name="android.permission.FOREGROUND_SERVICE"/>
|
|
||||||
<permission name="com.google.android.apps.nexuslauncher.permission.QSB"/>
|
|
||||||
<permission name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS"/>
|
|
||||||
<permission name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS"/>
|
|
||||||
<permission name="android.permission.VIBRATE"/>
|
|
||||||
<permission name="android.permission.QUERY_ALL_PACKAGES"/>
|
|
||||||
<permission name="android.permission.START_TASKS_FROM_RECENTS"/>
|
|
||||||
<permission name="android.permission.REMOVE_TASKS"/>
|
|
||||||
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
|
|
||||||
<permission name="android.permission.MANAGE_ACTIVITY_TASKS"/>
|
|
||||||
<permission name="android.permission.STATUS_BAR"/>
|
|
||||||
<permission name="android.permission.STOP_APP_SWITCHES"/>
|
|
||||||
<permission name="android.permission.SET_ORIENTATION"/>
|
|
||||||
<permission name="android.permission.READ_FRAME_BUFFER"/>
|
|
||||||
<permission name="android.permission.MANAGE_ACCESSIBILITY"/>
|
|
||||||
<permission name="android.permission.MONITOR_INPUT"/>
|
|
||||||
<permission name="android.permission.ALLOW_SLIPPERY_TOUCHES"/>
|
|
||||||
<permission name="android.permission.SYSTEM_APPLICATION_OVERLAY"/>
|
|
||||||
<permission name="android.permission.CALL_PHONE"/>
|
|
||||||
<permission name="android.permission.SET_WALLPAPER"/>
|
|
||||||
<permission name="android.permission.SET_WALLPAPER_HINTS"/>
|
|
||||||
<permission name="android.permission.BIND_APPWIDGET"/>
|
|
||||||
<permission name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
||||||
<permission name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
||||||
<permission name="android.permission.REQUEST_DELETE_PACKAGES"/>
|
|
||||||
<permission name="android.permission.READ_DEVICE_CONFIG"/>
|
|
||||||
<permission name="android.permission.EXPAND_STATUS_BAR"/>
|
|
||||||
<permission name="android.permission.ROTATE_SURFACE_FLINGER"/>
|
|
||||||
<permission name="app.lawnchair.permission.READ_SETTINGS"/>
|
|
||||||
<permission name="app.lawnchair.permission.WRITE_SETTINGS"/>
|
|
||||||
<permission name="app.lawnchair.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION"/>
|
|
||||||
</privapp-permissions>
|
|
||||||
</permissions>
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<permissions>
|
|
||||||
<privapp-permissions package="net.mezimmah.wkt9">
|
|
||||||
<permission name="android.permission.INTERNET"/>
|
|
||||||
<permission name="android.permission.RECORD_AUDIO"/>
|
|
||||||
<permission name="android.permission.POST_NOTIFICATIONS"/>
|
|
||||||
<permission name="android.permission.CONTROL_DEVICE_LIGHTS"/>
|
|
||||||
</privapp-permissions>
|
|
||||||
</permissions>
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2021 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.
|
|
||||||
#
|
|
||||||
|
|
||||||
# This makefile contains the system_ext partition contents for CTS on
|
|
||||||
# GSI compliance testing. Only add something here for this purpose.
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/media_system_ext.mk)
|
|
||||||
|
|
||||||
# handheld packages
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
Launcher3QuickStep \
|
|
||||||
Provision \
|
|
||||||
Settings \
|
|
||||||
StorageManager \
|
|
||||||
SystemUI
|
|
||||||
|
|
||||||
# telephony packages
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
CarrierConfig
|
|
||||||
|
|
||||||
# Install a copy of the debug policy in GSI.
|
|
||||||
#PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT := true
|
|
||||||
#PRODUCT_PACKAGES += system_ext_userdebug_plat_sepolicy.cil
|
|
||||||
2
jelly_star/AndroidProducts.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/jelly_star.mk
|
||||||
@@ -7,10 +7,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
|
|||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
|
||||||
|
|
||||||
|
|
||||||
# Enable mainline checking
|
|
||||||
# PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# All components inherited here go to product image
|
# All components inherited here go to product image
|
||||||
#
|
#
|
||||||
@@ -19,31 +15,33 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
|||||||
#
|
#
|
||||||
# Special settings for GSI releasing
|
# Special settings for GSI releasing
|
||||||
#
|
#
|
||||||
|
# ifeq (aosp_arm64,$(TARGET_PRODUCT))
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
||||||
|
# endif
|
||||||
# Don't build super.img.
|
|
||||||
PRODUCT_BUILD_SUPER_PARTITION := false
|
|
||||||
|
|
||||||
PRODUCT_NAME := cat_s22
|
|
||||||
PRODUCT_DEVICE := cat_s22
|
|
||||||
PRODUCT_BRAND := Android
|
|
||||||
PRODUCT_MODEL := wePhone Cat S22
|
|
||||||
|
|
||||||
PRODUCT_CHARACTERISTICS := device
|
PRODUCT_CHARACTERISTICS := device
|
||||||
|
|
||||||
PRODUCT_PACKAGE_OVERLAYS += device/wephone/cat/overlay
|
PRODUCT_NAME := jelly_star
|
||||||
|
PRODUCT_DEVICE := jelly_star
|
||||||
|
PRODUCT_BRAND := Android
|
||||||
|
PRODUCT_MODEL := AOSP on Unihertz Jelly Star
|
||||||
|
PRODUCT_AAPT_CONFIG := normal
|
||||||
|
PRODUCT_AAPT_PREF_CONFIG := xhdpi
|
||||||
|
|
||||||
|
PRODUCT_PACKAGE_OVERLAYS += device/wephone/ttp/overlay
|
||||||
|
|
||||||
|
# Use a more decent APN config
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
|
||||||
|
|
||||||
|
ifneq (,$(wildcard external/exfat))
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
mkfs.exfat \
|
||||||
|
fsck.exfat
|
||||||
|
endif
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
BromiteSystemWebView \
|
TrichromeWebView
|
||||||
Conversations \
|
|
||||||
Davx5 \
|
|
||||||
Etar \
|
|
||||||
ExactCalculator \
|
|
||||||
DeskClock \
|
|
||||||
FDroid \
|
|
||||||
Linphone \
|
|
||||||
Nextcloud \
|
|
||||||
Wireguard
|
|
||||||
|
|
||||||
PRODUCT_PACKAGES -= \
|
PRODUCT_PACKAGES -= \
|
||||||
EasterEgg \
|
EasterEgg \
|
||||||
29
jelly_star/jelly_star/BoardConfig.mk
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
TARGET_ARCH := arm64
|
||||||
|
TARGET_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_CPU_ABI := arm64-v8a
|
||||||
|
TARGET_CPU_ABI2 :=
|
||||||
|
TARGET_CPU_VARIANT := generic
|
||||||
|
|
||||||
|
TARGET_2ND_ARCH := arm
|
||||||
|
TARGET_2ND_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_2ND_CPU_ABI := armeabi-v7a
|
||||||
|
TARGET_2ND_CPU_ABI2 := armeabi
|
||||||
|
TARGET_2ND_CPU_VARIANT := generic
|
||||||
|
|
||||||
|
include build/make/target/board/BoardConfigGsiCommon.mk
|
||||||
|
|
||||||
|
# TODO(jiyong) These might be SoC specific.
|
||||||
|
BOARD_ROOT_EXTRA_SYMLINKS += /vendor/lib/dsp:/dsp
|
||||||
|
|
||||||
|
# TODO(b/36764215): remove this setting when the generic system image
|
||||||
|
# no longer has QCOM-specific directories under /.
|
||||||
|
BOARD_SEPOLICY_DIRS += build/make/target/board/generic_arm64/sepolicy
|
||||||
|
|
||||||
|
TARGET_EXFAT_DRIVER := exfat
|
||||||
|
TARGET_SYSTEM_PROP := device/wephone/ttp/system.prop $(TARGET_SYSTEM_PROP)
|
||||||
|
|
||||||
|
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
||||||
|
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
|
||||||
|
else
|
||||||
|
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 33554432
|
||||||
|
endif
|
||||||
|
After Width: | Height: | Size: 2.1 MiB |
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<webviewproviders>
|
||||||
|
<!-- The default WebView implementation -->
|
||||||
|
<webviewprovider description="Vanadium" packageName="app.vanadium.webview" availableByDefault="true">
|
||||||
|
</webviewprovider>
|
||||||
|
</webviewproviders>
|
||||||
11
jelly_star/system.prop
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Fixed Bluetooth audio
|
||||||
|
persist.bluetooth.bluetooth_audio_hal.disabled=true
|
||||||
|
persist.sys.bt.unsupport.features=00000000
|
||||||
|
persist.sys.bt.unsupport.states=00000000
|
||||||
|
persist.sys.bt.unsupport.stdfeatures=000001
|
||||||
|
qemu.hw.mainkeys=1
|
||||||
|
hw.lcd.width = 480
|
||||||
|
hw.lcd.height = 854
|
||||||
|
hw.lcd.depth = 24
|
||||||
|
hw.lcd.density = 220
|
||||||
|
ro.sf.lcd_density=220
|
||||||
16659
patches/boot_image.patch
Normal file
12
patches/calendar_test.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/build/tasks/tests/platform_test_list.mk b/build/tasks/tests/platform_test_list.mk
|
||||||
|
index 5c5f70fa7..4669e2b44 100644
|
||||||
|
--- a/build/tasks/tests/platform_test_list.mk
|
||||||
|
+++ b/build/tasks/tests/platform_test_list.mk
|
||||||
|
@@ -20,7 +20,6 @@ platform_tests += \
|
||||||
|
BootHelperApp \
|
||||||
|
BusinessCard \
|
||||||
|
CalculatorFunctionalTests \
|
||||||
|
- CalendarTests \
|
||||||
|
camera_client_test \
|
||||||
|
camera_metadata_tests \
|
||||||
|
CellBroadcastReceiverTests \
|
||||||
13
patches/qsb_on_first_screen.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/com/android/launcher3/config/FeatureFlags.java b/src/com/android/launcher3/config/FeatureFlags.java
|
||||||
|
index 33beacd4c0..bd2400ecbc 100644
|
||||||
|
--- a/src/com/android/launcher3/config/FeatureFlags.java
|
||||||
|
+++ b/src/com/android/launcher3/config/FeatureFlags.java
|
||||||
|
@@ -52,7 +52,7 @@ public final class FeatureFlags {
|
||||||
|
* Enable moving the QSB on the 0th screen of the workspace. This is not a configuration feature
|
||||||
|
* and should be modified at a project level.
|
||||||
|
*/
|
||||||
|
- public static final boolean QSB_ON_FIRST_SCREEN = BuildConfig.QSB_ON_FIRST_SCREEN;
|
||||||
|
+ public static final boolean QSB_ON_FIRST_SCREEN = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Feature flag to handle define config changes dynamically instead of killing the process.
|
||||||
2
qinf21pro/AndroidProducts.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/qinf21pro.mk
|
||||||
@@ -77,6 +77,7 @@ key 6 {
|
|||||||
key 7 {
|
key 7 {
|
||||||
label: '7'
|
label: '7'
|
||||||
base: '7'
|
base: '7'
|
||||||
|
fn: '*'
|
||||||
}
|
}
|
||||||
|
|
||||||
key 8 {
|
key 8 {
|
||||||
@@ -87,4 +88,5 @@ key 8 {
|
|||||||
key 9 {
|
key 9 {
|
||||||
label: '9'
|
label: '9'
|
||||||
base: '9'
|
base: '9'
|
||||||
|
ctrl: '#'
|
||||||
}
|
}
|
||||||
|
After Width: | Height: | Size: 2.1 MiB |
@@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
<string-array translatable="false" name="config_tether_usb_regexs">
|
||||||
|
<item>"usb\\d"</item>
|
||||||
|
<item>"rndis\\d"</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<string-array translatable="false" name="config_tether_wifi_regexs">
|
||||||
|
<item>"wlan0"</item>
|
||||||
|
<item>"softap.*"</item>
|
||||||
|
<item>"wifi_br0"</item>
|
||||||
|
<item>"wigig0"</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<string-array translatable="false" name="config_tether_bluetooth_regexs">
|
||||||
|
<item>bnep\\d</item>
|
||||||
|
<item>"bt-pan"</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<bool name="config_enableAutoPowerModes">true</bool>
|
||||||
|
<bool name="config_intrusiveNotificationLed">true</bool>
|
||||||
|
<string name="config_icon_mask" translatable="false">"M50 0C77.6 0 100 22.4 100 50C100 77.6 77.6 100 50 100C22.4 100 0 77.6 0 50C0 22.4 22.4 0 50 0Z"</string>
|
||||||
|
<bool name="config_useRoundIcon">true</bool>
|
||||||
|
|
||||||
|
<string name="config_wallpaperCropperPackage">com.android.wallpaperpicker</string>
|
||||||
|
<bool name="config_unplugTurnsOnScreen">true</bool>
|
||||||
|
<integer name="config_multiuserMaximumUsers">5</integer>
|
||||||
|
<bool name="config_enableMultiUserUI">true</bool>
|
||||||
|
|
||||||
|
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
||||||
|
<bool name="config_swipe_up_gesture_setting_available">true</bool>
|
||||||
|
<bool name="config_smart_battery_available">true</bool>
|
||||||
|
<dimen name="config_dialogCornerRadius">8.0dip</dimen>
|
||||||
|
<dimen name="config_buttonCornerRadius">4.0dip</dimen>
|
||||||
|
|
||||||
|
<bool name="config_cellBroadcastAppLinks">true</bool>
|
||||||
|
|
||||||
|
<array name="config_availableColorModes">
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_NATURAL -->
|
||||||
|
<item>0</item>
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_BOOSTED -->
|
||||||
|
<item>1</item>
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_SATURATED -->
|
||||||
|
<item>2</item>
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_AUTOMATIC -->
|
||||||
|
<item>3</item>
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<bool name="config_supportAudioSourceUnprocessed">true</bool>
|
||||||
|
|
||||||
|
<string name="config_displayLightSensorType" translatable="false">android.sensor.light</string>
|
||||||
|
|
||||||
|
<integer name="config_defaultNightMode">2</integer>
|
||||||
|
|
||||||
|
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||||
|
</resources>
|
||||||
12242
qinf21pro/patches/boot_image.patch
Normal file
25
qinf21pro/patches/launcher3.patch
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
diff --git a/res/layout/search_container_all_apps.xml b/res/layout/search_container_all_apps.xml
|
||||||
|
index e1646ba43..850d86ccc 100644
|
||||||
|
--- a/res/layout/search_container_all_apps.xml
|
||||||
|
+++ b/res/layout/search_container_all_apps.xml
|
||||||
|
@@ -34,4 +34,5 @@
|
||||||
|
android:singleLine="true"
|
||||||
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
|
android:textColorHint="@drawable/all_apps_search_hint"
|
||||||
|
- android:textSize="16sp" />
|
||||||
|
\ No newline at end of file
|
||||||
|
+ android:textSize="16sp"
|
||||||
|
+ android:visibility="gone" />
|
||||||
|
diff --git a/src/com/android/launcher3/config/FeatureFlags.java b/src/com/android/launcher3/config/FeatureFlags.java
|
||||||
|
index 88a9abaf8..d4a65f05b 100644
|
||||||
|
--- a/src/com/android/launcher3/config/FeatureFlags.java
|
||||||
|
+++ b/src/com/android/launcher3/config/FeatureFlags.java
|
||||||
|
@@ -52,7 +52,7 @@ public final class FeatureFlags {
|
||||||
|
* Enable moving the QSB on the 0th screen of the workspace. This is not a configuration feature
|
||||||
|
* and should be modified at a project level.
|
||||||
|
*/
|
||||||
|
- public static final boolean QSB_ON_FIRST_SCREEN = true;
|
||||||
|
+ public static final boolean QSB_ON_FIRST_SCREEN = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Feature flag to handle define config changes dynamically instead of killing the process.
|
||||||
59
qinf21pro/qinf21pro.mk
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
|
||||||
|
|
||||||
|
#
|
||||||
|
# All components inherited here go to system_ext image
|
||||||
|
#
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
|
||||||
|
|
||||||
|
#
|
||||||
|
# All components inherited here go to product image
|
||||||
|
#
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
||||||
|
|
||||||
|
#
|
||||||
|
# Special settings for GSI releasing
|
||||||
|
#
|
||||||
|
# ifeq (aosp_arm64,$(TARGET_PRODUCT))
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
PRODUCT_CHARACTERISTICS := device
|
||||||
|
|
||||||
|
PRODUCT_NAME := qinf21pro
|
||||||
|
PRODUCT_DEVICE := qinf21pro
|
||||||
|
PRODUCT_BRAND := Android
|
||||||
|
PRODUCT_MODEL := DuoQin F21 pro WePhone
|
||||||
|
PRODUCT_AAPT_CONFIG := normal
|
||||||
|
PRODUCT_AAPT_PREF_CONFIG := xhdpi
|
||||||
|
|
||||||
|
PRODUCT_PACKAGE_OVERLAYS += device/wephone/ttp/overlay
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/wephone/qinf21pro/files/mtk-kpd.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-kpd.idc \
|
||||||
|
device/wephone/qinf21pro/files/mtk-kpd.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-kpd.kcm \
|
||||||
|
device/wephone/qinf21pro/files/mtk-kpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-kpd.kl \
|
||||||
|
device/wephone/qinf21pro/files/mtk-pmic-keys.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-pmic-keys.idc \
|
||||||
|
device/wephone/qinf21pro/files/mtk-pmic-keys.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-pmic-keys.kcm \
|
||||||
|
device/wephone/qinf21pro/files/mtk-pmic-keys.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-pmic-keys.kl \
|
||||||
|
device/wephone/qinf21pro/files/Vendor_0001_Product_0001_Version_0100.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/Vendor_0001_Product_0001_Version_0100.kl
|
||||||
|
|
||||||
|
# Use a more decent APN config
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
|
||||||
|
|
||||||
|
ifneq (,$(wildcard external/exfat))
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
mkfs.exfat \
|
||||||
|
fsck.exfat
|
||||||
|
endif
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
Contacts \
|
||||||
|
DeskClock \
|
||||||
|
Etar \
|
||||||
|
Gallery2 \
|
||||||
|
TrichromeWebView \
|
||||||
|
WKT9
|
||||||
|
|
||||||
29
qinf21pro/qinf21pro/BoardConfig.mk
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
TARGET_ARCH := arm64
|
||||||
|
TARGET_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_CPU_ABI := arm64-v8a
|
||||||
|
TARGET_CPU_ABI2 :=
|
||||||
|
TARGET_CPU_VARIANT := generic
|
||||||
|
|
||||||
|
TARGET_2ND_ARCH := arm
|
||||||
|
TARGET_2ND_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_2ND_CPU_ABI := armeabi-v7a
|
||||||
|
TARGET_2ND_CPU_ABI2 := armeabi
|
||||||
|
TARGET_2ND_CPU_VARIANT := generic
|
||||||
|
|
||||||
|
include build/make/target/board/BoardConfigGsiCommon.mk
|
||||||
|
|
||||||
|
# TODO(jiyong) These might be SoC specific.
|
||||||
|
BOARD_ROOT_EXTRA_SYMLINKS += /vendor/lib/dsp:/dsp
|
||||||
|
|
||||||
|
# TODO(b/36764215): remove this setting when the generic system image
|
||||||
|
# no longer has QCOM-specific directories under /.
|
||||||
|
BOARD_SEPOLICY_DIRS += build/make/target/board/generic_arm64/sepolicy
|
||||||
|
|
||||||
|
TARGET_EXFAT_DRIVER := exfat
|
||||||
|
TARGET_SYSTEM_PROP := device/wephone/ttp/system.prop $(TARGET_SYSTEM_PROP)
|
||||||
|
|
||||||
|
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
||||||
|
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
|
||||||
|
else
|
||||||
|
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 33554432
|
||||||
|
endif
|
||||||
10
qinf21pro/system.prop
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Fixed Bluetooth audio
|
||||||
|
persist.bluetooth.bluetooth_audio_hal.disabled=true
|
||||||
|
persist.sys.bt.unsupport.features=00000000
|
||||||
|
persist.sys.bt.unsupport.states=00000000
|
||||||
|
persist.sys.bt.unsupport.stdfeatures=000001
|
||||||
|
# VoLTE properties
|
||||||
|
persist.dbg.vt_avail_ovr=1
|
||||||
|
persist.dbg.volte_avail_ovr=1
|
||||||
|
persist.dbg.wfc_avail_ovr=1
|
||||||
|
persist.dbg.allow_ims_off=1
|
||||||
2
qinf22pro/AndroidProducts.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/qinf22pro.mk
|
||||||
1
qinf22pro/board-base.mk
Normal file
@@ -0,0 +1 @@
|
|||||||
|
TARGET_SYSTEM_PROP := device/wephone/qinf22pro/system.prop $(TARGET_SYSTEM_PROP)
|
||||||
6
qinf22pro/files/mtk-kpd.idc
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
touch.deviceType = touchScreen
|
||||||
|
touch.orientationAware = 1
|
||||||
|
|
||||||
|
device.internal = 1
|
||||||
|
keyboard.layout = mtk-kpd
|
||||||
|
keyboard.characterMap = mtk-kpd
|
||||||
92
qinf22pro/files/mtk-kpd.kcm
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
type FULL
|
||||||
|
|
||||||
|
key BUTTON_X {
|
||||||
|
base: fallback BACK
|
||||||
|
fn: fallback HOME
|
||||||
|
ctrl: fallback APP_SWITCH
|
||||||
|
}
|
||||||
|
|
||||||
|
key BUTTON_Y {
|
||||||
|
base: fallback CALL
|
||||||
|
ctrl: fallback SYM
|
||||||
|
}
|
||||||
|
|
||||||
|
key BUTTON_Z {
|
||||||
|
base: fallback ENTER
|
||||||
|
fn: fallback VOLUME_MUTE
|
||||||
|
ctrl: fallback SYSRQ
|
||||||
|
}
|
||||||
|
|
||||||
|
key BUTTON_1 {
|
||||||
|
base: fallback DPAD_UP
|
||||||
|
fn: fallback VOLUME_UP
|
||||||
|
}
|
||||||
|
|
||||||
|
key BUTTON_2 {
|
||||||
|
base: fallback DPAD_LEFT
|
||||||
|
fn: fallback BRIGHTNESS_DOWN
|
||||||
|
}
|
||||||
|
|
||||||
|
key BUTTON_3 {
|
||||||
|
base: fallback DPAD_RIGHT
|
||||||
|
fn: fallback BRIGHTNESS_UP
|
||||||
|
}
|
||||||
|
|
||||||
|
key BUTTON_4 {
|
||||||
|
base: fallback DPAD_DOWN
|
||||||
|
fn: fallback VOLUME_DOWN
|
||||||
|
}
|
||||||
|
|
||||||
|
key 0 {
|
||||||
|
label: '0'
|
||||||
|
base: '0'
|
||||||
|
fn: '\n'
|
||||||
|
ctrl: '\t'
|
||||||
|
}
|
||||||
|
|
||||||
|
key 1 {
|
||||||
|
label: '1'
|
||||||
|
base: '1'
|
||||||
|
}
|
||||||
|
|
||||||
|
key 2 {
|
||||||
|
label: '2'
|
||||||
|
base: '2'
|
||||||
|
}
|
||||||
|
|
||||||
|
key 3 {
|
||||||
|
label: '3'
|
||||||
|
base: '3'
|
||||||
|
}
|
||||||
|
|
||||||
|
key 4 {
|
||||||
|
label: '4'
|
||||||
|
base: '4'
|
||||||
|
}
|
||||||
|
|
||||||
|
key 5 {
|
||||||
|
label: '5'
|
||||||
|
base: '5'
|
||||||
|
}
|
||||||
|
|
||||||
|
key 6 {
|
||||||
|
label: '6'
|
||||||
|
base: '6'
|
||||||
|
}
|
||||||
|
|
||||||
|
key 7 {
|
||||||
|
label: '7'
|
||||||
|
base: '7'
|
||||||
|
fn: '*'
|
||||||
|
}
|
||||||
|
|
||||||
|
key 8 {
|
||||||
|
label: '8'
|
||||||
|
base: '8'
|
||||||
|
}
|
||||||
|
|
||||||
|
key 9 {
|
||||||
|
label: '9'
|
||||||
|
base: '9'
|
||||||
|
ctrl: '#'
|
||||||
|
}
|
||||||
49
qinf22pro/files/mtk-kpd.kl
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
key 2 1
|
||||||
|
key 3 2
|
||||||
|
key 4 3
|
||||||
|
key 5 4
|
||||||
|
key 6 5
|
||||||
|
key 7 6
|
||||||
|
key 8 7
|
||||||
|
key 9 8
|
||||||
|
key 10 9
|
||||||
|
key 11 0
|
||||||
|
|
||||||
|
# DPAD UP
|
||||||
|
key 103 BUTTON_1
|
||||||
|
|
||||||
|
# DPAD LEFT
|
||||||
|
key 105 BUTTON_2
|
||||||
|
|
||||||
|
# DPAD RIGHT
|
||||||
|
key 106 BUTTON_3
|
||||||
|
|
||||||
|
# DPAD DOWN
|
||||||
|
key 108 BUTTON_4
|
||||||
|
|
||||||
|
# Power button
|
||||||
|
key 116 POWER
|
||||||
|
|
||||||
|
# BACK
|
||||||
|
key 158 BUTTON_X
|
||||||
|
|
||||||
|
# CALL
|
||||||
|
key 169 BUTTON_Y
|
||||||
|
|
||||||
|
# DPAD CENTER
|
||||||
|
key 353 BUTTON_Z
|
||||||
|
|
||||||
|
# STAR
|
||||||
|
key 522 FUNCTION
|
||||||
|
|
||||||
|
# POUND
|
||||||
|
key 523 CTRL_RIGHT
|
||||||
|
|
||||||
|
# VOL DOWN
|
||||||
|
key 114 VOLUME_DOWN
|
||||||
|
|
||||||
|
# VOL UP
|
||||||
|
key 115 VOLUME_UP
|
||||||
|
|
||||||
|
# DELETE
|
||||||
|
key 139 DEL
|
||||||
|
After Width: | Height: | Size: 2.1 MiB |
@@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
<string-array translatable="false" name="config_tether_usb_regexs">
|
||||||
|
<item>"usb\\d"</item>
|
||||||
|
<item>"rndis\\d"</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<string-array translatable="false" name="config_tether_wifi_regexs">
|
||||||
|
<item>"wlan0"</item>
|
||||||
|
<item>"softap.*"</item>
|
||||||
|
<item>"wifi_br0"</item>
|
||||||
|
<item>"wigig0"</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<string-array translatable="false" name="config_tether_bluetooth_regexs">
|
||||||
|
<item>bnep\\d</item>
|
||||||
|
<item>"bt-pan"</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<bool name="config_enableAutoPowerModes">true</bool>
|
||||||
|
<bool name="config_intrusiveNotificationLed">true</bool>
|
||||||
|
<string name="config_icon_mask" translatable="false">"M50 0C77.6 0 100 22.4 100 50C100 77.6 77.6 100 50 100C22.4 100 0 77.6 0 50C0 22.4 22.4 0 50 0Z"</string>
|
||||||
|
<bool name="config_useRoundIcon">true</bool>
|
||||||
|
|
||||||
|
<string name="config_wallpaperCropperPackage">com.android.wallpaperpicker</string>
|
||||||
|
<bool name="config_unplugTurnsOnScreen">true</bool>
|
||||||
|
<integer name="config_multiuserMaximumUsers">5</integer>
|
||||||
|
<bool name="config_enableMultiUserUI">true</bool>
|
||||||
|
|
||||||
|
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
||||||
|
<bool name="config_swipe_up_gesture_setting_available">true</bool>
|
||||||
|
<bool name="config_smart_battery_available">true</bool>
|
||||||
|
<dimen name="config_dialogCornerRadius">8.0dip</dimen>
|
||||||
|
<dimen name="config_buttonCornerRadius">4.0dip</dimen>
|
||||||
|
|
||||||
|
<bool name="config_cellBroadcastAppLinks">true</bool>
|
||||||
|
|
||||||
|
<array name="config_availableColorModes">
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_NATURAL -->
|
||||||
|
<item>0</item>
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_BOOSTED -->
|
||||||
|
<item>1</item>
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_SATURATED -->
|
||||||
|
<item>2</item>
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_AUTOMATIC -->
|
||||||
|
<item>3</item>
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<bool name="config_supportAudioSourceUnprocessed">true</bool>
|
||||||
|
|
||||||
|
<string name="config_displayLightSensorType" translatable="false">android.sensor.light</string>
|
||||||
|
|
||||||
|
<integer name="config_defaultNightMode">2</integer>
|
||||||
|
|
||||||
|
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||||
|
</resources>
|
||||||
26020
qinf22pro/patches/bootlogo.patch
Normal file
@@ -1,8 +1,8 @@
|
|||||||
diff --git a/services/core/java/com/android/server/display/DisplayPowerController.java b/services/core/java/com/android/server/display/DisplayPowerController.java
|
diff --git a/services/core/java/com/android/server/display/DisplayPowerController.java b/services/core/java/com/android/server/display/DisplayPowerController.java
|
||||||
index 1224902aa7be..68855ebf06b9 100644
|
index 6a57e4070f65..ae544b5e9d56 100644
|
||||||
--- a/services/core/java/com/android/server/display/DisplayPowerController.java
|
--- a/services/core/java/com/android/server/display/DisplayPowerController.java
|
||||||
+++ b/services/core/java/com/android/server/display/DisplayPowerController.java
|
+++ b/services/core/java/com/android/server/display/DisplayPowerController.java
|
||||||
@@ -70,6 +70,10 @@ import com.android.server.display.whitebalance.DisplayWhiteBalanceFactory;
|
@@ -75,6 +75,10 @@ import com.android.server.display.whitebalance.DisplayWhiteBalanceFactory;
|
||||||
import com.android.server.display.whitebalance.DisplayWhiteBalanceSettings;
|
import com.android.server.display.whitebalance.DisplayWhiteBalanceSettings;
|
||||||
import com.android.server.policy.WindowManagerPolicy;
|
import com.android.server.policy.WindowManagerPolicy;
|
||||||
|
|
||||||
@@ -11,9 +11,9 @@ index 1224902aa7be..68855ebf06b9 100644
|
|||||||
+import com.android.server.lights.LogicalLight;
|
+import com.android.server.lights.LogicalLight;
|
||||||
+
|
+
|
||||||
import java.io.PrintWriter;
|
import java.io.PrintWriter;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
/**
|
@@ -294,6 +298,10 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
@@ -276,6 +280,10 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
|
||||||
// Must only be accessed on the handler thread.
|
// Must only be accessed on the handler thread.
|
||||||
private DisplayPowerState mPowerState;
|
private DisplayPowerState mPowerState;
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ index 1224902aa7be..68855ebf06b9 100644
|
|||||||
// True if the device should wait for negative proximity sensor before
|
// True if the device should wait for negative proximity sensor before
|
||||||
// waking up the screen. This is set to false as soon as a negative
|
// waking up the screen. This is set to false as soon as a negative
|
||||||
// proximity sensor measurement is observed or when the device is forced to
|
// proximity sensor measurement is observed or when the device is forced to
|
||||||
@@ -817,6 +825,9 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
@@ -895,6 +903,9 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
mPowerState = new DisplayPowerState(mBlanker,
|
mPowerState = new DisplayPowerState(mBlanker,
|
||||||
mColorFadeEnabled ? new ColorFade(mDisplayId) : null, mDisplayId, displayState);
|
mColorFadeEnabled ? new ColorFade(mDisplayId) : null, mDisplayId, displayState);
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ index 1224902aa7be..68855ebf06b9 100644
|
|||||||
if (mColorFadeEnabled) {
|
if (mColorFadeEnabled) {
|
||||||
mColorFadeOnAnimator = ObjectAnimator.ofFloat(
|
mColorFadeOnAnimator = ObjectAnimator.ofFloat(
|
||||||
mPowerState, DisplayPowerState.COLOR_FADE_LEVEL, 0.0f, 1.0f);
|
mPowerState, DisplayPowerState.COLOR_FADE_LEVEL, 0.0f, 1.0f);
|
||||||
@@ -1452,6 +1463,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
@@ -1677,6 +1688,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
&& mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_TURNING_ON) {
|
&& mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_TURNING_ON) {
|
||||||
setReportedScreenState(REPORTED_TO_POLICY_SCREEN_ON);
|
setReportedScreenState(REPORTED_TO_POLICY_SCREEN_ON);
|
||||||
mWindowManagerPolicy.screenTurnedOn(mDisplayId);
|
mWindowManagerPolicy.screenTurnedOn(mDisplayId);
|
||||||
@@ -42,7 +42,7 @@ index 1224902aa7be..68855ebf06b9 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Grab a wake lock if we have unfinished business.
|
// Grab a wake lock if we have unfinished business.
|
||||||
@@ -1652,6 +1664,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
@@ -1926,6 +1938,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
setReportedScreenState(REPORTED_TO_POLICY_SCREEN_OFF);
|
setReportedScreenState(REPORTED_TO_POLICY_SCREEN_OFF);
|
||||||
unblockScreenOn();
|
unblockScreenOn();
|
||||||
mWindowManagerPolicy.screenTurnedOff(mDisplayId);
|
mWindowManagerPolicy.screenTurnedOff(mDisplayId);
|
||||||
@@ -50,7 +50,7 @@ index 1224902aa7be..68855ebf06b9 100644
|
|||||||
} else if (!isOff
|
} else if (!isOff
|
||||||
&& mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_TURNING_OFF) {
|
&& mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_TURNING_OFF) {
|
||||||
|
|
||||||
@@ -1659,6 +1672,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
@@ -1933,6 +1946,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
// Complete the full state transition on -> turningOff -> off.
|
// Complete the full state transition on -> turningOff -> off.
|
||||||
unblockScreenOff();
|
unblockScreenOff();
|
||||||
mWindowManagerPolicy.screenTurnedOff(mDisplayId);
|
mWindowManagerPolicy.screenTurnedOff(mDisplayId);
|
||||||
11
qinf22pro/patches/qsb.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
diff --git a/src_build_config/com/android/launcher3/BuildConfig.java b/src_build_config/com/android/launcher3/BuildConfig.java
|
||||||
|
index 9a81d3f54c..8c83bcc372 100644
|
||||||
|
--- a/src_build_config/com/android/launcher3/BuildConfig.java
|
||||||
|
+++ b/src_build_config/com/android/launcher3/BuildConfig.java
|
||||||
|
@@ -23,5 +23,5 @@ public final class BuildConfig {
|
||||||
|
* Flag to state if the QSB is on the first screen and placed on the top,
|
||||||
|
* this can be overwritten in other launchers with a different value, if needed.
|
||||||
|
*/
|
||||||
|
- public static final boolean QSB_ON_FIRST_SCREEN = true;
|
||||||
|
+ public static final boolean QSB_ON_FIRST_SCREEN = false;
|
||||||
|
}
|
||||||
48
qinf22pro/qinf22pro.mk
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
TARGET_GAPPS_ARCH := arm64
|
||||||
|
|
||||||
|
include device/generic/common/gsi_arm64.mk
|
||||||
|
|
||||||
|
PRODUCT_NAME := qinf22pro
|
||||||
|
PRODUCT_DEVICE := qinf22pro
|
||||||
|
PRODUCT_BRAND := wephone
|
||||||
|
PRODUCT_MODEL := weOs | v13.0.1 | Chanowk
|
||||||
|
|
||||||
|
PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT :=
|
||||||
|
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS :=
|
||||||
|
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false
|
||||||
|
PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true
|
||||||
|
QSB_ON_FIRST_SCREEN := false
|
||||||
|
|
||||||
|
# This is for a device
|
||||||
|
PRODUCT_CHARACTERISTICS := device
|
||||||
|
|
||||||
|
PRODUCT_PACKAGE_OVERLAYS += device/wephone/qinf22pro/overlay
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/wephone/qinf22pro/files/mtk-kpd.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-kpd.idc \
|
||||||
|
device/wephone/qinf22pro/files/mtk-kpd.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-kpd.kcm \
|
||||||
|
device/wephone/qinf22pro/files/mtk-kpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-kpd.kl
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
BromiteSystemWebView \
|
||||||
|
Conversations \
|
||||||
|
Davx5 \
|
||||||
|
DeskClock \
|
||||||
|
Etar \
|
||||||
|
ExactCalculator \
|
||||||
|
Gallery2 \
|
||||||
|
K-9Mail \
|
||||||
|
Linphone \
|
||||||
|
Nextcloud \
|
||||||
|
NextcloudNotes \
|
||||||
|
OpenDocumentReader \
|
||||||
|
Wireguard \
|
||||||
|
WKT9
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES -= \
|
||||||
|
EasterEgg \
|
||||||
|
webview \
|
||||||
|
libwebviewchromium_loader \
|
||||||
|
libwebviewchromium_plat_support \
|
||||||
|
CtsShimPrebuilt \
|
||||||
|
CtsShimPrivPrebuilt
|
||||||
2
qinf22pro/qinf22pro/BoardConfig.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
include build/make/target/board/generic_arm64/BoardConfig.mk
|
||||||
|
include device/wephone/qinf22pro/board-base.mk
|
||||||
2
tryout/AndroidProducts.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/tryout.mk
|
||||||
1
tryout/board-base.mk
Normal file
@@ -0,0 +1 @@
|
|||||||
|
TARGET_SYSTEM_PROP := device/wephone/qinf21pro/system.prop $(TARGET_SYSTEM_PROP)
|
||||||
30
tryout/tryout.mk
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
#Use a more decent APN config
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
|
||||||
|
|
||||||
|
TARGET_GAPPS_ARCH := arm64
|
||||||
|
|
||||||
|
include build/make/target/product/aosp_arm64_ab.mk
|
||||||
|
|
||||||
|
PRODUCT_NAME := tryout
|
||||||
|
PRODUCT_DEVICE := tryout
|
||||||
|
PRODUCT_BRAND := wePhone
|
||||||
|
PRODUCT_SYSTEM_BRAND := wePhone
|
||||||
|
PRODUCT_MODEL := weOs | Tryout | Nehemiah
|
||||||
|
|
||||||
|
# Overwrite the inherited "emulator" characteristics
|
||||||
|
PRODUCT_CHARACTERISTICS := device
|
||||||
|
|
||||||
|
PRODUCT_PACKAGE_OVERLAYS += device/wephone/qinf21pro/overlay
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/wephone/qinf21pro/files/mtk-kpd.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-kpd.idc \
|
||||||
|
device/wephone/qinf21pro/files/mtk-kpd.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-kpd.kcm \
|
||||||
|
device/wephone/qinf21pro/files/mtk-kpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-kpd.kl \
|
||||||
|
device/wephone/qinf21pro/files/mtk-pmic-keys.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-pmic-keys.idc \
|
||||||
|
device/wephone/qinf21pro/files/mtk-pmic-keys.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-pmic-keys.kcm \
|
||||||
|
device/wephone/qinf21pro/files/mtk-pmic-keys.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-pmic-keys.kl \
|
||||||
|
device/wephone/qinf21pro/files/Vendor_0001_Product_0001_Version_0100.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/Vendor_0001_Product_0001_Version_0100.kl
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
ImsMtkR
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
include build/make/target/board/generic_arm64_ab/BoardConfig.mk
|
include build/make/target/board/generic_arm64_ab/BoardConfig.mk
|
||||||
include device/wephone/duoqin/board-base.mk
|
include device/wephone/tryout/board-base.mk
|
||||||
|
|
||||||
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
||||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
|
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
|
||||||
2
ttp/AndroidProducts.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
PRODUCT_MAKEFILES := \
|
||||||
|
$(LOCAL_DIR)/ttp.mk
|
||||||
14
ttp/files/aw9523-key.idc
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Agold add for A61 by guotuo
|
||||||
|
|
||||||
|
device.internal = 1
|
||||||
|
|
||||||
|
touch.deviceType = touchScreen
|
||||||
|
touch.orientationAware = 1
|
||||||
|
|
||||||
|
keyboard.layout = aw9523-key.kl
|
||||||
|
keyboard.characterMap = aw9523-key
|
||||||
|
keyboard.orientationAware = 1
|
||||||
|
keyboard.builtIn = 1
|
||||||
|
|
||||||
|
cursor.mode = navigation
|
||||||
|
cursor.orientationAware = 1
|
||||||
240
ttp/files/aw9523-key.kcm
Normal file
@@ -0,0 +1,240 @@
|
|||||||
|
# Agold add for A61 by guotuo
|
||||||
|
|
||||||
|
type ALPHA
|
||||||
|
|
||||||
|
key A {
|
||||||
|
label: 'A'
|
||||||
|
base: 'a'
|
||||||
|
shift, capslock: 'A'
|
||||||
|
alt: '@'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key B {
|
||||||
|
label: 'B'
|
||||||
|
base: 'b'
|
||||||
|
shift, capslock: 'B'
|
||||||
|
alt: '.'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key C {
|
||||||
|
label: 'C'
|
||||||
|
number: '8'
|
||||||
|
base: 'c'
|
||||||
|
shift, capslock: 'C'
|
||||||
|
alt: '8'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key D {
|
||||||
|
label: 'D'
|
||||||
|
number: '5'
|
||||||
|
base: 'd'
|
||||||
|
shift, capslock: 'D'
|
||||||
|
alt: '5'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key E {
|
||||||
|
label: 'E'
|
||||||
|
number: '2'
|
||||||
|
base: 'e'
|
||||||
|
shift, capslock: 'E'
|
||||||
|
alt: '2'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key F {
|
||||||
|
label: 'F'
|
||||||
|
number: '6'
|
||||||
|
base: 'f'
|
||||||
|
shift, capslock: 'F'
|
||||||
|
alt: '6'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key G {
|
||||||
|
label: 'G'
|
||||||
|
base: 'g'
|
||||||
|
shift, capslock: 'G'
|
||||||
|
alt: '*'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key H {
|
||||||
|
label: 'H'
|
||||||
|
base: 'h'
|
||||||
|
shift, capslock: 'H'
|
||||||
|
alt: '#'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key I {
|
||||||
|
label: 'I'
|
||||||
|
base: 'i'
|
||||||
|
shift, capslock: 'I'
|
||||||
|
alt: '_'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key J {
|
||||||
|
label: 'J'
|
||||||
|
base: 'j'
|
||||||
|
shift, capslock: 'J'
|
||||||
|
alt: '+'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key K {
|
||||||
|
label: 'K'
|
||||||
|
base: 'k'
|
||||||
|
shift, capslock: 'K'
|
||||||
|
alt: '"'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key L {
|
||||||
|
label: 'L'
|
||||||
|
base: 'l'
|
||||||
|
shift, capslock: 'L'
|
||||||
|
alt: '\''
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key M {
|
||||||
|
label: 'M'
|
||||||
|
base: 'm'
|
||||||
|
shift, capslock: 'M'
|
||||||
|
alt: '?'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key N {
|
||||||
|
label: 'N'
|
||||||
|
base: 'n'
|
||||||
|
shift, capslock: 'N'
|
||||||
|
alt: ','
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key O {
|
||||||
|
label: 'O'
|
||||||
|
base: 'o'
|
||||||
|
shift, capslock: 'O'
|
||||||
|
alt: '/'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key P {
|
||||||
|
label: 'P'
|
||||||
|
base: 'p'
|
||||||
|
shift, capslock: 'P'
|
||||||
|
alt: ':'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key Q {
|
||||||
|
label: 'Q'
|
||||||
|
number: '0'
|
||||||
|
base: 'q'
|
||||||
|
shift, capslock: 'Q'
|
||||||
|
alt: '0'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key R {
|
||||||
|
label: 'R'
|
||||||
|
number: '3'
|
||||||
|
base: 'r'
|
||||||
|
shift, capslock: 'R'
|
||||||
|
alt: '3'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key S {
|
||||||
|
label: 'S'
|
||||||
|
number: '4'
|
||||||
|
base: 's'
|
||||||
|
shift, capslock: 'S'
|
||||||
|
alt: '4'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key T {
|
||||||
|
label: 'T'
|
||||||
|
base: 't'
|
||||||
|
shift, capslock: 'T'
|
||||||
|
alt: '('
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key U {
|
||||||
|
label: 'U'
|
||||||
|
base: 'u'
|
||||||
|
shift, capslock: 'U'
|
||||||
|
alt: '-'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key V {
|
||||||
|
label: 'V'
|
||||||
|
number: '9'
|
||||||
|
base: 'v'
|
||||||
|
shift, capslock: 'V'
|
||||||
|
alt: '9'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key W {
|
||||||
|
label: 'W'
|
||||||
|
number: '1'
|
||||||
|
base: 'w'
|
||||||
|
shift, capslock: 'W'
|
||||||
|
alt: '1'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key X {
|
||||||
|
label: 'X'
|
||||||
|
number: '7'
|
||||||
|
base: 'x'
|
||||||
|
shift, capslock: 'X'
|
||||||
|
alt: '7'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key Y {
|
||||||
|
label: 'Y'
|
||||||
|
base: 'y'
|
||||||
|
shift, capslock: 'Y'
|
||||||
|
alt: ')'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key Z {
|
||||||
|
label: 'Z'
|
||||||
|
base: 'z'
|
||||||
|
shift, capslock: 'Z'
|
||||||
|
alt: '!'
|
||||||
|
shift+alt, capslock+alt: none
|
||||||
|
}
|
||||||
|
|
||||||
|
key SPACE {
|
||||||
|
label: ' '
|
||||||
|
number: ' '
|
||||||
|
base: ' '
|
||||||
|
shift: ' '
|
||||||
|
alt: '\uef01'
|
||||||
|
shift+alt: '\uef01'
|
||||||
|
}
|
||||||
|
|
||||||
|
key ENTER {
|
||||||
|
label: '\n'
|
||||||
|
number: '\n'
|
||||||
|
base: '\n'
|
||||||
|
shift: '\n'
|
||||||
|
alt: '\n'
|
||||||
|
shift+alt: '\n'
|
||||||
|
}
|
||||||
|
|
||||||
105
ttp/files/aw9523-key.kl
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
key 399 GRAVE
|
||||||
|
key 2 1
|
||||||
|
key 3 2
|
||||||
|
key 4 3
|
||||||
|
key 5 4
|
||||||
|
key 6 5
|
||||||
|
key 7 6
|
||||||
|
key 8 7
|
||||||
|
key 9 8
|
||||||
|
key 10 9
|
||||||
|
key 11 0
|
||||||
|
key 158 BACK
|
||||||
|
key 230 SOFT_RIGHT
|
||||||
|
key 60 SOFT_RIGHT
|
||||||
|
key 107 ENDCALL
|
||||||
|
key 62 ENDCALL
|
||||||
|
key 229 MENU
|
||||||
|
key 139 MENU
|
||||||
|
key 59 MENU
|
||||||
|
key 127 SYM
|
||||||
|
key 217 SEARCH
|
||||||
|
key 228 POUND
|
||||||
|
key 227 STAR
|
||||||
|
key 231 CALL
|
||||||
|
key 61 CALL
|
||||||
|
key 232 DPAD_CENTER
|
||||||
|
key 108 DPAD_DOWN
|
||||||
|
key 103 DPAD_UP
|
||||||
|
key 102 HOME
|
||||||
|
key 105 DPAD_LEFT
|
||||||
|
key 106 DPAD_RIGHT
|
||||||
|
key 115 VOLUME_UP
|
||||||
|
key 114 VOLUME_DOWN
|
||||||
|
key 113 MUTE
|
||||||
|
key 116 POWER
|
||||||
|
key 212 CAMERA
|
||||||
|
key 211 FOCUS
|
||||||
|
|
||||||
|
key 16 Q
|
||||||
|
key 17 W
|
||||||
|
key 18 E
|
||||||
|
key 19 R
|
||||||
|
key 20 T
|
||||||
|
key 21 Y
|
||||||
|
key 22 U
|
||||||
|
key 23 I
|
||||||
|
key 24 O
|
||||||
|
key 25 P
|
||||||
|
key 26 LEFT_BRACKET
|
||||||
|
key 27 RIGHT_BRACKET
|
||||||
|
key 43 BACKSLASH
|
||||||
|
|
||||||
|
key 30 A
|
||||||
|
key 31 S
|
||||||
|
key 32 D
|
||||||
|
key 33 F
|
||||||
|
key 34 G
|
||||||
|
key 35 H
|
||||||
|
key 36 J
|
||||||
|
key 37 K
|
||||||
|
key 38 L
|
||||||
|
key 39 SEMICOLON
|
||||||
|
key 40 APOSTROPHE
|
||||||
|
key 14 DEL
|
||||||
|
|
||||||
|
key 44 Z
|
||||||
|
key 45 X
|
||||||
|
key 46 C
|
||||||
|
key 47 V
|
||||||
|
key 48 B
|
||||||
|
key 49 N
|
||||||
|
key 50 M
|
||||||
|
key 51 COMMA
|
||||||
|
key 52 PERIOD
|
||||||
|
key 53 SLASH
|
||||||
|
key 28 ENTER
|
||||||
|
|
||||||
|
key 56 ALT_LEFT
|
||||||
|
key 100 ALT_RIGHT
|
||||||
|
key 42 SHIFT_LEFT
|
||||||
|
key 54 SHIFT_RIGHT
|
||||||
|
key 15 TAB
|
||||||
|
key 57 SPACE
|
||||||
|
key 150 EXPLORER
|
||||||
|
key 155 ENVELOPE
|
||||||
|
|
||||||
|
key 12 MINUS
|
||||||
|
key 13 EQUALS
|
||||||
|
key 215 AT
|
||||||
|
|
||||||
|
key 164 MEDIA_PLAY_PAUSE
|
||||||
|
key 128 MEDIA_STOP
|
||||||
|
key 163 MEDIA_NEXT
|
||||||
|
key 165 MEDIA_PREVIOUS
|
||||||
|
key 168 MEDIA_REWIND
|
||||||
|
key 159 MEDIA_FAST_FORWARD
|
||||||
|
|
||||||
|
# agold add
|
||||||
|
key 249 FUNC1
|
||||||
|
key 250 FUNC2
|
||||||
|
# add for a83 function key
|
||||||
|
key 183 FUNC1
|
||||||
|
|
||||||
|
key 580 APP_SWITCH
|
||||||
|
|
||||||
1
ttp/files/excluded-input-devices.xml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<devices><device name="mtk-pad"/></devices>
|
||||||
3
ttp/files/fingerprint_key.kl
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Key layout for Unihertz devices with fingerprint sensor
|
||||||
|
# For Atom {,L,XL}: fingerprint sensor as home
|
||||||
|
key 172 HOME VIRTUAL
|
||||||
31
ttp/files/mtk-kpd.idc
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# Copyright (C) 2010 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.
|
||||||
|
|
||||||
|
#
|
||||||
|
# Emulator keyboard configuration file #2.
|
||||||
|
#
|
||||||
|
|
||||||
|
touch.deviceType = touchScreen
|
||||||
|
touch.orientationAware = 1
|
||||||
|
|
||||||
|
keyboard.layout = mtk-kpd
|
||||||
|
keyboard.characterMap = qwerty
|
||||||
|
keyboard.orientationAware = 1
|
||||||
|
|
||||||
|
# AGOLD zhangyongjiang modify from 1 to 0 for a66/a83.
|
||||||
|
keyboard.builtIn = 0
|
||||||
|
|
||||||
|
cursor.mode = navigation
|
||||||
|
cursor.orientationAware = 1
|
||||||
|
|
||||||
13
ttp/files/mtk-kpd.kl
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Keylayout for Unihertz devices with a dedicated PTT button
|
||||||
|
# Volume buttons
|
||||||
|
key 115 VOLUME_UP
|
||||||
|
key 114 VOLUME_DOWN
|
||||||
|
|
||||||
|
# Power button
|
||||||
|
key 116 POWER
|
||||||
|
|
||||||
|
# PTT - Remap to camera by default
|
||||||
|
# CAMERA is delivered to apps, so remapping via
|
||||||
|
# third-party apps is possible
|
||||||
|
key 249 CAMERA
|
||||||
|
key 250 CAMERA
|
||||||
22
ttp/files/mtk-pad.idc
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# Copyright (C) 2010 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.
|
||||||
|
|
||||||
|
#
|
||||||
|
# Emulator keyboard configuration file #2.
|
||||||
|
#
|
||||||
|
|
||||||
|
touch.deviceType = touchPad
|
||||||
|
touch.orientationAware = 1
|
||||||
|
|
||||||
|
|
||||||
6
ttp/files/mtk-tpd.kl
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Keylayout for Unihertz devices with capacitive keys
|
||||||
|
# Capacitive navigation
|
||||||
|
key 172 HOME VIRTUAL
|
||||||
|
key 580 APP_SWITCH VIRTUAL
|
||||||
|
key 158 BACK VIRTUAL
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 2.1 MiB |
56
ttp/overlay/frameworks/base/core/res/res/values/config.xml
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
<string-array translatable="false" name="config_tether_usb_regexs">
|
||||||
|
<item>"usb\\d"</item>
|
||||||
|
<item>"rndis\\d"</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<string-array translatable="false" name="config_tether_wifi_regexs">
|
||||||
|
<item>"wlan0"</item>
|
||||||
|
<item>"softap.*"</item>
|
||||||
|
<item>"wifi_br0"</item>
|
||||||
|
<item>"wigig0"</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<string-array translatable="false" name="config_tether_bluetooth_regexs">
|
||||||
|
<item>bnep\\d</item>
|
||||||
|
<item>"bt-pan"</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<bool name="config_enableAutoPowerModes">true</bool>
|
||||||
|
<bool name="config_intrusiveNotificationLed">true</bool>
|
||||||
|
<string name="config_icon_mask" translatable="false">"M50 0C77.6 0 100 22.4 100 50C100 77.6 77.6 100 50 100C22.4 100 0 77.6 0 50C0 22.4 22.4 0 50 0Z"</string>
|
||||||
|
<bool name="config_useRoundIcon">true</bool>
|
||||||
|
|
||||||
|
<string name="config_wallpaperCropperPackage">com.android.wallpaperpicker</string>
|
||||||
|
<bool name="config_unplugTurnsOnScreen">true</bool>
|
||||||
|
<integer name="config_multiuserMaximumUsers">5</integer>
|
||||||
|
<bool name="config_enableMultiUserUI">true</bool>
|
||||||
|
|
||||||
|
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
||||||
|
<bool name="config_swipe_up_gesture_setting_available">true</bool>
|
||||||
|
<bool name="config_smart_battery_available">true</bool>
|
||||||
|
<dimen name="config_dialogCornerRadius">8.0dip</dimen>
|
||||||
|
<dimen name="config_buttonCornerRadius">4.0dip</dimen>
|
||||||
|
|
||||||
|
<bool name="config_cellBroadcastAppLinks">true</bool>
|
||||||
|
|
||||||
|
<array name="config_availableColorModes">
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_NATURAL -->
|
||||||
|
<item>0</item>
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_BOOSTED -->
|
||||||
|
<item>1</item>
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_SATURATED -->
|
||||||
|
<item>2</item>
|
||||||
|
<!-- ColorDisplayManager.COLOR_MODE_AUTOMATIC -->
|
||||||
|
<item>3</item>
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<bool name="config_supportAudioSourceUnprocessed">true</bool>
|
||||||
|
|
||||||
|
<string name="config_displayLightSensorType" translatable="false">android.sensor.light</string>
|
||||||
|
|
||||||
|
<integer name="config_defaultNightMode">2</integer>
|
||||||
|
|
||||||
|
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||||
|
</resources>
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright 2015 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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<webviewproviders>
|
||||||
|
<!-- The default WebView implementation -->
|
||||||
|
<webviewprovider description="Vanadium" packageName="app.vanadium.webview" availableByDefault="true">
|
||||||
|
</webviewprovider>
|
||||||
|
</webviewproviders>
|
||||||
21444
ttp/patches/boot_image.patch
Normal file
60
ttp/patches/button_backlights.patch
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
diff --git a/services/core/java/com/android/server/display/DisplayPowerController.java b/services/core/java/com/android/server/display/DisplayPowerController.java
|
||||||
|
index 7c0f4197363..a46b96ae5fa 100644
|
||||||
|
--- a/services/core/java/com/android/server/display/DisplayPowerController.java
|
||||||
|
+++ b/services/core/java/com/android/server/display/DisplayPowerController.java
|
||||||
|
@@ -63,6 +63,10 @@ import com.android.server.display.whitebalance.DisplayWhiteBalanceFactory;
|
||||||
|
import com.android.server.display.whitebalance.DisplayWhiteBalanceSettings;
|
||||||
|
import com.android.server.policy.WindowManagerPolicy;
|
||||||
|
|
||||||
|
+// Button backlights
|
||||||
|
+import com.android.server.lights.LightsManager;
|
||||||
|
+import com.android.server.lights.LogicalLight;
|
||||||
|
+
|
||||||
|
import java.io.PrintWriter;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@@ -258,6 +262,10 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
|
// Must only be accessed on the handler thread.
|
||||||
|
private DisplayPowerState mPowerState;
|
||||||
|
|
||||||
|
+ // Buttons backlight
|
||||||
|
+ private LightsManager mLightsManager;
|
||||||
|
+ private LogicalLight mButtonsLight;
|
||||||
|
+
|
||||||
|
// True if the device should wait for negative proximity sensor before
|
||||||
|
// waking up the screen. This is set to false as soon as a negative
|
||||||
|
// proximity sensor measurement is observed or when the device is forced to
|
||||||
|
@@ -686,6 +694,9 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
|
mPowerState = new DisplayPowerState(mBlanker,
|
||||||
|
mColorFadeEnabled ? new ColorFade(Display.DEFAULT_DISPLAY) : null);
|
||||||
|
|
||||||
|
+ mLightsManager = LocalServices.getService(LightsManager.class);
|
||||||
|
+ mButtonsLight = mLightsManager.getLight(LightsManager.LIGHT_ID_BUTTONS);
|
||||||
|
+
|
||||||
|
if (mColorFadeEnabled) {
|
||||||
|
mColorFadeOnAnimator = ObjectAnimator.ofFloat(
|
||||||
|
mPowerState, DisplayPowerState.COLOR_FADE_LEVEL, 0.0f, 1.0f);
|
||||||
|
@@ -1154,6 +1165,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
|
&& mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_TURNING_ON) {
|
||||||
|
setReportedScreenState(REPORTED_TO_POLICY_SCREEN_ON);
|
||||||
|
mWindowManagerPolicy.screenTurnedOn();
|
||||||
|
+ mButtonsLight.setBrightness(PowerManager.BRIGHTNESS_MAX);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Grab a wake lock if we have unfinished business.
|
||||||
|
@@ -1310,6 +1322,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
|
setReportedScreenState(REPORTED_TO_POLICY_SCREEN_OFF);
|
||||||
|
unblockScreenOn();
|
||||||
|
mWindowManagerPolicy.screenTurnedOff();
|
||||||
|
+ mButtonsLight.setBrightness(PowerManager.BRIGHTNESS_OFF_FLOAT);
|
||||||
|
} else if (!isOff
|
||||||
|
&& mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_TURNING_OFF) {
|
||||||
|
|
||||||
|
@@ -1317,6 +1330,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
|
||||||
|
// Complete the full state transition on -> turningOff -> off.
|
||||||
|
unblockScreenOff();
|
||||||
|
mWindowManagerPolicy.screenTurnedOff();
|
||||||
|
+ mButtonsLight.setBrightness(PowerManager.BRIGHTNESS_OFF_FLOAT);
|
||||||
|
setReportedScreenState(REPORTED_TO_POLICY_SCREEN_OFF);
|
||||||
|
}
|
||||||
|
if (!isOff && mReportedScreenStateToPolicy == REPORTED_TO_POLICY_SCREEN_OFF) {
|
||||||
13
ttp/patches/remove_launcher3_qsb.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/com/android/launcher3/config/FeatureFlags.java b/src/com/android/launcher3/config/FeatureFlags.java
|
||||||
|
index 88a9abaf8d..d4a65f05bb 100644
|
||||||
|
--- a/src/com/android/launcher3/config/FeatureFlags.java
|
||||||
|
+++ b/src/com/android/launcher3/config/FeatureFlags.java
|
||||||
|
@@ -52,7 +52,7 @@ public final class FeatureFlags {
|
||||||
|
* Enable moving the QSB on the 0th screen of the workspace. This is not a configuration feature
|
||||||
|
* and should be modified at a project level.
|
||||||
|
*/
|
||||||
|
- public static final boolean QSB_ON_FIRST_SCREEN = true;
|
||||||
|
+ public static final boolean QSB_ON_FIRST_SCREEN = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Feature flag to handle define config changes dynamically instead of killing the process.
|
||||||
11
ttp/system.prop
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Fixed Bluetooth audio
|
||||||
|
persist.bluetooth.bluetooth_audio_hal.disabled=true
|
||||||
|
persist.sys.bt.unsupport.features=00000000
|
||||||
|
persist.sys.bt.unsupport.states=00000000
|
||||||
|
persist.sys.bt.unsupport.stdfeatures=000001
|
||||||
|
qemu.hw.mainkeys=1
|
||||||
|
hw.lcd.width = 716
|
||||||
|
hw.lcd.height = 720
|
||||||
|
hw.lcd.depth = 24
|
||||||
|
hw.lcd.density = 220
|
||||||
|
ro.sf.lcd_density=220
|
||||||
29
ttp/titan_pocket/BoardConfig.mk
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
TARGET_ARCH := arm64
|
||||||
|
TARGET_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_CPU_ABI := arm64-v8a
|
||||||
|
TARGET_CPU_ABI2 :=
|
||||||
|
TARGET_CPU_VARIANT := generic
|
||||||
|
|
||||||
|
TARGET_2ND_ARCH := arm
|
||||||
|
TARGET_2ND_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_2ND_CPU_ABI := armeabi-v7a
|
||||||
|
TARGET_2ND_CPU_ABI2 := armeabi
|
||||||
|
TARGET_2ND_CPU_VARIANT := generic
|
||||||
|
|
||||||
|
include build/make/target/board/BoardConfigGsiCommon.mk
|
||||||
|
|
||||||
|
# TODO(jiyong) These might be SoC specific.
|
||||||
|
BOARD_ROOT_EXTRA_SYMLINKS += /vendor/lib/dsp:/dsp
|
||||||
|
|
||||||
|
# TODO(b/36764215): remove this setting when the generic system image
|
||||||
|
# no longer has QCOM-specific directories under /.
|
||||||
|
BOARD_SEPOLICY_DIRS += build/make/target/board/generic_arm64/sepolicy
|
||||||
|
|
||||||
|
TARGET_EXFAT_DRIVER := exfat
|
||||||
|
TARGET_SYSTEM_PROP := device/wephone/ttp/system.prop $(TARGET_SYSTEM_PROP)
|
||||||
|
|
||||||
|
ifeq ($(BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE),)
|
||||||
|
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
|
||||||
|
else
|
||||||
|
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 33554432
|
||||||
|
endif
|
||||||
70
ttp/ttp.mk
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
|
||||||
|
|
||||||
|
#
|
||||||
|
# All components inherited here go to system_ext image
|
||||||
|
#
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
|
||||||
|
|
||||||
|
#
|
||||||
|
# All components inherited here go to product image
|
||||||
|
#
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
||||||
|
|
||||||
|
#
|
||||||
|
# Special settings for GSI releasing
|
||||||
|
#
|
||||||
|
# ifeq (aosp_arm64,$(TARGET_PRODUCT))
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
PRODUCT_CHARACTERISTICS := device
|
||||||
|
DEVICE_TYPE := phone
|
||||||
|
DEVICE_ORIENTATION := portrait
|
||||||
|
DEVICE_LAYOUT_DIRECTION := ltr
|
||||||
|
TARGET_SCREEN_WIDTH := 720
|
||||||
|
TARGET_SCREEN_HEIGHT := 720
|
||||||
|
TARGET_DENSITY := mdpi
|
||||||
|
|
||||||
|
PRODUCT_NAME := ttp
|
||||||
|
PRODUCT_DEVICE := titan_pocket
|
||||||
|
PRODUCT_BRAND := Android
|
||||||
|
PRODUCT_MODEL := AOSP on ARM64
|
||||||
|
|
||||||
|
PRODUCT_PACKAGE_OVERLAYS += device/wephone/ttp/overlay
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/wephone/ttp/files/excluded-input-devices.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/excluded-input-devices.xml \
|
||||||
|
device/wephone/ttp/files/aw9523-key.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/aw9523-key.idc \
|
||||||
|
device/wephone/ttp/files/aw9523-key.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/aw9523-key.kcm \
|
||||||
|
device/wephone/ttp/files/aw9523-key.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/aw9523-key.kl \
|
||||||
|
device/wephone/ttp/files/mtk-kpd.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-kpd.idc \
|
||||||
|
device/wephone/ttp/files/mtk-kpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-kpd.kl \
|
||||||
|
device/wephone/ttp/files/mtk-pad.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-pad.idc \
|
||||||
|
device/wephone/ttp/files/mtk-tpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-tpd.kl \
|
||||||
|
device/wephone/ttp/files/fingerprint_key.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/fingerprint_key.kl
|
||||||
|
|
||||||
|
# Use a more decent APN config
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
|
||||||
|
|
||||||
|
ifneq (,$(wildcard external/exfat))
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
mkfs.exfat \
|
||||||
|
fsck.exfat
|
||||||
|
endif
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
Contacts \
|
||||||
|
DeskClock \
|
||||||
|
Etar \
|
||||||
|
Gallery2 \
|
||||||
|
TrichromeWebView \
|
||||||
|
WeKey
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES -= \
|
||||||
|
EasterEgg \
|
||||||
|
webview \
|
||||||
|
libwebviewchromium_loader \
|
||||||
|
libwebviewchromium_plat_support
|
||||||