Скачать системное приложение Android с помошью ADB
Получаем список всех приложений
>adb shell pm list packages
Результат:
Узнаем путь к выбранному из списка приложению
adb shell pm path android.rockchip.update.service
Результат: package:/system/app/RKUpdateService.apk
adb shell pm path com.google.android.play.games
Результат: package:/data/app/com.google.android.play.games-1.apk
Грабим караваны
adb pull -a /system/app/RKUpdateService.apk C:/apk/
Результат:
[100%] /system/app/RKUpdateService.apk
Сохраняем apk файл с Android на рабочий стол
adb pull -a /data/app/com.google.android.play.games-1.apk %HOMEPATH%\Desktop
http://codetheory.in/get-application-apk-file-from-android-device-to-your-computer/
PS. Удаление
------
An easy way to uninstall application from device using command.
Just use PACKGE_NAME= app package name which you are trying to install
for windows execute in cmd
Получаем список всех приложений
>adb shell pm list packages
Результат:
package:android package:android.rk.RockVideoPlayer package:android.rockchip.update.service package:com.adobe.flashplayer package:com.android.apkinstaller package:com.android.backupconfirm package:com.android.browser package:com.android.calculator2 package:com.android.certinstaller package:com.android.chrome package:com.android.contacts package:com.android.defcontainer package:com.android.deskclock package:com.android.dreams.basic package:com.android.dreams.phototable package:com.android.email package:com.android.exchange package:com.android.facelock package:com.android.galaxy4 package:com.android.gallery3d package:com.android.htmlviewer package:com.android.inputdevices package:com.android.inputmethod.latin package:com.android.keychain package:com.android.launcher package:com.android.location.fused package:com.android.magicsmoke package:com.android.mms package:com.android.music package:com.android.musicfx package:com.android.musicvis package:com.android.noisefield package:com.android.packageinstaller package:com.android.phasebeam package:com.android.phone package:com.android.providers.applications package:com.android.providers.calendar package:com.android.providers.contacts package:com.android.providers.downloads package:com.android.providers.downloads.ui package:com.android.providers.drm package:com.android.providers.media package:com.android.providers.settings package:com.android.providers.telephony package:com.android.providers.userdictionary package:com.android.provision package:com.android.quicksearchbox package:com.android.rk package:com.android.rk.books package:com.android.rk.mediafloat package:com.android.settings package:com.android.sharedstoragebackup package:com.android.smspush package:com.android.soundrecorder package:com.android.systemui package:com.android.vending package:com.android.vpndialogs package:com.android.wallpaper package:com.android.wallpaper.holospiral package:com.android.wallpaper.livepicker package:com.audioaddict.rr package:com.avast.android.at_play package:com.avast.android.mobilesecurity package:com.ddm.iptools package:com.eolwral.osmonitor package:com.evbadroid.wicapdemo package:com.example.ratcamera_01 package:com.ghisler.android.TotalCommander package:com.google.android.apps.maps package:com.google.android.apps.uploader package:com.google.android.calendar package:com.google.android.ears package:com.google.android.feedback package:com.google.android.gm package:com.google.android.gms package:com.google.android.googlequicksearchbox package:com.google.android.gsf package:com.google.android.gsf.login package:com.google.android.location package:com.google.android.marvin.talkback package:com.google.android.onetimeinitializer package:com.google.android.partnersetup package:com.google.android.street package:com.google.android.syncadapters.bookmarks package:com.google.android.syncadapters.calendar package:com.google.android.syncadapters.contacts package:com.google.android.talk package:com.google.android.tts package:com.google.android.voicesearch package:com.greatbytes.fastreboot package:com.grt_team.wakeup package:com.intel.appx.intel_chat.xwalk15 package:com.intel.html5tools.apppreview package:com.jinsen.browser.widget package:com.myprog.netscan package:com.nilhcem.hostseditor package:com.omichsoft.taskmanager package:com.opentaxi.android package:com.overlook.android.fing package:com.psyberia.flashlight package:com.psyberia.trackmyphone package:com.rk.batteryWidget package:com.rk.globaltime package:com.rs.autorun package:com.svox.pico package:com.ttxapps.wifiadb package:com.varutra.mobilevulndb package:com.varutra.owasp.kalp package:eu.chainfire.supersu package:jp.co.omronsoft.openwnn package:lv.n3o.sharknative package:org.rock.zlibrary.ui.android
Узнаем путь к выбранному из списка приложению
adb shell pm path android.rockchip.update.service
Результат: package:/system/app/RKUpdateService.apk
adb shell pm path com.google.android.play.games
Результат: package:/data/app/com.google.android.play.games-1.apk
Грабим караваны
adb pull -a /system/app/RKUpdateService.apk C:/apk/
Результат:
[100%] /system/app/RKUpdateService.apk
Сохраняем apk файл с Android на рабочий стол
adb pull -a /data/app/com.google.android.play.games-1.apk %HOMEPATH%\Desktop
http://codetheory.in/get-application-apk-file-from-android-device-to-your-computer/
PS. Удаление
------
An easy way to uninstall application from device using command.
Just use PACKGE_NAME= app package name which you are trying to install
for windows execute in cmd
YOUR_PATH\android-sdk\platform-tools>adb uninstall PACKAGE_NAME
for linux execute in terminalYOUR_PATH\android-sdk\platform-tools>./adb uninstall PACKAGE_NAME
----
- Delete the folder containing you apk from command prompt ie adb shell.
a. adb remount -rw
b. adb shell su -c setenforce 0
c. adb shell rm /system/priv-app/[your apk]
d. adb uninstall [package-name]
e. adb reboot
Комментариев нет:
Отправить комментарий