[Xperia Z3 Tablet Compact General] manzipan:
Custom Rom Xperia Z3CTW SGP611 Build 23.5.A.1.291_1290-4947_R2D By Mux

if you have questions or need files just PM me on XDA and i will try to help where i can...

the reason i made this tut is because there is almost no roms for this device available...

(not Responsible for any damages to device or peripherals through the process since there is always a chance something happens **but i had my device in almost every state and with the tools mentioned u should be able to revive it :)** )

Included in this ROM (for you to build)

-	Passes Saftynet

-	Rooted with Magisk 20.4 (magisk hide working)

-	Custom Kernel For Booting System and TWRP (made with rootkernel_v4.51_Windows_Linux.zip)

-	Sony Ric Disabled / Enabled Depends on Rootkernel Config

-	Netflix working

-	Kernel can be set to Permissive via Terminal command.

-	TWRP 3.0.2 (from Rootkernel_4.5.1)

-	Remoteplay only works with Ric enabled and magisk uninstalled (make 2 boot.img for swapping in twrp)(due to sony device)

Apps i sugest u dl on ur rooted device

-	FX File explorer

-	Terminal for Android

-	Netflix :)

-	Vanced Manager

-	Busybox (if needed)

IMPORTANT!! This Tutorial Ignores TA Partition So if you want to save them google How to Backup TA for SGP611 Before Following this Tutorial (some functionality can be regained through DRM opt in RootKernel

A Tutorial to Reproduce (*Do not Worry the Harder You Try The easier it gets)

1.	Install Drivers for Fastboot and ADB in Device Manager for your device

-	Boot Device to Fastboot by pressing Vol+ while Pluging USB Cable to PC Blue led indicates Fastboot Mode

-	Go to Device Manager and Install Driver for S1boot

-	Verify Driver installed Correctly

2.	Install Flashtool Xperifirm, Flashtool Emma from Sony, Xperia Companion, copy Platform-tools folder to C:

(if u need any files PM)

3.	Unlock Your Bootloader following instruction on Sony Developer Website (not going in to Details) *read warning above

before this

4.	Download FTF firmware file With Flashtool Xperifirm For Your Device in My Case SGP611_23.5.A.1.291_1290-4947_R2D

By selecting XF Button in Flashtool after Closing xperifirm Flashtool will convert the files and they will be stored to

%user%\.flashTool\firmwares

5.	Extract Kernel.sin Using 7zip or winrar from SGP611_23.5.A.1.291_1290-4947_R2D.ftf for patching boot.img

6.	Open Flashtool and go to Tools menu select Sin Editor search and select the Kernel.sin Previously Extracted and press Extract

Data this will Create Kernel.elf

7.	Go to RootKernelv4.51 Folder and copy the Kernel.elf there open CMD in address bar to folder and enter the command

(rootkernel kernel.elf boot.img) Select the option u like by Pressing y I selected all Options because I don’t have TA Backup

this will create a file Boot.img which is your Custom Boot Image if you want Recovery make Shure to say y when asked about

TWRP

8.	Open PRFcreator and select all options click on the … for ftf and load the SGP611_23.5.A.1.291_1290-4947_R2D.ftf file

downloaded in step 3 click on the … for SuperSU and select the Magisk_20.4.zip set all check marks and create Flashable Zip

Zip is found in PRFcreator folder (this is your stock firmware zip)

9.	Copy all files listed into a folder on your Internal storage

-	Flashable-prerooted-signed.zip (created with PRFcreator)

-	Moded Boot.img (Created with Rootkernelv4.51)

-	Disable_ric_file.zip (if not moded in Boot.img)

-	Magisk_20.4.zip (for Flashing Magisk After Flashing Boot.img)

10.	Boot Phone in to Fastboot mode, Run CMD in address bar of Platform-tools folder, and Flash twrp 2.8.7.0 (yes will be

updated after Flashing Boot.img) by entering this command in ( Fastboot flash boot twrp-2.8.7.0-scorpion_windy.img )(**this

flashed to boot because u dont have recovery befor flashing the moded boot.img and this will be changed back by flashing

the stock ftf downloaded**)

if successful Unplug and boot tab it should boot to Teamwin TWRP recovery

11.	In TWRP go to WIPE, Advanced Wipe, (Wipe: Cache, Dalvik-Cache, and System,)

before Flashing the Firmware Files

12.	On main screen TWRP go to INSTALL and Install files following order

-	Flashable-prerooted-signed.zip

-	Moded Boot.img (by selecting flash image button at the bottom in TWRP)

-	Disable_ric_file.zip

-	Magisk_20.4.zip

13.	Reboot to System Buy yourself a beer and Enjoy :)