yashsingh1/xdaforums huggingface dataset:
[Epic 4G General] ZenInsight:
Enter your search termsSubmit search formWeblkml.org

Subject [RFC/RFT PATCH] sched: automated per tty task groups

From Mike Galbraith <>

Date Tue, 19 Oct 2010 11:16:04 +0200

Greetings,

Comments, suggestions etc highly welcome.

This patch implements an idea from Linus, to automatically create task groups

per tty, to improve desktop interactivity under hefty load such as kbuild. The

feature is enabled from boot by default, The default setting can be changed via

the boot option ttysched=0, and can be can be turned on or off on the fly via

echo [01] > /proc/sys/kernel/sched_tty_sched_enabled.

Link to code: http://forums.opensuse.org/english/...ernel-speed-up-patch-file-mike-galbraith.html
[Epic 4G General] cicada:
Thanks for the clarification Geniusdog254.

ZenInsight, any chance you can prune down that post and just use a link? The patch is all over the web right now, and it's hard to scroll by on a phone ;)
[Epic 4G General] Geniusdog254:
I'm sure its possible, I just haven't looked at it yet. Like I stated before, until we get 2.6.32 FroYo kernel source I'm not doing any devving besides app work (maybe)

EDIT: Devin said on the last page that he'll look into it. I know IntersectRavens Nexus kernel has it, but I haven't looked into any reports of how much it helps.
[Epic 4G General] ZenInsight:
Also found this:

Phoronix recently published an article regarding a ~200 lines Linux Kernel patch that improves responsiveness under system strain. Well, Lennart Poettering, a RedHat developer replied to Linus Torvalds on a maling list with an alternative to this patch that does the same thing yet all you have to do is run 2 commands and paste 4 lines in your ~/.bashrc file. I know it sounds unbelievable, but apparently someone even ran some tests which prove that Lennart's solution works. Read on!

Lennart explains you have to add this to your ~/.bashrc file (important: this won't work on Ubuntu. See instructions for Ubuntu further down the post!):

CODE:

if [ "$PS1" ] ; then

mkdir -m 0700 /sys/fs/cgroup/cpu/user/$$

echo $$ > /sys/fs/cgroup/cpu/user/$$/tasks

fi

Linux terminal:

mount -t cgroup cgroup /sys/fs/cgroup/cpu -o cpu

mkdir -m 0777 /sys/fs/cgroup/cpu/user

Further more, a reply to Lennart's email states that his approach is actually better then the actual Kernel patch:

I've done some tests and the result is that Lennart's approach seems to work best. It also _feels_ better interactively compared to the vanilla kernel and in-kernel cgrougs on my machine. Also it's really nice to have an interface to actually see what is going on. With the kernel patch you're totally in the dark about what is going on right now.

-Markus Trippelsdorf

The reply also includes some benchmarks you can see @ http://lkml.org/lkml/2010/11/16/392

Found all this here (Ubuntu patch info too):

http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html
[Captivate General] geokilla:
For the past two days, I've had to charge my Captivate overnight after 9 to 10 hours of moderate use. Now today, the third day, it's been 13 hours of moderate use and I still have 15% battery life remaining! The Captivate is rooted and lag fixed using z4root and RyanZa OCLF. I also installed some apps, but nothing that's related to battery saving besides RyanZa's OCLF where I can reduce the WiFi timeout from 15 minutes to whenever I want.

Here are today's results:

Does these results look normal to you? I'm particularly concerned about the Social Hub and screen, and running. They're all higher than I expected. The brightness of the screen is set pretty low, maybe 2/10 of the brightness bar. As for Social Hub, well all I got is the Facebook widget, which is set to sync every 4 hours. Other kinds of syncing is off. GPS is off too.

I ended up charging the phone at 5% battery left. I had to sleep!

Also can someone please answer my quoted post?

Edit: What tools should I get? I hear a lot about ODIN, rommanager, etc. I also need to find a way to get into download and recovery mode as I can't seem to access it for some reason. Either I'm doing it wrong or the feature is disabled...
[Captivate General] geokilla:
Anyone please
[Captivate General] shane9b3:
Menu-settings-wireless and network-wifi settings-menu-advanced-wifi sleep policy-never. You should get almost twice the battery life.
[Captivate General] geokilla:
That never turns off the WiFi when it's on, draining the battery...
[Captivate General] shane9b3:
Trust me it works. When you leave it the way it is the wifi sleeps when you lock the phone and 3g takes over (look at your status bar when you wake your phone), the 3g will be active and in a few seconds the wifi will come back on. If you look at your battery stats in the screens you posted the running and screen on should only be a couple percent apart. Mine are 26.5% and 19.3%.

Try it for a day and see if there is any difference.
[Captivate General] geokilla:
I'll consider that then. Thanks =)

Here's my updated battery performance for today. Phone's been on for 24 hours and I still have 18% battery life left. Social Hub was turned off. I guess it's time I recalibrate my battery? But the battery status shows 100% when I unplug the phone from the charger. Well I charged while the phone was turned off...

Can someone help me with my other questions please as well? I'm trying to learn how to use Android and my Captivate, but it's quite hard when there's so many threads around and no one can answer my questions when I learn something or encounter a problem. Thanks.
[Captivate General] mjduke:
Have you tried turning the phone off once it says 100%? Mine charges for another 20 minutes or so and then says 100% on the big battery bar.

After doing that a couple times it seems to be charging fully while on now too.
[Captivate General] geokilla:
Yep. Check this out. I'm not concerned about the battery anymore. I'm more concerned about my other questions now.
[Captivate General] geokilla:
Is there a permanent way to raise the ringtone volumes? I find that the ringtones are notoriously soft compared to my Sony Ericsson W715, even with stock drivers! I'm missing like half my calls and texts because I can't hear it or feel the vibration.

For both my Galaxy S Captivate and my sister's Samsung Wave (yes does not belong here), we find that the lowest headset volume is still too loud when we are listening to music. Is there a way to change that too? Volume level 1 on our phones is like volume level 4 on my W715 and volume level 10 on her Sony MP3.
[Captivate General] Rhiannon224:
Your questions aren't being answered because there are already threads about the topics your posting questions about. Here's the thread on Battery Callibration

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

Screen protector

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

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

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

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

Odin

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

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

Battery Drain

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

I am not flaming you but I am trying to understand how it is you missed all of these threads on the topics your questioning, you say your reading but apparently not enough searching. This is why people get pissed, we can find the answers for you but you need to look a little harder. There are hundreds of threads with answers to most questions but noobs always want help but don't really spend the time to look for the answers. Stop whining that no one is answering your questions and look harder so you don't get flamed.
[Captivate General] geokilla:
I already got all that answered, so I appreciate that you posted in here. If you scrolled to my last post in this thread, you'll see there was a new question. Maybe I should edit my posts before reusing my threads....
[Captivate General] Rhiannon224:
I saw that one about raising the volume, I don't know if anyone has figured that one out. There is a thread about it somewhere on here, I think I read in it that there is a way, it sounded difficult. I tried to find the thread it was a month or so ago.

I found this http://xdaforums.com/showpost.php?p=7435705&postcount=1

and I searched the forum for call volume and found this http://xdaforums.com/search.php?searchid=50947804

I hope the second link works for you it is the search result, lot's of threads about volume. Good Luck.
[Captivate General] geokilla:
Yep I've seen the first link before. That's the temporary method. Only permanent method I found is to purchase AudioBoost2 from the Marketplace.

2nd link doesn't work, but I'll continue to search here and on different forums.

I'm thinking that no one figured out my "sending one text to multiple users" problem either, since I got no replies to it.
[Captivate General] geokilla:
Is it possible to record videos in MP4? I searched around and it seems MP4 is only available on Froyo.

Edit: Found a PS3 thread on how it couldn't play a SGS video recorded in MP4. Turns out it's still using the 3GP, and there doesn't seem to be a hack either >.>
[Galaxy S I9000 Themes and Apps] bsamurai:
Anyone interested to port this transition effect to SGS?

(I do hope this is not a re-post)

[YOUTUBE]7d39RmIiO-w[/YOUTUBE]

Original thread

http://xdaforums.com/showthread.php?t=831485
[Galaxy S I9000 Themes and Apps] infam:
check out doc's green and mean theme thread. Somewhere in there he's got a zip with those transition effects. But, honestly, I didn't find them very attractive when applied.
[Galaxy S I9000 Themes and Apps] android53:
Doesn't look that great...
[Galaxy S I9000 Themes and Apps] MAMBO04:
Correction, webstar1's thread.

http://xdaforums.com/showthread.php?p=9070406&highlight=transition#post9070406

It's attached in the BONUSES part in the OP. Check it out :) Looks pretty nifty to me.
[Galaxy S I9000 Themes and Apps] KLoNe1:
I think Axure(sp?) has nicer screen transitions...?
[Galaxy S I9000 Themes and Apps] bsamurai:
not compatible with circle power mod
[Galaxy S I9000 Themes and Apps] MAMBO04:
Yeah i tested it with circle batt and FC's occurred. Ah well!
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] oni4u2:
Im using the energy rom and i was wondering how come the marketplace doesn't work. Everytime i go to download bing or anyother map it stops at 75%. Any help would be appreciated.:D
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] wilwilwel:
download Omarket install it and download WMmarket and install it.

problem solved .. had the same prob withs erval roms
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] radon222:
The only problem I have with WM Marketplace is that it won't work over WiFi...only on 3G. Maybe I'll try re-installing it.
[Captivate Q&A, Help & Troubleshooting] yungstar89:
Hey, noob question here.

I rooted and flashed Cognition v2.3b4 yesterday for the first time. Never rooted a phone. Today I realized that theres a v2.3b6. I shouldn't have used google to find the rom. :S

So I downloaded clockwork and followed standard procedure. Downloaded the b6 zip and installed it using clockwork. Did I do it right? Or should I have flashed back to stock first? or done a master clear or data reset first?

It seems to work fine but gets a lower score in quadrant, but only by a bit.
[Captivate Q&A, Help & Troubleshooting] mcord11758:
Quadrant scores are meaningless. B6 is much better then any other version of cog I have been on. I have never flashed stock and have updated my rom atleast half a dozen times. I have never had an issue but some say you should flash stock
[Captivate Q&A, Help & Troubleshooting] tazman171:
As long as you disabled voodoo you should be OK. I have never deleted data and I have flashed at least a dozen times. Since DG put out the clockwork flashable roms it isn't totally necessary to flash back to stock. If you have problems though, that's the way to go.
[Captivate Q&A, Help & Troubleshooting] yungstar89:
Ah, I didn't disable voodoo. I just loaded up the zip file and installed using clockwork. Would that interfere with anything? It seems to be running fine.
[Captivate Q&A, Help & Troubleshooting] mcord11758:
If it is running fine then there utas nothing to worry about
[Captivate Q&A, Help & Troubleshooting] tazman171:
As stated, if it's running fine then no problem, I think voodoo gets wiped anyway, didn't used to be that way though, so my bad. The disabling of voodoo is for making a functional rom backup with rom manager, I believe. Let me know if I'm wrong... again, ;). Everything changes fairly quickly. :cool:
[Android Q&A, Help & Troubleshooting] mengly:
Hi all,

I just brought a sony Xperia X10i from France to Asia Country. when got to my country, i cannot use it even go to menu...it require sim pin to unlock or i just can use emergency call.

Service info:

SIM LOCK

X Network 5

Network subset 10

Service provider 10

Corporate 10

SIM 0

What Can I DO?????:o
[Android Q&A, Help & Troubleshooting] theXeffect:
just do a reset everything should be fine!!!!hope this help!!!
[Vibrant Q&A, Help & Troubleshooting] danny8787:
The rooted with Superuser...

after that, I have to be in debugging mode to connect to computer and everytime I connect to different computer, it keep asking me to install the driver.

Before root, it did not ask any driver, it was working with mass storage like USB thumb drive.

I try to unroot but it is not working I don't know why..

And I try to use Restore Backups through ROM Manager v2.5.0.4 but not working....

I am so frustrated with this root..... I just want to unroot and I really want to use 2.2froyo ....

adb shell

su

rm -r /system/app/Superuser.apk

rm -r /system/xbin/busybox

rm -r /system/bin/su

And I also try that, but it says, rm failed for /system/app/Superuser.apk, Read-only file system

all three same error message.

Could anyone please help me to unroot my phone or.... anyway to use my mass storage without installing the driver?
[Vibrant Q&A, Help & Troubleshooting] lqaddict:
It is using the adb interface

The second issue is that /system is mounted read only have to remount read write

Sent from my bionix powered Vibrant
[G2 and Desire Z Themes and Apps] veritasaequita:
has anyone seen this? i currently trying it. There is also a NetFront Browser which keeps FC'ing on me and a NetFront file viewer thats pretty cool also. i just found a randon video on youtube for it so here ya go http://www.youtube.com/watch?v=wX96RbxNMeg
[G2 and Desire Z Themes and Apps] theXeffect:
where can i get the apk i wanna try :)
[G2 and Desire Z Themes and Apps] willham:
Me too! That looks awesome!

Found it but its not that great... it looks good but can be pretty laggy.
[G2 and Desire Z Themes and Apps] theXeffect:
lol...its not that good.....
[G2 and Desire Z Themes and Apps] Datdude4dub:
Yeah I gave it a shot and it's really laggy. It is an awesome concept tho.
[G2 and Desire Z Themes and Apps] Ciborg54:
i'm glad we all agree that its not that good. the browser wont even work at all for me
[G2 and Desire Z Themes and Apps] KoubaK:
can anyone share it?? Just want to see how it really looks...

Edit: found it... seems laggy but is not bad for daily use... I just like the message and facebook intergration
[G2 and Desire Z Themes and Apps] adrake400:
I tried it I don't really like it but the concept is wonderful! Similiar to this egyptian made phone tht was slated to come out after the iphone came out can't remember the name but it was made by an egyptian company
[EVO 4G General] jdh10475:
Why can't the HTC widgets (calendar) be used with ADW? I'm not a huge fan of sense but I am a huge fan of the HTC calendar widget.

Does anyone know why the HTC calendar widget cant be used with ADW or is it possible to get the apk? I like the ADW launcher the most but would like to have the HTC widget does any one know if this is possible.
[EVO 4G General] DirtyShroomz:
HTC widgets are tied to Sense, can't be done. Get LauncherPro he has sense-like widgets
[EVO 4G General] cam_hamlin:
Adw doesn't support it...and HTC doesn't want its widgets used with anything other than Sense....I would suggest using Launcher Pro Plus....they have widgets just like the Sense ones.....
[EVO 4G General] jdh10475:
Thanks for the info.
[EVO 4G General] caguirr4:
There is an app called smooth Calender in the market. It is pretty much identical to the HTC calendar. Widget. And it is customizable.
[EVO 4G General] jjwalker2:
I'm looking to do the same thing. I would like to see if the windget apk's can be pulled with adb from the stock ROM. Is this a possible way toi get HTC widgets?
[EVO 4G General] AdamHart612:
Everything "Sense" is tied into the sense framework and isn't usable in a rom that is not sense based. Widgets, apps, etc.
[EVO 4G General] Nefariouss:
I like the jorte calendar over the sense one. Might give it a view.
[Android Software/Hacking General [Developers Only]] Osiris01:
Hello XDA officianados. I've been a moto cliq rocker for nearly a year with rooted 2.1 and I could use some tips and tricks on modding it.
[Galaxy S I9000 General] guilhermedsx:
Hey guys.

I'm buying a Samsung Galaxy S tomorrow and I was presented two choices: the 8 GB european I9000, unbranded, and a 16GB T-Mobile Vibrant (which comes with a free 16 GB SD card, for 32 GB total). Both are unlocked and the same price. 3G frequencies are the same, so I'm down to design and minor differences.

Which one you guys, who are by far more experienced with those models than me, think I should get? I don't know if I'm asking in the right forum, but I think it's kind of a general question right?

Is the T959 reliable to get 2.2 and the GPS fix and stuff? I think "update-wise" the i9000 would be a better choice, but I don't know.

Thanks for your attention!
[Galaxy S I9000 General] decepticon:
So with the Vibrant unless a front facing camera is a big deal to you.

There are many good Froyo roms on it already with working GPS.
[Galaxy S I9000 General] guilhermedsx:
The issue is I don't think I feel confident enough on my skills to flash a custom ROM for the Vibrant. I'm kinda of even worried about rooting it, since I had bad experiences with flashing things before and bricking them (damn you, Nokia), so I was thinking about keeping it "original".

Would it still be the better choice even if I choose to keep the official ROM? I was kind of worried about the bloatware software there seems to be on the T-Mobile version, with Avatar and all these useless apps, and there's now way to get rid of them without rooting, so...
[Galaxy S I9000 General] Croak:
Where are you going to be using the device? What country/countries?

The I9000 has much better ergonomics, in my opinion. I own an I9000M and a T959D, and the three-button layout on the I9000 is FAR superior in terms of usability to the 4 button all-capacitive layout on the T959.

I don't care who you are and how agile you are, you spend a great deal of time fighting with inadvertent/wrong keypresses on the 4-button devices, with the Search button being a particularly bad offender.

The I9000 also comes with a working FM radio, front facing camera, and "generic" support from Samsung so you're not tied to a slow moving US carrier for updates (and they are the slowest in the world, just about, short of Canada).

The loss of 8gb internal storage is a bit of a hit, but it's not the end of the world, especially when you consider most other Android devices (HTC mostly) released in 2010 had like 2gb or less internal storage to start with, and they get along just fine.

That said, the T959 is still one heck of a device, looks a bit less like an iPhone thanks to not having the big button, and should "wear" a little better since all the buttons are under glass.
[Galaxy S I9000 General] guilhermedsx:
I'll be using it in Brazil, most of the time. Here we have the I9000B with DTV tuner and stuff but it's crazy expensive (double the price I'm paying to import a phone with all taxes paid, I mean... it's really out of question, and our carriers are doing awful stuff with it. Most notably, one of them removes Gmail and Google Maps).

I was thinking just about that, about hitting the capacitive buttons so often that usability would have a hit.

The updates coming straight from Samsung would be a nice advantage, then? since T-Mobile didn't even give a ETA for froyo yet, right?

Well, so I think I'll be going the I9000 way and buy a SD card to compensate the lsos of storage. You're great, guys. Thanks a lot for your help!
[Galaxy S I9000 General] psp888:
Neither, wait for the Nexus S
[Galaxy S I9000 General] nightmare56:
+1 . some good phones coming out soon.
[Windows Phone 7 Software Development] Z's Windows Phone:
Hi I have searched the 8 pages of threads and didn't see my question which is how do I load JAR files onto my HD7? :confused:

Thanks in Advance
[Windows Phone 7 Software Development] Foxman13:
Windows Phone 7 doesn't support Java JAR files.
[Windows Phone 7 Software Development] addor:
I have a HTC HD2 with JBlend, and I would like to run also a jar file. I think that this depends only by the Java runtime like JBlen or JavaFX. Is the operating system under der Java runtime indeed essential?

Unfortunately if I try to install my jar file within JBlend I get the message "Failure extracting a jad file". With another Java runtime the jar freezed after starting successfully. On the desktop PC the jar runs without problems. Why not under WM?
[Windows Phone 7 Software Development] garthus:
you won't be able to load any random jar on your hd2. Cell phones don't have a full jvm so you will need a java app designed specifically for the cell phone. Chances are if you didn't get a jad (Java Archie Descriptor) with the jar then it's not for a cell phone.
[Windows Phone 7 Software Development] addor:
Thank you, so it's a pitty. Actually I expected that the advantage of Java is to clear the differences bewteen platforms, especially between mobile and "big". It should be only a question of the jvm implementation. Why doesn't existe a "full" jvm for mobiles? There are several jvms. You know e.g. Esmertec or Mysaifu?

On the other hand I may construct the jad afterwards. There are jad-gengerators on the market. I did so, and the jvm complains that there is a missing descriptor within the jad. So I think that I should only complete the jad. But how?
[Windows Phone 7 Software Development] shacknasty:
m i n e c r a f t

? :)
[Vibrant General] roguly:
anyone see the "z4root" app on market by ryanza? i looked at it and i guess all it does is root. prolly easier then installing his OCLF just for the root option.
[Vibrant General] rbirg:
Yeah I decided to try it. It does what it says. It worked once for me. I tried it another time upon going back to stock, and it didn't work for me a second time.

Better stick with OCLF. More utility in there anyhow :).
[Vibrant General] dcam1075:
The new app also roots the Tab where the OCLF didnt work for me. Another solid app! :-)
[Vibrant General] lolcopter:
worked for me also

great app
[Droid 2 General] mikeyinid:
My keyboard doesnt light up. Whats up with that. I cant see to type on it. Kind of sucks

* I guess i should be more specific. I know that the keyboard lights according to the display brightness. But even if i turn it all the way up, it doesnt light. I need it to...
[Droid 2 General] newk8600:
Sometimes if your keyboard/soft keys don't light up if you shut the screen of with the power button and then unlock it the lights will come back on. I've had this happen before it's just a little glitch
[Droid 2 General] JDunc:
What he said. Mine does this most after reboots. Just turn screen off and on and it should start working again.
[Android Q&A, Help & Troubleshooting] motorolaXT800user:
I was disappointed that CyanogenMod doesn't list my phone as supported.:(

I've searched this forum for any other custom ROMs for my Motorola XT800 and didn't see any specifically listed.:confused:

I've got 2.1 installed, and want to install a ROM with 2.2, but before I root my phone, I'd like to know what my options are for custom ROMs that I can use.

This is a dual SIM phone purchased in China that I use with China Mobile GSM and China Telecom CDMA. :D Awesome phone btw, except for not having the Android Market app installed and China Telecom's not releasing an update to FroYo yet...