[WIP] Ubuntu on G9 v0.2

Search This thread

a1Pha

Senior Member
Nov 26, 2007
281
837
Hamburg
www.storozhev.net
Hey guys,
let's try to get Ubuntu working on our tablets.
adbd is included in the images, so you have a root shell over adb :)

SDE required.
Extract all.
adb push ubu1204.img.ext4 /data/media/
Reboot - SDE - Flash kernel and initrd
Multiboot menu 0.3 - ubu1204.img.ext4 (from the menu to start the ICS, such as "archos.ext4")
Done.
(passwords: ubuntu - ubuntu root - root)

Working:
- Booting on 80G9 and 101G9
- Touchscreen (touchpad mode)
- Keyboard via OTG cable
- Mass storage on rear USB-prt
- SD card automount on plugin
- LCD backlight brightness control via command line, lol
- Networking (incl. WiFi)

Changelog:
0.2:
- Made by szanalmas
- Upgrade to 12.04
- Kernel 3.0.8+
- Working WiFi (try adding a dummy network, then it works), Sound
- Switched from Unity to Gnome Classic

0.1:
- Initial build.

Todo:
- Bluetooth
- Hardware acceleration
- Camera
- Battery

Download v0.2:
Image: Download
SHA: View

Kernel: Download
SHA: View


Download v0.1:
sysroot_ice.img http://hotfile.com/dl/145362762/7e3f710/ubuntu.img.rar.html MD5:2d9dbc775820db5dda281df84ab7db64

initramfs.cpio.gz http://hotfile.com/dl/145366156/8c56f1d/initramfs.cpio.gz.html MD5:150fc53be381ac3247d44226061868af

zImage http://hotfile.com/dl/145366657/34f75c7/zImage.html MD5:4de6efeec193aa5809f2ff871a96ef2d


Thanks to
- szanalmas for upgrade to 12.04, kernel 3.0.8+, WiFi
- letama for provided kernel + initramfs
- trevd for testing on 101G9 and reuploading stuff ;)
- Adam / OPPO


 
Last edited:

TjaXanK

Senior Member
Mar 14, 2010
199
34
wow. I was going to get working on this when my tablet arrives but you beat me to the race.. maybe we can work on it together in the future
 

twinnaz

Member
Aug 3, 2008
5
0
dual boot

how would you go about dual bopoting i want to get into the whole programming of it just need a pointer to the start of things
 

a1Pha

Senior Member
Nov 26, 2007
281
837
Hamburg
www.storozhev.net
wow. I was going to get working on this when my tablet arrives but you beat me to the race.. maybe we can work on it together in the future
For sure - just contact me when your tablet has arrived :)

Could you post some screenshots of ubuntu on g9?
Okay, I have edited the first post and added some links to screenshots.

how would you go about dual bopoting i want to get into the whole programming of it just need a pointer to the start of things
Sorry, I don't understand your question :S
 

a1Pha

Senior Member
Nov 26, 2007
281
837
Hamburg
www.storozhev.net
You can take the initramfs.cpio.gz posted by letama in another thread (look at the link to Ice Cream Sandwich - the file is inside the archive you download).
Then extract it and have look at the scripts, which are provided there.
Basically you have to get the system to ask you, from which filesystem image you want to boot :)
 
  • Like
Reactions: 142857 and mxtc

TjaXanK

Senior Member
Mar 14, 2010
199
34
yep! you need to install SDE, restart your device, go in the developer menu and flash the initramfs.cpio.gz that letama posted in the ICS post, atleast that's how it was in the Gen8... by the looks of it the SDE menu is the same. Hope I helped :)
 

trevd

Inactive Recognized Developer
Jul 19, 2011
895
1,269
Hull
Nice, I'll give this a go now.

Edit:

Works on the 101G9.
Keyboard Functions through OTG/Host Cable.
USB Mass Storage (Pen Drive) Functions on 3G Stick Port

Not tried anything else yet.

Are you using a lot of the same kernel objects which android is using?

Excellent Work.
 
Last edited:
  • Like
Reactions: a1Pha

a1Pha

Senior Member
Nov 26, 2007
281
837
Hamburg
www.storozhev.net
Works on the 101G9.
Keyboard Functions through OTG/Host Cable.
USB Mass Storage (Pen Drive) Functions on 3G Stick Port

Are you using a lot of the same kernel objects which android is using?

Thank you very much, and also thanks for testing :)
I am using initramfs + kernel + modules provided by letama for his ICS-build.

By the way - I will upload a new build this night.
I have managed to get basic network functionality via adb + usbcable, so I have upgraded all packages and installed a touchscreen keyboard.
In the new build the LCD backlight brightness is now set to max on boot.
I also have added a user with sudo-permissions, so now settings are saved on reboot (not like in 0.1 where guest sessions were created).
Oh, and I will change the filesystem type from ext3 to ext4.

Still no real progress on WiFi or sound :(

P.S.: New build will support choosing between booting ICS and Ubuntu :)

//edit: sry guys, got some problems with my internet provider. i get reconnects every 30 seconds. i hope they get it fixed till tomorrow... sorry for delay, i'm going to upload the stuff tomorrow.. :(
 
Last edited:

trevd

Inactive Recognized Developer
Jul 19, 2011
895
1,269
Hull
Thank you very much, and also thanks for testing :)
I am using initramfs + kernel + modules provided by letama for his ICS-build.
Might be worth giving it a go with a version 3 kernel, you may get some free driver support. although I could be talking nonsense :)

By the way - I will upload a new build this night.
I have managed to get basic network functionality via adb + usbcable, so I have upgraded all packages and installed a touchscreen keyboard.
In the new build the LCD backlight brightness is now set to max on boot.
I also have added a user with sudo-permissions, so now settings are saved on reboot (not like in 0.1 where guest sessions were created).
Oh, and I will change the filesystem type from ext3 to ext4.

I activated the root login with my own password from adb and the touchscreen keyboard worked straight away on the 101. It must come with the the drivers preinstalled. I think letma's' done some work into the difference between the 80 and 101.

Still no real progress on WiFi or sound :(

I've been playing with this all night. I think the drivers have been integrated in the main linux kernel so you should be able to build your own.
They could some prebuilt binaries out there as the OMAP4 board seems quite a popular board.
Also you might have some joy with this http://dev.omapzoom.org/pub/scm/integration/

It's all Good!


Archos 101 G9, HTC Sensation, HTC Hero
 
Last edited:

letama

Senior Member
Feb 13, 2008
1,690
2,324
Hi Guys,

A1Pha, sorry, didn't have time to test your build, too much stuff going on...

Here is a quick feedback on wifi that may help you:

In android, here is how it works (from memory, don't have my laptop to check)

1) you need to create a nvs file corresponding to tablet, check android init.rc for the way it's done there...
2) Then when you do need wifi, insmod the tiwlan.ko
3) Then, load firmware (check wlan_loader in android init.rc, you should be able to reuse the command) and nvs. If all goes well up to here, you should be able to do ifconfig tiwlan0 and it should have a mac address.
4) Then start wpa_supplicant. You need the appropriate version of wpa_supplicant, 0.8 I think in android source code. You may want to build source code from android source with the appropriate options to remove android extensions.

Again, this is from memory, I'll try to give you more details tomorrow.

Regarding audio, this is mostly alsa so it shouldn't be impossible, you should be able to re-use the configuration found in archos rootfs in /usr/ sub directories. You have to insmod the proper modules though.

Best,

LeTama
 
  • Like
Reactions: a1Pha and trevd

trevd

Inactive Recognized Developer
Jul 19, 2011
895
1,269
Hull
Hi Guys,

A1Pha, sorry, didn't have time to test your build, too much stuff going on...

Here is a quick feedback on wifi that may help you:

In android, here is how it works (from memory, don't have my laptop to check)

.....

ahh. Thanks for that letama , You're a fountain of knowledge.

I'll give it a try during the holidays.

I was playing about with wpa_supplicant and android kernel drivers. I didn't have the right magic :)) and my kernel knowledge is still in it's early stages (only been on the linux desktop for 1 year).
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Hey guys,
    let's try to get Ubuntu working on our tablets.
    adbd is included in the images, so you have a root shell over adb :)

    SDE required.
    Extract all.
    adb push ubu1204.img.ext4 /data/media/
    Reboot - SDE - Flash kernel and initrd
    Multiboot menu 0.3 - ubu1204.img.ext4 (from the menu to start the ICS, such as "archos.ext4")
    Done.
    (passwords: ubuntu - ubuntu root - root)

    Working:
    - Booting on 80G9 and 101G9
    - Touchscreen (touchpad mode)
    - Keyboard via OTG cable
    - Mass storage on rear USB-prt
    - SD card automount on plugin
    - LCD backlight brightness control via command line, lol
    - Networking (incl. WiFi)

    Changelog:
    0.2:
    - Made by szanalmas
    - Upgrade to 12.04
    - Kernel 3.0.8+
    - Working WiFi (try adding a dummy network, then it works), Sound
    - Switched from Unity to Gnome Classic

    0.1:
    - Initial build.

    Todo:
    - Bluetooth
    - Hardware acceleration
    - Camera
    - Battery

    Download v0.2:
    Image: Download
    SHA: View

    Kernel: Download
    SHA: View


    Download v0.1:
    sysroot_ice.img http://hotfile.com/dl/145362762/7e3f710/ubuntu.img.rar.html MD5:2d9dbc775820db5dda281df84ab7db64

    initramfs.cpio.gz http://hotfile.com/dl/145366156/8c56f1d/initramfs.cpio.gz.html MD5:150fc53be381ac3247d44226061868af

    zImage http://hotfile.com/dl/145366657/34f75c7/zImage.html MD5:4de6efeec193aa5809f2ff871a96ef2d


    Thanks to
    - szanalmas for upgrade to 12.04, kernel 3.0.8+, WiFi
    - letama for provided kernel + initramfs
    - trevd for testing on 101G9 and reuploading stuff ;)
    - Adam / OPPO


    4
    Ubuntu 1204 v0.21 out.

    Image:
    https://docs.google.com/file/d/0BxgjsI4pMALhVl9kek9SSFpKb2M/edit

    Kernels:
    to (android) firmware 4.0.6:
    https://docs.google.com/file/d/0BxgjsI4pMALheHZoVUdIYnVTN28/edit

    to (android) firmware 4.0.5:
    https://docs.google.com/file/d/0BxgjsI4pMALhS2R2cmoxZkZPREE/edit

    Please feedbacks.

    Fix touchscreen. (please start first with AC/USB cable)
    UPDATE: sorry, touchscreen work with cypress-tma340...(80G9)
    Bluetooth, overclock (only 4430), brightness -> Applications-Other
    (overlock is dangerous!)
    (bluetooth first start on the panel, then start Other menu Bluetooth On)
    Libreoffice, Gimp, Chromium
    Totem mediaplayer codecs install (mplayer is not good now)
    Swapfile
    Bug fixes
    Desktop settings - increases all
    Increase volume
    And stuff
    (Test battery modul (the image working good on AC, sometimes stuck in the starting battery (press power-touch-power and switch hotplug then back interactive) I think this can only improve the battery fixed.)

    Now pause, thanks.
    3
    Szanalmas, can you post the kernel and the image with what you have working so far in a new thread?

    Sent from my SCH-I500 using Tapatalk

    Image:

    https://docs.google.com/open?id=0BxgjsI4pMALhWkxNNkRiUnAzY2c ->Download
    (SHA: https://docs.google.com/open?id=0BxgjsI4pMALheTN3TVVpUS1NT3c )

    Kernel:

    https://docs.google.com/open?id=0BxgjsI4pMALhREpLQi11aVRpMWc ->File-Download
    (SHA: https://docs.google.com/file/d/0BxgjsI4pMALhNUMzNEdGNlIxQWs/edit )

    Usage:
    SDE required.
    Extract all. :)
    adb push ubu1204.img.ext4 /data/media/
    Reboot - SDE - Flash kernel and initrd
    Multiboot menu 0.3 - ubu1204.img.ext4 (from the menu to start the ICS, such as "archos.ext4")
    Done.
    (passwords: ubuntu - ubuntu root - root)

    Problems:
    Camera
    Battery (sometimes poweroff)
    Touchscreen (work only touchpad mode, cursor, etc. sometimes tear)
    Shutdown (sometimes need touch screen or press (once-twice) powerbutton if need)
    Harware acceleration
    Brightness

    Available:
    Wireless
    3.0.8+ kernel, parallel operation with the ICS (i don't know any bug ICS-BLUE, but i don't tested to many)
    Network (my poor usb eth card working)
    Sound (is sound :))
    Update, upgrade (slow, database big)
    Autologin ubuntu user
    SSH
    Onboard keyboard - click icon on desktop
    Gnome classic
    DarkIce window theme :)

    Other:
    Thouchpad once click and double click.
    If you are not satisfied, write back to the previous kernel and initrd with SDE.
    I tested image only 8G9.
    Adbd not working

    IMPORTANT: this NOT stable!

    Use at your own risk! (and blablabla :)) Good luck and have a nice sex! :D

    ---------- Post added at 07:17 PM ---------- Previous post was at 07:07 PM ----------

    Is USB working? We could use a mouse then

    Sent from my ARCHOS 80G9 using XDA Premium HD app

    USB working, i use my USB keyboard and wireless mouse, but my other mice did not work.
    I used a USB hub. (worked on my em28xx TV card too, but was not good because v4l2 problems. :))
    3
    hey guys,
    i know i ask lot of SED and so on, but i want to know if there's some full ! thread how to root my archos, how to enable SED and then how to dualboot ... i know that there is allways a thread how to root/enable SED, but it's really old and i don't know if there are some new ones (.. i'm sorry but im really "vorsichtig") ... i have seen some full thread, but the links to download the files are from megaupload (megaupload ;) , you know what the problem is :D - for those who not so good informed, megaupload was closed ;-( ) .. and so it would relly really nice if someone can post me a full thread or all links i need (actual links pls) ... a big thanks - tom


    Here you go - fresh links:
    sysroot_ice.img http://hotfile.com/dl/145362762/7e3f710/ubuntu.img.rar.html MD5:2d9dbc775820db5dda281df84ab7db64

    initramfs.cpio.gz http://hotfile.com/dl/145366156/8c56f1d/initramfs.cpio.gz.html MD5:150fc53be381ac3247d44226061868af

    zImage http://hotfile.com/dl/145366657/34f75c7/zImage.html MD5:4de6efeec193aa5809f2ff871a96ef2d
    2
    Hi Guys,

    A1Pha, sorry, didn't have time to test your build, too much stuff going on...

    Here is a quick feedback on wifi that may help you:

    In android, here is how it works (from memory, don't have my laptop to check)

    1) you need to create a nvs file corresponding to tablet, check android init.rc for the way it's done there...
    2) Then when you do need wifi, insmod the tiwlan.ko
    3) Then, load firmware (check wlan_loader in android init.rc, you should be able to reuse the command) and nvs. If all goes well up to here, you should be able to do ifconfig tiwlan0 and it should have a mac address.
    4) Then start wpa_supplicant. You need the appropriate version of wpa_supplicant, 0.8 I think in android source code. You may want to build source code from android source with the appropriate options to remove android extensions.

    Again, this is from memory, I'll try to give you more details tomorrow.

    Regarding audio, this is mostly alsa so it shouldn't be impossible, you should be able to re-use the configuration found in archos rootfs in /usr/ sub directories. You have to insmod the proper modules though.

    Best,

    LeTama