Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,441 Members 43,906 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
jholtom
Old
(Last edited by jholtom; 22nd June 2013 at 04:26 PM.) Reason: UPDATE INFO
#1  
jholtom's Avatar
Recognized Developer - OP
Thanks Meter 283
Posts: 256
Join Date: Sep 2010
Location: NoVA

 
DONATE TO ME
Prompt [Linux] [Dev] [WIP] Ubuntu Touch on the TF101 - Alpha

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:	1821
Size:	61.4 KB
ID:	2035441  
LG Optimus G - LiquidSmooth
Asus Transformer TF101 - Android 4.4
Samsung Tab 3 SM210R (Gf's) - trying to get AOSP and friends on this thing.
HTC Touch - Sprint - (broken)
Theres a thanks button for a reason, If I helped, press it.
The Following 92 Users Say Thank You to jholtom For This Useful Post: [ Click to Expand ]
 
jholtom
Old
(Last edited by jholtom; 4th May 2013 at 10:02 PM.)
#2  
jholtom's Avatar
Recognized Developer - OP
Thanks Meter 283
Posts: 256
Join Date: Sep 2010
Location: NoVA

 
DONATE TO ME
Default 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.
LG Optimus G - LiquidSmooth
Asus Transformer TF101 - Android 4.4
Samsung Tab 3 SM210R (Gf's) - trying to get AOSP and friends on this thing.
HTC Touch - Sprint - (broken)
Theres a thanks button for a reason, If I helped, press it.
The Following 20 Users Say Thank You to jholtom For This Useful Post: [ Click to Expand ]
 
jholtom
Old
(Last edited by jholtom; 3rd March 2013 at 02:24 PM.)
#3  
jholtom's Avatar
Recognized Developer - OP
Thanks Meter 283
Posts: 256
Join Date: Sep 2010
Location: NoVA

 
DONATE TO ME
Default 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.
LG Optimus G - LiquidSmooth
Asus Transformer TF101 - Android 4.4
Samsung Tab 3 SM210R (Gf's) - trying to get AOSP and friends on this thing.
HTC Touch - Sprint - (broken)
Theres a thanks button for a reason, If I helped, press it.
The Following 13 Users Say Thank You to jholtom For This Useful Post: [ Click to Expand ]
 
josteink
Old
#4  
josteink's Avatar
Senior Member
Thanks Meter 1,438
Posts: 2,231
Join Date: Feb 2011
Location: 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
Enhanche your Android with sleeping kitties! Optionally restrain your device with the Android Straitjacket.

HTC One LTE - Unlocked, S-OFF with Google edition firmware
Nexus 7 (2013) "Razor" - Stock
The Following 2 Users Say Thank You to josteink For This Useful Post: [ Click to Expand ]
 
*Detection*
Old
#5  
*Detection*'s Avatar
Senior Member
Thanks Meter 527
Posts: 2,159
Join Date: 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
Droid: TF101
HW: B4O
ROM: KatKiss KitKat



KatKiss Dev / Stable
Kat Kernel
Kat App
Gapps
-----
EasyFlasher Root / Recovery
Peri Root/Recovery
-----
The Following 3 Users Say Thank You to *Detection* For This Useful Post: [ Click to Expand ]
 
josteink
Old
#6  
josteink's Avatar
Senior Member
Thanks Meter 1,438
Posts: 2,231
Join Date: Feb 2011
Location: Oslo
Quote:
Originally Posted by *Detection* View Post
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.
Enhanche your Android with sleeping kitties! Optionally restrain your device with the Android Straitjacket.

HTC One LTE - Unlocked, S-OFF with Google edition firmware
Nexus 7 (2013) "Razor" - Stock
The Following User Says Thank You to josteink For This Useful Post: [ Click to Expand ]
 
*Detection*
Old
(Last edited by *Detection*; 27th February 2013 at 04:08 PM.)
#7  
*Detection*'s Avatar
Senior Member
Thanks Meter 527
Posts: 2,159
Join Date: Dec 2011
Quote:
Originally Posted by josteink View Post
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
Droid: TF101
HW: B4O
ROM: KatKiss KitKat



KatKiss Dev / Stable
Kat Kernel
Kat App
Gapps
-----
EasyFlasher Root / Recovery
Peri Root/Recovery
-----
The Following User Says Thank You to *Detection* For This Useful Post: [ Click to Expand ]
 
blckz28
Old
#8  
Member
Thanks Meter 4
Posts: 38
Join Date: Sep 2008
Quote:
Originally Posted by *Detection* View Post
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: [ Click to Expand ]
 
projeto56
Old
#9  
Senior Member
Thanks Meter 579
Posts: 1,550
Join Date: Apr 2011
Location: Boituva - SP

 
DONATE TO ME
Quote:
Originally Posted by blckz28 View Post
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.
 
prendomiao
Old
#10  
prendomiao's Avatar
Senior Member
Thanks Meter 54
Posts: 319
Join Date: Feb 2012
Location: Rome
now i test it when the download finish good work and i say if something works or not ... thanks
Sorry for my bad english if I wrote something wrong
If I helped you, you may click button Thanks

LG Optimus GT540
ROM: Project IceCreamSwift Final ( DEAD )

Asus Eee Pad Transformer TF101 Wi-Fi 16GB
ROM: Android Revolution HD 3.6 by mike1986 (waiting also for an Ubuntu IMG)

LG Nexus 4
ROM: Stock 4.4.4

LG Nexus 5
ROM: Paranoid Android 4.4.1 (Android 4.4.4)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes