home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.os.windows-10      Steaming pile of horseshit Windows 10      197,590 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 197,140 of 197,590   
   Maria Sophia to Maria Sophia   
   Re: How do you back up all your apks (in   
   06 Feb 26 01:08:00   
   
   XPost: comp.mobile.android, alt.comp.os.windows-11   
   From: mariasophia@comprehension.com   
      
   Maria Sophia wrote:   
   > The question is not can we back them up, as there are many methods.   
   > The question is how you do it without the Internet & w/o accounts?   
      
   Since the easiest way to do anything on Android is always via Windows,   
   note that these powershell scripts will create a list of anything you need.   
    ==   
    List apps you installed:   
     C:\> adb shell pm list packages -3   
    ===   
    List apps you installed that have launchers icons:   
    PS\> $pkgs = adb shell pm list packages -3 | % { $_.Replace("package:","") }   
    foreach ($pkg in $pkgs) {   
        $result = adb shell cmd package resolve-activity --brief $pkg 2>$null   
        if ($result -and $result -notmatch "No activity found") {   
            Write-Output "$pkg  -->  $result"   
        }   
    }   
      
    ===   
    List apps you installed that have launchers icons to a text file:   
    (with the activity name):   
    PS\> $pkgs = adb shell pm list packages -3 | % { $_.Replace("package:","") }   
      
    $results = foreach ($pkg in $pkgs) {   
        $raw = adb shell cmd package resolve-activity --brief $pkg 2>$null   
        if ($raw -and $raw -notmatch "No activity found") {   
            # Extract the last token (the actual activity)   
            $activity = $raw.Split(" ") | Select-Object -Last 1   
            "$pkg --> $activity"   
        }   
    }   
      
    $results | Out-File launchable_user_apps.txt   
      
    ===   
    List apps you installed that have launchers icons to a text file   
    (with the version & activity name, sorted alphabetically):   
     PS\> $pkgs = adb shell pm list packages -3 | % { $_.Replace("package:","") }   
      
     $results = foreach ($pkg in $pkgs) {   
      
         $dump = adb shell dumpsys package $pkg   
      
         # Version name   
         $vnMatch = $dump | Select-String "versionName="   
         $versionName = if ($vnMatch) { $vnMatch.Line.Split("=")[1].Trim() } else   
   { "unknown" }   
      
         # Version code   
         $vcMatch = $dump | Select-String "versionCode="   
         $versionCode = if ($vcMatch) { $vcMatch.Line.Split("=")[1].Split("   
   ")[0].Trim() } else { "unknown" }   
      
         # Try English label first   
         $labelMatch = $dump | Select-String "application-label-en:"   
         if ($labelMatch) {   
             $label = $labelMatch.Line.Replace("application-label-en:","").Trim()   
         } else {   
             # Try generic label   
             $labelMatch2 = $dump | Select-String "application-label:"   
             if ($labelMatch2) {   
                 $label = $labelMatch2.Line.Replace("application-la   
   el:","").Trim()   
             } else {   
                 # Fallback: package name   
                 $label = $pkg   
             }   
         }   
      
         "$label  |  $pkg  |  v$versionName  ($versionCode)"   
     }   
      
     $results | Sort-Object | Out-File app_list.txt   
      
    ===   
    List apps you installed that have launchers icons to a text file   
    (with just the package name and version, sorted alphabetically):   
      
     PS\> $pkgs = adb shell pm list packages -3 | % { $_.Replace("package:","") }   
      
     $results = foreach ($pkg in $pkgs) {   
      
         $dump = adb shell dumpsys package $pkg   
      
         # Version name   
         $vnMatch = $dump | Select-String "versionName="   
         $versionName = if ($vnMatch) {   
             $vnMatch.Line.Split("=")[1].Trim()   
         } else {   
             "unknown"   
         }   
      
         # Version code   
         $vcMatch = $dump | Select-String "versionCode="   
         $versionCode = if ($vcMatch) {   
             $vcMatch.Line.Split("=")[1].Split(" ")[0].Trim()   
         } else {   
             "unknown"   
         }   
      
         "$pkg | v$versionName ($versionCode)"   
     }   
      
     $results | Sort-Object | Out-File app_list.txt   
      
   Here's the output of about 589 apps and their versions on my galaxy:   
     aerow.us.aerowind | v2.0 (2)   
     ai.articlereader.mobileapp | v1.4.6 (149)   
     ai.chat.gpt.app | v2.0.9 (38)   
     ak.alizandro.smartaudiobookplayer | v11.5.2 (301152)   
     am.ed.exportcontacts | v1.0.3 (10003)   
     am.ed.importcontacts | v1.3.4 (10304)   
     any.shortcut | v1.2.5 (47)   
     app.accrescent.client | v0.28.1 (55)   
     app.easyworldclock | v1.8 (21)   
     app.grapheneos.camera | v68 (68)   
     app.organicmaps | v2025.04.21-3-Google (25042103)   
     asav.roomtemperature.us | v300.7.24 (1250)   
     at.bitfire.davdroid | v4.4.0.1-ose (404000100)   
     at.cmg.android.phonews | v3.13.3 (3132682)   
     at.ff.outliner | v3.5.6 (67)   
     aws.apps.networkInfoIi | v0.7.1 (71)   
     barcodescanner.qrscanner | v1.4.0 (292)   
     be.casperverswijvelt.unifiedinternetqs | v3.0.0-github (3000007)   
     ca.abbro.androidmap | v2.1.5 (63)   
     ca.cmetcalfe.locationshare | v1.4.2 (9)   
     ch.abwesend.privatecontacts | v3.0.1 (44)   
     ch.martinstoeckli.silentnotes | v7.3.2 (64)   
     ch.opengis.qfield | v3.3.1 - Dari├⌐n (30301993)   
     ch.protonmail.android | v3.0.17 (939)   
     cisterna.promo | v3.2.1 (7)   
     co.inker | v0.10.26 (26)   
     co.windyapp.android | v34.0.2 (656)   
     com.accuweather.android | v8.8.1-5-google (80801005)   
     com.activitymanager | v5.4.2 (542)   
     com.adamsappls.carc | v3.9.1 (63)   
     com.adobe.reader | v24.2.1.41772 (1929041772)   
     com.adrianmejia.calculator | v2.1.3 (7)   
     com.aefyr.sai | v4.5 (60)   
     com.agence3pp.euroconsumers | v2.0.48 (83)   
     com.agnibho.android.solarcompass | v1.0 (1)   
     com.airbeat.device.inspector | v0.9.28 (34)   
     com.airvisual | v6.7.0-4.7 (1984)   
     com.aitorguascone.myamsler | v2.03 (203)   
     com.alexplas.weathernew | v2.5 (7)   
     com.alextern.shortcutexecutors | v1.0.2 (4)   
     com.alextern.shortcuthelper | v3.2.4 (62)   
     com.alpaca.android.readout | v7.5.3 (77)   
     com.amaze.filemanager | v3.10 (121)   
     com.amaze.fileutilities | v1.71 (71)   
     com.aminbeheshti.exifviewer | v1.2.2 (8)   
     com.amtrak.rider | v5.3.1 (2023)   
     com.android.gpstest.osmdroid | v3.9.16 (18093)   
     com.apk.editor | vv0.28 (28)   
     com.apkupdater | v3.0.3 (52)   
     com.app.compass.finddirection.digitalcompass.gpsutils.gpscompass | v1.0 (1)   
     com.app.detail | v1.1.1 (35)   
     com.applaudsoft.wabi.virtual_number | v2.9.6 (29600)   
     com.applaudsoft.wabi.wad | v1.0.6 (10601)   
     com.apple.trackerdetect | v1.1 (8)   
     com.applications.xas.obdultra | v1.1.43 (291005072)   
     com.apps.settings | v1.9 (11)   
     com.arachnoid.sshelper | v13.2 (132)   
     com.ash.fly | v2.1.0 (2)   
     com.asksven.betterbatterystats | v3.4.0 (108)   
     com.atharok.barcodescanner | v1.23.0 (41)   
     com.atolphadev.quikshort | v1.9.1 (60)   
     com.aurora.adroid | v1.0.6 (6)   
     com.aurora.store | v4.5.1 (60)   
     com.autoxuga.diagnosisobd | v1.0.0 (10000)   
     com.autoxuga.obd | v1.0.6 (10006)   
     com.Avenza | v3.8.2 (122)   
     com.balda.intenttask | v2.2.0 (50)   
     com.beemdevelopment.aegis | v3.0.1 (65)   
     com.beeper.chat | v2.22.28 (22228)   
     com.better.alarm | v3.10.10 (31010)   
     com.bhanu.appshortcutmaker | v3.10 (30)   
     com.bikegpx | v4.41.0 (4410)   
      
   [continued in next message]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca