Upload hosts file naar OnePlus 6T.

Voor thuis heeft Cellie Pi-hole, Adblock, uBlock en ScriptSafe om de al te opdringerige ad en tracking shit content te negeren.
Op de foon (vanwege data over 4G) is het iets meer werk.
Daar is de oplossing naast DNS66 een aangepast hosts file om de fuckers te weren.
Het hosts file is te vinden in /system/etc. (op de foon)
Maarrr.
Proberen om naïef Android bestanden in /system/etc te overschrijven loopt spaak.
De mount -o rw,remount /system via adb shell truuk werkt ook niet zonder meer.
Geen foutmelding, maar deze melding bij het uploaden in fastboot modus:

sudo adb push '/media/newstore/hosts/hosts' /system/etc 
failed to copy '/media/newstore/hosts/hosts' to '/system/etc/hosts': couldn't create file: Read-only file system

Na het nodige geduckduck bleek het nogal mee te vallen:

adb disable-verity
adb reboot
adb root
adb remount
sudo adb push '/media/newstore/hosts/hosts' /system/etc
4162 KB/s (334757 bytes in 0.078s)
adb reboot

Bye-bye and fuck you social spy networks!

Link: https://source.android.com/security/verifiedboot/dm-verity
Link: https://stackoverflow.com/questions/6066030/read-only-file-system-on-android/#51509192
Link: https://sourceforge.net/projects/socialnetblock/files/

LineageOS 14.1 voor Galaxy Tab Pro 10.1 WiFi n2awifi.

Downloads:

https://download.lineageos.org/n2awifi

Wiki:

https://wiki.lineageos.org/devices/n2awifi/

Issues:

De 20170420 had geen WiFi in de opstart wizard.
De oplossing was om alles handmatig te doen.
Swipe gewoon de notification slab omlaag en stel je apparaat in.
Daarna via task manager de wizard weer in focus brengen en verder gaan.

Dualboot Android/LibreELEC op de NEXBOX A95X.

Stappenplan:

  1. Download `recovery.img` and `LibreELEC-S905.arm-8.0-8.0.1b.img.gz`.
  2. Copy `recovery.img` to the root of a SD card.
  3. Insert the SD card in the A95X.
  4. Reboot the A95X to factory recovery.
  5. Install `recovery.img` as `image` instead of `zip`.
  6. Remove the SD card from the A95X and insert to PC.
  7. Use the LibreELEC installer to install LibreELEC-S905.arm-8.0-8.0.1b.img.gz to the SD card.
  8. Insert the SD card in the A95X.
  9. Reboot the A95X into recovery mode.
  10. The A95X will ask which medium to boot from.
    Choose the SD card.
  11. This will install LibreELEC on SD and reboot your A95X into LibreELEC.