android
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| android [2021/08/14 12:20] – fe80:f840:deb4:bbc3:6582:0245:a3a6:dfad | android [2025/09/17 15:12] (current) – [Configs] ealmr | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | swap back and menu key: | + | ====== TrebleDroid ====== |
| - | | + | Download GSI ROMs from: |
| - | | + | |
| - | | + | https://github.com/TrebleDroid/ |
| + | |||
| + | flash GSI image into super partition: | ||
| + | |||
| + | | ||
| + | | ||
| + | fastboot reboot fastboot | ||
| + | #flash system image | ||
| + | fastboot flash system / | ||
| | | ||
| - | flashing recovery: | + | support fingerprint: |
| - | http:// | + | support pattern unlock: |
| - | | + | |
| - | | + | 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 | ||
| + | | ||
| + | | ||
| | | ||
| - | portal server: | + | other portal servers: |
| + | http[s]:// | ||
| + | http[s]:// | ||
| + | |||
| + | captive | ||
| adb shell " | adb shell " | ||
| Line 18: | Line 45: | ||
| adb shell settings put global captive_portal_mode 1 # | adb shell settings put global captive_portal_mode 1 # | ||
| adb shell settings put global captive_portal_https_url https:// | adb shell settings put global captive_portal_https_url https:// | ||
| - | | ||
| - | # worked for Android 10 ( https:// | ||
| - | settings put global captive_portal_http_url http:// | ||
| - | settings put global captive_portal_https_url https:// | ||
| | | ||
| enable ADB over tcp: | enable ADB over tcp: | ||
| # first enable USB debugging | # first enable USB debugging | ||
| - | # | + | # https:// |
| su | su | ||
| setprop service.adb.tcp.port 5555 #-1 to disable | setprop service.adb.tcp.port 5555 #-1 to disable | ||
| Line 35: | Line 58: | ||
| adb connect ip:5555 | adb connect ip:5555 | ||
| adb shell | adb shell | ||
| + | | ||
| + | |||
| + | swap back and menu key: | ||
| + | |||
| + | / | ||
| + | key 158 MENU WAKE_DROPPED | ||
| + | key 139 BACK WAKE_DROPPED | ||
| + | | ||
| + | ====== flashing ====== | ||
| + | |||
| + | http:// | ||
| + | fastboot flash recovery recovery.img | ||
| + | fastboot boot recovery.img | ||
| + | |||
| + | ====== Magisk modules ====== | ||
| + | * https:// | ||
android.1628943601.txt.gz · Last modified: by fe80:f840:deb4:bbc3:6582:0245:a3a6:dfad
