[REQ] Sony Xperia Z2/ZR Touch Block for XZ1 - Xperia Z1 Q&A, Help & Troubleshooting

Hello,
I've been looking for a third-party application that allows you to use the physical buttons whilist the touch screen is disabled.
That would allow you to use your camera in wet conditions, I know that the XZ1 is not meant to be used as an underwater
camera, but it should at least function correctly in the rain.
Does an application like that already exist? So far I've not found one that functions as I'd like it to.
It would be amazing if someone ported the Sony Xperia Z2/ZR Touch Block application to work with the XZ1.
There's just one thing I'd change in Touch Block, I would love it to have the feature to hide the on-screen clutter.
Thanks in advance!
Kevinpar
EDIT:
I just found out, that Touch Block is included with all stock roms since KitKat, I previously had a custom rom installed which apparently did not include that small application.

kevinpar said:
Hello,
I've been looking for a third-party application that allows you to use the physical buttons whilist the touch screen is disabled.
That would allow you to use your camera in wet conditions, I know that the XZ1 is not meant to be used as an underwater
camera, but it should at least function correctly in the rain.
Does an application like that already exist? So far I've not found one that functions as I'd like it to.
It would be amazing if someone ported the Sony Xperia Z2/ZR Touch Block application to work with the XZ1.
There's just one thing I'd change in Touch Block, I would love it to have the feature to hide the on-screen clutter.
Thanks in advance!
Kevinpar
Click to expand...
Click to collapse
Have you tried searching here on XDA yet?
Because this is what I found by simply searching. The first link even.
http://forum.xda-developers.com/showthread.php?t=2660263

1
Hermantje said:
Have you tried searching here on XDA yet?
Because this is what I found by simply searching. The first link even.
http://forum.xda-developers.com/showthread.php?t=2660263
Click to expand...
Click to collapse
Yes I have, there are currently no working versions of Touch Block for the XZ1 from what I know.
At least for KK 4.4.4, and I am almost certain, that it's not even available for 4.4.2
I've installed several different builds of the application on my XZ1, none have worked flawlessly yet - FC etc...

kevinpar said:
Yes I have, there are currently no working versions of Touch Block for the XZ1 from what I know.
At least for KK 4.4.4, and I am almost certain, that it's not even available for 4.4.2
I've installed several different builds of the application on my XZ1, none have worked flawlessly yet - FC etc...
Click to expand...
Click to collapse
That's really weird, because I had Touch Block as one of my Small Apps ever since the update to 4.3 or 4.4. I'm pretty sure because I used my phone underwater already
According to my linked XDA post, that particular version should work on the Z1 though. Do you happen to have root? The only thing I could think of is that you may have conflicting software somehow, causing the FC.

Hermantje said:
That's really weird, because I had Touch Block as one of my Small Apps ever since the update to 4.3 or 4.4. I'm pretty sure because I used my phone underwater already
According to my linked XDA post, that particular version should work on the Z1 though. Do you happen to have root? The only thing I could think of is that you may have conflicting software somehow, causing the FC.
Click to expand...
Click to collapse
Just to be sure, I tested that particular version again, I am currently on stock deodexed and rooted 4.4.4, fresh install, so I should not have anything interfering with the application. I've also tried the same .apk, when I was on 4.4.2, no luck. Besides, the topic you referred to, is about a version, that was originally meant for JB 4.2.2. If you go on the 2nd page of the linked thread, in the linked thread, you'll find that it stopped working after the JB 4.3 update, even on Xperia ZR devices, which was the device, it was built for.

kevinpar said:
Just to be sure, I tested that particular version again, I am currently on stock deodexed and rooted 4.4.4, fresh install, so I should not have anything interfering with the application. I've also tried the same .apk, when I was on 4.4.2, no luck. Besides, the topic you referred to, is about a version, that was originally meant for JB 4.2.2. If you go on the 2nd page of the linked thread, in the linked thread, you'll find that it stopped working after the JB 4.3 update, even on Xperia ZR devices, which was the device, it was built for.
Click to expand...
Click to collapse
I've never done this before but I think I extracted the .apk file that works on my 4.4.2 Xperia Z1. I'm curious whether you're able to install this now (as I don't know if this the correct way to extract .apk files). But it's worth a shot I suppose. I mean, it's the app that I found in my system/app folder so it could work :silly:

kevinpar said:
Just to be sure, I tested that particular version again, I am currently on stock deodexed and rooted 4.4.4, fresh install, so I should not have anything interfering with the application. I've also tried the same .apk, when I was on 4.4.2, no luck. Besides, the topic you referred to, is about a version, that was originally meant for JB 4.2.2. If you go on the 2nd page of the linked thread, in the linked thread, you'll find that it stopped working after the JB 4.3 update, even on Xperia ZR devices, which was the device, it was built for.
Click to expand...
Click to collapse
EDIT: I updated the OP, pretty dumb of me not to check the pre-installed small apps... You're getting a +1 for trying to help!

Related

[Q] Droid 3 front facing camera problem

Everytime I try to use the front facing camera on my Droid 3 it says "unable to intialize" and I have to power off the phone to reset the camera. I've found lots of people that have had the same problem (why didn't I find these posts BEFORE I bought the phone??) but I've not found any solutions.
I have not made any modifications to the phone. It is not rooted. It says my system is up to date.
Is there anyway to fix this?
Thank you for any help I can get. I am beyond frustrated
Factory reset? Probably a software problem.
MrObvious said:
Factory reset? Probably a software problem.
Click to expand...
Click to collapse
Tried that (more than once, just to be sure). No luck.
Any other suggestions?
Which version of software do you have? Go to Settings, and go to the bottom and tap that and look at the version (post a screenshot or picture so we can tell).
MrObvious said:
Which version of software do you have? Go to Settings, and go to the bottom and tap that and look at the version (post a screenshot or picture so we can tell).
Click to expand...
Click to collapse
It is System Version 5.7.906.XT862, Android Version 2.3.4
(Sorry for no screenshot,I tried a handful of screenshot apps and didn't have any luck with any of them working right.)
I have the same problem with minomoto
Do you have any third-party apps that use the ff camera? For example, have you installed any anti-theft security apps installed that may be set to use the camera if somebody has stolen the phone? Is it possible that one of those running in the background is not releasing the camera for other apps?
doogald said:
Do you have any third-party apps that use the ff camera? For example, have you installed any anti-theft security apps installed that may be set to use the camera if somebody has stolen the phone? Is it possible that one of those running in the background is not releasing the camera for other apps?
Click to expand...
Click to collapse
I didn't install anything like that and I don't think any of the bloatware has anything like.
This same issue suddenly struck my Droid 3 a week ago. I'm running stock .906, rooted, most Verizon bloat removed. Never had an issue with any camera apps accessing front or back cameras, then suddenly my front camera either shows black or won't initialize. I searched the web pretty extensively, but haven't found any definite fix. I've tried clearing the system cache and deleting the camera app's data with no result. I'm hoping to avoid a hard reset if possible, as I hate having to set everything up again, and by the reports I've seen it's only helped a few people.
You could create another ROM slot and try that from Safestrap. But it might be the hardware going pfffftt.
I know some others have had the same issue I believe they had to sbf. If nothing else if the issue survives an sbf you will know it's hardware
Sent from my XT860 using xda premium
Problem seems to have shown up after Google+ apps started to populate phone.

[Q] Xperia Z ROM with a modified MAIL apk? Exchange Passcode removed?

Hi guys,
Hope someone can point me in the right direction.
For the longest time I had been running a custom ROM with my old HTC One XL, specifically the ViperXL Rom.
In effect, the sole and only reason I used that ROM was because the developer had modified the stock Mail program to bypass the Exchange Passcode requirement. (This is not the place to argue to virtues of the passcode requirement, I have made my choice and I'm sticking to it).
When I got the Xperia Z, in order to "bypass" the passcode requirement, I resorted to using a mail app called Enhanced email - which is great. But, as per some other users on JellyBean, the Enhanced email app would lose all settings everytime you restarted the phone - an obvious annoyance. The temporary workaround was to achieve root, and use titanium backup to back up the application, and then restore it. Effectively installing it in non-volatile memory.
This workaround is effective, but not elegant. In addition, Enhanced email is a good app, but it isn't as slick, or as integrated as the stock functions. I'm also not knowledgable enough to modify the stock APK myself.
So, the questions is, is there a Xperia Z ROM, which is close to stock look, with a modified mail apk which overrides the passcode in Exchange?
thanks in advance!:good:
sephstyler said:
Hi guys,
Hope someone can point me in the right direction.
For the longest time I had been running a custom ROM with my old HTC One XL, specifically the ViperXL Rom.
In effect, the sole and only reason I used that ROM was because the developer had modified the stock Mail program to bypass the Exchange Passcode requirement. (This is not the place to argue to virtues of the passcode requirement, I have made my choice and I'm sticking to it).
When I got the Xperia Z, in order to "bypass" the passcode requirement, I resorted to using a mail app called Enhanced email - which is great. But, as per some other users on JellyBean, the Enhanced email app would lose all settings everytime you restarted the phone - an obvious annoyance. The temporary workaround was to achieve root, and use titanium backup to back up the application, and then restore it. Effectively installing it in non-volatile memory.
This workaround is effective, but not elegant. In addition, Enhanced email is a good app, but it isn't as slick, or as integrated as the stock functions. I'm also not knowledgable enough to modify the stock APK myself.
So, the questions is, is there a Xperia Z ROM, which is close to stock look, with a modified mail apk which overrides the passcode in Exchange?
thanks in advance!:good:
Click to expand...
Click to collapse
Check out this post - http://forum.xda-developers.com/showthread.php?t=2191606
The above post has link to a email MOD thread. I have applied it on my xperia z stock and it worked flawlessly. :good:
swrajjoshi said:
Check out this post - http://forum.xda-developers.com/showthread.php?t=2191606
The above post has link to a email MOD thread. I have applied it on my xperia z stock and it worked flawlessly. :good:
Click to expand...
Click to collapse
Thanks for that response, much appreciated. I'll take a look and see if I can take the plunge!
If anyone else has any more to add, please do so!
sephstyler said:
Thanks for that response, much appreciated. I'll take a look and see if I can take the plunge!
If anyone else has any more to add, please do so!
Click to expand...
Click to collapse
I tried it, and works perfectly. thanks!

(3 August) Unofficial CM 10.2 for Pollux_Windy (Wifi Only)

Unofficial, no warranty, express or implied. Not final, nothing to do with the CM people, not backed by them, not made by them, may cause corruption of innocent kittens if used irresponsibly. I am posting this only because the main CM sources are not perfect right now for building for Qualcomm devices just yet, and need some tweaks in new branches.
CM 10.2 Android 4.3 built for, and working on Pollux_Windy, once again thanks to Sony using such nice, open-source-friendly devices.
Working:
WiFi
Compass + sensors
Sound
Bluetooth
Front + Rear Camera
External SD (including ExFAT)
Not Working:
GPS
This is for the Pollux_Windy (SGP311) Wifi ONLY tablet. It should work on the SGP312 (32 GB wifi only) as well, but will NOT work on the Pollux (with LTE).
http://goo.im/devs/pulser/TabletZSGP311/CM10.2/cm-10.2-20130810-UNOFFICIAL-pollux_windy.zip
Tried to flash this but i'm getting an error about device build prop not matching requirements. I had a 312 rom on first, and flashed a 311 stock rom, but still get the error. My device is 311 by default.
Do i need to edit my build.prop? Even though my device shows as SGP311?
EDIT: Ah nevermind, i had the stock bootloader still installed. Doh!
If anyone needs Gapps I found them here:
http://forum.xda-developers.com/showthread.php?t=2378992
Sent from my SGP311 using xda app-developers app
Updated to 30 July build - includes the new Focal camera app. Yes, it has a few bugs with tablets and orientation. It's known.
Is root possible yet? I tried the supersu zip that was attached in op, but still needs the binary according to the supersu app. Do we need to adb push the binary?
Edit: Nevermind, just tried the latest supersu and works fine.
I can't get a restricted user to work for the life of me. All kinds of processes are force stopping and I couldn't pick trebuchet from the list on setup either, though I did manage to work around that with Apex eventually, though Apex kept crashing too.
I assume apps might have to support this (or at least launchers?) But core processes?
I did dirty flash so it's possible that has something to do with it.
Still digging around. I'll clean flash later to retry restricted users too.
C
cjdalessio said:
I can't get a restricted user to work for the life of me. All kinds of processes are force stopping and I couldn't pick trebuchet from the list on setup either, though I did manage to work around that with Apex eventually, though Apex kept crashing too.
I assume apps might have to support this (or at least launchers?) But core processes?
I did dirty flash so it's possible that has something to do with it.
Still digging around. I'll clean flash later to retry restricted users too.
C
Click to expand...
Click to collapse
Restricted profiles are not tested or a priority right now in CM I believe.
Got this working on my xtz SGP311 seems really quick so far recovery plays nice, only real issues I've encountered is that the screen flickers black every now and then using the aosp browser and MX player pro doesn't work as android 4.3 isn't supported yet which has nothing to do with the rom.
WiFi and GPS seem to working used google maps to find a location and navigate there had no issues with those yet.
Definitely something different over the Sony ui and less cluttered just need the sony remote
Gonna have a play with it and see how I get on with it lots of options to play with hehe
Sent from my SGP311 using XDA Premium HD app
andymg350 said:
Got this working on my xtz SGP311 seems really quick so far recovery plays nice, only real issues I've encountered is that the screen flickers black every now and then using the aosp browser and MX player pro doesn't work as android 4.3 isn't supported yet which has nothing to do with the rom.
WiFi and GPS seem to working used google maps to find a location and navigate there had no issues with those yet.
Definitely something different over the Sony ui and less cluttered just need the sony remote
Gonna have a play with it and see how I get on with it lots of options to play with hehe
Sent from my SGP311 using XDA Premium HD app
Click to expand...
Click to collapse
Check out the project by @Apache14 that brings infrared remote control support to non Sony ROMs!
Are you sure gps is working? I don't think it should be in this ROM...
I had a go at the open source IR by apache but had no luck getting it to work, but I'm not sure if I installed it right.
I'll have another play with GPS today as I've got more time and let you know I could have jumped the gun on this one lol. I quickly downloaded an app called GPS test and although it says the GPS is on it doesn't show anything else like coordinates or location I'll keep playing for now though.
Sent from my SGP311 using XDA Premium HD app
Updated 3rd August
Updated 7th August.
Thanks a lot for throwing this together... everything seems to be working great, I'm impressed by focal.
I'm still struggling with is the absence of tablet UI (trying to hit the home softkey in landscape is impossible, so I've been forced to full!screen, which is working well), but it's a small price to pay for the jump from Sony's 4.1.2 to a functional 4.3 Rom.
zylstrajs said:
Thanks a lot for throwing this together... everything seems to be working great, I'm impressed by focal.
I'm still struggling with is the absence of tablet UI (trying to hit the home softkey in landscape is impossible, so I've been forced to full!screen, which is working well), but it's a small price to pay for the jump from Sony's 4.1.2 to a functional 4.3 Rom.
Click to expand...
Click to collapse
Interesting. Out of interest, how do you use your tablet ? I'm just trying to work out if there is any link or difference - personally I thought the same, that tablet was good, until I used my Nexus 10... Then I was "sold" - tablet UI was sub-optimal. I tend to use the tablet with 2 hands - one holding it, another free across the top for use. I find keeping navigation to the centre more logical personally, and more ergonomic. It also keeps the notification tray at the top, consistent with the phone. At other times, I use the tablet as a "monitor" and type with a Bluetooth keyboard, where I do not interact with the touchscreen much (except at arm's length), and find phablet UI quite convenient. Moreso than I felt with tablet UI.
It's intriguing though. I am sure I can look at readding it some time, but I'm fairly busy so it will take a while. I noticed Sony seem to be moving to phablet UI for 4.2 as well though...
I hold mine on the sides and mostly interact with my thumbs, thus central on screen controls are hard to reach. But, to each his own. I also use Thumb Keyboard exclusively on my tablets, much more natural than trying to type with one hand holding with the other.
so yeah i finally got around to testing the GPS navigation and it just says "Searching for GPS" the whole time so confirmed its not working.
i also found a issue with the swipe to type on the AOSP keyboard as soon as i tried to use swiping it force closed the keyboard, not a big issue just thought id mention it.
i noticed you've done a couple of updates as well whats the best way to update the rom just flash as usual using the file in op?
andymg350 said:
so yeah i finally got around to testing the GPS navigation and it just says "Searching for GPS" the whole time so confirmed its not working.
i also found a issue with the swipe to type on the AOSP keyboard as soon as i tried to use swiping it force closed the keyboard, not a big issue just thought id mention it.
i noticed you've done a couple of updates as well whats the best way to update the rom just flash as usual using the file in op?
Click to expand...
Click to collapse
Just like with CM nightlies, just flash the latest update right over whatever you have.
In rare cases other changes will be needed, maintainers will usually let you know in these cases.
I'm investigating GPS on 10.1 on the windy - it's proving to be a bit of a headscratcher, although it has many of the hallmarks of the same problem we had with the modem on mint (Xperia T) months ago. Unfortunately, we can't use the same fix/workaround we used on mint.
pulser, may want to check the CM10.1 thread for my SMD debugging patch, might give some useful info - although what I need to do is get a build environment together for stock kernels so I can apply that patch to .370 for comparison.
i hate to sound like a noob but i am still learning lol is it safe to just flash the updates with cwm or is it best to do it with the flash tool?
it seems like gps has got a lot of people scratching their heads at the moment but im sure with so many looking into it there is sure to be a solution soon
Edit: its OK I went ahead and flashed the update using cwm and it worked, I'm to impatient to wait lol but at least I've learned something
Updated to 10th August build
Will you continue to tweak now that official nightlies are out?

Good roms with 4K camera and no GAPPS?

Hi all,
Does anyone know if there is any good roms with later Z series camera ported and no google apps? I tried browsing the forums here to find some good alternatives, but I have not been able to locate the ideal rom yet.
I have had problem with all CM based roms that touchscreen gets unresponsive randomly, so I'd really like it if you can suggest non-CM based roms for me. Previously I used ihackers, which was GREAT.
http://forum.xda-developers.com/xperia-z1/development/rom-z5mx-rom7-5-0extended-battery-t3224245
tatthanhlx said:
http://forum.xda-developers.com/xperia-z1/development/rom-z5mx-rom7-5-0extended-battery-t3224245
Click to expand...
Click to collapse
Thanks for the link. This is what I'm running right now.
But I'd really like it if someone made a version of this where all the Sony and Google services/apps were optional instead of already installed. I want my Xperia to be without facebook integration etc.
sindresindre said:
Thanks for the link. This is what I'm running right now.
But I'd really like it if someone made a version of this where all the Sony and Google services/apps were optional instead of already installed. I want my Xperia to be without facebook integration etc.
Click to expand...
Click to collapse
So just uninstall all those apps with some app manager

Getting the 'Click' to work again.

Yes, I know that the filename is "Effect_Tick.ogg" located in /system/media/audio/ui. I also know that the 'setting' is in "Settings -> Sound and notification -> Other sounds". But for some reason, it just will not play.
Yeah, I like to hear that click when I press things on my phone(s). So much so, that I have kept the old ICS sound around to write it to my other phones since.
I'll try to make this short. I had my old Nexus 6 go into a bootloop about a year ago so I restored it with a factory flash and then re-rooted it and flashed my favorite Rom, Pure Nexus 5.1.1. It (the click) had worked before, but I do not know why it stopped working. There were other problems still on my phone so I finally bought a new one and flashed it to this ROM. I used MyBackupPro to restore my apps as I do not care for some of the newer version of apps that I use. I was also trying to flash the TBO market on my phone as well. When first I flashed my phone, the click was working, but somewhere along the line it stopped. If I use root explorer and go to the file's location and press on it, it will play just fine. So I'm just not sure what's up.
I did get a big hint. I installed "FP Click sound changer". Within that app, when I press on "Effect_Tick.ogg" I get the following message:
"java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.MediaPlayer.setAudioStreamType(int)' on a null object reference"
This leads me to believe that is is something inside of framework-res.apk or systemui.apk or something like that. I didn't see enough in build.prop to make me think it would be in there. Any ideas?
Thanks in advance.
The error you're getting with FP Click Sound Changer is because the app likely isn't properly initialized. Meaning a change in Android between when the app was last updated and now has broken the app. The error has nothing to do with either of the .APK files you mentioned. If I recall correctly, neither system app deals with media to begin with.
The most obvious question here is whether you have tried a new copy of the audio file, even if it appears to work perfectly. If you have done that and are still having issues, one of your apps that you are using is causing the problem. You're going to have to do some troubleshooting to resolve this, namely starting with a blank slate and reinstalling apps one at a time until you find the one that causes the problem. Before you protest, any answers without you attempting some troubleshooting on your own are merely guesses made off of inadequate data.
Thank you for the reply, however my ROM was 'cooked' up on Sept 2015 and FP Click Sound changer was released/updated on Dec 26 2015, so what you suggest cannot be the cause. Besides, it only throws the error on Effect_Tick.ogg and no other system sound. And yes, I do have fresh copy of the file from ICS days.
But you are correct, if nobody knows which system app would throw that error message, then I know a fresh start is in order.
On this forum, many people have updated their N6 to more up-to-date versions of Android than the version you had. However, I wouldn't have provided that answer had you told us which version of Android you were running in the first place as well as the fact you built it yourself.
In any event, I hope your fresh start works out for you. You may also want to consider building a newer version of AOSP for yourself as well.
Thank you again for the reply, however:
Strephon Alkhalikoi said:
However, I wouldn't have provided that answer had you told us which version of Android you were running in the first place as well as the fact you built it yourself.
Click to expand...
Click to collapse
teddyearp said:
I had my old Nexus 6 go into a bootloop about a year ago so I restored it with a factory flash and then re-rooted it and flashed my favorite Rom, Pure Nexus 5.1.1. <snip>
Click to expand...
Click to collapse
I am trying to do a Google search on the error message itself as well.
I missed that in your post. Oops.
Strephon Alkhalikoi said:
I missed that in your post. Oops.
Click to expand...
Click to collapse
Well, I certainly meant no offence. Some years back, I used to to help folks out with their Android phones/problems and would at times be about the same way as you. Many times the details were not there. However equally so sometimes, the OP did provide the answers but the others that would chime in did not seem to read all of them.
With that said, I was thinking about rewording my question to perhaps ask if anyone knew which system apps on Android 5.1.1 would call for Effect_Tick.ogg so I could try to find where it had been set to 'null', but I stumbled across my solution after all. File permissions. So for any readers:
Yes, using ES Explorer, I copied again my good Effect_Tick.ogg to /system/media/audio/ui and it still didn't work except in music player. So I thought since ES would allow me to see and change file permissions, let me take a look. Sure enough, the file permissions for Effect_Tick.ogg were different than all the other sounds in that location. It was set to rw,rw and group sdcard,s. All the others were rw,r,r and group root. Changed to match the others and problem solved. :highfive:
Thanks very much again for trying to help, at least someone (you) did and that does mean a lot to me on such an old(ish) device since as you said, many have moved on and/or flashed much newer versions of Android to the N6. :good::good:
I'm glad you solved your problem. Even better, you came back to tell us about it.
Too many find the solution and don't say anything.
Strephon Alkhalikoi said:
<snip>Too many find the solution and don't say anything.
Click to expand...
Click to collapse
How well I remember that fact.

Categories

Resources