Unable to root my XZ - please help - Sony Xperia XZ Questions & Answers

Hi all,
would anyone be so kind to walk me through the process of rooting my Xperia XZ (F8331). I need this to be allowed to run a network sniffer which I need to resolve a weird network problem I have with IPv6.
---- Long story & rants ----
I admit, I am running out of patience, sorry for that.
I have tried to root my XA F8331 (Android 8.0.0) for more than 2 days now with no success. Host computer is Windows 10 x64. I wade knee deep in outdated, incomplete, misleading, simply not working for some reason, laden with unclear abbreviations and all other kind of time wasting misinformation both in this forum and anywhere else. I tried to use tools like flashtool, magisk, superuser, supersu and some others but obviously either they didn't do the trick, require I do things I don't understand, require I intstall and use other tools I don't have, or they didn't work at all, or the descriptions on how to install and use them were so unclear that I didn't even get them installed or they crashed right upon start.
So please don't post the usual "have you read this ... " thread pointers, chances are high I have read it, and tried to do like described, but got stuck at some point where things don't work like described, rendering the whole thing useless. I will happily follow hreads, however, if you are confident that the information given is accurate for the XZ ( F8331) on Android 8.0.0 and up to date (9/2018).
Desaster status:
I think I have successfully unlocked the bootloader (using flashtool 0.9.24), since the phone when rebooted gives me a yellow warning that the device must be considered unsafe. This is also where Flashtool drops out, the next step (root the phone using SuperSu oder SuperUser) fails with a fairly non-helpful error message that "The part1 exploit did not work".
This is what flashtool has to say on loading:
05/044/2018 10:44:27 - INFO - Flashtool Version 0.9.24.4 built on 01-02-2018 22:15:00
05/044/2018 10:44:27 - INFO - Searching for a web proxy
05/044/2018 10:44:34 - INFO - No proxy found, using direct connection
05/044/2018 10:44:35 - INFO - Syncing devices from github
05/044/2018 10:44:35 - INFO - Opening devices repository.
05/044/2018 10:44:35 - INFO - Scanning devices folder for changes.
05/044/2018 10:44:40 - INFO - Pulling changes from github.
05/044/2018 10:44:40 - INFO - Devices sync finished.
05/044/2018 10:44:41 - INFO - Loading devices database
05/044/2018 10:44:41 - INFO - Loaded 115 devices
05/044/2018 10:44:41 - INFO - Starting phone detection
05/044/2018 10:44:51 - INFO - Device connected with USB debugging on
05/044/2018 10:44:52 - INFO - Connected device : Sony Xperia XZ
05/044/2018 10:44:52 - INFO - Installed version of busybox : N/A
05/044/2018 10:44:52 - INFO - Android version : 8.0.0 / kernel version : 3.18.66-perf-g27418207c1b5-04571-gda413b97f3a4 / Platform : 64bits / Build number : 41.3.A.2.184
05/044/2018 10:44:52 - INFO - Root access denied
And this is what it says when I try to Root:
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\PsNeuter\psneuter.tar.uue to /data/local/tmp
05/046/2018 10:46:07 - INFO - Pushing C:\Users\Linder\.flashTool\devices\busybox\1.20.2\busybox to /data/local/tmp/busybox
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\su to /data/local/tmp/su
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\Superuser.apk to /data/local/tmp/Superuser.apk
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\install-recovery.sh to /data/local/tmp/install-recovery.sh
05/046/2018 10:46:08 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\99SuperSUDaemon to /data/local/tmp/99SuperSUDaemon
05/046/2018 10:46:08 - INFO - Running part1 of Root Exploit, please wait
05/046/2018 10:46:08 - INFO - Running rootit
05/046/2018 10:46:08 - INFO - Waiting for device. After 60secs, stop waiting will be forced
05/050/2018 10:50:06 - INFO - Forced stop waiting.
05/050/2018 10:50:06 - ERROR - The part1 exploit did not work
05/050/2018 10:50:06 - INFO - Cleaning files
Note that when Androxyne expects 60s, it is in fact 4 minutes, before the program recovers from the error.
I went with flashtool, because this brought me the farthest, other approaches like Magisk failed because they rely on me having mysterious images of something, which I don't have, and/or make use of some other mysterious tool (TWRP) which I am usure where to get, how to use, and how it fits into the Magisk process, or make choices in a bootloader which never appears on my Xperia (screen is just black/blank if I boot in fastboot or flashmode or use commands like "adb reboot bootloader"
Thanks to the forum restrictions I am also forced to post here, instead of using the correct section where it's all about ROMS and firmwares, sorry for that, but I had no choice.
Anyone who is able to give me a hand and help me out?#
Thanks, Armin

Now that you have unlocked bootloader ( you should have gone with official unlock method)
Just search for latest twrp for xz. Download it. Now turn the phone off and hold volume up and connect usb to pc. Flash the twrp using ADB.
Next step is flashing a rootable kernel. Just download the latest from the forum. Again flash using ADB command. Now hold power + vol up till phone vibrates.release the buttons and wait for the recovery to boot up. Now flash magisk zip,and drm fix zip. Viola,it's done.
Btw this is the correct section for questions and problems not development section.
Ps: there is no other way to root this phone. So if you don't want to work with ADB and Twrp you can kiss root goodbye.

Hi Joseph,
many thanks to you, I'll try your instructions when I return home tonight, and let you know how things went.
It already feels good to know that there is someone out there, I was already upon giving up ...
Best regards from Bavaria, Armin.

Nimral said:
Hi all,
would anyone be so kind to walk me through the process of rooting my Xperia XZ (F8331). I need this to be allowed to run a network sniffer which I need to resolve a weird network problem I have with IPv6.
---- Long story & rants ----
I admit, I am running out of patience, sorry for that.
I have tried to root my XA F8331 (Android 8.0.0) for more than 2 days now with no success. Host computer is Windows 10 x64. I wade knee deep in outdated, incomplete, misleading, simply not working for some reason, laden with unclear abbreviations and all other kind of time wasting misinformation both in this forum and anywhere else. I tried to use tools like flashtool, magisk, superuser, supersu and some others but obviously either they didn't do the trick, require I do things I don't understand, require I intstall and use other tools I don't have, or they didn't work at all, or the descriptions on how to install and use them were so unclear that I didn't even get them installed or they crashed right upon start.
So please don't post the usual "have you read this ... " thread pointers, chances are high I have read it, and tried to do like described, but got stuck at some point where things don't work like described, rendering the whole thing useless. I will happily follow hreads, however, if you are confident that the information given is accurate for the XZ ( F8331) on Android 8.0.0 and up to date (9/2018).
Desaster status:
I think I have successfully unlocked the bootloader (using flashtool 0.9.24), since the phone when rebooted gives me a yellow warning that the device must be considered unsafe. This is also where Flashtool drops out, the next step (root the phone using SuperSu oder SuperUser) fails with a fairly non-helpful error message that "The part1 exploit did not work".
This is what flashtool has to say on loading:
05/044/2018 10:44:27 - INFO - Flashtool Version 0.9.24.4 built on 01-02-2018 22:15:00
05/044/2018 10:44:27 - INFO - Searching for a web proxy
05/044/2018 10:44:34 - INFO - No proxy found, using direct connection
05/044/2018 10:44:35 - INFO - Syncing devices from github
05/044/2018 10:44:35 - INFO - Opening devices repository.
05/044/2018 10:44:35 - INFO - Scanning devices folder for changes.
05/044/2018 10:44:40 - INFO - Pulling changes from github.
05/044/2018 10:44:40 - INFO - Devices sync finished.
05/044/2018 10:44:41 - INFO - Loading devices database
05/044/2018 10:44:41 - INFO - Loaded 115 devices
05/044/2018 10:44:41 - INFO - Starting phone detection
05/044/2018 10:44:51 - INFO - Device connected with USB debugging on
05/044/2018 10:44:52 - INFO - Connected device : Sony Xperia XZ
05/044/2018 10:44:52 - INFO - Installed version of busybox : N/A
05/044/2018 10:44:52 - INFO - Android version : 8.0.0 / kernel version : 3.18.66-perf-g27418207c1b5-04571-gda413b97f3a4 / Platform : 64bits / Build number : 41.3.A.2.184
05/044/2018 10:44:52 - INFO - Root access denied
And this is what it says when I try to Root:
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\PsNeuter\psneuter.tar.uue to /data/local/tmp
05/046/2018 10:46:07 - INFO - Pushing C:\Users\Linder\.flashTool\devices\busybox\1.20.2\busybox to /data/local/tmp/busybox
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\su to /data/local/tmp/su
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\Superuser.apk to /data/local/tmp/Superuser.apk
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\install-recovery.sh to /data/local/tmp/install-recovery.sh
05/046/2018 10:46:08 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\99SuperSUDaemon to /data/local/tmp/99SuperSUDaemon
05/046/2018 10:46:08 - INFO - Running part1 of Root Exploit, please wait
05/046/2018 10:46:08 - INFO - Running rootit
05/046/2018 10:46:08 - INFO - Waiting for device. After 60secs, stop waiting will be forced
05/050/2018 10:50:06 - INFO - Forced stop waiting.
05/050/2018 10:50:06 - ERROR - The part1 exploit did not work
05/050/2018 10:50:06 - INFO - Cleaning files
Note that when Androxyne expects 60s, it is in fact 4 minutes, before the program recovers from the error.
I went with flashtool, because this brought me the farthest, other approaches like Magisk failed because they rely on me having mysterious images of something, which I don't have, and/or make use of some other mysterious tool (TWRP) which I am usure where to get, how to use, and how it fits into the Magisk process, or make choices in a bootloader which never appears on my Xperia (screen is just black/blank if I boot in fastboot or flashmode or use commands like "adb reboot bootloader"
Thanks to the forum restrictions I am also forced to post here, instead of using the correct section where it's all about ROMS and firmwares, sorry for that, but I had no choice.
Anyone who is able to give me a hand and help me out?#
Thanks, Armin
Click to expand...
Click to collapse
How did u unlock bootloader with flashtool
I've been trying this the whole day , there's no drivers for the xz in the flashtool drivers

fidelkhaled said:
How did u unlock bootloader with flashtool
I've been trying this the whole day , there's no drivers for the xz in the flashtool drivers
Click to expand...
Click to collapse
if you click the BLU button! it will ask for unlock code by SONY, and you can do that!
---------- Post added at 09:31 AM ---------- Previous post was at 09:10 AM ----------
Code:
[QUOTE="Nimral, post: 77801422, member: 8902279"]Hi all,
would anyone be so kind to walk me through the process of rooting my Xperia XZ (F8331). I need this to be allowed to run a network sniffer which I need to resolve a weird network problem I have with IPv6.
---- Long story & rants ----
I admit, I am running out of patience, sorry for that.
I have tried to root my XA F8331 (Android 8.0.0) for more than 2 days now with no success. Host computer is Windows 10 x64. I wade knee deep in outdated, incomplete, misleading, simply not working for some reason, laden with unclear abbreviations and all other kind of time wasting misinformation both in this forum and anywhere else. I tried to use tools like flashtool, magisk, superuser, supersu and some others but obviously either they didn't do the trick, require I do things I don't understand, require I intstall and use other tools I don't have, or they didn't work at all, or the descriptions on how to install and use them were so unclear that I didn't even get them installed or they crashed right upon start.
So please don't post the usual "have you read this ... " thread pointers, chances are high I have read it, and tried to do like described, but got stuck at some point where things don't work like described, rendering the whole thing useless. I will happily follow hreads, however, if you are confident that the information given is accurate for the XZ ( F8331) on Android 8.0.0 and up to date (9/2018).
Desaster status:
I think I have successfully unlocked the bootloader (using flashtool 0.9.24), since the phone when rebooted gives me a yellow warning that the device must be considered unsafe. This is also where Flashtool drops out, the next step (root the phone using SuperSu oder SuperUser) fails with a fairly non-helpful error message that "The part1 exploit did not work".
This is what flashtool has to say on loading:
[FONT="Courier New"][SIZE="1"]05/044/2018 10:44:27 - INFO - Flashtool Version 0.9.24.4 built on 01-02-2018 22:15:00
05/044/2018 10:44:27 - INFO - Searching for a web proxy
05/044/2018 10:44:34 - INFO - No proxy found, using direct connection
05/044/2018 10:44:35 - INFO - Syncing devices from github
05/044/2018 10:44:35 - INFO - Opening devices repository.
05/044/2018 10:44:35 - INFO - Scanning devices folder for changes.
05/044/2018 10:44:40 - INFO - Pulling changes from github.
05/044/2018 10:44:40 - INFO - Devices sync finished.
05/044/2018 10:44:41 - INFO - Loading devices database
05/044/2018 10:44:41 - INFO - Loaded 115 devices
05/044/2018 10:44:41 - INFO - Starting phone detection
05/044/2018 10:44:51 - INFO - Device connected with USB debugging on
05/044/2018 10:44:52 - INFO - Connected device : Sony Xperia XZ
05/044/2018 10:44:52 - INFO - Installed version of busybox : N/A
05/044/2018 10:44:52 - INFO - Android version : 8.0.0 / kernel version : 3.18.66-perf-g27418207c1b5-04571-gda413b97f3a4 / Platform : 64bits / Build number : 41.3.A.2.184
05/044/2018 10:44:52 - INFO - Root access denied[/SIZE][/FONT]
And this is what it says when I try to Root:
[FONT="Courier New"][SIZE="1"]05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\PsNeuter\psneuter.tar.uue to /data/local/tmp
05/046/2018 10:46:07 - INFO - Pushing C:\Users\Linder\.flashTool\devices\busybox\1.20.2\busybox to /data/local/tmp/busybox
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\su to /data/local/tmp/su
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\Superuser.apk to /data/local/tmp/Superuser.apk
05/046/2018 10:46:07 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\install-recovery.sh to /data/local/tmp/install-recovery.sh
05/046/2018 10:46:08 - INFO - Pushing C:\Flashtool\custom\root\subin\Supersu\99SuperSUDaemon to /data/local/tmp/99SuperSUDaemon
05/046/2018 10:46:08 - INFO - Running part1 of Root Exploit, please wait
05/046/2018 10:46:08 - INFO - Running rootit
05/046/2018 10:46:08 - INFO - Waiting for device. After 60secs, stop waiting will be forced
05/050/2018 10:50:06 - INFO - Forced stop waiting.
05/050/2018 10:50:06 - ERROR - The part1 exploit did not work
05/050/2018 10:50:06 - INFO - Cleaning files[/SIZE][/FONT]
Note that when Androxyne expects 60s, it is in fact 4 minutes, before the program recovers from the error.
I went with flashtool, because this brought me the farthest, other approaches like Magisk failed because they rely on me having mysterious images of something, which I don't have, and/or make use of some other mysterious tool (TWRP) which I am usure where to get, how to use, and how it fits into the Magisk process, or make choices in a bootloader which never appears on my Xperia (screen is just black/blank if I boot in fastboot or flashmode or use commands like "adb reboot bootloader"
Thanks to the forum restrictions I am also forced to post here, instead of using the correct section where it's all about ROMS and firmwares, sorry for that, but I had no choice.
Anyone who is able to give me a hand and help me out?#
Thanks, Armin[/QUOTE]
wow! this is the first time i am reading some one has unlocked the xz this way ..
anways if the device is unlocked (as you say that warning is coming on every boot) then....
1. your flashtool version is OUTDATED, and for OREO it doesnt work ! it should be latest (as of now its (0.9.25.0) )
2. inbuilt rooting methods/EXPLOITS given in flashtool doesnt work for XZ,
3. simply flash twrp , DOWNLOAD IT FROM HERE
4. now take the appropriate kernel & DRMFIX.zip file from H E R E
5. download magisk & magisk Manager
6. put kernel.img , drmfix.zip, magisk17.1.zip & MagiskManager6.0.x.APK in the SD CARD of your XZ
7. [ rename the file to twrp.img and put it in [C:\Program Files (x86)\Minimal ADB and Fastboot] ] open minimal adb &fastboot, connect device in fastboot mode (blue LED) & type" fastboot flash recovery twrp.img " (without quotes ) & Enter. now disconnect the device, press volume down and power & keep pressing until you see the twrp.
8. goto install, click install IMAGE FILE, point to kernel.img from that SD CARD, select BOOT partition (very important) and do it.
9. now flash drmfix.zip, then magisk17.1.zip and clear cache and reboot device!
you are DONE!
p/s:- you can flash supersu instead of magisk but magisk has its own benefits and supersu is discontinued.

fidelkhaled said:
How did u unlock bootloader with flashtool
I've been trying this the whole day , there's no drivers for the xz in the flashtool drivers
Click to expand...
Click to collapse
As far as I remember there is a whole bunch of drivers required for a XZ to fully function with all available Xperia software, and as I have been experimenting with the device a while and installed the Sony Xperia Companion and Android Development Studio in the end I wasn't able to tell where I got which driver from and what which driver was good for.
Since all this driver stuff required for rooting is about programming via USB, as far as I understand it, I suspect that the crucial driver is the one you can download from here:
https://developer.sony.com/develop/drivers/
Since it doesn't come with any installer utility I guess you need to install it via the Windows Device Manager and go the "install legacy device manually" and "from local source" path. You'll have to unpack the .zip to any local folder and point the installation wizard's nose to it for it to work.
Please let me know whether my guess was right.
Greetz, Armin.

Related

[Q] Is it possible to root Sony Xperia E1 (D2005) with a locked bootloader?

Hello,
I've wasted a lovely sunny morning trying to root the Sony Xperia e1 with no sucess. Also did tons of research on this matter but can't find nothing conclusive...
So... I know you can unlock it if you follow sony instructions, and as far as I know you can install root with a locked bootloader using a software called flashtool. I installed flashtool and tried to root my phone, as many people suggest in their videos and tutorials, but I got an error message and it screwd my google chrome ( I fixed chrome already). The error message it's similar to this one:
18/023/2013 09:23:01 - INFO - <- This level is successfully initialized
18/023/2013 09:23:02 - INFO - Flashtool Version 0.9.9.0 built on 2012-11-13 22:53:30
18/023/2013 09:23:02 - INFO - You can drag and drop ftf files here to start flashing them
18/023/2013 09:23:13 - INFO - Device connected with USB debugging off
18/023/2013 09:23:13 - INFO - For 2011 devices line, be sure you are not in MTP mode
18/023/2013 09:23:27 - INFO - Device connected with USB debugging on
18/023/2013 09:23:27 - INFO - Connected device : X10
18/023/2013 09:23:27 - INFO - Installed version of busybox : BusyBox v1.16.2androidfull (2011-06-09 17:40:07 CST) multi-call binary. NOTE: IN MY LOG I DIDN'T HAVE BUSYBOX INSTALLED - it only apperd > Installed version of busybox : N/A > I don't understand why???!!
18/023/2013 09:23:27 - INFO - Android version : 2.3.4 / kernel version : 2.6.38-android-x86+ / Build number : GRJ22
18/023/2013 09:23:38 - INFO - Decrypting C:\Flashtool\custom\root\ZergRush\zergrush.tar.uue .enc to C:\Flashtool\custom\root\ZergRush\zergrush.tar.uue
18/023/2013 09:23:40 - INFO - Pushing C:\Flashtool\custom\root\ZergRush\zergrush.tar.uue to /data/local/tmp
18/023/2013 09:23:40 - INFO - Pushing C:\Flashtool\.\devices\X10\busybox\1.20.0\busybox to /data/local/tmp/busybox
18/023/2013 09:23:41 - INFO - Pushing C:\Flashtool\custom\root\subin\Superuser\su to /data/local/tmp/su
18/023/2013 09:23:42 - INFO - Pushing C:\Flashtool\custom\root\subin\Superuser\Superuser .apk to /data/local/tmp/Superuser.apk
18/023/2013 09:23:44 - INFO - Running part1 of Root Exploit, please wait
18/023/2013 09:23:44 - INFO - Waiting for device. After 60secs, stop waiting will be forced
18/024/2013 09:24:45 - INFO - Forced stop waiting.
18/024/2013 09:24:46 - ERROR - The part1 exploit did not work
18/024/2013 09:24:46 - INFO - Cleaning files
I installed all flash tool drivers available in the program and noticed that in the folder "devices", the model of my phone "D2005", isn't listed there - maybe it's because of this that I can't root ??? - .
I've thought of clicking on the BLU button, but since the videos and tutorials I saw didn't suggest this I got worried and afraid of screwing something up.
Well I would really love to root my phone and still have the thing locked so I can receive auto updates and don't mess with my warranty.
Maybe I'm missing something but I really got the feeling that it is possible to successfully go through this procedure and it's not necessary to unlock your bootloader and install recovery the traditional way.
Aditional Information:
Android version: 4.3;
Compilation Number: 20.0.A.1.21;
Thank you very much for your time and patience.
The best regards,
Absinto10
Towelroot.com then follow instructions, takes 5min to root. Install superuser and update binary after towelroot.

[Solved] Help me root my Z3 (Unlocked BL, Android Ver. 5.0.2, Build 23.1.A.1.28)

Hey xda-community.
First of all, excuse me for my english, i'm from Switzerland and had an iPhone (jailbroken (much easier!))
I'm getting really confused, i'm trying to root my Z3 for 4 days! Tried out different tutorials on different sites (while looking at the Device, Buildnumber and Androidversion + Instructions on the sites & programs) but it's annoying with so much undetailed tutorials (where to get .ftf, where do i find a "boot.img" <-didn't download anything from here)...
What I did until now:
Looked on my device with *#*#7378423#*#* if BL unlock is possible. It is.
Then I unlocked it over http://developer.sonymobile.com/unlockbootloader/ and it worked.
After reading about the Flashtool, i found this one: http://developer.sonymobile.com/services/flash-tool/
Used it in hope that it will root it, which it didn't when looking in the Service Info on my Z3.
I found later the real Flashtool by Androxyde and downloaded with the integrated XperiFirm the .FTF (Xperia Z3, D6603, CDA: 1288-9930, Switzerland, Customized CH)
After downloading, it unpacked the files and then the Firmware Selector window popped up. I disabled on Wipe: "CACHE" and "DATA" and pressed on Flash.
The Debug info showed text like this:
Code:
. . .
- DEBUG - (USBFlashWin32.java:65) - IN : CommandID : 4 / Flags : false,false,false / Data length : 0 / Data CRC32 : [00, 00, 00, 00]
- INFO - (X10flash.java:558) - Flashing finished.
. . .
After starting my Z3, the root button (the open lock icon) enabled for me.
Clicked on it -> selected SuperSU -> Ok -> then this:
Code:
. . .
- INFO - (RootJob.java:112) - Running part1 of Root Exploit, please wait
- DEBUG - (AdbUtility.java:270) - Pushing C:\Flashtool\custom\shells\rootit_work to /data/local/tmp/rootit
- DEBUG - (ProcessBuilderWrapper.java:93) - 110 KB/s (678 bytes in 0.006s)
- INFO - (AdbUtility.java:348) - Running rootit
- DEBUG - (ProcessBuilderWrapper.java:93) - mmap() failed. Invalid argument
- INFO - (Devices.java:120) - Waiting for device. After 60secs, stop waiting will be forced
- ERROR - (RootJob.java:123) - The part1 exploit did not work
- INFO - (RootJob.java:124) - Cleaning files
- DEBUG - (AdbUtility.java:356) - Running rm /data/local/tmp/psneuter command
- DEBUG - (AdbUtility.java:356) - Running rm /data/local/tmp/busybox command
- DEBUG - (AdbUtility.java:356) - Running rm /data/local/tmp/Superuser.apk command
- DEBUG - (AdbUtility.java:356) - Running rm /data/local/tmp/su command
- DEBUG - (AdbUtility.java:356) - Running rm /data/local/tmp/rootit command
- DEBUG - (AdbUtility.java:356) - Running rm /data/local/tmp/rootit2 command
- DEBUG - (ProcessBuilderWrapper.java:93) - rm: /data/local/tmp/rootit2: No such file or directory
Can someone somehow help me?
You're not alone with having problems
I'm trying to root my phone, too, which is equipped with 23.1.A.1.28 firmware, but I'd like to avoid unlocking the BootLoader (though it's possible according to service menu). As far as I understand the various tutorials there's just one way to root my device - downgrade firmware to 23.0.A.2.93, root by using giefroot, then install a prerooted lollipop firmware.
Alas, downgrade didn't work for me -> http://forum.xda-developers.com/z3/help/flashtool-downgrade-t3122477
Ok i found a solution and worked very good (just took some time at giefroot). I did this tutorial ( http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056 ). But before i began with it, i relocked my BL with Flashtool. I wonder if the Trimm Area isn't damaged after all
Vanta-Chan said:
Ok i found a solution and worked very good (just took some time at giefroot). I did this tutorial ( http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056 ). But before i began with it, i relocked my BL with Flashtool. I wonder if the Trimm Area isn't damaged after all
Click to expand...
Click to collapse
Say bye bye to TA partition...now join petition that Sony support Android Camera API 2.0 so that you can have similar algorithm for real time photos enhancement...

[Q] [Need Help] ST26A May be softbrick?

Hey.. I’m having trouble trying to recover my Xperia J from what I think it’s a softbrick.
My phone is using CM10. It is unlocked bootloader.
Somedays ago I was in Whatsapp and my phone freeze and started to vibrate and then to reboot.
The phone initially normal, I can use it for less than a minute and starts to reboot again. That’s all it does. Reboot, reboot and reboot…
Because of that I tried to flash it with the stock ftf (11.0.A.7.5). I got Flashtool, I install the drivers (Flashmode, fastboot, ST26). The phone can enter into flashmode and fastboot. When I try to flash (by flashmode or fastboot), it stucks in Reading device information.
I tried to flash only kernel and the same happened. I went to 3 repairservices but they can’t flash it either.
Any idea?
Sorry for my bad English… I’m from a spanishcountry.
My changelog:
24/020/2016 10:20:47 - INFO - <- This level is successfully initialized
24/020/2016 10:20:47 - INFO - Flashtool Version 0.9.22.3 built on 08-06-2016 22:30:00
24/020/2016 10:20:47 - INFO - Executing search strategies to find proxy selector
24/020/2016 10:20:47 - INFO - No proxy found for IE. Trying next one
24/020/2016 10:20:47 - INFO - Strategy firefox failed trying next one : No Firefox installation found
24/020/2016 10:20:47 - INFO - No proxy found for java. Trying next one
24/020/2016 10:20:47 - INFO - Loading devices database
24/020/2016 10:20:47 - INFO - Loaded 1 devices
24/020/2016 10:20:47 - INFO - Starting phone detection
24/021/2016 10:20:51 - INFO - Device disconnected
24/022/2016 10:20:59 - INFO - Selected ST26i / 11.0.A.7.5 / CE
24/022/2016 10:20:59 - INFO - Preparing files for flashing
24/023/2016 10:21:12 - INFO - Please connect your device into flashmode.
24/023/2016 10:21:16 - INFO - Device connected in flash mode
24/023/2016 10:21:17 - INFO - Opening device for R/W
24/023/2016 10:21:17 - INFO - Reading device information

Sony Xperia XZ F8331 Flashtool problem

Hello everybody,
i have an Xperia XZ F8331 with android 7.0 and i want to install another region software because this is with some apps preinstall and i want to flash it. I have to say that i try 3 versions of software, but the same result. When i connect the phone i recive the following error:
31/001/2017 14:01:38 - WARN - No loader found or set manually. Skipping loader
31/001/2017 14:01:38 - INFO - Loader : S1_Root_de8d - Version : 1299-4832_S1_Boot_MSM8996_LA2.0_N_110 / Boot version : 1299-4832_S1_Boot_MSM8996_LA2.0_N_110 / Bootloader status : ROOTABLE
31/001/2017 14:01:38 - INFO - Max packet size set to 4M
31/001/2017 14:01:38 - INFO - USB buffer size set to 512K
31/001/2017 14:01:43 - INFO - Parsing boot delivery
31/001/2017 14:01:43 - INFO - No flash script found.
31/001/2017 14:01:43 - INFO - Flash script is mandatory. Closing session
31/001/2017 14:01:43 - INFO - Ending flash session
31/001/2017 14:01:43 - INFO - Flashing finished.
31/001/2017 14:01:43 - INFO - Please unplug and start your phone
31/001/2017 14:01:43 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings
31/001/2017 14:01:44 - INFO - Device connected in flash mode
I have to say that i cheched Unknown Sources and Debugging and i do all the steps.
Can anybody tell me what can i do?
Thank you
does flashtool pop up a message to you as soon as you plug it in for starting the flash process?
well, this little window message is about "script " to use... and you have to click YES... if you click No, you'd get that error or similar one...
what build numbers you were trying to flash?
i flashed Nordic Generic with no bloatware... except AVG anti-virus and those typical google apps (just disable them) so it's pretty much clean rom!
also go to devices same folder where firmware is stored... and go to XZ folder and check if you have all the required files... just screenshot all and send in here , and lets see how i can help you
Thank you for your answer. When i connect the phone flashtool doesn't pop up any window, just stay for 10 seconds, and for the first time i was tinking that is working but, after that i recive the error. On my phone i have android 7.0: 39.2.A.0.386.
I try with following software:
Xperia XZ_F8331_39.2.A.0.361_Nordic_Generic 7.0
Xperia XZ_F8331_39.2.A.0.374_Australia_Generic 7.0
Xperia XZ_F8331_39.0.A.3.30_Central Europe 1_Generic 6.0.1
and i revice the same results. I have to say that i install drivers from Flashool folder and its all good.
I even try from another computer and the same results... I have to say that i use Flashool for a long time. I flash Xperia X, Xperia Z3, Xperia Z1 and Xperia Z3 Tablet for many times and i had no problem...
kriprii said:
I even try from another computer and the same results... I have to say that i use Flashool for a long time. I flash Xperia X, Xperia Z3, Xperia Z1 and Xperia Z3 Tablet for many times and i had no problem...
Click to expand...
Click to collapse
ok go to that folder: C:\Users\yourcomputername\.flashTool\devices\F83XX
and you should have some script files exactly like in the attached picture below!
if you don't have that folder... try to uninstall Flashtool and start a fresh installation....
but if you have, you need to create a flash-script otherwise the flashing will not gonna succeed at all....
now, follow the steps carefully.... believe me, its so easy...
first off,
make sure flashtool isn't running (if so, close it)
we're going to select the ( F8331_39.2.A.0.361_R5C_Nordic Generic ) for flashing... it's good and it doesn't have bloatware...
(i flashed it in mine)
2- go to the folder "Devices" scroll down to F83XX... open it, and you will find some .fsc files
copy the name "F8331_39.2.A.0.361_R5C_Nordic Generic" (this is how i have it, if the name you have is different than mine, then use yours....
and then go to that script -> F8331_39.2.A.0.327.fsc then rename it and overwrite with the same one we copied (the one you will use for flashing)
then open flashtool for flashing... wait until the window pops up asking you to connect your phone for flashing... then put your phone..... a message will pop up notifying you about "a new script was detected and if you want to use it" click YES or OK.. and then wait, and hopefully it will continue the flashing process successfully...
Good luck and let me know how's everything went
it works. thank you so much.
kriprii said:
it works. thank you so much.
Click to expand...
Click to collapse
glad it worked for you ... do not forget to hit "Thanks" button
thanks
Hello there!
I'm facing a problem when I tryb to flash my XZ I'm on Oreo latest firmware and want to go back to Nougat because the battery life sucks so much on Oreo.. I can get a clean 3h30 SoT. But when I try to flash, here what Flashtool says to me:
23/038/2018 01:38:52 - INFO - Flashtool Version 0.9.18.6 built on 30-05-2015 22:30:00
23/038/2018 01:38:52 - INFO - Executing search strategies to find proxy selector
23/038/2018 01:38:52 - INFO - No proxy found for IE. Trying next one
23/038/2018 01:38:52 - INFO - Strategy firefox failed trying next one : No Firefox installation found
23/038/2018 01:38:52 - INFO - No proxy found for java. Trying next one
23/039/2018 01:39:48 - INFO - Syncing devices from github
23/039/2018 01:39:48 - INFO - Scanning devices folder for changes.
23/039/2018 01:39:53 - INFO - Pulling changes from github.
23/039/2018 01:39:53 - INFO - Devices sync finished.
23/039/2018 01:39:58 - INFO - Device disconnected
23/040/2018 01:40:26 - INFO - Selected null
23/040/2018 01:40:26 - INFO - Flash canceled
23/040/2018 01:40:48 - ERROR - root : this bundle is not valid
23/040/2018 01:40:48 - INFO - Selected Bundle for Sony Xperia XZ (F8331). FW release : 41.2.A.7.8_R2D. Customization : Customized AU
23/040/2018 01:40:48 - INFO - Preparing files for flashing
23/042/2018 01:42:21 - INFO - Please connect your device into flashmode.
23/042/2018 01:42:38 - INFO - Device connected in flash mode
23/042/2018 01:42:38 - INFO - Opening device for R/W
23/042/2018 01:42:38 - INFO - Reading device information
23/042/2018 01:42:38 - INFO - Phone ready for flashmode operations.
23/042/2018 01:42:39 - INFO - Current device : F8331 - CB512FAHJK - 1305-5167_R3E - 1302-9157_41.3.A.2.75 - GENERIC_41.3.A.2.75
23/042/2018 01:42:39 - INFO - Start Flashing
23/042/2018 01:42:39 - ERROR - root : this bundle is not valid
23/042/2018 01:42:39 - INFO - Ending flash session
23/042/2018 01:42:39 - ERROR - C:\Flashtool\devices\F83XX\loader.sin (Le fichier spécifié est introuvable)
23/042/2018 01:42:39 - ERROR - Error flashing. Aborted
23/042/2018 01:42:39 - INFO - Device connected in flash mode
23/042/2018 01:42:39 - INFO - Device disconnected
23/042/2018 01:42:45 - INFO - Device connected in flash mode
I tried with several firmawares but still get the same answer.. Any help on with this please?
Thank you
HI guys I need help with my F8331 I can't seem to flash my phone I have tried so many times with many versions of Flashtool I don't know what I'm doing wrong. I tried in both Windows 7 and Windows 10

XZP Problems> Boot issues, stuck at Sony Logo on and on, poorly rooted, now locked

Hi All,
I am writing as I am trying to fix my father's smartphone - a Sony XZP. From beginning I can tell you I am not a Sony expert, however, I am quite a tech-savvy person and now I understand this phone's full history.
Firstly my father bought it from an online marketplace, sold as refurbished and unlocked. After a few months of utilization, the camera started to have issues, it wasn't charging properly, was stuck at Sony Logo, etc. The phone was taken to several specialists, they managed to fix it once, it worked a few more months than it entered this crazy logo stuck loop.
What I figured out so far after diagnosing it, it seems like the person who sold the phone rooted it instead of officially unlocking it. Then something went rogue with the software and the specialists probably rerooted it.
I managed to pull the IMEI and obtained an unlocking code from Sony. Now, how to I proceed to fix this phone correctly?
I appreciate all support I can get.
Update 01: It seems like whatever stock software 47.1.A.16.20 I am trying to replace I still get that the device is locked. Which means the phone has a password.
Now I am completely confused. Don't know how to reinstall the entire phone.
First off what do you mean by "locked"? Are you saying the bootloader is still locked? If you followed the instructions that came with the code from Sony website it should be unlocked. If you're saying there's a user password, it should be the one your father used while he was using the phone, unless the techs you gave the phone to, to repair it put one on there. What happens when you boot the phone and what message do you get on the screen (besides the Sony logo)
bobsright said:
First off what do you mean by "locked"? Are you saying the bootloader is still locked? If you followed the instructions that came with the code from Sony website it should be unlocked. If you're saying there's a user password, it should be the one your father used while he was using the phone, unless the techs you gave the phone to, to repair it put one on there. What happens when you boot the phone and what message do you get on the screen (besides the Sony logo)
Click to expand...
Click to collapse
Hi Bob,
Thank you for your message. Let me answer each one of your queries.
1. It seems the bootloader is still locked.
2. I have instructions however, I am not at a stage where I can follow it, will explain with the below answers.
3. I figured out there is a password, don't know what the techs did, because my dad doesn't recall this sort of stuff.
4. In the meantime, while looking through scrip lines, I realized the phone was bought locked on Benelux.
5. The Key problem is at booting, the phone keeps rebooting at startup and I trying to fix this first. Plus the battery is very low and it is hard to charge it because it keeps on rebooting. I can't check the battery status.
6. After a lot of research, I have now downloaded the Stock Firmware that I found using XPERYFIRM 540 and now I am trying to flash it using Sony Mobile Flasher by Androxyde.
Hope to get more advice and progress. It is very hard to solve this backwards since I don't know what other people did on the phone.
How can I attach screenshots?
Basically I AM HERE:
05/011/2020 20:11:56 - INFO - Flashtool 0.9.28.0
05/011/2020 20:11:56 - INFO - Searching for a web proxy
05/011/2020 20:11:56 - INFO - No proxy found, using direct connection
05/011/2020 20:11:56 - INFO - Syncing devices from github
05/011/2020 20:11:56 - INFO - Opening devices repository.
05/011/2020 20:11:57 - INFO - Scanning devices folder for changes.
05/012/2020 20:12:06 - INFO - Changes have been found. Doing a hard reset (removing user modifications).
05/012/2020 20:12:06 - INFO - Pulling changes from github.
05/012/2020 20:12:07 - INFO - Devices sync finished.
05/012/2020 20:12:09 - INFO - Loading devices database
05/012/2020 20:12:09 - INFO - Loaded 127 devices
05/012/2020 20:12:09 - INFO - Starting phone detection
05/012/2020 20:12:12 - INFO - Device connected in flash mode
05/012/2020 20:12:40 - INFO - Selected Bundle for Sony Xperia XZ Premium(G8141). FW release : 1.1. Customization : Benelux
05/012/2020 20:12:40 - INFO - Preparing files for flashing
05/013/2020 20:13:19 - INFO - Please connect your device into flashmode.
05/013/2020 20:13:19 - INFO - USB buffer size set to 512K
05/013/2020 20:13:19 - INFO - Start Flashing
05/013/2020 20:13:19 - INFO - Parsing boot delivery
05/013/2020 20:13:19 - INFO - Found a boot delivery
05/013/2020 20:13:19 - ERROR - No flash script found. Flash script is mandatory
05/013/2020 20:13:19 - INFO - Sending Sync
05/013/2020 20:13:19 - INFO - Sending powerdown
05/013/2020 20:13:20 - INFO - Device connected in flash mode
OK. Press and hold volume up and power button at the same time. Phone will vibrate once and then 3 times quickly. Right after the 3rd vibration let go of the buttons phone will be off. Now you can fully charge it.
Look for the .107 firmware as it's the newest.
Download with xperifirm. Follow instructions on unpacking it.
Use newflasher to flash the firmware. Plenty of info online on how to use. Very easy. Should solve boot loop problem.
Make sure you have developer mode and USB debugging enabled, AND, correct drivers installed on your computer.
If you followed the Sony directions bootloader should be unlocked. There should be a message at startup warning you bootloader is unlocked.
---------- Post added at 01:27 PM ---------- Previous post was at 01:25 PM ----------
afterhours88 said:
Basically I AM HERE:
05/011/2020 20:11:56 - INFO - Flashtool 0.9.28.0
05/011/2020 20:11:56 - INFO - Searching for a web proxy
05/011/2020 20:11:56 - INFO - No proxy found, using direct connection
05/011/2020 20:11:56 - INFO - Syncing devices from github
05/011/2020 20:11:56 - INFO - Opening devices repository.
05/011/2020 20:11:57 - INFO - Scanning devices folder for changes.
05/012/2020 20:12:06 - INFO - Changes have been found. Doing a hard reset (removing user modifications).
05/012/2020 20:12:06 - INFO - Pulling changes from github.
05/012/2020 20:12:07 - INFO - Devices sync finished.
05/012/2020 20:12:09 - INFO - Loading devices database
05/012/2020 20:12:09 - INFO - Loaded 127 devices
05/012/2020 20:12:09 - INFO - Starting phone detection
05/012/2020 20:12:12 - INFO - Device connected in flash mode
05/012/2020 20:12:40 - INFO - Selected Bundle for Sony Xperia XZ Premium(G8141). FW release : 1.1. Customization : Benelux
05/012/2020 20:12:40 - INFO - Preparing files for flashing
05/013/2020 20:13:19 - INFO - Please connect your device into flashmode.
05/013/2020 20:13:19 - INFO - USB buffer size set to 512K
05/013/2020 20:13:19 - INFO - Start Flashing
05/013/2020 20:13:19 - INFO - Parsing boot delivery
05/013/2020 20:13:19 - INFO - Found a boot delivery
05/013/2020 20:13:19 - ERROR - No flash script found. Flash script is mandatory
05/013/2020 20:13:19 - INFO - Sending Sync
05/013/2020 20:13:19 - INFO - Sending powerdown
05/013/2020 20:13:20 - INFO - Device connected in flash mode
Click to expand...
Click to collapse
Use newflasher
Hi my friend, very useful tips.
For you to know, even if I stop it as you said, it still goes into the loop of sony logo.
I cannot see Developer Mode and USB debugging enabled since I cannot pass the crazy on and on sony logo loop. It keeps restarting. Will try tomorrow from scratch.
Use newflasher to flash the firmware. Plenty of info online on how to use. Very easy. Should solve boot loop problem.
Make sure you have developer mode and USB debugging enabled, AND, correct drivers installed on your computer.
If you followed the Sony directions bootloader should be unlocked. There should be a message at startup warning you bootloader is unlocked.

Categories

Resources