yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
@petefoth You can flash it quite easy with Flashtool and Emma, thats what I did for some times now after running into the same issues as you...

Also for making sure to be on the latest stock ROM version.

None of the special issues or even button timing was necessary on the several SPG621 devices I successfully flashed, hmmm...
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Well I have reflashed `SGP611_23.5.A.1.291_1290-1165_R4D.ftf` with Flashtool, and device is still hanging at the `wavy lines` startup animation.

I really have no idea what to do next.

I can boot into fastboot mode or into flash mode, but i can't reboot into either the newly flashed stock ROM, or into recovery. It seems I have a brick with an interesting screensaver :(

The Fastboot log is attached in case anyone cn see any problems
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
In flash mode try to flash the twrp.Img for sgp611

What is you touch for acces to recovery ?

To access a recovery, i press power alone, it vibrate when Sony logo appear I keep pushing tap tap volume down until the led Turn blue, then tab boot to recovery.

I tried to push power and volume down together and It doesn't boot to recovery.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Thanks

I've downloaded `twrp-3.0.2-0-scorpion_windy.img` from here

First I tried `fastboot flash recovery twrp-3.0.2-0-scorpion_windy.img` - but device still boots as far as the `wavy lines` animation

Then I tried `fastboot flash recovery twrp-3.0.2-0-scorpion_windy.img` - same problem

Normally I use volume down + power. But I've tried power, then, when the Sony logo appears, pressing volume down several times. I'll keep trying that.

The LED doesn't turn on at all when I try to boot
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
OK here is the url to show you how I do to boot recovery. Maybe it'll help.

https://mega.nz/file/aFJByIbY#b1ni1obufBO4j9GFPZKHaQNKp8NjBtjbgYHEoylhe1s

Embeded video player. Nothing to download...
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
That's great thanks. That is after`fastboot flash FOTAKernel pbrp_9.0_z3tcw.img`?
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
NO sorry it's After flashing the rom with pbr9.

I flash this rom comming from floko rom and floko rom comming from lowtraxx's rom ... So twrp was already installed to flash pbr9 from it .

Maybe try to start with another rom or old one.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
I haven;t got that far yet. I do the `fastboot flash FOTAKernel pbrp_9.0_z3tcw.img`, but I can't / don;t know how to boot to prb
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
Try to start from another rom. In the first post there is no how to, from stock. There is no proof that it works. So maybe install another old rom wich says how to do from stock and After you will be able to install this one.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
This is catch 22: to flash any ROM, I need to be able to boot to recovery. I can;t currently do that. And my device currently won't boot Stock, despite trying several times to to flash two different firware versions with Flashtool. There must be a way to install a functioning recovery with fastboot? I just don;t know what it is :(
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
That's Why I told you to try from another rom. Read the first post and maybe it'll show you a way to do.

https://xdaforums.com/t/discontinue...2-0-pie-for-sgp621-sgp611-unofficial.3928502/

For exemple it says to extract boot. Img from his rom. I have the rom if you want.

Btw you did exactly the touch combinaison like the vidéo ?
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
I found something !

Quote of lowtraxx:

Flashing:

If you installed the recovery to the FOTAKernel partition then, while booting, get your device into recovery mode, by hitting VolUp multiple times once the LED flashes purple.

Here is the link

https://xdaforums.com/t/rom-unlocke...eageos-beta-njh47d-for-sgp611-sgp621.3532370/
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Thanks.

I now have PBRP working :) I did the following, not all of which were maybe necessary

1: Extracted boot image from `lineage-18.1-20230119-UNOFFICIAL-z3tcw.zip`

2: `fastboot flash boot boot.img`

3: `fastboot flash FOTAKernel twrp-3.0.2-0-scorpion_windy.img`

4; Boot to recovery - press volume down + power - TWRP boots :)

5: In TWRP, wipe Cache, System, Data, Dalvik

6: Try to install `lineage-18.1-20230119-UNOFFICIAL-z3tcw.zip`

7: repeat step 2 `fastboot flash boot boot.img`

8: `fastboot flash FOTAKernel pbrp_9.0_z3tcw.img`

9: Boot to pbrp - as shown in your video, press power till it vibrates, then keep tapping volume down

Note that

- steps 1 & 2 are only required once, the first time you want to install a recovery

- steps 3 & 4 are almost certainly not necessary, but I include them, because that's what I did

- steo 7 may or may not have been necessary :)

I have successfully installed the `lineage-18.1-20230119-UNOFFICIAL-z3tcw.zip` ROM from this thread, which seems to work fine.

Thank you again very much for taking the time to help me through this. If you ever find yourself in the northwest England, I will happily buy you the drink of your choice :)
[Xperia Z3 Tablet Compact Original Android Developm] x52-curcuma:
When I tried this rom long time ago on SGP611, I had a hard time to boot into recovery. The trick was the usb cable. After flashing recovery and boot.img with fastboot, turn off the Tab and unplug usb cable. Then power on and when the led flashes, press and hold Vol- Down till led turns orange. Also note that some ROMs require Vol-Up instead of Down.

Since Z3TC does not have recovery partition, you have to use FORTA kernel instead.

When I did this install in 2011-Nov, I did the following:

1) extract boot.img from the rom zip itself

2) Boot to bootloader. (Tab off, hold Vol-Up and plug USB cable in)

3) flash the following via fastboot:

fastboot flash FOTAKernel sgp611-OF-recovery.img (or pbrp_9.0_z3tcw.img)

fastboot flash boot boot.img

4) unplug and restart device. When see the LED starting to show up, just press and hold VOL down to start recovery.

5)Wipe Dalvik, Cashe, Data and System.

6) flash rom

Also flash Magisk-v22.1_mod_sony.zip for root. (This Magisk does not work)

Re-flash Magisk v23.zip, then install Magisk v23.apk after reboot.)

7)Reboot

Hope this works for you.
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
Your welcome ! Same for you in the south west of France !
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Thank you. That's pretty much what I did based on @Jems_ suggestions.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
hello, after some troubles with the build environment(fixed now) there will be no february release, next release will be march. expect it around middle of the month. sorry for this delay.
[Xperia Z3 Tablet Compact Original Android Developm] alter.daemon:
Hello

I wanted to update to LOS 18.1 coming from the LOS 15.1 (here in xda, discontinued).

I have such a problem, that:

- when I extract boot.img from `lineage-18.1-20230119-UNOFFICIAL-z3tcw.zip`

and

- `fastboot flash boot boot.img`

I can't boot the system anymore, display turns on but stays black (not even Sony logo). I can only fix this by restoring boot.img from LOS 15.01

I spend hours trying to solve, tried flashing all combinations of recoveries and previous packages of 18.1 to no avail - system cannot boot with the flashed boot.img

anyone had a similar experience?
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
Flash boot. Img is only requiered when you come from stock. Have you got twrp ? If yes flash pbrp9 to recovery then reboot recovery. Flash rom with pbrp9 and After you reboot you will have the rom with twrp as recovery.
[Xperia Z3 Tablet Compact Original Android Developm] alter.daemon:
thank you, yes, I have twrp (3.0.2) but when I flash pbrp9 to recovery (or FOTAKernel) I can't enter into recovery, tablet boots, restarts when recovery is supposed to open and then boots normally, no recovery.

So for me (some corner case?) it is that no recovery coming from this thread loads as well as boot.img does not boot tablet.
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
after flashing pbrp9 with twrp, instead of click reboot now , you go back and go to powermenu : reboot recovery
[Xperia Z3 Tablet Compact Original Android Developm] joschi1979:
Updated SGP611 build: sensors and camera fixed

download
[Xperia Z3 Tablet Compact Original Android Developm] flouli:
Perfect - I will give it a try at the weekend. For the SGP611, you also used the recovery from #2 posted by evil-god?
[Xperia Z3 Tablet Compact Original Android Developm] Henry48:
Hello. I have installed this latest creation. It works well. I will test and write it. Thank you very much for your work. Greetings.
[Xperia Z3 Tablet Compact Original Android Developm] Henry48:
Hello. I have installed this latest creation. It works well. I will test and write it. Thank you very much for your work. Greetings.

Hello. I have installed this latest creation. It works well. I will test and write it. Thank you very much for your work. Greetings.
[Xperia Z3 Tablet Compact Original Android Developm] qojote:
Thanks for keeping this tablet alive. I also tried to install the SGP611 image (although its the 32GB version). However, after installation via TWRP the device does not boot. Instead the LED blinks red. Can anyone point me to the right direction please? What i did was:

fastboot flash boot twrp,img

fastboot reboot

Wipe system, cache, data and ART/Dalvik cache

Install the ROM and reboot

Any help would be appriciated.
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
Everything you need to know about what and how to flash is in this thread - have you not read it before starting over?

Hint: #2 and #21
[Xperia Z3 Tablet Compact Original Android Developm] mind.inc:
Do you have any up-to-date TWRP for the SGP611 to share? Thanks in advance and thanks for building too!
[Xperia Z3 Tablet Compact Original Android Developm] meksis:
Can you please tell me if Magisk works on this firmware? I need root rights. Many thanks to everyone who worked on this firmware, the tablet now lives a new life.
[Xperia Z3 Tablet Compact Original Android Developm] qojote:
Thanks! Installation went fine and the system runs smoothly.
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
Read #1
[Xperia Z3 Tablet Compact Original Android Developm] meksis:
Is it possible to fix Magisk in future builds?
[Xperia Z3 Tablet Compact Original Android Developm] madxxcow:
Thanks, works well
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
Hello, I have SGP611, I have downloaded recovery from #2, I have typed :

fastboot flash FOTAKernel OF-recovery.img

Sending 'FOTAKernel' (15948 KB) OKAY [ 0.508s]

Writing 'FOTAKernel' OKAY [ 1.063s]

Finished. Total time: 1.720s

But when I type :

adb reboot recovery

There's no recovery.

Is there something else to do ?
[Xperia Z3 Tablet Compact Original Android Developm] Max8719:
Try: fastboot flash recovery OF-recovery.img
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
It doesn't work.

I have the Sony Logo, black screen, Sony Logo again then my old Lineage.

I had the same problem for Floko ROM, the only recovery that worked was TWRP 3.0.2.0
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
@zuiffon : "fastboot flash FOTAKernel OF-recovery.img" is the only correct command. After flashing OF-Recovery from #2 pull off the USB cable and ZT3C will power off.

Then push power and volume down simultaneously at the same time. ZT3C will give a short vibration and you can release the two buttons. Then OF-Recovery will load and you can flash the ROM.
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
With the 2 buttons method there's no recovery too.
[Xperia Z3 Tablet Compact Original Android Developm] mind.inc:
As far as I know from the past, the SGP611 doesn't have a FOTA-Kernel partition, that's why it's not working. If anyone with SGP611 and succesfully running this rom shared by @joschi1979 could share their TWRP image, that would be great.
[Xperia Z3 Tablet Compact Original Android Developm] Max8719:
Ok. For me it worked, with the recovery of this thread. You also can try:

fastboot flash boot OF-recovery.img
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
I was a very bad idea. Now no boot at all !

I have restored my old TWRP with the same command.
[Xperia Z3 Tablet Compact Original Android Developm] alter.daemon:
OK, and where do I flash pbrp9 via twrp?

boot or system partition? (I have two choices)
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
what did you flash before ? if i remember correctly it's boot so the tab boot to it directly.
[Xperia Z3 Tablet Compact Original Android Developm] alter.daemon:
well, it doesn't work. just can't boot into pbrp_9.0_z3tcw recovery (tried both boot and system partition)

btw. I can enter to twrp recovery with power + quickly pressing UP (a bit different than others here in the thread). but twrp recovery works only with LOS 15.1 rom.

I have also tried to install Floko ROM - the same problem, can't enter into recovery, flashing boot.img ends up with black screen and no booting.

no idea what's happening.
[Xperia Z3 Tablet Compact Original Android Developm] Ignass:
What magisk should i flash?

Flashing the one in 1 post bootloops, tried "Magisk-v23.0-Xperia.zip" "Magisk-v25.2.zip" with same results.

Also is gps working for you? mine wont connect even after 20min outside
[Xperia Z3 Tablet Compact Original Android Developm] x52-curcuma:
Maybe your TWRP is too old. V3.0.2 works up to Oreo and that the current official TWRP, I believe. If you are from Floko then you must have V3.3.0 by koron393 which should work on LOS-18. Also newer version TWRP can flash boot.img to boot and pbrp recovery img to recovery. Then reboot to recovery from power menu. You should be into pbrp recovery.
[Xperia Z3 Tablet Compact Original Android Developm] alter.daemon:
thx for the hint, I'll check it out. Any idea where to get the latest available TWRP for the device?

EDIT: coud anyone reupload TWRP 3.3.0-0 here? Sadly the link in Floko thread is broken.
[Xperia Z3 Tablet Compact Original Android Developm] x52-curcuma:
I am sure you don't need TWRP. pbrp evil-god provided should work. If you have newer TWRP, then you can flash needed image files instead of using flastboot flash command from PC. The last time I tried this rom (V.20211114), I flashed recovery(orange-fox), then boot. (orange-fox recovery was the recovery evil-god provided at the beginning) Reboot to recovery, clean system, data etc and flash rom. And all started fine. GPS did not work and also couldn't manage signature-spoofing for MicroG at the time forced me to give up this otherwise fine rom.
[Xperia Z3 Tablet Compact Original Android Developm] alter.daemon:
@

x52-curcuma​

That's great but OrangeFox-Recovery in the thread was presented for SGP621 LTE (not for SGP611 WIFI which I try to update) - but I'll try it nonetheless, thx
[Xperia Z3 Tablet Compact Original Android Developm] x52-curcuma:
No, don't try OR for SGP621 on SGP611!. PBRT for SGP611 should work well too. When I did try the rom, I tried OR first as that is the recovery evil-god provided for SGP611. Then later PBRT was offered for SGP611 I tried it too. Both worked fine, but I liked OR over PBRT.
[Xperia Z3 Tablet Compact Original Android Developm] alter.daemon:
Well, I finally got it running on SGP612.

For anyone struggling (especially if coming from LOS15.1 or other ROM, not the stock), the key is to get back to the latest stock firmware. In case of SGP612 it's:

1) use Emma Sony to service the phone and get back to the first stock firmware release (it's the only option under Emma anyway)

2) use Flashtool and flash into SGP612_23.5.A.1.291_R2D_CustomizedUS.ftf (it's still available in the web)

3) then go with the standard procedure described nicely here #67 (use vol- and power to get into recovery)

Thank you all for assistance and thank you for the ROM - it's keeping this unique small beast afloat.
[Xperia Z3 Tablet Compact Original Android Developm] Ignass:
did you find working magisk? i always get bootloops and have to reflash recovery. "fastboot flash FOTAKernel" fails writing on my device

Can you check if gps is working for you? I got it working on floko rom but it takes ~2min to lock.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
There's a new custom build for z3ctw /sgp611 available

https://www.androidfilehost.com/?fid=4279422670115724733

It is standard LineageOS for Microg, with the following changes:

Bromite replaces LOS Jelly Browser

K9-Mail replaces LOS Email

Aurora Store, Aurora Services, DAVx5, ICSx5 NextCloud, NextCloudNotes, OpenTasks added

I have installed and run this build, after formatting data partition, and it seems to work OK.

An unofficial "vanilla" LineageOS for Microg build is also available

https://www.androidfilehost.com/?fid=4279422670115724782

Most functions seem to work, but not GPS yet. I don't know whether it is completely broken, or just very slow to get a GPS fix.

All / any feedback is welcomed

EDIT: post updated with link to unofficial (not customised) build
[Xperia Z3 Tablet Compact Original Android Developm] alter.daemon:
I don't use Google Play services or even microG for my device so my location is based only on GPS and it's slow (and I don't need it as I use this tablet mainly as ebooks and news reader with occasional remote desktop session)

I haven't tried Magisk and probably I won't as I don't need it (maybe except for ACC), sorry.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Unofficial and Custom LineageOS for MicroG builds now available for z3tc / sgp 621

`lineage-18.1-20230302-4microg-UNOFFICIAL-z3tc.zip` https://www.androidfilehost.com/?fid=4279422670115724796 This is standard LineageOS for Microg

`lineage-18.1-20230302-4microg-CUSTOM-PLUS-E-z3tc.zip` https://www.androidfilehost.com/?fid=4279422670115725045 This is standard LineageOS for Microg, with the following changes:

Bromite replaces LOS Jelly Browser

K9-Mail replaces LOS Email

QKSMS replaces LOS Messaging

Aurora Store, Aurora Services, DAVx5, ICSx5 NextCloud, NextCloudNotes, OpenTasks added

These builds have not been tested at all, as I don't own this device. Use at your own risk :)
[Xperia Z3 Tablet Compact Original Android Developm] nguyenlucky:
Hi, can anyone walk me through the steps for SGP621?

I tried OF, PBRP and TWRP 3.0.2.0, flashing to recovery, FOTAkernel, pushing up/down volume... but none can boot to a custom recovery. Flashing boot.img from LOS 18.1 to boot partition results in a black screen.
[Xperia Z3 Tablet Compact Original Android Developm] tool8:
Video hardware decoding

Video playback works well in general, but h265/hevc encoded videos are unwatchable (SGP621). Playback is choppy and there is a video-audio-lag.

I understand that the Snapdragon 801 does not support h265/hevc decoding, so I guess there is nothing to be done about it.
[Xperia Z3 Tablet Compact Original Android Developm] alter.daemon:
I had exactly the same situation with SGP612.

Take into account those steps posted here #590 but use proper firmware for your device (sgp621)
[Xperia Z3 Tablet Compact Original Android Developm] poppy2:
FAILED (remote: 'Command not allowed')

fastboot: error: Command failed

when i use the cmd,type fastboot flash recovery OF-recovery.img
[Xperia Z3 Tablet Compact Original Android Developm] tool8:
I installed the non-custom version on SGP621 (and Magisk).

Everything works fine including GPS. TTFF is long and device needs to be outdoors or directly at the window to get a fix. 5Ghz Wifi works. Did not test telephony or mobile data but Satstat shows Celld Ids.
[Xperia Z3 Tablet Compact Original Android Developm] skt830:
Hello, I see that there's an update. Thanks again, do I install the new updated file with pbrp just over the old one? Will everything stay the same if so?
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
Yes, just update then wipe dalvik and cache.
[Xperia Z3 Tablet Compact Original Android Developm] Ermann123:
@evil-god

good you please provide a download link for the previous 621 version? the recent one is not booting.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
20230119_01 - Google Drive

drive.google.com

just check again, the last build is booting for me and work without any problems.
[Xperia Z3 Tablet Compact Original Android Developm] Ermann123:
Thank you very much!

Normally I do keep one former ROMs still on the sd card, just in case. This time I deleted too early.

This ROM is booting fine

The new one is going into Bootloop after Unlocking
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
gapps? other modifications or scripts?

can you provide a log? "adb logcat > boot01.log" please
[Xperia Z3 Tablet Compact Original Android Developm] Ermann123:
Just MicroG , Magisk, some of its modules (which get deactivated in case of malfunction + one time reboot after which all is fine), encrypted userdata.

Will send you the logs after next try :)
[Xperia Z3 Tablet Compact Original Android Developm] akirakun1103:
Hi um, I just flashed pbrp_9.0_z3tc on my SGP621 with fastboot and now I can't even access to fastboot anymore. Everytime I plugged it in my PC the red and green light flickering a bit and the PC informs me that the device has been connected but when I check fastboot devices from powershell, it doesn't recognize my SGP621.

Please help me.

Edit: Yeah I just realize that green light was for flashmode.
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
Thank you @evil-god, worked fine for me. It's a pleasure to get back the tablet on Android 11 (was on 6 before) and Google services.

If it can help, I spent a full day to enable recovery mode on my SGP611 (Wifi model). The lastest official stock bootloader didn't allow it.

I finally flashed the Cyanogen boot.img, then I flashed the pbrp_9.0_z3tc recovery and it worked fine.

To do that:

1. go to the cyanogenmod and download the nightly build https://cyanogenmodroms.com/scorpion-windy/

2. Open the zip file and get only the boot.img file

3. flash it on the SGP611 with fastboot

4. Flash the pbrp_9.0_z3tc recovery to replace the cyanogenmod recovery

5. I was finally able to flash lineageos as described

I realized that a boot.img file exists in the lineageos zip file, maybe this one could work, I can't test it anymore.
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
Hi, for any case of bricked device, you could get it back using the Sony flash tool: https://developer.sony.com/develop/open-devices/get-started/flash-tool

This should reflash bootloader and android 6.0.1 like out of the box.
[Xperia Z3 Tablet Compact Original Android Developm] Ancient Droid:
@evil-god

First thanks a lot for the great work and keeping the tablet alive!

sorry to ask, but could you also provide a download link for the previous 611 version z3tcw? latest one went also into bootloop, so far I could not solve it.. unfortunately deleted the old rom to fast...
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
@Ancient Droid The sony flashtool could help you: https://developer.sony.com/develop/open-devices/get-started/flash-tool

It allows to flash Android 6.0.1 stock rom.

Must enter to fastboot mode (press and hold Vol down while pluging usb)
[Xperia Z3 Tablet Compact Original Android Developm] Ancient Droid:
yes, thank you, I went already back to 6.0.1 stock rom. Will try again with the latest rom or if Evil-God has a new update ;
[Xperia Z3 Tablet Compact Original Android Developm] malpasar77:
Hi, i need to upgrade my Sony Xperia Z3 compact tablet with Stock Firmware to the last lineageOS.

Can u help my with steps and download links please?

thanks in advance