Skip to content

Commit

Permalink
douglas: initial device tree
Browse files Browse the repository at this point in the history
Signed-off-by: R0rt1z2 <[email protected]>
  • Loading branch information
R0rt1z2 committed Jul 9, 2021
0 parents commit fe8c1d1
Show file tree
Hide file tree
Showing 12 changed files with 553 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# Copyright 2020 The LineageOS 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.
#

LOCAL_PATH := $(call my-dir)

ifeq ($(TARGET_DEVICE),douglas)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif
18 changes: 18 additions & 0 deletions AndroidProducts.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# Copyright 2020 The LineageOS 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.
#

PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage.mk
17 changes: 17 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-include device/amazon/mt8163-common/BoardConfigCommon.mk

DEVICE_PATH := device/amazon/douglas

# Assert
TARGET_OTA_ASSERT_DEVICE := douglas,KFGIWI

# Kernel
TARGET_KERNEL_CONFIG := douglas_defconfig

# Recovery
BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_15x24.h\"
TARGET_RECOVERY_PIXEL_FORMAT := "RGBA_8888"
BOARD_HAS_NO_SELECT_BUTTON := true

# System Properties
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Amazon Fire HD8 2017 Android Device Tree

The Amazon Fire HD8 2017 (codenamed "douglas") is a low-range tablet from amazon announced in 2017.

Basic | Spec Sheet
-------:|:--------------------------------------------------
CPU | QuadCore (4 x 1.3 MHz Cortex-A35)
Chipseet| Mediatek MT8163
GPU | Mali 720
Memory | 1.5 GB RAM
Android | 5.1 (FireOS 5.X)
Storage | 16/32 GB
MicroSD | yes (up to 512 GB)
Battery | 2.980 mAh
Display | 8"
Radio FM| N/A
Front Camera | 0.3 MP
Rear Camera | 2 MP

<p align="center">
<img src="https://www.pikpng.com/pngl/b/347-3474224_amazon-fire-hd-8-amazon-fire-7-tablet.png" alt="douglas"/>
</p>

This branch is for building LineageOS 14.1 (CM).
60 changes: 60 additions & 0 deletions configs/thermal/.ht120.mtc
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/qtrg4s slopnhv4s s"sdrx1x$zz!t
!"
/qtrg4s slopnhv4s s"sqolg2y% su
!"
/qtrg4s slopnhv4s s"sccwxjx%5!yttvx
!"
/qtrg4s slopnhv4s s"sqc0w#yy "
!"
/qtrg4s slopnhv4s s"sbde1x$zz!t
!"
/qtrg4s slopnhv4s s"sxow1x$zz!t
!"
/qtrg4s slopnhv4s s6cm/nwm lxwo23
!"
/qtrg4s slopnhv4s s6cm/nwm lxwo24
!"
/qtrg4s slopnhv4s s6cm/nwm lxwo25
!"
/qtrg4jyq$es1wljxtiu/u!exxewi an
PVRbV%9@8901"SYUe]WUT!3;45&V^NR`EUMYOJIU_M"76:7789 OVFcYGITN 7"46%&
/qtrg4jyq$es1wljxtiu/u!ftz
1!34;567(9 nvnxxiw"6szuuwy&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"845&8
/qtrg4jyq$es1wljxtiu/u!sqni
1!379567(9 nvnxxvtql-t vvxz'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#5567(
/qtrg4jyq$es1wljxtiu/u!eeyzlz'
1!354567(9 nvnxxhh!"es 0w#yy " 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&8890!
/qtrg4jyq$es1wljxtiu/u!se
1!354567(9 nvnxxvh5!yttvx%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!3345&
/qtrg4jyq$es1wljxtiu/u!dfg
0!34;567(9 nvnxxgij6szuuwy&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$
/qtrg4jyq$es1wljxtiu/u!zqy
1!354567(9 nvnxx"t!6szuuwy&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"4456'
/qtrg4jyq$es1wljxtiu/u!exx
1!354567(9 nvn1hr4s!hvvgs!t78)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%7789
/qtrg4jyq$es1wljxtiu/u!9767
1!354567(9 nvn1hr4s!hvvgs!t79)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%7789
/qtrg4jyq$es1wljxtiu/u!ww6
0!434567(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(
/qtrg4jyq$es1wljxtiu/u!ww8
0!434567(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(
/qtrg4jyq$es1wljxtiu/u!ww9
0!434567(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(
/qtrg4jyq$es1wljxtiu/u!ww:
0!434567(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(
/qtrg4s s"z0owoyyjx#
mbaois&8() !"#$%&
/qtrg4s s"z0owoyywurc
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyyii"tft!
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyywi
mbaois&8() !"#$%&'() !"#
/qtrg4s s"z0owoyy#u"
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyyHX
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyyi"lk
mbaois&8() !"#$%&'() !"#$%&'
EPH

50 changes: 50 additions & 0 deletions configs/thermal/thermal.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/qtrg4s slopnhv4s s"sdrx1x$zz!t
!"
/qtrg4s slopnhv4s s6cm/fvnzpkjl
!"
/qtrg4s slopnhv4iw"92
!"
/qtrg4s slopnhv4iw"haecsxn!lg9
EYKW$86789 !
/qtrg4s slopnhv4iw"haecsxn!lg:
EYKW$6<789 nvnxxei!!0!;4456'
/qtrg4s slopnhv4iw"haecsxn!lg;
EYKW$=678)mumwwdh 9 :8345&
/qtrg4s slopnhv4s s6cm/fvnzpkjl
!"
/qtrg4s slopnhv4s s6cm/fvnzpkjl
!"
/qtrg4s slopnhv4s s6cm/fvnzpkjl
!"
/qtrg4s slopnhv4s s6cm/fvnzpkjl
!"
/qtrg4jyq$es1wljxtiu/u!exxewi an
PVRbV%9@890!RXTd\VT] 2:34%U]M[_DTLXNIHThL!3;<:67(WTDaWEGRL(= 24#$
/qtrg4jyq$es1wljxtiu/dndxrezm"tjpj
0!5345&8=)31"84%?78)4123$;67(;112#$
/qtrg4jyq$es1wljxtiu/dndxrezm"tjpj
1!4345&8=)31"84%?78)4123$;67(;112#$
/qtrg4jyq$es1wljxtiu/dndxrezm"tjpj
2!3845&8=)31"84%?78)4123$;67(;112#$
/qtrg4jyq$es1wljxtiu/u!ftz
6!354567(9 nvnxxiw"6szuuwy&89A012#7%s s6cm/fvnzpkjl!334567(9 drx47&?>901"3$hv!gjdbrwm kf8)86234%6'kyu`cgeuzp#n_2";8567(9 drxcfjhx"iwgb6%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!484%7
/qtrg4jyq$es1wljxtiu/u!sqni
2!384567(9 nvnxxvtql-t vvxz'9=8123$8&t!t-dn0gwo qlam"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$6678)
/qtrg4jyq$es1wljxtiu/u!eeyzlz'
2!83456'8)mumwwgg !nrz/v"xxz!)59234%9'u"k.eo1hxp!rcbn#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%7789
/qtrg4jyq$es1wljxtiu/u!zqy
2!:8456'8)mumww!s 5!yttvx%>:890!5#qyq4ku-dtlxniht)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!3345&
/qtrg4jyq$es1wljxtiu/u!exx
0!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!3345&
/qtrg4s s"z0owoyyjx#
mbaois&8() !"#$%&
/qtrg4s s"z0owoyywurc
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyyii"tft!
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyy#u"
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyyi!!
mbaois&8() !"#$%&'()
EPH

84 changes: 84 additions & 0 deletions configs/thermal/thermal.off.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
/qtrg4s slopnhv4s s"sdrx1x$zz!t
!"
/qtrg4s slopnhv4s s6cm/vlzzkw%n12
!"
/qtrg4s slopnhv4iw"92
!"
/qtrg4s slopnhv4iw"haecsxn!lg9
EYKW$7;789 !
/qtrg4s slopnhv4s s"sqolg2y% su
!"
/qtrg4s slopnhv4s s"sccwxjx%5!yttvx
!"
/qtrg4s slopnhv4s s"sqc0w#yy "
!"
/qtrg4s slopnhv4s s"sbde1x$zz!t
!"
/qtrg4s slopnhv4s s"sxow1x$zz!t
!"
/qtrg4s slopnhv4s s6cm/vlzzkw%n13
!"
/qtrg4s slopnhv4s s6cm/vlzzkw%n14
!"
/qtrg4s slopnhv4s s6cm/eehqsqphu24
!"
/qtrg4s slopnhv4s s6cm/eehqsqphu25
!"
/qtrg4s slopnhv4s s6cm/eehqsqphu26
!"
/qtrg4s slopnhv4s s6cm/nwm lxwo23
!"
/qtrg4s slopnhv4s s6cm/nwm lxwo24
!"
/qtrg4jyq$es1wljxtiu/u!exxewi an
PVRbV%9@8901"SYUe]WUT!3;45&V^NR`EUMYOJIU_M"76:7789 OVFcYGITN 7"46%&
/qtrg4jyq$es1wljxtiu/dndxrezm"tjpj
0!5345&8=)21"84%?78)4123$;67(;112#$
/qtrg4jyq$es1wljxtiu/u!ftz
4!34;567(9 nvnxxiw"6szuuwy&889012#4%s s6cm/vlzzkw%n12#=:678)0!esy58'@>012#4%iw"haecsxn!lg9 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$:67(:
/qtrg4jyq$es1wljxtiu/u!sqni
1!379567(9 nvnxxvtql-t vvxz'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#5567(
/qtrg4jyq$es1wljxtiu/u!eeyzlz'
1!83456'8)mumwwgg !nrz/v"xxz!)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%7789
/qtrg4jyq$es1wljxtiu/u!se
1!354567(9 nvnxxvh5!yttvx%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!3345&
/qtrg4jyq$es1wljxtiu/u!dfg
0!34;567(9 nvnxxgij6szuuwy&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$
/qtrg4jyq$es1wljxtiu/u!zqy
1!354567(9 nvnxx"t!6szuuwy&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"4456'
/qtrg4jyq$es1wljxtiu/u!exx
1!;8456'8)mum0gq3zp#teqzr57'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#5567(
/qtrg4jyq$es1wljxtiu/u!9767
1!354567(9 nvn1hr4 quufr s69(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$5&7(wo.ersqky(9 1"qs2ivwues"3$5&uw6cpqoiw&7(9 oq0gtusm 1"3$su4kxomgu$6678)
/qtrg4jyq$es1wljxtiu/u!ww6
1!434567(9 nvn1hr4jjclnlkmz7:)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%7789
/qtrg4jyq$es1wljxtiu/u!ww8
1!434567(9 nvn1hr4jjclnlkmz7;)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%7789
/qtrg4jyq$es1wljxtiu/u!ww9
1!434567(9 nvn1hr4s!hvvgs!t78)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%7789
/qtrg4jyq$es1wljxtiu/u!ww:
1!434567(9 nvn1hr4s!hvvgs!t79)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%6'8)np/fstrlz)0!2#rt3jwxlft#4%6'vx-dqrpjx'8)0!pr1huvtnr!2#4%tv5lopnhv%7789
/qtrg4s s"z0owoyyjx#
mbaois&8() !"#$%&
/qtrg4s s"z0owoyywurc
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyyii"tft!
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyywi
mbaois&8() !"#$%&'() !"#
/qtrg4s s"z0owoyy#u"
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyyHX
mbaois&;() !"#$%&'()
/qtrg4s s"z0owoyyi"lk
mbaois&8() !"#$%&'() !"#$%&'
/qtrg4s s"z0owoyy8
mbaois&8() !"#$%&'()
/qtrg4s s"z0owoyy:
mbaois&8() !"#$%&'()
/qtrg4s s"z0owoyy;
mbaois&8() !"#$%&'()
/qtrg4s s"z0owoyy<
mbaois&8() !"#$%&'()
EPH

11 changes: 11 additions & 0 deletions configs/thermal/thermal.policy.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
zone tmp103
gov tmp103
cdevs thermal_budget lcd-backlight battery
trip 44500 44833 45167 45500 49000 52000 54000
hyst 0 0 0 0 0 3000 0
thermal_budget 1107 830 707 553 471 235
lcd-backlight 255 255 255 255 255 175
battery 100000 100000 100000 100000 100000 100000
poll 1000
]
11 changes: 11 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
DEVICE_PATH := device/amazon/douglas

# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/amazon/douglas/douglas-vendor.mk)

# Thermal
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/thermal/.ht120.mtc:system/etc/.tp/.ht120.mtc \
$(DEVICE_PATH)/configs/thermal/thermal.conf:system/etc/.tp/thermal.conf \
$(DEVICE_PATH)/configs/thermal/thermal.off.conf:system/etc/.tp/thermal.off.conf \
$(DEVICE_PATH)/configs/thermal/thermal.policy.conf:system/etc/.tp/thermal.policy.conf
38 changes: 38 additions & 0 deletions lineage.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# Copyright 2020 The LineageOS 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.
#

# Inherit framework first
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)

# Inherit from hinoki device
$(call inherit-product, device/amazon/douglas/device.mk)

# Inherit from common device
$(call inherit-product, device/amazon/mt8163-common/mt8163-common.mk)

# Inherit some common LineageOS stuff.
$(call inherit-product, vendor/cm/config/common_full_tablet_wifionly.mk)

# Inherit languages full.
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)

# Set those variables here to overwrite the inherited values.
PRODUCT_DEVICE := douglas
PRODUCT_NAME := lineage_douglas
PRODUCT_BRAND := google
PRODUCT_MODEL := Fire HD8 2016
PRODUCT_MANUFACTURER := amzn
Loading

0 comments on commit fe8c1d1

Please sign in to comment.