yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Tablet Compact Original Android Developm] Dr Schrödinger's cat:
Hello, sorry that my language is translated by Google. I have successfully installed your ROM, but I found that there is no Google component. Therefore, I plan to rewrite Google-related components (GApps) through TWRP. The current situation is that I can only open TWRP but cannot enter ROM. At the same time, I don't know why, the TWRP installation directory shows that my storage and SD card storage are 0MB. Therefore, my Z3TC is currently unavailable. Is there any solution? Because I am trying for the first time, it may be a very elementary question.

你好，抱歉我的语言是由谷歌翻译的。我已经成功安装了你的 ROM，但我发现并没有谷歌组件。因此我打算通过 TWRP 重新写入谷歌相关的组件（GApps）。现在 的情况就是，我只能打开 TWRP 而无法进入 ROM。同时不知道什么原因，TWRP 的安装目录内显示我的存储以及 SD 卡存储为 0MB。因此我的 Z3TC 目前无法使用的情况，请问 有什么解决方法吗？因为我是第一次尝试可能会很初级的问题。
[Xperia Z3 Tablet Compact Original Android Developm] Dr Schrödinger's cat:
Regarding other issues, currently my Z3TC cannot enter the green light mode, nor can it be connected to the computer to drag and drop files and only displays an icon. Therefore, I have no way to write to the official ROM.

关于其他问题，目前我的Z3TC无法进入绿灯模式，连接电脑也无法拖拽文件只显示一个图标。因此我也没有办法写入官方ROM。
[Xperia Z3 Tablet Compact Original Android Developm] Nightsax:
Hello, a SGP611 updated build would be appreciated. If a developer reads my prayer, please help :)
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
Don´t use TWRP, use the recovery given in #2

=> fastboot flash FOTAKernel OF-recovery.img
[Xperia Z3 Tablet Compact Original Android Developm] Kuvesz:
Hi all!

Does anyone have any idea how I can create my own version for SGP612 (The 32 GB Wifi version)?

It doesn't matter that much, since I don't really use the space but it would still be great. Also would appreciate an update to the 611 version, since camera for me is just crashing even though the may update should have fixed it.

Also I'm not sure what's up with Netflix but at least for me on @joschi1979 's ROM Widevine seems to be not supported at all (not just downgraded to level 3, but gone).

Other that these great ROM, looking forward to further developments. :)
[Xperia Z3 Tablet Compact Original Android Developm] ghaeh:
This old post on Android Stack Exchange got fastboot seeing my Z3TC on Windows 10 Pro 64 bit:

S1boot Fastboot Driver Tricks

Update legacy devices in Device Manager did not work.
[Xperia Z3 Tablet Compact Original Android Developm] RENEGETiX:
noticed problems with sound in the sgp621 version, the sound level is the same, but the sound itself becomes louder then quieter, what could be connected with?

I carried out the firmware under a clean one.
[Xperia Z3 Tablet Compact Original Android Developm] ghaeh:
Thanks to evil-god, joschi1979, mind.inc, all other XDA participants and all the good people who provide resources and information.

Following is mind.inc's really helpful post #67 with annotations that might help those new to the weird quirks of modding Sony devices.

"

So, for all the SGP611 users that are still struggling to install this, I did the following and got it working:

1) flashed latest stock [firmware 23.5.A.1.291]

to start fresh with flashtool from androxyde version 0.9.18.6 (only version working for me)

^ Excellent Flashtool HowTo:

https://www.androidgadgematic.com/2012/06/how-to-fix-bricked-sony-xperia-android.html

DO THIS FIRST! _ or you get to start over.

Power + Up (or is it down) with cable off will power off a stuck or looping boot.

Now you can enable adb.

Perhaps Emma can do this before the bootloader is unlocked, but why bother installing both tools when the other does both jobs.

2) extracted boot.img from the rom zip itself

3) flashed the following via fastboot:

fastboot flash recovery OF-recovery.img

fastboot flash FOTAKernel OF-recovery.img

fastboot flash boot boot.img

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

^ Mine went into bootloop until I plugged it in and then held volume down until recovery booted.

5) flash [sideload] rom and gapps (optional)

^ My very first time with Orange Fox.

https://wiki.orangefox.tech/en/guides/flashing

helps considerably.

After you swipe in ADB Sideload, you need to enter the adb Sideload xxxx.zip in the Command Prompt.

You want release 11 gapps. Don't try to load everything. The system partition is not big enough. OF lets you go back and try again.

It takes a couple hours to download OpenGapps and the battery might not last. I plugged into a charger and plugged back in after correct download without problems. There are cautions against booting before Gapps sideloaded for other devices.

6) reboot and that's it.

"

^ Be patient. The first reboot takes considerable time.

#41 for ROM

https://drive.google.com/file/d/14N1EROmKDTnfP8Mk6Oevknt6gEoAEV_x/view?usp=sharing

Now it works great! I've been a big fan of Nexus 7 2013 and have had one on 18.1 since April. The Z3TC is ahead on quality and touchscreen response.

If evil-god and joschi1979 can point me to what's necessary to adapt new AOSP releases to 611, I'm willing to give it a look to see if I can make it work.
[Xperia Z3 Tablet Compact Original Android Developm] XomaHdz:
guys, does anyone have a problem with the sound? On my tablet it is very low.
[Xperia Z3 Tablet Compact Original Android Developm] ghaeh:
GPS fails to update when driving with Google Maps. A glider navigation app (the principal reason I bought my SGP611) is hung on "Waiting for GPS". I'm about to backlevel to 15.1 (is there a 17.1 out there?) to see if GPS works better.
[Xperia Z3 Tablet Compact Original Android Developm] Max8719:
Hello evil-good,

it is very nice to see, that you update the SGP621 build so regularly. But the SGP611 build from joschi1979 unfortunately has not been updated since May. :(

I think he is no longer maintaining it.

Is there a possibility that you could also create a updated build for the SGP611 users?

I think many SGP611 users including me would be very thankfull.

And don't forget Christmas is not far away. ;)

Best wishes from Styria
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
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
[Xperia Z3 Tablet Compact Original Android Developm] siphyn:
Hey thanks for the update. I installed this earlier today on my SGP612 32GB. So far I can confirm the following works:

Notification LED

Camera both front and back

Gyro and compass

Power management (tablet charges rapidly when using a qc2.0 adapter) battery saver seems to work well for standby.

Volume control both via hardware buttons and on screen.

Auto brightness.

No issues with video playback.

NFC. I tested logging in using my yubikey just fine.

Sdcard and adoptable storage function normal.

Wifi and Bluetooth.

Haptic feedback

Power button and tap to wake/sleep

3.5mm audio and speaker audio.

Microphone input.

If there is anything you'd like to test let me know.

Edit: one last thing is I had to edit the install script. In recovery I received a script aborted E3004: this package is for device: z3tcw, scorpion_windy, SGP611, SGP612; this device is z3tc.error: 3004

I don't think there should be a w at the end of z3tc and so I just deleted the requirement in the script and forced it to install.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
thank you for testing!

the "problem" with the install script is only if you come from joschi's rom, he rename the device for some strange reason...
[Xperia Z3 Tablet Compact Original Android Developm] Max8719:
Thank you Evil-god for making a new build for us SGP611 Users. (y)(y)(y)(y)(y)

I really appreciate that.

I tried to install the new build but i got an error like siphyn mentioned before. (error: 3004).

How can I rename the device?
[Xperia Z3 Tablet Compact Original Android Developm] siphyn:
You're going to want to use a program like peazip or 7zip or an archive utility of your choice. Open up the rom zip file you downloaded and navigate to META-INF/com/google/android/

If you're in the correct folder you should see update-binary and a updater-script file. Open up the updater-script file with notepad or a text editor. Delete everything above the line beginning with ui_print and then save and repack the zip file. At this point this bypasses the device ID check when flashing the rom in recovery. Make sure you double check you're using the correct rom either wifi or cellular depending on what model you have because there is no device check at this point in the script.

On another note, I just decided to wipe the device using emma and, even once I did that and updated the device back up to 23.5.A.1.291, avoiding any custom roms, the device identifies as a z3tc in both TWRP 3.0.2 and in the provided Orange Fox recovery. So, if you have a SGP611 or SGP612 and you're running into issues, you may have to do the above to get the rom to flash. Other than that, this rom has been pretty solid.
[Xperia Z3 Tablet Compact Original Android Developm] Max8719:
Thank you. That helped me. First I made a complete wipe, went back to the latest stock and flashed the recovery and the custom rom again. But that did not helped. The Error E3004 was still occurring when trying to install the rom. Then I modified the zip file like u said and finally it worked out for me. But I think this is just a temporary solution, because I think I have to do this now every time when I want to install a new rom zip file.

The rom itself is running very stable and smooth. The only issue that I still have is when watching a video. The volume sound gets often by itself very quiet and then after a few seconds really loud. That's pretty weird. I think this issue was mentioned before in this thread.
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
How to clean the tablet to avoid E3004 as if no other rom has been installed before ?
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
simple delete the first line in updater-script

assert(getprop("ro.product.device") == "z3tc" || getprop("ro.build.product") == "z3tc" || abort("E3004: This package is for device: z3tc; this device is " + getprop("ro.product.device") + "."););

then repack
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
No I want to do the contrary. Making my tablet compatible with .zip without having to remove assert.

I read joschi rom have broken something how to correct that ?
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
the correct way is to build a recovery for SGP611, as i say, delete the first line is a workaround, not the final solution.
[Xperia Z3 Tablet Compact Original Android Developm] Fishaffair:
Good day, thanks for update SPG611, is there a changelog for new version?

Also, today (after a mouth of uptime on old april build) i had a strange random reboot while my tablet was charging. I attach log just to see.
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
thx for your log, i will take a look. for changes please see commits on gitlab, linked in first post.

edit: sorry, but i dont start debug a kernel build from may 4th and other people.
[Xperia Z3 Tablet Compact Original Android Developm] bbiwy:
Hi all,

first thx to evil-god for his effort!

@allofmex:

Doing fine until now I 'm to be stuck in step 3.

How can we enter recovery?

Looks like that fastboot recovery not works - I'm to stupid for this :-(

Thx.

- comming from latest stock, SGP621, 23.4.A.1.200

- tried 2 button methode
[Xperia Z3 Tablet Compact Original Android Developm] allofmex:
@bbiwy :

After restart, it should boot directly (and only) to recovery, without any key-press.

If it still boots your normal stock rom or nothing, the step 'fastboot flash boot' did not worked (error message?)
[Xperia Z3 Tablet Compact Original Android Developm] Phifouyou:
Hello all,

Thanks evil-god for this development, I just install the ROM, it works very fine. Good to have an up to date android on it.

For the moment no problem on the tablet. (I just had a problem to flash the ROM with TWRP, but with the custom recovery provided it works fine)

If you need me to do some specific test on the tablet don't hesitate to ask.

Edit: one question: is it possible to root this rom?
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
You must quicky press down button when the LED is starting to have a color.
[Xperia Z3 Tablet Compact Original Android Developm] bbiwy:
Doesn't work, unfortunately.
[Xperia Z3 Tablet Compact Original Android Developm] zuiffon:
You must also flash 2 times the recovery

fastboot flash recovery OF-recovery.img

fastboot flash FOTAKernel OF-recovery.img
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
yes, read Post #1 Point 5, flash the zip via recovery and you have root.
[Xperia Z3 Tablet Compact Original Android Developm] Phifouyou:
I tried to flash Magisk via the Recovery but doesn't work, I have this message: "Invalid ZIP file format!" Am'i missing something?
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
Please test the new recovery images, download in post #2

PitchBlack Recovery's include some tools like (un)install magisk and much more, maybe there is here someone and can test some of them.

tested is install ROM via adb sideload. wipe cache/art.

please test and report. THX

edit: magisk isnt included, our recovery partition is to small :-(
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
you use magisk mod linked post #1 under bugs? the workaround?
[Xperia Z3 Tablet Compact Original Android Developm] Phifouyou:
I install the recovery yersterday then install the ROM just after.

This afternoon i tried to install Magisk (the one available in #1 -> 5.) via the recovery and it did not worked...

I also tried to unzip it and to install the .apk via the system it did not worked either..

Edit: same problem with adb sideload from recovery PitchBlack (I was on Fox Recovery before)
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
okay, just to be sure, you download the zip file from here, then you unzip the archive, you should see Magisk-v22.1_mod_sony.apk, rename that file to Magisk-v22.1_mod_sony.zip and the flash via recovery, you do this?

edit: its not a special hack, this the official way to get an working magisk update zip, the mod is only inside, because magisk and sony are another story...

read here https://github.com/topjohnwu/Magisk/issues/3636 and here https://topjohnwu.github.io/Magisk/install.html last point custom recovery
[Xperia Z3 Tablet Compact Original Android Developm] ~MaX~:
flashing "Magisk-v22.1_mod_sony" works following these steps but when opening the magisk app for the first time it asks to download the full app, followed by an error: "There was a problem while parsing the package"
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
this is strange, i do this one hour ago without problems, what if you place the apk file on internal storage and install it manually?
[Xperia Z3 Tablet Compact Original Android Developm] tommes_d:
Press PWR and Vol- Button at the same time. When you feel a vibration, release the buttons.
[Xperia Z3 Tablet Compact Original Android Developm] ~MaX~:
same error, what works was installing regular magisk apk from github (tried 22.1). the app works but says no magisk installed
[Xperia Z3 Tablet Compact Original Android Developm] Phifouyou:
Same Error as MaX.

I finaly did install Magisk from github and then followed the installation plan on this url: https://topjohnwu.github.io/Magisk/install.html

Now i'm booting after flashing the newboot.img but the Tablet seems not to boot blocked on the Sony Xperia Screen...
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
hmm, you test the official latest magisk app? v23.0, same way via recovery
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
yeah, patching the image manually ends up with not booting device, as i write in post #1, hope they fix magisk for sony in the next time.
[Xperia Z3 Tablet Compact Original Android Developm] ~MaX~:
interesting, i just tried this with 22.1 still and i had no issues booting. still no magisk either though.

this on the other hand results in a hang during the sony logo
[Xperia Z3 Tablet Compact Original Android Developm] Phifouyou:
So on your side you just install the magisk.apk (renamed in .zip) via the recovery and after rebooting you are root ?

Do you have Gapps installed ?
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
yes, the sony_mod, after that i update to v23.0

no gapps.
[Xperia Z3 Tablet Compact Original Android Developm] Phifouyou:
I used prb recovery to Wipe the entire tablet: System, Cache, Dalvik, Data, internal Storage, magisk modules, Substratum overlays. I flash the ROM again, then i flash magisk sony file.

at the reboot i'm fixed on the screen Sony Xperia...
[Xperia Z3 Tablet Compact Original Android Developm] ~MaX~:
i just tried reflashing the sony_mod zip again (third or second time i think) and it works now. very strange

edit: i do use gapps, in case anyone needs to know
[Xperia Z3 Tablet Compact Original Android Developm] Phifouyou:
I'll try to flash it severals times...

For now, I still have the Sony Xperia screen with the LED making a green-red-green signal onc after one vibration.

@~MaX~ did you Wipe Cache + Dalvik or just Dalvik or none after flashing? and using which recovery please?
[Xperia Z3 Tablet Compact Original Android Developm] ~MaX~:
i used the new pitch black recovery and didnt wipe anything. if you are getting stuck at sony logo try reflashing the boot.img from the rom zip first maybe
[Xperia Z3 Tablet Compact Original Android Developm] Phifouyou:
Yeeeeeeeeeeeeeaaaaaaaaaaaahhhhhhh!!!!!!!! It works, thank you!

Don't know why, did just install the bout.img via fastboot again then flash again the magisk via the recovery. At the second or third time it boots normally. No wipe needed after flashing either.
[Xperia Z3 Tablet Compact Original Android Developm] x52-curcuma:
Thanks for the great work, evil-god! Migrating to LOS-18.1 on SGP611 from Floko rom here. Very snappy and responsive. To me OF-recovery works better than PitchBlack-recovery. Did not have any issues with Magisk. So far the only problem I have is GPS. It does not lock. Have tried fastergps app, Magisk module for GPS without any luck.

Ghaeh mentioned the issue with GPS (post #221), but I haven't seen any notes other than that. Anybody having the similar problem, any solutions?
[Xperia Z3 Tablet Compact Original Android Developm] Nightsax:
Big thanks to @evil-god for the updated SGP611 ROM and instructions on this forum, I did update my mother's tablet and I am very satisfied about it, the ROM is very nice to use. One minor issue: I can't charge it and use it at the same time, for some reason it bugs and keeps locking the screen. And some apps from Google Playstore are detected not compatible while they actually are. But installing via apk works. All in all fantastic work! Cheers
[Xperia Z3 Tablet Compact Original Android Developm] SageDroid:
Thank you @evil-god for this great ROM!

This worked for me on SGP611:

Wipe according to first post

Flash ROM

Flash Open GApps ARM Pico

Reboot and set up

Reboot to recovery and flash Magisk

Reboot and install Magisk apk

Bugs I found so far:

Auto Rotation sometimes resets after a reboot. If you enable it again and restart, the whole system goes crazy, apps can no longer be opened and also no longer removed from the Recent Apps view. If you deactivate Auto Rotation again, everything is back to normal.

Media volume is unfortunately completely broken. It automatically gets quieter and when you turn it up just one notch, it suddenly gets extremely loud. Then again quieter and so on. Happens e.g. in Youtube with every video after a short time. Already had this problem with the build of joschi1979. What I notice about this in the UI is that when you make louder or quieter on the upper tile of the volume slider a click effect (animation) is displayed (with about 2 seconds delay) although I do not click on it. This is definitely not normal in Android 11 and not happening on any of my other devices.

Does media volume work for you?

These problems aside, it's just a really great job! (y)
[Xperia Z3 Tablet Compact Original Android Developm] Ermann123:
Since 2 updates of the ROM, I cannot access the menu for app settings. When tapping on some app, the menu exits. Anyone has this too?
[Xperia Z3 Tablet Compact Original Android Developm] evil-god:
screenshot please
[Xperia Z3 Tablet Compact Original Android Developm] corb06:
I was trying to get my 611 into FastBoot mode and to find it in ADB Devices list, but somehow it went dead after a while. Can´t get any life into anymore. The last thing I did was install USB Legacy drivers on the Windows 10 laptop.

Now it doesnt even react when plugging charging cable, or long pressing powerbutton and volume buttons. Even tried the small yellow OFF button inside the SD-slot, but did nothing.

Any tips? Have I missed something? Or is it totally garbage now?
[Xperia Z3 Tablet Compact Original Android Developm] Max8719:
You can try Emma. This is a flash tool from Sony to insatll the latest stock rom. Install the tool and open it. Press the volume down button on your tablet, hold it and connect it via USB with your computer. If you are lucky it will response and you can flash the latest stock rom.
[Xperia Z3 Tablet Compact Original Android Developm] corb06:
Yeah, no resonse whats so ever, red charging led doesnt even turn on when connecting it to charger. No sound from PC that USB has been attached. So guess its dead. Gonna give it a months rest and try again (incase battery related). Thanks anyways.
[Xperia Z3 Tablet Compact Original Android Developm] Max8719:
Yes, unfortunately this sounds like a hardware brick. :(
[Xperia Z3 Tablet Compact Original Android Developm] bbiwy:
Finally I got it!

Came from latest stock flashed with Emma (23.4.A.1.200) did not work for me, could not enter OF-Recovery at all.

Tried with evil-gods "LineageOS15.1", flashed via TWRP. Same problem.

Solution:

I flashed stock rom "SGP621_23.5.A.0.575_R2D_Germany Generic_1290-4945.ftf" via FlashTool.

And now it works. However.

Thx for all guys tried to support me.
[Xperia Z3 Tablet Compact Original Android Developm] bbiwy:
SGP621 LTE

Hi evil-god,

it seems it is not possible to join an encrypted hotspot (e.g. hotspot provided from my laptop).

I tried with a clean install, no Magisk, no firewall, just flashed the rom from #2. I could enter the password to the network, but I got no connection to the hotspot.

Access to an unsecured/unencrypted hotspot, however, works fine. Just with encrpytion it is not possible.

Access to any WLAN works fine also without complication.

When I try with your LineageOS 15.1 it works perfect, no problems.

Maybe you can check if there is something wrong, please.

Thx,

bbiwy.
[Xperia Z3 Tablet Compact Original Android Developm] Sohot2000:
thanks~always!
[Xperia Z3 Tablet Compact Original Android Developm] laibalion:
Hi all,

it's been a while since I've done some flashing, so forgive me if I'm asking trivial or dumb questions.

My starting point is the latest official image from Sony.

To get starting I flashed PBRP via fastboot, which didn't give me errors, so I'm assuming it works.

PS C:\Users\geert> fastboot flash recovery G:\Android\SGP612\Recovery\pbrp\pbrp_9.0_z3tcw.img
sending 'recovery' (14868 KB)...
OKAY [ 0.469s]
writing 'recovery'...
OKAY [ 0.977s]
finished. total time: 1.446s

After this I'm running into an issue, where I can't seem to reboot into this recovery at all.

PS C:\Users\geert> adb reboot recovery

just restarts the device, but I just end up in android itself. So I'm not sure I missed a step somewhere. Is there some other requirement for the device to reboot into PBRP, or did the flash fail without giving an error for it?

I understand this is not particularly caused by the rom in this topic, but I assume others followed these steps and may encountered the same issue.

Any help is appreciated.