What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Sourcery 2.2 - Full Version

New Market has been working on sourcery for months now.. never had a single issue with it nor there were ever any user complaints about it. This is the first user to ever bring it up and im pretty sure it's related to that script. I would try it myself but my phone is working to well without it.

Tapped from my Sourcerized D1
I'm pretty sure that you're wrong on that one..

Thousands of downloads... not ever a mention of a new market FC... until now...

It's most likely an issue with the theme then... sometimes they do have bugs

edited... sometimes I'm too much of a smartass
 
Last edited:
Experimental Theme #3 is nothing but the new market, and even that was FCing on me. When I have the time I plan on going a full test suite to satisfy my own curiosity.

But while you're here... what've you got that'll make a "Hard To Kill" music player?? I get frustrated when I'm using my Droid as both a Navigator and music player because if the Navigator is the foreground app, the music player will just stop playing and not restart. This is not an issue if the Navigator is in the background. I even confirmed today that it isn't an issue if BOTH the music player AND the navigator are in the background (just the home screen showing). Only seems to happen if I have the Navigator in the foreground.

Of course, it's GOOD to have the Navigator in the foreground because you can SEE where you're supposed to go and don't have to rely exclusively on the spoken directions.

Thanks,
 
The music player that you use resides in the status bar right?
If so, on froyo, it is in the foreground app grouping with priority 0.

You can try the bulletproof background app thing that I post to in my OP.
It should help.

Well here's the link [FIX] Bulletproof Background Apps! - xda-developers

Basically, this is the script that you can make with Script Manager...
Code:
PPID=$(pidof com.estrongs.android.safer)
echo "-17" > /proc/$PPID/oom_adj
Replace the com.estrongs... with the process name of the music player.
Most task managers can give you the name or even AutoMemoryManager will.

The player has to be in memory for it to work.
You can make a widget on the desktop for it as well so whenever you run the music player, you can touch the widget and give it a -17 priority (OOM killer ignores it)
Eventually though android will alter the priority to something killable :p
 
I did a copy & paste of that script above, and changed "com.estrongs.android.safer" to "com.android.music" but when I run it (while the music plays) I get:

exec sh '/mnt/sdcard/NoKillMusic.sh'
# /mnt/sdcard/NoKillMusic.sh: cannot create /pro/oom_adj: directory nonexistent

I'm afraid my Linux/Unix is very weak. What went wrong?
 
Happy to hear that. The redraw issue can be fixed by locking your home app into memory. In adw there is an option to do that. Also another thing i learned this week, having only one active keyboard speed things up a bit as well.

Tapped from my Sourcerized D1


I tried this before the V6 Supercharger script, and it didn't help at all. I believe the supercharge script puts Home at 0, while the lock in memory puts it at 1. The supercharger script took care of my re-draws though. Perfect!
 
i had all types of issues with Ginerbread ROMS, mainly being after a few days the phone seemed to lag beyond belief and I needed to do a fresh install of the OS again. Saw many people switching back to Froyo, so I took the plunge for the first time with Sourcery and am in love with my phone again. It runs quick, never have any system errors (such as with the camera which I always did in GB). I experienced some homescreen re-draws though, but ran the V6 supercharger balanced script and haven't had one since. Runs like a dream with this ROM, the stock kernal running 250-800 and 250-600 screen off and the V6 Supercharger balanced script. Won't be changing this setup until I upgrade my phone in a month or two! dancedroid

You're running zeppelinrox's SuperCharger script too? If you get the chance, take a backup of your existing ROM (with the old Android market) and then install Experimental Theme #3. This will upgrade your Market app. I've been having a problem with the new market that neither Chizzele nor Eagle have been able to reproduce and I'm THINKING it might be related to the SuperCharger script.

Here's what I'm seeing... With the new market in place, I will either download a new app, or download an update to an existing app. The app will download and install successfully, after which the market will FC and crash. It will then restart and crash over and over for several minutes. After that, any attempt to try and use the market will trigger the looping FCs again. My only recourse was to restore back to the old market app.

I'm THINKING it is related to the memory changes made by the SuperCharger script but haven't had the time to test it yet.


Haha, I think I'm done experimenting with my phone now that I have it running so smooth. Sorry, but I don't think I'll try downloading that theme if you think it may break my market! RIght now, my market works fine with the supercharger script on balanced. Once in awhile, a app will never start downloading, but a quick cancel and re-update always helps.
 
Actually hard to kill is never 0.
What matters is the launcher's importance in relation to the importance of other app groupings ;)

Sent from my Milestone using Tapatalk
 
It may be even better with a V8... but its taking me longer than I expected... :p

Sent from my Milestone using Tapatalk
 
take your time. My phone running sourcery and your script also gives me patience. Before i used to look hourly for updates to Liquid or Chevy's GB roms in hopes that it'd help take care of issues.
 
Cool :)

I did a copy & paste of that script above, and changed "com.estrongs.android.safer" to "com.android.music" but when I run it (while the music plays) I get:

exec sh '/mnt/sdcard/NoKillMusic.sh'
# /mnt/sdcard/NoKillMusic.sh: cannot create /pro/oom_adj: directory nonexistent

I'm afraid my Linux/Unix is very weak. What went wrong?

The music player got killed before you ran the script.
Or did you still hear music when you got the error?

Add android.process.media as well to the script...

AMM shows both with music playing after backing out of the music app and the status bar icon still running

Sent from my Milestone using Tapatalk
 
Last edited:
Back
Top