mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
Pixel-fy
This commit is contained in:
parent
53a7688599
commit
fca4c52781
6 changed files with 116 additions and 65 deletions
2
AndroidProducts.mk
Normal file
2
AndroidProducts.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/aosp_deb.mk
|
47
aosp_deb.mk
Normal file
47
aosp_deb.mk
Normal file
|
@ -0,0 +1,47 @@
|
|||
#
|
||||
# Copyright 2012 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.
|
||||
#
|
||||
|
||||
# Sample: This is where we'd set a backup provider if we had one
|
||||
# $(call inherit-product, device/sample/products/backup_overlay.mk)
|
||||
|
||||
# PixelExperience stuff.
|
||||
TARGET_BOOT_ANIMATION_RES := 1080
|
||||
TARGET_GAPPS_ARCH := arm
|
||||
TARGET_MINIMAL_APPS := true
|
||||
|
||||
# Inherit full common PixelExperience stuff
|
||||
$(call inherit-product, vendor/aosp/config/common.mk)
|
||||
|
||||
# Inherit from the common Open Source product configuration
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
|
||||
|
||||
# Inherit from hardware-specific part of the product configuration
|
||||
$(call inherit-product, device/asus/deb/device.mk)
|
||||
$(call inherit-product-if-exists, vendor/asus/deb/deb-vendor.mk)
|
||||
#$(call inherit-product-if-exists, vendor/qcom/proprietary/common/config/device-vendor.mk)
|
||||
|
||||
PRODUCT_DEVICE := deb
|
||||
PRODUCT_NAME := aosp_deb
|
||||
PRODUCT_BRAND := google
|
||||
PRODUCT_MODEL := Nexus 7
|
||||
PRODUCT_MANUFACTURER := asus
|
||||
PRODUCT_RESTRICT_VENDOR_FILES := false
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
PRODUCT_NAME=razorg \
|
||||
PRIVATE_BUILD_DESC="razorg-user 6.0.1 MOB30X 3036618 release-keys"
|
||||
|
||||
BUILD_FINGERPRINT := google/razorg/deb:6.0.1/MOB30X/3036618:user/release-keys
|
|
@ -1,6 +0,0 @@
|
|||
[
|
||||
{
|
||||
"repository": "android_device_asus_flo",
|
||||
"target_path": "device/asus/flo"
|
||||
}
|
||||
]
|
31
lineage.mk
31
lineage.mk
|
@ -1,31 +0,0 @@
|
|||
|
||||
# Boot animation
|
||||
TARGET_SCREEN_HEIGHT := 1920
|
||||
TARGET_SCREEN_WIDTH := 1200
|
||||
TARGET_BOOTANIMATION_HALF_RES := true
|
||||
|
||||
# Inherit some common CM stuff.
|
||||
$(call inherit-product, vendor/cm/config/common_mini_tablet_wifionly.mk)
|
||||
|
||||
# Inherit telephony stuff
|
||||
$(call inherit-product, vendor/cm/config/telephony.mk)
|
||||
|
||||
# Inherit from the common Open Source product configuration
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
|
||||
|
||||
# Inherit device configuration
|
||||
$(call inherit-product, device/asus/deb/device.mk)
|
||||
$(call inherit-product-if-exists, vendor/asus/deb/device-vendor.mk)
|
||||
|
||||
## Device identifier. This must come after all inclusions
|
||||
PRODUCT_DEVICE := deb
|
||||
PRODUCT_NAME := lineage_deb
|
||||
PRODUCT_BRAND := google
|
||||
PRODUCT_MODEL := Nexus 7
|
||||
PRODUCT_MANUFACTURER := asus
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
PRODUCT_NAME=razorg \
|
||||
PRIVATE_BUILD_DESC="razorg-user 6.0.1 MOB30X 3036618 release-keys"
|
||||
|
||||
BUILD_FINGERPRINT := google/razorg/deb:6.0.1/MOB30X/3036618:user/release-keys
|
|
@ -277,34 +277,6 @@
|
|||
format is UMTS|LTE|... -->
|
||||
<string translatable="false" name="config_radio_access_family">GSM | WCDMA | LTE</string>
|
||||
|
||||
<!-- Hardware keys present on the device, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following keys present:
|
||||
1 - Home
|
||||
2 - Back
|
||||
4 - Menu
|
||||
8 - Assistant (search)
|
||||
16 - App switch
|
||||
32 - Camera
|
||||
64 - Volume rocker
|
||||
For example, a device with Home, Back and Menu keys would set this
|
||||
config to 7. -->
|
||||
<integer name="config_deviceHardwareKeys">64</integer>
|
||||
|
||||
<!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following keys present:
|
||||
1 - Home
|
||||
2 - Back
|
||||
4 - Menu
|
||||
8 - Assistant (search)
|
||||
16 - App switch
|
||||
32 - Camera
|
||||
64 - Volume rocker
|
||||
For example, a device with Home, Back and Menu keys would set this
|
||||
config to 7. -->
|
||||
<integer name="config_deviceHardwareWakeKeys">64</integer>
|
||||
|
||||
<!-- enable doze powersaving mode -->
|
||||
<bool name="config_enableAutoPowerModes">true</bool>
|
||||
|
||||
|
|
|
@ -0,0 +1,67 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2012, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- All the capabilities of the LEDs on this device, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following capabilities present:
|
||||
LIGHTS_RGB_NOTIFICATION_LED = 1
|
||||
LIGHTS_RGB_BATTERY_LED = 2
|
||||
LIGHTS_MULTIPLE_NOTIFICATION_LED = 4
|
||||
LIGHTS_PULSATING_LED = 8
|
||||
LIGHTS_SEGMENTED_BATTERY_LED = 16
|
||||
LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
|
||||
For example, a device support pulsating, RGB notification and
|
||||
battery LEDs would set this config to 11. -->
|
||||
<!-- <integer name="config_deviceLightCapabilities">8</integer> -->
|
||||
|
||||
<!-- Hardware keys present on the device, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following keys present:
|
||||
1 - Home
|
||||
2 - Back
|
||||
4 - Menu
|
||||
8 - Assistant (search)
|
||||
16 - App switch
|
||||
32 - Camera
|
||||
64 - Volume rocker
|
||||
For example, a device with Home, Back and Menu keys would set this
|
||||
config to 7. -->
|
||||
<integer name="config_deviceHardwareKeys">64</integer>
|
||||
|
||||
<!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following keys present:
|
||||
1 - Home
|
||||
2 - Back
|
||||
4 - Menu
|
||||
8 - Assistant (search)
|
||||
16 - App switch
|
||||
32 - Camera
|
||||
64 - Volume rocker
|
||||
For example, a device with Home, Back and Menu keys would set this
|
||||
config to 7. -->
|
||||
<integer name="config_deviceHardwareWakeKeys">64</integer>
|
||||
|
||||
<!-- Indicate whether encryption causes significant performances loss.
|
||||
This MUST NOT be set to true on devices produced in 2016 or later -->
|
||||
<!-- <bool name="config_trustLegacyEncryption">true</bool> -->
|
||||
|
||||
</resources>
|
Loading…
Reference in a new issue