Repository navigation
AppManagerNG v0.7.0
This is a big one. Local sync lets two of your phones on the same Wi-Fi compare apps and copy newer versions across. Watched permissions keep a permission or app op the way you set it. There's also toast history, new Quick Settings tiles, and a small bubble that names whatever app is on top, which helps when you're chasing adware. Installing without root works again and ADB mode can start its server again. A long list of crashes and connection problems is fixed too.
The privileged server now has its own port (62001) and process name, so it no longer gets mixed up with upstream App Manager when both are installed. An older AppManagerNG server still running on the old port stops at the next reboot.
v0.6.24 never got a release of its own, so its changes ship here.
What changed
Security
- Debug builds no longer write pieces of the privileged server's key to their log while starting it over ADB. The ADB shell echoes the start command back and redraws a long line in pieces, and the log only hid the key where it showed up whole. Echoed lines are now left out of the log entirely, and a redrawn piece that happens to start with the command's "Error!" message can't be taken for the launcher saying it failed.
- AppManagerNG's privileged server no longer gets mixed up with upstream App Manager's when both apps are installed. The app and the server now each prove they hold AppManagerNG's token without ever sending it, and the app won't use a server that can't, so a server another app left on the port learns nothing it could use. Earlier versions sent the token over the connection, so it's replaced once after this update. The default port moved from 60001 to 62001 (plus the user number for secondary users), clear of upstream's range and of the ports Android hands out for outgoing connections. A port you set yourself stays as it is. The server process is now called
amng_server, so restarting it can't stop upstream's server any more, and it no longer overwrites upstream's/data/local/tmp/am.jaror its log. An older AppManagerNG server still running on the old port stops at the next reboot. - Bouncy Castle is now 1.86 for all three of its libraries (provider, PKIX and utilities), which fixes CVE-2026-17508. Imported keystores (BKS for AppManagerNG's own keys, and JKS, PKCS12 or BKS for signing keys) are now checked before any key derivation starts. Files over 1 MiB, iteration counts above 100,000 for BKS or 5 million for PKCS12, keys longer than 64 bytes, oversized salts and scrypt settings that need more than 64 MiB are refused before any key is derived. So is a file whose key derivations add up to more work than four ordinary keys, counting the ones inside its encrypted parts, and a load that runs past 30 seconds is abandoned instead of hanging the import. The log records which limit a refused file hit.
- The local release gate no longer scans against a vulnerability database of unknown age. With an NVD API key it refreshes the database first and stops if that fails. Without one it scans only when the last recorded refresh is under seven days old. The CVE receipt now states the update mode, the refresh result, when the data was refreshed, and its age.
- The release gate now resolves every dependency from an empty Gradle cache with strict verification. A warm cache had hidden 14 parent POM and BOM files that had no recorded checksum, so a clean machine couldn't build a release. Each of them was checked against the checksum Maven Central publishes before it was recorded.
- The release CVE scan picked up new 9.0+ advisories that don't reach the app. Three Netty ones only touch the Android Gradle Plugin's test tooling. CVE-2026-53914, a Kotlin build cache flaw fixed in Kotlin 2.4.20, matched every Kotlin jar in the build, from the compiler down to the standard library. Neither Netty nor the Kotlin compiler ends up in either release APK. The project has no Kotlin code and release builds skip the build cache, so nothing reads that cache data. Each finding now has a disposition tied to the exact packages and versions, and the gate fails if one stops matching.
- Other apps can no longer start a backup through AppManagerNG's launcher shortcut. The shortcut, now called Backup schedule, opens the scheduled backup settings with Run now in view, and the backup starts when you tap it. A shortcut you pinned from Settings still starts a backup with one tap. The backup status now says what started the last run.
- Importing a settings snapshot now reads the file once. The preview and the import both use that private copy, so a file that changes after you review it can't change what gets imported. A snapshot with two entries of the same name, or with counts in its manifest that its contents don't match, is refused before anything is written. The preview shows the snapshot's fingerprint.
- Other apps can no longer skip AppManagerNG's install prompt. The installer is open to every app, and it used to take a plain flag in the request as a sign that the file manager or Local sync had already asked you, so in root or ADB mode any app could get an APK installed without a prompt. Only batches the app builds itself skip the prompt now, and an APK another app sends while one of those is running still gets asked about.
Added
- The main list now shows each app's UID at the start of its metadata line (issue #19). It used to stay hidden, so setting up sandbox rules or automation meant opening every app to read it.
- Automation apps can start and stop the privileged server and switch its mode by broadcast (issue #19). It's off by default and needs the key the batch and profile receivers already use. Callers get a result code back, and each call leaves a row in op history without the key.
- The ADB command under Mode of operation can copy the server into a folder you pick (issue #19). A shell running as system (UID 1000) can't write to /data/local/tmp, so the copy failed there before the server could start. Leave the folder blank to keep /data/local/tmp. The command always makes a folder of its own inside the one you pick and never locks the folder itself, and the field won't take a path the shell could read as a command.
- Quick Settings tiles for running apps, usage, profiles and logs (issue #25). Each one opens its screen directly, has you unlock a locked phone first, and goes unavailable when that feature is turned off.
- A small draggable bubble that names the app on top, for tracking down adware that's gone before you can tell where it came from (issue #26). Tap it for App Details, or long press for the last five apps. It's turned on from its own tile or from Labs.
- A profile's app list can be searched and sorted (pull request #24, thanks to @ifritraen). Search matches the label or package name, with the same contains, prefix, suffix and regex modes as the main list, and sorting goes by name, package, user or system, install date or last update. A profile's sort is its own, so the main list keeps the order you gave it.
- Toast history (issue #27). Open it from the main menu or Privacy settings and turn on Record toasts, and with the accessibility service running it keeps up to 2,000 toasts from other apps for 30 days, each with its time and the app that showed it. You can filter them by app and copy them. On Android 12 and later the system adds the app's name under each toast's message, and that line is left out since the entry already names the app. It's off until you turn it on, and nothing leaves the phone.
- Watched permissions (issue #15). Long press a permission or app op in App Details, or tap Always allow or Always deny on a permission change alert, and the app keeps it that way. In root or ADB mode it sets a watched permission back when it sees the change. It checks whenever the app updates, and if you pick a schedule in Privacy settings, also on that schedule and after every restart. Without those modes you get a notification that says what changed. Apps on the critical list are never denied anything.
- Local sync (issue #22). Open it from the main menu on two phones on the same Wi-Fi, share from one and connect from the other, and check that both show the same six digits before you allow it. You then see which apps are newer on the other phone, which aren't installed here and which are signed with a different key. Get, or Update all newer, copies the APKs over with their splits and installs them once their signatures check out, and the list moves them to the right group when you're back from the installer. Sharing opens on the same port each time when it can, so a phone that saw this one earlier doesn't offer an old port, and on Android 14 and later the list keeps up when a phone shares again on a new port or address. The connection is encrypted end to end. A phone you remember can connect again without asking, but only after it proves it's the same phone. Forgetting a phone that's connected right then disconnects it too. Sharing stops as soon as you leave the screen.
- Every release now publishes the R8 mapping for each flavor, so a crash report from a released build can be turned back into real class and method names. The mapping is verified byte-identical across both clean builds, and publication stops if an APK has no mapping to go with it. The README explains how to use it.
Changed
- When ADB mode can't connect, AppManagerNG now says why and what to try next (issue #20). Wireless debugging being off, Wi-Fi being down, a phone that isn't paired yet and ADB refusing to start the privileged server each get their own message in place of the general one. The reason stays under Mode of operation until a connect works, and the support info file names it without any address, port or token.
- The privacy policy no longer lists Pithus, which AppManagerNG stopped contacting in v0.6.13. Its optional-network section now names each service the full build can reach, with its host, and a test keeps that list in step with the Network transparency screen.
- The Full build's Android tests resolve under strict dependency locking again, and refreshing the locks no longer drops the entry they need.
- The release consistency check accepts a new release tag again. It wanted a tagged build to match the last published release's receipt, which only gets written after publishing, so no new tag could ever pass. A tagged version now has to be newer than the published one.
Fixed
- The permission, signing key and component change alerts, app update reports, install, update and uninstall routines, and the reinstall warning never fired on Android 8 and later. Android stopped telling apps about installs, updates and removals through the manifest back then, and these all waited for that. AppManagerNG now compares the installed apps with the list it saved last time, when it starts, while it's running and every 15 minutes while one of these features is on. A system update doesn't count as every preinstalled app updating, and a frozen app isn't treated as removed.
- A long press on a permission or app op's text in App Details opens its menu now. The text can be selected, so the press picked a word and the menu (permission flags, the app op mode list and watching) only came up from the switch or the row's edge. Double tap the text to select it.
- The Quick freeze and Force stop tiles work from the lock screen on Android 14 and later. You'd enter your PIN and land on the home screen with nothing done, because those versions forget what a tile asked to run once the panel closes for the PIN. A tile tapped on a locked phone now hands the job to the system, which runs it as soon as you're in. The new tiles for issues #25 and #26 work the same way.
- The main screen stopped warning that the backup volume isn't available when nothing has been backed up yet. With storage access it looked for the AppManager folder that the first backup makes, so a new setup got the warning every time the app opened.
- Switching to ADB or root mode from an automation broadcast works on Android 14 and later (issue #19). It used to hang for 45 seconds and then fail. Those versions hand an app its broadcasts one at a time, and the privileged service sends its connection back by broadcast, so it waited behind the switch request until the service gave up after ten seconds. That lost launch also stopped any later one in the same app process. The app now lets the request go as soon as it starts waiting for the service, the service's answer gets through even when the app is in the background, and a launch that never answers is tried again.
- Installing or uninstalling in No root mode brings up Android's prompt again instead of spinning forever (issue #21). Since v0.6.7 the installer told Android to report back to a part of the app that Android never delivers those reports to, so the prompt and the result went nowhere and the install waited until it timed out. A second check was also blocking the prompt, and that's fixed too.
- The Code Editor opens again (issue #12). Every published build crashed on it, whatever the Android version, because the release build renamed a private field the editor looked up by name. If the editor still can't be built, its screen now closes with a message and the app stays up.
- Creating a profile no longer crashes (issues #17 and #28). The apps page assumed its empty state was a plain text view.
- Reviewing a profile before applying it no longer crashes. The transparent themes that screen uses were missing colors the app's dialogs need.
- The App change feed opens instead of crashing (issue #18).
- Long text no longer shows a second line cut in half (issue #13). Component names on the Activities, Services, Receivers and Providers tabs stay on one line with an ellipsis until you tap the row, then show in full and can be selected. App Info values and headers, provider query and hex viewer cells, and the running app, file properties, bloatware and op history dialogs now wrap. Other capped text ends in an ellipsis, and the two App Info subtitles get a second line.
- Retrying after a failed wireless pairing now times out instead of hanging, and a search cancelled just as it starts still stops (issue #20).
- A first launch no longer sits on "Initializing..." for a couple of minutes when the ADB address doesn't answer at all. This showed up on emulators, where the connection gets dropped instead of refused.
- The backup converter tests pass on a clean checkout. The sample APKs they read were ignored by git and never committed, so they're tracked now.
- ADB over TCP and Wireless debugging can start AppManagerNG's privileged server again (issue #20). The launch files sat in AppManagerNG's own cache, and Android's SELinux policy keeps the ADB shell out of every app's data folders whatever the file permissions say, so the launch never ran and App Info gave up after a minute. The launcher and am.jar now reach
/data/local/tmpover the ADB connection and are read back and checked before they run. main.jar is copied straight out of the installed APK and checked against its SHA-256 on Android 8 and later, and its SHA-1 on Android 6 and 7. Their folder there is closed to everyone but the ADB shell. A launcher that can't run now fails at once. Root mode still uses its private copy. - Pairing and connecting over Wireless debugging work on the Android emulator (issue #20). Both always went to the computer running the emulator, which never has Wireless debugging's ports, so pairing was refused every time. They now go to the emulator itself, and ADB over TCP still falls back to the computer when nothing answers there.
- The first switch to ADB mode no longer rolls back after the server has started. Two parts of the app could each find the privileged services down and bind them at the same moment, and the second one tore down the binding the first was already using.
- Switching the mode of operation holds up better. A second switch asked for while one is still connecting is turned away instead of running alongside it and tearing down its server. Rotating the screen mid-switch no longer puts the old mode back, and a connect, pairing or permission dialog that was open comes back on the new screen. Going from No root to ADB and back again no longer fails once the old server is gone. A dialog you answered doesn't come back after a rotation while its connection is still being made, and granting Shizuku access from that screen goes through the same one-at-a-time check. Leaving the screen while Auto is still looking no longer saves No root as your mode.
- AppManagerNG can no longer freeze for up to 45 seconds while the privileged server stops or restarts. A service bind that was still waiting held a lock the screen needed, and the server status receiver did slow work on the main thread. The Mode of operation card now updates as soon as the services come up or go away.
- A rotation or theme change during startup no longer repeats a step. Wireless auto-connect could run a second time, and a dialog you had already answered could open again.
- The incomplete USB debugging message now stays up until you close it. Startup and the Mode of operation screen used to carry on behind it.
- When the privileged server fails, AppManagerNG now says how. It couldn't start, it isn't answering, or another server on its port didn't accept the app. All three used to get the same general message. When ADB itself can't be reached, Wireless debugging still offers its pairing and port dialog instead of a server error.
- The privileged server starts a second sooner, and its log no longer shows an error about a process it refused to stop. The launcher handed the port over twice, and the server took the second copy for the process ID of an old server to stop.
- On a rooted phone set to ADB mode, the privileged services start again. The app took root being available to mean root was in use, and pointed the ADB shell at a copy of main.jar only root can read.
- Stopping the privileged services and starting them again right away no longer stops the new ones too.
- Running apps, the app list's filter options, file properties and Activity Interceptor now keep up with a mode change while they're open. Root-only filters and options appear or go away without reopening the screen, and Activity Interceptor unticks Use root when root goes away.
- A port typed into the Wireless debugging connect dialog is checked before it's saved. A port of 0 or above 65535 used to be stored and tried on every later start, and a bad port saved by an older version now falls back to 5555.
- Looking for the Wireless debugging port no longer leaves a network scan running when it fails partway, which could make every later search fail at once.
- Starting the privileged server over ADB fails less often. Every start opens a fresh shell instead of reusing one that may belong to a dropped connection. A shell that closes the moment it opens, which can happen right after a wireless connection, gets one more try, and a shell that closes later fails at once instead of after a minute. A start that fails quickly is tried once more, but one you cancelled isn't.
- Wireless pairing gives up after 30 seconds instead of hanging, and both the notification and the pairing code dialog say it timed out. Starting a new pairing no longer finishes at once on the result of an earlier one.
- Wireless debugging reconnects after a reboot again on Android 15 and later. Android no longer lets an app start this kind of background service at boot, so the reconnect now runs as a special use service. It also tries again for up to about ten seconds when Wireless debugging isn't ready yet, moves on to a new Wi-Fi network if the one it was trying drops, and stops if you switch to another mode. A Wi-Fi network without Internet access, which Android may not treat as the main connection, now counts as Wi-Fi for wireless mode. If Wi-Fi drops partway through, it waits up to two minutes for it to come back instead of giving up, and an error while connecting no longer leaves it stuck waiting forever. It stops after 30 tries in all, so a Wi-Fi that keeps dropping and coming back can't keep it going for good. On a network Wireless debugging hasn't been allowed on yet, Android asks first and switches it back off. The reconnect used to switch it on again every try, which just asked again, and then gave up without a word. It now switches it on once per network, posts one notification that opens Wireless debugging, and connects by itself as soon as it's allowed, for up to 10 minutes.
- Connecting over ADB or Shizuku, switching modes and the reconnect after a reboot now take turns instead of running over each other, and an unexpected error while connecting puts the app back in the mode it was in. A reconnect that was still waiting its turn when you left Wireless debugging now gives up instead of connecting anyway. Retrying a wireless pairing no longer offers the port from the pairing dialog before, a pairing search nobody finishes stops after 10 minutes, and switching away from Wireless debugging stops it. Those 10 minutes start over when a port turns up, so there's still time to type the code, and they can't cut off a pairing that's under way.
- The crash notification shows up again on Android 14 and later. The app used to post it and close in the same instant, and the notification could be lost on the way out. It now goes on its own Crash reports channel and the app waits a quarter second after posting it. A crash report whose device details can't be read is still sent with its stack trace, and a failure while saving or posting the report no longer stops Android from closing the app the normal way.
- Changing an app op in App info now grants or revokes its permission to match. Allowing an op that was ignored used to revoke the permission behind it, and denying an allowed one granted it, because the app looked at the old setting instead of the one you picked.
- Sharing or opening a file that already came through AppManagerNG's own file provider no longer wraps it in the provider a second time. Each extra layer sent the request back through the provider, so the file could fail to open.
- The installer now warns you before installing an APK whose native code is only for other processors, such as an x86_64-only APK on an arm64 phone. It names the processor types the APK has and the ones your device runs. Only split APK sets were checked before, and a single APK like this went all the way to the system installer, which has been seen to restart a phone's system on the way. Batch installs now stop on such an APK too, where they used to go straight ahead.
- TalkBack no longer stops on unlabeled pictures. The symbolic link marker in the file manager and file properties now reads as "Symbolic link", the shortcut icon preview says what it is, the attention dot in the app list is only read while it shows, and purely decorative icons in the backup and restore dialogs and list rows are skipped. The process icon in Running apps, which selects the process, now says so, and the pictures in the disclaimer, onboarding, file manager and App info headers are skipped too.
- The custom command under Mode of operation works from adb shell again. It used to point at the launcher in AppManagerNG's own cache, which Android keeps the shell out of, so pasting it on a computer only got a permission error. The new command copies am.jar out of the installed APK into /data/local/tmp, checks it, and starts the privileged server from there. The second command, for running as root, now only shows up on devices that have su. The server keeps running after you close adb shell, and one exit is enough to close it. Both commands carry the server's key, so copying one now asks Android to keep it out of the clipboard preview, and the root command still shows when the ADB one can't be made.
- Choosing No root no longer asks for superuser access. Starting in no-root mode used to probe for root before it looked at the chosen mode, which put up a superuser prompt on rooted phones, and it could stall on a privileged server another mode had left running. Shizuku and ADB modes don't probe for root any more either.
- AppManagerNG stops asking for Usage Access you already granted (issue #16). With Shizuku active it used to check the grant of Shizuku's shell, which some phones deny, instead of its own. It now reads its own grant, and when the shell can't read usage data it asks as the app itself.
- App Usage no longer crashes on phones that don't register Android's
isubsubscription service (issue #18). When a telephony service is missing, dead or refuses the call, AppManagerNG treats it as "no subscriber IDs" and counts mobile usage across all mobile networks instead. The support bundle names each service's state in one line. - Mobile data is no longer counted twice, or dropped, when one SIM's subscriber ID can't be read.
- Choosing Encrypt with an empty or blank passphrase no longer saves the settings snapshot unencrypted. The dialog stays open and asks for a passphrase. Save unencrypted is still its own button.
- The code editor no longer loads a file over 16 MiB whole, whatever it's called, since another app could hand it one. The Java view of a smali class reads the class's other files within the same limit. A stream just under the general 256 MiB read limit no longer makes AppManagerNG allocate about twice that before it fails.
- Stopping the freeze-on-lock or session-lock service now cancels its pending screen-lock check and waits for one that is already running, so no check can freeze apps or end the session after the service has stopped.
- Sharing an APK to App info from another app now opens it. App info used to close with "Empty package name" because it only looked for an opened file, not a shared one. A share with several files, or with nothing App info can open, now gets a short message instead.
- The snapshot import preview now lists its sections, so you can choose what to import. It only showed its summary before, which meant every section in the file was imported. Sections the file doesn't contain are grayed out.
- Wireless debugging mode now looks only for Wireless debugging's own port (issue #20). When ADB over TCP had also been turned on, for example with
adb tcpipfrom a computer, its plain port was advertised too, and whichever answered the search first got used. - ADB over TCP and the automatic mode now connect to the plain ADB port when Wireless debugging is on too (issue #20). They took whichever port answered the search first, which was often Wireless debugging's. Its port is still used when there's no plain one. A port that disappears mid-search is skipped now, so the search keeps looking instead of giving up.
- A newly found or typed ADB port gets a fresh connection (issue #20). AppManagerNG kept using whatever connection it already had open, wherever it went, so a new Wireless debugging port wasn't tried until the old connection dropped.
- Saving in the code editor no longer risks the file. The text is encoded in full before the file is touched, and a save that fails partway puts the original back. Save and exit now leaves only after the save has been written and read back. If a save fails, the editor stays open with your text and says whether the file was left as it was.
- Android's install and uninstall prompt shows up again without root. Android hands that prompt back as an intent that names no target at all, and since v0.6.7 AppManagerNG refused those outright, so the prompt never appeared and the session just sat there. The refusal is there to stop a hostile intent from being launched as AppManagerNG, and it still does that. An intent with no target is now resolved first and only forwarded when it lands on an activity inside a system package, locked to exactly that component.
- The install notification no longer sticks at full progress after a session ends. Whatever ends the session now clears it, including the paths that never got a status broadcast. A refused prompt ends the session too, instead of leaving behind a notification whose only button could fail.
- Crash reports are readable again. The support bundle used to replace every dotted name with a placeholder, which erased the exception and every line of the stack trace along with it. Platform, language and AppManagerNG class names now stay readable. Anything that could name an app you installed is still masked, and a line number is no longer mistaken for an identifier.
Which APK should I install?
Pick the FLOSS APK if you want the app with no optional online lookups. Pick the full APK if you'd like the optional VirusTotal reports and debloat list updates described in the README. Both are universal builds for Android 5.0 and later.
Both are signed with the same release key as earlier versions, so they update an existing install. The certificate's SHA-256 fingerprint is 21:5F:B4:70:63:2E:A6:CD:59:A4:BA:AB:35:0A:9E:0B:99:AD:11:0F:DD:FA:F5:A9:EA:64:61:E5:D0:C2:38:6C. Each APK has a matching .sha256 file.
New in this release, each flavor also gets its R8 mapping file. If you send a crash trace from a release build, the mapping turns its scrambled names back into real ones (the README shows how). The CycloneDX SBOM and the dependency check reports are attached as before.
Reports this release addresses
v0.7.0
- #12 The code editor crashed when it opened
- #13 Small text cut off in places across the app
- #15 Permission watcher request (now Watched permissions)
- #16 Usage access requested again after it was granted
- #17 Crash when creating a new profile
- #18 Crash reports from the App change feed and App Usage
- #19 UID in the app list, automation broadcasts for the server, and a server folder for system shells
- #20 ADB over TCP and Wireless debugging modes not working
- #21 Endless loading when installing in No root mode
- #22 Local Wi-Fi sync between phones (now Local sync)
- #23 Crashes while creating and reviewing a profile
- #24 Search and sort for a profile's app list
- #25 Quick Settings tiles
- #26 Overlay that names the app on top, for tracking down adware
- #27 Toast history
- #28 Crash when adding a profile