how to stop the media scanning - Galaxy S I9000 Themes and Apps

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!

Related

[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

[Q] WTF is "HTC Loggers" and why won't it force close?

I searched the forums, I searched google. There is no answer, but maybe my Google-fu isn't good enough.
Note: This is included with the new EVO update. It always runs in the foreground and there is nothing you can do to kill it.
Does anyone know what HTC Loggers is? These are the permissions you must allow it:
Location - Fine (GPS) location
Development tools - enable application debugging limit number of running processes, make all background applications close
Network communication - full internet access
Storage - modify/delete SD card contents
System tools - Display system-level alerts, make application always run, prevent phone from sleeping, read system log files
Click to expand...
Click to collapse
I already am rooted (S-OFF) and I want to freeze the app with Titanium. I want to know if anyone else has frozen/deleted it and with what effects. Also, WTF is this app?
It is sort of like catlog. When you unhide it and run it it gives you a list of available logs to view.... eg radio/wimax/system/application.
I assume you are running the latest OTA to be seeing this?
Sent from my PC36100 using XDA App
Yeah, I am running the latest OTA. Can I freeze it in Titanium App? I don't like the idea that at any time my radio usage can be sent to HTC or whoever gets the information.
such assholes
you know, I like HTC but this is bull****... I just froze the app in Titanium (yes rooted) and it STILL was running, so I chuck norris'd it's ass
DON"T DO THAT
it freaks out and tries like twice per second to load the loggers app. f*k.
so apparently there's some other process that's constantly trying to load/communicate with it.
and yes, it is logging - my gps icon keeps popping up every few seconds, wasting my f*king battery
SERIOUSLY WTF
noticed it too yesterday on phone. what is it exactly tracking?
It's reasons like this that make me love AOSP. No Sprint or HTC crap on my phone.
it tracks any bugs or force closes on your phone. Nothing bad.
aimbdd said:
it tracks any bugs or force closes on your phone. Nothing bad.
Click to expand...
Click to collapse
It probably tracks what porn sites you visit too.
HOW do you unhide it to see the logs?
aimbdd said:
it tracks any bugs or force closes on your phone. Nothing bad.
Click to expand...
Click to collapse
Nothing bad??? Muahahahahahhh!!!!
http://www.androidpolice.com/2011/10/01/massive-security-vulnerability-in-htc-android-devices-evo-3d-4g-thunderbolt-others-exposes-phone-numbers-gps-sms-emails-addresses-much-more/
+1 on above post, also look here ... http://infectedrom.com/showthread.php/559-Vunerability-1-Android-Security-Elevation
don't forget to wipe..
There's a thread in the evo3d android developmemt forum by TrevE that extensively covers this subject.
Its an eye opener.
http://forum.xda-developers.com/showthread.php?t=1247108
~ I'm a fungi

[MOD] Freeze Battery-Draining Services | 6/14

This Mod is flashed through CWM to enable 2 simple all-in-one commands to Freeze/Defrost SNS, DRM, and System Updates. Downloads at the end of this post. Read on to learn what they do and how to easily use them!
Fully Flash-able Test Version HERE
Freeze SNS, DRM, and System Updates for Better Battery
These services are, generally, best kept frozen 99.9% of the time. Not deleted, as I've experienced problems if they are actually removed, but disabling them saves me noticeable battery life.
You can use Titanium Pro, MyToolbox, ,Bloat Freezer, or Mybackup Pro to freeze services, but that's only after you've installed a rom. Then once you boot in, you have to buy and download that app, and then navigate a huge list of services to freeze.
But it only takes one line of code per service you want to freeze. That's right, the following commands can be entered into a terminal like Terminal Emulator to disable these processes:
Code:
su [I](Gains root)[/I]
pm disable com.sec.android.providers.drm [I](Disables DRM launcher)[/I]
pm disable com.sec.android.app.sns [I](Disables sns)[/I]
pm disable com.samsung [I](Disables updates)[/I]
However, these commands are lengthy, not easily memorized, and just a pain to write. The best solution I can come up with is to simplify the commands.
[Note] You do not want to do this if you don't understand how freezing these services may affect your day-day use. This will save some battery at the definite cost of DRM content functionality and Facebook Contact integration.
How To Use This Mod:
Still using Terminal Emulator, after you flash one of the linked .zip files, all you will have to type is the following:
To Freeze Services:
Code:
su
superfreeze
To Defrost Services:
Code:
su
superdefrost
DOWNLOADS:
Click Here!
If you like my work, click the Thanks button or donate a beer!
I am still in the works to make this work entirely solo once flashed from CWM.
PS: If you're looking for a free alternative to any of the apps I listed up above, this isn't it. This is only one small, dedicated part of those apps. I highly recommend buying one of them, you'll find them very useful.
PPS: This mod, and subsequent versions of it(hopefully!), is for the Epic 4G. I cannot guarantee that the script is accurate to any other phone. But the commands themselves are universal across Android.
Thanks to paulobrien for his explanation found here!
I can't answer you script question, but I have one of my own. Are those commands permanent, or will I have to type those in everytime I turn my phone back on? I'm assuming the latter, since you want to be able to do it easier.
Sent from the only thing i need.
zanderman112 said:
I can't answer you script question, but I have one of my own. Are those commands permanent, or will I have to type those in everytime I turn my phone back on? I'm assuming the latter, since you want to be able to do it easier.
Sent from the only thing i need.
Click to expand...
Click to collapse
These commands are indeed permanent on reboot. Pm Disable is exactly the function apps like Titanium use when "freezing" services. The goal is, I would like these commands to be executed while my rom is installing. I used a similar .zip file as a skeleton for the layout, but I'm just not sure what additional coding is required to make this work. I'm 99.9% positive it can be done.
Oh ok. So I now don't have to disable the drm or sns anymore. Cool, if I ever needed to re-enable them, what would I type in?
Sent from the only thing i need.
Surprisingly logical, you just have to type enable instead of disable.
-Sent from my Random Epic.
Ok, I thought so, but sometimes things aren't as simple as could be. Good luck on your script.
Sent from the only thing i need.
zanderman112 said:
Ok, I thought so, but sometimes things aren't as simple as could be. Good luck on your script.
Sent from the only thing i need.
Click to expand...
Click to collapse
Too often not as simple as it could be! There must be some sort of call function I'm missing. Lol
-Sent from my Random Epic.
So it seems no matter how I try to launch this, from etc/lib.d, as a tool, from data/local... etc. It doesn't seem to have any effect if not run from within Android itself.
RandomKing said:
So it seems no matter how I try to launch this, from etc/lib.d, as a tool, from data/local... etc. It doesn't seem to have any effect if not run from within Android itself.
Click to expand...
Click to collapse
I really wish I could help.
Sent from my Epic 4G, awaiting official gingerbread
zanderman112 said:
I really wish I could help.
Sent from my Epic 4G, awaiting official gingerbread
Click to expand...
Click to collapse
It's a shame, it'd be nice to have a rom install with some services like this disabled by default. Then there could be a matching patch to re-enable them if needed.
RandomKing said:
It's a shame, it'd be nice to have a rom install with some services like this disabled by default. Then there could be a matching patch to re-enable them if needed.
Click to expand...
Click to collapse
Yeah, it would be handy.
Sent from my Epic 4G, awaiting official gingerbread
I'm guessing that the Android runtime system has to be fully initialized and running for the pm command to work, and it's not in the limited runtime of the recovery environment.
Sent from my mind using telepathitalk
dwallersv said:
I'm guessing that the Android runtime system has to be fully initialized and running for the pm command to work, and it's not in the limited runtime of the recovery environment.
Sent from my mind using telepathitalk
Click to expand...
Click to collapse
That seems to be the problem, because I've gotten the tiny files themselves to run in the terminal, which is at least useful for streamlining this operation! But I can't get them to do anything in recovery, it just has no effect.
So I have come to the conclusion that this cannot be done from CWM due to reasons I've explained in post #1.
However, I have posted a workaround CWM flash-able which, still using Terminal Emulator, simplifies the commands down to 2 simple codes.
UPDATE: Turned out I posted bad .zip files with out of date updater scripts. The links have been fixed and should work as described in Post #1!
RandomKing said:
So I have come to the conclusion that this cannot be done from CWM due to reasons I've explained in post #1.
However, I have posted a workaround CWM flash-able which, still using Terminal Emulator, simplifies the commands down to 2 simple codes.
Click to expand...
Click to collapse
Sweet! At least you kinda got it.
Sent from my Epic 4G, awaiting official gingerbread
zanderman112 said:
Sweet! At least you kinda got it.
Sent from my Epic 4G, awaiting official gingerbread
Click to expand...
Click to collapse
Yup, kinda! The guys that wrote apps to freeze services deserve a lot of credit. They are fairly easy to use in bulk.
I wish I could make this automatic, but this way I only have to type two easily memorized commands to stop/start the 3 services I hate most!
UPDATE: Mediafire mirror links posted for when megaupload wants to be wonky.
You might be able to make this fully automatic with tasker. There is an option "device boot," there is the ability to launch an app, and to type, then close the app. Might look a little sloppy, but it should definitely work. I'll try it and report back later today.
EDIT: Works like a charm. For the Context, go into Event, System, Device Boot. For the Tasks, choose App, Load App, Terminal Emulator, then Input, Type, enter the text, then choose Input, Button, Back twice to close out of the app, as the Kill command will just restart it.
For what it's worth, there must be a way to have an application start off as disabled, because that's how CIQ starts, as far as I know. Perhaps the dev of the paid application Autostarts can shed some light on it for you.
Pointless816 said:
You might be able to make this fully automatic with tasker. There is an option "device boot," there is the ability to launch an app, and to type, then close the app. Might look a little sloppy, but it should definitely work. I'll try it and report back later today.
EDIT: Works like a charm. For the Context, go into Event, System, Device Boot. For the Tasks, choose App, Load App, Terminal Emulator, then Input, Type, enter the text, then choose Input, Button, Back twice to close out of the app, as the Kill command will just restart it.
Click to expand...
Click to collapse
Thats a nifty trick! Now I could patch Tasker and it's data into the rom itself. Now here's the question, is Tasker a persistently running battery draining service?
Pointless816 said:
For what it's worth, there must be a way to have an application start off as disabled, because that's how CIQ starts, as far as I know. Perhaps the dev of the paid application Autostarts can shed some light on it for you.
Click to expand...
Click to collapse
That may be true, but SNS, Updates, and DRM have to run consistently. Unlike some certain apps that run non-stop for no reason.
Just make the zip add a file to init.d that executes the command on next boot then deletes itself...
Sent from my SPH-D700 using XDA App
chris41g said:
Just make the zip add a file to init.d that executes the command on next boot then deletes itself...
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I actually tried that, but the command "pm disable" just doesn't do anything from recovery for me. Unless I'm not calling for a function I need or something. Still toying around with it. I even tried to just patch it into one of the existing init.d files, but still no result.
Update: I'm a noob at developing. I can roughly understand existing script enough to rearrange it, but if somethings missing, I probably can't spot it. Haha

[REQ] How-To Lock SemcPhone and Contacts.apk to Memory

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

[Manual Fix] v2.1.5i Notification auto clear, Apps not autostarting

I've chosen to post this fix that I have created here to bring more attention to XDA, instead of posting directly on OPPO Forums. This is because OPPO staff have clearly stated with their latest release of ColorOS v2.1.5i that it will be their last.
The mods also didn't reply when I offered to share with them this, so.. That's the situation there.
For those who still prefer ColorOS while Project Spectrum is being developed (released today but not all ColorOS features included), follow the steps below.
After 3 weeks if testing.. Here is the fix!!
Issue:
After some usage, you notice app notifications appear, then disappear immediately.
After reboot, this behavior persists. Additionally, your startup apps do not autostart anymore.
Apps in the background are automatically closed after switching to another app.
Manual Fix:
There is a problematic folder and file that needs to be removed. Use a file manager such as Solid Explorer to browse to the files and remove them.
/data/data_bpm - remove folder and files
/data/system/appops.xml - remove file
Reboot and all is fixed.
Persistent notifications hidden using notification centre reappears. Just enable and disable the notification through the notifications control and it will go away.
Tasker is recommended to create a reboot button. The task sequence for reboot would be to remove the problematic files and folder before reboot. It automates the process making your life easier.
If this helps you..
Please spread the word and link back to this thread on xda. ?
Thanks for the fix, dude, very much appreciated
Well done! Even though I am not using COS anymore, I really do appreciate your post!
Thank you for the fix! Cheers
Thanks for the share. Will try this. In the meantime, anyone still having notification problems, try greenify. The fix is in experimental features but you will need to pay for this feature. I've decided to settle on 2.1.5i. Will move to asop when it is more stable. Cheers.
tropical cactus said:
Thanks for the share. Will try this. In the meantime, anyone still having notification problems, try greenify. The fix is in experimental features but you will need to pay for this feature. I've decided to settle on 2.1.5i. Will move to asop when it is more stable. Cheers.
Click to expand...
Click to collapse
Could you elaborate more? I'm also using greenify but issue still persists.
You need xposed framework for it to work. In settings, go to experimental features. Tick telephony wake up, don't remove notifications and gcm push. I have all notifications coming in on time. Gmail default app seems to be the only problem app so I use default email app instead. P.s. I tried deleting the first folder and files but it shows up again after reboot. The second file is gone. Is this correct? Thanks.
tropical cactus said:
You need xposed framework for it to work. In settings, go to experimental features. Tick telephony wake up, don't remove notifications and gcm push. I have all notifications coming in on time. Gmail default app seems to be the only problem app so I use default email app instead. P.s. I tried deleting the first folder and files but it shows up again after reboot. The second file is gone. Is this correct? Thanks.
Click to expand...
Click to collapse
I had all the options selected. Guess it does not work for me.
And yes, files are recreated. I would suggest adding the deletion to a task sequence for reboot to automate the procedure.
8monochrome said:
I had all the options selected. Guess it does not work for me.
And yes, files are recreated. I would suggest adding the deletion to a task sequence for reboot to automate the procedure.
Click to expand...
Click to collapse
Regarding notifications, I've also put every messaging app and email in white list and auto run management. Funny why it's not working out for you. I get reply notifications from youtube too, without adding it. Not sure about how to do the task sequence but everything seems to be fine now.
8monochrome said:
I had all the options selected. Guess it does not work for me.
And yes, files are recreated. I would suggest adding the deletion to a task sequence for reboot to automate the procedure.
Click to expand...
Click to collapse
How to adding the deletion to a task sequence..
jalaluddin98 said:
How to adding the deletion to a task sequence..
Click to expand...
Click to collapse
You can use Tasker to create a reboot button or profile.
But I suggest using other mm roms.. Coloros pales in comparison after I switched.
If you're rooted, removing Security Centre would stop a lot of issues....
These Chinese phones are over the top on built in security apps and I assume because China has a lot of aggressive adware.
Xposed and MinMinGaurd, plus AdBlock Browser fixes a lot of issues.
@RobboW Do you really remove the Security Centre?
I kept it but it is annoying at times. You have to go in and check so many settings if you install anything you want to run at boot or start up itself. I even had to move a couple of apps into system instead of user so they would run reliably.
Does Xposed trouble with Color OS?
Deleting the file and folder seems to do the job, but not 100%. Yesterday I noticed Waze was closing after switching to another app, so I checked and they were back in the data folder. Deleted them again, but they seem to reappear after every reboot? Anyway, now waze seems to work and does not close with the "new" fikes.
Another solution to the problem is to convert apps that have problems to system apps. It worked for me with Chrome (wasn't getting Facebook notifications at all in chrome), Google Calendar, and Titanium Backup (batch actions would not complete because the app would close when not in foreground).
Do you need to be rooted to locate/delete the two files? I can't seem to find it on my device.
play8oy said:
Do you need to be rooted to locate/delete the two files? I can't seem to find it on my device.
Click to expand...
Click to collapse
Yes.

Categories

Resources