How to root E5803 - Xperia Z5 Compact Q&A, Help & Troubleshooting

all tutorias are for E5823 but not for E5803
any idea?
Thanks!

guidosl said:
all tutorias are for E5823 but not for E5803
any idea?
Thanks!
Click to expand...
Click to collapse
Same exact phone. The only difference is that they made a separate software to sell in America to avoid being sued. Flash a e5823 ROM and get your fingerprint scanner.

download your STOCK ROM (FTF) file using FLASHTOOL>> XPERIFIRM
Extract kernel.sin as Kernel.elf using flashtool
re build / MODIFY your stock kernel using http://forum.xda-developers.com/xper...el-dm-t3301605
download supersu and put it in sdcard
- flash the modified kernel (fastboot mode in flashtool)
- boot the device, goto twrp, flash SUPERSU from sdcard.
Reboot.
DONE
orr send me your KERNEL.elf file for latest firmware , i will make for u
yasuhamed @ gmail .com

YasuHamed said:
download your STOCK ROM (FTF) file using FLASHTOOL>> XPERIFIRM
Extract kernel.sin as Kernel.elf using flashtool
re build / MODIFY your stock kernel using http://forum.xda-developers.com/xper...el-dm-t3301605
download supersu and put it in sdcard
- flash the modified kernel (fastboot mode in flashtool)
- boot the device, goto twrp, flash SUPERSU from sdcard.
Reboot.
DONE
orr send me your KERNEL.elf file for latest firmware , i will make for u
yasuhamed @ gmail .com
Click to expand...
Click to collapse
Right now i followed this tutorial
http://twigstechtips.blogspot.com.tr/2016/04/sony-z5-compact-root-without-losing-ta.html
But i get an error when i try to type "rootkernel kernel.elf kernel_patched.elf"
im on linux btw

ouenvian said:
Right now i followed this tutorial
http://twigstechtips.blogspot.com.tr/2016/04/sony-z5-compact-root-without-losing-ta.html
But i get an error when i try to type "rootkernel kernel.elf kernel_patched.elf"
im on linux btw
Click to expand...
Click to collapse
use command ....... " rootkernel kernel.elf boot.img "
then it will ask you many questions
disable sony ric
disable dm varity
install DRM Stimulation
install recovery
it will compress image and creat boot.img in the same folder.
now this is your modified kernel. from FLASHTOOL select fastboot mode, connect device, "select kernel to flash" , from drop downlist select .img file (the default selected is .sin)
and flash boot.img. , it will be flash in less than 1 sec.
disconnect, boot, on sony logo press volume up, goto recovery, flash SUPER SU / REBOOT
done you have rooted Beauty in your hands!
---------- Post added at 10:57 AM ---------- Previous post was at 10:54 AM ----------
by the way! you can Flash SUPERSU while modifying KERNEL also, if you put v2.78.zip file in rootkernel folder, the questionare will have extra question asking you "superSU found / Install? [Y/N].
but i wont recommend you, i found two problems if you install superSU directly in kernel
1. you cannot instal su updates lateron
2. batter life reduces.
so flashing SU from Recovery is the best!

Related

[Q] Stuck!

So I updated to a new ROM and I have damaged my recover or I need to update recovery somehow.
The ROM launches and I have ADB support but not google play services or root working
I can access my bootloader (blue LED)but I don't know how to fastboot a new recovery from there
When I go to access recovery (pink LED) the recovery never loads. It used to be a CWM/TWRP dual boot, neither are working.
So I am guessing I need to flash a boot.img from the bootloader using fastboot? I can't find any boot.imgs anymore. Just all this one click **** that doesn't work at all for some reason.
Advice?
On which ROM are you?
Is it AOSP, CM or Stock based?
Is your bootloader unlocked?
If you are on windows, try using nuts dual recovery installer (if you are on stock based rom). But before u use it, u should install ADB system-wide or try to put it into a folder directly on C:/
If you are on e. g. CM12.1 you need to "fastboot flash recovery recovery.img" (you find them in the General Section)
http://forum.xda-developers.com/xperia-z2/general/twrp-recovery-collection-t2999078
Mikey94 said:
On which ROM are you?
Is it AOSP, CM or Stock based?
Is your bootloader unlocked?
If you are on windows, try using nuts dual recovery installer (if you are on stock based rom). But before u use it, u should install ADB system-wide or try to put it into a folder directly on C:/
If you are on e. g. CM12.1 you need to "fastboot flash recovery recovery.img" (you find them in the General Section)
http://forum.xda-developers.com/xperia-z2/general/twrp-recovery-collection-t2999078
Click to expand...
Click to collapse
Ok, so lots of info here you might want. =)
Yes Bootloader unlocked. I WAS on paranoid ROM kitkat. It pushed a LP OTA update, which silly me, I installed. So right now the phone is on an AOSP based LP ROM, coming from a KK ROM. There was a dual recovery approperiate for that PA KK ROM installed before.
Anyway, I downloaded a recovery from the link you posted and I am currently installing a backup from before I did all these silly and naive things. =p
My next project... How do I go back to stock so I can try a none AOSP ROM? (o:'
two ways :
- you can download a stock rom ftf file from the official thread here, then use flashtools to flash that file (a more complicated version would be to create your own ftf file using xpirifirm and flashtools), OR
- You can download a pre-rooted zip (also available on the forums here) and install that through your current recovery.
Either way make sure you do a full wipe, stock and AOSP don't like each other much from my experience.
http://forum.xda-developers.com/xperia-z2/general/ftf-cutomized-23-1-0-726-cda-1281-9809-t3082166
1. Go here and download the 23.1.A.1.28 FTF and prerooted zip. (It's the latest stock firmware version) and copy the zip file on your phone.
2. Go to recovery
3. Do a factory reset (wipe)
4. Flash the prerooted zip
5. Shut down your phone (NO REBOOT!)
6. Go to Flashtool -> Flashmode and load the FTF file
7. remove everything in "wipe"
8. on "exclude" tick the following: PARTITION, TA and SYSTEM
9. Click on flash and connect your phone via flashmode and let it flash.
10. Disconnect your phone and start
11. You are done. let the phone boot and settle and reboot one time. Now you are on stock with recovery and root.

[GUIDE] Flash updates on rooted device

DISCLAIMER:
before doing anything to your device do a backup, im not responsable for any damage to your device
all needed files: http://www.mediafire.com/download/d9egpgwlh2a2c65/Desire610.zip
1) from device open xposed app and uninstall the framework ( you will install it back when the update is finished)
2) now extract debuggerd from the zip i provided and transfer it to your phone, copy it to system>bin folder with a filemanager ( i used root browser) overwrite the existing one and give permissions rwxr-xr-x
3) now put adb folder (extract it because is zipped) to disk c in your pc and put there the stock recovery
4) power off your device, then with power and lower volume key reboot it do fastboot mode
5) connect your phone to usb. over adb folder hold shift and right click it, choose open the command window here
6) a window will pop up write there: fastboot flash recovery recovery.img wait until its done
7) now reboot and finally flash the update
8) now you need twrp and root back. for twrp redo all the 3-4-5-6 steps ( put the twrp recovery in the adb folder)
9) for root download from xda the flashable zip of supersu and flash it with recovery ( before that remove any updates of supersu if you have any)
10) open xposed and install the framework back
11)done.
my english is bad so if you dont understand something let me know
what update is this? is it the stagefright patch or something else?
MGfusion said:
what update is this? is it the stagefright patch or something else?
Click to expand...
Click to collapse
yes for the ota that fixes stagefright, and for the future ones
Stuck
porozex said:
DISCLAIMER:
before doing anything to your device do a backup, im not responsable for any damage to your device
1) from device open xposed app and uninstall the framework ( you will install it back when the update is finished)
2) now extract debuggerd from the zip i provided and transfer it to your phone, copy it to system>bin folder with a filemanager ( i used root browser) overwrite the existing one and give permissions rwxr-xr-x
3) now put adb folder (extract it because is zipped) to disk c in your pc and put there the stock recovery
4) power off your device, then with power and lower volume key reboot it do fastboot mode
5) connect your phone to usb. over adb folder hold shift and right click it, choose open the command window here
6) a window will pop up write there: fastboot flash recovery recovery.img wait until its done
7) now reboot and finally flash the update
8) now you need twrp and root back. for twrp redo all the 3-4-5-6 steps ( put the twrp recovery in the adb folder)
9) for root download from xda the flashable zip of supersu and flash it with recovery ( before that remove any updates of supersu if you have any)
10) open xposed and install the framework back
11)done.
my english is bad so if you dont understand something let me know
Click to expand...
Click to collapse
Hey man need some help here. I followed all your steps but still can't manage to update my device. when it starts to update in recovery mode it gets upto 40% and then a red triangle appears. And then I am still in my old software (1.29.707.1)
adnan.rakib said:
Hey man need some help here. I followed all your steps but still can't manage to update my device. when it starts to update in recovery mode it gets upto 40% and then a red triangle appears. And then I am still in my old software (1.29.707.1)
Click to expand...
Click to collapse
If you have jmz kernel flash the stock one and overwrite again debuggered, if still dosent work get the debuggered file of your stock untouched Rom ( 100% clean no root,removed system files etc). If still fails that means you removed some system files from your device and ota blocks update
porozex said:
If you have jmz kernel flash the stock one and overwrite again debuggered, if still dosent work get the debuggered file of your stock untouched Rom ( 100% clean no root,removed system files etc). If still fails that means you removed some system files from your device and ota blocks update
Click to expand...
Click to collapse
hi,
I flashed the stock kernel, stock recovery and pasted the debuggered you attached but it still fail on 40%...I don't know where to get the ruu for the eu rom...any ideas?
vacs03 said:
hi,
I flashed the stock kernel, stock recovery and pasted the debuggered you attached but it still fail on 40%...I don't know where to get the ruu for the eu rom...any ideas?
Click to expand...
Click to collapse
Maybe you remove some apps from the system? If yes install them back from the at&t version here on this forum with the odex files. The only way to update is to have a 100% untouched Rom and a clean debuggered file
Need some help here
vacs03 said:
hi,
I flashed the stock kernel, stock recovery and pasted the debuggered you attached but it still fail on 40%...I don't know where to get the ruu for the eu rom...any ideas?
Click to expand...
Click to collapse
How did you flash the stock kernel?
adnan.rakib said:
How did you flash the stock kernel?
Click to expand...
Click to collapse
You can use the zip from jmz kernel and past there the stock lib files and kernel from a backuped stock Rom, then flash

Tablet Z 321 with latest Lolipop firmware in boot loop

I have unlocked my tablet using Sony Developer tools. I then tried to downgrade with flashtools to a kitkat firmware . I tried 2 different firmwares for SGP 321 but both give me a boot loop.
I am using flashmode to flash , should I use fastboot mode?
any other firmware I should try or settings in the flashtool?
these are the ones I tried: SGP321_4.4.2 _10.5.A.0.233 3AT .ftf. SGP321_10.1.1.A.1.307_Customized_FR.ftf
All I want is a rooted tablet z with whatever firmware on it.
Appreciate your help
When you say boot loop, do you mean the screen goes black and starts to boot again?
Or do you mean the boot animation is repeating for a long time?
The first time you boot up after flashing an ftf will take a long time. It can range from a few minutes up to tens of minutes.
Did you select wipe USERDATA when you flashed the ftf in flash mode?
Try that if you haven't. See attached screenshot.
Checking it will wipe all your apps, data and internal storage.
I'd recommend you use the latest ROM, 10.7.A.0.228. Root and Xposed works on Lollipop 5.1.1.
Here is a Generic Germany FTF 10.7.A.0.228.
You'll need to root it by flashing supersu zip in recovery.
If you don't have a recovery flashed/installed, you should flash one.
Let me know if you need instructions on installing a recovery.
fantastic, that little trick did the job and I am now on 4.1 .
I am considering now to flash your firmware but could you give me some detailed instruction on what to do please, especially the recovery part.
thanks a lot again.
No problem.
Requirements
Program to open ZIP files
Flashtool (flashtool.net/downloads.php)
Flash mode and Fastboot drivers installed (Comes with Flashtool. Find the installer at C:\Flashtool\drivers\)
A few things you should know about recovery
If you plan on using an official Sony ROM with an unlocked bootloader, the recovery needs to be part of the kernel image.
Sony's official kernel images do not contain a recovery.
The kernel gets overwritten when you flash new ROMs (Official and Custom), so you will lose recovery every time you flash a ROM.
Thus you must reflash the kernel with recovery every time you change ROMS.
Kernel's for different versions of ROMs should not be used interchangeably.
It always best to use the kernel made for the ROM.
Flash official ROM before flashing recovery
If you are planning on using an official ROM, flash the official ROM in Download Mode before flashing the recovery (for the reason mentioned above - kernel gets overwritten).
You should wipe USERDATA to minimise compatibility issues.
Do this first before proceeding.
Downloading a kernel with recovery
Fellow xda member [NUT] has an awesome kernel builder tool which allows you to create kernel images with built in recoveries.
Head over to nut.xperia-files.com and navigate to XZDualRecovery > Kernel Builder
Check the checkbox "Yes, I have unlocked my bootloader!".
Select the Make and model of your device (Xperia Tablet Z SGP321 in your case).
Then select the firmware version you will be using (10.7.A.0.228 in your case).
Cross your fingers. If someone has already uploaded the kernel for that version, you can simply download the link provided. Otherwise you will need to upload the kernel. If you have an FTF, simply open it as a zip file and upload the kernel.sin inside.
Flashing Kernel with Recovery
Open the zip file downloaded from the Kernel Builder and open the tmp folder. Extract the boot.img file inside the tmp folder to somewhere on your computer.
Open Flashtool.
Click on the Flash Icon.
Select Fastboot mode.
Click "Select Kernel to Flash".
Put device into Fastboot mode. (2012+ devices: Press and hold VOL+ button while plugging in USB cable)
Once connected, a file selection dialogue will show. Select the boot.img file extracted earlier. You may need to select the type of file (sin, elf, img) before you can see the file in the explorer.
Flashing will start immediately after selection. Check the log and ensure there are no errors.
Unplug the USB cable.
You now have recovery (Two recoveries to be specific - as XZDualRecovery has PhilZ and TWRP).
I would recommend TWRP as it is easier to use and has more features than PhilZ (Based on CWM).
The VOL+ key is associated with PhilZ and the VOL- key for TWRP.
To enter recovery, simply turn the device on and when the notification LED turns Magenta (Pink) start pressing the button associated with the recovery you want to use.
e.g. Press VOL- a few times for TWRP.
Flashing zips
Copy your ZIPs to your SD card.
In TWRP, tap the Install button.
Select the zip file you want to flash
Swipe to the right to start flashing.
Rooting
Download the latest SuperSU zip (download.chainfire.eu/supersu)
Copy to SD card.
Flash zip in recovery.
Enjoy root.
about to start the process, just wanted to clarify some things:
what zip files are you talking about putting on my sd card? is this the file I downloaded from NUT?
thanks again for your help
Just in general, to flash a zip, you would perform those steps.
You would want to flash the SuperSU zip to get root.
You can also flash the file downloaded from NUT.
It will install a program called NDRUtils which will allow you to reboot into recovery from within Android.
I just saw when I wanted to flash the firmware from your link above (Here is a Generic Germany FTF 10.7.A.0.228.) that this identifies as for device C6603. But I have SPG321.
Do you have a link to a firmware which would work with your way and is for my device?
Oh, sorry about that. Forgot to check the model. I grabbed it from XperiaBlog.
I think I should just explain how to download and create an FTF for yourself from Sony's servers.
Install the latest Flashtool if you haven't already.
Start Flashtool
Click on the XF icon (The rightnost icon)
In XperiFirm, select the series and model of your device (Xperia Tablet Z > SGP321)
Then select the Market+Operator for your country/region. The market only differs by the apps that are pre-installed, which can be removed. Your region may not have the latest firmware available, so you can click the "Check All" button to get the versions of all the markets. You may wish to avoid commercial Operators as they can have different boot logos etc. Download a "VMo" or "Customized" operator if possible. The 228 firmware is only out in a few regions at the moment, so Germany VMo DE would be a good choice.
After selecting a row for the firmware you want, click on the latest version near the top right corner.
A window will show the details of the ROM. Click Download to start downloading. The downloads will get saved to FlashTool's Firmware Download folder.
Once the download completes, close XperiFirm.
In Flashtool, Click Tools > Bundles > Create.
Select the downloaded folder (Which should be in C:\Users\<Username>\.flashTool\firmwares\Downloads).
Double click in the device field to select the model of your device
Branding should be set to the Operator you downloaded (e.g. Generic DE)
Version should be set to the ROM version (e.g. 10.7.A.0.228)
Then in the folder list, select every item except for .ta files (e.g. cust-reset.ta, fota-reset.ta). Click the -> button to add to the Firmware Content.
Click create.
An FTF file will get created in the firmware folder. You can start flashing it in Download Mode.
If you need some screenshots. The procedure may differ slighty.
xperiablog.net/2015/03/17/guide-to-installing-xperia-lollipop-using-xperifirm-and-flashtool/
pls erase fwinfo.xml file from bundle pack of sgp321 firmware and again flash
Bilbo0a said:
I have unlocked my tablet using Sony Developer tools. I then tried to downgrade with flashtools to a kitkat firmware . I tried 2 different firmwares for SGP 321 but both give me a boot loop.
I am using flashmode to flash , should I use fastboot mode?
any other firmware I should try or settings in the flashtool?
these are the ones I tried: SGP321_4.4.2 _10.5.A.0.233 3AT .ftf. SGP321_10.1.1.A.1.307_Customized_FR.ftf
All I want is a rooted tablet z with whatever firmware on it.
Appreciate your help
Click to expand...
Click to collapse
pls erase fwinfo.xml file from bundle pack of sgp321 firmware and again flash from flash tool

Could not verify??

I have successfully rooted my phone with locked bootloader..I downgraded as said by some senior xda devolopers (from 26.1.b.2.147 E2363 to 26.1.b.1.85 E2333)..BUT NOW OTA UPDATES ARE NOT INSTALLING NOW!!!!! I Want to go to the latest firmware.. Screenshots are attached...Thank you.
Cant even get rid of this annoying notification
saitejadsst said:
Cant even get rid of this annoying notification
Click to expand...
Click to collapse
short method http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
twrp_prerooted_M4.zip
https://www.dropbox.com/s/z0tgziwx8epdu38/twrp_prerooted_M4.zip?dl=0
This is FW update tool keeping rooted(for example, from 26.1.B.1.85 to 26.1.B.2.147, from 26.1.A.1.112 to 26.1.A.2.167)
Works on TWRP
First, prepare target ftf(lollipop)
Extract kernel.sin and system.sin from ftf
Convert kernel and system by using Flashtool, and get kernel.elf and system.ext4
Add kerel.elf and system.ext4 to twrp_prerooted_M4.zip
Install zip on TWRP
Long process.
do this at your risk.
now that you have root with locked bootloader
download TA Backup (http://forum.xda-developers.com/showthread.php?t=2292598)
and take a backup of your TA partition - keep it in a safe place, do not edit it (this will help you lock the BL again later and this is phone unique, you will need it untill you have this phone)
unlock your bootloader (your risk )
flash the latest firmware FTF
flash recovery.img (http://forum.xda-developers.com/m4-aqua/development/recovery-twrp-touch-recovery-sony-m4-t3229873)
flash supersu 2.46 through recovery (https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
reboot phone
Use TA Backup and restore the TA partition.
now you have latest firmware and Root and locked bootloader.
install recovery for Locked Bootloader (http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
now you have latest firmware + Recovery + Locked Bootloader.
Note: I am not responsible if your phone bricks or any other issue. answer to all questions can found in the forum.
since you are rooted you can't get ota updates
use the method described here http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
twrp_prerooted_M4.zip
This is FW update tool keeping rooted(for example, from 26.1.B.1.85 to 26.1.B.2.147, from 26.1.A.1.112 to 26.1.A.2.167)
Click to expand...
Click to collapse
RohitBopnna said:
short method http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
twrp_prerooted_M4.zip
https://www.dropbox.com/s/z0tgziwx8epdu38/twrp_prerooted_M4.zip?dl=0
This is FW update tool keeping rooted(for example, from 26.1.B.1.85 to 26.1.B.2.147, from 26.1.A.1.112 to 26.1.A.2.167)
Works on TWRP
First, prepare target ftf(lollipop)
Extract kernel.sin and system.sin from ftf
Convert kernel and system by using Flashtool, and get kernel.elf and system.ext4
Add kerel.elf and system.ext4 to twrp_prerooted_M4.zip
Install zip on TWRP
Long process.
do this at your risk.
now that you have root with locked bootloader
download TA Backup (http://forum.xda-developers.com/showthread.php?t=2292598)
and take a backup of your TA partition - keep it in a safe place, do not edit it (this will help you lock the BL again later and this is phone unique, you will need it untill you have this phone)
unlock your bootloader (your risk )
flash the latest firmware FTF
flash recovery.img (http://forum.xda-developers.com/m4-aqua/development/recovery-twrp-touch-recovery-sony-m4-t3229873)
flash supersu 2.46 through recovery (https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
reboot phone
Use TA Backup and restore the TA partition.
now you have latest firmware and Root and locked bootloader.
install recovery for Locked Bootloader (http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
now you have latest firmware + Recovery + Locked Bootloader.
Note: I am not responsible if your phone bricks or any other issue. answer to all questions can found in the forum.
Click to expand...
Click to collapse
I have downloaded twrp prerooted.zip....now what to do...??how to prepare target ftf lollipop?? where will I find kernel.sin..? I am a beginner please explain process in detail..... Thank you....
Also..how can i open twrp recovery on my device?? Its not opening....
saitejadsst said:
Also..how can i open twrp recovery on my device?? Its not opening....
Click to expand...
Click to collapse
After gaining Root, install TWRP Recovery for Locked Bootloader http://forum.xda-developers.com/m4-aqua/development/bl-locked-twrp-touch-recovery-bl-locked-t3257430
download the M4Aqua-lockedTWRP-0.1-installer extract it to \Flashtool\x10flasher_lib folder, connect the Phone USB and run the installer.bat file, grant admin access on phone when you see the popup, this will install TWRP
to Open TWRP on Locked Bootloader, reboot the phone, when you see the Sony Logo, start pressing the Volume Down button, it will take you to TWRP Recovery.
saitejadsst said:
I have downloaded twrp prerooted.zip....now what to do...??how to prepare target ftf lollipop?? where will I find kernel.sin..? I am a beginner please explain process in detail..... Thank you....
Click to expand...
Click to collapse
1. Make sure you have Winrar installed
2. In the latest flashtool (9.19.10) click on the XF button(screenshot below) this will open XperiFirm
here select M4 Aqua and choose your model number and click on your phone CDA (CDA can be found in the Service Menu - dial *#*#7378423#*#* > select Service Info > select software info > look under Customization version)
now on XperiFirm click on the latest firmware version number on the right (under the PayPal button)
this will open the download option to download the latest firmware, click download and choose where you want to save it.
next after download completes the file that were downloaded have to be converted to FTF.
close XperiFirm, on Flashtool, click Tools > Bundles > FILESET Decrypt.
click on the small three dots and navigate to the folder where the firmware files were downloaded and click ok.
you should see 4 files (all in the format File_xxxxxxx), select each file and click on the arrow to move the files to the Files to Convert Section and click convert.
a new window called Bundler opens, in it you will see a list of files, move them all to the Firmware content side.
double click on right space provided next to Device and double click on M4 Aqua and double click on your phone model number
for Branding type your CDA number and your country, for Version enter the firmware version (e.g. 26.1.A.1.167) and click create
this will create the FTF file and save it in the C:\Users\<your username>\.flashTool\firmwares folder.
open the FTF file with winrar and extact system.sin and kernel.sin files.
again open Flashtool, click Tool > Sin Editor.
browse and select kernel.sin that you extracted, click open and click Extract Data > this will extract kernel.elf file
again browse and select system.sin that you extracted, click open and click Extract Data > this will extract system.ext4 file
now open twrp_prerooted_M4.zip file with winrar, add the kernel.elf and system.ext4 file and save the zip file.
copy this zip file to your phone SDCard
boot to TWRP, click Install, select the zip file and install
Problem solved!! Thanks a lot!!

[stock 8.0][Unlocked bl][34.4.A.2.19; ...32; ...85] Root and Recovery (3 clicks)

Thanks to serajr here - https://forum.xda-developers.com/showpost.php?p=75505302&postcount=2973 Go directly to that post and give thanks.
You need:
Stock O ftf (best to use Flashtool/Xperifirm)
Modded boot img for 34.4.A.2.19 - https://mega.nz/#!AgtQ2Sob!JjLRcUVjuy6FNanjGY49g-YYmkcda04witfHp4hwvmo
Modded boot img for 34.4.A.2.32 - https://mega.nz/#!Z1tzEJbZ!e9ET_RtUpKjXRwnJa_TDsMrVwvT-hPxmk06KtryHOuc
Modded boot img for 34.4.A.2.85 - https://mega.nz/#!p5UwAabR!_ofmr_WdId9RdH48Xb3cZtSIzsQ6qcTJTAFYcKHFWJE
Kernel elf file to use with rootkernel [34.4.A.2.85] - https://mega.nz/#!M102lYTZ!9bj2KE-vbNWlej3Dw0NuiXJcfpgiy16svSHud73bLfw
Modded boot img for 34.4.A.2.107 - https://mega.nz/#!Nls0EQBR!Cc4lVcA85f8YeNTo8nMqsuwLzveW5duSbyeZDlI5kDE
Kernel elf file to use with rootkernel [34.4.A.2.107] - https://mega.nz/#!Zp10CASK!iGLE94Tj1SSk1U2p4KLpVrcGmD68C3YvqKMXD6VPFjI
Modded boot img for 34.4.A.2.118 - https://mega.nz/#!14VkzCCB!GK-KEv0A-ZyhysXc1-IusyJjJEB-D5ZWOLm1DRt31tA
Kernel elf file to use with rootkernel [34.3.A.2.118] - https://mega.nz/#!Ylcm1SwA!GuX9dfd2HAqLXy1jom-C6mgP0s4jYXl9qSySkvb_mtA
TWRP - https://forum.xda-developers.com/x-compact/development/ub-twrp-v3-2-1-xperia-x-compact-t3793837
1. Flash stock ftf from Xperifirm via Flashtool
2. After flash, connect in fastboot (before booting phone) and type in command line 'fastboot flash boot boot.img' (this assumes that your modified boot img is in the current directory,and is named 'boot.img'; otherwise, you need to edit the command accordingl)
3. Then type 'fastboot flash recovery twrp-3.2.1.img' (same note as above)
Done
Now, you can flash Magisk, (or whatever), and have root access.
If you want Drm fix, flash serajr's zip here - https://forum.xda-developers.com/attachment.php?attachmentid=4404527&d=1517335127
If you want to restore your own ta with munjeni tool, you will need to patch boot img yourself with rootkernel tool here - https://forum.xda-developers.com/showpost.php?p=74724162&postcount=2793
How to get stock kernel elf and patch your boot img with rootkernel:
1. Download and build stock ftf from Xperifirm via Flashtool
2. Go to Flashtool > tools > sin editor, and navigate to stock kernel sin file, in the downloaded firmware folder. Click on sin file and choose 'exrract data', and it will create a kernel elf.
3. Follow the guide by serajr. You need only to put the kernel elf into rootkernel folder, then open a command prompt there and run 'rootkernel kernel.elf boot.img'. Answer all questions 'yes', unless you want to skip drm fix and restore your own ta, (if that's the case, you need your target file in that folder renamed to TA.img). After script runs, you will have a new boot img that you can use to follow the guide.
Done...
Magisk, MicroG, and Xposed tested... (update - I haven't tried yet, but I've read that Xposed not working on ...85; update 2 - confirmed, bootloop; update 3 - Xposed fix now available here - https://forum.xda-developers.com/x-compact/themes/xposed-fix-118-t3870673)
I made a patched boot img with rootkernel tool and uploaded it. Link in op. Don't forget to thank serajr...
Can confirm the above method worked for me. I used the TA.img instead of drm fix, and i get root and security test still have widefine and fidokeys enabled.
Just slight reminder for linux user, you need to add execute permission on both `rootkernel` and `bootimg`, otherwise rootkernel tool will fail with permission issue.
levone1 said:
I made a patched boot img with rootkernel tool and uploaded it. Link in op. Don't forget to thank serajr...
Click to expand...
Click to collapse
With which options is your modified boot image prepared?
maluus said:
With which options is your modified boot image prepared?
Click to expand...
Click to collapse
Dm-verity disable - yes
Force encrypt disable - yes
Drm fix - yes
For Drm fix you still have to flash serajr zip. If you want to restore ta with munjeni tool, you will need to patch boot yourself.
Op updated for 3-click root...
SuperSU,Xposed
Hello,
can you please help me with a little problem? I just did everything step by step, but I can't still get root access (after flashing boot.img SuperSU still shows "no root detected"). And one more question. I used that DRM fix zip, but still get "Not provisioned". Am I miss something? (but nevermind, I can use my TA backup, but I'm just curious about that).
Thanks guys.
Arsis said:
Hello,
can you please help me with a little problem? I just did everything step by step, but I can't still get root access (after flashing boot.img SuperSU still shows "no root detected"). And one more question. I used that DRM fix zip, but still get "Not provisioned". Am I miss something? (but nevermind, I can use my TA backup, but I'm just curious about that).
Thanks guys.
Click to expand...
Click to collapse
...
Arsis said:
Hello,
can you please help me with a little problem? I just did everything step by step, but I can't still get root access (after flashing boot.img SuperSU still shows "no root detected"). And one more question. I used that DRM fix zip, but still get "Not provisioned". Am I miss something? (but nevermind, I can use my TA backup, but I'm just curious about that).
Thanks guys.
Click to expand...
Click to collapse
Boot img just enables modification by disabling Sony security stuff, but you still need to flash whatever mod you want. So after flashing boot and recovery img, then flash supersu (or whatever), and you should have root.
I can't say about drm fix, since I've never used it before, but I don't think it will show fido provisioned, etc, because it simply recreates the drm functions through a different method, (not with ta).
I was able :laugh::good: Xposed release link
levone1 said:
Boot img just enables modification by disabling Sony security stuff, but you still need to flash whatever mod you want. So after flashing boot and recovery img, then flash supersu (or whatever), and you should have root.
I can't say about drm fix, since I've never used it before, but I don't think it will show fido provisioned, etc, because it simply recreates the drm functions through a different method, (not with ta).
Click to expand...
Click to collapse
Oh, well. Thank you! It's working now.
Hello,
i flashed on my sony with oreo this boot.img and twrp and im stuck on sony logo. Any ideas what could be wrong? I tried android 34.4.A.0.364 singapure and UK versions and neither of these works with this twrp.
I have the newest platform-tools and flashing went well.
Thanks
Stephenhs said:
Hello,
i flashed on my sony with oreo this boot.img and twrp and im stuck on sony logo. Any ideas what could be wrong? I tried android 34.4.A.0.364 singapure and UK versions and neither of these works with this twrp.
I have the newest platform-tools and flashing went well.
Thanks
Click to expand...
Click to collapse
Can you try running the tool and creating the boot.img yourself? I use the singapore ftf and doesn't have problem booting the system (with the boot img I created myself). I do not put twrp on boot img though. I boot twrp from fastboot when needed
I created boot.img and everything works Thanks a lot!
I dont understang the part that says :
Android Oreo ramdisk patching needs some additional files, and they must be copied from Oreo /system into the rootkernel's filesystem_files folder, prior to run the script, and they are:
Code:
/system/vendor/etc/fstab.qcom
/system/vendor/etc/init/hw/init.qcom.rc
/system/vendor/etc/init/hw/init.target.rc
(you can pull these files through adb, or even converting system.sin to system.ext4 and take them out from there - just copy them, and DO NOT touch its contents)
how to do that!? im noob...
Kianush said:
I dont understang the part that says :
Android Oreo ramdisk patching needs some additional files, and they must be copied from Oreo /system into the rootkernel's filesystem_files folder, prior to run the script, and they are:
Code:
/system/vendor/etc/fstab.qcom
/system/vendor/etc/init/hw/init.qcom.rc
/system/vendor/etc/init/hw/init.target.rc
(you can pull these files through adb, or even converting system.sin to system.ext4 and take them out from there - just copy them, and DO NOT touch its contents)
how to do that!? im noob...
Click to expand...
Click to collapse
Post linked in op has special instructions for us with Xc - skip that part.
https://forum.xda-developers.com/showpost.php?p=74724162&postcount=2793
hello guys, i've created a boot.img whit the tool of rootkernel whit my ta.backup but it does not work. the boot it's ok but if i chek my drm keys they say not provisioned. my ta.backup load 2.097.152 byte like the post shows. can someone help me? thanks
update:
sorry guys, i've done again the kernel patch whit my ta backup and this time goes perfect. i don't know why the first time didn't work but now it's ok!
I tried the 3 click method, without doing any boot image myself, but impossible to decrypt with TWRP (or reboot to system).
Wxfdswxc said:
I tried the 3 click method, without doing any boot image myself, but impossible to decrypt with TWRP (or reboot to system).
Click to expand...
Click to collapse
Twrp - https://forum.xda-developers.com/x-compact/development/twrp-3-2-1-decryption-t3751998
As for rebooting to system, can't say for sure... Root method involves only changing boot img, so shouldn't affect system. Any errors in fastboot, etc?
Original flash should be clean flash official stock ftf from Xperifirm. First boot could be 10 minutes...

Categories

Resources