yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Q&A, Help & Troubleshooting] QA Bot:
[Q&A] [Stock][Lollipop 5.0.2][Root & Recovery][LB] D6502/6503 23.1.A.1.28 | Complete

Q&A for [Stock][Lollipop 5.0.2][Root & Recovery][LB] D6502/6503 23.1.A.1.28 | Complete Guide

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [Stock][Lollipop 5.0.2][Root & Recovery][LB] D6502/6503 23.1.A.1.28 | Complete Guide. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Xperia Z2 Q&A, Help & Troubleshooting] seinas:
hei

works for me:D
[Xperia Z2 Q&A, Help & Troubleshooting] 3k4j:
Hi, Im currently on Moonwalker rom build number 0.167 kitkat 4.4.4. Can I directly flash this rom without encountering any problem? Thanks
[Xperia Z2 Q&A, Help & Troubleshooting] arul20be:
Its a stock ROM only. You can flash it. But, I recommend a clean installation. It depends ur mood!!:p
[Xperia Z2 Q&A, Help & Troubleshooting] tanmaychhatbar:
Thanks.

Thanks for this. Downloading now. Why not upload to mega? That's way better. Thanks again.
[Xperia Z2 Q&A, Help & Troubleshooting] Rasada:
Hi i wanted to ask if i update to .28 version of lolipop for xperia z2 without wiping the data and cache(now im rooted .314) - will ,the problem with low ringtones and for example viber and facebook ,stay or not since they removed xLoud. And of i update to .28 will my bootloader remain locked .And does the xreality works on this version .28 ?

Thanks in Advance )
[Xperia Z2 Q&A, Help & Troubleshooting] StonerX:
Thanks for the post, 1 notice

Thanks for the guide, although was my first time working on a SONY device as I was samsung user, it was pieace of cake, I just noticed as it's mentioned below that in my device D6503 it is needed to wipe applogs/data/system when flashing .314, maybe u can add a note in the thread for future users on that step, once again thanks for the great help :)
[Xperia Z2 Q&A, Help & Troubleshooting] Aeroliten:
Adding TWRP recovery won't work

I'm following the guide http://xdaforums.com/xperia-z2/development/stock-d6502-6503-23-1-1-28-complete-t3104145

but I'm running .28 already but when I try to add recovery mode from TWRP I always get the error telling me only PIE is supported (I am beyond new to this, just started researching last night and started working today). I follow the guide exactly as it told me to but I still can't get the recovery to work.

I have an Xperia Z2 running LP 5.0.2 with AT&T as my carrier.
[Xperia Z2 Q&A, Help & Troubleshooting] scorpion9066:
please i have just one question does the downgrade affect the phone badly?? like loosing the imei of the phone or camera not working or the signal not working?
[Xperia Z2 Q&A, Help & Troubleshooting] Pandemic:
No buddy :)
[Xperia Z2 Q&A, Help & Troubleshooting] arul20be:
If you are on non lollipop version, better wipe appslog, cache & data. And, its a stock rom. So, whatever sony added/removed will stay untouched. Bootloader will be remain locked. And yes, Xreality works.

---------- Post added at 05:34 ---------- Previous post was at 05:33 ----------

Download recovery installer from here. And install it manually.

---------- Post added at 05:35 ---------- Previous post was at 05:34 ----------

Nothing will happen.
[Xperia Z2 Q&A, Help & Troubleshooting] unlucky88:
need to wipe app and data after the flashing?

thanks

edit: beacause i am new in recovery things, could you please tell me if i have to wipe delvik (+apss,data?) after or before the flashing?

z2 17.1.2.A.0.314 4.4.2 with root and recovery

excuse me for my bad english.
[Xperia Z2 Q&A, Help & Troubleshooting] yancm:
Anyone have any problems with their facebook contact pics in the contacts app being blurry? Got it only after I upgrading and resetting my phone to this firmware.
[Xperia Z2 Q&A, Help & Troubleshooting] unlucky88:
any idea about my questions? :)
[Xperia Z2 Q&A, Help & Troubleshooting] yancm:
Why not just upgrade using PC companion? Your data will not be lost too, but you can back up just in case. After which, you can follow the thread here to root .28 firmware.

http://xdaforums.com/xperia-z2/general/root-t3108230
[Xperia Z2 Q&A, Help & Troubleshooting] Rasada:
Battery is charging slowly

Hi i used this Rom over the .314 4.4.2 Kitkat without wiping the data - only dalvik cache, everything is normal exept the high usage of Android OS draining the battery (im using v 27 of Facebook app - without messanger and viber 5.2.1 - tha last version not showing the names of the contacts you dont have in contacts list). And When i plug the AC charger (im using the original cable and charger) - when i use something heavy - it shows that the battery is draining faster than it charges. Is there any fix or patch for this?

Thanks in advance
[Xperia Z2 Q&A, Help & Troubleshooting] arul20be:
No just wipe dalvik.
[Xperia Z2 Q&A, Help & Troubleshooting] unlucky88:
thank you so mutc for help and rom.:)

everything seems good for now.:)
[Xperia Z2 Q&A, Help & Troubleshooting] Siva Mk:
Doubt regarding OTA

http://xdaforums.com/xperia-z2/development/stock-d6502-6503-23-1-1-28-complete-t3104145

I'm kinda noob in rooting. but yes i know the basic stuffs... So i wanted to root my Xperia Z2. I just want simple root. like towelroot. I read the thread in the above link... i have one doubt. After doing that process, will i be able to receive OTA updates????
[Xperia Z2 Q&A, Help & Troubleshooting] arul20be:
yeah!! u will receive OTA as usual
[Xperia Z2 Q&A, Help & Troubleshooting] dedarus:
can someone mirror the Links , please.

both are down for time.
[Xperia Z2 Q&A, Help & Troubleshooting] mikisstuff:
Unable to boot into custom recovrry

I followed the root process as per this process and it's worked fine - I have root access, superSU, busybox and NDRutils all installed properly. I was able to install the lollipop image (23.1.A.1.28) without issues using TWRP.

A week or so later my home button stopped working - I can still activate the area, because it highlights, and a long press still activates Google now. Apparently this happens occasionally in lollipop, and a cache wipe often fixes the problem. So into TWRP I go... And I can't boot into recovery! I tried booting straight from the utils app and holding the volume button while booting. Nothing! I also downloaded the TWRP app and that tells me I have TWRP installed, but I still can't boot into it! Any ideas, other then re-doing the process entirely?
[Xperia Z2 Q&A, Help & Troubleshooting] DaniQ92:
Hi!!

Got my Xperia Z2 6503 .28

I'm so new at this, only did once long time ago.

I read about the steps I have to follow (up to the 19th step of the other thread) My question is if I have to do anything else after the 19th on, or it is already rooted after that in this particular firmware version (taking into account that little change on one step)

Thank you a lot for your great work!
[Xperia Z2 Q&A, Help & Troubleshooting] wellspokenman:
to root or not to root

I have a Z2 with lollipop+locked bootloader, and haven't done something like this with android before, so would appreciate some clarification on the pros and cons. My only reason for wanting root is to run this command "adb shell pm set-install-location 2" (sets SD to default install location).

If I choose to root the device will I still be able to use the stock firmware updates?

I would like to stay as close to stock as I can; it's my wife's phone, and she just wants to install a lot of apps, not do anything custom beyond setting default install location.
[Xperia Z2 Q&A, Help & Troubleshooting] michaelpoon888:
Could you please make a pre-rooted zip of 23.4.A.0.546 Customized HK (D6503) for me?:)
[Xperia Z2 Q&A, Help & Troubleshooting] Undefeatable:
If I updated my Xperia-Z2 to 5.1 will I lose my root??
[Xperia Z2 Q&A, Help & Troubleshooting] telbany94:
'

Is there anyway to flash stock recovery ? Without flashing full new firmware? Cuz I have my z2 rooted with TWRP installed with locked bootloader, now I want to install the 5.1 OTA update but having custome recovery will lead to failure of the update process.

P.S. I downloaded 5.1 through Xperifirm yesterday and it all went fine then the unpacking was aborted ... My connecting is slow so I don't want to download it again, so I prefer OTA as it is only about 260 mb while XperiFirm files were 1.3 gb
[Xperia Z2 Q&A, Help & Troubleshooting] wicozani:
Yes, I repeatedly failed a final check verification when trying to update via OTA my rooted 5.0.2 Z2 with Nuts dual recovery, but I was able to using Sony PC Companion. Word of caution, however, this will remove root and custom recovery, and there is no root exploit yet for 5.1.1 on our Xperia phones. Therefore, would suggest you download a pre-rooted 5.1.1 .zip file and flash it in your current recovery to get updated. There are multiple versions for different regions and countries to choose from.
[Moto X Android Development] Brawn_Sg:
'm proud to present the first dual boot project for the Moto X ghost

This is currently fo testing and if it start working i will make this thread more cleaner and organized

About this Utility:

This mod can dual boot any no. of roms whether stocks or anything and is not so complex like Multirom with kexec patch.

How to test it :

ur device shoud be rooted to use

1. Download the latest snapshot release of Dual Boot Patcher from here and install it on your Moto x.

2. Install the apk

3. Open the apk go to ROMS and you will see your primary ROM, press the menu key and click “set kernel”.

Now you need to patch your CyanogenMod ROM and Gapps files to make them compatible with dual-booting.

In the Dual Boot Patcher app select “patch zip file” and choose “Ghost (Moto x)” from the drop down menu, now find the ROM in ur file explorer and press tap to begin patchingnow go to roms again and select pink button then add button then find ur patched file

it will be of name "romname_patched.zip"

after its loaded press tick icon

after that u will see 2 roms primary and secondary in roms section

where primary rom is wrotten press those 3 dots in right side of it and press set kernel

then the last step just press seconday rom

after then just reboot and u will in ur 2nd rom

test it and tell me if its working

Press thanks if i helped

Credits

especially [MENTION=4506261]Chexia[/MENTION]long for this utlity

more coming soon
[Moto X Android Development] mac1996:
I see it is in testing mod, i am gonna go home and give it a try
[Moto X Android Development] Brawn_Sg:
Thanks ....it can be stable as well as alpha

So plz teta and tell me

Anyone else interested in trying this
[Moto X Android Development] Brawn_Sg:
Well believe me this is better then multirom
[Moto X Android Development] bobdamnit:
Any particular requirements, other than root? For example, does the first ROM need to be stock, and secondary ROM must be CM/AOSP? Or can I have CM 12.1 first, stock second?

I'm currently running CM 12.1, but I can go back to my stock nandroid if I have to.
[Moto X Android Development] Brawn_Sg:
No need

Ur wish whether u want to keep first ROM cm or stock

Plz test it

So if there r problems I can get it fixed

If I would have the device I could have tested it myself first before posting

Thanks

[MENTION=4997692]n8nn[/MENTION] new dual boot for moto x
[Moto X Android Development] bobdamnit:
Cool. Downloading a new ROM to install as secondary now!

---------- Post added at 07:20 PM ---------- Previous post was at 06:59 PM ----------

Here it is installing Krypton 4.4.4

Here it is finished installing:

Here it is as secondary:

Just a sec and I'll boot it and update this post with results.

Edit: no luck. I'm posting this on my iPad because my phone now only boots to recovery. Exactly what happened is as follows...

Select secondary ROM, reboot using normal hold power button, select reboot. Phone rebooted and displayed unlocked boot loader warning, screen went blank, unlocked bootloader warning came back, it went automatically into TWRP recovery.

Tried wiping Dalvik, caches, and rebooting. Same problem. Only boots to recovery. Now restoring my CM 12.1 nandroid.
[Moto X Android Development] miju12:
i am using stock 5.1 as primary but when i select patch it shows failed to open archive for writing
[Moto X Android Development] bobdamnit:
Just tried it again. Same result. :(

Edit:

Be careful with this guys. After restoring my nandroid, I realized several oddities were happening. It definitely messes with partitions, and unless you are comfortable manually flashing your FXZ or using RSDlite, do NOT attempt this.
[Moto X Android Development] jonwgee:
Stock 5.1? This is for 2013 Moto X....
[Moto X Android Development] miju12:
yeah i know and i am using moto x 2013 build 222.21.7
[Moto X Android Development] Snaipersky:
Could it be because you're on 5.X, and you're trying to boot a 4.4.x? Have you tried the other way around, or both on the same version?
[Moto X Android Development] mac1996:
[MENTION=5938667]Brawn_Sg[/MENTION]
[Moto X Android Development] mac1996:
Got stuck in a bootloop had to use my back up I didn't patch play store for my secondary rom 5.0.2 that might be reason!!??
[Moto X Android Development] Snaipersky:
Looks like you're on Lollipop (or were) when you set kitkat as your primary, while running a separate ROM. That doesn't sound wise.

Or am I just looking at it wrong and you managed st swap OS's prior to having this issue?
[Moto X Android Development] DangeloGH:
someone managed to make the procedure successfully?
[Moto X Android Development] mac1996:
I have been using krypton ROM for almost a month .. I had the old cm12 5.0.2 in download folder , so I wanted to give it a try ..

It successfully patched both Roms with no issues after I selected secondary ROM and rebooted it got stuck on bootlogo
[Moto X Android Development] DangeloGH:
I did my 1 rom is epsilonproject-v3.1 set kernel

and than my 2º rom I modified Krypton-rom-Motox-v1.4.1-Unlocked

but when i select my 2 rom and restart, just enter in TWRP,

sorry my english

---------- Post added at 09:17 PM ---------- Previous post was at 08:38 PM ----------

what I need to choose in this option?

[IMG="after select ghost motorola motox 2013"]http://snap.ashampoo.com/uploads/2015-05-14/2cdMsjT5.png[/IMG]
[Moto X Android Development] bobdamnit:
Flash Krypton back on your phone and see if you are able to download anything at all. Or even update an app.

If not, be prepared to use RSDlite and use that to go back to stock.
[Moto X Android Development] DangeloGH:
I just flash kernel and boot normaly...

but the dual boot doesnt work...
[Moto X Android Development] Brawn_Sg:
sorry all who faced soft rick

but at least i a trying to brind dual boot or multirom to ghost

i dont have this device

can someone give me partition info

Thanks
[Moto X Android Development] mac1996:
I am ready to help you but I don't know what partition info is?!: and can you show steps
[Moto X Android Development] DangeloGH:
how we can do that?
[Moto X Android Development] Snaipersky:
Brawn, if you want us to help you, you need to tell us what exactly you need, and any steps necessary.
[Moto X Android Development] ajsonofgod:
Any process for dualboot yet? Or the project is dead now?

Sent from my XT1052
[Moto X Android Development] thejrcrafter2:
I just finished school, so hopefully I can get a kexec kernel working fairly soon for my multirom build.
[Moto X Android Development] ajsonofgod:
Where will you upload there after? Here ot any other thread?

Sent from my XT1052
[Moto X Android Development] thejrcrafter2:
http://xdaforums.com/showthread.php?p=60330319

Multirom itself boots as well as the recovery, I just need the kernel to dual boot with.
[Sony Xperia T2 Ultra] rrajesh:
Hello guys,

Today I am presenting stable rooting method for D5322_19.3.A.0.470_Lollipop 5.0 without any old FTF requirement or fear of data loss etc.

Requirements

D5322 with Unlocked bootloader

Current firmware version should be 19.3.A.0.470

Flashtool with updated fastboot and flashmode drivers

50% Battery and a Safe backup (In case of error)

Happy mind

Downloads

1. Recovery kernel (Please download DUAL_RECOVERY_D5322-LP.img for best result) ====>> Here (16 MB)

(Recovery kernel credits goes to our respectable XDA Recognized Contributor [MENTION=4663391]abcdjdj[/MENTION])

2. SuperSU.zip ===> Here (Tested)

3. Download BusyBox ===> Here Tested v1.23.1-Stericson.zip

Rooting procedure

Move SuperSu.zip, BusyBox.zip to your devices and turn off it.

Put downloaded D5322_19.3.A.0.470_Lollipop 5.0.ftf in flashtools firmware folder

Open Flashtool and connect your device in FASTBOOT mode by holding volume UP key.(Blue LED)

Flash recovery kernel in fastboot mode and disconnect the device.

Turn on device,press volume down button continusly when you see pink LED.

Flash SuperSU and BusyBox

Wipe cache and delvik

Turn on device -- Rooted + No read write issue + No SD card problem

Rare issue

=> Some users may face system app removal problem ==> Fix Here

=> Flashtool Cannot unbundle files (Very rare) ==> Fix Here

Feel free to ask questions ...... :)
[Sony Xperia T2 Ultra] rrd84:
Not able to perform step 10.

error as :

Click to enlarge image

10/010/2015 18:10:29 - INFO - Selected Bundle for Sony Xperia T2 Ultra (D5322). FW release : 19.3.A.0.470. Customization : Lollipop 5.0

10/010/2015 18:10:29 - INFO - Preparing files for flashing

10/010/2015 18:10:29 - ERROR - Cannot delete C:\Users\'@#&\.flashTool\firmwares\prepared\boot

10/010/2015 18:10:29 - INFO - Cannot open bundle. Flash operation canceled

---------- Post added at 06:45 PM ---------- Previous post was at 06:12 PM ----------

any help? :(

---------- Post added at 07:18 PM ---------- Previous post was at 06:45 PM ----------

stuck at step 10, help me buddy.. I am waiting :(
[Sony Xperia T2 Ultra] rrajesh:
Buddy, It seems your end problem == user account permission // corrupt download // file is using by another process
[Sony Xperia T2 Ultra] rrd84:
what to do?

no process is running or using any file..

---------- Post added at 07:30 PM ---------- Previous post was at 07:28 PM ----------

all I think is problem is with this file only

4. D5322_19.3.A.0.470_Lollipop 5.0 kernel (9MB)

can you reupload or send me this file? 5.0 or 5.0.2 kernel so I can start my device

---------- Post added at 07:58 PM ---------- Previous post was at 07:30 PM ----------

step 10 problem SOLVED

Figured it out! thnx to @ kentexcitebot

I went through C:\Users\name\.flashTool\firmwares and deleted the "prepared" folder under the folder "firmwares".

That fixed the problem, apparently.

Now device is about to boot.. waiting for boot complete
[Sony Xperia T2 Ultra] rrajesh:
Similar to "FILE IS USING BY ANOTHER PROCESS" Delete means you forced to terminate the process..
[Sony Xperia T2 Ultra] rrd84:
yes... my bad.. you need to update steps.. :) as someone else might get same problem.

root access worked properly. :good:

now my problem is xposed installer.. how to install?

tried flashing zip, but device won't boot.
[Sony Xperia T2 Ultra] rrajesh:
Xposed is not not available for our device yet...Wait until it fixed for our device. .. You can delete all xposed files to get rid on bootloop.

Solution

1. Flash recovery kernel from #1 post

2. Get rid on Xposed bootloop HERE manually : no flash required
[Sony Xperia T2 Ultra] rrd84:
I am not being harsh :(

I am just letting know what is happening, sorry if I sound harsh :(

already uninstalled xposed.

ok, so finally I manage to get it working, :rolleyes:

1st performed clean installation of 5.0.2 ftf

then followed steps 1 to 9

then deleted the "prepared" folder under the folder "firmwares", (If existed).

then followed step 10 & 11.

started device & updated everything.

I got proper root access & everything is working fine :good:

Thank you :good:

Only problem is, cant boot in Recovery now, after everything is done successfully.
[Sony Xperia T2 Ultra] pvnsai73:
Hw u managed to work xposed on our phne its nt possible as it is not working anymore [MENTION=5952601]rrd84[/MENTION]
[Sony Xperia T2 Ultra] joseph LR:
Thanks bro, root successful but cannot remove/uninstall system apps please help
[Sony Xperia T2 Ultra] pvnsai73:
Check Dis thread [MENTION=4276206]joseph LR[/MENTION] http://xdaforums.com/showthread.php?t=3096863
[Sony Xperia T2 Ultra] rrd84:
NO, xposed is not working, bootloops, I said I managed to fix my problem of step 10.

you misunderstood me :(

---------- Post added at 08:03 PM ---------- Previous post was at 07:56 PM ----------

yes.. preinstalled apps are not uninstalling by this root method, everything else is good.

but kingo root method can uninstall them, kingo root is chinese root tool,

but I am not able to replace kingo root SuperUser with supersu,

thats y I am sticking with this thread root method.

---------- Post added at 08:11 PM ---------- Previous post was at 08:03 PM ----------

I am having this problem, any help?

whichever option I select, mobile either reboot or poweroff

click image to enlarge
[Sony Xperia T2 Ultra] rrajesh:
Dear joseph LR,

You can download following apps from PlayStore

Download R/W Checker from HERE

[Open and tap to R/W, if successful your root is with r/w is ok]

System App remover (Using since 2012) Download

Enjoy!! :)
[Sony Xperia T2 Ultra] rrajesh:
Dear [MENTION=5952601]rrd84[/MENTION],

I worked on recovery and Xposed with different methods whole Sunday,,,but not working.. RC LED blinks but phone boot normally always (:

I think we should wait until [MENTION=410007]Nut[/MENTION] (XZ Developer) fix it..

.
[Sony Xperia T2 Ultra] rrd84:
@ rrajesh

Thanks for R/W Checker

working perfectly now :D

yes.. we should wait until [MENTION=410007]Nut[/MENTION] (XZ Developer) fix it.. :)
[Sony Xperia T2 Ultra] badboy_0077:
No Recovery Mode D5322 since rooted Kitkat 4.4.3

I am not able to do Step 6 as my device doesn't boot into recovery mode. Is there any other way of flashing SuperSU and BusyBox? Please help me. :confused: :) Can I flash them using flashtool?

Thank you :)
[Sony Xperia T2 Ultra] rrajesh:
No, you can't flash them using Flashtool

Read 1st post carefully for recovery mode...
[Sony Xperia T2 Ultra] rustynail1985:
????

about step no. 4 Flash recovery kernel in fastboot mode and disconnect the device can any one tell me what to do exactly in pic if possible
[Sony Xperia T2 Ultra] rrajesh:
#Download recovery kernel an put it on C:\Users\[ UR NAME] \.flashTool [latest flashtool]

#Connect your device in fastboot mode ( Hold volume up and now inset usb...Wait 15Sec)

#Open flash tool ,, click on Flash Device (First icon)

#Select fastboot

#Select flash kernel (Browse downloaded file. change file type sin to img in explorer)

#OK
[Sony Xperia T2 Ultra] badboy_0077:
I did all the steps successfully :) . But im not able to use flodermount. It gives error unable to write to sd. Root explorer also not mounting to r/w. NextappSd also showing error. Phone is successfully rooted. Please help :):)
[Sony Xperia T2 Ultra] badboy_0077:
I did everything successfully but R/W problem is not solved. I tried editing platform.xml but the file doesnt get saved. I tried all the apps possible to fix the issue like Nextapp SDFix. Nothing worked. Please help :) Thank u ;)
[Sony Xperia T2 Ultra] abcdjdj:
Here you go - http://xdaforums.com/showpost.php?p=60788952&postcount=33
[Sony Xperia T2 Ultra] badboy_0077:
Thank u :) I installed dual recovery and everything is working perfectly. Thanks a lot! :D
[Sony Xperia T2 Ultra] eswa1068:
Not Able to write SD card

Hi Rooted is successful But only the problem not able to write on SD Card. pls Help
[Sony Xperia T2 Ultra] badboy_0077:
Install T2U Dual Recovery from pc..........datz it :) It will solve problem of r/w sd card :)
[Sony Xperia T2 Ultra] eswa1068:
Hi Bro,

I have already installed T2U Dual Recovery But still same system does not show the SD card.
[Sony Xperia T2 Ultra] virgilone2:
deleted/fixed