if you have good know about hex
you can edit any file
just be careful when replace letter by letter with it eq hex
trust me we are so close to slove that echo ,just by pass 602 MCC/MNC
it work with me for awhile but i am fried maybe i am wrong and it come from 3g not gps
thats why i am asking any one outside egypt to get me the output
yup in 2.1 vodafone phone
I have iphone 3G VF locked with a working GPS using universal-sim and here you are the output of the code the you required. I wish I could get rid of the uni-sim its battery eater and signal too:
code:
Also note I have an error message say "failed with return code 0...."249590940.300,int main(int, const char**): starting CLDaemonCore (./locationd @ iPhone OS2.1/5F136)...
249590940.384,CLLocationCore::CLLocationCore(CLLoc ationCore::Listener*): running on AppleBasebandN82
249590940.422,time_t ltoGetTrustedUnixTime(): no reference time available - using system time
2008-11-28 20:49:00.476 locationd[215:10b] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x5103, name = 'com.apple.locationd.registration'
See /usr/include/servers/bootstrap_defs.h for the error codes.
249590940.495,bool CLDaemonCore::start(): could not create client registration port
249590940.495,bool CLDaemonCore::start(): daemon initialization failed
249590940.673,int main(int, const char**): CLDaemonCore stopped.
249590940.676,void CLTelephonyService::removeClient(int): client 2 does not exist
Good luck
Just one more hint, or better way to gain ideas.
I do have GPS, running 3g int. unlocked 3G iphone.
in
/System/Library/LaunchDaemons/com.apple.locationd.plist
there is a setting commented out that was made to write a logifile to /tmp
i have been switching this one on (just delete first and last line, marked blue)
restarted the iPhone and used map app to start the location service. Here is the logtext from /tmp/locationd.log - I used locate in mapsCode:<!-- don't log anything <key>StandardOutPath</key> <string>/tmp/locationd.log</string> <key>StandardErrorPath</key> <string>/tmp/locationd.log</string> -->
Code:249585986.891,int main(int, const char**): starting CLDaemonCore (/usr/libexec/locationd @ iPhone OS2.2/5G77)... 249585987.146,CLLocationCore::CLLocationCore(CLLocationCore::Listener*): running on AppleBasebandN82 249585987.259,time_t ltoGetTrustedUnixTime(): no reference time available - using system time 249585987.390,bool CLLocationCore::startLocation(double): starting location (accuracy -1.00) 249585987.398,bool CLDaemonNmeaModel::startFix(): selected pos tech is 0xffb5, skipping NMEA model 249585987.420,ModemListener::AidingState CLDaemonLtoModel::feedReferenceTime(bool): no reference time available - using system time 249585987.42 249585987.427,time_t ltoGetTrustedUnixTime(): no reference time available - using system time 249585987.429,time_t ltoGetTrustedUnixTime(): no reference time available - using system time 249585987.560,ModemListener::AidingState CLDaemonLtoModel::feedLto(bool): LTO created 30923.56 secs ago, assuming trustworthy
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
iPad 2
I have a legally unlocked one too am tryin to play with these codes i FAILED! Can u plz simplify wut u said and what info does this tell us. And how do you see our chance in getting the GPS working again??! Man i really appreciate ur help
Last edited by 3DAWY; 11-28-2008 at 11:17 PM.
I am still on a tight schedule, I just want to find out some iPhone behavior. Here I have, working GPS.
There is a plist called com.apple.locationd.plist in
/System/Library/LaunchDaemons/
it looks like:
Code:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd > <plist version="1.0"> <dict> <key>Label</key> <string>com.apple.locationd</string> <!-- run as root to access dev nodes <key>UserName</key> <string>mobile</string> --> <key>MachServices</key> <dict> <key>com.apple.locationd.registration</key> <true/> </dict> <key>OnDemand</key> <true/> <key>ProgramArguments</key> <array> <string>/usr/libexec/locationd</string> </array> <!-- don't log anything <key>StandardOutPath</key> <string>/tmp/locationd.log</string> <key>StandardErrorPath</key> <string>/tmp/locationd.log</string> --> <!-- start every 1 day to refresh --> <key>StartInterval</key> <integer>86400</integer> </dict> </plist>
If you delete the lines marked in blue, save, restart the iPhone and start a programm that uses location service like maps, a logfile will be written into the directory
/tmp
called locationd.log
The output would be interesting to read from a user without GPS woking.
Deleting the two lines just un-comments the command to wrtite a log file. After testing the can be written back. i have posted the output of my working GPS location service in my last post.
hope this helps. Once I got more spare time I will look into the issue a bit more...
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
iPad 2
Here is a dump from my locationd.log (GPS not working in Egypt)
I have a USA iPhone using a yessim in egypt. I have a Egypt Vodaphone SIM. I am on vacation here and noticed the GPS was not working for both a regular AT&T USA sim and with a YesSIM + Egyptian pre-paid Vodaphone SIM.
SNIP in blue is the log for the GPS block
FYI I unlocked the data on a prepaid Egypt Vodaphone by adding the APN by hand.
APN: internet.vodafon.net
User: internet
Pwd: internet
249639624.642,int main(int, const char**): starting CLDaemonCore (/usr/libexec/locationd @ iPhone OS2.1/5F136)...
249639624.821,CLLocationCore::CLLocationCore(CLLoc ationCore::Listener*): running on AppleBasebandN82
249639624.927,time_t ltoGetTrustedUnixTime(): no reference time available - using system time
249639625.038,bool CLDaemonModemModel::isGpsProhibitedByNetwork(): serving country 602 prohibits GPS
249639625.098,bool CLLocationCore::startLocation(double): starting location (accuracy -1.00)
249639625.144,bool CLDaemonNmeaModel::startFix(): selected pos tech is 0xffb5, skipping NMEA model
249639625.204,bool CLDaemonModemModel::isGpsProhibitedByNetwork(): serving country 602 prohibits GPS
249639625.204,static void CLDaemonModemModel::handleTelephonyNotification(in t, const __CFString*, const __CFDictionary*, void*): Prohibited status: true
249639625.206,bool CLDaemonCellLocationModel::getServingCell(): could not retrieve current serving cell info
249639625.208,bool CLTelephonyService::getCells(std::vector<CTCellMon itorCellInfoType, std::allocator<CTCellMonitorCellInfoType> >&): received invalid cell mcc -01 mnc -01 lac 0xffffffff ci 0xffffffff
249639630.809,static void CLDaemonSkyhookLocationModel:nLocationTimer(__CFRunLoopTimer*, void*): WPS_location returned error (6 - A location couldn't be determined.)CLDaemonSkyhookLocationModel:
nLocationTimer(__CFRunLoopTimer*, void*): WPS_location returned error (6 - A location couldn't be determined.)
249639677.517,bool CLLocationCore::stopLocation(CLLocationCore::Locat ionState): stopping location for target state 3
249639681.227,bool CLLocationCore::startLocation(double): starting location (accuracy -1.00)
249639681.232,bool CLDaemonNmeaModel::startFix(): selected pos tech is 0xffb5, skipping NMEA model
249639681.310,bool CLDaemonCellLocationModel::getServingCell(): could not retrieve current serving cell info
249639681.317,bool CLTelephonyService::getCells(std::vector<CTCellMon itorCellInfoType, std::allocator<CTCellMonitorCellInfoType> >&): received invalid cell mcc -01 mnc -01 lac 0xffffffff ci 0xffffffff
249639686.293,static void CLDaemonSkyhookLocationModel:nLocationTimer(__CFRunLoopTimer*, void*): WPS_location returned error (6 - A location couldn't be determined.)
249639696.992,static void CLDaemonSkyhookLocationModel:nLocationTimer(__CFRunLoopTimer*, void*): WPS_location returned error (6 - A location couldn't be determined.)
249640258.480,bool CLLocationCore::stopLocation(CLLocationCore::Locat ionState): stopping location for target state 3
249640261.535,int main(int, const char**): CLDaemonCore stopped.
249640261.547,void CLTelephonyService::removeClient(int): client 2 does not exist
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
iPad 2
Bookmarks