yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
oh, i think today i make an typo. second time i turn it off and press on+volume down for recovery. but i will see whats the problem, later

you can use the lineage recovery, cant say why the recovery isnt working anymore, very strange. see #2 for download.

sorry for that

edit2: now i can reboot to pbrp, its weird :D
[Xperia Z3 Tablet Compact Original Android Developm] laibalion:
Mine keeps refusing to boot to recovery, I don't quite understand why.

I've reflashed the device to stock using Sony's FlashTool Emma (to version 23.4.A.0.546), then reflash recovery (tried both pbrp and lineage recovery). Maybe it's just my device that's acting strangely.

Will probably fiddle with it some more tomorrow.

Im assuming it doesn't matter that my device is SGP612 (afaik only difference with 611 is internal storage size, right?)
[Xperia Z3 Tablet Compact Original Android Developm] laibalion:
I've been looking a bit more, and found some info that could be related -> https://twrp.me/sony/sonyxperiaz3tabetcompact.html

It mentions

I'm not 100% understand this, but does this mean that flashing recovery via fastboot, doens't work as expected?

If so, how do I flash pbrp to the device :?
[Xperia Z3 Tablet Compact Original Android Developm] Max8719:
For me the SGP611 pbrp recovery works fine. I flashed it with these instructions who where posted earlier in this thread:

I did not flased the latest stock rom. I flashed the recovery direct over the fox recovery. Then I installed the latest update with the November patches. I will keep this recovery instead of the fox recovery. Good work evill-god. (y)
[Xperia Z3 Tablet Compact Original Android Developm] laibalion:
No luck :(.

The moment I flash the boot.img (extracted from the ROM's image) the device refuses to boot.

PS G:\Android\SGP612> fastboot flash recovery .\Recovery\OrangeFox\OF-recovery.img
sending 'recovery' (15948 KB)...
OKAY [ 0.504s]
writing 'recovery'...
OKAY [ 1.049s]
finished. total time: 1.554s
PS G:\Android\SGP612> fastboot flash FOTAKernel .\Recovery\OrangeFox\OF-recovery.img
sending 'FOTAKernel' (15948 KB)...
OKAY [ 0.503s]
writing 'FOTAKernel'...
OKAY [ 1.065s]
finished. total time: 1.568s
PS G:\Android\SGP612> fastboot flash boot .\Recovery\boot.img
sending 'boot' (7830 KB)...
OKAY [ 0.249s]
writing 'boot'...
OKAY [ 0.518s]
finished. total time: 0.767s

I did manage to get TWRP to run as recovery by following steps elsewhere in this topic, but am getting errors when flashing the system image ( [log] command unknown or something like that ).

I guess the OS image can't be installed with TWRP?
[Xperia Z3 Tablet Compact Original Android Developm] bbiwy:
Nobody else facing problems connecting to a computer-hotspot?

I using a computer-hotspot to get the Z3tc to the internet.

So it worked fine so far as I was on Lineage15.1. But when I changed to Lineage18.1 it won't work anymore.

Testing results:

1) computer-hotspot is working with my tablet and Lineage 15.1

2) computer-hotspot is working with a Samsung S8 and Android 11

3) computer-hotspot is NOT WORKING with my tablet and Lineage 18.1. It looks like that the tablet is not able to contain the IP-address(?)

4) strange, a hotspot provided by any mobile phone will work with Lineage 18.1

Any idea?
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
@bbiwy : Made a test hotspot with my XIAOMI 10 Lite (5Ghz) and my SGP621 hat no problems to connect.
[Xperia Z3 Tablet Compact Original Android Developm] bbiwy:
Hi,

please read my post carefully -> 4).

Otherwise we will spam the thread :-(
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
Sorry, did not read to the end.

Did second test with hotspot from my Lenovo Helix 2, Win 10: Both my XIAOMI and SGP621 connected immediately. The problem is on your site - no idea why, sorry.
[Xperia Z3 Tablet Compact Original Android Developm] DaR[W!N]:
Thank you for this rom!

I found one problem: device reboot after disconnect vpn (l2tp).
[Xperia Z3 Tablet Compact Original Android Developm] getchaosde:
Amazing...never have flashed any device before, but my SGP611 recently became totally useless with the official 6.0 Android on board.

Didn't really need a new tablet, because i rather use my 6,7 inch phone and my laptop. But it was still useful for stuff like chords for my Ukulele. Except that i couldn't install any apps anymore because of Android 6.

Had to read and test stuff out for a few hours before finally getting through trial and error to install everything. But now it works like a charm. Thanks so much.

Hopefully this gets a few more years out of this trusted device!
[Xperia Z3 Tablet Compact Original Android Developm] fizivan:
Hello, everyone! I have some trouble with audio on this Firmware, After I change the sound level, it does not remain at the same level, but changes like a sinusoid - sometimes louder, sometimes quieter. And also in the maximum position, the sound is quieter, which is on the native firmware with 6 android. Tell me, what could this be related to?
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
It's normal, it's a bug of this rom.
[Xperia Z3 Tablet Compact Original Android Developm] MarkusAurilius:
My tablet won't root after flashing image. Bootloader unlocked too so not sure what to do anymore
[Xperia Z3 Tablet Compact Original Android Developm] Sohot2000:
wifi 5g worked for my Z3TC sgp641 now. Thanks~
[Xperia Z3 Tablet Compact Original Android Developm] Anteino:
Hi madxxcow,

bit of a late response but I hope you see it. I know for some devices it matters whether you flash a european/usa/german/etc version of the original firmware. In some cases it can brick a device. I know Sony can be a bit tricky. I could only find a german version of the official latest firmware. Do you think it's safe to flash it? Haven't tried anything yet but I'm asking just in case.
[Xperia Z3 Tablet Compact Original Android Developm] madxxcow:
Honestly I can't say for sure if version matters. I think I used the French version.
[Xperia Z3 Tablet Compact Original Android Developm] best.grafix:
Hi short questions where i can find the gapps download ?
[Xperia Z3 Tablet Compact Original Android Developm] [denser]:
The Open GApps Project

OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.

opengapps.org
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
Redirecting…

or

NikGapps - Custom Google Apps Package!

NikGapps Website

nikgapps.com

i dont use gapps, but my guess is: use the smallest one. core or nano, something like that
[Xperia Z3 Tablet Compact Original Android Developm] joller_134:
I recently digged up the SGP621 variant with android 5 and I am trying to flash this to my device however I have some difficulty and I was hoping if somebody could help.

My last bootloader experience was with a LG G3 a long time ago so I am kinda not used to the scene and methods anymore.

I tried flashing the orange fox recovery and both twrp but I can never go into recovery of the orange fox as I get a "dtd not found" on "fastboot boot OF-recovery.img" and the volume/power button combos does not work.

If I try to sideload from twrp I get a message that the device is not "z3tc" which it definitely iss.

I was hoping that maybe someone has a step-by-step method of how to install this from for someone inexperienced like me? And I could not find a clear method in the post in this forum.

Edit:

I made a dumb mistake and I did not see the recovery in the actual download drive where the from also recides. If you are as dumb as me know that the recovery in the room folder works great. Just flash it to recovery and go.
[Xperia Z3 Tablet Compact Original Android Developm] Nightsax:
I am trying to connect to Bluetooth but it doesn't seem to find any nearby device... anyone else having this issue?

Bluetooth seems unusable (I am using latest ROM from this topic btw).
[Xperia Z3 Tablet Compact Original Android Developm] Ermann123:
Same here, but this was already the case with other custom roms, before, like Floko
[Xperia Z3 Tablet Compact Original Android Developm] Anteino:
Alright, thanks for your answer.

I'm helping a friend with his phone but he told me he is already on the last version so everything should be fine. But thanks anyway :)
[Xperia Z3 Tablet Compact Original Android Developm] mchaals:
Netflix still not working. HBO go and amazon Prime is okay, but Netflix does not even show up in Google play Store. Sgp621
[Xperia Z3 Tablet Compact Original Android Developm] Jane11:
Is WiFI supported in SGP621 version?
[Xperia Z3 Tablet Compact Original Android Developm] phil_87:
Hello guys, i have an SGP621 Model.

Which Stockfirmware use it to flash the recovery correctly? Can you give me a manual. Here in this chat it is very difficult with many answers (wrong and correct). i use a correctly flashing manual with commands. Destination is a Lineage os 18.1 from Stockrom (which actually?). Which Recovery and so on.... prever twrp...
[Xperia Z3 Tablet Compact Original Android Developm] Corias:
I've jumped to LOS 18.1 from the latest available stock OTA update for my region. Did not try prerooted stock or something, just unlocked bootloader, booted TWRP and flashed LOS with other stuff I need.
[Xperia Z3 Tablet Compact Original Android Developm] phil_87:
Ok. which twrp do you have and how do install this? i update this to the latest stock, now. Do you have commands please for me and links for the download? best thanks.
[Xperia Z3 Tablet Compact Original Android Developm] Corias:
Due to recent PC change I don't have my recovery image copy. Anyway, you can either google for "twrp-scorpion-3.3.0.0" or use the OrangeFox recovery (tested, it works for this ROM) from second post of this thread

fastboot boot <path to recovery file>

to boot once

fastboot flash recovery <path to recovery file>

to install
[Xperia Z3 Tablet Compact Original Android Developm] phil_87:
In which order do you type? How can i open the Orange Fox here?
[Xperia Z3 Tablet Compact Original Android Developm] phil_87:
best thanks. now, i have 18.1 install. could you please repair this text for other?

fastboot flash boot <path to recovery file>

to boot once
[Xperia Z3 Tablet Compact Original Android Developm] exis_tenz:
First of all: AMAZING WORK! My 7+ years old tablet went from almost unusable and slow as hell to a snappy tablet for daily use. Really excellent! I have a question though.

I have Magisk 22.1 (Sony Mod) installed and APK 22.1 - nevertheless no way I'm able to pass safetynet. Following set-up:

- Busybox installed (Magisk)

- Riru installed

- Systemless hosts enabled

- Universal Safetynet Fix V2.1.3 enabled

When I do a "Safetynet check" the device reports (translated from Dutch):

* SafetyNet API-Error

* BasicIntegrity (-)

* ctsProfile (-)

* evalType N/A

Anyone who can help here?
[Xperia Z3 Tablet Compact Original Android Developm] markus24:
Hi,

using this awesome ROM on my SGP612 with just this single issue.

Any way to further debug the root cause. Or is this so deep in the system that we have to accept it?

Thx
[Xperia Z3 Tablet Compact Original Android Developm] SGP621-HH:
Hello, I tried to load this Rom so many times - it doesn't work with my SGP621

I loaded first the recovery.img from 2. Post with fastboot. The Transfer works, but I can't start in Recovery-Modus. Sound+ oder Sound-.... nothing works here.

Can anyone help me - and sorry about my english... german is quiet better....
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
@SGP621-HH : PM in german language has been sent
[Xperia Z3 Tablet Compact Original Android Developm] RedSimply:
Would you send me the PM too? Danke
[Xperia Z3 Tablet Compact Original Android Developm] SGP621-HH:
Tom helps me - fast and perfekt! Thanks!
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
@RedSimply : Done, gerne.

to all: I am only repeating what I have written several times in this thread for SGP621.

First be sure to be on last stock MarshMallow with kernel 23.5.A.1.291

Unlock bootloader and flash boot.img from withing LOS 18.1 ZIP:

fastboot flash boot boot.img

Then flash OF-recovery:

fastboot flash FOTAKernel OF-recovery.img

(exactly as written!)

Start SGP621 with vol - and pwr button simultaneously pressed. After a short time OF-recovery launches and you can flash LOS 18.1.

Last: Enjoy your new tablet and thanks to our dev evil-god!
[Xperia Z3 Tablet Compact Original Android Developm] phil_87:
Hello guys, in Magisk there are the safety criteria which either fit or failed. With which Magisk version do you have access to use e.g. online banking successfully? Greetings and thanks for your answer.
[Xperia Z3 Tablet Compact Original Android Developm] phil_87:
what is riru? And my questions is the same ...:-)
[Xperia Z3 Tablet Compact Original Android Developm] Jane11:
When installing

LineageOS 18.1 SGP621 ​

I received the error

Could not find '/META-INF/com/google/android/update-binary' in the zip file.

How can I correct it?

I use twrp-3.0.2-0-scorpion_windy .

Thank you for help
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
Selfmade problem - why do you do this??? Nobody mentioned TWRP for this ROM.

Read #2.
[Xperia Z3 Tablet Compact Original Android Developm] phil_87:
Hello all,

I have a problem with the rom 18.1. My sandisk internal storage i use could not more detected after reboots and the system has then a bootloop. The other problem is the variable sound here. Could you please help me ? It is a bigger problem? Best regards
[Xperia Z3 Tablet Compact Original Android Developm] orjanraberg:
I came directly from LOS 15.1 (didn't install Stock first) and I had some problems but eventually managed to install LOS 18.1 and GApps on my SGP611. I tried a lot of different things so I am not sure what made it work in the end but I think it was this:

1. Extract boot.img from LOS 18.1 zip and flash with command fastboot flash:raw boot boot.img

2. Flash recovery: fastboot flash FOTAKernel pbrp_9.0_z3tcw.img

3. Boot to recovery (a bit tricky on this device but Power + spamming Volume Up normally works)

4. Flash LOS 18.1. I couldn't flash GApps at this point since it told me my Android version was wrong

5. Boot to system and then to recovery again

6. Flash LOS 18.1 and GApps Arm (32-bit)

7. Boot to system and configure device

I had TWRP 3.0.2.0 installed before and tried to install LOS with it but it didn't work.

Thanks a lot @evil-god for this rom!!!
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
TWRP is not compatible, you must use Orangefox.
[Xperia Z3 Tablet Compact Original Android Developm] zhuanyi:
Garrhhh...think I must have done something stupid...now when I powered on the device with Pwr + Vol Up all I hear is 3 vibrates and nothing happens, fastboot devices is also not returning anything.

Using a SPG621

I was on stock marshmallow, and this is what I have done:

fastboot flash:raw boot boot.img
Sending 'boot' (7858 KB) OKAY [ 0.249s]
Writing 'boot' OKAY [ 0.523s]
Finished. Total time: 0.850s

fastboot flash FOTAKernel pbrp_9.0_z3tc.img
Sending 'FOTAKernel' (14874 KB) OKAY [ 0.468s]
Writing 'FOTAKernel' OKAY [ 0.996s]
Finished. Total time: 1.481s

And this didn't work, when holding pwr + vol down all I heard was a vibrate and then another one like a second after, and after I let go of the buttons nothing happens.

fastboot flash FOTAKernel OF-recovery.img
Sending 'FOTAKernel' (15948 KB) OKAY [ 0.502s]
Writing 'FOTAKernel' OKAY [ 1.059s]
Finished. Total time: 1.578s

then I tried this and the same thing as before, so I think here is where I made the bad mistake:

fastboot flash recovery recovery.img
Sending 'recovery' (14310 KB) OKAY [ 0.452s]
Writing 'recovery' OKAY [ 0.954s]
Finished. Total time: 1.421s

fastboot reboot recovery
Rebooting into recovery OKAY [ 0.003s]
Finished. Total time: 0.004s

And now when I do fastboot (Pwr+Vol Up) the device doesn't even show up anymore...

>fastboot devices

>fastboot devices

>fastboot devices

>fastboot devices

>fastboot devices

Any idea what might have happened?

UPDATE: Made some progress, after 3 vibrates for some reason I am in fastboot again (indicator light flashed blue and fastboot devices is showing).

So I tried to run the FOTAKernel line again and then press Pwr + Vol Down and now nothing happens (I only know it was powered on because my computer made that USB connected sound). The screen is blank and no indicator light.

Also I used flash:raw rather than flash when flashing boot img, not sure if that would cause any issue there.

So I am stuck again...please help.
[Xperia Z3 Tablet Compact Original Android Developm] zhuanyi:
Question...when you do vol down + pwr did you have the tablet plugged into computer via USB?
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
No. After flashing OF-Recovery I unplugged the USB cable.
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
Reflash last stock MarshMallow with kernel 23.5.A.1.291. Use XperiFirm here from XDA or Flashtool (ROM: https://androidfilehost.com/?fid=673368273298922705).

Then use commands as described in #315.
[Xperia Z3 Tablet Compact Original Android Developm] zhuanyi:
Thanks for your super-fast reply! Waiting for download to complete and will test out with XperiFirm or Flashtool.
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
@zhuanyi : You only need to download the linked ROM when using flashtool.
[Xperia Z3 Tablet Compact Original Android Developm] zhuanyi:
EDIT3:

All good! Running on Lineage OS 18 now, thanks for all the good work OP and thanks for the valuable helps I received from tommes_d.

Few things I want to mention which I think might help others:

1. My Z3TC used to have bootloader unlockable no. Thanks to this thread I was able to get it unlocked.

2. On Lineage I think the battery runs pretty fast, but this could also be because the system was just initialized and so on. My battery went from 78% to 49% in an afternoon of very light usage (with SIM card plugged in but using Wifi signal).

3. Part of the reason for 2 I think is because Wifi seems to be weaker on Lineage, but my Wifi is set up to use same SSID between 2.4G and 5G so that could be a reason (given some earlier posters seems to suggest Wifi on 5GHz doesn't work so well).

4. One thing I didn't do was I kept my microSD card in the whole time, and after Lineage is installed I found out my card becomes "read-only" (it wasn't read-only before since I was moving stuff to the card before unlocking the tablet), I am not accusing Lineage for making it read only but probably safer to pop the microSD card out when factory unlocking. (And I was using a USB microSD card reader so it wasn't because the adapter had the read-only lock on). Fortunately I have a few microSD lying around so not too much of an issue. Seems this is related to Lineage 11 in general and a long discussion can be found here (no fix from what I can see unfortunately).

5. Had some trouble directly installing apks saved to Download folder, turns out you just need to move the apks to outside of Download and it would work (using Lineage's built-in Files app).

EDIT2:

Success!

After some trial and error using the Flashtool from flashtool.net I was able to reflash the factory version (in Windows 11 I had to use admin mode).

Followed the steps in post #135 again and now I am in OrangeFox!

Thanks @tommes_d for your help and super-fast response!

EDIT:

Sorry I guess you meant this one: http://www.flashtool.net/downloads.php

Mmm...interesting, I downloaded and installed the flash tool from Sony (from here) but this one doesn't really give me the option to use my own firmware and the ones showing on the tool seems to be of older version than what you have sent me...am I using the wrong flash tool?
[Xperia Z3 Tablet Compact Original Android Developm] contravener:
@evil-god Hello, i have SGP 612 (wifi), not SGP 611. Can i use the same procedure as SGP 611 or not?
[Xperia Z3 Tablet Compact Original Android Developm] markus24:
SGP 612 is the 32GB version of the 611. I can confirm, It is supported using the SGP 611 release.
[Xperia Z3 Tablet Compact Original Android Developm] exis_tenz:
I am using the ROM since a week or two and I am super excited about it. I made one mistake though, which I would like get rid of. I've installed GAPPS (Pico or Nano) but actually I want the tablet de-googled.

Question: if I wipe SYSTEM (only system) in recovery (I use OrangeFox Recovery) and then re-flash the rom, should that do the job (get rid of GAPPS)?

Furthermore, before I ruine things, did anyone test making a Nandroid with OrangeFox and actually put it back (all worked)? Hope someone can share some thoughts!
[Xperia Z3 Tablet Compact Original Android Developm] Max8719:
Thank you evil-god, for updating the security patch level of the builds so regularly. I really appreciate that. (y)
[Xperia Z3 Tablet Compact Original Android Developm] Henry48:
Thank you very much for keeping our devices in good shape. I wish you much success and good health. Best wishes.
[Xperia Z3 Tablet Compact Original Android Developm] belrik:
Testing on SGP-611. Neither pbrp_9.0_z3tcw.img or recovery.img are bootable. The LED flashes red but the screen will not initialise.

I tried flashing the SGP-611 image from TWRP 3.0.2.0 - needed to edit the update script to remove the device check but that also failed to boot with a flashing red LED. So something is not setup correctly on SGP-611 builds. Was on the lineage 15 build prior to this.

Tried flashing to FOTAKernel partition also - and pushing the boot.img from the ROM.

Now tablet won't even get into fastboot. Suspect the battery is starting to die so its 10x more difficult than it needs to be. :-(
[Xperia Z3 Tablet Compact Original Android Developm] phil_87:
Good day,

I have unfortunately the following problem with the current Rom for SGP621 and SanDisk extreme 128GB card.

Since I absolutely need my SD card for APPS I have formatted this as internal memory. As soon as I outsource apps and these are on the SD card comes in the current operation or even when restarting the error SD card damaged or missing.

I hope someone here can fix this problem and offer a solution in a timely manner. After restarting the device, this problem occurs again.

In addition, still the volume bug with the display and button operation and max volume is not as high as in the original.

Many greetings and thanks for the editing (members and developers)
[Xperia Z3 Tablet Compact Original Android Developm] Ermann123:
Hello!

Did anyone manage to update to Magisk v24 successfully? Former update from 22.1_sony to v23 was always possible... v24 failed somehow. On other devices it went fine.
[Xperia Z3 Tablet Compact Original Android Developm] rik_eudisch:
Thank you very much for your efforts in making this!!!

i have two questions for you guys

1st:

@joschi1984 and @evil-god can you please post the build commands you used for this build. i know the repo is here: gitlab but don't know how to build it. i tried a combination of official lineageOS build instructions and the gitlab repo but ended up with a ninja error i could not resolve.

2nd:

@evil-god: is it possible to move your scorpion repo to the offical LineageOS org at github?

Thank you again very much for your work!!

Regards Rudi
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
hi, please forget the linked gitlab repo from joschi1984, its outdated!

use the repo linked in post #1 under sources.

pm me and lets see how far you are.
[Xperia Z3 Tablet Compact Original Android Developm] corb06:
Managed to revive my SGP611 after having it in cupboard for 2 months. It was soft or hardbricked and totally unresponsive whatsoever.

But I guess letting the battery drain over the past few months did the trick. Got it working and into Fastboot mode again, managed to flash everything and now up and running with latest rom.

Everything seems to be working except Location.

No problem with audio, camera or Wifi 5 ghz.