yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Tablet Compact Original Android Developm] kawasaks:
thank you, i think i did use the same TRWP from that link but i will re-install again today to double check if the adb sideload will work.

btw, may i check which ADB tool did you use which was successful to install this ROM?

and thank for your kind help ^_^
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
You could just load the rom and gapps to the tablet or microSD, enter to twrp, wipe and flash the rom from there without doing sideload.
[Xperia Z3 Tablet Compact Original Android Developm] Geralthewhitewolf:
Hey, does that twrp(latest one, on top of the page) also work with the windy version??

Thanks
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
Yeah, it works in Windy but you won't be able to install any rom for SGP-611, just rom for SGP621..

and just a fact, I tried several times to install acip 8.1 rom on windy but i don't had any luck.
[Xperia Z3 Tablet Compact Original Android Developm] Geralthewhitewolf:
So that means we can only use official twrp (3.0.2) on the sgp 611. I wanted to update mine since the official one is quite old and gives 2 lines of errors when flashing nougat roms, no that it matters but still..

Besides the aicp dev did release an oreo rom for sgp611 on the google+ community of aicp rom but pulled it out for some reasons
[Xperia Z3 Tablet Compact Original Android Developm] kawasaks:
SGP621+Sony stock MM + bootloader unlocked + rooted +TWRP

and checked TWRP as 3.0.2.

did try to upgrade TWRP to latest 3.1.1 or 3.1.0 via intalling the image via TWRP in recovery or by TWRP official app via after booting into the system but somehow it doesn't get update and stays as 3.0.2

so with TWRP as 3.0.2, when i install this ROM via TWRP in recovery, i get below error and doesn't let me install.

----------------------------------------------------------------------------------

Updating partition details...

...done

Full SELinux support is present.

MTP Enabled

Installing zip file '/external_sd/ROM/LineageOS_14.1_Nougat_7.1/1.lineage-14.1-20170728-UNOFFICIAL-Lowtraxx-scorpion.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

E3004: This package is for device: scorpion; this device is z3.

E:unknown command [log]

Updater process ended with ERROR: 7

Error installing zip file '/external_sd/ROM/LineageOS_14.1_Nougat_7.1/1.lineage-14.1-20170728-UNOFFICIAL-Lowtraxx-scorpion.zip'

----------------------------------------------------------------------------------

why TWRP think i have z3? my device is z3 tablet compact (SGP621)

---------- Post added at 09:56 PM ---------- Previous post was at 09:26 PM ----------

this link helped a little

https://xdaforums.com/showpost.php?p=68023250&postcount=3

seems like TWRP doesn't not officially support SGP621 model so unofficial TWRP is ported from z3 or something so above error shows when installing this ROM.

removed the check line as instructed in the link but now i get this error..

----------------------------------------------------------------------------------

Updating partition details...

...done

Full SELinux support is present.

MTP Enabled

Installing zip file '/external_sd/ROM/LineageOS_14.1_Nougat_7.1/1.lineage-14.1-20170728-UNOFFICIAL-Lowtraxx-scorpion(modify).zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

Target: Sony/SGP621/SGP621:6.0.1/23.5.A.1.291/3706784398:user/release-keys detected filesystem ext4 for /dev/block/bootdevice/by-name/system

Can't install this package on top of incompatible data.

Please try another package or run a factory reset

Updater process ended with ERROR: 7

Error installing zip file '/external_sd/ROM/LineageOS_14.1_Nougat_7.1/1.lineage-14.1-20170728-UNOFFICIAL-Lowtraxx-scorpion(modify).zip'

Updating partition details...

...done

----------------------------------------------------------------------------------

people who has SGP621, why you dont get this error?

maybe need to update TWRP to recent one from here (https://xdaforums.com/dev...7990#downloads)

but when i install it from TWRP recovery, it can be install without error but when i reboot into the recovery the revision is stil the same and doesn't upgrade.

btw, when i try to install the recent TWRP, chosen "Recovery/Fota". there are other option as Boot, System Image, Trim Area which I was not sure if it is right to select for this purpose.

any help will be appriciated T_T
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
Your TWRP version is a little old hahaha, you have to do the upgrade via adb, and install one of the version you want, but the recovery in this case it's have to be installed in FOTAKernel.

If you don't understand just do a little research in the forum the answer to your doubts are there.

Fastboot flash FOTAKernel recovery.img
[Xperia Z3 Tablet Compact Original Android Developm] RedWave31:
You might need to inject TWRP into the kernel directly. There is a tutorial posted on XDA.
[Xperia Z3 Tablet Compact Original Android Developm] kawasaks:
thank you all, found out why i was not able to flash the ROMs.

i was using wrong TWRP which was included in XZDualRecovery.

also do not use TWRP_scorpion_3.1.1.3_3.4_201711.img version as LineageOS/AICP will compain saying "E3004: This package is for device: scorpion; this device..."

once i use TWRP_multirom_scorpion_3.1.0.0_3.10_201703.img, i can now install either LineageOS(NO/OR)/AICP.

hope this info will also help others as i wasted 3-4 evening playing around.

sharing my notes of how to install the TWRP as long as your device has unlocked bootloader

=================

Install TWRP on UB (Unlocked Bootloader) + Sony MM (Android 6)

ref: https://xdaforums.com/showpost.php?p=74885912&postcount=170

ref: https://xdaforums.com/z3-tablet-compact/general/adb-fastboot-drivers-tutorial-t2980529

ref: https://twrp.me/sony/sonyxperiaz3tabetcompact.html

=================

1. Install latest firmware. Android 6.0.1 (23.5.A.1.291) should be the latest firmware. {but i think any version will still work}

2. boot into bootloader

a. Shut down tablet

b. Hold volume up and connect the USB cable at the bottom

c. Should get a blue LED on the front and a blank screen. From command line on PC, run below commands

3. Download "minimal_adb_fastboot_1.4.1_portable.zip"

Info: https://xdaforums.com/showthread.php?t=2317790

4. install TWRP

[command]

fastboot devices {This checks that your tablet is connected and responding and you should get a response with your tablet's ID}

fastboot -w {Erase userdata and cache (and format if supported by partition type)}

fastboot erase system

fastboot flash boot boot.img {boot.img can be found in any custom ROM, grab it from any}

fastboot flash recovery twrp.img {download most recent twrp file}

fastboot flash FOTAKernel twrp.img {download most recent twrp file}

fastboot reboot

5. how to access TWRP

1. LED turns "RED"

2. Boot up with SONY and XPERIA logo

3. LED turns OFF

4. LED turns "PINK"

5. Then (Long) press volume "UP", LED turns "ORANGE" and reboot into TWRP
[Xperia Z3 Tablet Compact Original Android Developm] RedWave31:
Thank you so much for taking the time to post this, that's the original spirit of XDA. :highfive:
[Xperia Z3 Tablet Compact Original Android Developm] kawasaks:
just a feedback on V8 ROM,

i also see in other posts but USB connection with PC is not working. USB connection with power is okay.

will report move if i find
[Xperia Z3 Tablet Compact Original Android Developm] mind.inc:
Look at the op, there's a boot.img regarding usb connection. maybe that solves your problem.
[Xperia Z3 Tablet Compact Original Android Developm] kawasaks:
thank you for the tip. re-install the whole ROM with boot.img from OP but it didn't help.

0. boot into TRWP and wiped all except the SDCard storage and OTG

1. installed ROM

2. isntalled boot.img

3. install gapps (nano)

4. reboot to system

5. confirmed USB Configuration is MTP in Developer Option

eh? while typing above out and touching the MTP option. confirmed i can access the internal and SDCard storages via PC USB conection now. don't know what triggered it but looks okay now.

hm.. looks like touching the MTP choice will help but not fully functional. sometime you get the parent folders, sometime none and if you are lucky you get all.

will pop out the sdcard and stick into the reader to transfer files from PC for time being.
[Xperia Z3 Tablet Compact Original Android Developm] [denser]:
[MENTION=615507]lowtraxx[/MENTION], hey! are there any news about new build? is everything fine? are you going to release new build soon?

and thanks for your work!
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
Maybe he still has Hangover from Christmas jajaajaj
[Xperia Z3 Tablet Compact Original Android Developm] jacktheriefla:
You all bought him to much Beer!! :D
[Xperia Z3 Tablet Compact Original Android Developm] Phlogistos:
Hi everyone,

While this is not totally related to this ROM, this is one of the last active thread and I'm planing to flash LOS on my SGP621 (stock 23.5.A.1.291)

I've gathered all I need but, while I've flashed various devices (mainly samsung, nexus), this is my first Sony system and there is something I don't fully understand : TWRP and FOTAKernel

First, getting TWRP. On twrp.me there is only the windy version. Are they compatible?

In doubt, I've planned to go for this one: https://xdaforums.com/devdb/project/?id=17990#downloads

Will the non-multirom version here work? (I've seen many posts with problem flashing twrp so I'm looking for the right version on my first try ^^)

Then, flashing...

Half the tutorials I've seen is using : fastboot flash FOTAKernel twrp_file

Which seem to be the way to go when you have a custom ROM, BUT, the other half is using the usual : fastboot flash recovery twrp.img

Worse, I've seen posts were users are flashing both (which doesn't make sense to me). I've also read that the FOTAKernel flash is for "older twrp" (which doesn't make sense either).

What is the proper way (and why)?

After that, I guess there is no way to go wrong: I just flash this rom's boot.img (or any custom one) through ADB, load this rom on my SD card and flash it through twrp as with any other device.

Is this correct or are there other sony specific stuff to take into consideration?

Thank you for you help, I'll post a "complete" howto once everything works :)
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
about the FOTAKernel read the note section of this,

i never had problems when i flashed the twrp in FOTAKernel particion,

instead when i flashed in recovery particion the recovery disappeared.

https://twrp.me/sony/sonyxperiam.html.

You can use the last version of twrp from the link you gave without problem, and how to progress flashing this rom and any other do this https://xdaforums.com/showpost.php?p=74919327&postcount=677
[Xperia Z3 Tablet Compact Original Android Developm] Phlogistos:
Both twrp note and the post you linked were in my research. But the xda post you linked states that you flash in both recovery and fotakernel, while the twrp note means that only fotakernel is usefull if you have a compliant rom.

This is precisely the point I don't understand, within the community you find both solution, there should be only one "right"/"recommended" way to do it (even if both works).
[Xperia Z3 Tablet Compact Original Android Developm] Phlogistos:
Flashed my sgp621, just a little feedback:

- the twrp on AICP thead works, but only the multirom version! non-multirom doesn't report any device therefore the rom refuses to flash

- flashing fotakernel is the only command required, no "flash recovery"

Now waiting for v9 :D
[Xperia Z3 Tablet Compact Original Android Developm] nickabg:
Hi,

Yes, i still have one SGP-611 left and will gladly send it to you.

I just sent the other one to the developer of AICP ROM in Japan (we had extremely busy december, hence the delay).

Just give me your shipping address please.

I am in Bulgaria, I can send it by DHL and you will receive it friday or maybe monday.

Thanks for your work ! :)
[Xperia Z3 Tablet Compact Original Android Developm] M!tch:
are there any news about mhl support?
[Xperia Z3 Tablet Compact Original Android Developm] mind.inc:
I'm sorry to ask here because I'm pretty lost in this twrp thing. I have stock prerooted 6.0.1. on my sgp611. I wanted to install twrp from AICP thread to have the newest one. It booted up to to this, but i can't boot back to system. If i restore my boot.img it will boot back to system, but then I can't access twrp again. Maybe you or any other can help. If this is too much OT, you can replay as a pm. thanks in advance.
[Xperia Z3 Tablet Compact Original Android Developm] finalista:
[MENTION=615507]lowtraxx[/MENTION]: happy New year [emoji3]please give us a short update. THX.
[Xperia Z3 Tablet Compact Original Android Developm] wirdSchoon:
Hi lowtraxx,

do we get another ROM from you for our z3Tc?

I would be happy to know if you support the device further.
[Xperia Z3 Tablet Compact Original Android Developm] chaostimmy:
Thank you lowtraxx! Hope for another update :)
[Xperia Z3 Tablet Compact Original Android Developm] jeffcpc:
Hi, I got a SGP641. Can I follow the procedures for SGP621 to install the LineageOS V8 ROM? If, yes, should I use following build?

"V8 - GDrive - LineageOS14.1 Scorpion (SGP621)"

Has anyone tried it on a SPG641? Still a newb here and and any tips would be highly appreciated.

Thanks.
[Xperia Z3 Tablet Compact Original Android Developm] lowtraxx:
Hi Guys,

I am so sorry for being quiet for this long. Actually, this is my first time back on the forum in the last few weeks :( I was held up, because I moved to a new House over those last few weeks and there were quite a few hiccups along the way including spotty to no internet access. Also I was in Canada for a few weeks in between (actually currently am again till the end of the week) due to work engagements. But now that I am settled in, and stress at work reduces due to 2017 being over, I hope to get the builds running again (need to dust off the build machine) in a timely fashion.

Sorry again guys
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
thanks for the update, you don't need to be sorry, it's first your personal and professional life before this. :victory:
[Xperia Z3 Tablet Compact Original Android Developm] Geralthewhitewolf:
It's so nice to see you back, you and koron393 are the only hope for our beloved z3tc.

BTW since you'd probably be working on Oreo now,

I was thinking if you could build dirty unicorns instead of lineage this time. I have used it on my other devices and would love to see it on my tablet.

Moreover, it'd also be a nice change to see something new for our device. Just a suggestion, though.

AND DON'T FORGET THAT WE ALL LOVE & APPRECIATE YOUR WORK.:good::good:
[Xperia Z3 Tablet Compact Original Android Developm] andr01d3:
Brightness control is not working (it's always at max no matter what you select) and 5Ghz wifi is not detected either. Are these known issues? Can't see them in the OP.

By the way noticed also that screen is not going totally off when pressing power off button to block it or the device goes auto off...
[Xperia Z3 Tablet Compact Original Android Developm] torben5247:
The 5 ghz issue is solwed changing your region under wifi settings.

I haven´t had the issue with the backlight... So that is a strange one.....
[Xperia Z3 Tablet Compact Original Android Developm] milox_x:
I didn't had issue with brightness too. Did you followed flash instructions correctly? I would try to reflash it.
[Xperia Z3 Tablet Compact Original Android Developm] eboelens:
Hallo months ago I flashed V8 with succes but I didnt flash Fixed Boot Image.

I need now USB data but it don"t work ofcourse.

I want flash now the fixed boot image but I can"t

fastboot don't recognize my device 'waiting for devices' ........

what can I do ?
[Xperia Z3 Tablet Compact Original Android Developm] wulfiss:
i think you can flash the boot image via twrp, correct me if i am wrong.
[Xperia Z3 Tablet Compact Original Android Developm] wirdSchoon:
Hi lowtraxx,

did you work on a new Version (V9)?
[Xperia Z3 Tablet Compact Original Android Developm] jacktheriefla:
I dont wanna Change the Rom :(
[Xperia Z3 Tablet Compact Original Android Developm] nachtgeist:
Hi lowtraxx,

is there a chance you're going to publish your current local_manifests and forked repos? I've seen your profile on github but those repos seemed a bit stale to me...

Thanks!

Daniel
[Xperia Z3 Tablet Compact Original Android Developm] cquilliam:
I've been out of the loop for a very long time, and am wondering if I can do anything with my Z3TC.

I'm in Canada and purchased my Z3TC from Rogers. As far as I know, it is bootloader locked, and I don't believe there is an official method to unlock it (I remember checking a site before, and it saying my device wasn't eligable). It's been a while, and I'm wondering if things have changed? Can I do anything with my Z3TC in order to use something like this Lineage OS?

What I have:

Model: SGP621

Android Version: 6.0.1

Android Security patch level: May 1, 2016

Baseband: 8974-AAAAANAZQ-00112-61

Kernel Version: 3.4.0-perf-gc14c2d5 BuildUser@BuildHost #1 Tue Jan 28 11:15:51 2016

Build Number: 23.5.A.1.291

Been going around all the old posts here, and am not sure if any of it is relevant anymore.
[Xperia Z3 Tablet Compact Original Android Developm] Geralthewhitewolf:
Of course, you can unlock your bootloader. Just head onto this page, scroll to the bottom and select your device then simply follow the instructions.

https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/

There are some additional links on the page that maybe of help.

Good luck!
[Xperia Z3 Tablet Compact Original Android Developm] cquilliam:
So, after I made my reply, I went and searched out that unlocking page again and came across it and attempted to follow the instructions:

First off, step 4 does not work for me. Long-pressing anywhere in the white space does not make anything happen.

So, I launch the phone dial pad and enter the code as described, and I can get to the menu. From there, I follow the instructions, and I get to the Service Info -> Configuration -> Rooting Status
[Xperia Z3 Tablet Compact Original Android Developm] Geralthewhitewolf:
[MENTION=4161945]cquilliam[/MENTION]

There are a lot of people here using this ROM on sgp621(LTE version), the OP himself has a sgp621. So why don't you just try unlocking it (by entering your imei number, getting the unlock code and running the required commands in the terminal).

Here is a detailed video explaining the unlocking process

https://m.youtube.com/watch?v=jWPYicb8_-Q

Just give it a go, most likely you'll be able to unlock it.
[Xperia Z3 Tablet Compact Original Android Developm] cquilliam:
Thanks for your effort, but it doesn't look like it's possible for me for some reason. Perhaps it depends on where the SGP621 came from? I don't know.

I tried anyway, and got this:
[Xperia Z3 Tablet Compact Original Android Developm] Geralthewhitewolf:
Oh, that's sad! But stock ROM ain't that bad either.
[Xperia Z3 Tablet Compact Original Android Developm] cquilliam:
I was kind of hoping to strip down this thing a bit as I'm constantly getting messages on it that i'm running out of space. I have a 64gb sd card and move as many apps over to it as possible, but i still run out with barely anything on it, it's frustrating. I had it rooted at one point and used several different programs to remove as much as I could, but still didn't help much.

Oh well!
[Xperia Z3 Tablet Compact Original Android Developm] orjanraberg:
You need to supply the unlock key specific to your tablet to the command. The only way to get it is from Sony: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/

BTW it seems most people have moved on the the AICP Android 8 Oreo ROM instead of this one because of lack of development on this ROM.
[Xperia Z3 Tablet Compact Original Android Developm] cquilliam:
Thanks, i did get the code generated after entering my IMEI and used that on the fastboot command line as instructed. No dice.
[Xperia Z3 Tablet Compact Original Android Developm] orjanraberg:
OK. Did you enable unlocking bootloader in developer settings first too?
[Xperia Z3 Tablet Compact Original Android Developm] cquilliam:
No, but I don't see that option. Here is an imgur album of my developer settings: https://imgur.com/a/VSTSkcK
[Xperia Z3 Tablet Compact Original Android Developm] orjanraberg:
ok then it won't work

You could try flashing another stock rom image with Flashtool to see if you get that option in the developer settings.
[Xperia Z3 Tablet Compact Original Android Developm] cquilliam:
Thanks for your help. I'll mess around with it and see what I find.
[Xperia Z3 Tablet Compact Original Android Developm] belrik:
Hi lowtraxx. Still loving this build, but have you had any luck getting that build machine running again? Would be great to get some security updates. Many thanks.
[Xperia Z3 Tablet Compact Original Android Developm] belrik:
Sorry for pestering but is there any chance of one last 14.1 build to include LOS updates? Thanks.
[Xperia Z3 Tablet Compact Original Android Developm] breakdaice:
lowtraxx has done an excellent job but it's time to switch...

https://xdaforums.com/z3-tablet-com...m-aicp-android-ice-cold-project-o8-1-t3731197

Latest test image works like a charm.
[Xperia Z3 Tablet Compact Original Android Developm] baristaman:
@lowtraxx, I love this ROM but I was wondering if there was any progress on the GPS?
[Xperia Z3 Tablet Compact Original Android Developm] sudman:
Ah ok gotcha,, thanks for explaining. :good:
[Xperia Z3 Tablet Compact Original Android Developm] CrazyPeter:
I had this. The instructions make some wild assumptions that:

You have TWRP recovery

You have an unlocked bootloader

You are already running CM and have a boot.img that reports itself as a Z3 not a Z3 Compact

You have wiped your stock ROM totally

What you need to do (if you are moving from Stock, or Stock rooted):

Unlock your bootloader (using the Sony website). You will lose DRM keys, beware!

Visit this thread and download CM14: https://xdaforums.com/z3-tablet-com...-cyanogenmod-14-1-beta-nde63x-sgp611-t3505327

Extract the boot.img from the ZIP and flash it in recovery using fastboot flash boot boot.img

flash TWRP 3.0.2.0 from https://twrp.me/devices/sonyxperiaz3tabetcompact.html fastboot flash recovery twrp-3.0.2-0-scorpion_windy.img

Boot into TWRP recovery (using vol down when the purple LED shows) and do a full wipe (Wipe, Advanced Wipe, everything but MicroSDCard)

flash the zip using twrp sideload (advanced, adb sideload and then send the file from your PC using adb sideload lineage-14.1-20170110-UNOFFICIAL-Lowtraxx-scorpion_windy.zip

BEFORE rebooting, flash gapps.zip

I have done this, and now successfully running this build. All looking very good so far, very usable, and it would be great to see it tidy up the few loose ends like GPS and FM Radio and Camera (camera is just totally black for me, both front and back)
[Xperia Z3 Tablet Compact Original Android Developm] jacktheriefla:
Hi!

I have an unlocked Bootlader , with Backup DRM Keys ( Optional)

What now to do , maybe following you Guide? Iam now on Stock 6.01 - SGP611

Next Step i think should be Flashing TRWP?

Do i need Root for TRWP or can i Install with Flashtool w/o Root (or both w/o Root)

Br

Martin
[Xperia Z3 Tablet Compact Original Android Developm] CrazyPeter:
Instructions updated. Yes, you need TWRP. (you might be able to adb sideload, but I cannot confirm this, it's so much easier just to flash TWRP).
[Xperia Z3 Tablet Compact Original Android Developm] jacktheriefla:
But why the Step with CM 14.1 ? I dont get it :)
[Xperia Z3 Tablet Compact Original Android Developm] CrazyPeter:
Because (I believe) this ROM, and perhaps others don't specifically support TabletZ3, but they support (phone)Z3, which is essentially the same hardware. So you need to flash the boot.img to tell the OS above it, that's it's a (phone)Z3 not a TabletZ3, before you can flash. The error message on the previous page essentially said exactly that.