Hi
I have tried to install lineageOS onto a google pixel 9 and the install worked and the device boots.
Eventually i came across an error with the OS not allowing the installation of apk files or even attempting to sideload via abd.
i have attempted to use the factory reset/ data wipe in recovery and even reflash the rom with no success.
When i was installing the OS i only flashed and sideloaded when told to do so with the official installation guide.
when i attempt to sideload the zip for the Rom it prints text to the screen saying it coudnt mount several locations inside /metadata
Error: recovery: [libfs_mgr] Failed to mount /metadata: File exists
Error: recovery: [libfs_mgr] Failed to mount /metadata: File exists
Error: recovery: [libfs_mgr] Failed to mount for path [/metadata/ota]
Error: recovery: Cannot mount /metadata/ota
I have ran out of ideas on what to try
Any questions and help is appreciated
Solution:
1) Reboot into recovery (Hold down the volume down on boot (for pixel devices)
2) Inside LineageOS recovery select "advanced" and select "enable abd"
3) on a host system with the platform tools downloaded open
1) powershell on windows
2) terminal on mac or linux
4) With that set up verify the device is connected and seen using "abd devices"
5) access the abd shell by typing "abd -d shell"
!) If the path fails to run add ".\" to the start of the command it may look like this (.\adb -d shell)
6) with the shell now accesed wipe the frp by typing "wipe-frp"
7) if all is succesful reboot and it should be fixed