Android Basics section
Unlocking Carrier section
Unlocking Bootloader section
Rooting section
After Rooting section
Android Custom ROMs section
Development section
Apps section
Remove Apps section
Miscellaneous section



Basics











Unlocking Carrier

Some phones will be restricted to using only one telecomm company (carrier). To change that, you "jailbreak" (usually on Apple) or "unlock" or "SIM unlock" (usually on Android) the phone.

Wikipedia's "SIM lock"





Unlocking Bootloader





Rooting

Normally, the user and apps will have restricted access to the filesystem, preventing changes to various system files and settings. To get full, super-user access to the filesytem, you have to "root" the phone (which mainly involves installing the Unix SU program and using it to set everything to run with super-user permission). But if you leave it running in that state, any malware application would have full access to all data and settings. And some applications will refuse to run on a rooted system, especially because it may allow you to subvert payment requirements or region restrictions (this may be called "failing SafetyNet" ?).

Easy way to root the phone, but it installs lots of bloatware: Kingo Android Root

Whitson Gordon's "Everything You Need to Know About Rooting Your Android Phone"
Wikipedia's "Rooting (Android OS)"
Guiding Tech's "7 Tips to Secure Your Rooted Android Device"





After Rooting

Whitson Gordon's "Top 10 Reasons to Root Your Android Phone"
Brendan Hesse's "How to Customize Your Android Device With Magisk and Xposed Framework"
Nick Congleton's "How to Install Android Add-ons From Magisk Manager"

Robert Zak's "How to Install Apps on Android without Google Play Store"
MakeTechEasier's "9 of the Best Android Apps Not on the Google Play Store"













Android Custom ROMs



From /u/trondwin on reddit's /r/LineageOS 8/2018:

Painful Lineage OS installation:

I bought a used LG G3 d855 to install Lineage OS on and use as my (only) phone. The installation instructions (at https://wiki.lineageos.org/devices/d855/install) for the phone seemed (reasonably) straightforward, even for a novice user like myself, so I thought this would be a fun, little project. However I ended up using 20-30 hours (over multiple weeks) in total.

This is not meant as a complaint - on the contrary, I am full of gratitude to all developers creating open source software - You're making the world a better place. Rather, by describing the efforts I went through, I hope others may learn something from them and get an easier time than I had.

Here are the main painpoints and time sinks I encountered. Ultimately, the instructions at the lineage os wiki were not particularly helpful. Specifically, they're somewhat misleading in that they make no provision at all for differences in Android versions. I found no other web site with a complete AND working tutorial, either - I had to research each specific problem as it occurred.

The good news - it DID work out in the end. It was actually doable, and I believe it will be for other phones and android versions as well.

I'd like to end with a thank you to all developers using their time to develop free and open source software. Thank you!





Development



NoviceDock's "Android Development Syllabus"
Romansh Yadav's "Understanding Android OS Architecture"
Tutorials Point's "Android - Architecture"
Do mockup with Balsamiq or Lucidchart or something similar.
Sayak Boral's "The Beginner's Guide to Android Studio"
Tracey Rosenberger's "How to Set Up and Run Android 9 for Development on Your Computer"

Android Emulators section of my Using Linux page





Apps



F-Droid
What is the Kali NetHunter App Store?
It seems any particular app X tends to be in either Google Play Store or in F-Droid, but not in both ?



Apps I like to add:
Be careful; there are lots of named-alike apps that may be malicious, or just trying to profit off another app's success. Check the name and vendor name carefully.




See Smartphones section of my Computer Security and Privacy page.





Remove Apps



How to identify apps:
Vivek's "3 Ways to Find Out Android App Package Name or Android App ID"



Typical apps:



Apps I want to delete:
Sarang's "List of Bloatware you can Remove or Uninstall from your Android device Without Root"

But after deleting GMail and Google Drive, they came right back (maybe upon next reboot, not sure).



Substitute apps to get more privacy:



Brendan Hesse's "Remember to Delete and Unlink Your Accounts Before Deleting an App"



How to remove apps:



Misc:
Settings / Developer options / Take bug report and "adb bugreport DESTFILE" don't do anything on my phone. If omit DESTFILE, name should be bugreport-BUILD_ID-DATE.zip On my Android 6.0 system, "adb bugreport >bugreport.txt", and you get an 11 MB file.
adb shell ls -R /
adb shell

adb shell pm list packages
adb shell pm list packages -f

RMG's "30+ Most Used ADB & FastBoot Commands for Android 2019"
Mohamed Ibrahim's "Android: ADB - List Installed Package Names"

Android Developers' "Capture and read bug reports"
Android Developers' "View on-device files with Device File Explorer"





Miscellaneous



Whitson Gordon's "How to Speed Up Your Old or Sluggish Android Device"

David Nield's "Here's How to Get Android Apps Running on Your Laptop"

Brendan Hesse's "How to Run Diagnostics Tests on Your Smartphone"

If you accidentally delete lots of photos:
"DiskDigger photo recovery" app



Is there an app that warns about suspect / banned apps on your phone ?
Is there any app that warns if any other app on your phone is a “banned” app (as in https://lifehacker.com/delete-these-banned-apps-from-your-android-1836494919) ? It would periodically read a list of suspect / flagged / banned apps from some server and pop up a notification. If such an app doesn’t exist, someone should create it. Thanks.

https://github.com/nmalkin/applisting
https://github.com/DzonHacker/InstalledPackages
https://github.com/ddqd/AppList
https://github.com/tmillner/PRACTICE-Android-ActivityLauncher

List: app name, reason it's suspect, link to more info.

https://www.makeuseof.com/tag/do-not-install-10-popular-android-apps/
https://lifehacker.com/delete-these-banned-apps-from-your-android-1836494919
https://www.consumeraffairs.com/news/bad-apps-from-google-play-infect-millions-of-android-devices-020415.html
https://www.theverge.com/2018/1/30/16951996/google-android-apps-removed-security-2017

https://support.google.com/googleplay/answer/2812853?hl=en
https://www.cnet.com/how-to/how-to-check-your-android-phone-for-malicious-apps/





Search my site: 

This page updated: September 2019