Re: Installing Lineage OS on my first generation Google Pixel

Hi, to set up lineage or any custom rom without sited assistance, you need several files:
fastboot and adb available from the android sdk
If installing on the scurge of the earth, aka windows, fastboot and adb drivers
a build of TWRP for your device
the zip of the rom you're going to flash
the zip installer of the magisk root and systemless interface, available from:
https://github.com/topjohnwu/Magisk/rel … -v20.3.zip
my talkback installer magisk module, available from:
https://nashcentral.duckdns.org/projects/talkback.zip
after you download everything, enable usb debugging on your current rom, make sure that you select always allow from this computer in the authorization dialog, may be important later, connect your phone to the computer, and run:
adb reboot bootloader
Once your phone reconnects, it will be in bootloader mode. If you've never installed a custom recovery before, your device's bootloader will be in the locked state. To unlock the bootloader, run:
fastboot oem unlock
Depending on your device, a visual prompt with no audible confirmation will be displayed, asking if you're sure you want to unlock the bootloader, it'll void your warranty, etc. To get past this screen and confirm the unlock, for most devices, press and release volume up, and press power. If you did it correctly, you will get a prompt from fastboot that says erasing userdata done. Once you get kicked back to the prompt, type the following for devices without a/b partitioning, i.e. devices that do not need to restart into recovery to install OTAS:
fastboot flash recovery /path/to/twrp.img
Once the command completes, most devices require you to select boot recovery in the bootloader menu. If you reboot, the stock rom will replace your brand spanking new twrp with the ramdisk copy of the stock recovery, how rude! For most devices, to select boot recovery, hit volume up twice and power to select.
For a/b devices, the situation is more complicated. A/b devices require downloading two twrp files, one image file and another twrp installer zip. Once you have those files and an unlocked bootloader, run:
fastboot boot /path/to/twrp.img
After a few seconds, you can run:
adb shell
if you get a ~# prompt, congratulations, you are now in twrp! Regardless of how you get to twrp,the next step is to get all of those zips on your phone. Thanks to adb's push command, moving those files is as easy as kicking ass and chewing bubblegum, when you're all out of gum! Duke Nukem reference asside, to save yourself a huge amount of typing later, if you have an a/b device, push the twrp installer first by doing
adb push /path/to/twrp.zip /sdcard/twrp.zip
Next, install that file, you need to put a full path, since twrp's installation logic is a bit wierd:
adb shell twrp install /sdcard/twrp.zip
If it finished, your ramdisk is patched, so as long as you install your rom before the next reboot, you're as good as gravy. Now let's get that rom installed, same as before
adb push /path/to/rom.zip /sdcard/rom.zip
adb shell twrp install /sdcard/rom.zip
With our rom installed, let's get dangerous, I mean let's get rooted. Time to install magisk, if it fails with some obscure error, reboot into recovery so the rom's kernel is active by running:
adb reboot recovery
adb push /path/to/magisk.zip /sdcard/magisk.zip
adb install /sdcard/magisk.zip
If you're as paranoyed as me, you probably want microg instead of google play services and you don't really need/want the play store, but let's assume you aren't, no matter how you want your rom, security focused or with a side of google, you can still get the same accessibility either way. If you want the google apps, pick any package, lighter may be better, you're going to put the screen reader and a tts in in a bit, to install gapps, it's the same drill:
adb push /path/to/gapps.zip /sdcard/gapps.zip
twrp install /sdcard/gapps.zip
Now that we have our rooted rom with or without gapps, time to make this badboy accessible, ey? Install the talkback installer the same way as any other zip:
adb push /path/to/talkback.zip /sdcard/talkback.zip
adb shell twrp install /sdcard/talkback.zip
This installs both espeak and talkback into magisk's module directory, which, once android finishes booting, appears to be a part of /system. Since espeak does not support direct boot, if you set a screen lock that relies on the virtual keyboard, install GoogleTTS or any other tts that has this support after enabling the screen lock, or you will need to non surgically borrow eyeballs to unlock your phone every time you power it on. Finally, reboot your device:
adb reboot
Once android comes up, use the accessibility shortcut which has been enabled by my module and talkback will start talking. If you just get earcons but no speech after waiting a few seconds, reboot your phone and you'll have speech.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Chris via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Chris via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : SLJ via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : haily_merry via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Chris via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : jack via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Chris via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : jack via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Chris via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : jack via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : hacker via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : jack via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Chris via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Chris via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Chris via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : jack via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : nidza07 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Chris via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : nidza07 via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : jack via Audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : nidza07 via Audiogames-reflector

Reply via email to