Enable Root with Lineage 19.1 and Magisk

Note to myself, so I don’t forget. This is necessary after every OS update.

Note that not doing this does not invalidate rooted apps. But after updating, Magisk is not working any more, and with that we can’t manage root access to individual apps any more.

  • Download the latest Magisk (.apk file)
  • Rename to zip
  • Boot into Recovery
  • Start installation on Android device
  • Install from computer with:
    adb sideload magisk-v25.1.zip
  • Acknowledge unsigned app

Pocophone F1 Fixed – So Much Software in Smartphones!

I had really bad touch screen glitches in my phone, and I was convinced it was a hardware issue. Well, turns out that in addition to the ROM (I run LineageOS), there is also a separate Kernel. Updating to FrancoKernel seemed to have fixed it!

This is not the first time I had a problem with software that I wasn’t even aware of: In the past, I had a phone where I had to update the radio firmware, as the new SIM card I got was constantly crashing…

 

Lineage OS on Xiaomi Pocophone F1

Lineage OS on Xiaomi Pocophone F1

My old Oppo Find 7 served me really well for 5 years. But Oppo stopped updating Android a long time ago, so I switched to Omni ROM. But updates stopped a year ago as well, and I had to fight with more and more demanding applications.

So I switched to another China-Phone, Xiaomi Pocophone F1. I gave MIUI 10 a try, but I decided to switch for the following reasons:

  • No interest in the full stack of Google applications
  • Need the ability to modify my hosts file for global ad blocking
  • Nontransparent permission management

So here are the steps I took to install Lineage OS on the phone instead:

  • Unlock Bootloader
  • Install TWRM (watch out: As soon as you boot back to MIUI, it will be removed!)
  • Install Vendor Firmware (watch out! Only 9.x works, not 10.x)
  • Install Lineage OS
  • Install Open GApps Pico
  • Install Magisk (also provides root, SuperSU did not work)
  • Download your favorite ad-blocking hosts file. Use TWRM and mount system, then copy the file to /system/etc.

Biggest downside of using Lineage: Fortnite does not work any more!

Teufel One S: Große Enttäuschung, kein Chromecast

Nachdem ich vor längerer Zeit ein Raufeld One S gekauft habe, wollte ich mein Netzwerk durch ein weiteres Gerät ergänzen. Da es offiziell als Nachfolgeprodukt beworben wurde, habe ich mich für das Teufel One S entschieden. Das war eine Große Enttäuschung, denn Chromcast Support wurde entfernt, eine von mir viel benutzte Funktion. Bei einem nicht gerade billigen Gerät (€200) nicht nachzuvollziehen, und ich bin auch nicht bereit, den Aufpreis von weiteren €200 für das Teufel One M zu bezahlen.

My favorite Android G1 apps

  • OI File Manager for file browsing
  • AppManager to install apps outside the market place
  • PDF Viewer – not optimal as it renders externally, but better than nothing
  • Toggle Settings – most important app!  Allows quick turning on and off of power consuming services
  • Battery Widget – shows the precise charge of the battery
  • Meridian Player – pretty good audio and video player
  • Steel – webbrowser, I like it better than the default browser
  • Notepad with Sync – allows the synchronization of notes with Helipad
  • Tetherbot – allows tethering of a laptop for web access.  Works only with cable and requires root access on the phone.
  • ConnectBot – SSH Client
  • Metal Detector – amazingly, it really works
  • Google Sky Map – cool, but useless in a city
  • Doom for Android – because we can
  • TED – Browser and Viewer for TED-Talks
  • Terminal Emulator – Command Line
  • The Weather Channel – in my opinion the best weather app – allerdings it only supports °F, not °C.

Vodafone UMTS with Ubuntu 8.04 and Thinkpad T61

The instructions here are based on this set of instructions (thanks to taternik, the author).

First, I made sure that the card works via Windows.  The preinstalled Windows has a Tool for configuring the Card.  Make sure that everything works there first.  I disabled PIN-entry.  Supposedly there is a way under Linux to have a pin-prompt, but I skipped that part.

Two new files have to be created as root:

/etc/ppp/peers/vodafone

###########################################
#Suggested Vodafone PPPD configuration file
#File /etc/ppp/peers/vodafone
###########################################
#Set this to the device allocated to the GlobeTrotter
/dev/ttyUSB0
#Baudrate
115200
#Idle time for closing connection
idle 7200
#Lock the device for this PPPD process use only
lock
#Use normal handshaking
crtscts
#Assume it is a modem device and force modem control methods
modem
#Any user can start the connection
noauth
#If a default route exists replace it with the ppp link
#You get an error if this command is not supported
#by your version of PPPD
replacedefaultroute
#Make the ppp link the default root
defaultroute
#Username and Password for computer/GlobeTrotter ppp link
#Normally ignored. Change if GSM Operator requires it
user vodafone
password vodafone
#Change the path to chat if required for your version of Linux
connect "/usr/sbin/chat -V -f /etc/ppp/peers/vodafone-chat"
#Accept IP address provided by network
noipdefault
#Detach PPPD from console used to run the program {optional}
#updetach
#Get DNS addresses from operator
usepeerdns
#Don't use VJ compression for ppp link
novj
###########################################
/etc/ppp/peers/vodafone-chat
# Suggested chat script called by PPPD
# File: /etc/ppp/rogers-chat
###########################################
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 10
"" "AT&F"
OK "ATE1"
OK "AT+CGDCONT=1,\042IP\042,\042web.vodafone.de\042"
SAY "Calling Vodafone UMTSn"
TIMEOUT 60
OK "ATD*99***1#"
CONNECT c
###########################################
###########################################

Almost done! Now we only need a way to start the connection.  This must be done as root with the following command:

sudo pppd call vodafone

For convenience, I created a launcher with the type "Application in Terminal".  When done with the connection, it can simply be stopped with a Ctrl-C.