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

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...

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.

[Q] FlashTool: Downgrade not working

Hi all,
I'm trying to downgrade my stock Lollipop ROM (23.1.A.1.28) in order to root it afterwards. I'm using FlashTool 0.9.8.15 on Linux, and it seems to work correctly - but the downgrade fails
Here's the log output of FlashTool:
Code:
30/009/2015 10:09:57 - INFO - Device connected in flash mode
30/010/2015 10:10:07 - INFO - Selected Bundle for Sony Xperia Z3 (D6603). FW release : 23.0.A.2.93. Customization : Generic GLOBAL
30/010/2015 10:10:07 - INFO - Preparing files for flashing
30/010/2015 10:10:40 - ERROR - No space left on device
30/010/2015 10:10:40 - INFO - Cannot open bundle. Flash operation canceled
30/010/2015 10:10:58 - INFO - Device disconnected
30/011/2015 10:11:10 - INFO - Device connected with USB debugging on
30/011/2015 10:11:11 - INFO - Connected device : Sony Xperia Z3
30/011/2015 10:11:11 - INFO - Installed version of busybox : N/A
30/011/2015 10:11:11 - INFO - Android version : 5.0.2 / kernel version : 3.4.0-perf-g4d6e88e / Build number : 23.1.A.1.28
Opening that FileCommander coming with the ROM I get the info that there's 11.6 GB free on the phone and all 59,4 GB on the SD card. So - how's this??? And (more important): How to fix it?
Thanks for your kind help
Where have you stored the FTF?
Argh, the problem was so easy to solve - I just had to understand that error message - my hard drive simply got filled up when FlashTool tried to unpack the FTF :-/
Hi, I'm trying to do the same thing. I'm using flashtool 0.9.18.6 on windows 8 computer. I keep getting an error prompt stating "processing of loader.sin finished with errors."
Iceberg1914 said:
Hi, I'm trying to do the same thing. I'm using flashtool 0.9.18.6 on windows 8 computer. I keep getting an error prompt stating "processing of loader.sin finished with errors."
Click to expand...
Click to collapse
Please double check FTF integrity.
If necessary, downlaod a fresh uncorrupted FTF

Z3 bootloop after reverting modded camera

Hello all, this is my first Sony phone but this is not my first time rooting or anything, I have a OPO and upgraded to this. Love it so far.
Here's my problem, I had camera zadas http://forum.xda-developers.com/crossdevice-dev/sony-themes-apps/mod-xperia-camera-unlocked-t3071161 and wanted to change it to the new Z5 camera so I flashed this http://forum.xda-developers.com/crossdevice-dev/sony-themes-apps/mod-xperia-z5-premium-camera-libs-files-t3260819 in recovery before removing camera zadas because I thought it would over write it, nope.
Just worsened image quality so I try to revert back by restoring my stock camera app "SEMCamera UI" or something and put it in priv-app where its supposed to be. I do that and reboot and now I am in a bootloop.
I can reboot to dual recovery and it shows philztouch,
in the flashtool prompt it shows,
11/037/2015 20:37:27 - INFO - Selecting from user input
11/037/2015 20:37:36 - INFO - Connected device : D66XX
11/037/2015 20:37:37 - INFO - Installed version of busybox : BusyBox v1.22.1 static (2015-01-01 14:27 +0800) multi-call binary.
11/037/2015 20:37:37 - INFO - Android version : / kernel version : 3.4.0-perf-g5c87ba0-02008-gbe52486 / Build number :
11/037/2015 20:37:37 - INFO - Phone in recovery mode
11/037/2015 20:37:37 - INFO - Root Access Allowed
I rooted using this
http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
I have a locked bootloader
I cannot get into flashmode.
Im just not sure what to do from this point, I have the stock firmwares on hand, I'm just wondering if its safe to flash or what.
If you need more info just ask. Thank you in advance from a sony noob
EDIT: [finally got drivers for flashmode, just reverted]

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

Unable to root my XZ - please help

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.

Categories

Resources