UBUNTU 8.04 for X1 WORKING WIFI - [RAISE OF GOLDEN X1BUNTU]

Search This thread

b8e5n

Senior Member
Dec 29, 2009
97
19
Hello everyone,

I saw this on xda websit : http://forum.xda-developers.com/showthread.php?t=1045910
That guy managed to install natively a touchscreen oriented version of ubuntu on a HTC phone. I think this is pretty owesome, and i was wondering if it was possible (because guy are adapting roms from HTC) to adapt that to a X1...
Even if it is not natively installed it would be nice!
I have no experience for this, but if it can be possible, I am ready to help.
 

bahkyp

Senior Member
Feb 20, 2009
57
2
I saw this on xda websit : http://forum.xda-developers.com/showthread.php?t=1045910
That guy managed to install natively a touchscreen oriented version of ubuntu on a HTC phone. I think this is pretty owesome, and i was wondering if it was possible (because guy are adapting roms from HTC) to adapt that to a X1...

No need to help, is done.

Steps I have used to get Debian (Ubuntu's daddy) to run on X1.

(most steps from http://forum.xda-developers.com/showthread.php?t=631389)

1. Install debootstrap on a armel computer (mine was a nslug)
2. (2,3,4) Format to fat32/ext2. hda1=fat32, hda2=ext2. Mount sd card.
3. (5) Run debootstrap
4. (7) chroot into newly setup partition. (instead of the adb stuff that I couldn't get to work) fix installation including USB networking and sshd.
5. Get linux kernel with USB and fat32 setup (mine is from may 2010!). If you now apt/sources a Ubuntu distro and distupgrade you should have a ubuntu distro.
6. (9) Boot.
7. install lxde (appears backwards!)

And here's a photo :)
http://mich431.net/img/x1debiansm.jpg

Problems: no recent USB networking kernel. USB had been out of android kernel for a while.
no phone (even after looking at SHR/FSO).
screen reversed (lxde doesn't have X11 rotate).
 
Last edited:
  • Like
Reactions: b8e5n

b8e5n

Senior Member
Dec 29, 2009
97
19
No need to help, is done.

Steps I have used to get Debian (Ubuntu's daddy) to run on X1.

(most steps from http://forum.xda-developers.com/showthread.php?t=631389)

1. Install debootstrap on a armel computer (mine was a nslug)
2. (2,3,4) Format to fat32/ext2. hda1=fat32, hda2=ext2. Mount sd card.
3. (5) Run debootstrap
4. (7) chroot into newly setup partition. (instead of the adb stuff that I couldn't get to work) fix installation including USB networking and sshd.
5. Get linux kernel with USB and fat32 setup (mine is from may 2010!). If you now apt/sources a Ubuntu distro and distupgrade you should have a ubuntu distro.
6. (9) Boot.
7. install lxde (appears backwards!)

And here's a photo :)
http://mich431.net/img/x1debiansm.jpg

Problems: no recent USB networking kernel. USB had been out of android kernel for a while.
no phone (even after looking at SHR/FSO).
screen reversed (lxde doesn't have X11 rotate).

Sounds very nice, the only thing is that it is not phone friendly...
But maybe it is possible to install some ubuntu applications to help for that. In this, i mean try to adapt unity-2d, or maybe the same used in the link I gave.

Anyway, that's a very good job, i will give a try as soon as possible!
 

HawkEye

Senior Member
Nov 22, 2011
240
31
bangalore
Download link

Heya, i stay in India and the two download links are not working.. can somebody upload the files please ??
thanks in advance :)
 

Marcintosh

Senior Member
Oct 30, 2012
56
17
Heya, i stay in India and the two download links are not working.. can somebody upload the files please ??
thanks in advance :)

I had a copy of it on my other hard drive. Unfortunately, I dropped my PC a week ago. I'm running a new hard drive right now. So yeah, I need another copy as well. Please let me know if you found a copy.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    New keymap Patch

    I rebuild keymap.
    Add Control+ Keys-- all of alphabet has control

    1. How to Use Patch
    Add new file for replace ubunts keymap.

    \ubuntu\modules\etc\keymap-2.6.map

    Replace following file for add line copy keymap to ubuntu

    \ubuntu\modules\loadmodule.sh

    2. Keymap
    2.1 Keycode


    | 01|16|17|18|19|20|21|22|23|24|25|14|
    | 15 |30|31|32|33|34|35|36|37|38| 28 |
    | 43|03|44|45|46|47|48|49|50|39|40| |
    |100|29|56| 57 |51|52|53|XX|

    XX= No keycode

    2.2 (no shift)


    |ESC| q| w| e| r| t| y| u| i| o| p|BS|
    |TAB | a| s| d| f| g| h| j| k| l| RET|
    |SFT| @| z| x| c| v| b| n| m| :| '| |
    |AGR|CL|ALT| SPACE | ,| .| ?|XX|


    SFT=Shift
    AGR=AltGr(Function)
    CL =Ctrl
    XX = OK Button (No Function)

    2.3 Shift


    |ESC| Q| W| E| R| T| Y| U| I| O| P|BS|
    |TAB | A| S| D| F| G| H| J| K| L| RET|
    |SFT| `| Z| X| C| V| B| N| M| \| !| |
    |AGR|CL|ALT| SPACE | <| >| /|XX|

    SFT=Sift
    AGR=AltGr(Function)
    CL =Ctrl
    XX = OK Button (No Function)
    ! and / is most usable key on Linux,
    then assigned here.

    2.4 AltGr(Function)


    |ESC| !| "| /| &| (| )| 1| 2| 3| ;|DE|
    |TAB | $| %| ~| _| ^| -| 4| 5| 6| RET|
    |SFT| || {| [| ]| }| =| +| 7| 8| 9| |
    |AGR|CL|ALT| SPACE | *| 0| #|XX|

    DE=Delete
    AGR=AltGr(Fanction)
    CL =Ctrl
    XX = OK Button (No Function)

    2.5 Panel

    #End Call keycode 101 = PageUp
    #Right bar keycode 116 = PageDown
    #OK key keycode 129 + 158 (I don't know how to use)
    #Right key keycode 106 = Up
    #Up key keycode 103 = Left
    #Center (keycode 28 = Same as Return)
    #Left key keycode 105 = Down
    #Down key keycode 108 = Right
    #Left bar keycode 59 = AltGr
    #Call Bton keycode 129 + 231 (I don't know how to use)
    #X panel keycode 102 = Shift
    1
    socket permission denied

    I found the solution for this
    kernel is compiled with CONFIG_ANDROID_PARANOID_NETWORK
    option which hardcodes certain user groups numbers to have
    socket network access. so I had to add

    # addgroup --gid 3001 btnetadm
    # addgroup --gid 3002 btnet
    # addgroup --gid 3003 inet

    so for example to permit the user "guest" internet access
    the user has to be in inet group (gid 3003).

    in /etc/group
    inet:x:3003:guest

    HI

    $ ping localhost
    socket: Permission denied

    $ telnet localhost 22
    Trying 127.0.0.1...
    telnet: socket: Permission denied

    $ ssh localhost
    socket: Permission denied
    ssh: connect to host localhost port 22: Permission denied
    1
    I guess you just put part one and two in the same folder and then extract the first file like any other?

    At least thats how it works most of the time :)
    1
    I saw this on xda websit : http://forum.xda-developers.com/showthread.php?t=1045910
    That guy managed to install natively a touchscreen oriented version of ubuntu on a HTC phone. I think this is pretty owesome, and i was wondering if it was possible (because guy are adapting roms from HTC) to adapt that to a X1...

    No need to help, is done.

    Steps I have used to get Debian (Ubuntu's daddy) to run on X1.

    (most steps from http://forum.xda-developers.com/showthread.php?t=631389)

    1. Install debootstrap on a armel computer (mine was a nslug)
    2. (2,3,4) Format to fat32/ext2. hda1=fat32, hda2=ext2. Mount sd card.
    3. (5) Run debootstrap
    4. (7) chroot into newly setup partition. (instead of the adb stuff that I couldn't get to work) fix installation including USB networking and sshd.
    5. Get linux kernel with USB and fat32 setup (mine is from may 2010!). If you now apt/sources a Ubuntu distro and distupgrade you should have a ubuntu distro.
    6. (9) Boot.
    7. install lxde (appears backwards!)

    And here's a photo :)
    http://mich431.net/img/x1debiansm.jpg

    Problems: no recent USB networking kernel. USB had been out of android kernel for a while.
    no phone (even after looking at SHR/FSO).
    screen reversed (lxde doesn't have X11 rotate).