yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] chinedu40:
Is there anyway to make either an APK with different time options? Or different update.zips to use in clockwork?
[Galaxy S I9000 Android Development] RyanZA:
update.zip is a no

APK is a yes, but it's quite a bit of work, and very little demand.

You can use root explorer instead of adb though, yeah.
[Galaxy S I9000 Android Development] tommy34:
About JPC: I noticed there is a setting in wifi sleeping policy. when you press the menu button and then advanced settings. You can choose :

-when display is turned off

-Never when turned on

-Never

The default setting for JPC is Never maybe this got something to do with it
[Galaxy S I9000 Android Development] Treggs:
Here are the steps I did to get my wifi sorted.

Exact steps with comments.

1. Phone in USB debug

2. plug phone in

3. in a windows command window : adb shell //you should get a '?' command prompt

4. in adbshell: su

5. accept super user permission on phone // command prompt will change to '#' to show root

6. in adb shell: busybox cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db //copies settings.db to somewhere you can get to it

7. in adb shell: adb pull /sdcard/settings.db //drags file to your pc

8. Open settings.db using SQLite Database Browser

9. Click 'Browse Data' tab

10. Select 'gservices' in drop down

11. Click 'New Record'

12. Double click boxes to edit Name = wifi_idle_ms value = 30000 Click Apply Changes // I set mine to 30 seconds

13. Close and Save database

14. in adb shell: adb push settings.db /sdcard/settings.db //pushes file back to phone sd

15. in adb shell: busybox mv /dbdata/databases/com.android.providers.settings/settings.db /dbdata/databases/com.android.providers.settings/settings.db.bak //makes a backup in case it all goes pear shaped

16. in adb shell: busybox cp /sdcard/settings.db /dbdata/databases /com.android.providers.settings/settings.db //replaces old file with new one

17: in adb shell: chown system.system /dbdata/databases /com.android.providers.settings/settings.db //changes owner of the file so system can use it

18. Reboot phone //not sure it's necessary but I did it anyway.

According to Ryan this is the file that the 'settings' app on your phone changes. Obviously some of them can't be changed by the app. It doesn't seem this file gets replaced with a flash (as my wifi issues survived a flash and hard reset) so edit it with caution. If you know what you are doing you could make your phone do all sorts of cool stuff but I don't know enough to play with them.

EDIT this file with Caution!! and do the backup.

Hacking is fun!!!
[Galaxy S I9000 Android Development] Greg82uk:
Hey guys...

I managed all of the steps but recieved this error when applying chown.

chown: unknown user/group system:system

Any help much appreciated! :S

edit: I now seem to be having no luck connecting to any data networks... I'm guessing it's cause the system can't access this file? :o(
[Galaxy S I9000 Android Development] JaGuR:
Be sure you haven't mispelt anything ?

If you are using Treggs instructions, try using the instructions from the opening post
[Galaxy S I9000 Android Development] Greg82uk:
Thanks for the prompt reply... did a factory reset and all working again... I started this time by updating my busybox which may well have caused my initial problems... I was following the original instructions but in my settings.db there's no gservice table at all... just the secure one and i must admit following my last attempt I'm not keen to edit it again! :O) I suppose though.. seeing as I've done a factory reset already... I won't lose anything by doing it again! :o) Will edit with my findings shortly! :o)

Edit: It happened again... still not recognising system as a user so for the time being I've reverted to the backup and I'm just going to have to stick to manually disabling wifi... no hardship but ever so slightly less tidy! :o)
[Galaxy S I9000 Android Development] ivanchin99:
Interesting.. thanks for the tips..

My wifi goes off around 5secs after the screen is off according to the modem show client page :D
[Galaxy S I9000 Android Development] alexandruvlad:
Isn't there an APP for this?

Sounds pretty hard like this :(
[Galaxy S I9000 Android Development] datascan:
Yes, please make a utility to do this. Thank you.
[Galaxy S I9000 Android Development] mbriody:
+1 please. I don't have any of these tools installled.
[Galaxy S I9000 Android Development] komoornik:
Any chance for making utility ?
[Galaxy S I9000 Android Development] RyanZA:
Yeah, it's made already.

Grab the OCLF 2.0 APK. It doesn't work with some roms that don't have group names set. I'll fix that sooner or later though!
[Galaxy S I9000 Android Development] brujoand:
I just tried this on Froyo (since it worked well in eclair" and my system broke.. that is, whenI boot up, adb is running and i can login. But the screen is black and stuff keeps fc. just so you know. Dont do this on froyo. Or am i doing something wrong?
[Galaxy S I9000 Android Development] Ian_Cog:
I've opened my Settings.db in SQLIte, but there isn't a 'gservices' to make any changes to. Only a 'secure'.

Any ideas, before I go ahead and save this back to my phone?

[edit] I went ahead and reinstalled it, but it didn't work.
[Galaxy S I9000 Android Development] ronlkh:
What about permenantly turn on the wifi even when screen off? the wifi policy dont work. What value should I put to make wifi permenantly turn on regardless what status of the phone? Maybe it is good to have such app to set the wifi status like screen off menu where you can set the timeout timing and never off.
[Galaxy S I9000 Android Development] JaGuR:
Works on 2.2, and for 2.2.1,

You need to add it to secure folder for 2.2 though, NOT gservices

I use Root Explorer to copy it out, and paste it back in, been doing this for my last 10 flashes and never had a problem.

If you do run into a problem I suggest you will need to flash new rom through CMW / Recovery, and or via odin
[Galaxy S I9000 Android Development] Brotuck:
But i already have the lagfix installed from voodoo. I just want the modify for wifi sleep in 30 seconds or so.
[Galaxy S I9000 Android Development] FuryriderX:
Used this method - worked great! Seemed to need a reboot to take effect though.

Root Explorer has a nice sqlite database editor add-on, its about 4 bucks.

One question - if i'm downloading something (say game files, which could be hundreds of MB) over wifi, will the active connection keep it awake? If it switches to mobile data to finish downloading it after 10 seconds, i'll get destroyed by data charges!
[Galaxy S I9000 Android Development] kunacs:
Best answer dude, thanx works
[Galaxy S I9000 Android Development] mikescorei:
Good stuff
[Galaxy S I9000 Android Development] Pietplezier:
Can some1 help me with the wifi and 3G thing.

i have this options:

"When screen turns off"

"Never when plugged in"

"Never"

i put it on When screen turns off. WIFI and 3g are both on.. so when i use the power button to lock my screen, the wifi must go off and switch to 3g? but when i unlock the phone, wifi is still on. The sleep Policy in "Spare parts" is "android default"

i red this topic, and i see i have also the 15 minutes bug. i have root explore installed, but can some1 help me..i don't understand database **** :D

Running Darky 9.0.2 rom and speedmod kernel
[Galaxy S I9000 Android Development] JaGuR:
Just follow the exact instructions in opening post.

Copy settings.db to sdcard, using root explorer, than copy it to your PC, modify it, then copy it back to SDcard, than using Root Explorer copy it back to original directory, copying over top of old one.

Be sure you have recovery, and are able to flash via odin if something goes wrong :)
[Galaxy S I9000 Android Development] tomeks:
Working great, thanks !
[Galaxy S I9000 Android Development] ABC_Universal:
Great!

I'm using motorola but this guide also works, just need to replace the file path of settings.db. Thanks :)
[Galaxy S I9000 Android Development] tomeks:
With 2.3.3 still working great and saves battery in evniroments where there is a lots of wifi around but not the home one
[Galaxy S I9000 Android Development] XlAfbk:
an app would be really nice. while OCLF can change it it needs to install the ext2 tools that seem to interfer with some apps :-(

actually, the oclf change doesn't seem to work at all here, deodexed jvh. I can still ping the device after several minutes even though timeout is set to a few seconds. wifi_idle_ms is set to 5000 in secure, there's no gservices in settings.db

edit: added wifi_idle_ms to settings.db/system, that seems to work
[Galaxy S I9000 Android Development] InstigatorX:
GS II SkyRocket and 2.3.5

FYI...this worked awesome on my SkyRocket running TPCv3 (2.3.5). Settings file found at /data/data/com.android.providers.settings/databases/settings.db.
[Galaxy S I9000 Android Development] kevdliu:
Thanks alot! this saved so much battery for me. I have a weird problem where my phone doesn't deep sleep when connected to wifi and the sleep policy fails to turn wifi off after screen off. After applying this wifi turned off after 15 seconds flat and my phone deep sleeps again.

Thanks
[Galaxy S I9000 Android Development] maRRRco89:
I did a similar mod in the settings.db file

but when i replaced it I got a boot loop

it is necessary change the permission to the edited file?

I think yes, but I didn't
[Galaxy S I9000 Android Development] Dude_Virus:
I know this is an old post however just trying my luck for any replies... I need the opposite of this. I use a dell streak and inspite of selecting the option of wifi to never sleep it seems to disconnect when the phone goes into a deep sleep. Can there be a setting done which will permanently disable the sleep and prevent the wifi to never go into a sleep mode even when the device goes to deep sleep. I need the wifi as I have my office emails delivered to my device. The network signal strength at my house is not good hence the EDGE is mostly low on signal or not avaialble unless i get out of the house. Any help if possible.
[Galaxy S I9000 Android Development] ocd_amp:
Late post here, but people google stuff, and come upon this stuff. So I'm gonna make one post here that will hopefully alleviate everyone's issues here.

1) adb pull your "settings.db" - it may be in this location /data/data/com.android.providers.settings/databases/settings.db NOW MAKE A BACKUP OF THIS FILE! JUST IN CASE!

2) sqlitebrowser - Great program, easy to use. Go to Browse Data > Under Table select Secure > Click new Record > under name put this >wifi_idle_ms > under value > 30000 (that is 30 seconds, I use that because my screen only stays on for 30 seconds)

In some ROMS and some systems, The setting might be in System. It reads System first, then Secure <> You can see this in Sqlite sequence table.

It will not hurt anything if you put the same value in both system and secure. Make sure no Values conflict. Take your time.

3) Save it by clicking Write Changes (Hope you made a backup of the original)

4) adb push settings.db /data/data/com.android.providers.settings/databases/

5) Now type this: adb shell > then type this: su > now you should see a " # " and blinking cursor in front of it. > Type this: chmod 777 /data/data/com.android.providers.settings/databases.db --- You are giving Root permissions here to this file.

6) Now type: chown system.system /data/data/com.android.providers.settings/databases.db (here you are making Owner and Group : System.)

Step 5 and 6 are important or you will boot loop - Major trouble for most people so we must avoid that by using CHMOD and CHOWN.

Enjoy your settings.db ---> Your wifi should turn off right away unless there is an app that requires wifi to be on for whatever it is doing.

It's a late post but this information is still valid in May 2015.
[Galaxy S I9000 Q&A, Help & Troubleshooting] mysoo:
hi guys

there is a problem need u help

I brought a m110s I9k's Kroean version

It said that it support to work in edge network

but whatever any roms ,there is only G!

i want to konw why?!!!!

and how to slove it

THX!
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
that sounds like an area reception problem

G (GPRS) and 2G (EDGE) they both run on the international quad band 850/900/1900/2100
[Galaxy S I9000 Q&A, Help & Troubleshooting] alovell83:
I'm a little confused, you have 3g working but you'd rather have edge? 3g is the faster network and possibly the stronger signal, so your phone would prefer to connect to that network. If you are using an older firmware you can play around with the secret codes found here : http://xdaforums.com/showthread.php?t=721111&highlight=Secret+codes

best code for you to check out would probably be *#*#4636#*#* however Samsung removed or broke these codes 1 or 2 firmware updates ago. Also, you can look into the wireless and network settings and go to the bottom and turn off 3g. Please note that the phone and/or some carriers might not allow data over 2g, I know my carrier doesn't and this phone is designed to be optimized for SKT.

Please let me know if I'm confused about your question and i'll try to rephrase If I can better help you.
[Galaxy S I9000 Q&A, Help & Troubleshooting] mysoo:
thanks 4 u answer,but my operator——China Mobile is support another 3G，TD-SCDMA，so i can‘t use wcdma。and CM is supply edge，so i don’t why，maybe samsung block it。
[Galaxy S I9000 Q&A, Help & Troubleshooting] alovell83:
I was confused because I thought you were connected to "G" (I thought you saw a "G" on your notification bar). Have you tried to disable "3G", this might be able to force you onto an edge network, I don't think it'll work, but it's worth a try if the code I mentioned doesn't work.

Go to settings > wireless & network > 3G data call settings > select "no"
[Galaxy S I9000 Q&A, Help & Troubleshooting] mysoo:
i'v did this .

i want to know dose m110s support EDGE in China?

i see that in #*4636#,the network type is GPRS,how to change in EDGE?
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
even if you managed to change the settings to EDGE, it wont work

if GPRS is the fastest service provided by the cell phone network

last time i was visiting Cuba, their fastest network wsa only GPRS
[Galaxy S I9000 Q&A, Help & Troubleshooting] mysoo:
CM supply edge
[Galaxy S I9000 Q&A, Help & Troubleshooting] mapleshadow:
As far as I know, it was blocked, and not without support。

The problem is how to get his support, the same as moto xt701。
[Galaxy S I9000 Q&A, Help & Troubleshooting] mysoo:
maybe it as same as xt701,like you said.

change the radio band maybe will slove the problem ,take it from the euro band or hk band
[Galaxy S I9000 Q&A, Help & Troubleshooting] alovell83:
I didn't see this post from you, you can access settings I can't so we are probably on different FW versions DONT UPDATE:

Try these codes to see if you can update the band

http://xdaforums.com/showthread.php?t=721111
[Galaxy S I9000 Q&A, Help & Troubleshooting] ickyboo:
Doesn't china use different gsm networks?
[Galaxy S I9000 Q&A, Help & Troubleshooting] Born_Immaculate88:
I am having problems with internet all together. I have the Anycall Korean Samsung Galaxy S shw-m110s but I live in the United States and use AT&T but cannot seem to get the internet to work. I entered the correct APN settings but cannot even get an EDGE signal. Anyone have any ideas?
[Galaxy S I9000 Q&A, Help & Troubleshooting] hello3721:
Can any one help to transplant baseband from i9000 to m110s?

Because EDGE is so important for China Mobile. It is hard to afford WCDMA. Thanks!
[Droid Eris Q&A, Help & Troubleshooting] ChadZ:
I upgraded to rooted Froyo 2.2 the other day (KaosFroyo). It has that dock on the bottom main home screen. 3 icons, phone, app drawer and used to be browser icon but not mysteriously developer icon instead. I do not know how to change it back to the browser icon. Please explain
[Droid Eris Q&A, Help & Troubleshooting] es0tericcha0s:
I never use the dock bar since I go for a clean look (I even have a transparent app drawer tab) but you should be able to just drag the browser icon from the app drawer and hold it over the spot you want and drop it. Should stick. Hope this helps.
[Droid Eris Q&A, Help & Troubleshooting] BigBeefy:
Press and hold the icon. You will get a text box with options to change icon. Pick new application then default icon.
[Droid Eris Q&A, Help & Troubleshooting] nickaegerter:
the text box isn't showing up for me, i hold down the icon but nothing happens. what other options are there?
[Droid Eris Q&A, Help & Troubleshooting] doogald:
Actually, that's the solution for LauncherPro, but the original description sounds more like ADW.

In ADW, you drag icons to the spot in the dock where you want the icon to be. Just drag it over the one you want to replace and drop it and that should take care of it - if you are, in fact, using the ADW launcher.
[About XDA developers] ChadZ:
Can someone please let me know who designed the forums here (the 2010 beta template). I am looking to redesign my Christian forum site as well, www.talkjesus.com

I would appreciate the referral info. Thanks in advance.
[About XDA developers] svetius:
Many people designed it, not just one person.
[Android Q&A, Help & Troubleshooting] rajinder78:
hi

I have i-Mate Jama 201 is Stuck on i-Mate, I want to Know How to Hard Reset this Phone.

I am already find On all Forum but not find everyone is talk about only i-Mate JAMA (P30) but I need JAMA 201.

Please Reply asap.

Thanks & Regards

Rajinder Aggarwal
[EVO 4G Themes and Apps] napoleontheruler:
does anyone have the 2.2 camera apk from cm6
[EVO 4G Themes and Apps] laydros:
just dl cm6, unzip, its in system/apps.

pretty sure it is tied into the cm6 framework and won't work on another rom
[General Topics] Phk:
Hi there guys, hows it going?

I needed to replace a system .apk file, but i ended screwing up my phone...

So the file was Bluetooth.apk and i pushed it onto /system/app/Bluetooth.apk, replacing the old file.

However, when i rebooted, the mobile hanged and i get the errors:

E/AndroidRuntime( 2301): Uncaught handler: thread android.server.ServerThread exiting due to uncaught exception
E/AndroidRuntime( 2301): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
E/AndroidRuntime( 2301): dalvik.system.Stale[B]Dex[/B]CacheError: /system/app/Bluetooth.apk
E/AndroidRuntime( 2301):	at dalvik.system.DexFile.isDexOptNeeded(Native Method)
E/AndroidRuntime( 2301):	at com.android.server.PackageManagerService.performDexOptLI(PackageManagerService.java:2171)
E/AndroidRuntime( 2301):	at com.android.server.PackageManagerService.scanPackageLI(PackageManagerService.java:2538)
E/AndroidRuntime( 2301):	at com.android.server.PackageManagerService.scanPackageLI(PackageManagerService.java:2105)
E/AndroidRuntime( 2301):	at com.android.server.PackageManagerService.scanDirLI(PackageManagerService.java:1992)
E/AndroidRuntime( 2301):	at com.android.server.PackageManagerService.<init>(PackageManagerService.java:582)
E/AndroidRuntime( 2301):	at com.android.server.PackageManagerService.main(PackageManagerService.java:339)
E/AndroidRuntime( 2301):	at com.android.server.ServerThread.run(SystemServer.java:168)
E/AndroidRuntime( 2301): Crash logging skipped, no checkin service
I/ANDROID_DEBUG( 2301): dumpstate > /data/log/dumpstate_sys.log

I ripped this apk from a ROM where there was the .apk and the .odex file for each app in /system/app, so I think i'm missing something here.

Can anyone shed some light?

Thanks

Phk
[Vibrant Q&A, Help & Troubleshooting] SquareBare:
I have seen a lot of questions going around about over the air updates. Some say that without a data plan you cannot update, some say that you can over wifi. Some say that you have to have SMS and beg a TMO rep to push the update to your phone.

In the case of the vibrant, does anyone know which of these is true?

Also have there been a lot of small updates to the vibrant thus far?

Have there been any at all?

Will I need to install a bunch of random updates in a particular order before I can safely put Froyo on?

Thanks.
[Vibrant Q&A, Help & Troubleshooting] DaSmittyman:
I don't think Tmo would let you walk out the door without a data plan, that is if you got it from tmo. I have had the phone for a little less than a month now, there haven't been any updates, the next update is going to be froyo which is why i don't feel like messing with the rom froyo ill just wait.
[Vibrant Q&A, Help & Troubleshooting] SquareBare:
Thanks for the heads up about the updates. I didn't know if it was like windows where they have a bajillion tiny updates and I would have to install them in order.

I bought it for 500 from the TMO store am using it prepaid, the reps said they don't care what phone you use when you use prepaid. So there you go, no data plan at all and the phone works wonderfully.
[Galaxy S I9000 Themes and Apps] ebue:
Been looking for a thread on this but cannot seem to find it. How does one go about doing this? If I download an app to the computer and want to install directly to the phone, how can I do it if Kies does not allow me to do it? It keeps telling me it is not the right format when '.apk.' states it is.

BTW, is the lastest Kies suite v1.5.1.10074_2?
[Galaxy S I9000 Themes and Apps] okpc:
Switch to mass storage on your phone and transfer the file over.
[Galaxy S I9000 Themes and Apps] SGSI:
You don't need Kies. Just connect your phone as a "Mass Storage device" to your computer and copy the apk file either to the internal or external sd card. Then using a folder organizer (either the inbuilt or any other app like astro) locate the apk file on your phone and click on it. It should then prompt you to install it.

Hope this helps.
[Galaxy S I9000 Themes and Apps] Daneshm90:
adb install
[Galaxy S I9000 Themes and Apps] incos:
Or if u cant use USB cable, just transfer the .apk file to your SGS via bluetooth then find the file in your SGS. default is:/sdcard/bluetooth then ryn it from there.

GL
[Galaxy S I9000 Themes and Apps] fitzpete:
Estrongs File Explorer can access any share on your computer directly.
[Galaxy S I9000 Themes and Apps] myx0mop:
Also, you can use adbWireless (just search for it). Assuming the SDK is installed, you can do:

adb connect x.x.x.x (your phone's ip address)

adb install your_app.apk

No usb connection needed.
[Galaxy S I9000 Themes and Apps] ebue:
Thanks guys. I transfered the file directly using the Mass Storage method used Astro to gain access to the file to install it. Great help from all of you. :) I do appreciate it very much. Again, a big thank you.
[Galaxy S I9000 Themes and Apps] appelflap:
Dropbox is also great for transfering apk-files to your phone!
[Galaxy S I9000 Themes and Apps] Piny12:
That's what I'm using ;)

Perfectly fine, and even very practical. I sometimes give out links to my dropbox to my friends if they want an app that they saw on my phone.
[Galaxy S I9000 Themes and Apps] Piny12:
Whoops, double post.
[Upgrading, Modifying and Unlocking] nouaera:
i recently update my htc hd2 with a new radio version,after that,my tel was stak with the yellow mesage stick togheter. doesnt help even hard reset.fortunatly i got the fix.i will tell u all what u have to do if something is happen. First turn on the tel and press only down volume,in the same time i was presed also restart buton.after that u will get loader boot information and u can choice serial or usb. i choiced usb and i reflashed another ROM and now,thx God,its working again.

pls excuse my English
[Touch Pro, Fuze Android Development] _-1g1-_:
http://wiki.psfreedom.com/wiki/HTC_Raphael

Thanks to everyone who made it possible!

Cheers
[Touch Pro, Fuze Android Development] arrrghhh:
I'm not sure our devices can act in the 'slave' mode that he speaks of... but that would be interesting - and I'm not nearly proficient enough to understand a lot of the things he is talking about.

But, there are several devs who probably do and I'm sure if it's possible they will do it!
[Touch Pro, Fuze Android Development] _-1g1-_:
Isn't Headsetmode Slavemode,too!?
[Touch Pro, Fuze Android Development] _-1g1-_:
Update: There will be a Support for MSM72K Android Devices :) So Let's see if it will work

http://xdaforums.com/showthread.php?t=772795&page=31