yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] saikatkhan:
Flash recovery

Sp flash tool is not working now.... I have done installation of twrp by unlocking bootloader...

Follow the bootloader unlocking tutorial and flash twrp by command fastboot flash recovery <recovery location>

Thank you
[Xiaomi Redmi Note 3 Questions & Answers] derppool:
The top led notification light simply doesn't work for notifications or whilst charging. It's a brand new device and I've only noticed the problem after flashing cyanogenmod 13. Everything else works perfectly fine. Has anyone else had this problem?
[Xiaomi Redmi Note 3 Questions & Answers] oneinch:
i think it's a cm bug
[G4 Q&A, Help & Troubleshooting] sonic_boom:
Hi guys.

Recently LG authorized service replaced my faulty Main Board. New mainbiard serial number starts from 606 .

I am unable to check phone informations in hidden menu *#*#info#*#* ( check attached screenshot please)

Another issue is much bigger because I am constantly losing GPS signal while using ENDOMONDO or even GOOGLE MAPS....

I have sent email to LG already but wondering if anyone here facing similar problems... ( just in case I have reseting my phone , or trying to find solutions but no joy. )

Thanks in advance
[G4 Q&A, Help & Troubleshooting] Shadowdroid78:
I don"t have any issues with my G4, but I also am unable to check that particular phone info screen. The other menu items work, though.
[G4 Q&A, Help & Troubleshooting] WTF?:
The app GPS Status will fix your GPS issues, just go to "Manage A-GPS state" in the top left menu and hit reset!

The best app for phone info is LG Phone Info

The phone information portion of *#*#info#*#* has not worked since MM was released.
[G4 Q&A, Help & Troubleshooting] jskasia:
see post NO 3 above.
[Xperia Z3 General] shoey63:
This is a port of the original tool by [MENTION=4688377]russel5[/MENTION] from the Z3C forums

I have added support for Z3 D6603, D6653, D6633, D6646 and D6643.

PROCEDURE

* Update to .291 as usual via OTA from Sony or flashing directly.

* Make sure you have ADB set up correctly.

* Use FlashTool to flash the attached .575_kernel.zip for your device before running the recovery tool. You need to re-name the zip and change the .zip extension to .ftf before flashing it! (make sure windows is configured to show file extensions)

* Reboot and check the build date of the kernel. If it is April, you are on 575 kernel and good to go. If June, you are still on 291 kernel and the tool wont work due to the exploit being patched.

** The build number of the rom will show 291, regardless of which kernel is flashed **

* download Recovery_for_MM575-291v5.zip and extract it.

* enable USB-debugging on your phone and plug phone to computer via USB

* Make sure you have closed Flashtool and anything else that uses adb, then run install.bat

* after running the tool you should boot straight into recovery. Then flash https://xdaforums.com/attachment.php?attachmentid=4164510&d=1496008012to obtain SuperSU root. Put it on the device or external sd card if device is encrypted.

* re-flash the .291 KERNEL back again with Flashtool using the attached 291_kernel.zip for your device. Again, change/re-name the .zip extension to .ftf first! (you won't lose root or recovery)

ADDITIONAL NOTES

If on Windows, in FolderSettings->Show file extensions to be able to rename from ZIP to FTF.

- Assuming it has booted to TWRP after running the tool, to re-enter it, press volume down during re-boot when you see the green LED and feel a vibration. You have 2 seconds to do it. No need to smash volume down repeatedly.

- Reboot apps DO NOT WORK on Sony MM.

- Install a new busybox through Play store at your own risk. Some will break recovery, some won't.

- Some apps install their own busybox. This can also break recovery. If this happens, try running the tool again.

Thanks:

[MENTION=3975929]zxz0O0[/MENTION] for iovyroot

[MENTION=2822871]Wolfbreak[/MENTION] for idea with recroot

Special credits to [MENTION=4688377]russel5[/MENTION] for the tool, [MENTION=3989065]serajr[/MENTION] for the recovery scripts, and [MENTION=2612885]gustavo_v[/MENTION] for showing how to add devices.

Edit: the D6603-6653 .291 zip has a typo. It is actually 23.5.A.1.291, not 23.5.A.0.291

View attachment 3864470

View attachment 3837467

View attachment 3837473

View attachment 3863671

View attachment 3864204
[Xperia Z3 General] Dadovvv:
Thank u man.

How hard is for u to add offset from Xperia Z2 Tablet SGP521 to iovyroot?

I can upload kernel.sin if u are willing to do same for z2 tablet.
[Xperia Z3 General] Masami1975:
Great? Thank you

Edit
[Xperia Z3 General] shoey63:
I added Z2 as well. Just no time to make a thread. Try it. You should still boot to TWRP

Edit: Nothing for z2 tablet yet. Post a 575 kernel.sin here and I will add it.
[Xperia Z3 General] Masami1975:
But... We have to flash supersu in recovery again?
[Xperia Z3 General] Dadovvv:
Yea, but i dont see any problem doing that...or u can simply flash any prerooted firmware.
[Xperia Z3 General] shoey63:
Yup. Because it changes all the time. As soon as you run the the tool, it will boot straight into TWRP, ready for flashing the latest version.
[Xperia Z3 General] Masami1975:
Only ti complete can you link supersu in op ? Thank
[Xperia Z3 General] shoey63:
If you can't find it Here it is.
[Xperia Z3 General] Dadovvv:
Xperia Z2 Tablet SGP521

Firmware .575

Kernel.sin -- https://drive.google.com/open?id=0B3011Q50-bjWOXVsNWM3NVRyRm8

Thanks for your work
[Xperia Z3 General] serajr:
Amazing

Thank you bro!

Now, let's wait till Nougat to start the party again... I hope it soon! Also let's pray for dm-verity disabled in the kernel like MM.
[Xperia Z3 General] Masami1975:
Probably no nougat for z3?
[Xperia Z3 General] langkhack18:
Can any upload the .291 kernel for me please ? I updated the .575 OTA to .291 so I dont have the tft file of the .291 Thanks
[Xperia Z3 General] A. User:
Oh boy, have I been waiting for this. A huge thanks for everybody involved. :good::good::good:
[MENTION=4675598]shoey63[/MENTION] Would this also work for the Z3 Tablet Compact (SGP621)? If so, would you be so kind as to add support for it? :fingers-crossed:

If Google Drive is OK for you, I can upload the kernel.sin. THX
[Xperia Z3 General] Masami1975:
I need 575 kernel...[emoji4]
[Xperia Z3 General] whalesplaho:
My concern and needs clarification; if flash 575 kernel on 291 ROM, tha phone wont boot up so how do we run tha tool or. 575 kernel ll boot on. 291 ROM?

Thanks for dis....
[Xperia Z3 General] shoey63:
Upload the kernel.sin and I will add it. Hopefully the included TWRP will work with it.

Sure it boots. I tested it. Why would I tell people to flash a different kernel if I didn't know if the device would boot?
[Xperia Z3 General] whalesplaho:
please dnt get me wrong, i was just asking... remembered old days, we flash a lower kernel on update OS just to root & we dont boot up before flashing tha updated kernel back... was jus asking!

thanks!:good:
[Xperia Z3 General] shoey63:
Ahh yes the old DoomLorD method.

Rest assured 575 will boot on 291 so you can run the tool to get recovery, (and then flash the super user zip of your choice).

Also be assured that when you re-flash 291 kernel again, you will still retain root and recovery.
[Xperia Z3 General] Masami1975:
I m searching for 575 kernel... Without full rom
[Xperia Z3 General] casouzaj:
Do you have a full 23.5.A.0.575 ftf for your specific model and market? Launch Flashtool and select it to be flashed in flashmode. Tick all the checkboxes in the exclusion column, except the kernel one (only kernel.sin should appear in the components to be flashed). Proceed and try to boot up. Please, report your results.
[Xperia Z3 General] LDI:
Actually I have full custom .291 ROM that is pre-rooted, this one:

http://xdaforums.com/z3-compact/development/rom-slimm-t3359831

But its extension is ZIP. I changed it to FTF to see if I can flash with FlashTool but it is not recognizable. Otherwise I would gladly flash it if I could.
[Xperia Z3 General] casouzaj:
Look here http://xdaforums.com/z3-compact/general/list-stock-firmwares-d5803-d5833-t2906706 and download a 23.5.A.0.575 ftf, preferably for your model and market, in order to have its kernel flashed to your phone.
[Xperia Z3 General] LDI:
Hey, it worked! It worked! This .575 was flashed without error and my device is running again! I even managed to root it and now I am going to install viper4android FX which was the initial idea. Thanks a lot [MENTION=346743]casouzaj[/MENTION]!
[Xperia Z3 General] shoey63:
Glad to hear it! Now next time don't flash a kernel meant for the Z3 onto your Z3 Compact.
[Xperia Z3 General] casouzaj:
I'm glad that you have finally managed to have it sorted out!
[Xperia Z3 General] am2006:
it didn't work with me D6633 , bat file work well but can't enter TWRP
[Xperia Z3 General] casouzaj:
If the installation was fine, as you say, your Z3 should reboot and enter TWRP automatically at the end, this first time. Now, whenever you want to enter TWRP, at boot time, right after the first Sony Xperia screen, the green led will light up, along with a vibration. At that moment, within 2 seconds press the volume down button. The led will turn to violet and TWRP will take over.
[Xperia Z3 General] am2006:
yes i do that. but it boot system normally and didn't enter TWRP

is the file include the kernel of D6633?
[Xperia Z3 General] casouzaj:
So, it was not installed, after all. The install. bat doesn't include a kernel. You should have the 23.5.A.0.575 kernel installed via Flashtool prior to running the install. bat. What the install.bat command window tells you?
[Xperia Z3 General] am2006:
i will tell you exactly what i do

install a rom D6633_23.5.A.1.291_Customized-MEA_1288-7361_R3D ftf by flashtool

boot system, power off. install D6603-6653_23.5.A.0.575_kernel ftf

boot system, enable USB debugging the run bat file, allow mock, USB for transfer (MTP)

that is cmd result:

* server not running *

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

* daemon started successfully *

Device Detected!

Installing ...

mkdir: '/data/local/tmp/mm_twrp_recovery_install': File exists

[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

[+] Changing fd limit from 1024 to 4096

[+] Changing process priority to highest

[+] Getting pipes

[+] Allocating memory

[+] Installing func ptr

[+] Patching address 0xc12350a8

[+] Start map/unmap thread

[+] Start write thread

[+] Spraying kernel heap

[+] Start read thread

[+] Done

Finished!

Rebooting into TWRP recovery ...

Press any key to continue . . .

after that just reboot system, it dosent enter TWRP

---------- Post added at 04:11 PM ---------- Previous post was at 03:42 PM ----------

it seems that the file "D6603-6653_23.5.A.0.575_kernel.zip" dosnt include D6633 kernel.
[Xperia Z3 General] casouzaj:
Yes, it does! What's the date of the kernel you see in Settings > About phone?
[Xperia Z3 General] raol.xh:
hello everyone,just got a z3 (6653 if i am not mistaken)unlock bootloader status: no.rooted it with this method and everything went fine.the phone is rooted.titanium backup installed,changed dpi etc...but when i tried to boot to recovery to install xposed it just reboots,without going to reovery...any advice?thanx...
[Xperia Z3 General] casouzaj:
At boot time, right after the first Sony Xperia screen, don't you notice the led lighting up in green color, along with a vibration? At that moment, press the volume down button. The led will turn to violet and TWRP will come up.
[Xperia Z3 General] raol.xh:
thanx for the fast quoe.one offtopic question.looking forward to the marshmallow concept as it looks clean and fast (coming from a nexus 5:p)can i root it with the above method?
[Xperia Z3 General] casouzaj:
No! AFAIK, the Concept ROM can only be rooted after unlocking the bootloader!
[Xperia Z3 General] browngeek:
yeah, same here on D6633, can't seem to get into TWRP. Followed all the procedures.
[Xperia Z3 General] shoey63:
Try the one in this post http://xdaforums.com/showthread.php?p=68493117
[Xperia Z3 General] browngeek:
Thanks, afraid didn't work either, still can't get into recovery (even when trying with phone off).
[Xperia Z3 General] shoey63:
Run the bat file again and post the output of the command prompt window after you run the tool.
[Xperia Z3 General] rommo_911:
D6633 kernel

I am on D6633. Fw . 291

Do i need to the. 575 kernel!?

If i do, Can you give me links!?
[Xperia Z3 General] shoey63:
The .575 kernel in the OP can be used to root any Z3. But do you have a .291 D6633 ftf so you can flash back the kernel only for your device?

Edit: D6633_23.5.A.1.291-kernel.zip added to OP. Dont forget to re-name it to D6633_23.5.A.1.291-kernel.ftf before flashing in FlashTool.
[Xperia Z3 General] shoey63:
I have modded the tool to clean up borked installations. v4 is now in the OP.

Also added a .291 kernel ftf for D6633.

Taken down do to a TWRP derp :p

Please use v5
[Xperia Z3 General] rommo_911:
thanks mate <

i have installed it on my d6633 it installed perfectly , and rebooted into recovery , then boot loop , so i can see recovery menu for 1sec. then reboot :( :(
[Xperia Z3 General] am2006:
still not entering twrp :(

model#

D6633

Android v

6.0.1

Android security patch lvl

May 1,2016

Baseband v

8974-AAAAANAZQ-00112-61

Kernel v

3.4.0-pref-g43ea728

Build#

23.5.A.1.291

(should it be 23.5.A.0.575?)

May the problem is from my rom customized-MEA_1288-7361?
[Xperia Z3 General] shoey63:
Ok so maybe the D6603_6653 Kernel is the problem for D6633. I'll see if I can find a .575 version for you guys to flash first, before running the tool.
[Xperia Z3 General] shoey63:
575 kernel added to OP for D6633. Don't forget to change zip to ftf at the end of the file name and be sure you are using v4 v5 of the tool from the OP.
[Xperia Z3 General] browngeek:
Sorry, I ended up just creating a pre-rooted rom instead.

Note that you have provided specific kernels for the D6633 now, thanks for that.
[Xperia Z3 General] slavisa037:
touch not work

"Finished!

Rebooting into TWRP recovery . but touch not work and rebot normaly and work touch only on twrp not work please heelp
[Xperia Z3 General] shoey63:
Sorry Guys. I included the wrong TWRP in V4 of the tool. Please Use V5 now up in the OP.
[Xperia Z3 General] slavisa037:
nowe perfect work
[Xperia Z3 General] am2006:
finally it is working well, thanx alot for you :)
[Xperia Z3 General] Stefan2142:
Did everything but still getting notification to update

First of all, thank you for what you did. It makes rooting process 10x easier. I have followed all instructions but something strange was happening in the process.

After I flashed D6603-6653_23.5.A.0.571_kernel, when I went to Settings-About it was still showing 23.5.A.1.291 (I did the update a couple of days ago). But I thought that was fine and went on to run that .bat file and root the phone. That went fine. After that I installed SuperSu through TWRP. I checked the root status - it is rooted. Then I flashed the final D6603-6653_23.5.A.0.291_kernel through flashtool and and thought that the message I got (after flashing .571) to update system will be removed but it wasn't.

So, tldr is that throughout whole process, phone was showing I was on 23.5.A.1.291.

Is this right? Did I do something wrong? Should I install that update..and if I do, will I loose root and/or recovery? Thanks in advance!
[Xperia Z3 General] DUSTYBOODA:
Can anyone help please? When I run the install.bat on .575 all works well but when I flash the. 297 kernel I lose my recovery? Tried re-doing everything multiple times to no avail, i still have root though?
[Xperia Z3 General] casouzaj:
Are you sure you flashed only the 291 kernel? A kernel is some 12MB long only. Its operations in Flashtool, from the ROM preparation phase to the actual flashing one, are very fast. You would lose recovery if you flashed the system partition too. Make sure only kernel.sin is shown in the components to be flashed list.
[Xperia Z3 General] DUSTYBOODA:
Yeah I made sure it was just kernel.sin, i got it working now though using recroot v4 in another forum so all's good ?
[Xperia Z3 General] Pvdven777:
Rooted just fine and in one simple go with Shoey63's outlined solution. Now I'm getting the OTA update notification for .291 by Sony. What's the risks of me just accepting to install this update ? Should I expect to lose root and what's the best way around that if that is the case ??
[Xperia Z3 General] ecksdeeay:
[MENTION=7404447]Pvdven777[/MENTION]

Why, just flash from twrp, the 291with a prfw
[Xperia Z3 General] casouzaj:
If you were running the 291 ROM prior to starting the whole process, have you flashed the 291 kernel back at the end? If not, the upgrade notification would come up. Otherwise (I.e. you had the 575 ROM instead) the OTA will not be installed, because you're now rooted. In this case, use Flashtool. Then, run this tool again (by flashing the 575 kernel before and the 291 one after the tool).
[Xperia Z3 General] Pvdven777:
Just to clarify, I was running stock (Sony) 575 ROM and rooted that. Now I get the message from Sony that the OTA 291 is ready to be rolled out however I'm not entirely sure what will happen if I accept that update.

Assuming it will install, will I lose root ? If I lose root access will I then have to flash the 575 kernel, root again and then flash the 291 kernel or is there a trick to keep root without any additional (flash) work ?
[Xperia Z3 General] shoey63:
The update will fail due to modified /system partition, so you will remain on rooted. 575 with persistent update nags.

Flash a pre-rooted. 291 or flash stock. 291 with flashtool and root it as per OP.
[Xperia Z3 General] CCody:
I got

adb server version (32) doesn't match this client (36); killing...

when starting install.bat.

I have the latest version of adb and fastboot and every driver is up to date, so anyone knows what's wrong here? :confused:

Any help appreciated!

EDIT:

For everyone having the same problem: Please close flashtool or any other software that use adb and any of your USB port connection (PC Companion or the likes)!
[Xperia Z3 General] shoey63:
So all working now?
[Xperia Z3 General] CCody:
Yes! Thanks for your hard work btw. You are awesome! :good: :highfive: :victory:
[Xperia Z3 General] Cryris:
Will i lose TA partition with this process?
[Xperia Z3 General] shoey63:
nope. That's why it's for locked bootloaders.
[Xperia Z3 General] robertrobi:
Can anyone tell me,why i can not go again in recovery?? I have root and everything is ok..but, now i want to install somenthing more and i can not go in recovery??? Help
[Xperia Z3 General] casouzaj:
At the beginning of a boot up session, right after the first Sony Xperia screen, don't you see the green led lighting up, along with a vibration? At that moment, press the volume down button. The led color will change to violet and TWRP will come up.
[Xperia Z3 General] robertrobi:
yes,thanks
[Xperia Z3 General] afifth:
kernel only for d6653 on attc. first post dont working

anyone have kernel only for d6653??
[Xperia Z3 General] xolani88:
How to do this on Mac?

Hey everybody! I registered specifically for these 2 questions:

1) How can I do all this on a Mac? I searched the thread, there doesn't seem to be a mention of this so far. Bootcamp not possible, for harddrive-space reasons, I'm afraid ;)

I have adb installed, I have added the platform-tools path, so I should be set to go.

2) once I'm rooted and have recovery: which ROMs can I actually install? Specifically, I'm hoping AOSPA 6.0.1, which came out a month ago, would be possible on a locked BL? Sorry for the noob question...

Thanks in advance!
[Xperia Z3 General] Pi3rluigi:
First of all, you need to know wich firmware is installed on your phone; if you have to downgrade it you need Flashtool.

All the commands for adb are in the install.bat file, that you can open with TextEdit.

You just have to know what they means; to understand them, in terminal:

adb help

it will display all commands and what they means.

Once you're rooted and have TWRP , you can flash every rom created for locked bootloader (LB as usually described)
[Xperia Z3 General] xolani88:
Thanks for your answer.

Does this mean I could copy all the commands from the BAT file exactly as they are and paste them into terminal? Firmware is. 291...I still have flashtool installed and know how to flash FTFs
[Xperia Z3 General] Pi3rluigi:
I didn't try, but I think you have to copy and paste the commands one by one (without "") ; pay attention to point to the path in which the files that have to be moved to the phone are stored in your pc.

Before root, you have to downgrade the kernel, as described in first post

Inviato dal mio D6633 utilizzando Tapatalk
[Xperia Z3 General] shoey63:
It works for D6603 and D6653 because it's the same kernel. I have tested on my D6653 without issues.

In FlashTool, it appears as Sony Xperia Z3 => D6603 => Kernel Only => 23.5.A.0.575

Just flash it and run the tool. Then afterwards, flash the .291 kernel.
[Xperia Z3 General] kensta62:
when i open flashtool, flashtool is not dedect any firmwares
[Xperia Z3 General] casouzaj:
Have you placed the ftf files in C:\Users\your_username\.flashTool\firmwares?
[Xperia Z3 General] kensta62:
yes i placed

D6633_23.5.A.0.575-kernel.ftf this is the files name

and this is the ı placed the file C:\Users\Murat\.flashTool\firmwares
[Xperia Z3 General] casouzaj:
When you click on the lightning icon, then select flashmode, what do you see in the selection window launched by Flashtool?
[Xperia Z3 General] kensta62:
there is nothing on firmwares selection
[Xperia Z3 General] casouzaj:
How did you get this kernel ftf? If you dowloaded the zip from the OP, you'd have to just rename the extension field from zip to ftf, not unpack the zip.
[Xperia Z3 General] kensta62:
i get it this kernel from zip and change to .ftf
[Xperia Z3 General] casouzaj:
It should show under flashmode selection. You have another option. You could download a full ROM (if you already doesn't have one) for your specific model, from any market, either from the net (there are threads here on xda-developers for that purpose) or by clicking on the XF icon on Flashtool, then after XperiFirm finishes downloading and unpacking the ROM components, kill it completely, for Flashtool to resume its works, which culminates with the creation of the ftf file already in the right location. Then, when selecting flashmode again, make sure to tick ALL the checkboxes in the exclusion list, including the ones on the Misc TA field on the bottom, EXCEPT the kernel checkbox, in a way that only kernel.sin is shown on the list of components to be flashed.
[Xperia Z3 General] shoey63:
Download from OP and try again. Inside should be kernel.sin and Meta inf. Do not unpack, just rename zip to ftf at end of filename
[Xperia Z3 General] kensta62:
thank you guys my problem has solved
[Xperia Z3 General] nri_tech1183:
My D6653 was never ever rooted so I got no TWRP. I'm on marshmallow though.

So will this root method work? Also, I dont want to Unlock the bootloader.
[Xperia Z3 General] mirsadbrkic:
Hi, im on locked bootloader and have no root or recovery. Is this the method for root and recovery? I'm on MM .291

Thanks
[Xperia Z3 General] casouzaj:
Yes, it's stated in the OP. This method provides root and installs TWRP in a stock 23.5.A.0.575 or 23.5.A.1.291 firmware, without causing any harms to either your bootloader or your DRM keys statuses.
[Xperia Z3 General] mirsadbrkic:
Thank you.

So i first have to install TWRP from "Recovery_for_MM575-291v5", just to start the install.bat? Than flash .575 and re-flash .291? Is it correct to rename the downloaded kernel to just kernel.ftf?