yashsingh1/xdaforums huggingface dataset:
[Desire General] ironshark123:
hello folks..

hope you all doing good..

since 2 hours my Internet connection is not working on my desire,,it was working in afternoon but not since evening..

when on the internet, its shows a Sync sign on my notification bar But nothing sync & only upload bar is ON and download bar is off, so not able to open any web page.. and the other thing is my internal memory shows 60mb free which earlier showed as 50mb.. so i'm little confused here. whats going on..

need help from you guys,so should i make my internet work.

thanks :)
[Desire General] DaEkstrim:
First of all, what ROM are you running, or are you still running on HTC's factory Sense? Secondly are you using WIFI or cellular network? And how do you know that your internet connection is not working? Give us some more detail to work with :)
[Desire General] ironshark123:
i have not root my phone,,im running official gingerbread on my desire & using htc factory sense..

i'm trying to use cellular network,,dont have wi-fi.

i'm not able to open any webpage or android market...there is sync icon on notification icon which appears once i connect to cellular network & nothing happens.. :(
[Desire General] DaEkstrim:
Just for asking, but have you tried rebooting your phone?

Also, do you know of anyone else who is using the same carrier, and check if they are having the same issues?

Did you maybe skip your contract limit?

I'm asking you these questions, to be able to isolate the problem, and not just point fingers at your phone :)
[Desire General] ironshark123:
yes i reboot my phone,removed battery & again restarted,,but still internet doesnot work..

nope,,non of my friends are facing this issue & net is working my other nokia phone..and still 850mb data is available for me to use,, :(

yea i understand that..
[Desire General] DaEkstrim:
This problem is dwindling down to be related to your mobile.

Are you using an APN? If so, can you open it, write down the settings, *delete it* reboot your phone and create a new one with the same settings?

If you are not, I'm beginning to run out of ideas of what could be causing you this issue. :confused:
[Desire General] ironshark123:
guys i got the solution... the below software made me help copy messages & all my contacts to pc..

http://www.wondershare.com/android-manager/guide.html

try it,,u will love it..

thanks for ur reply :)

gbu
[Desire General] ironshark123:
hey mate i did factory reset,,still same problem occurs,, & cannot connect to internet... :(

any suggestions ..what can i do next?
[Desire General] DaEkstrim:
You may want to try one last thing. Swap your sim into another mobile from which you can access your carrier network and access your internet from it. If it works then I'm afraid you're going to have to take your mobile for repair since you're still on stock rom. If not then somethings up with your contract, and should contact your carrier for an explanation.
[Desire General] ironshark123:
yea im currently doing that... :/
[Desire General] ironshark123:
i insert my sim into different cellphone,,still internet does not work.. it gives following message---

Data connectivity problem. The server failed to communicate , Try again later.

now, what to do?
[Desire General] DaEkstrim:
I suggest you talk to your contract carrier since it seems that your phone is not the problem.
[Xperia Play Q&A, Help & Troubleshooting] weirdo12:
Hello, this is my first thread in xda developers so please forgive my mistakes. :)

Ok, so I wanted to root my xperia play. I tried zergrush doesnt work (cant copy file superuser.apk) , superoneclick doesnt work (stuck on "waiting for device") , flashtool doesnt work (stuck on "waiting for device").

can someone please help me root my xperia play?

Sony Ericsson Xperia play

R800i

2.3.4

2.6.32.9-perf

4.0.2.A.0.62
[Xperia Play Q&A, Help & Troubleshooting] 0mega007:
You can't use zergrush method on 4.0.2.A.0.62 , just until 4.0.2.A.0.58 version.

maybe flash 4.0.2.A.0.58 firmware with flashtool, i got that one because is easier to root, and safer.
[HTC One X] j4n87:
Download:

Free version:

SmartSync Disabler

Donate version:

SmartSync Disabler Donate
[HTC One X] gpz1100:
j4n87, Thanks for the fix. Can you expand on how your fix differs?

Thanks!
[HTC One X] H-KaN:
Im going to test it tonight and will report if it works. My Phone is completely stock, no root, nothing.

----------------------------------------------------

Edit: Not working for me.
[HTC One X] UR1:
Yes, I confirm this app works on locked non-rooted HOX 100% as described.

Thank you very much.
[HTC One X] Sergy330:
I was testing the app this afternoon and works great!

Problem solved by j4n87 ;)

thx mate!
[HTC One X] modplan:
Awesome thanks!

Any way you could provide a Tasker/Locale plugin with this app, maybe a donate version that has this? (or a way to toggle it via command line, there is already a plugin to run commands)

I'd like to disable SmartSync when I'm at home (or charging) but re-enable it if I'm staying with a friend or something so my battery will last all night.
[HTC One X] stuart0001:
You could just set up profiles to turn off the data and wifi at particular times and location
[HTC One X] modplan:
I've already done that, but even with wifi on at night, SmartSync will disconnect it after 20 mins of screen off. I backup my sdcard to my home server nightly, and backups are failing because of SmartSync, even with wifi turned on.
[HTC One X] stesa:
not working here
[HTC One X] stuart0001:
I'm suggesting you turn off the smart sync using this app and don't bother reenabling it at all and just use Tasker to turn off data when and where you want
[HTC One X] modplan:
Ahh i see, thanks for the clarification.

While that is certainly an option, for me turning off smartsync only at home would be ideal.
[HTC One X] adazamim:
Will test, Real time 01:10Am Cairo Local Time

I have installed the your app, on my S-On, un-rooted HTC One X (Information on my signature)

It's Now Exactly

01:10Am Cairo Local Time.

I have just locked screen and got my phone to sleep mode.

I will report back at Exactly: 01:45Am, to be sure.

Thank you
[HTC One X] the_scotsman:
Is this issue somehow possibly related to this, over in the ATT One X forum?

http://xdaforums.com/showpost.php?p=27343048&postcount=2038
[HTC One X] modplan:
This is about wifi disconnecting between midnight and 7am if the screen is off.

I think I see what the OP's app is modifying to diable this. Running some tests now.

If we know what is being modified, this can be ported to be more versatile, like a tasker plugin.
[HTC One X] the_scotsman:
Yea I know, but it sounded like a related issue so just thought I'd ask :)

A Tasker plugin would be handy indeed :)
[HTC One X] meangreenie:
Will this work on the Evo-3d with ics on 3.6 sense? I've used mikey's fix but would be good to have an on off control app.
[HTC One X] gpz1100:
I'm sure the OP did sufficient testing to make sure it addresses the htcsmartsync flaws. If you want to test further without touching the phone during the time period in question, consider the following. Most routers show connected clients, be it wired or wireless. On my wrt54g with tomato firmware, it was clear when the phone was dropping off because no signal level was being reported.

I would, still like to know how the OP's method is more robust/different than the other fix posted?
[HTC One X] modplan:
If my tests are conclusive, I'll reveal the method so more people can use it. All credit goes to the OP though. I dumped his app to smali, but it wasn't much help. He used Stringer to encrypt all of the strings in his app to prevent anyone from seeing what it was really doing, but the structure of the code gave me a few pointers and after looking at the smali from the stock code I think I have found a fix.

---------- Post added at 01:39 AM ---------- Previous post was at 01:38 AM ----------

I'm not sure, but I would guess Yes. I can confirm it works on other sense 4 roms (Evo 4G LTE)
[HTC One X] meangreenie:
Ok i'll give it a try and report back
[HTC One X] gpz1100:
So much for open source. LOL
[HTC One X] adazamim:
Not working, sadly

I tried to testing the app,

Unfortunately it didn't work,

Here are the things I tried.

I installed the app

Put my phone to sleep at 01:10 Am

Checked at 01:30Am and the

WiFi wasn't there

.

I disabled the "Automatic Date and Time"

Put my phone to sleep at 01:35Am

Checked at 02:00Am and the

WiFi wasn't there

I re-enabled "Automatic Date and Time"

Turned my phone off with "Fast boot" disabled.

Turned back my phone on.

Put my phone to sleep at 02:30Am

Checked at 03:00Am and the

WiFi wasn't there

.

I UnInstalled the app.

Thank you for the efforts thogh.
[HTC One X] gpz1100:
^^Whats your settings/wifi/advanced background data setting?
[HTC One X] meangreenie:
Didn't work on my Evo3d either. Gone back to Mikey's modded Settings.apk method.

probably because it's 3.6 sense instead of 4.0
[HTC One X] Lo_RaT_PeNaT:
just because I'm the exception, but I works perfectly, so I thank you very much for the work, you are, after Messi, my idol. a greeting
[HTC One X] :
FYI:

The method is just tested for the HOX and was confirmed working for several users.

I tested it myself several times by putting the device manually to a time betwen 00:00 and 07:00 am. and it worked several times.

I will download now noe sense 4.0 roms from other device and also sense 3.6 ics roms and look if it should work there too.

Also I meant this soltution for NOT Unlocked users...a cleaner method for rotted users would be pretty easy...but this requires editing the Settings.apk and wouldnt be device independent.

For the ones that complaining that I obusfactored it...I just did it because the past showed that devs kanging stuff without giving credits or some putting apps in the market from xda etc...

But anyway I will share my finding when its proper tested and I can confirm on which devices it should work and not.

I will close this thread until I made some investigation.

Cheers.
[HTC One X] :
I will "open source" it myself after proper testing again...The code in my java app is quite simple.

And well I dont think you found a fix for Locked users, finding a fix for rooted users is as already said easy.

But well, teh toggle was alraedy there, implemented by HTC...but theres no interface for it to toggle it, lol.
[HTC One X] :
Okay, I checked a sensation ics 3.6 apk and it should work there too..actually.

Pls try the follwing:

- ensure you the setting "always" choosed in:

Settings-wifi-menu-advanced: keep wifi activated in standby

Think on previous android versions the setting was called put to sleep: never" - maybe still the case for ics 3.6 sense.

- disable the smartsync with my app

- reboot

- put your time manually to e.g. 01:00 am Settings->date&time:deatvate automatic time

- turn your wifi on and screen off and wait >20 minutes and see if after >20 minutes your wifi is still connected.

I tried this several times and it worked...unchecked it in my app again and waited 20 minutes and it wifi was disconnected.

So the funtion in the app has definatly an effect. But maybe it needs more to be done....for some its working and some not.

When you make a report pls add the follwing:

- time you tested it: by manual setting the time our real conditions

- device you are using

- ics 4.0 or ics 3.6

- if it worked/not worked for you of course.
[HTC One X] justin.hew:
Same situation for me. It didn't work on my HOX too.. :(
[HTC One X] OliverHaslam:
Worked for me with a couple of hours of tests yesterday. Latest version of the software for the One X. Not got the numbers to hand.
[HTC One X] :
orig post here.

Steps to test it properly:

- install and open the app

- check the "Disable smartsync" in the app

- do a reboot

- open the app again and look if its still checked

- turn on wifi

- set your time manually to 11:55 pm, turn your screen off and wait >20 minutes

- after that time turn your screen on and wifi should be stilll there.

do teh same steps again, just with unchecking "Disable smartsync" in the app...your wifi should be disconnected after 20 minutes screen off time.
[HTC One X] OliverHaslam:
I know it seems obvious, and everyone is probably doing it, but you are all actually switching it on aren't you? The app doesn't activate automatically.
[HTC One X] justin.hew:
I have try few times, but still same. Not only WiFi, 3G data connection also same. :(
[HTC One X] TaintedByte:
I have read this whole entire thread. I wanted to do some tests of my own. First I simply installed and enabled the app, shut off my screen and waited 20 minutes. Turned screen back on, wi fi was disabled. This was expected based on the fact that I didn't reboot.

I rebooted. Turned screen off, waited 20 minutes and then turned it back on, wi fi did not drop. This was within the 12am-7am window (real time). Second test I did was manually set clock to 11:55PM and waited another 20 minutes. Turned screen on, wi fi was still latched on.

And my phone isn't even a One X. I did this test on my Evo 4G LTE. This works on my phone, it should definitely work on everyone with a OneX (Or sense 4.0, really) otherwise you are doing something wrong. Make sure you have keep wi fi while sleeping to "always" under wi-fi settings. These are two different toggles.

Anyway, thank you very much OP, this even works on my phone :D
[HTC One X] :
Thanks for the report m8!

Well i donwlaoded a sense 3.6 Settings.apk from the sensation..and it should even work there!
[HTC One X] stathis95194:
Guys, after you disable Smartsync on the app, do a reboot. It doesn't hurt, and it sure helped in my case :)
[HTC One X] DannyKN:
Testing observation/recommendation

I tested the app quite a lot and I can confirm that it keeps WI-FI or Mobile DATA ON even during 00-07AM. However I think that checking the app functionality only by turning screen ON after >20 min. of phone sleeping is not enough and I recommend, especially to the ones that already have positive results with the app, to leave the screen OFF and check the data functionality itself, for example sending to themselves emails from a PC, leave Skype, or any Instant messenger logged-in and try to contact the phone from a different account, etc.

I mean, try to confirm the DATA real functionality during the night not only the displayed status when Screen is turned on (that one is known to work already).

Also, try to check with much longer screen sleeping time than than 20 minutes.
[HTC One X] mickyw1980:
This works ideal for me with working nightshift, tested all last night and working 100% :)
[HTC One X] OliverHaslam:
Yeah, it's the night shifts that highlighted the problems for me.
[HTC One X] modplan:
Your app is VERY simple, all it does is change a field in the standard system settings in data/data/com.google.android.providers.settings/databases/settings.db

You do not need to be rooted/unlocked for this.

I can tell that much from the smali of your app.

invoke-static {v4, v5, v6}, Landroid/provider/Settings$System;->putInt(Landroid/content/ContentResolver;Ljava/lang/String;I)Z

But I cannot tell which field you changed since you encrypted your strings. v5 is the name of the field you are modifying but as you can see the string is encrypted.

const-string v5, "\u419a\uc3a7\u5be2\ub1ef\u989a\u909a\ufb7a\ud07d\u8919\uc1c7\u118b\u4961\u269b\u26c2\uc915\u0a29\u55c9\uccdf\uadeb\ua123\ub476\ubb1a\uca95\u9a53"

invoke-static {v5}, Lcom/j4n87/smartsyncdisabler/SmartSyncDisablerActivity;->onCreate(Ljava/lang/String;)Ljava/lang/String;

move-result-object v5

I see several fields in the standard settings database having to do with SmartSync and I'm playing around to see if I can figure it out which one you are changing. But maybe you will beat me and open source it first :P

If needed I can just throw some prints into your string decryption method and recompile it and dump all the strings, but I like the challenge and that's like cheating ;)

I'm only trying to figure it out because I would like to toggle this on and off via command line, instead of having to use an app, so I can automate it.

Also, I think this may be a HALFWAY solution. Using your app, I could definitely tell a difference, the wifi did not shut off for several hours (before it would shut off after ~10 minutes) but it DID still shutoff late in the night.

The original person that found out how to bypass this noted that there were multiple calls in SmartSync but also in other places that would shut the wifi down. We may need to revisit his posts to do some more backtracing to find the other calls that are shutting off wifi at night.
[HTC One X] :
I told you that my java code is simple...but well, still required hours to figure out that this toggle exists which is acessable from outside.

And well, yeah, I already said that it works for locked users as well..just thought you was talking from another fix.

..but well I found another toggle that we can control from outside...which has something to do with smartsync and wifi...its in the files mikey posted.

And well I see no reason why you see this like a battle...imo it would be quite impolite to put it in your name opensource when its based on my findings and hours I put in...until yesterday no one know about that toggle.

And also when not much code is required to accomplish it...it requires lots hours to find it...
[HTC One X] DanteGR:
Jan it seems i get to try ur app after all.

The new Renovate rom has Mikey's scripts disabled but INCLUDES ur app so I will let u know mate :)

One other thing.

Would it be possible to include the fix in every rom from now on (rooted users only) without using the app? Is it too difficult to do?

Thanks again mate :)
[HTC One X] modplan:
I am not re-writing or releasing any app. I am only trying to find the system field you changed so I can toggle it from the command line on my OWN phone. All credit goes to you for finding it, I would just like to automate this setting and I cannot automate it from your app.

It's not a battle, I'm just a software engineer myself, and when someone finds something awesome but then keeps secrets by encrypting their code (especially in the Open Source android world), its in my nature to try and figure out how they did it :D

No one is trying to steal your work here man, we just want to know how the app works so we can automate the process! Can you tell us the field name in the settings database you are toggling?
[HTC One X] :
well if he already got mikes my app wont be able to toggle it.

Funny that he includes the app without even thinking about if its okay, lol.

Love xda.

And well, yes it would be possible to set this values in the db with a script which runs on bootup of teh rom to apply it immediatly.

pm me with your gtalk m8.

And well the app is just for users that dont have an unlocked phone.

I will definatly share my findings with the developer scene on xda when I got enough confirmations that its working

Btw at all...theres v2 out. found another toggle which could be a reason for disabling your wifi at night.
[HTC One X] DanteGR:
What do u mean " without even thinking about if its okay"?

If it's working correctly or if it's ok to include it in the rom without asking?

He gave credit to u mate :)

Nothing wrong with that i guess?
[HTC One X] :
..well thats xda. Can't understand why its so difficult to ask for using an app.

I also dont take his rom as base without asking.

It just polite to ask if you may use work of others.

But well, he even dont know what this app is doing.

If he got teh mikeyxda fix already in this app is just bloatware..
[HTC One X] DanteGR:
With all due respect I agree 50% with you on this one.

IMHO ur right about the rom base. It's a must that someone asks for permission.

But for a FREE app (not the same with paid ones obviously) IMHO it is ok if someone includes it in his rom GIVING CREDIT of course to the app creator.

But to each their own i guess :)

Anyway sorry for the off-topic mate. It ends here :)
[HTC One X] gpz1100:
Sounds like whoever was in charge of this module at htc dropped the ball.

So there's an interface present, but no way of accessing it. Genius.

Really, the proper way to implement this would of been to have it as an enable/disable option. If enabled, allow user to set schedule when active. Somewhere in htc's marketing, they say it learns your usage patterns. Seems bogus. How can it learn when you get email if data connectivity is disabled. Maybe who ever was in charge of this started the project, but then got side tracked or forgot to complete it.
[HTC One X] DanteGR:
Yeah exactly mate.

This "feature" was a mistake for sure. Maybe they forgot to complete it or sth.

Seems like WIP if u ask me and it could be very useful if working right but they just forgot (?) to put in a toggle for it
[HTC One X] :
...correct. Theres even an interface to control that timespan.

could add this in the app too.

But well how stupid from htc to force people to use this feature...

Really no comment on that.

Most of putting their phones themself in airplane mode if they dont need data with a profile manager like tasker etc.

But well, people that require an connection during night, because of nightshift etc are ****ed up.
[HTC One X] gpz1100:
There you go!

If all the interfaces are there, then the folks doing the UI weren't communicating with those who worked on the back end of things.
[HTC One X] OliverHaslam:
There is an updated app?

The question I have is this - is there a negative side to turning any of this stuff off?
[HTC One X] gpz1100:
^^A negative of having wifi on is greater battery consumption. Thus the scheduling capability really makes alot of sense. Have data off when you're sleeping, on when you're not.
[HTC One X] OliverHaslam:
What I mean is, are we sure that nothing that is used through the day to save power other than wifi is affected by changing the DB entry?
[HTC One X] :
..yeah, but you cant force people to use the sheduling htc hardcoded.

especially for people that doing nightshift.
[HTC One X] meangreenie:
Testing v2 on Evo-3d now, waiting 20 mins. Will update this post

edit woot!!, wifi stayed on after 20 min check, gonna try for 30 mins now

edit2, yep passed the 30 minute check :) .. i'll only update this post from now on if i find a problem

thank you j4n87
[HTC One X] :
Great to hear m8 (:
[HTC One X] ikuze:
Like I said in the other thread. It just worked and everything was fine. But then it suddenly stopped working. :(

Edit:

Didn't know there is a v_2.

I will test it and report later~
[HTC One X] stesa:
v_2 is working like a charm , thanks a lot :)

unrooted stock rom , true time past midnight
[HTC One X] adazamim:
SUCCESS WITH SmartSyncDisabler_v2.apk

Dear all,

I am glad to report that I have success with SmartSyncDisabler_v2.apk,

Steps as following:

Turn OFF WiFi

Choose the HTC SmarSync app (The first version) from app try and Un-Tic the box.

Uninstall SmartSyncDisabler.apk (The first version) by doing the following > App Trey> Menu> Manage apps> Select HTC Smart Sync Disabler> Clear Cash + Clear Data + Force Stop + Uninstall

Download and Install SmartSyncDisabler_v2.apk

Restart my phone (As prompted in the app). I have "Fast Boot" disabled.

After phone fully starts up (20-25 seconds), turn on WiFi

[*]This test was done on real time basis (12:50 Am CLT - Cairo Local Time)

Screen off and phone locked exactly at (12:50 Am CLT)

Phone unlocked and screen on exactly at (01:10 Am CLT) -> WiFi ON

[*]Test repeated exactly at (01:15 Am CLT)

Screen off and phone locked exactly at (01:15 Am CLT)

Phone unlocked and screen on exactly at (01:35 Am CLT) -> WiFi ON

Thank you very much j4n87 for the hard work and effort. No words can repay you.

Thanks a million again.

I will keep monitoring.

All information you may need about my phone are on my signature