[Linux] [Dev] [WIP] Ubuntu Touch on the TF101 - Alpha

Search This thread

jholtom

Inactive Recognized Developer
Sep 26, 2010
300
440
NoVA
Hello All, I've got Ubuntu Touch compiled for our beloved TF101's.

Thread by TomTcom with instructions on how to build: http://xdaforums.com/showthread.php?t=2326453 <- Same way I do it, so have at ye!

Remember this is still in Alpha on the ubuntu end, and our end too, but is still getting better, well at least ours is.

New pretty picture attached by Oeio

Instructions
- First download the latest image (below).
- Then download quantal-preinstalled-phablet-armhf.zip from here
- Place both of these files in a place where you can flash them from recovery
- Wipe data
- Then flash the ubuntu-touch-tf101.zip, and then quantal-preinstalled-phablet-armhf.zip. IN THAT ORDER
- Reboot and you should be good to go, make sure to clear cache.....
- After reboot follow the instructions in post 3 to fix the resolution, and then reboot again.

Downloads
Generic Ubuntu Stuff - quantal-preinstalled-phablet-armhf.zip
Current (0.9): here
Fresh new Saucy Salamander build : http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/

(0.7)
http://goo.im/devs/jholtom/ubuntu-touch-tf101-0.7.zip

(0.6)
http://goo.im/devs/jholtom/ubuntu-touch-tf101-0.6.zip

(0.5)
here

(0.4)
here

(0.3):
here

(0.2)
here

(0.1)
here 2nd Mirror here


Working:
Touch Screen
Power Button
Battery meter - charge and discharge work, along with charge via dock
Audio
Dock Keyboard - no function keys yet.
Auto-Rotate
WiFi
Brightness Control

Not quite sure:
HW Acceleration

Not Working:
Camera
Some font problems.

Untested:
Everything else....

Screenshots
http://localhostr.com/files/krQu43a/WP_000052.jpg
http://localhostr.com/files/pKschgA/WP_000053.jpg
http://localhostr.com/files/N6neEKE/WP_000056.jpg
http://localhostr.com/files/RUGlOzs/WP_000063.jpg
http://localhostr.com/files/qeuzqGp/WP_000057.jpg
http://localhostr.com/files/8lgNnpO/WP_000062.jpg
http://localhostr.com/files/rm8FrIj/WP_000064.jpg
http://localhostr.com/files/LtpxAS7/WP_000067.jpg
http://localhostr.com/files/5hQQLuq/WP_000077.jpg <- Proof of Working WiFi
Video
http://youtu.be/o9s8F5cwhp0
http://youtu.be/KHpHp21aylU
Thanks *Detection* for the screenshots and video (and onkelbebu)

Information:
- The Ubuntu Touch system is currently in developer-preview state, just to give you an idea of how incomplete this is.
- My build sources may be broken; either get along with it or wait for me to fix it.
- No longer am I the sole developer, we now have onkelbebu on board pushing changes and updating.

SOURCES
My modified device tree is here:
https://github.com/jholtom/android_device_asus_tf101
Now using this kernel
https://github.com/jholtom/kernel_asus_tf101-lumpy

Sources for Ubuntu are at:
http://phablet.ubuntu.com/gitweb


Thanks:
onkelbebu, for his help with getting wifi working, and everything else.
RaymanFX, Timduru and others for the kernel and device tree.
*Detection* for being an awesome first tester.
and of course, Canonical :p

Don't forget the Thanks button :)
 

Attachments

  • IMG_20130302_170001.JPG
    IMG_20130302_170001.JPG
    61.4 KB · Views: 2,437
Last edited:

jholtom

Inactive Recognized Developer
Sep 26, 2010
300
440
NoVA
Notes

1) Do not flash any other kernel with this; there are no compatible ones as of now.
2) In case you missed it: I am the official Ubuntu Touch developer responsible for the Transformer https://wiki.ubuntu.com/Touch/Devices


CHANGELOG
Current (0.9)
New build after hiatus, no major changes
just upstream updates.

(0.8)
Continued attempts to fix the black screen problems.
new resolution fix implemented from ubuntu end.

(0.7)
Merged changes again
Re-added procfs patch

(0.6)
Merged changes from ubuntu
Added procfs patch from ubuntu

(0.5)
Added resolution fix on boot, and synced ubuntu sources
Fixed Brightness Control - Thanks onkelbebu

(0.4)
Updated internet fix in kernel (PARANOID_NETWORK)

(0.3)
removed uchroot changes, and updated ubuntu sources
edited init.ventana.rc for WiFi fix.

0.2
Updated ubuntu sources (specifically to uchroot)

0.1
First build with minimal changes for TF101 to boot.
 
Last edited:

jholtom

Inactive Recognized Developer
Sep 26, 2010
300
440
NoVA
reserved

DEPRECATED - no longer needed as it now autofixes on first boot
Fix for the Screen Density - Copy and Pasted from the Ubuntu Wiki.

Instructions (Run from shell with transfomer connected and on.)
adb shell
ubuntu_chroot shell
vi /usr/bin/ubuntu-session

Find and edit the values for the following entries (there are two entries for each:
GRID_UNIT_PX=10 (as suggested - read below)
QTWEBKIT_DPR=1.2 (looks best to me by trial and error)



SCREEN PIXEL RATIO

We have 2 important variables that define the pixel ratio behaviour of the system and the applications, ie. how they visually scale. Look at /usr/bin/ubuntu-session for GRID_UNIT_PX and QTWEBKIT_DPR. Add another device specific settings there based on your device, using the method below to calculate the desired DPR.

The number of pixels per grid unit (GRID_UNIT_PX) is specific to each device. Its goal is to make the user interface of the system and the applications of the same perceived size regardless of the device they are displayed on. It is primarily dependent on the pixel density of the device’s screen and the distance to the screen the user is at. That second value cannot be automatically detected and is based on heuristics. We assume that tablets and laptops are the same distance and that they are held at 1.235 times the distance phones tend to be held at.

A reference device has been chosen from which we derive the pixels per grid unit for all other devices. The reference device is a laptop with a 120 ppi screen and the pixels per grid unit is set to 8 px/gu.

Asus Transformer Tablet - 1280x800 - 149 ppi - 10 px/gu

There is no way for the system to dynamically identify the correct pixel ratio for the device, which as a side effect things might be bigger/smaller than expected. For each device you will have to visually verify the quality of the result and adjust the number if necessary. If unsure, send screenshots and screen specifications of the device to the Canonical design team.
 
Last edited:

josteink

Senior Member
Feb 8, 2011
2,243
1,808
Oslo
Definitely curious, appreciate the effort, but when I tested this on my GNex, I decided it wasn't quite a dayly driver thing yet. This base will be nice having once Ubuntu touch matures a bit though.

In the meantime I'll be dogfooding my own CM10.1 :)
 
  • Like
Reactions: cdurex and jholtom

*Detection*

Senior Member
Dec 5, 2011
10,512
2,862
Durham
Before I flash this, if I make a Nandroid backup, or want to flash Android again, can I still just boot into recovery, wipe and flash as I would normally ?

Or is there something new I need to do to remove Ubuntu ?

Thanks for working on a port, really excited to see this come to our TF's :D
 

josteink

Senior Member
Feb 8, 2011
2,243
1,808
Oslo
Before I flash this, if I make a Nandroid backup, or want to flash Android again, can I still just boot into recovery, wipe and flash as I would normally ?

Or is there something new I need to do to remove Ubuntu ?

Thanks for working on a port, really excited to see this come to our TF's :D

On my GNex, to get back to Android was a simple matter of restoring a Nandroid. I'm assuming it's the same here.
 
  • Like
Reactions: TheDoubleF

blckz28

Member
Sep 29, 2008
40
4
Great, thanks - I`ll make a Nandroid and give it a test I think then

EDIT - No boot after about 20-30 minutes

Unfortunately same thing for me. Wiped all caches, system and data. At first boot I see the Asus logo and then a blank screen. Let it sit for 10 minutes and still nothing. Will give it another hour just to be sure.
 
  • Like
Reactions: TheDoubleF

projeto56

Senior Member
Apr 8, 2011
1,602
567
32
Boituva - SP
Unfortunately same thing for me. Wiped all caches, system and data. At first boot I see the Asus logo and then a blank screen. Let it sit for 10 minutes and still nothing. Will give it another hour just to be sure.

Try not to wipe system.

Install a cm10.1 based rom, let it boot, then flash both files without wiping, see if it works for you.
 
D

Deleted member 4473400

Guest
now i test it when the download finish ;) good work and i say if something works or not ... thanks ;)
 
D

Deleted member 4473400

Guest
guys it locks to bootanimation -_- why is the screen black????? uff..... it doesn't work, i followed the guide bit it doesn't boot
 

MassStash

Senior Member
Sep 26, 2008
3,838
2,446
36
Chicago
Re: [Linux] [Dev] [WIP] Ubuntu Touch on the TF101 - First Build PrePreAlphaBeta

It's a first try n he hasn't tested it man... That's why. You try the no wipe method too?

~ TF101 on K900's AOKP
Currently OC'ed to 1.4, KatKernel 70
 

danielholm

Senior Member
Jun 27, 2009
134
28
Gothenburg
www.danielholm.se
Sv: [Linux] [Dev] [WIP] Ubuntu Touch on the TF101 - First Build PrePreAlphaBeta

Same here. Nothing but black. No wipe? You mean flashing Ubuntu after flashing cm?

Sent from my GT-I9300 using xda app-developers app
 

RonSykes

Senior Member
Jan 26, 2011
65
7
Sydney
- First download this file: ubuntu-touch-tf101.zip New version is UP!

Going to give it a go as soon as I download the new image. Where are you hosting this, it's taking forever to download?

---------- Post added at 11:33 AM ---------- Previous post was at 11:15 AM ----------

Going to give it a go as soon as I download the new image. Where are you hosting this, it's taking forever to download?

Hmm... maybe I should go and get lunch and do this later. Been 20 minutes so far for a 50MB file, Still saying 17 minutes, no wait, now its 18 minutes.
 

jholtom

Inactive Recognized Developer
Sep 26, 2010
300
440
NoVA
Right now its running off of my 35mbs network connection at home...i'm getting it on a mirror right now...[2 min till mirror ready]

Going to give it a go as soon as I download the new image. Where are you hosting this, it's taking forever to download?

---------- Post added at 11:33 AM ---------- Previous post was at 11:15 AM ----------



Hmm... maybe I should go and get lunch and do this later. Been 20 minutes so far for a 50MB file, Still saying 17 minutes, no wait, now its 18 minutes.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 94
    Hello All, I've got Ubuntu Touch compiled for our beloved TF101's.

    Thread by TomTcom with instructions on how to build: http://xdaforums.com/showthread.php?t=2326453 <- Same way I do it, so have at ye!

    Remember this is still in Alpha on the ubuntu end, and our end too, but is still getting better, well at least ours is.

    New pretty picture attached by Oeio

    Instructions
    - First download the latest image (below).
    - Then download quantal-preinstalled-phablet-armhf.zip from here
    - Place both of these files in a place where you can flash them from recovery
    - Wipe data
    - Then flash the ubuntu-touch-tf101.zip, and then quantal-preinstalled-phablet-armhf.zip. IN THAT ORDER
    - Reboot and you should be good to go, make sure to clear cache.....
    - After reboot follow the instructions in post 3 to fix the resolution, and then reboot again.

    Downloads
    Generic Ubuntu Stuff - quantal-preinstalled-phablet-armhf.zip
    Current (0.9): here
    Fresh new Saucy Salamander build : http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/

    (0.7)
    http://goo.im/devs/jholtom/ubuntu-touch-tf101-0.7.zip

    (0.6)
    http://goo.im/devs/jholtom/ubuntu-touch-tf101-0.6.zip

    (0.5)
    here

    (0.4)
    here

    (0.3):
    here

    (0.2)
    here

    (0.1)
    here 2nd Mirror here


    Working:
    Touch Screen
    Power Button
    Battery meter - charge and discharge work, along with charge via dock
    Audio
    Dock Keyboard - no function keys yet.
    Auto-Rotate
    WiFi
    Brightness Control

    Not quite sure:
    HW Acceleration

    Not Working:
    Camera
    Some font problems.

    Untested:
    Everything else....

    Screenshots
    http://localhostr.com/files/krQu43a/WP_000052.jpg
    http://localhostr.com/files/pKschgA/WP_000053.jpg
    http://localhostr.com/files/N6neEKE/WP_000056.jpg
    http://localhostr.com/files/RUGlOzs/WP_000063.jpg
    http://localhostr.com/files/qeuzqGp/WP_000057.jpg
    http://localhostr.com/files/8lgNnpO/WP_000062.jpg
    http://localhostr.com/files/rm8FrIj/WP_000064.jpg
    http://localhostr.com/files/LtpxAS7/WP_000067.jpg
    http://localhostr.com/files/5hQQLuq/WP_000077.jpg <- Proof of Working WiFi
    Video
    http://youtu.be/o9s8F5cwhp0
    http://youtu.be/KHpHp21aylU
    Thanks *Detection* for the screenshots and video (and onkelbebu)

    Information:
    - The Ubuntu Touch system is currently in developer-preview state, just to give you an idea of how incomplete this is.
    - My build sources may be broken; either get along with it or wait for me to fix it.
    - No longer am I the sole developer, we now have onkelbebu on board pushing changes and updating.

    SOURCES
    My modified device tree is here:
    https://github.com/jholtom/android_device_asus_tf101
    Now using this kernel
    https://github.com/jholtom/kernel_asus_tf101-lumpy

    Sources for Ubuntu are at:
    http://phablet.ubuntu.com/gitweb


    Thanks:
    onkelbebu, for his help with getting wifi working, and everything else.
    RaymanFX, Timduru and others for the kernel and device tree.
    *Detection* for being an awesome first tester.
    and of course, Canonical :p

    Don't forget the Thanks button :)
    21
    Notes

    1) Do not flash any other kernel with this; there are no compatible ones as of now.
    2) In case you missed it: I am the official Ubuntu Touch developer responsible for the Transformer https://wiki.ubuntu.com/Touch/Devices


    CHANGELOG
    Current (0.9)
    New build after hiatus, no major changes
    just upstream updates.

    (0.8)
    Continued attempts to fix the black screen problems.
    new resolution fix implemented from ubuntu end.

    (0.7)
    Merged changes again
    Re-added procfs patch

    (0.6)
    Merged changes from ubuntu
    Added procfs patch from ubuntu

    (0.5)
    Added resolution fix on boot, and synced ubuntu sources
    Fixed Brightness Control - Thanks onkelbebu

    (0.4)
    Updated internet fix in kernel (PARANOID_NETWORK)

    (0.3)
    removed uchroot changes, and updated ubuntu sources
    edited init.ventana.rc for WiFi fix.

    0.2
    Updated ubuntu sources (specifically to uchroot)

    0.1
    First build with minimal changes for TF101 to boot.
    14
    That's simply awesome :)

    Thanks to all workers ! I'm waiting for that ! :D

    That script is just what i'm adding into the flash of 0.5 so that no one has to do the screen resolution fix themselves, on first boot it will run and patch if for you.
    Expect 0.5 within 2 hours of this post.
    EDIT: UPLOADED
    13
    reserved

    DEPRECATED - no longer needed as it now autofixes on first boot
    Fix for the Screen Density - Copy and Pasted from the Ubuntu Wiki.

    Instructions (Run from shell with transfomer connected and on.)
    adb shell
    ubuntu_chroot shell
    vi /usr/bin/ubuntu-session

    Find and edit the values for the following entries (there are two entries for each:
    GRID_UNIT_PX=10 (as suggested - read below)
    QTWEBKIT_DPR=1.2 (looks best to me by trial and error)



    SCREEN PIXEL RATIO

    We have 2 important variables that define the pixel ratio behaviour of the system and the applications, ie. how they visually scale. Look at /usr/bin/ubuntu-session for GRID_UNIT_PX and QTWEBKIT_DPR. Add another device specific settings there based on your device, using the method below to calculate the desired DPR.

    The number of pixels per grid unit (GRID_UNIT_PX) is specific to each device. Its goal is to make the user interface of the system and the applications of the same perceived size regardless of the device they are displayed on. It is primarily dependent on the pixel density of the device’s screen and the distance to the screen the user is at. That second value cannot be automatically detected and is based on heuristics. We assume that tablets and laptops are the same distance and that they are held at 1.235 times the distance phones tend to be held at.

    A reference device has been chosen from which we derive the pixels per grid unit for all other devices. The reference device is a laptop with a 120 ppi screen and the pixels per grid unit is set to 8 px/gu.

    Asus Transformer Tablet - 1280x800 - 149 ppi - 10 px/gu

    There is no way for the system to dynamically identify the correct pixel ratio for the device, which as a side effect things might be bigger/smaller than expected. For each device you will have to visually verify the quality of the result and adjust the number if necessary. If unsure, send screenshots and screen specifications of the device to the Canonical design team.
    12
    New information for porters

    Friends,

    Daniel Holback send some new information for help the porters. The ports sources will be available through the https://code.launchpad.net/~tf101-image-dev and merge requests will be welcome. :good:

    I will make some fixes to revamp the tf101 port availability and tomorrow I will send more information about how to fork this. My build will be saucy based, fliped image. Links in some hours with the steps to help with the upstream project. :fingers-crossed:

    Thanks to jholtom and everyone else helping in this :highfive: