FINALLY! Roam only under Mobile Networks - HTC EVO 3D

Okay, well, using MrGregs info in the Hero forum, I have managed to get Roam Only built into the Phone apk. This should allow you to switch to Roam only from Roaming under Wireless & Networks - Mobile Networks.
Issues:
when you select Roam Only, the button does not stay pressed, it is selected, but does not show it, the other 2 options stay checked, just not this one.
It takes a while to switch to Roam Only
Without using the prl trick, you will only be using 1X data...while I believe this is true, I have found that sometimes while roaming, I will have the 3g icon.
This was done to the synergy Phone.apk, so you should be using that Rom. If any other developers want support, I can lay out what I did. This was done with MrGregs info, but I was having issues getting the Phone.apk to decompile to edit. I figured out how to use 2 tools to accomplish this...again, I deserve no credit, as I did not figure out the edits myself.
To enable this, dump Phone.apk to the same directory as adb. Open a command prompt and change directory to your adb folder.
Code:
adb shell sysrw
adb shell mount (check and make sure system is rw)
adb shell rm /system/app/Phone.apk
adb push Phone.apk /system/app/Phone.apk
adb shell
cd /system/app
chmod 644 Phone.apk
ls -l (check and make sure that all your files are -rw-r--r--
reboot
when your phone reboots, you can go to Wireless & networks -> Mobile Networks -> Roaming -> Roam Only
Wait for the triangle to appear
Open Phone and dial *2 - Sprint Zone should come up (if it doesnt its because you dont have it installed) and your voice and data should be green. Click on call sprint and it should give you a prompt for a voice roaming call. Done. I had a red mark for voice until I rebooted, then it was green. To switch back, change Roam Only to Automatic or Sprint Only.
Hope someone finds this useful
If there is an issue, let me know. I know I cant fix it, but if I can get some devs to jump on this, maybe they can fix whatever is wrong. There is one thing that worries me and that is the original Phone.apk I used is 1MB larger than this one, maybe better compression?
Method for doing this yourself:
1. Download phone.apk.diff.zip from here
2. Also download baksmali, smali, and apktool - google should find these pretty easily, if there is a comment, I can post links (remove the -1.2.8 from the jar files).
3. Move these to a location (from here on, I will refer to this location as ANDW)
4. From you rom, grab Phone.apk, com.htc.resources.apk, framework-res.apk and move these to ANDW.
5. Make a backup of Phone.apk -> Phone.bak
6. Extract classes.dex from Phone.apk (only that file is needed, so I opened Phone in 7zip and dragged classes.dex to ANDW)
7. Extract phone.apk.diff.zip (should have 3 files)
8. Open an elevated command prompt and run this command from your location:
Code:
java -Xmx512m -jar baksmali.jar classes.dex
9. Goto out\com\android\phone
10. Open CdmaRoamingListPreference$MyHandler.smali in a text editor (preferably Notepad ++)
11. Search for
Code:
const/4 v3, 0x3
and change to
Code:
const/4 v3, 0x1
12. Save file
13. Open CdmaRoamingListPreference.smali
14. Search for
Code:
const/4 v2, 0x3
and change to
Code:
const/4 v2, 0x1
14a. for each of these const/4 v2, 0x* MrGreg made comments for each one 2=automatic, 4=sprint only, 1=roam only, you can make these comments is you want, also make them for the pswitch grouping a few lines down if you are going to do that. His changes are in the diff.zip
15. Save file
16. Go back to your elevated command prompt and run this command
Code:
java -Xmx512m -jar smali.jar out -o classes.dex
apktool if framework-res.apk
apktool if com.htc.resources.apk
apktool d -s Phone.apk
17. Goto Phone\res\values and open arrays.xml in your editor
18. Search for
Code:
<string-array name="cdma_system_select_choices_sprint">
and add a new line after "Sprint Only"
19. Insert this line in the new line
Code:
<item>Roam only</item>
20. Search for
Code:
<string-array name="cdma_system_select_values_sprint">
and insert this in a new line under "0"
Code:
<item>3</item>
21. Save file
22. Run this from an elevated command prompt
Code:
apktool b Phone
22. Goto Phone\dist and open Phone.apk in 7zip.
23. Open Phone.bak in 7zip also...so you should have an explorer window set to your location and 2 7zip windows (one with the newly created Phone.apk from apktool and Phone.bak that is a backup of Phone.apk original from your rom)
24. In the explorer window, drag your newly created classes.dex into the Phone.bak 7zip window and drop (yes overwrite...if you want, delete both classes.dex and resources.arsc, that way there isnt an issue)
25. In your Phone.apk 7zip window, drag resources.arsc to the Phone.bak 7zip window and drop
26. Save Phone.bak and change the extension to Phone.apk
27. You are now done and can cleanup everything but your new Phone.apk
I am doing most of this from memory as I want to get this out for those that want to do this...I will be redoing the edits with these instructions and see if everything is correct.
The reason you want to drag and drop into your original Phone.apk/bak is because you can not resign system apks...this method bypasses that issue.
Please give credit to MrGreg

Hmm nice, ill give this a try when i get home.

I tried this and I get a recording from the nice Verizon lady saying she cant authenticate my phone . Any suggestions ?
Sent from my PG86100 using xda premium

Definitely nice but I already bought his app long time ago since no one got this going on the og Evo
Sent from my PG86100 using xda premium

cbrown245 said:
I tried this and I get a recording from the nice Verizon lady saying she cant authenticate my phone . Any suggestions ?
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
What are you doing when you get the recording. If you are using the Sprint Zone app, it will not authenticate, but if you are calling...lets say your significant other...it should just have a prompt saying you are making a roaming call, and once you hit okay, it should connect. I mainly did this for the data roaming.
Another issue I noticed is it seems real finicky depending on how you hold the phone and whether or not it loses roaming service - does not affect when you are not roaming, only when roaming...could have something to do with tweaks in the rom, but figured I would let everyone know.
Also, jkcpsal...this is not to take away sales from MrGregs Roam Control app as I am sure it offers more features or will as it can be updated. I would suggest buying the app for those who can.

Roam control ape also does not require root for select HTC devices, like the 3D.
Sent from my HTC Evo 3D

cbrown245 said:
I tried this and I get a recording from the nice Verizon lady saying she cant authenticate my phone . Any suggestions ?
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
I've posted this a few other times as a response to this question (though no one seems to listen) as I had the EXACT same problem as you. Call sprint, get to tech support and have them do an hrl refresh (reset, reload, etc....) and that should do the trick.

I'd appreciate you detailing the changes that allow that option. I like to edit my own files for my ROM.
edit - does this also roam 3g data? I've used Roam Control some and it seems to always be 1x data (could be my location though).

Thanks for this! I personally bought roam control but found it not really reliable at all! Thanks to this tweak I can just trigger it and it goes to roaming perfectly fine without any glitching out or needing a reboot.
Sent from my PG86100 using Tapatalk

I am glad people are saying this works as that was my biggest fear when I was posting this.
To mwalt2, this will only allow 1x from my testing, I have not gone to an area where I can roam 3g yet (though I think the only reason I can in this one spot is because of an agreement Sprint has). This should only allow 1x. The way to get 3g roaming is by using a Verizon prl. tecknofile (sp?) had one posted in the EVO 4g forum. You get that and update your prl and you should get 3g roaming. This method does require extra work as I had to restart the phone every time I changed my prl, even if it was the original. So, if you are going to roam a short while, I would not recommend the prl method.
I have not heard of the prl issue or having to call Sprint for anything other than the s-off method for the EVO 3d. I am glad you said something in case I get that issue, I will know what to do. I figured since he had not posted a comment, I answered his question, but still good to hear your suggestion.
I will post the method as soon as i am at a pc. You do need to have apktool, smali, and baksmali so go ahead and download those. Also grab a copy of Phone.apk, place it in the same spot as apktool and the other 2 files. Open the apk in 7zip and pull out classes.dex. The rest will come later today.
Sent from my PG86100 using XDA App

Hey, is there anyway to make it possible to make the phone use 2G/3G respectfully? I miss that from my touch pro.
Sent from my PG86100 using Tapatalk

mwalt2 said:
I'd appreciate you detailing the changes that allow that option. I like to edit my own files for my ROM.
edit - does this also roam 3g data? I've used Roam Control some and it seems to always be 1x data (could be my location though).
Click to expand...
Click to collapse
X2
Can you document the changes?
Thanks

Should Root Explorer work to replace phone.apk instead of using ADB?

letsgoflyers81 said:
Should Root Explorer work to replace phone.apk instead of using ADB?
Click to expand...
Click to collapse
Yes just be sure to fix permissions
Sent from my PG86100 using xda premium

sumredhed567 said:
I've posted this a few other times as a response to this question (though no one seems to listen) as I had the EXACT same problem as you. Call sprint, get to tech support and have them do an hrl refresh (reset, reload, etc....) and that should do the trick.
Click to expand...
Click to collapse
I just asked the rep to do that. She had no idea what I was talking about. >_<

I'm wondering why nobody has asked this yet, but here goes... Why, and when would constant roaming be useful?
Sent from my PG86100 using XDA App

oohaylima said:
I just asked the rep to do that. She had no idea what I was talking about. >_<
Click to expand...
Click to collapse
I believe you are supposed to ask for a prl update - not hrl...dunno what hrl is
The reason some want roaming only is so that the phone does not keep searching for a sprint tower when you know there isnt one around.
First post will be updated shortly for the method of doing this...please stay tuned...I was trying to get the method posted earlier for everyone, but did not have a chance while working.

jthein1989 said:
I'm wondering why nobody has asked this yet, but here goes... Why, and when would constant roaming be useful?
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
If you are in an area of poor sprint coverage, but ok verizon, it can save your phone from switching back and forth / searching for towers (saves battery). It'd be nice to get 3g roaming working. I'm pretty sure I've roamed 3g on verizon in the past with my ns4g. I was surprised as I thought it was always 1x, but read that they updated roaming agreements or something.

With prl 11115 I can get 3g roaming with roam control...
Sent from my PG86100 using Tapatalk

jstn76rs said:
With prl 11115 I can get 3g roaming with roam control...
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
Where did you get that prl?
Also, first post now complete with method and I ran through a test myself.

Related

Change carrier name on 2.3.5 ROM to Sprint?

Hey guys, I've been struggling with this for a while. I am on the 2.3.5 Electrify ROM, so it says that my carrier is U.S. Cellular.
I'm trying to change that so the text says "Sprint".
I have tried almost everything I can think of.
I did an ADB pull of the framework-res.apk, decompiled it, hex edited the eri.xml file (changed out the "U.S. Cellular" with "Sprint "), saved it, recompiled the APK, then pushed that to the phone.
Tried all of the carrier name changing .apks, but none of them work.
Any ideas?
Thanks a ton in advance.
i think your main problem is that you are on an electrify rom and not a photon rom
Yeah, that's the root of my problem.
Sent from my Acer Iconia A500 using xda premium
i remeber reading some post a while back with same problem with no good outcome. Do you have insurence? they were saying that you would have to take it to sprint to get out of there. Hope it works out for you.
Read that thread. Someone posted an xml file that fixes it.
Sent from my MB855 using Tapatalk
Here it is http://forum.xda-developers.com/showthread.php?p=22012299
You need to change the eri xml in the framework-res.apk with one modified to say sprint. Its possible to do right on the phone using an app like ninja morph if you have no knowledge of decompiling, editing, and recompiling apks.
EDIT - I've attached a deodexed framework-res.apk from 2.3.5 which has been modified and displayed "sprint" as the carrier on my phone.
KSmithInNY said:
You need to change the eri xml in the framework-res.apk with one modified to say sprint. Its possible to do right on the phone using an app like ninja morph if you have no knowledge of decompiling, editing, and recompiling apks.
EDIT - I've attached a deodexed framework-res.apk from 2.3.5 which has been modified and displayed "sprint" as the carrier on my phone.
Click to expand...
Click to collapse
You rock! That worked! Thanks!
I edited the the eri.xml file a million times, recompiled, pushed, but it never worked.
I wonder if it's cause I am odexed?
npaulseth said:
You rock! That worked! Thanks!
I edited the the eri.xml file a million times, recompiled, pushed, but it never worked.
I wonder if it's cause I am odexed?
Click to expand...
Click to collapse
The odex was likely the culprit. That apk also has the apn.xml in it that I took from a sprint build. I used the apn-conf from a sprint build in /system/etc, changed the build prop to use the sprint apn (310120), replaced /data/data/com.Motorola.telephony/db/carriers with the Sprint one and still no go on MMS receiving using the stock app. I have 2 theories to check in my down time but go sms works in a pinch for now.
Cheers!
P.S. if you flashed the electrify zips around check your custom recovery. Install-recovery wasn't removed and it will revert to stock recovery upon booting the first time. CWM can be applied same as before but unless you delete the file it will do the same every time you boot up.
Awesome man. I just tried to APN switch-a-roo (oddly enough before reading your post), and I can't get it to work with the stock app either. I went in the APN.xml file and change the "Carrier: Sprint" to Carrier: U.S.Cellular", and that didn't work either.
Nah trust me, everything from easy to moderate difficulty has been ruled out. I have 2 remaining ideas to test but it will need to wait until I get some free time.
If I figure it out I'll let you know and someone can package a flashable zip with my framework-res, a replacement build.prop, the apn-conf, and whatever else is necessary to get it working. I want nothing to do with owning it so the community will be responsible to package it and support each other but id call that a fair deal.
Again no promises, its contingent on my free time and my GF's tolerance of me on my phone
KSmithInNY said:
Nah trust me, everything from easy to moderate difficulty has been ruled out. I have 2 remaining ideas to test but it will need to wait until I get some free time.
If I figure it out I'll let you know and someone can package a flashable zip with my framework-res, a replacement build.prop, the apn-conf, and whatever else is necessary to get it working. I want nothing to do with owning it so the community will be responsible to package it and support each other but id call that a fair deal.
Again no promises, its contingent on my free time and my GF's tolerance of me on my phone
Click to expand...
Click to collapse
Been down this road before...
If you look at a logcat of when trying to retrieve a mms you will notice that the remote network (sprint) rejects the connection due to an unkown device.
Unless we can figure out how to change the phone so it does not idenify itself as 2.3.5 then I think we are out of luck.
Spent many days on this and decided it was not worth it.
RJR
Anyone with a 2.3.5 electrify build running on a Sprint photon can download the attached build.prop.txt, edit the name and remove the .txt part so it's only named build.prop, place it in /system. Once you have it in, reboot. It's a sprint-a-fied build.prop for 2.3.5.
Also attached the sprint bootanimation.zip. Just download that and place in /system/media . I know thats bothering someone out there.
For the real purists, while you're in media you might want to check out audio/ringtones and audio/notifications because USC added their own sound file in each you may consider deleting.
EDIT- Almost forgot, you need to set the permissions properly once you move the file(s). Both files should be rw-r--r--
I did both of those things already. Ha.
They actually were really bugging me.
npaulseth said:
I did both of those things already. Ha.
They actually were really bugging me.
Click to expand...
Click to collapse
Use my build.prop and after a reboot, please check if MMS receive works. The device fingerprint is changed to the sprint photon fingerprint. I can't test because I currently have one of my blackberries activated to test some other work.
Thanks.
EDIT- also I noticed you said you've been playing around in the apn xml. Please put it back to stock. My build.prop should set your operator as 310120 on boot. Or at least it should. You could check to make sure.

[Guide] Defeat Cricket Data Throttle

This is a guide that explains the steps to defeat Crickets data throttling and, in my case, give you faster internet(1.5 mb as compared to 300 kb tops). Many people will tell you that the throttle is carrier side however this is false and it is easy to test and see that for yourself. Simply download an internet speed testing app and run it. Watch as soon as it starts to check speed and you will see the speed skyrocket then back down to throttled speed after a second.
Anyhow.....on to the guide..
Requirements:
Rooted HTC Evo 3D
ES File Browser(this guide is made for this file browser but it will be similar in other browsers as well)
Simple right? OK, here's how to go about removing your data throttle:
1) Open your choice of file browser
2) Browse to the following location: /data/system/throttle
3) Delete all files in the throttle folder
4) Browse to the following location: /data/system
5) Long hold the throttle folder
6) Click Properties
7) Click Change
8) Select all the options available except for write(6 of the 9 options will be selected)
9) Click OK then exit the file browser app
10) Open an internet browser of your choice
11) You should get to the Cricket page telling you you are attempting to do an action not allowed on your account and you will have no internet access.
12) Reboot and you should have no throttle.
This throttle bypass will last until you reboot your phone and in my experience it has worked 100 percent of the time.
Feel free to check it out and let me know your mileage..
Dfeldt91
I thought it worked at first. Before following your steps I was getting 646 kbps down and after your steps my first test was 924kbps but then second test dropped down to 540kbps. Maybe someone else has better luck, I'll keep playing with it though, thanks bud.
Is that "sdcard/data/throttle"? I can't find the folder anywhere.
Sent from my PG86100 using xda app-developers app
ShifterX2 said:
Is that "sdcard/data/throttle"? I can't find the folder anywhere.
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
No,
/data/system/throttle/
Sent from my PG86100 using Tapatalk 2
ShifterX2 said:
Is that "sdcard/data/throttle"? I can't find the folder anywhere.
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
You may have to enable the "up to root" option in es file browsers settings.
ImpossibleIsOpinion said:
I thought it worked at first. Before following your steps I was getting 646 kbps down and after your steps my first test was 924kbps but then second test dropped down to 540kbps. Maybe someone else has better luck, I'll keep playing with it though, thanks bud.
Click to expand...
Click to collapse
I'm not positive if it gives everyone an increase in speed. Its just my experience with it.. I've noticed when I get data drops that the throttle fix will be gone after turning data off then back on so I will have to redo the fix in order to get it working again.
Since in flashed my Sprint Evo 3D my download speed is 15KLBS.I followed all the flashing info.Im currently Running OTA ICS rooted.Im on the $70 plan and im no where near my data allowance for this month.Can u please help??
Hi, I use a Samsung core prime running kitkat 4.4 (rooted) I've been through all of the system files. I cannot fine /data/system/throttle ! Path does not exist!

[MOD] [CM10] MMS Fix (Sprint)

MMS has been extremely flakey for me on CM10. After some searching, I found some alternate APNS settings here, and tweaked the ones on the phone to work properly.
Installation directions are the same as the linked post, so full credit goes to AlpineMan for that. The only thing I did was remove the unnecessary crap from the file.
Download the APN config from here.
Install APN Backup & Restore.
Convert the "APN Backup & Restore" into a system app by either using Titanium Backup, or simply use Root Explorer/ES File Explorer (root enable it) to move the APK from /data/app to /system/app.
I didn't need to do so here (using Titanium Backup), but rebooting the phone may be necessary after moving the app.
Launch APN Backup & Restore. Close the warning, and click "Disable ICS Check" on the menu.
Click "Backup APNs" to backup your existing settings. This will create a directory called "ApnBackupRestore" in your /mnt/sdcard.
Copy the xml file from step 1 to the ApnBackupRestore folder.
Go back to the main app menu, click on "Delete APNs" and confirm it.
Choose the file you downloaded from step 1 and confirm it.
Reboot phone, and enjoy the MMS.
Again, this is based on AlpineMan's work, I just cleaned the APN list up. In my short testing, it completely fixed my MMS flakiness. I figured it's better to post it here, as in the past, submitting fixes to the cyanogenmod team has been a waste of time.
I thought APN's were obsolete since ICS, can you restore APN's in JB?
Thanks for posting this! Mms is the only reason that kept me from using cmx as a daily driver. Will be definitely using this after work tonight when I have time to play.
Sent from my EVO using xda premium
xlxcrossing said:
I thought APN's were obsolete since ICS, can you restore APN's in JB?
Click to expand...
Click to collapse
yes because they are not baked into framework-res
Deleted
has anyone confirmed this as the necessary fix? i'd love to use a non-sense rom but the MMS is what is keeping me away
memekmek said:
has anyone confirmed this as the necessary fix? i'd love to use a non-sense rom but the MMS is what is keeping me away
Click to expand...
Click to collapse
Im interested too......I tried this fix and it put me on evdo and I was able to send pics and receive but I couldnt connect to the ehanced connection until I removed this mod
neopolotin75 said:
Im interested too......I tried this fix and it put me on evdo and I was able to send pics and receive but I couldnt connect to the ehanced connection until I removed this mod
Click to expand...
Click to collapse
I finally had a chance to test it on the AOKP JB build 4. I dont live in an area with LTE service. I still have 3g and its the same speed as from before and after this mod.
I can confirm that it does work for me. I havent tested out LTE yet. Is that what you meant by the enhanced network?
Can anyone confirm if LTE still works with this apn?
as for now i guess i'll keep it. 3g has definitely gotten slower for sprint in the past years. definitely makes me consider leaving for another network.
memekmek said:
I finally had a chance to test it on the AOKP JB build 4. I dont live in an area with LTE service. I still have 3g and its the same speed as from before and after this mod.
I can confirm that it does work for me. I havent tested out LTE yet. Is that what you meant by the enhanced network?
Can anyone confirm if LTE still works with this apn?
as for now i guess i'll keep it. 3g has definitely gotten slower for sprint in the past years. definitely makes me consider leaving for another network.
Click to expand...
Click to collapse
I didn't try it on LTE yet but with the fix it didn't connect to ehrpd for me...just stayed evdo but woud send pics and receive....when I removed it and was back on ehrpd I couldn't send or receive.
Sent from my EVO using Tapatalk 2
neopolotin75 said:
I didn't try it on LTE yet but with the fix it didn't connect to ehrpd for me...just stayed evdo but woud send pics and receive....when I removed it and was back on ehrpd I couldn't send or receive.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Im back to mean rom. my 3g speeds were down to the floor with this mod. like 10-20 kbps. it was horrendous.
Everytime i use a aosp rom, my mms barely works, the 3g is flakey, and i have bluetooth connectivity issues. I miss my original evo 4g!
Thanks for the mod for the mms fix :good:. it does work if anyone was wondering. You just have to put up with slower 3g speeds and deal with all the other bugs that an aosp rom comes with unfortunately.
DC here just did a speed test with these APNs and got 884kbps DL and 748kbps UL. I did not do one beforehand though.
That sounds good. Especially considering I haven't used the APNs yet, and get this
Sent from my EVO using xda premium
Unfortunately this did not work for me ... I still get a constant "Downloading" after receiving a MMS.
I can confirm this works. Just wanted to add on a few things that I had to figure out on my own, though. This guide was nice but it made things a little confusing at times.
HOW I DID IT:
Install APN Backup & Restore from the playstore.
Convert APN Backup & Restore to a system app by downloading /system/app mover from the playstore.
Open /system/app mover and click "APN Backup & Restore". Click YES when it asks you to move to /system/app/. Reboot phone.
Open up APN Backup & Restore. Go to menu and click Disable ICS Check. Click Backup APNs and enter name or press OK.
Download the APN config (right click save as) and save it to the folder "ApnBackupRestore" found on your sdcard0 (phone storage).
Open back up APN Backup & Restore and click Delete APNS.
Click Restore APNS and select "sprint-mms-fixed-apns.xml".
Reboot phone.
Done. Try it out.
If this doesn't working out for you then try disabling the auto retrieve feature found in settings so you can manually retrieve your pictures when you're in a good area.
Papichulo06 said:
I can confirm this works. Just wanted to add on a few things that I had to figure out on my own, though. This guide was nice but it made things a little confusing at times.
HOW I DID IT:
Install APN Backup & Restore from the playstore.
Convert APN Backup & Restore to a system app by downloading /system/app mover from the playstore.
Open /system/app mover and click "APN Backup & Restore". Click YES when it asks you to move to /system/app/. Reboot phone.
Open up APN Backup & Restore. Go to menu and click Disable ICS Check. Click Backup APNs and enter name or press OK.
Download the APN config (right click save as) and save it to the folder "ApnBackupRestore" found on your sdcard0 (phone storage).
Open back up APN Backup & Restore and click Delete APNS.
Click Restore APNS and select "sprint-mms-fixed-apns.xml".
Reboot phone.
Done. Try it out.
If this doesn't working out for you then try disabling the auto retrieve feature found in settings so you can manually retrieve your pictures when you're in a good area.
Click to expand...
Click to collapse
Confirmed working for Tmartins AOKP build. Thank you.
saboture said:
Confirmed working for Tmartins AOKP build. Thank you.
Click to expand...
Click to collapse
nice, im slowly working up the confidence to go back! i didn't like the screen tears in that rom though :/ paranoid android had screen tear issues too.
After flashing a non sense rom...i inevitably always return back to sense..even though sense to me is boring and clunky. and i hate the lock screen.
memekmek said:
nice, im slowly working up the confidence to go back! i didn't like the screen tears in that rom though :/ paranoid android had screen tear issues too.
After flashing a non sense rom...i inevitably always return back to sense..even though sense to me is boring and clunky. and i hate the lock screen.
Click to expand...
Click to collapse
PA 2.99 is solid
banccalif said:
PA 2.99 is solid
Click to expand...
Click to collapse
nice. i should check it out
Papichulo06 said:
I can confirm this works. Just wanted to add on a few things that I had to figure out on my own, though. This guide was nice but it made things a little confusing at times.
HOW I DID IT:
Install APN Backup & Restore from the playstore.
Convert APN Backup & Restore to a system app by downloading /system/app mover from the playstore.
Open /system/app mover and click "APN Backup & Restore". Click YES when it asks you to move to /system/app/. Reboot phone.
Open up APN Backup & Restore. Go to menu and click Disable ICS Check. Click Backup APNs and enter name or press OK.
Download the APN config (right click save as) and save it to the folder "ApnBackupRestore" found on your sdcard0 (phone storage).
Open back up APN Backup & Restore and click Delete APNS.
Click Restore APNS and select "sprint-mms-fixed-apns.xml".
Reboot phone.
Done. Try it out.
If this doesn't working out for you then try disabling the auto retrieve feature found in settings so you can manually retrieve your pictures when you're in a good area.
Click to expand...
Click to collapse
Sorry to quote such a long post, but.....can't all this be done just manually thru root explorer.
Also, isn't the 'delete all APNs' step a bit,..risky or bad.
Sent from my EVO using xda premium
memekmek said:
nice, im slowly working up the confidence to go back! i didn't like the screen tears in that rom though :/ paranoid android had screen tear issues too.
After flashing a non sense rom...i inevitably always return back to sense..even though sense to me is boring and clunky. and i hate the lock screen.
Click to expand...
Click to collapse
The screen tears are annoying, however I despise sense ROMs. Contact picture size is pitiful, crap multi tasker pane, horrible lock screen etc.. I can deal with some screen tears haha.
Sent from my EVO using Tapatalk 2
---------- Post added at 04:03 PM ---------- Previous post was at 04:01 PM ----------
scottspa74 said:
Sorry to quote such a long post, but.....can't all this be done just manually thru root explorer.
Also, isn't the 'delete all APNs' step a bit,..risky or bad.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
I don't see how there would be a risk in deleting your apns. If you back them up as instructed you can restore them at another point in time. All that happens is you lose internet for a few seconds while you're making the swap .
Sent from my EVO using Tapatalk 2

Disable Fast Dormancy to prevent com.android.phone wakeups

Like many others I was seeing many wakeups by com.android.phone, and as noted by others this is because of fast dormancy. Or rather, because of LG's implementation of it.
I'm not gonna go into too much detail, but the offending implementation can be found in com/android/internal/telephony/LgeFDHandlerInterfaceImpl . This class is in /system/framework/com.lge.core.jar . After data activity on HSPA networks they use AlarmManager to periodically wake up and check the number of bytes transmitted over the network interface. This goes on until some time after it stops changing, and the connection is considered dormant.
This periodic checking is what's waking the device, and for every new byte transferred the wakeup/polling period is extended and device doesn't sleep. The chattier apps are, the more awake time you'll get.
Enough of the boring details, here's how I disabled it and got rid of the com.android.phone wakeups. Root required.
Code:
$ adb shell
# su
# sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db
update dcm_settings set fastdormancy="0" where numeric="310410";
.quit
# reboot
This helped me, hope it does the same for you.
Edit 2:
I've written a quick and dirty app that tries to handle this setting without need for terminals or root. Try it and report issues here: http://forum.xda-developers.com/showthread.php?t=2021248
Edit 1:
In essence you need to change a value in a sqlite database and there are many ways to do it. There are apps, use adb shell etc. Whatever works for you. If someone wants to write an app that makes this easier, be my guest
Reversal is restoring the original value "1,0,0,1000,5000,60000,3000,5000,1,8" and reboot:
Code:
update dcm_settings set fastdormancy="1,0,0,1000,5000,60000,3000,5000,1,8" where numeric="310410";
This database is not there after a wipe, so future ROM chefs wanting to include it by default should edit /etc/dcm_settings.xml as this is where the initial database contents come from. Just replace the original value with "0" for ATT.
Code:
<profile>
<siminfo
operator="ATT"
country="US"
mcc="310"
mnc="410"
extraid=""
/>
<settings
fastdormancy_param="1,0,0,1000,5000,60000,3000,5000,1,8"
ipmtu="1410"
/>
</profile>
Holy Hell!!!
so far so good...it's a shame I can only thank so much!!!
jonasl said:
Like many others I was seeing many wakeups by com.android.phone, and as noted by others this is because of fast dormancy. Or rather, because of LG's implementation of it.
I'm not gonna go into too much detail, but the offending implementation can be found in com/android/internal/telephony/LgeFDHandlerInterfaceImpl . This class is in /system/framework/com.lge.core.jar . After data activity on HSPA networks they use AlarmManager to periodically wake up and check the number of bytes transmitted over the network interface. This goes on until some time after it stops changing, and the connection is considered dormant.
This periodic checking is what's waking the device, and for every new byte transferred the wakeup/polling period is extended and device doesn't sleep. The chattier apps are, the more awake time you'll get.
Enough of the boring details, here's how I disabled it and got rid of the com.android.phone wakeups. Root required.
Code:
$ adb shell
# su
# sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db
update dcm_settings set fastdormancy="0" where numeric="310410";
.quit
# reboot
This helped me, hope it does the same for you.
Click to expand...
Click to collapse
I use Comand prompt and copy these codes?
Thanks a lot for this, can you please explain how to use this code, i am rooted and am trying to run this on my computer with adb and i get a message sqlite3 not found
I plugged my phone in as charge only and ran this code using cmd.
After the end of each line simply press enter and it prompts for the next.
When you prompt for reboot, it takes a couple of seconds, for those who get confused when their phone sits there.
Anyway, the code seems to work for me, looking forward to results.
Hope this helped.
Im getting a no sqlite3 found error as well
pfoxdizzle said:
Im getting a no sqlite3 found error as well
Click to expand...
Click to collapse
I just used sqlite editor from the market and edited the value to "0". I can confirm that this process works, i have been struggling with this wakelock for 2 weeks now and have tried so many things but this is the only thing that has worked. Kudos to the OP!!:fingers-crossed:
Are you both rooted and have unlocked bootloader? Not sure why you're getting errors. Did any of you retry this process via computer cmd with USB debugging?
Sent from my LG-E970 using xda app-developers app
rooted yes. Unlocked no.
Unlock. It literally takes no time.
Sent from my LG-E970 using xda app-developers app
unlocking should not affect this. And there isnt anything worth unlocking for yet. So i will keep my warranty
Warranty is kinda meh unless you're prone to breaking your phone. But everyone does things their own way.
Are you sure that you have sqlite3 on your phone and/or are you typing the code correctly in cmd? Via computer is the easiest way.
Ok, I have my LGOG rooted and unlocked and been trying to run this and can't get it to take. I'm not a noob, and I've used cmd prompt plenty for other phones. I had to use it a ton for my HTC One X. For some reason I can't get it to recognize the phone. Any suggestions?
What's the output from the cmd prompt?
Sent from my LG-E970 using xda app-developers app
pfoxdizzle said:
Im getting a no sqlite3 found error as well
Click to expand...
Click to collapse
Something not mentioned, you are in a command prompt within the folder containing these tools right?
NVM
I'm assuming this fix was properly applied on my end?
Yoreo said:
I'm assuming this fix was properly applied on my end?
Click to expand...
Click to collapse
That's what I got, too.
I think yes, that took care of it.
LTE issues
I'm guessing this fix won't necessarily disable LTE when available and the phone would be able to switch back to LTE from DC-HSPA+ when it sees that LTE is available in the area?
Murasakiii said:
What's the output from the cmd prompt?
Sent from my LG-E970 using xda app-developers app
Click to expand...
Click to collapse
Hopefully the image is coming through on the errors I'm getting while trying this. I'm sure I'm tired and doing something stupid, I just can't figure it out.

Unlimited tethering mod for T-Mobile S5

Well I mostly just cobbled together some older hacks for the S4, Nexus 4, Nexus 5, etc.
and I think I managed to disable the provision check for tethering.
You need root (of course) and know how to follow directions exceedingly well.
First, grab these files and put them into a directory on your computer.
http://www.mediafire.com/download/zy7drzl7plcjz4k/TetheringProvision.apk
http://busybox.net/downloads/binaries/latest/busybox-armv7l
http://d-h.st/Gnd
Download adb + fastboot from here:
http://forum.xda-developers.com/showthread.php?t=2640650
and extract its contents into the same directory
Now you want to upload sqlite3 and busybox-armv7l to /data/local/tmp like so:
adb push sqlite3 /data/local/tmp/
adb push busybox-armv7l /data/local/tmp/
And also TetheringProvision.apk:
adb push TetheringProvision.apk /sdcard/
adb shell
Now after you're at the shell prompt:
Code:
su
(Grant permission on phone)
mount -o remount,rw /system
cd /data/local/tmp
chmod 755 *
./busybox-armv7l sed -i '/CscFeature_Setting_HideApnList/d' /system/csc/feature.xml
./busybox-armv7l sed -i 's/pcweb.tmobile.com/fast.t-mobile.com/' /system/csc/customer.xml
DB="/data/data/com.android.providers.settings/databases/settings.db"
VAL=`/data/local/tmp/sqlite3 "$DB" "SELECT * FROM global WHERE name='tether_dun_required';"`
if [ "$VAL" == "" ]; then
/data/local/tmp/sqlite3 "$DB" "INSERT INTO global VALUES (null, 'tether_dun_required','0');"
else
/data/local/tmp/sqlite3 "$DB" "UPDATE global SET value='0' WHERE name='tether_dun_required';"
fi
cd /system/app/
cp TetheringPro* /sdcard/
rm TetheringProvision.odex
cat /sdcard/TetheringProvision.apk > TetheringProvision.apk
sync
reboot
If you still have problems with tethering you may have to delete all the APNs and add the single APN fast.t-mobile.com with all the other relevant settings.
Did you confirm working by monitor ur data?
Sent from my SM-G900T using Tapatalk
tech128 said:
Well I mostly just cobbled together some older hacks for the S4, Nexus 4, Nexus 5, etc.
and I think I managed to disable the provision check for tethering.
You need root (of course) and know how to follow directions exceedingly well.
First, grab these files and put them into a directory on your computer.
http://www.mediafire.com/download/zy7drzl7plcjz4k/TetheringProvision.apk
http://busybox.net/downloads/binaries/latest/busybox-armv7l
http://d-h.st/Gnd
Download adb + fastboot from here:
http://forum.xda-developers.com/showthread.php?t=2640650
and extract its contents into the same directory
Now you want to upload sqlite3 and busybox-armv7l to /data/local/tmp like so:
adb push sqlite3 /data/local/tmp/
adb push busybox-armv7l /data/local/tmp/
And also TetheringProvision.apk:
adb push TetheringProvision.apk /sdcard/
adb shell
Now after you're at the shell prompt:
Code:
su
(Grant permission on phone)
mount -o remount,rw /system
cd /data/local/tmp
chmod 755 *
./busybox-armv7l sed -i '/CscFeature_Setting_HideApnList/d' /system/csc/feature.xml
./busybox-armv7l sed -i 's/pcweb.tmobile.com/fast.t-mobile.com/' /system/csc/customer.xml
DB="/data/data/com.android.providers.settings/databases/settings.db"
VAL=`/data/local/tmp/sqlite3 "$DB" "SELECT * FROM global WHERE name='tether_dun_required';"`
if [ "$VAL" == "" ]; then
/data/local/tmp/sqlite3 "$DB" "INSERT INTO global VALUES (null, 'tether_dun_required','0');"
else
/data/local/tmp/sqlite3 "$DB" "UPDATE global SET value='0' WHERE name='tether_dun_required';"
fi
cd /system/app/
cp TetheringPro* /sdcard/
rm TetheringProvision.odex
cat /sdcard/TetheringProvision.apk > TetheringProvision.apk
sync
reboot
If you still have problems with tethering you may have to delete all the APNs and add the single APN fast.t-mobile.com with all the other relevant settings.
Click to expand...
Click to collapse
I'm going to give it a shot and I'll report back my results. :good:
Video tutorial anyone? Lol
Sent from my HTC One_M8 using Tapatalk
nightfox11 said:
Video tutorial anyone? Lol
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
ya i will donate...lol
Not truly unlimited
;52223067 said:
ya i will donate...lol
Click to expand...
Click to collapse
That just removes checks for us on prepaid tmo can still see its hotspot and limits useage to 100mb. I think the only way around that is VPN but I'd love to find another way.
Want tethering to work download this rom all instructions on the thread if link don't work just copy and paste in browser.
http://forum.xda-developers.com/showthread.php?t=2723915
Can you confirm ur data on tether count toward data plan unlimited ?
Sent from my SM-G900T using Tapatalk
mrl0n3ly714 said:
Can you confirm ur data on tether count toward data plan unlimited ?
Sent from my SM-G900T using Tapatalk
Click to expand...
Click to collapse
yes I have confirmed it myself after having to dl large files and wait for my T-mobile to update the data usage but yes it takes from your personal data not Hotspot data
How u manage the user agent to rout e all traffic to person AL data? As I aware tmobile detect user agent and cut toward personal data.
Sent from my SM-G900T using Tapatalk
mrl0n3ly714 said:
How u manage the user agent to rout e all traffic to person AL data? As I aware tmobile detect user agent and cut toward personal data.
Sent from my SM-G900T using Tapatalk
Click to expand...
Click to collapse
I don't know I didn't remove the provisioning but I'm confirming it is working as it should on the rom I'm useing. without using any 3rd party app. Also it helps to decline any DIAGNOSTICS REQUESTS from t-mobile. I posted the link above earlier to the rom
undercover nerd said:
I don't know I didn't remove the provisioning but I'm confirming it is working as it should on the rom I'm useing. without using any 3rd party app. Also it helps to decline any DIAGNOSTICS REQUESTS from t-mobile. I posted the link above earlier to the rom
Click to expand...
Click to collapse
Not to call you out, but since you're the only one claiming I have no choice.. I've seen so many of these replies, where people say its working.. I go through the trouble of following and sure enough like clock work, when I hit the 5gb limit (allowed tethering for us unlimited plan) I get the webpage saying I'm over.
Until someone can confirm you are OVER the 5gb liimit, NO USING some sort of user agent to make yourself like you're on an android, I won't believe it.
sorry
Reported working on Verizon forums.
Sent from my SM-G900T using XDA Premium 4 mobile app
The tether from the rom I'm speaking if takes from your personal data plan like as if you was useing your phones Internet it does not use up tethering data aka Hotspot data. And go the the thread link everyone there is confirmed working. If you have unlimited let data like I do with my tethering 500 MG Hotspot data your good to go cause it's not using up my Hotspot data. Hope that clears up your suspicions. After all I'm just trying to help and fyi I'm not useing any 3rd party app for tethering just activating it from settings
undercover nerd said:
The tether from the rom I'm speaking if takes from your personal data plan like as if you was useing your phones Internet it does not use up tethering data aka Hotspot data. And go the the thread link everyone there is confirmed working. If you have unlimited let data like I do with my tethering 500 MG Hotspot data your good to go cause it's not using up my Hotspot data. Hope that clears up your suspicions. After all I'm just trying to help and fyi I'm not useing any 3rd party app for tethering just activating it from settings
Click to expand...
Click to collapse
Well remember, T-mobile upped the amount. Its not 500 megs, its 5gb of FREE tethering.. So are you confirming 500megs or 5gb of data? Just saying, every time I see a way to go over the allowed amount, it never works . I'll give this a try though. thanks
fastfed said:
Well remember, T-mobile upped the amount. Its not 500 megs, its 5gb of FREE tethering.. So are you confirming 500megs or 5gb of data? Just saying, every time I see a way to go over the allowed amount, it never works . I'll give this a try though. thanks
Click to expand...
Click to collapse
I'm at 40 megs of 3gb cause now my Hotspot doesn't use its data it's all off my regular data so my hot spot data never increases. I'm in the rom forum so if you need help there I'll help you set it up but it's pretty straight foward. And they didn't give me 5 gb lol guess they hate me
fastfed said:
Not to call you out, but since you're the only one claiming I have no choice.. I've seen so many of these replies, where people say its working.. I go through the trouble of following and sure enough like clock work, when I hit the 5gb limit (allowed tethering for us unlimited plan) I get the webpage saying I'm over.
Until someone can confirm you are OVER the 5gb liimit, NO USING some sort of user agent to make yourself like you're on an android, I won't believe it.
sorry
Click to expand...
Click to collapse
I am using the same ROM as the other guy and I do not have ANY tethering on my plan (for whatever reason) but it works against your data. I'm already at about 7GB through tethering from testing speeds through Steam Downloads and speed test and everything.
Unlimited data plan.. I have two APN's listed (fast.tmo.... and pcweb.tmo....) both are locked (not removable) and when I switch to pcweb, it tries to connect then reverts back to default fast.tmobile.com .
I did everything to the "T" and provisioning is still present.
Sent from my SM-G900T using XDA Premium 4 mobile app
Is it possible to make a flashable zip that can be flashed through recovery. Thanks In advance!!!
Sent from my SM-G900T using XDA Free mobile app
so i'm pretty desperate and have tried this as EVERYTHING else has failed (wifi tether, foxfi, tether router). right now im connected to my AP, but i don't know how to truly "test" the data limit to confirm if this is working properly. i obviously know how to download data, but how do i confirm which pool of data it's coming from?
also, how do you add information to a post so that it says in small grey print "post added at .... post originally created..."?
finally, when i start the 1st party hotspot, should it still say "checking your account"..?

Categories

Resources