yashsingh1/xdaforums huggingface dataset:
[Sony Xperia ZR] SirVer:
The first time, I'd only succeeded in getting it to boot. Apps were missing, my internal storage was missing. The second fix was to resolve that. Unfortunately, I'm having problems with that too, which I'm not going to detail here. Anyone wants help with something that may be similar, feel free to ask, and I'll share my progress.
[Sony Xperia ZR] BananaCHIU:
I followed your step, step 5 is not needed. I can access storage\sdcard0 (internal storage) after i finished step 4. I am enjoying it!! I think the ftf fixed it :laugh:

Thank you very much :good:
[Sony Xperia ZR] BananaCHIU:
but here is a new problem,i cant activate the mobile service. I can scan the service but i cant use them :confused:
[Sony Xperia ZR] SirVer:
Same problem. Looking for a fix.
[Sony Xperia ZR] SirVer:
IMEI is null/corrupt. Restore stock firmware (after backing up current) along with TA backup, should work. Then restore backup. Will test myself later.
[Sony Xperia ZR] BananaCHIU:
How to restore stock firmware ? I havent backup the stock firmware. And the meaning of "current" is lollipop?
[Sony Xperia ZR] THeLogiC:
everything is working except I only have PowerOff option in power menu. No screenshot or reboot options..
[Sony Xperia ZR] SirVer:
OK, I have no clue what to do here.

I'm still hunting down methods, and I'm downloading some files to try some other methods, but I have so far been unsuccessful in restoring my IEMI. If the ZR had a MediaTek processor, then no problem, but it doesn't. I can't find a way to change IEMI on Qualcomm devices. If anyone has any idea on how to fix this, in any way, PLEASE respond. And don't bother telling me it's illegal - I know that. I'm hoping that having the genuine intention of wanting to restore my own IEMI (having written it down earlier) will suffice to dispel any unlikely legal attention (I can dream, right?).
[Sony Xperia ZR] BananaCHIU:
I successed!! I followed some of your steps

1. Backup with Titanium Backup

2.Flash stock FTF using Flashtool ,wipe all the things

3.Boot into system and finish the setup

4.Use flashtool and boot into fastboot,then flash boot.img,system.img

5.Boot into recovery ,install all the zips(fix,supersu,gapps)

6.In the system, I found that there are no problems at this moment

7.Restore apps!

8.Enjoy!
[Sony Xperia ZR] SirVer:
AARGH!!! Why is it that my tutorials work for everyone but me?!?!

*deep breath*

So you managed to fix it? Great! That means it is fixable (Thank GOD). Just be sure that it's really fixed - try making some calls, whatever. I'm going to try what you did. *fingers crossed*

EDIT: It worked! Though, once again, I have no idea why. I had tried flashing the stock FTF, but that put me in a bootloop. This time, I wiped Data (including userdata), and it works, though that should have nothing to do with the IMEI. Weird. Oh, well.
[Sony Xperia ZR] HS_D:
Here is what i am gonna do, flash the boot.img

flash the update 23 11 2014

install the gapps ZIP via cwm

install the libs?

Am i hood to go?
[Sony Xperia ZR] SirVer:
You also need to factory reset i.e. wipe cache, dalvik, and data, preferably before you flash the zips and the libs. Also, this comes with TWRP, not CWM. ;)
[Sony Xperia ZR] HS_D:
can't see the internal memory

i cant see things internal memmory either on phone nor on pc
[Sony Xperia ZR] SirVer:
Try chmod 755 on /data/media (if that doesn't work then /data/media/0) in TWRP file manager.
[Sony Xperia ZR] swasha123:
Guys, what is this star?? I tried to find out but no success.
[Sony Xperia ZR] SirVer:
Your interruptions are set to Priority Only. Increase or decrease the phone (not media) volume and you'll see the options on the volume slider.
[Sony Xperia ZR] kash296:
So the update has the option of displaying percentage for the battery?? I couldn't find such an option in the first build. And do lemme know if bluetooth sharing has been fixed, as i'm unable to share apk's, which was a known bug for this rom, not a big deal, but if that fix is made, I am so flashing this by tonight :P
[Sony Xperia ZR] HS_D:
phone not turning on

my battery drained last night which turned off my phone, and now when i charge it , it goes into bootloop and refuses to turn on
[Sony Xperia ZR] SirVer:
Almost all bootloops can be fixed by flashing system, at least in my experience. You won't lose your data, either.

You'll also have to flash the fix and SuperSU again.
[Sony Xperia ZR] swasha123:
Install app "Percent Enabler" for Battery percent. It is inbuilt in Lollipop but need Enabler.
[Sony Xperia ZR] HS_D:
i am not concerned about that , my phone wont charge..... without juice it's useless you see, can twrp do offline charging. I can solve bootloops but not this phone doesn't charge while turned off, it fires up instantly which i don't want:crying::crying::crying:
[Sony Xperia ZR] HS_D:
Issue resolved

I FOUND THE SOLUTION

1)Flashed everything from fastboot

2)Installed necessary zips(not the su)

3)connected the phone to pc and let it charge

Miraculously it started charging with a bright red led and then voila..... it boots up correctly!! hope this helps anyone else who is facing the same. Other solution i guess would be a charging cradle for the battery which will charge the battery and then placing it back into the phone, but seriously this build needs an offline charging fix :victory::victory::victory:
[Sony Xperia ZR] SirVer:
Oh, sorry, misunderstood what you meant. I've never completely drained my phone (lowest I've come is 5%), nor do I plan to, so this isn't a problem for me.

Anyway, your problem was that the phone kept trying to turn on, and then going into a bootloop, preventing it from charging, right? The reason that it started working is because you reflashed, not because of what you flashed; when the phone fails to boot or goes into bootloop, I think it registers somewhere that the last boot failed - and so, it kept trying to fix that by booting when connected with power. When you flashed, it must have reset that flag. Just a theory, based off the fact that when I take the battery out in the middle of a bootloop and put it back in immediately, it turns on - I have to keep the battery out a few seconds to keep it off.
[Sony Xperia ZR] kash296:
Does anyone use the Sony Album apk in this ROM? I've found that i'm unable to rotate the pictures, it gives a force close. Any suggestions?
[Sony Xperia ZR] HS_D:
I didnt try that but , i guess what you said above could be a possible explanation, anyway

Thanks for porting a rom and now i can access the inyernal storage as well, maybe the system.img didnt flash correctly the first time
[Sony Xperia ZR] toutou2:
anyone knows because it heats much? any solution?
[Sony Xperia ZR] madewika:
Hi guys, noobs here

Today i just flashed my xperia zr with this rom. i used the old system.img ( not the fixed one ), here's my steps:

1. Flash boot.img

2. Flash system.img

3. Factory reset ( wipe dalvik, cache, and system )via recovery mode

4. And the last, i reboot my device. But berfore that, i saw this message; "this phone has not rooted. Do you want to root it? swipe to root"

then i choose to root it by swiping it in recovery mode.

after that, the screen goes all black. I've read the earlier post that the duration of this black screen is quite long time. But, i've been waited for around 20 min. but it's still black.

Then i decided to remove the battery, and go to recovery mode, factory reseting again, and reboot my device ( but without rooting it ), it's still black ( the duration of this black screen is about 8 min. until i write this post ).

what should i do?
[Sony Xperia ZR] madewika:
hey guys, i have a problem. i've got lollipop on my ZR, but

there are no notification bar, no touch ( navigation button such as back and home buttons ) buttons, even when i pressed vol up dan down button, it wont appear on the screen.

i've followed the procedure, flash boot, system, wipe data, dalvik, and cache, and reboot.

any solution for my problem? thanks
[Sony Xperia ZR] kash296:
Please read op thread carefully. You haven't applied the fix provided in the OP description. Hopefully that is the obvious solution to your issue. If it doesn't work, just redo the whole thing and apply the fix in recovery before start up.
[Sony Xperia ZR] chilukuriabhiram:
call Ringtone not changing

I am on 25.11 build. i am having only one bug. The call ringtone is not changing. Which ever audio file I set as ringtone from which ever app, it only plays a 'ding' sound during the call.

Please help.
[Sony Xperia ZR] SirVer:
If it's important for you, switch to the previous build - I haven't flashed 25.11 yet (too busy), and I don't have this problem. If you can, apply the old fix, don't know if the new one will have issues with the previous build.
[Sony Xperia ZR] kash296:
guys please could someone try out the sony album apk and check if it force closes while rotating images?? Cause the bug was there in the previous build as well as the 25.11 build.
[Sony Xperia ZR] SirVer:
Which apk? Is it a flashable mod? Where did you get it? Send me a link and I'll test it on the old build, newer one if I have time; I tried flashing the new one, but changing the date and time makes it hang for some reason - maybe because I wasn't using the recommended PA gapps.

Again, I'll try for the new build, but no guarantees. I'll definitely test for the old one though, so send that link. ;)
[Sony Xperia ZR] kash296:
Not a flashable version. I'm not sure of the version i think it's 6.3.A.0.22
[Sony Xperia ZR] SirVer:
Link please...
[Sony Xperia ZR] kash296:
http://www.pcnexus.net/2014/09/sony-album-6-3-a-0-12-update-download-apk.html
[Sony Xperia ZR] SirVer:
It FC's when trying to rotate, like you said. Maybe it depends on some kind of stock library or something. Also, this seems to be an older version (no favorites) - maybe try a newer one?
[Sony Xperia ZR] kash296:
Hmm i got this after a Z3 ROM came for the phone.. Perhaps i'll give it a shot with a newer apk.. Highly unlikely though... Could need a framework fix... Which i don't even know about :(
[Sony Xperia ZR] CryptoRishabh:
lollipop not working xperia zr

i tried to fast boot the given system image n boot image lollipop file given for xperia zr but my cell stuck in bootloop :crying::crying:
[Sony Xperia ZR] SirVer:
Read the steps in the first post properly.

Note: You can boot into recovery by pressing VOL-DOWN when the led flashes white when booting.
[Sony Xperia ZR] chekstar1415:
External Card Support for Lollipop (AOSP)

Hi,

After installing Lollipop on Xperia ZR(C5502) I was could not see any files from External card.

On going thru thread, i learnt and executed chmod 755 on data/media and data/media/0

And after third time of execution I was able to see files from 16GB ext card in ES File Manager but i can not see files if I insert a 64GB mem card.

Any idea why this is so??

Any help would be appreciated.
[Sony Xperia ZR] SirVer:
Could you use the 64 GB on stock? IIRC, our device supports a maximum of 32.
[Sony Xperia ZR] chekstar1415:
Ohh yes, I was able to access files from a 64GB mem card on Stock 4.4.4

I guess Sony increased max support to 64GB during Android 4.2.2 rollout.(as far as the update log mentioned it)
[Sony Xperia ZR] CryptoRishabh:
Xperia zr does boot into recovery..
[Sony Xperia ZR] kash296:
Um what are you getting at?
[Sony Xperia ZR] SirVer:
I mentioned the recovery in case you didn't know how to enter it; you can fix your problem by reading the first post, all instructions are there.
[Sony Xperia ZR] neildalal:
Great work Xenius!

Flashed the new system and boot files in fastboot and the the new fix, gapps and super su, wiped dalvik cache and data and rebooted into system. Most of the things work fine. There is no problem with the proximity sensor and the battery does not drain fast ( drains at the same rate as it did in kitkat). Although 2 things are stopping me from using this wonderful port on my xperia zr. If anyone has a fix please tell me.

First of all link2sd does not work. My second sdcard partition is in ext4 format and when i open link2sd it tells me to reboot. After reboot i get the message unfortunately link 2sd has stopped working, tried it 3-4 times.

Second thing is that i cant see my internal storage in any file manager. I am able to download apps from the play store and have downloaded over 4 gb apps already ( thats why need link 2sd to work desperately to free up sone space) So how do i mount my internal storage? Tried to do it via recovery but it didnt work.

Lastly, im not able to grant root access to titanium backup. Its stuck on asking for permissions. I havr successfully granted root access to lin2sd and ea file explorer.

Someone please please help me with these 3 issues. Want to use it as my daily driver.....

Help will really be appreciated.

And once again thanks a lot Xenius!!

Edit : I can't even download anything from chrome or any other browser. Can't even download images from WhatsApp. I think its because of the internal memory problem..

Please help
[Sony Xperia ZR] kash296:
About the SD card, i guess it can be fixed with chmod, something like that the guys were talking about on the thread... Jus check the previous pages of this thread :)
[Sony Xperia ZR] neildalal:
Thanks kash but already tried the chmod755 method it didnt work. It says operation successful but don't change anything.

Titanium backup has started working!

Need a fix for the other two problems....

Please help!
[Sony Xperia ZR] SirVer:
The only way I've found to fix this problem properly (no workaround) is to format /data partition, internal memory included. You can do that with Flashtool, or you can do it with TWRP, which is what I did. Backup your apps with TiBu and format. If you need to backup your internal storage (recommended), check the folders in /data/media, namely 0 and legacy, your files should be in there.
[Sony Xperia ZR] CryptoRishabh:
when I press volume down button nothing happen it boots normally...
[Sony Xperia ZR] neildalal:
You press the volume up not the volume down button to enter recovery
[Sony Xperia ZR] SirVer:
I use volume down, works for me. Maybe it was changed in the later kernel versions - I'm still on the first root-enabled one.
[Sony Xperia ZR] kash296:
Lol, when i boot the phone i just press both volume up and volume down buttons like a madman, which ever responds to the command god only knows :P Usually it is volume up, but in some cases volume down has worked ;)
[Sony Xperia ZR] SirVer:
That's what I did the first few boots. XD
[Sony Xperia ZR] neildalal:
Bootloop!

Formatted the data partition and then booted. Took 10min to boot . Still the storage problem persisted. Root was lost. Flashed the super su zip and a bootloop!

Now have restored a lollipop backup.

Im using the new kernel. Will flashing the old kernel and fix help? Will i lose data in doing so?

Please help!
[Sony Xperia ZR] kash296:
Jus one question. Did you use the latest fix, latest kernel, and latest system image?

And what you could try is.

Flash back a stable kitkat rom which you were using, for me TeslaROM was brilliant. Now, after flashing this kitkat rom, i suggest you allow it to settle for a while. After some time, reboot into recovery, do the factory reset ( if TWRP), else do the usual, wipe data, cache and dalvik. Then fastboot flash the kernel, and the image. Reboot into recovery, apply the fix, supersu, gapps, and anything else you use, cause i'm very comfortable with the xperia keyboard, i flash that too :P But jus do it in a sequence, it should work, I'm one of the few users in this thread who hasn't had an issue with the ROM, from the very first upload. So i hope it works for you, as this has worked out pretty cleanly for me. Cheers :D
[Sony Xperia ZR] neildalal:
Yes i did use the latest kernel, latest fix and system and i think i had performed all the steps.. Anyways i shall try again as you said and see if it works. Now that titanium backup is working , no problem of data loss as well. Will let you know tomorrow.

Thanks!

---------- Post added at 06:47 PM ---------- Previous post was at 05:50 PM ----------

Internal storage fixed!

A very simple solution which i missed in the discussion forum.

Solution by Quinny 99

In terminal emulator typed

su

restorecon -FR /data/media/0

And it worked instantly without the need to follow the full procedure again.

Ofcourse i will have to type it after every boot but i can automate it ....
[Sony Xperia ZR] SirVer:
I wish I'd known that when I had the problem... :p
[Sony Xperia ZR] THeLogiC:
Any idea how to make notification LED work while charging?

I mean while charging when a notification comes, it should blink and not just the solid LED of charging.
[Sony Xperia ZR] kash296:
True i also wondered about it. It really isn't a serious prob, can easily be managed.
[Sony Xperia ZR] neildalal:
Anyone knows the changelog of the new update?
[Sony Xperia ZR] neildalal:
Link2sd does not work...

Can i use another kernel that supports partitions instead of this one?

Please help!
[Sony Xperia ZR] SirVer:
As I understand, a kernel must meet the following conditions to be run on the ZR:

1. Be compatible with it (obviously).

2. Be compatible with Lollipop - this includes having SElinux set to enforcing, but patched to allow root.

If you can find one like this (doubtful), I *think* you could use it. Not at all sure though, try researching it.
[Sony Xperia ZR] chekstar1415:
Found a mini bug while charging

I did this couple of times for 25.12.2014 update.

While the I keep the charger connected to the device, turned ON, and if I Power Off the device, the device reboots, instead it is supposed shut down and turn On again(by itself) to show the charging screen with just the battery indicator on the screen.

Any idea why this is happening.
[Sony Xperia ZR] kash296:
This is one more bug i've had, I don't really find it a big issue, jus take the charger off when switching off. After its off, jus carry on chargining it. :)
[Sony Xperia ZR] chekstar1415:
That's why it was mentioned as a mini bug ;)

Any idea about this:

http://xdaforums.com/showpost.php?p=57156049&postcount=77
[Sony Xperia ZR] BananaCHIU:
I cant use/activate viper4android fx ,even i follow the update of Lollipop(link below). Is it not fixable for ZR? Sorry for my poor English :confused:

(http://xdaforums.com/google-nexus-5/themes-apps/discussion-viper4android-t2543796)
[Sony Xperia ZR] kash296:
Did you run it in compatible mode? Cause it worked for me. Of course its perfomance was no where near the level of kitkat's v4a..
[Sony Xperia ZR] BananaCHIU:
yes i did. It's not working. i install super audio performance .plz help
[Sony Xperia ZR] kash296:
Hmmm. Well which player are u using? It didn't work on sony walkman. I used it on the music app that came with the ROM. I don't know about Google Play Music. And did you enable v4a? I know it's a dumb question, but still sometimes people may forget to do that. Or try force enable to see if there's a difference. And even then, V4A doesn't give such a boost on L cause the root isn't fully fixed, so until work arounds are made, Viper won't function properly on L.
[Sony Xperia ZR] surendar1990:
Did you check internal storage?

I had this same problem along with internal storage and memory card not being detected...When flashing the ROM I wiped internal memory also. So I guess thats the reason it did not get detected. I then formatted Internal memory in recovery and problem got solved. Hope this helps :)
[Sony Xperia ZR] thupilibharath:
Lollipop ROM building

Hi,

I am trying to build a AOSP lollipop ROM for Xperia ZR. I have followed the instructions in the following link.

h**p://developer.sonymobile.com/knowledge-base/open-source/open-devices/aosp-build-instructions/how-to-build-aosp-lollipop-for-unlocked-xperia-devices/

In that it is mentioned to use the software binaries for the devices. I could not find them for Xperia ZR in sony's website. Can you let me know where I can find them. If you have them it would be really great if you can upload them. Thanks in advance
[Sony Xperia ZR] SirVer:
This is something I asked as well, when the ROM released - would love to know.
[Sony Xperia ZR] kash296:
I'm guessing, the dev jus modified Z's tree, by comparing it with ZR's kitkat tree. The two devices have essentially similar firmware, except screen size and a few other stuff.. I can only assume, that's the reason we have a fix zip for the ROM. Cause when we flash the ROM without the fix, the screen is a mess, as the resolution is different.
[Sony Xperia ZR] rigmalorewhip:
Battery stats show significant drain for standby

In the battery usage page, it shows that the standby has a disproportionately large battery drain. However, I got a screen on time of 3.5 hours and I used the phone a fair amount. Could someone explain to me what this means and how it can be corrected? Thanks.
[Sony Xperia ZR] CryptoRishabh:
it is showing Android is upgrading starting apps from last 1 hour how much time will it take....????
[Sony Xperia ZR] kash296:
It usually won't take so long. It happened to me once. What i did was just to reboot the phone.. Fortunately, i had no issues by doing that.. .But i suggest you better wait out a little longer, if you don't have a proper back up..
[Sony Xperia ZR] CryptoRishabh:
i rebooted it but again android is upgrading starting apps. n waiting since 2 hours. now.
[Sony Xperia ZR] SirVer:
Wipe cache and dalvik and try again. If it gets stuck again for more than 10 minutes, do a clean flash, wipe everything.
[Sony Xperia ZR] CryptoRishabh:
xposed framework

how to install xposed framework in lollipop
[Sony Xperia ZR] SirVer:
Xposed is not compatible with ART, and probably won't be for quite a while.
[Sony Xperia ZR] Manjunath core hacker:
guest mode not working(lollipop) in xperia zr

guest mode s nt working ,if i switch to guest mode i only get black screen ,evn on adding new user!!!

help plzzzzz
[Sony Xperia ZR] reamea:
Twitter don't show picture and auto time zone not work

I have installed lollipop in my Xperia zr, everything work correct but I have some issues. Twitter app doesn't show picture and auto time zone in settings don't work until I set manual to my time zone.
[Sony Xperia ZR] yosry93:
I have a battery drain problem, at about 65% that miscellaneous starts appearing in battery use and battery keeps draining fast, as battery level gets lower the use of Miscellaneous increases and so does the battery drain, it starts with about 9% usage and ends with about 50% when the device is below 10% battery, and it is draining ultra fast at that level, any help pleaaaaaaase??????
[Sony Xperia ZR] HS_D:
Will i lose data

I am on the previous version of the lollipop, works nice and all but i want to upgrade to this one, will i lose all my data and stuff, I don't like to go all over the same process of restoring all my apps and stuff!! :crying:
[Sony Xperia ZR] SirVer:
Just flash it over, then the fix, gapps, etc. No need to wipe.
[Sony Xperia ZR] HS_D:
I don't know how to flash the gapps i was unclear on that part, should I make the phone go in fastboot mode and run the commands given with Gapps??
[Sony Xperia ZR] SirVer:
You could do that, but flashing the zip from recovery works just fine for me.
[Sony Xperia ZR] HS_D:
Which one the one with the previous version?? are .tgz files flashable in twrp
[Sony Xperia ZR] SirVer:
.tgz files? What do you mean? I only have imgs and zips.
[Sony Xperia ZR] HS_D:
The new gapps given in the link is a .tgz
[Sony Xperia ZR] SirVer:
Huh. Maybe it's flashable, I have no idea. Try using it in TWRP, if it gives error, I guess it's for use with adb.
[Sony Xperia ZR] stylo969:
To install a .tgz file you have to copy it in internal sd card it will install itself during boot..
[Sony Xperia ZR] SirVer:
Noted. Thanks for the info.
[Sony Xperia ZR] pemoeda911:
mine's camera hardware button doesn't work

has someone reported this?

still it's an awesome job. well done

i'm not going back to kit kat
[Sony Xperia ZR] kash296:
Known bug, so far there hasn't been a workaround on that. Maybe the dev may find a fix later.
[Sony Xperia ZR] SirVer:
I don't think it's a bug exactly; this ROM is ported from the yuga, which doesn't have a camera button. So the reason it doesn't work is that the feature never existed in the first place.