Greetings, all!
Boy do I feel like a noob.
I did a bonehead move (again) and wondering how to fix it.
I read about someone adding a custom Dyslexia font into LineageOS and that got me thinking... why can't you just add any custom font you want? Thought I'd try it out for funsies.
So I followed the guidance I found and did the following:
- Copied the font I wanted to use into /system/fonts/
- Edited /system/etc/fonts.xml and added the following entries:
<family name="ubuntu-reg">
<font weight="300" style="normal">Ubuntu-Light.ttf</font>
<font weight="300" style="italic">Ubuntu-LightItalic.ttf</font>
<font weight="400" style="normal">Ubuntu-Regular.ttf</font>
<font weight="400" style="italic">Ubuntu-Italic.ttf</font>
<font weight="500" style="normal">Ubuntu-Medium.ttf</font>
<font weight="500" style="italic">Ubuntu-MediumItalic.ttf</font>
<font weight="700" style="normal">Ubuntu-Bold.ttf</font>
<font weight="700" style="italic">Ubuntu-BoldItalic.ttf</font>
</family>
<alias name="sans-serif-light" to="ubuntu-reg" weight="300" />
<alias name="sans-serif-medium" to="ubuntu-reg" weight="500" />
I rebooted my phone and now it is stuck at the LineageOS logo, won't proceed any further.
... bad, but it gets worse.
I can still boot into recovery, so I decided to reboot into recovery and use ADB. I was able to pull the file, remove the edits, and push it back after mounting /system as writable (strangely it mounts as mnt/system/system/etc). Still bootloop. So at this point I'm figuring maybe permissions error??
My phone never likes to OTA update, so I figured well now as a good a time as any. I rebooted into recovery, downloaded the latest nightly build for blueline, and from the Lineage recovery menu chose Apply update, Apply Update from ADB. I am wondering if this was not the way (do you know the way?)... it errored out at 47%, but I recall that being normal. The phone itself said Step 2/2 and just stayed on that with no output for >10 minutes. So I tapped the back button in the Recovery menu and reboot.
Now stuck at the LineageOS loading splash.
What can I do here... did I apply the update incorrectly? Do I need to chmod or chown the file(s) I edited?
Still have recovery and ADB access... decent enough with the shell, but then again that just means I know enough to be dangerous lol
Any help would be greatly appreciated!!