yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 General] Roy Aldo Y:
Thanks it works

---------- Post added at 09:28 AM ---------- Previous post was at 09:24 AM ----------

Device Detected!

List of devices attached

CB5A24R4TL device

Cleaning up for fresh install ...

Installing ...

[100%] /data/local/tmp/mm_twrp_recovery_install/boot_twrp_recovery.sh

[100%] /data/local/tmp/mm_twrp_recovery_install/busybox

[100%] /data/local/tmp/mm_twrp_recovery_install/byeselinux.ko

[100%] /data/local/tmp/mm_twrp_recovery_install/chargemon.sh

[100%] /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh

[100%] /data/local/tmp/mm_twrp_recovery_install/iovyroot

[100%] /data/local/tmp/mm_twrp_recovery_install/modulecrcpatch

[100%] /data/local/tmp/mm_twrp_recovery_install/recovery.twrp.cpio.lzma

[100%] /data/local/tmp/mm_twrp_recovery_install/wp_mod.ko

iovyroot by zxz0O0

poc by idler1984

Error: Device not supported

Device name: D6653

Kernel version: Linux version 3.4.0-perf-gc14c2d5 (BuildUser@BuildHost) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Jun 28 11:15:51 2016

Finished!

Rebooting into TWRP recovery ...

I cant reboot into recovery.

Please help me thanks :)
[Xperia Z3 General] shoey63:
You still haven't flashed 575 kernel successfully. The build date should be April 22.
[Xperia Z3 General] Roy Aldo Y:
What is it success ?

[youtube]P-GKI4zeEoo[/youtube]

Please help me, thanks :)
[Xperia Z3 General] shoey63:
You ticked the box to EXCLUDE the kernel. Dont do that. Leave it blank.
[Xperia Z3 General] naimarshad:
Hello there,

I updated to lineage os, and did not upgrade the recovery. Now I'm trying to follow this guide. Everything works will. But I get stuck on teamwin splash screen. Please help.
[Xperia Z3 General] shoey63:
Your bootloader must be unlocked then. Flash a newer TWRP to recovery /Fota kernel partition or flash an advanced stock kernel and go from there. You don't really need this tool.
[Xperia Z3 General] naimarshad:
Will you please guide me to some link or thread to follow. Even I tried a newer twrp which was in same thread mentioned for z3dual. But it still stays the same, splash screen.!!
[Xperia Z3 General] Roy Aldo Y:
http://imgur.com/a/IT2M1

What it is success ?
[Xperia Z3 General] casouzaj:
This is the 575 kernel. You are now ready to run the install.bat file. Good luck!
[Xperia Z3 General] Roy Aldo Y:
Thanks it works :good:
[Xperia Z3 General] maxi16:
Hello Guys,

i have a question. Can i use this guide if my Z3 has already a unlocked bootloader? In the Guide it wohn't be claryfied.

And is it important which kernel version i have? Because on my device runs the stock firmware 23.5.A.1.291 and the Kernel Version 3.4.0-perf-gc14c2d5 Build User@BuildHost #1 Tue Jun 28 11:15:51 2016.

So want to know if i can use this guide with this kernel version.

Thx for the answers.
[Xperia Z3 General] Black4Killer:
Hello

Ty, Nice Work.

I had no installation problem. I have a question you have new version twrp LB 3.1.0 or 3.1.1 ? :)
[Xperia Z3 General] Licaon_Kter:
Latest for LB is 3.0.2, IIRC, newer versions need UB (something to do with dm-verity, if I understood correctly)
[Xperia Z3 General] heywheelie:
In the OP it says to flash SuperSU 2.82 (but not the one dated 20170527). The link in the OP doesn't work for me so I've searched the net for it but can only find SuperSu 2.82 dated 20170527. Could someone please post a link to the fixed SuperSU 2.82?
[Xperia Z3 General] Licaon_Kter:
Strange that the [MENTION=631273]Chainfire[/MENTION] site is down/broken

Anyway see here ( link under *** Xperia users, and others experiencing bootloops *** ) : https://xdaforums.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703

[MENTION=4675598]shoey63[/MENTION] Can you update the OP link to SuperSu 2.82 with: https://xdaforums.com/attachment.php?attachmentid=4164510&d=1496008012 ?

thanks
[Xperia Z3 General] shoey63:
Ok, done.
[Xperia Z3 General] casouzaj:
If you have Flashtool, Xperia Companion and/or other programs, which make use of adb commands, running in the background, kill them all, prior to running the install.bat file. Good luck!
[Xperia Z3 General] nhojeric214:
Damn i havent noticed i was running flash tool in the back ground. Got it working now thanks a lot!

On a side note, which of the two roms, carbon and los, do you prefer on your z3c? i want to install one of them on my z3c but i always end up being soft bricked, not to mention the tons of bugs those rom have.
[Xperia Z3 General] casouzaj:
I'm running CarbonROM for weeks now. I had LineageOS before, but I switched to CarbonROM due to multiple Bluetooth compatibility and voice quality issues. It seems they have been fixed in today's build. I won't go back to LineageOS because I have some work applications installed (software tokens, work email, etc) which would make the switch a real pain, because going back and forth between them requires a full wipe, due to some ROM signatures.
[Xperia Z3 General] nhojeric214:
Have the same concern as yours mate. Maybe ill stay away from 7.1.2 now until it becomes stable enough to be a daily driver. Thanks for your input :good:
[Xperia Z3 General] casouzaj:
Perhaps I haven't been clear enough. CarbonROM doesn't show the issues I have described. Besides, it's updated every Tuesday. So, today, a new build is up!
[Xperia Z3 General] nhojeric214:
I think the random reboots during charging still exits as some users experience the same.
[Xperia Z3 General] Chaleman:
hi all.... I just got a Z3 Tablet Compact and I want to root, but I do not want to loose DRM as I want to use some SONY apps, including PS4 Remote Play... will this tool let me root and keep DRM? (obviously, I don't want to unlock the bootloader)...

Thanks! I just want to be extra sure before proceeding....
[Xperia Z3 General] casouzaj:
Yes, this tool won't touch your bootloader status, at all! Your DRM keys will be safe after achieving root access through it.
[Xperia Z3 General] Chaleman:
Excellent!!! Thanks!
[Xperia Z3 General] Ansem:
Since it's been a while this the last time that I rooted a phone, I need to 3 questions:

1) Make sure you have ADB set up correctly -> what does it mean? how can I install ADB and make sure that is set up correctly?

2) Can I install a custom rom after this guide or I need to do something else?

3) I read that if I root or change the recovery I lose some DRM file and my phone will make worse photo than now. Is this still a problem?

thanks a lot for the answer!
[Xperia Z3 General] casouzaj:
1) If your PC runs Windows, install this: https://xdaforums.com/showthread.php?t=2317790

2) Yes, you can. It would be better if you installed an image file of TWRP 3.1 through fastboot to the FOTAKernel partition, though.

3) This rooting tool won't touch your current bootloader status, i.e. if it is currently locked, it will be kept that way. In other words, your DRM keys will be safe. They would be wiped off only if you unlocked the bootloader, for what it is practically mandatory to make a backup of the TA partition (which holds the DRM keys) prior to unlocking the bootloader. Custom Nougat builds, like CarbonROM and LinageOS, do require an unlocked bootloader, because they bring their own kernels, but there are some Marshmallow builds around, which are based on the stock ROM, that usually don't.
[Xperia Z3 General] Ansem:
Thanks a lot for the explanation!

I want to install some new rom like lineage OS :( there is some guide to restore the drm keys?

Inviato dal mio D6603 utilizzando Tapatalk
[Xperia Z3 General] casouzaj:
Not whilst running that Nougat ROM. Keep your TA backup safely stored, if possible in more than one location. A day might come when we find a way to use our DRM keys in these custom builds, or you get tired of it and want to get back to the stock Marshmallow ROM. In these cases, your TA backup would be essencial!
[Xperia Z3 General] Ansem:
What do you mean with TA? titanium backup?

Also what's the difference between the two sections of Android development?

Inviato dal mio D6603 utilizzando Tapatalk
[Xperia Z3 General] casouzaj:
No, it's the partition which holds the DRM keys. Look here: https://xdaforums.com/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-t3514236
[Xperia Z3 General] Rubenos:
Hoe can I flash this kernel without unlocking the bootloader?
[Xperia Z3 General] Licaon_Kter:
Follow the steps in the first post (use FlashTool)!
[Xperia Z3 General] Rubenos:
I ment, how is it possible if the bootloader is not unlocked? But I was confused, as this is just the kernel of the stock rom, so it's possible! Thank you so much, in between time I managed to flash it and got root, didn't knew it was this easy!
[Xperia Z3 General] sHkz0r:
Cant flash te kernel

I dont know what Im doing wrong. I follow all the steps and I always got this error:

The unknown souces and debugging are checked. I have a xperia d6633 with .291 kernel.
[Xperia Z3 General] shoey63:
use an older version of flashtool.
[Xperia Z3 General] Licaon_Kter:
What's the error exactly? looks ok ...
[Xperia Z3 General] sHkz0r:
The flashtool doesn't flash the kernel and it says that I have to check in phone settings Unknown Sources and debugging even tough its already checked.

04/000/2017 10:00:15 - INFO - Closing TA partition

04/000/2017 10:00:15 - INFO - Ending flash session

04/000/2017 10:00:15 - INFO - Flashing finished.

04/000/2017 10:00:15 - INFO - Please unplug and start your phone

04/000/2017 10:00:15 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings

04/000/2017 10:00:15 - INFO - Device connected in flash mode
[Xperia Z3 General] iAlexander:
Hi! I have this problem as well I extracted the zip into a folder so everything is in a one folder but still don't work. :(

Maybe I'm having problems flashing the kernel too. I can't reflash my phone as of the moment. I will try reflashing the .291 fresh and try root it again.
[Xperia Z3 General] corpcz:
Use original ADB.exe etc.
[Xperia Z3 General] iAlexander:
What do you mean use the original add.exe? Copy the ADB from it's folder?
[Xperia Z3 General] sunu792002:
Thanks, I have completed all the guides

How do I boot into recovery after flashing .291 kernel?

using apps doen't seem working
[Xperia Z3 General] casouzaj:
Pay attention to the reboot phases. Right after the first Sony Xperia screen, the led lights up, along with a vibration. At that moment (within 2 seconds), press the volume button.
[Xperia Z3 General] sunu792002:
Thank you. I was late to press the volume button during reboot along with a vibration. My mistake was pressing the volume down repeatedly and its takes me into safe mode instead into recovery.

Sorry for my bad english.
[Xperia Z3 General] chiennm3:
Finally also root install recovery success on Softbank Z3 android 6.0.1 :D:D:D

https://www.youtube.com/watch?v=Ye9jh9hAEmU
[Xperia Z3 General] Ansem:
Hi everyone! I want to format my phone and install a new rom. Right now I' already on the latest official rom (.291).

After this procedure I won't lose any data, I'll simply have my phone rooted right?

Can I install a new rom simply by changing recovery or I need a new bootloader too? I would like to preserve the photo quality if possible :(
[Xperia Z3 General] Yasi745:
Hi, guys. I have Z3 SO-01G Android 6.0.1, bootloader unlocked allow: 'No'.. I want to root it plzz help me to get rid of unwanted NTT Docomo apps, i tried Kingroot, Kingoroot, Rootkhp but all failed to do.... Thanx in advance..
[Xperia Z3 General] shoey63:
This procedure will not affect bootloader, lock/unlock status, data, DRM keys or camera, and will install TWRP into /system. You can access it by pressing volume down during boot up when the led comes on and you feel a vibration.

Read the rom thread's installation instructions carefully before you flash it.
[Xperia Z3 General] shoey63:
This tool doesn't support your variant unfortunately. You will need to downgrade.
[Xperia Z3 General] Ansem:
Where can I find a guide to flash the kernel with flash tools? I'm probably doing something wrong :(

Inviato dal mio D6603 utilizzando Tapatalk
[Xperia Z3 General] Yasi745:
hey thanx dear how i can downgrade my Z3 SO-01G i didnt found any method to downgrad Z3 NTT Docomo current running version 6.0.1.....
[Xperia Z3 General] Ansem:
Finally I did it!

It was really hard since the guide is missing a lot of things :/

But now I finally i have my phone rooted and I will soon install a new rom :D
[Xperia Z3 General] lord_galathon:
Hi guys, I made a rookie mistake (should really know better but in my defense I haven't rooted a phone in a while) and flashed a custom ROM before installing SuperSU.

Essentially after running install.bat and booting into the recovery mode, instead of using recovery mode to install SuperSU, I've flashed directly with lineage14.1 so now the phone is stuck at the SONY XPERIA boot screen and keeps rebooting.

Why lineage? Because after the latest OTA update the phone IMMEDIATELY has a vertical band not working on the touchscreen, about 3/4" in from the right side in portrait mode. The band is about 1/2" wide. I checked with Sony and it's OOW so why not try it? I'm 90% certain it's a firmware issue as others have reported the same problem after the latest update.

At any case, anyone have any idea how to get it to boot? It enters flashmode so I can use Flashtool on it.

Things I've tried:

-Hard reset holding down power+VolUP

-Reflashing with the "original" kernel 291

Obviously neither of these worked or I wouldn't be bothering you.

Thanks in advance.

[edit] Never mind. I just used the Sony Software Repair and it's booting. Color me embarrassed.
[Xperia Z3 General] akimboow:
i have Z3 SO-01G(Locked Bootloader) i have tried and it work with this method, but first u must re-flash your HH(docomo Z3 SO-01G) with d6603 latest firmware,

when u will start flash, make sure u had tick exclude "PARTITION" "if u not checked exclude and tick "PARTITION" , storage will be 1 6GB like d6603 Z3, wait and finish, NOW just back to the PROCEDURE on the thread.

TRUST ME IT WORK :cool:

sorry for my bad english.

thanks for made this thread, it will help all ppl with locked Bootloader
[Xperia Z3 General] strangequark10:
Camera

Will Google Camera use Sony's camera-optimizations (since the bootloader is not unlocked)?

I was going to follow Sony's documentation on building an AOSP, but I don't want to ruin the camera. It's my only camera.
[Xperia Z3 General] gghiq:
Stuck with SGP621

Hi all,

thanks for all the great work you are doing.

After studying this thread for a long time I took the courage and tried to do it on my Z3 tablet SGP621.

I get stuck on the first part: I flash the kernel with flashtool. I did work with and withouth error messages. Even when flash completes without errors, I cannot turn the tablet back up and flash tool says it is still on .291.

Am I using the right kernel .zip?

Is there anything else I overlook?

thanks for your help!

Georg
[Xperia Z3 General] shoey63:
You need to find a 575 kernel.sin for your tablet. The kernels in the first post are only for Z3.
[Xperia Z3 General] Yasi745:
Thanks alot akimboow i tried to flash by flashtool but flashtool stuck on 'press volume down and plug usb' i did this but flash wont start? I was flashing the D6603 global generic :(
[Xperia Z3 General] GregorYnext:
well done

Everything works great, only system is not r/w after all, Z3 D6603.
[Xperia Z3 General] Licaon_Kter:
How do you test? Did you try TotalCommander to copy a file TO /system or something?
[Xperia Z3 General] GregorYnext:
I wanted to uninstall crap from phone with sd maid. it solved with "mount system r/w r/o" or smthlt from google play.
[Xperia Z3 General] Licaon_Kter:
Yes, on Android 6 the app needs to know how to mount, that's why I've pointed to TotalCommander. ;)
[Xperia Z3 General] Gregoric:
For some reason I keep on failing to root the device. Here's how I do it:

I have USB Debugging enabled, checking sources disabled.

* Update to .291 as usual via OTA from Sony or flashing directly. (I have .1.291)

* Make sure you have ADB set up correctly. (I have the 1.4.2 of Minimal ADB Fastboot)

* Use FlashTool to flash the attached .575_kernel.zip [...] (Flashtool 9.18.6, here's the log of flashing the .0.575)

https://gist.github.com/anonymous/b9edcf6c19d301dcc77ae19593a623d5

And here's the problem. When I start the phone, it still says it is .1.291...)

Do I do something wrong?
[Xperia Z3 General] casouzaj:
I already posted this many times. Go to Settings > About phone and look at the kennel build date. If it shows April 22, 2016, then it's from the 575 ROM, and you are ready to run the install.bat file. Otherwise, if it's June 28, 2016, then it's from the 291 ROM, instead, the one you should flash back to your phone as your last operation, after root access was already achieved and either SuperSU or Magisk was installed via TWRP.
[Xperia Z3 General] Gregoric:
Thank you a great bunch! Previously, I have been doing the whole procedure, yet when I was running install.bat, phone re-booted normally, without booting into recovery at all and thus I thought it's because of faulty flashing of .575. In fact, when I have been connecting the phone via USB, I did not choose the MTP ll the time and that's why running install.bat gave no results. Finally, I tried the MTP - just out of curiosity - and it worked. Previously I flahed Xperia L was on 4.2.2 and there was no need to choose the MTP - that's why I thought it works the same way in the Z3 :) A great thanks again!
[Xperia Z3 General] lu99ke:
Nice vb champ!!

Nah.. I did that of course ... But flash tool not seeing those files... Even tried "save Link as" when downloading and did all files.. and had .ftf on the end... Windows explorer then even listed it as an ftf file type but flash tool still does not see them.. ( and yes.. browsing to right folder in flash tool )
[Xperia Z3 General] simply_proto:
Hello, I seem to be getting an error when i run the install.bat.

It seems to finish and try rebooting into TWRP recovery but then says;

'error: no devices/emulators found'

and the device (Z2 Tablet SGP521) just reboots and starts up as normal. Any idea on what might be causing the problem?
[Xperia Z3 General] rocker00:
[MENTION=4675598]shoey63[/MENTION] can i make a new thread in z2 forum and the credits goes to you and russel5 sure ?i will just replace the twrp inside the zip with z2's twrp.
[Xperia Z3 General] shoey63:
please do [emoji4]
[Xperia Z3 General] rocker00:
alright thank you :D
[Xperia Z3 General] shoey63:
[MENTION=5013430]danalec[/MENTION] might be able to help.

Have a look here http://xdaforums.com/xperia-z2-tablet/general/sgp551-xperia-z2-tablet-official-t2871485/post68136137#post68136137
[Xperia Z3 General] shoey63:
Perform this on the kernel.unc

strings kernel.unc | grep 'Linux version'

Well done bro:good:
[Xperia Z3 General] XenTeckz:
Does this method of root support Sony Xperia Z2 tablet SPG511 23.5.A.0.575?
[Xperia Z3 General] shoey63:
I'm not sure, but if you send him the kernel.sin, he will know how to add it.
[Xperia Z3 General] ToneLa:
I'm on the build so let me know how you proceed thanks
[Xperia Z3 General] bmlloko:
So, my device is a D6633 on .575 [no root/no recovery].

Everything was ok, no error and at the end it showed:

"Finished!

Rebooting into TWRP recovery ..."

But stayed like that forever and didnt reboot.

How do i reboot in recovery to install the SU?

Thx
[Xperia Z3 General] Mouaz Kaadan:
The same here

I even tried to use adb to reboot to recovery

But didn't work

Thanks in advance
[Xperia Z3 General] shoey63:
D6633 was tested by [MENTION=2612885]gustavo_v[/MENTION] and he didn't have that issue. Could be a usb connection problem . Not sure though. Unplug, reboot pc and phone. Plug back in and try again.
[Xperia Z3 General] dreamo.22:
I have sony z3 on 6.0.1

D6633 its not working

My phone reboot but not open recovery

What's problem bro ?

I have locked bootloader
[Xperia Z3 General] langkhack18:
I have the same issue as this guy. Except it shown the device: D6653. Mine is D6633. Currently on kernel .575 No luck at all
[Xperia Z3 General] aliaird:
I'm not having any luck either.

Brand new unrooted unlocked Z3 D6603, MM6.0.1

Build 23.5.A.0.575

I downloaded and extracted Recovery_for_MM575-291.7z

But when I run the install.bat, all the files install to a local tmp folder then it says Error: Device Not Supported and the phone reboots normally, not into TWRP as planned.

Any ideas?

Thanks in advance.
[Xperia Z3 General] shoey63:
I just checked the code, and offsets for D6633 are correct.

I have a D6653 and have tested it, as well as D6603 on it (same kernel), and both work.

No idea what the problem with D6633 is. Hopefully, someone who has had success on that version can provide some input.
[Xperia Z3 General] dreamo.22:
The process has successfully .. When you connect the device must not chose the connection type .. left the device on his status .. try again process and has successfully my phone D6633 is rooted now thanks very much bro
[Xperia Z3 General] Andreasblume:
Hey, i have that exact same error and i can't delete files from data/local/tmp without root permission. I'm running completly stock .291 rom.

How can i make the .bat overwrite the created file in data/local/tmp. I'm out of ideas right now.

Thanks :)
[Xperia Z3 General] bmlloko:
Tried this but now its show only this:

* server not running *

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

And stays like that forever.

Any idea?

Thx in advance
[Xperia Z3 General] iAlexander:
I'll try this out. Thanks ?
[Xperia Z3 General] afifth:
i got this error, could somebody explains??
[Xperia Z3 General] casouzaj:
Have you extracted the tool's zip file to a folder with the same name anywhere on your C: drive and ran the install.bat from there?
[Xperia Z3 General] afifth:
Yes.

Now twrp already istalled, but cant touched, seem like freeze..

What's wrong?

Should i change the version of twrp?
[Xperia Z3 General] casouzaj:
Is it still connected to your computer? Sometimes the touchscreen gets weird when the USB port is connected.
[Xperia Z3 General] afifth:
Connected or disconnected was still the same...

It make me crazy,
[Xperia Z3 General] speedstreak:
D6633 TWRP issue

There's a problem with TWRP installer toolkit.

D6633 support has been added during the course of this thread but TWRP files installed on a DD6633 still points to a regular Z3 (not dual). If you try using TWRP to install any other rom meant to be used on a Z3Dual it will fail.
[Xperia Z3 General] shoey63:
The solution would have been to make a separate installer package for each variant. I had a regular Z3 so it wasn't a priority for me. Change values in default. prop in recovery.cpio.lzma or delete the assert lines in your zips.
[Xperia Z3 General] speedstreak:
That's exactly what I was going to do... Tks! Changing the recovery.cpio.lzma suits better as its a more permanent solution.
[Xperia Z3 General] gogokiller:
Doesn't work for me, tried in downloads and directly on C:\. The phone does restart about 1 of 5 times, but then boots up just like I did nothing.
[Xperia Z3 General] speedstreak:
Open your windows task manager and kill all adb.exe processes running. Then, try again.

Or reboot your pc and try again.
[Xperia Z3 General] gogokiller:
Killing the process did it, huge thanks.
[Xperia Z3 General] casouzaj:
Is Flashtool (or any other programs which also make use of adb) running? If so, kill it prior to running the install.bat file.

EDIT: I've been beaten!
[Xperia Z3 General] fralyx:
Is it possible to flash a custom ROM with this TWRP on LB?
[Xperia Z3 General] casouzaj:
Yes, but only ROMs based on the stock MM ROM. In other words, by keeping your bootloader locked you won't be able to install any firmwares which come with their own kernel, like CarbonROM, LineageOS, OmniROM, etc.
[Xperia Z3 General] fralyx:
The thing is that when you got a phone that says No for Bootloader Unlock Allowed... :eek:
[Xperia Z3 General] Vamshi:
Updated recovery.cpio.lzma for D6633

I have the same problem, unable to install other ROMs or updated TWRPs, if anyone has already updated the file(s), can you please share it?

Thanks,

Vamshi