Releases: matthewdaluz/AndroidPackageManager
Releases · matthewdaluz/AndroidPackageManager
APM - Version 2.0.4b [ Open-Beta ]
APM - Version 2.0.4b [ Open-Beta ]
Compiled at: April 24th, 2026. - 11:20 PM Eastern Time.
Changelogs
- Improved package extraction and installation so most packages should be installable now.
- Added
apm list-reposandapm remove-repo <name|name.repo>to list installed repositories and remove them too.
Bugs
- Not all packages can be installed still, but most should now be installable.
Installation Instructions
(Notice: This has been tested on the Google Pixel 7a (lynx) on LineageOS 23.2, so installation instructions may vary!)
- Complete and exit the setup screen of LineageOS if you haven't already. Skip this step if you have already setup LineageOS.
- Plug in your phone to your computer and reboot into recovery mode. This can be done via various methods, so find how to enter recovery mode on your phone.
- Go into "Advanced"/"Advanced Options" and press "Mount/unmount system", then press "Enable ADB".
- Go back and go to "Apply update" and then press "Apply from ADB".
- Go to your Terminal or Command Prompt, and start ADB via
adb start-serverif you haven't already done so. After that, runadb devicesand check if your device is detected like this for example:34211JEHN02170 sideload. - Run
adb -d sideload <apm-zip-file.zip>. An example would be:adb -d sideload apm-lineage-recovery-20260424-arm64-v8a.zip. LineageOS Recovery may say that the signature of the ZIP file is invalid or something -- Continue on with installation, as that is expected. - Once installation finishes, reboot your phone back to the system. The system should boot as normal.
- You're finished. That's it.
Notes
- All of APM and AMS are now essentially complete in terms of functionality and stability. Expect less updates due to this.
- Some bugs may still exist, so please remember to report any bugs to me!
- Fun Fact: Both APM and AMS survive OTA updates via
addon.d!
APM - Version 2.0.3b [ Open-Beta ]
APM - Version 2.0.3b [ Open-Beta ]
Compiled at: April 18th, 2026. - 5:00 PM Eastern Time.
Changelogs
- Replaced
sources.listwith.repofiles that go in/data/apm/sources/. - Added an
apm add-repo /path/to/repofile.repocommand so that users do not needadb -d rootor be therootuser in general to add repositories. There will be a command to remove repositories soon. - Improved the compatibility of commands that come from Termux repositories.
Bugs
- None found so far.
Installation Instructions
(Notice: This has been tested on the Google Pixel 7a (lynx) on LineageOS 23.2, so installation instructions may vary!)
- Complete and exit the setup screen of LineageOS if you haven't already. Skip this step if you have already setup LineageOS.
- Plug in your phone to your computer and reboot into recovery mode. This can be done via various methods, so find how to enter recovery mode on your phone.
- Go into "Advanced"/"Advanced Options" and press "Mount/unmount system", then press "Enable ADB".
- Go back and go to "Apply update" and then press "Apply from ADB".
- Go to your Terminal or Command Prompt, and start ADB via
adb start-serverif you haven't already done so. After that, runadb devicesand check if your device is detected like this for example:34211JEHN02170 sideload. - Run
adb -d sideload <apm-zip-file.zip>. An example would be:adb -d sideload apm-lineage-recovery-20260418-arm64-v8a.zip. LineageOS Recovery may say that the signature of the ZIP file is invalid or something -- Continue on with installation, as that is expected. - Once installation finishes, reboot your phone back to the system. The system should boot as normal.
- You're finished. That's it.
Notes
- All of APM and AMS are now essentially complete in terms of functionality and stability. Expect less updates due to this.
- Some bugs may still exist, so please remember to report any bugs to me!
sources.listfiles may no longer work, and you will have to re-add your repositories via.repofiles.- Fun Fact: Both APM and AMS survive OTA updates via
addon.d!
XDA users (or other people who have found this, read me!
Hello! I hope you guys enjoy APM and AMS, and remember to report any bugs to me! This project took five months so far to make with many trials and errors. I really hope APM and AMS will be useful for people.
APM - Version 2.0.2b [ Open-Beta ]
APM - Version 2.0.2b [ Open-Beta ]
Compiled at: April 13th, 2026. - 9:45 AM Eastern Time.
Changelogs
- Fixed
apm searchandapm info. - Implemented
apm wipe-cacheto wipe APM and AMS caches. - Implemented a
--clearand--clear-allargument toapm logto clear log files.
Bugs
- None found so far.
Installation Instructions
(Notice: This has been tested on the Google Pixel 7a (lynx) on LineageOS 23.2, so installation instructions may vary!)
- Complete and exit the setup screen of LineageOS if you haven't already. Skip this step if you have already setup LineageOS.
- Plug in your phone to your computer and reboot into recovery mode. This can be done via various methods, so find how to enter recovery mode on your phone.
- Go into "Advanced"/"Advanced Options" and press "Mount/unmount system", then press "Enable ADB".
- Go back and go to "Apply update" and then press "Apply from ADB".
- Go to your Terminal or Command Prompt, and start ADB via
adb start-serverif you haven't already done so. After that, runadb devicesand check if your device is detected like this for example:34211JEHN02170 sideload. - Run
adb -d sideload <apm-zip-file.zip>. An example would be:adb -d sideload apm-lineage-recovery-20260413-arm64-v8a.zip. LineageOS Recovery may say that the signature of the ZIP file is invalid or something -- Continue on with installation, as that is expected. - Once installation finishes, reboot your phone back to the system. The system should boot as normal.
- You're finished. That's it.
Notes
- All of APM and AMS are now essentially complete in terms of functionality and stability. Expect less updates due to this.
- Some bugs may still exist, so please remember to report any bugs to me!
- The bug from v2.0.1b, where you need to always enter your password when running certain APM commands as the
shelluser, is no longer considered a bug. Rather, this is now an intentional security feature.
APM - Version 2.0.1b [ Open-Beta ]
APM - Version 2.0.1b [ Open-Beta ]
Compiled at: April 7th, 2026. - 9:35 PM Eastern Time.
Changelogs
- Fixed a bug where installed commands and all of APM were unusable as the
shelluser. - Added the ability to compile for all architectures.
- Implemented
apm debuglogging <true|false>to enable debug logging. Reboot after setting eithertrueorfalse. - Implemented
apm log [--ams] [--export]to view APM and AMS' daemon logs in real-time and to optionally export the logs to/storage/emulated/0/. - Added licensing text and stuff to
apm version. - Optimized the binaries of APM by removing debug symbols and other junk, reducing the file sizes of APM.
Bugs
- You need to re-enter your security password everytime you run certain commands like
apm install, if you are using APM asshell.
Installation Instructions
(Notice: This has been tested on the Google Pixel 7a (lynx) on LineageOS 23.2, so installation instructions may vary!)
- Complete and exit the setup screen of LineageOS if you haven't already. Skip this step if you have already setup LineageOS.
- Plug in your phone to your computer and reboot into recovery mode. This can be done via various methods, so find how to enter recovery mode on your phone.
- Go into "Advanced"/"Advanced Options" and press "Mount/unmount system", then press "Enable ADB".
- Go back and go to "Apply update" and then press "Apply from ADB".
- Go to your Terminal or Command Prompt, and start ADB via
adb start-serverif you haven't already done so. After that, runadb devicesand check if your device is detected like this for example:34211JEHN02170 sideload. - Run
adb -d sideload <apm-zip-file.zip>. An example would be:adb -d sideload apm-lineage-recovery-20260328.zip. LineageOS Recovery may say that the signature of the ZIP file is invalid or something -- Continue on with installation, as that is expected. - Once installation finishes, reboot your phone back to the system. The system should boot as normal.
- You're finished. That's it.
Notes
- You no longer need to use
adb -d rootto use APM and it's commands and whatever commands you have installed. - Some of APM and stuff are now located in
/data/local/tmp/apm/. - Some bugs may still exist, so please remember to report any bugs to me!
APM - Version 2.0.0b [ Initial Open-Beta Release ]
APM - Version 2.0.0b [ Initial Open-Beta Release ]
Compiled at: March 28th, 2026. - 12:00 AM Eastern Time.
Changelogs
- Initial Open-Beta Release.
- Completed the documentation of APM, AMS, and their daemons.
- Deprecated and removed the Magisk version of APM, as it was only for debugging/testing purposes.
- Fully implemented AMS functionalities.
- Fully implemented APM functionalities.
- Fully implemented SELinux contexting for APM and AMS, allowing them both to work system-wide and properly.
- Various other fixes and implementations.
Bugs
- APM currently cannot be used as the
shelluser or any other user except therootuser. To use APM, enable "USB Debugging" (ADB) and "Rooted Debugging" in Developer Options, then runadb -d rootand thenadb -d shell. Once in the shell, runwhoamito make sure you are therootuser; and runapm pingand make sure it responds withOK: pong. - There may be various and certain bugs within APM and AMS, as they are both still in-development. Please report bugs whenever you find one!
Installation Instructions
(Notice: This has been tested on the Google Pixel 7a (lynx) on LineageOS 23.2, so installation instructions may vary!)
- Complete and exit the setup screen of LineageOS if you haven't already. Skip this step if you have already setup LineageOS.
- Plug in your phone to your computer and reboot into recovery mode. This can be done via various methods, so find how to enter recovery mode on your phone.
- Go into "Advanced"/"Advanced Options" and press "Mount/unmount system", then press "Enable ADB".
- Go back and go to "Apply update" and then press "Apply from ADB".
- Go to your Terminal or Command Prompt, and start ADB via
adb start-serverif you haven't already done so. After that, runadb devicesand check if your device is detected like this for example:34211JEHN02170 sideload. - Run
adb -d sideload <apm-zip-file.zip>. An example would be:adb -d sideload apm-lineage-recovery-20260328.zip. LineageOS Recovery may say that the signature of the ZIP file is invalid or something -- Continue on with installation, as that is expected. - Once installation finishes, reboot your phone back to the system. The system should boot as normal.
- You're finished. That's it.
Notes
- To enable debug mode for both APM and AMS, run
adb -d rootthenadb -d shell, and runnano /data/apm/debug.txt. Withindebug.txt, change the flag string fromfalsetotrue, then reboot your system. - You will find APM's debug logs within
/data/apm/logs/apmd.log. - You will find AMS' debug logs within
/data/ams/amsd.log. - If you have AMS modules installed, you may find their logs within
/data/ams/logs/.