yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] dikabuzz9447:
i got the same command also, is this mean im success applying the NOOP?
[Hero, G2 Touch Android Development] rdejager:
I think you are. Will test this when at work. Looks nice.
[Hero, G2 Touch Android Development] IakobosJ:
You need to apply this and then run that command again, as long as noop is enclosed with the brackets [] then it means you are using NOOP.

The scheduler with the [] is the one that is running.
[Hero, G2 Touch Android Development] dikabuzz9447:
thanx, i've check again and i got this

[noop] deadline bfq
[noop] deadline bfq
[noop] deadline bfq
[noop] deadline bfq
[noop] deadline bfq
[noop] deadline bfq
[noop] deadline bfq

this mean i was success didnt i.
[Hero, G2 Touch Android Development] treesurf:
I did this by using Root Explorer to move the script file to /system/etc/init.d/ and then used the Terminal Emulator to:

su
chmod 655 /system/etc/init.d/11iosched
sh /system/etc/init.d/11iosched
[Hero, G2 Touch Android Development] MaXo64:
yes. now noop is is used..
[Hero, G2 Touch Android Development] treesurf:
Question: How to revert to the default (in my case, deadline) scheduler? Will deleting the script and rebooting do this?
[Hero, G2 Touch Android Development] MaXo64:
yes. it will..
[Hero, G2 Touch Android Development] :
You need something like this :-)
[Hero, G2 Touch Android Development] jaikat:
@maxo64

i'm using your Fallah1.4 rom also, and i'v applied the patch, seems a bit faster im not sure though...i'm planning on testing it for a couple of days..

on a different note, i know you stopped work on your Fallah1.4 rom, but i suppose you might be interested to know that i found a fixed rosie.apk, basically it makes it run smoother, noticeably. it was made for villainrom 4 which was based on legend. anyway after some playing around with it i managed to make it work without hickups for Fallah1.4, and the results were great. i also flashed flykernel 11c and set the cpu freqs to 710min-710max using the performance governor, crazy i know but it runs pretty well i must say, and i'm using it without any problems, even battery life is quite reasonable(over a day with above moderate usage) ...

now my question is this, did you manage to find a way to fix the backlight for the physical buttons?
[Hero, G2 Touch Android Development] MaXo64:
about the Rosie, if you tested it and it works please DM me ASAP.

and about the buttons lights, unfortunately I don't know my way in the ramdisk init.rc. I was hoping for other developers collaboration though, since it's the only Arabic enabled Sense ROM .. :(
[Hero, G2 Touch Android Development] jaikat:
here's that rosie link

http://www.mediafire.com/?6ft0u918ct9fljd
[Hero, G2 Touch Android Development] treesurf:
I've been using the NOOP scheduler for a day now, and to be honest I can't really tell much of a difference. I'm running Cronos GB 1.1 PE.
[Hero, G2 Touch Android Development] CSL00:
I've used this for a few days now and it improved my htc hero responsiveness in every aspect but it refuses to stay set (after every reboot I have to set it again). Using froydvillain 1.7.2 with flykernel 12a and opengl 1.1 tweak.

edit: Same issue on CM7 nighty 17 and 21.
[Hero, G2 Touch Android Development] uizz:
I really don't know how to make the script run on boot...after reboot settings are lost
[Hero, G2 Touch Android Development] jaikat:
my experience went bad with this mod, although i get better response from my Hero i also get a crazy battery drain, i went to bed the other night with the battery on about 80% or 70%, woke up 6 hours later to find the phone had shut itself down because the battery was empty..

the same happened again during the day, i lost 90% in less than 6 hours... yes my little kid played some games but that never happened when i wasn't using the mod.. but i guess i overclock the phone too much (min614 max710 performance governor), still the battery drain doesn't happen when i'm not using the mod..

also, the mod doesn't stick, setting is lost upon reboot. which is not so convenient if you ask me..
[Hero, G2 Touch Android Development] rdejager:
The performance govener always sticks on the max you set up so your phone is always at 710. Not nice to the battery indeed. you got a sleep profile set up?

and what rom/kernel are you using? cuss performance is not persee the best govener for performance XD ok that sounds dull. Well cuss it doesnt stick at reboot I am not going to use this. I dont want to set it back up all the time again and again.

EDIT: and aperently My kernel I am using is doing this kernel based so no need to set it up. I believe most kernels now a days do this. So this mod is needed on older roms, if you want it a little faster.
[Hero, G2 Touch Android Development] riemervdzee:
Every kernel uses a default IO scheduler. From default this is CFQ in google source, while CM uses BFQ more often. Other kernel-builders could use different ones ofc.

This script overrides the current IO scheduler it should use. Just like the kernel defines which cpu frequencies it should use, and governor. Untill SetCPU kicks in for example
[Hero, G2 Touch Android Development] rdejager:
Ok thanks for the clarification. I thought I read somewhere that some kernels do it themselfs. that are avalable for the hero.
[Hero, G2 Touch Android Development] jaikat:
i'm using a rom called fallah ver.1.4, flykernel 11c, and no sleep profile. i'm satisfied with both performance and battery life, i'm getting over a day's worth now with above avarage usage. current speed is set at min528 max710.

you say that using the performance governor means staying at max all the time, but i can't say i agree, cause to me setting the min to (for example) 176 makes the phone a little less responsive than setting it to 528 while in both cases having the max set to 710.

maybe i'm wrong, maybe i'm right, but i'm satisfied with these settings..
[Hero, G2 Touch Android Development] rdejager:
Ok weird, well if I use setCPU and look at it, then well it is at my max all the time so weird.
[Hero, G2 Touch Android Development] J.K Nilsson:
I've modified the script to work with Tasty Ginger 2.0. Shall I post in that thread as well? I don't know if the script needs changes do work with all Ginger ROM:s.

J.K Nilsson
[Hero, G2 Touch Android Development] robocik:
Would be nice to see a BFQ and VR benchmark too :)

nice thread!
[Hero, G2 Touch Android Development] jaikat:
the question remains ..

how can we get the script to autostart on boot?!
[Hero, G2 Touch Android Development] J.K Nilsson:
"My" version autostarts for me.

J.K Nilsson
[Hero, G2 Touch Android Development] robocik:
if your rom has support for init.d scripts then you can make a text file (use notpad++ or linux) name it eg. 666scheduling

put this into it

# I/O Scheduling

echo noop > /sys/block/mmcblk0/queue/scheduler
echo noop > /sys/block/mtdblock0/queue/scheduler
echo noop > /sys/block/mtdblock1/queue/scheduler
echo noop > /sys/block/mtdblock2/queue/scheduler
echo noop > /sys/block/mtdblock3/queue/scheduler
echo noop > /sys/block/mtdblock4/queue/scheduler
echo noop > /sys/block/mtdblock5/queue/scheduler

put it into your rom.zip and flash ;)

if you choose to directly push it to your phone:

push the script to /system/etc/init.d/

then you have to make the script executable, like this

adb shell chmod 755 /system/etc/init.d/666scheduling

that should work ;)
[Hero, G2 Touch Android Development] jaikat:
is "your" version usable on other roms besides gingerbread based roms?
[Hero, G2 Touch Android Development] J.K Nilsson:
Try it, I only changed path to the bourne shell.

J.K Nilsson
[Hero, G2 Touch Android Development] jaikat:
will do, thanks.
[Hero, G2 Touch Android Development] uizz:
To do this I have to execute "adb remount" (don't ask me why but it works lol) otherwise it gives me a "read-only file system" error

But then after reboot it still doesn't work :(
[Hero, G2 Touch Android Development] robocik:
yeah forgot about remounting ;)

is your kernel supporting that you want to change?

is there a different script there interfering?

did you named the file 666scheduling ? maybe try a lower number hehe try 6, just check if the number is not taken already, there cant be two scripts with the same number.
[Hero, G2 Touch Android Development] uizz:
i think it's due to my rom/kernel which doesn't support additional scripts in init.d...i also found an app called "autostart" which is supposed to launch one custom script (/data/opt/autostart.sh) but it doesn't work either...

for now I saved the script with GScript and launch it when I have several apps to update (I found the process faster with the trick)
[Hero, G2 Touch Android Development] fkirac:
make sure the 11iosched scripts shebang line (the one starting with #!) is

#!/system/bin/sh

instead of

#!/bin/sh

and try again if it sticks this time.
[Hero, G2 Touch Android Development] uizz:
it didn't worked...thanks anyway
[Hero, G2 Touch Android Development] fkirac:
Well in my case I used below lines also in /system/etc/init.d folder

chmod 750 11iosched

chown root.shell 11iosched

after these try

./11iosched

instead of

sh 11iosched

if it runs correctly without saying anything most probably it will work in the next reboot.
[Hero, G2 Touch Android Development] uizz:
it worked!!^^ thank you very much
[Galaxy S I9000 Android Development] xan:
Is your device changing its orientation to landscape way too quick?

If the answer is yes, read up, here is the solution.

I hate Froyo autorotation on Galaxy S.

It turns into landscape way too quick, even when I'm picking the device from the table.

Since there was no reaction from Samsung, I decided to fix this for them.

This involves decompiling framework.jar file, editing file:

android\view\WindowOrientationListener$SensorEventListenerImpl.smali

I attached a modified file. I dont exactly know what changes there are, I modified some values at random :D

For devs:

To be more serious, I decompiled SGS JS3 framework.jar and replaced WindowOrientationListener$SensorEventListenerImpl.smali from DesireHD's eViL-NXSense-HD-v.1.1_BETA (random pick). Having the right implementation of sensor listener i started to tweak it, changing some values.

If you want to tweak it further to your needs, focus on MAX_TRANSITION_TILT, MAX_TILT, PARTIAL_TILT constants.

(forgot to add) For a full reference: http://hi-android.info/src/android/view/WindowOrientationListener.java.html

Three files are attached to this post:

[rotation-fix]modified_JSX-CWM.zip - clockworkmod packages with fixed framework.jar, this is what an user needs :)

First boot after the update may take up to 5 minutes!

I do seem to have random errors due to firmware fragmentation. If you are a regular user and want this fix, you should rather ask your ROM developer for implementing it in his ROM, because at current state I cant guarantee if its compatible with ANY custom configuration.

auto_rotation_devs.7z original and recompiled framework.jar files form JS3/5 as well as original and patched smali.

//edit: lol accidently voted for front page :P Just a blind click sorry :)

On a second thought this might be interesting for more than SGS people, so maybe accident was not so bad.
[Galaxy S I9000 Android Development] astralmaze05:
let me try :)
[Galaxy S I9000 Android Development] astralmaze05:
not working for me
[Galaxy S I9000 Android Development] xan:
You mean? Bootloop/no changes?

I need some feedback;

Is this working for you?

Do you like it?

It might be slipstreamed into all current ROMS, you just need to encourage ROM developers to do so :)
[Galaxy S I9000 Android Development] astralmaze05:
it didnt work at all nothing has change :(
[Galaxy S I9000 Android Development] xan:
Sec gotta check update.zip :P

Was ina hurry yesterday.

Ok the update.zip was borked, replacing.
[Galaxy S I9000 Android Development] sathiere:
Hi xan. Good stuff, definitely an improvement over the factory settings.

Thanks for this. Flashing via CWM went flawless.
[Galaxy S I9000 Android Development] xan:
thanks, I appreciate your feedback :-)
[Galaxy S I9000 Android Development] hpowered:
Same fix but on JS5

Hello.

Is there any chance to do same but on the JS5 framework?.

Thanks.
[Galaxy S I9000 Android Development] xan:
Sure, will upload patched JS5 framework in few hours.
[Galaxy S I9000 Android Development] hpowered:
Thanks, that will be great, because i hate too the auto rotation on froyo and this is what i was looking for.
[Galaxy S I9000 Android Development] pinpong:
great work

it a little more quickly,

Unfortunately, not as fancy-rotation

keep it up
[Galaxy S I9000 Android Development] bunnyguard:
It doesn't function at my SGS :mad:

Now my rotation doesn't work at all...
[Galaxy S I9000 Android Development] xan:
Try harder ;p

JS5 version up.
[Galaxy S I9000 Android Development] fuzijacz:
How about a revert back zip if something goes wrong?

I am on JS3, so I should use auto_rotation-FIX-CWM.zip or auto_rotation-FIX-JS5-CWM.zip

Thanks, Froyo's autorotation is pain in the ass.

Look forward to your answer.

Thanks.
[Galaxy S I9000 Android Development] xan:
Both should work, according to my tests. auto_rotation-FIX-CWM.zip or auto_rotation-FIX-JS5-CWM.zip

If you are familiar with adb, just adb pull /system/framework/framework.jar

I doubt it wont work.. Anyway will look into it.
[Galaxy S I9000 Android Development] shaarky:
Is it working on JPY too ?
[Galaxy S I9000 Android Development] xan:
99% its not.
[Galaxy S I9000 Android Development] htcgr:
does it work ok for js5....??? can i restore the previous WITH the original...???
[Galaxy S I9000 Android Development] fuzijacz:
ok, I tried your fix, works fine, but one thing, and that is that mine volulme controls are absolutely messed up :-D

for example, when I click on a side to increase/decrease ringer volume, it says Playing via Bluetooth instead of Ringer Volume, or instead of Media Volume it says Silent Ringtone, etc...

It's quite messed up, I saved my framework.jar before flashing so I am back on my original.

I have JS3 ROM Darky's 9.2.

Any idea what could be the problem?
[Galaxy S I9000 Android Development] rickylcp:
Thanks Xan! It works very well!

You solved what is long bothering me. Now I have to tilt the phone more than 45 degree to get it rotated. Good job!!!

I am on Doc's JS5 with R64 theme.

A simple, question.

If I want to switch theme, should I flash the theme and then reboot. And then flash your zip again? Or can I just replace some file in the theme.zip before flashing will do the same job?
[Galaxy S I9000 Android Development] xan:
As it turned out modifications in framework can have very unpredictable effects.

It depends on the theme, however It should work this way.

You can always ask your themer to include this mod in his framework (5 min job), I bet he will love it :)
[Galaxy S I9000 Android Development] chudy34:
Ok idea is cool but on Darkyy 9.3b1 is FC on Extended Power Menu :)

Darky is js5 and i use this version maybe You have ane idea?
[Galaxy S I9000 Android Development] xan:
If you attach darky's framework.jar I can mod it and publish for roms with extended power menus.
[Galaxy S I9000 Android Development] fuzijacz:
can you just briefly explain what files need to be moded and with which lines and I will do it myself, as I am switching ROMs and Themes quite often :-)
[Galaxy S I9000 Android Development] xan:
Just download: auto_rotation_devs.7z

decompile your framework.jar,

take the two files from "rotation-patch-smali" folder and paste them in "[patch-to-decompiled-framework]android/view" folder.
[Galaxy S I9000 Android Development] kasper_h:
I made a version for my phone: Doc JS5 (9.6.6) with NeonGT 2.5 Theme. I decompiled the framework.jar from my phone, added the two smali-files from the post above and recompiled the framework.jar.

Attached is the 7zip file which only contains the framework.jar (so don't flash with CWM, just copy with root explorer to /system/framework or push with ABD).

>>NO GUARANTEE: IT WORKS ON MY PHONE, I DIDN'T CHECK IT ON YOURS<<
[Galaxy S I9000 Android Development] pauldiddy:
which file is responsible for the text "auto-rotation" shown on the quicklaunchbar?I want to change it to "rotation".thanks in advance.

EDIT:

never mind.got it.it's in twframework in res/values in strings.xml
[EVO 4G General] titans10:
I recently have been playing alot of PES11 and about 10 minutes in, my phone heats up to around 106 degrees. After a couple games I let it cool of because I am scared I will fry my phone. Is 100+ degrees hot enought to do damage to my phone? Any insight would be much appreciated!

I am using Myn's Warm 2.2 RLS 5 with Netarchy kernel.
[EVO 4G General] elegantai:
The battery danger zone is 60 deg C +, while most electronic components can exceed that temp. As long as it is not getting too much over 50 deg C, you are all good

(50 deg C = 122 F)
[EVO 4G General] titans10:
I havent managed to get it that hot yet... sounds like I am good to go. Thanks much good sir!
[EVO 4G General] tech7:
mine at 117f is that bad im tethering atm of wifi hack
[EVO 4G General] elegantai:
Again, your battery is safe below 140 deg F so once it goes above 122-131 def f (50-55 deg C), then I would let it cool off.

A good idea if its getting to hot, is to make sure the screen is face down so it can ventilate. Don't leave it face up on the bed or anything as that can help heat build up
[EVO 4G General] tech7:
Cool thanks for the tip
[EVO 4G General] K-Driod:
Recently my battery stop working and it use to get pretty hot....think I fried the thing....took it to sprint and was told to purchase the extended one for 60 bucks..... no way I would pay that much.... found one on amazon for 11 bucks....well an OEM standard battery... works so far but still gets hot...think I'm going to buy at least 4 more just in case.... I do use USB tethering alot so mabe that did it...

Sent from my Supersonic EVO Using 4G Speeds
[EVO 4G General] phatmanxxl:
Sometimes mine would just randomly get hot (real hot) while charging, and the light will start flashing from orange to green, I assume its a warning light and the phone wont charge until its cooled off. Even across multiple ROMs and kernels, I never figured out why it does it.
[EVO 4G General] titans10:
phatmanxxl do you know what temperature your phone was getting up to? I use system widget to see what temperature my phone is at. Ive never seen or heard of the notification light flashing
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] susmani:
I looked through as many posts as I could but maybe I'm not doing it right.

I flashed the android 2.2 ROM on my HTC HD2 from O2 but now I need to go back to windows 6.5 which was originally there. I dont have the official ROM and I would be very thankful if someone could send me the correct link to how to do it or how to get the official ROM.

Just a reminder I have an O2 HTC HD 2

Thanks to anyone and everyone who helps !
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] samsamuel:
you didnt say which country, so i will assume UK.

first, run hspl.exe (the one you used when you installed hspl) but this time choose 2.08.0000

then

get 1.72 from htc website

http://www.htc.com/uk/SupportDownload.aspx?p_id=297&cat=2&dl_id=960

phone into bootloader, connect usb, run the 1.72 rom.exe

If you didnt mean UK, go to teh htc website, choose your country, choose your phone, click support, downloads, change the dropdown from 'all' to 'rom updates', find teh one that says o2 and use that.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] susmani:
thanku

thanks bruv ... ill look into it !
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] susmani:
i still have an issue that the phone keeps restarting or gets stuck in a while !
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] samsamuel:
There's a 3.14 rom, you could try that, but it could also be faulty....
[Galaxy 3 General] ibr4him:
Hi,

So I just successfully installed JP9 firmware and I have Froyo running perfectly on my Galaxy 3, but there are several Orange apps pre-installed which I want to get rid of + the ugly TouchWiz UI.

So first I'd like to know how to root G3 and then get rid of these two things.

Many thanks for your help.
[Galaxy 3 General] i_rnb:
try titanium backup... it can remove any system file..
[Galaxy 3 General] Thom47:
Absolute system root is what I used for the exact same thing. To bad you'll have to "pay" for it.

You could also try doing it via adb but for some reason that rom didn't have read\write capability.

Oh and whatever software you use, don't delete oranges home screen selector. For some reason the rom wouldn't launch for me after that.

Oh2 and be sure to have alternative launcher installed before removing any launchers..
[Galaxy 3 General] disconsolate:
Orange ROM is restricted to the user and applications. My suggestion is to upgrade to a much faster ROM of Froyo, that is precooked. This will remove your Orange branding on the phone (i.e. debrand it) and will mean you can remove any unnecessary applications still on the phne). In it's current state, because it's Orange's Firmware, there's not a lot you can do to it.
[Galaxy 3 General] wilfmoralee:
I'm Orange branded, used z4root, and Super Manager to remove the Orange crap all apart from homescreen selector. I removed Layar and Thinkfree Office too as never used. Left TW on just in case want in the future so don't know if that would break it but the rest is now gone for good and I have 20mb more phone storage :)
[Galaxy 3 General] stubborn_d0nkey:
id suggest keeping touchwiz as a backup launcher expecially if you are using a third party launcher
[Galaxy 3 General] kulparsan:
you can get rid of touchwiz by installing launchers like laucher,adw,golauncher etc .

or use this awesome theme: http://xdaforums.com/showthread.php?t=1149113

:D..
[Galaxy 3 General] sephirothmk:
When i got my phone i immediately installed Kyrillos 5.7 so I have no idea how TouchWiz works. Is it that much worse than other launchers that everyone wants it gone?
[Galaxy 3 General] mikelete:
Already answered on another thread: http://xdaforums.com/showthread.php?p=17323708#post17323708

;)
[HD2 General] yeahman45:
how's games performance on hd2 android as compared to desire? is it the same or more lag? just saw a vid of rafdroid hd 3 on hd2 and seems to have some lag while playing asphalt 5 hd
[HD2 General] yeahman45:
watched more vids here

http://www.youtube.com/watch?v=68BYOr6dSAs

yup seems it's lagging... is it normal?? or it depends on the android rom u r using.. are there lags on sd android roms?
[HD2 General] Dende2k2:
yeah there is more lag if ur running a sd android rom compared to a nand android rom
[HD2 General] zarathustrax:
I would say performance is the same with recent SD builds as with NAND builds. I've used both NAND and SD builds extensively... it depends a lot on the build. I guess it may depend on what SD card you're using too, but actually most high quality SD cards have faster read and write speeds than the NAND that the HD2 has... random access speed on good SD cards are as good as the HD2's NAND.

Desire HD builds may run a little better on NAND, but not by much if at all. AOSP and CM builds definitely run the same on both, though.

To the OP.... game performance will depend on what build you're using, but from my experience it seems to run games almost as good as a Desire. Desire may run a little better... depends on if it's running stock or if it's tweaked for performance. My friend has a desire that's tweaked and runs much better than any HD2 I've ever seen. But the HD2 can usually match a stock desire in performance.
[HD2 General] yeahman45:
thx for the replies. Are there overclocked roms on hd2 to boost performance?
[HD2 General] Kov3nant:
There are overclocked roms that boost your cpu speed up to 1.5ghz. No need tho. I have mine running at 900mhz and save a little battery. All my games run smooth. I got a stock desire hd rom on nand. My co-worker has the normal desire and his phone lags and hangs constantly. His is 100% stock from o2 germany.
[HD2 General] Kov3nant:
Oh and if you want an easy way to keep an eye on your specs and how your phone is running, there's a free app called Elixir. It's simple monitoring software, but it shows you EVERYTHING.