yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] wjax:
Well guys,

It's been a long time since I realized my Nexus ONE was draining a lot of battery.

After some testing I figured out one of the most probable causes for that, Autosync.

So I started creating a proof of concept app in order to run autosync at a specified custom time.

On the other hand, I read some users in this forum talk about the possibility to monitor Signal Strength and disable APN if under a given threshold... so I did it (and added Autosync control on low signal too).

It is very useful when you work all day in low signal areas (as me).

Remember.. this is just a proof of concept... may fail a lot or never! :)

Search for it in the market!

Enjoy

IMPORTANT: Dont kill the app! Exclude it from memory savers (automatic tasks killer). And dont worry about memory or CPU use, it is negligible.

Update 23/08/2010

New Version 0.2. Hope you like it

You have to unistall the previous one (if not it won't install) because I lost my previous certificate :(. Sorry!!!

Go to:

https://sites.google.com/site/shutupbatterysaver/
[Nexus One Themes and Apps] Naffets:
Interesting...will be testing
[Nexus One Themes and Apps] Markdental:
What a great idea!

But does this app use a lot of battery monitoring the signal strength and adjusting for this?
[Nexus One Themes and Apps] kingofyo1:
will this work on other phones too or just nexus at this time?
[Nexus One Themes and Apps] Jon.StatiK:
First testing i was able to change settings but it seems to fc on me. Using htc hero cdma on darchdroid.
[Nexus One Themes and Apps] wjax:
It works perfectly on HTC Hero GSM in Spain with the android 2.1.

So I don't know... I don't have an American Hero.

It should work on every android 2.1 and 2.2 phone...
[Nexus One Themes and Apps] wjax:
Dont worry for CPU(battery) drain.

When using Scheduled Autosync it just uses a few miliseconds of CPU for each Loop.

And for the Signal Strength monitoring, it checks it every 10 minutes and only uses (again) a few miliseconds.

If you have Spare Parts, you can check it yourself!
[Nexus One Themes and Apps] THATTON:
Wow! I instantly noticed a difference in drain even when monitoring it with adb. I'm impressed. What are you guys settings looking like? I am not sure how I should set it up. If I set the sync on for every 25 minutes, does that mean my phone will ONLY auto sync every 25 minutes? This app is long overdue! Thanks!
[Nexus One Themes and Apps] myplague:
on my nexus if I leave the app and click on it again on the drawer, the app resets everything (settings, logs)
[Nexus One Themes and Apps] Markdental:
Yeah, would love to hear some other users' settings that are working for them.

Like maybe the cutoff for the signal strength level.

also, am I suppose to leave sync off?
[Nexus One Themes and Apps] spyinzedark:
congratulations for your job. anyway i have an issue with my nexus one. the app semms to work for about 5sec then all the settings are reseting and apn and sync are switching on even if my signal is below my previous settings. do you have any idea?

thank you.

spyinzedark.
[Nexus One Themes and Apps] dyndragon:
Woo! I'm glad my thread on turning off data when signal is low actually made it into something! I'll try this out soon...
[Nexus One Themes and Apps] THATTON:
I would also like to know if I should be leaving androids built in auto sync off or leave it on? So far, I have been getting great battery with this set to

Sync options:

30min off

2 min on

Signal options:

-104dBm

-104dBm

I can't wait to see where this is going!
[Nexus One Themes and Apps] dessanct:
I also can't get my settings to save.. just resets after I exit the app.
[Nexus One Themes and Apps] G1-evolve:
this ^ :(

(10chars)
[Nexus One Themes and Apps] wjax:
Why are you reseting the app?

I mean, the app is meant to be always alive.

You should never kill it and exclude it from any memory saver task killer that you have. Otherwise it cannot work!!

Dont worry about leaving it alive as it only uses a very very small time of CPU.

Sooo... Dont Kill it!!

Just let me know your results :)
[Nexus One Themes and Apps] wjax:
I am currently using:

- Autosync due to Timer 1h - 3m

- APN off if Signal less than -90dBm

It works nice!
[Nexus One Themes and Apps] r0adki111:
Anyone think this would conflict badly with juicedefender?
[Nexus One Themes and Apps] THATTON:
I'm not using JuiceDefender anymore because it just seems to mess too many things up. That's just my experience though.
[Nexus One Themes and Apps] THATTON:
Should we be leaving the regular autosync on or off?
[General Questions and Answers] neglakay:
Has anyone figured out how to get the Work URL Exceptions to work? I have both my private IP Addresses (192.168.0.*) and my domain (*.mydomain.com/*) listed. I am using PPTP VPN, but it only works for Exchange ActiveSync. I am trying to get it to start the VPN Connection for other program such as RDP, or Internet Explorer with no luck. I even tried to RDP into the VPN server, but was not successful either.
[Desire General] atomfix:
Would uaeing the GPS on your phone while on an airplane be illegal? Just to see how fast your going and how high you are?
[Desire General] AndroHero:
does aeroplane mode switch gps off :confused: if it does then probably lol
[Desire General] Flaggie:
I think it is illegal, your phone is not allowed to sent or receive any signal during flight.
[Desire General] caillyn:
It is not illegal. Many pilots use GPS.

You are not allowed to use any radio TRANSMITTER while in flight. GPS is only a receiver, so no issues there. A radio receiver cannot in any reasonable way affect aircraft avionics. Most airlines insist you switch off ALL electronics devices when taking off or landing. During cruise, GPS is fine.

The issues you will find however is that civilian GPS maxes out at about 500kph, whereas a cruising airliner goes much faster than that.

Ive tested my desire, and GPS works in airplane mode.
[Desire General] atomfix:
Thanks all. I will try out my GPS on the plane
[Desire General] SiL3nTKiLL:
lol ive always wondered this...dont want a dam air marshall gunning me down for thinking im bringing down a plane or something lol
[Desire General] Oby One:
Do you think you will get a gps fix?

THe plane will be moving very fast... and as I know if it's moving to fast the cpu wont decode your position in time....
[Desire General] sintaku:
Well try it out and see. But I'm not sure if your phone is designed so that the gps would work at that altitude and velocity.
[Desire General] Flaggie:
Which programme do you want to use to keep track of where you are? because you can't use google maps, since you don't have a data connection. And most navigation programmes only work with roads. Plus (don't know how your flight goes) but most don't have maps of oceans.
[Desire General] lysmask:
I tried my (desire)gps on the plane to Greece, reported about 900km/h and alt 11000m. Not that easy getting a fix though.
[Desire General] mcgon1979:
have used the app GPS status. showed 11000metres and 950kph. no problems.
[Desire General] mcgon1979:
mine showed over 950kph without issue. the limits according to the web are 60,000ft (18km) altitude and 515metres per second (1000knots) speed. anything outside these ranges and it stops displaying location data. so it will work fine on any civilian flight. by the way, the restriction is to stop gps guidance data being used on a missile if anyone was wondering.
[Desire General] atomfix:
I will use an app called GPS essentials from the market, unless anyone else knows a better app to use?
[Desire General] leafdog:
GPS on plane, screenshots...

Here are some screenshots of the GPS on the HTC Desire while taking off....
[Desire General] patasenko:
actually i flew just last month and during the flight either british airways or virgin atlantic stated during the safety announcement that gps devices were also forbidden.
[Desire General] mouth:
http://www.appbrain.com/app/com.theFoneGroup.GPSLogbooks ?!?
[Desire General] ferus:
I used GPS on former phone (HTC Touch Pro) during flights. The fix is not a problem and everything worked fine. I used IGO8 to track speed and position and it was funny when it warned me that I exceeded the speed limit in towns (doing 780km/h instead of 50km/h :) ).

No one actually bothered me when I used it.
[Desire General] BelgianAtheist:
There's no reason why it should be illegal but airlines and flying in general has become very edgy. So it is usually specifically forbidden and as such you "could" get in real problems if you disregard that rule, I'm not saying you will but you gotta be careful. I've used gps in a plane too, you only get a fix right near a window but it works really well, it was spot on with speed, altitude and location there's no speed maximum that I know of on gps.

So be careful and when confronted immediately comply with the steward(ess) they don't know all devices and don't care for arguments.
[Desire General] atomfix:
I think its because of the new GPS distrupters that you can buy online now :S
[Desire General] catdog:
I have used GPS on the planes in Europe for last 5 years, it makes the journey feel shorter as you can see the progress and also spot cities/mountain ranges in distance.

I found that in some aircrafts notably A320 it is nearly impossibled to get a fix while B737 are generally OK. I would put this down to shielding of the cabin rather than some disruptive technlogy used to protect the flight safety.

Same thing actually applies to trains, Google maps works really well there but there is absolutely a zero fix in some more recent ones.
[Hero CDMA Q&A, Help & Troubleshooting] hanman:
I rooted my Cellular South Hero and installed Fresh Hero 2.3.3. Everything was working great for a couple weeks when all of a sudden after ending a call, it started rebooting continuously. I get the HTC logo and the phone vibrates, then a few seconds later, the screen goes dark and it starts over. The bad thing is, it does the same thing in recovery mode. Recovery will start to boot, but then it reboots. The only mode that will not reboot is the one where you hold VOL UP (not sure what it's called). I tried clearing user data by holding Home and Back, but this didn't help. At first, when going into recovery, it said the MISC partition was full. That went away after I cleared the user data. Not sure if it's relevant, but I thought I'd mention it. Please help!
[Hero CDMA Q&A, Help & Troubleshooting] VinceOB:
Yea, this belongs in Q&A, not dev.
[Hero CDMA Q&A, Help & Troubleshooting] hanman:
oh, sorry about that
[Off-topic] djteotancolis:
if any one has a virgin mobile phone that they never use...can you pls pm me thanks...

P.s: i'm not looking to buy a phone so pls dont move it to MP
[Off-topic] Purple Drama Llama:
Hmmmm... dj sumthin baaaaaaaaad???:confused::confused::confused:
[Off-topic] Diamond_dawg:
seriously you have issues
[Off-topic] Purple Drama Llama:
how? I said that cuz hez been gone dor a while....
[Droid Eris General] intermediate Droid:
Ok im getting a replacement for my eris and what would happen if i sent a rooted eris to verizon
[Droid Eris General] Hungry Man:
Who knows? Either way just unroot. Flash the 2.1 image.
[Droid Eris General] Whitepaint:
I DO NOT RECOMMEND SENDING A ROOTED ERIS TO VERIZON! UNROOT TO BE SAFE IT IS NOT HARD.

But I did send a rooted one in for a refurb and nothing was ever said. Didnt get a bill for the phone or dropped from verizon. I honestly don't think they even look at these phones once u mail them in... Probably just wipe it back to factory setting, check and see whats wrong with it and if it can be refurbed.
[Vibrant General] skater4690:
why is this community wanna rip your head off for everything is there any mod for the vibrant section yet i thought this was suppose to be a place for help and to share ideas not for people to talk **** to each other (very manly by the way to talk **** online lol) theres not many people here since the phone was barely released so we should just get along for now till more people come atleast we dont wanna scare any devs away that might be thinking of deving for this phone before i was at the 32b section and it seems at the same time everyone left except cyanogen and the people that make samll tweaks to his rom... i wouldnt want that to happen here... just saying my thoughts
[Vibrant General] spigatelli:
When people tell someone that they posted in the wrong section, it is because they did. If it is a general question, post in general, its not hard. There are a lot of new people that don't yet know the rules. If everyone posts in the dev sectikn for every little question, that forum will be useless. Its not being rude, its being organized. Cheer up and enjoy the phone.
[EVO 4G Themes and Apps] Sprockethead:
I'm using Fresh 1.0.1. I downloaded the Vanilla apps, and apparently there is no way to un-install them. I'm happy with vanilla lock screen and vanilla clock. But I do not like the new gallery. I wish I could go back to sense.

So my next best option is to just get a new photo gallery app from the market. But I can't really seem to find one.

Any suggestion?
[EVO 4G Themes and Apps] deeb215:
flikie with 3d gallery add-on ;)
[EVO 4G Themes and Apps] d j a:
I'm using Fresh as well. For me, I just freeze Launcher Pro using Titanium. (You must have full version) When it completes the "freeze" and you hit the home screen it should ask you what you want to use, ie. Sense, Launcher Pro, Android Mate. Select Sense with the "remember" option and you should be set. You can change back by un-freezing.

A word of warning- if you upgrade Launcher Pro or Flipz drops in a new version and you un-freeze a older version you may go into a FC loop.
[EVO 4G Themes and Apps] vladthedog:
EDIT: I posted in the wrong thread! :) sorry.

But since I did, i might as well be somewhat useful. I was linked here by this thread:

http://xdaforums.com/showthread.php?t=729888

its a thread to find replacement apps for cyanogen vs sense. I very much dislike the "3d gallery" provided by cyanogen. I like a simple file viewer. problem is, if I use something else to browse my files, and click "set as wallpaper" it seems to be conflicted with the 3d gallery program. I then went in to system/apps and removed 3d gallery, but now i cannot set ANY wallpapers. any ideas?

EDIT: Ok.. I think i'm just on crack... everything is working as I want it to now... who knows. I usually screw up more than I care to admit :)
[EVO 4G Android Development] neckface:
<3

10 char
[EVO 4G Android Development] kpoz:
I hope the push command is correct. On my Mac, when the files is on my desktop, the command is:

/adb push /Users/kpoz/Desktop/Browser.apk /system/app

Someone please let me know if the push command is not correct for Windows.
[EVO 4G Android Development] neckface:
I'm using Ubuntu but I have a Windows lappy around with adb setup, I'll test it out and let you know.
[EVO 4G Android Development] kpoz:
Great, thanks. I almost forgot to delete the "./" before "adb" when I was writing the tutorial. For whatever reason, on a Mac the command is ./adb, and on Windows it is simply adb.
[EVO 4G Android Development] neckface:
Yup, same with Linux.
[EVO 4G Android Development] tehpsyc:
Just replaced the Sense Mms app with the stock one using this technique and it worked perfectly. Only thing I did differently was rather than deleting the stock files I just renamed them with a *.bak for easy restoring in case I ever need to.

Also I'm using Netarchy's kernel [FPS fix] and I did not need to do all the steps with the default.prop, I was able to mount the system folder with write permission.

And in case anyone is like me and just wants to replace the messaging app rather than all of them, I'll attach the apk for much quicker downloading. Its the apk straight out of the BuglessBeast ROM.
[EVO 4G Android Development] initial:
Push command is correct for windows. It may vary slightly depending on where you placed the apk files.
[EVO 4G Android Development] kpoz:
Glad it worked for you! Thanks for attaching the Mms.apk.

I'm glad that slow, unresponsive Sense Messages app is long gone. You know there is something wrong with your app (*cough, HTC, *cough) when you get a "Loading" message when opening a thread, regardless of how many messages are in said thread.
[EVO 4G Android Development] kpoz:
Thanks for confirming.
[EVO 4G Android Development] initial:
What is the sense messenger app called? I can't find anything resembling it.

Here's a list of my HTC programs.

# ls /system/app/*htc*
/system/app/com.htc.MusicWidget.apk
/system/app/com.htc.NewsReaderWidget.apk
/system/app/com.htc.TwitterWidget.apk
/system/app/com.htc.WeatherWidget.apk
/system/app/htcbookmarkwidget.apk
/system/app/htccalendarwidgets.apk
/system/app/htccontactwidgets.apk
/system/app/htcmailwidgets.apk
/system/app/htcmsgwidgets.apk
/system/app/htcsearchwidgets.apk
/system/app/htcsettingwidgets.apk

I see the htc messenger widget but do I have to get rid of that? I don't think that's the messenger application file.
[EVO 4G Android Development] kpoz:
The Sense Messenger app is called Mms.apk. Delete the Mms.apk and Mms.odex files. It's in the OP ;)

Do not delete htcmessengeruploader.
[EVO 4G Android Development] initial:
Oh didn't realize it was the same. I'm using DamageControl's ROM and assumed HTC had a different label for some reason. Thanks for clearing that up.

In any case, I got a few FCs here and there and MMS is failing to send on the DC ROM. I'll tinker with it some more and see if I can figure something out.

btw, if anyone is doing this on DC's ROMs then don't bother looking for any *.odex files since his rom is de'odexed.
[EVO 4G Android Development] kpoz:
Originally, Kiraly and I tried pushing these files and then using a shell to install them, but it resulting in a ton of force closes. We couldn't open any of the apps.

Regrettably, I'm not savvy enough to attempt to fix this issue for you if you are running a ROM like DC, especially a deodexed ROM. Best of luck to you.

Maybe the install command will work for you where it failed for me.

Try the following:

adb shell

mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

exit

adb push :\Users\YourUserName\Browser.apk /sdcard

adb shell

install /sdcard/Browser.apk /system/app

exit

adb reboot
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
:(I just install the coustom frimware ( r2-update-galaxys-modacocustomcustomrom-signed) and after finishig install it's rebot and stuck on the logo of Samsung i hear the sound of startup but it's still hang on the logo of Samsung please help me i dont know much about it:confused:..
[Galaxy S I9000 Q&A, Help & Troubleshooting] DocRambone:
1: let it boot, can take some time (5 min) at first boot
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
it's take more then 15 mintues but nothingjust in the logo of samsung what should i do now??
[Galaxy S I9000 Q&A, Help & Troubleshooting] DocRambone:
Take out battery, hold down volume up and home key while u power up.

Make a factory reset and restart again

Take out sd-card first tho.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
Do it but same thing still the logo of samsung:(
[Galaxy S I9000 Q&A, Help & Troubleshooting] DocRambone:
What base rom did you have when you flashed Modaco r2?
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
i had arabic base room after that i put update of mode RC in device and install it so then its appear like that hang on Samsung logo
[Galaxy S I9000 Q&A, Help & Troubleshooting] DocRambone:
http://android.modaco.com/content/s...rom-for-samsung-galaxy-s-with-online-kitchen/

"Requirements

In order to use this ROM on your device, YOU MUST ALREADY BE RUNNING THE JG1 ROM FROM HERE. Do NOT use this ROM with any other base, unpredictable things will happen, the most likely being you'll have to reflash your device via Odin."
[Galaxy S I9000 Q&A, Help & Troubleshooting] DocRambone:
And why use Modacos' rom?

This is better

http://xdaforums.com/showthread.php?t=725194
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
so what i have to do now how i could go back or use any rom? and how
[Galaxy S I9000 Q&A, Help & Troubleshooting] DocRambone:
http://xdaforums.com/showpost.php?p=7152078&postcount=2
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
is this useful and guide and thanks bro for the help thanks again ;)
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
Still same the site that u gave the same instruction i do it but the problem is the logo of Android installation in mobile it appear it remain in the recovery mode and.

I add the CSC and PDA and Phone in Odin when i start it just analysis the file and so on not work :( :( :(
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
i download the file from https://www.wuala.com/Samsung Galaxy S/Firewares

frimware I9000XWJG1 and CSC CODE MODEM
[Galaxy S I9000 Q&A, Help & Troubleshooting] Darkstriker:
Ok. Follow these steps EXACTLY:

1. Make sure you have odin, the I9000XWJG5 firmware and the file that ends on "512.pit".

2. Reboot your PC.

3. Disable your antivirus, firewall and all similar programs!

4. Reboot your PC again.

5. Run odin directly after boot!

6. Select the files in odin.

7. Take the battery out of your phone.

8. Put it back in and press "volume down"+"home"+"power"

9. Connect your phone to your pc via usb cable and wait for odin to recognize it.

10. Press start in odin.

11. Wait!

Do these steps exactly in this order and you should be fine.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
[/URL] Uploaded with ImageShack.us[/IMG]
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
Uploaded with ImageShack.us

Uploaded with ImageShack.us
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
just like that hang in recovery and the odin just analysis the files
[Galaxy S I9000 Q&A, Help & Troubleshooting] DocRambone:
Tick the "Repartion, Auto reboot and F.reset time" checkboxes.

Use the attached PIT file.

(remove the zip extension)
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
the attach file is courrpt.....and i donwload it and it gave error
[Galaxy S I9000 Q&A, Help & Troubleshooting] Darkstriker:
That attached file wasn't uploaded completely.

Another try: Try starting Odin, do NOT add any files, connect the phone and press start (without any files selected!)

If that doesn't help: Redownload all files (including Odin and 512.pit) from my mirror.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
:( nothing i download like u said and all files from ur mirror :( same like in picture it's made me crazy nor it show the logo of downloading i have windows 7 i install all the drivers no action.when i open mobile it just hangup on logo of samsung like in pic after that i hold volume up+power+home button and then it go to recovery after that i plug the usb open the odin add file and then click on start

it's appear like in the picture and the mobile still in recovery.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Darkstriker:
Can you please try the flashing on a different PC so we can rule out any issues with the phone itself? The point where Odin stops seems to indicate a software issue!

PS: Pictures are nice but there is no way we can read the text if it is that blurry. Could you possibly post better pictures?
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
ok i will flash in other pc and i will make screen shot and post it....

i flash in vista xp but dont know wrong with this mad mobile i will broke damn

i will do flash in other pc and upload pic.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Darkstriker:
You use vista xp??? What windows version is that? It can be either vista or xp :S
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
befor i use winodows 7 64 bit then i install the xp and flash it but not work now i will install vista 32 bit
[Galaxy S I9000 Q&A, Help & Troubleshooting] Darkstriker:
Are you saying that it worked in Windows 7 64-bit but doesn't work in Windows XP? Or did you problem start while using Windows 7 64-bit?
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lemillion:
i didnt tried in windows 7 64 bit i just tried in xp and windows vista 32 bit