yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Tablet Compact Original Android Developm] Ermann123:
This NOT working, since with PBRP as recovery, the ROM doesnt even start. Stucks at Sony Logo.

With OF, only possible to upgrade to Magiskv23, other fail to work / dissappear after boot.
[Xperia Z3 Tablet Compact Original Android Developm] Ermann123:
Update: I've been able to flash Magisk v24.0 direclty after flashing the rom in Orange Fox Recovery, without flashing Magisk Sony Mod v22 first. Then after boot, I could update to latest via Magisk App.
[Xperia Z3 Tablet Compact Original Android Developm] Chocoofadown:
Hi everyone, I was changing the screen of my Z3 tablet SGP611 and I saw that there is a simcard port inside, there is just a piece of plastic to block it.

Does someone know if there is a possibility to use it with the SGP621 rom or something like that ?
[Xperia Z3 Tablet Compact Original Android Developm] corb06:
Thanks for the April update! Really awesome to keep this tablet alive.
[Xperia Z3 Tablet Compact Original Android Developm] jfk_77:
Any chance to see this on SGP612?
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
I am a nice guy today and did a thread search for you. Next time I am sure you can do this by yourself - it does not hurt ;)

=> https://xdaforums.com/t/rom-z3tc-lineageos-18-1-sgp621-unofficial.4256523/page-17#post-86273431
[Xperia Z3 Tablet Compact Original Android Developm] jfk_77:
I took it for granted that this would have been advertised on the home post. Thank you.

Nevertheless (and this is what actually induced my question because I'd initiated the SGP611 install) neither pbrp nor Lineage recovery work with my SGP612. I can get into Lineage recovery but then it's all messy. A recovery reboot in pbrb lands on a blank screen then reboot in system. Only TWRP 3.0.2 is currently working but this is useless.
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
@jfk_77 : I have SGP621, but another user posted his solution to get SGP611 running with OF-Recovery here: https://xdaforums.com/t/rom-z3tc-lineageos-18-1-sgp621-unofficial.4256523/page-4#post-84971177
[Xperia Z3 Tablet Compact Original Android Developm] jfk_77:
Brillant, I confirm the procedure works on SGP612. Thanks a lot.
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
Hello.Fastboot problems reapeared.It seems adb commands work (i can reboot to bootloader from adb) But i again can't enter fastboot commands.PC doesn't detect it.Can someone please tell me a permanent solution for windows 10?
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
See link given in #404. Worked for years for me under Win10. Absolute no problems.

Maybe you have to uninstall all Sony-, adb- and fastboot drivers from your system and start from scratch.

Or have you made Windows system image before starting installing these drivers? That is the safest and fastest method if something with drivers goes wrong. I always do this.
[Xperia Z3 Tablet Compact Original Android Developm] Nickie66:
ok , i have no idea what i'm doing wrong, i managed to SOMETIMES install the rom on my SGP611 with PBRP sometimes, some other times with OrangeFox recovery, and from there, i have gone through the initial setup a couple times, but without Gapps,

any attempt to install Gapps or Magisk ( with first post mod) results in either, soft brick on SONY logo, or android setup softlock or various google services not even starting ...

what can i be doing wrong? i've wiped EVERYTHING, tried 3 different Gapps packages.... i'm completely lost :|

one other strange bug i have sometimes is the recovery ( orangefox right now for example) refusing to flash the rom with this error:

E3004: This package is for device z3tcw, scorpion_windy ,SGP611 , SGP612 ; this device is z3tc.

my device is a wifi-only sgp611 ...
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
You should go inside the zip on META-INF/com/google/android/updater-script and remove the assert in the begging.

You must do it everytime. I don't know why this line is allways included in all zip posted on this forum. It will be better to post directly a working zip.
[Xperia Z3 Tablet Compact Original Android Developm] Nickie66:
i did just find this solution on google and am in the process of trying to flash it, makes me wonder why it did actually work sometimes

so now that is done i'm back to that other problem of being stuck on the lineage boot logo animation , all i did was wipe everything and flash the rom, then gapps (arm11.0-nano-20220426)

wiped again, instealled rom only, and it booted, it's really as if i can't install anything on top of the rom...

EDIT: worked with Gapps from february, still no magisk though
[Xperia Z3 Tablet Compact Original Android Developm] koron393:
Try wiping USERDATA and SYSTEM.

SYSTEM is very important for Magisk and Gapps.

Because this OF-recovery is only for z3tc (LTE model).

If you install OF-recovery into z3tcw (Wi-Fi model), device is determined to z3tc in recovery mode.
[Xperia Z3 Tablet Compact Original Android Developm] mchaals:
could anyone please check if Netflix is downloadable from google play?

I tried this rom last year but probably due to widevine I couldn't even see Netflix in playstore.. On 15.1 it works.
[Xperia Z3 Tablet Compact Original Android Developm] corb06:
Its not possible to download from Playstore, but no problem installing the APK if you download it from Apkmirror.com. Audio is nice and loud.

I´m on the latest update for Wifi-version with May Security Patch.
[Xperia Z3 Tablet Compact Original Android Developm] mchaals:
Thanks! I'll give it a try then. I mean I like 15.1, works perfectly, but still I'm curious :) I have the LTE version, so we'll see.

I'll do a system backup first in case I have to revert.
[Xperia Z3 Tablet Compact Original Android Developm] ghaeh:
Tommes, your problem might be addressed by my post #217 for fastboot driver on Win 10.

I shelved my z3tcw for several months over GPS issues with SeeYou Navigator, which the developers have vastly improved in the interim. They supply a dongle which feeds GPS data into their app; so, I gave my z3tcw another try.

The latest OpenGapps 11 refused to install for release mismatch - go figure. Fortunately my aroma from 20211021 was happy to install. The install script allows you to select just what you do and do not want to install; so you can thin it down to something that will fit.

But I couldn't get into recovery to redo the wipes and sideloads.

Dirty Secret: Factory Reset goes into pbrc and holding down the volume down key (as best I can recall) gets you into recovery.
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
I have no problem with my Z3TC. Maybe you mean another member?
[Xperia Z3 Tablet Compact Original Android Developm] Nightsax:
Hi guys, do you do a full wipe between each update, like recommended on page 1, or is it possible to update to latest version of this rom without wiping everything?
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
I did a dirty flash every time to update this ROM without any problems.
[Xperia Z3 Tablet Compact Original Android Developm] Nightsax:
Ok, I'll try, thanks for answering
[Xperia Z3 Tablet Compact Original Android Developm] edthedread:
Has anyone tried magisk 25? Im on 23 and using xposed..riru..etc bit worried about trying the upgrade even though the changelog states improved xperia support.
[Xperia Z3 Tablet Compact Original Android Developm] vit15:
Updated to May patch.

In general, everything is excellent!

The FM radio continues to not work.
[Xperia Z3 Tablet Compact Original Android Developm] Rubenos:
@tommes_d @vit15 Can you tell me how battery life is compared to stock ROM, and if X265 is working natively? THanks!
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
@Rubenos : I am on custom ROM since 2017 - can´t help you with stock battery life. What is X265?
[Xperia Z3 Tablet Compact Original Android Developm] Rubenos:
So how is the battery life on this ROM for you? How much screentime? X265 is a codec, for watching media. Do you watch any media on your tablet and if yes using which App?
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
I use my tablet for reading (low cpu consumption) and GPS navigation on my motorcycle. On the motorcycle it stays on a powered mount. Sorry, can´t tell you anything about battery life. That´s not on any interest for me. And I don´t watch media - for this I have my android TV.
[Xperia Z3 Tablet Compact Original Android Developm] corb06:
I see there is a new update of the ROM today. Do these montly apprecheated updates contain more than security updates? Any bugs or features to the rom fixed or added?
[Xperia Z3 Tablet Compact Original Android Developm] trekker99:
GPS isn't working for me. I don't get any satellite fix at all. This issue isn't present for lineage os 15.1 though.
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
GPS is working for me. Just tested with new SGP621 release.
[Xperia Z3 Tablet Compact Original Android Developm] katman4:
Thank you so much for this ROM.

Just needed my very old tablet to have functioning Netflix and some games for the kid in the car.

I tried multiple versions of the roms around here, but this one was the most recent and I'm sure I'll use it for years.
[Xperia Z3 Tablet Compact Original Android Developm] anupash:
hi guys,

i have freshly installed this rom on my Xperia tablet. However, I am unable to get both gapps and magisk working.

I can either get magisk or get gapps but not both. If I install both, then the tablet is stuck on boot logo.

Has anyone figured out how to get both of them working together?
[Xperia Z3 Tablet Compact Original Android Developm] sk0815:
Hi I installed it with orange recovery. before I was on this rom but an older version.

After installation und reboot, I only get an black screen and nothing happens any more.

If I press power butten it vibrates on time and nothing habben. Volume und Power nothing happend :-(

If I put it on PC also nothing happened
[Xperia Z3 Tablet Compact Original Android Developm] trekker99:
what versions of magisk and gapps are you using?
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
GPS is running fine on my 621 with several apps!
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Hi @evil-god

I am trying to make a build of LineageOS for microG using your sources, but I'm seeing the following build error, so I think I have something missing from my manifest (attached)

`FAILED: ninja: 'out/target/product/z3tc/utilities/keycheck', needed by 'out/target/product/z3tc/ramdisk/init.real', missing and no known rule to make it`

I would be grateful for any hints. Thanks
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
hi, i add to the missing parts to your local_manifest.
[Xperia Z3 Tablet Compact Original Android Developm] vit15:
Update to June Patch. Everything is fine, only the FM radio ... you understand

Battery life is about as good as it gets for a 2014 device.

Native codec support is CPU dependent, but I could be wrong.
[Xperia Z3 Tablet Compact Original Android Developm] Rubenos:
It is depended yes, but accordingly to Snapdragon website it's supported, just not with stock ROM I'm afraid. If you don't mind, you don't think you have any way to test it do you?
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Thanks very much - that worked.

Now I'm building for z3tcw, and the build is failing because of missing defconfig

`FAILED: ninja: 'kernel/sony/msm8974/arch/arm/configs/lineageos_shinano_z3tcw_defconfig', needed by 'out/target/product/z3tcw/obj/KERNEL_OBJ/.config', missing and no known rule to make it`

I know nothing about kernel configs :( Can I just copy `lineageos_shinano_z3tc_defconfig` to `lineageos_shinano_z3tcw_defconfig`, or do I need to make changes?
[Xperia Z3 Tablet Compact Original Android Developm] Tek1986:
Good morning everyone. How do I install recovery? a tutorial?
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
sorry, please remind me later this day, i will sync the config to gitlab.

edit: @petefoth synced
[Xperia Z3 Tablet Compact Original Android Developm] Tek1986:
hello, I need help. my sgp 621 is locked. I tried to install the pbrb recovery but it doesn't work, fastboot says OK but the terminal doesn't load the recovery. the only recovery that works is twrp 3.0.2-0. what can I do?
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
@Tek1986 : https://xdaforums.com/t/rom-z3tc-lineageos-18-1-sgp621-unofficial.4256523/page-16#post-86197455
[Xperia Z3 Tablet Compact Original Android Developm] Tek1986:
Thanks, I'll try today or tomorrow. I unlock the bootloader I do it with king root, is it ok or should I use another method?
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
Kingroot only works with Android until 4.4, you are on MM. Use ADB or flashtool. For unlocking bootloader search Z3TC-section, these are absolutely basics and not part of this thread. You need unlock code from sony. Everything is described here - read.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
I have recently made unofficial and custom builds of LineageOS for microg for these devices, using @evil-god's sources.

The builds are available in this AndroidFileHost directory

Note that these builds are untested at present, as I don't own one of these devices (yet :))

More information at https://github.com/petefoth/unofficial-l4m-builds/blob/main/README.md

I don't want to hijack this thread, so feedback is welcome in this github discussion

Thanks to @evil-god for the sources, and the help with my manifest
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
all ok, thanks for the rebuild with microg! its useful if someone need microg.

@petefoth first thing: https://sfconservancy.org/blog/2022/jun/30/give-up-github-launch/

second thing: i am not happy with discussion on github and a second thread about this device.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Noted! I'm thinking about what to do with my repos. I will move stuff from github, but I'm not going to rush, and I'm going to take some time to evaluate the alternatives

OK. If you don't mind people discussing it here... I have that discussion and that repo because I am building for three different devices and I am not going to start three threads in different XDA forums. So that is for stuff that doesn't relate to a specific device. I've edited the post to clarify. Please let me know if that's OK with you.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
my ok if its not device specific. good luck.

i think as backup for gitlab about codeberg, look great for me. maybe for you too.

have fun with the code.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
I should shortly receive a WiFi-only model bought on ebay. Before I start messing, I just want to check which recovery I should be using. I have a few other Sony devices (Z5 Compact, Z3, Z3 Compact) and TWRP works fine for all of them, but I understand it won't work for this device.

From my reading of post #2 (and quite a lot of other posts in the thread :) ), I think that I should use Pitch Black recovery `pbrp_9.0_z3tcw.img`, and I can flash that using the normal `fastboot flash recovery pbrp_9.0_z3tcw.img `. And no need to mess with installing Orange FOX kernel and boot.img as described in this post . Is that correct, or have I missed something?

Also, how does Pitch Black compare with TWRP in terms of functionality? Does it support backup / restore, wipe / format, file manager etc., or is it 'flashing only'?

Thanks for your help.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
sorry, see your post just now, please highlight me next time , then i get a notification.

pitch black is based on twrp, same for orangefox. same functions, different layout, some extras.

i never have to do things like in your linked post, i just flash it via "fastboot flash recovery filename.img". cant say why some other people have to do it that way, but if they are happy with it...
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Thanks. I'll write up how it goes when the phone arrives
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
or you use the lineageos recovery included for every build in the drive folder, you have the choice.
[Xperia Z3 Tablet Compact Original Android Developm] corb06:
M
[Xperia Z3 Tablet Compact Original Android Developm] corb06:
Might be remebering wrong, but didnt this ROM used to have a "Reboot to Recovery Option" in the Power menu before? Can´t seem to find it anymore. Installed the latest Wifi-version.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
no, i never implemented this function.
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
Sorry, solved it already...

Is it possible to delete a post and how?
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
@ recoverys: OrangeFox works for me, PitchBlack not, all on SPG621 devices.

Thanks for all your efforts here guys!
[Xperia Z3 Tablet Compact Original Android Developm] sebatsi:
Hi guys! great Rom, thanks a lot! I just need to use ANT+, but it doesn´t work... any suggestion?

Thanks again!
[Xperia Z3 Tablet Compact Original Android Developm] jsbhh:
Hi @Pfrinz

how did you make it work?

I have a SGP621, unlocked with code from sony (fastboot oem...), but none of the two recovery images seem to work for me.

Tried (one by one)

fastboot flash FOTAKernel OF-recovery.img

fastboot flash recovery OF-recovery.img

fastboot flash FOTAKernel pbrp_9.0_z3tc.img

fastboot flash recovery pbrp_9.0_z3tc.img

none of them gives a working recovery

Tried

fastboot boot OF-recovery.img
downloading 'boot.img'...
OKAY [ 0.523s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.594s

Any idea what to do?

Thanks
[Xperia Z3 Tablet Compact Original Android Developm] jsbhh:
Moin,

I followed your instructions but the recovery does not show when I hold vol- and push pwr. I get a short vibration but the screen stays black :/

I downloaded OF-recovery from #2
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
Dont forget to unplug the device from the computer to run recovery.

Otherwise I am really not competent enough for giving advice on all of this as I am just a user and really glad I made it myself at all tbh :)
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
fastboot flash recovery <recovery.img> works for me btw.

Make sure you have it in your platform tools folder.
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
Hello.Can someone please tell me the steps from scratch on how to install drivers?I can't enter adb commands anymore.Maybe deivers issue don't know..I lost many hours without result😥 If fastboot drivers will be installed ok,i know the other steps..
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
https://xdaforums.com/t/bootloader-fastboot-is-not-working.4303843/#post-85497355
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
hello,really thanks it worked!i successfully flash pitch recovery with cmd cammands.but tablet doesnt boot to recovery,just to system.it seems recovery is missing.what to do now?
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
Ok,here is what i did.If dev confirm this way works for all,he could pin it.1)Download flashtool 0.9.8.16,connect tablet till it recognizes it.After a while remove it.2)Then go to flashtool,drivers folder and install drivers.exe.Then find and drag the initial twrp (3.0.2 scorpion windy) inside platformtools folder (or other didn't test).3)Execute the known commands to enter in fastboot mode,but use this command to flash twrp: "fastboot flash boot twrp-xxxx-scorpion(_windy).img" Then boot to twrp with pressing volume down while power on.Or with fastboot command (may not work) .Then from twrp select flash image and select pinned pitchblack.Also i choose "boot" option instread of "system" so this way tablet always boots with twrp.Then from pitchblack flash rom,gapps and reboot.If you want magisk:I flashed modded pinned one.But again i had bootloop to twrp.Then i flashed 24.1 again bootloop to twrp.Then what i did was:Dirty flash rom and gapps.Phone booted normally!Then i noticed there was a weird magisk icon.I pressed and it asked me to install full magisk.I did and finally magisk manager opened!Then from there i updated to latest 25.2 magisk manager and then to 25.2 stable magisk inside magisk manager app like all phones! i hope i helped.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
sorry, i cant pin it. i cant follow this way for many reasons, i'm not using windows(linux only for 15y+), unlocked my bootloader years ago, no plans to play relock and unlock games..., gapps is optional i dont use it, i still run magisk 22(why upgrade, what benefit?), why blackpitch is working an some other have luck with orangefox/lineagerecovery is a big mystery,.

bring a custom rom on this device is a trial and error thing, sorry.
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
Ok!My only thought was just to help other dudes to see it more easily!
[Xperia Z3 Tablet Compact Original Android Developm] anee-san-warida:
Hi Everyone in this thread,

Proud long time owner of a Z3TC 4g model SGP621 in UK, and looking to put it back to good use by putting the latest and best software I can onto it.

Currently running the latest stock Android 6.0.1, hasnt had a new security patch since 1st May 2016!!

So i've been mulling over this thread for a while now, and it seems like there has definitely been successes, as well as some issues and bugs. But as the conversation has flowed over such a timeframe I struggle to understand the ending advice.

Can someone please summarise the basic key points for me to install the most stable and latest lineage OS on to this device, any issues i can expect, and anything particular i can do to mitigate.

Noticed the discussions in particular about an orangefox recovery.

It's been a good few years since I tried to install customOS, and last time i remember just using the build in tools (vol down and power), and copying zip files from PC. and TWRP. So what's different here?

also considering replacing the battery, but hoping that the new software without any bloatware might improve the situation a bit.

Looking forward to your comments,

Cheers
[Xperia Z3 Tablet Compact Original Android Developm] anee-san-warida:
So here is where I am up to.

I have installed adb drivers, updated my android USB drivers. Downloaded the recovery files and OS zip files from #2, now when I attempt to run adb devices in my cmd, it detects the device. But when i run fastboot it says waiting for any device.

I've scoured the internet, tried two different windows laptops, installed any driver i can find, including OEM ones, but i cannot get the computer to detect the device in fastboot. Hence i can't boot it into the recovery mode to start doing all the flashing..

(it's been many many years since my last custom android experience, go easy on me please)
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
Just read few posts before dude and read the link on how to detect device on fastboot.And also read the thread from the begining,take some notes and then begin the process with clean mind no need to worry all is going to be good!!
[Xperia Z3 Tablet Compact Original Android Developm] anee-san-warida:
Thankyou! I got my notebook ready, but I tried everything suggested here, and spent a good while trying all sorts from the internet and youtube in order to get the fastboot drivers to install, must've tried 6 ways of installing the generic google android USB drivers and the sony ones too. None of them worked in getting the device to detect on fastboot.

Finally deep in the forums I found this short and succinct thread which had exactly the solution I needed.

https://xdaforums.com/t/help-with-s1boot-fastboot-drivers-for-xperia-z2.3550626/

For anyone who cant detect sony xperia devices on fastboot in windows the solution is in the above link ^

Now I'm ready to follow the instructions here and flash this ROM! :D