From 6b8cae12cb5d60b37931332d9d8008649ae14566 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 12 Sep 2026 11:31:19 +0300 Subject: feat!: Update dunbar markup Currently the newest version of the markup is not on the main branch, mostly because of polish and the documentation. As an effect from the changes to the language, the sitemap is the only thing which needs to be created externally. --- .../managing-apps-with-adb-without-root/index.du | 116 ++++++++++----------- 1 file changed, 58 insertions(+), 58 deletions(-) (limited to 'src/blog/managing-apps-with-adb-without-root') diff --git a/src/blog/managing-apps-with-adb-without-root/index.du b/src/blog/managing-apps-with-adb-without-root/index.du index 3dd9ae1..b4b0fd9 100644 --- a/src/blog/managing-apps-with-adb-without-root/index.du +++ b/src/blog/managing-apps-with-adb-without-root/index.du @@ -1,38 +1,38 @@ -# Managing apps with ADB (and without root) +'def title Managing apps with ADB (and without root) +'def desc Often new phones come with a lot of bloatware, which usually cannot be uninstalled from within the phone. This could be circumvented by rooting your device, but a better solution is using the Android Debug Bridge. -'define expected-reading 8 min -'define created 25 February 2023 -'define edited 25 February 2023 -[$pagenav] +# {title} + +{pagenav 8 min;25 February 2023;25 February 2023} .contents .numbered -1. [url #installing Installing] -2. [url #opening-a-shell-and-connecting-to-your-device Opening a shell and connecting to your device] -3. [url #managing-applications Managing applications] -4. [url #what-to-remove What to remove] +1. {uhref Installing} +2. {uhref Opening a shell and connecting to your device} +3. {uhref Managing applications} +4. {uhref What to remove} Often new phones, especially Samsung ones, come with a whole lot of bloatware, which usually cannot be uninstalled from within the phone. -This could be circumvated by rooting your phone, essentially gaining full administrative control over the device, however this process can be somewhat involved and could [url https://www.xda-developers.com/samsung-galaxy-z-fold-3-unlock-bootloader-broken-camera/ cause issues]. +This could be circumvated by rooting your phone, essentially gaining full administrative control over the device, however this process can be somewhat involved and could {url cause issues;https://www.xda-developers.com/samsung-galaxy-z-fold-3-unlock-bootloader-broken-camera/}. A better solution is using the Android Debug Bridge (ADB), a developer tool with which you can more fluently control your device. Of course, you still won't get full control, but it is as close as it gets, without requiring any permanent and involved configurations. -If you're having trouble, [url https://www.xda-developers.com/install-adb-windows-macos-linux/ XDA's article], as well as [url https://www.maketecheasier.com/uninstall-system-apps-without-root-android/ these] [url https://www.maketecheasier.com/get-started-with-android-debug-bridge-adb/ maketecheasier] [url https://www.maketecheasier.com/enable-developer-options-in-android-42/ articles] go into more detail and show pictures. +If you're having trouble, {url XDA's article;https://www.xda-developers.com/install-adb-windows-macos-linux/}, as well as {url these;https://www.maketecheasier.com/uninstall-system-apps-without-root-android/} {url maketecheasier;https://www.maketecheasier.com/get-started-with-android-debug-bridge-adb/} {url articles;https://www.maketecheasier.com/enable-developer-options-in-android-42/} go into more detail and show pictures. ## Installing Windows: .numbered -1. Download the official platform tools from [url https://dl.google.com/android/repository/platform-tools-latest-windows.zip here] +1. Download the official platform tools from {url here;https://dl.google.com/android/repository/platform-tools-latest-windows.zip} 2. Extract the files in a folder and navigate to it Linux (or MacOS): .bulleted -- With your package manager, it should be called [`android-tools`], [`android-tools-adb`] or [`android-platform-tools`] -- Worst case scenario, download and extract it from [url https://dl.google.com/android/repository/platform-tools-latest-linux.zip here] for Linux, and [url https://dl.google.com/android/repository/platform-tools-latest-darwin.zip here] for MacOS. +- With your package manager, it should be called {` android-tools}, {` android-tools-adb} or {` android-platform-tools} +- Worst case scenario, download and extract it from {url here;https://dl.google.com/android/repository/platform-tools-latest-linux.zip} for Linux, and {url here;https://dl.google.com/android/repository/platform-tools-latest-darwin.zip} for MacOS. ## Opening a shell and connecting to your device @@ -40,66 +40,66 @@ ADB is very powerfull, so by default phones don't allow you to connect to the de First, we'll allow such a connection: .numbered -1. Go to [`Settings/About phone`] (depending on your Android skin, this might be located in a slightly different place) +1. Go to {` Settings/About phone} (depending on your Android skin, this might be located in a slightly different place) 2. Tap "Build number" 7 times, until a message says you're done -3. Navigate to the Developer options, which is often in [`Settings/Developer options`], but could also be inside the [`Settings/System`] menu +3. Navigate to the Developer options, which is often in {` Settings/Developer options}, but could also be inside the {` Settings/System} menu 4. Enable the "USB debugging option" (if a popup appears, click OK) ADB is a command-line only tool, so first open a terminal inside the platform-tools directory: .bulleted - On Window, Right-click in the directory and press "Open PowerShell window here" or "Open command window here" or "Open in Terminal" (different OS versions show a different option) -- On Linux (and MacOS), open a terminal window and [`cd`] to the platform-tools directory +- On Linux (and MacOS), open a terminal window and {` cd} to the platform-tools directory Connect your phone to the computer with a USB cable, change the transfer mode to "File transfer" and in the terminal enter: -```shell +```sh adb devices On your phone you should get a poppup asking "Allow USB debugging?", press OK. You should get a "List of devices attached", and it should have one entry (a line below it, with some number and letters and then the word "device"). -'footnote interactive-shell You could just run every command like [`adb shell COMMAND`], which wouldn't give you an interactive shell, so it is less convinient +'footnote interactive-shell You could just run every command like {` adb shell COMMAND}, which wouldn't give you an interactive shell, so it is less convinient -Now, we'll open a shell[$interactive-shell], a program with which to directly enter commands that the device understands: +Now, we'll open a shell{interactive-shell}, a program with which to directly enter commands that the device understands: -```shell +```sh adb shell ## Managing applications There are 3 general commands that you would want to use: -```shell +```sh pm list packages Which prints the internal names of all applications that are installed on the device. All of the other commands use those names (without the leading "package:", if it exists) for referring to applications. -```shell +```sh pm uninstall -k --user 0 PACKAGE Where PACKAGE is an aforementioned application name. This command just uninstalls the app for the normal user, meaning it will be brought back on factory reset. -```shell +```sh pm disable --user 0 PACKAGE Disabled PACKAGE, so it wouldn't work but you wouldn't need to reinstall it (just enable it). -Beware that, if it shows some sort of error (anything that isn't "Success"), you'll probably need to use [`disable-user`], rather than just [`disable`]. +Beware that, if it shows some sort of error (anything that isn't "Success"), you'll probably need to use {` disable-user}, rather than just {` disable}. -After you're done, you can pretty much just unplug your device, but remember to [=turn back off the "USB debugging" option!=] +After you're done, you can pretty much just unplug your device, but remember to {b turn back off the "USB debugging" option!} ## What to remove This is a lost of commands, which remove a whole lot of arguably unnecessary apps. -Use [=AT YOUR OWN RISK!=] -Although they shouldn't, they might cause problems [=FOR WHICH I'M NOT RESPONSIBLE!=] +Use {b AT YOUR OWN RISK!} +Although they shouldn't, they might cause problems {b FOR WHICH I'M NOT RESPONSIBLE!} :unordered - Facebook -```shell +```sh pm uninstall -k --user 0 package:com.facebook.services pm uninstall -k --user 0 package:com.facebook.katana pm uninstall -k --user 0 package:com.facebook.system @@ -107,13 +107,13 @@ pm uninstall -k --user 0 package:com.facebook.appmanager - Netflix -```shell +```sh pm uninstall -k --user 0 com.netflix.partner.activation pm uninstall -k --user 0 com.netflix.mediaclient - Microsoft apps -```shell +```sh pm uninstall -k --user 0 com.microsoft.skydrive pm uninstall -k --user 0 com.skype.raider pm uninstall -k --user 0 com.microsoft.office.excel @@ -122,7 +122,7 @@ pm uninstall -k --user 0 com.microsoft.office.powerpoint - Google apps -```shell +```sh pm uninstall -k --user 0 com.google.android.googlequicksearchbox pm uninstall -k --user 0 com.google.android.gm pm uninstall -k --user 0 com.google.android.apps.tachyon @@ -141,17 +141,17 @@ pm uninstall -k --user 0 com.google.android.apps.plus - Windows 10 Phone comanion -```shell +```sh pm uninstall -k --user 0 com.microsoft.appmanager - AR Emoji -```shell +```sh pm uninstall -k --user 0 com.samsung.android.aremoji - Bixby -```shell +```sh pm uninstall -k --user 0 com.samsung.android.bixby.agent pm uninstall -k --user 0 com.samsung.android.bixby.es.globalaction pm uninstall -k --user 0 com.samsung.android.bixbyvision.framework @@ -169,7 +169,7 @@ pm uninstall -k --user 0 com.samsung.android.app.spage - Samsung Pass/Pay -```shell +```sh pm uninstall -k --user 0 com.samsung.android.samsungpassautofill pm uninstall -k --user 0 com.samsung.android.authfw pm uninstall -k --user 0 com.samsung.android.samsungpass @@ -178,13 +178,13 @@ pm uninstall -k --user 0 com.samsung.android.spayfw - Samsung Kids -```shell +```sh pm uninstall -k --user 0 com.samsung.android.kidsinstaller pm uninstall -k --user 0 com.samsung.android.app.camera.sticker.facearavatar.preload - Samsung Game Launcher -```shell +```sh pm uninstall -k --user 0 com.samsung.android.game.gamehome pm uninstall -k --user 0 com.enhance.gameservice pm uninstall -k --user 0 com.samsung.android.game.gametools @@ -192,50 +192,50 @@ pm uninstall -k --user 0 com.samsung.android.game.gos - Galaxy Friends -```shell +```sh pm uninstall -k --user 0 com.samsung.android.mateagent - Samsung Smartthings -```shell +```sh pm uninstall -k --user 0 com.samsung.android.easysetup pm uninstall -k --user 0 com.samsung.android.beaconmanager pm uninstall -k --user 0 com.samsung.android.oneconnect - Carmode -```shell +```sh pm uninstall -k --user 0 com.samsung.android.drivelink.stub - Stickers -```shell +```sh pm uninstall -k --user 0 com.sec.android.mimage.avatarstickers - Samsung Global Goals -```shell +```sh pm uninstall -k --user 0 com.samsung.sree - Samsung Members -```shell +```sh pm uninstall -k --user 0 com.samsung.android.voc - Samsung LED cover -```shell +```sh pm uninstall -k --user 0 com.samsung.android.app.ledbackcover pm uninstall -k --user 0 com.sec.android.cover.ledcover - Samsung TV -```shell +```sh pm uninstall -k --user 0 com.sec.android.app.withtv - Knox -```shell +```sh pm uninstall -k --user 0 com.samsung.knox.securefolder pm uninstall -k --user 0 com.knox.vpn.proxyhandler pm uninstall -k --user 0 com.samsung.knox.keychain @@ -246,33 +246,33 @@ pm uninstall -k --user 0 com.samsung.android.knox.containercore - Samsung DEX -```shell +```sh pm uninstall -k --user 0 com.sec.android.desktopmode.uiservice pm uninstall -k --user 0 com.samsung.desktopsystemui pm uninstall -k --user 0 com.sec.android.app.desktoplauncher - Samsung Browser -```shell +```sh pm uninstall -k --user 0 com.sec.android.app.sbrowser pm uninstall -k --user 0 com.samsung.android.app.sbrowseredge - Samsung Email -```shell +```sh pm uninstall -k --user 0 com.samsung.android.email.provider pm uninstall -k --user 0 com.wsomacp - Samsung Smartthings -```shell +```sh pm uninstall -k --user 0 com.samsung.android.easysetup pm uninstall -k --user 0 com.samsung.android.beaconmanager pm uninstall -k --user 0 com.samsung.android.oneconnect - Gear VR -```shell +```sh pm uninstall -k --user 0 com.samsung.android.hmt.vrsvc pm uninstall -k --user 0 com.samsung.android.app.vrsetupwizardstub pm uninstall -k --user 0 com.samsung.android.hmt.vrshell @@ -280,19 +280,19 @@ pm uninstall -k --user 0 com.google.vr.vrcore - Printings -```shell +```sh pm uninstall -k --user 0 com.android.bips pm uninstall -k --user 0 com.google.android.printservice.recommendation pm uninstall -k --user 0 com.android.printspooler - Upday news -```shell +```sh pm uninstall -k --user 0 de.axelspringer.yana.zeropage - Verizon -```shell +```sh pm uninstall -k --user 0 com.vcast.mediamanager pm uninstall -k --user 0 com.samsung.vmmhux pm uninstall -k --user 0 com.vzw.hss.myverizon @@ -304,12 +304,12 @@ pm uninstall -k --user 0 com.vznavigator.[You_Model_Here] - T-mobile -```shell +```sh pm uninstall -k --user 0 com.mobitv.client.tmobiletvhd pm uninstall -k --user 0 us.com.dt.iq.appsource.tmobile \n -More information on available package commands can be shown with [`pm help`]. -You can learn more about the adb tool from [url https://developer.android.com/studio/command-line/adb developer.android.com]. +More information on available package commands can be shown with {` pm help}. +You can learn more about the adb tool from {url developer.android.com;https://developer.android.com/studio/command-line/adb}. -- cgit v1.3.1-26-gb76a From 3bf2c2004c1c3ea1748983247e1fcf12913d587f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 14 Sep 2026 11:39:40 +0300 Subject: feat(src): Final markup fixes and dunbar update --- dunbar | 2 +- src/INIT.du | 17 +++++- src/blog/bash-is-weird/index.du | 5 -- src/blog/connect-to-mysql-in-dotnet-ef/index.du | 4 +- src/blog/fix-no-frame-buffer-plan9/index.du | 1 - src/blog/fix-qc-timeout/index.du | 4 -- .../index.du | 2 - .../index.du | 25 +++----- src/blog/how-to-encrypt-email/index.du | 6 +- .../index.du | 5 +- .../install-drivers-for-epson-scanners/index.du | 4 +- .../managing-apps-with-adb-without-root/index.du | 8 +-- .../mundus-first-shot-at-gamedev/basic-concepts.du | 4 +- src/blog/mundus-first-shot-at-gamedev/timeline.du | 6 +- .../mundus-first-shot-at-gamedev/user-interface.du | 2 +- src/blog/plan9-in-linux-mouse-menus/index.du | 8 +-- .../sane-explanation-of-compilers/part-1/index.du | 71 +++++++++++----------- src/blog/taming-the-fun-too/index.du | 10 +-- .../index.du | 32 ++++------ src/blog/turn-off-notifications-windows/index.du | 2 - src/blog/virt-manager-freeze-on-browse/index.du | 6 +- src/blog/windows-run-dialog/index.du | 4 +- src/teaching/oop-2023/week1/good-software.du | 2 + src/teaching/upp-2023/week12/index.du | 8 ++- src/teaching/upp-2025/week13/index.du | 2 +- 25 files changed, 116 insertions(+), 124 deletions(-) (limited to 'src/blog/managing-apps-with-adb-without-root') diff --git a/dunbar b/dunbar index eaa4cb0..efb7d51 160000 --- a/dunbar +++ b/dunbar @@ -1 +1 @@ -Subproject commit eaa4cb0123bcf01056d4dc400f2c3e513f41e967 +Subproject commit efb7d51a645b0038e22eabbe494ddc0598962458 diff --git a/src/INIT.du b/src/INIT.du index d03720a..02e6eff 100644 --- a/src/INIT.du +++ b/src/INIT.du @@ -162,19 +162,32 @@ desc - Page description 'cmdprocess code {if {LANG};highlight -O html -f -S {default {normalise {LANG}};text};cat} 'endif +'let start {unordered}default

+'let end {unordered}default

+'let start {ordered}default

+'let end {ordered}default

+ ## Attention 'let start question
question 'let end question
+'let start {question}default

+'let end {question}default

'let start warn
warn 'let end warn
+'let start {warn}default

+'let end {warn}default

'let start important
important 'let end important
+'let start {important}default

+'let end {important}default

'let start note
'let end note
+'let start {note}default

+'let end {note}default

## Headers @@ -339,6 +352,8 @@ url href # Substitutions +'def fn_ref {sup {1}} + 'def due_for_rework {url {b {i Due for rework}};/rework.html} 'def nohtml {greplace {1};<;<\;} @@ -363,7 +378,7 @@ reading created edited -'def breadcrumb » {def x/...;{>= {count {1};/};1}}{if {x/...};{url {substrBefore {1};/};{default {2};./}};{italic {substrAfter {1};/}}} {{if {x/...};breadcrumb;none} {substrAfter {1};/};{substrAfter {2};../}} +'def breadcrumb » {def x/...;{>= {count {1};/};1}}{if {x/...};{url {substrBefore {1};/};{default {2};./}};{italic {1}}} {{if {x/...};breadcrumb;none} {substrAfter {1};/};{substrAfter {2};../}} 'def pagenav