[MOD][GUIDE][TUTORIAL] Remove Sprint Connection Optimizer / Connection Manager

Status
Not open for further replies.

JoshBeach

Inactive Recognized Developer
Dec 19, 2007
4,692
31,810
0
Upstate NY
First of All... Credit Goes to @digiblur - I used his guide to make this work for the Note3. Original Thread is Here!

Please give thanks/credit if you use this in your ROM - Donations are also appreciated!

Some may argue this but I find the connection optimizer to be spyware'ish with everything it tracks does in the background. I can handle my WiFi connections myself and do not need my phone automatically jumping onto an open WiFi access point. I prefer to use a VPN connection when using open WiFi so all of my traffic is encrypted and prevents the script kiddies from sniffing my traffic in public places.

Connection Manager still runs even if you turn it off/opt-out. This fix will allow you to remove the ConnectionManager.apk from your device without causing force closes when going into your Mobile Networks settings.

Decompile SecPhone.apk (there a few files that need to be corrected to recompile. Search XDA as there are already threads on this)

Edit SecPhone/smali/com/android/phone/PhoneFeature.smali and modify the one line:

Code:
16505    const-string v3, "sprint_connections_optimizer"
16506
16507    invoke-virtual {v9}, Ljava/lang/Boolean;->booleanValue()Z
16508
16509    move-result v6
16510
16511    if-nez v6, :cond_c6d
16512
16513    :cond_c6d
[COLOR="Red"]16514    const/4 v6, 0x1
[/COLOR][COLOR="Lime"]16514    const/4 v6, 0x0
[/COLOR]16515
16516    invoke-static {v6}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
If you like this MOD and would like to see others please consider a donation via my profile. I encourage other developers to share their work in How-To's as well.
 
Last edited:

Compusmurf

Senior Member
May 31, 2008
1,381
326
113
Tampa, FL
Not that I want to be lazy, but if anyone does the change to a stock SecPhone.apk from MI5 deodexed rom, feel free to post it here.

If I get around to it and the wifey and work doesn't have me working all weekend, I'll update my tools and make one.
 

JoshBeach

Inactive Recognized Developer
Dec 19, 2007
4,692
31,810
0
Upstate NY
Not that I want to be lazy, but if anyone does the change to a stock SecPhone.apk from MI5 deodexed rom, feel free to post it here.

If I get around to it and the wifey and work doesn't have me working all weekend, I'll update my tools and make one.
Just wait for @freeza to do a enhanced stock rom. im sure he will implement these mods... dude is a beast! :)
 

Compusmurf

Senior Member
May 31, 2008
1,381
326
113
Tampa, FL
I like these self help posts. Eventually I'll be able to make my own custom rom like I did on the Note II. Sadly this month and probably next, I don't/won't have time. Big shakeup at work, leaving us majorly short staffed. :(
 
  • Like
Reactions: JoshBeach and cdss

cherylbaker

Senior Member
Jan 21, 2006
1,517
225
0
You posting all these great mods you use in your rom is very nice of you. If I ever get to root my phone I will most certainly use them in my rom...

http://swappa.com/listing/ZZV485/view
note 2 for sale

---------- Post added at 08:47 PM ---------- Previous post was at 08:46 PM ----------

I like these self help posts. Eventually I'll be able to make my own custom rom like I did on the Note II. Sadly this month and probably next, I don't/won't have time. Big shakeup at work, leaving us majorly short staffed. :(
Ha. . I just told him that. . Hadn't read your post.. I think it was really nice of him to post these. .

http://swappa.com/listing/ZZV485/view
note 2 for sale
 

Compusmurf

Senior Member
May 31, 2008
1,381
326
113
Tampa, FL
I sent Josh a PM to the other "self help" posts I was doing on the Note II. Not sure if any of it transfers across without mods. He can look, test, pick and choose if he wants.
 

tt281gt

Senior Member
Dec 27, 2011
453
119
0
Downey
First of All... Credit Goes to @digiblur - I used his guide to make this work for the Note3. Original Thread is Here!

Please give thanks/credit if you use this in your ROM - Donations are also appreciated!

Some may argue this but I find the connection optimizer to be spyware'ish with everything it tracks does in the background. I can handle my WiFi connections myself and do not need my phone automatically jumping onto an open WiFi access point. I prefer to use a VPN connection when using open WiFi so all of my traffic is encrypted and prevents the script kiddies from sniffing my traffic in public places.

Connection Manager still runs even if you turn it off/opt-out. This fix will allow you to remove the ConnectionManager.apk from your device without causing force closes when going into your Mobile Networks settings.

Decompile SecPhone.apk (there a few files that need to be corrected to recompile. Search XDA as there are already threads on this)

Edit SecPhone/smali/com/android/phone/PhoneFeature.smali and modify the one line:

Code:
16505    const-string v3, "sprint_connections_optimizer"
16506
16507    invoke-virtual {v9}, Ljava/lang/Boolean;->booleanValue()Z
16508
16509    move-result v6
16510
16511    if-nez v6, :cond_c6d
16512
16513    :cond_c6d
[COLOR="Red"]16514    const/4 v6, 0x1
[/COLOR][COLOR="Lime"]16514    const/4 v6, 0x0
[/COLOR]16515
16516    invoke-static {v6}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
If you like this MOD and would like to see others please consider a donation via my profile. I encourage other developers to share their work in How-To's as well.
Thanks for all your work, ROM, mods and so on, much appreciated!!

I just deleted the APK and can still go into network settings :eek:
 

JoshBeach

Inactive Recognized Developer
Dec 19, 2007
4,692
31,810
0
Upstate NY
Thanks for all your work, ROM, mods and so on, much appreciated!!

I just deleted the APK and can still go into network settings :eek:
But may still cause fcs. This fixes it so that doesnt happen. Actually removes it from settings.

Sent from my SM-N900P using JellyBombed Tapatalk 2
 

Attachments

12MaNy

Senior Member
Jun 7, 2010
2,427
881
0
Seattle
Do each of these mods really need their own thread Josh? These should all be condensed into one, or two threads. Kinda feels like you're trying to establish dominance in the dev section. Lol
 
  • Like
Reactions: milton007

chaosrecords

Senior Member
Jun 29, 2010
71
62
0
Erie
Do each of these mods really need their own thread Josh? These should all be condensed into one, or two threads. Kinda feels like you're trying to establish dominance in the dev section. Lol
Kind of playing devil's advocate here, but I dont expect many threads here, just lots of replies.

Im glad they are separate.. I don't know if you saw the jellybomb note 2 thread.. but when i google search something, or search xda ( even in thread search), its next to impossible to sort through 30,000+ replies.

Dedicated thread will make it MUCH EASIER for people like me to find what i need for a specific mod and not spend hours digging through "Hey guys how do i know if i have root?" or something that was 10 versions ago.

Would be cool if XDA could have threads similar to how Wowhead.com is ( world of warcraft database) It auto separates replies/comments based on patch number.. could be really handy for people like Josh who update thier rom every week with huge changelogs.
 
  • Like
Reactions: milton007

JoshBeach

Inactive Recognized Developer
Dec 19, 2007
4,692
31,810
0
Upstate NY
Agreed, but forum clutter is forum clutter......and this guy knows better. ;)
agreed. we need a sticky section. then I will lock all the threads so they flow to the bottom. I will reach out to a moderator and see if we can get a sticky section..

as far as "dev dominance" no such thing. Me, Steve and Freeza are all on the same team, we share everything, we talk daily. and so far, no other dev has even posted anything in any of those threads. It certainly isn't like that/ LOL

I will see if we can get a Guide/Sticky section.
 

JoshBeach

Inactive Recognized Developer
Dec 19, 2007
4,692
31,810
0
Upstate NY
Agreed, but forum clutter is forum clutter......and this guy knows better. ;)
@12MaNy

Ok. I spoke to Kenny. Just waiting on the mods to make a decision.

My suggestion was to create 1 devdb thread. We sticky it. And lock all other guides so they fall to the bottom. The 1 devdb thread can have up to 3 devs access to op. We can also have a q&a thread attached to it for users for all the guides. Need a RC to help answer questions. Development questions amd new guides can be added to the stickied devdb thread in development. This will allow for a less cluttered environment for users.

We will see if the mods have a better idea.

Furthermore, those that know me know that I could care less about any type of notoriety. Also the only other development in the forum so far is by guys on my own team. I put out guides to help others learn how to add these mods and conribute more custom work. The more devs we get the more cool stuff we can all colaborate on together. Just my 2 cents.

Anyways. Back to development.. :)

Sent from my SM-N900P using JellyBombed Tapatalk 2
 
  • Like
Reactions: ycs5 and cdss
Status
Not open for further replies.