yashsingh1/xdaforums huggingface dataset:
[Droid Eris Android Development] PillClinton:
Nice, I did the same thing. I tried leaving in a few of the other tweaks to see if I notice any difference (either way). If I start running into problems again, I'll check your version out.
[Droid Eris Android Development] computerfreek:
Nice I was testing with that also. I hope it all works out for you with your setup. I can make a flash .zip ver of each one to make it easy for others.

Thanks for testing this out. I hope DEV's just start rolling it in there roms.
[Droid Eris Android Development] Helmoot:
klobkelosh, sorry for the newbie question... how do i get to the init.d folder? and i tried deleting the extension in file manager with no luck
[Droid Eris Android Development] emiliobadillio:
That would be a huge help. Please make a flash! Thanks!
[Droid Eris Android Development] klobkelosh:
You'll need es explorer, root explorer, or similar file manger with root access and permissions. The init.d folder is in /system/etc/. The same programs will let you rename the file (or just do it on a computer with sd card mounted, but you'll still need a root manager to move it unless you do adb).
[Droid Eris Android Development] computerfreek:
Here is the flashable VER of klobkelosh 00no_ring_lag

http://dl.dropbox.com/u/17779317/00no_ring_lag.zip

MD5 http://dl.dropbox.com/u/17779317/00no_ring_lag.md5

Here is the Full org 00tweaks VER from OP. also flashable.

http://dl.dropbox.com/u/17779317/00tweaks.zip

MD5 http://dl.dropbox.com/u/17779317/00tweaks.md5

Hope this helps... I will also post this on the OP.
[Droid Eris Android Development] nvillian:
Just downloaded and tried this. So far it starts the ring tone after the 2nd ring consistently. Much better than it was before.
[Droid Eris Android Development] IndyRoadie:
Flashed this on an Eris running GinTazz ROM and it works GREAT. Thanks so much for this!
[Droid Eris Android Development] workshed:
nice work fellas!!
[Droid Eris Android Development] workshed:
Have any of you guys ran a logcat after installing this?

--------- beginning of /dev/log/main
I//system/xbin/run-parts( 58): run-parts: /system/etc/init.d/00No_Ring_Lag_plus exited with code 2
I/cm ( 64): Welcome to Android 2.3.5 / GSBv4.0-CyanogenMod-7.1.0-RC1-Eris

I keep getting that error, not sure, seems like a syntax error some where: like a "fi;" should be a "then" or something. I haven't been able to pin point it at all though.
[Droid Eris Android Development] klobkelosh:
Not me shed. There's some funky stuff in that tweaks file...I only used the ring lag portion briefly, it seemed to jack up my phone.
[Droid Eris Android Development] computerfreek:
I will look at the code on the plus one maybe it got messed up. I know on the OP one it was fine. I will check it tonight to see if i can fix it. You can also try the OP one or klobkelosh ver. klobkelosh ver is just the ringdelay stuff with no other stuff.
[Droid Eris Android Development] PillClinton:
Shed,

I never ran a logcat, but I had problems with this script as well. I tried using Klob's version instead, and that seemed to be ok. However, I think I ended up removing it anyway & sticking with the v6 Supercharger. I also made a change to the build.prop as suggested by CondemnedSoul in this post here.
[Droid Eris Android Development] workshed:
Well the no ring lag part is exactly the same and that's where it seems to bomb out, I tried all of them.

I've been messing with the ro's instead for less lag, seems to be working well.

Thanks guys!
[Droid Eris Android Development] computerfreek:
All fixed it seems even in the OP/script the file was just ending and not runing all commands. I will update the OP post with the new files plus a flash ver of it. It is runing without any errors.

Tested/Testing seems to make the dialer pop right up and incoming calls with screen on and caller ID within 2 rings every time.

Here is the fixed up code.

#!/system/bin/sh

MAX_PHONE() # remove lag when answering phone calls

pidphone=`pidof com.android.phone`;

if [ $pidphone ];

then

echo -17 > /proc/$pidphone/oom_adj; # exclude com.android.phone from oom-killer;

renice -20 $pidphone; # set highest nice level for com.android.phone;

log -p i -t ScreenState "*** MAX phone *** set oom_adj(-17) and nice(-20) for com.android.phone";

exit;

else

sleep 1;

MAX_PHONE;

# Background process to check screen state;

(while [ 1 ];

do

cat /sys/power/wait_for_fb_wake;

AWAKE_MODE;

cat /sys/power/wait_for_fb_sleep;

SLEEP_MODE;

then

# One-time process to optimize com.android.phone;

(while [ 1 ];

sleep 10;

MAX_PHONE;

; \ fi
[Droid Eris Android Development] klobkelosh:
I suspect that CS's ring delay tweak only shortens the OUTGOING ring delay, not the incoming delay. I also suspect that the klob no_ring_delay never actually did anything. It didn't do anything wrong, so I'll chalk it up to placebo.

Shed, glad to hear you are making some progress on GSB's delay. I'm testing Evervolv at the moment, but I'll put GSB 4 on the to-flash list.
[Droid Eris Android Development] workshed:
Ahh good point, and btw I haven't released what I'm testing yet, so you might want to wait to flash GSB if you're going to test the ring lag lol ;)
[Droid Eris Android Development] klobkelosh:
Did the ring lag fix make it into your new odex version?
[Droid Eris Android Development] workshed:
I left it out, leaving it up to the users to flash it if they so choose. Right now without it, it's pretty snappy, you should try the rom when you get a chance ;)

btw: if other people see this, I did state this in my changelog (2nd post in OP)
[Droid Eris Android Development] computerfreek:
Great I was thinking the same thing to just let users test it out and if it work it work if not they can always remove it. I will even make a remove patch and post it on the OP. BTW shed odex ver is working great so far I did not tweak it any yet. And it is working very good. I also seen that Changelog think on the other fourms thats just to funny there is something not right there I think it is just a fake user and he has a main account under a nother name. but maybe thats just me over thinking lol.

Well shed have a great day thanks.
[Droid Eris Android Development] workshed:
Yeah, that sounded like the better plan to me for now.

Glad to hear it! And you have a great day as well.
[Droid Eris Android Development] computerfreek:
Also doing

su

renice -20 pidof com.android.phone

Works Very well you can just test it from term. You can even add it to the userinit if you like.
[Droid Eris Android Development] PieceKeepr:
I cant get the no ring lag script to stick. I have tried every version and tried setting the file created in init.d to run as root and run at boot using script manager. I also noticed that running the basic script results in a syntax error.

Any idea? I don't know if it's the script or something I'm doing wrong.
[Droid Eris Android Development] computerfreek:
Just flash it from recovery and you will be ok it will copy the file to the right place and it will run on boot. you can download it from the OP. or you can download it unzipp it and copy and place the file in INIT.d and set the permissions to match the other files in that folder.

But flashing it is the easy way !!!
[Droid Eris Android Development] PieceKeepr:
Well I did that but the phone process shows a -12 value instead of -17 which it should be.
[Droid Eris Android Development] klobkelosh:
I think workshed was working on some of his own ring related tweaks that may be over riding this one. Not sure where his tweaks are located, but you might try moving the ring lag down in the init order by changing it's file name from 00tweaks to 99tweaks. Also make sure permissions are set properly (rwx--x--x I believe)
[Droid Eris Android Development] PieceKeepr:
No joy with renaming, playing with permissions or ownership. It just seems strange that the script itself gives a syntax error.
[Droid Eris Android Development] roirraW "edor" ehT:
I'm assuming you're using ODEXed GSB since 'shed was cautious enough not to include it in the ODEXed one for some reason? I don't have any point or help beyond that, I haven't even fooled with this script yet. I am using ODEXed GSB, however.
[Droid Eris Android Development] PieceKeepr:
Yes I am using the odexed version.
[Droid Eris Android Development] roirraW "edor" ehT:
I just flashed the flashable version, I'll see if it works in a bit when my girlfriend calls.
[Droid Eris Android Development] klobkelosh:
I've been running this for a week or so and, to be honest, i haven't noticed any change.
[Droid Eris Android Development] PieceKeepr:
From what I can tell it doesn't work on the Eris. The priority still shows as -12 and not -17 which would keep it in memory.

I use the V6 SuperCharger to bulletproof the phone app. The downside is you have to do it every boot but it's easy enough with a widget.
[General Topics] ShiningAce:
it seems like Europeans are in for the hit?!

http://www.samfirmware.com/apps/blog/show/8131533-apple-wants-to-ban-every-galaxy-and-tablet-
[General Topics] r34p3rex:
They mad because they can't compete :p
[General Topics] cheetah2k:
Don't stress. Apple A$$holes are up to no good again with photoshopping

http://www.pcworld.com/article/2384...accurate_evidence_in_samsung_patent_case.html
[General Topics] ShiningAce:
no stress. even if they manage to recall all galaxy, im too far away from europe :P
[General Topics] Hunteres:
apple forgot who is making the chipsets for them!! (samsung)

retards
[General Topics] xlfate:
They're just killing themselves in the process idiots -.-

Sent by Singapore's Samsung Galaxy S II
[General Topics] Albinoni:
I really think that Apple is slowly digging its own grave, cant wait for Android to destroy Apple and its pathetic fanboys, give it anotheer 6months to 1 yr and I am 100% sure Android sales will kill it, cant wait.
[General Topics] eukaryote:
If you want the definition of a desperate last ditched attack before going down, I suppose this is it.
[General Topics] Jesmicael:
lol apple.
[General Topics] GIR:
Not anymore, TSMC is making them now. And I'm pretty sure the chip production is backed up with solid contracts to that's a completely different matter all together.
[General Topics] rudolf895:
screw apple! the more they do this, The more people will hate them.

Let them dig their own grave.
[General Topics] ocaldini:
what don't kill us make we more strong!
[General Topics] THUDUK:
Blimey you think with all the money apple have they would have employed a decent photoshoper, bit like saying yer judge it was a 6ft fat guy in a raindeer suit, when really it was a short guy in a penguin costume.
[General Topics] nicholadia:
I prefer samsung than iphone
[General Topics] haghdk:
But now HTC is suing apple and wants to ban iPod, iPad and Mac products in the US.

http://beep.tv2.dk/entry.php/id-407686.html (danish)

I love HTC!!

If Apple continue their stupidity they will end up suing dictionary editors and publisher because their books contain the word Apple.
[General Topics] a67543210:
I've seen IOS 5 beta.it's still IOS4, but with extra features that have been copied from android.I understand the more reasons why apple wants android dead.Given that 2 things make up a phone,

1) hardware

2) software.

iOS5 is basically the same old OS but with copied extras, so, what's actually left to see, is what the iphone 5 will offer on the hardware front.With the aggressive design of the SG2 and the violent reaction of apple,I suspect the iphone 5 will have less to offer.Chinese companies producing the iphone 5 casing show that it is the same as the iphone 4, with the screen size increased to 4 inch, from 3.5.the screen is now from edge to edge.If that's the case, then apple really should worry and that's one of the reasons for seeking injunctions barring superior hardware.

It's shameful how they worked out those photos presented in court.I'm sure it was deliberate.apple has professionals in photoshop and the modifications go beyond exacting the phone sizes to look similar.look at the black colour tones, black background.A lot of colour blending has been used to maximize the visual impact of similarity.they switched off the back and menu lights.They used SG2 app drawer instead of it's home screen.SG2 does not default to the drawer.The phones CANNOT be forced into a mode to reflect similarity.Also, black on the SG2 is pure black, but on the iphone 4, it's washed. The iphone 4 had a logo on the back.SG2 has samsung.It's crazy how fast apple will cheat to achieve it's objectives.
[General Topics] Shinydude100:
It may just be that I'm seeing heavy adverts due to the close release of the Iphone 5, I just recently subscribed to two diff Magazines an nearly all of them had an Iphone 4 Ad somewhere in the Magazine and as the backcover. -_-
[General Topics] rudolf895:
GO HTC! we all support you :D

Android FTW!
[General Topics] a67543210:
It doesn't matter how many lawsuits are existing.it matters who wins first.If apple forces them out of the market first, iphone stands out as the best phone for the next one to two years.By then, even if HTC wins, most people will have a iphone and HTC sales will be so poor it can hardly make a dent.Think of how long nokia was king for.Everyone wanted a nokia phone.Samsung and the like had less than 2% of market share.

The ONLY way out is, if Apple refuses to license their IP(intellectual property) in the event they win, samsung should not license their IP too. This will force apple to stop all world shipments until they design phones without some 3G and other such mobile patents Samsung holds.

Now imagine a phone without vital phone hardware functionality.This will have a greater damage on apple than any software or hardware design patents they claim had been infringed.in essence, it will shut down apple.No suit at present has the potential to shut down android.The main battle now is for market share sure to the expediting vacuum with nokia going down, hp quitting etc.

In the tech industry, most companies have always sought for royalties on infringing patents, but I tell you, apple is NOT interested in that.They are ready to shut down Samsung or anyone.It serves them better to make the money alone, without the headache of competition, than receiving royalties from competitors.

That's why the ONLY option is for Samsung or anyone to be drastic and shut them down when their opportunity shows up, even if it's in 2 years.The whole ecosystem will come tumbling.apple will offer ridiculous amounts of money in excess of $1 billion, just to stay in business.yet, Samsung will have not to agree this temporal joy, so they can in tend shut down apple until they make phones without phone hardwares necessary for a phone to work, because Samsung has some of those patents
[General Topics] JupiterdroidXDA:
Its nice to see Apple running scared from a device Jobs said was just a 'porn' viewer. Suck it up jobs, your going down!

Sent from my Samsung Galactic Superstar S II
[General Topics] downwiththebanksters:
Go cancer go!

As a life long conspiracy nut, I see apple's fingerprints (Ruby plus the ghosts of Hewlett and Packard not wanting to be in hardware) on the demise of WebOS. The plutocrats and oligopolists loathe competition, especially if not controlled by their friends in the dying empire. I sport a woody thinking about what WebOS would be like on my 32SGS2, but that would disturb the status quo too much. When a company, apple, has more cash on hand than the US government (sans helicopter Ben and his (HP?) printer) it has simply gotten too big for it's britches. More importantly it has become yet another source of censorship, propaganda, and destroyer of liberty...not in the Koch Brothers teabagger(TM) sense, but in Jefferson and Adam's sense.

Oh and Motoroogle/Googarola can have the same accusations leveled against it, but it still hews more to open source than apple (whos kernel is Free BSD).
[General Topics] Aymara:
Apple shows proof of total incompetence in two ways:

1. International rights / laws

2. Enterprise management

Regarding point 1 they should have learned their lesson from the german lawsuit. Instead of making the same mistake in the Netherlands again, they should have opened a lawsuit at the European court in Brussels, which is the only court responsible for the whole EU.

Regarding point 2 they should better invest these $$$ in development, because the winner will be the most secure OS, that makes it's way into the Enterprise evironment. Currently that's still Blackberry. If Apple should succeed in weakening Android they will only strengthen Microsoft, because Windows 8 will be the most suitable Enterprise OS ... only one keyword: multiple user support! These idiots should keep in mind, that we not only need a smartphone OS, but a tablet OS too. And if we look at the Asus Transformer and the Motorola Atrix we see the trend of the future ... mobile devices replacing desktop PCs with the help of Citrix and other virtualisation techniques.

By by Apple, you're digging your own grave !!!
[General Topics] andrewbowes:
I didnt buy a Galaxy S2 because it allegedly looks like an iphone, i bought it because it was the best phone out there.
[General Topics] sunseaker:
This sort of thing really prevents innovation and forces consumers into thinking there is only one to do anything.

I agree with a67543210, Samsung should start filing suits against Apple for any Samsung patents and tech that Apple use in their products. The problem is Samsung probably agreed to license those patents to Apple.

I can't see how any judge can rule in Apple's favour. Does that mean a manufacturer can no longer make a black phone with a single button, or a phone of the size of the iPhone, or an OS with square icons or package it in a black box? It's rediculous. Apple were not the first to have a touch screen device and not the first to have icons on a phone.

This BS about the Galaxy S being almost the same size as an iPhone is dumb. Samsung should counter sue for the iPhone 5 having a 4" screen and coping the Galaxy S.

There is no way Apple can stop Android and now with Google's purchase of Motorola' phone business the steam roller is on it's way...

Samsung should now be looking for allies putting together a mega law suit against Apple for any patents that have been infringed.

With all the talk of IOS5 "borrowing" ideas from Android and pretending they invented them, Google should slap Apple with a few law suits. I give Apple credit that they have come up with some innovative ideas and really kick started the smartphone market but they have all too often stolen ideas and made them their own. It goes back to the very start when they ripped Xerox off.

Interesting that only Europe is affected. I believe the Galaxy S and S2 have slightly different hardware in the US, i.e. they don't have the single home button but the four soft keys typical to Android. Is this because Samsung was already aware of the patent issues with Apple in that market? Samsung should just role out those versions in Europe to get around the problem.

My only worry is if Apple get their way (which I still doubt they will) and all Galaxies are recalled does that mean we have to give them back? Also if we don't, all support for them will stop from Samsung at least.

Samsung is far bigger than Apple, it's just a case of how much mussle the want to flex and how far they want to go with retaliating.
[General Topics] m2smoe:
I can't wait for the Samsung/Google partnership to be in effect. When YouTube is completely banned from Apple products, we will see who gets the last laugh :)
[General Topics] rockky:
I love Android....would never go back to the IPhone.

I loved the IPhone and Apple. Still do. They exposed the Smartphone to the masses. It's userface elegance has still never been matched. Great product.

If you were the CEO of Apple you'd likely be doing the same thing. Gotta protect your own

(or what you think is your own). Is what it is.
[General Topics] SHVARZ:
I hate Apple for such a dirty fight. Android still can not keep...
[General Topics] rab1412000:
'if you can't innovate, litigate. '

Apple is the very definition of big brother economics, and with only 4 product lines and an overbloated market cap, it is also the very definition of a tech bubble ready to burst.

Steve Jobs has seen the future, and it's spelled ANDROID.
[General Topics] laxwillsch:
What I don't understand is why they have to sue for complete blockage of sale. Only apple would do that instead of asking for royalties. It is either their way or no way. I can't believe people still buy anything from those evil bastards.
[General Topics] DaWongOne:
I own a Samsung Infuse and my wife an I-phone 4. The infuse is faster on the net, screen looks better and bigger because it is!! The only difference is that companies still insist on making apps for apple but what they don't realize is that they are wasting money on an os that is standing still in time. Android and even windows 8 is trying and succeding in bettering their OS. Basically apple is sailing a sinking ship. Good luck Crapple!!.

Did I mention how great the Infuse is and it's not even the best Samsung phone!!!!! and it's better than the I-phone 4 and probably 5
[General Topics] fred_up:
Apple sells all their equipment (phone, table, music players, laptops & desktop) at a premium price. Thus big profits.

If the competition bring out equipment that matches (not copies) or beats it, then Apple have only a few options: stop the competition, out perform the competition or cut their prices.

They wont cut their prices, as the ones who fall for the sales talk expect to pay extra for the brand label.

They have tried to stop the competition but it is a dangerous ploy. It makes Apple look the bad guy and others will respond back (and you really don't want enemies of Samsung, LG, HTC, Microsoft, Google, etc).

They could always try and out spec others. The problem with that is that brand loyalty will fade if you bring out a new iphone every 6 months, just to keep a lead over the competition.
[General Topics] ph00ny:
TSMC is not making them yet. They supposedly just did a test yield on A6. If they get low yield rate from the fab then they may not have a choice but to fall back on samsung LOL
[General Topics] ph00ny:
I don't.

HTC bought S3 specifically to fight apple in the courtroom instead of using the patents to bring out better products. I don't know how that's different than what apple is doing with everyone else. I would rather see these companies forgo the courtroom battles and fight where it matters the most.
[General Topics] Aymara:
Definitely not. Instead of waisting money for lawsuits, that I will very likely loose, I would spend that money for further development.

I would implement e.g. multi user support to get my product into the enterprises, where this feature is a must.

Both Apple and Android need this feature or Windows 8 will be the winner in the tablet market next year!

The more Apple and Google fight against each other, the more likely Microsoft will be the laughing winner.