I've used
adb shell pm list packages
to get a list of installed packages and https://github.com/mvdan/fdroidcl to install the ones available of fdroid.
That said, look into Obtanium, too.
Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
1. All posts must be relevant to Android devices/operating system.
2. Posts cannot be illegal or NSFW material.
3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.
4. Non-whitelisted bots will be banned.
5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.
6. Memes are not allowed to be posts, but are allowed in the comments.
7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.
8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.
Community Resources:
We are Android girls*,
In our Lemmy.world.
The back is plastic,
It's fantastic.
*Well, not just girls: people of all gender identities are welcomed here.
Our Partner Communities:
I've used
adb shell pm list packages
to get a list of installed packages and https://github.com/mvdan/fdroidcl to install the ones available of fdroid.
That said, look into Obtanium, too.
Apps and more (sms, wifi networks, bluetooth devices), free and open source: https://github.com/NeoApplications/Neo-Backup
Not really the answer to your question, but maybe my recent experience will help.
A lot of apps can export settings. Having recently joined the alternative android club, that was a definitely a time saver. On my last phone transfer I spent a few day when I had time reconfiguring every app, this time around all my main apps were pretty much fully setup in an hour.
For an "app list", I just took a screen shot of my home screen layout and app drawer. Had everything downloading in about 10 minutes. Home screen took a bit to put back together. If you can export the launcher config, maybe restoring it after you've downloaded everything will restore home screen layout too...no clue, I never tried that one.
Titanium Backup does this for me but it's ancient. I have heard of Swift Backup though.
Neo Backup is the new titanium as of about 5 years ago. Now, if only i could get TWRP back...
It's not open source, but Swift Backup can backup your app data with adb access via shizuku to a folder on your device that you can copy to another device
*Not all of the app data, only the app data in the internal user-accessible storage. The data in the /data partition will not be backed up. Most app settings are stored in /data.
If you have root it can back up the /data too, but not many phones support root access these days.
Neo Backup on F-Droid. Backs up everything based on how you configure it. Copy the backupsvto your new phone and restore.
It requires root, of course. Yet another reason to have root. I run backup before flashing and copy it to a flash card in case i have to reset or wipe the phone as part of the process, or i screw it up and have to start from scratch.