Symbian-Developers

Symbian^3, Anna, Belle Forum => Symbian^3 Modding => Topic started by: fbashishir on August 03, 2014, 11:46:05 pm

Title: [Q] how change apps priority as system ???
Post by: fbashishir on August 03, 2014, 11:46:05 pm
sometimes apps like jbktaskman exits while low ram, on accidently when i press menu button two times rapidly. How to change apps priority to system????
Title: Re: [Q] how change apps priority as system ???
Post by: Allstar12345 on August 04, 2014, 12:02:44 am
Only the developer can do that for a permanent change, even then it's not low RAM, it takes 30+ Open apps to even make the OS ponder whether to start closing stuff.

Why are you pressing the menu button twice though ?
Title: Re: [Q] how change apps priority as system ???
Post by: matthew on August 04, 2014, 12:15:34 am
i am not 100% certain about this, but i am pretty sure there is a Central Repository entry to which you can add UIDs to protect from system-mandated app closure.
When i can get on the PC, i will try to find it. No promises, though - i might be mistaken on this one.
Title: Re: [Q] how change apps priority as system ???
Post by: fbashishir on August 04, 2014, 01:29:57 am
Why are you pressing the menu button twice though ?

thanks for fast reply. Double press sometimes occurs accidentally. So i mentioned.
Title: Re: [Q] how change apps priority as system ???
Post by: fbashishir on August 04, 2014, 01:33:25 am
i am not 100% certain about this, but i am pretty sure there is a Central Repository entry to which you can add UIDs to protect from system-mandated app closure.
When i can get on the PC, i will try to find it. No promises, though - i might be mistaken on this one.

long ago, i read something like that, but i forgot. So seeking help about this.......
Title: Re: [Q] how change apps priority as system ???
Post by: huellif on August 08, 2014, 11:00:24 pm
You can change the starting process priority setting via epocID, but if the app changes it while it's running this doesn't make sense. At least it's worth a try ;)
For you can change the max heap memory this way if an app shows you the memory full popup.

Are you using a CFW? And which phone and firmware are you using?
Most proper CFWs have optimized config files for the RAM and should fix this typical Symbian issues at least a bit.
Title: Re: [Q] how change apps priority as system ???
Post by: fbashishir on August 11, 2014, 01:14:25 am
You can change the starting process priority setting via epocID

will u please make jbkTaskman system app for me.... It would be helpful....
Title: Re: [Q] how change apps priority as system ???
Post by: huellif on August 12, 2014, 10:17:26 pm
System app has to get set by the app itself, it's not part of the E32ImageHeader :/
Sorry I thought you mean the priority itself, system app is a flag and not a priority.
Title: Re: [Q] how change apps priority as system ???
Post by: fbashishir on August 13, 2014, 02:47:04 am
many apps like xplore has option to set as system app which prevents them to crash on low memory. Is there any way to make an app system app???
Title: Re: [Q] how change apps priority as system ???
Post by: huellif on August 17, 2014, 09:45:14 pm
Apps have to do that by theirself, it's a simple euser.dll (user side kernel .dll) call, I don't know an API which can do that for other apps.

But you can try to disassable the app and inject the related call via shellcode hacking, but that's really not that easy.
Read here: http://www.mulliner.org/symbian/feed/CollinMulliner_Exploiting_Symbian_BlackHat_Japan_2008.pdf