Guest natostanco Posted May 6, 2011 Report Posted May 6, 2011 (edited) I used these guides, http://plugapps.com/index.php5/PlugApps_Android_Chroot and http://nexusonehacks.net/nexus-one-hacks/h...xus-oneandroid/ to get plusapps working, under my liquid, of course this is not technically related to liquid but to any android device but anyway I use liquid ^^ so...I made this because my preferred distro is Arch, and this is the latest simil version for ARM.. To get the chroot I just followed the first guide...so su # Allow it on the screen cd /sdcard mkdir plugapps dd if=/dev/zero of=plugapps.img seek=1749999999 bs=1 count=1 #1,6GB image file mke2fs -F plugapps.img These are the commands that should be executed just once. I modified the image to be not 750mb but 1,6GB, because at my first try with 750MB there was no space left to install lxde. Then I have modified the script for the ubuntu one in order to work with plugapps: export kit=/sdcard/plugapps export bin=/system/bin export mnt=/sdcard/plugapps export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH export TERM=linux export HOME=/root export USER=root mknod /dev/loop1 b 7 0 losetup /dev/loop1 /sdcard/plugapps.img mount -t ext2 /dev/loop1 /sdcard/plugapps/ mount -t proc proc $mnt/proc mount -t sysfs sysfs $mnt/sys echo "Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4" echo "nameserver 8.8.8.8" > /sdcard/plugapps/etc/resolv.conf echo "nameserver 8.8.4.4" >> /sdcard/plugapps/etc/resolv.conf chroot /sdcard/plugapps/ /bin/bash -l #After exit command is executed clear it all up echo " " echo "Shutting down..." umount $mnt/proc umount $mnt/sys umount $mnt losetup -d /dev/loop save this into a file and run it with: sh /path/of/the/file Then you should get the new shell. You can run: pacman -Syu pacman -S tightvnc lxde To install the vnc server and lxde, light desktop enviroinment. (Naturally we could get a lighter gui using only openbox or any wm and downloading modular apps but I don't think that worths to spend too much time in customization for a mobile os so we just use the lighter DE that is pretty usable and fast.) To configure and start the vnc server you need to type: vncserver -geometry 1024x800 :1 the ":1" needs to be there otherwise it won't work, with this command you will also set the password and you can change the resolution to whatever you want. To get it starting when we log in chroot, following the ubuntu guide... cat > /root/.vnc/xstartup #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey openbox & lxsession (to save and close -> ctrl+D twice, then Enter) Note that instead of icewm we get openbox, because it's the default WM for lxde for arch. then to Autostart the vncserver when you log in chroot you can just do this: touch /root/.bashrc cat > /root/.bashrc export USER=root vncserver -geometry 1024×800 (ctrl+D twice, Enter) (you can avoid other stuff because you actually don't have a .bashrc so you don't need to append the commands.) Now you can start the androidvnc app that you find in the market for free, enter the password, leave the address empty and set the password to what you set before and set the port to 5901, then connect! That's all, have fun :mellow: Edited May 6, 2011 by natostanco
Guest Lens_flare Posted May 7, 2011 Report Posted May 7, 2011 (edited) I'm sorry, but what exactly will this manipulation does? Don't understand at all.. Edited May 7, 2011 by Lens_flare
Guest natostanco Posted May 7, 2011 Report Posted May 7, 2011 It allows you to run something like a "virtual" operative system through your android devices, in this case the Plugapps OS, that is mostly the arch linux version for ARM devices.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now