2019-07-16
Samsung Galaxy A3
Usage prévu: ex professionnel, converti en spare Exit donc: applications non confidentielles, jeux
Optionnel: Remise en état d'usine dans Recovery / Wipe data/factory reset
Ne pas mettre de SIM, rester hors-ligne jusqu'à mention contraire.
Suivre l'assistant logiciel Android: screenshot
Activer le débogage USB: Préparer le smartphone:
Voir adb
Utilisation RAM:
$ adb shell free -m total used free shared buffers Mem: 3533 3491 42 5 48 -/+ buffers/cache: 3443 90 Swap: 2047 542 1505 $ adb shell cat /proc/meminfo MemTotal: 3618628 kB MemFree: 36200 kB MemAvailable: 2150168 kB Buffers: 49572 kB Cached: 2036816 kB SwapCached: 57448 kB Active: 1611904 kB Inactive: 1073140 kB Active(anon): 357552 kB Inactive(anon): 246752 kB Active(file): 1254352 kB Inactive(file): 826388 kB Unevictable: 256 kB Mlocked: 256 kB SwapTotal: 2097148 kB SwapFree: 1549760 kB Dirty: 4 kB Writeback: 0 kB AnonPages: 592172 kB Mapped: 908916 kB Shmem: 5644 kB Slab: 233184 kB SReclaimable: 125904 kB SUnreclaim: 107280 kB KernelStack: 30960 kB PageTables: 65136 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 3906460 kB Committed_AS: 132432924 kB VmallocTotal: 260046784 kB VmallocUsed: 404428 kB VmallocChunk: 255969280 kButilisation CPU:
$ adb shell uptime 09:27:08 up 38 min, 0 users, load average: 5.49, 6.34, 4.25État juste après installation avec notifications, son, rotation auto, NFC, synchro et RAM bien chargée.
Nous sommes des gens civilisés, désactivons tout et laissons le mode avion et portrait.
Utilisation RAM: purger la RAM dans paramètres/maintenance de l'appareilmémoire/, fermer applications actives (bouton gauche), laisser le smartphone inactif quelques minutes, puis recommencer:
$ adb shell free -m total used free shared buffers Mem: 3533 3375 158 8 50 -/+ buffers/cache: 3324 208 Swap: 2047 353 1694 $ adb shell cat /proc/meminfo MemTotal: 3618628 kB MemFree: 161016 kB MemAvailable: 2369056 kB Buffers: 52240 kB Cached: 2039220 kB SwapCached: 55632 kB Active: 1595588 kB Inactive: 993428 kB Active(anon): 337332 kB Inactive(anon): 168764 kB Active(file): 1258256 kB Inactive(file): 824664 kB Unevictable: 256 kB Mlocked: 256 kB SwapTotal: 2097148 kB SwapFree: 1735096 kB Dirty: 4 kB Writeback: 0 kB AnonPages: 486936 kB Mapped: 758100 kB Shmem: 8540 kB Slab: 308528 kB SReclaimable: 217796 kB SUnreclaim: 90732 kB KernelStack: 22288 kB PageTables: 40124 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 3906460 kB Committed_AS: 78547360 kB VmallocTotal: 260046784 kB VmallocUsed: 367288 kB VmallocChunk: 255969280 kButilisation CPU:
$ adb shell uptime 09:44:25 up 55 min, 0 users, load average: 5.54, 5.64, 5.16Nous grapillons 200 Mo à tout casser.
$ adb shell df -h Filesystem Size Used Avail Use% Mounted on rootfs 1.5G 9.4M 1.5G 1% / tmpfs 1.7G 728K 1.7G 1% /dev tmpfs 1.7G 0 1.7G 0% /mnt tmpfs 1.7G 0 1.7G 0% /mnt/secure /dev/block/dm-0 4.1G 3.9G 196M 96% /system /dev/block/sda15 193M 2.9M 190M 2% /cache /dev/block/sda3 16M 2.3M 13M 15% /efs /dev/block/sda13 4.8M 44K 4.8M 1% /persdata/absolute /dev/block/sdd1 1.8M 556K 1.3M 29% /cpefs tmpfs 1.7G 0 1.7G 0% /storage /dev/block/dm-1 25G 1.1G 23G 5% /data /data/knox/tmp_sdcard 25G 1.1G 23G 5% /mnt/knox /data/knox/secure_fs/enc_media 25G 1.1G 23G 5% /mnt/shell/enc_media /data/media 25G 1.1G 23G 5% /storage/emulated /data/knox/secure_fs/enc_user 25G 1.1G 23G 5% /data/enc_user /mnt/shell/enc_media 25G 1.1G 23G 5% /mnt/shell/enc_emulatedles binaires disponibles:
$ adb shell ls system/bin ls: system/bin/uncrypt: Permission denied
acpi hostapd qemud am hostname racoon androidshmservice hwclock readlink apaservice icd realpath apexserver id reboot app_process idmap redsocks app_process32 ifconfig renice app_process64 iftop requestsync applypatch ime resetreason appops imsd resize2fs appwidget inotifyd restorecon argosd input rild at_distributor insmod rm atrace install-recovery.sh rmdir audioserver installd rmmod auditd insthk route base64 ioctl rpmbd basename iod rtc_log.sh bcc ionice run-as bcm_sensorhub_a1.patch iorenice runcon bintvoutservice ip samsungpowersoundplay blkid ip6tables schedtest blockdev ip6tables-restore screencap bmgr ip6tables-save screenrecord bootanimation iptables scs bootchecker iptables-restore sdcard bootstat iptables-save sdp_cryptod bu jackd secdiscard bugreport jackservice secure_storage_daemon bugreportz keystore secure_storage_pm bzcat kill sed cal killall sem_daemon cameraserver ld.mc sendevent cat lhd sensorhubservice charon linker sensorservice chcon linker64 seq chgrp lmkd service chmod ln servicemanager chown load_policy setenforce chroot log setprop cksum logcat setsid clatd logd settings clear logname sfotahelper cmd logwrapper sgdisk cmp losetup sh comm lpm sha1sum connfwexe ls sleep content lsmod sm cp lsof smdexe cpio lsusb sort cs macloader split cut make_ext4fs ss_conn_daemon dalvikvm make_f2fs ss_kbservice_daemon dalvikvm32 mcDriverDaemon start dalvikvm64 md5sum stat date mdnsd stop dd media strings ddexe mediacodec surfaceflinger debuggerd mediadrmserver svc debuggerd64 mediaextractor swapoff dex2oat mediaserver swapon dexdump mfgloader sync df mkdir sysctl diagexe mkfs.exfat tac dirname mknod tail dm_verity_tz_cmd mkswap tar dmesg mktemp taskset dnsmasq modinfo tc dos2unix monkey tee dpm more telecom drmserver mount tima_dump_log du mountpoint time dumpstate mtpd timeout dumpsys mv tlc_server e2fsck nandread toolbox echo ndc top edmaudit netd touch egrep netstat toybox env newfs_msdos tr epmlogd nice true eris nl truncate expand nohup tty expr oatdump tzdatacheck fallocate od uiautomator false otp_server ulimit fgrep paste umount find patch uname fingerprintd patchoat uniq flock pgrep unix2dos free pidof uptime fsck.exfat ping usleep fsck.f2fs ping6 vdc fsck_msdos pkill vmstat gatekeeperd pm vold getenforce pmap wc getevent pppd which getprop prepare_param.sh whoami gps.cer printenv wlandutservice gpsd printf wm grep prlimit wpa_supplicant groups profman wvkprov gzip ps xargs head pwd xxd hid qemu-props yes
Kernel
$ adb shell cat /proc/version Linux version 3.18.14-11104523 (dpi@SWHE7715) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Apr 17 17:01:00 KST 2017
Nous utiliserons adb et la commande pm (package manager), voir documentation
adb shell # lister applications installées $ pm list packages | sed -e 's/^package://' | sort
android com.amazon.mShop.android.shopping com.android.apps.tag com.android.backupconfirm com.android.bluetooth com.android.bluetoothmidiservice com.android.bookmarkprovider com.android.calendar com.android.calllogbackup com.android.captiveportallogin com.android.carrierconfig com.android.certinstaller com.android.chrome com.android.contacts com.android.cts.ctsshim com.android.cts.priv.ctsshim com.android.defcontainer com.android.documentsui com.android.dreams.basic com.android.dreams.phototable com.android.egg com.android.emergency com.android.externalstorage com.android.htmlviewer com.android.inputdevices com.android.keychain com.android.location.fused com.android.managedprovisioning com.android.mms com.android.mms.service com.android.mtp com.android.nfc com.android.pacprocessor com.android.phone com.android.printspooler com.android.providers.blockednumber com.android.providers.calendar com.android.providers.contacts com.android.providers.downloads com.android.providers.downloads.ui com.android.providers.media com.android.providers.partnerbookmarks com.android.providers.settings com.android.providers.telephony com.android.providers.userdictionary com.android.proxyhandler com.android.server.telecom com.android.settings com.android.sharedstoragebackup com.android.shell com.android.statementservice com.android.stk com.android.stk2 com.android.systemui com.android.vending com.android.vpndialogs com.android.wallpaper.livepicker com.android.wallpaperbackup com.android.wallpapercropper com.dsi.ant.plugins.antplus com.dsi.ant.sample.acquirechannels com.dsi.ant.server com.dsi.ant.service.socket com.enhance.gameservice com.facebook.appmanager com.facebook.system com.gameloft.android.GloftDBMF com.gameloft.android.GloftPDMF com.gameloft.android.GloftSMIF com.gd.mobicore.pa com.google.android.apps.docs com.google.android.apps.maps com.google.android.apps.photos com.google.android.backuptransport com.google.android.configupdater com.google.android.ext.services com.google.android.ext.shared com.google.android.feedback com.google.android.gm com.google.android.gms com.google.android.googlequicksearchbox com.google.android.gsf com.google.android.gsf.login com.google.android.music com.google.android.onetimeinitializer com.google.android.packageinstaller com.google.android.partnersetup com.google.android.printservice.recommendation com.google.android.setupwizard com.google.android.syncadapters.calendar com.google.android.syncadapters.contacts com.google.android.talk com.google.android.tts com.google.android.videos com.google.android.webview com.google.android.youtube com.microsoft.office.excel com.microsoft.office.onenote com.microsoft.office.powerpoint com.microsoft.office.word com.microsoft.skydrive com.mobeam.barcodeService com.monotype.android.font.chococooky com.monotype.android.font.cooljazz com.monotype.android.font.foundation com.monotype.android.font.rosemary com.orange.appshop com.orange.fr.cloudorange com.orange.orangecash.fr com.orange.orangeetmoi com.orange.owtv com.orange.update com.orange.vvm com.osp.app.signin com.policydm com.samsung.SMT com.samsung.aasaservice com.samsung.advp.imssettings com.samsung.android.MtpApplication com.samsung.android.SettingsReceiver com.samsung.android.allshare.service.fileshare com.samsung.android.allshare.service.mediashare com.samsung.android.app.accesscontrol com.samsung.android.app.advsounddetector com.samsung.android.app.aodservice com.samsung.android.app.appupdater com.samsung.android.app.assistantmenu com.samsung.android.app.colorblind com.samsung.android.app.filterinstaller com.samsung.android.app.galaxyfinder com.samsung.android.app.interactivepanoramaviewer com.samsung.android.app.memo com.samsung.android.app.mirrorlink com.samsung.android.app.motionpanoramaviewer com.samsung.android.app.multiwindow com.samsung.android.app.scrollcapture com.samsung.android.app.selfmotionpanoramaviewer com.samsung.android.app.simplesharing com.samsung.android.app.soundpicker com.samsung.android.app.talkback com.samsung.android.app.vrsetupwizardstub com.samsung.android.app.watchmanager com.samsung.android.app.watchmanagerstub com.samsung.android.app.withtv com.samsung.android.authfw com.samsung.android.authservice com.samsung.android.bbc.bbcagent com.samsung.android.beaconmanager com.samsung.android.bluelightfilter com.samsung.android.calendar com.samsung.android.clipboarduiservice com.samsung.android.communicationservice com.samsung.android.contacts com.samsung.android.controltv com.samsung.android.coreapps com.samsung.android.dlp.service com.samsung.android.drivelink.stub com.samsung.android.easysetup com.samsung.android.email.provider com.samsung.android.fingerprint.service com.samsung.android.fmm com.samsung.android.framework.res com.samsung.android.game.gamehome com.samsung.android.game.gametools com.samsung.android.hmt.vrshell com.samsung.android.hmt.vrsvc com.samsung.android.incallui com.samsung.android.intelligenceservice2 com.samsung.android.keyguardwallpaperupdator com.samsung.android.location com.samsung.android.lool com.samsung.android.mdm com.samsung.android.messaging com.samsung.android.mhdrservice com.samsung.android.networkdiagnostic com.samsung.android.oneconnect com.samsung.android.personalpage.service com.samsung.android.provider.filterprovider com.samsung.android.provider.shootingmodeprovider com.samsung.android.providers.context com.samsung.android.quickassist com.samsung.android.radiobasedlocation com.samsung.android.radiobasedlocation.manager com.samsung.android.samsungpass com.samsung.android.scloud com.samsung.android.sdk.handwriting com.samsung.android.sdk.professionalaudio.app.audioconnectionservice com.samsung.android.sdk.professionalaudio.utility.jammonitor com.samsung.android.securitylogagent com.samsung.android.slinkcloud com.samsung.android.sm com.samsung.android.sm.devicesecurity com.samsung.android.sm.policy com.samsung.android.sm.provider com.samsung.android.smartcallprovider com.samsung.android.smartface com.samsung.android.spayfw com.samsung.android.svcagent com.samsung.android.themecenter com.samsung.android.themestore com.samsung.android.tzdata.update com.samsung.android.universalswitch com.samsung.android.video com.samsung.android.voc com.samsung.android.voicewakeup com.samsung.android.weather com.samsung.app.highlightplayer com.samsung.app.newtrim com.samsung.app.slowmotion com.samsung.clipboardsaveservice com.samsung.cmh com.samsung.crane com.samsung.dcmservice com.samsung.enhanceservice com.samsung.faceservice com.samsung.fresco.logging com.samsung.hs20provider com.samsung.ipservice com.samsung.klmsagent com.samsung.knox.appsupdateagent com.samsung.knox.rcp.components com.samsung.knox.securefolder com.samsung.safetyinformation com.samsung.sec.android.application.csc com.samsung.storyservice com.samsung.svoice.sync com.samsung.ucs.agent.boot com.samsung.ucs.agent.ese com.samsung.upsmtheme com.samsung.voiceserviceplatform com.sec.android.AutoPreconfig com.sec.android.Preconfig com.sec.android.RilServiceModeApp com.sec.android.app.DataCreate com.sec.android.app.SecSetupWizard com.sec.android.app.apex com.sec.android.app.applinker com.sec.android.app.billing com.sec.android.app.bluetoothtest com.sec.android.app.camera com.sec.android.app.camera.plb com.sec.android.app.chromecustomizations com.sec.android.app.clipvideo com.sec.android.app.clockpackage com.sec.android.app.dictionary com.sec.android.app.easylauncher com.sec.android.app.factorykeystring com.sec.android.app.hwmoduletest com.sec.android.app.launcher com.sec.android.app.magnifier com.sec.android.app.myfiles com.sec.android.app.parser com.sec.android.app.personalization com.sec.android.app.popupcalculator com.sec.android.app.ringtoneBR com.sec.android.app.safetyassurance com.sec.android.app.samsungapps com.sec.android.app.sbrowser com.sec.android.app.servicemodeapp com.sec.android.app.shealth com.sec.android.app.simsettingmgr com.sec.android.app.sns3 com.sec.android.app.snsimagecache com.sec.android.app.soundalive com.sec.android.app.sysscope com.sec.android.app.vepreload com.sec.android.app.voicenote com.sec.android.app.wfdbroker com.sec.android.app.wlantest com.sec.android.cover.ledcover com.sec.android.daemonapp com.sec.android.diagmonagent com.sec.android.easyMover com.sec.android.easyMover.Agent com.sec.android.easyonehand com.sec.android.emergencylauncher com.sec.android.emergencymode.service com.sec.android.fido.uaf.asm com.sec.android.fido.uaf.client com.sec.android.gallery3d com.sec.android.gallery3d.panorama360view com.sec.android.inputmethod com.sec.android.mimage.photoretouching com.sec.android.ofviewer com.sec.android.omc com.sec.android.preloadinstaller com.sec.android.provider.badge com.sec.android.provider.emergencymode com.sec.android.providers.security com.sec.android.providers.tasks com.sec.android.service.health com.sec.android.soagent com.sec.android.splitsound com.sec.android.uibcvirtualsoftkey com.sec.android.wallpapercropper2 com.sec.android.widgetapp.easymodecontactswidget com.sec.android.widgetapp.samsungapps com.sec.android.widgetapp.webmanual com.sec.app.RilErrorNotifier com.sec.app.TransmitPowerService com.sec.app.samsungprintservice com.sec.automation com.sec.bcservice com.sec.enterprise.knox.attestation com.sec.enterprise.knox.cloudmdm.smdms com.sec.enterprise.knox.myknoxsetupwizard com.sec.enterprise.mdm.services.simpin com.sec.enterprise.mdm.vpn com.sec.epdg com.sec.epdgtestapp com.sec.factory com.sec.factory.camera com.sec.hearingadjust com.sec.ims com.sec.imslogger com.sec.imsservice com.sec.knox.foldercontainer com.sec.knox.knoxsetupwizardclient com.sec.knox.switcher com.sec.location.nsflp2 com.sec.modem.settings com.sec.phone com.sec.smartcard.manager com.sec.spen.flashannotate com.sec.spp.push com.sec.sve com.sec.svoice.lang.de_DE com.sec.svoice.lang.en_GB com.sec.svoice.lang.en_US com.sec.svoice.lang.es_ES com.sec.svoice.lang.fr_FR com.sec.svoice.lang.it_IT com.sec.svoice.lang.ru_RU com.sec.usbsettings com.sem.factoryapp com.skms.android.agent com.trustonic.tuiservice com.wsomacp com.wssnps com.wssyncmldm de.axelspringer.yana.zeropage deezer.android.app fr.epresse.android org.simalliance.openmobileapi.service
# plus d'infos sur un package (regex possible) $ $ dumpsys | grep -A18 "Package \[com.sec.android.widgetapp.samsungapps\]" Package [com.sec.android.widgetapp.samsungapps] (937025e): userId=10021 pkg=Package{1d8d63f com.sec.android.widgetapp.samsungapps} codePath=/system/priv-app/GalaxyAppsWidget_Phone_Hero resourcePath=/system/priv-app/GalaxyAppsWidget_Phone_Hero legacyNativeLibraryDir=/system/priv-app/GalaxyAppsWidget_Phone_Hero/lib primaryCpuAbi=null secondaryCpuAbi=null versionCode=170701100 minSdk=21 targetSdk=24 versionName=1.7.07-1 splits=[base] apkSigningVersion=1 applicationInfo=ApplicationInfo{845df99 com.sec.android.widgetapp.samsungapps} flags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ] privateFlags=[ PRIVILEGED RESIZEABLE_ACTIVITIES ] dataDir=/data/user/0/com.sec.android.widgetapp.samsungapps supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity] timeStamp=2017-04-17 11:03:34 firstInstallTime=2017-04-17 11:03:34 # supprimer une application $ pm uninstall com.android.chrome pm uninstall com.android.chrome Failure [DELETE_FAILED_INTERNAL_ERROR] # nous n'avons pas les droits # cependant pour l'user 0, cad user du telephone, nous pouvons les supprimer $ pm uninstall --user 0 com.android.chrome pm uninstall --user 0 com.android.chrome Success
à quoi sert tel ou tel package
J'ai carrément fait mon propre script
N'ayant pas trouvé d'index/annuaire universel librement accessible des packages, je passe par un client google play
# liste les packages installés par l'user $ pm list packages -3 | sort | sed 's/package://' com.amazon.mShop.android.shopping com.gameloft.android.GloftDBMF com.gameloft.android.GloftPDMF com.gameloft.android.GloftSMIF com.orange.fr.cloudorange com.orange.orangecash.fr com.orange.orangeetmoi com.orange.owtv com.orange.vvm com.sec.android.easyMover deezer.android.app fr.epresse.android # téléphone vierge, étonnant non ? # ce sont les packages rajoutés par l'opérateur, Orange ici # packages désactivés de base $ pm list packages -d | sort | sed 's/package://' com.android.calendar com.android.contacts com.android.mms com.google.android.webview com.samsung.android.dlp.service com.samsung.android.game.gamehome com.samsung.android.sm com.samsung.knox.securefolder com.samsung.upsmtheme com.sec.android.emergencylauncher # avec du knox $ pm list packages | grep knox | sort | sed 's/package://' com.samsung.knox.appsupdateagent com.samsung.knox.rcp.components com.samsung.knox.securefolder com.sec.enterprise.knox.attestation com.sec.enterprise.knox.cloudmdm.smdms com.sec.enterprise.knox.myknoxsetupwizard com.sec.knox.foldercontainer com.sec.knox.knoxsetupwizardclient com.sec.knox.switcher # avec du orange $ pm list packages | grep orange | sort | sed 's/package://' com.orange.appshop com.orange.fr.cloudorange com.orange.orangecash.fr com.orange.orangeetmoi com.orange.owtv com.orange.update com.orange.vvm # avec du microsoft $ pm list packages | grep microsoft | sort | sed 's/package://' com.microsoft.office.excel com.microsoft.office.onenote com.microsoft.office.powerpoint com.microsoft.office.word com.microsoft.skydrive # avec du chrome $ pm list packages | grep chrome | sort | sed 's/package://' com.android.chrome com.sec.android.app.chromecustomizations # maintenant plus délicat, du mélange d'applications et système # l'option -f permet de voir fichier associé et emplacement # cela révèle le nom commun de l'application # avec du google dedans $ pm list packages -f | grep google | sort | sed 's/package:\/system\///' app/Drive/Drive.apk=com.google.android.apps.docs app/Gmail2/Gmail2.apk=com.google.android.gm app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk=com.google.android.syncadapters.calendar app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk=com.google.android.syncadapters.contacts app/GoogleExtShared/GoogleExtShared.apk=com.google.android.ext.shared app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk=com.google.android.printservice.recommendation app/GoogleTTS/GoogleTTS.apk=com.google.android.tts app/Hangouts/Hangouts.apk=com.google.android.talk app/Maps/Maps.apk=com.google.android.apps.maps app/Music2/Music2.apk=com.google.android.music app/Photos/Photos.apk=com.google.android.apps.photos app/Videos/Videos.apk=com.google.android.videos app/WebViewGoogle/WebViewGoogle.apk=com.google.android.webview app/YouTube/YouTube.apk=com.google.android.youtube priv-app/ConfigUpdater/ConfigUpdater.apk=com.google.android.configupdater priv-app/GmsCore/GmsCore.apk=com.google.android.gms priv-app/GoogleBackupTransport/GoogleBackupTransport.apk=com.google.android.backuptransport priv-app/GoogleExtServices/GoogleExtServices.apk=com.google.android.ext.services priv-app/GoogleFeedback/GoogleFeedback.apk=com.google.android.feedback priv-app/GoogleLoginService/GoogleLoginService.apk=com.google.android.gsf.login priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk=com.google.android.onetimeinitializer priv-app/GooglePackageInstaller/GooglePackageInstaller.apk=com.google.android.packageinstaller priv-app/GooglePartnerSetup/GooglePartnerSetup.apk=com.google.android.partnersetup priv-app/GoogleServicesFramework/GoogleServicesFramework.apk=com.google.android.gsf priv-app/SetupWizard/SetupWizard.apk=com.google.android.setupwizard priv-app/Velvet/Velvet.apk=com.google.android.googlequicksearchbox # avec du samsung $ pm list packages -f | grep samsung | sort | sed 's/package:\/system\///'
app/AASAservice/AASAservice.apk=com.samsung.aasaservice app/AdvSoundDetector2015/AdvSoundDetector2015.apk=com.samsung.android.app.advsounddetector app/AllshareFileShare/AllshareFileShare.apk=com.samsung.android.allshare.service.fileshare app/AllshareMediaShare/AllshareMediaShare.apk=com.samsung.android.allshare.service.mediashare app/BBCAgent/BBCAgent.apk=com.samsung.android.bbc.bbcagent app/CarmodeStub/CarmodeStub.apk=com.samsung.android.drivelink.stub app/ClipboardSaveService/ClipboardSaveService.apk=com.samsung.clipboardsaveservice app/ClipboardUIService/ClipboardUIService.apk=com.samsung.android.clipboarduiservice app/CloudGateway2016/CloudGateway2016.apk=com.samsung.android.slinkcloud app/CoreApps_SDK/CoreApps_SDK.apk=com.samsung.android.coreapps app/ESEServiceAgent/ESEServiceAgent.apk=com.samsung.ucs.agent.ese app/FilterInstaller/FilterInstaller.apk=com.samsung.android.app.filterinstaller app/FilterProvider/FilterProvider.apk=com.samsung.android.provider.filterprovider app/GearManagerStub/GearManagerStub.apk=com.samsung.android.app.watchmanagerstub app/HandwritingService/HandwritingService.apk=com.samsung.android.sdk.handwriting app/HighlightPlayer_Grace_N/HighlightPlayer_Grace_N.apk=com.samsung.app.highlightplayer app/Hs20Provider/Hs20Provider.apk=com.samsung.hs20provider app/ImsSettings/ImsSettings.apk=com.samsung.advp.imssettings app/InteractivePanoramaViewer_WQHD/InteractivePanoramaViewer_WQHD.apk=com.samsung.android.app.interactivepanoramaviewer app/MDMApp/MDMApp.apk=com.samsung.android.mdm app/MhdrService/MhdrService.apk=com.samsung.android.mhdrservice app/MirrorLink/MirrorLink.apk=com.samsung.android.app.mirrorlink app/MobilePrintSvc_Samsung/MobilePrintSvc_Samsung.apk=com.sec.app.samsungprintservice app/MotionPanoramaViewer/MotionPanoramaViewer.apk=com.samsung.android.app.motionpanoramaviewer app/QuickConnect/QuickConnect.apk=com.samsung.android.oneconnect app/RemoteControl/RemoteControl.apk=com.samsung.android.controltv app/SCPMClient_N/SCPMClient_N.apk=com.samsung.android.sm.policy app/SLocation/SLocation.apk=com.samsung.android.location app/STalkback/STalkback.apk=com.samsung.android.app.talkback app/SafetyInformation/SafetyInformation.apk=com.samsung.safetyinformation app/SamsungCalendar_Stable/SamsungCalendar_Stable.apk=com.samsung.android.calendar app/SamsungDLPService/SamsungDLPService.apk=com.samsung.android.dlp.service app/SamsungTTS/SamsungTTS.apk=com.samsung.SMT app/SapaAudioConnectionService/SapaAudioConnectionService.apk=com.samsung.android.sdk.professionalaudio.app.audioconnectionservice app/SapaMonitor/SapaMonitor.apk=com.samsung.android.sdk.professionalaudio.utility.jammonitor app/ScrollCapture/ScrollCapture.apk=com.samsung.android.app.scrollcapture app/SecMemo3/SecMemo3.apk=com.samsung.android.app.memo app/SecurityLogAgent/SecurityLogAgent.apk=com.samsung.android.securitylogagent app/SelfMotionPanoramaViewer/SelfMotionPanoramaViewer.apk=com.samsung.android.app.selfmotionpanoramaviewer app/ShareLink/ShareLink.apk=com.samsung.android.app.simplesharing app/SlowMotion_Grace_N/SlowMotion_Grace_N.apk=com.samsung.app.slowmotion app/SmartCallProvider/SmartCallProvider.apk=com.samsung.android.smartcallprovider app/UPSMTheme/UPSMTheme.apk=com.samsung.upsmtheme app/UniversalSwitch/UniversalSwitch.apk=com.samsung.android.universalswitch app/VideoTrimmer_Hero/VideoTrimmer_Hero.apk=com.samsung.app.newtrim app/Weather2017_SE/Weather2017_SE.apk=com.samsung.android.weather app/bootagent/bootagent.apk=com.samsung.ucs.agent.boot app/withTV/withTV.apk=com.samsung.android.app.withtv framework/samsung-framework-res/samsung-framework-res.apk=com.samsung.android.framework.res priv-app/AODService_v20/AODService_v20.apk=com.samsung.android.app.aodservice priv-app/AccessControl_N/AccessControl_N.apk=com.samsung.android.app.accesscontrol priv-app/AppUpdater/AppUpdater.apk=com.samsung.android.app.appupdater priv-app/AssistantMenu_N/AssistantMenu_N.apk=com.samsung.android.app.assistantmenu priv-app/AuthFramework/AuthFramework.apk=com.samsung.android.authfw priv-app/AuthService_v2/AuthService_v2.apk=com.samsung.android.authservice priv-app/BeaconManager/BeaconManager.apk=com.samsung.android.beaconmanager priv-app/BlueLightFilter/BlueLightFilter.apk=com.samsung.android.bluelightfilter priv-app/CMHProvider/CMHProvider.apk=com.samsung.cmh priv-app/CSC/CSC.apk=com.samsung.sec.android.application.csc priv-app/ColorBlind_N/ColorBlind_N.apk=com.samsung.android.app.colorblind priv-app/ContextProvider/ContextProvider.apk=com.samsung.android.providers.context priv-app/Crane/Crane.apk=com.samsung.crane priv-app/DCMService/DCMService.apk=com.samsung.dcmservice priv-app/EasySetup/EasySetup.apk=com.samsung.android.easysetup priv-app/EnhanceService/EnhanceService.apk=com.samsung.enhanceservice priv-app/FaceService/FaceService.apk=com.samsung.faceservice priv-app/FingerprintService2/FingerprintService2.apk=com.samsung.android.fingerprint.service priv-app/Fmm/Fmm.apk=com.samsung.android.fmm priv-app/Fresco_1.0/Fresco_1.0.apk=com.samsung.fresco.logging priv-app/GalaxyAppsWidget_Phone_Hero/GalaxyAppsWidget_Phone_Hero.apk=com.sec.android.widgetapp.samsungapps priv-app/GalaxyApps_3xh/GalaxyApps_3xh.apk=com.sec.android.app.samsungapps priv-app/GalaxyCare/GalaxyCare.apk=com.samsung.android.voc priv-app/GalaxyThemes/GalaxyThemes.apk=com.samsung.android.themestore priv-app/GameHome/GameHome.apk=com.samsung.android.game.gamehome priv-app/GameTools/GameTools.apk=com.samsung.android.game.gametools priv-app/GearManager/GearManager.apk=com.samsung.android.app.watchmanager priv-app/IPService/IPService.apk=com.samsung.ipservice priv-app/KLMSAgent/KLMSAgent.apk=com.samsung.klmsagent priv-app/KeyguardWallpaperUpdator/KeyguardWallpaperUpdator.apk=com.samsung.android.keyguardwallpaperupdator priv-app/LegacySmartManager/LegacySmartManager.apk=com.samsung.android.sm priv-app/LegacySmartManagerProvider/LegacySmartManagerProvider.apk=com.samsung.android.sm.provider priv-app/Messaging_Common/Messaging_Common.apk=com.samsung.android.messaging priv-app/MsgCommService/MsgCommService.apk=com.samsung.android.communicationservice priv-app/MtpApplication/MtpApplication.apk=com.samsung.android.MtpApplication priv-app/NetworkDiagnostic/NetworkDiagnostic.apk=com.samsung.android.networkdiagnostic priv-app/PaymentFramework/PaymentFramework.apk=com.samsung.android.spayfw priv-app/PersonalPageService/PersonalPageService.apk=com.samsung.android.personalpage.service priv-app/QuickAssist/QuickAssist.apk=com.samsung.android.quickassist priv-app/RNB/RNB.apk=com.samsung.android.hmt.vrsvc priv-app/RNBShell/RNBShell.apk=com.samsung.android.hmt.vrshell priv-app/RadioBasedLocation/RadioBasedLocation.apk=com.samsung.android.radiobasedlocation priv-app/RadioBasedLocationManager/RadioBasedLocationManager.apk=com.samsung.android.radiobasedlocation.manager priv-app/SFinder_v6/SFinder_v6.apk=com.samsung.android.app.galaxyfinder priv-app/SMusicPicker/SMusicPicker.apk=com.samsung.android.app.soundpicker priv-app/SVCAgent/SVCAgent.apk=com.samsung.android.svcagent priv-app/SVoice/SVoice.apk=com.samsung.voiceserviceplatform priv-app/SVoicePLM/SVoicePLM.apk=com.samsung.svoice.sync priv-app/SamsungCloud/SamsungCloud.apk=com.samsung.android.scloud priv-app/SamsungContacts80/SamsungContacts80.apk=com.samsung.android.contacts priv-app/SamsungInCallUI/SamsungInCallUI.apk=com.samsung.android.incallui priv-app/SamsungMultiWindow/SamsungMultiWindow.apk=com.samsung.android.app.multiwindow priv-app/SamsungPass_1.1/SamsungPass_1.1.apk=com.samsung.android.samsungpass priv-app/SamsungVideoPlayer_DreamPreview/SamsungVideoPlayer_DreamPreview.apk=com.samsung.android.video priv-app/SecEmail_N/SecEmail_N.apk=com.samsung.android.email.provider priv-app/SettingsReceiver/SettingsReceiver.apk=com.samsung.android.SettingsReceiver priv-app/ShootingModeProvider2/ShootingModeProvider2.apk=com.samsung.android.provider.shootingmodeprovider priv-app/SmartManager_v5/SmartManager_v5.apk=com.samsung.android.lool priv-app/SmartManager_v5_DeviceSecurity/SmartManager_v5_DeviceSecurity.apk=com.samsung.android.sm.devicesecurity priv-app/StoryService/StoryService.apk=com.samsung.storyservice priv-app/ThemeCenter/ThemeCenter.apk=com.samsung.android.themecenter priv-app/TzDataUpdater/TzDataUpdater.apk=com.samsung.android.tzdata.update priv-app/VRSetupWizardStub/VRSetupWizardStub.apk=com.samsung.android.app.vrsetupwizardstub priv-app/VoiceWakeUp/VoiceWakeUp.apk=com.samsung.android.voicewakeup priv-app/intelligenceservice2/intelligenceservice2.apk=com.samsung.android.intelligenceservice2 priv-app/smartfaceservice/smartfaceservice.apk=com.samsung.android.smartface
Méthodologie de recherche:
$ export app # chercher package $ pm list packages| grep sound package:com.sec.android.app.soundalive package:com.samsung.android.app.advsounddetector package:com.samsung.android.app.soundpicker package:com.sec.android.splitsound # détail package app=com.sec.android.app.soundalive dumpsys | grep -A18 "Package \[$app\]" ...Combiner les noms des packages avec leur version faire un listing complet facilite la recherche.
Liste purement subjective faite sur expérience et analyse des tâches.
Ici le but est de sabrer samsung, google et knox.
Pour usage sans google play, sans jeux, sans social.
Don't panic:
pm uninstall --user 0
L'user 0 est l'utilisateur principal du smartphone, les applications restent liées au système.
Un Wipe data/factory reset remet les applications.
# surcouche inconnue pm uninstall --user 0 com.amazon.mShop.android.shopping # Boutique Amazon pm uninstall --user 0 com.gameloft.android.GloftDBMF # Puzzle Pets pm uninstall --user 0 com.gameloft.android.GloftPDMF # Dragon Mania pm uninstall --user 0 com.gameloft.android.GloftSMIF # Spider-Man : Ultimate Power pm uninstall --user 0 com.sec.android.easyMover # Smart Switch pm uninstall --user 0 deezer.android.app # Deezer pm uninstall --user 0 fr.epresse.android # ePresse.fr # surcouche orange pm uninstall --user 0 com.orange.appshop # Orange Jeux pm uninstall --user 0 com.orange.fr.cloudorange # Cloud Orange pm uninstall --user 0 com.orange.orangecash.fr # Orange Cash pm uninstall --user 0 com.orange.orangeetmoi # Orange et moi pm uninstall --user 0 com.orange.owtv # TV pm uninstall --user 0 com.orange.update # Apps Orange pm uninstall --user 0 com.orange.vvm # Messagerie Vocale # google pm uninstall --user 0 com.google.android.apps.docs # Drive pm uninstall --user 0 com.google.android.gm # Gmail pm uninstall --user 0 com.google.android.syncadapters.calendar # Synchronisation de Google Agenda pm uninstall --user 0 com.google.android.syncadapters.contacts # Synchronisation de Google Contacts pm uninstall --user 0 com.google.android.ext.shared # GoogleExtShared pm uninstall --user 0 com.google.android.printservice.recommendation # GooglePrintRecommendationService pm uninstall --user 0 com.google.android.tts # Synthèse vocale Google pm uninstall --user 0 com.google.android.talk # Hangouts pm uninstall --user 0 com.google.android.apps.maps # Maps pm uninstall --user 0 com.google.android.music # Google Play Musique pm uninstall --user 0 com.google.android.apps.photos # Photos pm uninstall --user 0 com.google.android.videos # Google Play Films et séries # pm uninstall --user 0 com.google.android.webview # Android System WebView pm uninstall --user 0 com.google.android.youtube # YouTube pm uninstall --user 0 com.google.android.googlequicksearchbox # Appli Google pm uninstall --user 0 com.android.vending # Google Play Store # délicat pm uninstall --user 0 com.google.android.onetimeinitializer # Google One Time Init pm uninstall --user 0 com.google.android.gms # Services Google Play pm uninstall --user 0 com.google.android.partnersetup # Configuration des partenaires Google pm uninstall --user 0 com.google.android.backuptransport # Google Backup Transport # attention #pm uninstall --user 0 com.google.android.gsf # Framework des services Google #pm uninstall --user 0 com.google.android.gsf.login # Gestionnaire de comptes Google # chrome pm uninstall --user 0 com.android.chrome # Chrome pm uninstall --user 0 com.sec.android.app.chromecustomizations # surcouche samsung # Utilitaires casque réalité virtuelle pm uninstall --user 0 com.samsung.android.app.watchmanager # Samsung Gear # S Health # Utilitaires monitoring capteurs cardiaques etc. pm uninstall --user 0 com.sec.android.app.shealth # S Health pm uninstall --user 0 com.sec.android.service.health # Health Service # Svoice # Assistant vocal pm uninstall --user 0 com.samsung.voiceserviceplatform # S Voice pm uninstall --user 0 com.sec.svoice.lang.de_DE # Pack de langue allemand pm uninstall --user 0 com.sec.svoice.lang.en_GB # Pack langue anglais (R.-U.) pm uninstall --user 0 com.sec.svoice.lang.en_US # Pack langue anglais (US) pm uninstall --user 0 com.sec.svoice.lang.es_ES # Pack de langue espagnol pm uninstall --user 0 com.sec.svoice.lang.fr_FR # Pack de langue français pm uninstall --user 0 com.sec.svoice.lang.it_IT # Pack de langue italien pm uninstall --user 0 com.sec.svoice.lang.ru_RU # Pack de langue russe pm uninstall --user 0 com.samsung.svoice.sync # Service vocal # game service pm uninstall --user 0 com.samsung.android.game.gametools # Game Tools pm uninstall --user 0 com.enhance.gameservice # Game Optimizing Service # navigateur web pm uninstall --user 0 com.sec.android.app.sbrowser # Internet # email pm uninstall --user 0 com.samsung.android.email.provider # Email # meteo pm uninstall --user 0 com.samsung.android.weather # Prévision météorologique pm uninstall --user 0 com.sec.android.daemonapp # Météo # Samsung Payment pm uninstall --user 0 com.trustonic.tuiservice # lié à Samsung Pay pm uninstall --user 0 com.samsung.android.spayfw # PaymentFramework # Samsung Account pm uninstall --user 0 com.osp.app.signin # Samsung # Samsung MirrorLink # connecter smartphone à un véhicule pm uninstall --user 0 com.samsung.android.app.mirrorlink # Samsung MirrorLink 1.1 # Impression pm uninstall --user 0 com.android.printspooler # Spouleur d'impression pm uninstall --user 0 com.sec.app.samsungprintservice # Plug-in du service d'impression # Reconnaissance faciale pm uninstall --user 0 com.samssung.android.smartface # smartfaceservice pm uninstall --user 0 com.samsung.faceservice # FaceService # galaxy app pm uninstall --user 0 com.sec.android.app.sns3 # Samsung Galaxy pm uninstall --user 0 com.sec.android.widgetapp.samsungapps # Les indispensables Galaxy Widget pm uninstall --user 0 com.sec.android.app.samsungapps # Galaxy Apps # Direct Connect Manager # Sreenmirroring, Wlan-Tethering ? #pm uninstall --user 0 com.samsung.dcmservice # DCMService # Présent au reboot FIXME # TODO DOC # freso ? pm uninstall --user 0 com.samsung.android.svcagent # SVC Agent pm uninstall --user 0 com.samsung.android.intelligenceservice2 # intelligenceservice2 pm uninstall --user 0 com.sec.spp.push # Samsung Push Service pm uninstall --user 0 com.samsung.android.scloud # Samsung Cloud pm uninstall --user 0 com.samsung.android.app.simplesharing # Partage de liens pm uninstall --user 0 com.samsung.android.voc # Samsung Members pm uninstall --user 0 com.samsung.android.samsungpass # Sasmsung Pass pm uninstall --user 0 com.sec.android.app.soundalive # SoundAlive pm uninstall --user 0 com.samsung.android.oneconnect # Connexion rapide pm uninstall --user 0 com.sec.android.app.billing # Facturation Samsung # knox pm uninstall --user 0 com.samsung.knox.appsupdateagent # KnoxAppsUpdateAgent pm uninstall --user 0 com.samsung.knox.rcp.components # RCPComponents pm uninstall --user 0 com.samsung.knox.securefolder # SecureFolderStub pm uninstall --user 0 com.sec.enterprise.knox.attestation # KnoxAttestationAgent pm uninstall --user 0 com.sec.enterprise.knox.cloudmdm.smdms # Knox Enrollment Service pm uninstall --user 0 com.sec.enterprise.knox.myknoxsetupwizard pm uninstall --user 0 com.sec.knox.foldercontainer # KnoxFolderContainer2 pm uninstall --user 0 com.sec.knox.knoxsetupwizardclient # Knox SetupWizardClient pm uninstall --user 0 com.samsung.android.bbc.bbcagent # BBCAgent pm uninstall --user 0 com.samsung.klmsagent # KLMS Agent pm uninstall --user 0 com.skms.android.agent # SKMSAgentService pm uninstall --user 0 com.samsung.knox.appsupdateagent # KnoxAppsUpdateAgent pm uninstall --user 0 com.sec.knox.switcher # Knox # Présent au reboot FIXME # microsoft # completement useless ce sont des liens qui redirigent vers installeurs chez Google Play pm uninstall --user 0 com.microsoft.office.excel # Excel pm uninstall --user 0 com.microsoft.office.onenote # OneNote pm uninstall --user 0 com.microsoft.office.powerpoint # PowerPoint pm uninstall --user 0 com.microsoft.office.word # Word pm uninstall --user 0 com.microsoft.skydrive # OneDrive pm uninstall --user 0 com.skype.raider # Skype # social pm uninstall --user 0 com.facebook.appmanager # Facebook App Manager pm uninstall --user 0 com.facebook.katana # Facebook pm uninstall --user 0 com.facebook.system # installeur facebook pm uninstall --user 0 com.instagram.android # Instagram pm uninstall --user 0 com.whatsapp # WhatsApp # actus pm uninstall --user 0 de.axelspringer.yana.zeropage # upday # android # délicat pm uninstall --user 0 com.policydm # MàJ de politique sécurité pm uninstall --user 0 com.sec.android.soagent # MàJ logicielle pm uninstall --user 0 com.sec.android.app.voicenote # Enregistreur vocal pm uninstall --user 0 com.samsung.android.voicewakeup # Réveil vocal pm uninstall --user 0 com.samsung.android.themecenter # Thèmes # Présent au reboot FIXMEVia le téléphone, vider la RAM et redémarrer.
sous Android 4.x, les APK se trouvaient dans le dossier /system/app. Sous Lolipop, il y a deux dossiers : /system/app et /system/priv-app. Les deux fonctionnent de la même manière.
un autre changement est que ces dossiers ne contiennent plus les APK et les .odex, mais des dossiers qui eux contiennent les APK et les .odex. La méthode reste la même, mais il faut « chmoder » le dossier entier à 000.
Soucis: il faut des droits root pour écrire sur cette partition et changer les droits voulus
Voir sans_gaps & client_google_play
adb install FDroid.apk
maintenant on peut sortir du mode avion
Désactiver le débogage USB.
Ressources:
procédure vidage cache: recovery / wipe cache partition ?
mais pour les app ?
* boot: 17s * occupation mémoire:
herolte:/ $ df -h Filesystem Size Used Avail Use% Mounted on rootfs 1.5G 9.4M 1.5G 1% / tmpfs 1.7G 716K 1.7G 1% /dev tmpfs 1.7G 0 1.7G 0% /mnt tmpfs 1.7G 0 1.7G 0% /mnt/secure /dev/block/dm-0 4.1G 3.9G 196M 96% /system /dev/block/sda15 193M 2.5M 190M 2% /cache /dev/block/sda3 16M 2.3M 13M 15% /efs /dev/block/sda13 4.8M 44K 4.8M 1% /persdata/absolute /dev/block/sdd1 1.8M 556K 1.3M 29% /cpefs tmpfs 1.7G 0 1.7G 0% /storage /dev/block/dm-1 25G 741M 24G 3% /data /data/knox/tmp_sdcard 25G 741M 24G 3% /mnt/knox /data/knox/secure_fs/enc_media 25G 746M 24G 3% /mnt/shell/enc_media /data/media 25G 746M 24G 3% /storage/emulated /data/knox/secure_fs/enc_user 25G 741M 24G 3% /data/enc_user /mnt/shell/enc_media 25G 746M 24G 3% /mnt/shell/enc_emulatedTout ça pour 3 secondes et 12% de mémoire, de rien.