===== Rooter Android ===== Voilà un truc qui me botte depuis un bon moment…. Rooter Android signifie “devenir root” de son système, donc avoir la possibilité de modifier tous ce que l'on souhaite dans le système lui même. Attention, MuX.re n'est en aucun cas responsable de tout problème rencontré lors de votre root. ==== Kingo Root ==== J'ai pu rooter sans problème ma tablette Acer Iconia B1-A71 avec cette application. Je la mentionne donc ici. Il suffit de l'installer, de rooter, de reboot et c'est bon ! Impressionnant, je croyais même pas que ça allait fonctionner. Vous pouvez la télécharger depuis le [[https://www.kingoapp.com/|site officiel]]. Malheureusement l'appli n'est pas libre et open source, elle serait même **soupçonnée de contenir des spys**… mais elle fait le taf. Je pense que sur une vieille tablette que je recycle ça risque pas grand chose, mais vous êtes prévenus. ===== Nettoyer Android ===== ==== Listes de bloatwares ==== Vous pouvez aussi vous basez sur ces listes : https://www.androidsage.com/2018/09/01/list-of-bloatware-remove-uninstall-android-device-without-root/ https://droidwin.com/debloat-remove-bloatware-from-huawei/ ==== Désinstaller des applications systèmes ==== Certaines applications refusent de se désinstaller par l'interface graphique, on peut seulement les désactiver. La solution est d'utiliser **adb**. On peut l'installer via le paquet android-tools sur Archlinux, ou à partir de ce [[https://dl.google.com/android/repository/platform-tools-latest-windows.zip|zip]] sur Windows. Prérequis : * adb * débogage USB activé sur le téléphone * câble USB Après avoir connecté le téléphone par USB, ouvrir un terminal. * Lister les périphériques adb devices * Lister toutes les apps installées adb shell pm list packages * Lister que les apps système adb shell pm list packages -s * Lister que les apps installées par l'utilisateur adb shell pm list packages -3 * Trouver le nom du paquet depuis l'application qui a le focus (en boucle) # Sur linux - methode 1 while :; do adb shell dumpsys window windows | grep "mCurrentFocus" | cut -d\ -f5 | cut -d/ -f1; sleep 1; clear; done # Sur linux - methode 2 while :; do adb shell dumpsys window windows | grep mActivityRecord | head -n1 | cut -d\ -f7 | cut -d/ -f1; sleep 1; clear; done # Sur Linux - methode 3 (Android 10) while :; do adb shell dumpsys window windows | grep ObscuringWindow | awk -F' |}' {'print $5'}; sleep 1; clear; done :: Sur windows FOR /L %L in (0,0,1) DO (adb shell dumpsys window windows | findstr mCurrentFocus && timeout /T 1 > nul && cls) * Voir sur le Play Store à quelle application le nom du paquet correspond (en boucle) saisir le nom du paquet (com.termux par ex) while :; do read -p "> " var; xdg-open "https://play.google.com/store/apps/details?id=$var&hl=fr";echo; done * Désinstaller une app (youtube par exemple) adb shell pm uninstall --user 0 com.google.android.youtube On peut aussi désinstaller une liste de paquets grâce à cette petite boucle for # Sur linux for pkg in $(cat pkg.txt | cut -d\# -f1); do adb shell pm uninstall --user 0 "${pkg}"; done :: Sur windows for /F %A in (pkg.txt) do adb shell pm uninstall --user 0 %A Vous pouvez donc écrire votre propre liste pkg.txt, ou bien utiliser celle ci-dessous. ATTENTION : Avant d'utiliser cette liste, assurez vous d'avoir au moins un gestionnaire d'application autre que Play Store d'installé, une application clavier, une galerie, un lecteur musique, un lecteur vidéo, une application calendrier, une calculette et une application contact. * **pkg.txt** com.android.calculator2 # calculette com.android.chrome # google chrome com.android.email # app email intégrée com.android.gallery3d # gallerie com.android.mediacenter # app Musique android com.android.music # lecteur android intégré com.android.providers.partnerbookmarks com.android.soundrecorder # enregistreur sonore com.android.vending # Google Play Store com.ape.led com.ape.myseneschal com.example.android.notepad # bloc note android com.facebook.katana com.twitter.android com.google.android.apps.books # google play livres com.google.android.apps.cloudprint # google cloud print com.google.android.apps.docs # google docs com.google.android.apps.genie.geniewidget com.google.android.apps.magazines # google play kiosque com.google.android.apps.maps # google maps com.google.android.apps.photos # gallerie (google photo) com.google.android.apps.plus # google plus com.google.android.apps.tachyon # Google duo com.google.android.backuptransport com.google.android.calendar # google agenda com.google.android.diskusage com.google.android.feedback com.google.android.gm # Gmail com.google.android.gms # Google Play services et compte google com.google.android.googlequicksearchbox com.google.android.gsf.login # Google Account Manager com.google.android.inputmethod.latin # clavier google com.google.android.keep # google keep com.google.android.marvin.talkback # accessibilité com.google.android.music # google play music com.google.android.play.games # Google play jeux com.google.android.syncadapters.calendar com.google.android.syncadapters.contacts com.google.android.talk # Hangouts com.google.android.tts # Text to speech com.google.android.videos # google play videos com.google.android.webview # navigateur com.google.android.youtube com.huawei.android.FMRadio # radio com.huawei.android.totemweather # huawei meteo com.huawei.compass # bousolle huawei com.huawei.gamebox.global # HiGame com.huawei.health # huawei santé com.huawei.hidisk # Huawei Files (explorateur) com.huawei.hwid # Gestion compte Huawei com.android.hwmirror # se voir comme dans un mirroir com.huawei.hwvplayer # lecteur video huawei com.huawei.ihealth com.huawei.KoBackup # Huawei sauvegarde com.huawei.phoneservice # HiCare com.huawei.scanner com.pagesjaunes # pages jaunes com.qihoo.security com.qiku.android.clone360 com.qiku.candywall com.qiku.cloudfolder com.samsung.android.app.spage com.samsung.android.bixby.agent com.samsung.android.bixby.es.globalaction com.samsung.android.bixby.plmsync com.samsung.android.bixby.wakeup com.sonymobile.entrance com.tomaszmarzeion.notepad com.gameloft.android.GloftAGMP # jeu Asphalt Nitro com.gameloft.android.GloftPDMF # jeu dragon mania com.gameloft.android.GloftSCRT # jeu scrat com.gameloft.android.GloftDBMF # jeu puzzle pets com.gameloft.android.GloftSMIF # jeu spiderman com.sec.android.app.samsungapps com.google.android.apps.youtube.music com.microsoft.office.officehubrow com.microsoft.skydrive com.microsoft.office.outlook com.sec.android.app.sbrowser com.orange.phone com.orange.update com.orange.orangepro com.orange.vvm com.orange.owtv deezer.android.app com.samsung.android.oneconnect com.sec.android.app.shealth com.samsung.android.app.watchmanager com.samsung.android.voc com.samsung.android.arzone com.samsung.android.spay com.samsung.android.app.tips com.samsung.android.game.gamehome com.samsung.sree Application déconseillée à la désinstallation com.android.deskclock # horloge alarme com.android.gallery3d # Galerie android et editeur photo com.huawei.android.thememanager # !! navigateur sonneries alarmes com.huawei.camera # APN Huawei com.huawei.videoeditor # éditeur vidéo com.google.android.permissioncontroller # petite fenetre Autoriser / Refuser ===== Serveur SSH ===== [[http://www.droidforums.net/threads/ssh-daemon-dropbear-on-android-2-0.9038/|http://www.droidforums.net/threads/ssh-daemon-dropbear-on-android-2-0.9038/]] → Appli SSHDroid (attention plus à jour depuis 4 ans) ===== Sources ===== [[https://www.dadall.info/article657/nettoyer-android|Dadall - Nettoyer android]] [[https://www.reddit.com/r/Android/comments/6ftg72/want_to_completely_disableuninstall_those_pesky/|Reddit - Android]] [[https://stackpointer.io/mobile/android-adb-list-installed-package-names/416/|Stackpointer - Android adb list installed package names]] [[https://stackoverflow.com/questions/16650765/get-application-name-label-via-adb-shell-or-terminal|Stackoverflow]]