This is a very simple mod to enable the Volume-Up Torch feature on the Lockscreen in KK and Lollipop TW ROM, yes including OA8.
A note about the usage of the Flashlight. The mod stay enabled for 30 seconds after the screen goes dark, ie. you have 30 sec to press vol up to get your Flashlight On once the screen is dark.
You just need Root and a SQL editor.
Settings Storage -> settings.db -> system
add two entries:
torchlight_enable = 1
torchlight_timeout = 30000
Reboot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Could you be more accurate with the path to this file on lollipop?
And I'm on the xda mobile app and can't see the gif files...
ecooce said:
Could you be more accurate with the path to this file on lollipop?
And I'm on the xda mobile app and can't see the gif files...
Click to expand...
Click to collapse
It is not a file, it is a database, you'll need SQLlite or any other SQL editor.
You then select Settings Storage
Then select settings.db
Then select system
Then you click the little + sign
Then you add both entries, as shown by the pictures
Thank you for that break down of steps, it slipped my mind, rarely used sql
edit::: working now, thanks!
timeToy said:
It is not a file, it is a database, you'll need SQLlite or any other SQL editor.
You then select Settings Storage
Then select settings.db
Then select system
Then you click the little + sign
Then you add both entries, as shown by the pictures
Click to expand...
Click to collapse
Cool forgot about this! Thanks bro got my torch back!
Ok, I made the necessary changes to the database using SQLite, but I still can't turn on the torchlight using the volume key. Am I missing something here? Also, you're picture isn't showing. Could you re-upload to see if I goofed the db changes?
Edit: Seems like it's working now. Thank you for posting this!
lswon said:
Ok, I made the necessary changes to the database using SQLite, but I still can't turn on the torchlight using the volume key. Am I missing something here? Also, you're picture isn't showing. Could you re-upload to see if I goofed the db changes?
Edit: Seems like it's working now. Thank you for posting this!
Click to expand...
Click to collapse
it's not a perfect solution sometimes you have to "wake up" the up volume button by lighting up your screen with the power button briefly, hit the power button again to shut screen off then try the volume up button, torch should work then. sounds like its a hassle but its just three quick button clicks.
Well it's not sticking, the lines are being removed, how, I have no idea what would be writing over the file?
ecooce said:
Well it's not sticking, the lines are being removed, how, I have no idea what would be writing over the file?
Click to expand...
Click to collapse
Make sure you are in r/w mode and not r/o if your using Root Explorer. if your using ES Filemanager make sure you granted root access and have it enabled in settings.
It would have warned me about not having root privileges, and I'm set to always grant... Funny thing is, it now sticks, so that's weird.
Only thing I was missing from xposed was my flashlight.. This will definitely hold me over till they get that fixed..
Can someone explain how to do this on lollipop? I updated the database located in the directions in the link below but it doesn't stick. I go back in after a reboot and they new lines are gone.
http://pocketnow.com/2015/01/01/nexus-6-tethering
edit - I copied the database out of that area, made the edit, pasted it back and it sticks now. It still doesn't work. I see another database entry for torch_light = 0. Is that overriding the new entries?
I can´t find Settings Storage with aSQLliteManager. Where is it? on the SD card or on the system drive?
Related
Hi
Here is the latest ROM from me after a long time
Hope you will find it useful..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download Link for Version 2
Link Removed as people reported that it has some problem..
Note: I dont like the new Start Menu & IE6 in this ROM. I will remove them if i released another version....
Version 2...
New Start Menu Removed
New IE6 removed
awesome... waiting!!! any trick to make the grid 4x4? thanxx!!
Eagerly waiting both for your ROM and fireburned's one gonna flash the one that comes first.
Good job!
Hi,
Thanks for the new ROM, it's looking nice.
I have a question, how do you enable the WiFi? I have looked in the Comm Manager but can't find any button to enable it.
Kind regards,
Stu
The idea to remove the new startmenu is ok! I dont like it too!! next to the sms sender and receiver chat there's a red X is it right? anyway its just a small thing.
drat
download limit reached... that was quick!
any chance of a mirror?
mirror
Hi,
I have temporarily hosted the file there :
http://87.106.165.55/xda/ZeeRoseV1.nbh
Thanks Zeeshee!
Man this ROM is damn fast...
But I'll second the WiFi comment - phones pretty much useless without it ;-)!!
***EDIT***
So I found out by going the long way through settings to enable...
Anyone able to post wifitoggle.zip from smartmadsoft so we can map it to the VolUp button? All links seem to be dead elsewhere.
Tnx
Do the long press VOL_UP or VOL_DN buttons work to toggle WiFi and/or BT on?
Downloading ROM now to try, thanks Zeeshee!
Cheers!
emms007 said:
Hi,
I have temporarily hosted the file there :
http://87.106.165.55/xda/ZeeRoseV1.nbh
Thanks Zeeshee!
Click to expand...
Click to collapse
Many Thanks
chillipepper said:
Man this ROM is damn fast...
But I'll second the WiFi comment - phones pretty much useless without it ;-)!!
***EDIT***
So I found out by going the long way through settings to enable...
Anyone able to post wifitoggle.zip from smartmadsoft so we can map it to the VolUp button? All links seem to be dead elsewhere.
Tnx
Click to expand...
Click to collapse
Shortcuts for WiFi & Bluetooth will be included in next version.
Point noted
Hi,
I don't know if anyone else is having a problem with the contacts button from the home screen?
When I press the contacts button nothing happens. The contacts menu doesn't appear.
Thanks.
Yes, I'm having exactly the same problem (with the "contacts" soft button on home page).
AleM2k.
Bluetooth & WiFi Toggle
If you unzip the files in the attached archive to the Windows folder, it should enable the Vol Up/Down functionality from the previous ROM.
HTH
eta: have managed to enable WiFi on/off in CommManager too by editting the registry (From memory: HKLM\Software\HTC\CommManager\5 "WLAN"). Now just need to sort out Contacts...
thanks !!!
I dont have Contacts problem from homescreen...
zeeshee said:
I dont have Contacts problem from homescreen...
Click to expand...
Click to collapse
bizarre - whichever way I try to start contacts, Contacts from homescreen, Contacts from Programs..., nothing loads up. The only way I've seen of viewing a contact is to bring the dialer up, enter characters from name, then view contact.
I have problem with Contacts too =(
martinreay said:
bizarre - whichever way I try to start contacts, Contacts from homescreen, Contacts from Programs..., nothing loads up. The only way I've seen of viewing a contact is to bring the dialer up, enter characters from name, then view contact.
Click to expand...
Click to collapse
Yup, exact same problem here too...
I dont have Contacts problem...
Guys I was just wondering if there's an App or Modification that can be done to use the Soft Keys like Search Button as an alternate Power Button or maybe just Wake Up/Sleep?
Well as far as I see unlock needs to be on hardware buttons only, but to turn off the screen and lock without using the power button you can use screen off and lock, it gives you a home widget and notification widget option that'll turn off the screen.
Sent from my HTC Desire S using xda premium
I don't think the soft keys could work as they rely on the touchscreen which the screen needs to be on for. Soft keys for power is a bad idea anyway!
Sent from my HTC Desire S using xda premium
look at this video guys I think he manage to use the Search Function as Screen Lock/Sleep and as an alternate Power Button.
I can also do Screen Lock with Screen Off and Lock App, but not the Power Menu.
ngek202 said:
look at this video guys I think he manage to use the Search Function as Screen Lock/Sleep and as an alternate Power Button.
I can also do Screen Lock with Screen Off and Lock App, but not the Power Menu.
Click to expand...
Click to collapse
I want the same thing too. I wonder what did he do to his phone? an app or he mod it himself?
The soft keys are still a part of your touchscreen, pointer mode and opening the phone can tell you that. So of you want to use it to wake your phone, the whole touch screen must be activated....
It IS possible, but not battery friendly and not very easy in use.
Instead, why not use volume keys?
Sent from my HTC Desire S using XDA App
Use this to TURN OFF the screen using the search key. Just follow the instructions.
Screen Off and Lock
Then this to TURN ON the screen using proximity sensor. (might not be battery friendly)
Tap Tap App
Confirmed both are working perfectly..
Screen off and lock is great but to turn phone on it can't be done, was hoping of application that can get the phone to switch on via volume rocker
Solution
ngek202 said:
look at this video guys I think he manage to use the Search Function as Screen Lock/Sleep and as an alternate Power Button.
I can also do Screen Lock with Screen Off and Lock App, but not the Power Menu.
Click to expand...
Click to collapse
I managed too.
I had a tip from this post: Push me
The point is to edit the *.kl file.
But first do a nand backup!!!
I edited the following files (don't now if all are needed, but i thought i take the ones who match to me/my language):
saga-keypad.kl
saga-keypad-wwe.kl
saga-keypad-ger.kl
qwerty.kl
The files are placed in folder /system/usr/keylayout/
Copy them to your pc and make a backup somewhere.
Open the file(s) with an editor and change key 217 SEARCH into key 217 POWER in every of the four files (maybe to edit saga-keypad.kl is enough -> try out and report).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Then copy those files in your computer to c:\
Connect your phone with usb cable to pc and boot into recovery. (Make sure adb is correctly installed!)
Open cmd and type in the following commands (after every line push return on pc/cmd):
adb shell
mount /system
exit
adb push c:\saga-keypad.kl /system/usr/keylayout/saga-keypad.kl
adb push c:\saga-keypad-wwe.kl /system/usr/keylayout/saga-keypad-wwe.kl
adb push c:\saga-keypad-ger.kl /system/usr/keylayout/saga-keypad-ger.kl
adb push c:\qwerty.kl /system/usr/keylayout/qwerty.kl
adb shell reboot
After restarting this should be working like in the video.
Good luck!
If this works for you mark the thread as solved and push thanks
Thanks @ andypig04 for showing the way!
I will try this Sir thanks
need to edit 3 files
qwerty
saga-keypad
saga-keypad-wwe
Thanks.
http://forum.xda-developers.com/showthread.php?p=19427429
I really wanted this, but seems like no one can do it....
+ 1 that looks great, that would be really good if that can be ported
Greetings all, this is my first app, and first post on this forum (though I've been reading it for some time before i registered). I've written a simple camera app that lets you view and explore all the parameters for your camera. This app was meant to read, modify and display the results of various camera parameters, as returned by the flatten() method. It is not designed to enhance your images, but to let you learn more about the cameras attached to your device and their features.
All parameters that are modified are set using set(String key, String value). This seems to work even for parameters that take an int value, such as jpeg quality.
I would like some feedback, especially on the UI. The values to change are entirely text based, which takes up a fair amount of screen real estate. I'm open to suggestions or other ideas.
Notes:
Only landscape mode is supported
Pictures are saved to DCIM\Camera
Gallery is not refreshed immediately
Supported Camera parameters are dumped to a text file in DCIM\Camera when the app launches
Parameters that are named "<whatever>-values" are not added to the dropdown, as they are presumably just a list of what values are possible for a given parameter.
Hardware tested on:
Samsung Galaxy Ring
Kyocera Rise
Acer Iconia A100
Any feedback is appreciated.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
View attachment CameraParams.apk
Hello, @Jat82.
When I open the application the value for param stays as "none", is this normal or it should show other value?
Maybe it's a bug from my ROM/device because third camera apps doesn't show the image in screen. I don't have other device to test it, sorry.
I think the UI of your app can be upgraded, maybe you can rearrange all box and buttons to one side of screen.
eduds said:
Hello, @Jat82.
When I open the application the value for param stays as "none", is this normal or it should show other value?
Click to expand...
Click to collapse
It's just the default text, it should change to whatever text you enter when you tap it.
Maybe it's a bug from my ROM/device because third camera apps doesn't show the image in screen. I don't have other device to test it, sorry.
Click to expand...
Click to collapse
Sorry, i don't understand what you mean by "third camera apps", can you explain it a bit more? You have a third camera on your device that appears in the cameras dropdown, but doesn't display a preview?
Jat82 said:
It's just the default text, it should change to whatever text you enter when you tap it.
Sorry, i don't understand what you mean by "third camera apps", can you explain it a bit more? You have a third camera on your device that appears in the cameras dropdown, but doesn't display a preview?
Click to expand...
Click to collapse
I attached two screenshots of your app, you can see the param is always "none".
You can also see the black screen.
Yes, the preview is not displayed but I can take pictures normally.
On Moto Razr I, FC when i put the front camera ON.
Enviado desde el Moto Razr I. México Df.
I have an issue with this. My photos aren't saving to anywhere I can find them.My phone is a Samsung Galaxy Rush.
/storage/sdcard0/DCIM is the pathway my photos normally save to. Is there a way to fix this?
Thank you all for the feedback, I'm back from the holidays, and have resumed work on this project. There are some minor updates:
-"C!" (Capture) button removed and minor UI adjustments
-Selecting a parameter should now populate the edit text with the current value for that parameter
-Long press on the preview image to capture an image, or..
-Press the hardware camera button if your device has one*
-All images captured are now stored in <your device>/CameraParams. This folder will be created if it does not exist
-Camera parameters are dumped into the above directory, one "raw" unformatted file, and another one with human-readable formatting
*Press it rather quickly, holding the hardware camera button may launch a camera intent, where your system will load your default camera app, which makes things go ...bad.
Todo:
-Proper enumeration and selection of available camera devices
-User-definable storage paths, so you can save to phone, sd card, usb device, whatever is attached..
-Continued UI refinement
-Refresh Gallery/Media db after saving images
-??? What else is needed or wanted from a camera utility?
Hello I am a beta tester form http://forum.xda-developers.com/showthread.php?t=1927116
I have a ace plus, 2.3, rooted phone.
I downloaded the app an found that it crashes when I try to open it.
I even downloaded the app twice or thrice and still same result so please correct it
Sent from my GT-S7500 using Tapatalk 2
Ok ...so ive been doing some digging in my unbranded m8 stock rom, ive noticed the actual rom comes with the lib.kikin file and the support enable options in the default.xml, I wanted the kikin search app after I changed my rom from Vodafone to unbranded Europe. I will link the website telling you all about this amazing feature and will link the files needed
http://www.kikin.com/products_android
https://www.dropbox.com/sh/ohn1bb1yf1xwwf9/AAAnyWXI_VJH12N4u874unVLa
Ok ...so whether your odexed or not odexed these files install normally from what ive tested, move them to private app, then go to default.xml and edit the 2 kikin options, change from false to true, they look like ....."Boolean" name="isKikinEnable">false and "Boolean" name="support_kikin"false, you need to change them to true, scroll down the xml to just above half way and look for thosr 2 lines, after the changes reboot, should have a k icon, if not don't worry ,just open the app and enable, try it out in default browser, oh and untick use default browser. the apk's will install normally without the odex, seems htc as took a more traditional odexing method, anyway, you can install them but it will not work until the default.xml as been edited hence you need root.
Done, not working=( inside kikin program = perfect, but in browser no go
moved to system/priv-app/
set permissions rw-r--r--
still no go...tried simply installing = works only on a template inside kikin app. In browser = not working
olvrick said:
Done, not working=( inside kikin program = perfect, but in browser no go
moved to system/priv-app/
set permissions rw-r--r--
still no go...tried simply installing = works only on a template inside kikin app. In browser = not working
Click to expand...
Click to collapse
have you checked for lib.kikin in system/lib, also, did you edit the default.xml ?, or the one that matches your cid?, sometimes the rom uses your cid instead of default, if the lib is missing add it, ive added the lib to the link. It works perfectly fine on mine, HTC__001 version rom. Also it may not work with chrome as htc's browser is the default that its designed around, stupid I know ...as theres a desktop version for chrome, being as though it was exclusive to Vodafone im guessing it would be vodafones browser and htc's internet.UPDATE: its based entirely around htc apps, message/mail/internet and any other supported app.
Done everything, icon dissapers after reboot....
Works fine here
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
olvrick said:
Done everything, icon dissapers after reboot....
Click to expand...
Click to collapse
That's ok ...having the icon appear just tells you its set up ok, as long as its working after a reboot its fine.
The icon needs to be in app drawer...for me it's in app drawer and works perfectly fine...set both lines in default.xml to true and both apk are in priv-app with the right permissions
One-M8-Master said:
The icon needs to be in app drawer...for me it's in app drawer and works perfectly fine...set both lines in default.xml to true and both apk are in priv-app with the right permissions
Click to expand...
Click to collapse
The K icon actually only supposed to appear at initial setup, like after a hard reset of the phone, wiping user data, then the icon will show for first time to tell you your phone as got kikin support and to click to enable in app draw, should then disappear but kept alive by system, click the icon and it should go but still have full support in supported apps.
Ive just realized that the HTC LTE widget is missing from the 154.401.10 software. Lucky my dad as got the Vodafone rom still so I pulled the widget lol.
This app is no longer valid, on my phone (unbranded m8 2.22.401.5) htc pushed a notification and a disable command when I tried to use kikin, saying that the app is no longer supported for my device. It as something to do with google and the webview, and will just end up incompatable in future updates.
http://www.kikin.com/blog/2014/08/vodafone-device-update/
Just thought id let everyone know that the latest ota comes with the kikin app preinstalled, just need to enable in the default.xml, its back up and running again.
By default the Galaxy S7 has a WiFi power saving mode which affects bandwidth and response when the device screen is off and on battery power.
New method to disable WiFi Power Saving mode. Should work for other Samsung devices.
The *#0011# method I've found creates a file /data/.psm.info and contains a 0 to disable power saving.
Open a Terminal session.
su
echo '0' > /data/.psm.info
chmod 664 /data/.psm.info
Or you can use my app to toggle the setting.
Play Store App
Power Saver On
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Power Saver Off - Sees a fast response every other ping.
OLD Method
Follow the instructions below or use my own attached modded file to disable this power saving mode. The option is in a service menu but the activity hides the power saving button to toggle it.
My scheduled Wi-Fi tasks now don't struggle.
My S7 is a UK G930F. Will also work with G935F.
Copied /system/priv-app/serviceModeApp_FB/serviceModeApp_FB.apk
Decompiled using AndroidMultiTool and latest apktool.jar
Edit /res/layout/wifi_information.xml
Change the powersavemod lines - android:visibility from "gone" to "visible"
Recompile the apk
Copy back to device /system/priv-app/serviceModeApp_FB/serviceModeApp_FB.apk
Restart device.
Open the Dialer and type *#0011#
Click More
Click Wifi
You will now see the WIFI Power Save Mode option
With Power Saver of, screen off and no USB connected, you get better bandwidth and a quick response every other ping.
Sorry im abit stupid. What does this do?
fureedx said:
Sorry im abit stupid. What does this do?
Click to expand...
Click to collapse
+1
fureedx said:
Sorry im abit stupid. What does this do?
Click to expand...
Click to collapse
Stops the Wifi going really slow when the phone is sleeping. I have an app that queries a website every minute and it wasn't receiving results each time.
Disabling power saving mode gets me results every time.
I know about this. In fact, it was the first thing I did when I got my S7E. But I don't have that option. I'm on latest DBT firmware.
nitrous² said:
I know about this. In fact, it was the first thing I did when I got my S7E. But I don't have that option. I'm on latest DBT firmware.
Click to expand...
Click to collapse
Have you used my attached file to replace the apk?
zeroprobe said:
Have you used my attached file to replace the apk?
Click to expand...
Click to collapse
I'm not going to do that. Thank you.
nitrous² said:
I'm not going to do that. Thank you.
Click to expand...
Click to collapse
You can always rename it, then if any issues rename it back. Works though.
If you go to "settings" and press "wifi" and in the top right corner click "more" and press "keep wifi on during sleep" and select "always".
Wouldn't this do the same thing but without root?.
Deano89 said:
If you go to "settings" and press "wifi" and in the top right corner click "more" and press "keep wifi on during sleep" and select "always".
Wouldn't this do the same thing but without root?.
Click to expand...
Click to collapse
You would think, but it makes no change.
Edited the first post with a new method to disable WiFi power saving. Should also work with other Samsung devices. App available to also do the job.
Tried your app, but doesn't work for me.
I'm on a nougat custom rom with magisk root...
And the secret code does not work for me, too.
m8980 said:
Tried your app, but doesn't work for me.
I'm on a nougat custom rom with magisk root...
And the secret code does not work for me, too.
Click to expand...
Click to collapse
Seems to be some root issues with Nougat.
Try the commands in terminal, Interested in which custom rom are you using? Will test the beta myself
It doesn't work when i use terminal
Sent from my SM-G935F using XDA-Developers mobile app
zeroprobe said:
You would think, but it makes no change.
Click to expand...
Click to collapse
Well, it changes something.
When enabled wii on during sleep the phone is always connected to wifi when sleeping.
If disabled it turns off wifi during sleep like it says.
That said, do not know anything about the speed, I never use wifi, haha.....
Who can sent me servicemod modified
Is it just me or does this absolutely murder your battery?
With this mod, I lose 50% over 10-11hrs of screen off time with all apps killed.
Here with superman rom nougat it doesn't work. There is no switch in service menu.
Gesendet von meinem SM-G930F mit Tapatalk
Is there Any way to do it without root?
Anyone managed to do something similar with no root ?
I'm pretty sure it's the doze feature that causes this, when I disable the doze feature the WiFi is always staying alive (it's done using adb and it resets after reboot), however, I've tried disabling all the apps in the 'optimized apps' and it doesn't help.