yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] sino8r:
Yeah, it should restore your speeds before the throttle and prevent throttled speeds for occurring. Only 3G downloads seem to affected by throttle. 3G upload & EDGE/GPRS are completely unaffected by the throttle. My only concern is the force close in settings/wireless and networks/mobile networks due to the removal of the 7 "throttleservices" files in our services.jar.... I wish we could figure out how to leave those files in but edit them just to fool the jar enough so that they don't force close settings/wireless and networks/mobile networks anymore....
[G2 and Desire Z Android Development] sino8r:
you did something wrong... Are you sure you pushed your edited service.jar and not the old/unedited one? You can copy the services.jar on your device currently to your pc and open classout folder in tools and delete everything in it and rerun "java -jar baksmali.jar -o classout/ classes.dex" to make sure the throttle files are gone. or just repeat the original process again and carefully. it won't really hurt anything...
[G2 and Desire Z Android Development] GunToYoMouth123:
how do i know i did it right?

i followed the instructions and it booted successfully.
[G2 and Desire Z Android Development] sino8r:
If you go into settings/wireless and networks/mobile networks and you get a force close then you are successfull. You can run a few speedtests also.
[G2 and Desire Z Android Development] eViL D::
I've got it modifed w/o fc. :)

I'll post instructions later.

Sent from my HTC Vision
[G2 and Desire Z Android Development] sino8r:
Nice... thanks!
[G2 and Desire Z Android Development] eViL D::
Removing the throttle*smali and compiling the services gives you an FC when you try to access mobile settings.

Instead of removing the files, edit them so that only the header remains (example below):

.class public Lcom/android/server/ThrottleService;
.super Landroid/net/IThrottleManager$Stub;
.source "ThrottleService.java"

And, then save each file with their specific headers. Then recompile and everything should be seamless.
[G2 and Desire Z Android Development] g1doobie:
Will u be adding this hack into your ROM'S?
[G2 and Desire Z Android Development] sino8r:
I hope all rom cookers do! That would surely save folks the trouble especially those who are having difficulty with adb and smali. Plus, it might make me feel special, lol ;)
[G2 and Desire Z Android Development] g1doobie:
It would be great if rom cookers do cuz someone like me needs this but I don't have the skills or a working computer right now to execute this. My data been throttled 2 months in a row now
[G2 and Desire Z Android Development] poormanq45:
Interesting findings.

The file with the nine number name is updated every minute or two. Tmobile is definitely using this for tracking some how.

Right now I've reverted to the vanilla services.jar and pushed someone else's temp file to my phone while removing the other file. I'm waiting to see what happens when T-mobile polls my phone. Shouldn't be too long for that.

For some reason I'm thinking that the temp file is used as an identifier. I noticed that when I remove the throttle folder completely that the temp file numbers change when they are put back on.
[G2 and Desire Z Android Development] gaww:
I might add to the "moral vacuum" argument by posing a thought.

While the XDA developers are not and maybe should not be concerned/involved with "defeating/removing" such things, I would think in building ROMs, they should only be including the

elements that make devices work

, and as a normal practice, not include

anything

that is not needed

to allow the devices to fully function to meet owner/user needs.

Taken from this perspective - it would not be necessary to pursue things like "unthrottling" - they would not be in the ROMs to begin with.
[G2 and Desire Z Android Development] JanetPanic:
I am on H but the speeds are so slow it is not a reasonable test. I will have to call T-Mo and find out what is going on. I don't get blazing speeds from my apt but it usually exceeds at least 1Mb, right now all I am getting is 64Kb.
[G2 and Desire Z Android Development] poormanq45:
I agree that it would make sense for the ROM developers to include this system change into their roms.

The removal of the throttleservices does not seem to have any effect on the system from what I can see with logcat.

I will wait longer to see if these throttle files change, but so far they are exactly as I pushed them.

I am wondering if t-mobile has already implemented account limitations on their side. If that is indeed the case I wonder if these files are used to monitor data usage. If that's the case, these could be spoofed before throttling was enabled to prevent the lock down from ever occurring.

Currently I'm not having any success. I believe the issue is that I was already throttled.
[G2 and Desire Z Android Development] veritasaequita:
ok the thing that bugs me the most about this is that your data usage doesnt increase because your tethering to your pc. Think about it like this, typically nobody is on the web via the laptop viewing a page while at the same time on there phone surfing the web. All we are really doing is extending our display from the phone to the pc's screen. The pc doesnt have any superability to suck up more data than the phone does, actually it only will go as fast as the phone connection goes. theres basically nothing u can do on the internet using a pc that u cant do on a phone nowdays.That on top of all the other f**%*ed up reasons why it isnt cool of t-mob to throttle im not even getting 56k. Im consistantly getting 41-44k on every speed test i try. Sorry for the brief rant but im so irritated at the moment with this BS, even the market takes 2min to load at these sub dial up speeds.
[G2 and Desire Z Android Development] rockinjer:
Sounds like tmobile has our data usage on account already and when we delete the throttle folder and services, tmobile sends a report to our phones and then they re-apear and overwrite the alternate services and throttle files that we deleted or pushed

Just a theory im no expert
[G2 and Desire Z Android Development] poormanq45:
That is incorrect. First, there are quite a few websites that automatically direct you to their mobile version. These are usually highly condensed and have almost no active content.

Your computer will typically have background services going such as windows updates, torrents, virus updates, etc... these don't occur with the phone itself.

If I straight browse the web with no tethering and no streaming content I will hit maybe 500MB, and that's if I'm on all day long and set my browser to "Desktop" mode to load the full sites.

I can drop down to under 200MB with Opera Mobile which i actually prefer for just normal surfing due to how much faster it loads.

Also, things like youtube take up much more bandwidth when accessed through the computer then on the phone.

Another thing that you need to understand is that your phone simply can not process the information as quickly as your internet connection can deliver it. It's like having a really old computer on a 50/50 fios line. It works, but not as fast as a newer computer.

Try this for a test: Go to filehippo and download AVG. It's >100MB. First do this on your phone directly and note the time for download. Then tether and download it again. I experienced 80KBps down on the phone and 400KBps on the computer.

Now, you can argue that you're just getting the info quicker, but the same amount. That is not how it ever goes. Once a download is finished, or while that is downloading, you queue up more things simply because it's easier to multitask.
[G2 and Desire Z Android Development] poormanq45:
I agree. What I'm wondering is what happens if you remove the throttling services and folder before the new cycle starts.
[G2 and Desire Z Android Development] gaww:
I thought I was on to something with all this, but once more, looking at my detailed data usage on the TMo website popped my balloon.

I had noticed that on wiping and installing a new ROM, it starts out with just the temp file in the throttle folder. Not long after that, the other file (file name 9 numbers) shows up, and its data seems to reflect usage, as it changes over time.

I had done the /system/framework/services.jar mod before, but had not deleted the throttle file previously. Then I did both, and after rebooting - the throttle file never reappeared.

Since I am near the end of my billing cycle, I turned off WiFi and started deliberately running up the downloads. For awhile, I thought it might be working, as my data usage did not reflect it - until this AM.

My data detail on the TMO site reflects it all through 1:00 this AM - when I stopped fooling around (was working on CM7 nightlies). I can see the .8 mb nightly downloads, and their times match my recollection of when I downloaded them.

So all I have to show is 1 gb more data (not going to hit the cap) and buggy installs (I get goggle framework forced close whenever I boot up).

Tmo is capturing usage without regard to the throttle file somehow (makes me wonder what they are for?), as it has been gone for two days, but my data downloads are all accounted for - damn!
[G2 and Desire Z Android Development] poormanq45:
Thanks for verifying that for me.

This is all confirming my suspicion that the reason these things initially worked was the t-mobile implemented these things as a temporary stop-gap while they implemented the backend systems to throttle on their side like everyone else.

It's not difficult to track users connected to different points across the country. I've worked in domains with upwards of 10k users around the world. We knew exactly who signed in and from where every single time. A simple policy change to their account would follow them everywhere.

My reason for stating this is that someone earlier in this thread made the suggestion that it would be difficult to implement this solution. If you think of t-mobiles database of users as a huge domain it is easy to grasp the concept of how easy it really would be to implement this solution from their end.

Actually, now that I think about it, a domain policy works exactly like this. If the user does not log on to the network they can bypass the group policies. Think of this like deleting the throttle folder and being unthrottled for a couple minutes until it reappears(I think this doesn't work anymore, but follow along). The phone is constantly logging in(authenticating) with the service provider's servers. When this is done the policy is pushed to the phone again. This seems to have been their temporary approach.

Now, just like on a domain, they have applied network policies and permissions to each user account. When you log on or authenticate on the network you are attempting to access network resources. These can easily be restricted via policy implementation. The difference being that this policy affects how you access the resources. In my mind the easiest way to throttle people would be to route them to a specific network cluster that has a bandwidth cap(defined in the router software) on each connection. This would allow for the service provider to apply the policy on your account to route you to a throttled network cluster.

One thing I noticed is that as soon as I was throttled my connection showed as being through north carolina. Un-throttled the connection showed as being through whatever city I was in at the time. This reenforces my thinking that this is how they have implemented the throttling. If this is the case then we are SOL.
[G2 and Desire Z Android Development] gaww:
Like i said - damn!

PS - back on WiFi in home office again (just where they want me).

In the long run, this defeats much of the appeal of the 3G/4G services - use them and you get creamed.

Messaging, emails, etc, worked fine on EDGE. What is the point now for 4G (except only when you are on the road and do not have a WiFi option)?

Now if someone can come up with a spoofing app that fools their network...
[G2 and Desire Z Android Development] rockinjer:
hmmm i dont remember having this problem with windows mobile, im going to flash back to 6.5 and see if it uncapps me i am very doubtfull though because windows has been out for longer than android

HD2
[G2 and Desire Z Android Development] jefiggle:
Lol im gonna see what happens if I try tio download 5gb+ on just the edge network and see if they throttle me to the 4g network.

Edit- did the math, and not capable if I download at 15kBs 30days straight lol

HTC T-mobile G2 CM7b#55

RADIO12.28e.60.140fU_26.04.02.17M2 www.crackflashers.com
[G2 and Desire Z Android Development] rockinjer:
windows mobile made no change, im sure the something similar is in windows too
[G2 and Desire Z Android Development] sino8r:
That was always the case... they could still count data usage but not control the throttle server-side.
[G2 and Desire Z Android Development] sino8r:
That seems to be the case that it was just temporary until it could be controlled server side. I'm checking in with some long time testers to see if they are still able to use any of the workarounds... If not, maybe is time to close the thread or let it fall into no new post oblivion.

I, personally, haven't been throttled in a while and can't tell you what works. I have been sticking with wifi for as much as I can.
[G2 and Desire Z Android Development] hiko36:
I like to think that the initial way of throttling was their permanent solution but we pissed them off when we worked around it so they came up with a new plan. Makes me feel more badass :cool:
[G2 and Desire Z Android Development] veritasaequita:
Im not sure if this has been brought up so sorry if this is just old news to the thread. The files in the throttle folder have held my attention greatly. Im not sure how the 2 files work at the moment but i do know that the 2 longer numbers in the 2nd file that arrives represent time. Im speaking of the two #'s that start with "1" and are followed by a few matching numbers. I believe its either the time of the day or the month/cycle. Im still unsure of how they equal whatever they do. I tried a few conversions on the calculator and im still unsure of what time they might represent or even how they came up with these numbers. Just wanted to point this out hoping maybe it can help us defeat this stupidity. I know its not huge but at this point im clinging to even the smallest of ideas or finds.

Sent from my HTC Vision @ a SCREAMING FAST throttled speed of 51 kbps
[G2 and Desire Z Android Development] moneymike55:
Ok so I performed the original method to check the smali files in every single .jar's classout folder under server/framework and I found about 5 more files with "throttle" in the name (I believe they were mostly under monkey.jar). Unfortunately after deleting them I'm still throttled. I did however notice my speed tests held at around 400kbps before dropping to ~54 at the last second, which I don't know will make a difference while browsing. Nonetheless, there's a lot of other files on the system used for tracking usage and notifying the provider over certain things, and if someone with a decent amount of knowledge on the function of smali files (cuz i dont) were to take a look at the classout folders for the different .jar files and make sense of things, would there be a way to remove some other files in framework or any other rom folder,or possibly change certain values in them to remove the throttle?
[G2 and Desire Z Android Development] RavenFB:
Vlad, I know this was from a few days ago, but let me share my experience with you.

I am an over-the-road truck driver. I've been doing this job for many years, and the advent of smartphones has been an incredible addition to my life. To me, my phone IS my home computer. I haven't had a problem with data caps or throttling from tmobile for years, until last October. Suddenly, the cap gets halved, and I'm getting throttled every month. I use my phone for trip planning, checking everything from weather to road and traffic conditions. It is my lifeline to my family and friends, and also my main source of entertainment.

At what point did the value of T-Mobile's bandwidth double? I mean, if I am paying the same amount for half the product, that's basically what's happened. This isn't right. Not at all. I would expect this crap from AT&T or Verizon, but not T-Mobile. Apparantly, being a legacy Voicestream customer means nothing now.

Sent via Tapatalk from my G2 powered by SparksMod HotSauce v.02!
[G2 and Desire Z Android Development] poormanq45:
One thing that I find interesting is that when you call T-mobile they will say it's in the contract that I signed.

That's very interesting because I signed a contract almost 6 years ago and have been month to month for the last 4 years! I don't believe the contract back then even said anything about data caps.

@RavenFB: Check sprint's coverage map to see if they cover most of your route. If they do then switch to them as they are currently unlimited.

Or check out some of the mobile broadband services that are out. There are some that are very competitive like "Clear". I'm not sure of their coverage, but when I tested their network I was getting 10+Mbps down. They claim to have to cap and may be a better, and possibly cheaper, option.

To the OP, we can try a few more things, but I think everything is dead at this point. I'm running a MT3G and reverted to SuperD so I can't even participate in this thread anymore...

The only thing I can suggest is that when you guys pull the throttle folder make note of the date and time. Cross reference those a day later with the t-mobile site for data usage. it's possible that the change in the numbers is the data used since the last update. On my account they seem to pull an update about every 10~15 minutes when active.

If done properly, everything should be accounted for on the server side. I am still curious why that throttle folder updates at all!
[G2 and Desire Z Android Development] crz6662:
So tell me, do you remember a data cap of 10GB ? That's what I remember from 6-7 years ago. Thought I. Would be grandfathered in @ 10. T-MO says it's always been 5GB. I think they're full of ****.
[G2 and Desire Z Android Development] JanetPanic:
Trying to "hide" the data traffic from T-Mo won't work. I do not know how T-Mo is currently implementing throttling but I can say fairly authoritatively that data usage is recorded based on the IMSI of the SIM in the device. Short of switching SIMs (which would have a different cap) or something very illegal you are not going to be able to avoid T-Mo seeing the amount of traffic.

At a guess the throttling folder is some mechanism to make throttling "cheaper" computationally versus doing it at the APN level. I would not have guessed T-Mo would implement throttling this way but evidence points to the fact that at a minimum they used to.

As far as 10GB vs 5GB vs unlimited it is fairly easy to find evidence of it on the web:

http://www.howardforums.com/showthread.php/1630543-T-mobile-s-10GB-data-cap-does-exist!

I have my original contract and it has no wording on data caps. That said it does have wording that it can adjust the TOS, requiring that I be notified that a change has occurred if it materially effect me etc....
[G2 and Desire Z Android Development] gaww:
There was a bash script back on pp 3-4 that did this (I used it). Possibly insert additional lines to the script that also clears monkey.jar and repeat for any other file name where "throttle" appears.

This way, you don't have to know smali - just carefully duplicate lines in the script.

Do you recall the other file names?
[G2 and Desire Z Android Development] wayde187:
Is 2.3 Mbps a good download speed for h+ ? I feel like its supposed to be more like 5 or 6.
[G2 and Desire Z Android Development] veritasaequita:
its lightning compared to my current 53kbps!
[G2 and Desire Z Android Development] keepromancing:
I set my /system/data/throttle or whatever folder to read only, and deleted the throttle file. No more throttling?
[G2 and Desire Z Android Development] rockinjer:
Are you asking IF this works? or saying that it works?
[G2 and Desire Z Android Development] keepromancing:
A little bit of both? I've been getting max data speeds since I did it, but I don't have any "science" to back it up.
[G2 and Desire Z Android Development] tornado9015:
Were you throttled before you did it and now you aren't? Or did this have no effect, and you are running a trial to see if it will prevent throttling?
[G2 and Desire Z Android Development] keepromancing:
I assume I was throttled. My 4g connection would max out at 163 kb/s, and every time I deleted the throttle file I was talking about (data/system/throttle/) my internet would speed up, then the file would come back and the internet is slow again. Set the file to read only about two weeks ago, after I deleted the file, and its been gone for good. 4g is averaging a little over 1mb/sec
[G2 and Desire Z Android Development] keepromancing:
And my use bounces between about 1-6 gb/month.
[G2 and Desire Z Android Development] Chadastrophic:
Does anyone think swapping sim cards on the throttled line speed it back up? I have an unused sim and 8 more throttled days in this cycle.
[G2 and Desire Z Android Development] Vlad83:
Raven, I've been with T-Mo for 11 years and have never heard of a 10GB cap. As I mentioned in one of my previous posts, the implementation of the 5GB cap was disclosed in Term and Conditions (http://www.t-mobile.com/Templates/Popup.aspx?PAsset=Ftr_Ftr_TermsAndConditions2008&print=true) on June 28, 2008, months before the first Android came out and coincided with the nationwide roll out of T-Mo's 3G service. Prior to that, most phones except Sidekick and Blackberry's I believe were on the proxied wap service.

To put this in perspective, the data throughput directly correlates to amount of data used; the faster the connection the more data is consumed. This, coupled with the advances in mobile technology, the content we view on our cell phones is becoming richer and richer. With 2G and limited proxied wap service, the potential of hitting 5GB is impossible as someone mentioned a few posts ago. So as all carriers at that time, to protect them selves from abuse, T-Mo determined that 5GB would be enough for most users. And they were correct for the most part, as 3G speeds at that time were a lot slower than current 3G/4G, most users never exceeded the cap. Unlike T-Mobile however, most carriers made you pay for any data overages and if you read tech blogs at that time, you would recall the absurd bills some people had. Because of this, T-Mobile touted their data service as unlimited, they wouldn't charge or cut your service, they'd just slow you down.

PC Magazine has a very informative article about Verizon LTE and mobile data in general, if anyone cares to read it: http://www.pcmag.com/article2/0,2817,2373767,00.asp

The fact that T-Mo will have almost the same speeds as Verizon's LTE at half the price is incredible if you ask me.

Last, before I get flamed, I am not contesting that the cap should be readjusted and that throttled speeds should be higher. My point is to inform those that are uninformed, not change their mind. Those that abuse T-Mobile, I do have an issue with, not because I am in bed with T-Mo but because they are the reason caps are implemented and those of us like Raven that have legitimate uses end up suffering.
[G2 and Desire Z Android Development] hiko36:
Please excuse my french, but this is utter bull****. I'm TWO days into my billing cycle, I've only used 256 MBs and they have me throttled.
[G2 and Desire Z Android Development] hiko36:
Please don't take this as flame baiting because I'm just curious, but how do you suffer? You can't honestly tell me that if I were sitting right next to you watching Netflix or what have you, that you would legitimately notice a difference in network speed. I just don't buy it. Once again, not baiting, just curious about the logic. And if you look at the post above this one, Tmo is obviously abusing the throttle. Or not using it correctly at least.