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

Root How to get MMS working in Villain

I did this..

1. From CMD in Windows and your tools folder: adb shell
2. cd /data/data/com*telephony/databases
Note. I kept on getting "bad substitution" errors so I did cd /data/data and
then cd com*telephony/databases/ which seemed to get me there.
3. sqlite3 telephony.db
4. You can see the table that needs to be updated by typing:
select * from carriers where name = 'Production';
(you don't have to do that)
5. Use one of the lines below which matches your country and network
6. select * from carriers where name ='Production';
(to check the table was updated)
7. Reboot

So broken down step by step, you would go to command prompt, and type:
cd\
(hit enter)
cd androidSDK\tools
(hit enter)
adb shell
(hit enter)
cd /data/data/com*telephony/databases
(hit enter)
sqlite3 telephony.db
(hit enter)
(OPTIONAL TYPE IN)select * from carriers where name = 'Production'; (and hit enter, this will show you the current MMS settings)

then put this line in (if it word wraps on the forum, it is all one line, so enter it as such in command prompt, specific to Orange, I'm pretty sure it would be the following:

update carriers set mmsproxy='192.168.224.010', mmsport='9201', mmsc='http://mms.orange.co.uk' where name = 'Production';
(and hit enter)

It should then be written correctly for Orange. Reboot the phone and try an MMS.
 
  • Like
Reactions: jedikv
Upvote 0
By the way, the reason it uses the name "Production" is because there is an MMS profile under the stock messaging app called Production, but the settings are locked out. You can not modify them from the phone which is why you have to use the command prompt.

If you go to the stock messaging app, and press menu, settings, and then click Connection Settings, you will see it.
 
Upvote 0
Exactly! You got it. Since the ROM is based off of the leaked sprint hero rom, it is locked to sprint which is why changing the APN alone doesn't fix MMS.

Andy d, yes, make sure your phone is plugged in. Once the phone is connected, you're using the command prompt on your PC to access your phone via the android sdk tools.
 
Upvote 0
I did this..



So broken down step by step, you would go to command prompt, and type:
cd\
(hit enter)
cd androidSDK\tools
(hit enter)
adb shell
(hit enter)
cd /data/data/com*telephony/databases
(hit enter)
sqlite3 telephony.db
(hit enter)
(OPTIONAL TYPE IN)select * from carriers where name = 'Production'; (and hit enter, this will show you the current MMS settings)

then put this line in (if it word wraps on the forum, it is all one line, so enter it as such in command prompt, specific to Orange, I'm pretty sure it would be the following:

update carriers set mmsproxy='192.168.224.010', mmsport='9201', mmsc='http://mms.orange.co.uk' where name = 'Production';
(and hit enter)

It should then be written correctly for Orange. Reboot the phone and try an MMS.


Im assuming you tried this and it worked, My conection settings now show

Name: Production

MMSC http://mms.orange.co.uk

MMS port 9201

MMS protocol WAP 2.0

Still wont work.. any more suggestions
 
Upvote 0
andy d, command prompt isn't related to the phone actually, it's a windows program. If there is a file called cmd, or command prompt, click it and it will open a window that has a black background, and white text.

jaffa, actually I should state that I am in the USA and I am using AT&T as my provider. I was able to get this to work in one shot with my settings, so I looked for the MMS settings for Orange and plugged in the values for it instead of mine. Some people suggested trying port 8080 in stead of 9201 in the line

update carriers set mmsproxy='192.168.224.010', mmsport='9201', mmsc='http://mms.orange.co.uk' where name = 'Production';

Those are the correct values according to the 2 places I saw them.. I'm not sure why it wouldn't work..:thinking:
 
Upvote 0
Start Menu > All Programs > Accessories > Command Prompt :

CommandPrompt.jpg
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones