MIUI V4 & APKTOOL PROBLEM


fergie716

Staff Developer
Aug 8, 2011
171
38
Hey guys, I've been searching the forums and couldn't fina a definitive answer

Here's the issue: I recently ported latest MIUI ICS to Nexus S 4G and am trying to mod Mms.apk to get working MMS

I install framework-res.apk from MIUI ICS, go decompile Mms.apk but get met with a slew of errors

Here is my log

If anyone can shed some light on this I would be very grateful

Thanks to everyone here!
 
Hey guys, I've been searching the forums and couldn't fina a definitive answer

Here's the issue: I recently ported latest MIUI ICS to Nexus S 4G and am trying to mod Mms.apk to get working MMS

I install framework-res.apk from MIUI ICS, go decompile Mms.apk but get met with a slew of errors

Here is my log

If anyone can shed some light on this I would be very grateful

Thanks to everyone here!
you also need to do:

apktool if framework-miui-res.apk

Without that installed it wont decompile the MIUI Apks.

Thanks,

Mark
 
you also need to do:

apktool if framework-miui-res.apk

Without that installed it wont decompile the MIUI Apks.

Thanks,

Mark


Thank you very much for helping Mark, I appreciate any help I can get lol

I tried doing that however I don't think apktool is installing both resources, just looks like it just overrides the initial framework

Here is my latest log trying the recommendation

Again, thank you so much
 
Because you are doing it wrong still :)

1. apktool if framework-res.apk
2. apktool if framework-miui-res.apk
3. apktool d Mms.apk
4. cd Mms/res
5. edit away :)

You had the framework file name wrong on step 2. :) try again and it will solve it.

Thanks,

Mark
 
  • Like
Reactions: fergie716
Because you are doing it wrong still :)

1. apktool if framework-res.apk
2. apktool if framework-miui-res.apk
3. apktool d Mms.apk
4. cd Mms/res
5. edit away :)

You had the framework file name wrong on step 2. :) try again and it will solve it.

Thanks,

Mark


I am officially the idiot of the day

Thank you Mark! Gunna see if I can get Mms fixed

Thank you!
 
I have a NS4G, I ported the GSM Nexus S build to my device. everything works fine except the MMS. I think its the mms_config.xml in /res/xml in Mms.apk

Oh I see, are you putting the release out here?
 
I can for sure!

The only problem Im having is that I cant put my fixes into the ROM, so the user has to flash rom, reboot, then there will be a lot of phone force closes, then you have to reboot to recovery, flash fixes then everything is alright

i mod the framework.jar (to fix cdma telephon), framework-res.apk (apn/eri for cdma) and Mms.apk for mms

I was able to fix Mms so that was great!

do you know how i could put these fixes into the ROM so I dont have to have such weird flashing instructions lol

i have a Windows 7 laptop in case that matters. I assume its because of the UID? im probably wrong lol

thanks again Mark!
 
I can for sure!

The only problem Im having is that I cant put my fixes into the ROM, so the user has to flash rom, reboot, then there will be a lot of phone force closes, then you have to reboot to recovery, flash fixes then everything is alright

i mod the framework.jar (to fix cdma telephon), framework-res.apk (apn/eri for cdma) and Mms.apk for mms

I was able to fix Mms so that was great!

do you know how i could put these fixes into the ROM so I dont have to have such weird flashing instructions lol

i have a Windows 7 laptop in case that matters. I assume its because of the UID? im probably wrong lol

thanks again Mark!

drop box the modded files for me and their destination locations, i'll make an overlay for you to follow :) we can also look at hosting the NS 4G ROM as well for you if you wanted?