Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,679 Members 41,617 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][XPOSED][2014/04/12 1.00]Xperia Stamina Mode LED

Tip us?
 
itandy
Old
(Last edited by itandy; 12th April 2014 at 08:24 AM.)
#1  
itandy's Avatar
Senior Member - OP
Thanks Meter 1,050
Posts: 1,696
Join Date: Apr 2010
Location: Hong Kong
Default [MOD][XPOSED][2014/04/12 1.00]Xperia Stamina Mode LED

This Xposed module restore LED functionality of Xperia devices when Stamina mode is enabled. Normally, when enabled, Stamina mode either disable the device LED or force it to show only white color.

Requirements
1. Your phone must be rooted
2. Xposed framework must be installed first http://forum.xda-developers.com/show....php?t=1574401
3. Xposed library 2.2 is required

Instructions
  1. Install the module
  2. Run Xposed Installer and enable the module Xperia Stamina LED
  3. Reboot the phone

Source code
You can find source code for this module from GitHub here.

https://play.google.com/store/apps/d...eriastaminaled

Attached Files
File Type: apk XperiaStaminaLed_1.0.apk - [Click for QR Code] (10.9 KB, 421 views)
My phone
Sony Xperia ZR | Rooted Stock ROM 4.4.2 | Stock kernel | Dual CWM/TWRP recovery | Samsung 32GB UHS-I

HTC Incredible S | Blackrose 2.02 HBOOT | 4EXT Touch | CM11 VivoKat | TESCO Kernel 3.0.101 | 3831.18.00.28 radio | SanDisk Ultra UHS-I 32GB

My work
Photo Frame&Grid Widget | Android Phone Vibrator - Xposed | Ringer & Notification Volume Unlink in ICS/JB - Xposed | Notification Direct Launcher - Xposed | Xperia Stamina LED - Xposed | Xperia/AOSP NavBar Buttons - Xposed
The Following 23 Users Say Thank You to itandy For This Useful Post: [ Click to Expand ]
 
Kocayine
Old
#2  
Kocayine's Avatar
Senior Member
Thanks Meter 155
Posts: 1,051
Join Date: Apr 2012
Well how about that, I finally got my Stamina working and I notice this white-only LED and went on adventure on how to fix this and here you were. Thanks man, gonna try right away and report back.
Please quote my posts if you are replying to one of my posts, that way I'll get notified.
 
drsoran2
Old
#3  
drsoran2's Avatar
Senior Member
Thanks Meter 205
Posts: 583
Join Date: Apr 2011
Location: Germany
I don't really know what the purpose of this module is.


The LED remains active in Stamina mode since I believe the 4.2. update for the Xperia Z in mid 2013 or even earlier in one of the newer 4.1. official firmwares...

The same goes for the Z1 and Z1 compact so there is really no need for it.

People don't even need root as it is active with stock Sony firmware.



Sony Xperia Z1 white (root, dualrecovery, lb, Android 4.4.2 KitKat (SD card fix), 120fps+4k mod, 64GB microSD)



Ericsson T65 ('01-'04) - NEC e616 ('04-'05) - Sony Ericsson K750i ('05-'06) - Samsung D830 ('06-'07) - Sony Ericsson K850i ('07-'10) - Nokia E51 ('10 - 2months) - Sony Ericsson Vivaz ('10-'11) - Sony Ericsson Xperia Arc ('11-'12) - Samsung Galaxy S2 ('12-'13) - Sony Xperia Z ('13) - Sony Xperia Z1 ('13-?)
 
Kocayine
Old
#4  
Kocayine's Avatar
Senior Member
Thanks Meter 155
Posts: 1,051
Join Date: Apr 2012
Quote:
Originally Posted by drsoran2 View Post
I don't really know what the purpose of this module is.


The LED remains active in Stamina mode since I believe the 4.2. update for the Xperia Z in mid 2013 or even earlier in one of the newer 4.1. official firmwares...

The same goes for the Z1 and Z1 compact so there is really no need for it.

People don't even need root as it is active with stock Sony firmware.
Umm... I had some trouble with Stamina so I used the SuperStamina.apk from Existenz' rom v5. Then it worked but LED with white when stamina was active... and that is based on 10.4.B.0.569 which is afaik 4.3... So, I dont know.. I thought it was supposed to be fixed as well, but apparently not? This module helped...

Still, stamina is some wonky ****, it's like its random whether or not it works.
Please quote my posts if you are replying to one of my posts, that way I'll get notified.
 
itandy
Old
#5  
itandy's Avatar
Senior Member - OP
Thanks Meter 1,050
Posts: 1,696
Join Date: Apr 2010
Location: Hong Kong
Quote:
Originally Posted by drsoran2 View Post
I don't really know what the purpose of this module is.


The LED remains active in Stamina mode since I believe the 4.2. update for the Xperia Z in mid 2013 or even earlier in one of the newer 4.1. official firmwares...

The same goes for the Z1 and Z1 compact so there is really no need for it.

People don't even need root as it is active with stock Sony firmware.
Then you're very fortunate that the LED continue to work properly when stamina mode is enabled. For many other Xperia devices (I'm using ZR and many other 2012 models), Sony decided to disable LED or make it to display white color only when stamina mode is enabled. Previously people had to mod the SuperStamina.apk to restore LED, now I hope they find it easier with this Xposed module.
My phone
Sony Xperia ZR | Rooted Stock ROM 4.4.2 | Stock kernel | Dual CWM/TWRP recovery | Samsung 32GB UHS-I

HTC Incredible S | Blackrose 2.02 HBOOT | 4EXT Touch | CM11 VivoKat | TESCO Kernel 3.0.101 | 3831.18.00.28 radio | SanDisk Ultra UHS-I 32GB

My work
Photo Frame&Grid Widget | Android Phone Vibrator - Xposed | Ringer & Notification Volume Unlink in ICS/JB - Xposed | Notification Direct Launcher - Xposed | Xperia Stamina LED - Xposed | Xperia/AOSP NavBar Buttons - Xposed
The Following User Says Thank You to itandy For This Useful Post: [ Click to Expand ]
 
Kocayine
Old
#6  
Kocayine's Avatar
Senior Member
Thanks Meter 155
Posts: 1,051
Join Date: Apr 2012
Quote:
Originally Posted by itandy View Post
Then you're very fortunate that the LED continue to work properly when stamina mode is enabled. For many other Xperia devices (I'm using ZR and many other 2012 models), Sony decided to disable LED or make it to display white color only when stamina mode is enabled. Previously people had to mod the SuperStamina.apk to restore LED, now I hope they find it easier with this Xposed module.
I bet the fortunate ones simply just have a malfunctioning stamina :P I mean ive been rolling with stamins "enabled" for quite a while now with fine notification LEDs but I found out it wasnt working at all lol
Please quote my posts if you are replying to one of my posts, that way I'll get notified.
 
dipesh1502
Old
#7  
dipesh1502's Avatar
Recognized Themer
Thanks Meter 3,667
Posts: 2,359
Join Date: Sep 2013
Location: MUMbai

 
DONATE TO ME
Working like a charm in my xsp
Great work


If You Like My Work Please Consider A Small Donation


For Donating Click Here
 
please do the following:
Sign in to your PayPal account page
Go to 'Send Payment'
Enter my email id "dipesh.febrius@gmail.com"
option "Personal payment" doesn't work for India, please set "Online purchases". and check Goods or Service (preferably service)
Make the payment of the desired amount of donation you want to send.
Thank you for your kind donations!
 
grisu59964
Old
#8  
grisu59964's Avatar
Member
Thanks Meter 14
Posts: 42
Join Date: Sep 2013
Works great on Z1 Compact with firmware 14.3.A.0.757 (Android 4.4.2).
The LED was the only reason I disabled the Stamina mode. Thank you very much!
 
Wurstwarenfachverkäuferin
Old
#9  
Member
Thanks Meter 7
Posts: 69
Join Date: Dec 2011
Quote:
Originally Posted by Kocayine View Post
I bet the fortunate ones simply just have a malfunctioning stamina :P I mean ive been rolling with stamins "enabled" for quite a while now with fine notification LEDs but I found out it wasnt working at all lol
May I ask how you figured out stamina mode was not working (properly or at all)? Reading all this, I began to wonder as my LED notification seems to work while stamina mode is switched on (now, I don't know if it is really working or just pretending to do so).
 
itandy
Old
#10  
itandy's Avatar
Senior Member - OP
Thanks Meter 1,050
Posts: 1,696
Join Date: Apr 2010
Location: Hong Kong
Quote:
Originally Posted by Wurstwarenfachverkäuferin View Post
May I ask how you figured out stamina mode was not working (properly or at all)? Reading all this, I began to wonder as my LED notification seems to work while stamina mode is switched on (now, I don't know if it is really working or just pretending to do so).
What device are you using?
My phone
Sony Xperia ZR | Rooted Stock ROM 4.4.2 | Stock kernel | Dual CWM/TWRP recovery | Samsung 32GB UHS-I

HTC Incredible S | Blackrose 2.02 HBOOT | 4EXT Touch | CM11 VivoKat | TESCO Kernel 3.0.101 | 3831.18.00.28 radio | SanDisk Ultra UHS-I 32GB

My work
Photo Frame&Grid Widget | Android Phone Vibrator - Xposed | Ringer & Notification Volume Unlink in ICS/JB - Xposed | Notification Direct Launcher - Xposed | Xperia Stamina LED - Xposed | Xperia/AOSP NavBar Buttons - Xposed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes