[APP][CM9/CM10] Profile Switcher - Galaxy S I9000 Themes and Apps

Hi,
This app allows you to setup schedules to switch profiles. This will only work on a ROM that has a profile manager (e.g. CM9 & CM10). Features also include resetting the profile when headphones are pluged/unplugged and the ability to set a once-off 'timed profile' (similar to the old Nokias).
Update 2012/11/22: Version 0.2 uploaded.
How to use:
Create schedules for when you want your phone to automatically change profiles. To create a schedule, chose "New schedule" in the menu. Choose the profile you want to switch, the time of day (24 hour clock) and which days of the week.
For example: Imagine you have profiles Work, Home and Night. You could have the following schedules.
Work @ 08:00 on Monday, Tuesday, Wednesday, Thursday & Friday
Home @ 10:30 on Saturday & Sunday
Home @ 17:30 on Monday, Tuesday, Wednesday, Thursday & Friday
Night @ 23:30 on Monday, Tuesday, Wednesday, Thursday, Friday, Saturday & Sunday
Version history:
Version 0.2
2012/11/22
Minor changes to Timed Profile dialog
Added icon
Version 0.1
2012/07/19 - Initial version
Thanks,
Seamus.

Nice. Thanks for this nice piece of software .
Sent from my GT-I9000

Thanks for your hard work, looks great...

Thank you.

hi
Thank you for ur app and another way you can also switch profile with default alarm clock app in CM10. When u set a alarm, it has option to attach a profile with it.

cuadedanh said:
Thank you for ur app and another way you can also switch profile with default alarm clock app in CM10. When u set a alarm, it has option to attach a profile with it.
Click to expand...
Click to collapse
Cheers. I didn't see that before. That is a handy way to reset your profile every morning.

Hello,
such scheduler as your I use in Profile Settings application. But I'll check how it works .

seamusph said:
Cheers. I didn't see that before. That is a handy way to reset your profile every morning.
Click to expand...
Click to collapse
i wonder why i couldnt saw PS process ( do it base on system event ex alarm clock?) and its battery usage? awesome app :good:. pls stick an app's icon and push it on Google Play for another gay

I'd love it if this was a widget and it showed you which was the current profile and allowed you to select a profile. I'd pay money for it for sure.

juloski said:
Hello,
such scheduler as your I use in Profile Settings application. But I'll check how it works .
Click to expand...
Click to collapse
Which app exactly is Profile Settings? Can you give a link to it?

thanks, i was looking for something like that... :good:

thenewnoise said:
I'd love it if this was a widget and it showed you which was the current profile and allowed you to select a profile. I'd pay money for it for sure.
Click to expand...
Click to collapse
the easiest way to see what the current profile is, is to 'long press' the power button. You will see what the current profile is and you can easily change it from there. If you don't see the Profile option when you long press the power button, you can turn on the option in Settings -> System -> Power Menu

StuttgartKiwi said:
Which app exactly is Profile Settings? Can you give a link to it?
Click to expand...
Click to collapse
I think he may be refering to the 'System Settings' -> Profiles

Thanks for this. I'm not understanding everything yet. Just missing an icon..! Also i'd like a feature to launch selected app when night profile turns on (screen filter to be exact)
---------- Post added at 12:38 AM ---------- Previous post was at 12:24 AM ----------
When I click on timed profile,I can only make it last four a maximum of 3 hours..? And when choosing NEW SCHEDULE we can't select time it starts from..?
Sent from my GT-I9100 using xda app-developers app

Can't live w/o this app. Thanks!

Hope you'll add import/export feature in next version!

kojinmalia said:
When I click on timed profile,I can only make it last four a maximum of 3 hours..? And when choosing NEW SCHEDULE we can't select time it starts from..?
Click to expand...
Click to collapse
You can set a timed profile upto 23 hours 59 minutes. Set the number of hours/minutes and then click on the big "Use Custom Time" button. (I couldn't think of a better name for this button when I created the popup)
You can set the start time for a new schedule. When you create a new schedule, just click on the proposed time to set what time to start from.
cheers,
s.

kojinmalia said:
Hope you'll add import/export feature in next version!
Click to expand...
Click to collapse
I use Titanium Backup to restore my settings after upgrades. If you want to manually backup your settings, then these are the two files that you will need to backup... but I think that this is way too much effort when you can use TB.
Code:
/data/data/com.bonelazy.profileswitcher/databases/schedule.db
/data/data/com.bonelazy.profileswitcher/shared_prefs/profile_switcher.xml

Thanks. Great apps. Will try and give feedback.

seamusph said:
I use Titanium Backup to restore my settings after upgrades. If you want to manually backup your settings, then these are the two files that you will need to backup... but I think that this is way too much effort when you can use TB.
Code:
/data/data/com.bonelazy.profileswitcher/databases/schedule.db
/data/data/com.bonelazy.profileswitcher/shared_prefs/profile_switcher.xml
Click to expand...
Click to collapse
I was talking about backing up the system profiles...

Related

[REF] NFC THREAD l Questions l Tips l Apps l Everything NFC!!

OK so I've seen a few threads about NFC so thought it might be an idea to correlate all the info into one thread. Lets make this a thread for questions about using NFC or buying tags etc. as well as giving tips we've found or how we've overcome problems. Then I can update this op with the tips or deals we've found!!
NFC Info
* NFC Wiki- (link)
* Kimtag- good faq for NFC
* nfctags.com- general NFC info
* Tasker support thread (if using NFC task launcher)- XDA thread
Click to expand...
Click to collapse
NFC Tips
* Make sure NFC is enabled in settings. Go to settings, click on 'more...' under mobile data, tick 'NFC'.
* Need gps control (on/off/toggle)? Use tasker and secure settings! More info HERE
Click to expand...
Click to collapse
NFC apps
* NFC task launcher- Market Link
* Tasker (for use with NFC task launcher)- Market link
* Secure Settings (adds options to tasker, i.e. gps control)- Market link
Click to expand...
Click to collapse
NFC Supplies:
* Mifare Classic 1K Tags (25mm diameter)- £5.50 (eBay link)
* RapidNFC- General NFC supplies (link)
Click to expand...
Click to collapse
Ill start! If I have a a2dp Bluetooth headunit in my car does anyone know if I can programme a tag (using nfc task manager/tasker) to start streaming music when I swipe the tag??
Thanks!!
Sent from my HTC One X using Tapatalk 2
Hi, just bought my htc1x last week. Anyone tried NFC? I tried transfer with my Nokia c7 but nothing happened.
Sent from my HTC One X using XDA
nvbnvb said:
Hi, just bought my htc1x last week. Anyone tried NFC? I tried transfer with my Nokia c7 but nothing happened.
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
Me and my friend use Android beam all the time so it def works, make sure it's enable in settings, pretty obvious but by default mine was disabled
Sent from my HTC One X using xda premium
nvbnvb said:
Hi, just bought my htc1x last week. Anyone tried NFC? I tried transfer with my Nokia c7 but nothing happened.
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
I know some tags will work with symbian but not with android. So there might be a compatibility issue as well. Something to do with the hardware maybe?
Using the Sony Xperia Smart Tags and app from the Play Store. Works fine for me. Only thing I could do with is GPS on/off in the options. Going to have a play with it and Tasker to see how they can combine.
Anyone from aus or outside us been able to install google wallet and use it?
Sent from my HTC One X using xda premium
MattWPBS said:
Using the Sony Xperia Smart Tags and app from the Play Store. Works fine for me. Only thing I could do with is GPS on/off in the options. Going to have a play with it and Tasker to see how they can combine.
Click to expand...
Click to collapse
To get GPS toggle working you need Tasker AND secure settings. Once you have installed secure settings go to system settings, security and enable it as a device administrator. Then open the app and go to the helper tab and install the helper. Now go into tasker and go to settings, misc tab and tick allow external access. Create a new task (i called mine GPS Toggle) click the plus to add a new task and click on plug ins. Select secure settings then hit configure. In the drop down list you will see gps. choose on, off or toggle and hit the little disc icon in the corner to save. Now you can select this task from nfc task launcher to program gps state to tags!
awesome!. anyone know abobut google wallet and rooted phones
Thanks mate, will try out something with it
Sent from my HTC One X using XDA
olig1905 said:
awesome!. anyone know abobut google wallet and rooted phones
Click to expand...
Click to collapse
This thread seems to explain it pretty well: http://forum.xda-developers.com/showthread.php?t=1365360
dont have a clue which uk retailers accept it though, anyone know?
P.S. A fellow Bristolian!!!
EDIT: Ive just tried following the instructions but get the error message. Having done some more research i think google have fixed this workaround so it doesnt work. Looks like we might have to wait for an official google release before we get to play with wallet
dansharpy said:
This thread seems to explain it pretty well: http://forum.xda-developers.com/showthread.php?t=1365360
dont have a clue which uk retailers accept it though, anyone know?
P.S. A fellow Bristolian!!!
EDIT: Ive just tried following the instructions but get the error message. Having done some more research i think google have fixed this workaround so it doesnt work. Looks like we might have to wait for an official google release before we get to play with wallet
Click to expand...
Click to collapse
That's for the Galaxy Nexus.
The Google Wallet application will not work on a One X. Unless you can fool Google Wallet into thinking you're using one of the Wallet-approved phones (Nexii and those LG phones), you won't be getting anywhere.
I want to buy 10 of those, but i'm not sure which ones are better for my One X.
I think i'll try to write my own NFC Application in the near future. So which ones shall i buy?
These:
http://rapidnfc.com/item/59/white_nfc_tags_ntag203_round_38mm
Or these:
http://rapidnfc.com/item/48/white_nfc_tags_ultralight_c_round_38mm
Is there a limit how many times i can rewrite those tags? Or can i only write the information once on those nfc tags?
mikep1993 said:
I want to buy 10 of those, but i'm not sure which ones are better for my One X.
I think i'll try to write my own NFC Application in the near future. So which ones shall i buy?
These:
http://rapidnfc.com/item/59/white_nfc_tags_ntag203_round_38mm
Or these:
http://rapidnfc.com/item/48/white_nfc_tags_ultralight_c_round_38mm
Is there a limit how many times i can rewrite those tags? Or can i only write the information once on those nfc tags?
Click to expand...
Click to collapse
As far as i know you can rewrite tags as many times as possible (although i think you can make them read only) Those tags look ok, id check the capacity though as i couldnt see it anywhere. If you want to use them for things other than just tel numbers or links then id go for some 1K tags.
im confused as to why you would use a tag to say turn on/off the gps for example when its just as easy to go to the settings and do it? In most cases its probably quicker and easier than having to carry around tags with you.
for example on my phone now all i have to do is hit a single widget on the home screen (power control app). Whereas if i had a tag i would need to get that out of my pocket as well as my phone and swipe it.
lostunsunghero said:
im confused as to why you would use a tag to say turn on/off the gps for example when its just as easy to go to the settings and do it? In most cases its probably quicker and easier than having to carry around tags with you.
for example on my phone now all i have to do is hit a single widget on the home screen (power control app). Whereas if i had a tag i would need to get that out of my pocket as well as my phone and swipe it.
Click to expand...
Click to collapse
NFC tags are useful if you regularly need to do a set of tasks in a particular situation. You also tend to leave the tags where that situation occurs rather than keeping them in your pocket! For instance when I get in my car I only listen to music from my phone so I want it to start playing. I also want the music app to load, media volume set to maximum and to turn wifi off. By using a tag (which is stuck to the dash) I can make the phone perform all these tasks at once. I can also use another tag to set the phone up in a different way for when I leave the car. Hope that explains it OK
Sent from my HTC One X using Tapatalk 2
dansharpy said:
To get GPS toggle working you need Tasker AND secure settings. Once you have installed secure settings go to system settings, security and enable it as a device administrator. Then open the app and go to the helper tab and install the helper. Now go into tasker and go to settings, misc tab and tick allow external access. Create a new task (i called mine GPS Toggle) click the plus to add a new task and click on plug ins. Select secure settings then hit configure. In the drop down list you will see gps. choose on, off or toggle and hit the little disc icon in the corner to save. Now you can select this task from nfc task launcher to program gps state to tags!
Click to expand...
Click to collapse
Thanks Dan!
---------- Post added at 11:27 AM ---------- Previous post was at 11:23 AM ----------
lostunsunghero said:
im confused as to why you would use a tag to say turn on/off the gps for example when its just as easy to go to the settings and do it? In most cases its probably quicker and easier than having to carry around tags with you.
for example on my phone now all i have to do is hit a single widget on the home screen (power control app). Whereas if i had a tag i would need to get that out of my pocket as well as my phone and swipe it.
Click to expand...
Click to collapse
As Dan's said, it's not carrying the tag around, it's having the tag where you need to switch a load of stuff.
For example, my home one is wifi on, bluetooth off, volume max. Car's wifi off, bluetooth on, open the car home app. Work's silent, no wifi, no bluetooth. Just tap the tag when you go past it/get in the car. Job's a good 'un.
MattWPBS said:
Thanks Dan!
---------- Post added at 11:27 AM ---------- Previous post was at 11:23 AM ----------
As Dan's said, it's not carrying the tag around, it's having the tag where you need to switch a load of stuff.
For example, my home one is wifi on, bluetooth off, volume max. Car's wifi off, bluetooth on, open the car home app. Work's silent, no wifi, no bluetooth. Just tap the tag when you go past it/get in the car. Job's a good 'un.
Click to expand...
Click to collapse
ah right,
i was under the impression that you could only use the tags to perform 1 task rather than a "subroutine" of functions
Can I exchange apps through android beam or do i need to use another app or something? how about the wifi direct thing with samsung beam , works android beam on same way?
lostunsunghero said:
ah right,
i was under the impression that you could only use the tags to perform 1 task rather than a "subroutine" of functions
Click to expand...
Click to collapse
Created for exactly this purpose: https://play.google.com/store/apps/details?id=com.jwsoft.nfcactionlauncher

Google Now - No Appointment/Calendar Event Cards?

My Google Now is not showing any of my calendar events. My "Next Appointment" Card is on.
xGary said:
My Google Now is not showing any of my calendar events. My "Next Appointment" Card is on.
Click to expand...
Click to collapse
Has a solution been found? I have the same issue. I thought it might have been a ROM issue, but after trying a few ROMs I still have the same issue. Is there some setting I need to activate within Calendar?
Have you both checked your calendar app that you've got an appointment within the next 7 days?
E!agle said:
Have you both checked your calendar app that you've got an appointment within the next 7 days?
Click to expand...
Click to collapse
Yep, that's one of the reasons why I was thinking I've not checked a box somewhere in settings somewhere, but I have been playing around with this for so long that I have no idea what the problem could be
Swiped on my Gnex
I have the same issue, is there anybody has a solution?
Sent from my Galaxy Nexus using xda app-developers app
Are you using google now on jb or is it rigged on ics?
Sent from my SPH-D700 using Tapatalk 2
brandon489 said:
Are you using google now on jb or is it rigged on ics?
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
JB on a galaxy nexus. There should be no reason why it wouldn't work...
Swiped on my Gnex
It works for me, do you have a location in your event? I'm not sure when they pop , but I just made a dummy one for 6 pm and it showed up about 530. I can check my settings if you like.
mrsbelpit said:
It works for me, do you have a location in your event? I'm not sure when they pop , but I just made a dummy one for 6 pm and it showed up about 530. I can check my settings if you like.
Click to expand...
Click to collapse
Sharing ur setting will be appreciated
I didn't realise I needed to set locations, but some do have them. I'll go through them and add addresses to the all and see how it goes then.
Swiped on my Gnex
I'm not sure it makes a difference, but my appts are set up with notifications in the calendar app. I can't help but think a location is required, because the notification is based on whether you need to leave for traffic issues in Google Now. However, the dummy appt I set was located at home, and it popped up.
The GN settings I have are - Card appears for any meeting, and if travel time needed, standard. Hope this helps.
Thanks for your help!
I might try a dummy appt too.
For my settings, I seem to have different options... I have - For any meeting, Only if far away, and In evening for next day. At the moment I only have the first one ticked which I thought would bring up appts regardless of time and travel...
Swiped on my Gnex
Which GApps are you using? I dont use calendar but I have noticed that weather wont show when using certain GApps packages.
mbh87 said:
Which GApps are you using? I dont use calendar but I have noticed that weather wont show when using certain GApps packages.
Click to expand...
Click to collapse
Not sure, but they came packaged with Liquid ROM. Can't see it being the issue coz it hasn't mattered which ROM/ gapps I've flashed.
Swiped on my Gnex
I had this issue ... My phone has two calendar apps, fir Google now and voice check of next appointment to work Google calendar has to be the default calendar app

[APP] SwitchMe - share your device [ROOT PROFILE MANAGER]

Hi guys, could someone please have a look at our SwitchMe app and see if it works on the Nexus 7 - we dont have one of these at the office and are unlikely to get one any time soon
Basically, SM allows many people to use one device. But it has a lot of other uses. PR is after the break!
Thanks in advance!
**************************************************************************************
SwitchMe - share your device!
SwitchMe is a unique application for root users that allows you to log in and out of multiple user spaces just as you would on a desktop computer, with each profile having its own separate system settings, apps and data.
Some of the benefits of this technology:
Privacy
Securely share one device among many users, protect your accounts with passwords and log out automatically.
Kids
Create a profile for the kids, with only the apps and access you feel comfortable with.
Gaming
Overclock your profile for maximum performance in intensive games
Speed
Imagine a buttery smooth profile, with no kids games, messengers or bloatware to slow things down.
Testing
Create a sandbox profile to easily test applications and themes - no more nandroid nightmares!
Battery
Switch to a profile which only contains the essentials to save power through brute force.
Critical usage warning:
Incorrect use of this application can potentially harm your device. Before proceeding with use we strongly recommend that you perform a full nandroid backup through the device recovery.
READ THE HELP FILE CAREFULLY TO AVOID ISSUES
Without the Key, this application allows a maximum of 2 profiles and no security features.
Only the standard Android implementation of Apps2SD is currently supported. Use all others at your own risk.
Most devices should be compatible as long as they have enough free internal memory to create secondary profiles. The application will warn users if available memory is low.
Stay tuned for new features, and please rate the application by pressing the star button on the main screen - good ratings help us improve and expand functionality!
Market link:
https://market.android.com/details?id=fahrbot.apps.switchme
The free version only allows the creation of two profiles and has no security features.
Screens:
I just installed it and went through creating different accounts, setting admin, switching users. I don't have time to test out everything, but it seems to work fine for me.
Working fine for me, been using it for a few weeks now.
I only use the basic settings. If you need anything testing, give me a shout.
Sent from my Nexus 7 using xda app-developers app
Yeah I installed this last week, seems to work fine...
Sent from my Nexus 7 using Tapatalk 2
Thanks guys! Let me know if you have issues or suggestions!
Sent from my GT-P6800 using XDA Premium HD app
Been looking at this app for quite some time but never actually tested it out... now I have a nexus 7 it might be a time to change that.
Firstly what I would want is to set a second profile for my girlfriend, hiding all root apps and giving her a kindle profile etc, the basic stuff. I take it that is what this app is designed to do?
secondly, how does uninstalling this app work?
ftgg99 said:
Let me know if you have issues or suggestions!
Click to expand...
Click to collapse
It all seems to work perfectly for me. Great app. SwitchMe allows me to lend my N7 to family members whilst keeping my profile intact and hidden.
My only suggestion at the moment is to allow a different wallpaper choice for the switch screen. I could then set a background with graphic instructions/welcome messages on it.
Lennyuk said:
Been looking at this app for quite some time but never actually tested it out... now I have a nexus 7 it might be a time to change that.
Firstly what I would want is to set a second profile for my girlfriend, hiding all root apps and giving her a kindle profile etc, the basic stuff. I take it that is what this app is designed to do?
secondly, how does uninstalling this app work?
Click to expand...
Click to collapse
1 - yes
2 - uninstalling the app will not remove the profiles. You must manually remove them, either through the app or by deleting its data. The app will warn you that you will lose access to all inactive profiles when deleting them (restricting you to the profile youre in at the moment).
Timbermill said:
It all seems to work perfectly for me. Great app. SwitchMe allows me to lend my N7 to family members whilst keeping my profile intact and hidden.
My only suggestion at the moment is to allow a different wallpaper choice for the switch screen. I could then set a background with graphic instructions/welcome messages on it.
Click to expand...
Click to collapse
Its on our to do list already
Hello, I'm very interested in this app.
I want to be able to have my own profile and one for my children to play educational games.
I would like to be able to hide applications on that particular profile even if the data is not shared across profiles on the same app.
I would also be concern about the storage. Would they be able to view the files on my sdcard from other profiles? Is there a way to prevent that or allocated some storage space for different accounts?
Also another concern that I have is with Rom updates or even switching roms. In the case I want to just update the rom and at worst I have to do a cache/dalvik cache wipe, would that affect the profiles in any way?
Edit: I just tested and I can view everything on the storage area of the device and further. Also the gallery shows all the photos that stored on the device.
As I said above, the maintenance is up to you. Regarding different roms - you can only use one base from - if you want to use a new one, you will need to remove the app and delete your profiles.
Anything to report?
Hi guys. Heres an update with some critical fixes:
1.5.3.13
Added compatibility for Galaxy Note
Fixed switch screen issue on OTA updates and wipes
Reworked wipe profile behavior
I created a new profile and named it "default". Then I chose to switch to it and my player rebooted. After rebooting though it comes up with a login screen but whenever I put in my name "default" and try to log in it does nothing. I'm completely locked out. Also I did not set any password. Is there something I'm doing wrong?
[email protected]@rd said:
I created a new profile and named it "default". Then I chose to switch to it and my player rebooted. After rebooting though it comes up with a login screen but whenever I put in my name "default" and try to log in it does nothing. I'm completely locked out. Also I did not set any password. Is there something I'm doing wrong?
Click to expand...
Click to collapse
Its case sensitive
[email protected]@rd said:
I created a new profile and named it "default". Then I chose to switch to it and my player rebooted. After rebooting though it comes up with a login screen but whenever I put in my name "default" and try to log in it does nothing. I'm completely locked out. Also I did not set any password. Is there something I'm doing wrong?
Click to expand...
Click to collapse
Its case sensitive
I suggest you use a the other switch screen theme if you want to switch and unlock faster.
I can't get into the device to change the settings because of the login screen.
I think I just answered you. The login is case sensitive. Or do you have some other problem?
I have already tested on the n7, it works fine...
Hello,
First off, I want to say thank you for creating this app. It has been working great for my family to share our N7.
I'm familiar with linux, but I am not familiar with Android. So I have a couple questions.
1. I installed an app(game) in the wrong user's profile. My son made alot of progress in it and I don't want to lose it. Is there a way to copy an app and all of its data from one profile to another?
2. If I download a new app in one profile is there a way to copy it to multiple profiles without having to redownload it again. Could this be done through ADB?
3. If I wanted to wipe the tablet and start over will doing a backup with TiBu copy all the data for every user or do I need to do a separate backup for each user?
Thanks for your help,
Chris
Been using it ever since I got my Nexus 7, works great for my wife and I.
I haven't tried the experimental fast-switch though, maybe I should.
My only recommendation is to set the priority on the notification to one of the new JellyBean ones, the lowest. That way it will stay in the notification tray, but won't show the icon on the top bar. That's something Lux and Battery Widget Reborn do really well. It still keeps the apps running, just doesn't crowd the bar with icons.
ChrisAttebery said:
Hello,
First off, I want to say thank you for creating this app. It has been working great for my family to share our N7.
I'm familiar with linux, but I am not familiar with Android. So I have a couple questions.
1. I installed an app(game) in the wrong user's profile. My son made alot of progress in it and I don't want to lose it. Is there a way to copy an app and all of its data from one profile to another?
2. If I download a new app in one profile is there a way to copy it to multiple profiles without having to redownload it again. Could this be done through ADB?
3. If I wanted to wipe the tablet and start over will doing a backup with TiBu copy all the data for every user or do I need to do a separate backup for each user?
Thanks for your help,
Chris
Click to expand...
Click to collapse
1 - titanium backup
2 - yes sure why not go for it
3 - no, unless you wipe the profiles through the app or manually delete them they will remain intact on the sd card
Clarkster said:
Been using it ever since I got my Nexus 7, works great for my wife and I.
I haven't tried the experimental fast-switch though, maybe I should.
My only recommendation is to set the priority on the notification to one of the new JellyBean ones, the lowest. That way it will stay in the notification tray, but won't show the icon on the top bar. That's something Lux and Battery Widget Reborn do really well. It still keeps the apps running, just doesn't crowd the bar with icons.
Click to expand...
Click to collapse
Fast switch will only affect things like multiple languages, multiple lcd densities and and other framework related stuff. Just try it, it wont make your device explode.
Regarding the notification. It is not there to keep the app in memory, its there for logging out. App doesnt need to be in memory, it will work just fine with no notification at all.

[APP] LMK Whitelist v2.0 for Semaphore, Mackay, Cyancore & Fishears

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?

Question Just got the S21 FE 5G, are there any apps I should uninstall/disable or any settings I should change?

Just got the S21 FE 5G and did a factory reset.
Are there any apps I should uninstall/disable or any settings I should change for best performance? This is my first Samsung phone.
Also, I'm going from a non-Samsung phone to this. Should I use Smart Switch or Google Backup?
Hi there.
The most valuable advice I can give you is to go to Settings>Battery and device care>Click on Battery>Scroll down to "Background usage limits">Deep sleeping apps. Add any app that you do not want to run in the background. Those apps that you add will only work when you open them. Keep in mind that they will not receive updates or notifications.
Also, if you want the phone to feel snappier, go to Settings>About phone>Software Information>Tap 7 times on Build Number to enable developer settings. After that go to Settings> Developer options and turn off "Window animation scale", "Transition animation scale" and "Animator duration scale".
As for backup, I have no idea what to recommend. I usually just copy everything to a SSD and paste it to the new phone ). Contacts and conversations usually take care of themselves as they are synced with my google account.
Randi03 said:
Hi there.
The most valuable advice I can give you is to go to Settings>Battery and device care>Click on Battery>Scroll down to "Background usage limits">Deep sleeping apps. Add any app that you do not want to run in the background. Those apps that you add will only work when you open them. Keep in mind that they will not receive updates or notifications.
Also, if you want the phone to feel snappier, go to Settings>About phone>Software Information>Tap 7 times on Build Number to enable developer settings. After that go to Settings> Developer options and turn off "Window animation scale", "Transition animation scale" and "Animator duration scale".
As for backup, I have no idea what to recommend. I usually just copy everything to a SSD and paste it to the new phone ). Contacts and conversations usually take care of themselves as they are synced with my google account.
Click to expand...
Click to collapse
Thanks, I did all of the above
I've had good results using the following guide. I have not encountered a single issue at all since doing an 'extreme debloat' a few months ago.
lost101 said:
I've had good results using the following guide. I have not encountered a single issue at all since doing an 'extreme debloat' a few months ago.
Click to expand...
Click to collapse
Wow, that seems complicated. Did you do everything in that post?
grayson73 said:
Wow, that seems complicated. Did you do everything in that post?
Click to expand...
Click to collapse
I did not do any of the 'ADB Optimisations.' I mainly focused on the 'Removing Bloatware' section. It's possible to restore any component - if the need arises. It's also mentioned that you should 'restore all apps before updating,' but I have not done so and encountered no problems.
I also agree with turning off the adaptive battery from that guide. You can also turn on the enhanced processing while at it. I am not sure if the battery charge will suffer, but I definetly feel the phone is more responsive. Especially when scrolling pages.
lost101 said:
I did not do any of the 'ADB Optimisations.' I mainly focused on the 'Removing Bloatware' section. It's possible to restore any component - if the need arises. It's also mentioned that you should 'restore all apps before updating,' but I have not done so and encountered no problems.
Click to expand...
Click to collapse
Would putting the bloatware in "deep sleep" accomplish the same thing as disabling?
grayson73 said:
Would putting the bloatware in "deep sleep" accomplish the same thing as disabling?
Click to expand...
Click to collapse
Yes, but you can't put all the apps in deep sleep, you can disable some of them only through adb.
lost101 said:
I did not do any of the 'ADB Optimisations.' I mainly focused on the 'Removing Bloatware' section. It's possible to restore any component - if the need arises. It's also mentioned that you should 'restore all apps before updating,' but I have not done so and encountered no problems.
Click to expand...
Click to collapse
@lost101, thanks for your help!
I've done the following:
In "Systems" tab in AppControl
- Load "Disabled" preset and apply disable while checking "delete data & cache".
- Load "Deleted" preset and apply uninstall while checking "delete data & cache".
In "Uninstall" tab in AppControl
- Load "Disabled" preset and apply Disable while checking "delete data & cache".
- Load "Kept" preset and click Restore.
In "Disabled" tab in AppControl
- Load "Kept" preset and click Restore.
- Load "Deleted" preset and apply uninstall while checking "delete data & cache".
- Restart your phone to recovery, wipe cache partition, then Repair Apps.
grayson73 said:
@lost101, thanks for your help!
I've done the following:
In "Systems" tab in AppControl
- Load "Disabled" preset and apply disable while checking "delete data & cache".
- Load "Deleted" preset and apply uninstall while checking "delete data & cache".
Click to expand...
Click to collapse
In my case - as I previously suggested - 'Dolby Atmos' was missing after doing the above; however I was easily able to restore that functionality with AppControl.
lost101 said:
In my case - as I previously suggested - 'Dolby Atmos' was missing after doing the above; however I was easily able to restore that functionality with AppControl.
Click to expand...
Click to collapse
Did you previously suggest that? I don't see it. Which app restores that? I don't see Dolby Atmos listed.
grayson73 said:
Did you previously suggest that? I don't see it. Which app restores that? I don't see Dolby Atmos listed.
Click to expand...
Click to collapse
Well, I mentioned you can restore anything that you notice is missing and need. You can restore any apk in AppControl. I believe the SoundAlive service restores Dolby Atmos support. Search for it among the deleted items in AppControl, right-click and restore.
I've attached the apk if you are missing the file.
lost101 said:
Well, I mentioned you can restore anything that you notice is missing and need. You can restore any apk in AppControl. I believe the SoundAlive service restores Dolby Atmos support. Search for it among the deleted items in AppControl, right-click and restore.
I've attached the apk if you are missing the file.
Click to expand...
Click to collapse
Thanks! I found it in ADB AppControl and re-installed it
Flip selfie photos horizontal! God damn how irritating this was. Noticed it today! Text on my clothes was backwards, have lots of photos now which are wrong
Flipping Photos in the Gallery app on my Samsung Phone
FAQ for Samsung Mobile Devices. Find more about 'Flipping Photos in the Gallery app on my Samsung Phone' with Samsung Australia Support.
www.samsung.com
Ugglaimossen said:
Flip selfie photos horizontal! God damn how irritating this was. Noticed it today! Text on my clothes was backwards, have lots of photos now which are wrong
Flipping Photos in the Gallery app on my Samsung Phone
FAQ for Samsung Mobile Devices. Find more about 'Flipping Photos in the Gallery app on my Samsung Phone' with Samsung Australia Support.
www.samsung.com
Click to expand...
Click to collapse
Mine defaulted as "Save selfies as previewed" set to off.
grayson73 said:
Mine defaulted as "Save selfies as previewed" set to off.
Click to expand...
Click to collapse
Mine, set to on by default

Categories

Resources