[Moto Maxx Original Android Development] ChazzMatt:
Solved - HSPA/no LTE problem

I've mentioned this issue a few times, and now I've somehow solved it...

I had attributed it to CM changes made in APNs/telephony around the end of July, and that's why I kept my wife's phone on a very old nightly because I didn't want her to experience this. However, I don't really know the cause, but now it's fixed. :good:

OK, I solved the issue. When I leave Wi-Fi, I now almost immediately get LTE signal if there's an LTE signal. "LTE Preferred" choice is now being respected -- whereas before I would stay on HSPA (even with super strong LTE signal all around) for 15-20 minutes unless I took manual steps to force the radio to re-set. If I drove long enough I would eventually get LTE but the phone would lock onto HSPA when leaving home/work Wi-Fi and would stay in that for a long, long time. Strange and frustrating, because it started beginning of August.

What I did to fix it actually makes no sense, but it worked. ;)

First, I always have a recent TWRP backup. I make one almost daily. It the

updated TWRP

[MENTION=5747496]baybutcher27[/MENTION] gave us.

I booted into TWRP, went to Advanced/Fix Permissions. I swiped to fix permissions. I did NOT check "also fix SELinux contexts" as the warning it may cause boot problems scared me. I just fixed regular permissions.

(Following this step, I did not re-flash SuperSu in recovery before rebooting -- but in retrospect perhaps I should have.)

I rebooted. I immediately started getting "Google Play Services" errors. I went into Apps, cleared cache on that app, rebooted. Kept getting Google Play Services errors. :rolleyes:

Also, my "SELinuxModeChanger" app was not being given root access.

But I noticed I was getting LTE when I turned off wi-fi!

So, a couple of issues but the "fix permissions" seemed to have freed up the "LTE Preferred" to actually work.

I restored from Titanium backup both those apps and data, rebooted, still getting Google Play Services errors and the SELinuxModeChanger was not being given root access.

I uninstalled the SELinuxModeChanger apps and tried reinstalling. Would not reinstall. What? :confused:

Also, newer version of Google Play Services that should work with our device would not install. From what I can see, we (or at least me) seem to be using a "generic" version, not the newer 5.1 Lollipop version. I thought installing newer version would fix the error messages since restoring the current version from Titanium Backup didn't work.

OK, so frustrated with the constant errors, I decided to restore my TWRP backup and at least get back to where I was before.

I booted back into recovery and restored the backup, rebooted.

No more Google Play Services error/SELinuxModeChanger root errors.

And guess what? I still immediately get LTE!

___________

Long story short:

Go into TWRP recovery.

Fix Permissions.

Reboot.

Go back into recovery, restore backup.

Reboot

Somehow, and this is what doesn't make sense -- the "fix permissions" still did something, even though I eventually restored my previous backup.

Perhaps "fix permissions" with re-flash of SuperSu in recover before rebooting would do just as well, but I'm not going to experiment. ;) I'm happy the "HSPA/no LTE for a long time" issue is fixed.

Now just waiting for this when [MENTION=2228410]Skrilax_CZ[/MENTION] gets the time... :good: