sebsauvage.net

Ce site n'est pas le site officiel.
C'est un blog automatisé qui réplique les articles automatiquement

Update

Updating database... Please wait.

Android : Extraire des APK

Thursday 13 August 2020 at 15:16

Je me note ici la méthode pour extraire des apk d'un téléphone via adb quand ce n'est pas possible à partir du téléphone lui-même.

Lister les packages installés:
adb shell pm list packages > packages.txt

Localiser le package d'une application installée:
adb shell pm path com.factory.mmigroup
package:/system/app/MMIGroup/MMIGroup.apk

Puis extraire l'apk en question du téléphone:
adb pull /system/app/MMIGroup/MMIGroup.apk MMIGroup.apk


NON TESTÉ:
Désactiver une appli:
adb shell pm disable-user --user 0 <nomDuPackage>

Réactiver un package:
adb shell pm enable <nomDuPackage>
(Permalink)

Source: https://sebsauvage.net/links/?x8Ozyw


Error happened ! 0 - SQLite3::exec(): database disk image is malformed In: /home/dotmanacac/dotmana/streisand/sebsauvage/index.php:341 http://www.dotmana.com/streisand/sebsauvage/?Android-Extraire-des-APK #0 [internal function]: exception_error_handler(2, 'SQLite3::exec()...', '/home/dotmanaca...', 341, Array) #1 /home/dotmanacac/dotmana/streisand/sebsauvage/index.php(341): SQLite3->exec('UPDATE search S...') #2 /home/dotmanacac/dotmana/streisand/sebsauvage/index.php(440): VroumVroum_Blog->insertOrUpdateArticle('https://sebsauv...', 'Meta va investi...', 'https://www.lem...', 1752524682, 'Apr\xC3\xA8s avoir pe...') #3 /home/dotmanacac/dotmana/streisand/sebsauvage/index.php(792): VroumVroum_Blog->update() #4 {main}