yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] Fracoon:
O2 Germany

I tried it on O2 Germany... it didnt work for me...

Opening "Mobile Networks" now gives me a FC and the connection is droped for a few seconds... to bad it doesnt work...
[G2 and Desire Z Android Development] sino8r:
They should be the same speed. It just restores your normal speed before the throttle is active. Since they both do the same (disables the throttle) the speed will be the same either method. Enjoy!
[G2 and Desire Z Android Development] sino8r:
Yeah, so far it only works on tmobile and bell... it seems other carriers completely control the throttle on their end where the others turn it off and on ota but the gears (actual mechanics) remain on our device roms.
[G2 and Desire Z Android Development] crz6662:
You the man. Thanks again.
[G2 and Desire Z Android Development] cl2eep:
I'm thankful for the fact that a couple of these hacks actually work on my phone, but shouldn't we be discussing this sort of thing on irc? Don't be naive enough to think that a)tmo doesn't pay attention to what our massive modding community is doing or b)that they will close these loopholes if enough of us start using them. If we really want a working, permanent throttle fix, we should not be so public in discussing it.
[G2 and Desire Z Android Development] mlevin:
Anyone know if this mod is/will be made in cyanogenmod?
[G2 and Desire Z Android Development] DJMartini:
Cyanogen doesn't put this in his mods. This is something you can do yourself though. I've done it with 6.1.1 and it worked perfectly. Been testing it with all the CM7's betas from src and they all work too.
[G2 and Desire Z Android Development] Levito:
anyone know how to implement this on a rooted, stock, Mt4g?
[G2 and Desire Z Android Development] Gwanatu:
This worked like a charm for me! Thanks so much! I don't think ill hit the 5gb cap most months, but lots of roms and videos made me go over this month, and that 5kb/s crap is ridiculous!!
[G2 and Desire Z Android Development] juanshop:
when i run the commands i get "java" is not recognized as a internal or external command...

any ideas?

:D
[G2 and Desire Z Android Development] juanshop:
just got boot loop because i pushed this file :D

oh and by the way i havet got a text message but my speed came from 8mbps down 2 mbps up, to 0.06mbps down and 0.10mbps up...

but my usage is on 5.25 gigs... so i am over the limit... any ideas?
[G2 and Desire Z Android Development] sino8r:
What rom and theme are you using?
[G2 and Desire Z Android Development] juanshop:
Cyanogen 6.1.1....
[G2 and Desire Z Android Development] Levito:
No, seriously, anyone know how to implement this on a rooted, stock, Mt4g?

Someone here has to have done this. I'm pretty sure there's no framework folder to be found anywhere on the sd card, how do I get into the stock Rom itself which I assume is in the built in memory on the phone itself.

I'm not interested in flashing a Rom as I dont know if I'm gonna keep this phone. I want to see if data throttling can be beaten long term since the APN switch no longer works, and if NOT I'm going to unroot this thing, send it back, and figure out how to make the jump over to sprint.

Can someone give me some guidance about this? Can this be installed onto a stock Mt4g? Really appreciate something here guys.
[G2 and Desire Z Android Development] neoobs:
First of all if you don't understand the directions there is not much anyone can do to help besides stating the directions again.

The directions in post number two will be the exact same on all other devices that have the throttle built into the services.jar, if you don't see any throttle files in services.jar then you probably aren't throttle with this method and you should try another method.
[G2 and Desire Z Android Development] Gwanatu:
I thought I replied that this worked for me, but in reality it didn't. I tried it both on Sparks (which is mostly themed CM nightly from 12/14) and Enom 2.14.2 and it didn't work on either. There's really nothing I could have messed up, as the instructions are very clear and I made sure to follow them to a tee both times. I was fooled because the phone switched to 2G, and like you said, 2G is MUCH faster than this throttled crap, and that's just plain embarrassing. Right now I've got the phone sitting on 2G only mode just to get somewhat decent speeds. I'm going to try this again but so far no dice.

I haven't received the text yet, and it's been a week since I went over 5gb.
[G2 and Desire Z Android Development] Gwanatu:
Alright well I finally received my text at about 11:00 this morning notifying me about the throttling.

I have noticed a few issues that I'm unsure of here though, and I don't know if anyone can help or figure it out. I'm using the latest Enom ROM, and with the stock theme I got the bypass of throttling to work just fine, cruising along at normal speed now. However when I flashed the Gingerbread theme the throttling came back. Now the OP says that you have to change the file in whatever theme you are using, but this theme doesn't have a services.jar, and I even went and tried to ADB push the stock services.jar from Enom's ROM that I used and it doesn't work (I tried it 3 times just for the heck of it). Flashing back to stock Enom and ADB pushing services.jar worked just fine again. Is there something that could be wrong here even though the theme doesn't contain services.jar?
[G2 and Desire Z Android Development] Levito:
Do you have any experience with this device or not? There is no framework folder on the sd, maybe the G2 is different, maybe it isn't. Maybe this

can only be enabled on a custom ROM

Since the stock ROMs might not be accessible, that's what I'm trying to find out.

I understand the directions just fine thank you, maybe you didn't understand what I was saying? Can someone with experience dealing with a stock Mt4g shed some light on this? Am I completely missing something?
[G2 and Desire Z Android Development] Gwanatu:
Obviously I can't do much for you since I have a G2, but these files are supposed to be Android standard, so every device should have them. Whether or not the carrier uses them is really the only "option" here, so MT4G should have them. You just may not be able to do this on a stock ROM though.
[G2 and Desire Z Android Development] juanshop:
I'm using cyano 6.1.1. that file would cause boot loop, be aware, and when I try to do it manually I get the java problem, any ideas?

Oh and sure enough damn tmobile send me the text at like 6 am...
[G2 and Desire Z Android Development] Levito:
Right, that's exactly what I'm trying to figure out. Because I don't know if I'm going to keep the phone I don't want to get to heavy into rooting/flashing. Not to mention there isn't much development on the Mt4g to speak of in the first place (another reason I might not keep it).

If I hadn't lost my Mt3g I wouldn't have this issue, as editing the services folder within sys/data/framework would have taken all of 5 minutes.

Instead I'm hoping someone implemented this on a stock, rooted, Mt4g, where the "ROM" isn't located on the sd at all, unless there's some kind of uber folder hiding going on that I don't know about.

I really want to know if this works, I just don't want to deal with the flashing and reverting given that my 14 days buyers remorse period is up in a couple days. I could switch over to a vibrant, and if not go to a G2 eventually, but I don't want to commit to tmobile if this throttle issue can't be bypassed.

The fact that there are people posting with mixed results worries me, especially given the APN switch worked for one month and then did absolutely nothing for me the next. So I really want to test this for myself.
[G2 and Desire Z Android Development] mlevin:
I did this on my G2 running CM 6 Nightly (12-17-2010, build #64) and I still get the FC when I go to mobile settings.

Has anyone found a way to resolve this?

Thanks
[G2 and Desire Z Android Development] Gwanatu:
I don't mean to be a jerk if I sound like one, but if you aren't sure about the phone you should just return it. Get a G2 while you're at it since you're so in to the custom stuff, this community is awesome.
[G2 and Desire Z Android Development] Levito:
Oh I know the G2 community is great, I've noticed the activity. Thing is I'm not sold on tmo untill I know that I can get around the throttle, and second, I'm hesitant to commit to any tmo phone knowing that the optimus 2x is 2 months off. Maybe I should just grab a g2 and test this there.

Has anyone confirmed the services edit working on a stock G2? i.e. not APN switch.
[G2 and Desire Z Android Development] juanshop:
sadly now that i've done it, it doesn't work, i managed to figure it out by myself :) ( you guys should think that there's alot of noobs like me out there that have no idea what java jdk is for instance... now i know... just saying. ) i get force close on the mobile networks, but nothing, although my up speed went up!... 0.06 down, 0.14 up... yay!...?
[G2 and Desire Z Android Development] neoobs:
While I don't have experience with that device... it doesn't really matter in this case as it isn't device specific.

First of all, the files aren't on the SD card. The files are located on the phones ROM, if you don't understand how your phones software works then we can't really help much. Try running this command from ADB

adb shell ls /system/framework

That should tell you where services.jar as every android phone needs services.jar in order to use the phone features along with many other features in android.
[G2 and Desire Z Android Development] sino8r:
Try the alternate apn. Its a few pages back.
[G2 and Desire Z Android Development] juanshop:
i will be doing that, but i will also keep trying doing the more definitive solution, so i don't have to worry about changing apn's and stuff.

i dont get it, i got everything like on the instructions, and i even put a fresh copy of cyano 6.1.1 but nothing, gonna keep trying, i know i might be doing something wrong.

although im getting FC on mobile networks.
[G2 and Desire Z Android Development] juanshop:
so just cheeking in again.

i tried this, the quoted post above and that doesn't work also, i have tried to do it manually like 3 times and same thing, i get fc but no speed improvements, i tried flashing the services.jar that sino8r uploaded and i would get boot loop. then i would use that .rar file that another person uploaded, that would also get me boot loop... im just giving up and thinking that the alternate apn is the only solution for me, for now, until i get some help and i keep trying and see if i can figure it out.
[G2 and Desire Z Android Development] Levito:
So what you're saying is that you aren't familiar with this device? Why didn't you just say so to begin with? Glad that's all cleared up. Next time try actually reading before you post, thanks.
[G2 and Desire Z Android Development] neoobs:
This has nothing to do with the specific device. I don't need a MT4G in my hands to know what software it has on it. Obviously you haven't read anything in this thread as you would have known that nothing is on the SD card unless you put it there, in fact you don't even need an SD card whatsoever, but since you can't figure things out I will help you.

This is for the Stock T-Mobile Glacier ROM(Glacier_TMOUS_1.17.531.2_Radio_12.28b.60.140e_26.0 3.02.26_M_release).

So this is what you do, reboot into recovery, mount your system partition (search how if you don't know how to), extract zip to the directory with adb and run lazy.bat.

After that buy me a beer because I was the one that helped your lazy behind.
[G2 and Desire Z Android Development] Levito:
Originally Posted by sino8r View Post

Step One:

Okay, find your current rom on your pc (the zip file) and open it with your favorite extractor (winrar is nice)(dictionary - I think 7zip is the best)

Ive been following this topic before this thread was posted, before sino8r outlined his whole method. I believe I've read every post, no one discussed this specifically. Step one looked an awful lot to me like modding a custom rom, all I asked was how to get into the phone's stock ROM.

From the first time you replied you've been pompous about the whole thing, and now you're name calling? Are you twelve?

I've seen a lot of people ask far less sophisticated questions on XDA over the years I've lurked here, and most people usually don't get the crappy attitude I'm getting from you, a "retired moderator". I wasn't even bugging the dev himself, I was just wondering if anyone did this on a stock Mt4g so they can show me how they did it.

So I ask for help on what I thought was the most congenial and helpful forum anywhere on the net, and I get talked down to and insulted by you. Glad you're "retired". So you worked out the services for me for an adb push whoopee! I never asked for that cause I'm not lazy, all I asked for was about possibility and a nod in the right direction.

Thanks for nothing, I do hope someone else finds use out of this.
[G2 and Desire Z Android Development] neoobs:
Read the thread again (you can't read something before it isn't posted)

That is exactly how I made the above services.jar
[G2 and Desire Z Android Development] Gwanatu:
So after rebooting the phone the throttle came back. I have absolutely no idea how because I checked via ADB and there are no throttling files, but I was sitting at 40kbps and lower, and you could definitely tell. I went ahead and flashed the GB theme for Enom and tried pushing services.jar just for kicks and grins, and sure enough it didn't do squat. The alternate APN worked like a charm though! Back to normal 3G speeds here (no HSPA in this area for some reason) of about 700kbps download. What is the risk of using this APN? I'm just curious.
[G2 and Desire Z Android Development] Levito:
In my experience using them there's no risk.

I've used internet2.voicestream.com and internet3. In some cases you'll get a better ping and a better speed as according to speedtest.net you'll be connecting to different towers, so you might get one closer to you, which is what happens with me and internet3 connecting to a tower in new york city as opposed to philly.

However as I said before I was following this topic on the old thread before the services edit method was made public by sino8r. About 6 weeks ago or so I used the APN switch and it worked brilliantly. Lasted about 3 weeks. Now it doesn't do anything for me at all. It could be there's a 5 gb cap at each APN, it could be Tmo got wise to this.

If people are having long term success with this method, meaning 2 or 3 months with a substantial overage after getting the text message of doom, I'd be very interested to hear it.
[G2 and Desire Z Android Development] Gwanatu:
I'm going to try my best not to go over 5gb, as this is a bit annoying, but I guess now that I've done the legwork it will be a cinch to do if it happens again. I'll have to try internet 3 as well, but how about internet or internet 1? I guess I could just try them all to see what changes.
[G2 and Desire Z Android Development] Levito:
um, well as far as i know theres the normal tmo apn, then internet2.voicestream.com then internet3.voicestream.com.

Those are all I know of, if the services edit isnt working for you, I'm curious about all those who reported a fix to post longer term experiences. I think I'm heading to Sprint, I'll pay a $200 contract cancellation fee if I have to, I needz my unlimited data.
[G2 and Desire Z Android Development] Vlad83:
Useful wiki about T-Mobile Data and APNs

http://wiki.howardforums.com/index.php/T-Mobile_Data
[G2 and Desire Z Android Development] juanshop:
i have no idea what people with cyanogenmod 6.1.1 are doing but for me just doesn't work, ive tried countless services.jar files given by people that use cyanogenmod 6.1.1 and this hack has work for them, i have make my own multiple times, started a fresh copy of cyanogenmod on my phone but nothing... im thinking on changing to a different rom, so far, what's the room that the services.jar hack is working the best?
[G2 and Desire Z Android Development] androidcues:
This is working fine for me. I saw pathetic speeds when I got the text msg yesterday and immediately slapped a jar file in there and I'm back to normal. I am on 6.1.1 as well.

vision
[G2 and Desire Z Android Development] sino8r:
Its not wise to stay on internet2 or 3 for longer than needed. Otherwise, it will eventually throttle whatever apn you are on at the time of the start of a new monthly throttle. that happened to me but it will go back to normal after a while. The best way is to just use an edited services.jar or switch back on the apn after the throttle is over.
[G2 and Desire Z Android Development] sino8r:
Those are very out of date. Still useful about some of the apn settings and such but it looks to be from the G1 days.
[G2 and Desire Z Android Development] sino8r:
Are you sure that you're throttled and not just on overcrowded tower/network? You got the text right?
[G2 and Desire Z Android Development] juanshop:
yep i did got the message and i even went to the tmobile store to ***** at them a little bit about it lol

i have no idea what i am doing wrong, a couple of really nice dudes have send their services.jar to me for cyano 6.1.1, and nothing, then I try do my own, everything goes smoothly but again, it doesnt work, i get force close and everything.

and im sure is not overcrowded tower/network, because before the message i was getting speeds upwards to 9 mbps.

oh and a question that wasn't answered before... what happens if i forget to change the apn once my data is reset? would my data just stop working before i go back to the normal one? or what? would my phone ignite in flames? would auto send the text that's gonna start world war 3?
[G2 and Desire Z Android Development] Gwanatu:
It doesn't work for me on CM either. I've tried both 6.1.1 and Sparks Mod (which is built off one of the CM nightlies, probably like 64 or something), and the modified services.jar doesn't work either. Honestly it's pretty much a crapshoot though, as I had it working on Enomther's ROM, but when I restarted it broke, and if I applied any of the themes it broke (even though the themes don't include a services.jar). Using the alternate APN worked fine for me, and honestly I don't see any reason not to keep doing it this way. I think in general it's good to stick to the regular T-Mobile APN unless you have been throttled, but there's no real reason that I have in saying that other than maybe T-Mobile will yell at you for changing your stuff? I really don't know.
[G2 and Desire Z Android Development] bentglasstube:
If you are using a linux computer you should have all those things already. You need them all on your computer. If you are using windows, I am making a script to do this for you, but you will still need java installed on your computer.
[G2 and Desire Z Android Development] sino8r:
That's awesome! Thanks so much! Oh btw, I love your avatar, lol! I imagine that's how my cat looks at the parties he throws at the house while we are away! hahahha!
[G2 and Desire Z Android Development] sino8r:
yes, that will be quite useful...
[G2 and Desire Z Android Development] jbenson:
Cool. I have a mac and now all I need to do is run this script through adb correct?
[G2 and Desire Z Android Development] sino8r:
actually, its baksmali.jar but let's not split hairs, lol
[G2 and Desire Z Android Development] sino8r:
did you cd to your tools folder first and copy baksmali.jar & smali.jar to your sdk/tools folder?
[G2 and Desire Z Android Development] jbenson:
I'm just a bit lost on what to do with this and how to execute it...It seems simple but I think I'm missing something haha
[G2 and Desire Z Android Development] thatruth132:
yes and i have java installed
[G2 and Desire Z Android Development] bentglasstube:
You don't run it through adb, just in a terminal.

And for all you windows users, here is a script for you: http://db.tt/nPfkeVi

This one is a little more involved because windows doesn't have all the tools needed. I have included http://code.google.com/p/smali/ (I hope this is ok with the author, I didn't read the license (shame on me, I know)) and zip/unzip ports from http://gnuwin32.sourceforge.net/.

First, download and extract the linked zip.

Then, open a command prompt (winkey+r, cmd <enter> on xp+ should do the trick).

Go to the directory where you extracted the tool.

Type

unthrottle.bat c:\path\to\update.zip

It will do its thing and you should have a modified rom along with the services.jar and services.jar.backup.
[G2 and Desire Z Android Development] jbenson:
Hmm... when I tried through adb shell I type download smali it returned Download: Not Found
[G2 and Desire Z Android Development] thatruth132:
also got this from java site : Verified Java Version

Congratulations!

You have the recommended Java installed (Version 6 Update 22).
[G2 and Desire Z Android Development] bentglasstube:
1. Download the pastebin file, and save it as unthrottle.sh

2. Put the rom you use (or are going to use) in the same directory

3. Open a terminal

4. cd to the location where you saved unthrottle.sh

5. type, without quotes, "./unthrottle.sh romfile.zip" but replace romfile.zip with whatever your rom's file is called.

6a. If you have not yet flashed the rom to your phone, use the altered zip in place of the original one and follow the rom's flashing instructions.

6b. If you have already flashed the rom, use the services.jar and follow the original instructions starting at step 10.

I hope this helps, but if you aren't sure what you're doing, this might not be the best idea to do.
[G2 and Desire Z Android Development] jbenson:
Thanks for the help. I understand that perfectly. I'm just learning all of the "understood" information that you all know but I am missing! thanks again for you help.
[G2 and Desire Z Android Development] Ted417:
What would be badass is if this could be done for the total n00bz/slackers out there(like me) so they can do this with a couple of taps on the phone's screen. You do know the SwypeRestore.apk right? A script can't be that hard... I think... It does involve some editing and deleting......... well?... what do you guys think?...
[G2 and Desire Z Android Development] GunToYoMouth123:
Oh deng , thanks for explaining it to me. Now this explains alot....

Another question, i have bin getting like only 3g mostly like all the time ,which never bin happening since the begging. But now my bars say 3g instead of H... it goes H like for 6 seconds,4 times a day and than goes back to 3G for the rest of the day.

I used to have H all the time in my house...dont get why not anymore.

Does it have something to do with that?
[G2 and Desire Z Android Development] sna66:
this is awesome frigging work, so glad i switched from blackberry. testing right now on virtuous 7.0, no issues so far, except for the fc on mobile network, but who cares.
[G2 and Desire Z Android Development] sino8r:
Dude, I already told you the answer... change it to WCDMA only by dialing *#*#4636#*#* under phone settings. That will help... if you lose service after that, then you're in a bad area. Maybe the towers by your house have changed. I've seen that happen. They may have moved the repeater in your area or tower. Sucks, I know... Its happened to me before a few years back.
[G2 and Desire Z Android Development] misconcepti0n:
You probably got H all the time on stock ROM, then flashed a custom ROM and see 3g all the time, right? Stock rom does not differentiate between 3g and HSPA, only having it show 'H'. However, I know cm ROMs were differentiating between the two. So it may not be a problem at all.
[G2 and Desire Z Android Development] prp2:
Searching through the created classout folder finds no files with the name Throttle* in them at all.

Does that mean my ROM (Virtuous 0.7.2) already has this fix applied?
[G2 and Desire Z Android Development] dictionary:
No idea, lol. I just edited the directions to make them readable by humans, lol. Op was tired, so I made it a bit easier to read. I would think so though, for the time being?