Active Topics



Thread Tools
Posts: 3 | Thanked: 4 times | Joined on May 2016
Originally Posted by coderus View Post
this is not the question for powermenu thread.

After OS updated to Terminal), PowerMenu2 is not working.

Help me to uninstall and installing steps to make it work.

Thanks in advance.
coderus's Avatar
Posts: 6,163 | Thanked: 11,692 times | Joined on Nov 2011 @ Open Mobile Platform, Innopolis, Russia
you should download latest powermenu2 version which is compatible with 2.1 release
Twitter | Openrepos | GitHub | PayPal.Me
Mikkosssss's Avatar
Posts: 640 | Thanked: 504 times | Joined on Apr 2012 @ Finland
The flashlight from powermenu isn't working on Xperia X so I made a script for it.

If you want to get flashlight working on Xperia follow the instructions that I quoted by Morpog but replace content with:

# Toggle Flash
dbus-send --type=method_call --print-reply --dest=com.jolla.settings.system.flashlight /com/jolla/settings/system/flashlight com.jolla.settings.system.flashlight.toggleFlashlight
Someone could also test if the dbus method works for other devices if coderus wants to replace control file method.

Originally Posted by Morpog View Post
Instruction for Flash script:

Create a file in /home/nemo/ with content:

# Toggle Flash
STATUS=$(cat /home/nemo/flash.txt)
if [ $STATUS == "0" ]
	echo 1 > /home/nemo/flash.txt;echo 1 > /sys/kernel/debug/flash_adp1650/mode
        echo 0 > /home/nemo/flash.txt;echo 0 > /sys/kernel/debug/flash_adp1650/mode
Make the script executable:
chmod +x /home/nemo/

Create a flash.desktop file in /home/nemo/.local/share/applications/ with content:

[Desktop Entry]
Open powermenu --> configuration --> choose prefered action and set it to "Application" and select Flash app. Works in locked and unlocked state.
Try:My N9 bootvideo

Last edited by Mikkosssss; 2018-01-02 at 20:10.

The Following 2 Users Say Thank You to Mikkosssss For This Useful Post:
Posts: 437 | Thanked: 1,083 times | Joined on Jan 2012 @ Enschede, The Netherlands
The last few SFOS updates tend to break stuff for PM2. The WLAN and BT toggles were non-functional in previous version of SFOS, but now with the flight mode toggle is inoperative as well.

The Following User Says Thank You to Fuzzillogic For This Useful Post:

Thread Tools

Forum Jump

All times are GMT. The time now is 17:12.