[MOD] [Team XPOSED] Roaming Options are here!

freeza

Recognized Developer
May 28, 2006
5,326
14,128
263
Pasadena, CA
www.freeza-inc.com
Well hey there guys. Would you like roaming options on your EVO LTE?

Here they are :)



Instructions and prepackaged apk coming up :)

NOTE: Also, the settings will look slightly different from the picture above. Roaming only is now below "Automatic" because before, the radio button would be ticked for "Roam only" when it was really for Automatic.

Known issues:
-Roaming radio button doesn't appear ticked when you tap it, but it is, and it works.

Flashable zip is below. Wipe dalvik please :)

ROM chefs feel free to include in your ROMs. No permission, credit, or anything else necessary.

HOW TO:

This will be kind of sloppy but there are really only 4 changes that are needed to get this working

Decompile phone.apk and navigate to \res\values\arrays.xml

Step 3: FIND:
Code:
<string-array name="cdma_system_select_choices_sprint">
                   <item>Sprint only</item>
                   <item>Automatic</item>
ADD:
Code:
<item>Roam only</item>
FINAL RESULT:
Code:
<string-array name="cdma_system_select_choices_sprint">
                                   <item>Sprint only</item>
                                   <item>Roam only</item>
                                   <item>Automatic</item>
                                   </string-array>

Step 4: FIND:
Code:
<string-array name="cdma_system_select_values_sprint">
                   <item>0</item>
                   <item>2</item>
		   </string-array>
ADD:
Code:
<item>3</item>
FINAL RESULT:
Code:
<string-array name="cdma_system_select_values_sprint">
                                 <item>0</item>
                                 <item>2</item>
                                 <item>3</item>
		                 </string-array>
Step 5: Navigate to com\android\phone\cdmaroaminglistpreference$myhandler.smali and open with your editor.

Step 6: FIND:
Code:
.local v1, settingsRoamingMode:I
                       if-eqz v2, :cond_0

                      const/4 v3, 0x2

                      if-eq v2, v3, :cond_0

                      const/4 v3, 0x3
This is where it got kind of tricky on the EVO LTE. Basically, you will need to find a block of similar items, that go like this:
const/4 v3, 0x1

const/4 v3, 0x2

const/4 v3, 0x3

const/4 v3, 0x4

(THIS IS ONLY AN EXAMPLE)

Once you find that block/group, change the one that says 0x3 to 0x1 then save and exit the file.

Step 6: Navigate to com\android\phone\cdmaroaminglistpreference.smali and open with editor:

This will be similar to the last step. Find that same block or group. The files are relatively small in size so it shouldn't take forever to navigate through them.

Once you find the block, once again change 0x3 to 0x1.

NOTE: There will be multiple instances of 0x3 in both files, you only need to change ONE of the instances and it needs to be among the group of const/4 v3, 0x*s.

Save and close the file then recompile the phone.apk, push to your phone, and hope for the best.
 

Attachments

Last edited:

Art2Fly

Senior Member
Aug 11, 2010
859
416
0
Saw this in IRC thank you so much. Little by little all these mods are coming together to make an amazing phone even more incredible

Sent from my HTC EVO 4G LTE
 

1stCentauri

Senior Member
Aug 22, 2011
215
10
0
Bristol
Will this work on LTE as well? If we are in a Verizon LTE area will we pick up their LTE?

Edit- doesn't seem to want to stay on roaming let alone pick up any data. Looking forward to being able to use this though!
Sent from my LTEvo using XDA premium
 
Last edited:

doitda

Senior Member
Jul 6, 2010
129
13
0
Force crashes Android Phone app on selecting Roam Only.
Disconnects and reconnects the radio.
Sets the roam mode back to auto and does not force roaming.

Using latest Fresh ROM.
 

reverepats

Senior Member
Dec 22, 2010
6,552
5,264
0
Boston,MA
OK.....So i know i should prolly know this by now, but i gotta ask. I dont Roam at home or anything like that, but i usually work on the Western part of Mass, and i always seem to Roam when im in the heavily wooded area. What is the advantage of using this MOD? I mean, it seems pretty common sense to me, but i just wanna make sure im correct!! When its on "Automatic" does it continously look for a 3G signal when im Roaming? So when u select the Roam Option (from this MOD) is just strictly stays on Roaming?...TIA guys!!