Zooper variables NCSIG & NCSIGN don't work properly - Zooper Widget General

Since I am on LTE, those variables stopped working. NCSIG gives an errror code (99) and NCSIGN always 85. Aren't those variables valid for LTE? Or do I need to use other variables? I'm using those values as a progress bar indicating my signal strength.
Never mind... already are multiple threads about this, please delete this one (since I have no clue how to do that)

Related

LG KS20 & CellIDs

I've been trying for quite a long time to make my LG KS20 show me the CellID of the tower it is currently connected to. There are so many applications around the net that claim to do that, but unfortunately all of them just return 0 as current CID. I tried making my own application using the RIL's RIL_GetCellTowerInfo but I also always get 0. I tried signing my app with a temporary certificate, and adding that certificate to the phone but I still get 0. I tried different mobile operators and the result is always the same... And yet, Google Maps can identify my location without a problem so it is doable! Does anybody have any idea how to do that? Please, help, I'm getting very desperate here
I tried to get the cellId for a long time, but I think that's there's something blocking it in the RIL, that's why we always get 0 from RIL_GetCellTowerInfo.
As for GMaps, it never found my position automatically using celltowerid. Are you sure your position detection is not based on ip address ?
If I remember well, there are multiple ways to get celltowerid : 2 of these ways are rilnotifycallback and rilresultcallback.
I found a software( can't remember its name sorry, but if you're trying to get cellid I bet you know it) that could test each mode (perhaps 5/6 different methods) to try to get cellId. I remember that the 2nd one (was it result or the notify callback?) kind of worked. You have to :
- launch the (notify or callback) test mode -> return value is 0 .
- Then disable phone driver (easiest way is to go to airplane mode), -> the cellId, displays erratic values (000000 or fffff or whatever there is in memory at this place)
- Then enable phone driver (by going back to normal mode) -> the cellId display is right for a few seconds (it matched the values returned by another phone I had) but isn't updated after that.
Don't know if it helps you, but that's as far as I went concerning cellid.
Thanks for the info. Well, I tried manually writing C# code for RIL. Of course GetCellTowerInfo didn't work so I tried with DevSpecific. I bruteforced all the possible commands of the type {i, 0, 0, 0} but none of them seemed to work. Almost all of them gave an error "not implemented" or a basic error. Only {16, 0, 0, 0} returns an array of 20 bytes, but no combination of those gives the LAC (which I have via MiCard) so there's no CellID as well (as far as I know it would usually return the LAC combined with CellID). So it's a dead-end. The only thing I could not get up and running was querying the GSM modem directly through a COM port. I found that the RIL COM port should be 1, but no matter which command I send it remains silent. I disabled all the security in my device (it was in tier one mode before that) and signed all my applications with a personal certificate, which I added to the trusted certificates on my KS20. That didn't help as well. I think it's simply not implemented in the firmware of the radio.
And about Google Maps, well I found out that I actually used it via WiFi when I tried. Firstly I thoght it got the CellID because my laptop was running on the same WiFi, but "My Location" via maps.google.com just showed an error, while it was correct on my cell phone, but when I tried it elswhere and via 3G today, it showed me an error "Your location is not available now".
To wrap it up, as Google haven't come up with idea how to get CellID, probably I won't be able as well. But the topic still remains open (and if I come across new ideas, I'll definately try them). So if somebody has any other idea, I would really appreciate if he would share it.
i develop a geo location application my windows mobile phone is htc fuze with windows mobile 6.5
I want only to show me, Longitude and Latitude but i can't
I build this kowor.com/version/Kataskopos.apk
this link contain tha source but maybe it's not correct
Does anyone have any idea ?
I coulndn't succeed in getting the Cell ID to LG KS20 so I migrated to Android.
Anyway, to show the longitude and latitude you need GPS. If you don't have one, you could use Cell ID but it will give you a big error (typically around 1.5 km) and you still need to send the Cell ID to a database online which will convert it to geo coordinates (databases like Open Cell ID).
Good luck!

Terminal command to switch 3g on and off?

While waiting for cyanogenmod and the toggle 2g app to land from the heavens, I had this idea. So is there a command to switch the 3g to 2g and backwards?
Using this command with locale and the terminal plug-in could be handy. I just don't have the linux knowledge, so that's why I'm asking here
Sent from my GT-I9000 using Tapatalk
Could it be as simple as echo-ing a value to something in /sys or /proc? I poked around for a minute in those dirs but didn't see anything obvious.
just use switcherpro widget great app and can turn on/off 3g
I thought it would be easy, since it's just probably one value to change somewhere, but as said I'm pretty much lost with this one
All of the widgets are just shortcuts to the settings. And that's exactly why I asked if anyone knows if this is possible, I don't like it that I have to click 5 times to switch the network (have to open the lockscreen also). I just want it to be automatic, so that it would switch to 2g at nights and when I'm at home where I use my computer to surf net. Also did you really think I wasn't aware of the widgets? If not, that wasn't that much of a contribution.
If it really is as easy as just echoing a value like so many other things are, you could do a listing of all files in the suspect dirs, then make the change manually, and then compare what files have changed. That might narrow down the search. There's probably some nifty grep or other linux command to make that easy, but I'm not real sharp at that.
I tried running logcat on the phone while switching network settings and while the log reflected my actions somewhat, it wasn't helpful in identifying what really happened.
TheMasterBaron just posted a non-signed version of the toggle 2g/3g app here http://forum.xda-developers.com/showthread.php?t=739530&page=15 I tried to sign it with the "auto-sign" folder, but it won't install. (For the record, I have signed apps from update.zips succesfully before with it). Anybody know how to make it compatible, since he (TMB) says it's down to the signign http://forum.xda-developers.com/showpost.php?p=8073786&postcount=149

[Alpha 0.2 Released!] Facebook Location - Update Facebook status with your location!

First I want to say a huge thanks to 'Avalon-99' and 'deedee' for testing my previous builds
Its Here!!
Well after some awesome testing over the past few days. Its came to the time to release the first actual release of FBLoc!!
What is FBLoc?
FBLoc is a small app that allows you to update your Facebook status with your current location, Either by CellID or more accurate GPS!
CellID: Gets your status based on the Cell Tower you are currently connected to, then querying its location and some info from your phone reverse-geolocate the co-ordinates returned by the program to an approximate address...
GPS: The same as CellID but instead of using the co-ordinates from a Cell Tower it uses the GPS co-ordinates and then returns the address at that location...
Download it now!!
Thanks,
-David
Copyright © 2011 David Bell / DavidTiger All Rights Reserved.
All Source Code, Compiled exe and DLL files are the copyrighted works of David Bell/DavidTiger.
You may use/redistribute any included samples or files, leaving credits where due.
You also may NOT attempt to dissasemble or reverse engineer any compiled distributables (exe/dll).
You will need to manually authorize my facebook app with your facebook account (to allow status updates from the mobile app)
1) Login to Facebook.
2) Click this link - CLICK ME!
3) Allow the facebook app
4) Click where it says "Click Here to get your access_token!"
5) Copy the access token without "access_token="
6) Create a text file called "key" should be of type .txt
6.1) in the txt file place your access token you copied
7) Copy the txt file into the FBLoc folder in program files on your phone
8) Run the app
9) Enjoy
10) Report any errors that you face!
Cheers, Dave
Sort of works for me.
Location is technically close enough, see screen cap, "A" is the found location, red circle actual. Program says "County Londonderry, BT52 2HU" which is wrong.
Not a biggie for postcode but location should be Coleraine.
I think it depends on how close the Cell Towers are to you at the time. And how accurate the database I'm currently querying is...
I'm adding some debug options, so when I'm out next week to my familys 100 miles away I can test its accuracy along the way
For me on the map its about the still some distance from my actual location..but I'm still getting the correct town and start of postcode (KA18 1)
(see my attached image)
EDIT: I have noticed (for me) that removing some points after the decimal on the co-ordinates gets it a lot more accurate!
See the 1st attached image for these coords: 55.4550,-4.2679
But then look at the 2nd image for these coords: 55.45,-4.26
Using only 2 places after the decimal brings my location to just a few hundred metres from my precise location
3rd Image: Shows latest build, showing approx street name and county, Which for only using CellID and no GPS what so ever then I think its pretty accurate...
I have attached to this post the latest build for anyone who can test it with the new coords settings, see how accurate it is for them!
Thanks, Dave
Hi, I tested it in Germany on my HD2.
I could find my Location. I'm living on the country and it found a Location 5 km from me.
I Click on Update Status and got the message Status Updated.
But on Facebook, nothing happend.
Location much better, now gives town correctly.
For some weird reason, and I am assuming its pure CellID swithcing if I move the phone 2" across the room, the address returned changes from no 2 to no 77.
Not updating my FB though.
Yea same for me, I'm sitting 3ft from a window and if the phone is on my left (close to the window) its one location.. if its on my right then it changes location by a few hundred metres...
@avalon: I'm not sure how good this may be outside the UK/Ireland...
For the facebook problem:
See my attached images of the steps I take to get the access_token
1) Allow the facebook app to access your data etc..
2) Click to continue to ur token
3) Your token
4) Then (for now) you have to manually create a text file called settings with your access code in there..
(ahh wait, just noticed!)
You only copy the actual code, leaving out "access_token="
so for me my code starts with "1943" because "access_token=1943"
Hope that fixes the facebook updating problem
I deleted access_token= and now it works fine
It works in Germany, but I live on the country and the cells are very large.
So it couldn't be very exact.
Sent using RapidRead!
Quick update & Test build!
Now includes GPS for those who want a more accurate location!
Let me know what you all think of the current progress...
Any ideas/suggestions post them up and I'll be happy to implement them..
Still to come:
Internal Authorization for Facebook (75% Done)
Ideas/Suggestions:
(Show location on google maps, via internal browser)
Cheers, Dave
Use CellID works good.
On Use GPS, I got after a while the message "An Error Has Occured".
I don't know, which error, maybe I have no GPS Fix?
Could you inlarge the buttons "Use GPS" and "Use CellID"
Hey, I have resized the buttons
Change Log (FBLoc4.rar):
Added Satellite info - see how many satellites are in view and how many are locked-on
Changed all error messages to slightly more meaningful errors, So you know what part is having an error.
Preview Images:
003: Shows my Cell ID Location.
004: Shows my GPS Location.
If you show both results on google maps, it shows you CellID can be pretty accurate
Click for >> Google Map Showing Both Points
Red = CellID
Blue = GPS
Let me know how this one works for you
-Dave
I have Satellite Count 7/8
LAT=50,27039801
I couldn't see LON, it's to wide.
Error message: " Error Getting GPS Location"
With CELLID, I found my Location.
Okay thanks, I know where the error is coming from. Just hard to say why its doing it.
You are getting a gps fix so its not a coordinate problem :/
I'll add add a few debug messages to find the exact line/position it errors.
Try this version...
I added some messagebox's so I can pinpoint where the error occurs... As its working for me I can't replicate the problem...
(Just a thought.. Are you connected to the internet, WiFi or 3G,GPRS etc??)
You need the internet connected to be able to convert the coordinates into a location
If your are connected then the error comes from somewhere else...
Hi,
i have an internet connection.
Here are my last messages:
- Waiting for Response
- Got Reponse
- Splitting Location Array
- Putting Array into variables
- Error Getting GPS Location
Doing some UK travelling later this week, I will try and run screen caps to check the CellID and GPS locations, see how close they are.
Ahh thanks, I now know where the error is coming from.. Now I just need to fix it
Try this ver, added more messages around the area where the error occurs.
Working messages should be:
"DEBUG: Var 1"
"DEBUG: Var 2"
"DEBUG: Var 3"
then 3 msgbox with the 3 location variables
And if all goes well then should say: "DEBUG: Return Found Location"
-----
Thanks, deedee
I'll be doing the same this weekend on a trip to my family.. a good 100 miles or so, and then a few trips to town aswell.. which is another 10-20 miles.
I'll have a good idea of accuracy hopefully by then end of it. Just now at my house the difference between GPS and CellID is about 410 ft apart
Hi,
the messages:
-DEBUG: Var 1
-DEBUG: Var 2
-DEBUG: Var 3
-DEBUG: 0
-DEBUG: 0
-Error Getting GPS Location
-DEBUG: finish
Okay, The problem lies in the splitting of the list it receives after getting the location..
WAIT lol.. I just remembered from previous apps I've made and then confirmed it..
Because your coordinates the separator is , instead of the expected decimal .
Which then is causing the error
Simple fix: Just check if the coords have , then replace it with . then it should be fixed!
EDIT: Test the attached build, please
Yes, you find it, my separator is ","
You are to fast, will test it
It works quick and fine.
Now I got "Error Update Status" on Facebook, if I tap on "Update Status"

[Q] Wrong area code?

My phone is an Epic 4G running a very mildly modified CM10. Basically the modifications are just a flashed script removing a bunch of unneeded stuff after every nightly flash. (wallpapers, ringtones, a few default apps, etc) Nothing that touches the actual system/settings.
A couple weeks ago I noticed that if I dialed a local number without the area code it was adding (617) as the area code. Same thing happens if I pick a contact from my phone that happens to not have an area code. My area code is 317, so it adding 617 has me calling totally wrong numbers. Before, IIRC it added (317) correctly instead. I've had this phone since launch and this is a recent issue.
As I said, this has been happening for a few weeks now. Multiple reboots and nightly flashes later and the problem persists.
After searching for a solution, I've seen a few mentions of somewhat similar issues as possibly being 'network issues.' My girlfriend's phone does not have this problem. Same network, different phone and stock 2.3.6. I would suspect true network issues would also affect her phone.
I searched through the phone settings and did not notice a place to change the default area code. I think I remember having that option in the stock rom though.
What do I need to do to fix this?
Honestly, when I add a new contact, I put in the area code anyway. Try adding the correct area codes to the contacts that don't have one in your phone.
Sent from my SPH-D700 using Tapatalk 2
jeffreyjicha said:
Honestly, when I add a new contact, I put in the area code anyway. Try adding the correct area codes to the contacts that don't have one in your phone.
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
That isn't a fix, its a work around.
Most of my contacts do have area codes already. I dont have a crap ton of contacts, but it would still be inconvenient to check/fix them all.
What made me notice was needing to manually dial a number not in my contacts that I will likely only ever call once. I had several in a couple day period and I called Massachusetts a few times on accident forgetting about this new problem.
Would also be a pain to remind people that they need to dial the local area code for times when I lend someone my phone to make a quick call. (very rare for me, but does happen)
Okay, I only said what I said because I lived in a state that no matter what number you were calling, whether it was local or long distance you needed to dial the area code.
Sent from my SPH-D700 using Tapatalk 2
jeffreyjicha said:
Okay, I only said what I said because I lived in a state that no matter what number you were calling, whether it was local or long distance you needed to dial the area code.
Sent from my SPH-D700 using Tapatalk 2
Click to expand...
Click to collapse
Understandable. I know some cities and states are so saturated that people in the same city could have different area codes.
My area code covers 1/3 of the state. You have to go ~50miles north or south to get to a different area code. Typically, you only run into someone in the city with a different area code if they are from out of town. Occasionally people do move and never get their cell number changed. But they are the exceptions, not the rule.
thedumbass said:
My phone is an Epic 4G running a very mildly modified CM10. Basically the modifications are just a flashed script removing a bunch of unneeded stuff after every nightly flash. (wallpapers, ringtones, a few default apps, etc) Nothing that touches the actual system/settings.
A couple weeks ago I noticed that if I dialed a local number without the area code it was adding (617) as the area code. Same thing happens if I pick a contact from my phone that happens to not have an area code. My area code is 317, so it adding 617 has me calling totally wrong numbers. Before, IIRC it added (317) correctly instead. I've had this phone since launch and this is a recent issue.
As I said, this has been happening for a few weeks now. Multiple reboots and nightly flashes later and the problem persists.
After searching for a solution, I've seen a few mentions of somewhat similar issues as possibly being 'network issues.' My girlfriend's phone does not have this problem. Same network, different phone and stock 2.3.6. I would suspect true network issues would also affect her phone.
I searched through the phone settings and did not notice a place to change the default area code. I think I remember having that option in the stock rom though.
What do I need to do to fix this?
Click to expand...
Click to collapse
Network issues should affect her phone too so my guess would be its a bug in the recent nightly's. Try flashing back to the most recent nightly that you recall it working correctly on and see if the problem persists.
This thread seems to have a possible cause/solution...
http://forum.xda-developers.com/showthread.php?t=1227736
steeler350 said:
found the fix for it if anyone else is having the same problem
Is your phone suddenly defaulting to area code 617 when you only dial 7 digits? This is the fix. (self.Android)
submitted 3 months ago by reddit_account_42
For at least a few weeks now, my phone has been defaulting to area code 617. I assumed I probably broke it trying out some Cyanogenod nighties with the race up to 6.1, and didn't think too much of it. Now that i'm dealing with some new phone numbers, defaulting to 617 instead of my correct area code has been somewhat of a pain. Google didn't help, but it revealed a number of users with the same problems:
I then was lucky enough to find this code snippet with the constant private static final String AREACODE = "617". Looking at the name seems to indicate that it's for testing an intent, and has a bit of additional functionality I hadn't noticed:
* Make default area code 617
* Replace 411 with 1-800-GOOG-411
* Disable calling 555-5555 (Try it, dialer just closes. As the code says, "Note that no UI is displayed to the user -- the call simply does not happen.")
Realizing now that the issue is with the Dialer app, I'd figured I'd just have to find an apk of that somewhere. Instead, I realized I had downloaded Autostarts which lets you review intent handlers. Indeed, if you run Autostarts, you can see that under 'New Outgoing Call' there is an entry by Dialer. Clicking on that and you can see that the intent is handled by com.android.phone.ProcessOutgoingCallTest, which is exactly the code I found above. From here, you can just choose 'Disable' and autostarts will remove the intent, and you'll have your 7 digit phone numbers back without the 617 area code.
Note that I had to restart the Dialer for this change to work (or, rather, it crashed out from under me when I changed it). Though, there are no ill effects.
I can only assume a build of Cyanogenmod had this test facility enabled, and when I didnt' wipe during a ROM upgrade this persisted.
tl;dr: Use Autostarts and remove the Dialer entry from 'New Outgoing Call'
Click to expand...
Click to collapse
Found a thread on Droidforums that suggest hex editing the phone.odex to remove the default 617 area code. That thread says it actually breaks the phone to fix it though. So you do a complete CWM backup, mod the odex, break the phone's calling ability, replace the modded odex with the original, reboot, still broken, then restore the CWM backup and suddenly the 617 default is gone.
Figured I should check back to verify the above quoted fix worked. Still don't consider it a true fix myself since it requires a 3rd party app.
Still don't have a clue why this issue suddenly started up either. Had my phone since launch and have been running custom roms for a year or so and this issue didn't pop up until a few weeks before my first post.
Sent from my GT-P3113 using Tapatalk 2

[Q] Gnex port to page plus - looking for help on getting data to work

Hi everyone,
Thank you for the great info on getting the galaxy nexus over to page plus.
I've followed dragonhart's youtube video, a blog post based on that
http://innominatethoughts.com/technology/guide-galaxy-nexus-on-pageplus/#comment-180
and gone through some of the original threads referenced in the discussions
http://forum.xda-developers.com/showthread.php?t=1696621
http://forum.xda-developers.com/showpost.php?p=43697770&postcount=936&nocache=1&z=3537060567177832
I probably hit half of the snags mentioned in those articles but have overcome most so far. The one i'm stumped on is the ETS script to program the via chipset.
When running the script after putting in the appropriate values, I get the following error:
Code:
ETS, Id=CP Fault, Unit=HLW... Code 1=HLP_ERR_ACTIVE_PARM_PROFILE_ID, Code 2=0x00000001, Fault Type=Continue
Stepping through the code, this occurs on the line (approx) 106, where the active profile id is set:
Code:
ETS, Id=CP Active Profile ID Set, ParmOperationId=Profile Id of Active Profile Set, opType=Parm Custom Value, ActiveProfile=0
The script finishes, installing back to VZW Toro rom and placing simcard results in talk and text but no data.
If I change the ActiveProfile to 1 instead of 0, the script finishes with no errors but installing VZW Toro rom + sim card still results in talk and text but no data.
I also tried modifying the line below to set the number of profiles set parameter to 2 instead of 1 (I just took a wild guess that since I was using profile id 1, I needed to change it). It had no effect.
Next, i thought maybe my sim card was bad so I ordered a new one. Still no go.
I've reinstalled the via drivers and ets multiple times and gone through the process multiple times after restoring factory settings with *#*#786#*#* each time.
SID, IMEI, MIN, MDN are all verified and correct.
Does anyone have any good suggestions on what I am doing wrong?
Thanks a ton for all the helpful posts on the forums so far. I've been learning alot.
data was working for a little while
Actually as I think of it now, I remember that data was indeed working for a day or two.
However, i was using my verizon sim card from my previous verizon account (where I migrated from to pageplus).
I know this b/c I see that 10mb was used so data was working.
Then suddenly 3G stopped working. I'm guessing they disabled my verizon subscription and my account as well.
However, I've gotten a new sim card and it still doesn't work. Do you think they've essentially somehow 'banned' my phone?

Categories

Resources