(1/2) Lemmy does not allow too long post walls
UPDATED 16/8/2020: Major edit, replaced closed source App Ops and Shizuku with AppOpsX (Free Open source) on F-Droid. This guide is nearly FOSS supported now.
UPDATED 17/9/2020: MAJOR EDIT, replaced closed source Access Dots with Privacy Indicator (FOSS) on Izzy’s F-Droid repo. This guide is completely FOSS.
Hello! I am the founder of /r/privatelife . Finally my smartphone non root guide is back, and there are some big upgrades. I was taking time to test everything myself on my daily driver, so apologies for keeping everyone in the wait, but stability and ease of use is the important goal to strive in my playbook. Privacy must be accessible to maximum amount of people without being annoying or tedious.
A kind request to share this guide to any privacy seeker.
#User and device requirement
- ANY Android 9+ device
- knowledge of how to copy-paste commands in Linux or Mac Terminal/MS-DOS Command Prompt (for ADB, it is very simple, trust me)
#Why not Apple devices?
iPhone does not allow you to have privacy due to its blackbox nature, and is simply a false marketing assurance by Apple to you. Recently, an unpatchable hardware flaw was discovered in Apple’s T1 and T2 “security” chips, rendering Apple devices critically vulnerable.
17/9/2020: Apple gave the FBI access to the iCloud account of a protester accused of setting police cars on fire.
Also, they recently dropped plan for encrypting iCloud backups after FBI complained. They also collect and sell data quite a lot. Siri still records conversations 9 months after Apple promised not to do it. Apple Mail app is vulnerable, yet Apple stays in denial.
Also, Apple sells certificates to third-party developers that allow them to track users, The San Ferdandino shooter publicity stunt was completely fraudulent, and Louis Rossmann dismantled Apple’s PR stunt “repair program”.
Also, Android’s open source nature is starting to pay off in the long run. Apple 0-day exploits are far cheaper to do than Android.
#LET’S GO!!!
ALL users must follow these steps before “for nerdy users” section.
Firstly, if your device is filled to the brim or used for long time, I recommend backing up your data and factory resetting for clean slate start.
-
Sign out all your Google and Huawei/Samsung/other phonemaker accounts from your device so that Settings–>Accounts do not show any sign-ins except WhatsApp/Telegram
-
Install ADB on your Linux, Windows or Mac OS machine, simple guide: https://www.xda-developers.com/install-adb-windows-macos-linux/
-
Use “Universal Android Debloater” to easily debloat your bloated phone.
NOTE: Samsung users will lose Samsung Pay, as Samsung has been caught and declares they sell this data: https://www.sammobile.com/news/samsung-pay-new-privacy-policy-your-data-sold/
-
Make DIY camera covers, for front camera notch use a tiny appropriate-sized thin opaque plastic cutout and use an invisible tape to stick it in place, replace every month (cost: tape roll and one minute of your time per month). My rear camera cover
-
Install F-Droid app store from here
-
Install NetGuard app firewall (see NOTE) from F-Droid and set it up with [privacy based DNS like Uncensored DNS or Tenta DNS or AdGuard DNS]
NOTE: NetGuard with Energized Ultimate HOSTS file with any one of the above mentioned DNS providers is the ultimate solution.
NOTE: Set DNS provider address in Settings -> Advanced settings --> VPN IPv4, IPv6 and DNS
- In F-Droid store, open Repositories via the 3 dot menu on top right and add the following links below:
Go back to F-Droid store home screen, and hit the update button beside the 3 dot menu.
###LIST OF APPS TO GET
-
Get Firefox Preview web browser from F-Droid (install uBlock Origin addon inside (if technically advanced, try doing this)). Also get Firefox Klar if you like a separate incognito browser.
-
Get Aurora Store from F-Droid for apps from Play Store without actually using Play Store, use Anonymous option to sign in
-
for 3rd party APKs source them only from APKMirror OR APKPure OR APKMonk, quite trusted, BUT TRY AND AVOID IT IF POSSIBLE
-
Get Privacy Indicator from F-Droid for iOS 14 like camera/mic dot indicator feature
-
Get OSMAnd+ from F-Droid or Qwant Maps inside web browser for maps and/or print physical maps if you live and travel in one or two states or districts.
NOTE: Qwant Maps has better search results than OSMAnd+
-
Get PilferShush Jammer from F-Droid to block microphone (use this in malls, restaurants or such public places if you can to prevent beacon tracking)
-
Get OpenBoard (user friendly) OR AnySoftKeyboard (nerd friendly) from F-Droid instead of Google GBoard, Microsoft SwiftKey et al, they are closed source keylogger USA spyware
-
Get FTP Server (Free) from F-Droid and FileZilla on computer for computer-to-phone internet less file sharing
NOTE: for phone-computer sync or sharing, can TRY KDE Connect, available for Android, Windows, Linux
-
Get TrebleShot instead of SHAREIt for phone to phone file sharing
-
Get K-9 Mail or FairEmail as e-mail client
-
Get NewPipe for YouTube watching, or YouTube in Firefox Preview/Klar
-
Get QKSMS from F-Droid as SMS client app
-
Get Shelter from F-Droid to sandbox potential apps that you must use (eg WhatsApp or Discord or Signal)
-
Get SuperFreezZ from F-Droid to freeze any apps from running in background
-
Get Librera Pro from F-Droid for PDF reader
-
Get ImgurViewer from F-Droid for opening reddit/imgur/other image links without invasive tracking
-
Get InstaGrabber from F-Droid for opening Instagram profiles or pictures without invasive tracking (seems like a revived fork is here, thanks u/sad_plan )
-
Get GreenTooth from F-Droid to set Bluetooth to disable after you have used it
-
Get Material Files or Simple File Manager from F-Droid for file manager app
-
Get ImagePipe from F-Droid if you share lot of pictures, and want to clear EXIF metadata snooping (often photos contain phone model, location, time, date)
-
Get Note Crypt Pro from F-Droid for encrypted note taking app
-
Get Vinyl Music Player from F-Droid for music player
-
Get VLC from F-Droid for video player
###CRITICAL FOR CLIPBOARD, LOCATION AND OTHER APP FUNCTION BLOCKING
I would say this is one of the critical improvements in my guide, and will solve the problem of clipboard and coarse location snooping among other things.
AppOpsX is a free, open source app that allows to manage granular app permissions not visible normally, with the help of ADB authorisation without root. This app can finely control what granular information apps can access on your phone, which is not shown in app permissions regularly accessible to us.
Now that you would have set up your phone with installing apps, now is a good time to perform this procedure.
Step 1: Install AppOpsX from F-Droid. (https://f-droid.org/en/packages/com.zzzmode.appopsx/)
Step 2: Plug phone to computer, and enable USB debugging in Settings --> Developer Options (you probably already did this in the starting of the guide)
Step 3: Keep phone plugged into computer until the end of this procedure! Open AppOpsX app.
Step 4: On computer, type commands in order:
adb devices
adb tcpip 5555
adb shell sh /sdcard/Android/data/com.zzzmode.appopsx/opsx.sh &
Step 5: Now open “AppOpsX” app, and:
- disable “read clipboard” for apps except your messengers, notepad, office suite, virtual keyboard, clipboard monitor apps et al.
NOTE: Most apps that have text field to copy/paste text require this permission.
-
disable “modify clipboard” for every app except for your virtual keyboard or office suite app or clipboard monitor/stack special apps.
-
disable “GPS”, “precise location”, “approximate location” and “coarse location” for every app except your maps app (Firefox and OSMAnd+)
(2/2) in comment below.
Thanks for this, I had some of this completed already but didn’t know about AppOpsX - that piece helped a lot for my peace of mind (as I like my device otherwise quite a bit).
The fact that people keep reaching this guide keeps my hope alive for my mission of a pro privacy libre culture. Thank you.
Netguard with HOSTS
I was under the impression you cannot edit the hosts file without root? How do you do this?
Debloat Script
Also obviously a backup is recommended, but didn’t really want to fresh install, I should be fine to run the debloat script without fresh installing correct? Also will this break apps like Signal that check for Google Services and if it doesn’t find it doesn’t rely on them? I had an issue with Signal not sending notifications because of this (Blocking off Google Services with Netguard). I know on systems where Google Services are removed it works fine because it doesn’t detect them, but the debloat script looks like it just disables them correct? So I assume I may run into issues with Signal notifications? I don’t know why Signal can’t just allow us to choose.
NetGuard without root works using the VPN function on Android, by routing all traffic through it. Since you employ the HOSTS rules on NetGuard, it effectively acts the same as system HOSTS rules, since all traffic is routed through NetGuard.
The script is totally safe, and you can just re enable packages that the sh scripts list, and which disabling seem to have crippled your phone ROM’s functions (for example the PC suite packages should be re enabled if you sync and backup via them).
Apps that rely on Google Cloud Messaging (GCM) service will have issues with notifications, not all of them though. Signal probably listed the issues with F-Droid build, so they will stay on Play Store (and Signal will stay out of my device).
Thanks for your post but your Apple section is questionable. Could you please provide sources for your claim that Apple sells data they collect? Also, after that Qualcomm f*ckup, using T1/T2 vulnerability as a reason not to buy Apple device is weird. The only valid arguments are all outlined in the Gist and they are surely concerning. But that’s not nearly enough to say that Apple devices should be avoided.
I provided sources for that already. https://i.imgur.com/n8Bk0bA.jpg
I do not trust Apple or Qualcomm as they are NSA arms and USA has extended jurisdiction over me in India.
All of the above reasons are why Apple devices must clearly be avoided for privacy and security, without doubt.
Also, you cannot use app store until you make an Apple ID in Apple devices, unlike Android.
There’s nothing about Apple selling data to third-parties. Moreover, they are clearly saying in they privacy policy that they don’t sell it. So, again, do you have any sources on that?
Any company from Five Eyes are potential NSA partners. Companies from other countries may be partners as well. See Crypto AG from Switzerland. If you don’t trust Apple that much then why do you trust other vendors? How can you be sure that, for example, Sony or LG does not ship backdoored phones to US or India or other countries? Most of the Android phones are with Qualcomm chips too. So, I don’t see how iPhones are less secure. You can have more privacy with something like GrapheneOS but definitely not more security.
You can use fake Apple ID for App Store, you don’t need a credit card for it.
You probably missed the 3rd link from bottom about selling data there. Not sure if you are intentionally overlooking it. Here, take it: https://hongkongfp.com/2017/06/08/china-uncovers-massive-underground-network-apple-employees-selling-customers-personal-data/
Also this recent one: https://www.thewrap.com/apple-lawsuit-user-data-itunes/
How can you be sure that, for example, Sony or LG does not ship backdoored phones to US or India or other countries?
Bold claim. I wonder if there is someone else who blabbered a sentence similar to this… “backdoors in transit”? Until it is proven, I will just declare it to be FUD garbage.
You can use fake Apple ID for App Store, you don’t need a credit card for it.
And you still end up making an Apple account with plenty of your data going to Apple servers. You cannot avoid making an Apple account, which is the whole gist of it. On Android, you need not make a Google account, or root/jailbreak phone to install 3rd party FOSS app store like F-Droid.
Yeah, I missed these two links, thanks. So, the first one talks about unauthorised access from some employees. I don’t see how this proves that Apple sells personal data.
From the second link:
For example, any person or entity could rent a list with the names and addresses of all unmarried, college-educated women over the age of 70 with a household income of over $80,000 who purchased country music from Apple via its iTunes Store mobile application.
I’ve tried to find a way to rent such a list and didn’t found how can I achieve this. Moreover, you can’t even get names nor addresses via Search Ads targeting. Given that this article is almost 1.5 years old and there was no more info about that lawsuit it’s either a fake or someone tried to get some easy money.
So, we’re back to the question.Bold claim. I wonder if there is someone else who blabbered a sentence similar to this… “backdoors in transit”? Until it is proven, I will just declare it to be FUD garbage.
Its not a claim. I’m asking why you don’t trust Apple but trust other vendors? Why they deserve your trust? Why other people should trust them more than Apple? That was the question.
And you still end up making an Apple account with plenty of your data going to Apple servers.
Yes, and that’s why I said you can get more privacy with something like GrapheneOS. But you won’t get more security by switching away from iPhone.
If you are trading verifiable open privacy off for security that is totally proprietary and unknown (and unreliable as seen with Apple T1/T2 chips), it is same as claiming you have a great accuracy rate with blindfold shooting.
The claim was not fake, Apple just happens to have too much money and power.
Also, Apple works with NSA (and that data goes to 14 Eyes via NSA). Some other entities happen to have no relations with 14 Eyes or NSA.
As we know, Google AI is used to murder people in foreign countries via US military drones: https://www.wired.co.uk/article/google-project-maven-drone-warfare-artificial-intelligence
Also, we know Facebook, Apple, Google and other US companies are very friendly in giving and taking data: https://www.nytimes.com/interactive/2018/06/03/technology/facebook-device-partners-users-friends-data.html
As such, giving data to NSA or 14 Eyes in any manner can put people at high risk of safety and real-life security. In the end, this proprietary Apple security is a facade and marketing ploy.
Are you intentionally evading questions related to profs for Apple selling user data? You still didn’t provide any sources nor you said anything about trust in other vendors.
I can’t care less about Google or Facebook as well as I don’t care about US military. This thread is about Apple and how it handles personal data.
Are you intentionally evading questions related to profs for Apple selling user data?
Are you intentionally acting ignorant towards the evidence I already gave for Apple spying and selling user data?
Guess what, your tiny comment train is not the thread. The thread is about the guide I made, and it seems to contain facts that others are not criticising except you.
I think you can replace AppOps with AppOpsX, it also supports adb method and it’s free unlike AppOps that’s freemium
You get a big kiss on forehead, sir/madam! Thank you for this wonderful suggestion. This makes my guide fully FOSS.
Thanks, AppOpsX also got bulk permission disabling which is better than Shizuku AppOps :)
I agree, tested it fully yesterday. Will take another day to see if I missed anything.
The non root privacy hardening guide is fully FOSS now. AppOpsX seems super good as of now!
If you don’t use your smartphone often, just buy a PinePhone.
(2/2)
-
disable “calendar” for every app except your calendar and email app
-
disable “read contacts”, “modify contacts” and “get contacts” for every app except your “Phone”, “Phone Services”, “Phone/Messaging Storage”, contacts and messenger apps
-
disable all “send/receive/view messages” permissions for every app except “Phone”, “Phone Services”, “Phone/Messaging Storage”, QKSMS, contacts, dialler and messenger apps
-
disable “body sensors” and “recognise physical activity” for every app except games needing gyroscope, or any compass dependent app like camera or bubble leveling app
-
disable “camera” for every app except your camera and messenger apps
-
disable “record audio” for every app except camera, recorder, dialler and messenger apps
-
disable all “Phone” permissions for apps except your SMS app (like QKSMS) and Contacts, Dialler and call recorder apps
-
disable “change WiFi state” for every app except file sharing apps (like TrebleShot)
-
disable “display over other apps” for any third party app not from F-Droid
-
disable “read storage” and “write storage” for apps except file manager, file sharing app and messenger apps
-
enable all permissions for “Phone”, “Phone Services” and “Phone/Messaging Storage” system apps, critical for cell radio calling and sending SMS
Step 6: Profit! Now you can plug off phone from computer.
NOTE: Remember to use AppOpsX everytime you install a new app outside of F-Droid store, which is done not too often by people.
#FOR NERDY USERS
-
Get App Manager from Izzy’s F-Droid repo (here) to inspect app’s manifest, trackers, activities, receivers, services and even signatures via Exodus Privacy built-in, all without root
-
Get Warden from Izzy’s F-Droid repo (here) for checking loggers (rest app is inferior to App Manager)
#HOW TO USE NETGUARD
By default, all apps will be blacklisted from WiFi and mobile data access.
If not, go to Settings via 3 dot menu --> Defaults (white/blacklist) --> Toggle on “Block WiFi”, “Block mobile” and “Block roaming”
Whitelist your web browsers, messengers (WhatsApp, Zoom et al), file sharing apps, download managers, “Aurora Store” app and any game if needs internet and give them WiFi and mobile data access.
Also, whitelist “Downloads” and “Download Manager” as these are system apps that allow web browsers and other apps without built-in downloader to download files. Whitelisting this will keep apps and system stable.
#WHICH PHONE BRANDS ARE GOOD AND BAD? (FACTS)
Now we will need to evaluate what manufacturers are relatively safe, no appeasing, I will be blunt. I will make tier lists to help. I will give explanation for each, so read before jumping with pitchforks.
NOTE: If you have anti-Chinese political allergy, kindly read facts, or choose the other non-Chinese options listed.
Tier 1: Huawei/Honor, Asus, Nokia, Motorola, Sony, LG, FairPhone
Tier 2: Samsung, OnePlus, Oppo, Vivo, Xiaomi, Realme
Tier NOPE NOT AT ALL: Google
FairPhone: Clean software, ethical, recyclable components, good phone but bit extra price for midrange hardware. Status: good.
Huawei: (still no evidence by US government after one year of market protectionism ban, contrary to what Sinophobic US propaganda and condemned joke research papers (refer to this for why), may make you believe, all countries except US, Australia, Japan and UK are allowing them for 5G participation, there is absolutely ZERO EVIDENCE against specifically Huawei (does not count other Chinese companies), earlier ironically audited by UK GCHQ to be safe and on any of their global devices, to date there has been no telemetry found IFF you do NOT use Huawei ID account or Huawei AppGallery store (as instructed above). I have an OpenKirin rooted unlocked Honor 6X, and now a locked P30 Lite to confirm this.
If Huawei’s CEO is a former PLA technician, so do plenty US companies. What does it prove?
NOTE: Real reason for this propaganda ban is USA could not monopolise 5G unlike it did 4G, and so they are playing their cards to put China out of commission. And Huawei did not steal 5G from USA, since USA does not even have a proper 5G vendor yet.
To add, for the rest of world outside China it is better to own a device from a country which has no jurisdiction over them, and you can use their phones without Huawei and Google accounts very safely. BONUS: baseband modem not associated with NSA. Also, good cameras, battery, display and performance in general. Status: good.
Asus, Sony, Motorola: their software is nearly stock, and as such quite beneficial and peace of mind assuring. Status: good.
LG: less stock-y software, still good. Good cameras. display too. Status: good.
Nokia: a bit of skepticism here with them helping spy with nexus with Russia’s MTS and recently found Chinese telemetry as well, but nothing that NetGuard cannot stop by blocking domains via HOSTS from interacting with your device. Status: Potential issues, can be mitigated.
Samsung: Multiple issues with Qihoo 360 on phones with IMEI MAC sent over HTTP, Samsung Pay selling user data with no optout till now, Replicant devs discovering backdoors, Knox hardware blackbox with no idea what microcode it runs, certification from NSA even worrying, lockscreen and notification ads in OneUI, ads on Smart TVs, this all accounts to being quite shady company, but Blokada or NetGuard can mitigate it. Status: avoid for other brands if possible.
Xiaomi: They have quite a bit of telemetry in their MIUI skin, similar to Samsung. Now they have tracking in Incognito Mode in their Browser as well. Status: avoid unless you implement my guide properly.
OnePlus, Oppo, Vivo: They have considerably less telemetry and ads, better than Samsung and Xiaomi. But they will start doing the same thing as Realme which I will mention below soon. Status: potential but passable for now.
Realme: They are implementing ads into their UI, which will soon come to Oppo and Vivo phones too, a bit of an issue. This allows for telemetry and tracking concerns. Status: avoid if possible.
Google: In general an evil megacorp, Titan M security chip is self-claimed to be great on Pixels, but there is no way to verify if the microcode it contains is the same as that open sourced by Google. Having faith in Google’s promise of their proprietary closed source chip being clean is like having faith in cyanide not killing a person. Moreover, they are known as:
-
NSA partner and collecting data and spy on users in googolplex capacity
-
AI used by US military for drone bombing in foreign countries based on metadata Google collects on smartphones
-
use dark patterns in their software to make users accept their TOS to spy
-
repeated lies about how their data collection works claiming anonymity
-
forcing users to use their Play Services which is spyware and scareware
-
monopolising the web and internet via AMP
-
use of non standard web browser libraries and known attempts to cripple lone standing ethical competitors like Firefox and Gecko web engine (now with Microsoft making their default Edge Chromium-based too)
TL;DR there is no summary, privacy is an indepth topic and you must take a couple of hours to go through this simple guide, as long as it looks it should clear all your concerns with smartphone privacy.
This is the best you can do without rooting or modding a phone, and it is working for me since almost a year now, personally tested and verified on my locked P30 Lite.
I have a history of rooting and modding phones, one being an Honor 6X before Huawei disabled unlocking policy, one being a Xiaomi and one being a Lenovo before that. Also, one Samsung Galaxy S2 long time ago.
Credit to /u/w1nst0n for the Universal Android Debloater (authorised me to use his tool). Hope this guide serves as a great tool for any privacy seeker.
-