yashsingh1/xdaforums huggingface dataset:
[Xperia Tablet Z Original Android Development] GretaLewd:
How to install from Stock?

Sorry to be a bit of a noob, but I'm trying to install this (CM12) on my pollux_windy in place of a stock Sony ROM (292).

I'm following some standard instructions in the CM Wiki which involves flashing the boot.img (worked :good:) and then going into CWM recovery (worked :good:).

The problem occurs at step 8 in the above wiki, which requires the use of "sideload" or "push & install".

I can't see the required commands in the CWM recovery...no "install from Zip", no "mounts and storage", etc...and I'm not sure if ADB is working in recovery either (ADB is working with the device booted up in stock ROM).

Any ideas or alternative ways? How are you guys installing? :confused:

I've done a lot of custom ROM installation on various devices over the last few years...but I've got out of practice recently so I'm stuck :(
[Xperia Tablet Z Original Android Development] Shanliang-:
Just flashed cm-12-20150106-UNOFFICIAL-pollux_windy.zip a couple of hours ago and so far these have been my results:

WiFi: Works.

Bluetooth: Works.

NFC: Works.

GPS: Doesn't work.

Sound: Works. Tested with system sounds and Spotify.

CPU Cores: Works.

Video Playback: Works. MX Player plays 1080p vids without issues. YouTube plays 1080p perfectly with sound.

Smoothness: It's crazy smooth. A thing of beauty.

Double Tap to Wake: Works.

Double Tap to Sleep: Works.

Stability: So far, no reboots, no stuttering or hangs.

Thanks so much, qsnc, I'll definitely keep this as a daily driver. It feels like a new device! Subscribed to thread and eager to test more of your work. :)
[Xperia Tablet Z Original Android Development] androidseb:
Any Screenshots ?

Gesendet von meinem D5503 mit Tapatalk
[Xperia Tablet Z Original Android Development] Lupin The Third:
I would suggest you use twrp recovery. It will be easier flash files.

You can follow the instructions here:

http://teamw.in/project/twrp2/185

Or, since you are on stock install twrp from here

http://xdaforums.com/showthread.php?t=2261606

---------- Post added at 08:58 PM ---------- Previous post was at 08:57 PM ----------

It's just plain cm12. :)
[Xperia Tablet Z Original Android Development] Rox598:
You don't need adb/Fastboot after flashing the boot.img and for installing the ROM.

EDIT: Don't forget before you do any of the below to go into the recovery and backup the Sony ROM!

As long as you put this ROMs Zip file on the storage of the tablet before you installed the recovery (because the stock ROM won't boot on a CM Boot.img) If you didn't you'll need to go get a Boot.img that will allow your tablet to boot again into the stock sony ROM then put the ROM Zip file and Gapps files on the internal storage.

After that re-flash the Boot.img for this go back into recovery (select wipe Data then wipe cache partition) and then select apply update and select from internal storage. Find the Zip file and install it then install the Gapps.
[Xperia Tablet Z Original Android Development] Shanliang-:
That part that you're trying to do is just about putting the .zip in the internal storage to flash it.

I advise you to flash in fastboot the boot.img from a CM11 nightly, that way you get a CWM recovery where you can mount Mass Storage there and then transfer the cm-12-20150106-UNOFFICIAL-pollux_windy.zip from OP (and the GApps package), from your PC to the tablet.

Then just wipe data, cache, format /system and install the zips normally.

If for some reason Mass Storage isn't working, flash with Flashtools stock firmware and copy the files normally, then repeat the steps I mentioned.

---------- Post added at 03:04 PM ---------- Previous post was at 03:02 PM ----------

Oops, I'm sorry, Roxas, you posted faster than I did. :p Well, now he has confirmed the info. Let's hope he can manage to flash it. If not, let us know.
[Xperia Tablet Z Original Android Development] SnZ:
GPS doesn't work for me. (SGP311)

//tried 3times (clean flash + AndroITS)

//CM recovery is also not fully working for me (can't do anything) -- /can't mount /misc partition bla bla)

[MENTION=5145127]qsnc[/MENTION] did fine job, but i'm sticking to stable Omni for now.

Thanks :good:
[Xperia Tablet Z Original Android Development] GretaLewd:
Flashing from stock

Thanks for all your replies with help. I will give it another go. :)

When I got stuck I went back to stock (flashed an ftf with flashtool) so I'll start over again :fingers-crossed:
[Xperia Tablet Z Original Android Development] Jequan:
Unbelievable. This rom comes out of of nowhere as a first release download. I have yet to find anything that is broken.

As i see it this is the rom to have on the tab z from now on!

Thank you very much!
[Xperia Tablet Z Original Android Development] Shanliang-:
You're right about GPS, I was too quick to say that it was working. Just tested it and yeah, it's not there. For now it's not a deal breaker for me, so I'll stay with this ROM. :) Thanks anyway for pointing it out, I'll correct my previous post.
[Xperia Tablet Z Original Android Development] phillipssat:
Any Chance to make HDMI run ??

CM11 never had a functional HDMI Output...
[Xperia Tablet Z Original Android Development] Andrewtst:
Latest build 20150211 running perfectly fine, no single issue. :o
[Xperia Tablet Z Original Android Development] hen77:
On latest pollux I'm experiencing two small issues:

- when I try to reboot to recovery via advanced reboot mode it just does a regular reboot

- bootanimation is laggy for the whole time (on 02.03 its also laggy for 1-2 seconds but normal for the rest of time - I had laggy bootanimations on official cm11 nightlies also so maybe something is messed up on my device any ideas?
[Xperia Tablet Z Original Android Development] Teella:
On the Feb 11 build for pollux_windy the light for recovery mode doesn't come on. If I keep pressing the volume up once I see the Sony logo, I do boot into recovery. So probably just cosmetics. Loving this ROM! :)
[Xperia Tablet Z Original Android Development] jimbo0815:
hi guys,

its my first ROM for the pollux, and i got a blackscreen after flashing.

it's no problem to reflash the stock, root, flash TWRP. but i am to dumb maybe to work with the TWRP. i wiped the cache, dalvik cache, data and ****, 2nd try after stock, root, TWRP wiped the cache and did the factory reset (had to google how to do it <.<) and again a black screen. i redownloaded also the file, checked the md5 (was the same).. what am i doing wrong?

*note: its a real blackscreen, i also cant get the sony logo or whatever with volume up + power / volume down + power / volume and wait.. just can get it blind into flash mode and reflash the stock.
[Xperia Tablet Z Original Android Development] phillipssat:
Which version of TWRP?

Many versions where known to make blackscreen !
[Xperia Tablet Z Original Android Development] scoobyjenkins:
Indeed! 2.8.1.0 to 2.8.4.0 gave my Pollux_Windy a black screen, but 2.8.4.1 & 2.8.5.0 are fine. When I got a black screen, I flashed stock and started again with last known working one, but then found I could just hold vol up and power to restart and install a working version using terminal emulator.

Tapatalked that shiznit.
[Xperia Tablet Z Original Android Development] jimbo0815:
I use the version 2.8.1.0 from here - when i installed it and i run TWRP it shows me 2.8.4.0 (!? :confused:). Where can i download an other version for the 321?

If i boot in philZ and try to flash i get 'This package is for device: SGP321, pollux this device is .

E: Error in /storage/sdcard1/cm-12-...

(Status 7)

and yes, its 100% the 321 / polux.

*note

i use this method to root the device + link for TWRP. any suggetions? :| (have to root and flash it again..)

sorry for offtopic noob talk
[Xperia Tablet Z Original Android Development] phillipssat:
V2015-02-11

Tried to install newest 2015-02-13 dirty over 2015-02-11.

But for the very first time "boot into recovery" will not do his work. Tablet always start cm12.

Also no violett LED.

I installed TWRP 2.8.4.1 via APP "Rashr" and installed APP "Quickboot"... nothing helped. No Restart into Recovery...

Now after many tries i got it with volume down while "Sony" in Display... but no violett LED anymore... hmmm.... little bit tricky to start Recovery at this time...

Now i installed 2015-02-13 but "Reboot into Recovery" will also NOT do his work.... only a normal reboot....

Hmmmm... after Install 2015-02-13 over 2015-02-11 TWRP is still there ? i thougt a dirty flash will overwrite TWRP with original Recovery ?!

by the way...

a cooperation from qsnc with oliver would be very nice..... multirom....

http://xdaforums.com/xperia-z/orig-development/mod-multirom-v27-t2843976
[Xperia Tablet Z Original Android Development] Electronic Punk:
If you check the first post, he has already sent a commit for official nightlies, but it hasn't been approved yet, fingers crossed.
[Xperia Tablet Z Original Android Development] phillipssat:
who decides to activate nightlies ?

Tried 3 times since 2015-02-02 ?

http://review.cyanogenmod.org/#/c/87613/
[Xperia Tablet Z Original Android Development] andyvdsteen:
Will this also be applicable for these unofficial builds for Tablet Z?
[Xperia Tablet Z Original Android Development] Electronic Punk:
Seem to have picked up an issue between the 11th-13th with Swiftkey:

Tried wiping data on the app, no change. Stock keyboard is fine.
[Xperia Tablet Z Original Android Development] jimbo0815:
stupid question but - how can i flash the CM12 ROM on my pollux?

i used this method.

I am using the recovery from NUT.

How do i do this? - nevermind.. just checked the other ROMs, unlocked my bootloader, flashed the boot.img and was able to enter the CM recovery + flashing CM.. was pretty easy if you know what is wrong or why it doesn't work..

a note in the 1st page would be awesome for stupid ppl like me 8)
[Xperia Tablet Z Original Android Development] Jens1969:
+1 for the swift key issue.

The Rom from 13th is my first 5.0 ROM on my tablet. Seems to work fine. One thing I noticed: when I create a second user, some apps won't work. I.e. Hay Day force closes for the second user. After this, Hay Day force closes for main user also.

I'll reinstall and report back. Nope, did not work. Might be something with multi user, lollipop and hay day. :confused:

Nice work btw. :)

Update (2/16/2015): Started all over again with different gapps (gapps-lp-20141109-signed.zip instead of pa_gapps-stock-5.0.1-20150208-signed.zip). After Google Play Services updated, no more play store crashes and I was able to install hay day for all users. :)
[Xperia Tablet Z Original Android Development] qsnc:
i decide. those commits just make it easier for me to be updated, not everything is even meant to be included straight away.

yes, it applies to these builds as well. this should also solve reported troubles with rebooting into (and not updating) recoveries.
[Xperia Tablet Z Original Android Development] Electronic Punk:
I noticed it wouldn't boot into recovery so I rebooted and tapped volume up.

Flashed 13 and it installed ok with the kernel from the 13th so assume I don't need to flash boot.img manually?
[Xperia Tablet Z Original Android Development] sorre:
[MENTION=5145127]qsnc[/MENTION], thank you so much for what you're doing for our TabZ. Your work really brought new life to this awesome tablet! :)

If possible, I would ask you if you could fix screen mirroring for Chromecast: it worked flawlessly for my pollux_windy with the first 2/3 releases of the rom. Now instead, if I select screen mirroring in the Chromecast app the connection seems to start, but the tv shows a black screen and rapidly disconnects; but I think the app doesn't properly end the connection, as I can still see the disconnect option in it (and nothing happens if I click it).

Even a fresh installation of the rom doesn't change the situation. :(
[Xperia Tablet Z Original Android Development] qsnc:
Download links removed. I greenlighted nightlies for both devices, so come tomorrow, CM12 nightlies will be available from the official places.

I will keep this thread anyways, as there are more changes to come, and we are going to need some testers.
[Xperia Tablet Z Original Android Development] phillipssat:
Thank you very much for your great work !! Your work keeps our TabletZ alive.

Hopefully you will fix HDMI in future and work together with polloamid for compatibility with Multirom !
[Xperia Tablet Z Original Android Development] Electronic Punk:
http://download.cyanogenmod.com/

Just got the weekly CM11 build, hopefully it won't get in the way of a 12 nightly today! :D
[Xperia Tablet Z Original Android Development] scoobydu:
Excellent, thanks for your efforts, much appreciated.
[Xperia Tablet Z Original Android Development] hen77:
Thanks for all the work you put in our device :)

edit: which recovery are you guys using at the moment?
[Xperia Tablet Z Original Android Development] Jequan:
Congratz on the official CM!

This ROM is flawless for me and the best rom i had running on the tablet ever.

It is well deserved that it is made official.
[Xperia Tablet Z Original Android Development] andyvdsteen:
I haven't installed the nightly yet, still on 13th unofficial, but what exactly is the problem? I don't see visual bugs in your screenshots?

All icon sizes in you screenshots are the same size as on my unofficial?
[Xperia Tablet Z Original Android Development] Teella:
I'm running 0217 build using Go Launcher and don't see these problems. Only problems I've see is desktop background is huge :)
[Xperia Tablet Z Original Android Development] switchgott:
Big thanks for your hard work!!

A new life for this tab :good:

Question:

Is it possible to get usb ethernet adapter working?

Is is an asix adapter (edimax) but cm12 did not recoginze it.

Kernel module is build, but dhcp and dns does not work.

Any idea ??

Is would realy realy nice if you could help me...

Big thanks

Dmesg ahhhh:

init no such service: dhcpcd_eth0: -f /system/etc/xxxx

No with dhcpcd eth0 i get a ip adress...but no dns :(
[Xperia Tablet Z Original Android Development] Jens1969:
Black screen after update to first nightly

Hi!

Flashing 0217 over 0213 (sucessfully as reported by twrp), my screen goes black after sony logo. I can boot into bootloader and recovery (twrp 2.8.5.0). Any clue?
[Xperia Tablet Z Original Android Development] Rox598:
Try Opening the zip file of the latest nightly and flash the boot.IMG via fasboot. Cyanogen posted on their G+ a while back saying the latest nightly required this as there was some changes.
[Xperia Tablet Z Original Android Development] Jens1969:
Thanks for you help. This is, what happens:

> fastboot flash boot boot.img

sending 'boot' (10050 KB)...

OKAY [ 0.307s]

writing 'boot'...

OKAY [ 0.531s]

finished. total time: 0.838s

>fastboot reboot

rebooting...

finished. total time: 0.000s

After Sony-Logo, screen goes black. LED is off. The device is not off, because I can connect with adb. ????

adb reboot (recovery|bootloader) works fine. But no sideloading.

What recovery is supposed to be installed to flash cm12? Is the nightly installing any recovery at all?

Output of twrp from flashing cm-12-20150217-NIGHTLY-pollux_windy.zip:

detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system

detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system

script succeeded: result was [0.200000]

Updating partition details...

...done

PS: I deleted the latest unofficial. Has anybody a link to download (want to try included boot.img)?
[Xperia Tablet Z Original Android Development] andyvdsteen:
See attached. I see no difference with your screenshots.
[Xperia Tablet Z Original Android Development] andyvdsteen:
I don't see why this should be a bug?

I don't experience this as a bug, and it has been like this since the first unofficial I installed.
[Xperia Tablet Z Original Android Development] andyvdsteen:
As you can see, my screenshots are from the older builds. I don't have the official nightly installed yet.

The icons are small. But not extremely to me.
[Xperia Tablet Z Original Android Development] Rox598:
Hmmmmm that is strange it sounds like the kernel is having issues :S bare with me i'm uploading the boot.img of the last unofficial build now for you.

Boot img: Link

Failing that it sounds like you may have to use flashtool to go back to stock then re-flash nightlies from scratch just to be sure.
[Xperia Tablet Z Original Android Development] Jens1969:
Thanks for boot image. That did not work. :(

So I'll get myself flashtool and learn how to use it... :)

Update: flashtool seems to have brought my tablet back to life. At least I can see some kind of wave animation... :) And now I'm at language selection! :)
[Xperia Tablet Z Original Android Development] andyvdsteen:
I flashed my tablet to the official nightly without this step. Worked without any issues.
[Xperia Tablet Z Original Android Development] Jens1969:
What recovery (and version) are you using?
[Xperia Tablet Z Original Android Development] andyvdsteen:
PhilZ, installed in FOTA.
[Xperia Tablet Z Original Android Development] Jens1969:
Is the cm updater working with non-cm-recoveries?
[Xperia Tablet Z Original Android Development] phillipssat:
Try app rashr. Installed TWRP 2.8.5.0.
[Xperia Tablet Z Original Android Development] hen77:
@ Pollux user: which recovery are you using?
[Xperia Tablet Z Original Android Development] andyvdsteen:
Install the recovery on FOTA kernel. It will stay there, no matter which recovery is delivered in the build.
[Xperia Tablet Z Original Android Development] andyvdsteen:
There was an instruction in another topic, but can't find it there anymore.

Download the desired recovery to your sdcard.

Then I think it was like this, using the terminal-app on your phone:

Or use a (paid) app to download and install a recovery to the FOTA partition.

Make backups first.
[Xperia Tablet Z Original Android Development] switchgott:
Any idea how to get usb ethernet working?

I put this inside ramdisk init.qcpm.rc

service dhcpcd_eth0 /system/bin/dhcpcd -ABKL

class main

disabled

oneshot

and

service iprenew_eth0 /system/bin/dhcpcd -n

class main

disabled

oneshot

but did not work.

Usb is there but dhcp doesnt work correct.No ip.No dns...
[Xperia Tablet Z Original Android Development] Teella:
Hurra! Just installed 20150219 my desktop background is back to normal size. :)
[Xperia Tablet Z Original Android Development] InteliDroid:
Are the CM nightlies stable yet? Or as stable as the one you have released? Because if not may you please PM me your latest one as I need to use this tablet tomorrow haha. :angel:
[Xperia Tablet Z Original Android Development] phillipssat:
nightlies are very stable !

Great work from qsnc!
[Xperia Tablet Z Original Android Development] xperiaatic:
Latest nightly is surprisingly stable on my SGP321 pollux. Only glitch i noticed so far - stock browser getting visually scrambled sometimes and folder/menu effects are not that smooth but overall quite usable :good:
[Xperia Tablet Z Original Android Development] InteliDroid:
Thanks for the help guys. I will flash the latest nightly now ;D! Is battery life good?
[Xperia Tablet Z Original Android Development] hen77:
Hi!

Is anyone else having a laggy / unsmooth bootanimation on sgp321 or any other tablet z device on cm12 nightlies? with qscns builds (except from the last build) it was smooth. I tried out clean flash also.

any help?

cheers
[Xperia Tablet Z Original Android Development] Teella:
Only at the beginning for 2 or 3 seconds. On sgp312 night 20150222
[Xperia Tablet Z Original Android Development] andyvdsteen:
I use a custom boot animation (original Lollipop).

But besides that, I don't really care about how smooth the boot animation is. It's not like booting is the main usage of my tablet. :)
[Xperia Tablet Z Original Android Development] qsnc:
New experimental build up - for those with cowbells between their legs ;) read first post... gives a noticeable performance improvement in some apps (at least on my tablet).
[Xperia Tablet Z Original Android Development] phillipssat:
How to save and write back all settings and userdata before and after changing filesystem with ADB ?

Maybe you find some more Cowboys to test... ?
[Xperia Tablet Z Original Android Development] jankhner:
Did I understand correctly : I don't have to do anything special f2fs thing or anything else if I use the official daily build of cm12? I have the stock rom at the moment. Can I just flash the newest daily build from the recovery?
[Xperia Tablet Z Original Android Development] zeus2602:
Sry, no cowbells :)

Deleting the user data/settings..., not a good idea, for me.

Now running fine in multiuser (note: ADB apk install for all user, if you need 3rd Party apps for all, or the second user)
[Xperia Tablet Z Original Android Development] InteliDroid:
Just flashed your latest nightly. It is very stable and excellent! If so I just see a bit of a battery drain. Not sure if its a rom or device issue.
[Xperia Tablet Z Original Android Development] cantenna:
Can this ROM be used without converting to f2fs? Didn't see an note on this.

Also I see foldermount not working, can this be or has it been fixed yet?
[Xperia Tablet Z Original Android Development] Teella:
Yes and not sure what you mean by foldermount not working.
[Xperia Tablet Z Original Android Development] cantenna:
The q&a section, a couple of users said mounting obb folder in foldermount does not work, is that true?

Im having trouble adb shell into tab to format to f2fs, keep getting error closed??
[Xperia Tablet Z Original Android Development] phillipssat:
http://www.cmxlog.com/12/pollux_windy/

New nightly has enabled f2fs ...

What happens when update my 2015-02-28 ??

i would not be nice to loose my private Data/settings.... ?!

If nothing happens.... how to activate f2fs and save data/settings ?

[MENTION=5145127]qsnc[/MENTION]

Any hope that YOU look at HDMI in future ? Or not interested ?
[Xperia Tablet Z Original Android Development] cantenna:
Yes please advise how to activate f2fs, is their an f2fs recovery that will allow changing file system? Latest twrp should support function but does not.

I cannot change file system to f2fs via adb cynogen recovery sideload, its impossible! The Recovery's don't support either, keep getting disconnect error. I can only adb she'll from within android is and then f2fs is not recognized command. I had a much easier time converting to f2fs with my gs4 because the developer also created a modified recovery that allows f2fs file system change within twrp wipe function.

This is frustrating me....keep getting error:closed tried dozens of different adb drivers
[Xperia Tablet Z Original Android Development] seba112:
MULTIROM TWRP for Yuga have a f2fs convert, but I can't convert /data to f2fs.

I was able to just reformat cache to f2fs.

Few minutes later...I have data in f2fs :D
[Xperia Tablet Z Original Android Development] cantenna:
Thanks, I'll checkout multirom, but you say you couldn't convert data to f2fs and then you could? I'm confused.

So it doesn't sound like anyone is or knows how to use f2fs on cache and data on this ROM.
[Xperia Tablet Z Original Android Development] seba112:
In Yuga thread I wrote the method to convert partitions to f2fs.
[Xperia Tablet Z Original Android Development] cantenna:
Thanks, I managed to change cache to f2fs by i am unable to change data dir to f2fs? what am i doing wrong?

Edit: Im not sure your method/workaround works, i tried it an verified cache was indeed f2fs format, then i installed rom, then to further verify f2f2 was still maintained i fastboot back omnirom boot.img and twrp wipe confirms cache as Ext4, so i guess even though i had an f2fs cache partition, the rom after install formated the f2fs partition back as ext4?
[Xperia Tablet Z Original Android Development] neuteboomt:
It took a little time to allow my computer to recognize the tablet in recover but all is good. now. I was able to format cache and data to f2fs.
[Xperia Tablet Z Original Android Development] cantenna:
Which recovery did you use?
[Xperia Tablet Z Original Android Development] neuteboomt:
CWM.
[Xperia Tablet Z Original Android Development] cantenna:
Thank, from cm 10? Adb sideload supports shell?