Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,599 Members 38,786 Now Online
XDA Developers Android and Mobile Development Forum

CM10 Torch toggle not working!!

Tip us?
 
Arun Av
Old
#1  
Arun Av's Avatar
Senior Member - OP
Thanks Meter 197
Posts: 447
Join Date: Mar 2012
Location: Kolkata
Default CM10 Torch toggle not working!!

Hi, I am using the latest cm10 nightly by fxp (20131224) along with the 720p video recording kernel and patches. I just found out that the torch toggle from notification drawer is unavailable! I can't select it! See the screenshot. The torch.apk is there in the rom and it works ok from the app drawer. But why can't the toggle be enabled on notification panel? Please help!


Sent from my Xperia Mini using Tapatalk
Quote:
Device: HTC Status A810a, Sony Ericsson XPERIA Mini st15i, using both.
Android version: Kitkat 4.4.4 unofficial, on both.
Device review: Cool, tiny and smart, both.
Battery review: Sucks, both.
 
miniuser123
Old
(Last edited by miniuser123; 28th April 2014 at 09:06 AM.)
#2  
Member
Thanks Meter 509
Posts: 94
Join Date: Aug 2012
Hm, I can't change that option either. But I am sure I was able to toggle it earlier, because mine is stuck in an enabled state
So my suggestion: uninstall my patch, enable torch in notification drawer if you can, then reinstall my patch.



Edit: my patch changes Settings.apk so that one can toggle CRT animation.
The Following 2 Users Say Thank You to miniuser123 For This Useful Post: [ Click to Expand ]
 
Arun Av
Old
#3  
Arun Av's Avatar
Senior Member - OP
Thanks Meter 197
Posts: 447
Join Date: Mar 2012
Location: Kolkata
Quote:
Originally Posted by miniuser123 View Post
Hm, I can't change that option either. But I am sure I was able to toggle it earlier, because mine is stuck in an enabled state
So my suggestion: uninstall my patch, enable torch in notification drawer if you can, then reinstall my patch.



Edit: my patch changes Settings.apk so that one can toggle CRT animation.
First of all- thanks for that awesome patch of yours ..and thanks for replying here to my query I really can't imagine of uninstalling your patch..because that solved all the remaining problems I had with cm10 build. So do u think if I replace this modified settings.apk with the original cm apk..the toggle flashlight problem will be solved? Will that revert the pin layout/crt animation fixes? I think crt animation won't revert cuz it's already enabled and I don't need a toggle to enable/disable it. What do u suggest?

Sent from my Xperia Mini using Tapatalk
Quote:
Device: HTC Status A810a, Sony Ericsson XPERIA Mini st15i, using both.
Android version: Kitkat 4.4.4 unofficial, on both.
Device review: Cool, tiny and smart, both.
Battery review: Sucks, both.
 
miniuser123
Old
#4  
Member
Thanks Meter 509
Posts: 94
Join Date: Aug 2012
Quote:
Originally Posted by Arun Av View Post
First of all- thanks for that awesome patch of yours ..and thanks for replying here to my query I really can't imagine of uninstalling your patch..because that solved all the remaining problems I had with cm10 build. So do u think if I replace this modified settings.apk with the original cm apk..the toggle flashlight problem will be solved? Will that revert the pin layout/crt animation fixes? I think crt animation won't revert cuz it's already enabled and I don't need a toggle to enable/disable it. What do u suggest?

Sent from my Xperia Mini using Tapatalk
Yep, try to use the original Settings.apk, and we shall see... Don't forget to change permissions to 644 if you copy it manually.
The Following 2 Users Say Thank You to miniuser123 For This Useful Post: [ Click to Expand ]
 
Arun Av
Old
#5  
Arun Av's Avatar
Senior Member - OP
Thanks Meter 197
Posts: 447
Join Date: Mar 2012
Location: Kolkata
Quote:
Originally Posted by miniuser123 View Post
Yep, try to use the original Settings.apk, and we shall see... Don't forget to change permissions to 644 if you copy it manually.
It worked! Thanks! I guess the modified settings.apk has some string/smali issue. Now flash toggle is working and guess what, I didn't even lose a thing!(apart from the crt animation toggle, I dnt need it, cuz the animation is enabled already)
thanks again!

Sent from my Xperia Mini using Tapatalk
Quote:
Device: HTC Status A810a, Sony Ericsson XPERIA Mini st15i, using both.
Android version: Kitkat 4.4.4 unofficial, on both.
Device review: Cool, tiny and smart, both.
Battery review: Sucks, both.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes