[APP] Peace of Mind+, Fairphone fork - Fairphone

Hi,
I have forked one of the app's released on GitHub by Fairphone/Kwamecorp, the Peace of Mind app. It's bascially an Airplane Mode with a timer.
We become more conscious of our phones as our lives become increasingly connected. Would you like to disconnect, if only for a moment? Your phone will go silent and disconnect from the world: no e-mail, no status updates, no SMS and no phone calls. Choose how long you wish to disconnect (up to 12 hours).
Click to expand...
Click to collapse
I'm not sure if they're planning on publishing it as a standalone app (currently a system-app), so I've forked into Peace of Mind+ to make it available for other devices and for eager Fairphone owners!
Released under the Apache License version 2.0. Source code and APK are available here https://github.com/mudar/Fairphone
For Android 4.2+ devices, the app requiers Root privileges to enable the Airplane Mode. On non-rooted phones (or if SU is declined) the app enables Silent Mode instead. This is due to security changes introduced by Google in Android SDK version 17.
Attached are two screen captures and the APK.
When done, I hope to refactor the Fairphone OS launcher.
Read article on XDA's portal
Put Airplane Mode on a Schedule with Peace of Mind+ by @willverduzco
Download:
Check GitHub for the lastest version and version release history
Changelog:
versionCode=18 versionName=2.1.0
Updated to Material Design
Added support for Android's "Do not disturb" mode
Optimizations, clean animation, etc..
Airplane mode support for rooted devices
versionCode=12 versionName=1.2
Restore sound to previous setting (bug fix)
RootTools updated to version 3.4
versionCode=10 versionName=1.1
Enhanced tablet layout
Fixed bug for some Android 4.3 devices
versionCode=8 versionName=1.0
Out of beta!
Improved Widget layout
DashClock extension added
Restores previous ringerMode at the end of an Airplane-mode PeaceOfMind
Added About dialog (in Settings)
Added Brazilian-Portuguese and Russian translations, and completed other translations
Click below to view complete changelog...
versionCode=6 versionName=0.9.4 beta
Fixed deep-sleep bug
Improved timer accuracy
Fixed videoplayback issue on some devices
versionCode=5 versionName=0.9.3 beta
Nightly, fixing the deep-sleep bug.
versionCode=4 versionName=0.9.2 beta
AirplaneMode enables SilentMode too, to avoid notifications
Fixed SilentMode issue (would trigger AirplaneMode on some android versions)
Fixed video animation playback issue
Fixed minor timer issue (was running an extra minute)
versionCode=3 versionName=0.9.1 beta
Settings to determine maximum duration (3, 6 or 12 hours) and disconnection mode (Airplane/Silent mode)
Fixed layout issues and optimization!

mudar1488 said:
Hi,
I have forked one of the app's released on GitHub by Fairphone/Kwamecorp, the Peace of Mind app. It's bascially an Airplane Mode with a timer.
I'm not sure if they're planning on publishing it as a standalone app (currently a system-app), so I've forked into Peace of Mind+ to make it available for other devices and for eager Fairphone owners!
Released under the Apache License version 2.0. Source code and APK are available here https://github.com/mudar/Fairphone
Attached are two screen captures and the APK.
The app is still in beta version. When done, I hope to refactor the Fairphone OS launcher.
Click to expand...
Click to collapse
Yes, sir, nice. That's the reason I really like open source. Just more variants, that's nice. Thank you for your fork.
I have some thoughts about the widget and the app:
The widget is just too big/tall. Maybe it's possible that you can reduce the used space on the screen?
One major bug is, that the app only switches the airplane mode on/off. I usually use WLAN at home and work with activated airplane mode. If I'm going to take a nap for 30 mins, I activate peace of mind but WLAN is still active and Mails, Hangouts (messages, voice/video calls), G+ and other messengers would. The app also does not silence incoming messages. So currently not that much peace. Would be nice, if you can make a workaround or something.
If users install this app, the need root. Please mention it somewhere, maybe in the thread title.

Nice to see you working on that!
Maybe you'd like to submit it to f-droid? That'd be great!
www.f-droid.org

Unrelashade said:
Nice to see you working on that!
Maybe you'd like to submit it to f-droid? That'd be great!
www.f-droid.org
Click to expand...
Click to collapse
@Unrelashade I'll definitly submit the app to F-Droid when out of beta!

Thanks @benkxda for the valuable feedback!
benkxda said:
The widget is just too big/tall. Maybe it's possible that you can reduce the used space on the screen?
Click to expand...
Click to collapse
I agree with you, upcoming enhancement
benkxda said:
One major bug is, that the app only switches the airplane mode on/off. I usually use WLAN at home and work with activated airplane mode. If I'm going to take a nap for 30 mins, I activate peace of mind but WLAN is still active and Mails, Hangouts (messages, voice/video calls), G+ and other messengers would. The app also does not silence incoming messages. So currently not that much peace. Would be nice, if you can make a workaround or something.
Click to expand...
Click to collapse
Definitly a bug, didn't even think about that case! This will be handled soon...
benkxda said:
If users install this app, the need root. Please mention it somewhere, maybe in the thread title.
Click to expand...
Click to collapse
I've edited the OP. However, root is not strictly required. For Android 4.2+ devices, the app toggles the sound (silent) mode on non-rooted phones. If SU is available, permissions are requested (to toggle airplane mode). If declined, the app falls back to toggling silent mode...
I have added the issues on GitHub https://github.com/mudar/Fairphone/issues Upcoming features will also be listed there..

Upcoming version
Next week's version will have a Settings screen to control max-duration (3, 6 or 12 hours) and to toggle Airplane/Silent mode.
Your suggestions are most welcome! Either here on xda or on github https://github.com/mudar/Fairphone/issues

Version 0.9.1
Here's the updated version:
- Settings to determine maximum duration (3, 6 or 12 hours) and disconnection mode (Airplane/Silent mode)
- Fixed layout issues and optimization!
Attached are the APK and a screen capture of the new Settings
The app is also available on the playstore, and the APK is available on GitHub too.

mudar1488 said:
Here's the updated version:
- Settings to determine maximum duration (3, 6 or 12 hours) and disconnection mode (Airplane/Silent mode)
- Fixed layout issues and optimization!
Attached are the APK and a screen capture of the new Settings
The app is also available on the playstore, and the APK is available on GitHub too.
Click to expand...
Click to collapse
Very nice. Installed it and switched to Google Play to get all the updates automatically.
The 3/6/12 hours steps are really nice implemented. This will save my peace during the (business) day :angel:.
I talked about the functionalities of this app and I was told, there is a further need. Switch off all connections with the airplane mode but then let the user decide whether he wants to get notification (alarm, appointments) or not. Silent mode would probably not deactivate the LED notification light. However I did not check.
At the New Year's Eve party I'll get a chance to try out a Fairphone and then I can compare the original and the improved version and also show it to others.
If you want the app translated, place a request in our app translation thread. And if you want, you can post an advertisement for your app in the Fairphone Blog, like for those who have to wait longer, so they can test at least this app/widget. Almost like a teaser. The guys from Fairphone shouldn't have anything against it, because this is the way they provide their software - open for forks
Oh yes, I put some links related to this app in the OP and we also have a app tester thread.
EDIT: GPS is still active after airplane mode. I understand, this app just enables/disables the airplane mode, but can we get some extra tweaks in the settings area, in this case to save battery? Would be nice. If you know what's on the todo list of the next version, give us an update.
Thank you and enjoy the holidays.
EDIT: This widget/app was mentioned in the article Fairphone im Kurztest (at the very bottom; German, c't magazin, 3rd Jan 2014).

Version 0.9.2
New version released, with many fixes
Changelog:
AirplaneMode enables SilentMode too, to avoid notifications
Fixed SilentMode issue (would trigger AirplaneMode on some android versions)
Fixed video animation playback issue
Fixed minor timer issue (was running an extra minute)
Attached is the new APK, also available on the playstore.
NOTE: I have reported an issue to Kwamecorp, related to the AlarmManager timer that ends the Airplane mode. If you enable PeaceOfMind for 15 minutes, then leave your phone idle (disconnected, screen off), there's no guarantee that the timer would actually be triggered, since it does not wakeup an asleep device. This means that you might not receive any calls after the 15 minutes have passed, until you wake up the device by turning the screen on.
I'm currently working on fixing what I consider a critical issue before actually testing it on Kwamecorp's original version. Sorry about this, update is coming before the end of the week!

Version 0.9.3
New version released, fixing the deep-sleep bug.
There are still some minor UI glitches I'm currently working on. Will edit this post soon, but wanted to publish this before the end of the week, as promised

Version 0.9.4
Changelog
Fixed deep-sleep bug
Improved timer accuracy
Fixed videoplayback issue on some devices
APK is attached here, update is also available on the playstore.
Next version will include widget enhancements and integration of DashClock.
For issues reporting or features suggestion, you can checkout the GitHub issues page!

Hi @benkxda,
multi-replies to your suggestions/feedback below
benkxda said:
One major bug is, that the app only switches the airplane mode on/off. I usually use WLAN at home and work with activated airplane mode. If I'm going to take a nap for 30 mins, I activate peace of mind but WLAN is still active and Mails, Hangouts (messages, voice/video calls), G+ and other messengers would. The app also does not silence incoming messages.
Click to expand...
Click to collapse
This should be fixed now. The change I made is that Airplane is mode is enabled each time PeaceOfMind is started, so this disables WiFi. Previously, the app would check airplane status, skipping if already was already on.
benkxda said:
I talked about the functionalities of this app and I was told, there is a further need. Switch off all connections with the airplane mode but then let the user decide whether he wants to get notification (alarm, appointments) or not. Silent mode would probably not deactivate the LED notification light. However I did not check.
Click to expand...
Click to collapse
When enabling PeaceOfMind, Airplane and Silent modes are (now) both set (or silent-mode-only based on settings). So this silences notifications. Handling Alarms is a whole different story since they could be set by different apps. This would require displaying a list of installed apps to handle sound for each. I prefer to stick to the original mission: disconnect from the outside world
benkxda said:
GPS is still active after airplane mode. I understand, this app just enables/disables the airplane mode, but can we get some extra tweaks in the settings area, in this case to save battery?
Click to expand...
Click to collapse
Well, it seems that enabling GPS with Airplane mode on varies by manufacturer. It's a very good idea and I understand the advantages, however I don't think such a feature fits with this app's scope. sorry
Thanks again for all your valuable feedback!
mudar

mudar1488 said:
Hi @benkxda,
multi-replies to your suggestions/feedback below
This should be fixed now. The change I made is that Airplane is mode is enabled each time PeaceOfMind is started, so this disables WiFi. Previously, the app would check airplane status, skipping if already was already on.
When enabling PeaceOfMind, Airplane and Silent modes are (now) both set (or silent-mode-only based on settings). So this silences notifications. Handling Alarms is a whole different story since they could be set by different apps. This would require displaying a list of installed apps to handle sound for each. I prefer to stick to the original mission: disconnect from the outside world
Well, it seems that enabling GPS with Airplane mode on varies by manufacturer. It's a very good idea and I understand the advantages, however I don't think such a feature fits with this app's scope. sorry
Thanks again for all your valuable feedback!
mudar
Click to expand...
Click to collapse
Thanks @mudar1488 for the recent updates. Before I go on, I want you to update also the first post of the thread, if you upload a new version including the new file, to get a version history. Also a Changelog in the first post would be nice. You also can place a new post, but please also update the first post. This makes it way easier to check if this thread was either updated or not. If the Fairphone index is up or let's say necessary, I don't wanna miss an update.
I use your Peace of Mind+ on my business device, a Samsung Galaxy S3 LTE (720 x 1280 pixels, 4.8 inches). Today I was checking the last version and I saw a couple of things, probably issues, maybe not.
1. Version number
I think I should have the version 0.6, but after a look in the app info, I was confused: "ca.mudar.fairphone.peaceofmind version 0.9.4 beta". Is that right or did I just update to much?
2. Sound on/off
Usually my phone is silenced completely. After I set a time in Peace of Mind+ and time ran out, the airplane mode switched off and sound switched on. So no silence anymore. Please save the settings of the sound before Peace of Mind+ becomes active and after the time ran out, restore the settings. Same thing with the airplane mode, which usually is active on my device, as well as WiFi is active.
3. Graphical issues
I have some graphical issues on my device. When I start Peace of Mind+ you see the following:
You can see a strange graphical fragment on the right of "ATPEACE". I started the app three times, and I always saw a different fragment.
Then I started a time and reset it to zero right afterwards, result:
Ok, so the fragment is gone and the text "ATPEACE" jumped one text line up and stays there, because on the left side, there are two text lines during the time is running out. Check the image below, in this case the two text lines are "1h35 TO1h35". To avoid these fragments, I currently have to set a time, then the fragment is gone.
Hope the images help to compensate some of the wrong or not correct words/text phrases I used. If not, don't hesitate to ask.
EDIT:
Just recognized your title of the post with the latest app version: "Version 0.9.4". I am a bit lost. Why is version 0.9.4 called v0.6 in the file name?

Great feedback @benkxda, as usual
I've added updates to the OP, but for detailed history I on Github. For future versions, I'll probably just publish the updates in the OP instead of adding a new reply each time.
benkxda said:
I think I should have the version 0.6, but after a look in the app info, I was confused: "ca.mudar.fairphone.peaceofmind version 0.9.4 beta". Is that right or did I just update to much?
Click to expand...
Click to collapse
Mystery resolved in the OP! APK filename has the versionCode (1 to 6) but I refer to it by its versionName (0.9 beta to 0.9.6 beta)
benkxda said:
Usually my phone is silenced completely. After I set a time in Peace of Mind+ and time ran out, the airplane mode switched off and sound switched on. So no silence anymore. Please save the settings of the sound before Peace of Mind+ becomes active ...
Click to expand...
Click to collapse
will do that in the next version!
benkxda said:
I have some graphical issues on my device. When I start Peace of Mind+ you see the following: You can see a strange graphical fragment on the right of "ATPEACE". I started the app three times, and I always saw a different fragment ...
Click to expand...
Click to collapse
well, this is a strange one! I did test on a Galaxy S3 and didn't see such pixels.
When you enable PeaceOfMind, do you see an animation in the background (like a water flood)?
Do you still these pixels in landscape mode?
How long has it been since last time you did a reboot?! (just looking for hints)
Do you think these pixels could be translucid? meaning do you think you see a scramble of your homescreen ? or do they look more like pixels of a corrupted video?
I'll do my best to find the issue.
I've added the last two to the GitHub issues page
Edit: I've attached 2 APKs to test the Graphical issues. @benkxda reported having graphical issues on his Galaxy S3 (unspecified ROM). Users who have the same issue (screen captures attached) can try installing these 2 versions and see if the issue is still there. Warning: ugly colors are used

mudar1488 said:
Great feedback @benkxda, as usual
I've added updates to the OP, but for detailed history I on Github. For future versions, I'll probably just publish the updates in the OP instead of adding a new reply each time.
Mystery resolved in the OP! APK filename has the versionCode (1 to 6) but I refer to it by its versionName (0.9 beta to 0.9.6 beta)
will do that in the next version!
well, this is a strange one! I did test on a Galaxy S3 and didn't see such pixels.
When you enable PeaceOfMind, do you see an animation in the background (like a water flood)?
Do you still these pixels in landscape mode?
How long has it been since last time you did a reboot?! (just looking for hints)
Do you think these pixels could be translucid? meaning do you think you see a scramble of your homescreen ? or do they look more like pixels of a corrupted video?
I'll do my best to find the issue.
I've added the last two to the GitHub issues page
Edit: I've attached 2 APKs to test the Graphical issues. @benkxda reported having graphical issues on his Galaxy S3 (unspecified ROM). Users who have the same issue (screen captures attached) can try installing these 2 versions and see if the issue is still there. Warning: ugly colors are used
Click to expand...
Click to collapse
What a shame, I forgot my S3 LTE at work. It has Android 4.3.1 running, CM10.2 nightly (set to 280 ppi).
Well, I just thought, I give other devices a try. I used file version 0.6, as this was the version on the S3 LTE, where I found those graphical issues.
First up, the Nexus 5 (full HD set to 440 ppi, Omni nightly). I did not see any problems. Then I tried it on the Galaxy Nexus (720x1280, just like the S3 LTE, set to 320 ppi and running CM11 nightly) and also no problems. It might be a problem with the older Android 4.3.1 or maybe this special nightly? I am back at work on Monday.

Thanks a lot for this. I was looking for such an app when I saw a Fairphone unboxing video.

Tyrion666 said:
Thanks a lot for this. I was looking for such an app when I saw a Fairphone unboxing video.
Click to expand...
Click to collapse
Yes. +1 and thank you @mudar1488
Ok, now to your questions:
When you enable PeaceOfMind, do you see an animation in the background (like a water flood)?
Do you still these pixels in landscape mode?
How long has it been since last time you did a reboot?! (just looking for hints)
Do you think these pixels could be translucid? meaning do you think you see a scramble of your homescreen ? or do they look more like pixels of a corrupted video?
Click to expand...
Click to collapse
Yes, I see the animation (smoothly on N5/S3 LTE and on Galaxy Nexus a bit sluggish).
Yes, I see these pixels in landscape mode. Doesn't matter if I start in portrait mode and switch to landscape mode or if I directly start in landscape mode.
I have this all the time, doesn't matter if I try after reboot or at the end of the day... always the same.
This is a bit special. Well, I think I don't see my background wallpaper (my wallpaper is just simple black). But I tried it on two home screens. One screen with a lot of icons, the other one with none (even no navigation icons). The result was interesting, as I saw a mostly brown or green fragment on the screen with much icons and usually a black fragment on the screen without icons. It is not always the brown/green or the black one, but that where the most results.
Hope that helps.

benkxda said:
Yes, I see the animation (smoothly on N5/S3 LTE and on Galaxy Nexus a bit sluggish).
Yes, I see these pixels in landscape mode. Doesn't matter if I start in portrait mode and switch to landscape mode or if I directly start in landscape mode.
I have this all the time, doesn't matter if I try after reboot or at the end of the day... always the same.
This is a bit special. Well, I think I don't see my background wallpaper (my wallpaper is just simple black). But I tried it on two home screens. One screen with a lot of icons, the other one with none (even no navigation icons). The result was interesting, as I saw a mostly brown or green fragment on the screen with much icons and usually a black fragment on the screen without icons. It is not always the brown/green or the black one, but that where the most results.
Hope that helps.
Click to expand...
Click to collapse
Thanks @benkxda! Did you try-out the v07a and v07b versions (attached here)? the latter doesn't play video and they both use ugly colors to try to understand what zone/element holds the strange pixels!
However, I do suspect an issue with the custom ROM or the custom DPI value used

New Version 1.0
APK and Changelog are provided in the OP. Peace of Mind+ is also available on the Playstore.
Out of beta now so future updates will mainly be bug-fixes. Your feedback/suggestions/comments are most welcome!
Thanks,
mudar

mudar1488 said:
APK and Changelog are provided in the OP. Peace of Mind+ is also available on the Playstore.
Out of beta now so future updates will mainly be bug-fixes. Your feedback/suggestions/comments are most welcome!
Thanks,
mudar
Click to expand...
Click to collapse
Nnnniiice work! So will you get/ put it into the f-droid repository as well? Looking forward to it! :good:
(also, please tell me if the people from f-droid put it into their repository or if a developers has to do that. It could be just them, because all the code is available and they build it from source by themselves to make sure applications don't differ from the code they link to/ offer)

Related

SleepSense Beta - sleep cycle monitor and alarm

Hi All
This is a beta application which monitors your sleep cycle, and sets a gently increasing alarm to go off at up to 30 minutes before your set alarm time (during your lightest sleep phase so that it's easier to wake up fresh). If you are interested in testing it, please download and install the CAB here:
CAB link removed because its a very old version, a much improved version will be released on this thread very soon.
You can click Menu>Export Chart as a JPG image, and Menu>Export CSV to see the raw data. Please include the chart and raw data if you send me a bug report etc.
Method of calculating lightest sleep phase: alarm can go off up to 30 minutes earlier than the set alarm time if you become more alert than you were at the lightest phase of the previous sleep cycle. If alarm does not go off early, as a failsafe it will always go off at the set time. The alarm does not affect any other alarms you may have set, so I would recommend setting some other alarm too as a failsafe.
Developers: I would appreciate it if I could find a keen .NET Compact Framework developer out there to open-source and maintain this project because I don't have any more time to work on this.
Regards
Ashfaq
SYSTEM REQUIREMENTS:
All Windows Mobile 5, 6, 6.5 devices which have a gsensor/accelerometer. All resolutions supported. Tested on Touch HD.
CHANGE LOG:
- 2010-02-11
+ Improved UI, with volume slider.
+ New alarm music, gently increasing alarm volume and vibration.
+ Sleep time statistics.
+ Start menu icon.
+ Less CPU usage to conserve battery.
- 2010-02-07
+ Fixed bug where device did not wake up to sound alarm.
+ Improved the way the system switches to unattended mode to keep it running in background.
- 2010-02-06
+ Original release.
Thanks for your continued work on this.
r
Andrew
Original thread http://forum.xda-developers.com/showthread.php?t=619493
Sounds good, I'll give it a try!
Nice and thank you, can't wait to try it in the morning
awesome i reuqested this a week or more ago, didn;t realise someone else was interested. i'll give it a shot. thankyou!
Excellent work mate - congrats
Can you make the Alarm Up-Down button larger. It is to small for my big fingers.
I tried this latest release on my Touch HD last night. I had two bars of battery left and it had run out by the time I woke up in the morning so the alarm didn't go off.
Hi Ashfaq,
great work in this short time. Are you going to release the project as open source and e.g. host it on codeplex?
Probably you should reconsider the name of the project or talk to the people from sleepsense.com for not running into trouble...
Greets,
Thomas
On my Omnia (Samsung I900 Omnia) i get an Error Message
if its the time for alarm.
I will post the text later.
thomas0782 said:
Hi Ashfaq,
great work in this short time. Are you going to release the project as open source and e.g. host it on codeplex?
Probably you should reconsider the name of the project or talk to the people from sleepsense.com for not running into trouble...
Greets,
Thomas
Click to expand...
Click to collapse
Well spotted, I hadn't realised SleepSense.com was a trademark.
I would appreciate it if I could find a keen .NET Compact Framework developer out there to opensource and maintain this project because I don't have any more time to work on this.
just a stupid question?? how does it recognize the sleepphase?? like the iphone app, so you have to put the phone next to you in bed??
or does it recognize the breath-frequency with the mic?
It's measuring your movements using the accelerometers, so it works just like the iphone app.
And, even at this early stage, it's doing its job remarkably well
Really keen to try this out but the Placement Test does not seem to be working as far as I can tell. Started placement test, placed phone facedown on bed and then moved around. Didn't hear any sounds though?
Handest is an HD2.
Any ideas?
Cheers,
Graeme
Meeko1981 said:
Really keen to try this out but the Placement Test does not seem to be working as far as I can tell. Started placement test, placed phone facedown on bed and then moved around. Didn't hear any sounds though?
Handest is an HD2.
Any ideas?
Cheers,
Graeme
Click to expand...
Click to collapse
Make sure your system volume is turned up.
filiptc said:
Make sure your system volume is turned up.
Click to expand...
Click to collapse
It is. Handest volume is up full and system volume in SleepSense is maxed as well but still no sound during the placement test
I tried it the past night and it is great.
My battery drained about 25% so great power saving. Better than the previous version where I got about 50% battery drainage. So keep up the good work.
Cheers for this, tried it last night and it worked great.
I know it's in beta now but a suggestion for full release would be to give the option to turn off the vibrate as part of the alarm (I'm a very light sleeper )
Running on TP2 btw
ash2093 said:
I would appreciate it if I could find a keen .NET Compact Framework developer out there to opensource and maintain this project because I don't have any more time to work on this.
Click to expand...
Click to collapse
I was considering writing an app like this myself when I stumbled upon this thread. If you'd like, I can take over development and put it up on CodePlex or Google Code.
damn I was working on exactly this app.. oh well...

[App] Wave Control - Control your phone without even touching it

Wave Control uses the proximity sensor to detect hand gestures to control music playback (free version) and more (paid version).
Update (10/11/2012): Half of proceeds from app sales from October will be donated to Breast Cancer Research
More Info Here
Update (9/7/2012): New Tasker Support for changing profiles in Wave Control!
Update (31/08/2012): Jelly Bean users are getting force closes in the Play Store app when navigating to Wave Control -- The free version's apk is available to download on this post. Please if it's working for you in Play Store download from there.. I need the install count
I developed this on the Note and luckily it happens to have one of the best proximity sensors (at least for my uses). Works best on the Note and Galaxy Nexus. Not so great on HTC phones and SGSII due to their particular sensors (much slower).
There are 4 basic gestures:
-Hover
-1 Wave
-2 Waves
-3 Waves
By default they correspond to Play/Pause, Next, Previous, Enable/Disable Controls respectively.
In the Pro version, they can be remapped to any of those plus: Turn Screen On, Volume Up, Volume Down, Launch Google Voice Search, Alt Play/Pause (for MX Video Player), and do nothing.
Popular uses are:
When driving, don't have to take your eyes off the road to try to hit a button
When your hands are dirty so you don't smear crap all over your phone like when cooking or working on car
While on the computer, you don't have to bother waking the phone to change the song (works even when the screen is off)
I'd like to see what you guys think of it. If you have any suggestions for new features or any feedback, I'd love to hear it.
Google Play Store Links:
Free Version
Paid Pro Version
Here are a couple youtube video demos:
and more of the Pro features:
I've got an identical post in the Galaxy Note forum. I'm limiting the call for feedback to these two devices for now since they have the most responsive sensor.
Holy crap, this is awesome.
Sent from my Galaxy Nexus using xda premium
Looks good, so far. I already paid for it, in support of where I think it might go. It would be interesting to see the ability to launch other apps besides Voice Search, chosen by the user, rather than hard coded. This would open up lots of possibilities.
I think this would not work in the night or in dark rooms?!
Otherwise this is really cool!
Meep70 said:
Looks good, so far. I already paid for it, in support of where I think it might go. It would be interesting to see the ability to launch other apps besides Voice Search, chosen by the user, rather than hard coded. This would open up lots of possibilities.
Click to expand...
Click to collapse
Yeah been rolling this idea around for some time. I've been kind of lazy about implementing it. I think I'll start coding it up to include in the next update unless a bug pops up first.
Thanks for the support!
kickr said:
I think this would not work in the night or in dark rooms?!
Otherwise this is really cool!
Click to expand...
Click to collapse
If I used just the light sensor then, yeah it would have that limitation. The proximity sensor (on the same chip) uses an IR LED to light up the near object and the light sensor to detect the IR reflection.
Hows the battery usage of the app? I am presuming that app is always running in the background polling for some action in the proximity sensor.
Pat123 said:
Hows the battery usage of the app? I am presuming that app is always running in the background polling for some action in the proximity sensor.
Click to expand...
Click to collapse
For me, it's been a little under what the music player uses. The system broadcasts on state changes of the sensor so I don't have to poll. Which is quite nice.
This is phenomenal. I like the potential!
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
ArmanUV said:
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
Click to expand...
Click to collapse
I was thinking the exact same thing too. Awesome, but potentially a battery drain.
Blazing on my Nexus Prime using xda premium
ArmanUV said:
I'm a little concerned about the battery life implications of this app. OP mentions that the app works even when the screen is off. Does this mean that a constant wakelock is maintained at all times which prevents the device from going into deep sleep?
Click to expand...
Click to collapse
15israellai said:
I was thinking the exact same thing too. Awesome, but potentially a battery drain.
Click to expand...
Click to collapse
Yeah, it holds a Partial Wakelock.
If someone knows how to still receive state changes from the proximity sensor without a Partial Wakelock, please let me know!
I'm always looking for ways to make the app for energy efficient. Working with the screen off saves a lot of battery since the screen is usually the biggest consumer of power.
If you want to know for sure how much battery it uses, just try it out. If it uses more battery than you feel is acceptable for the functionality, stop using it. It's not something to leave running in the background indefinitely.
I would love a sensitivity toggle. For me, the response time seems slow.
MarksThinkTank said:
Yeah, it holds a Partial Wakelock.
If someone knows how to still receive state changes from the proximity sensor without a Partial Wakelock, please let me know!
I'm always looking for ways to make the app for energy efficient. Working with the screen off saves a lot of battery since the screen is usually the biggest consumer of power.
If you want to know for sure how much battery it uses, just try it out. If it uses more battery than you feel is acceptable for the functionality, stop using it. It's not something to leave running in the background indefinitely.
Click to expand...
Click to collapse
it doesn't have to be that way. Why not give the user an option to disable the wake lock so that the app works only when the screen is on?
Also, can you explain the Pocket mode and the "Headphones unplug exit" options? I read the description about Pocket mode but I'm not sure I understand: Is a false positive 3 wave gesture so common that there needs to be workaround for it? Furthurmore, when does the app need to be in front? If the screen is on but the app is in background, chances are the user is actually using the phone.
ArmanUV said:
it doesn't have to be that way. Why not give the user an option to disable the wake lock so that the app works only when the screen is on?
Also, can you explain the Pocket mode and the "Headphones unplug exit" options? I read the description about Pocket mode but I'm not sure I understand: Is a false positive 3 wave gesture so common that there needs to be workaround for it? Furthurmore, when does the app need to be in front? If the screen is on but the app is in background, chances are the user is actually using the phone.
Click to expand...
Click to collapse
Yeah perhaps that could be a replacement for the pocketmode.. just disable the wakelock.
Pocket Mode was a user request. I guess the person had fairly baggy pants such that the controls were getting reenabled and music started playing while they were walking. So all it does is prevent that from happening. It's raised more support questions than it addressed so it does need to change.
The headphones unplug exit is an auto exit of the app when you unplug your headphones. It used to just be the way the app behaved but I had a request to be able to disable it.
Having to have the app in front is more of a carryover from before I had the notification icon change with enable/disable. It was just to make the user see the status change. I had kinda forgotten about it.
All good points! Thanks for the feedback.
I think I'll change Pocket Mode to something like Only Work With Screen On and then just toggle the wakelock. More straight forward.
Thanks again!
Pocket Mode
Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
200mpx said:
Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
Click to expand...
Click to collapse
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.
------
So this fun... it still works without the wake lock. Now I'm thinking back to why I put it there in the first place.
I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.
Now how to word the option to not confuse non devs....
MarksThinkTank said:
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.
Click to expand...
Click to collapse
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls
---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------
MarksThinkTank said:
I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.
Now how to word the option to not confuse non devs....
Click to expand...
Click to collapse
Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
200mpx said:
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls
---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------
Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
Click to expand...
Click to collapse
Yeah that might a good way to activate it.. hmm.
I ended up just settling on Wake Lock.. see how many questions I get about it.
I just posted V1.50:
-Wake Lock as an option, default is off
-Pocket Mode now disables everything when the screen is off
-Tweaked the timing for the SGSII
-Fixed a bug for the play/pause on MX Video (forgot to put this in the app's changelog)
-Pro gets Screen Off command
Thanks for great feedback guys! It's helping me quite a bit.
Still to come:
For Pro: Launch any installed app
Adjustable timing for the gesture window
Ingenious.
Sent from the future.
This is awesome.
Sent from my Galaxy Nexus

[Xposed] (Security) Disable Quick Settings Pulldown on Lock Screen

This is just a simple Xposed module that disables pulling down the notification shade / quick settings tiles while on the lock screen (but doesn't break media player controls on lock screen). Only tested on Pixel 4 and Pixel 4 XL on Android 10 (more on this later).
Background: This has always been an annoying aspect of Android for me, and it's dumb from a security standpoint. Being able to pull down the quick settings tiles on a locked phone is dumb. Why hasn't Android natively built this in yet? Using this and Gravity Box to disable power menu on lock screen makes me feel a lot better in the event my phone ever gets lost or stolen. It's dumb that anyone can steal your phone and immediately toggle your settings (turn off WiFi, Mobile Data, toggle Airplane Mode, etc) and/or turn the phone off... I've been spoiled for years by the OG HTC devs (particularly LeeDroid and Team Venom) and their ROMs with these features baked in, so it's back to using Xposed to fill that gap for me and my wife, lol. Anyway, I pair these mods along with the Lockwatch app from Play Store and it gives me more peace of mind. Hey, anything to increase the chances of recovering a lost or stolen phone, am I right?
Credits / Technical Details: This module is based off of char101's published Xposed Repo module, and all credits and thanks should go to him. This is the first app / APK I've compiled so it was a nice learning experience, but it was all based off of his source and I really just needed to remove a few lines of code to get it to work properly with our phones. His mod worked fine and disabled the quick settings pull down on the lock screen, as intended. The problem was that it would also prevent media player controls from functioning (and I would assume other possible functions as well). To fix this, I just removed DISABLE2_NOTIFICATION_SHADE references from the code, leaving DISABLE2_NONE and DISABLE2_QUICK_SETTINGS untouched. The mod still works perfectly as intended. Only tested on Pixel 4 / 4 XL on Android 10. I'm sure it would work on other devices as well.
I really just did this on a whim for me and my wife's own phones and wasn't planning on sharing it, but I figure other people may have also wanted this for their P4's as well, so enjoy. Again, all thanks go to @char101!
Installation:
- Download .APK file attached to this post.
* If you have char101's original module installed already, I would highly recommend uninstalling it first.
- It's an Xposed module. Install the APK and enable in your Xposed Manager.
- Reboot and test.
Based on: https://repo.xposed.info/module/com.github.char101.qslock
Source for modified module: https://github.com/i5lee8bit/xposed-qslock-P4mod
Just noticed something that worried me at first, but turned out to be nothing of concern afaik, but in case anyone else gets spooked by it: I just noticed last night that if you launch the camera while on the lock screen, you can still pull down the notification shade. Same can be said for other apps that can be active over lock screen (e.g. Phone app during active call).
However, the quick settings are still inaccessible while locked. The notification contents that do show will follow the same rules as your settings, so if you have it set to hide sensitive notification content (which you probably should... otherwise 2-factor authentication is extremely pointless if your device were lost or stolen), you still won't be able to see the notification content itself, just that there is a pending notification for that particular app.
I hope you're finding the mod useful, for anyone who is using it. Please let me know if you find any issues with the module, thanks. I'm by no means a developer, but I have more free time than usual for obvious global reasons and it's a fun learning experience while the free time lasts. =)
I've been using the original NoQSInLockScreen, and while it did the job, it really bothered me that you couldn't use media controls on the lock screen (or expand notifications).
This mod took care of that problem. Really happy with it!
Just wanted to say thank you for putting it up!
Tested it on Android 9 (LineageOS 16.0).
Just wanted to stop in and say thank you for the awesome edxposed mod! I appreciate the extra security and hope you're doing well!
Sent from my Pixel 4 XL using XDA Labs
bradical711 said:
Just wanted to stop in and say thank you for the awesome edxposed mod! I appreciate the extra security and hope you're doing well!
Sent from my Pixel 4 XL using XDA Labs
Click to expand...
Click to collapse
Just wanted to let you know, as a fellow (now former) user of this mod, that I found a better way of doing this! So just thought I'd share:
Using GravityBox app for EdXposed framework you can simply define which individual QS tiles you want to secure. That way you still have access to the QuickSettings pulldown menu from the lockscreen (unlike this mod which disables it altogether), but things like Wi-Fi, Location, Airplane Mode etc. are secure and not accessible until you've unlocked your phone. It's a much more practical and elegant solution in my opinion.
Check out my post on this from Reddit where I describe the steps if you're interested:
https://www.reddit.com/r/LineageOS/comments/gdvwml/securing_quick_settings_tiles_on_lock_screen/
Can't wait to try, does your mod support Android 11?
(edit)
09 June 21 update.. and the mod is still woring
Suavie103 said:
(edit)
09 June 21 update.. and the mod is still woring
Click to expand...
Click to collapse
I completely forgot about this mod, haha. But thanks for letting us know!
As @nanquan mentioned (a long time ago, lol), you can also achieve (essentially) the same thing by using GravityBox. It is indeed a more "elegant" solution, and since I already use GravityBox heavily, I now just use GB's tweaks to lock down the main comm tiles.
But I'm glad this still works, for those who still prefer to use it for whatever reason. I can see it still being useful if you have a lot of custom QS tiles and want to keep it all locked down.
Confirmed working A11 xtended rom, 1+7t
Not working in 2022 Android 10 (Q)
Successfully working on Android 12 using Lsposed-Zygisk magisk 24.3
williamsbertoldo said:
Not working in 2022 Android 10 (Q)
Click to expand...
Click to collapse
It still works bro.
any chance this would work on a Pixel 6 Pro?
Hello,very usefull mod.Any chance to re-continue it?I use los 19.1 and keeping quick tiles unlocked is extremely unsafe these days..
Do not work with zygisk and lsposed.
Any fork for this?
lupastro82 said:
Do not work with zygisk and lsposed.
Any fork for this?
Click to expand...
Click to collapse
As well as enabling the module you need to tick the checkbox for 'system framework' and 'system ui'.
porkpiehat said:
As well as enabling the module you need to tick the checkbox for 'system framework' and 'system ui'.
Click to expand...
Click to collapse
Can't find System Ui to check it.
kos25k said:
Can't find System Ui to check it.
Click to expand...
Click to collapse
Make sure you uncheck system apps in the corner here.
Curiousn00b said:
Make sure you uncheck system apps in the corner here.
Click to expand...
Click to collapse
omg really thank you dude it worked on my pocox3 pro running los 19.1 been searching this solution years now
Btw,did u find something similar for power button also?
Hello,
this is a great feature and I would like to install on my pixel 7 android 13.
Anyone tried yet?

Just Got My Red Magic 5 - Software Limitations

This is the Global version that just came out a couple of days ago. Some minor annoyances that was hoping to get some help on:
1. There seems to be no way to display the battery percentage.
Does anyone know of a system app that I need to disable to get this to work? None of the solutions online work with the Red Magic 5G overlay with Android 10, and I don't want to install a third party widget to get this done.
2. As far as I know, I can't customize the lock screen outside of a wallpaper.
Just shows a general date and time but I would like to put widgets or additional information if possible. If anyone has any insight let me know.
I know the phone just came out, but these two issues are EXTREMELY annoying. I honestly might have to flash this when a method becomes available because I'm definitely not liking the lack of customization Nubia has put on with their Android 10 overlay.
May i ask of yours is passing safety net?
1. There seems to be no way to display the battery percentage.
Click to expand...
Click to collapse
Someone on youtube mentioned he reached out to nubia at that is getting fixed with the next update.
2. As far as I know, I can't customize the lock screen outside of a wallpaper.
Click to expand...
Click to collapse
I'm experiencing the same. Just sad about the cool live wallpapers. But you can still select a lockscreen from galery.
May i ask of yours is passing safety net?
Click to expand...
Click to collapse
my RM5G is passing SafetyNet Test
markymark52 said:
This is the Global version that just came out a couple of days ago. Some minor annoyances that was hoping to get some help on:
1. There seems to be no way to display the battery percentage.
Does anyone know of a system app that I need to disable to get this to work? None of the solutions online work with the Red Magic 5G overlay with Android 10, and I don't want to install a third party widget to get this done.
2. As far as I know, I can't customize the lock screen outside of a wallpaper.
Just shows a general date and time but I would like to put widgets or additional information if possible. If anyone has any insight let me know.
I know the phone just came out, but these two issues are EXTREMELY annoying. I honestly might have to flash this when a method becomes available because I'm definitely not liking the lack of customization Nubia has put on with their Android 10 overlay.
Click to expand...
Click to collapse
Regarding #1, you are screwed. I've seen this mentioned a few times on different YouTube reviews. Regarding #2, you are correct. But even more surprising and ridiculous is #3, which I'll add here. It appears Nubia is forcing you to use the stock launcher! Yes, that's right, it's currently IMPOSSIBLE to use ANY launcher other than the one that comes out of the box. Nubia has said that this is INTENTIONAL! CRAZY!
I have battery percentage on mine.
Settings > power management > electricity percentage.
There is no settings > power management
Yeah same don't have those options.
Also can't figure out how to access APN settings
I've read that the only way to see % battery is to activate AOD, and the % will be displayed.
Best regards.
You have the latest firmware. My god the launcher is so buggy and bad. They really should let you use whichever launcher you want. Also no setting to change screen dpi or size and it doesn't even have the android 10 notifications. You can't expand or delete or reply from notification drawer. This is really really poor
What versions does everyone have.
I am NX659J_ENCommon_V4.05
Pulse version of phone.
I have no power management options.
I can reply in line to notification in the notification tray.
How is your Wifi speed? I have tried mine on 2Ghz and 5Ghz and I only get about 30MB down, whereas my Honor View 20 gets 100MB.
Launcher is fine once you have it all setup, but kept saying shortcut already exists. If you rebooted you see they are there.
Now I have it all as want it, thats not really an issue now, but not a great setup experience.
RussST24 said:
What versions does everyone have.
I am NX659J_ENCommon_V4.05
Pulse version of phone.
I have no power management options.
I can reply in line to notification in the notification tray.
How is your Wifi speed? I have tried mine on 2Ghz and 5Ghz and I only get about 30MB down, whereas my Honor View 20 gets 100MB.
Launcher is fine once you have it all setup, but kept saying shortcut already exists. If you rebooted you see they are there.
Now I have it all as want it, thats not really an issue now, but not a great setup experience.
Click to expand...
Click to collapse
4.05? I'm on 3.08
joemossjr said:
4.05? I'm on 3.08
Click to expand...
Click to collapse
Hmm that's interesting.
Here is my screenshot.
UK delivery yesterday.
Was up to date when I got it.
Sent from my NX659J using Tapatalk
That's so weird no updates available for mine also
Battery Meter Overlay was the only app that I found to be able to show the battery % (choose the "Overlap the Statusbar" option). You have to buy the paid version if you want to hide it in full screen mode. It is not perfect, but it is better than nothing. You can choose from different kind of themes and change the colours, scale and position so it is pretty customizable
I already new about Nubia blocking the use of custom launchers (saw a review where it was mentioned) before buying the phone and wrote them about it and asked them to revert this bad decision (and I also told them to fix the missing battery %). I hope you all write them about it as well, so they know that they have to fix these issues. And if they don't allow the use of custom launchers they have to give us a better stock launcher with much better customizability.
Do different models have different firmware?
Have they ever pushed an update in previous versions?
Anyone getting poor WiFi speeds?
Mine is just about 30mb down on 5ghz WiFi when my other phone pushes 100mb.
Tried 2ghz even worse.
Thanks
Sent from my NX659J using Tapatalk
RussST24 said:
Anyone getting poor WiFi speeds?
Mine is just about 30mb down on 5ghz WiFi when my other phone pushes 100mb.
Tried 2ghz even worse.
Thanks
Click to expand...
Click to collapse
My wifi has been pretty good.
Hi, anyone have any idea when will the global rom be released? Waiting to flash on my CN set..
Just noticed. All incoming calls are showing as "unknown" doesn't even show the caller number.
On O2 in the UK.
Anyone seeing this?
Thanks
Russ
Sent from my NX659J using Tapatalk

General Exclusive : This is our first look at Android 13 “Tiramisu” and some of its upcoming features

https://www.xda-developers.com/android-13-tiramisu-exclusive-first-look/
App Languages
Runtime Permission for Notifications
TARE: The Android Resource Economy
Lock Screen Clock Layout !
Lock Screen Clock Layouts​With Android 13, a new setting has been added in lock screen settings to toggle the layout of the clock on the lock screen.
In Android 12 currently, the lock screen clock is displayed in the double line layout that you see in the first screenshot above, but only when there are no notifications. When notifications arrive, the layout switches to a single line layout, and reverts back when notifications are cleared. The new setting allows users to retain the single-line layout persistently, something that users had been requesting for a while.
We’ve also seen evidence that this feature is being added to Android 12L, so you may be able to use this pretty soon.
These are all the new features on Android 13 that we have access to. There’s bound to be more features and changes coming, especially once the update officially releases. Until then, this is your first look at Android 13.
Click to expand...
Click to collapse
Nice, got any info on when it will be released?
TrulyPain said:
Nice, got any info on when it will be released?
Click to expand...
Click to collapse
I believe the standard schedule every year is the developer preview versions - you can either sign up for the beta program to get, or possibly also flash full firmware if they make them available - start releasing maybe March, April, or May of each year, then they usually have four developer previews - generally monthly, then a few beta versions, and then the "final" release of the new Android version in October, usually coinciding or nearly coinciding with the release of their new Pixels.
(it's been almost three years since I got to test developer previews of Android, etc, since I used my Pixel 1 from 2016 through a few months after it stopped receiving any updates - which was December 2019)
Finally able to edit clocks on the lockscreen!
I'd like to see separate volume controls for calls and notifications as well.......I hope ?
skyeking said:
I'd like to see separate volume controls for calls and notifications as well.......I hope ?
Click to expand...
Click to collapse
In the meantime, you can use this app for that if you're not using anything else. It just turned into a payed app but you can subscribe for less than $1/yr after a free trial period.
Sound Profile (Volume control) - Apps on Google Play
Control phone volume for calls and notifications separately.
play.google.com
Based on the size of things, and the centred icon row at the bottom, I think this might be what some are referring to as Android 12L designed for tablets, instead of actual Android 13.
I love the large clock, hope that stays large with the option and not small like in the SS
the large clock is the worst thing they brought with android 12 and pixel 6/pro i cant wait to see the feature to make it small show up.... the large clock ruins the photos or backgrounds you put on your phone and for some people is really hard to read and understand .
allenjthomsen said:
the large clock is the worst thing they brought with android 12 and pixel 6/pro i cant wait to see the feature to make it small show up.... the large clock ruins the photos or backgrounds you put on your phone and for some people is really hard to read and understand .
Click to expand...
Click to collapse
How is a large clock hard to read or understand? Even the learning disabled would be able to tell what time it is.
prohibido_por_la_ley said:
How is a large clock hard to read or understand? Even the learning disabled would be able to tell what time it is.
Click to expand...
Click to collapse
It's just a matter of preference. To me (and some others), it's more natural to read time in one line, not have to see huge hours numbers, then move our eyes down to see the huge minutes numbers. If you like it, that's fine, just a lot of folks including myself don't like it.
roirraW edor ehT said:
It's just a matter of preference. To me (and some others), it's more natural to read time in one line, not have to see huge hours numbers, then move our eyes down to see the huge minutes numbers. If you like it, that's fine, just a lot of folks including myself don't like it.
Click to expand...
Click to collapse
I'm learning disabled.
So they're working on Android 13 when android 12 is still bug ridden?
awarman said:
So they're working on Android 13 when android 12 is still bug ridden?
Click to expand...
Click to collapse
Of course Googleeee is multi tasking and bugging! lol

Categories

Resources