http://i.imgur.com/QdRQE4q.jpg Anki running with Zoom,Hide menu,Night mode and Kanji Colorizer addons on the Xperia Play.
Q: Why would I want to run Anki inside Ubuntu on a Android device?
A: cause you can use addons like Kanji Colorizer!
I'm going to explain this as if you don't have any access to the google store so we're going to sideload the stuff we need. If you have google store access then just grab https://play.google.com/store/apps/detai...xonandroid and install everything you need inside the app.
Install the following apps:
Complete Linux Installer: http://skylink.dl.sourceforge.net/projec...072013.apk
Terminal: http://jackpal.github.io/Android-Termina...s/Term.apk
Android VNC: https://android-vnc-viewer.googlecode.co...110327.apk
Bonus app (you can skip it if you don't want it) RootDim for making your screen really dark! https://superdim.googlecode.com/files/RootDim-157.apk
Download the Ubuntu image (it's 2gigs unpacked) http://heanet.dl.sourceforge.net/project...-small.zip
Start Complete Linux Installer and go into the Launch section and edit the Ubuntu profile to point to your Ubuntu.img and then Start.
You'll see that the terminal app starts running and spits some stuff out and it will ask you to create a password, for this tutorial we're going to use the password ubuntu, but you _really_ should create something more secure. Click on your home button to get back to your dash and start Android VNC and connect with the following info:
Nickname: ubuntu
Password: ubuntu
Address: localhost
Port: 5900
Color Format 24bit
The first time you run the image inside Complete Linux Installer it will produce a ubuntu.img.config in the same dir as the image, inside this file you can config the resolution of your cellphone if it's not correct.
Now that we have Ubuntu running on your Android device we're going to install anki and transfer all your Anki stuff over from your PC as I don't recommend reinstalling everything through your cellphone as Chromium will crash randomly if it's on a low memory cellphone like the Xperia Play.
Download Anki inside Ubuntu on your android device using Chromium: http://ankisrs.net/download/mirror/anki-2.0.22.deb
Open up the LXterminal inside Ubuntu on your android device from the start menu and install it using the following command: sudo dpkg -i anki-2.0.22.deb
It will also ask you to install about 100meg of system updates when you install anki.
Now shut down everything and transfer the ubuntu.img back to your home dir on your PC.
Now the following part I did in Linux, you'll have to google for how to mount a Linux OS .img in Windows (I tried Poweriso and it didn't want to open it). Or run a small Linux distro like Lubuntu in Virtualbox/Vmware to transfer over your stuff to the ubuntu.img file.
We need to install kpartx to mount the ubuntu image in Linux on our PC.
Run in the LXterminal:
sudo apt-get install kpartx
Then mount the image:
sudo kpartx -av ubuntu.img
sudo mount /dev/mapper/loop0p2 /mnt
Now the ubuntu image should have popped up in your cd-rom,usb area in whatever brand of Linux you are running. Go into /home/ubuntu on the mount and replace the whole Anki dir with the stuff you have on your computer. Transfer the image back to your Android device and run it.
Finally we'll just install some japanese fonts in ubuntu on android as they appear to be missing: sudo apt-get install ttf-takao-mincho
If you need a virtual keyboard write: sudo apt-get install matchbox-keyboard in the LXterminal.
Enjoy.
Q: Why would I want to run Anki inside Ubuntu on a Android device?
A: cause you can use addons like Kanji Colorizer!
I'm going to explain this as if you don't have any access to the google store so we're going to sideload the stuff we need. If you have google store access then just grab https://play.google.com/store/apps/detai...xonandroid and install everything you need inside the app.
Install the following apps:
Complete Linux Installer: http://skylink.dl.sourceforge.net/projec...072013.apk
Terminal: http://jackpal.github.io/Android-Termina...s/Term.apk
Android VNC: https://android-vnc-viewer.googlecode.co...110327.apk
Bonus app (you can skip it if you don't want it) RootDim for making your screen really dark! https://superdim.googlecode.com/files/RootDim-157.apk
Download the Ubuntu image (it's 2gigs unpacked) http://heanet.dl.sourceforge.net/project...-small.zip
Start Complete Linux Installer and go into the Launch section and edit the Ubuntu profile to point to your Ubuntu.img and then Start.
You'll see that the terminal app starts running and spits some stuff out and it will ask you to create a password, for this tutorial we're going to use the password ubuntu, but you _really_ should create something more secure. Click on your home button to get back to your dash and start Android VNC and connect with the following info:
Nickname: ubuntu
Password: ubuntu
Address: localhost
Port: 5900
Color Format 24bit
The first time you run the image inside Complete Linux Installer it will produce a ubuntu.img.config in the same dir as the image, inside this file you can config the resolution of your cellphone if it's not correct.
Now that we have Ubuntu running on your Android device we're going to install anki and transfer all your Anki stuff over from your PC as I don't recommend reinstalling everything through your cellphone as Chromium will crash randomly if it's on a low memory cellphone like the Xperia Play.
Download Anki inside Ubuntu on your android device using Chromium: http://ankisrs.net/download/mirror/anki-2.0.22.deb
Open up the LXterminal inside Ubuntu on your android device from the start menu and install it using the following command: sudo dpkg -i anki-2.0.22.deb
It will also ask you to install about 100meg of system updates when you install anki.
Now shut down everything and transfer the ubuntu.img back to your home dir on your PC.
Now the following part I did in Linux, you'll have to google for how to mount a Linux OS .img in Windows (I tried Poweriso and it didn't want to open it). Or run a small Linux distro like Lubuntu in Virtualbox/Vmware to transfer over your stuff to the ubuntu.img file.
We need to install kpartx to mount the ubuntu image in Linux on our PC.
Run in the LXterminal:
sudo apt-get install kpartx
Then mount the image:
sudo kpartx -av ubuntu.img
sudo mount /dev/mapper/loop0p2 /mnt
Now the ubuntu image should have popped up in your cd-rom,usb area in whatever brand of Linux you are running. Go into /home/ubuntu on the mount and replace the whole Anki dir with the stuff you have on your computer. Transfer the image back to your Android device and run it.
Finally we'll just install some japanese fonts in ubuntu on android as they appear to be missing: sudo apt-get install ttf-takao-mincho
If you need a virtual keyboard write: sudo apt-get install matchbox-keyboard in the LXterminal.
Enjoy.
Edited: 2014-03-18, 6:41 pm
