yashsingh1/xdaforums huggingface dataset:
[Android One (First-Generation) Cross-Device Genera] cikenkari:
[MENTION=2689045]awaaas[/MENTION], could upload for the Philz (CWM) version? thanks Gan :p

---------- Post added at 04:57 AM ---------- Previous post was at 04:28 AM ----------

duh, i quess i'm become spoiled and bit lazy.

I don't need CWM version, TWRP is good enough to restore my soft brick.

Step 1. Download TWRP backup, copy to sdcard, link https://plus.google.com/u/0/+AbdulAzizAmar/posts/ZUobp4sP8xX

Step 2. Download TWRP img, link https://plus.google.com/u/0/+AbdulAzizAmar/posts/ZCTzeJpfKex

Step 3. Press Up+Power, Fastboot

Step 4. in CMD, type "fastboot flash boot xxx.img", then type "fastboot reboot"

Step 5. in TWRP mode, restore...

Step 6. hit Thanks on OP post
[Android One (First-Generation) Cross-Device Genera] mayeleven2003:
is this LBY29G in my phoneUNO how to restore back to LYM47o... pls help me
[Desire 816 Q&A, Help & Troubleshooting] V@Li:
Hi everyone,

I´ve upgraded to Android Lollipop on my 816w yesterday and I´m very dissapointed. After installation complete the phone is working correctly, but I´ve got problem with Google Play Store. Google Play Services repeatedly require Google Play Store update, but when Play Store opens, checking for a few seconds and then crashed. I´ve deleted my account, data of Google Play Store and Google Play Services - not working. Uninstall Google Play Store and install latest version (v5.4.12) - still not working. I sometimes got a message that Google Play Store crashed even when Google Play Store is uninstalled .... has anyone some idea how to fix it please ?
[XDA Assist] omar1997:
I made an account to solve my problem here, therefore you guys would do me a HUGE favor if you solve my problem here..

I have a GT-I9505 that I bought 2 years ago and flashed the Lollipop 5.0.1 ROM via odin about a month ago, a few days later I rooted my phone via Kingo ROOT and everything was working fine but my date & time keeps changing to February 2014.

Two days ago I tried booting into Recovery Mode for the first time after rooting and I see that Android laying down with a red caution sign, I clicked on "reboot system now" and that's when my problem started. (it's not a custom recovery like TWRP, just the regular one)

As soon as I rebooted my phone I get a BLANK SCREEN with "Unfortunately, ........... has stopped", more like it was like this for all of my apps. I couldn't find a way to solve this but then I resorted to extracting my files and then factory resetting my phone, unfortunately I couldn't find a solution to access my phone until a miracle happened and made my phone working again. Everything went well till today when I tried rebooting into recovery mode but the SAME exact problem happened, what to do here? I have no problem of resetting my phone again but I don't want the same problem again.
[XDA Assist] Heisenberg:
Hi :)

Thanks for writing to us at XDA Assist. The best place for your question would be the S4 help thread here:

[HELP THREAD] Galaxy S4 | Ask any question | Noob friendly.
[Xperia Z2 Android Development] yot2703:
Very helpful!

I like it :)
[Xperia Z2 Android Development] masteriori:
Hi all,

I really want root access on my stock lollipop 5.0.2 firmware, and my bootloader is locked (Bootloader unlock allowed: yes) so can I follow this guide for my D6503?

Many thanks
[Xperia Z2 Android Development] Rajeev:
Yes u can

Sent From My Xperia Z2
[Xperia Z2 Android Development] arul20be:
You can follow the steps, but dont use the same ftf and zip files. Create them separately or download for D6503.. The given ones are for D6502..
[Xperia Z2 Android Development] chaose:
I just tried this using the US version of the FTF's for D6503. It seems that you have to wipe cache, appslog, and data, otherwise the phone goes into bootloop.

So if you are trying this, be warned that it will wipe your data.
[Xperia Z2 Android Development] rameshkotibani:
bro,where to find xperia z2 d6502 23.1.A.0.726 deodexed firmware zip,pls tell me
[Xperia Z2 Android Development] djnos:
ok i wanna do this for my d6503, i have the customized us ftf file, from here https://drive.google.com/file/d/0By-vo9NJkgzJWU5yTDlmcTBJcXc/view

but what about the flashable file for d6503? where can i get that?

and are you sure recovery works??
[Xperia Z2 Android Development] arul20be:
Thread edited. Files for d6503 variant added. And, Yes.. Recovery works..
[Xperia Z2 Android Development] fezzawinkle:
Thanks for the guide.

I have ended up with 5.02 for D6503 with root, but no recovery. Any idea why that would be?
[Xperia Z2 Android Development] arul20be:
You can try to install the recovery. Get the installer from here

Download the installer one named, Z2-lockeddualrecovery2.8.14-RELEASE.installer.zip
[Xperia Z2 Android Development] peetoz:
Thanks for the guide

Can i do this update on D6503 Existenz rom 4.4.4 without losing apps & data ?

Which files to download and start from which step

Thanks
[Xperia Z2 Android Development] arul20be:
I strongly recommend you to do from the beginning.. Because you are on a custom ROM, and the thread is about Stock ROM.

If you want all your apps and data, then follow the steps given below.

Steps

1. Copy the flashable.zip into memory card/external sd card

2. Boot into recovery and flash the flashable.zip

2.1 Now, try to switch on the phone.​

2.2 If the phone is switched on,​

2.2.1 Backup all your apps using the backup application (Use the backup application, found on the Tools folder from App drawer/Menu)​

2.3 If the phone is not turning on or Bootloop Occurs,​

2.3.1 Switch off the phone by pressing Power button and Volume Up button simultaneously​

2.3.2 Then follow the steps from, 23 ​

from this thread

2.3.3 Then, Backup all your apps using the backup application (Use the backup application, found on the Tools folder from App drawer/Menu)​

3. After the backup done, Do a fresh installation by following all the given steps.

4. Then Restore the backed up things.
[Xperia Z2 Android Development] trevaaaaaaa:
Hi,

I have a Z2 D6502 locked to O2 in the UK.

Great tutorial, worked great and I'm rooted on 5.0.2, but I have one quite major problem....I have 'unknown' baseband and IMEI showing as 'null'.

I no longer get O2 startup screen when I boot phone which is nice, but obviously need to regain the use of the phone.

My bootloader is showing as locked and apparently not able to be unlocked.

Any help appreciated.
[Xperia Z2 Android Development] KrisPerry:
If you are in UK your handset is more likely to be d6503. Flashing a d6502 rom will cause these symptoms
[Xperia Z2 Android Development] trevaaaaaaa:
Thanks that makes sense, for some reason had it in my head that it was a 6502, just looked up differences between 6502 & 6503.

Will refash later, nice to have got rid of O2 startup animation anyway:)
[Xperia Z2 Android Development] light19940120:
I get error when i flash the rom.

Any solution?
[Xperia Z2 Android Development] xPoiled:
Im on existenz 4.4.4 will it be possible if you will include the 726 kermel to the flashable zip?currently my computer is not working so cant use flashtool.thanks
[Xperia Z2 Android Development] arul20be:
​

Whats your device and what is the error you have got?
[Xperia Z2 Android Development] light19940120:
I have Xperia Z2 (D6503), and i get error in flashing. Somthing ext4 error.
[Xperia Z2 Android Development] Smedslund:
When you are flashing .314 or .726?
[Xperia Z2 Android Development] light19940120:
I had alredy installed this rom, but i cant' edit or delete from system app.

This is no rooted!
[Xperia Z2 Android Development] Smedslund:
Then my suggestion is that you start over again. :o
[Xperia Z2 Android Development] light19940120:
I made it myself :)
[Xperia Z2 Android Development] trevaaaaaaa:
I followed this guide using D6503 files in the links, the first part flashing to 4.4.2 works ok, baseband intact, but once I flash to 5.0.2 once again the phone is rooted, but have lost baseband/imei??
[Xperia Z2 Android Development] arul20be:
If you can recover it at any cost means, you can try.. But, before that take nandroid backup..
[Xperia Z2 Android Development] arul20be:
Have you followed all the steps? The final 726 ttf flashing?
[Xperia Z2 Android Development] trevaaaaaaa:
Hi, I followed all steps exact, had no errors, even did the whole process again.

According to guide on the final .726 flashing I preserve PARTITION, TA & SYSTEM, I assume preserving BASEBAND wouldn't help my situation?
[Xperia Z2 Android Development] Unique:
thk u for your nice guide

I want to ask you

now I'm on stock rom 17.1.1.A.0.402 rooted with dual recovery

do I need to follow all steps and must flash the rootable 17.1.2.A.0.314 or I can start from step 3 from below steps (yr first post)

thx again

quote

What are we going to do?

1. We need to downgrade your firmware to the rootable one (17.1.2.A.0.314).

2. Then root it and, install dual recovery

3. Then flash the latest 23.1.A.0.726 zip file, which is pre rooted. <=====

4. For the safer side, i didn't include the kernel with the zip. So, we have to flash the ftf for the kernel

5. That's all!!

unquote
[Xperia Z2 Android Development] djnos:
recovery?

got it to work around the 2nd time. and got recovery fianally with 2.8.14 dualrecovery niiiiice
[Xperia Z2 Android Development] arul20be:
You can start from 3rd step.. No need to goto .314 and root again..
[Xperia Z2 Android Development] arul20be:
It does.. That's what i have mentioned.. Working recovery and root..
[Xperia Z2 Android Development] arul20be:
You can try.. Nothing goes wrong.. Whatever happens, you recover your device.. Your problem seems weird.. Try man, that's only can teach us something, we don't know..
[Xperia Z2 Android Development] masteriori:
Thanks to this guide, I was able to root my Xperia Z2 and still be on Lollipop firmware. I have just backed up my current setup on the device and no MicroSD was inserted, where is the CWM backup location? I can't find it.

Many thanks
[Xperia Z2 Android Development] arul20be:
In the device? You mean internal memory? If you have formatted it means, probably you may have lost it.
[Xperia Z2 Android Development] shindorei:
I did everything you said but i lost recovery... In 690 i ve got it but i want to do a clean install. So i lost recovery. I think it lost after i flashed kernel. Recovery not important but I use viper4 codecs so i dont have busybox
[Xperia Z2 Android Development] Mikey94:
do i need to go back to stock, or can i flash the 726 firmware over CM12.1?
[Xperia Z2 Android Development] excobra:
Same here bro. Did you find another solution for busy-box. Mine is not installing.

i followed the steps to the letter but lost recovery. Then I tried to install recovery separately via install. bat file as someone suggested in an earlier post but it didn't work either.

Now i am looking for another working recovery :p

Finally got it working with 2.8.14
[Xperia Z2 Android Development] Mikey94:
Hi guys, i flashed it, everything worked fine, but my screen is flickering since the installation... in system and recovery... why?
[Xperia Z2 Android Development] akosipolan:
Same thing happened to me.. But now i successfuly installed the latest nuts recovery. just dowload the latest nuts recovery for z2 and open the supersu and delete the adb shell in the apps, and try to reinstall the nuts recovery again via .bat file.. If it fails, then try it again till it become successful.
[Xperia Z2 Android Development] procaptain:
Thanks it is working smoothly for D6503 on 23.1.A.0.726.
[Xperia Z2 Android Development] jt23738:
can having viper4android already installed with drivers installed as well be a cause of bootloop if i am flashing lollipop without wiping data ? i did everything correctly but i get bootloops when i flashed the zip and then the ftf
[Xperia Z2 Android Development] Magdy Yassen:
is 23.1.A.0.726 Flashable Zip Supports Arabic Reading And Write ?
[Xperia Z2 Android Development] whalesplaho:
bigsup OP.... nice thread!

running a pre-rooted Z2 with .726FW :)
[Xperia Z2 Android Development] jt23738:
Is just my z2 or does the Amazon app not work on your device on lollipop?
[Xperia Z2 Android Development] arul20be:
The .690 fw doesn't have a working recovery until .726 released, as far as i know.
[Xperia Z2 Android Development] arul20be:
the method i have given is for, stock only. If you are on a custom ROM, better do a clean install.
[Xperia Z2 Android Development] arul20be:
The .690 fw doesn't have a working recovery at all.. I have given .726 files for both D6502/03 variant. Y don't you use that? It includes recovery and root.
[Xperia Z2 Android Development] arul20be:
That may be the issue.. The thread contains complete instructions for not losing any data too.. Check the thread again.
[Xperia Z2 Android Development] excobra:
Bro i am not using .690. I am using .726 files as you said in the guide.
[Xperia Z2 Android Development] excobra:
Thanks bro. I simply installed latest recovery i.e. 2.8.14 without the adb tweaks you suggested and it is installed.
[Xperia Z2 Android Development] arul20be:
That contains the recovery bro.. All you need to do is, follow the steps. That's all!!
[Xperia Z2 Android Development] peetoz:
Hey Thanks For the Guide I got the Lollipop update finally

I found some issues : 1st can't mount write system in root explorer or any other

2nd can't write on sd card with many apps

Please help
[Xperia Z2 Android Development] deepu28792:
just download TWRP Manager app from play store and open the app. Go to setting, there u will find an option named "Apply sdcard Patch" just apply that patch and reboot your phone.
[Xperia Z2 Android Development] excobra:
I had the same issue. what i did was i download the latest installer of nut recovery for Z2 and installed it. Now i have the recovery as well as read write in root explorer
[Xperia Z2 Android Development] lungtung123:
I cant install titanium Backup. I dont have clear all recent app

Gửi từ D6503 của tôi bằng cách sử dụng Tapatalk
[Xperia Z2 Android Development] peetoz:
Thanks for Reply , But I tried TWRP manager to fix sd and it failed because of missing busy box , then tried to install busy box and it also failed and cant write to system

at last I found the great tool by Lowtraxx

" RICDefeat "

I can mount r/w on system and installed busy box

Thanks to Lowtraxx
[Xperia Z2 Android Development] acb123:
I was already on 17.1.2.A.0.314 with root before flashing so this became very convenient for me. Thanks OP for the great guide.

I encountered a problem while flashing but this was because of my computer: [[Solution Of Processing of loader.sin finished with errors]] - XDA Forums
[Xperia Z2 Android Development] cannabis2286:
What about D6503 on FM .690 have recovery That working
[Xperia Z2 Android Development] demlanhlung:
[MENTION=5939668]arul20be[/MENTION]

Can you make the new firmware 1.28 with this? :)
[Xperia Z2 Android Development] waleed.619:
thanks for the guide !

which drivers should i install from flashtool for d6503?
[Xperia Z2 Android Development] arul20be:
Yeah! I'm working on it. Will be upload tomorrow..
[Xperia Z2 Android Development] arul20be:
Z2 device drivers. Read the post and have a look at the attached images ..
[Xperia Z2 Android Development] dante05:
Hi!

is it possible just to flash the ftf file with flashtool?

i don't need root and recovery, just want it up to date

currently using 23.1.A.0.690 generic baltic

the and of the file 'au' stands for the region code? australia?
[Xperia Z2 Android Development] masteriori:
What should I do if I receive OTA update?
[Xperia Z2 Android Development] arul20be:
Yes You can flash. That's an untouched ftf. Yes Australia!
[Xperia Z2 Android Development] arul20be:
What kind of OTA? Application updates? Yes u can update.

But if u update the firmware means, u will loose root and recovery. And i'm updating the thread with the newer .28 prerooted files. So, u can wait. Its worthy.
[Xperia Z2 Android Development] pajiss:
Are you uploading that today? If so, im waiting.
[Xperia Z2 Android Development] Jordamo:
Hello. I'm on. 690 with root but not recovery. Can i install recovery via installer on this fw and flash this last update?
[Xperia Z2 Android Development] arul20be:
Go here!!

http://xdaforums.com/xperia-z2/development/stock-d6502-6503-23-1-1-28-complete-t3104145
[Xperia Z2 Android Development] pajiss:
Yeah i found it yesterday. Thanks anyway!
[Xperia Z2 Android Development] DAGr8:
double post
[Xperia Z2 Android Development] DAGr8:
since i used this , no recovery the installer seems to be working but nothing happens no recovery .

all i wanted was to upgrade to .28 ..

install fastboot

dowload twrp boot.img

shut down phone

plug in usb while you hold volume up

blue light on device

navigate to your fastboot directory on pc

open cmd prompt (hold left shift and righ click)

fastboot flash boot boot.img

and voila .
[Xperia Z2 Android Development] Eanan:
This method doesnt unlock the bootloader or remove the DRM keys by any chance does it?

I just want to be sure!
[Xperia Z2 Android Development] Eanan:
Seems to be working fine, thanks OP!

Quick question, if I do a factory reset through the phones settings down the line, will that wipe the root also?
[Xperia Z2 Android Development] arul20be:
Bootloader will remain locked. U wont lose anything.
[Xperia Z2 Android Development] arul20be:
No, the root will remain. As well as the recovery.
[Xperia Z2 Android Development] exdas:
so after flashing 23.1.A.0.726 I lost my recovery, I do not know what I did wrong, i followed the instructions to the letter
[Xperia Z2 Android Development] malrok37:
Same here.

I noticed that when I decided to move to 23.1.A.1.28, I seem to have no recovery.

I have tried to install it manually through TWRP app from Google Play, but had two problems.

First the TWRP app said it had to modify the rights on the SD card, but it was not able to do it.

Then I got stuck with installing BusyBox which was unable to install itself.

I may have some time today to try and find a solution, I will share if I come with one...
[Xperia Z2 Android Development] malrok37:
Did it!

I did a lot of things, so the first operation might not be mandatory, but it was necessary for me to install BusyBox (necessary for TWRP installer, which anyway does not work on Lollipoped Z2)

What you have to do (my device being a D6503):

- first go here and download / install via adb the attached zip

- then go there and get the Z2-lockeddualrecovery2.8.15-RELEASE.installer.zip file from the XZDualRecovery section, then install it with adb again

And you should be good :)

Now on my way for 21.1.A.1.28 !!!
[Xperia Z2 Android Development] ginodp:
Read back the comments. The solution is already given for the problem with installing busybox
[Xperia Z2 Android Development] ahhlun:
Thanks OP for the awesome and easy guide.

Just one question before I proceed.

does this guide increase the flash counter or what ever it is called??

Any steps I can take after I root this, to return my device to factory settings ? flash counter = 0 and unRooted?
[Xperia Z2 Android Development] norti:
Nice tutorial, a little more detailed than the one I created a while ago in the General forum section ;)
[Xperia Z2 Android Development] eddstops7:
Hi everyone.

I wonder, how long did it take for all of you to complete Step 14?

"14. Double click on install.bat and connct your phone. Once rooting is done, it will automatically restart your phone."

Been stuck at this step.

Tried a couple of times already.

Last night, I left my phone over night and nothing happened. It just stuck there (as seen in the attached image).

As soon as I detached the phone, the CMD detected that phone been detached.

FYI, the phone was switched on when I was doing this.

Am I doing this wrongly?

Any other thing that I should do with my phone, computer, connection etc?

Help appreciated.
[Xperia Z2 Android Development] eddstops7:
Solved.

I rechecked and noticed I used wrong ROM version during Step 4.

No wonder it didn't work.

Thanks for the solution.

Now I can used Titanium Backup and do great stuffs that all rooted phone can
[Xperia Z2 Android Development] malrok37:
Yes, and for the recovery problem too.

Both problems solved by searching through the thread :D
[Xperia Z2 Android Development] ahhlun:
can anyone confirm.. whether there's a way to revert the Root-ing process?
[Xperia Z2 Android Development] Eanan:
I cant seem to install BusyBox after rooting via this method. I keep getting "It looks the installation was not successful". Anyone else have this issue or know how to fix it?
[Xperia Z2 Android Development] arul20be:
Just flash an ftf (The one u need i.e. 314 of 726 or 28 ftf). It will give you the stock.
[Xperia Z2 Android Development] ahdee:
Hi Thanks OP for the thread. just wondering if I can use other version instead of 17.1.2.A.0.314?

Because there is no Hong Kong version available for this specific version.

Thanks!
[Xperia Z2 Android Development] r0nz3y:
*double post
[Xperia Z2 Android Development] Allodi:
THANK YOU SO MUCH.

So far your method is the only one that worked after 4 hours of desperation.

Never installing cyanogen again...
[Xperia Z2 Android Development] EthanDev:
Whenever I'm trying to flash the ftf file it says device drivers not found and flashing aborts.. I've installed them as mentioned in the steps but still I'm getting error.. Is it due to Windows 10 OS?
[Xperia Z2 Android Development] google_coc:
thank you so much guys for this files and step by step tutorial. Im 15 years old and ive succesfully rooted my D6503 :)
[Xperia Z2 Android Development] pankaj_ahlawat:
hey there

i wanted to root my xperia z2 D6502 and was able to flash the .314 firmware perfectly but i am not able to root the phone using the xperia root it

it is showing this

i am using windows 10 and have installed adb drivers successfully.

please help

thanks in advance
[Xperia Z2 Android Development] rafek1:
Problem

I was on the part where i had to flash the phone once it finished it said to unplug the phone and turn it on i tried to turn it on and it shows the sony logo screen goes black and it shows the sony logo again how do i fix this and why did this happen????
[Xperia Z2 Android Development] JanCandia:
I can't download the lockeddualrecovery from GDrive, it says infected virus only owner can download it