yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 4 Q&A, Help & Troubleshooting] thisisapoorusernamechoice:
I got this from this thread (they deserve the credit), I've been using their tricks on my Tab 4 for a while. You need to do a tiny smali edit to android.policy.jar. Decompile it with apktool 2.0, open smali/com/android/interal/policy/impl/PhoneWindowManager.smali and find the method called .method private isWakeKeyWhenScreenOff(I)Z and add the lines in blue:

:sswitch_1
move v0, v1

goto :goto_0

[COLOR="Blue"]:sswitch_4

return v1

nop[/COLOR]

:sswitch_data_0
.sparse-switch
[COLOR="blue"]0x3 -> :sswitch_4[/COLOR]
0x18 -> :sswitch_0
0x19 -> :sswitch_0
[Galaxy Tab 4 Q&A, Help & Troubleshooting] ILIA_93:
Thank you so much!!! REALLY THANK YOU!!!! :victory:
[Verizon HTC One (M7)] BranC85:
So I've been noticing that my M7's battery drains a good bit faster than it used to. I've been thinking about opening it up and putting a new one in, but I'd like to find one that has a higher capacity than the 2300mah standard one. I have searched on amazon and googled it but I can't find anything larger than the stock charge capacity. Has anybody seen one or know where something like that can be bought from? I did find that HTC actually makes a much higher capacity(3300 mah) for the M8(2600) that fits inside the phone, so that got me hoping that something like it exists for the M7.
[Verizon HTC One (M7)] morr22066:
Battery case?

There are the battery cases on Amazon, I thought about getting one but they are not cheap.
[G2 Q&A, Help & Troubleshooting] virtualflyer:
Hello,

I've flashed the D802 EU Open 32GB kdz for V30a, I then rooted it and installed TWRP.

Now there's one thing I can't understand. If I wanted to flash CM12 or any other LP AOSP rom should I change bootloader/baseband/partitions?

thanks
[G2 Q&A, Help & Troubleshooting] azher98:
Nope u don't have to ?
[MDA Compact II Software Upgrading] jacksus1:
Hello Everybody !

First of all I would like to thank all the members for the great job done here !

I Upgrade my phone in few hours because of the good information here !

Here is my config :

MDA Compact 2 German.

IPL 3.08

SPL 3.08.000

GSM 02.69.21

OS 3.8.2.22

Do you think it is possible to set this phone into french ?

I search a lot and test also lots of possibilities, but no result !

Thank you for your help !

Jack
[MDA Compact II Software Upgrading] Oszi:
You must upgrade aku3.3 WWE (english )rom and then

find the french LE.
[MDA Compact II Software Upgrading] jacksus1:
Thank you very much for your response.

I upgrade with this rom : http://xdaforums.com/showthread.php?t=283713 (thank you Johnnnnny ;) )

I have now this version

Rom : 2.6.2.27

date : 3.9.06

Radio : 02.19.21

I'm looking for the right french version now !

Can somebody help me ! I'd tried a lot but not the right !

Thx you very much !
[ONE Q&A, Help & Troubleshooting] anheuer:
So now that we have the new cm12 officially released i am having some issues with the new way notifications and the lock screen works.

To explain:

Whats annoying to me is that when i set my phone to vibrate only (so set sound profile to all) but with the settings to not show the messages on the lock screen, i cant see if i have any notifications at all.

The top notification bar will instead show my provider instead of the icons of lets say whatsapp.

Is there a way to change this?

Next to that have to admit that the priority thing is confusing to me,, i'm never sure what means what and what will actually happen with which setting.

The other issues is the lockscreen, i have a pattern protection setup, and waking the device up should bring me to this screen and not an extra useless lock screen where i have to swipe up so i can do my pattern.

I know its nice if you need quick access to an app like camera, but i dont want it.

anyway to change this?
[ONE Q&A, Help & Troubleshooting] smudgeTHEcat:
i have no answer, but i also would like to change the way notifications appear on the lock screen.

i miss the icons in the notification bar. i don't want to see a large rectangle letting me know if there is a text or other notification.

the speed at which the pattern appears is cute the first time, but after that it's excruciating. would like it to just appear.
[Nexus Player Q&A, Help & Troubleshooting] tamanaco:
I'm not a gamer, so I'm probably missing something obvious. Besides Badland, the LP 5.1 update also included two other games pre-installed from the TV Remote Games section of the Play Store. I'm "assuming" that TV Remote Games are those games that can be played with the "NP" remote. I was able to figured out how to play Badland, but for the life of me... I can't figure out how to play Shark Evolution using the NP remote. I also tried using my Logitech keyboard, but can't get any fishes move. What Am I doing wrong? I won't try Minion Rush yet as I'm afraid I'll end up throwing the NP remote to TV screen.
[Nexus Player Q&A, Help & Troubleshooting] Sleeepy2:
Minion Rush works fine with the NP remote. Very easy to figure out, left is left, right is right ?
[Nexus Player Q&A, Help & Troubleshooting] tamanaco:
How about Shark Evolution? Does that work for you with the NP remote?
[Nexus Player Q&A, Help & Troubleshooting] Sleeepy2:
I will take a look tomorrow, I've never played it.
[Nexus Player Q&A, Help & Troubleshooting] Sleeepy2:
Shark Evolution requires a game pad. It is in the wrong row in the play store. The play store makes you think it will work with the NP remote but it doesn't. When you go to install it, it says that you been a game pad.
[Mi 3 Q&A, Help & Troubleshooting] QA Bot:
Q&A for [ROM][WIP] MI +1 -CyaonogenOS 12S

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 [ROM][WIP] MI +1 -CyaonogenOS 12S. 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! :)
[Mi 3 Q&A, Help & Troubleshooting] abhi4328:
I think you have to mention the kernel sources (it's a policy of xda). otherwise you're thread will be closed
[Mi 3 Q&A, Help & Troubleshooting] LcsZhDrw:
Depends on if he used the source to port it.
[Sony Cross-Device Development Themes and Apps] venkat kamesh:
Hello guys its me again with a small work

This is a port version From Z3

The sony had already implemented all the Xml codes

so there is no need to add something or to edit

all you need is just Flash the patch below

( make sure that you need a backup and you should not blame me )

This is a Deodexed and never mind that your rom is Odexed or deodexed

Just flash

i have tested all and every thing is working
[Sony Cross-Device Development Themes and Apps] venkat kamesh:
Reserved

reserved for few mods
[Sony Cross-Device Development Themes and Apps] Pandemic:
Smart call handling we have already on LP ;)

Sent From MoonWalker Provolution V1.0 [Beta] Based On LP 5.0.2 !
[Sony Cross-Device Development Themes and Apps] venkat kamesh:
but not for Z1 friend :)

hope i need to move the thread

thanks for confirm ;)
[Sony Cross-Device Development Themes and Apps] anthonythangaraj:
Thanks bro. Working fine in my Xperia Z1 compact odexed 5.0.2
[Sony Cross-Device Development Themes and Apps] الفلسطيني:
Sorry bro

But I think it's posted before some days

http://xdaforums.com/xperia-z1/themes-apps/share-lp-smart-call-handling-backlight-t3083063

Or can u tell me what's different?!

BTW: Thank you ?
[Sony Cross-Device Development Themes and Apps] Pandemic:
Then post it then on Z1 forum buddy, because the title says 5.0.+ ;)

Sent From MoonWalker Provolution V1.0 [Beta] Based On LP 5.0.2 !
[Sony Cross-Device Development Themes and Apps] blue4you:
Thanks!

Smart blacklight control and smart screen rotation works very well on Z1C.

But I can't find smart call handling. Where in settings menu is it located? :confused:
[Sony Cross-Device Development Themes and Apps] bobetto2008:
Settings - personalisation - motion

{took me a while too! ?}
[Sony Cross-Device Development Themes and Apps] blue4you:
OMG - less logical like this is not possibility :silly:

I search everywhere but not there...

Thanks!
[Sony Cross-Device Development Themes and Apps] thahim:
Need some thing similar for note 3
[Sony Cross-Device Development Themes and Apps] Pandemic:
This is a Sony Development topic, Not for Samsung !

Sent From MoonWalker Provolution V1.0 [Beta] Based On LP 5.0.2 !
[Sony Cross-Device Development Themes and Apps] millionsky:
oh,[emoji106]
[Sony Cross-Device Development Themes and Apps] Tikaroz:
No need to shout bro xD
[Sony Cross-Device Development Themes and Apps] HipsterCode:
working great :)
[Sony Cross-Device Development Themes and Apps] aidy.lucas:
Anybody have a KK version of this for a rooted M2.

D2303 stock 4.4.4 KK rooted philz touch recovery xposed Bravia engine 2 x-reality
[Sony Cross-Device Development Themes and Apps] erfandl:
Thanks venkat kamesh work great. Can you port Double Tap to Wake-Up for Z Ultra ? Z Ultra have double tap wakeup sensor but its need to enable
[Sony Cross-Device Development Themes and Apps] kientrongtran:
Thank you, everything works wonder on Z Ultra!:)
[Sony Cross-Device Development Themes and Apps] azeez77:
[MENTION=4433143]venkat kamesh[/MENTION] thank you works perfectly
[Sony Cross-Device Development Themes and Apps] Inceptic:
[MENTION=4433143]venkat kamesh[/MENTION] Can You try it to make on 4.3 JB roms? (Xperia SP)
[Sony Cross-Device Development Themes and Apps] sajitharsan:
Working in my z1c:thumbup:
[Sony Cross-Device Development Themes and Apps] kientrongtran:
I wonder if anyone lost X-reality in Settings after flashing this mod? I'm not sure this mod is the cause, but I think since it's fiddled with Settings menu, it could be responsible:eek:
[Sony Cross-Device Development Themes and Apps] xxx_sunnyboy_xxx:
Nope, it's Not from this Mod.

I use this Mod with prerootet Lollipop and I have X-reality in Settings.

Are you use Projekt SoNiCo DoMC Sound Mod v16 or YKG DRM Restore???

I know by this Mods you loos X-reality in Settings.
[Sony Cross-Device Development Themes and Apps] kientrongtran:
Thank you, that must be it, I use DoMC Soundmod v16. :D

Not that I need x-reality much, I use QuickPic instead of Album, but i still feel deprived. Thanks again,
[Sony Cross-Device Development Themes and Apps] anakdayak:
Me too using DoMC v16 and smart call handling mod by venkat karmesh but on display setting there is image enhancement and once u click it gives option to choose x reality or super vivid.
[Sony Cross-Device Development Themes and Apps] kientrongtran:
huh? what device are you using? Z3/Z2? because if i'm not mistaken, there'sa super vivid port for kitkat, but not for lollipop z1/z series yet.
[Sony Cross-Device Development Themes and Apps] anakdayak:
Opps sorry mate me on z1 prerooted SG i'll remember that I flash the smart call handling/smart rotation/backlight by iedafarha its similar by venkat when I check all the files but there are some extra files inside the zips.100% sure when u flash mod by iedafarha on top of Somc v16 u will find its shows image enhancement.Hope this will help.
[Sony Cross-Device Development Themes and Apps] kientrongtran:
I just flash iedafarha's port, and what a surprise, not only x-reality is back but super vivid is also present :good:

sleazy sony, well, jokes on them, z2/z3 goodies now available on older devices
[Sony Cross-Device Development Themes and Apps] anakdayak:
Ya mate that's gd...what a surprised.Credit to iedafarha.
[Sony Cross-Device Development Themes and Apps] zahid5h:
Exotically..... Wonderful.. Love you ledafarhas
[Sony Cross-Device Development Themes and Apps] acatoan:
Thanks for this mod. It working perfect.
[Sony Cross-Device Development Themes and Apps] dvs4711:
Work fine for me in Z1!

Excellent!!!
[Sony Cross-Device Development Themes and Apps] maris__:
Great mod, thanks! However, I have a problem with Smart Call Handling on my Z1C when the Xperia Answering Machine is acitvated. When accepting a call by taking the phone to the ear, the answering machine starts even though the conection is established. So when both options are activated it is impossible to accept a call. Any idea to solve this problem?

Best regards, maris
[Sony Cross-Device Development Themes and Apps] juanpirulo:
Is anyone else having trouble with this mod with incompatibilities apps on playstore?
[Sony Cross-Device Development Themes and Apps] juanpirulo:
I think some mod apks could someway break the OpenGL es.

Can everybody with this mod check their OpenGL versión?
[Sony Cross-Device Development Themes and Apps] xxx_sunnyboy_xxx:
I have this Mod installed on Odex Stock 5.0.2 Pre-rooteted.

OpenGl ES Version 3.0

Playstore problem is only on Deodexed ROM's.

Sent from my Sony Xperia Z1 C6903
[Sony Cross-Device Development Themes and Apps] juanpirulo:
Mine is odex and prerooted. ??????

Are you using any other mod?

I think i got some other incompatibility because muy OpenGL es is 0.0 but fir first time in two weeks i got playstore running without problem when i unninstall this mod.
[Sony Cross-Device Development Themes and Apps] xxx_sunnyboy_xxx:
Hmm, i have no problems with my Odex ROM.

I'm on Pre-rooteted 5.0.2 Customized MEL with 4K-Timeshift Video Mod und this port here from venkat.

Sent from my Sony Xperia Z1 C6903
[Sony Cross-Device Development Themes and Apps] juanpirulo:
Ok i ve got the problem with my Rom. Sorry, it wasnt the mod at all. Its the modified services.jar (superusermod) Its breaking the openGL es. Cheers

---------- Post added at 04:06 PM ---------- Previous post was at 04:05 PM ----------

Are you using a superusermod?.cheers
[Sony Cross-Device Development Themes and Apps] xxx_sunnyboy_xxx:
No, I'm not using a superuser mod on 5.0.2.

It's not previously used, all mods also run without problems so far.

Sent from my Sony Xperia Z1 C6903
[Sony Cross-Device Development Themes and Apps] Wampcia:
Thx unbelievable it working :)
[Sony Cross-Device Development Themes and Apps] zoukanet:
hello everyone

can anyone post me or show me hoe to do this trick with my device from the beginning (root - recovery -.......) ?

thank you all
[Sony Cross-Device Development Themes and Apps] sshivampp:
Flashed on ZR, stock lollipop 5.0.2.

I can access the setting of smart calling but after turning it on, phone reboots after few seconds.
[Sony Cross-Device Development Themes and Apps] Paduretu Ionut:
Not working on XZ 5.0.2, keeps rebooting.
[Sony Cross-Device Development Themes and Apps] Pyramid Head:
[noob question] how can i flash it?
[Sony Cross-Device Development Themes and Apps] xxx_sunnyboy_xxx:
noob answer, download zip file and flash it via Recovery [emoji2]

Sent from my Sony Xperia Z1 C6903

Click "Thanks Button" if I helped you !
[Sony Cross-Device Development Themes and Apps] Pyramid Head:
---------- Post added at 04:34 PM ---------- Previous post was at 04:07 PM ----------

[/COLOR]how can i boot into recovery mode?
[Sony Cross-Device Development Themes and Apps] Dreiundachzig:
I can confirm that.
[Sony Cross-Device Development Themes and Apps] justk3ys:
Thanks.. Work great on my z ultra 270 rooted
[Sony Cross-Device Development Themes and Apps] DastanShaikh:
Does it works on xperia Z lollipop???
[Sony Cross-Device Development Themes and Apps] anakdayak:
Why don't u try and report whether its working or not or try read few pages back.
[Sony Cross-Device Development Themes and Apps] DastanShaikh:
Cuz there's still no recovery for Lollipop xperia Z....

Nd if anyone confirms it working then i will check for it later. .when recovery supports.. ;)
[Sony Cross-Device Development Themes and Apps] skiba112:
You're wrong. There is recovery for xperia z.

I flashed the zip package but I'm unable to use smart options because phone reboots constantly
[Sony Cross-Device Development Themes and Apps] DastanShaikh:
M not dude... There no recovery till now which works on lollipop with xposed... NUT is working on it to fix the bootloop issue...
[Sony Cross-Device Development Themes and Apps] skiba112:
Seriously? Then what is this? http://xdaforums.com/showthread.php?t=3114234
[Sony Cross-Device Development Themes and Apps] venkat kamesh:
if its lolly pop surely this works

if you got bootloop then delete smart backlight and it boots up

good luck
[Sony Cross-Device Development Themes and Apps] ImADev:
If you're going to deodex APK's then please remember to zipalign them.

IntelligentBacklight, IntelligentRotation and IntelligentSettings aren't aligned correctly.
[Sony Cross-Device Development Themes and Apps] DastanShaikh:
Oh i forgot to mention that.. Me with Locked bootloader.. ;)
[Sony Cross-Device Development Themes and Apps] copper62472:
can anyone explain how to install on xperia z without bootloop?

if we need to change any fileplease explain step by step.

thanks.
[Sony Cross-Device Development Themes and Apps] venkat kamesh:
They Were already aligned by default

They default come deodexed

And what exactly you meant this?

I am curious to know what

your question or solution is?

Hmm for Xperia z it need some work I will upload it when I am free

Best regards
[Sony Cross-Device Development Themes and Apps] ImADev:
Deodexed isn't zipaligned. They're two totally different things.

When you deodex or modify an APK you must zipalign it after otherwise you're wasting memory and possibly battery life. A lot of others posting mods here at XDA don't seem to understand that.

http://developer.android.com/tools/help/zipalign.html

http://android-developers.blogspot.co.uk/2009/09/zipalign-easy-optimization.html

Solution:

zipalign -f -v 4 IntelligentBacklight.apk Aligned_IntelligentBackligh.apk
zipalign -f -v 4 IntelligentRotation.apk Aligned_IntelligentRotation.apk
zipalign -f -v 4 IntelligentSettings.apk Aligned_IntelligentSettings.apk

You'll should see "Verification successful" after each command. You can then rename your APK's and safely upload them.

Use this command to verify your APK's:

zipalign -c -v 4 app_name_here.apk

Like I previously said, if you were to verify some of your current APK's then you'll see that they say "Verification FAILED". That means that they're going to impact on memory and battery life.

You can get the zipalign executable from the Android SDK.
[Sony Cross-Device Development Themes and Apps] venkat kamesh:
Well said

But first you have to know more about uxpres verification. And also about super user mod.. And also about process of application build from source

When you build the rom it will automatically zip align the apps

And you got installation failed just because of uxpres framework verification. Not for the reason of zipalign. ( this apps are from z3)

And superuser mod this will allow the apps to install without any permissions

So zipalign is not a solution or problem.... And yes I had my own tool to zip or to mod.

Best regards
[Sony Cross-Device Development Themes and Apps] ImADev:
Odexed ROM's are different. When you manually deodex a ROM or even a specific file from it then you must zipalign it.

When you compile an Android app with something like Android Studio then it'll automatically zipalign it for you. Also when you download an app from the Play Store then it'll be zipaligned too, but if you were to use apktool on the app and then recompile it then you should also zipalign it again.

That's not how zipaligning works. It has nothing to do with the framework, it's resources or even permissions.

When you zipalign something it's aligning the contents of the APK itself so that it's well optimized and won't use extra memory. It's a standalone procedure that must be done to every single APK file.

See what I mean? If you modify an APK in any way then you must realign it. In this case you've taken the .odex and converted it to .dex and then you've put that .dex file into the APK file. When you do that it will often undo the alignment and that's why IntelligentBacklight.apk, IntelligentRotation.apk and IntelligentSettings.apk fail verification. If you were to run the commands that I posted, however, then you'll see that you'll end up with perfectly aligned APK files and that it has nothing to do with the framework, it's resources or permissions.

As my name suggests, I'm a developer myself so I can say that you've not understood what zipaligning is or how it works. I encorage you to read the info within the links I posted if you still don't understand after this post.
[Sony Cross-Device Development Themes and Apps] venkat kamesh:
yes i said

i said the same the zipalign does nothing nothing with installation

Sorry I may not read a this....

But I said already that the apps (this mod)

Don't come with odex or something

So there was no need to zipalign as I said in previous post

Hope you read this zipalign topic.....

Good you know something..

But still you need to learn lot
[Sony Cross-Device Development Themes and Apps] ImADev:
You don't understand, clearly. Maybe it's a language issue.

It's you my friend that seems to need to learn about this subject.

When you deodex an APK file you need to zipalign it. It's framework, permissions or resources have nothing to do with it.

What I'm saying is that you've taken the files from a stock Sony Z3 ROM that was odexed. You've then deodexed the ROM or a few of it's APK's, which means that the .odex files were converted to .dex files and then placed within the original APK file (which was aligned). That creates a totally standalone file, but becasue you modified the original APK file (placed the classes.dex into it) it breaks the alignment and when you don't align the APK it'll waste memory as it's not aligned to the correct 4-byte boundaries that Android uses.

Read the official Android websites and you'll eventually understand.

I've attached the correctly aligned version to this post so that you can see for yourself. All of the APK files in my package pass validation, so they won't use up extra RAM or waste battery like your unaligned versions will.

Again, it has nothing to do with the framework or any of that stuff. Even if you've got the "superuser mod" installed you'll still be wasting RAM and battery if you don't correctly align your modified APK files.
[Sony Cross-Device Development Themes and Apps] venkat kamesh:
its not a language problem

these apps dont need any zipalign

got it mate ?

zipalign does nothing with cause of installation

yes i do obey with ram / battery .. but not with this app. but zipalign with this do no more changes ( you need to go through this https://talk.sonymobile.com/t5/Xper...t-RAM-consuming-by-com-sonymobile/td-p/911487 )

so please read my post again

then you will get to know what i am talking to ......

the user one who posted the bootloop is may be cause of sdk version or else with backlight application nothing more

so the answer or solution is not zipalign and i am still thinking why you are talking more about zipalign. since the problem is installation failed hmmmm

strange,.