add sakura and daisy

This commit is contained in:
suwakowww 2018-10-17 18:00:28 +08:00 committed by Pierre-Hugues Husson
parent 4855e6cf19
commit 6e3c84f049
6 changed files with 258 additions and 4 deletions

View file

@ -3,8 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.product.device"
android:requiredSystemPropertyValue="daisy"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+xiaomi/daisy*"
android:priority="22"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>1</item>
<item>2</item>
<item>2</item>
<item>3</item>
<item>3</item>
<item>5</item>
<item>5</item>
<item>12</item>
<item>12</item>
<item>20</item>
<item>20</item>
<item>39</item>
<item>39</item>
<item>43</item>
<item>43</item>
<item>55</item>
<item>55</item>
<item>63</item>
<item>63</item>
<item>84</item>
<item>93</item>
<item>105</item>
<item>120</item>
<item>180</item>
<item>240</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessLevels">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>8</item>
<item>13</item>
<item>17</item>
<item>21</item>
<item>26</item>
<item>30</item>
<item>34</item>
<item>140</item>
<item>310</item>
<item>400</item>
<item>500</item>
<item>600</item>
<item>1000</item>
<item>1200</item>
<item>1500</item>
<item>2000</item>
<item>3000</item>
<item>3500</item>
<item>4000</item>
</integer-array>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_setColorTransformAccelerated">true</bool>
<bool name="config_supportAudioSourceUnprocessed">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<bool name="config_carrier_volte_available">true</bool>
<bool name="config_device_volte_available">true</bool>
<bool name="config_device_vt_available">true</bool>
<bool name="config_device_wfc_ims_available">true</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_intrusiveNotificationLed">false</bool>
<bool name="config_lidControlsSleep">false</bool>
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<bool name="config_wifi_background_scan_support">true</bool>
<bool name="config_wifi_batched_scan_supported">true</bool>
<bool name="config_wifi_disconnect_only_on_initial_ipreachability">false</bool>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_dual_sap_mode_enabled">false</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">false</bool>
<bool name="config_displayBlanksAfterDoze">false</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
<fraction name="config_autoBrightnessAdjustmentMaxGamma">300.0%</fraction>
<fraction name="config_maximumScreenDimRatio">20.000004%</fraction>
<integer name="config_autoBrightnessBrighteningLightDebounce">4000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">4000</integer>
<integer name="config_screenBrightnessDark">1</integer>
<integer name="config_screenBrightnessDim">10</integer>
<integer name="config_screenBrightnessDoze">17</integer>
<integer name="config_screenBrightnessSettingDefault">102</integer>
<integer name="config_screenBrightnessSettingMaximum">255</integer>
<integer name="config_screenBrightnessSettingMinimum">10</integer>
<integer name="config_bluetooth_idle_cur_ma">1</integer>
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>
<integer name="config_bluetooth_rx_cur_ma">2</integer>
<integer name="config_bluetooth_tx_cur_ma">3</integer>
<integer name="config_shutdownBatteryTemperature">600</integer>
</resources>

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="screen.on">63</item>
<item name="screen.full">261</item>
<array name="cpu.speeds">
<value>200000</value>
<value>499200</value>
<value>533333</value>
<value>800000</value>
<value>998400</value>
<value>1094400</value>
<value>1209600</value>
</array>
<array name="cpu.active">
<value>151</value>
<value>169</value>
<value>177</value>
<value>195</value>
<value>259</value>
<value>307</value>
<value>353</value>
</array>
<item name="cpu.awake">1.6</item>
<item name="cpu.idle">1.6</item>
<item name="battery.capacity">4000</item>
</device>

View file

@ -3,8 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.product.device"
android:requiredSystemPropertyValue="+sakura*"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+xiaomi/sakura*"
android:priority="19"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>2</item>
<item>2</item>
<item>2</item>
<item>3</item>
<item>3</item>
<item>5</item>
<item>5</item>
<item>12</item>
<item>12</item>
<item>20</item>
<item>20</item>
<item>39</item>
<item>39</item>
<item>43</item>
<item>43</item>
<item>55</item>
<item>55</item>
<item>63</item>
<item>63</item>
<item>84</item>
<item>93</item>
<item>105</item>
<item>140</item>
<item>200</item>
<item>240</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessLevels">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>8</item>
<item>13</item>
<item>17</item>
<item>21</item>
<item>26</item>
<item>30</item>
<item>34</item>
<item>140</item>
<item>310</item>
<item>400</item>
<item>500</item>
<item>600</item>
<item>1000</item>
<item>1200</item>
<item>1500</item>
<item>2000</item>
<item>3000</item>
<item>3500</item>
<item>4000</item>
</integer-array>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_setColorTransformAccelerated">true</bool>
<bool name="config_supportAudioSourceUnprocessed">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<bool name="config_carrier_volte_available">true</bool>
<bool name="config_device_volte_available">true</bool>
<bool name="config_device_vt_available">true</bool>
<bool name="config_device_wfc_ims_available">true</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_intrusiveNotificationLed">false</bool>
<bool name="config_lidControlsSleep">true</bool>
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<bool name="config_wifi_background_scan_support">true</bool>
<bool name="config_wifi_batched_scan_supported">true</bool>
<bool name="config_wifi_disconnect_only_on_initial_ipreachability">true</bool>
<bool name="config_wifi_dual_band_support">true</bool>
<bool name="config_wifi_dual_sap_mode_enabled">false</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">false</bool>
<bool name="config_displayBlanksAfterDoze">true</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
<fraction name="config_autoBrightnessAdjustmentMaxGamma">200.0%</fraction>
<fraction name="config_maximumScreenDimRatio">29.999996%</fraction>
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">4000</integer>
<integer name="config_screenBrightnessDark">1</integer>
<integer name="config_screenBrightnessDim">1</integer>
<integer name="config_screenBrightnessDoze">17</integer>
<integer name="config_screenBrightnessSettingDefault">128</integer>
<integer name="config_screenBrightnessSettingMaximum">255</integer>
<integer name="config_screenBrightnessSettingMinimum">10</integer>
<integer name="config_bluetooth_idle_cur_ma">1</integer>
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>
<integer name="config_bluetooth_rx_cur_ma">2</integer>
<integer name="config_bluetooth_tx_cur_ma">3</integer>
<integer name="config_shutdownBatteryTemperature">600</integer>
</resources>

View file

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="screen.on">96.02</item>
<item name="screen.full">347.74</item>
<item name="bluetooth.active">9.25</item>
<item name="bluetooth.on">1.62</item>
<item name="wifi.on">0.41</item>
<item name="wifi.active">131.28</item>
<item name="wifi.scan">40</item>
<item name="dsp.audio">28.71</item>
<item name="dsp.video">67.08</item>
<item name="camera.flashlight">160</item>
<item name="camera.avg">539.58</item>
<item name="gps.on">46.865</item>
<item name="radio.active">134.84</item>
<item name="radio.scanning">10</item>
<array name="cpu.speeds">
<value>200000</value>
<value>499200</value>
<value>533333</value>
<value>800000</value>
<value>998400</value>
<value>1094400</value>
<value>1209600</value>
</array>
<array name="cpu.active">
<value>151</value>
<value>169</value>
<value>177</value>
<value>195</value>
<value>259</value>
<value>307</value>
<value>353</value>
</array>
<item name="cpu.awake">1.6</item>
<item name="cpu.idle">1.6</item>
<item name="battery.capacity">4000</item>
</device>