[MISC] Defeat data throttling on 1.34.405.5 - G2 and Desire Z Android Development

Found great INFO on how to use smali,backsmali
from SINO8R and HOW-TO remove the 7 trottling files "sins" THX Sino8r for this great info...
you can find his thread way bigger ....my file ONLY works on mentioned software
I recompiled services.jar .
removed the 7 files .. "throttling" with smali,backsmali
somehow it shoud fc on entering apn ..but dos NOT.. heh
SERVICES.JAR.zip for SOFTWARE:
1.34.405.5
Radio 12.28b.60.140eU 26.03.02.26 M
FILE BELOW
RENAME IT SERVICES.JAR AND ENABLE DATA ROAMING BEFORE YOU REPLACE ..
i used ROOTEXPLORER from market to replace /system/framework/services.jar and set permissions rw r r like the other files
THX Marsdroid
Follow me on Twitter

Has anyone tried this yet? Is it for download speeds? I'm not quite sure I understand..

Could we have a bit more explanation please

steviewevie said:
Could we have a bit more explanation please
Click to expand...
Click to collapse
This is the method taken from the G2 forums, but not so much info there either.
Sent from my HTC Vision using XDA App

On the G2 side this seems to have been specifically designed to defeat something that T-Mobile have implemented for data throttling, i.e. where you go over a certain data usage limit they slow your download speeds.
I'm not clear on who can benefit from this on a DZ, e.g. what other carriers ? Do they use the same methods that this workaround will help with ?

3.dk is trottling ..not sure if they use the same mode.. anyways no one wil be able to trottle me this way again...
Sent from my HTC Vision using XDA App

Could this disable data throttling by O2 (Germany), too?

I am on an unlimited data plan with Bell, and bought a Desire Z to replace my HTC Hero. Because of the massive amount of tethering I used to do, they throttled my speeds to about 1MB's... my upload was untouched at about 2-3MB's. After following the guide on the thread in the G2 section, my download speed is up to around 4MB's. Worked for me, just thought I would chime in.

Great..sadly dosent work with 3 from dk
Sent from my HTC Vision using XDA App

There's an unlimited data plan for Bell? Was it some sort of deal?
Sent from my HTC Vision using XDA App

tried this in terminal emulator.. i mounted the system rw then mv services.jar to /system/framework/... when i restart it hangs after htc logo (where the cyanogenmod animation should be) had to use advanced clockwork recovery restore to fix system.. what am i doing wrong? why is it doing that..

Maybe your not using stock... .. try replacing it with root explorer and set the permissions ... i did that
Sent from my HTC Vision using XDA App

brokenworm said:
Your not using stock..and cyanogenmod dont include trottling in the first place . Heh or try replacing it with root explorer and set the permissions ... i did that
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
*Clip* cm DOES include throttle services in services.jar! Oh and the thank you was a mistake, i meant to hit reply. *Clip*

kthx... my thread has been alterted ... and updated i had to reupload the file.
thx

Kindly please write instructions on what to do with the file

Related

[Q] increase max number of windows in browser on rooted phone?

My Desire limits max number of browser windows to 4, and does so on every ROM I've tried. I'm rooted - is there any hack I can apply to increase this? I know Dolphin HD and other browsers don't have this problem but I kind of like the HTC browser apart from this issue.
Anyone found a fix?
landwomble said:
Anyone found a fix?
Click to expand...
Click to collapse
it's hardcoded in the browser (com.android.browser.TabControl.canCreateNewTab())
shouldn't be a big deal to increase it
which rom are you currently using?
Moved to Q&A.
On hero, it was limited to 4 tabs in sense, but on CM6 base, I have roughly 8 open in the background all the time. I reckon you could hack the above value, not sure how well the sense browser would perform...
snq- said:
it's hardcoded in the browser (com.android.browser.TabControl.canCreateNewTab())
shouldn't be a big deal to increase it
which rom are you currently using?
Click to expand...
Click to collapse
AuraxTSense 7.6.1
how would you edit this? hex editor?
Can I bump this? Wanna know this as well. Is it only for rooted device?
lyk13 said:
Can I bump this? Wanna know this as well. Is it only for rooted device?
Click to expand...
Click to collapse
Yes it would be for a root device only.
Thank you, guess I have to endure then. =/
lyk13 said:
Thank you, guess I have to endure then. =/
Click to expand...
Click to collapse
S'ok, no-one seems to have worked out how to do it on rooted devices either...!
8 tabs like on AOSP ROMs would be excellent. 4 tabs limit is with Sense ROMs and it is too few for my usage too.
-----------------------------------
- HTC Desire via XDA App -
th3 said:
8 tabs like on AOSP ROMs would be excellent. 4 tabs limit is with Sense ROMs and it is too few for my usage too.
-----------------------------------
- HTC Desire via XDA App -
Click to expand...
Click to collapse
Please find here the result of my homework given by The GREAT MASTER snq- !!!
Base on the Browser.apk you have in AuraxTSense 7.6.1, this one will allow you to go up to 15 tabs !
(It's now hard coded at 32, but after 15 I got an Out of memory... should be enough anyway)
For that first time, it is zip-aligned, but not signed.
So I will assume that you know what do with (push with adb, in recovery if you don't have S-OFF).
As soon as I learn to make a flashable zip, I will update it.
Enjoy !!
Or just feel free to insult me if it doesn't work flawlessly for you...
Edit: backup your bookmarks, just in case...
Edit2 : finally no prob with bookmarks
EDIT 3 : updated .apk (back to original png for back and forward)
... Testing.
That works perfect on HTC 2.2 with root! Over 12 tabs now opening fine in the browser. I just removed the odex file and everything worked. It requires 300-400KB ish more than the stock browser. Thank you guys
-----------------------------------
- HTC Desire via XDA App -
th3 said:
... Testing.
That works perfect on HTC 2.2 with root! Over 12 tabs now opening fine in the browser. I just removed the odex file and everything worked. It requires 300-400KB ish more than the stock browser. Thank you guys
-----------------------------------
- HTC Desire via XDA App -
Click to expand...
Click to collapse
Glad if you like
Those supplementary kB come from the png i used for back and forward keys (to be sure I was testing the right version ).
Smali modifications were not so heavy ;-)
I can post one with no png mods if it's annoying for you
Sent from my LEEDROID Desire with S-OFF...
TomLeeDesire said:
Glad if you like
Those supplementary kB come from the png i used for back and forward keys (to be sure I was testing the right version ).
Smali modifications were not so heavy ;-)
I can post one with no png mods if it's annoying for you
Sent from my LEEDROID Desire with S-OFF...
Click to expand...
Click to collapse
yay thank you
th3 said:
... Testing.
That works perfect on HTC 2.2 with root! Over 12 tabs now opening fine in the browser. I just removed the odex file and everything worked. It requires 300-400KB ish more than the stock browser. Thank you guys
-----------------------------------
- HTC Desire via XDA App -
Click to expand...
Click to collapse
TomLeeDesire said:
Glad if you like
Those supplementary kB come from the png i used for back and forward keys (to be sure I was testing the right version ).
Smali modifications were not so heavy ;-)
I can post one with no png mods if it's annoying for you
Sent from my LEEDROID Desire with S-OFF...
Click to expand...
Click to collapse
Well, sorry , i've been reading that too fast
didn't get 'just removed the odex file' and didn't get the 'ish'...
...was also stupid answer, as those png mods were not 300-400kB at all
now I need to go and learn more to answer
Beaverman20 said:
yay thank you
Click to expand...
Click to collapse
.apk in the post get updated
damn... on auratx sense for me, i pushed it to data/app that crashed the phone, and got me in a bootloop :/ i am s-offed, so i did it booted up, may that was not such a hot idea afterall could you give some better directions?
TomLeeDesire said:
didn't get 'just removed the odex file' and didn't get the 'ish'...
...was also stupid answer, as those png mods were not 300-400kB at all
Click to expand...
Click to collapse
The stock Browser.apk was 788KB and the one you attached that I installed was 1095KB. I don't mind
The browser would just crash at the start until I removed Browser.odex. Ever since, it works perfectly.
-----------------------------------
- HTC Desire via XDA App -
Beaverman20 said:
damn... on auratx sense for me, i pushed it to data/app that crashed the phone, and got me in a bootloop :/ i am s-offed, so i did it booted up, may that was not such a hot idea afterall could you give some better directions?
Click to expand...
Click to collapse
to /data/app ?
wasn't the original in /system/app ?
this what i use to install :
- mounting /system/app r/w with Root Explorer, and checking Browser.apk is there
- then following with adb :
Code:
adb push ATS_Browser_zipaligned.apk /system/app/Browser.apk
adb reboot
...
working fine on mine
th3 said:
The stock Browser.apk was 788KB and the one you attached that I installed was 1095KB. I don't mind
Click to expand...
Click to collapse
well in that case, that's not on my side
i start from the one i found in AuraxTSense_7.8.1_Official_OTA_2.2_FRF91.zip, as i took it as a user request
Browser.apk 1 133 173
ATS_Browser_zipaligned.apk 1 121 159
mine is even lighter
Can someone post a step by step dummys guide on how to install this, I have soff etc but don't know anything about adb any help would be much appreciated
Sent from my HTC Desire using XDA App

Enable JIT on Defy?

Has anyone enabled JIT on their defy yet?
You need 2.2 for jit... did yours come with 2.2?
Also, this thread is development. Not for asking questions.
Sent from my DEFY using XDA app
U do not need 2.2 to enable jit lol... search
Sent from my MB525 using Tapatalk
disturkis4u said:
You need 2.2 for jit... did yours come with 2.2?
Also, this thread is development. Not for asking questions.
Sent from my DEFY using XDA app
Click to expand...
Click to collapse
Enabling JIT is a development question so shove off.
Did some testing with JIT enabled.
Good points
Quadrant went from 1117 to 1214
Linpack went from 5.9 to 8.2
Phone did seem snappier
Bad points:
Had 3 force closes within the space of an hour or so, I had not had one before this since getting the phone
My conculsion:
Not stable and I have reverted back
Motorola China will bring DEFY to Chinese market in Jan 17 with 2.2,as far as I know.
hm der is a jit activated dalvic VM in the Xperia X10 forum.
but how can i compile these things 4 Defy?
setaseti said:
hm der is a jit activated dalvic VM in the Xperia X10 forum.
but how can i compile these things 4 Defy?
Click to expand...
Click to collapse
You don't needs to compile anything, just need to copy some files to system/lib + System/bin and add add a line in build.prop
could you explain that further?
Id like to try that, too.
I was going to do a tutorial but as it was not stable that is why I didn't bother, however all the info/files can be found by using google, there not a "device specific" method of doing it as such. I have the links I used a reference saved at home so I'll put them up for you.
What about the files 4jit from the x10 device, can we use them on the defy? On x10 they are stable. See the 0.99.1 customizer thread from x10 android development forum.
What does not fuction on error? Can i copy back the original defy files or can this brick the device?
Sent from my X10i using XDA App
if anybody succeed to have a stable JIT on DEFY?
if some devs can tell me whats the risk, i could try the X10 files.
There is no risk. Back up your current files and when you get force closes after installing jit revert back. Because you will get force closes. Or if you are lazy like me just reflash the firmware
Sent from my MB525 using XDA App
Higgsy said:
There is no risk. Back up your current files and when you get force closes after installing jit revert back. Because you will get force closes. Or if you are lazy like me just reflash the firmware
Sent from my MB525 using XDA App
Click to expand...
Click to collapse
have u tried this?
or why i write "because you will get force closes"?
needs a recompile? or what can we do?
setaseti said:
have u tried this?
or why i write "because you will get force closes"?
needs a recompile? or what can we do?
Click to expand...
Click to collapse
Mate I'm not been funny but read the topic from the start.

The updates make me jealous

i had long ago rooted my device , i lost my nandroid back up on the second day when i had flashed a custom rom..
and now i use a so callled stock rom that i downloaded from somewhere idk
i dont get ny updates.. y is this so? ??
Why stock rom??? Get back on CM7 !
Or install a custom stock rom - get .sense - it's got sense v3.5.
*se-nsei. said:
Why stock rom??? Get back on CM7 !
Or install a custom stock rom - get .sense - it's got sense v3.5.
Click to expand...
Click to collapse
yeah bro i know that .. comon i am a tester of that rom i m in your team of wfsdev and you dont realize wierd.. nywys.. but i do think that my touch isnt that much responsive as it was and i think my radio should be updated
Forget about official updates if you have rooted device.
Wow, neither of you helped this guy, or even tried.
The only thing I would know to do is to find the original ruu for your carrier, flash that, and see where you stand. I'm pretty sure the updater only checks for firmware versions. NOT su installation. Could be wrong though...
mhrsolanki2020 said:
i had long ago rooted my device , i lost my nandroid back up on the second day when i had flashed a custom rom..
and now i use a so callled stock rom that i downloaded from somewhere idk
i dont get ny updates.. y is this so? ??
Click to expand...
Click to collapse
I think I can help you but I have a question
What does boot.img and system.yaffs2.img contain?
Edit: no need to feel sad, the update won't release in India for some time.
Sent from my HTC A510e using XDA
BigChillin said:
Wow, neither of you helped this guy, or even tried.
The only thing I would know to do is to find the original ruu for your carrier, flash that, and see where you stand. I'm pretty sure the updater only checks for firmware versions. NOT su installation. Could be wrong though...
Click to expand...
Click to collapse
We've been searching for a long time . It isn't there!
Sent from my HTC A510e using XDA
vbhtt said:
I think I can help you but I have a question
What does boot.img and system.yaffs2.img contain?
Edit: no need to feel sad, the update won't release in India for some time.
Sent from my HTC A510e using XDA
Click to expand...
Click to collapse
The boot.img contains all the data that is required for booting like boot animation your kernal and all .. the.system.yaffs2.img contains all the system apps (HTC likes , sense. , rosie n all ) .. its like a structure .. will explain you in detail when I sit on my lappy I can't wrote that Much with my cell
Sent from my HTC Wildfire S A510e using xda premium
BigChillin said:
Wow, neither of you helped this guy, or even tried.
The only thing I would know to do is to find the original ruu for your carrier, flash that, and see where you stand. I'm pretty sure the updater only checks for firmware versions. NOT su installation. Could be wrong though...
Click to expand...
Click to collapse
i actually tried to download the ruu of aisa but then when i extract the rom.zip from %temp% ie c:temp/rom.zip and try to extract it the error comes that it is not proper file like it is damaged (dont remember the exact error) then i have to break the operation .. so i posted ..
ny one from india can make a backup and just mail me the boot.img and system.yaffs2.img from the clockworkmod folder in the sd card???
vbhtt said:
I think I can help you but I have a question
What does boot.img and system.yaffs2.img contain?
Edit: no need to feel sad, the update won't release in India for some time.
Sent from my HTC A510e using XDA
Click to expand...
Click to collapse
see bro i explained you about the boot.img its only that much now in detail fr system.yaffs2.img (can be told as system.img too)
system.img is the system folder in your rom. when it is extracted it becomes the system folder..
if you go into system folder yyou will see these folders..
Code:
app
bin
customize
etc
fonts
framework
lip
lost+found
media
usr
xbin
and a file named build.prop
app:
Code:
it is a folder where all system apps are there..
you can paste a apk there to make it the system app
(the system apps dont get updates from market mostly
bin:
Code:
it hellps the icons to animate..
like if the animation has 9 images then to move those nine images
(that is to animate those nine images to become one animation)
the commands are given here in bin
(as far as i know i may be wrong about this)
customize:
Code:
all the customisations are here like your boot animation
(the default one not the customized one)
your default wall paper.. etc
etc:
Code:
all the permisions and etc are here
like the permisions of su , the bluetooth paired devices
your wifi passwords and all
fonts :
Code:
no explaination needed
framework:
Code:
it is a folder where all the jar files are located..
the jar files are used for all the work you do ..
like if you assign the MENU key with a Launcher then
tht assigning is saved into a jar
(this is never used with launchers its just an example)
if you wanna change the theme then you can edit
the framework-res.apk in it :D
lib:
Code:
all the lib like sound plugins this plugin that plugin
lost+found:
Code:
i dont know , its allways empty for me :(
donnt know what it is
media:
Code:
here you can paste the bootanimation.zip
of your own choice to have a
customized bootanimation.zip .
usr:
Code:
here all the icons are located ..
the icon of wifi bluetooth keyboard and all
xbin:
Code:
it is just a bin mostly used as a temp folder :D
the build.prop
Code:
its a file that is as like the updater script
but doesnt update nything but shows the information in the rom,
like what is the build of the rom
what version of the sense
what resolution you want
(the default is 120 but it is changable :D)
got things clear?
I got an idea. Go to HTC service centre and shed 500 re, rest they will do
Sent from my HTC Wildfire S A510e using XDA
peace.nitish said:
I got an idea. Go to HTC service centre and shed 500 re, rest they will do
Sent from my HTC Wildfire S A510e using XDA
Click to expand...
Click to collapse
bro if i go there with this version then i am pretty sure that i am gonna loose my warranty ..
Not a problem for me coz I am a cellphone retailer. Hehe
Sent from my HTC Wildfire S A510e using XDA
peace.nitish said:
Not a problem for me coz I am a cellphone retailer. Hehe
Sent from my HTC Wildfire S A510e using XDA
Click to expand...
Click to collapse
oh then the warranty wont be affecting you

Build.prop Tweak

Can anyone tell me the build.prop trick to change the device name to explorer as its ARM7
Sent from my HTC Wildfire S A510e using Tapatalk 2
simply get a build.prop editor from the market and look for you device name but look carefully or youll miss it then save and reboot and your done
I tried it but it kept changing back to wildfire s and marvel although I saved and exited???? More help plz it can I send u my build so u can edit it
Sent from my HTC Explorer A310e using Tapatalk 2
sure thing no problem
are you running custom rom or stock??
sharingan92 said:
sure thing no problem
are you running custom rom or stock??
Click to expand...
Click to collapse
Stock
Edit:
Ok I think I changed this thats y ^ its explorer but I can't bypass play.... ill give u my build when my computeelr gets fixed
Sent from my HTC Explorer A310e using Tapatalk 2
no problem mate
Just out of curiosity, would that make much of a difference?
From what I understand, you still can't run the applications that are designed form armv7 devices. Or am I wrong here?
AceRoom said:
Just out of curiosity, would that make much of a difference?
From what I understand, you still can't run the applications that are designed form armv7 devices. Or am I wrong here?
Click to expand...
Click to collapse
yes u are right
exactly it wont allow you to run them i dont get why he wants it but il still help out lol

[PATCH][REF] T-Mobile G2 Branding Patch

This does nothing more than re-brand the build.prop to T-Mobile G2 if you are using one. In other words it might not actually get around certain apps such as say Hulu in identifying your device with a non-Stock rom.
I wrote up this flashable zip because I was tired of editing the build.prop after a rom update. All this zip does is search for existing property lines and replaces them as per Gino A Melone's patchprops.sh script.
The following properties are replaced in the /system/build.prop , all others are left alone.
Code:
ro.product.model=T-Mobile G2
ro.product.brand=tmobile
ro.product.name=htc_vision
ro.aa.maincid=T-MOB010
ro.aa.cidlist=T-MOB010
ro.aa.modelid=PC1010000
ro.aa.skulist=531
ro.aa.mainsku=531
ro.ril.oem.ecclist=911
ro.product.model.internal=A8181
Modifying
You can also unpack the zip and modify the build.prop.patch file in notepad++/textmate and then re-zip accordingly to have your own set of props to be replaced upon flashing.
In OSX you'll want to zip it via command line (making sure to remove the .DS_Store files first) with something like:
Code:
zip -r9 vision_tmobile_branding.zip ./*
I imagine it's pretty much the same on linux. I only mention it because archiving tools may not correctly pack the zip, or may include the parent folder instead.
kbeezie said:
ro.product.model.internal=A8181
Click to expand...
Click to collapse
It should be A7272, isn't it?
Because A8181 is for original Desire.
NeverGone\RU said:
It should be A7272, isn't it?
Because A8181 is for original Desire.
Click to expand...
Click to collapse
No 7272 is desireZ, 8181 is G2, I've verified it.
(though oddly the tmobile UK desire shares the same internal ID as the tmobile USA g2, as does a tmobile G7 windows phone)
Sent from my T-Mobile G2
This is the best. Thumbs up and thanks mate!
Sent from my HTC Vision using xda premium
I'm not on tmo, but thanks for contributing this!
Sent from my HTC Vision using xda app-developers app
=JKT= said:
I'm not on tmo, but thanks for contributing this!
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
No Prob. It's mainly an issue with Tmobile users, since most roms are done by international developers, as such it's defaulted to the Desire-Z prop info. I mainly consider the patch to be cosmetic.

Categories

Resources