summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--Android.mk30
-rw-r--r--AndroidBoard.mk18
-rw-r--r--AndroidProducts.mk17
-rw-r--r--BoardConfig.mk126
-rw-r--r--Kernel.mk145
-rw-r--r--Third_party_apk_camera.xml5
-rw-r--r--device.mk79
-rw-r--r--files/Generic.kl443
-rw-r--r--files/Vendor_0001_Product_0001.kl119
-rw-r--r--files/audio_policy.conf206
-rw-r--r--files/media_codecs.xml324
-rw-r--r--files/media_codecs_performance.xml89
-rw-r--r--files/media_profiles.xml229
-rw-r--r--files/media_profiles_V1_0.xml229
-rw-r--r--files/mesondisplay.cfg11
-rw-r--r--files/mixer_paths.xml14
-rw-r--r--files/remote.cfg16
-rw-r--r--files/remote.conf172
-rw-r--r--files/remote.tab150
-rw-r--r--files/remote.tab259
-rw-r--r--files/remote.tab338
-rw-r--r--files/zram_mount.sh12
-rw-r--r--fstab.3.14.amlogic17
-rw-r--r--fstab.AB.amlogic15
-rw-r--r--fstab.AB.verity.amlogic15
-rw-r--r--fstab.amlogic16
-rw-r--r--fstab.verity.amlogic16
-rw-r--r--init.amlogic.board.rc30
-rw-r--r--init.amlogic.usb.rc36
-rw-r--r--logo_img_files/bootup.bmp1320
-rw-r--r--logo_img_files/upgrade_bar.bmp1
-rw-r--r--logo_img_files/upgrade_error.bmp2
-rw-r--r--logo_img_files/upgrade_fail.bmp88
-rw-r--r--logo_img_files/upgrade_logo.bmp1
-rw-r--r--logo_img_files/upgrade_success.bmp2
-rw-r--r--logo_img_files/upgrade_unfocus.bmp1
-rw-r--r--logo_img_files/upgrade_upgrading.bmp1
-rwxr-xr-xmake_boot.sh41
-rw-r--r--manifest.xml220
-rw-r--r--mkern.sh38
-rw-r--r--overlay/frameworks/base/core/res/res/anim/atv_fade_in_bottom.xml25
-rw-r--r--overlay/frameworks/base/core/res/res/anim/atv_fade_in_top.xml25
-rw-r--r--overlay/frameworks/base/core/res/res/anim/atv_fade_out_bottom.xml25
-rw-r--r--overlay/frameworks/base/core/res/res/anim/atv_fade_out_top.xml25
-rw-r--r--overlay/frameworks/base/core/res/res/anim/atv_wallpaper_enter.xml24
-rw-r--r--overlay/frameworks/base/core/res/res/anim/atv_wallpaper_exit.xml24
-rw-r--r--overlay/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.png3
-rw-r--r--overlay/frameworks/base/core/res/res/drawable/progress_volume.xml41
-rw-r--r--overlay/frameworks/base/core/res/res/layout/volume_adjust.xml49
-rw-r--r--overlay/frameworks/base/core/res/res/layout/volume_adjust_item.xml44
-rw-r--r--overlay/frameworks/base/core/res/res/values-sw600dp/dimens.xml22
-rw-r--r--overlay/frameworks/base/core/res/res/values/colors_material.xml20
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml104
-rw-r--r--overlay/frameworks/base/core/res/res/values/dimens.xml31
-rw-r--r--overlay/frameworks/base/core/res/res/values/styles.xml54
-rw-r--r--overlay/frameworks/base/core/res/res/values/themes_device_defaults.xml8
-rw-r--r--overlay/frameworks/base/core/res/res/xml/storage_list.xml48
-rw-r--r--overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml27
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/layout/system_icons.xml27
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/values/config.xml5
-rw-r--r--overlay/packages/apps/Bluetooth/res/values/config.xml17
-rw-r--r--overlay/packages/apps/Gallery2/res/values-notouch-v14/styles.xml22
-rw-r--r--overlay/packages/apps/Gallery2/res/values/filtershow_values.xml20
-rw-r--r--overlay/packages/apps/Launcher2/AndroidManifest.xml159
-rw-r--r--overlay/packages/apps/Provision/AndroidManifest.xml39
-rw-r--r--overlay/packages/apps/Settings/AndroidManifest.xml3091
-rw-r--r--overlay/packages/apps/TvSettings/Settings/AndroidManifest.xml594
-rw-r--r--overlay/vendor/amlogic/apps/MboxLauncher2/AndroidManifest.xml41
-rw-r--r--p212.mk369
-rw-r--r--recovery/bootloader_control_block.conf24
-rw-r--r--recovery/busybox6444
-rw-r--r--recovery/init.recovery.amlogic.rc23
-rw-r--r--recovery/recovery.fstab25
-rw-r--r--recovery/recovery.kl21
-rw-r--r--recovery/remotecfg2113
-rw-r--r--recovery/sh1949
-rw-r--r--system.prop97
-rw-r--r--u-boot.bin2901
-rw-r--r--upgrade/aml_sdc_burn.ini19
-rw-r--r--upgrade/platform.conf10
-rw-r--r--upgrade/u-boot.bin.sd.bin2904
-rw-r--r--upgrade/u-boot.bin.usb.bl2246
-rw-r--r--upgrade/u-boot.bin.usb.tpl2656
-rw-r--r--vendorsetup.sh3
-rw-r--r--version_id.mk19
85 files changed, 28728 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..1ad27aa
--- a/dev/null
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,104 @@
+<resources>
+
+ <!-- This string array should be overridden by the device to present a list of network
+ attributes. This is used by the connectivity manager to decide which networks can coexist
+ based on the hardware -->
+ <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
+ [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
+ <!-- the 5th element "restore-time" indicates the number of milliseconds to delay
+ before automatically restore the default connection. Set -1 if the connection
+ does not require auto-restore. -->
+ <!-- the 6th element indicates boot-time dependency-met value. -->
+ <string-array translatable="false" name="networkAttributes">
+ <item>"wifi,1,1,1,-1,true"</item>
+ <item>"ethernet,9,9,9,-1,true"</item>
+ <item>"pppoe,18,18,1,-1,true"</item>
+ </string-array>
+ <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering__-->
+ <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
+ <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
+ <!-- [18,9] for TYPE_PPPOE, TYPE_ETHERNET -->
+ <integer-array translatable="false" name="config_tether_upstream_types">
+ <item>1</item>
+ <item>18</item>
+ <item>9</item>
+ </integer-array>
+ <!-- This string array should be overridden by the device to present a list of radio
+ attributes. This is used by the connectivity manager to decide which networks can coexist
+ based on the hardware -->
+ <!-- An Array of "[ConnectivityManager connectionType],
+ [# simultaneous connection types]" -->
+ <string-array translatable="false" name="radioAttributes">
+ <item>"1,1"</item>
+ <item>"9,1"</item>
+ <item>"18,1"</item>
+ </string-array>
+
+ <!-- List of regexpressions describing the interface (if any) that represent tetherable
+ Wifi interfaces. If the device doesn't want to support tethering over Wifi this
+ should be empty. An example would be "softap.*" -->
+ <string-array translatable="false" name="config_tether_wifi_regexs">
+ <item>"wlan0"</item>
+ </string-array>
+
+ <!-- If supported and enabled, are dreams activated when asleep and charging? (by default) -->
+ <bool name="config_dreamsActivatedOnSleepByDefault">true</bool>
+ <!-- ComponentName of the default dream (Settings.Secure.DEFAULT_SCREENSAVER_COMPONENT) -->
+ <string name="config_dreamsDefaultComponent">com.android.deskclock/com.android.deskclock.Screensaver</string>
+
+ <!-- Whether WiFi display is supported by this device.
+ There are many prerequisites for this feature to work correctly.
+ Here are a few of them:
+ * The WiFi radio must support WiFi P2P.
+ * The WiFi radio must support concurrent connections to the WiFi display and
+ to an access point.
+ * The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix"
+ remote submix module. This module is used to record and stream system
+ audio output to the WiFi display encoder in the media server.
+ * The remote submix module "audio.r_submix.default" must be installed on the device.
+ * The device must be provisioned with HDCP keys (for protected content).
+ -->
+ <!--<bool name="config_enableWifiDisplay">true</bool>-->
+ <!--<bool name="config_enableWifiP2pAutoAcceptInvitation">true</bool>-->
+ <bool name="config_sms_capable">false</bool>
+ <!-- Flag indicating whether the current device is "voice capable".
+ If true, this means that the device supports circuit-switched
+ (i.e. voice) phone calls over the telephony network, and is
+ allowed to display the in-call UI while a cellular voice call is
+ active. This can be overridden to false for "data only" devices
+ which can't make voice calls and don't support any in-call UI.
+
+ Note: this flag is subtly different from the
+ PackageManager.FEATURE_TELEPHONY system feature, which is
+ available on *any* device with a telephony radio, even if the
+ device is data-only. -->
+ <bool name="config_voice_capable">false</bool>
+
+ <!-- Enable overlay for all location components. -->
+ <bool name="config_enableNetworkLocationOverlay" translatable="false">true</bool>
+ <bool name="config_enableFusedLocationOverlay" translatable="false">true</bool>
+ <bool name="config_enableGeocoderOverlay" translatable="false">true</bool>
+ <bool name="config_enableGeofenceOverlay" translatable="false">true</bool>
+
+ <!--
+ Sets the package names whose certificates should be used to
+ verify location providers are allowed to be loaded.
+ -->
+ <string-array name="config_locationProviderPackageNames" translatable="false">
+ <item>com.google.android.gms</item>
+ <item>com.android.location.fused</item>
+ </string-array>
+ <!-- Maximum number of supported users -->
+ <integer name="config_multiuserMaximumUsers">2</integer>
+
+ <bool name="config_defaultInTouchMode">false</bool>
+ <!-- Whether the device uses the default focus highlight when focus state isn't specified. -->
+ <bool name="config_useDefaultFocusHighlight">false</bool>
+
+ <!-- Keyguard component -->
+ <string name="config_keyguardComponent" translatable="false">com.droidlogic/com.droidlogic.StubKeyguardService</string>
+
+ <!-- disable wallpaper, which may consume too much boot time -->
+ <!-- cannot disable wallpaper, com.android.settings will crash! -->
+ <!--bool name="config_enableWallpaperService">false</bool-->
+</resources>