yashsingh1/xdaforums huggingface dataset:
[Xperia Tablet Z Original Android Development] enkidu70:
Installing Ubuntu on a stock device - what steps are to to?

Hi all,

I am new to Sony devices, esp. to Tablet Z. My base OS for my Desktop PCs is Linuxmint (Ubuntu derivat). So the idea is very close to install Ubuntu on that tablet! :)

The tablet is still stock but rooted. What do I have to do to get Ubuntu on it? (If Ubuntu works, I have no need for dual boot or something like that...)

Tnx in advance,

Enkidu
[Xperia Tablet Z Original Android Development] mamenyaka:
You can install Ubuntu Touch as described in the OP, but that's very different from the linux on your desktop. If you want to install native linux on your tablet (same as your desktop linux), you should check this thread

EDIT (general info): The Ubuntu Touch guys released their dual-boot solution, so if everything goes right, it will soon come to our tablet!
[Xperia Tablet Z Original Android Development] enkidu70:
That's why I have written that I have no experience with Sony. There is written

???

As far as I know on my device is even no recovery image... How do I extract boot.img... ecc...

What software do I need ecc?

The aim is just to be able to use Libreoffice, Thunderbird, Firefox, NFS... Look and feel of a tablet is ok.

Well, seems not to be what I want...

I am a bit confused. I thought this is the thread concerning Ubuntu touch on Tablet Z???

Cheers,

Enkidu
[Xperia Tablet Z Original Android Development] mamenyaka:
1) You can extract the boot.img by opening the downloaded .zip, selecting the file "boot.img" and clicking "extract".

2) There is no LibreOffice, Firefox, etc yet on Ubuntu Touch, but you have basic Browser and Email. A list of all apps can be found here

3) Officially, Ubuntu Touch is only available for the Nexus devices, but it can be ported to other devices too, like our tablet. This thread is about my port of Ubuntu Touch to the Tablet Z.

To install Ubuntu Touch, you need two images: device image and the ubuntu image. (like android with the ROM and the gapps)

A port provides the device image, which is different for every device and the guys at ubuntu provide the ubuntu image, which is the same for everything (even between tablets and phones).

The ubuntu image contains all the apps and UI and stuff, while the device image contains the kernel, drivers, etc.
[Xperia Tablet Z Original Android Development] Trevor Chuah:
This Ubuntu Touch is not able to use LibreOffice, Thunderbird and NFS(Need for Speed?).

The Ubuntu Touch only aim for the tablet usage.

And yes, this thread is concerning Ubuntu Touch on Tablet Z, and Canonical is launching a Dual Boot solution for Android devices, therefore OP is going to include it here (and Why Not?):).

About the extracting boot.img,

kindly:

1) Click the Device Image from Post 1

2) In the webpage, download either Pollux / Pollux_Windy (Pollux: LTE. Pollux_Windy: WiFi)

3) After download completed, open the zip file, the boot.img is at the root directory.

4) Just extract the boot.img and located it to your desired directory (wherever you want)

5) You will need fastboot, try google how to install fastboot on ubuntu (your linux Mint)

6) then just follow the instruction.

7) type fastboot flash boot XXX

8) after entering Recovery, everything is simple, just like the instruction.
[Xperia Tablet Z Original Android Development] enkidu70:
Tnx for your detailed explanations. If there is no LibreOffice and no Thunderbird, it makes no sense for me to install it.

So I keep using the tablet just as X or VNC client. (I thought I can get rid of this by having a real Ubuntu on it... :( )

No... ;) http://en.wikipedia.org/wiki/Network_File_System

I have a Linuxmint based fileserver. NFS is the more reliable protocol compared to Windows SMB if you want to connect using a linux(unix system.

Cheers,

Enkidu
[Xperia Tablet Z Original Android Development] hav0c:
I will receive my Xperia Z LTE tomorrow and this is one of the first things I will flash on it! Would be great to have dual boot Android (because of the number of apps) Let's hope that get's sorted soon. Thanks for your work!
[Xperia Tablet Z Original Android Development] zombiej79:
Just wondering how stable this is for daily use.
[Xperia Tablet Z Original Android Development] mamenyaka:
There will be a minor update coming soon, but after that we will have Android 4.4.2 as the base (currently 4.2.2): update
[Xperia Tablet Z Original Android Development] zombiej79:
Interested in trying hope development keeps.going
[Xperia Tablet Z Original Android Development] ZakMcRofl:
Sorry for the late reply, but better late than never. I am sorry you took my comment the wrong way, your porting efforts are epic and I am glad that you are doing such a great job in it. So yes, I would agree that from a device driver perspective, the code is in beta quality.

However, and this is more about expectation handling, at least back then the entire project (not your code, Ubuntu Touch itself or in combination with your port) was very far away from being a usable operating system. That is perfectly fine and probably clear to those familiar with it, but as you can see by the many questions in this thread you may want to clarify that this is not for daily use.

It is as easy as noting under "Not working": "Ubuntu Touch itself is still under heavy development and I cannot list all the flaws it has here, since that is daily changing. Please be aware that applications may not work as expected but the scope of this project is only the porting, not the actual operating system".
[Xperia Tablet Z Original Android Development] mamenyaka:
Thank you for your response. I will post that note under Not working, if you don't mind, I really like it.
[Xperia Tablet Z Original Android Development] hackint0sh:
Hello,

Is this working for locked bootloader but rooted and with cwm? Just wondering,wasnt mentioned so totally clear in the beginning post.

Also, what about data? Does this work?

Would love to see this working on ma tab.. But dont really know if it will work on my tablet..
[Xperia Tablet Z Original Android Development] Trevor Chuah:
It will not work in locked bootloader since it involve flashing the custom kernel.

For Data, I cannot answer you because I'm using pollux_windy only.
[Xperia Tablet Z Original Android Development] mamenyaka:
Minor update to pollux_windy (mainly just a fresh build with latest ubuntu sources).

I won't be doing any more pollux releases, very few downloads. If anyone has a pollux and would like to take over the builds, just shout.

Still no 4.4.2 ...
[Xperia Tablet Z Original Android Development] Ry Chy®:
Can´t flash it on my Pollux!

Sad thing, I can not flash it on my pollux! I´ve done everything what was written in instructions. My device is rooted and has unlocked bootloader.

Any suggestions?
[Xperia Tablet Z Original Android Development] Lycidias:
Please continue pollux :(

Gesendet von meinem GT-I9300 mit Tapatalk
[Xperia Tablet Z Original Android Development] mamenyaka:
What happened?
[Xperia Tablet Z Original Android Development] Ry Chy®:
Blackscreen after sony logo, then it turned itself off.

Gesendet von meinem C6903 mit Tapatalk
[Xperia Tablet Z Original Android Development] mamenyaka:
Strange... Are you sure it turned off? Sometimes it takes a while to boot and until then the screen remains black.

Try using another ubuntu image.
[Xperia Tablet Z Original Android Development] Ry Chy®:
Still the same. I´ve tried 3 images. Including the latest
[Xperia Tablet Z Original Android Development] cantenna:
This looks like an awesome project but we really need a better multi boot solution.
[Xperia Tablet Z Original Android Development] zombiej79:
Multi boot would be amazing.on here
[Xperia Tablet Z Original Android Development] mamenyaka:
Just a quick heads up: I am still alive and working on the new version.

Ubuntu Touch has changed a lot, they are now using utopic-preinstalled-touch-armhf.tar.gz as ubuntu image (notice, it's not .zip) and it can be flashed via rootstock software (http://bazaar.launchpad.net/~ogra/project-rootstock-ng/trunk/). The device image will be android AOSP 4.4.2 based.

Current status: tablet boots, black screen, adb working.

Until then you can still try the old stuff, just be sure to download http://cdimage.ubuntu.com/ubuntu-to...d/20131127/saucy-preinstalled-touch-armhf.zip as the ubuntu image.
[Xperia Tablet Z Original Android Development] zeus2602:
Is Ubuntu Touch still alive?

http://www.muktware.com/2014/05/canonical-stops-ubuntu-android-development/26527
[Xperia Tablet Z Original Android Development] ducasse.isidore:
If I'm not wrong, this article is about "Ubuntu for Android" ; see http://www.ubuntu.com/phone/ubuntu-for-android . The main goal of Ubuntu Touch now seems to be a standalone OS, ie not using Android's binaries at all. Am I right ?
[Xperia Tablet Z Original Android Development] mamenyaka:
Ubuntu Touch utopic (14.10) with AOSP 4.4.2 base for pollux_windy is here!
[Xperia Tablet Z Original Android Development] Trevor Chuah:
I think there will be no more "dual-boot" with CM right?

However, thank you.

Will try it later.

Good night (My time here):laugh:.
[Xperia Tablet Z Original Android Development] ducasse.isidore:
That's great !

Has the installation processus changed ? Can we still use the links provided in this thread ?

Bravo anyway, not so long ago you were talking about a black screen at boot :)
[Xperia Tablet Z Original Android Development] mamenyaka:
Thank you!

I've updated the install instructions in the OP, let me know if it's detailed enough or should I provide more assistance.
[Xperia Tablet Z Original Android Development] pangiotis24:
Will android apps run on it?
[Xperia Tablet Z Original Android Development] Lupin The Third:
No
[Xperia Tablet Z Original Android Development] mamenyaka:
pollux images are now available!
[Xperia Tablet Z Original Android Development] cantenna:
Is there a way to switch between android and Ubuntu without a computer?
[Xperia Tablet Z Original Android Development] Trevor Chuah:
Hi, after your update, i just have time to try the new image you created.

However, when i followed your new instruction, i get stucked.

I fastboot flash the boot.img,

then reboot to recovery (press volume while purple led shown)

for the next step, i kinda stuck...

code :

bzr branch lp:project-rootstock-ng
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
Branched 37 revisions.

project-rootstock-ng/rootstock-touch-install [Ubuntu-Touch][Ubuntu-Image][Utopic][20140701][0232].tar.gz [Ubuntu-Touch][Device-Image][Pollux_Windy][20140615][System].img
please install the android-tools-fsutils and android-tools-adb packages
error: insufficient permissions for device

Am i missing something here?
[Xperia Tablet Z Original Android Development] mamenyaka:
Well, you should probably install the needed packages:

"please install the android-tools-fsutils and android-tools-adb packages"

Also, be sure to use the "rootstock-touch-install" command with the correct files.
[Xperia Tablet Z Original Android Development] Trevor Chuah:
Thanks for the point out, will try later.

Tablet is charging, 6% remain.

I just notice that android-tools-adb, which i installed already, i didn't notice fsutils.

Thanks.
[Xperia Tablet Z Original Android Development] Pedro80:
SGP311 (pollux_windy) working build

Hi, so whats the latest build you've gotten this to work with SGP311 (WiFi-only+16GB)?

I've tried both 14.10 2014-07-08 and 14.10 2014-07-11 without any luck.

I have no problem with flashing and booting. The problem I face is that UT seems to boot but the device is stuck forever at the spinning red Ubuntu logo.

Anything special I need to do for 16GB version to use this?
[Xperia Tablet Z Original Android Development] mamenyaka:
Tried the 07-13, got past the spinning logo, but the interface was broken.

The 07-08 image is OK, so please try that one with the new device image.
[Xperia Tablet Z Original Android Development] Pedro80:
Thanks.

Works like a charm with

- pollux-windy 2014-07-13

- Ubuntu Touch 14.10 2014-07-15

Didn't accomplish what I set out for though; I have a UVC compliant USB video device I want to display the image from. Not sure Ubuntu Touch is the way to go. I've tried several other roms. The thing is that Google's Nexus roms have UVC drivers built in, but I'm having trouble finding a rom for XTC with UVC support. ...and my knowledge is too limited to build my own kernel (for any rom) :p
[Xperia Tablet Z Original Android Development] zeus2602:
Could someone post a youtube video, pls. :)

Is it worth switching?
[Xperia Tablet Z Original Android Development] zombiej79:
How is this for stability? Is there mhl support? And what kind of apps are avalible?
[Xperia Tablet Z Original Android Development] mamenyaka:
It's not the most recent, but here you go:

https://www.youtube.com/watch?v=Kt2G_L9zExU

Apps:

https://wiki.ubuntu.com/Touch/CoreApps

https://wiki.ubuntu.com/Touch/Collection
[Xperia Tablet Z Original Android Development] Trevor Chuah:
Hi, I find out this error when i try to rootstock-ng the 14.09 edition...

why?

I set the udev permission for 3 mode, with 0777 / 0666 permission.

I'm in recovery mode.

I attached the tablet with USB.

No luck.

And I read the README inside the rootstock folder,

in the last sentence, it wrote:

The "Everything" means...?

Will it wipe the storage file?

Because I will do the Nandroid Backup, I worry that the Backup will be lost.
[Xperia Tablet Z Original Android Development] mamenyaka:
Please check "adb devices", also you don't need sudo for the command.

And don't worry, your backup is safe.
[Xperia Tablet Z Original Android Development] Trevor Chuah:
I checked adb devices, it only show:

????????????? no permission

But not my tablet code.

The sudo 1 is last try when I still get the permission denied stuff.
[Xperia Tablet Z Original Android Development] switchgott:
Bamm...

this looks realy realy good and nice...

What about batterie life time?

Question: How can i go back to CM11?Go into recovery, full wipe and flash cm11 zip?
[Xperia Tablet Z Original Android Development] Trevor Chuah:
Yes, you are right.

Flash CM11 zip in recovery.

With full wipe better.

If you try it, can you check if you have the problem in post 158?
[Xperia Tablet Z Original Android Development] Trevor Chuah:
It's working finally

[MENTION=5097162]mamenyaka[/MENTION], Hi, finally I get it worked.

What my mistake is:

missed an udev rule for recovery

I only add normal, fastboot, and flash mode.
[Xperia Tablet Z Original Android Development] cantenna:
Anyone know how to install in multirom?
[Xperia Tablet Z Original Android Development] FiDra:
Hi,

How can I run these commands on Windows?

Thanks!
[Xperia Tablet Z Original Android Development] Trevor Chuah:
Perhaps you can try run these commands in Ubuntu in VirtualBox (Virtual Machine)
[Xperia Tablet Z Original Android Development] giosal:
hey guys, i'm stuck after flashing the boot image, tablet doesn't go to recovery mode, there is no purple led, whatsoever. when I press power button it starts blinking white...

and now it doesn't even flash anything...
[Xperia Tablet Z Original Android Development] mattman83:
You probably need flash-tool at this point to load a stock rom and start again. Or EMMA.

M.
[Xperia Tablet Z Original Android Development] FiDra:
How can I flash the system image via Recovery? Because I'm cannot manage to get Ubuntu install.

Thanks!
[Xperia Tablet Z Original Android Development] Trevor Chuah:
[/COLOR]

Why don't you try in VirtualBox?

The method is set by Ubuntu Developer

From your command result, I suspect that you hadn't have your bootloader unlocked?
[Xperia Tablet Z Original Android Development] FiDra:
Hi Trevor, thanks for replying.

So, after get Ubuntu installed on VirtualBox, I need to transfer the boot.img, system.img and ubuntu image to the virtual machine then follow the steps in the first post. Is it right?
[Xperia Tablet Z Original Android Development] giosal:
That's weird, I did have it unlocked before flashing, I flashed boot.img, but now it doesn't go to recovery, and doesn't even let me flash anything...

Okay flashed stock firmware via flashtool, worked. Gonna try again later to flash ubuntu
[Xperia Tablet Z Original Android Development] giosal:
This is what I did and the output (for privacy reasons asterisks replaced actual folder and unlock code:

Again, tablet doesn't boot up as before

BTW, if I try to load tablet after unlocking bootloader, it just keeps restarting, which is weird...
[Xperia Tablet Z Original Android Development] Trevor Chuah:
Yes, you are right. You need to move all the files into VirtualBox.

Btw, you need to install some packages,

Like android-tools-fastboot, android-tools-adb, android-tools-fsutils

Some packages might needed but I can't recall now.

---------- Post added at 01:05 AM ---------- Previous post was at 01:00 AM ----------

Its weird. I don't remember I encounter this issue before.
[Xperia Tablet Z Original Android Development] giosal:
Yeah, this is really strange. I tried also flashing CWM recovery boot.img, didn't work either... What could be the problem, really? The bootloader is unlockable, I checked this.

P.S. The stocked ROM flashed by flashtool (downloaded via it as well) works ok, but I want Ubuntu :D
[Xperia Tablet Z Original Android Development] Trevor Chuah:
I think, now you first flash the stock ROM back.

Unlock the bootloader, after unlock, restart it first. Don't flash the boot.img yet.

After everything okay, reboot into fastboot mode and flash the boot.img.

See is it okay.
[Xperia Tablet Z Original Android Development] giosal:
I flashed stock ROM back, unlocked bootloader, restarted, but it gets only to loading screen (after Sony and Xperia logos) and restarts and just keeps restarting.
[Xperia Tablet Z Original Android Development] FiDra:
[MENTION=4586211]Trevor Chuah[/MENTION], how long does the transfer rootfs tarball takes? It takes me 10' and there is no sign of finish.

EDIT: almost done now, is adding system image to installation... :D
[Xperia Tablet Z Original Android Development] Trevor Chuah:
I almost forgot how the bootloader unlocking behave after unlocked.

It was 1 and more year ago for my TabZ, and 2 years for XperiaS.

I don't know what to do with it.

You might find some helps on forum.

However, if you already unlock it, it is unnecessary to unlock it again. Weird.

You open a thread in Q&A section, we go to discuss there. Since this thread is for development purpose. Just PM me your newly created thread.

Congratulations
[Xperia Tablet Z Original Android Development] Nikwalter:
Thanx first to the devs, for this hard work.

I am realy intressted for testing ubuntu touch, but i am not realy a linux user, so i have my problems with the instalation of this rom.

Please, can someone post a step by step instruction how i flash this on my tablet z lte? If possible with multirom?

I have omnirom running, multirom allready flashed and ready to use..

Is it possible to flash it via windows?

i have an old PC with ubuntu, with only two usb ports(that are used ;) )

i hope for some help!
[Xperia Tablet Z Original Android Development] mamenyaka:
Finally!

https://developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/
[Xperia Tablet Z Original Android Development] InteliDroid:
How do I install it? I cannot find the pollux_windy in the ubuntu files...
[Xperia Tablet Z Original Android Development] Trevor Chuah:
So, Xperia Tablet Z WiFi is now official?
[Galaxy Note II Q&A, Help & Troubleshooting] mvtm:
Hi xda

Early adopter of GNII since October. I purchased the International Unlocked version. GT-N7100 in a beautiful marble white and now it is dead!... Please help me revive it, i will thank you so much.

Here are the details: Since about 2 days ago my GNII started to randomly shut off while charging or in use. My only solution to this was to take away the battery and place it again as the power button became irresponsive. I have never dropped my phone or caused any physical damage including contact to water.

Today, my phone shut off as usually and i have not been to boot it up. It freezes always on the: "Samsung -Galaxy Note II- GT-N7100" screen with the black background and cannot get past it.

I was in stock android. Never rooted. Stock android 4.1.1 just as it came out of the box.

I don't know what do or what can be causing it. Please i would appreciate all of your replies and ideas.
[Galaxy Note II Q&A, Help & Troubleshooting] Juank Osorio:
Hi! Try to enter in download mode ( home + power + volume -) and flash any of latest firmware (4.1.2) with Odin. If you can't enter in download mode try enter in recovery mode (home +power +volume +) and flash any rom (Wanam is great). I hope that helps!!

Enviado desde mi GT-N7100 usando Tapatalk 4 Beta
[Galaxy Note II Q&A, Help & Troubleshooting] mvtm:
Hi

I can't seen to enter in recovery mode (home+power+volume+)

Can someone please paste precise instructions or even a video how to get in both download and recovery mode? To make sure i am trying correctly, please.
[Galaxy Note II Q&A, Help & Troubleshooting] mvtm:
I can enter download mode but i am not able to enter recovery mode.

Please i need input of you guys. If i get into download mode which route should i go? I want to keep my GNII with the lastest stock firmware available. Or maybe even get rid of Touchwiz and install Google Stock android. I don't want to lose my data inside my phone too.

Please all help to revive my mobile.
[Galaxy Note II Q&A, Help & Troubleshooting] Juank Osorio:
Sure, it's easy.

Turn off your phone. Now hold the keys power, home and volume - (three keys at the same time) until appear the message you are in download mode.

You can check it in YouTube, search download or recovery mode in note 2.

Enviado desde mi GT-N7100 usando Tapatalk 4 Beta

---------- Post added at 06:48 PM ---------- Previous post was at 06:43 PM ----------

Sorry for my English, I hope you understand me :)

Enviado desde mi GT-N7100 usando Tapatalk 4 Beta

---------- Post added at 06:54 PM ---------- Previous post was at 06:48 PM ----------

Check this http://xdaforums.com/showthread.php?t=

Enviado desde mi GT-N7100 usando Tapatalk 4 Beta
[Galaxy Note II Q&A, Help & Troubleshooting] mvtm:
Perfect but what can download via Odin to revive my device? What Rom, program things should i download. I would like the lastest stock version of google android, or the lastest stock samsung firmware.

I know spanish btw. Someone there ?
[Galaxy Note II Q&A, Help & Troubleshooting] glevitan:
I speak spanish...send me a private message and we can chat in there.
[MDA III, XDA III, PDA2k, 9090 General] paulobrien:
It's real, it's here and i've tested it!

http://www.modaco.com/index.php?showtopic=201169

Not bad for £20 IMHO (£44 if you sign up to MoDaCo Plus to get the early unlock and the MoDaCo Plus benefits!)

P
[MDA III, XDA III, PDA2k, 9090 General] ricmoo2004:
Fantastic service, it took me no longer than 5 minutes locked to unlocked, i have been a Plus Member at MoDaCo for a couple of years now, so only cost me £20, and worth every penny, Thanks to Paul & Florin for sorting this one out.

Richard
[MDA III, XDA III, PDA2k, 9090 General] pzenou:
it's works fine on my spv m2000

29€ that's all
[MDA III, XDA III, PDA2k, 9090 General] gavc_uk:
What benefits do you get from unlocking?

Are you PAYG users and want to use another network?

Forgive my ignorance!

Gav
[MDA III, XDA III, PDA2k, 9090 General] veletron:
Usually its people wanting to put a foreign P&G sim card in their phone while abroad to save paying ludicrous roaming charges.

You dont have to be P&G to want to unlock though. O2's contract XDA IIs devices are locked to O2. Pretty silly considering they are on 1 yr contract anyway.

Nigel
[MDA III, XDA III, PDA2k, 9090 General] cruisin-thru:
gav_uk, it allows you to use another service providers sim instead of being tied to the network that provided the phone.
[MDA III, XDA III, PDA2k, 9090 General] RED:
Here's how I unlocked my Siemens SX66 (Blueangel)

Link - - - -

--------- Here's how I unlocked my Siemens SX66 (Blueangel) ----------

http://xdaforums.com/viewtopic.php?p=92078#92078