[ROM][Z3TC] LineageOS 18.1 SGP621 [UNOFFICIAL]

Search This thread

akirakun1103

New member
Aug 28, 2018
3
0
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.
 
Last edited:

CricriTheLord

Member
Apr 13, 2023
12
2
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.
 

CricriTheLord

Member
Apr 13, 2023
12
2
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.
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.
 

Ancient Droid

New member
Apr 16, 2023
2
0
@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...
 

malpasar77

New member
Apr 17, 2023
1
0
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
 

CricriTheLord

Member
Apr 13, 2023
12
2
Here a step by step procedure I wrote, based on my own experience
Update Android to 11 on Xperia Tablet Z3 Compact (SGP611)

I. Prepare your computer and the device to interact
1. Download and install xperia adb drivers (https://developer.sony.com/file/download/xperia-z3-tablet-compact-driver/)
2. Download and install adb platform-tools (https://developer.android.com/studio/releases/platform-tools?hl=fr#downloads)
3. Activate debugger on the device
a) start android and go to settings
b) in the version build number info tap multiple times (7 would be ok, more is not a problem) to enable developer options
c) go to the developer option (should appear close to the about section in the settings)
d) enable USB debugging

II. Unlock the bootloader
1. Check bootloader lock : https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/
a) Open the Contacts app.
b) Click the menu button in the top right.
c) Click Settings.
d) Long press (for about 5 seconds) somewhere in the empty space just above soft key bar, and then release yoeur finger. A button named Enter service code will then appear in the same area (this may take a few tries).
f) Click Enter service code. A dialer will appear.
g) Enter *#*#7378423#*#* in the dialer.
h) Tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
i) [My addition] If status says unlocked: Yes, the device is already unlocked, you can pass the next step

2. If not unlocked, unlock the device following the steps on sony.com website

III. Enable recovery mode
!! The default bootloader doesn't allow recovery mode to be activated, I couldn't find any other kernel to enable it, so I finally decided to get it from Cyanogen, and it worked, but the lineageos zip contains a boot.ini file, maybe you can use it
1. Get the kernel image from Cyanogen 12.1 zip package (boot.img in the file cm-12.1-20161016-NIGHTLY-scorpion_windy.zip) and copy it in the platform-tools folder
Could be:
1. Get the kernel image from the lineageos zip and copy it in the platform-tools folder

2. Flash the kernel on the device :
a) Turn the device off and wait 5 sec.
b) Start a command line in the platform-tools folder
c) Start the device in fastboot mode (when turned off, keep pressing the volue up button while pluging the usb cable, keep the finger on volume up button while the led indicator turns in blue
d) check fastmode mode, in the command line, run : fastboot devices
e) your device should appear, if not restart fastboot mode on the device
f) flash the kernel : fastboot flash boot boot.img
g) restart the device : fastboot reboot
Now, the device is able to start the Cyanogen recovery (by pressing volume down button during boot sequence)

3. get the pbrp recovery image and copy it into the platform-tools folder
(https://drive.google.com/file/d/1VOnGXn7esVwz1nSTuuuSRHFvR1FX6H_t/view?usp=sharing)

4. replace the Cyanogen recovery (Lineageos package won't run in it) -- If you installed it, if not, you can bypass this step
a) Turn the device off and wait 5 sec.
b) Start a command line in the platform-tools folder
c) Start the device in fastboot mode (when turned off, keep pressing the volue up button while pluging the usb cable, keep the finger on volume up button while the led indicator turns in blue
d) check fastmode mode, in the command line, run : fastboot devices
e) your device should appear, if not restart fastboot mode on the device
f) flash the kernel : fastboot flash recovery pbrp_9.0_z3tcw.img
g) restart the device : fastboot reboot

IV. Install Lineageos package with google apps (https://drive.google.com/drive/folders/1xzpvnZ-PVlKVw3rgALEzMxcpqPkxPNIT?usp=sharing and https://androidfilehost.com/?fid=17825722713688288530)
1. Start the device in recovery mode
a) Turn off and wait for 5 sec.
b) turn on the device, wait for Sony logo to appear
c) while the boot Sony logo is displayed, press multiple times the volume dosn button, until the led turn in blue
d) the device should be started in recovery mode

2. Copy packages in the device' sdcard
a) plug the usb cable to the device and the computer, recovery should enable MTP transfers
b) On the computer, copy both packages (lineage-18.1-20230318-UNOFFICIAL-z3tcw.zip and MindTheGapps-11.0.0-arm-20220217_095902.zip) on the device, with explorer
c) it should take few time

3. Flash the packages
a) In the recovery program, select the Install option
b) change the files view to sdcard
c) select the file lineage-18.1-20230318-UNOFFICIAL-z3tcw.zip
d) click on Add new package
e) select the file MindTheGapps-11.0.0-arm-20220217_095902.zip
f) use the slider to validate the list and flash, it will take some times
g) select reboot to restart the device

Your Xperia Tablet Z3 Compact now runs android 11 with google services enabled.
 
  • Like
Reactions: RedSimply

richvdh

Member
Apr 26, 2023
8
0
Hi, I installed the 20230318 build on my SGP611 this week, and mostly it's great - many thanks to @evil-god for doing all the hard work and making these ROMs available.

The only thing that doesn't work (so far) is the GPS. I've read through the thread and it seems like a number of people have trouble with the GPS, but others find it works just fine, which seems a bit odd. It seems I'm one of the unlucky ones, which is a shame because working GPS is quite important for me.

I've tried waiting for hours, but I don't really think it's even trying - when I first open a GPS app, the "location" indicator appears briefly in the notifications bar, but then disappears after a few seconds. I also tried installing an SD-card because somebody said that worked for them, but no joy.

Any suggestions for troubleshooting this?

The logs contain a lot of this sort of thing and I wonder if it might be related:

Code:
04-25 23:10:12.068     0     0 I init    : processing action (sys.init.updatable_crashing=1) from (/system/etc/init/flags_health_check.rc:10)
04-25 23:10:12.071     0     0 I init    : starting service 'exec 505 (/system/bin/flags_health_check UPDATABLE_CRASHING)'...
04-25 23:10:12.081     0     0 I init    : SVC_EXEC service 'exec 505 (/system/bin/flags_health_check UPDATABLE_CRASHING)' pid 30685 (uid 1000 gid 1000+0 context default) started; waiting...
04-25 23:10:12.082     0     0 I init    : starting service 'netmgrd'...
04-25 23:10:17.119 30685 30685 I flags_health_check: ServerConfigurableFlagsReset reset_mode value: 1
04-25 23:10:17.122 30685 30685 I flags_health_check: ServerConfigurableFlagsReset updatable crashing detected, resetting flags.
04-25 23:10:12.118     0     0 I init    : Service 'exec 505 (/system/bin/flags_health_check UPDATABLE_CRASHING)' (pid 30685) exited with status 0 waiting took 0.041000 seconds
04-25 23:10:12.118     0     0 I init    : Sending signal 9 to service 'exec 505 (/system/bin/flags_health_check UPDATABLE_CRASHING)' (pid 30685) process group...
04-25 23:10:12.118     0     0 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 30685 in 0ms
04-25 23:10:17.148 30686 30686 E Diag_Lib:  Diag_LSM_Init: Failed to open handle to diag driver, error = 2
04-25 23:10:17.213  4568  4568 W HidlServiceManagement: Waited one second for [email protected]::IRadio/slot1
04-25 23:10:17.213   228   228 I hwservicemanager: Since [email protected]::IRadio/slot1 is not registered, trying to start it as a lazy HAL.
04-25 23:10:17.214  4568  4568 I HidlServiceManagement: getService: Trying again for [email protected]::IRadio/slot1...
04-25 23:10:17.216   228 30687 W libc    : Unable to set property "ctl.interface_start" to "[email protected]::IRadio/slot1": error code: 0x20
04-25 23:10:12.201     0     0 E init    : Control message: Could not find '[email protected]::IRadio/slot1' for ctl.interface_start from pid: 228 (/system/bin/hwservicemanager)
04-25 23:10:18.215  4568  4568 W HidlServiceManagement: Waited one second for [email protected]::IRadio/slot1
04-25 23:10:18.216   228   228 I hwservicemanager: Since [email protected]::IRadio/slot1 is not registered, trying to start it as a lazy HAL.
04-25 23:10:18.218  4568  4568 I HidlServiceManagement: getService: Trying again for [email protected]::IRadio/slot1...
04-25 23:10:18.219   228 30689 W libc    : Unable to set property "ctl.interface_start" to "[email protected]::IRadio/slot1": error code: 0x20
04-25 23:10:19.218  4568  4568 W HidlServiceManagement: Waited one second for [email protected]::IRadio/slot1
04-25 23:10:19.219   228   228 I hwservicemanager: Since [email protected]::IRadio/slot1 is not registered, trying to start it as a lazy HAL.
04-25 23:10:19.219  4568  4568 I HidlServiceManagement: getService: Trying again for [email protected]::IRadio/slot1...
04-25 23:10:19.220   228 30690 W libc    : Unable to set property "ctl.interface_start" to "[email protected]::IRadio/slot1": error code: 0x20
 

petefoth

Senior Member
Dec 12, 2015
243
199
Whaley Bridge
Sony Xperia Z3 Compact
Unofficial and Custom LineageOS for MicroG builds now available for z3tc / sgp 621
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 :)
 

petefoth

Senior Member
Dec 12, 2015
243
199
Whaley Bridge
Sony Xperia Z3 Compact
Note that I am no longer building the 'CUSTOM' version

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
 

petefoth

Senior Member
Dec 12, 2015
243
199
Whaley Bridge
Sony Xperia Z3 Compact
I believe that my builds are not for you - please read on

Sorry for my newbie question, what does mean "for MicroG"?


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.

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

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.

Addition question : how to update this rom without flushing the storage?

Don't update your existing setup with one of my `4microg` builds. Wait for an updated build of 'normal LineageOS from @evil-god
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    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
  • 37
    lineage-logo.png

    LineageOS
    Sony Xperia Z3 Compact Tablet SGP621 & SGP611

    In the beginning credits goes to:

    the AICP rom team
    LineageOS & CM (R.I.P.) team
    Community


    Bugs:

    • wifi 5ghz not working in some countries, 2.4ghz working fine.
    • Magisk dont work, dont patch boot.img manually, workaround unzip this modded apk and rename apk to zip, the flash via recovery


    It is STRONGLY recommended to fully wipe your device before flashing!
    If you believe you know what you're doing and do a "dirty" flash - then fine, go ahead, but please don't complain if you experience any strange behavior.


    How to flash for the first time:
    (Again: Don't do it if you don't know it!)

    1. Download the ROM, (optional GApps) and transfer them to your device(or sideload via adb)
    2. Boot to recovery.
    3. Wipe the System, Cache, Data and ART/Dalvik cache.
    4. Flash the ROM Zipfile.
    5. Flash the GApps (optional, needed for e.g. Google Playstore to work) or Magisk, use this mod
    6. Reboot and set up your device.

    Sources:
    Gitlab
    28
    DOWNLOADS

    Recovery (Pitchblack Recovery Project, pbrp)

    SGP621 LTE

    SGP611 WIFI

    ROM

    SGP621 LTE, legacy tested OrangeFox-Recovery, pbrp see above
    build 20230424 april patch level
    optional lineage recovery (no touch, use volume up/down and power)


    SGP611 WIFI
    build 20230424 april patch level
    optional lineage recovery (no touch, use volume up/down and power)
    11
    Updated SGP611 build: sensors and camera fixed
    download
    8
    Any skilled tester here? i make a build for the SGP611, now i need some brave tester, you should know how to collect debug data like "adb logcat > boot01.log".

    ROM IS UNTESTED, IF YOU DONT KNOW HOW BRING IT BACK TO LIFE FROM A BOOTLOOP, DONT WRITE ME!

    write me a message to get a download link.
    see #2 for download
    8
    Hello, a SGP611 updated build would be appreciated. If a developer reads my prayer, please help :)