this post was submitted on 08 Aug 2020
9 points (69.6% liked)

Privacy

31960 readers
448 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

(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.

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:
  1. https://rfc2822.gitlab.io/fdroid-firefox/fdroid/repo?fingerprint=8F992BBBA0340EFE6299C7A410B36D9C8889114CA6C58013C3587CDA411B4AED

  2. https://apt.izzysoft.de/fdroid/repo?fingerprint=3BF0D6ABFEAE2F401707B6D966BE743BF0EEE49C2561B9BA39073711F628937A

  3. https://guardianproject.info/fdroid/repo?fingerprint=B7C2EEFD8DAC7806AF67DFCD92EB18126BC08312A7F2D6F3862E46013C7A6135

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.

top 22 comments
sorted by: hot top controversial new old
[–] cmxns@lemmy.ml 0 points 4 years ago* (last edited 4 years ago) (2 children)

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.

[–] jsgohac@lemmy.ml 0 points 4 years ago* (last edited 4 years ago) (1 children)

Cook has gone so far as to call for tighter regulations on explicit user data sales, so likely not much there. Maybe in its ad platform aggregated data might be used.

The closest thing in that regard I could find was their mention of advertising sales in their quarterly report. Likely user data in some aggregated form is sold to sellers, like FB does

Services Services net sales increased during the third quarter of 2020 compared to the third quarter of 2019 due primarily to higher net sales from the App Store, Video and Cloud Services. Year-over-year Services net sales increased during the first nine months of 2020 due primarily to higher net sales from the App Store, Advertising and AppleCare. Advertising net sales includes net sales from licensing arrangements and the Company’s advertising platforms.

Here is one snippet on their ad efforts (from an unlinkable ad cancer adweek site):

Apple Is Quietly Ramping Up Its Ad Game With Search Ads Expansion The App Store is trying again at one of its few failures

[–] cmxns@lemmy.ml 0 points 4 years ago (1 children)

Yes, there is Apple Search Ads thing which allows to advertise an app on App Store. The thing is they are transparent on how it works and explicitly say that they don't sell any data. See here: https://searchads.apple.com/privacy/

[–] TheAnonymouseJoker@lemmy.ml -1 points 4 years ago

Does Apple talk about being NSA partner, and this? https://i.imgur.com/n8Bk0bA.jpg

Or their T1/T2 hardware flaw, or Apple Mail exploit denial, or how they faked the San Ferdandino shooter incident for publicity?

[–] TheAnonymouseJoker@lemmy.ml -1 points 4 years ago (1 children)

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.

[–] cmxns@lemmy.ml 0 points 4 years ago* (last edited 4 years ago) (1 children)

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.

[–] TheAnonymouseJoker@lemmy.ml -1 points 4 years ago

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.

[–] michel@lemmy.ml 0 points 4 years ago (1 children)

You probably want Firefox Beta now instead of Preview. There are more whitelisted add-ons now; I also have Privacy Badger enabled and am tempted to also enable Decentraleyes (last time I tried it on desktop it broke some sites).

[–] TheAnonymouseJoker@lemmy.ml -1 points 4 years ago (1 children)

Looking into it quickly. I just wanted a normal user to be able to install FF quickly without going to GitHub/GitLab releases, so I saw Preview, and that was that. :/

[–] michel@lemmy.ml 0 points 4 years ago* (last edited 4 years ago) (1 children)

Ah. Well, preview and beta are both oh Play Store. Preview is no longer updated now that the new core is deemed stable enough for beta (though some people were upset when initially it didn't have any add ons)

Haven't checked if they're on the ffox fdroid repo though

[–] TheAnonymouseJoker@lemmy.ml -1 points 4 years ago

They both are there.one reddit user pointed it out to me as well. Looking into it, just woke up.

[–] Axaoe@lemmy.ml 0 points 3 years ago (1 children)

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).

[–] TheAnonymouseJoker@lemmy.ml -1 points 3 years ago* (last edited 3 years ago)

The fact that people keep reaching this guide keeps my hope alive for my mission of a pro privacy libre culture. Thank you.

[–] zeinok@lemmy.ml 0 points 4 years ago (1 children)

I think you can replace AppOps with AppOpsX, it also supports adb method and it's free unlike AppOps that's freemium

[–] TheAnonymouseJoker@lemmy.ml -1 points 4 years ago

You get a big kiss on forehead, sir/madam! Thank you for this wonderful suggestion. This makes my guide fully FOSS.

[–] geopoliticssuck@lemmy.ml -1 points 4 years ago (1 children)

If you don't use your smartphone often, just buy a PinePhone.

[–] TheAnonymouseJoker@lemmy.ml -1 points 4 years ago (1 children)

The reality is we all use smartphones often, as that is how you can function well in society. PinePhone, Necunos or Librem 5 are a utopian dream, and will stay like that for quite sometime.

[–] michel@lemmy.ml 0 points 4 years ago* (last edited 4 years ago) (1 children)

yeah, I plan to use a PinePhone as my secondary device and start helping port apps to it, but will probably use either Android or iOS for some time.

Alas, my next phone might be an iPhone -- though I'll try to steer clear from Apple services.

I currently use a Pixel as my daily driver, but I want to help contribute to OpenStreetMap and there's no OSM navigation app with Android Auto support, whereas MAPS.ME is open source, uses OSM and supports CarPlay. I wonder if it's technically more difficult to get Android Auto support or it's Google ironically abusing their gatekeeper role here (normally Apple is the one accused of doing that with the App Store).

[–] TheAnonymouseJoker@lemmy.ml -1 points 4 years ago

Not sure, Apple is not too great and very unmodifiable. Jailbreaking it makes its security garbage, and without Apple ID you cannot even install any app there.

Android is just lot freer unless you are looking for that convenient life with Apple.

[–] TheAnonymouseJoker@lemmy.ml -2 points 4 years ago* (last edited 4 years ago) (1 children)

(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.

[–] AltF4@lemmy.ml 0 points 4 years ago (1 children)

One exception to the no-Google phone rule: if you are using GrapheneOS, though obviously that is a lot more involved to install a whole new custom ROM.

[–] TheAnonymouseJoker@lemmy.ml -1 points 4 years ago

No exceptions. Google Pixels have a Titan M proprietary chip that runs unverifiable code and that Google does not let any independent third party audit.

Having faith in Google is as good as trusting cyanide to not kill me if I ate it.