Post Reply

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

OP jholtom

27th February 2013, 01:17 PM   |  #1  
jholtom's Avatar
OP Recognized Developer
Flag NoVA
Thanks Meter: 286
 
266 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Hello All, I've got Ubuntu Touch compiled for our beloved TF101's.

Thread by TomTcom with instructions on how to build: http://forum.xda-developers.com/show....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-tou...alled/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
Attached Thumbnails
Click image for larger version

Name:	IMG_20130302_170001.JPG
Views:	1866
Size:	61.4 KB
ID:	2035441  
Last edited by jholtom; 22nd June 2013 at 04:26 PM. Reason: UPDATE INFO
The Following 92 Users Say Thank You to jholtom For This Useful Post: [ View ]
27th February 2013, 01:18 PM   |  #2  
jholtom's Avatar
OP Recognized Developer
Flag NoVA
Thanks Meter: 286
 
266 posts
Join Date:Joined: Sep 2010
Donate to Me
More
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 by jholtom; 4th May 2013 at 10:02 PM.
The Following 20 Users Say Thank You to jholtom For This Useful Post: [ View ]
27th February 2013, 01:21 PM   |  #3  
jholtom's Avatar
OP Recognized Developer
Flag NoVA
Thanks Meter: 286
 
266 posts
Join Date:Joined: Sep 2010
Donate to Me
More
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 by jholtom; 3rd March 2013 at 02:24 PM.
The Following 13 Users Say Thank You to jholtom For This Useful Post: [ View ]
27th February 2013, 01:29 PM   |  #4  
josteink's Avatar
Senior Member
Flag Oslo
Thanks Meter: 1,440
 
2,231 posts
Join Date:Joined: Feb 2011
More
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
The Following 2 Users Say Thank You to josteink For This Useful Post: [ View ]
27th February 2013, 02:03 PM   |  #5  
*Detection*'s Avatar
Senior Member
Thanks Meter: 562
 
2,203 posts
Join Date:Joined: Dec 2011
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
The Following 3 Users Say Thank You to *Detection* For This Useful Post: [ View ]
27th February 2013, 02:31 PM   |  #6  
josteink's Avatar
Senior Member
Flag Oslo
Thanks Meter: 1,440
 
2,231 posts
Join Date:Joined: Feb 2011
More
Quote:
Originally Posted by *Detection*

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

On my GNex, to get back to Android was a simple matter of restoring a Nandroid. I'm assuming it's the same here.
The Following User Says Thank You to josteink For This Useful Post: [ View ]
27th February 2013, 02:54 PM   |  #7  
*Detection*'s Avatar
Senior Member
Thanks Meter: 562
 
2,203 posts
Join Date:Joined: Dec 2011
Quote:
Originally Posted by josteink

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


Great, thanks - I`ll make a Nandroid and give it a test I think then

EDIT - No boot after about 20-30 minutes
Last edited by *Detection*; 27th February 2013 at 04:08 PM.
The Following User Says Thank You to *Detection* For This Useful Post: [ View ]
27th February 2013, 04:14 PM   |  #8  
Member
Thanks Meter: 4
 
38 posts
Join Date:Joined: Sep 2008
More
Quote:
Originally Posted by *Detection*

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.
The Following User Says Thank You to blckz28 For This Useful Post: [ View ]
27th February 2013, 04:40 PM   |  #9  
Senior Member
Flag Boituva - SP
Thanks Meter: 580
 
1,562 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by blckz28

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.
27th February 2013, 06:39 PM   |  #10  
prendomiao's Avatar
Senior Member
Flag Rome
Thanks Meter: 56
 
326 posts
Join Date:Joined: Feb 2012
More
now i test it when the download finish good work and i say if something works or not ... thanks

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes