[CHROOT][TUT] Ubuntu for HTC ONE X | TUT and Files
Quote:
First of all, this is not a full nativ port. It's chroot and most credits goes to androidlinux.com. Due to problems i had with this tutorial and the tutorial in the ubuntu installer app i decided to share how i solved it. This will not damage your Android OS. In addition i will make a script in the feature to reduce the above steps on a few. We will be running Ubuntu "chrooted" under your ROM. Your phone functions will still work and there is no chance to hurt your phone. Chroot is like a virtual machine on a pc.
Quote:
Requirements:
- A rooted HTC ONE X
- Installed ADB Driver
- Installed SDK for adb
- USB-Debugging enabled
- A data connection - Android VNC Server
Quote:
How-To:
1) Download Ubuntu
2) Copy the downloaded files to /sdcard/ubuntu
3) Open a CMD and browse to your SDK folder and platform-tools. To test it write adb. some commands should appear.
4) Connect your phone with the pc
5) Write "adb shell"
6) Then "su" and "cd /sdcard/ubuntu
7) Type "sh ubuntu.sh" (You will get errors - ignore it)
8) To enter Ubuntu type "bootubuntu" (If you get "root@localhost" you did all right)
7) Type "apt-get clean" and "apt-get update"
8) Next type "apt-get install openssh-server" and "apt-get install tightvncserver"
9) This step is not required ! In addition you can install LXDE if you don't like GNOME. Just type "apt-get install lxde"
10) Type "cat > /root/.vnc/xstartup" and after it
cat > /root/.vnc/xstartup
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
icewm &
lxsession
11) Hit Ctrl+D twice and press enter to save the file
12) Then type "ln -s /etc/X11/xinit/xinitrc /root/.vnc/xstartup" and "chmod 755 /root/.vnc/xstartup"
13) To start the VNCServer write "vncserver -geometry 1280x720" (you will need to set a password)
14) Next start the VNC Server app
15) Write in your password. As Address: localhost and Port: 5900
16) Click Connect and you will have Ubuntu in front of you.
Quote:
Troubleshooting:
Comming soon...
Quote:
FAQ:
Comming soon...
<<Click the picture above to visit my offical Homepage>>
If You like my work:
The Following 12 Users Say Thank You to zFr3eak For This Useful Post: [ Click to Expand ]
It actually works for me. But only bad thing was we have to use 10.10. Thanks, I will try this.
i had just a grey screen. permission problem to start xstartup was it. I'll make a batch file which do all steps automatic and also try newer ubuntu versions.
<<Click the picture above to visit my offical Homepage>>
XDA Developer TV Producer Kevin set up his phone to respond to … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?