yashsingh1/xdaforums huggingface dataset:
[Android Software Development] brandall:
Hi Earon, a quick response only, as I'm up to my eyeballs...

There are a few ways of doing this, but a simple way would be to set an IF statement up in Autosync:

IF %WIFIPREF matches [your home SSID]

Turn off mobile data

Turn off bluetooth

Turn on sync

GoTo action - [whatever number skips all of the actions that turn things off]

END IF

For the opposite actions use the task WIFI-1minDis and insert actions for turning on mobile data and bluetooth.

For the connection to your hands free, you'll need a completely separate bluetooth profile that does what you what inside the triggered task.

Hope that helps.
[Android Software Development] Earon:
I went out, walk a bit, read your post, and light came to me :D

Got it! At home now i have wifi and data sync on, rest off. Out of home i have wifi off, bluetooth on, and sync every 20 min with my mobile data plan. This is awesome :eek:

I hope the task doing all that stuff every 20 min doesn't drink my battery, will see!!

Testing the profiles i got to < 25% batt and then they stopped allways at first step as intended, but they do it even if you have the phone charging. Now thinking about it, i believe if i add a variable in the cpu-batterylow profile's start task set to 1 when it is enabled and add an exit task which sets it to 0, i would be able to use it instead of the %BATT < 25%, is this correct? My batt is fully charged, i can't test it right now :confused:

I gonna try to discharge to test that... creating my bluetooth profile :D

You were right, this app is awesome when you understand it. I tried it some months ago and gave up, now i think i will buy it when the trial expires!
[Android Software Development] brandall:
Glad you saw the light! The penny tends to drop after a while and then you're off!

Yes, you are right in switching from just %BATT to an IF 'charging' as well. I don't know what contexts you have already, but you may well want to use an 'on charge' variable in many of you future tasks, so I would suggest:

Context - State - Power - any

Task:

#1 Variable set %CHRG to 1

Exit Task:

#1 Variable Clear %CHRG

You can then use IF %CHRG is set / isn't set in any profiles that consider power consumption.

Back in your current profile, it's then easy (and good for learning the potential of IFs) to wrap it in an IF statement

IF %BATT < 25

IF %CHRG is not set [Note: An IF inside an IF mean they BOTH must be true]

STOP

END IF [This ends the %CHRG condition]

END IF [This ends the %BATT condition]

To take it one stage further for you, if you wanted the < 25% to never be considered when you are at home, you could do the following:

IF %BATT < 25

IF %CHRG is not set [Note: An IF inside an IF mean they BOTH must be true]

GoTo Action #X IF %WIFPREF matches home SSID

STOP

END IF [This ends the %CHRG condition]

END IF [This ends the %BATT condition]

#X

If your home SSID was detected it would then jump out of the IF statements and continue - the GoTo had the IF box ticked, in case that isn't clear - that doesn't require an END IF, because it only applies to that single action.

Anyway, I'm waffling... Good luck with your creating!
[Android Software Development] Earon:
This is perfect, thank you!! CHRG variable will be very usefull, i didn't see that :o Also the use of the SSID gives me a few ideas :)
[Android Software Development] brandall:
You didn't see it, because it isn't yet there until you create it! There is no inbuilt %CHRG variable - the instructions above will help you create one.

I hope that made sense...?
[Android Software Development] Earon:
Yes, yes, my english knowledge is very bad, i tried to say that the idea of a variable to handle the charging status is something i had not thought about it, excuse me :)

I understood your explanation, i handle quite well reading english, but writing... hehehe :o
[Android Software Development] brandall:
^ Pretty good to me :) Just wanted to check you understood, which you did! Good luck
[Android Software Development] d0nald01:
trying to get this to work, but having a hard time.

I can't seem to find the wifi.txt after running test, help please :S
[Android Software Development] brandall:
If you make sure you are connected to WiFi - then just do a simple write file action in a new task - put %WIFII in the text field and set the file to wifii.txt

Make sure you refresh your file explorer - it should be there on the root of your storage card.
[Android Software Development] Earon:
Hi brandall, i only want to thank you for the help you brought to me yesterday, i've learnt tons of things in a short period of time... and i practice my English!! :D

Tasker takes a lot of time and a lot of headaches to have it how you want, but when you get it, makes your life soooooo easy!!

I tested today my car profiles and works like a charm, i think i'm getting in love with this app, hahaha.

Regards :)
[Android Software Development] brandall:
That's great news :) Soon you'll only have to look at your phone and it'll do what you want! :eek:
[Android Software Development] d0nald01:
here are my steps, maybe i am doing it wrong.

1) open tasker

2) click "tasks" on bottom

3) find and click "WIFIPREFCON" and click "Test"

4) Can't find the wifi.txt

thanks for help
[Android Software Development] brandall:
You need to add a write file action into action #1 - the text being %WIFII and the file being whatever you'd like to call it - at present, the task is not set up to do this, so it's something you'll need to add if you want to view the output.
[Android Software Development] chrysochire:
Dropped call

Hey Brandall,

I am using your Data and Sync Control for a while and love the massive battery savings it achieves. I just ran into one minor issue:

I once have been disconnected from a call because Tasker synced data (it was 11 am) and at the end of syncing, turned back to 2G, thus disconnecting my connection and my call (it was a GSM call, not skype or anything... Any Idea on how to solve this issue?

I thought about adding some if %INCALL!=2 somewhere, but didn't find out where it would be appropriate....
[Android Software Development] chamonix:
Hey Brandall,

I really like this tool and your work on teaching the concepts and use of Tasker.

I noticed that the questions/answer post explaining the addition of more %WIFI'location' vars does not mention the need to set the added vars to 1 in the exit step as well as in wifi-1dis.

I'd also suggest that you stress the need for adding DuringCall and EndCall if those do not exist more prominently in the setup instructions; I did not notice that the first reading (ok it was very late) and noticed that something was wrong while trying to browse in the middle of a call (was a good exercise).

Keep up the good work!
[Android Software Development] brandall:
Hi chamonix, great to see your app getting the appreciation it deserves :) It's been a while since I wrote these profiles, so I can't remember as standard if %INCALL is included - it is in my version on action #9 of AutoSync. I need a complete rewrite of it as strictlyrude made a good few suggestions for changes that would make it better and also, as I've learnt more about Tasker, I could make other areas perform more smoothly. I'll check out the post about adding in the exit clearing of variables - thank you.

Hi chrysochire, as I said to chamonix above, I need a rewrite of these to make sure I didn't overlook anything at the time. It's on the to-do list!

You are absolutely right about adding in the %INCALL IF statements to make sure it doesn't happen during a call - Please include them wherever you see a 'data switch' action in AutoSync if they are not already there.
[Android Software Development] speedyv79:
Hello Brandall,

Just wanted to let you know everything is working great now. Thanks for your help and keep up the good work!
[Android Software Development] chamonix:
This test is there already in the latest version but it assumes %INCALL ist set properly (see my note about this not being part of the profiles delivered by this package). Instructions on how to set this var are in the howto but a little hidden
[Android Software Development] brandall:
Thanks chamonix, I'll check it out over the weekend when I'm doing the rewrite and see what I haven't referenced where and what I have wheren't!

That didn't make sense I know... but I'm tired and hence not attempting to fix it now! :eek:
[Nexus One Q&A, Help & Troubleshooting] cdrvf1:
Running Nexus 1, stock, unrooted. Upgraded to Gingerbread OTA. While its fixed a lot of issues, its created a new really annoying one that I am hoping someone can help with. If I try to log into a video camera with sound, either it wont load or if it finally does, the audio and video are over 1 minute out of sync. This is the same regardless of wifi or 3G. Tried using an app like Tiny Cam Pro, same issue. Video loads fine, audio takes over 1 minute and then it runs buffered so it plays from the beginning but video is 1 minute ahead. Trying to connect over the standard browser, it just churns with "Loading Video". Never had a single issue with Froyo as this worked perfectly and started immediately.

Anyone else see a similar issues (i see the exact same issue with a friends N1 2.3.3 trying to connect so its not just my phone) and know how to resolve other than downgrading?

Thanks
[EVO 4G General] mdean1981:
Excuse me for the first post I make here may be stupid but here goes nothing. In the SBC kernels specifically the Tiamat how do you know if the trickle charge is working. Do you need to turn it on or just it just work automatically. Also the HAVS. I seen in another rom there was a controller for it implemented. Is there a such stand alone thing is is this ROM specific? Help and details needed. I've spent an hour searching with no luck.
[EVO 4G General] dirkyd3rk:
I just found out the trickle charge will not work if you're using your phone(kicks in at 100%). Its built into the kernel by default. Only way to test is to download battery monitor widget from market, leave it on charge over night, and check the history and you'll notice that it was trickling positive mA's(around 12-15). I've heard the savage zen rom has a havs controller but I've never used it before. In the dev secs there's a thread with some havs scripts you can run for more control etc.

~ d3rk
[EVO 4G General] mdean1981:
I have installed Battery Monitor widget and took my phone off the charger about 11pm last night. I played on it for almost 2 hours solid and went to sleep and left it off the charger. I got up and spent about 30 minutes on it this morning. So far it has been up 9 hours and 17 minutes and still have 53%. It appears that it is working because it stayed at 100% for most of the first hour. Now to just see if it trickle charges at night.

I selected a SBC kernel because I read on a thread on XDA that it's best to use them if not charging all the time and you only charge overnight. Lot's of speculation on these kernels killing the batteries from what I read but I have yet to see any confirmed reports that this kernel damaged the phone.

I tried to use those undervolting scripts for custom kernels that was featured yesterday and all that happened was a constant boot loop or no boot. I've been told that they made a set for Tiamat kernels specifically here on XDA but haven't been able to locate them. Any truth to this?

Sorry if there is a bit of detail to this post. I just figured I would give a short review of the kernel as any information is always helpful. Thanks to both of you for the help.
[EVO 4G General] dirkyd3rk:
Here's an example of trickle charging working overnight. Once my phone hits 100% completely the trickle charging begins and it just pushes 12mA's all night to slowly fill the battery to its maximum. With out sbc kernels your phone will never let you completely fill your battery to it's true 100%.

I'm sure they did make some for the tiamat ill try to find them and post for you. I'm running the new savage zen right now to test their new version it seems to be working flawlessly fyi.

~ d3rk
[EVO 4G General] mdean1981:
Thanks I appreciate it. I tried the savage kernel. I believe it was the latest one and battery life and performance didn't really change. I'm liking this kernel pretty well but I'm always up for trying another. I'll wait patiently for those links.
[EVO 4G General] josh030181:
What battery monitor is that
[EVO 4G General] mdean1981:
Battery Monitor Widget. It's available in the market.
[EVO 4G General] dirkyd3rk:
Dude, he said he built these scripts off of the tiamat kernel. Some phones will accept them and some zips will be rejected causing a boot loop. Good thing he put a reset zip in there also you just have to test them to see what your phone likes.

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

~ d3rk
[HTC Inspire 4G] hkwong:
has anyone experienced better battery life with either rom? if so please share what you had prior and what your using now.

thanks
[HTC Inspire 4G] XAviierG:
I love non sense Idk why its just smoother

HTC Inspire not Desire
[HTC Inspire 4G] mudknot2005:
Chocolate or vanilla? non sense is going to have better battery life then sense roms but its all preference.
[HTC Inspire 4G] Aridon:
Either can have good battery life. Sense roms need more crap removed since it comes with more crap. Removing the extra bloat from sense and cutting out some of the social network syncing really helps. Htc's own little download thing can be a huge pig for example.

Otherwise its more of a blonde or brunette preference.
[HTC Inspire 4G] metaldood:
I have used Sense roms and they seem to be really poor on Battery. I switched to CM7 and never looked to sense. Sense makes no-sense.
[HTC Inspire 4G] hkwong:
thanks for the responses. personally i like the sense roms. i've been using coredroid and am happy with the visuals. i've been using current widget to see my power drain and it just seems that my device uses more power than other phones. ive got most of my settings tuned down to 1hr peak/4hr non peak intervals and once a day fb updates.
[HTC Inspire 4G] Krisbo:
I've been using MIUI and IMO, there has been no difference in battery life between it and RCMixHD.

Krisbo
[HTC Inspire 4G] ericmccllgh2:
I've been using Android Revolution 4G 3.2 on my Inspire 4G and regularly see 15-18 hours of use before needing a recharge. Brightness on 40% and wifi stays on all day, no GPS use.
[HTC Inspire 4G] juannicolas:
I wouldn't mind CM7 + HTC Sense Facebook
[HTC Inspire 4G] harlenm:
I was using no sense for about a week and switched back to a sense Rom. Actually, an inspire based rom is my preferred choice right now.
[HTC Inspire 4G] cavsoldier19d:
I prefer no sense. With no sense roms, you can customize more.
[HTC Inspire 4G] MrMickeyMoose:
Just off battery life alone I vote for non-sense ROM's.

I'm running CM7 and the battery life is great.

My experience with different ROMs' bat life:

1.CM7

2.Stock AT&T

3.Android Revolution HD 3.3(just a bit worse than stock)

4.CoreDroid GB v5.1[decent ROM but HORRIBLE battery life (for me)(could be because I'm running stock radio)]

Sent from my Inspire4G running CyanogenMod7.0
[XPERIA X10 Android Development] Cwest1:
cant find download file for Cyanogen CM7.0.0 J015 K002 Gingerbread 2.3.3 , pls does anyone have it
[XPERIA X10 Android Development] Lion3494:
WRONG THREAD
[XPERIA X10 Android Development] Mr. Clown:
Thread closed, please post in the correct sections. Search before you post.
[Captivate Q&A, Help & Troubleshooting] leopic:
[Q] Stuck in AT&T Screen boot loop, can't get into either recovery or download mode

I went back to stock (or tried to) and after Odin was done the phone just stuck in the AT&T boot loop, download mode is not working (it was working before so I know I am doing the right combination/timing) doing endless combinations of Vol-/Vol+/Power doesn't seem to get me into recovery mode-

I put my girlfriend's captivate on Continuum over the weekend so I'm sure I'm pressing the right keys to get into download mode, but I get nothing but the battery.

I do have the Android SDK in my computer but I'm never able to get past that naggy screen, so I can't do a 'adb shell reboot recovery' is a JIG my only option?

To recap, can't get into download mode and pressing volume up / volume down and power buttonuntil the AT&T screen and then release the power button doesn't get me into recovery mode.

Need help!
[Captivate Q&A, Help & Troubleshooting] abee_13:
I've been in the exact same situation.A jig is most probably the only option.

Many people have had this problem and find that a jig is the answer.

Sent from my cappy UC'd 900mhz and UV'd running di11is rom/ Onix kernel
[Captivate Q&A, Help & Troubleshooting] viny2cool:
first try with just holding vol buttons and then inserting USB cable...hold vol buttons till its goes into download mode or the screen changes..if not then try following steps...

1. remove the usb cable, battery, sdcard, SIM.

2. wait 10 seconds, then insert the USB cable.

3. press and hold the 3 button combo while you insert the battery

4. continue to hold until phone's screen goes black twice and release power button.

5. timing is critical, it may not work the first time. Keep going until you see the COM port is connected properly.

still no Dl mode..then buy a jig or make one yourself
[Captivate Q&A, Help & Troubleshooting] leopic:
Right so I'm download mode now, but every time I go back to STOCK I'm re-stuck in the same loop, seems that I can't get out of it.

I got into download mode with a JIG, but still can't see my phone from my computer, so I can't run the adb shell to get it to boot in recovery mode :(

I'd appreciate any help you could give me!
[Captivate Q&A, Help & Troubleshooting] BWolf56:
Restart your computer, use a different usb cable, a different usb port. if that doesn't work, unistall the drivers and reinstall, restart your comp and try again.
[Captivate Q&A, Help & Troubleshooting] leopic:
For anoyone that might find this thread, Odin 1 Click didn't work for me, so I flash back into stock using Odin (not the 1 click version, another one), here are some links that proved to be very helpful (I ended up Flashing to Serependity 6.4):

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

http://www.youtube.com/watch?v=Rdn5GoRjhn0

http://xdaforums.com/showpost.php?p=10056254&postcount=36

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

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

http://android-roms.info/roms/80-Serendipity

http://serendipityrom.weebly.com/download.html
[Captivate Q&A, Help & Troubleshooting] Frawgg:
I had the same problem just a few weeks ago.

The problem is once you start using 2.2 you can't use ODIN 2.1 anymore.

This is the one that worked for me I897UCJI6-OCD-REV02-Low-designgears(1)
[Captivate Q&A, Help & Troubleshooting] Pirateghost:
this is actually a false statement.

i can still use odin 2.1 after flashing 2.2 roms and even stock 2.2 upgrades
[Captivate Q&A, Help & Troubleshooting] mrhaley30705:
Anyone thought about trying Heimdall if Odin doesn't work?
[Captivate Q&A, Help & Troubleshooting] langka:
Yes, i tried using heimdall and that didn't work. I'm wondering what leopic did to fix his, if you could list the steps instead of the links that would help a lot!
[Captivate Q&A, Help & Troubleshooting] asorendo:
stuck in att screen and battery loop

so i have tried searching for threads that match the issue i am having and some of them do and some doent so i have decided to post this. i tried flashing back to stock from a custom rom i was using. i used Odin to do this. i didn't work so i tried it again, same result. it dosent boot just sits at the captivate splash screen. i tried using a different oden tool and after that it just loops through the ATT splash screen and if i have the usb cable plugged in, it just loops the battery screen. im not even sure if it charges. i have tried everything i can find to do to get the download mode to come up and nothing, just loops. i have not tried the jig on this phone yet b/c i haven't made it to radio shack yet to pick the resistors up. is that going to be my only option?
[Captivate Q&A, Help & Troubleshooting] TRusselo:
what rom WERE you on?was it cm7 or miui?
[Captivate Q&A, Help & Troubleshooting] TRusselo:
Connection Issues? < click here for information on download and recovery mode....

information you should have had BEFORE FLASHING your phone..
[Captivate Q&A, Help & Troubleshooting] asorendo:
i was on serinity 6.2.

i have tried all possible ways to get into d/l mode that i have found
[Captivate Q&A, Help & Troubleshooting] asorendo:
so from the link provided

FROM A POWERED-DOWN STATE - BATTERY REMOVED

- Insert battery, then press and hold Vol+ and Vol-, then insert your USB cable..

goes into battery loop

- Press and hold Vol+/Vol-, Insert Battery, Insert USB cable

goes into battery loop

- Press and hold Vol+/Vol-, Insert USB cable, Insert Battery

goes into battery loop

- Use a 301Kohm jig between USB pins 4-5 (can be manufactured jig or homemade chain of resistors)

have not tried yet
[Captivate Q&A, Help & Troubleshooting] apbthe3:
Sounds like a jig is in your future.
[Captivate Q&A, Help & Troubleshooting] asorendo:
YAY. i got the resistors hook it all up and download mode loaded up. AWESOME!!!
[Captivate Q&A, Help & Troubleshooting] jimmod:
You safe my Note.. Many Thanks

I thought I lost her x_x
[Captivate Q&A, Help & Troubleshooting] jintao2400:
I had this problem before

Users - I am new on this forum and I know this thread is old however I had this problem and it resolved itself. Here is how.

Background: I tried to charge my ATT Captivate using a Nokia microUSB charger that was plugged into a 120v outlet. After a few minutes of charging, the phone would no longer boot past the ATT World Phone screen. Afterwards I tried everything under sun to get a computer recognize the phone so I could reflash the ROM. Nothing worked (different computer, different USB cables, reinstalled the Samsung drivers, etc....).

Resolution of Problem: As a last ditch effort, I tried charging my phone with the same Nokia microUSB cable that appeared to cause the problem in the first placed. This time the Nokia USB cable was plugged into my computer instead of the 120v outlet. My computer had the Samsung phone drivers installed. To my amazement the phone booted up after I unplugged it from the USB cable and all is well.

I am not sure what happened but my Captivate is back with no damage. Hope this helps some poor soul who is trying desperatley to get a computer to recognize a phone that for no apparent reason will not be recognized.
[Captivate Q&A, Help & Troubleshooting] mangaicaptivate:
Captivate not working after flashing CM10 nightly

HELP, Actually I rooted my SAMSUNG CAPTIVATE I897 and then tried to install CM10 nightly thorugh Clockwork mod recovery. And I forgot to wipe Dalvik cache. The phone got stuck in AT&T Screen for hours together, the phone was not at all responding i.e. neither to download mode or recovery mode. But yesterday the phone went into download mode .. i tried to install the stock rom for Samsung captivate. Its coming till galaxy S screen after that its switching off ... What is the possible solution. Pls Help with this as I am complete novice to this. Help will be appreciated :good:
[Captivate Q&A, Help & Troubleshooting] BWolf56:
Get back in download mode and flash Odin KK4 with bootloaders.

That should get your phone back up. From there, you can flash Corn Kernel to get a custom recovery/kernel and be able to flash CM10 (and their respective Gapps) as per their instructions.

While you're at it, once on KK4 (2.3.5), make a backup of your efs folder in case you get a IMEI error.
[Captivate Q&A, Help & Troubleshooting] mangaicaptivate:
Hi, Thanks for the help but its still staying in galaxy Screen then not responding after that :( ... I flashed thru Odin kk4 with bootloaders. But same problem continues :(
[Captivate Q&A, Help & Troubleshooting] BWolf56:
Did you get an error message? Did the flash go through and say complete?

You can try with Heimdall instead. Use a different USB port though as it installs it's own drivers and will make Odin not work on that USB port.
[Captivate Q&A, Help & Troubleshooting] mangaicaptivate:
hey thnks it worked.. thnks a ton :)