Android

Date: []

General

Instalar mĂșltiples APK (Windows)

for %f in (C:\your_app_path\*.apk) do adb install "%f"

Mostrar logcat en vivo

$ adb devices
$ adb -s "DEVICE ID" logcat

Termux vĂ­a ADB

:: Desde PC

$ adb forward tcp:8022 tcp:8022 && ssh localhost -p 8022

Termux, guardar keys (ssh)

:: Desde Termux

$ export SSH_AUTH_SOCK=$HOME/.sshagent
$ eval $(ssh-agent -a "$SSH_AUTH_SOCK")

Cambiar lockscreen (adb)

:: Cambiar

$ locksettings set-pattern [--old OLD_CREDENTIAL] NEW_PATTERN
$ locksettings set-pin [--old OLD_CREDENTIAL] NEW_PIN
$ locksettings set-password [--old OLD_CREDENTIAL] NEW_PASSWORD

:: Resetear

$ locksettings clear [--old OLD_CREDENTIAL]
$ adb shell "locksettings clear --old XXXX" This will clear your pattern.
$ adb shell "input keyevent 26" This will press the power button for waking up the screen.
$ adb shell "input swipe 300 1000 300 300" This will slide up the screen. Now your phone is clearly unlocked.
$ adb shell "locksettings set-pattern XXXX" This will again set the pattern to old key
$ adb shell input keyevent

$ adb shell input keyevent 26 #Pressing the lock button
$ adb shell input touchscreen swipe 930 880 930 380 #Swipe UP
$ adb shell input text XXXX #Entering your passcode
$ adb shell input keyevent 66 #Pressing Enter

Onyx Boox Note 2

:: Paquetes a desactivar

$ adb shell pm uninstall -k com.android.backup
$ adb shell pm install-existing com.android.backup

$ adb shell pm uninstall --user 0 com.android.browser
$ adb shell pm uninstall --user 0 com.android.calendar
$ adb shell pm uninstall --user 0 com.android.contacts
$ adb shell pm uninstall --user 0 com.android.dreams.basic
$ adb shell pm uninstall --user 0 com.android.dreams.phototable
$ adb shell pm uninstall --user 0 com.android.egg
$ adb shell pm uninstall --user 0 com.android.email
$ adb shell pm uninstall --user 0 com.android.protips
$ adb shell pm uninstall --user 0 com.android.providers.userdictionary
$ adb shell pm uninstall --user 0 com.android.quicksearchbox
$ adb shell pm uninstall --user 0 com.android.traceur
$ adb shell pm uninstall --user 0 com.android.vending
$ adb shell pm uninstall --user 0 com.google.android.gms
$ adb shell pm uninstall --user 0 com.google.android.gms.setup
$ adb shell pm uninstall --user 0 com.google.android.gsf
$ adb shell pm uninstall --user 0 com.google.android.tts
$ adb shell pm uninstall --user 0 com.onyx.android.ksync
$ adb shell pm uninstall --user 0 com.onyx.android.note
$ adb shell pm uninstall --user 0 com.onyx.android.production.test
$ adb shell pm uninstall --user 0 com.onyx.appmarket
$ adb shell pm uninstall --user 0 com.onyx.calculator
$ adb shell pm uninstall --user 0 com.onyx.dict
$ adb shell pm uninstall --user 0 com.onyx.kreader
$ adb shell pm uninstall --user 0 com.onyx.mail
$ adb shell pm uninstall --user 0 com.onyx.pinyinime
$ adb shell pm uninstall --user 0 com.qualcomm.qti.perfdump
$ adb shell pm uninstall --user 0 com.qualcomm.qti.perfdump
$ adb shell pm uninstall --user 0 com.qualcomm.qti.qms.service.telemetry
$ adb shell pm uninstall --user 0 com.qualcomm.qti.sva

:: Dominios/IPs a bloquear

47.88.4.191
en-data.onyx-international.cn
push.boox.com

Hisense A5 (HLTE202N)

:: Modo TF (update)

Apagar el mĂłvil

Mantener pulsados VOL+ | VOL- y acto seguido POWER

Liberar todos los botones tras un par de segundos de encender el mĂłvil

:: Paquetes a desactivar

$ adb shell pm uninstall -k com.android.backup
$ adb shell pm install-existing com.android.backup

$ adb shell pm uninstall --user 0 com.android.backup
$ adb shell pm uninstall --user 0 com.android.browser
$ adb shell pm uninstall --user 0 com.android.calculator2
$ adb shell pm uninstall --user 0 com.android.calendar
$ adb shell pm uninstall --user 0 com.android.camera2
$ adb shell pm uninstall --user 0 com.android.contacts
$ adb shell pm uninstall --user 0 com.android.dreams.basic
$ adb shell pm uninstall --user 0 com.android.egg
$ adb shell pm uninstall --user 0 com.android.einklauncher.plugin.flipcalendar
$ adb shell pm uninstall --user 0 com.android.einklauncher.plugin.memo
$ adb shell pm uninstall --user 0 com.android.einklauncher.plugin.multireader
$ adb shell pm uninstall --user 0 com.android.einklauncher.plugin.musicplugin
$ adb shell pm uninstall --user 0 com.android.einklauncher.plugin.readlaterplugin
$ adb shell pm uninstall --user 0 com.android.einklauncher.plugin.readtimeplugin
$ adb shell pm uninstall --user 0 com.android.engtest
$ adb shell pm uninstall --user 0 com.android.firewall
$ adb shell pm uninstall --user 0 com.android.fontOnline
$ adb shell pm uninstall --user 0 com.android.gallery3d
$ adb shell pm uninstall --user 0 com.android.gallery3dsecret
$ adb shell pm uninstall --user 0 com.android.hmct.bmct
$ adb shell pm uninstall --user 0 com.android.hmctconsumerservice
$ adb shell pm uninstall --user 0 com.android.hplayer
$ adb shell pm uninstall --user 0 com.android.logsettings
$ adb shell pm uninstall --user 0 com.android.mobilemanager
$ adb shell pm uninstall --user 0 com.android.providers.userdictionary
$ adb shell pm uninstall --user 0 com.android.provisionforguide
$ adb shell pm uninstall --user 0 com.android.shadowapps
$ adb shell pm uninstall --user 0 com.android.tnreg.service
$ adb shell pm uninstall --user 0 com.android.traceur
$ adb shell pm uninstall --user 0 com.android.wallpaper.livepicker
$ adb shell pm uninstall --user 0 com.focaltech.ft_terminal_test
$ adb shell pm uninstall --user 0 com.hisense.hiphone.appstore
$ adb shell pm uninstall --user 0 com.hisense.hiphone.payment
$ adb shell pm uninstall --user 0 com.hmct.HmctService
$ adb shell pm uninstall --user 0 com.hmct.account
$ adb shell pm uninstall --user 0 com.hmct.antivirus
$ adb shell pm uninstall --user 0 com.hmct.assist
$ adb shell pm uninstall --user 0 com.hmct.clockeinkwidget
$ adb shell pm uninstall --user 0 com.hmct.einklauncher
$ adb shell pm uninstall --user 0 com.hmct.einklauncher.plugin.wechat
$ adb shell pm uninstall --user 0 com.hmct.facelock
$ adb shell pm uninstall --user 0 com.hmct.factorylogupload
$ adb shell pm uninstall --user 0 com.hmct.ftmode
$ adb shell pm uninstall --user 0 com.hmct.hiphone.juplugin
$ adb shell pm uninstall --user 0 com.hmct.hmctmanual
$ adb shell pm uninstall --user 0 com.hmct.imageedit
$ adb shell pm uninstall --user 0 com.hmct.jdreader
$ adb shell pm uninstall --user 0 com.hmct.mobileclear
$ adb shell pm uninstall --user 0 com.hmct.motionsettings
$ adb shell pm uninstall --user 0 com.hmct.music
$ adb shell pm uninstall --user 0 com.hmct.overlay
$ adb shell pm uninstall --user 0 com.hmct.payguard
$ adb shell pm uninstall --user 0 com.hmct.platform.core
$ adb shell pm uninstall --user 0 com.hmct.questionnaire
$ adb shell pm uninstall --user 0 com.hmct.secretlauncher
$ adb shell pm uninstall --user 0 com.hmct.semantic.analysis
$ adb shell pm uninstall --user 0 com.hmct.userexperienceprogram
$ adb shell pm uninstall --user 0 com.hmct.vision
$ adb shell pm uninstall --user 0 com.hmct.voiceassist
$ adb shell pm uninstall --user 0 com.hmct.voicetranslate
$ adb shell pm uninstall --user 0 com.hmct.worldclockeinkwidget
$ adb shell pm uninstall --user 0 com.iflytek.inputmethod
$ adb shell pm uninstall --user 0 com.iflytek.speechsuite
$ adb shell pm uninstall --user 0 com.juphoon.service
$ adb shell pm uninstall --user 0 com.qti.diagservices
$ adb shell pm uninstall --user 0 com.qti.dpmserviceapp
$ adb shell pm uninstall --user 0 com.qti.xdivert
$ adb shell pm uninstall --user 0 com.qualcomm.qti.modemtestmode
$ adb shell pm uninstall --user 0 com.qualcomm.qti.perfdump
$ adb shell pm uninstall --user 0 com.qualcomm.qti.uceShimService
$ adb shell pm uninstall --user 0 com.tencent.android.location
$ adb shell pm uninstall --user 0 org.hapjs.mockup

:: Dominios/IPs a bloquear

47.246.249.234
52.84.68.6
52.84.68.58
52.84.68.64
52.84.68.74
72.247.20.231
114.114.114.114
115.231.110.150
119.29.29.29
120.198.203.156
129.226.106.18
142.250.200.99
163.181.49.234
180.76.199.156
223.5.5.5
aliyuncs.com
bas.phone.hismarttv.com
connectivitycheck.gstatic.com
g.cn
hismarttv.com
loc.map.baidu.com
lts.onegot.com
mazu.3g.qq.com
oem.cdn.cootekservice.com
qq.com
taobao.com
tools.3g.qq.com
ws2.cootekservice.com
world.taobao.com
www.mazu.3g.qq.com
www.qq.com
www.taobao.com
www.tools.3g.qq.com