User Tools

Site Tools


android

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
android [2018/01/05 20:53] ealmrandroid [2025/09/17 15:12] (current) – [Configs] ealmr
Line 1: Line 1:
-swap back and menu key:+====== TrebleDroid ======
  
-  /system/usr/keylayout/Generic.kl+Download GSI ROMs from:  
-  key 158 MENU WAKE_DROPPED + 
-  key 139 BACK WAKE_DROPPED+https://github.com/TrebleDroid/treble_experimentations/wiki/Generic-System-Image-%28GSI%29-list 
 + 
 +flash GSI image into super partition: 
 + 
 +  #reboot phone into fastboot mode 
 +  #reboot into fastbootd mode 
 +  fastboot reboot fastboot 
 +  #flash system image 
 +  fastboot flash system /path/to/image
      
-flashing recovery:+support fingerprint:
  
-  http://pan.baidu.com/s/1pJoKqkr +support pattern unlock: 
-  fastboot flash recovery recovery.img + 
-  fastboot boot recovery.img+support adaptive brightness: 
 + 
 +support switch different refresh rates: 
 + 
 +====== Configs ====== 
 + 
 +  settings put secure show_rotation_suggestions 0 
 + 
 +set captive portal for Android 10 ~ 14: 
 + 
 +  export HTTP_URL= 
 +  export HTTPS_URL= 
 +  settings put global captive_portal_mode 1 
 +  settings put global captive_portal_http_url $HTTP_URL 
 +  settings put global captive_portal_https_url $HTTPS_URL
      
-portal server:+   
 +other portal servers: 
 +  http[s]://www.gstatic.com/generate_204 
 +  http[s]://dl.google.com/generate_204 
 + 
 +captive portal server:
  
   adb shell "settings put global captive_portal_server ip"   adb shell "settings put global captive_portal_server ip"
Line 21: Line 48:
 enable ADB over tcp: enable ADB over tcp:
  
-  #https://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp+  # first enable USB debugging 
 +  # https://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp
   su   su
   setprop service.adb.tcp.port 5555 #-1 to disable   setprop service.adb.tcp.port 5555 #-1 to disable
Line 30: Line 58:
   adb connect ip:5555   adb connect ip:5555
   adb shell   adb shell
 +  
 +
 +swap back and menu key:
 +
 +  /system/usr/keylayout/Generic.kl:
 +  key 158 MENU WAKE_DROPPED
 +  key 139 BACK WAKE_DROPPED
 +  
 +====== flashing ======
 +
 +  http://pan.baidu.com/s/1pJoKqkr
 +  fastboot flash recovery recovery.img
 +  fastboot boot recovery.img
 +
 +====== Magisk modules ======
  
 +  * https://github.com/NVISOsecurity/MagiskTrustUserCerts
android.1515185584.txt.gz · Last modified: by ealmr

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki