yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] dwertz:
Has anyone figured out how to change the incoming MMS size? I have read all over that its in the useragent but I looked through the mms.apk and cant find it anywhere. It appears that HTC changed the location of the useragent.
[EVO 4G Themes and Apps] mooninite:
I'm interested in using the MMS fixes (the compression and size limit).

Firstly, I don't know what it means by deodexed.. I'm running a rooted HTC EVO w/ Froyo 2.2. Is the stock kernel deodexed? If not how do I put one on there that won't change much of anything else?

Can anyone point me in the right direction?

Also, I'm guessing to install them I just put them on the sdcard and boot into recovery mode and install the zips?

Thanks for the help!
[EVO 4G Themes and Apps] LearnIIBurn:
I was just curious, when I install the 5mb limit fix, where do I set it at? Handcent still only has a 2mb limit and i tried to send a 2.25mb pic and it compressed it. The compression doesn't automatically run if under 2 megs though, which is awesome :D

I'm also curious as to which carriers actually allow bigger mms' like that. I mean, what is the point of a 5mb limit on mms if Sprint doesn't allow you to send that large, and no other carrier allows mms that big.
[EVO 4G Themes and Apps] brol1k:
Hey calk, would you mind putting the hack of the MMS compression fix into the new and latest MMS.apk from the newest OTA? I just believe in having all the newest apks :)
[EVO 4G Themes and Apps] arielb27:
Calkulin's,

I would be great if you could post 1 more updates zips,

Like the one that puts the % in the default battery that you use in your rom, not the Circle on but the normal indicator.

Thank you for a great job with your rom's and updates. Keep up the great work.

Thank you.
[EVO 4G Themes and Apps] martijua:
Calkulin,

Can you post the changes that i need to make so that i can manually disable the usb debugging notification?

The zip file that you provided over writes the other changes that i have made to my classes.dex/services.jar

Thanks,

DannyM
[EVO 4G Themes and Apps] mizzos4:
Yes, please on this. Thanks Calkulin for these mods/fixes. If it's easier, can you please make a mod that removes both the debug icon and the battery icon? I like the debug icon removal but it restores the battery icon back also.
[EVO 4G Themes and Apps] verse187:
USB Tethering works great thank you
[EVO 4G Themes and Apps] EVOme:
Do you just flash these fixes???
[EVO 4G Themes and Apps] mikevillarroel:
Yes, just flash them !!
[EVO 4G Themes and Apps] EVOme:
Thanks!!.........
[EVO 4G Themes and Apps] Sporkman:
any luck getting the MMS fixes working on CM6
[EVO 4G Themes and Apps] EVOme:
Anyone wanna say how we know if these are working? I was able to get the hotspot to connect, but I still cannot edit the ssid or passphrase. Get a FC when I click it.
[EVO 4G Themes and Apps] bokechukwu1:
just testing out the evo 4g on sprint, thinking about switching from the hd2 but i dont know the mms thing is a huge one for me tested out these mods and mms ones dont work when you recieve a picture, which i sent from my hd2 that has mms fixes the image didnt compress at all when sending from hd2 the size of it was 224kb and when i recieved it on my evo the size got shrunk all the way down to a small 44kb and was thumbnail size when recieved instead of fullscreen like on hd2, i even get full uncompressed mms on android for hd2 now, so just my 2 cents I hope you find a fiz for this because if this is fixed im switching from hd2 to evo thanks
[EVO 4G Themes and Apps] chummer360:
Removed htc lock screen

Ok, after I flashed the "removed htc lock screen", everything is working fine until my alarm went off. I slide the unlock bar, it took me to the main screen but the alarm still rings. The only way I can shut it down was to reboot the phone. Other than that, everythign is fine. Can anyone help me with this, thanks.
[EVO 4G Themes and Apps] godfirst:
Same thing happened to me, compressed to 44kb, needs fix please.
[EVO 4G Themes and Apps] hidavi:
how do I apply the tether fix?
[EVO 4G Themes and Apps] firestetz:
You just flash it in recovery
[EVO 4G Themes and Apps] dkelle4:
See below for your answer!
[EVO 4G Themes and Apps] DomSim:
the mms to 5mb wont install for me either :( tried with amon ra and clockwork, redownloaded twice and still fails and both recoveries say E:failure at line 2 :confused:

cm6 nightly with snap kernal
[EVO 4G Themes and Apps] karmak:
CM6

I just flashed over to the latest nightly. I am in the process of restoring all my apps so I cant test it just yet but I was able to flash Virus's 5mb and compression fix mms zip files through clockwork. I dont know if he used Calkulin's and renamed them or he has a different version.

*Looks like the 5mb and compression fix are in a folder labeled MODS THANKS CALK so I assume they are the same*

*I was able to install the fix as long as I installed it before the first boot. If I did it after I got the same error as other users. Installing it before the first boot caused the messaging app to appear as it was not installed and I was unable to reinstall it*
[EVO 4G Themes and Apps] mylasthope:
Caulk, I just wanted to say that I love you! Your USB tethering fix works perfectly on Fresh 3.3.0.1! :)
[EVO 4G Themes and Apps] rhekn:
Fresh 3.3.0.1 here and tether works perfect

Posted from my desktop using tether :D
[EVO 4G Themes and Apps] thenewguy821:
It was asked before by someone else, but left unanswered, so I will ask again...

On the MMS fixes, when I try to send a pic to some of my friends, I sometimes get the message bounced back from sprint saying "The receivers carrier doesn't allow file sizes of that size, the message may not be delivered". I checked with the intended recipients, and they never received the MMS. I know the EVO and some other phones are capable of these messages, but unless everyone you send messages to has an EVO, or similar phone, the messages can't be sent. Is there a way to choose when to compress files and when to leave them uncompressed?
[EVO 4G Themes and Apps] rawdikrik:
The USB tethering fix does work perfectly and I thank you for that.

Out of curiosity though, why doesnt it work with 4G?
[EVO 4G Themes and Apps] kushdeck:
+1 char char

-deck
[EVO 4G Themes and Apps] awenthol:
Glad I'm not the only one unable to keep 4G when tethering...

Guess I'll stick with Wireless Tether for Root users, when I'm in 4G areas.
[EVO 4G Themes and Apps] asafegous:
Is data speed faster, the same, on usb or on wireless tether?
[EVO 4G Themes and Apps] rawdikrik:
I now live in a 4G area, and I love it. But using the wireless tether kills my battery and drops out sometimes, while the tethered connection is rock solid.

The only problem is, as soon as I activate wired tether, 4G drops and it just goes into "scanning" mode.

Nonetheless, Im still using 3G and wired as its alot more reliable.

I was just really curious as to why it didnt work and if maybe I was doing something wrong.

If Caulk or someone in the know could chime in....

(BTW Caulk, Ive been an avid follower since TP1 and TP2. Glad to have you over here)
[EVO 4G Themes and Apps] awenthol:
I'm interested as well. I never did test speeds when I had wired tether working and the current EViO ROM doesn't support it, so I can't try it now.
[EVO 4G Themes and Apps] timothydonohue:
for those of you unable to tether on 4g, it's probably because you're not paying for the service. 4g hotspot (essentially your tether) uses MAC address authentication, so unless you spoof your MAC address to be that of someone that DOES pay for it, you aren't going to get it.

btw, pretty sure that spoofing is at least frowned upon, if not illegal. i don't know.
[EVO 4G Themes and Apps] timothydonohue:
also, tried flashing the mms and tethering fixes over the 10/6 CM nightly with snap 7.6 kernel and it locks it up. not really a boot loop, because never gets to the boot screen. just sits at the stock "htc evo 4g" white screen. and sits there. and sits there.
[EVO 4G Themes and Apps] daniel06gt:
MMS Compression Fix - Won't compress image unless it's over the limit

MMS 5MB Limit Mod - Raises MMS limit to 5MB

Confirmed working on CM6
[EVO 4G Themes and Apps] FractalSphere:
Dude, these worked like a charm! Thank you, sir! :D
[EVO 4G Themes and Apps] awenthol:
Thank you for that info!!
[EVO 4G Themes and Apps] th3b055:
Well it is only natural for people to ask/request a fix for the 4G wired tether. I am one of them. Main reason being is because 3G and 4G wired tethering works out of the box with Android 2.1. Sprint/whoever locked it out with the new 2.2 update.

Anyways, Calkulin you are the best! Hope you find a fix of this
[EVO 4G Themes and Apps] eniamg02:
Hey calk, not sure if anyone has mentioned this but seems a though your usb fix also gets by the wifi hot spot sprint authentication.heres original thread.http://forum.ppcgeeks.com/htc-evo-4...nts-hot-spot-work-completely-root-needed.html

Credit op for the find.nice work as always calkulin.
[EVO 4G Themes and Apps] pitmanr2003:
I can't get the mms tweak to work on any non sense rom. Can't send video message that is only 500kb long
[EVO 4G Themes and Apps] Shauli20:
Calkulin, I love you! Now on the latest firmware update (3. 29) I flashed the tethering fix and amazingly the Hotspot works too (on 3G)! Awesome work! Thanks a lot.
[EVO 4G Themes and Apps] jtadeo:
nvm read a little more
[EVO 4G Themes and Apps] jtadeo:
this

great work Calkulin, I hope you find a fix for 4g tether
[EVO 4G Themes and Apps] gtkansan:
So who has this working with 3.29 and wired/wireless sprint tethering? I get wired but not wireless.
[EVO 4G Themes and Apps] Shauli20:
I'm assuming only 3G is working for you. I have wired and wireless working on 3.29 but only 3G.
[EVO 4G Themes and Apps] Sir-Duke:
stupid question ........... how do i apply these updates ?
[EVO 4G Themes and Apps] Shauli20:
Flash the zip file through recovery.
[EVO 4G Themes and Apps] EVOme:
Can you flash all these at once....one after another or do I need to reboot after one, boot back to recovery, do the next...so on and so fourth??
[EVO 4G Themes and Apps] Ep3n3wp:
Any word on getting 4g to work with wired usb tether?
[EVO 4G Themes and Apps] gtkansan:
Who knows how to undo the mms compression zip? I need to undo it.
[EVO 4G Themes and Apps] Shauli20:
Unless there is a zip file which will restore the default you may just have to restore your Nandroid backup.
[EVO 4G Themes and Apps] thlinx:
So I tried this Usb tethering fix, and its giving me a 67 dismiss because I don't have the correct password or logging for sprint vision pcs..
[EVO 4G Themes and Apps] Shauli20:
This obviously means that the fix didn't work. What ROM are you running? It seems that if it's Odexed then it doesn't work.
[EVO 4G Themes and Apps] SteelH:
Replace your Mms.apk with an original one.
[EVO 4G Themes and Apps] d0cx:
Well... using latest SteelROM RevH, Sprint Mobile HotSpot works with the fix included here. The USB Debugging notification removal also works. :)
[EVO 4G Themes and Apps] jpatterson350:
I love the tether fix however is anyone else having browser issues? I think when you flash the USB tether fix it causes the browser to crash if you hit the back button while loading a page. Does anyone know of a fix?
[EVO 4G Themes and Apps] Shauli20:
I had that exact issue before, only on 3.29. I didn't tie it to the tethering fix, but updating to 3.30 may fix your issue. I personally went to Ava - FroyoV9 ROM which is based on 3.29 but I don't have the browser issue anymore. So a custom ROM may also fix your issue.
[EVO 4G Themes and Apps] That0neUser:
I had that issue on 3.29 as well. Replacing the browser.apk resolved the issue. I'm attaching a flashable .zip containing the browser.apk.

I'm currently running OMJ's 3.7 ROM (3.30) and do not have this issue. I have no clue whether the browser issue is related to the USB tether fix, but I know it's not been included in OMJ's ROM due to the updates with 3.30.

Hoping Caulkin updates the fixes for 3.30 soon. I see he's working on a new ROM at the moment.
[EVO 4G Themes and Apps] aamikam:
ok... i noticed that no one did it yet... so ill post it here for u guys who are running the new 3.30 roms.

current calk's usb tether tweak is made for 3.29 roms... if im not wrong it still works but there were a few files inside the classes.dex that differ between the 3.29 and 3.30.

anyways... i dug inside the smali code and ported his tweak to the new framework.jar file from 3.30.651.2.

please note that this will not break your current sprint hot-spot hack also... i double checked both tether options.

flashable zip attached... have fun.

p.s.

@calk.... i hope u don't mind that i've done that.
[EVO 4G Themes and Apps] That0neUser:
Thanks, aamikam.

Could you tell me specifically what changes you made within the classes.dex of the framework.jar? Or at least which file(s) in the classes.dex are edited.

Thanks again!
[EVO 4G Themes and Apps] Sanien:
How to apply mods?

This may sound stupid but how do you apply these mods?

Specifically:

Calkulin_'s_EVO_2.2_MMS_5MB_Limit

Calkulin_'s_EVO_2.2_MMS_Compression_Fix

Thanks.
[EVO 4G Themes and Apps] aamikam:
there are 7 files that differ between the old and new version.... vimdiff it or use someother util to see which ones... i dont remember the name off the top of my head... but the tweak is not in all of those 7 files.
[EVO 4G Themes and Apps] aamikam:
d/l the zips... put on your sd card root dir.

and flash through recovery.
[EVO 4G Themes and Apps] That0neUser:
I was looking for the name of the file(s) that are modified for the tweak.
[EVO 4G Themes and Apps] Ep3n3wp:
Any idea or fix for usb tether with 4g.... Or an answer as to why it doesn't work?

Its weird that 4g tethering works with pda.net..
[EVO 4G Themes and Apps] aamikam:
i dont have 4g where i am...

what happens... does it pop a message or simply connects without internet access?
[EVO 4G Themes and Apps] Shauli20:
Basically, if you try to tether, wired or wireless, the 4G will disconnect and revert to 3G. Once you shut off the tethering 4G will turn back on.

I don't pretend to understand these things, but supposedly Sprint has a different authentication method for 4G, which Calkulin's hack doesn't address. (MAC address???)

PDAnet doesn't actually disable authentication, but rather it uses a proxy (what ever that means).
[EVO 4G Themes and Apps] aamikam:
gotya...

well... i didnt try to modify anything from what calk originally done... and im not really an expert on smali... i simply compare files to get the job done.

i did see something that has to do with wimax though... but i also saw that calk took it out... so i took it out also...

i'm assuming calk knows much better than me... and it was probably taken out for a reason... one thing i didn't do was to compare it with the original 3.29 file... i jumped straight to 3.30... so maybe that will show a little more of whats going in with that tweak.
[EVO 4G Themes and Apps] nickflo13:
Do you have a link for the original mms.apk file? I need to undo this change as well. Other providers don't accept messages after I made this change. Receiving MMS messages is a problem as well.
[EVO 4G Themes and Apps] groovdafied:
(sigh) Hotspot mod is not working for me, I'm still getting error code 67...

I'm running unrevoked with 3.29 :(
[EVO 4G Themes and Apps] Shauli20:
What ROM are you running?
[EVO 4G Themes and Apps] groovdafied:
I'm running a rooted stock rom by Unrevoked (I believe). It was the instructions from this website. However I just downloaded the standard android tethering app, and I'm able to tether via wifi.
[EVO 4G Themes and Apps] Shauli20:
Apparently Odexed ROMs aren't compatible with the Hotspot hack. Stock FroYo is very likely Odexed. You can get Deodexed stock, and most custom ROMs are Deodexed too.
[EVO 4G Themes and Apps] aamikam:
disregard.
[EVO 4G Themes and Apps] Neotelos_com:
I think this is controlled by one of the APKs.

I had this working when PRL and Profile update weren't working, once I got them working I lost 4G tether.

It's very finicky and I haven't been able to even start to really pinpoint what is going on, but I hope these findings of mine may help someone.

Here's a list of APKs I was playing with removing/adding: (May not be 100% accurate, but from what I recall)

CheckinProvider

IQRD

DmService

CustomizationSetup

CustomizationSettingsProvider

FieldTest

FieldTrial

HtcDm

HtcIQAgent

Just to reiterate, my 4G tether DOES NOT currently work, but I had it working at one point. I also played with clearing the cache each time I made changes.
[EVO 4G Themes and Apps] Shauli20:
I might try it. I'm not very savvy with the inner works of Android, but I've used ADB to root my phone so I know a little about it.

But honestly, I don't think your experience proves anything, because as long as 4G is not connecting it won't try to authenticated and therefore doesn't shut off the Hotspot.

Just to be sure, this modified Framework won't affect my phone in any other way? (I'm using the default lockscreen from MikFroYo).
[EVO 4G Themes and Apps] aamikam:
Agreed dude... im really not sure its gonna work, that's why I said its just a quick tiny change to see if maybe it works... If I could test it myself I could tell... but I can't.

That's the only reason I even attached the file.

To be honest... if u don't wanna test and risk something don't.

I don't expect people who don't like to experiment with their phone to check it out.

I will take a look at the big list of apks that were mentioned above for sure though to check for more similar entries that was taken out of the framework jar to make the USB tether work.
[EVO 4G Themes and Apps] nickflo13:
T-Mobile is one company that doesn't accept messages after performing this mod. Currently using Handcent as a work around until I can undo this mod. Can anyone provide a working link to the stock evo mms apk for download? Thanks.
[EVO 4G Themes and Apps] Shauli20:
Can I just copy / paste the modified Framework via a file manager into system / framework?
[EVO 4G Themes and Apps] aamikam:
unless u using root explorer or something like that probably not.

i would suggest adb either way... cuz u can also pull a copy of the old one if u need to restore.

that would save u from doing a nand backup that takes some time to do and restore it.

using adb u would just do the folowing:

1. adb remount.

2. adb pull /system/framework/framework.jar framework.jar.bak (to save a backup copy)

3. adb push framwork.jar /system/framework/

4. restart.

and u done.

if u wanna restore just rename the framework.jar.bak file to framework.jar and do #'s 1,3 and 4.

i think it probably wont work... but feel free to try... i think it was said before... so im probably gonna pull it down... but feel free to use those processes for other things u might wanna try... this case u dont need to set permissions for it... but some files would requires that u would, so keep that in mind.
[EVO 4G Themes and Apps] Shauli20:
I understand mostly what to do. 2 questions: when I pull the original framework.jar where is it backed up? And can I use Terminal straight on my EVO? I type the commands above without "adb", right?
[EVO 4G Themes and Apps] Silpheed21:
i am running MynWarmTwoPointTwo which has the USB tether patch already built in. However, I can connect to my hotspot, get a valid 192. IP address but get no internet. My connection has an exclamation mark on it in windows. Any ideas? Also, i tried flashing with the USB fix from this post just to double check.
[EVO 4G Themes and Apps] aamikam:
u can pick where it will go to.

just enter the full path.

i noticed that the hot-spot can be buggy sometimes... try this and it will work..

first use usb tether just for like 2 seconds... then switch to hot-spot... im not sure why its happening like that.. but if hot-spot dont work for me sometimes... that what i do and then it works.
[EVO 4G Themes and Apps] Shauli20:
Mik, I followed your directions to put your modified Framework.jar into /system / framework on my phone. And assuming I did it right, it seems it didn't fix the Hotspot on 4G. Oh well. Hopefully someone will come up with a hack for that. Thanks for your effort.
[EVO 4G Themes and Apps] Calkulin:
I don't mind but if you transferred all the smali's that were different then you essentially created the 3.29 framework out of the 3.30 framework files, so it's basically the same file I posted in the first place.

But I'm uploading the new versions based on the 3.30 framework anyways for those that want it

All you have to do is the change the limit to 500K in the MMS settings and they will be able to receive it as it compresses the pic again. My wife has a Blackberry on T-mobile, so I have to do this everytime for her but her sister has a Nokia on T-Mobile also that has no problem receiving 2MB pics, so it the phone rejecting the uncompressed pics not the network.
[EVO 4G Themes and Apps] Calkulin:
Updated the OP with 3.30 build files and also included my port of SNQ's 4-in-1 reboot mod
[EVO 4G Themes and Apps] Shauli20:
Thanks Calk. I really love all your mods and tweaks. Any chance we may be seeing a fix for 4G on the Hotspot?
[EVO 4G Themes and Apps] scheelwd:
Outstanding work as always.
[EVO 4G Themes and Apps] Calkulin:
I tried looking at it yesterday and it's not going to be exactly easy as it will require alot of compiling, flashing and testing, so once I have a couple of hours to dedicate to that, I'll figure it out(hopefully)
[EVO 4G Themes and Apps] dadoc04:
good stuff Calk... thanks for everything
[EVO 4G Themes and Apps] cervantes008:
Is there a way to enable Search Capacitive Button?
[EVO 4G Themes and Apps] THunDA:
Check Calkulins rom thread..

http://xdaforums.com/showthread.php?t=745205
[EVO 4G Themes and Apps] aamikam:
there were 7 different files... now... correct me if im wrong.. but i noticed that u changed 2 files not including taking the vibration off the vanilla lockscreen for the tweak.

so basically what i did was applying the changes u make the those 2 files... one of them had to do with wimax... which i thought might be why 4g wasn't working for people... but it wasn't.... and im really not an expert.

unless there is something that has to do with the tweak inside "MiniThumbFile.smali", "SlidingTab.smali" or "MessageProvider$missedmessages.smali"... our two framework files from 3.30 are exactly the same.

but u know what u did... i was just guessing what it was, tried... and it worked, but i will have to assume that your version thats put up right now is more complete since u the one who made it in the first place.

thanks for all your work man.
[EVO 4G Themes and Apps] aamikam:
calk... for the 4g to work... how about playing with this method.

".method public isDisableWimaxWifiCoexist()Z"

its in the framework.jar files...

"WimaxStateTracker"

i know it might not be the right one to play with... cuz if 4g is used why use wifi... but maybe the hotspot uses the wifi... and wifi and 4g can't work together without some tweaks.

but, im not an expert... but thats why im asking u.

i wish i had the ability to test what it would do if i would change somethings in it... but no 4g here for me... so i cant really check.

i hope that helps a little.
[EVO 4G Themes and Apps] Shauli20:
Would the reboot mod work for 3.29 as well?
[EVO 4G Themes and Apps] Calkulin:
Yes it should work fine on 3.29 and even 3.28
[EVO 4G Themes and Apps] Calkulin:
Also I ported SNQ's mod to disable text reflow in the browser, so download is in the OP
[EVO 4G Themes and Apps] Calkulin:
I mod the HtcCdmaProfileSwitch.smali to disable authentication, so my guess is the cause is there. I just need to revise the mod and see what causes 4G to turn off if enabled