GSM location in CDMA build - Touch Cruise Android Development

Is it possible to use GSM (course) location with the CDMA builds. I'm using incubus26jc's froyo RLS 10 at the moment but can only get location based info with gps which only is possible outside or in the car.
Can the builds be patched to enable this or edited in some way?
Thanks
Dave

Related

[XiiaLive] 3.70.651.1 killed mp3 streaming over 3G, any solution?

After flashing latest 3.70.651.1 RUU the mp3 streams simply refuse to play over 3G (WiFi still works). XiiaLive says "connection dropped" right after buffering and other streaming apps experience similar symptoms as well. AAC/AAC+ streams still works though. Last time I experienced similar problem was when I accessed EPST through dialer and wiping/hard-resetting fixed the issue. This time hard resetting or anything else for that matter doesn't seem to work.
Anybody else experiencing same issue and hopefully found a solution?
Setup:
- ROM: Stock Sense
- Base: 3.70.651.1
- Radio: 2.15.00.11.19
- WiMax: 27167_R01
- Kernel: netarchy's v4.2.2 [cfs|less-havs]
- PRI: 1.90
- HBOOT: 2.10
source: link
update:
XiiaLive Team said:
TEMP WORKING FIX sent by Arturo!
1. Dial ##3282# "No need to press call"
2. Choose edit mode
3. Put in password "call sprint and ask for MSL code, or password for ##3282#, they will give it to you"
4. Choose Advanced
5. Change HTTP PD Proxy Port: 0
6. Change HTTP PD Proxy Address: 0.0.0.0
Click to expand...
Click to collapse
I would try to change the kernel
I am having the same problem even with the stock htc kernel #15
Quite annoyed not having anything to listen to today.
The only way I got it to work, is by using wifi, 3g and 4g don't work.
Sent from my PC36100 using XDA App
I'd like to know if HTC or Xiia are working on a fix for this.
Well sirius wasnt working for me and on Damageless 3.70 i can stream. Oh and XiiaLive works.
Damageless 3.70
Android 2.2
Baseband 2.15.00.11.19
Kernal version 2.6.32.17-gee557fd [email protected] #15
Build Damageless 3.70 by XxXViRuSXxX
Software 3.70.651.1
Browser version Webkit 3.1
PRI 1.90_003
PRL 60671
Nice! I am running HTC's 3.70.x and you're running Damageless 3.70.x and everything else we have same (xcept the kernel, but as someone mentioned above the problem is also present with HTC kernel #15) which leads me to believe that the problem lays not in the hboot, radio, kernel, etc but rather in the ROM build itself. Apparently XxXViRuSXxX did something right and MPEG streaming works without any problems.
Any other 3.70.x based ROMs out there that can play MP3 streams with no issues?
PS: as someone mentioned in that source link in the OP, "I have been in contact with HTC today and they are aware of the problem and are working on a fix"... good to hear!
Same issue here... im using Ava Z1 with Net 422 kernal
Sent from my HTC Evo
No problems
I just tried on 3G and have not problems listening to my favorites channels. Have the following:
Azrael X v3.0 12/20/2010 (3.70.651.1 OTA)
Android 2.2
Baseband 2.15.00.11.19
Kernal version [email protected] #15
Build 3.70.651.1 CL294884 release-keys
Software Azrael X v3.0 by Rick Simon
Browser version Webkit 3.1
PRI 1.90_003
PRL 60674
1) Dial ##3282#
2) Choose Edit Mode
3) Enter MSL
4) Choose Advanced
5) Change HTTP PD Proxy Port to: 0
6) Change HTTP PD Proxy Address to: 0.0.0.0
After doing the above Xiia is working again on 3G and 4G.
I'm using the latest Fresh Rom 3.5.0.1
PRI 1.90_003
PRL 60674
^ trying it now
Edit.... that **** worked perfectly!! Thanks man...
Im on Ava Zr1 with latest combo update from Calk
Sent from my HTC Evo
it works, kinda... after applying this temp fix my 3G speeds went down to 90Kbps (~10KBps)... did a nandroid restore and speeds are back to normal and XiiaLive back to broken
still waiting for a *real* fix
That sucks about your speeds. Mine still seem fine. I'm still showing 1.3 to 1.6 Mbps down on 3G with .6 to .8 up. On 4G I'm getting between 7 to 9 Mbps down and 1 Mbps up.
I found the info on another site and it worked for me so I figured I would share.
It's really just the HTTP PD Proxy Address. You can leave the port at 8085 but using the address pd.vog.sprintpcs.com (I think that's the default) cuts the connection off.
frifox said:
it works, kinda... after applying this temp fix my 3G speeds went down to 90Kbps (~10KBps)... did a nandroid restore and speeds are back to normal and XiiaLive back to broken
still waiting for a *real* fix
Click to expand...
Click to collapse
The proxy fix is the real fix I think. Consider the following. Chances are, the various speed test sites have been run by numerous users. These files now exist on the proxy server. So in essence, your speed test is really being performed by the content on the proxy server, not the actual speed test site itself.
Since the streaming content is dynamic, I doubt it can be cached - so your data is received off network. I think the losses occur because of the wireless nature of the connection and the numerous latencies involved when data is retrieve off network by way of the proxy vs getting it off network directly.

[Q] ##775# (pound pound 3-digit-number pound) does nothing

I'd like to update my PRL (assuming getprop has given me the MSL ...) but when I type "##775#" (or any other 3-digit-number) on the dial pad, absolutely nothing happens, and if I then ask the silly thing to actually dial it tries and my carrier tells me the number doesn't mean anything (no surprise).
What am I doing wrong? Not sure if this is the right place to ask such a dumb question but I can't find another. I'm running Cyanogen mod 7 on an HTC hero, should that be the problem ...
This is not the right forum. The correct forum is the CDMA Hero forums (if you're sprint) or the GSM Hero forums if you're UK.
Secondly, you can't update your PRL from an AOSP based ROM. You can only update it from a Sense ROM by Sprint (as of now, at least).
Nandroid, and if you're on a Sprint Hero, flash this ROM. Update the PRL and profile, and then restore your Nandroid from recovery.
AOSP dialers don't have ##XXX# codes programmed into them, only the HTC Sense 2.1 dialer for Sprint ROMs does this. Currently for the Hero, there's no other easier way to do this.

[Q] How to change or fix carrier name on AOSP based ROMs?

Hi all,
In all the AOSP based ROMs I've tried for the Sensation the carrier name has been incorrect. I'm using a carrier called giffgaff which uses the O2 network. It correctly displays giffgaff, instead of O2-UK, on sense ROMs and non smart phones. Is there a way to change it manually or fix the problem with reading it from the SIM? I've found lots of XDA threads on using apps or manually changing carrier name and they are either specific to a device or not supported for Jelly Bean.
I know AOKP has the ability but I'd like to be able to do it on other ROMs.
Thanks,

[CDMA/LTE][WIP][4.1.2] CDMA builds of Skrilax_CZ's CM10

Well guys, it's been fun. It's been a real pleasure developing for you all. I know my build was never very good, but i hope that those who used my builds were able to enjoy a peek at Cyanogenmod for CDMA. Now that arrrghhh, Skrilax, and the rest of the Razrqcom dev team have gotten the camcorder in 10.1 working, it looks like my build had become redundant. Thanks so much to everybody who used or tested my builds. Special thanks goes to Arrrghhh for being such a big help to me when i was struggling with things, and to Skrilax for letting me use his code as a base!
CDMA builds of CM10
I'll continue maintaining and improving this build, as CM10.1 still does not have a working camcorder.
These builds are based on the work of Skrilax_CZ with modifications to enable CDMA, eHRPD, and LTE on Sprint's network.
Buglist in Second post, Changelog in Third
Additional thanks to arrrghhh and cmattern, who are helping to improve these builds beyond my limited skills.
I am no dev, i'm just a tinkerer, i'm just hoping my tinkering can benefit others who are itching for a taste of CM on these great phones of ours.
ROM
Builds from source: (These builds are based on source from the razrqcom team)
5/28 build with changes to proprietaries
Just set subscription type to NV and toggle airplane mode
Old builds have been moved to third post.
Source
https://github.com/solitarywarrior1
Got my build environment up and running, future builds will be built from source.
Anyone is welcome to suggest changes to my github, i'm still just learning this stuff so any tips are appreciated!
Instructions:
TWRP is recommended when flashing this ROM. I've had reports of it not flashing properly in OpenRecovery.
Wipe cache/data (recommended)
Flash ROM
Flash GAPPS from Skrilax_CZ's Thread located here:Skrilax_CZ's GSM CM10 Build
open phone and enter *#*#4636#*#* and ensure that mode is set to CDMA/LTE auto (prl)
go to settings>wireless and networks>more>mobile networks and set network mode to LTE/CDMA/EvDo and set CDMA Subscription to NV.
you may need to toggle radio or mobile data on/off after the above step
Enjoy!
NOTE: This is still a work in progress and may cause damage to your phone, damage to your relationship, or global thermoneuclear war. None of which am I responsible for. You have been warned!!!!
Thanks to:
HUGE credit goes to Skrilax_CZ, nadlabak (kabaldan on XDA), and the razrqcom-dev-team for the GSM port of CM10 and getting CM10 working on our phones.
Epinter for the CM10 port upon which Skrillax's is based.
Arrrghhh and interloper for the work they've done with Skrilax to get CDMA working up to this point.
Nwo122383 for his original modded build.prop that got CDMA calls working, it inspired me to start blundering about with the config files and gave me a place to start from.
Credit also has to go to the awesome CyanogenMod team for their awesome roms. As well as the teams responsible for the CM10 roms on the Samsung Galaxy S3 (d2spr) and HTC EVO 4G LTE (jewel) from who's roms my modifications come.
Additionally, we should all take a moment to recognize how awesome all of the developers are who build software for all of these phones and make the android community what it is.
What Works
CDMA calls work fine
CDMA 1xRTT, EvDo, and eHRPD data work
LTE works (toggle airplane mode if it doesn't connect)
4G signal bars
GPS Locks within 1 minute of turning GPS on
What Doesn't
Needing to toggle the subscription and mode settings to get data to connect
Data doesn't seem to want to stay connected (may be fixed, additional testing required) as of 4/15 source build
Earpiece whines during calls
My phone number, MIN, and PRL version show "unknown" most of the time | this doesn't appear to effect the ability to make/receive calls or use data or SMS
MMS
SMS longer than the single message limit don't appear to send. (May be fixed as of 4/17, can someone please confirm?)
Changelog
5/2 New build, Phantom VM fix (Thanks Arrrghhh!), New ERI from Toroplus, build.prop tidying
4/22 Moved links to all but the latest build to third post, cleaned up OP to make it more readable
4/17 Added tweaks to hopefully improve GPS and MultiPart SMS
4/15 Additional tweaks to build.prop
4/14: Added source-built unofficial CM10 built from Skrilax_CZ's source with modifications to make it play nice with Sprint's CDMA network
Mods are as follows:
/system/framework/framework-res.apk/res/xml/apns.xml
and
/system/framework/framework-res.apk/res/xml/eri.xml
replaced with the Galaxy S3 CM10 stable versions
Build.prop modded with bits and peices from the Galaxy S3 CM10 and Stock ASA-14 ones Ver. 2 adds lines from HTC Jewel (EVO LTE) CM10 as well.
/system/etc/apns-conf.xml replaced with the S3 CM10 one
/system/app/stk.apk removed
Old Builds
Modified GSM builds: (These builds are based on the nightlies from Skrilax_CZ, with some modifications to enable CDMA/LTE)
CDMA Modded CM10 4.12 Nightly Ver. 2
Builds from source: (These builds are built from Skrilax's source with the CDMA mods baked in)
My first source-built version
*Note* GPS seems to work, though not well. This build also has no LTE or eHRPD, but EvDo seems to work more reliably than the modded builds. Next build should have working eHRPD/LTE
Source-built CM10 with eHRPD and LTE 4/15
*Added Bonus: 4G signal bars appear to display correctly as of 4/15 build as well*
4/17 build with SMS tweaks
5/2 build with phantom VM fix
GPS works, only needs some time to booted, also don't forget that nadlabak (kabaldan on XDA) is also author of the CM10 port.
Skrilax_CZ said:
GPS works, only needs some time to booted, also don't forget that nadlabak (kabaldan on XDA) is also author of the CM10 port.
Click to expand...
Click to collapse
Ahhh ok.
And thanks, I don't want to miss anyone who deserves credit for this!
No, you didn't get it. nadlabak is also porting the CM10 to Photon Q with me, only he joined later ( = got his Photon Q later). CM10 port for Photon Q is based on epinter's CM10 port for RAZR HD.
Skrilax_CZ said:
No, you didn't get it. nadlabak is also porting the CM10 to Photon Q with me, only he joined later ( = got his Photon Q later). CM10 port for Photon Q is based on epinter's CM10 port for RAZR HD.
Click to expand...
Click to collapse
Oy my bad. Sorry! I'll fix it presently.
Fixed
GPS doesn't work for me no matter how long I wait after boot. I also have the high pitched whine in the earpiece during phone calls which may be considered a bug. Do the GSM guys have that too?
Sent from my XT897 using Tapatalk 2
No, GSM works fine.
Skrilax_CZ said:
No, GSM works fine.
Click to expand...
Click to collapse
another issue for my to-do list i suppose,then.
For NV at boot,you need to edit using sqlite editor. Open data/data/com.android.providers.settings/databases/ using root explorer. Copy settings.db and paste it at the same dir and it will be renamed to settings.copy.db automatically. Open the copy and click secure. Notice number 13 which is preffered_cdma_subscription. Open it and change the value to 1. Remove settings.db and rename settings.copy.db to settings.db. Reboot your phone. I need someone who are using CM10 to try this method first. I'm on stock ASA14 now. This method used to work on my Droid 4 to enable CDMA ruim.
For NV at boot,you need to edit using sqlite editor. Open data/data/com.android.providers.settings/databases/ using root explorer. Copy settings.db and paste it at the same dir and it will be renamed to settings.copy.db automatically. Open the copy and click secure. Notice number 13 which is preffered_cdma_subscription. Open it and change the value to 1. Remove settings.db and rename settings.copy.db to settings.db. Reboot your phone. I need someone who are using CM10 to try this method first. I'm on stock ASA14 now. This method used to work on my Droid 4 to enable CDMA ruim.
Click to expand...
Click to collapse
Hmm. Thanks for the tip!
I'll see if I can't figure out how to include it in the next build.
Sent from my Photon Q
Still can't run from/install apps to the SD card? Is this a limitation in the moto design or something?
matt2k12 said:
Still can't run from/install apps to the SD card? Is this a limitation in the moto design or something?
Click to expand...
Click to collapse
Is this bug unique to my builds or is it present in stock and/or the othe CM10 builds?
solitarywarrior1 said:
matt2k12 said:
Still can't run from/install apps to the SD card? Is this a limitation in the moto design or something?
Click to expand...
Click to collapse
Is this bug unique to my builds or is it present in stock and/or the othe CM10 builds?
Click to expand...
Click to collapse
This "bug" is present in CM10 from Skrilax_CZ and nadlabak, so not referred to this modded build.
Don't know of the RAZR HD (from which CM10 is coming from), but I think that this should be easily be done.
On the other side, some (me too) have problems with corrupted SD-Cards (I need to mount my card a few times),
this could be a problem if this feature is used. But everyone should know that, so not a stop for this feature.
Loader009 said:
This "bug" is present in CM10 from Skrilax_CZ and nadlabak, so not referred to this modded build.
Don't know of the RAZR HD (from which CM10 is coming from), but I think that this should be easily be done.
On the other side, some (me too) have problems with corrupted SD-Cards (I need to mount my card a few times),
this could be a problem if this feature is used. But everyone should know that, so not a stop for this feature.
Click to expand...
Click to collapse
Thanks for the clarification.
I'm a total n00b at this point, so i won't be doing much of adding features. Mostly i'm trying to figure out a config that gets CDMA/LTE working properly.
Any requests for new features or fixes related to bugs that are common to both CM10 builds should probably be directed to Skrilax_CZ in the GSM thread, as everything I do is based on his builds currently, and he has the skills to fix them.
Firstly, nice work. I've been running this for about 24 hours without any major issues. Runs really smooth and I'm happy we have a CDMA version.
I have two quick questions though. Has anyone seen 4G or is this an issue yet? Normally at work I have 4G and I haven't picked it up yet today. Secondly, my fiance sent me an mms and it will not download on 3G. Is this a known issue. I didn't see either as "not working." Do my APNs need adjusted?
Thanks!
I can confirm 4G working in the latest source-built build. 3G is much more stable as well. Same as before some toggling is required, but less than originally.
toggle subscription and radio on/off or mobile data on/off until system>about phone>status shows your phone number correctly and you should be good to go. I'll upload some screenshots when i get out of class today.
I have yet to test MMS though
Sent from my TF300T on CM10.1
solitarywarrior1 said:
Thanks!
I can confirm 4G working in the latest source-built build. 3G is much more stable as well. Same as before some toggling is required, but less than originally.
toggle subscription and radio on/off or mobile data on/off until system>about phone>status shows your phone number correctly and you should be good to go. I'll upload some screenshots when i get out of class today.
I have yet to test MMS though
Sent from my TF300T on CM10.1
Click to expand...
Click to collapse
I will check out your new source build! Thanks for the quick reply. I will let you know what i find.
Edit: I am running your source build. I can confirm that 4G is working on it. Though my phone number is saying unknown. Regardless of the number of times I toggle it. I'm still able to place calls so I'm assuming all is good haha
Any updates on GPS on this ROM? Non-functional GPS is a deal breaker for me, even on CM.
Sent from my XT897 using xda app-developers app

[Q] AOSP build from SOURCE. Network Positioning don't work. NEED HELP.

Hi guys. Its like the 10th thread from me lately. Appreciate all the help getting from you.
I have compiled my first ROM and i had a lot of issues with it. And with your help a lot got fixed. The ROM works 99.9 %.
I only have one more problem with the ROM and its the NETWORK POSITIONING that seems to not working.
And i really need it because i use maps and weather app constantly. Without the NETWORK POSITIONING those apps don't work.
It just waits for gps all the time. I did compile CM11 and it works like a charm. But i dont want cm11
AOSP is more like my taste and i can add all the features i want without messing with CM11 pre compiled stuff.
So if someone could point me in the right direction would be very appreciated .
Cheers.
If the build compiled without errors I'd first look at your APNs. If your getting cell service that should be enough to get location as well. Just some thoughts.
theesotericone said:
If the build compiled without errors I'd first look at your APNs. If your getting cell service that should be enough to get location as well. Just some thoughts.
Click to expand...
Click to collapse
My apns is correct and yes i have cell service of course
AOSP Build That Works With GPS
bariz143 said:
My apns is correct and yes i have cell service of course
Click to expand...
Click to collapse
http://forum.xda-developers.com/google-nexus-5/general/guide-how-to-build-aosp-source-linux-t2703036
This is my guide for the latest build of AOSP (KVT49L) with several bug fixes over the old 4.4.2 build. I just used 'GPS Test And Fix' app from the Play Store and the GPS finds 20 satellites and works in Google Maps. I did use the 'Reset GPS' and 'Download Xtra Data' options in the app and then GPS worked fine.
Hope that helps.
P.S. Often I have trouble when indoors with my Nexus 5 finding satellites so you might want to go outside and test see if the GPS works there.
KedarWolf said:
http://forum.xda-developers.com/google-nexus-5/general/guide-how-to-build-aosp-source-linux-t2703036
This is my guide for the latest build of AOSP (KVT49L) with several bug fixes over the old 4.4.2 build. I just used 'GPS Test And Fix' app from the Play Store and the GPS finds 20 satellites and works in Google Maps. I did use the 'Reset GPS' and 'Download Xtra Data' options in the app and then GPS worked fine.
Hope that helps.
P.S. Often I have trouble when indoors with my Nexus 5 finding satellites so you might want to go outside and test see if the GPS works there.
Click to expand...
Click to collapse
HI man. Yeah its your tutorial that I am using. I don't have gps issues I'm having network positioning issues. Now I am on stock ROM and when I open let's say Google Maps it knows where I am instantly. But when I use my OWN compiled ROM it just shows the country and not Street. I don't know how to explain but I hope you get it.
I am experiencing exactly the same problem with a fresh, clean, by-the-book, build of AOSP 4.4.2. I am on a Nexus 4 though.
GPS works perfectly, but Network Positioning (GPS disabled, or GPS enabled but indoors) doesn't. I have been trying to fix this issue for the past few days now, but have made no progress. Using either the 4.4.2 stock ROM or CM11, both GPS and Network Positioning work.
I am suspecting that the binary blobs are missing a file that is needed for network positioning to work, but I haven't been able to figure out which one.
Yes and because of that I stopped development. I don't get it. I did as you said exactly by the book. I tried everything for a few days and then deleted everything. How did it go for you @xdajeyk?
So, your problem reminded me of something i ran into a few years ago. I haven't build my own rom in a while, so i'm not sure sure whether this helps, but maybe it does:
Search for the lines in frameworks/base/core/res/res/values/config.xml that say:
Code:
<string-array name="config_locationProviderPackageNames" translatable="false">
<!-- The standard AOSP fused location provider -->
<item>com.android.location.fused</item>
</string-array>
And change this into:
Code:
<string-array name="config_locationProviderPackageNames" translatable="false">
<!-- The Google provider -->
<item>com.google.android.gms</item>
<!-- The standard AOSP fused location provider -->
<item>com.android.location.fused</item>
</string-array>
That may fix your problem, it did for me a while ago. Good luck building!
@mbroeders Thanks, that does indeed fix the problem. Actually, I found that solution a few hours ago by browsing around in the device tree sample inside the sources. The sample files contain an overlay file that does exactly the same. To keep in line with the sample, I also made the change inside the device tree at
Code:
device/lge/mako/overlay/frameworks/base/core/res/res/values/config.xml
. Or, @bariz143, for the Nexus 5 that file should be
Code:
device/lge/hammerhead/overlay/frameworks/base/core/res/res/values/config.xml
.
I did not, however, find a detailed explanation of what is actually going on here and why it doesn't work out of the box, so I tried to figure it out myself, mainly from the comments in that sample file and some googling around. I am recording my findings here because I believe it will help other Android n00bs like myself.
Apparently, the network location provider is not part of AOSP, but instead is distributed together with the Google Apps. To get network location to work, you need to tell the framework that it is OK to use location providers provided by Google. It does not do that by default, because they (obviously!) are signed with a different key than the one used to sign the AOSP you just built. So, by adding
Code:
<item>com.google.android.gms</item>
into config.xml, you are telling the framework that it's OK to use location providers that are signed with the same key as the APK that provides the
Code:
com.google.android.gms
app, which apparently is the app that contains the network location provider.
I am going to try this for sure. Hope it workes for me to. Thank you guys.

Categories

Resources