yashsingh1/xdaforums huggingface dataset:
[Desire General] 3722:
It could be an app that is trying to sync at the start of the new day, thus starting exactly at midnight.

In the *#*#4636#*#* menu in battery history select the first drop down menu to "partial wake usage" and see if you can find which process is consuming the most resources in sleep mode.

It is likely that it's a third party app, but you can check that by booting in safe mode and leaving the phone over night to see if it happens again.

If as you say just by starting to use the phone the slowness disappers, it may be an app that is only working when the phone is idle (e.g. some maintenance app, antivirus, etc.).
[Desire General] marcuso:
Thx for the tips.

I checked most of them already ;-)

I found that "E-Mail" was 2nd in the "partial wake" list.

I configured an exchange-account there but set the sync interval to "never".

Nevertheless it is shown (only) with some 20 mins. (for ~6 hours standby) in the partial-wake-list - I found that suspicious.

After some googling today i found this:

http://code.google.com/p/android/issues/detail?id=9307

(this thread says that there is a bug (confirmed by google) that can prevent sleep with exchange-account set to sync never)

I tried to experiment today a little bit (also with setting the clock to 23:55 and wait a while for "midnight" to pass ;-) with different settings and found that "push"-setting shows better results (hard to tell with only ~30 mins. of stats each time). And now i tried with manual sync set to 1 hour (max) and see if that makes any difference.

I´ll dig a little deeper and post results.

In the meantime any tips or comments are warmly welcome. ;-)

Marcus

EDIT: If that "Exchange-bug" should be the reason - i just wonder why midnight seems to be a trigger - but who knows what went wrong deep in the code ;-)
[Desire General] marcuso:
confirmed:

It really WAS the Email-Client configured for Exchange.

No with setting it to "Push" everything is working fine .. when setting the sync to "never" Email start to keep wake-locks !

So everybody with a poor batt-performance should probably check this (if using Exchange) and use "push" until Google has fixed this bug (see above).

Marcus
[Captivate Android Development] glitterballs:
I really think these how-to videos should be in Q&A (or general) instead of development.

Sent from my brain using Thumbs 2.0.
[Captivate Android Development] connexion2005:
I'd probably agree. I put that line in their for a MOD to move them if applicable. Now that I decided to dive into this, if a MOD moves this, might you be able to join my ROM flashing video with this one?

Thanks.
[Captivate Android Development] ozone777:
My company uses Cisco VPN along with RSA SecurID.

I've tried other "solutions" in the past with no success.

Will this process work in my situation?

I have access to all the settings from a .pcf configuration file.

When I had an iPhone, VPN worked perfectly (not that I'd go back to an iPhone just for that :rolleyes:).
[Captivate Android Development] connexion2005:
The VPN Connections applications allows for a secure token so I think it may work. The SecureID just gives you a token correct? And then you input it for access?

If you watch near the end of video 2 I show you that application and there is clearly a field for token input. You should not need the .pcf file for the phone. I would think you would just input the current token each time.
[Captivate Android Development] ozone777:
I tried it and the connection fails every time.

Went through the process twice and followed directions to the letter.

I also tried the check box "Password + Token Digits" and that did not work either.

I'm using a 2.2 ROM currently but I think I'll put my phone back to stock and try again with 2.1.

Your video is excellent, by the way, and extremely easy to follow.
[Captivate Android Development] connexion2005:
Thank you for compliments. Did you verify tun module was running using the lsmod command from a shell?
[Captivate Android Development] ozone777:
Yes, tun was definitely running.
[Captivate Android Development] jwolfburg:
thank you much, works well.
[Captivate Android Development] connexion2005:
Glad it was able to help you! I know I would have loved this info 6 months ago as I was figuring it out. If you are looking for a good RDP app, then use RemoteRDP. I'm using the $20 enterprise edition and it's amazing. They have cheaper versions as well with a few less bells and whistles options.

Now I'm just trying to crack DNS issues with Android not resolving hostnames of machines when VPN'd or on a WIFI network.
[Captivate Android Development] gocats7:
I am getting a device or resource busy when I do insmod android22tun.ko

I am running auxura and I skipped the rooting process as I am obviously already rooted.

Any ideas anyone?
[Captivate Android Development] connexion2005:
I suppose you could try modprobe instead of insmod just to see. It could also very well be ROM dependent and something with this particular tun.ko file could be incompatible. There are many different tun.ko files for different kernels.
[Captivate Android Development] mrjazze:
connexion2005,

I just wanted to thank you for the awesome step-by-step tutourial on getting my phone connected to IPSec VPN. I too am a IT Admin and recently got my phone with the objective in mine to remotely manage infraustruture. Your instructions are to the point and didn't leave much to guessing.

BTW: at the end of the video you mention the gscript tool to run the tun.ko for reloading. Shouldn't you actually had said adroid21tun.ko? That's what works.
[Captivate Android Development] connexion2005:
I mean the technical name of the vpn module on linux based equipment is tun.ko so that's what I went with. I understand that may be confusing now. Whatever the module is named is what needs to be loaded. So you could call it mobiletechvideosdotcom.ko and that's what you'd load...lol. Thanks for the compliments!
[Captivate Android Development] mrjazze:
Your very welcome. I think i have watched all your videos and I have to say great job.
[Captivate Android Development] mrjazze:
connexion2005,

It seems I have run into a problem. I have been able to connect to our ASA a few times already, but when I just tried today it fails. After investigating, my script to load the android21tun.ko fails with error "init_module 'android21tun.ko' failed (file exists). I even get the failure after reboot phone. Do you have any suggestions.

PS: Out of curiosity, you suggested RemoteRDP, have you tried PocketCloud? I like it so much I will pay the $14.99 for full version.
[Captivate Android Development] vst2010:
Thank you. This worked like a charm.
[Captivate Android Development] connexion2005:
I have not used PocketCloud but RemoteRDP is absolutely phenomenal. Is this occuring even after a reboot? Perform an lsmod from a terminal and check to see if the tun module is running. I'm not sure why this would happen. May have to uninstall everything including the tun and re-perform the steps.
[Captivate Android Development] mrjazze:
I did get it to work again. Strangely, it was after receiving a phone call that the module would load. Thanks again for your assistance.
[Captivate Android Development] connexion2005:
Well that's good. I can't explain any bugs as my dev work only extends so far!
[Captivate Android Development] stevenperry:
ERROR: insmod: init_module 'android22tun.ko' failed (Device or resource busy)

I am getting the same error regarding busy. I am running Phoenix 1.5. What is the modprobe command? Can you provide a command line sample?

I would love to get this working.

PS - On 2.2 the sdcard folder is actually /mnt/sdcard, does that matter? Also, I did not have to do the busybox install as it was already installed, will that matter if I just skipped that step, are the directory dependancies?

Thanks.
[Captivate Android Development] connexion2005:
Tun support may be native on your ROM. Attempt to avoid loading that module manually and precede to the other steps of VPN connections and what not. You actually don't have to use the VPN Installer or Settings if it's native it's just that until recently, it was never native. Also I'm referring to your internal sd card which should simply be /sdcard.

When I say modprobe instead of insmod, I mean instead of:

insmod tun.ko

try

modprobe tun.ko < Never seen it work but hear some kernels support the command.
[Captivate Android Development] tosken:
To other devices

Hello

Thanks for the guide. But I have a question though, is it possible to run this guide on any android devices such as a tablet pc with modaco R6 rom?
[Captivate Android Development] connexion2005:
This would work with any rom so long as the tun.ko is correct. The is no risk in trying to make it work. You may need to search a different tun.ko file and replace the one included in my rar package with the correct one for a tablet as I have no way to test the tablet.
[Captivate Android Development] tosken:
the risk of sounding stuiped, but what is tun.ko?
[Captivate Android Development] connexion2005:
Hey no stupid questions unless the info is stickied and at the top of every thread lol. Tun is a module and has a .ko extension so it is referred to as tun.ko. The module is what the operating system uses to use IPSec VPN. Think of it is kind of a driver. It interacts with the kernel specifically to allow this type of VPN to work. Some kernels have the support for tun or tun.ko built in and the process of loading the tun.ko file is unnecessary (most don't though).
[Captivate Android Development] volkovski:
Hello,

when Im trying to implement tun.ko, Im getting this error :

# insmod android22tun.ko

insmod android22tun.ko

insmod: init_module 'android22tun.ko' failed (Exec format error)

Thanks in advance

Volkovski
[Captivate Android Development] connexion2005:
What rom are you running?
[Captivate Android Development] volkovski:
Hi,

I5800XXJPF - Froyo 2.2
[Captivate Android Development] connexion2005:
I have definitely not tested with that build. You are going to have to see about finding a tun.ko file compatible with that build. I know mine works on almost all 2.2 Captivate based and i9000 based builds but have not verified that one. Then just sub in your own file and complete the steps. Also, make sure you are not working with a kernel that has built in tun support. Otherwise you can omit the tun.ko related steps. DG's Firebird kernel is an example of a kernel that has built in tun support.
[Captivate Android Development] kuberski:
May need NAT-T

Thanks for posting this!!! After following your instructions I was able to successfully connect to my Cisco ASA appliance over wifi, but not over GPRS. Because my data plan ties my phone to the wap.cingular APN I could not connect with IPsec due to the NAT translation that occurs using this APN as opposed to the isp.cingular APN. The solution was to enable NAT-T on my firewall and then it worked like a charm over GPRS!! I just wanted to share my findings in case it helps someone else. What a great forum!!!!
[Captivate Android Development] connexion2005:
No problem buddy. I'm a systems administrator and this was one of the first things I wanted to document as I had a heck of a time compiling all of this info to make others lives easier. I feel like I'm finally giving back lol.
[Captivate Android Development] volkovski:
Hi,

How do I make sure Im/not working with a kernel that has built in tun support ? I suppose will be tricky to find a compatible tun.ko :confused:
[Captivate Android Development] volkovski:
I have a problem, bluetooth won't start, I dont know what to do, I tried reboot, but didnt help. :confused:
[Captivate Android Development] TylerTressler:
Hello There, I'm running Serendipity 4.0 on my Samsung Captivate. I'm a student at Penn State and they use the Cisco VPN so after some research i decided this was probably the way to go.

After working on this for awhile i'm stuck. When i pull up the script for the 22_VPN_Script... I get this message

failed to copy 'android22tun.ko' to '\sdcard': Is a directory Push complete.

Then if i press any key i get this message

2720 KB/s (420687 bytes in 0.151s)

\sbin\sh: pm: not found

VPN CONNECTIONS INSTALLED. Press any button to continue installing VPN apps

I get that for every file it tries to push. Please help.. And if i am not able to run this script can you tell me how i can side load those apps in. Thanks
[Captivate Android Development] connexion2005:
Just manually move each app and the file you need to your phone. Check out my sideloading video to see how.
[Captivate Android Development] TylerTressler:
Hey i did the SDK video and the sideloading video and attempted to sideload the busybox and also the VPN_Connections_v099 apk's. However when i did this i got a message saying 1636 KB/s (420687 bytes in 0.251s)

/sbin/sh: pm: not found
[Captivate Android Development] connexion2005:
What ROM are you on? You are the first to report this issue. Are you rooted?
[Captivate Android Development] TylerTressler:
I am rooted

att samsung captivate

Firmware 2.2.1

Baseband I9000UGJK4

Kernal 2.6.32.9

rGB-v.4-steam #8

Build Serendipity 4.0
[Captivate Android Development] connexion2005:
Try putting the apks on the phone then installing from there. I'm not sure why the script would be giving your problems.
[Captivate Android Development] TylerTressler:
Im still a tad new to this. Do i just use like android explorer and put them there. i'm not really sure how to do that?
[EVO 4G General] Beejis:
But what does that mean for us current Sprint/EVO owners? Is this a good thing or a bad thing? I'm thinking this is great for us EVO owners but bad for Sprint as this makes it seem like they might not be getting many more new Android devices. But us EVO owners will likely see many new updates! What do you think, does this really mean anything to you?

http://www.onlineshoppingfree.com/2010/12/10/htc-evo-4g-production-for-2011-increases-to-60-million-units/
[EVO 4G General] semperlux:
Demand for Evos and Epics has increased exponentially and the price is dropping. They'll still come out with new devices.
[EVO 4G General] DirtyShroomz:
The Knight/Speedy whatever you want to call it comes out Jan 9th. Many more phones are coming...
[EVO 4G General] mitchellvii:
The EVO is taking on iPhone-like status. It is sleek, stylish, fast and a quality build. It's popularity is reaching critical mass where it becomes the "go-to-Android-phone". Also (and no offense to the ladies), compared to the iPhone, the EVO looks more like a "guy" phone. It's a Mustang. The iPhone is a Miata.

Last point, Sprint is very affordable compared to these other carriers with all their upcharges and limited data plans. Good pricing, great phone - winner.
[EVO 4G General] EliWay:
Sorry, but I think that article is spam. Is the OP associated with the website? Where's the source? 60 million is a ridiculous number.

How can HTC build 60 MILLION EVOs if Sprint has 48 million subscribers?!

No doubt the EVO has done very well.. but 60 million? That would have made it one of the most successful products in history...

Article = Bunch of BS to attract pageviews and ad clicks.
[EVO 4G General] devnulldroid:
Based on this WSJ article from July 2010 looks like HTC and Sprint are doing a great thing for customers by trying to keep new phones and also have extras, especially when screens get broke.

Samsung is building a factory for screens but it wont be up and running until 2012 and a deal with Sony was in the works too.

Either way they will have phones and parts available and wont get to where they dont have them in stock for a month at a time..

Anyone remember when you had to wait a month for an EVO? Imagine if you had to wait a month for a repair because they didnt have screens.

They noticed the shortage issues back in July and fixed it..and even have room with a couple extra million as replacements for breakages etc.

I say great job HTC and Sprint for projecting future negative issues with supply and demand and keep up the great work.

Now to find out if my touchscreen is Samsung or Sony.... ;)
[EVO 4G General] Beejis:
You may be right cause it does seem high. And no I'm not associated with this site, or any site for that matter.

Sent from my HTC EVO 4g
[EVO 4G General] jdh10475:
That makes no sense Sprint only has around 50 million customers that would be more than one evo per customer.
[EVO 4G General] devnulldroid:
Massive recall due to battery drain issues and 4G radio not shutting off.. even in airplane mode? Boy the feds might have a field day with the latter, but hey the FCC approved the phone. Don't believe me..toggle on 4G and toggle back off. Run aLogcat or another other log app and watch it still trying to connect to something.

Only way to kill it is to reboot or shut phone off every time. Doesn't seem to matter if phone is rooted or stock.
[EVO 4G General] cesarcerros31:
What are you talking about I have great battery lasts all day no prob connect and disconnect 4g like butter

Sent from my soon to be gingerbread evolution 4g
[EVO 4G General] mbaseball3:
Uh yeah, obviously someone decided to interpret another sites info:

www.digitimes.com/news/a20101209PD216.html

Sent from my Evo
[EVO 4G General] devnulldroid:
So when you run logs you dont see this.. even after shutting 4G off?
[EVO 4G General] MARS81613:
They changed the article. Even though I love my EVO it is not a world phone, only there would you need 60 million of them. Instead it is only for USA and then only 1 carrier. Easy smart/retarded way to get easy web traffic depending how you look at it. HTC said they needed to ramp up production to 60 million HANDSETS, meaning their whole line not just the EVO.
[Windows Phone 7 Development and Hacking] amaric:
Hi guys,

I used ChevronWP7 to unlock my device. But every time I connect device to a PC and sync with Zune device relocks. Is there any way I could prevent that?

I read about device checking periodically if it should be unlocked. I am not sure if Zune caches that. But there must be a way to prevent that. It is very annoying.

Thnaks
[Windows Phone 7 Development and Hacking] jonusb4:
Only when we have our own ideals, can
[Windows Phone 7 Development and Hacking] amaric:
I can see this is your first post.

I was thinking if Zune contacts Microsoft to check that every time when I connect a device, then disconnecting from the network or disallowing access to a certain address I could prevent that. But if that information is cached than I would have to find that somewhere.
[Windows Phone 7 Development and Hacking] Xerax:
Leave ChevronWP7 open after it's unlocked your phone. It'll never lock until you close it. Now to find a way to bind ChevronWP7 code to the Service that detects the WP7.

;)
[Windows Phone 7 Development and Hacking] jfwfreo:
Maybe the answer is to create a 3rd party Zune Sync tool (i.e. reverse engineer everything that doesnt involve copy protection/DRM) so that you can use that instead of loading the MS tool that does the unlock check.

Such a tool could allow syncing of WP7 from Linux also. (if it was ported that is)
[Windows Phone 7 Development and Hacking] tyrannus:
The device is checking a service OTA, not sure this would matter much. If you leave the chevron app running 24/7 and run a custom DNS server on your network, you could mitigate some of it... a pita? possible...
[G2 and Desire Z Q&A, Help & Troubleshooting] tw1k:
I'm running CM 6.1 Stable. I have two apps installed that I have configured to provide me with background notifications: reddit is fun and Foursquare. Reddit is supposed to check for new messages hourly and Foursquare us supposed to check for friend updates every 10 minutes. Neither app is functioning in this regard.

Has anyone else had an issue like this? Is there by chance some setting that prevents 3rd party background notifications from working that I may have enabled by accident? Gmail notifications are still working.

I checked my system log for errors or anything unusual while enabling or disabling the Foursquare notification feature and there was nothing that I could see.

Do apps need to have a service running to provide this sort if functionality, or can the Android system simply let apps schedule periodic tasks? I ask because I don't see any services running for these two apps, and if they are required, that would be a problem.
[G2 and Desire Z Q&A, Help & Troubleshooting] theXeffect:
try moving it back to ur phone not ur sdcard......
[G2 and Desire Z Q&A, Help & Troubleshooting] tw1k:
Neither app is on the SD card.
[G2 and Desire Z Q&A, Help & Troubleshooting] theXeffect:
are you sure.....
[Galaxy Tab Themes and Apps] Justin^Tan:
here's the thing, i only got edge on my area for now

wont be in my hometown till xmas, when i can get a decent 3g for downloading

gameloft needs quite a massive data download

lets say dungeon hunter for 300mb

i did insist on downloading it, with some failure upon it

tried once, got 30mb, down to 270mb for next downloading

got 50mb on the next, down to 220mb for next

got 11mb, down to 209mb for next

after that, never got a reduce even if i left it for a long time, and when i check battery use, the MB on the app is actually increasing, the edge status keeps showing downloading

anybody know why?

i tried clearing data and deleting on gameloft folder, files that showing 0 on size

but of course i dont want to delete it all which would be absurd since it took me hard enough from 300mb to 200mb

can anybody help me?

what should i do or need to delete or anything to be able to finish my download, since it actually can be resumed from 300 mb down to 200mb with some fail download
[Galaxy Tab Themes and Apps] funtoosh:
I had similar issue, I had to finally delete everything and start from scratch
[Galaxy Tab Themes and Apps] eskasi:
Same here... was doing NOVA on WIfi... stuck with 59mb left... nothing worked. Deleted the folders, uninstalled and cleared cache. Then reinstalled and downloaded. While downloading, I was surfing the net and doing some other stuff to make sure the connection kept on going... finally got it working
[Galaxy Tab Themes and Apps] Justin^Tan:
well, in that case, i need to wait till i can get myself a good internet speed then >.<
[EVO 4G Q&A, Help & Troubleshooting] ShadowRAM:
Just took the plunge and upgraded from v2 to v3 and while it's nice that it has a bunch of new features it's a lot less configurable. The main problem I see is that when you plug in your phone it automatically tries to sync, and I can't not find anyway to disable that. :mad:

I sync my Outlook contacts to an old PDA (which is supported at work) and my EVO. I like to be able to manually sync them in order to avoid any conflicts.

Has anyone figured out how to do that short of disabling sync on the "People" screen and manually cutting it back on each time I connect?
[EVO 4G Q&A, Help & Troubleshooting] jacoballen22:
Try using the power manager pro and doing it that way.

Swyped from my HTC EVO 4G via xda app
[Desire HD General] johnkor:
Guys , where does your Desire HD made in ?

as for me mine is made in china , does it means mine is Imitation ?
[Desire HD General] southadam:
Mine one made in Taiwan.
[Desire HD General] jords12:
Yeah, on my box it says made in taiwan. It's likely that some components/accessories are made in china though, where did you see that?
[Desire HD General] Mr.Greg:
HTC is orriginary from Taiwan, mine is from Taiwan. One my friend got same phone but is from China, I can use my phone 2 days with normal use with one charge, he just one day. I preffer HTC from Taiwan, I hear from Taiwan is better. May be is not true, I`m not 100% sure