Im trying to resolve issues with Sprint LTE data on AOSP based ROM's on converted LS998's. A quick discription of the bug/issue is 2 fold.
First upon initial boot AOSP roms are using the wrong APN's for this device. n.ispsn was depreciated for newer devices like the LS998, x.ispsn is what is needed. There was commit in LOS15 regarding the n.ispsn and x.ispsn apn issue that I dont belive was brought over to LOS16 yet, or they are using a different method of handling because x.ispsn in not in our LOS16 apn-conf.xml
https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/220026
Code:
apns: sprint: Default to legacy n.*, allow x.* as an alternative
* Newer Sprint devices will only get LTE on the x.* variant of
the APN. Though, using this breaks all legacy Sprint devices
LTE connection. until we have a majority of post 8996 era
devices, default to the n.* variant of the APN.
This can be resolved by either flashing this Sprint APN in TWRP, but note this will delete all apns except the ones needed for Sprint:
Here is a apn fix for Sprint users only I need tested.
Please do a clean install before flashing this before the first boot for best results.
If you don't do this, you may have to reset your apns to default in settings. Preferred network mode should be set to Global.
https://drive.google.com/file/d/1VK7t3fEAS263fWA9oE7yiQNcIhormO7o/view
This should bring up LTE on first boot. Worked for me but I'm still having the odd network issue. Test it and let me know.
Click to expand...
Click to collapse
Or manually entering a new APN by going to:
1) Settings
2) Network & Internet
3) Mobile Network
4) Advance
5) Temporally change "Preferred Network Type" to "LTE / WCDMA" then go back
6) This will show "Access Point Names" choose that
7) Tap the 3 dots in the top right and pick "New APN"
8) Enter the following in the new apn
Code:
Name: Sprint LTE
APN: x.ispsn
MMSC: http://mms.sprintpcs.com
MMS proxy: oap7.sprintpcs.com
MMS port: 80
MCC: 310
MNC: 120
APN type: default,supl,mms,cbs,ia
APN protocol: IPv4/IPv6
APN Roaming protocol: IPv4/IPv6
Bearer: eHRPD, LTE
9) tap the 3 dots and choose "Save"
10) Tap the dot next to the new x.ispsn apn and make sure its highlighted.
11) Tap the back arrow in the top left
12) Tap "Preferred Network Type"
13) Chose "Global" or "CDMA + LTE/EvDo"
14) LTE should come up, if not reboot
This should get LTE(Band 25) and LTE+(Band 41) working on either the Sprint LS998 modem as well as the US998 modem. I would suggest the LS998 modem.
The next issue/bug Im running into is odd network behavior with some apps and resolving some websites. While in LTE Using Snapchat as an example as a test incoming messages work fine, but if I send a private message out, it just hangs until I reconnect to wifi or forcing 3G. The camera app WYZE will not login unless on WiFi or 3G. Also www.dslreports.com will not resolve on LTE.
x86cpu (the LS997 LOS DEV) is suggesting that there is Sprint and Verizon specific blobs and apps are missing.
Quote:
Originally Posted by x86cpu
This was the commit, which has the needed files and what to do. You'd need to add to vendor area. You can pull out the VZW stuff. Again.. no idea if this will work.
https://github.com/x86cpu/proprietary_vendor_lge/commit/da73a25c10ffaf1b4cee00a88c0188f872db7a91
Click to expand...
Click to collapse
Quote:
Originally Posted by x86cpu
It could be the SprintDM/SprintHM .apks that are included. They are Sprint "helpers". Unsure fully what they do, but maybe. The ones for the msm8996 devices that are used for the v20/g5/g6 are pulled from the pixel (marlin), since it has the same msm8996 chipset. You'd need one similar for the v30 chipset.
Click to expand...
Click to collapse
We will need to "borrow" the apk's from the Pixel 2 XL "taimen" as its the same chipset which I have done and placed in the app-priv directory and applied the correct permissions.
I have went a bit further and copied all the "radio" files from the LS998 to a AOSP rom with no luck:
https://github.com/SGCMarkus/android_device_lge_joan-common/blob/lineage-16.0/proprietary-files.txt
Code:
# Radio
-app/QtiTelephonyService/QtiTelephonyService.apk
etc/permissions/qcrilhook.xml:vendor/etc/permissions/qcrilhook.xml|cf740b4339659e7a30cabcd1c2fe5066e69b8760
etc/permissions/telephonyservice.xml:vendor/etc/permissions/telephonyservice.xml|ff2c9f3456ad73f97adb7ef314fe916fa9cbfb81
framework/qcrilhook.jar:vendor/framework/qcrilhook.jar
framework/QtiTelephonyServicelibrary.jar:vendor/framework/QtiTelephonyServicelibrary.jar
lib/libril_wrapper.so:vendor/lib/libril_wrapper.so
lib/[email protected]:vendor/lib/[email protected]|22d159d210b6bc5adfd7be6cc5056d4b7790dab9
lib64/libril_wrapper.so:vendor/lib64/libril_wrapper.so
lib64/libuicc.so:vendor/lib64/libuicc.so
lib64/[email protected]:vendor/lib64/[email protected]|7c8d2bc07575131849736181ed26e4fe3c1c9c87
-priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk
-vendor/app/SVIService/SVIService.apk
vendor/bin/hw/rild
vendor/bin/ATFWD-daemon
vendor/bin/ipacm-diag
vendor/bin/netmgrd
vendor/bin/pd-mapper
vendor/bin/qti
vendor/bin/rmt_storage
vendor/bin/tftp_server
vendor/etc/data/dsi_config.xml
vendor/etc/data/netmgr_config.xml
vendor/lib/libmdmdetect.so
vendor/lib/libpdmapper.so
vendor/lib/libpdnotifier.so
-vendor/lib/libqmiservices.so
vendor/lib/libril.so
vendor/lib/[email protected]_vendor.so
vendor/lib/[email protected]_vendor.so
vendor/lib/[email protected]_vendor.so
vendor/lib/[email protected]_vendor.so
vendor/lib/[email protected]_vendor.so
vendor/lib/[email protected]_vendor.so
vendor/lib/[email protected]_vendor.so
vendor/lib/[email protected]_vendor.so
vendor/lib/[email protected]_vendor.so
vendor/lib64/libconfigdb.so
vendor/lib64/liblqe.so
vendor/lib64/libmdmdetect.so
vendor/lib64/libnetmgr.so
vendor/lib64/libpdmapper.so
vendor/lib64/libpdnotifier.so
-vendor/lib64/libqmiservices.so
vendor/lib64/libril.so
vendor/lib64/libril-qc-ltedirectdisc.so
vendor/lib64/libril-qc-qmi-1.so|c9bdfa948b4479c9c152ef8ed6ab54a5de33af94
vendor/lib64/libril-qc-radioconfig.so
vendor/lib64/libril-qcril-hook-oem.so
vendor/lib64/librilqmiservices.so
vendor/lib64/libsettings.so
vendor/lib64/libsystem_health_mon.so
vendor/lib64/[email protected]_vendor.so
vendor/lib64/[email protected]_vendor.so
vendor/lib64/[email protected]_vendor.so
vendor/lib64/[email protected]_vendor.so
vendor/lib64/[email protected]_vendor.so
vendor/lib64/[email protected]_vendor.so
vendor/lib64/[email protected]_vendor.so
vendor/lib64/[email protected]_vendor.so
vendor/lib64/[email protected]_vendor.so
vendor/radio/qcril_database/qcril.db
If anyone can help with this matter it would be greatly appreciated, If you are on Sprint please try to replicate these issues (Ive had one user confirm in the LOS16 thread) and if possible get a logcat.
[ROM][9.0.0]LineageOS-16.0[Joan][Unofficial]
cityneversleepz said:
@whitewidow01
Same issue on Snapchat. I get theirs but they don't get mine.
Click to expand...
Click to collapse
[ROM]-[UN-Official]-Havoc-OS-2.4[9.0][H932]-[H930]
mfinlay04 said:
Yes the build name is 4/13, but on the website it shows 4/15, sorry. You are correct about dslreports, wyze, and Snapchat. I have the same issues on my device as well.
Click to expand...
Click to collapse
Im working on putting together a PC to build on but at the moment I cannot afford to complete it. By the end of the month hopefully it will be completed.
Any DEV's who are currently building AOSP ROM's I suggest looking into @x86cpu LS997 github and XDA thread because that device did have issue on Sprint but are now resolved. He actually builds a separate ROM for each v20 variant.
https://forum.xda-developers.com/v20/development/rom-unofficial-lineageos-16-0-lg-v20-t3869244
https://github.com/LineageOS/android...msm8996-common
https://github.com/LineageOS/android...lge_v20-common
https://github.com/LineageOS/android_device_lge_ls997
Thanks for this, will keep my eyes open for anything I think can help. You are right we are probably missing specific blobs for AOSP from our device.
Probably known, but these same limitations do not apply to 3g. I'm able to render dslreports and other perfectly while on 3g, or connected to a VPN on LTE.
mfinlay04 said:
Probably known, but these same limitations do not apply to 3g. I'm able to render dslreports and other perfectly while on 3g, or connected to a VPN on LTE.
Click to expand...
Click to collapse
Interesting.
I tried to use my torguard vpn and I still have the same issues. Even changed the dns to cloudflares
WhiteWidows said:
Interesting.
I tried to use my torguard vpn and I still have the same issues. Even changed the dns to cloudflares
Click to expand...
Click to collapse
I was using PIA. I'm going to confirm today when I get back into an area that I get LTE but I think using adaway and whitelisting websites will make them work. I'll post back to confirm you results.
Overall, the issue is 100% with Sprint LTE and the V30. I was roaming today on TMO band 4 and was able to resolve dalreports.com without issue. A few minutes later when I was back on Sprint Band 26 it failed to load
mfinlay04 said:
Overall, the issue is 100% with Sprint LTE and the V30. I was roaming today on TMO band 4 and was able to resolve dalreports.com without issue. A few minutes later when I was back on Sprint Band 26 it failed to load
Click to expand...
Click to collapse
Same.
I believe we need to build specifically for the ls998 and extract the proprietary vendor blobs from the stock zip, as well as the sprintdm and sprinthm apks from the pixel 2 xl. Hopefully I will attempt this soon. Then if a rom built for the ls998 work we can create a flashable zip for Sprint users on any AOSP rom to flash. I'm just spitballing here so if any devs have a better idea please chime in.
WhiteWidows said:
Interesting.
I tried to use my torguard vpn and I still have the same issues. Even changed the dns to cloudflares
Click to expand...
Click to collapse
WhiteWidows said:
Same.
I believe we need to build specifically for the ls998 and extract the proprietary vendor blobs from the stock zip, as well as the sprintdm and sprinthm apks from the pixel 2 xl. Hopefully I will attempt this soon. Then if a rom built for the ls998 work we can create a flashable zip for Sprint users on any AOSP rom to flash. I'm just spitballing here so if any devs have a better idea please chime in.
Click to expand...
Click to collapse
Have you tried to pull the SprintDM and HM apks from the Sprint LS998 ROM? I know that it's probably more than those two apps that are needed to fix everything but wonder why it has to be from the pixel 2xl
mfinlay04 said:
Have you tried to pull the SprintDM and HM apks from the Sprint LS998 ROM? I know that it's probably more than those two apps that are needed to fix everything but wonder why it has to be from the pixel 2xl
Click to expand...
Click to collapse
Not from the stock rom. I have the ones from the Pixel 2 xl in app-priv but they do nothing. There is other files that probably need to be in place. x86cpu's suggested using them from the pixel that has the same chipset.
Found some differences between in the android_device_lge_ls997/vendor_prop.mk and android_device_lge_joan-common/vendor_prop.mk that might be relevant:
Code:
diff -u android_device_lge_ls997/vendor_prop.mk android_device_lge_joan-common/vendor_prop.mk
--- android_device_lge_ls997/vendor_prop.mk 2019-05-12 17:21:41.891604752 -0400
+++ android_device_lge_joan-common/vendor_prop.mk 2019-05-12 17:13:08.340389278 -0400
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
[ snipped ]
- ro.cdma.home.operator.numeric=310120 \
- ro.cdma.home.operator.alpha=Sprint \
- ro.telephony.default_cdma_sub=1 \
[ snipped ]
Also found the following differences between taimen (pixel 2 xl) and joan in their proprietary-files.txt from: https://github.com/CarbonROM/androi...81dd310a5dbfc387/device-proprietary-files.txt
Code:
diff -u android_device_google_taimen/device-proprietary-files.txt android_device_lge_joan-common/proprietary-files.txt
--- android_device_google_taimen/device-proprietary-files.txt 2019-05-12 17:48:00.434649463 -0400
+++ android_device_lge_joan-common/proprietary-files.txt 2019-05-12 17:13:08.340389278 -0400
[snipped]
-# Sprint/Project Fi
--app/Tycho/Tycho.apk;PRESIGNED
-etc/permissions/com.android.omadm.service.xml
-etc/permissions/com.android.sdm.plugins.connmo.xml
-etc/permissions/com.android.sdm.plugins.sprintdm.xml
-etc/permissions/obdm_permissions.xml
-etc/sysconfig/whitelist_com.android.omadm.service.xml
-lib/libdmengine.so
-lib/libdmjavaplugin.so
--priv-app/CarrierServices/CarrierServices.apk;PRESIGNED
--priv-app/CarrierSetup/CarrierSetup.apk;PRESIGNED
--priv-app/ConnMO/ConnMO.apk
--priv-app/DCMO/DCMO.apk
--priv-app/DMService/DMService.apk
--priv-app/obdm_stub/obdm_stub.apk;PRESIGNED
--priv-app/OBDM_Permissions/OBDM_Permissions.apk;PRESIGNED
--priv-app/OemDmTrigger/OemDmTrigger.apk
--priv-app/SprintDM/SprintDM.apk
--priv-app/SprintHM/SprintHM.apk
-
-# VZW
--app/VZWAPNLib/VZWAPNLib.apk;PRESIGNED
-etc/permissions/com.android.vzwomatrigger.xml
-etc/permissions/com.verizon.apn.xml
-etc/permissions/com.verizon.embms.xml
-etc/permissions/com.verizon.llkagent.xml
-etc/permissions/com.verizon.provider.xml
-etc/permissions/com.verizon.services.xml
-etc/permissions/features-verizon.xml
-etc/permissions/vzw_mvs_permissions.xml
--framework/VerizonUnifiedSettings.jar;PRESIGNED
-priv-app/MyVerizonServices/lib/arm64/libmotricity.so
--priv-app/MyVerizonServices/MyVerizonServices.apk;PRESIGNED
--priv-app/VerizonAuthDialog/VerizonAuthDialog.apk;PRESIGNED
--priv-app/VzwOmaTrigger/VzwOmaTrigger.apk;PRESIGNED
--priv-app/WfcActivation/WfcActivation.apk;PRESIGNED
[snipped]
Additionally, you will probably need to copy the DM_* parts from the taimen Android.mk here: https://github.com/CarbonROM/androi...abd73db1dae171031b81dd310a5dbfc387/Android.mk
Code:
DM_LIBS := libdmengine.so libdmjavaplugin.so
DM_SYMLINKS := $(addprefix $(TARGET_OUT)/priv-app/DMService/lib/arm/,$(notdir $(DM_LIBS)))
$(DM_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "DMService lib link: [email protected]"
@mkdir -p $(dir [email protected])
@rm -rf [email protected]
$(hide) ln -sf /system/lib/$(notdir [email protected]) [email protected]
ALL_DEFAULT_INSTALLED_MODULES += $(DM_SYMLINKS)
P_1 said:
Found some differences between in the android_device_lge_ls997/vendor_prop.mk and android_device_lge_joan-common/vendor_prop.mk that might be relevant:
Also found the following differences between taimen (pixel 2 xl) and joan in their proprietary-files.txt from: https://github.com/CarbonROM/androi...81dd310a5dbfc387/device-proprietary-files.txt
Additionally, you will probably need to copy the DM_* parts from the taimen Android.mk here: https://github.com/CarbonROM/androi...abd73db1dae171031b81dd310a5dbfc387/Android.mk
Click to expand...
Click to collapse
I wonder if these changes would allow for project fi service on a v30?
From what I know, Sprint is the underlying carrier for project fi, so I think it should work once Sprint is working.
P_1 said:
From what I know, Sprint is the underlying carrier for project fi, so I think it should work once Sprint is working.
Click to expand...
Click to collapse
It is.
Bump and thanks in hopes Verizon ready AOSP and Lineage ROMS exist in the future
Thanks for this. Very informative. I been having issues with Havoc and Sprint to properly work. Mostly with the mms service. Cant reply on group mss chats.
Im on LS998>US998>Havoc
Question: Do I need to flash LS998 modem each time I dirty flash a new version of Havoc?
Again Thanks for this!!
WhiteWidows said:
It is.
Click to expand...
Click to collapse
What rom are you currently using?
Hey @WhiteWidows
I just wanted to leave a short ty message for you for taking the time to put all of this information into a guide, and in its own thread.
Just between you and I theres been many, too many hours spent trying to fix this issue. From hacking into sprint's device, understanding the problem, reverse engineering their bull****, debugging and testing testing testing... Thank You for making this one of your priorities!
I will be busy this weekend (next few days) so I cant test much, but if you dont mind I have just one quick yes or no question: Can we start thinking about using our LS998's on Sprint as a daily driver phone, with AOSP ROM's now? I will read your post more thoroughly when I can to understand specifics a little better, but for now I would be thrilled if the answer to that is anything but "NO!" haha
~syndre
Any news on getting things to work correctly?
jhienk said:
Any news on getting things to work correctly?
Click to expand...
Click to collapse
A test build of LOS was just released.
https://drive.google.com/open?id=1IBGi-6dp3KwXsRysfXpPzy6rQccnT7Wy
WhiteWidows said:
A test build of LOS was just released.
https://drive.google.com/open?id=1IBGi-6dp3KwXsRysfXpPzy6rQccnT7Wy
Click to expand...
Click to collapse
Need logs of the stuff there appearantly crashing, pls thx ^^
SGCMarkus said:
Need logs of the stuff there appearantly crashing, pls thx ^^
Click to expand...
Click to collapse
Hopefully tomorrow I can get one, I needed my phone all day today. But I should be able to grab it after work tomorrow.
Related
So a few of us have now started working on AOSP 5.1 and we have noticed that when making phone calls through the standard internal speaker, you can't hear the person calling and they can't hear you.
What I have tried so far:
Radios - tried older ones and current and no difference
Kernels - Again tried a few different kernels and still did not make any difference
gruesomewolf extracted the binaries from the factory image. I have added into my rom and hasn't worked. I am trying another build now.
Here is a link to my source code, so you can see what changes I have made:
https://github.com/StephenAOSP
The only changes I have made from stock 5.1 are:
Disable encryption
Disable recovery
Add in Vendor binaries
Use ota_from_target_files from scrosler's guide
Change device name
Disable restrict vendor files
Created bootanimation folder in prep for final build
I thought this would be a good place for Dev's to work on the issue and share findings. Pinging a few dev's to make them aware of the thread:
@gruesomewolf @fhem @scrosler @zephiK @rascarlo @simms22 @jakew02
Guys
Remember this is a high level discussion forum. Please keep posts related to fixing this issue.
Click to expand...
Click to collapse
Found an interesting post here:
hondajohn88 said:
zephiK...I got the voice call working without the speaker in stock aosp 5.1. It's in the mixer_paths.xml, a couple of missing lines in the 5.1 version. I copied over the lines from 5.0.2 and that fixed the problem.
I copied over lines 466 - 496 to replace those in the 5.1 mixer_paths.
(device/moto/shamu/mixer_paths.xml)
Hope this helps
Click to expand...
Click to collapse
Pinging @hondajohn88 to make sure he is aware of this thread.
Also here is a logcat attached with making a phone call.
I can confirm the above fix works on latest radio, stock kernel and latest 5.1 vendor files.
heres a flashable zip for those those whose roms havent updated yet https://drive.google.com/file/d/0B-W-PFSvgML0Mm5NdHIyQjlPeXc/view?usp=sharing
@Stephen
Just adding lines back in to the mixer_paths probably isn't the best approach to this. The commit that broke it is here:
https://android.googlesource.com/device/moto/shamu/+/b3816857ca7463f5e776ea1e5efbf59f714a96d0%5E!/#F0
I'm willing to bet if you revert that, it will fix the issue.
I'm actually not having this issue at all myself. Have you guys merged in the 5.1 kernel and updated the vendor files to LMY47D?
jakew02 said:
@Stephen
Just adding lines back in to the mixer_paths probably isn't the best approach to this. The commit that broke it is here:
https://android.googlesource.com/device/moto/shamu/+/b3816857ca7463f5e776ea1e5efbf59f714a96d0^!/#F0
I'm willing to bet if you revert that, it will fix the issue.
I'm actually not having this issue at all myself. Have you guys merged in the 5.1 kernel and updated the vendor files to LMY47D?
Click to expand...
Click to collapse
Could that commit break VoLTE activation on aosp based Roms? Not only did I have the earpiece issue but also cannot activate VoLTE service at all. I can on stock factory. @Stephen I see you have that issue as well.
Sent from my Nexus 6 using XDA Free mobile app
Good point. I wonder if rather than just adding in those two lines into the xml file, if I replace it from the 5.0.2 rom, will it get VoLTE working?
Like I said, I'm not having this issue at all on 5.1 stock or Omni (device trees are extremely similar), on T-Mobile in an LTE-area (Philadelphia).
I know that @dhacker29 had to call a number or something to enable VoLTE for VZW.. maybe he can fill everyone in on what he did to get it activated.
Stephen said:
Good point. I wonder if rather than just adding in those two lines into the xml file, if I replace it from the 5.0.2 rom, will it get VoLTE working?
Click to expand...
Click to collapse
I was told that this guy may have fixed VoLTE. I picked the last 3 commits and although my ROM is a little larger in size I now register as no SIM found on Verizon. Anyone know what lib(s) may affect that specific portion?
https://github.com/razrqcom-dev-team/proprietary_vendor_motorola/commits/cm-12.1
Sent from my Nexus 6 using XDA Free mobile app
cjkacz said:
I was told that this guy may have fixed VoLTE. I picked the last 3 commits and although my ROM is a little larger in size I now register as no SIM found on Verizon. Anyone know what lib(s) may affect that specific portion?
https://github.com/razrqcom-dev-team/proprietary_vendor_motorola/commits/cm-12.1
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
im using same vendor, as is @zephiK in Chroma5.1 howver VoLTE seems only be working for his TMo device. Noone has seeemed to figure out the No Sim issue on first boot, the only way around this is to dirty flash over a 5.0.X rom and then your 5.1 rom will see the sim and work just. Again no VoLTE but everything else is working well on my Verizon N6.
Disclaimer
This ROM is constantly under development, and the file(s) provided are a snapshot at a particular point in time. There are no guarantees that they will work. On the other hand, it's quite possible that the file(s) here may make your phone explode, make your boy/girlfriend leave for another country, cause you immense financial loss or other horrible things. The CyanogenMod team and I are not responsible for any of it.
Reporting Bugs
This thread is for development discussion of this ROM only. Please use the thread in Q&A to ask questions about the ROM. If you have encountered a bug, please try to reproduce it with a CLEAN FLASH without any other apps/data (unless specifically needed to reproduce the bug).
Valid bug reports will contain the items below as a minimum:
Steps to reproduce error
Phone firmware (Baseband) - (i.e. NK2, OB7) - You can find this by going to Settings->About phone and looking for Baseband version
Version of CyanogenMod (i.e. 2015XXXX-NIGHTLY)
Filename / version of gapps used if the issue may be related to gapps
Logcat - CatLog is a good Android app to save logs with. You can attach to your XDA post if you desire.
Installation Instructions
Use TWRP!
Do a nandroid! What happens when the ROM doesn't work??
Factory Reset if this is your first flash of CyanogenMod 12.1! (Wipe Cache/Dalvik/Data)
Install the latest nightly ROM ZIP file!
Install your favorite gapps (TK Lollipop Gapps / Slim Lollipop Gapps)
What Works / Doesn't
Working: Mobile Data
Working: WiFi
Working: Bluetooth (Phone)
Working: GPS - Some users may experience non-functional GPS. I suggest flashing back to TouchWiz and acquiring a GPS lock with GPS Status & Toolbox. Once that happens, go right back to recovery and reflash CyanogenMod.
Working: Camera
Not Working: Any (currently unknown) bugs affecting mainline CyanogenMod.
Not Tested: Anything not mentioned above.
Found Bugs
None
Download
Official CyanogenMod Download
XDA:DevDB Information
CyanogenMod 12.1 for trltespr, ROM for the Sprint Samsung Galaxy Note 4
Contributors
nivron, drcrimzon, spleef, slayher
Source Code: https://github.com/CyanogenMod/android_device_samsung_trltespr/tree/cm-12.1
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod
Version Information
Status: Nightly
Created 2015-07-09
Last Updated 2015-07-09
Reserved
Reserved
Very Nice! Thanks Nivron!
Next game begins!! awsome
Yessir!
Anyone know if this has sms bug
rcmartin57 said:
Anyone know if this has sms bug
Click to expand...
Click to collapse
Yes just *#*#4636#*#* and go the phone info....and swith it CDMA prl...then switch it to lte and CDMA plr....and it'll be fixed...
D_Smuv_ said:
Yes just *#*#4636#*#* and go the phone info....and swith it CDMA prl...then switch it to lte and CDMA plr....and it'll be fixed...
Click to expand...
Click to collapse
Even on reboot. I could never get it to stick.
rcmartin57 said:
Even on reboot. I could never get it to stick.
Click to expand...
Click to collapse
I got u...give me one second
rcmartin57 said:
Even on reboot. I could never get it to stick.
Click to expand...
Click to collapse
Change ONLY the MMSC and MMS....on the Sprint EHRPD Internet and Sprint LTE Internet...then do the *#*#4636#*#* it should stick
D_Smuv_ said:
Change ONLY the MMSC and MMS....on the Sprint EHRPD Internet and Sprint LTE Internet...then do the *#*#4636#*#* it should stick
Click to expand...
Click to collapse
Thank you my man, i was alway going back to TW roms since i got reboots when i didnt know and sms was never working. I give this a go. What gapps are you on.
rcmartin57 said:
Thank you my man, i was alway going back to TW roms since i got reboots when i didnt know and sms was never working. I give this a go. What gapps are you on.
Click to expand...
Click to collapse
https://www.androidfilehost.com/?w=files&flid=31523
Probably not...but to get GPS can I flash a backup of TW rom w/GPS and then the backup of CM12.1 or have to be dirty flash?
Sent from my SM-N910P using Tapatalk
So far good for me. I use Google voice so I don't know about mms/SMS issues. GPS on 3g works real well, but on LTE it takes a while to get a lock.
Sent from my SM-N910P using Tapatalk
ssjgoku24 said:
So far good for me. I use Google voice so I don't know about mms/SMS issues. GPS on 3g works real well, but on LTE it takes a while to get a lock.
Sent from my SM-N910P using Tapatalk
Click to expand...
Click to collapse
Look on the top of this page and you'll see how to fix all that
---------- Post added at 01:53 AM ---------- Previous post was at 01:46 AM ----------
I updated to 7/10 yesterday
The camera force closes on me all the time...specially when using Instagram or focusing it on something too long...
But everything else is great
And to get GPS and SMS/MMS to work properly you have to fix it the way I said in my post on top of page 2...it works great...fix the APN first then fix the Sprint EHRPD internet AND Sprint LTE internet then do the *#*#4636#*#* thing and reboot and it should work
The "Global" option keeps disappointing from the list of preferred network types.
Sent from my SM-N910P using XDA Free mobile app
Do a fresh install and don't touch it because it'll go away again
D_Smuv_'s fix worked for me. GPS is getting a quick lock. It's weird though. GPS essentials and GPS status show 0/0 satellites but get locks.
Sent from my SM-N910P using Tapatalk
Is it just going in and toggling the settings? I tried that but no go for me. Also could find the screen that shows in the screenshot above. It's been a long weekend.....
So I've made vendor blobs and gapps for shamu using 6.0.0(MRA58K) files. I'm posting them here incase anyone wants to help or make them work for your builds. I figure collaboration is always better than none.
vendor_motorola_shamu - GitHub
Google Apps (nodpi) - files.oceighty.co (WORKS)
There they are. Feel free to use them how you want to. I just ask you spread them around so we can get this going!
@xanaxdroid I've had success with the ROM booting up with these binaries but have had the issue where the SIM card isn't being recognized. Is the same problem happening to you as well?
JJD does apologizes, but he has to be that "guy". Please use the button to show your thanks to the OP, vice posting. Now if you have input into development, please do post........
Thread Cleaned.
zephiK said:
@xanaxdroid I've had success with the ROM booting up with these binaries but have had the issue where the SIM card isn't being recognized. Is the same problem happening to you as well?
Click to expand...
Click to collapse
There seems to be an issue no matter what blobs are used @zephiK
We pulled the binaries directly from Google and same thing happened. I tried using @xanaxdroid's blobs which btw don't match up with what Google put out and came up empty as well
Mazda said:
There seems to be an issue no matter what blobs are used @zephiK
We pulled the binaries directly from Google and same thing happened. I tried using @xanaxdroid's blobs which btw don't match up with what Google put out and came up empty as well
Click to expand...
Click to collapse
These are the binaries Google put out with the rest pulled from the shamu system image.
xanaxdroid said:
These are the binaries Google put out with the rest pulled from the shamu system image.
Click to expand...
Click to collapse
Gotcha, guess I'm just used to pulling them from Google not the actual image.
Anyways, going to troubleshoot this data/signal issue and see what I come up with
Let me know if you guys come up with anything, really don't care who fixes it as long as the result is the same
zephiK said:
@xanaxdroid I've had success with the ROM booting up with these binaries but have had the issue where the SIM card isn't being recognized. Is the same problem happening to you as well?
Click to expand...
Click to collapse
Same is happening to me as well.
Team Octos -Nexus 6
zephiK said:
@xanaxdroid I've had success with the ROM booting up with these binaries but have had the issue where the SIM card isn't being recognized. Is the same problem happening to you as well?
Click to expand...
Click to collapse
Yeah same thing. I pushed an update. Getting ready to try it again now.
I couldn't post on your g+ post @Mazda so came here, I haven't yet compiled(doing now) but I did notice that the blobs @zephiK & @xanaxdroid are using don't have alot of the radio related files, no wfc, and misc radio stack ones that I had figured out during 5.1.1 those helped immensely for fi and sprint, etc along with a number of radio related functions. Maybe those need to be used this go around?(Google doesn't supply these on their released blobs btw) I will let you guys know how it goes on my end when build finishes. Fingers crossed
Sent from my Nexus 6 using Tapatalk
BeansTown106 said:
I couldn't post on your g+ post @Mazda so came here, I haven't yet compiled(doing now) but I did notice that the blobs @zephiK & @xanaxdroid are using don't have alot of the radio related files, no wfc, and misc radio stack ones that I had figured out during 5.1.1 those helped immensely for fi and sprint, etc along with a number of radio related functions. Maybe those need to be used this go around?(Google doesn't supply these on their released blobs btw) I will let you guys know how it goes on my end when build finishes. Fingers crossed
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Just for clarification, the ones I used are the same ones from xanax so they're exactly identical as his.
zephiK said:
Just for clarification, the ones I used are the same ones from xanax so they're exactly identical as his.
Click to expand...
Click to collapse
I know, that's why I included you both in my comment. But you are missing all the wfc blobs, same with Google they only have really given us the "mandatory" blobs since the device was released. Not really sure why.. We had to source the ims and wfc ones ourselves previously from the factory images.
Edit: didn't something similar to this happen when volte was first introduced?
BeansTown106 said:
I know, that's why I included you both in my comment. But you are missing all the wfc blobs, same with Google they only have really given us the "mandatory" blobs since the device was released. Not really sure why.. We had to source the ims and wfc ones ourselves previously from the factory images.
Edit: didn't something similar to this happen when volte was first introduced?
Click to expand...
Click to collapse
Before they had different releases for different carriers. I used the binaries from Google and the system image to try and match the L release ones plus with newer files and files that had been removed. I don't remember about the VoLTE and WFC, but I just posted these as a starting point just in case someone knows what's missing they could post theirs and we can get on rolling and pushing out these builds.
BeansTown106 said:
I know, that's why I included you both in my comment. But you are missing all the wfc blobs, same with Google they only have really given us the "mandatory" blobs since the device was released. Not really sure why.. We had to source the ims and wfc ones ourselves previously from the factory images.
Edit: didn't something similar to this happen when volte was first introduced?
Click to expand...
Click to collapse
Currently, the baseband isn't being recognized. If I remembered correctly, when 5.1 came out the baseband was already recognized the only thing that didn't work was VoLTE which made the phone drop down to HSPA during a phone call. So on 5.1 blobs provided by Google, you could still have mobile/cellular data but on 6.0.x it doesn't.
Me and Sykopompos worked on this for quite awhile to get VoLTE working. I remembered in one of the batch of blobs we used, we had a SIM card problem and it was resolved by swapping several files from factory image.
I've also asked the question on the Android building Google group, if this is a flub or a new policy. I hope we'll get an answer soon.
Y'all remembered this commit right? https://github.com/CyanogenMod/andr...mmit/7b51319cb06ac99386ceba84d5aaee5a1c905937
jamieg71 said:
Y'all remembered this commit right? https://github.com/CyanogenMod/andr...mmit/7b51319cb06ac99386ceba84d5aaee5a1c905937
Click to expand...
Click to collapse
Yeah that was part of the initial bring up for a few of us
@xanaxdroid assuming the reason you removed SetupWizard from your 10/07 gapps was because of SetupWizard FCs reported on several devices, have you tried keeping setupwizard, and also adding GoogleTTS and libs to system/app to see if the FCs are gone? from logs i've seen, it looks like SetupWizard is crashing because of missing TTS. http://pastebin.com/nkdtkd7y
BeansTown106 said:
I know, that's why I included you both in my comment. But you are missing all the wfc blobs, same with Google they only have really given us the "mandatory" blobs since the device was released. Not really sure why.. We had to source the ims and wfc ones ourselves previously from the factory images.
Edit: didn't something similar to this happen when volte was first introduced?
Click to expand...
Click to collapse
How did your build work out Beans? Any luck?
Team Octos -Nexus 6
dankoman said:
@xanaxdroid assuming the reason you removed SetupWizard from your 10/07 gapps was because of SetupWizard FCs reported on several devices, have you tried keeping setupwizard, and also adding GoogleTTS and libs to system/app to see if the FCs are gone? from logs i've seen, it looks like SetupWizard is crashing because of missing TTS. http://pastebin.com/nkdtkd7y
Click to expand...
Click to collapse
That was the reason. I'll give it another go today using Google TTS. Thanks
Radio logs are crying for a libxml2.so, which is apparently related to RILD. Pull libxml2.so and push to system/lib and pray for results
I wrote this for myself but here it is in case anyone is also interested.
Google sets the wifi country code to whatever is in your sim card. If the country does not have a corresponding list of enabled 5GHz frequencies, then a lot of these frequencies get disabled. This mod simply sets the country code to US. There is no GUI or anything, just enable and restart and you're all set. Android marshmallow only. I tested it on my S7 edge and it's working fine.
Enjoy.
Edit: Added OREO 8.1 version. Testing working on Pixel 2 XL.
madmack said:
I wrote this for myself but here it is in case anyone is also interested.
Google sets the wifi country code to whatever is in your sim card. If the country does not have a corresponding list of enabled 5GHz frequencies, then a lot of these frequencies get disabled. This mod simply sets the country code to US. There is no GUI or anything, just enable and restart and you're all set. Android marshmallow only. I tested it on my S7 edge and it's working fine.
Enjoy.
Click to expand...
Click to collapse
android4.4 cannot open
madmack said:
I wrote this for myself but here it is in case anyone is also interested.
Google sets the wifi country code to whatever is in your sim card. If the country does not have a corresponding list of enabled 5GHz frequencies, then a lot of these frequencies get disabled. This mod simply sets the country code to US. There is no GUI or anything, just enable and restart and you're all set. Android marshmallow only. I tested it on my S7 edge and it's working fine.
Enjoy.
Click to expand...
Click to collapse
awesome thankx
我是一个卒 said:
android4.4 cannot open
Click to expand...
Click to collapse
did you read OP's post properly ?
There is no GUI or anything, just enable and restart and you're all set.
BytesReverser said:
did you read OP's post properly ?
There is no GUI or anything, just enable and restart and you're all set.
Click to expand...
Click to collapse
sorry,my english is poor
I've been trying to find a fix ever since i got this phone and your module fixed it with no hassle
Thank you very much
Can i have your permission to share this on Mi A1 forums and xiaomi subreddit?
berezker said:
I've been trying to find a fix ever since i got this phone and your module fixed it with no hassle
Thank you very much
Can i have your permission to share this on Mi A1 forums and xiaomi subreddit?
Click to expand...
Click to collapse
Sure thing. If I can ask you to please link to this post and not share the APK.
madmack said:
Sure thing. If I can ask you to please link to this post and not share the APK.
Click to expand...
Click to collapse
No problem
Thank you again so much
Hi!
Are you actively working on this still? and did you get around to testing it on a oneplus of any kind? I got the 5T, this does nothing on it sadly, and i'm desperate for a fix
thanks!
Amornik said:
Hi!
Are you actively working on this still? and did you get around to testing it on a oneplus of any kind? I got the 5T, this does nothing on it sadly, and i'm desperate for a fix
thanks!
Click to expand...
Click to collapse
I can't say I'm "working on it still" but whenever I have a need for it, I update it. I actually have the pixel 2 xl running latest oreo 8.1 and needed the added 5 GHz access points at work to have higher speeds (780 MBps beats 54 Mbps any day!)
Works fine here. Just make sure your xposed is working fine and that this module is loaded correctly. Reboot, profit. should work on all 8.1 ROMs given that I'm only modifying a simple framework method which should exist in all variants out there.
Hi,
thanks for the reply!
I have installed the latest Xposed, and your module (downloaded from there, not the file here) & rebooted. nothing happens. I do not see my 5GHZ when it's on the 148 and up band. When I switch it to the lower bands (38 and up) works just fine. this is driving me insane. Any chance you could help me out ?
In another post, someone offered me to replace a file, and that seemed to work for a bit, but now it has also stopped working
Link: https://forum.xda-developers.com/oneplus-5t/help/wifi-region-5ghz-question-5t-t3776003#post76220330
Thanks! appreciate any and all help.
Edit: Actually it would help to understand what it is exactly your addon is changing ? since the above file does have something that seems relevant. is this the same value being changed?
Amornik said:
Hi,
thanks for the reply!
I have installed the latest Xposed, and your module (downloaded from there, not the file here) & rebooted. nothing happens. I do not see my 5GHZ when it's on the 148 and up band. When I switch it to the lower bands (38 and up) works just fine. this is driving me insane. Any chance you could help me out ?
In another post, someone offered me to replace a file, and that seemed to work for a bit, but now it has also stopped working
Link: https://forum.xda-developers.com/oneplus-5t/help/wifi-region-5ghz-question-5t-t3776003#post76220330
Thanks! appreciate any and all help.
Edit: Actually it would help to understand what it is exactly your addon is changing ? since the above file does have something that seems relevant. is this the same value being changed?
Click to expand...
Click to collapse
Maybe use my file here instead? Not sure what's on the xposed modules repo.
madmack said:
Maybe use my file here instead? Not sure what's on the xposed modules repo.
Click to expand...
Click to collapse
Hi,
Thanks for the reply! I thought I had mentioned I already tried it, did not change anything.
Maybe if you told me which file this is editing and which value is being changed, I might be able to debug and see if it's actually changing the value it needs to.
Works fine on my xiaomi a1 !!! thx so much!!
madmack said:
I wrote this for myself but here it is in case anyone is also interested.
Google sets the wifi country code to whatever is in your sim card. If the country does not have a corresponding list of enabled 5GHz frequencies, then a lot of these frequencies get disabled. This mod simply sets the country code to US. There is no GUI or anything, just enable and restart and you're all set. Android marshmallow only. I tested it on my S7 edge and it's working fine.
Enjoy.
Edit: Added OREO 8.1 version. Testing working on Pixel 2 XL.
Click to expand...
Click to collapse
cleberjb said:
Works fine on my xiaomi a1 !!! thx so much!!
Click to expand...
Click to collapse
It would be great if you could specify which version of Android (8.0, 8.1) and which ROM (or stock).
thanks!
Amornik said:
It would be great if you could specify which version of Android (8.0, 8.1) and which ROM (or stock).
thanks!
Click to expand...
Click to collapse
Sorry my inconvenience. Works on Android 8.0 stock.
Amornik said:
Hi,
Thanks for the reply! I thought I had mentioned I already tried it, did not change anything.
Maybe if you told me which file this is editing and which value is being changed, I might be able to debug and see if it's actually changing the value it needs to.
Click to expand...
Click to collapse
Sure, editing method setCountryCode in com.android.server.wifi.WifiServiceImpl
Setting the parameter to US manually.
madmack said:
Sure, editing method setCountryCode in com.android.server.wifi.WifiServiceImpl
Setting the parameter to US manually.
Click to expand...
Click to collapse
Cool, thanks!
Just as a follow up..
1. is this com.android.server.wifi.wifiserviceimpl a file (.jar?)or db file?
2. where is it located?
3. does your fix change it every time on reboot? or is it a one time change? (meaning, does the phone update this from the SIM occasionally?)
thanks again!
Amornik said:
Cool, thanks!
Just as a follow up..
1. is this com.android.server.wifi.wifiserviceimpl a file (.jar?)or db file?
2. where is it located?
3. does your fix change it every time on reboot? or is it a one time change? (meaning, does the phone update this from the SIM occasionally?)
thanks again!
Click to expand...
Click to collapse
no man, it's a framework class that xposed can tap into and change the behavior. Take a look at the source code of Android AOSP for that class. it's not a simple file in /system that you modify. It is changed every time this method is invoked, it's how xposed works.
Lol, just goes to show how much I know about how rhis works, which is nothing
Its working with the update to 8.1 btw.
Thanks for all your work and patience!
I've been using MIUI 9 global beta for a while and 3 days back I successfully unlocked my bootloader and flashed TWRP and flashed LineageOS based on Android nougat. After flashing lineage os I was not able to use Jio Volte calls. I did flash lineage os firmware but calls just don't work. I tried modifying APNs but that didn't work. PS: I was using Lineage OS on roaming. Does that affect Volte calls? Idk.
Please help me ASAP because I'm big fan of AOSP ROMs and tired of using MIUI.
udayxd said:
I've been using MIUI 9 global beta for a while and 3 days back I successfully unlocked my bootloader and flashed TWRP and flashed LineageOS based on Android nougat. After flashing lineage os I was not able to use Jio Volte calls. I did flash lineage os firmware but calls just don't work. I tried modifying APNs but that didn't work. PS: I was using Lineage OS on roaming. Does that affect Volte calls? Idk.
Please help me ASAP because I'm big fan of AOSP ROMs and tired of using MIUI.
Click to expand...
Click to collapse
VoLTE requires OEM support. Lineage OS or any custom rom for that matter, cannot enable VoLTE. Read it on the Lineage website.
rash191 said:
VoLTE requires OEM support. Lineage OS or any custom rom for that matter, cannot enable VoLTE. Read it on the Lineage website.
Click to expand...
Click to collapse
But in the lineage's XDA post it's clearly mentioned that VoLTE calls work. Then why is it happening?
udayxd said:
I've been using MIUI 9 global beta for a while and 3 days back I successfully unlocked my bootloader and flashed TWRP and flashed LineageOS based on Android nougat. After flashing lineage os I was not able to use Jio Volte calls. I did flash lineage os firmware but calls just don't work. I tried modifying APNs but that didn't work. PS: I was using Lineage OS on roaming. Does that affect Volte calls? Idk.
Please help me ASAP because I'm big fan of AOSP ROMs and tired of using MIUI.
Click to expand...
Click to collapse
Roaming +jio =trouble
1)Just delete your current apn and create a new apn after few sec volte will start working
2) or modify your current apn .
Put "ims" in APN TYPE
so it look like : APN TYPE= default,supl,ims
3) or modify your current apn
Remove everything from APN TYPE
and set AUTHENTICATION TYPE= NONE
If volte doesn't work then just toggle the airplane mode once . Or u can do a reboot .
And yes these methods works 100% so just don't report not working and blah blah . I myself is on roaming and i have read your 1st post about what you said "tried modifying apn "
The thing is you didn't do it correctly .thank you
Boomshiva said:
Roaming +jio =trouble
1)Just delete your current apn and create a new apn after few sec volte will start working
2) or modify your current apn .
Put "ims" in APN TYPE
so it look like : APN TYPE= default,supl,ims
3) or modify your current apn
Remove everything from APN TYPE
and set AUTHENTICATION TYPE= NONE
If volte doesn't work then just toggle the airplane mode once . Or u can do a reboot .
And yes these methods works 100% so just don't report not working and blah blah . I myself is on roaming and i have read your 1st post about what you said "tried modifying apn "
The thing is you didn't do it correctly .thank you
Click to expand...
Click to collapse
Thx man!
udayxd said:
Thx man!
Click to expand...
Click to collapse
Thanks, it worked.
Boomshiva said:
Roaming +jio =trouble
1)Just delete your current apn and create a new apn after few sec volte will start working
2) or modify your current apn .
Put "ims" in APN TYPE
so it look like : APN TYPE= default,supl,ims
3) or modify your current apn
Remove everything from APN TYPE
and set AUTHENTICATION TYPE= NONE
If volte doesn't work then just toggle the airplane mode once . Or u can do a reboot .
And yes these methods works 100% so just don't report not working and blah blah . I myself is on roaming and i have read your 1st post about what you said "tried modifying apn "
The thing is you didn't do it correctly .thank you
Click to expand...
Click to collapse
Volte works by following your method(s) but I'm experiencing strange bug, data keeping even if I turn it off. Could it be rom problem or jio problem?
Sent from my Mi Max Prime using Tapatalk
T.kum1993 said:
Volte works by following your method(s) but I'm experiencing strange bug, data keeping even if I turn it off. Could it be rom problem or jio problem?
Click to expand...
Click to collapse
Apn issues . So basically jio issues . Revert to default apn to fix it
Boomshiva said:
Roaming +jio =trouble
1)Just delete your current apn and create a new apn after few sec volte will start working
2) or modify your current apn .
Put "ims" in APN TYPE
so it look like : APN TYPE= default,supl,ims
3) or modify your current apn
Remove everything from APN TYPE
and set AUTHENTICATION TYPE= NONE
If volte doesn't work then just toggle the airplane mode once . Or u can do a reboot .
And yes these methods works 100% so just don't report not working and blah blah . I myself is on roaming and i have read your 1st post about what you said "tried modifying apn "
The thing is you didn't do it correctly .thank you
Click to expand...
Click to collapse
i follow all these steps but still jio cant able to make calls on my redmi 4a
tcpcd said:
i follow all these steps but still jio cant able to make calls on my redmi 4a
Click to expand...
Click to collapse
This solution is specific to mido and Jio operator .
I don't know about remdi 4a . Maybe altering sim position may help ...
Boomshiva said:
This solution is specific to mido and Jio operator .
I don't know about remdi 4a . Maybe altering sim position may help ...
Click to expand...
Click to collapse
i am jio user. i did everything. my sim volte works on another mobile but no in my mobile
No potential solution
Switched to a different after facing the issue and trying all workarounds with no success whatsoever
Boomshiva said:
Apn issues . So basically jio issues . Revert to default apn to fix it
Click to expand...
Click to collapse
welp sur why did you leave telegram ;--;. btw i fixed my memedo myself
MyNameIsRage said:
welp sur why did you leave telegram ;--;. btw i fixed my memedo myself
Click to expand...
Click to collapse
That's great . Now flash π .
With that i must ask you when BOOTLEGGERS PIE coming ?
Bcs xda is all about ETA you know xD