[REQ] How-To Lock SemcPhone and Contacts.apk to Memory - Xperia Arc Q&A, Help & Troubleshooting

Hi,
I'm trying to lock Contacts and Phone app to memory.
So they will start faster. I don't want to wait for them to open. ( Sometimes it tooks a long time )
If is there anyother way to do it but locking it ( like keeping it alive, running in backgorund or something ) i can try.
This is really important for me. I need to make calls fast.
Thank you so much for reading.
Best Regards.
========================================================================================
This is no longer requested.
I did it using SuperCharger Update 9 RC 6.9 ( Option 17 in Driver's Console )
I bulletproofed Phone,Contacts and Messaging apks ( Sony's Original ones ) with this script.
Here is the link: http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
Its BETA release probably.
Thank you for reading.

I researched some more and found this,
adb pull /init.rc
replace "setprop ro.HOME_APP_MEM ..." with:
setprop ro.HOME_APP_MEM 1536
adb push init.rc /sdcard/init.rc
adb shell
# mount -o remount,ro rootfs /
# cat /sdcard/init.rc | tee /init.rc
# mount -o remount,rw rootfs /
# rm /sdcard/init.rc
This code can lock Sense home to memory. Maybe someone with skill can change it for Contacts.apk ?

Use exDialer. It can be locked to memory, has smart search and looks like MIUI dialer.

It's a good solution.
But before i try those third-party contacts/phone apps i want to lock Sony's Original app to memory.
And i don't want to lock it with another app. I want to make lowmemorykiller see contacts app like system app and never touch it.
So, probably i need to use script or something. But it also should be permanent change, at least i don't want to do it after every reboot.
Thank you so much for answering

The same.
soumya_digi said:
Use exDialer. It can be locked to memory, has smart search and looks like MIUI dialer.
Click to expand...
Click to collapse
Exdialer will still SEMC phone to make calls. It's just an interface in between.
So locking THAT in memory won't help. Locking SEMCPhone is what you want for faster launches of the phone app.

The default dialer generally takes much time to start up. So suggested a 3rd party app for faster number dialing!
Sent from my LT15i using XDA

Exactly,
Exdialer is Contacts-like app. I need both of Contacts and SEMCPhone in memory.
If i won't find anything probably i will use ExDialer for Contacts app at least it will quicker to find Contacts.
But i also really need to lock SEMCPhone app to memory. That's the most important part. Because i can't use any third party app for this function. It have to be Sony's original ( im not sure btw )
Thank you so much for answering.

Found Solution !

Than??
1234567890

V6 supercharger can lock apps to the memory, never tried this feature but the script worth even without it!
---------- Post added at 06:14 PM ---------- Previous post was at 06:03 PM ----------
Take a look here:
http://forum.xda-developers.com/showthread.php?t=1334834
and http://forum.xda-developers.com/showthread.php?t=1289082
1 - Root it
2 - Install Script Manager
3 - Run the script as root (DONT SELECT TO RUN ON STARTUP)
4 - bulletproof an app or something like this (option 17 in my version)

oojjii said:
Hi,
I'm trying to lock Contacts and Phone app to memory.
So they will start faster. I don't want to wait for them to open. ( Sometimes it tooks a long time )
If is there anyother way to do it but locking it ( like keeping it alive, running in backgorund or something ) i can try.
This is really important for me. I need to make calls fast.
Thank you so much for reading.
Best Regards.
========================================================================================
This is no longer requested.
I did it using SuperCharger Update 9 RC 6.9 ( Option 17 in Driver's Console )
I bulletproofed Phone,Contacts and Messaging apks ( Sony's Original ones ) with this script.
Here is the link: http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
Its BETA release probably.
Thank you for reading.
Click to expand...
Click to collapse
Which Processes did you lock exactly?

q
Does anyone know of a way to do this without "Supercharger"?
Thanks.
bill

oojjii said:
Found Solution !
Click to expand...
Click to collapse
You little piece of scumbug Steve. Tell us the solution or dont tease ...

I tried bulletproofing
com.sonyericsson.android.socialphonebook
com.sonyericsson.infiniteview
with the supercharger script
but it doesn't seem to do anything
This is very annoying

Bill720 said:
Does anyone know of a way to do this without "Supercharger"?
Thanks.
bill
Click to expand...
Click to collapse
U can use pimp my rom (found in play store) keep in memory option
Sent from my LT18i using xda app-developers app

ChainSOV said:
I tried bulletproofing
com.sonyericsson.android.socialphonebook
com.sonyericsson.infiniteview
with the supercharger script
but it doesn't seem to do anything
This is very annoying
Click to expand...
Click to collapse
It should work fine, might need a restart though.

Someguyfromhell said:
It should work fine, might need a restart though.
Click to expand...
Click to collapse
The logs show that the script is run on restart, but it says
com.sonyericsson.android.socialphonebook
com.sonyericsson.infiniteview
com.android.phone
isn't running, can't bulletproof.
It looks like its run a bit too early?
I tried running it with the widget, it found phone and socialphonebook running, but never infiniteview.
Even on exiting a contacts details by pressing home and starting the script immideatly, it always said infiniteview isn't running, it seems to instantly close itself.
After it told be it bulletproofed phone and socialphonebook, I went to start a few apps/games, closed them again and tried starting contacts and open a contacts details:
contacts opening time varied between 3 and 12 seconds
contact info opening time varied between 2 and 8 seconds
I am certainly not getting the effect I hoped bulletproofing would give me, I hoped the startup times would be like you just closed contacts and reopened them:
contacts opening time varied between 1 and 1.5 seconds
contact info opening time varied between 1 and 1.5 seconds

Don't expect your phone to keep Phone and contacts in memory when trying to play games. Our phones do not have enough RAM to keep all of these loaded in there at once. Android has to close something in order to free up RAM and run the current app/game.

advice
ChainSOV said:
I tried bulletproofing
com.sonyericsson.android.socialphonebook
com.sonyericsson.infiniteview
with the supercharger script
but it doesn't seem to do anything
This is very annoying
Click to expand...
Click to collapse
A bit of advice for people who are having this problem - I've "been there, cut that", and have to say that the whole "bulletproof" script nonsense is nothing more than a waste of time; it just doesn't work. I've tried every "ram manager" out there, and the only thing that has got me the result is the "Xposed Framework trick" (ICS/Jellybean only unfortunately).
Sahaab said:
U can use pimp my rom (found in play store) keep in memory option
Click to expand...
Click to collapse
Thanks for the input, but I actually finally got a working solution (as I told the member above) and that is the Xposed Framework App Settings method. I've tried probably half a dozen applications over the course of the years of my ownership of this device, and so far, Xposed App Settings has been the only thing that has had any effect. The only negative is that it does require ICS or Jellybean to install.
Spread the word, and good luck to everyone experiencing this issue.
b

Thank you so much for this hint, finally something that works :cyclops:
I changed
Contacts (com.sonyericsson.android.socialphonebook)
Infiniteview (com.sonyericsson.infiniteview)
Keypad (com.android.phone)
to resident and they actually stay in memory, even after starting games (not sure if keypad is needed, it isn't listed under running apps).
Infiniteview startup went from 3-7seconds to 0.5-1.5
Contacts behave strange:
If I exit contacts by pressing home key, they start in under 1 second (Android Core Apps are listed under its subprocesses)
if I exit contacts by back key, they need 3 seconds to start (just SmartSearchCachingService and Contacts itself under processes)
I seem to not be able to lock down android.process.acore with the xposed framework

Related

how to stop the media scanning

I found that the media scanning is lagging to my i9000, is there any way to stop it?
hkfriends said:
I found that the media scanning is lagging to my i9000, is there any way to stop it?
Click to expand...
Click to collapse
yeah man .. i think its very annoying .. keeping you waiting, plus i have a larg storge and too much mp3 files and videos .. so it takes time .. i hope there is way to stop it.
+1 count me in boys
Yep, please, please, how to disable it?
If you do have a lot of files on SD, it takes ages and slow down phone as hell.
Hey guys,
1st post. Keep it easy on me ya?
Below are the requirements needed before you can disable Media Scanning for good.
1) Rooted Galaxy S
2) Startup Manager (free in Marketplace)
Steps:
1) Startup Startup Manager
2) Goto System tab
3) Uncheck Media Storage
4) Reboot
5) And it will never bother you again
This method works too when you plug and unplug the USB cable + the annoying scan on bootup.
For the bad news
Default Music Player will NOT be able to recognise additional new files (MP3 etc) after adding it.
Workaround for this is to reboot the phone and it will recognise it again. I presume software that depend on the Media Storage for creating paylists are prone to this issue.
For the good news
Get another music player in the Marketplace which allows you to manually scan create playlists should be fine.
if we disable Media Storage, can we do manual scanning then? i can do without the music player, but i think gallery also needs media scanning to work?
Some widgets like Extended Control has button to force scanning, wonder if it will work.
If you want a media scanner, search the market for Aditya
I have made a media refresh app.
It's called Rescan Media
http://www.androlib.com/android.application.com-addz-mediascanner-jtDAw.aspx
I think there is a slight misunderstanding here.
The main purpose of this is to disable the media scanning that occurs every reboot, power on and unmounting of the SD cards.
Instead of auto scanning, what we (I think) is to have the option of manually initialising it. This is due to the long scanning period some people have (thousands of songs etc)
I had tried your app and it works as it should with the exception that Media Storage service need to be autostarted for your app to work.
Not sure for the rest, but what I do want is to stop the annoying scanning part upon reboot/power on/umounting of SDs and to instead use your app for example to scan as and when I do want.
Btw, nice icon for the app
mystifiyer said:
I think there is a slight misunderstanding here.
The main purpose of this is to disable the media scanning that occurs every reboot, power on and unmounting of the SD cards.
Instead of auto scanning, what we (I think) is to have the option of manually initialising it. This is due to the long scanning period some people have (thousands of songs etc)
I had tried your app and it works as it should with the exception that Media Storage service need to be autostarted for your app to work.
Not sure for the rest, but what I do want is to stop the annoying scanning part upon reboot/power on/umounting of SDs and to instead use your app for example to scan as and when I do want.
Btw, nice icon for the app
Click to expand...
Click to collapse
The icon is what I too really loved. It looks brilliant on dark wallpapers which in turn look brilliant on the SGS.
Ok now back to the topic.
If Media Storage is not started, what error do you get?
FC?
I'd like to fix it. Could you post a crash dump if you get a fc?
Or have a look at logcat for anything?
Thanks
aditya_t90 said:
The icon is what I too really loved. It looks brilliant on dark wallpapers which in turn look brilliant on the SGS.
Ok now back to the topic.
If Media Storage is not started, what error do you get?
FC?
I'd like to fix it. Could you post a crash dump if you get a fc?
Or have a look at logcat for anything?
Thanks
Click to expand...
Click to collapse
You got it right! Im using a pitch black wallpaper!
Anyway, back to topic.
When Media Storage is disabled from startup.
1) Launch Rescan Media
2) Screen will flick for a split second
3) Media scanning message does not appear
4) Repeatedly attempts yield the same thing
When Media Storage is enabled
1) Launch Rescan Media
2) Screen will flick for a split second
3) Media scanning message occurs
4) Repeated attempts still successful
This phenomenon still occurs even when tested with other media scan app (ScanMedia by HumanRobot) so rest assured its not bad coding on your end.
There is no crash or FC. Just nothing happened that is all.
aditya_t90 said:
The icon is what I too really loved. It looks brilliant on dark wallpapers which in turn look brilliant on the SGS.
Ok now back to the topic.
If Media Storage is not started, what error do you get?
FC?
I'd like to fix it. Could you post a crash dump if you get a fc?
Or have a look at logcat for anything?
Thanks
Click to expand...
Click to collapse
suggestion:-
check for Media Storage status when user runs your app
1) if not running (means user has disabled startup intentionally), then start Media Storage, do the scan, then kill it when user exit your app.
2) if already running (ie default phone setting), then no change is required.
YES I HAVE DONE IT.
I CAME, I SAW, I HIT HIM RIGHT THERE IN THE JAW!!!! *WOOT WOOT*
Uninstall the older Rescan Media
Search for Aditya in the market.
Then Rescan Media ROOT.
I require ROOT privileges to restart services and processes.
Open the app and allow root privileges(I promise there is nothing bad going on).***Read more on what goes on behind the scenes.
To kill the service after you are done click on kill service.
To restart the service click restart service.
To quit click exit.
***Read what goes on behind the scenes
I execute
Code:
"pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver"
and
"pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver"
If you are afraid, drop to a shell and type
Code:
su
pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
It has the same effect of starting and stopping the service.
aditya_t90 said:
YES I HAVE DONE IT.
I CAME, I SAW, I HIT HIM RIGHT THERE IN THE JAW!!!! *WOOT WOOT*
Uninstall the older Rescan Media
Search for Aditya in the market.
Then Rescan Media ROOT.
I require ROOT privileges to restart services and processes.
Open the app and allow root privileges(I promise there is nothing bad going on).***Read more on what goes on behind the scenes.
To kill the service after you are done click on kill service.
To restart the service click restart service.
To quit click exit.
***Read what goes on behind the scenes
I execute
Code:
"pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver"
and
"pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver"
If you are afraid, drop to a shell and type
Code:
su
pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
It has the same effect of starting and stopping the service.
Click to expand...
Click to collapse
Hi Dude!
Thanks for the continued support!
I just downloaded it from the market and tested.
Pity though that I couldn't get it to work. Got stuck at the "Hardcore background Kung-fu"
Funny!
OK, here's the thing. My rom (JM5 + Lagfix) is not a default rom so your fix might not have work since some of my files were shuffled around to the ext2.
Perhaps I will try your fix again when I flashed to a newer default rom next time with a newer lagfix.
Hope to hear some success stories from the rest here.
One more thing: Your app is the 1st I see in the Market that required 0 permission (beside the newly added Superuser permission).
That is AWESOME!
Keep it up and thanks again for the good work!
mystifiyer said:
Hi Dude!
Thanks for the continued support!
I just downloaded it from the market and tested.
Pity though that I couldn't get it to work. Got stuck at the "Hardcore background Kung-fu"
Funny!
OK, here's the thing. My rom (JM5 + Lagfix) is not a default rom so your fix might not have work since some of my files were shuffled around to the ext2.
Perhaps I will try your fix again when I flashed to a newer default rom next time with a newer lagfix.
Hope to hear some success stories from the rest here.
One more thing: Your app is the 1st I see in the Market that required 0permission (beside the newly added Superuser permission).
That is AWESOME!
Keep it up and thanks again for the good work!
Click to expand...
Click to collapse
What lagfix do you use?
I use the Ryan Za lagfix.
What lagfix do you use.
I will post a video later to show it working on my quadrant ~2000 ext2 lagfix on a DDJG4.
aditya_t90 said:
What lagfix do you use?
I use the Ryan Za lagfix.
What lagfix do you use.
I will post a video later to show it working on my quadrant ~2000 ext2 lagfix on a DDJG4.
Click to expand...
Click to collapse
Mine is the 1st gen fix from http://forum.xda-developers.com/showthread.php?t=748596
Not too sure if it play a part in this but for now, it seemed highly probable.
Maybe I go try again when a newer firmware is out. Both Chainfire's and RyanZA looks good.
mystifiyer said:
Mine is the 1st gen fix from http://forum.xda-developers.com/showthread.php?t=748596
Not too sure if it play a part in this but for now, it seemed highly probable.
Maybe I go try again when a newer firmware is out. Both Chainfire's and RyanZA looks good.
Click to expand...
Click to collapse
Try going to adb shell
Code:
su
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
See what happens.
:::::::UPDATE:::::::
Youtube video.
May take a while to process
http://www.youtube.com/watch?v=Bo_mBQL8VrU
1st half is without startup manager
2nd half is with startup manager + disabling media storage.
aditya_t90 said:
Try going to adb shell
Code:
su
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
See what happens.
Click to expand...
Click to collapse
Good Work, I say!
It works now.
In case you interested, this is the output after I keyed in your command.
Component {com.android.providers.media/com.android.providers.media.MediaScannerReceiver} new state: enabled
Did a test drive by rebooting and switching off Media Storage. Works like a charm now.
Perhaps you can advise what was wrong earlier? Was my MediaScannerReceiver state=off?
mystifiyer said:
Good Work, I say!
It works now.
In case you interested, this is the output after I keyed in your command.
Component {com.android.providers.media/com.android.providers.media.MediaScannerReceiver} new state: enabled
Did a test drive by rebooting and switching off Media Storage. Works like a charm now.
Perhaps you can advise what was wrong earlier? Was my MediaScannerReceiver state=off?
Click to expand...
Click to collapse
Awesomesauce!!!
Glad it worked.
Maybe it needed to be on just once I really dunno lol.
Now we just need to wait for this thread to be propagated around.
Saw a couple of posts in Android Forums and Modaco asking for a fix like this.
I say, this is a different kind of Lagfix altogether
LOL~!
Is it possible this fix can be incorporated in the next Rescan Media Root?
And you are right. The command only need to be entered once and not every reboot
I think I'm going to go share this with your captivate brethren. This works great!

[APP] AudioBoost 2.4 - support and feedback

CREDITS:
My work is ONLY the application, it was intended for my personal use, but I figured that it could be useful to someone else, until supercurio doesn't come out with something better (and I hope he will).
So the HARD PART of the work, like finding out how to tweak the volume limit using alsa, etc. was done by supercurio and we should all thank him a lot for all his work!
Thanks also to RyanZA for creating the z4root application, very very useful!
PREREQUISITES:
1. Your phone must be ROOTED!
ATTENTION FOR FROYO!!:
With froyo official updates, it is NO LONGER possible to flash custom update.zip!! If you want to leave your phone unrooted, however, there is a simple way to achive this:
1. Download from the market the free application "z4root" from our beloved RyanZA! (http://forum.xda-developers.com/showthread.php?t=833953)
2. Use the z4root application to get root privileges
3. Now open audioboost and choose "NORMAL INSTALL"
4. Now or whenever you feel like it, if you want, you can just open z4root again and *unroot* your device. After that, you can even erase z4root and continue using audioboost without problems until next firmware upgrade...the app won't leave any trace and it won't be noticeable that your phone has been rooted.
If you liked this approach, you can also donate to RyanZA for the wonderful app he's created!
INSTALLATION:
If you had previously a beta version installed, please uninstall it before trying the release 1.0.
If you don't have already installed alsa, the app will check your installation when you launch it, and eventually it will ask you to install alsa. Please do so.
FEATURES:
- Headphones, speaker and microphone tweaking!
- I optimized the code a lot, so now it is very low on resource usage, even with a 1-second refresh rate!
- You can leave it in background all day without noticing any lag or anything!
- Now with some sort of icon.
- Signed.
UPDATED 1.1:
- When clicking exit button it will clean up better.
- Cleaned up a bit the Settings activity, and added preview of next feature (statusbar notifications).
- Changed Info activity a bit.
UPDATED 1.2:
- Fixed a bug that prevented the app to work properly!
UPDATED 1.3:
- GLOBAL REFRESH! Now the refresh time and enabling/disabling is under Settings and works for ALL controls (headphones, speaker and mic).
- Fixed (hopefully) problems with ALSA INSTALLATION, plus now a progress dialog is displayed (just for you to know that is working and for me when posting problems - I hope not - you can say "stuck at x%"...)
- Fixed QUIT bug. Now when you click the exit button it should really exit and not show up in background even with task killer. PLEASE DO NOT KILL THE APP, use the exit button!!!
- Now menu has icons!
- Plus a lot of things that you may not notice, but are very useful for overall speed and low system resource impact! The code has been changed A LOT, let me tell ya!
...Well hope everything works just fine! Please post feedback on mic functioning with these new features!
UPDATED 1.4.1:
- Just fixed a little thing which prevented the correct alsa installation, nothing definitive as I'm looking to manage every single possible error scenario...
UPDATED 2.0:
- Works even on unrooted phones
- Alsa installation takes now a split second! You MUST do that even if you used version 1.x (permissions changed...)
- Audio-boosting feature is a service that can be backgrounded
- Statusbar notification
- Start on phone boot
- Refresh rate in milliseconds...you can have values lower than 1 second, default is 500ms...obviously greater values = worst experience = better performance....your call!
- New app logo...hope you like it!
- A lot of other improvements that I'm not remembering right now!
UPDATED 2.1:
- Fixed lagging issues (OMG java Timer class implementation on android sucks badly!!!)
- Dropped "always active" option in settings (not very user-friendly/intuitive)
- Added little dialog when hitting menu/Quit that asks if you want to background the app or close it for good (more user-friendly for my taste)
Regarding *lagging* issues: of course, if you keep like 2-3 milliseconds refresh it WILL lag indeed! That depends on use-cases:
- I, for instance, use my app when listening to music while driving. In that circumstance, I have no problem occupying resources because I'm not actually using my phone apart from playing music. If an email comes in though, I'd *hate* to have to wait 10 seconds to boost volume again, so I keep 100-200ms. When I exit the car, I click "disable" and close audioboost.
- Someone who is listening to music while using the phone intensively should use a higher refresh.
I think that with 2000ms refresh, version 2.1 shouldn't lag even all-day long. Even with lower values it should be fine...you should find your preferred setting by yourselves!
UPDATE 2.2 - 2.3 - 2.4:
- Fixed some bugs.
- Improved froyo compatibility.
- Mounts /system as rw during install.
PLEASE FEEL FREE TO RATE/COMMENT THE APP IN THE MARKET, THANK YOU EVERYBODY
- OLD:
Ok...let's explain a bit. Yesterday evening I wanted to know if it existed a tweak to boost the audio volume coming from the headphones. I think that there is some sort of European law or something like that which limits the volume that headphones can produce. This is probably a good thing to avoid hearing problems with *headphones*, but in my situation it sucks badly! Yes, because I use my phone as a music source in my car, and my car hifi is not powerful enough to let me hear my music at the level I like...
However...I was addressed at this thread, from post #300 on...
Well, I read the thread (and I STRONGLY ADVISE you do the same before downloading anything from my post), but I didn't like very much the limitations of that tweak. It works alright, but it seems to me that an sh script is not the more comfortable way to go on a mobile phone. If you think differently from me, feel free to keep using the script method, without posting useless comments.
So I created a tiny little (horrible I must say) application which kinda does basically the same thing as the script, but in a (from my point of view) much cooler way! It is very ugly, but it's my first android application and I bought the phone just 2 weeks ago...
How does this work? Very simple: there is a textbox in which you can enter the desired amp level, an enable button and a disable one. You should enter the value you prefer (default is 62), then click enable button. You should now leave the app RUNNING in background. When you are finished using the tweak you can tap the disable button to return to the default (of the firmware) settings.
Basically what the application does is it creates a 2-seconds timer which calls everytime the alsamixer (a little better than using an infinite loop as in the script...) with the desired settings. It doesn't seem to impact the battery life too much from my little testing, but please post any feedback on this point.
Thank you! This is useful
what is the default and what are the ranges it supports thanks
The default is 56 (and that's the value it puts when you click the disable button). The range varies from 0 to 63, but from 0 to 35 it's the same low level. It's all written on the supercurio's post I mentioned!
thanks works ok.. you dont have to keep it running the setting does not go back to default unless you unplug and replug in the headphone.. also this is only for headphone boost not for speaker..
finally 2 secs seems like overkill every 10-30 sec would be ok to0.. maybe you could make that user seteable.. also an exit button would be nice since i start it set the level higher and kill it..as long as i dont unplug headphones it stays so i would like to exit without going to task killer..
thanks agian.
lgkahn said:
thanks works ok.. you dont have to keep it running the setting does not go back to default unless you unplug and replug in the headphone.. also this is only for headphone boost not for speaker..
finally 2 secs seems like overkill every 10-30 sec would be ok to0.. maybe you could make that user seteable.. also an exit button would be nice since i start it set the level higher and kill it..as long as i dont unplug headphones it stays so i would like to exit without going to task killer..
thanks agian.
Click to expand...
Click to collapse
I'll look into those suggestions after dinner, thanks! However, I don't see why you should kill it...I mean, it's like 20kb of app...I don't think it occupies that much ram...
The point of the app is that when you unplug the headphone and replug it after 2sec it bumps volume again...if you kill it becomes useless...
carlocb said:
I'll look into those suggestions after dinner, thanks! However, I don't see why you should kill it...I mean, it's like 20kb of app...I don't think it occupies that much ram...
The point of the app is that when you unplug the headphone and replug it after 2sec it bumps volume again...if you kill it becomes useless...
Click to expand...
Click to collapse
it is not the memory footprint i dont like anything running starting up every so often and checking status.. not sure what it does to battery or cpu usage.. especially in not necessary... maybe a widget added to the app with a picture that changes showing boost when on and when you click toggles on or off.. and you only need to open the actuall app for settings..
if you can bundle this with the other app so you dont have to manually install and untar on you card. you could probably charge a couple of bucks for it in the store... but more most people the manual install and untar of the other app is slightly complicated.
lgkahn said:
it is not the memory footprint i dont like anything running starting up every so often and checking status.. not sure what it does to battery or cpu usage.. especially in not necessary... maybe a widget added to the app with a picture that changes showing boost when on and when you click toggles on or off.. and you only need to open the actuall app for settings..
if you can bundle this with the other app so you dont have to manually install and untar on you card. you could probably charge a couple of bucks for it in the store... but more most people the manual install and untar of the other app is slightly complicated.
Click to expand...
Click to collapse
Well that of the widget is a GREAT idea! I'll look into it, but I can't promise anything, because as I said it's the first time I develop anything for a mobile phone, I just read two or three tutorials on android developing this morning and the actual coding part was like a couple of hours of work. Add to that the fact that it's been 4 years since last time I wrote software (let alone java, which was the first language I learned, but I never used it for real developing) and now I'm doing with very different things in my life! Of course I will try to upgrade and make a better app, as this one is horrible...if people are interested I'll do it, but it'll take some time!
carlocb said:
Well that of the widget is a GREAT idea! I'll look into it, but I can't promise anything, because as I said it's the first time I develop anything for a mobile phone, I just read two or three tutorials on android developing this morning and the actual coding part was like a couple of hours of work. Add to that the fact that it's been 4 years since last time I wrote software (let alone java, which was the first language I learned, but I never used it for real developing) and now I'm doing with very different things in my life! Of course I will try to upgrade and make a better app, as this one is horrible...if people are interested I'll do it, but it'll take some time!
Click to expand...
Click to collapse
I'm sure your work will make a lot of people happy.
Thanks for your time Carlo.
Grande Carlo!
Ti consiglierei di salvare il livello di output dell'ultima sessione in modo tale che uno non lo debba reinserire. Ma quanta batteria consuma questa applicazione?
Altro piccolo consiglio: inserisci un terzo pulsante per poter disattivare l'applicazione senza ripristinare a 56 il volume, in modo tale da non dover avere la tua app in background ma poter comunque utilizzare il volume al max
Great idea Carlo!
I'd suggest to modify a few things in your app:
1)Try to insert a third button for closing the service without resetting the volume to the normal one, also because it is enough to unplug the headphones to change it.
2)Can you modify save the latest used volume? This way the next time you open the app you do not have to change it again.
Buona fortuna! Grande idea!
OK...if you look in the first post I updated the app a bit, implementing some of the requests...
It's very important that you uninstall the old one before installing the new one.
It's still early alpha version however, I have in mind a couple of interesting things if I'm able to implement them...
Stay tuned!
2. The refresh rate is in *seconds* and the default is 2. Feel free to experiment with other values, but remember that it's not only the unplugging of headphones cable which causes the volume value to reset. This happens also when you receive a notification (such as an incoming call, message or email), or when there is a 2 seconds or longer pause (such as you just pause the player for a moment). So...imho it's not useful to keep the refresh rate higher then 10 seconds or so...but as always, try various combinations and let me know! The most important thing should be to watch the impact of this setting on battery life...
Also...if you put 0 here as a value, the timer won't start at all. Basically this means that it's just like invoking the shell command...so any notification and the volume won't come back up!
Click to expand...
Click to collapse
strange i didnt experience this in my tests pausing both audible player and ambling book player for more than 2 secs.. the volume didnt reset...
will have to experiement more
ok more info you are correct pausing does setting values back to default..
also one bug.. quite does not seem to totaly quit the app.. it does exist but if you run adavance task killer a process is still showing up as running in the task list.. but anyway i have set it to 10 secs . and it seems to work fine.. no lag while using other apps.
mobile terminal emulator ? allright, couldnt find a tutorial on using adb. can i download a mobile terminal straight to my sgs?
swatsqad said:
mobile terminal emulator ? allright, couldnt find a tutorial on using adb. can i download a mobile terminal straight to my sgs?
Click to expand...
Click to collapse
as long as you have root and busybox you can download the terminal emulator from the market and run the tar command in the first post.
i did it this way on the bus this morning
swatsqad said:
mobile terminal emulator ? allright, couldnt find a tutorial on using adb. can i download a mobile terminal straight to my sgs?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=7239659&postcount=3 This is for you!
I like the new version, now maybe you could add a simple image as logo!
Anyway sometimes the app crashes. I think I am unlucky!
help?
$ cd /
cd /
$ busybox tar zxvf /sdcard/alsa-utils-binaries.tar.gz.zip
busybox tar zxvf /sdcard/alsa-utils-binaries.tar.gz.zip
tar: invalid option -- z
BusyBox v1.18.0.git (2010-08-11 01:17:17 CDT) multi-call binary.
Usage: tar -[cxtvO] [-X FILE] [-f TARFILE] [-C DIR] [FILE]...
Create, extract, or list files from a tar file
Operation:
c Create
x Extract
t List
Options:
f Name of TARFILE ('-' for stdin/out)
C Change to DIR before operation
v Verbose
O Extract to stdout
h Follow symlinks
exclude File to exclude
X File with names to exclude
T File with names to include
Yes some busybox versions don't have tar with gzip support. If u installed the busy box fix from titanium backup u can just run the command thru tar instead.
Sent from my GT-I9000 using XDA App
I dont get it ;/ ..
. So what do i do? OAllready spent 4+hrs on this
Download Busybox by Stericson from the market and that app will let you install the latest Busybox - then that command will work.
cheers
swatsqad said:
I dont get it ;/ ..
. So what do i do? OAllready spent 4+hrs on this
Click to expand...
Click to collapse

XXJPK Changelog, bugs, reviews, and first impressions

any change list??
I can not remove installed apps, have root acces with root explorer
I have root access, but can't change anything in /system
After 5 minutes of install:
Awesome, Seems no lagfix will be required.
Dident notice any difference from JPH
Will edit tomorrow after playing thoroughly!
change to R/W mode ,and do it again.
cyq1857 said:
change to R/W mode ,and do it again.
Click to expand...
Click to collapse
It says it already is in R/W
shahadat said:
After 5 minutes of install:
Awesome, Seems no lagfix will be required.
Dident notice any difference from JPH
Will edit tomorrow after playing thoroughly!
Click to expand...
Click to collapse
when any rom just install it did not need lagfix, but later yes
It seems much better than JPH (which was unusually bad) - quite close to the performance I was getting with JP4, but slightly better.
I haven't applied any lag fix yet as it doesn't really seem necessary on these ROMS, but I'm going to give that a go later.
One word of warning though, JPH, JP4 and now JPK all hate corruption in user databases. If you're getting FCs / massive delays at startup, this is what will be causing it.
Rickstur said:
It says it already is in R/W
Click to expand...
Click to collapse
then ,it cannot do any custom changes.it is really inconvenience
anyone knows score on quadrant with or without lag fix?
One bug i found. Cant switch language from english to swedish. Every time i restart the device it reset to english language.
Sent from my GT-I9000 using XDA App
celeronix said:
I have root access, but can't change anything in /system
Click to expand...
Click to collapse
I'm able to delete apps from /system/app just fine... (using ADB)
celeronix said:
I have root access, but can't change anything in /system
Click to expand...
Click to collapse
Me too
The Device is rooted, i get access with rootExplorer and can delete any App from system/apps but everything appears again immediately.
I wanted to uninstall the crappy Voice Dialer App. Because it is absolutely bad if i use my Helmet Headset on Bike and my BT Handsfree.
Voice Dialer starts and recognize NOTHING right. Even if i try to speek english.
In comparison. Voice Dialler on my Blackberry Bold 9700 works absolutely great and recognize also if i speek German. And it tells me who he dial before he do it.
Voice Dialler on Galaxy calls any Number (and in nearly 100% of trys the wrong) without any comment.
And.
Once again.
Since the first releases of Froy Samsung has broken the connection between Google Sync and third Party Apps. Specially Calendar Apps.
So also in this release.
All Tasks that are created with third Party Apps (Jorte, TouchCl .... ) Appears in Calendar on Device and ar dedicated to the right Google Calendar on Device. But not synced with Google.
After open, editing or new saving with Stock Calendar it will be synced.
This belongs to ALL Cal Apps i have tested!!!!!!!!
Absolutely bad (for me)
celeronix said:
I have root access, but can't change anything in /system
Click to expand...
Click to collapse
The same here
vlad88 said:
any change list??
Click to expand...
Click to collapse
How about editing it yourself in the first post from what you and other users found out.
You can take an example form here or have a crappy thread with a misleading title.
No one wants to read 10 pages of posts for 3 words.
r3loaded2010 said:
I'm able to delete apps from /system/app just fine...
Click to expand...
Click to collapse
Could you please double check because I am not alone
vlad88 said:
anyone knows score on quadrant with or without lag fix?
Click to expand...
Click to collapse
Without Lagfix quadrant: 1068
With Lagfix: 1860
Rickstur said:
I can not remove installed apps, have root acces with root explorer
Click to expand...
Click to collapse
celeronix said:
I have root access, but can't change anything in /system
Click to expand...
Click to collapse
To keep this post useful try to specify ALWAYS what you flashed (odin version, pit verison, etc) and how you rooted the phone.
Moreover, report if you installed any other app, or had to restore nv_data, or made any other modification to stock system.
Lagfix is an absolute MUST. Anyone with more than 50 apps will need one sooner rather than later. Don't believe any clowns telling you otherwise. RFS is here to stay and RFS is nowhere near as good as ext4. The sooner Voodoo can get ported to Froyo the better!
Product code changed and the backup of the nv_data.bin is crap. Restoring it resulted in a corrupt imei! Needless to say I have multiple offline copies of the EFS files for this....
GPS is complete and total crap. While it does lock to many satellites and it does lock quickly it seems to have this nasty feature where it just 'assumes' where you are going to the point where if you stop abruptly it keeps on going. I also misses sharp turns etc. While you are going in a straight line it is almost spot on but I assume it outright 'lies' about the position in an effort to hide the lag. How else could one explain the other symptoms?
Generally JPK is usable but still very beta in a few places. I sure hope GPS goes back to what it is in JM8. I ran a few tracks with JM8 and it is almost always spot on and without any errors.
For those that have the issue: to edit things in /system it must be remounted rw......
Database and File system still very slow, quadrant score 992

Facebook integration /2.3.4/ Titanium Backup Questions

I remember there being a similar thread for 2.3.3...
Anyways I'm guessing i removed something which i wasnt suppose to after i updated to 2.3.4 and now i cant turn off facebook integration :S EDIT- Noticed this was only when im signed into facebook;Is this normal? Facebook using 30mb of ram is my only concern+I'm not going to use the fb integration since i find it useless ... I'm considering reflashing the software currently but i'd like a list of what is safe to remove and on a sidenote ; when restoring apps via titanium backup does it make them less stable or effect them in any way :S.
EDIT- I have a r800i with the O2 UK 2.3.4 firmware on it... Rooted.
Edited first post/title of thread.
Nabeel_Nabs said:
Facebook using 30mb of ram is my only concern
Click to expand...
Click to collapse
I had this problem and found out it is the Facebook upload service. You can use this command to disable it, which will stop Facebook from running in the background:
sh /system/bin/pm disable com.facebook.katana/com.facebook.katana.service.UploadManager
Run that via SSH or via terminal (as root). To enable it again (and allow media upload to facebook) replace disable with enable.
Atarii said:
I had this problem and found out it is the Facebook upload service. You can use this command to disable it, which will stop Facebook from running in the background:
/system/bin/pm disable com.facebook.katana/com.facebook.katana.service.UploadManager
Run that via SSH or via terminal (as root). To enable it again (and allow media upload to facebook) replace disable with enable.
Click to expand...
Click to collapse
Tbh i want facebook to run in the background so i recieve a message when somebody comments on a post or posts on my wall etc but I dont want it clocking up 30mb in the background , it didnt do this before... It's lowered down to 8mb after turning off sync contacts...But i've only checked it twice in 3 hours...
Nabeel_Nabs said:
Tbh i want facebook to run in the background so i recieve a message when somebody comments on a post or posts on my wall etc but I dont want it clocking up 30mb in the background , it didnt do this before... It's lowered down to 8mb after turning off sync contacts...But i've only checked it twice in 3 hours...
Click to expand...
Click to collapse
No no all that still works. Running that command only stops the functionality of being able to upload pics to facebook. Receiving notifications etc all still works after disabling the media upload
Gonna do this now, opened up facebook and bam now its 30mb-40mb.
Well, it isnt working,is the script correct? Upload managers still taking up memory
Sent from my R800i using XDA App
Nabeel_Nabs said:
Well, it isnt working,is the script correct? Upload managers still taking up memory
Sent from my R800i using XDA App
Click to expand...
Click to collapse
Try this:
Code:
sh /system/bin/pm disable com.facebook.katana/com.facebook.katana.service.UploadManager
I missed out the sh before. Don't forget to run as root. I just did it on mine
well i downloaded gscript lite and copied+pasted your code and ticked needs su...and i got sh not found...rooted via zergrush / doomlords script.
Nabeel_Nabs said:
well i downloaded gscript lite and copied+pasted your code and ticked needs su...and i got sh not found...rooted via zergrush / doomlords script.
Click to expand...
Click to collapse
I run it via SSH. You might want to try that?
The "sh" command led me to that conclusion as well ; no idea on how to set that up =S...
I ended up using sshdroid ... Pretty simple to use but annoying.
facebook integration is cool.. facebook post says posted via sony ericsson Xperia Play..
ALL other xperia phone says "sony ericsson Xperia" only...
But taking up to 32mb(for me) of ram just for uploading pics/vids even when I'm not on fb is kind of annoying.

[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?

Categories

Resources