This ROM is based on the Andromadus 4.2.x AOSP build.
Original thread link http://forum.xda-developers.com/showthread.php?p=36372317
There is also a CM10.1 based version available here [ROM][21-01-13][Guhl] Andromadus Permission Spoofing Framework CM10.1
In addition to the original AOSP rom it includes the permission spoofing framework enhancement that was originally developed by Plamen K. Kosseff for Android 2.3. The functionality has been ported to Android 4.x and enhanced by me and is now available.
The source of the enhancement can be found on github in the repositories:
android_frameworks_base
android_frameworks_opt_telephony
android_packages_apps_Settings
The current work is done in the JB4.2 branch and the relevant commits are:
framework initial commit
framework bug fix 1
framework bug fix 2
frameworks telephony initial commit
app settings initial commit
framework permission spoofing - location
framework pff: infrastructure code cleanup
framework pff: permission spoofing - contacts and phone log
framework permission spoofing - calendar (Instances)
What is permission spoofing
Permission spoofing means that the framework will return spoofed informations to Apps instead of the original information based on permissions that the App requested during installation. The main motivation for the development of this functionality is the protection of the privacy of the phones owner.
Examples for spoofed information are:
* Empty contact list instead of real contacts - READ_CONTACTS
* False location instead of real location - ACCESS_COARSE_LOCATION / ACCESS_FINE_LOCATION
* False Information for phone id and phone number - READ_PHONE_STATE
* Empty log instead of real phone call log - READ_CALL_LOG
* Empty calendar list instead of real calendar entries - READ_CONTACTS
* ....
Current implementation
Currently the following permissions are available:
READ_PHONE_STATE
While this permission allows the App to read the state of the phone (in call, ...) it also allows the App to read information like the phone number or the IMEI of the phone. Instead of revoking the permission that has to be granted to an App, permission spoofing provides spoofed information for this sensitive data.
ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION
Instead of the real location the top of Mount Everest will be reported. The implimentation is not perfect yet (Google maps and Latitude still seem to know the location - working on that)
READ_CONTACTS and READ_CALL_LOG
Instead of the contacts and the call log an empty list will be reported. The implementation sets the limit paramter of the query to 0 if the permission is spoofed.
READ_CALENDAR
The implementation changes the date for which the items will returned to the first week of 1970.
More permissions will be added in the near future.
Usage
Spoofing can be enabled on a per App basis. To enable spoofing go to Settings - Apps, choose the App for which you want to spoof the permission. Below the spoofable permission will be a switch that can be set to On to enable spoofing or Off to disable spoofing for this App.
Optional Apps
The source of these apps is also available at https://github.com/guhl
PFF-Settings
The PFF-Settings app provides the same functionality as App - Settings but in a more comprehensive way.
It provides a list of all Apps (including system Apps) that have a spoofable permission and allows you to set spoofing On/Off for them
PFF-Test
If you spoof a spoofable permission for the app PFF-Test you can check the info that the framework provides to PFF-Test
Downloads
ROM http://d-h.st/0HL
Gapps are not included in the rom - they can be found at gapps-jb-20121212-signed.zip
PFF-AppSettings
PFF-Test
Communication
I do not want to start a flame war on spoofing on XDA. Whiile spoofing is important for me I do understand people opposing it.
If you want to talk to me, the best way to do this is to look for me (Guhl) at #G2ROOT or #andromadus on freenode IRC.
Changelog
02/27/2013
* Added spoofing for READ_CALENDAR
02/21/2013
* Added spoofing for READ_CONTACTS and READ_CALL_LOG
* Updated PFF-AppSettings to reflect the new permissions
02/15/2013
* Updated from Andromadus (no new spoofing)
01/21/2013
* Updated from Andromadus (no new spoofing)
01/14/2013]
* Added location spoofing
* Added location testing to PFF-Test
Credits
* Plamen K. Kosseff for the original framework changes
* Flinny for his huge work on the Andromadus roms and supporting me
* pierre_ja, Nipqer, Hymie and all the others at #G2ROOT for their endless help and entertainment
Coderzs for kernel and files
Elginsk8r
Guhl99 for letting me port it over
Sent from my HTC glacier using xda premium
Mine
Sent from my HTC glacier using xda premium
One more
Sent from my HTC glacier using xda premium
i like the spoofing concept. do you plan on working on roms for other phones/ ? it would be nice to have this spoofing as an add-on or optional module for other roms.
also any word on what works/not etc? ready for daily use? thanks for your work.
chagla said:
i like the spoofing concept. do you plan on working on roms for other phones/ ? it would be nice to have this spoofing as an add-on or optional module for other roms.
also any word on what works/not etc? ready for daily use? thanks for your work.
Click to expand...
Click to collapse
Everything functions and its pretty stable so it could be a daily driver.
Sent from my myTouch 4g using xda premium
I love the ROM, and it's going perfect for me, however I have one question. How do I make the power options give me the option to restart and take a screenshot?
3rd apps ... that is aosp
lol one moreeeeeeeeeeeeeeeeee
waiting for the day when u n coderz actually bring a JB sense rom.....many many people are looking forward to it
cnote74 said:
One more
Sent from my HTC glacier using xda premium
Click to expand...
Click to collapse
It could happen would require a lot of work though.
Sent from my myTouch 4g using xda premium
Honestly u guys have given us way too much...we are all thankful for it
but just wanted to put it out there that sense jb is what every1 is waiting from u....n thanks again
cnote74 said:
It could happen would require a lot of work though.
Sent from my myTouch 4g using xda premium
Click to expand...
Click to collapse
cnote74 said:
Everything functions and its pretty stable so it could be a daily driver.
Sent from my myTouch 4g using xda premium
Click to expand...
Click to collapse
Is WiFi hotspot working? This is the only thing I would like have it worked.
Sent from my HTC myTouch 4g using Tapatalk 2
Working great so far!
Working great so far!
More info:
After 2 days' use. Here are the observations: !. Overall fast response. 2. heating while playing music/charging. 3. Auto-Rotation doesn't always work. 4. Gallery crashes occasionally.
Permission Spoofing? Interesting!!!! Good Job!
Permission spoof. Weird. But what about applications that you want to give real data to? Can you unspoof?
Sent from my Nexus 4 using xda app-developers app
THEindian said:
Permission spoof. Weird. But what about applications that you want to give real data to? Can you unspoof?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Just read OP
Related
Hi everyone! Thank you for your help in getting CM up to a flawless standard! We are now almost ready to deploy CM 1.5 - it will include MMS blocking, Class0 auto replies and many other new and very cool features.
We need your help now to iron out any remaining bugs before we embark on a daemon rebuild. Please download the app from the market and get testing! Here are the issues we want to address specifically:
- If you have problems regaining 3G after the telephony restart. This should have been fixed. If not, please try "Slow radio restart" in Debugging and report your results!
- Issues moving list priorities on Light or Dark theme. Again, if you have issues, please switch to the other theme, try again and then report back.
- Notification color schemes. We are interested if the new notifications comply with the majority of frameworks.
Thank you in advance for all your great work, this ultra-awesome app is as much a child of yours as it is of ours
------------------------------------------------------------------------------------------------------------------------------
The most complete call and SMS management app on Android
Call Master is the most advanced call and text message firewall available for Android. With unique, powerful features and the proven reliability
of our root telephony daemon under the hood, this application is targeted at advanced users and professionals searching for an enterprise
quality solution that guarantees absolute stability.
If you find Call Master too complicated but like the power of its root telephony daemon, please have a look at our other call management app,
Root Call Blocker. It works just as effectively and may suit your needs better.
Advantages:
★ Blocked calls will never go through
★ Your screen will never turn on
★ Private call and SMS sandbox with log sweeper
★ Full password protection
★ Route message content to other numbers
★ Powerful widget
Features:
☆ Ultra flexible list creation
☆ Seven reject methods
☆ Filter SMS by content
☆ Automatic text routing and replies
☆ Regular expression and wildcard filters
☆ Custom notifications
☆ Backup encryption and password protection
☆ Powerful logging and sorting system
☆ Number testing
☆ Independent contact library for total privacy
☆ Profile scheduling
☆ Light and dark themes
Market Link: https://market.android.com/details?id=fahrbot.apps.blacklist&feature=search_result
This is a fully functional application. However, after a 24 hour demo period it will start nagging you to buy the Key, which will remove all nag
screens and timeouts from the interface. The nag screens are pretty light though, so users who dont want to spend can live with them.
Screens - VIEW GALLERY
So, has anyone done any testing?
Hey, running it since yesterday. Here are the issues I found:
1) Data connection not working. I waited for 15 minutes for data connection to start, restarted telephony service still no data.
2) Restarted phone, data came back for a while then again gone!!!!
3) Menu button is disabled, is this feature or bug?
4) I can't move to full screen mode. Maybe some problem with ROM? I'm using CheckROM v4, with siyah 2.6.2
5) Lot of FC due to lack of data connection as phone considers it enabled but apps don't get any data
Will let you know more if found
sumitpathak said:
Hey, running it since yesterday. Here are the issues I found:
1) Data connection not working. I waited for 15 minutes for data connection to start, restarted telephony service still no data.
2) Restarted phone, data came back for a while then again gone!!!!
3) Menu button is disabled, is this feature or bug?
4) I can't move to full screen mode. Maybe some problem with ROM? I'm using CheckROM v4, with siyah 2.6.2
5) Lot of FC due to lack of data connection as phone considers it enabled but apps don't get any data
Will let you know more if found
Click to expand...
Click to collapse
Sounds like your issues are rom related. There is no way lack of data could be causing fcs...
We dont use the menu button, welcome to ics.
Have you tried using the RESTART RADIOS command in Settings?
Any issues with 1.2.0?
Any issues to report with 1.2?
This app is great, the best in his area along your other app (RCB)
But I don't think users are willing to help as betatesters of a paid app unless you offer them some discount... just saying.
It's the free version anyway, I've downloaded it now and will test
Sent from my GT-I9100 using xda premium
titooo7 said:
This app is great, the best in his area along your other app (RCB)
But I don't think users are willing to help as betatesters of a paid app unless you offer them some discount... just saying.
Click to expand...
Click to collapse
Yeah mate... this thread was opened when it was in Beta.
Also, the app is free.
Also, this is xda DEVELOPERS. Just saying.
Hi guys, we have just release a cool new app that many will find useful:
http://forum.xda-developers.com/showthread.php?p=21736203
Have a look and do some testing!
call log
The app work perfect...
In log menu we have: system, all, and whatever block list activated. If i delete a number in all tab, the other block list doesn't automatically clear up until i scroll pass it or exit and go back into log.
Feature request: pls include "FORWARD" in action. I do aware of forward option in call menu but that would forward all...
By the way guys, we have just released a new app that lets you securely switch between multiple installations of android on one device:
http://forum.xda-developers.com/showthread.php?t=1465661
Check it out please!
Any issues to report?
Its working perfectly here! Thank for this awesome app!
Anything other than praise to report
Sorry - its working very well so just praise
We are currently working on Class 0 SMS auto-replies, which many will find useful
Hmmm the dev appears very helpful, want to try this out, is it compatible with cyanogenmod 9 ics?thanks in advance.
------------------------------------------------------------------------------------------------------------------ **** yeah
marvi0 said:
Hmmm the dev appears very helpful, want to try this out, is it compatible with cyanogenmod 9 ics?thanks in advance.
Click to expand...
Click to collapse
Hmmm im one of the devs. Yes of course its compatible. Look for the main thread here mate:
http://forum.xda-developers.com/showthread.php?t=1291587
Hi everyone. Im one of the developers of SwitchMe, and app that allows multiple secure logins into separate installations of android on a single device. The pr is after the break.
I really need a few people to check into some issues people on the original galaxy s have been experiencing. There are some warnings involved:
- testers must perform a full nandroid backup before using the app, it is not our responsibility if you start getting boot loops
- if you report results or bugs, please use the "Write to us" function in the app whenever possible, and always describe the issue in the header of the logs you send
- if you post here, bes sure to include your device type and rom
- if you have apps installed on sd, be sure to mention that as well
--------------------------------------------------------------------
SwitchMe is a unique application for root users that allows you to log in and out of multiple installations of Android just as you would on a desktop computer.
The technology behind SwitchMe saves all of your applications and data, protects it and stores it as a file in memory. You can then log out of an
account and log into a fresh installation of Android or another account with its own unique content.
You may create as many profiles as the memory is capable of holding. Some of these may require very little free memory because they contain few apps,
others will be larger as they contain many applications and lots of cache and data.
Why is this functionality useful?
Privacy - the most obvious benefit is that you can securely share one device among multiple users, which gives you privacy and peace of mind.
Testing - if you are a developer, you can use profiles as clean sandboxes to test your applications and their interaction with the system.
Gaming – with multiple installations of Android on a single device, you can now play online MMOs as different characters.
Speed - the games your kids play slow down your tablet, but with SwitchMe you can easily create profiles without games or instant messengers.
Battery life - when the battery is low but there are important emails or documents to edit later, switch to a profile which only contains these essentials.
These of course are only suggestions - there are plenty of other uses for the functionality SwitchMe offers.
Market link:
https://market.android.com/details?id=fahrbot.apps.switchme
The Lite version allows the creation of two profiles, enough to test on.
Screens:
Thank you, nice...
I'm on it. Build 15 Ics.
Edit: Don't work for me. App says try different rom.
Sent from my GT-I9000 using xda premium
Downloaded some time ago, will probably test sometime soon .
Its a2sd. And please, FOLLOW THE INSTRUCTIONS ABOVE WHEN REPORTING ERRORS.
Sent from my GT-P7500 using xda premium
Chris_84 said:
I'm on it. Build 15 Ics.
Edit: Don't work for me. App says try different rom.
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
Same problem for me too. Cannot test if app doesn't start.
SGS GT-i9000, Rooted Stock Odexed XXJVU Value Pack, Semaphore Kernel, Stuck at boot animation after trying to switch to second profile.
Hi guys, there will be a new release today that will send logs even if the app does not start. Hopefully, we will have a working version for you tomorrow, so please update and send logs when prompted to do so!
Thanks!
Ok, 2nd try , just install it a couple of minute ago
Rom : simplicity 2.2.1
1st try , cloning the default profile,
Now i can switch to the cloned profile n i do all below
-Uninstall some app,
-delete call logs,
-delete some sms
-change to flight mode.
Then , switch back to default profile,
-all app are still there,
-call logs are deleted,
-deleted sms also gone in default profile
-and it remains in flight mode
Then i switch back to cloned profile,
-all previously uninstalled app, still there, but i cant run them
Then i switch back to default profile, everything fine.
Next, i delete the cloned profile, and make a new fresh profile, and switch to new profile. Everything just like when first flash Simplicity.
-remained in flight mode
-all app which not come with Simplicity have black icon with SD on it.
-all sms still there
-all contacts gone
Switch back to default profile,
-everything fine except my contacts all gone
Sent from my GT-I9000 using Tapatalk
Try wiping the cache after first booting into a new profile. We are considering adding this as a feature.
By the way, the app currently only supports the official android implementation of a2sd.
Any issues to report or is everything working flawlessly as usual?
SwitchMe 1.2 has been rolled out and now includes a lockscreen replacement:
1.2
Added lock screen for logging in and out
More stable Fast switch implementation
Reworked UI colors
Now, its very important that we get some feedback on how this big new feature works, so please read up on it in the help and post your thoughts!
1.2.2 - HOTFIX 2
Reworked widget on qHD+ displays
Fixed widget text on HC and ICS
Fast switch improved on older devices
Nt wrking on Team ICSGS...
sbnaul said:
Nt wrking on Team ICSGS...
Click to expand...
Click to collapse
Any rom without data links will work!
I'm ready to be your tester... but I demand the FULL version as compensation for my time and risk... OK???
Angel.
Sent from my GT-I9000 using xda premium
lopez.am said:
I'm ready to be your tester... but I demand the FULL version as compensation for my time and risk... OK???
Angel.
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
Added to very large ignore list. Goodbye.
Any issues to report?
1.4.3.7
Fixed device specific switch screen crashes and issues
Fixed UI bug in switch screen preferences
If anyohe had problems with superuser before, this should fix them. Please let me know if that is the case, its important we get some feedback here!
lost all widgets from TW3, all accounts were desynchronised and disconnected after switching to newly created account and switched back.
JVU, Semaphore Kernel 2.5.0
I have created an app that will help share apps across users on google's new 4.2 multi user feature.
Thanks to mentose457 and unwired for giving me the idea.
see this thread (http://forum.xda-developers.com/showthread.php?t=1994169)
It works by removing package elements from user's package-restriction.xml file to add the app and adding the package element back to remove the app. (located at \data\system\users\10\package-restrictions.xml where 10 is the user's id)
This is quickly thrown together and will likely have a ton of bugs, but I wanted to go ahead and get it out there for testing.
- This is BETA
-You must have ROOT
- This changes system data on non documented files it could screw something up.
- I'm not responsible for any problems this causes or lost data or bricked or broken devices
- please use cation
- it is currently built to run on main user to enable or disable apps on secondary users (once root is fully working on secondary users I will see about making it run correctly on secondary user's account)
- not tested thoroughly with paid apps*
- does not currently support system apps**
- due to the way I pull the app list from the package manager some installed apps may not show as available to add/remove
- apps installed first on a secondary user's profile will probably not show in the list to add/remove
*paid apps seemed to work but I did not have internet access during testing. My theory is that any paid apps that use Google's license verification will not work or not work for long. So adding your Google Account to the secondary user's play store is probably still the best way to share paid apps.
**The entries in the xml for system apps is different. Therefore I will have to research them more before getting it to work or deciding not to mess with those apps. Currently some will show not installed on other users even though they are and removing/adding them will not work correctly.
------> DOWNLOAD HERE https://play.google.com/store/apps/...tm_medium=forum&utm_campaign=app_announcement
I'd love to get feedback to what is working and what is not. Also if anybody figures out anything more about the package-restriction.xml file I'd love to hear it. Especially when it comes to system apps.
Thanks mate added my sons Google account and it is all running perfectly. Seperate saves and account details for apps and allowing me to share my paid ones with him
First review on play store is up.
Will have a mess around with apps and report back but it appears to be running sweet at the moment
Cheers danny...
Sent from my Nexus 7 using Tapatalk 2
I wanted to chime in as well. It is working on AOKP. Thanks again jeepguy04.
Looks like it's working for me too :thumbup:
Strange, I'm rooted. Using root apps such as cache mate, titanium & sixaxis.
Multi user app enabler says not rooted.
So does root checker??
DeadlyDazza said:
Strange, I'm rooted. Using root apps such as cache mate, titanium & sixaxis.
Multi user app enabler says not rooted.
So does root checker??
Click to expand...
Click to collapse
On the first 'owner' account I'm rooted, but the second user account doesn't recognize root in apps shared through multi user app.
rkuijpers said:
On the first 'owner' account I'm rooted, but the second user account doesn't recognize root in apps shared through multi user app.
Click to expand...
Click to collapse
That is a known issue (if you want to call it that). For me it's not a problem as my second user is a guest just like on my computer.
Sent from my Galaxy Nexus using Tapatalk 2
mentose457 said:
That is a known issue (if you want to call it that). For me it's not a problem as my second user is a guest just like on my computer.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I know, that's why I quoted the user I meant to answer
It wasn't meant as a negative comment, as I think this app is very useful.
I tried this with ten games and all worked fine (free and paid) except Retro Racing. It works with primary user but crashes with secondary user.
https://play.google.com/store/apps/details?id=com.mrqwak.retroracing
Do you think it is possible to have a shared folder for fotos and musik for multiple users?
some one post the apk my devices are not compatible lol
Great idea! My solution involves just buying everyone their own tablets.
Sent from my Galaxy Nexus using XDA Premium HD app
player911 said:
My solution involves just buying everyone their own tablets.
Click to expand...
Click to collapse
... Fail
Does it works on nexus10 ?
agabe said:
Does it works on nexus10 ?
Click to expand...
Click to collapse
Should work on any tablet running 4.2 (or phone if your custom rom enables the multiple user profiles)
joeyman08 said:
some one post the apk my devices are not compatible lol
Click to expand...
Click to collapse
Currently I only have it available in the market to tablets to avoid confusion for people wondering why it doesn't work with their phone. Maybe I will change that since only nexus devices or phones with custom roms are running 4.2. Those users tend to be a little smarter and know if their phone has multiple user profiles or not.
Here is a link to the apk for anybody that can't see it in the market.
bergfex said:
Do you think it is possible to have a shared folder for fotos and musik for multiple users?
Click to expand...
Click to collapse
The shared folder idea is interesting but beyond the scope of this app. Probably could do it with symlinks or something (not very knowledgeable in linux). Maybe I will look into it and either make another app or find a way to make it fit in with this app.
Yes. Symlinking the photos/music folders outside /data/ should work. But I don't have a 4.2 device(nor willing to set up an emulator) so I'm unsure.
Looking forward to trying on my p5113 CM 10.1
jeepguy04 said:
I have created an app that will help share apps across users on google's new 4.2 multi user feature.
Thanks to mentose457 and unwired for giving me the idea.
see this thread (http://forum.xda-developers.com/showthread.php?t=1994169)
It works by removing package elements from user's package-restriction.xml file to add the app and adding the package element back to remove the app. (located at \data\system\users\10\package-restrictions.xml where 10 is the user's id)
This is quickly thrown together and will likely have a ton of bugs, but I wanted to go ahead and get it out there for testing.
- This is BETA
-You must have ROOT
- This changes system data on non documented files it could screw something up.
- I'm not responsible for any problems this causes or lost data or bricked or broken devices
- please use cation
- it is currently built to run on main user to enable or disable apps on secondary users (once root is fully working on secondary users I will see about making it run correctly on secondary user's account)
- not tested thoroughly with paid apps*
- does not currently support system apps**
- due to the way I pull the app list from the package manager some installed apps may not show as available to add/remove
- apps installed first on a secondary user's profile will probably not show in the list to add/remove
*paid apps seemed to work but I did not have internet access during testing. My theory is that any paid apps that use Google's license verification will not work or not work for long. So adding your Google Account to the secondary user's play store is probably still the best way to share paid apps.
**The entries in the xml for system apps is different. Therefore I will have to research them more before getting it to work or deciding not to mess with those apps. Currently some will show not installed on other users even though they are and removing/adding them will not work correctly.
------> DOWNLOAD HERE https://play.google.com/store/apps/...tm_medium=forum&utm_campaign=app_announcement
I'd love to get feedback to what is working and what is not. Also if anybody figures out anything more about the package-restriction.xml file I'd love to hear it. Especially when it comes to system apps.
Click to expand...
Click to collapse
Great to see this is available
Thanks:good:
Why the full network access and google play billing service permissions?
excarnate said:
Why the full network access and google play billing service permissions?
Click to expand...
Click to collapse
Google Play billing service is for accepting donations via in app purchase. Under settings anybody can donate if they feel the app has value to them... so far I've gotten two $1 donations...lol
network access is for connecting to internet for ads and also for ACRA (Application Crash Report for Android) it basically sends error reports to me to help fix errors. It can be disabled under settings if you do not want it reporting errors.
Does not populate menu on my Nexus 7.
I had a few spare hours and made an app to add processes to the whitelist of the low memory killer.
This feature is currently available in
Semaphore Kernel for 4.2 JB
Mackay Kernel (untested)
Cyancore (untested)
Fishears Kernel (untested)
You can add up to 6 apps (kernel-limit) that will not get killed if your phone needs free ram. The purpose of this is to prevent e.g. your launcher from being killed when your phone needs more ram - resulting in redraws and unresponsiveness.But be warned: if you add too many memory intensive apps to this list your phone will get laggy and in worst case you will get force closes.
How it works:
To make an app "invulnerable" one needs to write it's PID (process ID) in a Kernel-config file
To get the PID of an app it has to run
This is why the whitelist-app starts a service (on boot and if you change the config) that runs and checks periodically for PIDs until it has found all your selected apps
Be aware that the service will run forever if you add an app that never gets started to the list!
If you only add your launcher and/or other apps that run permanently it will finish immediately.
Of course this requires root permissions to work!!
It is not the prettiest android app there is, so feel free to contribute with a better layout
Since Version 1.2 there are 3 open intents, which let you clear/create the whitelist from within other apps. The intent actions are:
com.jb.semaphorelmkwhitelist.CLEAR_WHITELIST
com.jb.semaphorelmkwhitelist.CREATE_WHITELIST
com.jb.semaphorelmkwhitelist.TOGGLE_WHITELIST
BIG THANKS TO STRATOSK, the developer of Semaphore Kernel and the Semaphore Manager app.
Please consider donating to him to support the further development of the kernel.
If you want to support my work please have a look at my apps in play store (see my signature)
I will send the source code to anyone asking me via PM.
Changelog:
Raise Version to 2.0
-) Ability to detect services running in their own process (works for greenify, possibly also tasker - didn't check though)
-) Create Launcher shortcuts for apps combined with whitelist actions, takes label and icon from the selected app
- clear whitelist: recommended for games, whitelist needs to be manually enabled again afterwards
- temporary add to whitelist: recommended for music player apps, the started app gets added to the whitelist until it is refreshed
1.4
Fix wrong game mode state on reboot
Option to force greenify apps in game mode (enable in settings)
1.3
Changed launcher shortcut to toggle game mode (whitelist on/off)
Added new open intent TOGGLE_WHITELIST
1.2
Added Launcher shortcut to clear whitelist
Added open Intents to clear/create whitelist
1.1
Renamed to LMK Whitelist
Added option to disable toast messages
Added about dialog
1.0
Initial release
Great job! Thank you so much! Just installed and trying...
SGS - Sema 2.9.20s - Xylon 0.2.3.3 - Cobalt Sam-X - Big Thanx2all
---------- Post added at 04:40 AM ---------- Previous post was at 04:33 AM ----------
Nice one! I really like the infobox of this app. Well done!
SGS - Sema 2.9.20s - Xylon 0.2.3.3 - Cobalt Sam-X - Big Thanx2all
Great work! It seems to work fine. Thanks!
There a 3 kernels which can use this app currently, semaphore, cyancore and mackay.
Also about the source, why not upload it to github.
Sent from my GT-P7500 using xda app-developers app
Nice job! I think a few screenshots would be nice in the OP!
Great idea!
Thanks for the great idea and implementation, this is exactly what was needed to complete stratosk feature.
a small bug I encountered:
when trying to add the phone process through the "Lancher apps" list, if i press the "Phone" button the app adds the "com.android.contacts" process instead of the "com.android.phone" process. (BTW, pressing the "Contacts" button, also adds the "com.android.contacts" process).
Great job, Thanks!
ts1506 said:
There a 3 kernels which can use this app currently, semaphore, cyancore and mackay.
Also about the source, why not upload it to github.
Sent from my GT-P7500 using xda app-developers app
Click to expand...
Click to collapse
I'm sure more kernel developers will implement it...
So, why not call it just LMK-Whitelist?
Also nobody could complain if you sell it at Playstore and share the profit with Stratosk...
For more comfort you could show the real name of the apps in the list and enable to choose all apps at once.
Great job, congratulations!
SGS - Sema 2.9.20s - Xylon 0.2.3.3 - Cobalt Sam-X - Big Thanx2all
grinder777 said:
I'm sure more kernel developers will implement it...
So, why not call it just LMK-Whitelist?
Click to expand...
Click to collapse
:good:
I totally agree.
superkoal said:
How it works:
To make an app "invulnerable" one needs to write it's PID (process ID) in a Kernel-config file
To get the PID of an app it has to run
This is why the whitelist-app starts a service (on boot and if you change the config) that runs and checks periodically for PIDs until it has found all your selected apps
Be aware that the service will run forever if you add an app that never gets started to the list!
If you only add your launcher and/or other apps that run permanently it will finish immediately.
Click to expand...
Click to collapse
Hi,
do you think it would be possible to periodically check for the running apps and if they match the list configured in your app instead of having a service running once after the configuration or after system boot? As you stated the service is running forever if the app is not yet running. If you could make the interval to check for apps configurable, one could still use the current setup. But it could also be configured in the way that you just specify a list of apps, that are supposed to be LMK safe once they are running, and they would also be remove from the whitelist once you close them manually.
What do you think of this idea?
Rebel2k said:
Nice job! I think a few screenshots would be nice in the OP!
Click to expand...
Click to collapse
Thanks! I will add them in my next few spare hours
ziporpor said:
a small bug I encountered:
when trying to add the phone process through the "Lancher apps" list, if i press the "Phone" button the app adds the "com.android.contacts" process instead of the "com.android.phone" process. (BTW, pressing the "Contacts" button, also adds the "com.android.contacts" process).!
Click to expand...
Click to collapse
This is just the way android works - the apps in your launcher are sometimes combined in one package.
grinder777 said:
I'm sure more kernel developers will implement it...
So, why not call it just LMK-Whitelist?
Also nobody could complain if you sell it at Playstore and share the profit with Stratosk...
For more comfort you could show the real name of the apps in the list and enable to choose all apps at once.!
Click to expand...
Click to collapse
Thanks, I will change the name.
I will think about it, but i don't think i will sell it, maybe i add a donate button.
elhennig said:
Hi, do you think it would be possible to periodically check for the running apps and if they match the list configured in your app instead of having a service running once after the configuration or after system boot? As you stated the service is running forever if the app is not yet running. If you could make the interval to check for apps configurable, one could still use the current setup. But it could also be configured in the way that you just specify a list of apps, that are supposed to be LMK safe once they are running, and they would also be remove from the whitelist once you close them manually. What do you think of this idea?
Click to expand...
Click to collapse
Not sure if I understood what you mean, just post again if I misunderstood.
You can already configure the check interval in settings (Hit the menu button!)
When I say the service runs forever it means that it will check every 60 seconds (configurable) if the selected apps are running.
Not sure why you want to remove apps from the whiteliste again, the whole purpose is to make an app always running.
Android won't kill an app in foreground...
superkoal said:
This is just the way android works - the apps in your launcher are sometimes combined in one package.
Click to expand...
Click to collapse
It's not a bug, it's a feature :laugh:
Thanks!
superkoal said:
Not sure if I understood what you mean, just post again if I misunderstood.
You can already configure the check interval in settings (Hit the menu button!)
When I say the service runs forever it means that it will check every 60 seconds (configurable) if the selected apps are running.
Not sure why you want to remove apps from the whiteliste again, the whole purpose is to make an app always running.
Android won't kill an app in foreground...
Click to expand...
Click to collapse
Ok, I just tried again and this time the menu button worked
I just thought about the following use case:
I want to have an app staying in the memory after I started it manually and want keep it - also in the background - until I explicitly close it.
Also if you restart an app (for example the launcher) for some reason the pid changes and you would have to open your app to update the whitelist
If you must really update the whitelist after every reboot (empty battery, wipe cache/dalvik, use recovery etc.) than it's not funny. It means everytime you must think about this.
yavu said:
If you must really update the whitelist after every reboot (empty battery, wipe cache/dalvik, use recovery etc.) than it's not funny. It means everytime you must think about this.
Click to expand...
Click to collapse
This is what the app does for you, it's the reason i wrote this app (together with the fact that i don't like scripts running in the background)
Sent from my GT-I9000 using xda app-developers app
yavu said:
If you must really update the whitelist after every reboot (empty battery, wipe cache/dalvik, use recovery etc.) than it's not funny. It means everytime you must think about this.
Click to expand...
Click to collapse
The whitelist content (i.e, the processes that were selected) is persistent after reboot.
There is no need to select it every time again (at least according to my experience).
superkoal said:
This is what the app does for you, it's the reason i wrote this app (together with the fact that i don't like scripts running in the background)
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
Ok then its great :good:
Edit:
It mean that we don't need superlauncher script anymore?
yavu said:
It mean that we don't need superlauncher script anymore?
Click to expand...
Click to collapse
As far as I remember the superlauncher script does a few more things, but if you just want to make your launcher persistent you don't need it any more.
it would be great if stratosk could add these app into semaphore manager with your permission
pxrave said:
it would be great if stratosk could add these app into semaphore manager with your permission
Click to expand...
Click to collapse
Stratosk has my permission to use this however he wants and he knows that.
I am just not sure if he wants to add this, i haven't seen an "official" statement regarding this
Been looking ages for a way to multitask with my poweramp running and for the keyboard not to crash... you just made my life a whole lot easier and maybe gave my phone a longer life... thank you sir, thank you very much!
Edit: lol, not so sure how to whitelist the keyboard... which processes should i whitelist?
Hello,
I have been using Lineageos for a while now and since some time one of the features I truly enjoyed was removed from the ROM.
The feature in question is "Privacy Guard" which is a per app permissions restrictions (as in location, NFC possibility, video, audio, etc.)
I think it is really helpful and comes supplementary to Lineageos' app restrictions found in Settings -> Apps & Notifications -> App Permissions.
There are threads on the internet asking for the same question but they're old and I'm afraid Privacy Guard might have been phased out of the ROMS adviced.
Is there any OnePlus 5T capable ROM with the same thing as if not Privacy Guard ?
Thanks