An easy install: Raspbian Linux - SimonJGillespie/AnjinVirtualComputer GitHub Wiki
Step by Step installation of a Raspbian desktop
Screenshot running Debian with a lightweight desktop
18 Aug 2021
Put your Quest into developer mode. See Quest website for how to do this.
Checkout or download the files from github
install the AnjinVirtualComputer apk on the Quest:
adb install AnjinVirtualComputer.apk
download: https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-04-09/2019-04-08-raspbian-stretch-lite.zip unzip the file and rename the file to hda.img
using adb push command, push these files
kernel-vexpress
vexpress.dtb
hda.img
into the /sdcard/Android/data/com.AnjinGames.VRLinuxG4AndroidHostTest/files/
folder.
ie: adb push kernel-vexpress /sdcard/Android/data/com.AnjinGames.VRLinuxG4AndroidHostTest/files/kernel-vexpress
adb push vexpress.dtb /sdcard/Android/data/com.AnjinGames.VRLinuxG4AndroidHostTest/files/vexpress.dtb
adb push kernel-vexpress /sdcard/Android/data/com.AnjinGames.VRLinuxG4AndroidHostTest/files/kernel-vexpress
adb push hda.img /sdcard/Android/data/com.AnjinGames.VRLinuxG4AndroidHostTest/files/hda.img
Look in the unknown sources section of the oculus quest app menu, there should be an app called VRLinuxG4AndroidHostTest or similar.
Run the app now.
You should see the Anjin Virtual PC sitting on a desk with a keyboard with the Anjin Virtual Computer logo screen, after a second or so the computer should boot and lots of kernel lines will be displayed on the screen.
press enter, the boot should continue to the login screen.
Wait for boot to finish (3-4 minutes)
You will use the hands keyboard for the shell. Make sure the space has good even lighting, not too dark and not too bright. If you are having problems resort to using a pointing finger for each hand. It may help just to use a single hand. Backspace can be used to erase any mistakes.
at the login username prompt type pi
(then enter)
then type the password- raspberry
(then enter)
Well done! after a few seconds you will get the shell prompt and be able to type commands.
I can't install packages, unable to fetch some archives error: Your DNS may not be set correctly:
inside the Anjin Virtual Computer in the shell- change /etc/resolvconf.conf where there is a line #nameserver 127.0.0.1. Change 127.0.0.1 to your external DNS IP and remove the # symbol in front of nameserver (You may have to reboot afterwards). For example - nameserver 8.8.8.8
You also should run sudo apt-get update. This may take a while if you have a slow connection.
The keyboard symbols are all wrong: Your keyboard is not setup correctly:
In the command shell type sudo raspi-config
then select option for then keyboard layout Generic PC 104 (Not UK which is rpi default). Then select English(US) (Scroll down) then on the next screen scroll up to English US (its hidden you must keep scrolling up). Then default, then no compose key.
How do I remove the root account locked message ?:
run vi sudo /etc/fstab move to the line PART... press i for insert and put in a #. press escape and then down arrow and press i to insert and press # again (if you have not remapped the keyboard press the \ key for a #.)
To install a small desktop run this command
sudo apt install xorg wmaker
type startx
to run xwindows.
Its slow to start (2 minutes) but once started it runs fairly quickly.
the air mouse is like a touch pad above the three coloured buttons. wave you hand around in the space above the buttons and the cursor will move. Its like a joystick. The three coloured buttons are red for select, blue for menu and red for task switch (alt-tab also task switches)
To maximise a window Alt-m (useful in default 640x480 mode)
Suggested apps to install which have been tested- Netsurf & Viking.
use fbset -xres 1024 -yres 768 -depth 32
in the shell before running startx
but there is a catch. The screen won't work correctly and you must type startx even if it looks bad :-). Then it will be fine.
800x600 and 320x200 are also supported.
What else can I do?
Lots... You can install most debian packages. sudo apt install <packagename>
is the command for this.
Probably best if you look at the RaspberryPi or Debian documentation for other questions :-)