New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
THREAD CLOSED
Tip us?
 
zFr3eak
Old
(Last edited by zFr3eak; 23rd June 2012 at 11:36 PM.)
#1  
zFr3eak's Avatar
Recognized Developer - OP
Thanks Meter 4822
Posts: 3,410
Join Date: Mar 2010
Location: Salzburg

 
DONATE TO ME
Default [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 ]
 
shree.cse
Old
(Last edited by shree.cse; 23rd June 2012 at 08:47 PM.)
#2  
shree.cse's Avatar
Senior Member
Thanks Meter 1490
Posts: 2,625
Join Date: Apr 2010
Location: Hyderabad
Hey Bro, You're going to work on OneX? Welcome bro!

By the way, there is an app which helps to install Ubuntu, which does the same. Check this
Is it different?

Kernel: ElementalX 0.11
My thread: Repacked Kernels for InsertCoin Evolution
HTC HD2===>HTC DESIRE HD===>HTC ONE X===>HTC ONE 64GB
Hit on if my post helps you!
 
zFr3eak
Old
#3  
zFr3eak's Avatar
Recognized Developer - OP
Thanks Meter 4822
Posts: 3,410
Join Date: Mar 2010
Location: Salzburg

 
DONATE TO ME
Quote:
Originally Posted by shree.cse View Post
Hey Bro, You're going to work on OneX? Welcome bro!

By the way, there is an app which helps to install Ubuntu, which does the same. Check this
Is it different?
i downloaded it and 2 important steps were missing which caused that i wasn't able to get it working.

and yep i am working on one x now


<<Click the picture above to visit my offical Homepage>>

If You like my work:

The Following 3 Users Say Thank You to zFr3eak For This Useful Post: [ Click to Expand ]
 
shree.cse
Old
#4  
shree.cse's Avatar
Senior Member
Thanks Meter 1490
Posts: 2,625
Join Date: Apr 2010
Location: Hyderabad
Quote:
Originally Posted by zFr3eak View Post
i downloaded it and 2 important steps were missing which caused that i wasn't able to get it working.

and yep i am working on one x now
It actually works for me. But only bad thing was we have to use 10.10. Thanks, I will try this.

Kernel: ElementalX 0.11
My thread: Repacked Kernels for InsertCoin Evolution
HTC HD2===>HTC DESIRE HD===>HTC ONE X===>HTC ONE 64GB
Hit on if my post helps you!
 
zFr3eak
Old
#5  
zFr3eak's Avatar
Recognized Developer - OP
Thanks Meter 4822
Posts: 3,410
Join Date: Mar 2010
Location: Salzburg

 
DONATE TO ME
Quote:
Originally Posted by shree.cse View Post
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>>

If You like my work:

 
ShyamSasi
Old
#6  
ShyamSasi's Avatar
Recognized Contributor
Thanks Meter 1293
Posts: 2,473
Join Date: Dec 2010
Location: CLASSIFIED

 
DONATE TO ME
This is awesome!
The Following User Says Thank You to ShyamSasi For This Useful Post: [ Click to Expand ]
 
LorD ClockaN
Old
#7  
LorD ClockaN's Avatar
Recognized Developer
Thanks Meter 23995
Posts: 10,937
Join Date: Sep 2008
Location: Veli Losinj

 
DONATE TO ME
HAHA

zfreak!! you here??

great post!
New ROM/kernel versions depend strictly on my wife's sex drive, so ask her for ETA!!

IceColdJelly IRC channel
HTC One X -> IceColdJelly422
Build IceColdJelly422 from source - link

One X: IceColdJelly JB - OneX - git, IceColdAOKP ICS - OneX - git
Desire HD: IceColdSandwich - git, AOSP GB kernel - 10.0, Sense GB kernel

If you like my work, please consider buying me a beer via paypal to my email: davor@losinj.com
Help me get some extra space on dropbox - link
The Following 2 Users Say Thank You to LorD ClockaN For This Useful Post: [ Click to Expand ]
 
zFr3eak
Old
#8  
zFr3eak's Avatar
Recognized Developer - OP
Thanks Meter 4822
Posts: 3,410
Join Date: Mar 2010
Location: Salzburg

 
DONATE TO ME
Quote:
Originally Posted by LorD ClockaN View Post
HAHA

zfreak!! you here??

great post!
yeah since 2 weeks you too ?


<<Click the picture above to visit my offical Homepage>>

If You like my work:

 
LorD ClockaN
Old
#9  
LorD ClockaN's Avatar
Recognized Developer
Thanks Meter 23995
Posts: 10,937
Join Date: Sep 2008
Location: Veli Losinj

 
DONATE TO ME
yes since 2 moths

but still working on DHD even though I sold it 2 moths a go... so no time for HOX
New ROM/kernel versions depend strictly on my wife's sex drive, so ask her for ETA!!

IceColdJelly IRC channel
HTC One X -> IceColdJelly422
Build IceColdJelly422 from source - link

One X: IceColdJelly JB - OneX - git, IceColdAOKP ICS - OneX - git
Desire HD: IceColdSandwich - git, AOSP GB kernel - 10.0, Sense GB kernel

If you like my work, please consider buying me a beer via paypal to my email: davor@losinj.com
Help me get some extra space on dropbox - link
The Following User Says Thank You to LorD ClockaN For This Useful Post: [ Click to Expand ]
 
zFr3eak
Old
#10  
zFr3eak's Avatar
Recognized Developer - OP
Thanks Meter 4822
Posts: 3,410
Join Date: Mar 2010
Location: Salzburg

 
DONATE TO ME
Quote:
Originally Posted by LorD ClockaN View Post
yes since 2 moths

but still working on DHD even though I sold it 2 moths a go... so no time for HOX
great to see a old friend here haha


<<Click the picture above to visit my offical Homepage>>

If You like my work:


The Following User Says Thank You to zFr3eak For This Useful Post: [ Click to Expand ]
THREAD CLOSED
Subscribe