yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Updated unofficial builds of LineageOS for MicroG

- z3tcw: lineage-18.1-20230426-4microg-UNOFFICIAL-z3tcw.zip, -recovery.img, -boot.img uploaded here

- z3tc: lineage-18.1-20230426-4microg-UNOFFICIAL-z3tc.zip, -recovery.img, -boot.img uploaded here

I have not yet had a chance to test these builds, but it should be possible to either clean install, or dirty flash over the previous versions.

Note that I am no longer building the 'CUSTOM' version (unless anyone is **really** desparate for it :)
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
I just tried dirty flashing the new **UNOFFICIAL** LineageOS for microG build over the previous **CUSTOM** build `lineage-18.1-20230301-4microg-CUSTOM-WiFi-z3tcw`. Custom apps which had been updated via F-Droid since the CUSTOM build was made were still present and retained their settings and data. These apps are Fennec, K-9 Mail, DAVx5, ICSx5, Aurora Store.

The only custom app that I had to re-install was NextCloud Sync client. As the NextCloud Notes app depeds on the sync client, it will not work ubtil the sync cliebt has been installed and the NextCloud account added.

So it seems that if current users of the custom build want to install the new unofficial build, there should be very little work needed to have your device working as currently set up Good luck
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
Sorry for my newbie question, what does mean "for MicroG"?

I already installed the lineage-18.1-20230318-UNOFFICIAL-z3tcw ROM, is it okay?

Addition question : how to update this rom without flushing the storage?
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
I believe that my builds are not for you - please read on

See https://lineage.microg.org/. With 'normal' LineageOS, users normally install a version of Google's proprietary apps and libraries (GApps), including GMail, Play Store, Play Services, Maps, etc.

LineageOS for microG aims to provide "The full Android experience without Google Apps". It does this by including microG - "A free-as-in-freedom re-implementation of Google’s proprietary Android user space apps and libraries." - allowing apps which use Google's proprietary apps and libraries to work without installing Gapps.

That is the ROM built by @evil-god which is 'normal' LineageOS. If you are using that, and you have installed GApps, then do not install one of my `4microg` builds - it will break your existing installation.

Don't update your existing setup with one of my `4microg` builds. Wait for an updated build of 'normal LineageOS from @evil-god
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
@petefoth thanks a lot for the very quick and clear answer.

You're right, I can't install this update ;-)
[Xperia Z3 Tablet Compact Original Android Developm] Nightsax:
Hi,

I am having display issues within some apps I am using (screen tearing up and down).

I think it might be related to the Gapps version I am using: Open_GApps ARM Android 11.0 nano build.

Which one do you guys use/recommend?

Also, if I want to use another version, can I just dirty flash it over existing one?
[Xperia Z3 Tablet Compact Original Android Developm] richvdh:
Looking back through the thread again - I'm actually not sure that anyone has got the GPS working on an SGP611/z3tcw with this ROM. Would anyone care to prove me wrong?

Assuming not - @evil-god, any ideas what could be up here? Some misconfiguration in the build that makes the GNSS sensor not work on SGP611?
[Xperia Z3 Tablet Compact Original Android Developm] Ermann123:
@evil-god : could it be, that the latest download links are empty / pointing nowhere??
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
pretty odd thing, just update the links like the years before, since i linked last year the wrong rom i check the link afterwards. and it worked, now its gone. i recreate the links again, dont know waht happend.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
would be very strange if gps not working ever in this rom, i use it until november as main navigation system in my car...

but you are not totally wrong, something get worse in the last build, without changing the the source code.

started yesterday to dig out the custom stack from my los15.1 build, this was much more better then the stack used in los18.1.

last build before i go to bed looks very nice with working gps,glonass and baidou, after about 2-3min for first fix. have to maintain the code today and hope i can upload a new build in the evening.

some brave tester for gps would be nice to have :-)
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
and for the future here at post #3 are all old builds :-)
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
Hi, as suggested at the beginning of this thread, I flashed MindTheGapps-11.0.0-arm-20220217_095902 available on the Lineage OS website, it works well.

Except for Chrome, which gives me only white and gray boxes :-( And I'm sure this is linked to the GApps package.
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
Just tested few minutes ago, I confirm that GPS position is not available.
[Xperia Z3 Tablet Compact Original Android Developm] richvdh:
The "SGP611" and "SGP621" links there are the same...
[Xperia Z3 Tablet Compact Original Android Developm] richvdh:
Very happy to give a build for an SGP611 a go! (Edit: realised you've updated the links at #2. Have installed the 20230424 build and will report back. I'm away for the weekend now, so it might be a few days)

When you say you were using it regularly - was that on an SGP611 or SGP621? I'm just wondering if there is a particular incompatibility with SGP611.
[Xperia Z3 Tablet Compact Original Android Developm] richvdh:
Yes, I had that too. I just gave up and installed Firefox instead. Not sure why it would be related to the GApps install though?

Thanks for confirming about GPS too.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
this is not my day...
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
SGP621, with simcard the first fix took only seconds, without 2-3 minutes
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
Hi @evil-god,

Thanks for your great job!

Short question: can it be flashed over a previous version of the lineageos rom without data flushing/wiping?
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
yes, but this is still without gps reworked. just april patch level
[Xperia Z3 Tablet Compact Original Android Developm] Nightsax:
Thanks, just installed latest build and MindTheGapps-11.0.0-arm-20230323 and it fixed the flickering problem on one app...but not all of them: my banking app is still buggy/flickering and hard to use...

But maybe this problem is app related, I don't know.
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
Thanks! So, I will wait your next fix.

Your work on this rom is just awesome.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
here the first testbuild with patched gps, anyone want to test on a SGP621 LTE device? First fix took about one minute without sim card(inside the house, near the window, outside should better) and then i took that screenshot below.

testbuild 01 SGP621 LTE

testbuild 01 SGP611 Wifi
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
Tested on my SGP611 and it works fine, can't on the LTE version.
[Xperia Z3 Tablet Compact Original Android Developm] Henry48:
Thanks for your work. You are great at what you do. Spring greetings.
[Xperia Z3 Tablet Compact Original Android Developm] CricriTheLord:
I didn't do anything, @evil-god did ;-)
[Xperia Z3 Tablet Compact Original Android Developm] Henry48:
Sorry. My entry is for @evil-god. Please send it to him if you can. Regards.
[Xperia Z3 Tablet Compact Original Android Developm] Ermann123:
Hi all and especially @evil-god

With the latest ROM I gave it another try to install, since the last flawlessly / at all working ROM was the version from January.

After on more failure, I tried to install from scratch, the latest version from 24th April, via Orange Fox.

I realized, that the new versions do have a problem with encryption / decryption. They will start initially after formatting the data partition.

But once encrypted again via settings / security ... a restart is always resulting in a bootloop , which means, either just the Sony logo an instant reboot, or rebooting to recovery. (both situations happened).

Unfortunately not even the OF Backup was possible to restore, at least, there was seedvault working, the rest I need(ed) to set up manually.

But now I am back on the version from January, installed from scratch, and it works fine, WITH encrypted Data.
[Xperia Z3 Tablet Compact Original Android Developm] richvdh:
Thanks @evil-god, but it's still not working for me on my SGP611. I've tried leaving it for ages, but it doesn't pick up a single satellite.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
gapps or other mods installed?
[Xperia Z3 Tablet Compact Original Android Developm] richvdh:
Yes, MindTheGapps-11.0.0-arm-20220217_095902.
[Xperia Z3 Tablet Compact Original Android Developm] the.fall:
Flashed the test build as well, unfortunately no GPS fix for me either on any app with that version on my SGP611. Flashed the same Gapps as @richvdh back in January when I clean flashed the SW for the first time.

Additionally with this version the tablet has a huge battery drain even with the display turned off. Flashing the April build without the reworked GPS right now to determine if this issue persists.
[Xperia Z3 Tablet Compact Original Android Developm] Jems_:
Same here, no gps on 611, only open gapps pico. But thanks for trying !
[Xperia Z3 Tablet Compact Original Android Developm] richvdh:
@evil-god (or anyone else): needless to say, any ideas of how I could begin debugging the gps would be very welcome.
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
Thanks @petefoth for the new build, and obviously @evil-god for all the work maintainig the ROM. As a daily satisfied user of the Z3 Tab it seems so much worth it :)

I just "dirty-flashed" with of recovery (wiping dalvik & cache) the new unofficial for microG build over my old custom one on my SPG621 (if I remember right, when I look up the model now in the settings it just says Xperia Z3 Tablet Compact...) and everything seems fine.

I even did not have to reinstall the Nextloud client!there was on Aurora App (not the store itself) which is gone now, but it was of no use anyway. At least I didnt have on.

If only aurora store itself would solve its problems (many updates not working, searching for apps doesnt work and installing new one even so :( ...).

Any hints to solve that or workaround would be greatly appreciated!

Edit: I never had problems with GPS btw!
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Try downloading https://files.auroraoss.com/AuroraStore/Nightly/AuroraStore-nightly-signed-12-05-2023.apk and installing it alongside your existing installation. This version will allow you to search for and install apps from the Play store, while your existing installation will handle updates with out much user input
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
Thats interesting, thanks..

Its different for me though: I can do all the updates with the nightly version, but installing doesnt work! When I search for something the app wants to redirect me to the Google Play Store in the browser...

Edit: I can install apps when I have an external link to them in the nightly, that doesnt work in the normal Aurora store also. So quite a win, thanks Pete! Once again :giggle:
[Xperia Z3 Tablet Compact Original Android Developm] Ignass:
For those that needs gps i suggest trying crdroid 8.8 (android 12). Found it on androidfilehost.

It takes awhile to lock(this is without wifi and gapps). Los15.1 locks multiple times faster.

It does seem to be running a little bit slower than los18.1 but maybe theres a way to copy gps files?
[Xperia Z3 Tablet Compact Original Android Developm] rexic7007:
I don't know, but my SGP611 not charging normaly with this ROM. Max amperage 200-800mah, and can be 1400 if display off. If i using for expample google chrome, amperage -500mah, device not charging. I made a backup to the old version 6.0.1, i have 1ah or more and chargering not decrease. Anyone have any ideas?
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
And another question to all, sorry:

Does Seedvault Backup work on your devices?

On mine it doesnt, but it would be nice if it would 😊
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
I have managed to make builds of /e/OS for this device, based on @evil-god's code:

- LTE Version SGP621 `z3tc`

https://androidfilehost.com/?fid=10620683726822056234

- WiFi Version SGP611 `z3tcw`

https://androidfilehost.com/?fid=10620683726822056252

I have run the WiFi version and it seems to work as expected. I dirty flashed it over my unofficial LineageOS for MicroG build, and all my installed apps continued to work under /e/OS :)

I haven’t run the LTE version at all - you’re on your own!

Limited support available here, or in this /e/OS Community Forum thread

Updated LineageOS for MicroG builds to follow shortly (I hope) available in these AndroidFileHost directories

- LTE

https://www.androidfilehost.com/?w=files&flid=338244

- WiFi

https://www.androidfilehost.com/?w=files&flid=338245
[Xperia Z3 Tablet Compact Original Android Developm] Ignass:
Does gps work for you?

Left tablet outside for all night and still 0 fixes.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Sadly not. I didn't leave it that long, but similar result. I've never had gps working on tghs device with either LineageOS or /e/OS
[Xperia Z3 Tablet Compact Original Android Developm] Ignass:
I bought this tablet just for navigation apps so thats a bummer.

how about charging, i only get 8-9w and sometimes it drops to 4w (measured with usb power meter). fkm app shows jumping between 6-10w. Never seen claimed 18w.

With full brightness using gps app it barely charges or even discharges sometimes.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Sorry - I don;t use this device enough to have a view about charging
[Xperia Z3 Tablet Compact Original Android Developm] MightySashiman:
Would someone mind making a working build for the SGP612 (wifi 32gb) please? I've tried unpacking the SGP611 release, removing assert(getprop("ro.product.device") == "z3c" || getprop("ro.build.product") == "z3c" || abort("E3004: This package is for device: z3c; this device is " + getprop("ro.product.device") + ".");); from the updater-script file and then repacking, but I get an error when trying to sideload the rom zip.

Thanks in advance for the help!
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
I would be happy to make a LineageOS for MicroG build for the SGP612, but I have no idea what I would need to change to make the build. I currently build for SGP611 and SGP621 using the sources at https://gitlab.com/sony_scorpion. Does anyone else know what I would need to change?

Thanks
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
I appear to have messed up - the builds I posted do not seem to include MicroG. I have rebuilt, and uploaded new, fixed builds. I have tested the SGP611 WiFi version and it seems to be OK, though I still can't get GPS to work. I have not tested the SGP621 LTE version
[Xperia Z3 Tablet Compact Original Android Developm] rexic7007:
Same problems with charging... I'm waiting for a fix, but I don't think it will be.
[Xperia Z3 Tablet Compact Original Android Developm] :
Not sure if anyone else has replied. I've just done a fresh reinstall and experiencing the same, but flashing the latest Magisk 26.1 worked for me (i.e. downloaded, renamed the apk to zip and flashed from PBRP). It then reinstalled itself via the manager on first boot.

Echoing what others have recently posted, I've also never had working GPS on SGP611 (or rear camera for that matter).
[Xperia Z3 Tablet Compact Original Android Developm] meksis:
I flashed SGP611 WIFI

from 20230424, everything works except GPS. Is there a solution? Thank you.
[Xperia Z3 Tablet Compact Original Android Developm] corb06:
Im also on latest.

Normally the authour updates every month, but its two months now... maybe its game over?
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
New unofficial builds available. These builds include Aurora Store as a system app, so that you don't have to confirm installation of each update: once you've clicked 'Update all' the updates should install with no further input

- z3tc `lineage-18.1-20230627-4microg-UNOFFICIAL-z3tc.zip`

- z3tcw - `lineage-18.1-20230627-4microg-UNOFFICIAL-z3tcw.zip`

As always, the WiFi version has had limited testing (GPS still doesn't work :( ), the LTE version has had none.

Have fun!
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
I'll stick with the unofficial build for e for now, thanks @petefoth! Does the Aurora Store work properly again? Really funny that the App Loung from e was working all the time while Aurora did not...
[Xperia Z3 Tablet Compact Original Android Developm] Max8719:
Thank you petefoth. It's nice to have an alternative to use playstore apps without google services. (y)

It's also great, because evil-god has not update his builds for a while now. Maybe he is busy at the moment, but I hope he is coming back soon, because he is a real legend for us Z3TC users.
[Xperia Z3 Tablet Compact Original Android Developm] jeremias.kleer:
Hallo,

I managed to build LineageOS 18.1 for SGP 621, Sony Xperia z3tc. Yet I have not tested it and I have no time doing any tests next 2 weeks. Anyone interessted? Where could I upload?
[Xperia Z3 Tablet Compact Original Android Developm] exis_tenz:
I have just installed /e/OS built by Petefoth (based on Evil-Gods work) based on the latest LOS. It's completely degoogled. With microG integrated. It works fantastic. SGP621.
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
Does this work on SGP611?Any link?Dev discontinued los here?😒
[Xperia Z3 Tablet Compact Original Android Developm] exis_tenz:
There is a SGP611 version (WiFi only) available as well. You need to search the /e/OS forum. I'm not sure if I can post a link here. If not, @MOD please remove.

The version is based on Evil-Gods work!

[UNOFFICIAL BUILD] /e/ r Sony Xperia Z3 Tablet Compact (scorpion, z3tc, z3tcw)

Still trying to find out if JP tablets have unlockable bootloader, but there seems to be little info on that. On the up side, I own, and can recommend, M$ Surface Go2 tablet/PC… with Windows nuked and replaced with Linux Mint Cinnamon. 😄 It works pretty well, though not perfectly, as a tablet...

community.e.foundation
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
That will be the last /e/OS build (by me at least). I plan to continue making los4microg builds fairly regularly for both LTE and WiFi versions
[Xperia Z3 Tablet Compact Original Android Developm] exis_tenz:
Just out of curiosity, Pete, will you try to set up A12 for the Z3TC as well? I mean, futurewise?
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
No. I don't develop ROMs myself, I just build using the stuff others have developed, e.g. /e/OS and los4microg for the z3tc devices, based on @evil-god's LOS ROM, similar for other Sony devices.

As far as a I know, the Z3 family of devices are stuck at Android 11 / LOS 18.1. There is some work happening on an Android 13 / LOS 20 ROM for Z3 - see this thread - but at the moment it's 'alpha' status: some thing work, but alot of things don't. If it ever gets to a usable state, then the same might be possible for Z3 Compact and Z£ Tablet Compact whihc (I believe) use the same chipset. But that seemsquite a way off, and may never actually happen. Let's hope it does
[Xperia Z3 Tablet Compact Original Android Developm] exis_tenz:
Yes, the D6633 (dualsim phone) and D6603 (single sim Z3) and the Z3TC are almost simular. Same chipset, almost everything the same.

Anyway I'm really thankful for Evil-Gods work and your mods to that.

Who would have expected this tablet to still work 9 years after release. Apple eat your heart out.
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
Please someone tell me how to permanently flash pitchblack recovery.It dissapears after each rom's flash and i am really tired with this.
[Xperia Z3 Tablet Compact Original Android Developm] flouli:
What I did, starting from the very early build of Yoshi, where OF recovery also disappeared after flashing the rom:

extracted boot.img from the April rom zip

started device in fastboot mode

fastboot flash pbrp_9.0_z3tcw.img

fastboot flash FOTAKernel pbrp_9.0_z3tcw.img

fastboot flash:raw boot boot.img

restart device into pitchblack recovery

format data

wiped Dalvik, System, Cache

reboot to recovery

flashed rom and Gapps (unfortunately, the modified Magisk could not be flashed)

reboot into system and after that pitchblack recovery is still available
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
Thanks,will try asap.Btw,is it possible to flash magisk on /e rom?
[Xperia Z3 Tablet Compact Original Android Developm] flouli:
Sorry, this is beyond my experience ...
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
To anyone that wants,i found a way to root with latest magisk.Also i would just want to know please if this rom (so /e) is discontinued 🙄
[Xperia Z3 Tablet Compact Original Android Developm] exis_tenz:
Yes, I use (normal) stable 26.1 (26100). After an update go to Magisk and select direct install of Magisk and PBRP survives without further installation needed.

I am on Petefoth's /e/ build based on Evil-God's work. Version 1.13.

Just flash the Magisk.zip in PBRP or sideload it. After the boot into system change .zip to .apk and install the file. Reboot and you're good to go. No rocketscience involved...
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
I have finally managed to make unofficial builds of IodéOS for these devices, using @evil-god's sources. See this post in the

IodéOS forums for details
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
Very interesting, so cool to see work done for this great device. Thanks a lot!

May you write some words what the pros & cons of Iode vs. /e/ or plain Lineage are?
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
See this post in the `LineageOS for MicroG` forum for a comparison of /e/OS & IodéOS.

I would happily use either IodéOS or LineageOS for microG in my 'daily driver' phone. Both hit the right mix of privacy and functionality for my needs.

I wouldn't use /e/OS - though I support what they are trying to do - because

there are too many (unnecessarily) forked apps, some of which are 'broken` in my view

I don't need the 'Advanced Privacy' functionality which - in my experience - is also buggy and inadequately tested

I don't intend to write any more words than that :)
[Xperia Z3 Tablet Compact Original Android Developm] kos25k:
Hey.is there the known sound bug on this rom? (Like on /e rom) volume is loud but after 2-3 seconds it falls down to small levels on /e rom.
[Xperia Z3 Tablet Compact Original Android Developm] petefoth:
Sorry I don't know.
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
Sorry, got problems quoting (see post below).

How can I delete a post?!
[Xperia Z3 Tablet Compact Original Android Developm] Pfrinz:
Yes, unfortunately thats an old issue. Doesnt happen with headphones though.
[Xperia Z3 Tablet Compact Original Android Developm] SXUsr:
Decided to upgrade my Z3TC and this ROM is what it'll will eventually die with. The only annoyance I've had is trying to theme it with Substratum. I took to Google and came across this post - [REFERENCE] LineageOS with full Substratum support, that's the only thing that's missing for me but happy to compromise if it means having an Android 11 ROM.