yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Themes and Apps] superkoal:
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
[Galaxy S I9000 Themes and Apps] grinder777:
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
[Galaxy S I9000 Themes and Apps] daemon21:
Great work! It seems to work fine. Thanks!
[Galaxy S I9000 Themes and Apps] ts1506:
There a 3 kernels which can use this app currently, semaphore, cyancore and mackay.

Also about the source, why not upload it to github.
[Galaxy S I9000 Themes and Apps] Rebel2k:
Nice job! I think a few screenshots would be nice in the OP! ;)
[Galaxy S I9000 Themes and Apps] ziporpor:
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!
[Galaxy S I9000 Themes and Apps] grinder777:
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
[Galaxy S I9000 Themes and Apps] fmc000:
:good:

I totally agree.
[Galaxy S I9000 Themes and Apps] elhennig:
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?
[Galaxy S I9000 Themes and Apps] superkoal:
Thanks! I will add them in my next few spare hours ;)

This is just the way android works - the apps in your launcher are sometimes combined in one package.

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.

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...
[Galaxy S I9000 Themes and Apps] ziporpor:
It's not a bug, it's a feature :laugh:

Thanks!
[Galaxy S I9000 Themes and Apps] elhennig:
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
[Galaxy S I9000 Themes and Apps] yavu:
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.
[Galaxy S I9000 Themes and Apps] superkoal:
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)
[Galaxy S I9000 Themes and Apps] ziporpor:
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).
[Galaxy S I9000 Themes and Apps] yavu:
Ok then its great :good:

Edit:

It mean that we don't need superlauncher script anymore?
[Galaxy S I9000 Themes and Apps] superkoal:
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.
[Galaxy S I9000 Themes and Apps] pxrave:
it would be great if stratosk could add these app into semaphore manager with your permission ;)
[Galaxy S I9000 Themes and Apps] superkoal:
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 :D
[Galaxy S I9000 Themes and Apps] Blackherted:
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?
[Motorola Droid RAZR] corvx:
As per this thread: http://xdaforums.com/showthread.php?t=2030717

I should be able to use the XT912 on an international GSM carrrier just fine. My question is:

Will I still be able to use it, if it has a bad ESN on the original carrier (verizon)?
[Motorola Droid RAZR] nitin_ko:
i am using it in India, so it should not be an issue.
[AT&T HTC One (M7)] lunercrab:
Ok so I had only ever owned Samsung phones...I had the HTC one x and I hated how aggressive the multitasking was....so got the one today and I'm still noticing the issue even with the extra gig of ram....like xda for instance if I leave it open and go back it'll refresh...same with the web...I don't know if it's my imagination but personally I don't see a difference..and I have maybe like 4 programs open....btw is there a taskmanager I can use to clear ram?
[AT&T HTC One (M7)] soapbubble:
Ugh. Not going to lie, this post worries me. I made my purchase based on the fact that with such a big deal it was on the HOX I figured reviews would mention it this time if it was a problem and no one had. It's what made me jump to the S3 at the time.
[AT&T HTC One (M7)] lunercrab:
To be honest it has gotten better...it's an improvement over what the one x had but imo not as good as my gs3....I guess I was spoiled by the other phone :)...but will say this phones build quality, screen and speakers are amazing...
[AT&T HTC One (M7)] LuRock:
So it seems that it only does this on internet connection apps right?

I know what your taking bout, this was the reason I took back the one x after a week and ended up with the S3. I did noticed it a bit when I played with the ONE at the store but not enough to not buy the phone.

I'm not an addict I just flash a lot.

---------- Post added at 11:56 PM ---------- Previous post was at 11:54 PM ----------

Does anyone know if flashing a custom ROM on the one x took care of this issue?

I'm not an addict I just flash a lot.
[AT&T HTC One (M7)] lunercrab:
I just flashed trickdroid....gunna try that out...I know on the one x vipers Rom helped...so maybe when more development comes along there will be better management...it's definitely better then the one x was tho the more I use it

Ok didn't help...have 8 windows open and came back to this thread which was in a saved state and it refreshed on me :(
[AT&T HTC One (M7)] soapbubble:
Well mine arrives tomorrow. We'll see if it chases me away again. Hopefully it doesn't. I'm super excited for the phone but no matter how amazing the hardware if the software can't multitask properly I have to return it. I primarily read online and if my web pages keep reloading I'll just get annoyed.
[AT&T HTC One (M7)] Cryosx:
If all else fails, you could setup the XPosed framework (requires Root) on your phone and use the App Settings module to force the browser to never close in the background (tick the Resident option I believe). http://xdaforums.com/showthread.php?t=2072081
[AT&T HTC One (M7)] soapbubble:
Thank you. I'll keep that in mind. I may not touch root or anything until my 15-30 days are up to return it though. I just remember how bad things were on the HOX. No matter the rom or tweak they could never get it fixed. It just drove me off the device eventually. Having a little pre-device buyers remorse at the moment but we'll see this afternoon! Thank you for the future reference though.
[AT&T HTC One (M7)] lunercrab:
I myself am torn. This phone is so nice but oddly I'm not over excited about it for some reason....maybe I've stuck with Samsung's too long :p...no but seriously the screen and speakers are phenomenal and sense 5 is very nice, tho I could do without the feed...does the buyers remorse start in the day of receiving the device correct?
[AT&T HTC One (M7)] SysAdmNj:
So there is still no solution or workaround to gain true multitasking yet ? Surprised I havent heard anything about this in video reviews so far.
[AT&T HTC One (M7)] lunercrab:
Well from what Ive read on the international forums people say the multitasking is good one this phone...like I've said I've only ever owned samsungs and this is my second attempt at an HTC phone...so my opinions may be biased so to speak...but from my experience multitasking on my gs3 worked much better then the htcs I've tried...again use it own opinions on it...I'm not knocking HTC at all...I like both companies...
[AT&T HTC One (M7)] LuRock:
So to you lucky bastards that already have the ONE:D what's the verdict on multitasking? Are the web apps still reloading when clicked on? This is the reason I took the ONE X back too :mad:

Flash much?
[AT&T HTC One (M7)] soapbubble:
I think it only refreshes if it falls off the multitasking screen.

Never mind. It's as bad as the hox for browsing.
[AT&T HTC One (M7)] lunercrab:
So u notice it too? Mines seems very selective...some times I can have xda open to a post...do something else...come back and it's fine...others it refreshes and bump me back to the main page...also (not sure if it's a Netflix thing) but if I pause a video and come back it'll return me to the main screen as well...is there a task manager where I can free up some ram?

I really want to love this phone it's so nice :(....I hate to say it through not too crazy bout the camera quality....
[AT&T HTC One (M7)] Bigjim1488:
This scares me about the phone. I was about to pick it up tomorrow but now I am second guessing myself. I really did hate the HOX multitasking. Where I work the Internet is slow, I don't want to have to wait for all the reloads.
[AT&T HTC One (M7)] soapbubble:
Yeah. It's no where near the Galaxy S or Note lines. I don't really know why HTC cripples it to be honest. It's not bad, but it's not good. I mean, a lot of us don't swap out batteries. If HTC is going to cripple multitasking and memory management to improve battery life they should follow their own "studies" that most people don't use extra batteries and just keep it normal.
[AT&T HTC One (M7)] Bigjim1488:
Yeah I'd rather have to charge it then have my phone refreshing all the time.
[AT&T HTC One (M7)] lunercrab:
Well I either gotta deal the phone or sell it didn't realize I coukdnt bring it back to stock to return it once it was unlocked
[AT&T HTC One (M7)] soapbubble:
Yeah I honestly am probably not going to root or unlock this one. I don't mind it stock to be honest. And it seems to cause more trouble than it's worth.
[AT&T HTC One (M7)] LuRock:
oh man! I just came from the store and did not like the multitasking reload one bit. This is definitely a deal breaker for me as I tend to switch back and forth on different web sites and apps. :( why?!?!? this is the kind of stuff i just dont get about HTC!! they make beautiful premium phones and mess it up with this one thing that will push costumers away.
[AT&T HTC One (M7)] minicoop7:
Don't have any issues with it. I can open temple run, pause it, tap home (not back button), open browser, double tap home, tap on temple run and continue my game. Pause it, double tap home, tap on browser and continue browsing.

The key is not to tap the back button as it will close the app I guess. Also, when double tapping home, you can tap and flick up to clear each app.

Hope that helps.
[AT&T HTC One (M7)] gunnyman:
In my nearly one week of use, I'm not seeing overly aggressive memory management. Thank goodness. It was awful on the One X
[AT&T HTC One (M7)] LuRock:
Wow this makes so much sense cause I did notice that at times it did load just fine. Never crossed my mind thanks for pointing that out:rolleyes:

Flash much?
[HTC One S] clewis:
As we are getting a nice amount of ROMS for the One S C2 i have decided to make this post so it's easier for everyone to compare and see all the ROMS, Kernels and Mods available for the One S C2, When new ROMS, Kernels and mods are made i will update this post :). P.S Would be nice to have this as a Sticky.

Firmware

[FIRMWARE] Official 3.19.401.101 Firmare

[OTA][S3] India CID__038 4.1.1 Official Jelly Bean Stock

[RUU][S3]VilleC2.India.4.0.4

[RUU][S3]VILLEC2_U_ICS_40_HTCCN_CHS_1.11.1400.113_

Sense Based Roms

[ROM][PORT]Unofficial ViperS Rom V3.01 One S C2

[ROM][S3][AROMA][4.1.1 Sense 4+][Tweaks][Indian OTA base] luxandroidROM_v4

[ROM][DISCONTINUED][S3][18 FEB] TrickDroid 6.0.0 | Tweaks | 4.1.1 | Sense 4+

[ROM] Official 3.19.401.101 OTA | JB 4.1.1 | Sense 4+

[ROM][S3][18 NOV] mcOneS3 v1.0.0 | mcTweaker | Smooth & Stable | 4.0.4 | Sense 4.1

Sense Kernels

HTC One s C2 Kernel_v1.1. added CPU controller, sweep2wake, GPU overclocked from 300

[KERNEL] [Mar 17] Bulletproof-1.2 | S2W | FIOPS | Intellidemand | battery life

Stock Android Roms

New - [ROM][4.2.2] PAC-Man ROM v. 1.2 ~AOSPA + AOKP + CM10.1

New - [ROM][CM10.1][9 MAY] Codename Lungo

[ROM][4.2.2][WIP] Unofficial Cyanogenmod 10.1

[ROM][Update 3.4.26][OTA upgrade]Unofficial Sense Based MIUI v5

[ROM][AOSP][WIP] JellyBean 4.1.2

[ROM][S3][WIP] Unofficial CM 10 [Updated 15th April 2013]

[ROM]2013-4-17UNOFFICIAL MIUI v5 CM10 base miui

[Rom][JB 4.1.2]ParanoidAndroid Villec2 [15th April 2013]

[ROM][S3][WIP] Unofficial Cyanogenmod 9 for One S C2

Stock Android Kernels

[KERNEL][AOKP][AOSP][CM]ONE S C2 Kernel Linaro 4.43 -O3 built | Linux 3.0.74 by poppy

Mods

[MOD] Sense 5 Icon pack (flashable.zip)
[HTC One S] clewis:
If Needed.

If we get enough Roms to have to use another post.
[HTC One S] kassimmb:
Good Job the c2 is being better
[HTC One S] Seraz007:
u missed this

http://xdaforums.com/showthread.php?t=2000854
[HTC One S] clewis:
Thanks its on the list now.
[HTC One S] Poez:
http://xdaforums.com/showthread.php?p=40499047
[HTC One S] enigma19932:
That's would be better ..if any of the roms can be installed for hboot 2.09
[HTC One S] luisgarcia22:
Or find a way to bypass that so we can install all these roms in 2.09
[HTC One S] ya7hu:
MIUI v5 CM10 Base

http://xdaforums.com/showthread.php?t=2238558

MIUI v5 Sense Base

http://xdaforums.com/showthread.php?t=2249903
[HTC One S] clewis:
Everything has now been added including link to viper rom on my dropbox.
[HTC One S] Seraz007:
EDITED :D
[HTC One S] clewis:
We are not allowed to post it as viper team doesn't want to developer for are phone and they don't want to give us permission to post ports.
[HTC One S] jimmy16:
Removed
[HTC One S] bilal_liberty:
Posting links to other forums is against xda policy so u r doing wrong,, instead just provide the download link as clewis did :)
[HTC One S] MrFuu:
Love it ! Thanks :P
[HTC One S] xxsnzw:
delete...
[HTC One S] bilal_liberty:
delete
[HTC One S] havelfil:
hi, one question. probably a noobish one. but before a transition to some custom rom, i would like to know what is exactly needed to do in case of returning back to the stock rom. i can make nandroid backup, save the latest ota update... but still, is it enough? does the hboot allow to reflash a rom with the same hboot version? currently, i am running on the 4.0.4 stock rom. thank you in advance, fh.
[HTC One S] jimmy16:
You can flash a rom with same hboot version and you can return to stock by relocked bootloader, stock recovery and flashing ruu. If you want to install jb, your hboot version will change and if you want to go back to stock you have to flash jb ruu if do exist for your cid. This is in case to avoid warranty problems. If you not have this issue, for returning to stock just restore your nandroid backup
[HTC One S] bani007:
Can I flash any of these ROMS to my One S?

My hboot version is: HBOOT-3.01.0000

Radio: 16.11.20.24_M

I don't know my CID only.

I'm runing stock ROM updated to JB. I've unlocked bootloader and install TWRP but I doesn't have proper root because device is S-ON I guess(I have super SU but I can't install busybox and can't update SU binary) so I want to install custom ROM to solve this problem. What is the most reliable ROM for One S C2?
[HTC One S] xxsnzw:
Sure,you can flash these roms~~~
[HTC One S] RohitRath:
1. Yes you can flash these ROMS. (NANDROID backup is a must.)

2. To get CID there are many options. Easiest : 'CID Getter' on playstore

3. Super SU : Instead of installing from appstore.. i recommend flashing it using TWRP. Thread : http://xdaforums.com/showthread.php?t=1538053. Look for 'CWM / TWRP / MobileODIN installable ZIP' in the downloads section.

4. S-ON doesn't mean you don't have root... there is no way to S-OFF a ville c2 for now (at least not yet:confused:). If you have S-ON..but correctly rooted...you can still install most of the 'compatible' ROMS out there...and also those amazing apps for rooted phones. Only downside I have seen as a user, is you have to flash 'boot.img' manually using fastboot while installing custom ROMs or kernels. To know if you are rooted correctly, there is 'ROOT Checker' on playstore. check it out.

4. Most reliable ROM in my opinion would we luxandroid4... but thats just me :D
[HTC One S] bani007:
Okay then... I ask that because I heard somewhere that I must downgrade my phone to android 4.0 and then flash custom rom...

Thanks both of you!
[HTC One S] xxsnzw:
I want to say that I've updated ViperS 3.0.2 to the 0512 beta version in my Chinese post...i think you can update your network disk and posts...
[HTC One S] babybeet:
Good Job the c2 is being better:good:
[HTC One S] wognwarren:
Built From Source

Are there any AOSP ROM's for our phone that are built from source and not ported?
[HTC One S] Seraz007:
OFC! CM10.1 is built from source
[HTC One S] wognwarren:
I always thought that our CM is ported :confused:
[HTC One S] Seraz007:
nope it is stated in the OP that its's build from source

If its built from source, it'll be written in the OP :)(likewise for ported ROMS)
[HTC One S] wognwarren:
I wish there will be an AOSP ROM that gets the same scores as Sense ROM's in benchmarks :(
[HTC One S] Seraz007:
unfortunately, no AOSP rom gets the same scores as Sense

Doesnt mean they are not fast....just try Cm10.1 with the updated kernel

No lags:)
[HTC One S] vksjangra:
I thought that the AOSP roms have higher score than the Sense roms
[HTC One S] Seraz007:
AOSP may be faster but Sense ROMS get gr8ter scores

Anyways, let's not continue this Offtopic here;)

Cheers.
[HTC One S] wognwarren:
The only reason I know they don't get as high scores is because I've used them.
[HTC One S] ya7hu:
New ROM

This one's awesome!

[ROM][Beta]AOKP "The Swagging Continues"[4.2.2][05/29][AC!D Is Back!]

http://xdaforums.com/showthread.php?t=2300400
[HTC One S] mgonline:
Hi guys i'm here for ask an opinion... Now i use a cyanogen 10 because is a really stable and smooth rom. But if i want try a good sense rom what rom you suggest me? I want a stable rom that is upgraded regulary. Another question... Can i install the camera apk of the original rom in a custom rom or i need other system file?

Inviato dal mio One S C2 con Tapatalk 2
[HTC One S] wognwarren:
There's only one Sense-based ROM that is being updated regularly left - MIUI. And no, you can't install the camera app of a Sense-based ROM in an AOSP-based ROM.
[HTC One S] iiigeorgievi:
No lags in general or in games? Did you try some games like Beach Buggy? On my HTC ONE S latest offical ROM I get some minor lags with this game and I think that this should not happen with 1.67 Dual core ... If you can try it for me I would appreciate! Thanks!
[HTC One S] wognwarren:
I seldom play games on my phone. I care about benchmark scores for bragging rights. For this you'll have to ask someone else.
[HTC One S] 4li3n:
RUU for CID VODAP120

Hey guys,

because I didn't find a ruu for austrian A1 (CID is VODAP120) and i softbricked my HOS i had to search the net very long and carefully to find one, but finally it worked :)

I am not able to say if it works with other CID's too or not

Please add this RUU to the top post, maybe i can help some people with this one :)

It is working for hboot 2.09.0001 or higher. Firmwareupdates are working fine too.

If the link gets down just send me a pm, i will re-up it then asap ;)

okay, so im new in here, i cant post links...

so i will pm the starter of thread so he can post the link :)

so long,

4li3n