yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] sino8r:
No worries, not at all... that guy that stole my work made me a bit defensive today, that's all, lol! i was just being a bit sarcastic... I wasn't upset at all. (at you) Thanks for the backup though! I misinterpreted it...
[G2 and Desire Z Android Development] tnpapadakos:
cool cool .
[G2 and Desire Z Android Development] sino8r:
Try this out and let me know... Just extract the services.jar from the zip and push via adb. It's a new idea given to us by damp12000. It makes sense so hopefully it will work
[G2 and Desire Z Android Development] simms22:
there is a folder in the /data/system/ folder called throttle. its there for some reason. last month while i was throttled i tried playing with this folder. first i tried deleting it, and my data speed improved(to my normal speed). but after about 10 minutes, the folder reappeared. i deleted the 1936... file and my speeds improved again. then the file reappeared. i tried renaming everything, and a new throttle folder appeared. i tried editing the file, and a new file appeared. lastly, i changed the permissions of the folder/file, and that threw me into bootloops. i think that the folder it is controlled by tmobile, through the phones imei number, via data that gets sent to your phone. kind of like them turning on the file when you reach your limit. if you prevent tmobile accessing those files, i think you can go around the throttle.

lastly, like i said before, every month i get throttled and every month i go around the throttling by turning 2G on, letting it connect, then turning 3G back on. maybe its a bug in tmobiles system that thinks you are using edge. but oddly, it only works with a Nexus One(i havent tried it with a MT4G yet).
[G2 and Desire Z Android Development] sino8r:
Yeah, we knew about this one already and since it so temporary... didn't use it much. The only more solid method is to edit the services.jar or to use an alternate apn. The alternate apn can be set up easily. I posted instructions a few pages back. The services.jar can be edited with smali and adb. Intructions on that are on the first page. Good luck!
[G2 and Desire Z Android Development] shadowofzeus:
The 2G trick works on the G2 also. I couldn't get it to work on the MyTouch Slide though.
[G2 and Desire Z Android Development] djmcnz:
I realise you didn't like the implication of the post above but I feel there is one valid assumption to be qualified...

Does this mod assume that there is client-side throttling enabled only?

i.e. that the carrier asks your phone to throttle and the phone follows the instruction if possible?

If so, this seems rather unlikely although I concede it may be implemented like this by some carriers. It would give carriers insufficient control and they're control freaks. It is highly improbable that they would rely on the vagrancies of multiple handsets to maintain "quality control" on their networks.

If it does work like this then I suspect there's a multi-level solution in play, the carrier asks the phone to comply first (because it's probably cheaper) but ultimately they'll have to fall back to network throttling. This may explain some of the variable results people are receiving... perhaps T-Mo's network throttling isn't up to spec at the moment and can't keep up?

It would be a unique and exceptional circumstance for the carriers to depend on the handset in a situation like this.

Credit where credit is due though, it seems that this is at least temporary relief for many people.

Comments?

PS - I work in Internet and Data services for one of the world's largest carriers... not just in IT... ;)
[G2 and Desire Z Android Development] cyberjam:
You did completely misinterpret me too. Since I am not a developer, I just wanted to know what makes this patch of yours tick...

And do you really need to see my resume?! I have worked in various IT fields, thus mentioning general IT - been managing networks, while working for National Science Academy and ISP since EARN (BITNET), BBS and dial-up times, A+ certification was not even developed yet, dealt a lot with various hardware/os/software, went on consulting, back to basic sysadmin, now I own a small IT business here in US. That is not the point anyway...

I know how the networking side works, I wanted to know more about your work, I am not saying that you are wrong, read my questions again and please do not get defensive, just please share your knowledge and let others do the same!!!

Thanks,

-CJ
[G2 and Desire Z Android Development] damp12000:
Yes

From what I've seen in the code, it even looks like the phone is itself storing the cap limit and other metrics relevant to throttling

I agree this seems rather unusual. However, it seems to me that implementing data throttling for cell phones would be much harder than in a traditional ISP. In a traditional ISP, you know where the client will connect from and to (physical infrastructure).

With a phone, the client can connect from anywhere in the country (any cell tower) and that probably means the traffic will not always go through the same data centers which, correct me if I'm wrong, makes implementing a throttling policy much harder (let alone for carriers that share physical infrastructure...)

If somebody has more info on the subject, I'd be really interested to know how the implement this kind of throttling :)
[G2 and Desire Z Android Development] tnpapadakos:
if you take the services.jar and open it with winrar (just make sure winrar has .jar files associated, or it wont work) you'll get a quick idea of what activities are controlled by it

also if you install JCreatorV5LE, you could open the files up and see what they do
[G2 and Desire Z Android Development] MATOPETE:
I tried flahing the .zip files method in Recovery Menu and can confirm it works, for the op of the files, thanks

I created a folder in my sd card, place both zips there, boot up in recovery, flash the unthrotled file when you get "throtled", flash the "throtled" once your billing cycle begins

Sent by inconveniencing a large number of electrons from my mobile command center
[G2 and Desire Z Android Development] ivanxx:
mmh, followed the instructions, and modified the RodriguezStyle's N1 latest MIUI based ROM (throttle files were present!). I get the FC in the settings menu for network operators, so I guess I did it all right... I was 10 Mb away from the throttle point so I downloaded wasted my precious bytes downloading a couple of videos until I reached the quota. Unfortunately this is not working for me :( Tried changing to 2G/3G/WCDMA preferred to no avail... Anybdy any luck with European/Spanish operators?

Sh*t! I'd love to have this working (I pay 20$ for 0,2 Gb/month and it's frustrating, a couple of fring video-calls and check out some newspapers and I'm done!) :mad:
[G2 and Desire Z Android Development] brokenworm:
i didnt steal your files i was yousing you great info how to use smali backsmali and have compiled 1 file specially for the software mentioned on my thread

i do thank you for the infos used to make the file ... but your ARE a little harsh about this

iv desided to make a good thank you on my thread to you and thereby reopen it

thx
[G2 and Desire Z Android Development] sino8r:
That's fine... just be sure to meantion people next time if you use any of their ideas/work. I don't really care personally... its just not in the spirit of xda and its kind of sneaky to not thank folks... there was a certain developer who got caught borrowing people's work and it ruined his reputation. I've just seen this happen before and it doesn't ever end pretty. Well, enough of that...

Actually, I glad you provided the services.jar for your carrier because I was a bit nervous to provide a bunch of jars from different roms. Its just impossible to edit that many and keep up with them and then you have to do the same with themes, lol! Its too much work.
[G2 and Desire Z Android Development] sino8r:
E

I apologize. I was a bit cranky yesterday...

But yeah the controls for the throttle off/on seem to be called ota. There is a possiblity this is allocated with a data counter on the phone's end. In fact, I'm pretty sure they are but don't mess with that. The carrier could easily recognize that... not a great idea to screw with. All the guts/gears seem to be entirely on the phone's end and tmobile has the on/off switch. This seems to be the case on tmobile usa/uk not sure about the other cell carriers. In fact, since non tmobile carriers seem to get different results... I'm doubting this is the case for everyone. Many carriers may control everything on their end and not the clients side. The fact that 2.2 seems to contain these throttleservices files in services.jar by default. I have yet to see a services.jar that doesn't contain them. I think its up to that particular carrier to apply these. Maybe they are used by all carriers but some have a failsafe on the carrier end also. And yeah, its very beta still...
[G2 and Desire Z Android Development] sino8r:
Thats my exact same set up... brilliant! :)
[G2 and Desire Z Android Development] apacaston:
I have tmobile flex pay I dont have a contract but I have unlimited talk text and web and never experienced a data cap,i download xbox games and movies over 20gigs a month tethering.:cool:
[G2 and Desire Z Android Development] midijunkie:
Hmm, this doenst work on my SGS I9000 with CM Beta3 in Germany (Fonic - o2). I got the "throttle sms"(after 500mb - 10€/month) and Im capped @ 7kb/s. There isnt either a "throttle" folder in my system directory.
[G2 and Desire Z Android Development] UKSheep:
... sry error :D
[G2 and Desire Z Android Development] Fallen Spartan:
Will give this a try this evening (busy at work). Hopefully it will rectify my issue though I'm not sure it will. I'm finding my download speeds to be unbeleiveably slow and my reception to be pretty bad in a lot of places as well. As I said this may rectify it, may not. I may just live in a really bad T-Mobile area which would really suck. Will post back my results this evening
[G2 and Desire Z Android Development] sino8r:
Alas, we haven't had very good results with our desire z users. It seems that their carrier's throttle is controlled completely ota. The only great results we have had are with tmobile usa...

I'm not saying... don't try this... but its not looking too good and seems extremely carrier specific. Hopefully, we can find out if it true or not soon enough...:(
[G2 and Desire Z Android Development] Fallen Spartan:
Possibly explains why I'm having difficulties with it
[G2 and Desire Z Android Development] sino8r:
Yeah... do any of you guys over the pond have any old apns to try? They work great as alternative on tmobile us since the services.jar edit isn't working for you all.
[G2 and Desire Z Android Development] ericjosepi:
I would disagree. I did this to my Desire Z and I noticed some immediate speed boosts both up and down.

So, I have had some unexpected side effects with this mod. Starting yesterday evening (being a global board that means next to nothing but it frames the story so go with it) my phone has been much much less stable and even has been giving me errors stating there is no SIM card in the phone after a reboot.

My question to you all is, do you think this is related? I am using the stock Bell Canada firmware with the phone being rooted with S-OFF, CWM Recovery, gTrab's overclocking mod and this mod so any one of those could be causing this error. Prior to applying this mod I removed the requisite shovelware that Bell bundles in (Asphalt5, Uno, etc) but I don't believe any of those "system" apps would have anything to do with the SIM card. Also, for you heavy modders, is there a syslog file I could look at to try to figure this out too?
[G2 and Desire Z Android Development] sino8r:
Good! So it works on Bell in Canada then? The sim error is odd and not related. The only problem this causes is a FC in mobile settings. The sim error sounds like a bad sim or going bad... Being an cell tech in the past years, we saw this a lot. The sim would go bad or corupted and would give an error similiar to that. We also saw that a lot with water damaged phones. This the first time I have heard of anyone meantioning a sim error when using this... so I have to say, it just sounds unrelated. You should backup and wipe just to be sure... or simply replace your services.jar with the unedited one and see if it still happens. That's my advice... good luck!
[G2 and Desire Z Android Development] ericjosepi:
Yep! They may have caught me and laid down some throttling on the infrastructure end but my down speeds went immediately from 3.X Mbps down and 1.x Mbps up to about 5.x Mbps down and up. I was thrilled!

I don't think it's the SIM though. I plugged it into an unlocked HTC Hero I had lying around and it picked up the Bell network instantly. I'll replace the modded services.jar with the stock one and let you know what happens after a day or so of observation and testing.
[G2 and Desire Z Android Development] aodpoe:
Alright folks I would like some help to get this working on my phone. I've done everything up to the point where i have to find the "7" files with the label Throttle in them somewhere, i have only found one file labeled "ThrottleManager.smali", where can i find the rest?

also I'm doing the modifications to the fallowing rom CM6.1.1 for Vision.

Thanks.

Oops, was messing with the wrong classes.dex file :o

Update Successfully applied newly modified service.jar file to my current installed rom. OP thanks for this and everyone who tested it out.
[G2 and Desire Z Android Development] jeebugorn:
i see this is in the G2/Desire Z forums, but will this work for HD2 w/ android as well? I haven't reached the cap yet, but that is because i have made myself not use my data as much as i wanted, which is just messed up since i'm paying for unlimited. if i knew there was no cap then it use my data plan more. thanks for help.
[G2 and Desire Z Android Development] ericjosepi:
I just wanted to say, unequivocally, that my issues are not stemming from this mod. I just pushed a clean services.jar and upon reboot had the No Sim error. Thanks for your help, sino8r!
[G2 and Desire Z Android Development] wanjae:
Alternate APN

A couple of years back, I was playing with different T-Mobile APNs because my (then, Palm OS) phone couldn't connect to a particular website. On one APN it could connect (but service was horribly slow all around), on another it could not connect to this particular site, but all other sites were really fast.

Anyway, turned out, one of T-Mobile's APNs proxied all HTTP traffic, and the other one did not.

I no longer remember which APNs did what, so I have no idea if the suggested alternate APN is one of those that proxies (although it would be easy to test and see), but that might be an example of the sort of service difference you can find from APN to APN.
[G2 and Desire Z Android Development] freddan83:
i just tried this with swedish carrier tele2, not working
[G2 and Desire Z Android Development] sino8r:
Wap.voicestream.com is the proxied one you are speaking of... not sure if it still used or not but yeah, I remember it. People could set that apn and set the proxy settings up and get internet for $5.99, lol! Basically, so people could pay for a dumbphone plan and use it on their smartphones. That was back in the 2G days... Plus tmobile was the last major carrier to get 3G and their smartphone plans were priced like 3G ones on the other 3... now that I think of it... tmobile usa has always screwed over their smartphones users compared to other carriers. Gotta make for those cheap cellular plans by jacking up the data users... oh well, all 4 major carriers are mirrored off each other these days. Tmobile us is no longer the friendly discount carrier... well, at least our data is fast, I guess. I'm depressing myself so I'll shut up now :(
[G2 and Desire Z Android Development] ericjosepi:
So, brand new SIM card in and I can report that I went from 3.x Mbps to 4.6 Mbps almost instantly... Not sure if that's the standard deviation and to be more scientific I should have done more tests, but I think things are working really good right now after applying this mod again.
[G2 and Desire Z Android Development] theratdude64:
I updated from CM6.1.0 to 6.1.1 and reapplied the throttle defeat and I can still access my mobile networks without a force close. Did that apply or did cyanogen fix this glitch?
[G2 and Desire Z Android Development] cmillens:
You are kidding right? 60% of the high school grads in my school district can not read or write. 70% of the kids leaving the 6th grade have no clue what multiplication and division are. All the school district managers do is scream for more money while the teachers make an average of 50k / year and the administrators make an average of 300k / year. :mad:

But yes, I couldn't agree with you more; more people do need to take the time to READ what has been written before they post questions that have already been asked 90,000,000 times in 700,000 threads all over the forums on this site.

Glad it works! I'm VERY UPSET with TMOUS about this. There was NOTHING in my phone boxes when I setup the phones for my family last year. NOTHING in the contract I signed either and I DID read it all. I had had enough of that nonsense from my experiences with Verizon, Sprint and AT&T!

Bottom line though really, there isn't a Service Provider out there that TRULY cares about its customer base or meeting their obligations in the contracts we all sign. I know this because I helped write the software for the MCI Mobile towers that literally DROPPED cheaper calls in favor of more expensive calls.
[G2 and Desire Z Android Development] blackknightavalon:
Nope. Did the same thing and I'm still getting a FC on Mobile Networks.
[G2 and Desire Z Android Development] theratdude64:
Hm I wonder what I am doing wrong. Would be nice if this was built into cm releases lol
[G2 and Desire Z Android Development] sino8r:
I'll upload an edited CM6.1.1 services.jar later tonight
[G2 and Desire Z Android Development] theratdude64:
that would be MUCH appreciated :D
[G2 and Desire Z Android Development] ericjosepi:
Just did a couple speed tests and this is what is possible after applying this mod.

Yeah. Holy Crap.
[G2 and Desire Z Android Development] theratdude64:
Wow, I wish Salt Lake had the speeds that they advertise I should be getting :(
[G2 and Desire Z Android Development] neoobs:
Where are you at? I can get 4Mbits down and 1Mbits up in SLC
[G2 and Desire Z Android Development] theratdude64:
The fastest I've seen was around 3800 down in bountiful (at a retirement center :( lol) but I get like 2200 max around town. I'm in rose park where the best is 1500 or so max.
[G2 and Desire Z Android Development] sino8r:
Sure... no problem. It will be Sunday though, things went badly for me tonight and got sick. I feel better now but have been in and out of sleep since I was still forced to do xmas shopping although I've had the worst stomach virus since I can remember... yuk! Well, that's what I get for waiting till the last minute to get this over with. Hell, I can't really sleep well with all these meds make me feel funky one minute and wired the next, lol! Well, enough blabbering... I will have it ready by tomorrow night.
[G2 and Desire Z Android Development] lp894:
I have a g2 from t-mobile usa...did this...still throttled. Didn't with all...
[G2 and Desire Z Android Development] lp894:
Side note...I'm running the virtuous rom
[G2 and Desire Z Android Development] Ted417:
I have one slight question that I hope I get an answer to... and this question is towards @sino8r ... what would happen if I accidentally forgot to change my APN back to my regular T-Mobile APN from the APN that you provided once my data/minutes/messages get reset?... o_o
[G2 and Desire Z Android Development] tnpapadakos:
what ive found with my experience is the following:

the throttling mod worked wonders to get my speeds increased at one location (where i work)

it did nothing for my speeds at home (where the speeds have always been way better regardless)

streaming audio from internet radio was much more glitchy with the mod, dropouts and such
[G2 and Desire Z Android Development] theratdude64:
No Bueno :( But thankya :) lol. I really suck at doing this file, I tried before and none of it worked for me. The files weren't in the extracted Classout
[G2 and Desire Z Android Development] androidcues:
my throttle should have ended at 9AM yesterday (tmobile billing period starts at 9AM and not midnight of the day) but I am still throttled. I have reset the phone numerous times (fastboot erase system -w) and flashed numerous roms and restored to numerous backups that do not contain the modified services.jar file.

i am still finding that damn throttle folder in /data/system/throttle.

i just got back from the tmobile store (forget about calling them, they are so busy with the holidaze) where the guy was pretty nice but CLUELESS about throttling at all. I had to educate him on the tmobile protocols and rules and regulations of the 5GB cap. it was saddening!!! But anyway, he called the home office and the home office said I was NOT throttled as they see no evidence of any throttling since I have a brand new monthly account to work with.

But the throttle file remains.... and the speedtests does not indicate I have been relieved of throttling. And no I have not gotten the tmobile text message saying Im throttled.. but I am.. because of /data/systems/throttle

The CSR told me my phone was broken and he was about to give me a brand new G2 but I sighed and said.. dude.. nothing is wrong with this phone i dont want no phone i want my full unlimited data!

Then I apologized for wasting his time and bought a Tab as a consolation to him. (sarcasm folks, sarcasm! -- really did buy the Tab but not to console that helpless CSR)

so... anyone seeing anything like this after a new billing period goes into effect?
[G2 and Desire Z Android Development] MATOPETE:
WAP.voicestream.com is a proxied APN

epc.tmobile.com is unproxied

At least that is my major undersanding of how tmo handles data

Sent by inconveniencing a large number of electrons from my mobile command center
[G2 and Desire Z Android Development] sino8r:
It may take a day or two to clear... it shouldn't be affected by the mod. There was a thread about this on tmobile.com forums... Not sure why it happens. I would restore the services.jar to stock just to be safe and use the alternate apn just for now and give it a day or two to reset.
[G2 and Desire Z Android Development] yuriac:
Tested with a Samsung Galaxy S I900 from France.

Did not worked for me, i found the 7 files and changed the services.jar, i had also the FC in my mobile networks but was still throttled =(

Already back to the original services.jar and waiting for a solution for all android devices that i hope you will find hehe

Tks at all!
[G2 and Desire Z Android Development] sino8r:
Here's the edited services.jar for CM6.1.1... I included the unedited one for good measure. Enjoy;)
[G2 and Desire Z Android Development] sino8r:
I figured that... I changed my op to reflect that this only works on tmobile usa and canada bell, to my knowledge. more testing is needed on other carriers, oh course, but I will keep the list updated...
[G2 and Desire Z Android Development] umarali:
I need some help doing this mod and i am really mad at tmobile right now for caping my data. i used it alot one day and the next day i recieved the text saying my data is slowed down and now i dont get over 5kb/sec.

when i am trying to run the command to edit services.jar it is giving me error.

i have put smali.jar and bacsmali.jar in my toolds folder. now when i am running the command "java -jar......" it is giving e error that java is not recognised as internal or external command. what is im doing wrong?
[G2 and Desire Z Android Development] androidcues:
What rom phone etc etc? That would help us help you

Did you try a full wipe and fresh install?

vision