• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [MMS] Possible Fix?

G

g60madman

Guest
I was asked this question in the Hola :) thread I started and thought I would post this in the main thread. I clearly can not test this yet, as I don't have the HTC till Friday but I think this may work on the HTC as well since it's a VM Phone. This worked on Triumph and also Optimus as well.

Say g60, you any good with MMS?

I am not great with MMS but after seeing the issues on the forum I think I already know the fix, which is the same fix the Optimus, and Triumph (both VM phones) on CM7, & CM9 used. I would also assume CM10 but we never got that far with the RIL as CM9 was the main focus on the Triumph.

These hacks of course come from TickerGuy who he ported from inferiorhumanorgans

CM9
https://github.com/MTCM9/android_frameworks_base/commit/fb3e4d724af54b17fcc51cdb4a6a0f28afdd4b1b

CM7
https://github.com/tickerguy/android_frameworks_base/commit/37f690963d9885d66fdcca9939a26a495755e56a


Edit: By the way once the ROM was built you can also decompile the system/frameworks/famework.jar and take out that file smali code and apply it to other ROM's frameworks.jar. Once decompiled you would look in

framework/smali/com/android/internal/telephony/cdma/CdmaSMSDispatcher.smali

and just paste over the other ROM's same area.This was also done on our MIUI ROM as well. You can download the different flavors of the Triumph ROM's from here with the patch.

MTDEV Rom Browser

You want to pick the CM7 and or CM9 ROM's to test with.
 
Are these to test with a cm9 rom ?

Yeah you can download my CM9 ROM for the Triumph and then decompile the framework.jar. Then do the same for the HTC ROM and replace the Triumph's

framework/smali/com/android/internal/telephony/cdma/CdmaSMSDispatcher.smali

with the HTC and recompile the framwork.jar and then reflash the ROM and test. I have a really good feeling that will work as it's worked for both the Optimus and also Triumph on the VM network. Let me know.
 
Sorry I won't have any time to try this for a couple weeks (finals:(). Surely someone will before then
 
If I can find the free time amid applying to colleges and winter break, I'll try this fix out. It seems pretty simple to just try to apply this to the current files, but I have no experience with an android IDE and repackaging stuff, so it'd take me a day or two to get the feel of it.

Other than that, I really believe that this will work. The virgin tags & checks in those files are obviously the things we've been missing this entire time.

Hopefully someone with more free time and knowledge can expedite this fix.
Cheers!
 
If I can find the free time amid applying to colleges and winter break, I'll try this fix out. It seems pretty simple to just try to apply this to the current files, but I have no experience with an android IDE and repackaging stuff, so it'd take me a day or two to get the feel of it.

Other than that, I really believe that this will work. The virgin tags & checks in those files are obviously the things we've been missing this entire time.

Hopefully someone with more free time and knowledge can expedite this fix.
Cheers!

Just got the phone last night I will start to work on this soon. When working on the Triumph I did a full write up on how to decompile and recompile jar and apk files

AndroidDecompileRecompile - mtdev-cm - How to decompile and recompile all things Android - CyanogenMod by Team MTDEV - Google Project Hosting
 
man if you guys get this working on cm9 and maybe cm10 i will donate to who ever fixes the mms problem, thats the only thing stopping me from going that route
 
I remember doing this smali compiling and decompiling when porting lol. If anything else was broken after, I'd pass it on xD
 
man if you guys get this working on cm9 and maybe cm10 i will donate to who ever fixes the mms problem, thats the only thing stopping me from going that route

I should have it soon, problem is I am still waiting for HTC to send me my .bin file so I can root my device and test :D
 
Im guessing theres no hope for CM10's, such as http://forum.xda-developers.com/showthread.php?t=2007132

It's very possible, right now I am working on CM10 for the Evo V. This is will be designed to work with the Virgin Phone and not the hacked Sprint Phone mod which turns the phone into a Sprint Evo. Going to take some time to rewrite the device files and do some testing. If it works out I can work on other flavors AOKP, PA, and maybe even AOSP. I don't know how much time I am going to spend on it as I am slowly moving into app development but I would like a working CM10 at the very least!
 
It's very possible, right now I am working on CM10 for the Evo V. This is will be designed to work with the Virgin Phone and not the hacked Sprint Phone mod which turns the phone into a Sprint Evo. Going to take some time to rewrite the device files and do some testing. If it works out I can work on other flavors AOKP, PA, and maybe even AOSP. I don't know how much time I am going to spend on it as I am slowly moving into app development but I would like I working CM10 at the very least!

Maybe you can get 3d working also.:D
 
It's very possible, right now I am working on CM10 for the Evo V. This is will be designed to work with the Virgin Phone and not the hacked Sprint Phone mod which turns the phone into a Sprint Evo. Going to take some time to rewrite the device files and do some testing. If it works out I can work on other flavors AOKP, PA, and maybe even AOSP. I don't know how much time I am going to spend on it as I am slowly moving into app development but I would like a working CM10 at the very least!

Maybe you can get 3d working also.:D

yeah... 3d is a huge dream... htc offers alot of resources for 3d on htcdev... as for cm10, i believe jmz started something a few threads back... mabye that can help... he stoped developing it... not sure what ever happened to that dude...

here is jmz's cm10 but most things dont work... http://androidforums.com/evo-v-4g-a...hooter-rom-unofficial-cm10-shooter-alpha.html

here is stuff from htc dev center for 3d
http://htcdev.com/devcenter/opensense-sdk/stereoscopic-3d
http://www.htcdev.com/devcenter/opensense-sdk/stereoscopic-3d/stereoscopic-3d-api/
http://www.htcdev.com/devcenter/opensense-sdk/stereoscopic-3d/s3d-sample-code/
http://www.htcdev.com/api/addon-docs/reference/com/htc/view/DisplaySetting.html
 
yeah... 3d is a huge dream... htc offers alot of resources for 3d on htcdev... as for cm10, i believe jmz started something a few threads back... mabye that can help... he stoped developing it... not sure what ever happened to that dude...

here is jmz's cm10 but most things dont work... http://androidforums.com/evo-v-4g-a...hooter-rom-unofficial-cm10-shooter-alpha.html

What in the world happened to JMZ? Did he stop developing because of certain people in the cm10 thread???
 
It's very possible, right now I am working on CM10 for the Evo V. This is will be designed to work with the Virgin Phone and not the hacked Sprint Phone mod which turns the phone into a Sprint Evo.

All the "Fix everything by turning your phone into an Evo 3d" thread does is flash a new bootloader, radio, PRI, and PRL. It doesn't actually make the phone appear as an Evo 3D. Your ROM should still work on a phone that changed those things, right?
 
All the "Fix everything by turning your phone into an Evo 3d" thread does is flash a new bootloader, radio, PRI, and PRL. It doesn't actually make the phone appear as an Evo 3D. Your ROM should still work on a phone that changed those things, right?

The only issue could be the Bootloader. Example being Paranoid. Only works on certain HBoots, which makes me kind of sad. I'd love to use an AOSP rom, but I couldn't S-Off this thing. I tried for hours. I gave up, really.

If we could (somehow) get a universal HBoot AOSP rom...that would be amazing.
 
All the "Fix everything by turning your phone into an Evo 3d" thread does is flash a new bootloader, radio, PRI, and PRL. It doesn't actually make the phone appear as an Evo 3D. Your ROM should still work on a phone that changed those things, right?

I would assume but not 100% I have never been a big fan of updating PRL's, however Triumph users did it all the time and had no issues with my ROMs. Also I don't have any plans to run S-Off unless I need to for some reason. I personally like the fail safe brick option on the phone :) My plan is to stick with as close to stock ROMs as I can like the Triumph and remove as much bloat as possible. Right now I am rewriting agraben's device files to be more inline with the virgin mobile version of the Evo and hope to kick off my first build tonight.
 
./apktool b framework.jar.out framework.jar
I: Checking whether sources has changed...
W: Could not find resources
I: Building apk file...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/zach/tools/framework.jar, /home/zach/tools/framework.jar.out/build/apk]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildApk(Androlib.java:355)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /home/zach/tools/framework.jar, /home/zach/tools/framework.jar.out/build/apk]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 5 more
Caused by: java.io.IOException: Cannot run program "aapt": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:78)
... 6 more
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 9 more

Get this when recompiling after switching out the AOKP CdmaSMSDispatcher.smali with the one from Triumph rom.
 
Back
Top Bottom