yashsingh1/xdaforums huggingface dataset:
[Galaxy 3 Android Development] abhi0n0nakul:
gps.............quick fix... no wifi, no 3g no data conn. required..

first of all, this does'nt requires wifi or any data connection...

be offline..........

1. start gps.

2. start "gps booster lite" app

3. start "gps test" app, wait as the satellites get locked and the accuracy comes,

its 0 initially . and as it changes from 0 means lock is done.......

4. now open "navdroyd" app

and in 2 seconds you would get your location.....

and no need of net as navdroyd downloads map initially so these are offline maps... and also start navigation.....

it would calculate the root and guide you.........

hope thsi helps........
[Galaxy 3 Android Development] pp63.1:
Well, I don't know... However, it 's unlikely you will get a wifi network outdoors ;-)
[Galaxy 3 Android Development] pp63.1:
Wrong, Assisted-GPS do require network assistance to get the fix quickly. That's the purpose of the supl.google.com server (you can see GPS hidden settings by dialing *#*#1472365#*#*). This is this settings (SUPL/CP setting) that is overridden by Octy's app. If the GPS was able to get the fix by itself, it will be called "GPS" not "A(ssisted)-GPS".
[Galaxy 3 Android Development] abhi0n0nakul:
gps

yes agps does.................

but i did it without wifi or data conn. as i had zero balance so no chance of data...........

gps doesnt require net, nor does these navdroyd app...........
[Galaxy 3 Android Development] Pastorelli:
My battery suddenly discharges very fast when it is low as beyond 50 %,

i believe the reason for this is the phone's internal battery meter calculates this percentage value in relation to the actual battery output voltage assuming this curve is linear which is wrong.

From 4200 mv (100%) to around 3500 mv (0%). As you can see when it reaches beyond 3800mv "what is 50%" it will drop very fast indeed.
[Galaxy 3 Android Development] Phonicle:
Lithium ion batteries do tend to follow a discharge curve like that, quite flat before it drops off (although perhaps not usually that extreme!) as this is what makes them suitable for applications like phones and cameras.

Certainly seems like Samsung have not produced very good battery metering in this generation of phones.
[Galaxy 3 Android Development] rex4u:
@ano59

Thanks buddy !

Your posts are a treat to read. Thank you.
[Galaxy 3 Android Development] tgunator:
Thank you @ano59

I have installed SetCPU and configure your profile.

I tell you the results.
[Galaxy 3 Android Development] pp63.1:
You will have to calibrate your battery. It must be done every 30 partial charges.

Calibrate means :

- wait until the phone shut itself off due to very low battery (0-10%)

- charge the battery until it reaches 100% ("charged" message on the display)

- switch on the phone

More details here : http://xdaforums.com/showthread.php?t=669497
[Galaxy 3 Android Development] pp63.1:
Well, we are dealing about the abnormal duration for the GPS fix. So the best and more relevant answer should clearly state the best = quickest way of getting the fix.

And well, the A(ssisted)-GPS has been devised to fix quickier through network assistance! That's a technical fact, not a personnal thought ! Of course, with no data, it can still fix, but it could be a bit longer...

Don't forget that when trying to fix, the a-gps remembers the coordinates of the last position before being shut-off. So you may still get a quick fix with no network, just thanks to some previous fix at roughly the same coordinates (hot-start fix).

A cold-start fix ignores this last position, and therefore should do the "full" fix, by fetching satellites position through the network or (if network is not available) by querying satellites in the viewport (about 30 to 60 seconds to have a nice fix).

The choice between cold or hot fix depends on the application being used. A quick look on the Android SDK / GPS topis explains that.
[Galaxy 3 Android Development] abhi0n0nakul:
gps..

hmmmmm.............. thnx for the explanation..........

but i got it quite fast............. ...

can u pls tell me the status of the best rom for indian 5801 without losing imei or mac or int. memory..

pls... let me know.......
[Galaxy 3 Android Development] Pastorelli:
pp63.1

I calibrated my phone already before and deleted the Batterystats.bin using Terminal Emulator to get it refreshed when it reboots.

- Charge until 100%,

- Delete Batterystats.bin.

from the terminal:

SU Enter, cd data Enter, cd system Enter, rm batterystats.bin Enter

- Power off phone

- Charge again with phone powered off till 100%, disconnect from charger.

- Power on

Calibrating helps for charging your battery correctly, it doesn't change the wrong calculation wich is firmware related in this case. I use XWJH2.
[Galaxy 3 Android Development] Ano59:
You may know that we've got FreeWifi's in France. :p

Oh, and I think Pastorelli is right. My battery life is very good, so calibration shouldn't help much. The problem seems to come from battery calculation.

As he said, it stays at ~100% for a while (I doubt a battery would stay to 100% after one hour of heavy Wifi use, which happens to me ^^), goes to ~90% slowly, then (very) quickly drops to ~60% and under.

I hope Samsung will fix it once, because SetCPU uses those values for CPU changes. Thanks to the apps I'm using (Watchdog, Droid Wall, SetCPU...), my phone goes from 100% (full charge) to 10% (critical charge) after one day of use under high stress (Wifi always on, screen always on, browser always on...I can confirm it because I slept on my phone while browsing, the browser prevents the screen from turning off and Wifi was still on :p ), so it's good. But if it can be improved... :D

I'll go outdoors soon, 'will try the GPS under real use conditions.
[Galaxy 3 Android Development] Ano59:
Oh, and I don't know if it's related to firmware, but I'm not able to read any video using YouTube ("this video cannot be read"). Neither am I able to view TV through "3G+", I should be able to.
[Galaxy 3 Android Development] octy:
By default the /system is mounted in read-only mode.

With 'root' access you can change this.

First 'root' your phone with tutorial 'slumpolo' has provided at

the begining of this thread.

Then open a shell on your phone with adb

adb shell

Grant 'root' access with 'su' command and have a look of memory partitions

su
mount

In 'mount' command output, identify the partition on which /system was mounted.

In my phone it was '/dev/block/stl6'

Finally you can remount it to get read-write permissions on it.

But before be sure to be outside /system in the shell (by typing 'cd /' for example).

mount -o remount,rw /dev/block/stl6 /system

Do the modification you want..... BECAREFUL of want you do, you can damage your phone.

Set read-only mode again

mount -o remount,ro /dev/block/stl6 /system

Sorry I cannot made any snapshot for the moment, I can't use my phone.

Hope it can help you.
[Galaxy 3 Android Development] octy:
Yes, it has worked fine, on XPSP3 and Seven.
[Galaxy 3 Android Development] Szaby59:
Can you post a picture from your "mount screen", please?
[Galaxy 3 Android Development] slumpolo:
Where you get gpssetup2.apk and gpssetup2.odex?
[Galaxy 3 Android Development] octy:
This application is already embedded into the phone.

You can start it with the following code : *#*#1472365#*#*

I've got the corresponding files into an image found here: http://www.samfirmware.com/firmwares.htm

Nevertheless, you can also pull them from your phone with adb.
[Galaxy 3 Android Development] slumpolo:
Mmmmmh I have already do that but without success...

I got GPS signal only once I have change ntp server :)

Ciao
[Galaxy 3 Android Development] mekjim:
By the way guys does anyone know how to go from android 2,1 to 2,2 on this phone or if it will be available some day
[Galaxy 3 Android Development] tuma2:
Updating firmware does not work and ODIN program gives message: "Please connect phones". What's wrong? I have installed driver (adb was working) and phone is connected.
[Galaxy 3 Android Development] poomalairaj:
Hi friends, I am new to android. I own i5801. I can understand rooting provides super user access in the phone. But why should we upgrade the firmware like I5801DDJG6 ? Will it upgrade from eclair to froyo? Please explain why should we upgrade the firmware?

Thanks
[Galaxy 3 Android Development] tuma2:
Yes, information what upgrade contains would be nice. I'm also interested to know if the upgrade wipes all the configuration/application data.
[Galaxy 3 Android Development] rreddy18:
Can some one please help me on this.
[Galaxy 3 Android Development] Phonicle:
Some people may have found that the i5800 and 5801 have the recovery mode problem talked about in the Galaxy S forums... where there is no recovery mode. :p This is the problem I've had and it basically makes it impossible to root the thing since neither the button holding nor using adb command "reboot recovery" will work. The latter just brings you to the exclamation point screen which just recovers your system, no options to upgrade.

Unfortunately that leaves us with little option other than to try flashing the firmware with Odin and hope it enables access to recovery mode, but I'm not confident enough to do that. :( The appeal of rooting is that there's no real risk, whereas losing IMEI or bricking altogether would be a bit of a pain.

So just in case anyone was following the instructions but not getting any results. I'm very much hoping that either somebody can find a workaround or Samsung release a firmware update that enables access (may happen when the devil gets snowed in)

Surely it's not too much to ask to want to get rid of "Demo The Sims 3" (and all the other Orange nonsense) from my phone!
[Galaxy 3 Android Development] octy:
Hi Phonicle,

I disagree with you. It work fine on my i5800 (recovery through adb).
[Galaxy 3 Android Development] tgunator:
Me too......:D
[Galaxy 3 Android Development] Phonicle:
At least for me executing

adb reboot recovery

just reboots it to the android robot with a ! sign. Then when home is pressed it does a factory reset.

Have I gone wrong somewhere? (I would be really happy if I have :D)
[Galaxy 3 Android Development] Szaby59:
No you just have i5801.

Orange doesn't allow any options (except factory reset) in recovery mode.
[Galaxy 3 Android Development] Phonicle:
:( so my only way out is to flash it with a different i5801 firmware?
[Galaxy 3 Android Development] Szaby59:
No, with a different i5800 firmware.
[Galaxy 3 Android Development] Phonicle:
Heh that makes more sense! One more question (I promise), is the European I5800XWJH2 one in the OP the one for me? I don't know if there's a big difference between them all but I'd rather reduce the risk of IMEI loss or making a brick as much as possible.
[Galaxy 3 Android Development] LeoKesler:
Hi, what is the version of Odin used ? Can you provide a link ?
[Galaxy 3 Android Development] Ad Fundum:
Maybe this is a dumb question, but ...

If I root my i5800, will my TouchWiz functions be gone, or will they still be there?
[Galaxy 3 Android Development] Nkrl:
Root doesn't change anything at touchwiz, so they still will be there =)
[Galaxy 3 Android Development] Ad Fundum:
Ah okey, so it's win-win ^^ Thanks! :)
[Galaxy 3 Android Development] Ad Fundum:
My last question: Is it possible to flash Froyo to my i5800, or is there no ROM out there yet for the i5800?
[Galaxy 3 Android Development] RazMaTaz0121:
Hi,

I used the one click root and my phone has been officially rooted. Now, Im curious if anyone can give me details on the custom rom and how to apply it to my I5801?
[Galaxy 3 Android Development] Ano59:
I tried the GPS under real use conditions, 'could get back to home using Google Navigation (well, I knew the way, but my phone knew it too :p ).

Sometimes I can't get the initial fix, but after a reboot, I can get it, and once it's done, GPS gets a nearly instant fix until I reboot. Thanks to everyone who helped here. ;)
[Galaxy 3 Android Development] rex4u:
Happy to know that you could get back home ;)
[Galaxy 3 Android Development] mehmet1978:
Hi,

I have just a question (or two)

Is it possible to change the product code? cause I'm now in XEE and I should be in XEF?

the firmware JI2 doesn't allow me the code *#272*xxxx#

I have access with JG6 but it only propose me XEF...

Does the I5800 have backlight with the ''back'' and ''menu'' buttons? Because mine hasn't.

Thanks
[Galaxy 3 Android Development] Phonicle:
The soft buttons should light up for a bit when you press them or the home or power buttons, but they don't stay lit very long. If yours aren't lighting at all that's a hardware fault I would imagine.
[Galaxy 3 Android Development] Nkrl:
No froyo yet for our I5800

Sent from my GT-I5800
[Galaxy 3 Android Development] Ad Fundum:
Ah okey, thanks for the reply!
[Galaxy 3 Android Development] slumpolo:
Added to first post:

- One package for Flashing that including all necessary files

- Flasghing tutorial in PDF format

Ciao
[Galaxy 3 Android Development] kroimpa:
Hi guys! Want to say thanks fro the posts, as an adnroid rookie managed to flash my phone and root it succselfully!

But i have one problem,

when ii connect to phone with usb to my laptop i cant access it (i tried Kies and mass storage mode).

With Kies it just keeps hanging on "connecting", and with mass storage it gives me the error "Please insert a disk into Removable Disk H".

I formated my SD card, did a hard reset and tried this method:

Still i am unable to access my phone trough USB.

Any suggestions?
[Galaxy 3 Android Development] jup007:
Does the phone indicate USB connection?

If it does, then I would suspect drivers on the computer, if no (like it's just charging, no USB connected message), then the problem is on the side of phone. However, I would suspect that hard reset would solve most phone problems.
[Galaxy 3 Android Development] kroimpa:
Thanks for the quick reply! The usb icon does show up but i already uninstalled KIES and removed the driver to no avail.

But will test it on another computer and get back right away!

Edit: Ok, tested it on my sisters laptop, not working still getting 'Please insert a disk into..' message, i used the last firmware from september if it makes a difference.

So it does detect a device and shows up in My Computer but when trying to open it i get the famous "Please insert a disk into.." message.

Any idea what it might be?
[Galaxy 3 Android Development] Ano59:
There is an USB icon in the notification bar. Show all notifications and press this USB icon to unmount your SD card ; you will then be able to access it with your computer.

It's a different problem than having a phone stuck in Modem mode.
[Galaxy 3 Android Development] kroimpa:
Thanks man! I managed to get it working in Kies mode, will try your suggestion.

I have another question, how many times can u install new firmware? I already flashed my phone like 15 times, testing settings and stuff.

Is there a limit on how many times u can flash your firmware?

Thanks for your help all!
[Galaxy 3 Android Development] precurse:
You should theoretically be able to as many times as the NAND flash can take it. So about 10,000 rewrites or so. But that includes regular use of it. So installing/uninstalling apps contributes to it.
[Galaxy 3 Android Development] pobednik:
Hi guys,

as I`m a newbie in Android field, i have 2 questions for you.

1. What is a difference between Home and Back buttons? I`m used to classic "red" button for turning off aplications, and this situation confuses me. What happens with started application when I press Home and what when I press Back. Is it still alive in background (eating memory), and I just can`t work in it, until I reopen it, or is it fully closed.

2. Is their any other way to install aplications except downloading applications form Android Market directly to phone? GPRS is expensive for use, and I don`t have often chance to use wireless, so I`ll be glad to hear that I can install applications like I used to do it with Nokia (download installation to my computer, and install it to the phone using Ovi Suite).

Thanks
[Galaxy 3 Android Development] mehmet1978:
Hi,

Does anyone know the product code of the french I5800? because mine is GT-I5800DKAVGF

And if someone could tell me the original firmware version too (mine is I5800XXJI2/I5800OXXJI1/I5800XXJH1/I5800XXJI2)

Thanks
[Galaxy 3 Android Development] vijacdblz:
In android irrespective of button you press,application will run in background.don't worry abt it android smartly manages your memory even you don't need task killers
[Galaxy 3 Android Development] vijacdblz:
Is LG gt540 better than i5801.could someone help me out pls.i am planning to buy that mobile.
[Galaxy 3 Android Development] pp63.1:
Home Button

Let's say you are using Facebook application and writing a post on your wall ; when you press Home button, the FB app is sent to background, and the application launcher becomes the foreground app. If you call again Facebook app, you will be back at the same "screen" in the app ; since (our example) you were writing a comment when you hit "home", you will be back at the post writing screen, and the text you previously typed will be there. You can go on with your Facebook business.

Hitting "Home" and later coming back to the same application is like switching applications on a desktop PC with ALT+TAB.

Back Button

When you hit "back" button on an application, it means you close the current screen (it's called in android-language an "activity") and go back to the previous one. Let's take again Facebook app as an example. Open FB app ; you are on the main screen ; hitting "back" here will bring you back to the application launcher ; ok, let's open the "photos" activity from the Facebook main screen ; if you hit "back" here, you dismiss the "photos" screen and you go back to the previous screen, ie the main FB screen.

Hitting "back" is like hitting the "back" button on your web browser.

Android application lifecycle

As for the life cycle of Android applications, you CAN'T really close an application (no "RED" cross button as in your desktop PC). Android manages the application life cycle. If it needs more memory, it will smartly kill any least-used application. Anyway, that's not an issue, since the killed application will be later reloaded if needed, and no data will be lost.

Contrary to a common thought, opened application eating memory DO NOT EAT CPU ! Opening many apps DOES NOT DRAIN your battery. Maintaining memory DOES NOT EAT CPU. So don't be afraid to open applications. However, CPU activity DRAINS battery ; that is to say, pay attention to the application you are using. Many free apps found on the market are ill-devised (network intensive usage, thus draining the battery ; ad-sponsored applications, continously fetching ads from the network, thus draining the battery by using the 3G antenna and by preventing the device to sleep).

So, please only use well-behaved and well-known applications... By doing that, you will be able to use your i5800 for 2 or 3 days (reasonable use) without charging it.

Maybe you can download the "apk" file from the net, and put it on the SD card, then open it from the android file manager on the device ? However, many applications can only be downloaded through android market.
[Galaxy 3 Android Development] rex4u:
@pp63.1

Brilliant, exact and helpful post.
[Galaxy 3 Android Development] rex4u:
Is there some way/app to see/know the network activity of the phone. Like which app is sending or receiving what information and where ?

Also let's list the best apps in every category based on personal experience and recommendation to save many new users from various hassles and hit and trial.
[Galaxy 3 Android Development] movie_addicted:
Hi Guys,

i just bought my first Droid smartphone Samsung Galaxy Leo i5801 ... it is/was branded bye orange (Austria).

I flashed it with ODIN(CUSTOM FIRMWARE:

Fixed I5800XXJI2 Firmware) and rooted it, as it was explained ...

But when i inserted another simcard i always have to enter a sim network unlock pin

Do i have forgot something?

(sry, my english isn't the best^^)

movie
[Galaxy 3 Android Development] pobednik:
@pp63.1

Thanks man! These explanations cleared some mess in my mind about Android.

Maybe slumpolo should put refference to this post at the very beginning of the topic.

If I find something else confusing, I hope you`ll have time to response to that issue.
[Galaxy 3 Android Development] pp63.1:
You are welcome !
[Galaxy 3 Android Development] Ano59:
I love apps I installed to reduce battery use, it's nice to fall asleep with the phone playing music, and waking up several hours later with the phone still available. :D

GPS is definitely working well, I used Google Navigation to reach successfully an unknown place. But I wonder if the path is kept in memory. Let's say I go through the whole France and that I lose 3G while driving ; will Google Navigation still work as it calculated the path previously, or not ?

Any idea why Youtube and 3G+ TV isn't working on my phone ? :/ Seems that Youtube works well on yours...

I also got a big upload problem ; even if normal Internet use works (downloading much, uploading a bit...), it fails when I try to upload a file (with Opera Mini, or through FTP...). Upload speed is ridiculous when it starts and become quickly null (and then, upload fails). There is no problem with my own network and with servers I try to upload to. I already had this problem with my old androphone (a noname phone which has nothing to do with I5801). No one else seems to have this problem, so I wonder why... :/
[Galaxy 3 Android Development] pp63.1:
Although I didn't test it, I think it should still display the navigation guidance and interpolate your position (based on the car speed before loosing the GPS signal), as any GPS device does. Google is known to create smart software ;-)

Youtube works well on my Teos i5800 (native app pre-installed, I didn't install any update), but some videos cannot be displayed. I guess they are not encoded with an android-compliant codec.

For 3G+ TV, I had the same issue the first days (weeks ?) with my new BT handheld... Even with nice 3G/HSDPA network coverage, I was not able to have the TV work (error message saying that I had to be in an area where 3G is available...). Then, some days later, when I tried again, everything was working. Maybe BT had to tweak some settings so that I was authorized for the TV service ?

If you are a new BT customer (or you have just renewed your handheld), maybe wait another couple of days...
[Galaxy 3 Android Development] pravarthegreatest:
Hey guys

Please let me know that is everyone having problem with the battery(directly dropping from 60% to 15%) or is it a problem with only some handsets.Is this a firmware issue or hardware issue?Please reply fast.Thanks in advance.
[Galaxy 3 Android Development] abhi0n0nakul:
battery

yeah...

actually i think there is a fault in the battery calculation algorithm of the phone...

which would be corrected in future updates for sure.......
[Galaxy 3 Android Development] pp63.1:
No issue for me... I calibrate the battery once a month, otherwise I charge the battery when it reaches more or less 40%.
[Galaxy 3 Android Development] bioniclizard:
Hey guys. I'm not sure if I should post on this topic because it's not really root or flashing related, but there's no subforum for this phone.

I bought my phone unlocked from Optimus (Orange subsidiary in Portugal), inserted a Vodafone (Portugal) SIM and everything's working fine except USSD codes. They work fine with my Optimus card, and don't work at least on the default firmware and JI2 with Vodafone.

Tokings (those messages your operator sends when someone wants you to call them, don't know if this also exists in other countries) and the message saying how much money I have left on my phone when I end a call don't work either.

When I call *#100# to check how much money I have, it says USSD code running and then just disappears. How can I solve this? I hope I was clear, thanks.