bootable/newinstaller
Révision | 63c8e6b253776139812041811125ca81791cad75 (tree) |
---|---|
l'heure | 2019-12-27 16:23:24 |
Auteur | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init: do not modify /default.prop
Modifying /default.prop doesn't work in Android 10.
@@ -212,11 +212,8 @@ if [ 0$DEBUG -gt 1 ]; then | ||
212 | 212 | echo -e "Type 'exit' to enter Android...\n" |
213 | 213 | |
214 | 214 | debug_shell debug-late |
215 | - SETUPWIZARD=${SETUPWIZARD:-0} | |
216 | 215 | fi |
217 | 216 | |
218 | -[ "$SETUPWIZARD" = "0" ] && echo "ro.setupwizard.mode=DISABLED" >> default.prop | |
219 | - | |
220 | 217 | [ -n "$DEBUG" ] && SWITCH=${SWITCH:-chroot} |
221 | 218 | |
222 | 219 | # We must disable mdev before switching to Android |
@@ -1,17 +0,0 @@ | ||
1 | -# | |
2 | -# By Chih-Wei Huang <cwhuang@linux.org.tw> | |
3 | -# Last updated 2012/02/08 | |
4 | -# | |
5 | -# License: GNU Public License | |
6 | -# We explicitely grant the right to use the scripts | |
7 | -# with Android-x86 project. | |
8 | -# | |
9 | - | |
10 | -setup_dpi() | |
11 | -{ | |
12 | - if [ -n "$DPI" ]; then | |
13 | - grep -v ro.sf.lcd_density default.prop > tmp.prop | |
14 | - echo ro.sf.lcd_density=$DPI >> tmp.prop | |
15 | - mv tmp.prop default.prop | |
16 | - fi | |
17 | -} |