Register
Results 1 to 8 of 8
  1. #1
    Thanks: 129
    Henk2484's Avatar Super Moderator/Developer
    Join Date
    Jul 2012
    Posts
    66
    Age
    30
    Location
    Arnhem
    Country
    Users Flag!
    Provider
    Users Logos!
    Buy me a Drink
    Buy me a Drink?


    [DISCONTINUED][TOOL-APP] [03-08-2012] SmartSync Disabler [ONLINE]

    Hi,

    Here's a solution for the SmartSync Powersaving issue. This app can be used to disable this HTC feature.

    Nice thing about this app is:

    You do not need root or an unlocked bootloader!

    The app is compatible with all Sense 4 devices and devices running a Sense 4 port.

    What is this SmartSync Powersaving issue?
    HTC introduced SmartSync with Sense on ICS, which should provide you with the best battery life for your device.
    Unfortunately this feature got messed up by HTC, since there's no interface to control it.

    This shouldn't be to much of a problem, right?

    Well it is, and here's why:

    HTC SmartSync forces the wifi and data connections to go sleep/disconnect after 15 minutes screen off time between 00:00 and 07:00 am.
    For some this isn't an issue. However more and more people find it important to have a constant data/wifi connection. During the day as well as the night.

    The issue is disussed here in over 40 pages: WiFi goes sleep even setting policy to "Always On".

    Some people contacted HTC and got the "issue" confirmed... They, however, call it a feature to save battery during night. Also they did not make a statement if this "bug" will be fixed in the future.

    mikeyxda posted a solution to this problem here, but this isquite a dirty hack. To accomplish this you also need some basic knowledge with apktool. The biggest disadvantage, for some people, with this solution is that you have to have root access.


    Some smali code which shows the issue
    Here you can see the timespan from 00:00 to 07:00 where SmartSync to turn of data/wifi gets disabled
    constructor of SmartSyncScreenOnOffTimeReceiver.smali

    Code:
       const/4 v2, 0x0 ----> Stands for 00:00
       ....
       sput v1, Lcom/android/settings/framework/activity/powersaver/SmartSyncScreenOnOffTimeReceiver;->USERNIGHT_TIMESTART:I
       const/4 v2, 0x7 ----> Stands for 07:00
       sput v2, Lcom/android/settings/framework/activity/powersaver/SmartSyncScreenOnOffTimeReceiver;->USERNIGHT_TIMEEND:I
    Here you can see that the values are hardcoded, and that even if there was an interface to control it, you wouldn't be able to change the values.
    I spent some hours to backtrace the the issue to find a cleaner solution than mikeyxda found. Thanks to him I got a good point to start with
    and found a cleaner solution and even the possibility to provide this fix for none unlocked/rooted users.

    How to test this issue immediatly?

    • Turn your wifi on
    • Go into Settings => Date and Time: Uncheck automatic date and time
    • Set the time to 00:00
    • Turn your screen off and let it off for 20 minutes
    • after >20 minutes turn your device on and see if your wifi/data is still connected.

    => You should see that you havent any data/wifi connection and wifi reconnects few seconds later
    And this behaviour repeats each day during 00:00 and 07:00am.

    Now do the same steps, but start my app first

    • Check the checkbox Disable SmartSync
    • REBOOT
    • Turn your wifi on
    • Go into Settings =>Date and Time: Uncheck automatic date and time
    • Set the time to 00:00
    • Turn your screen off and let it off for 20 minutes
    • after >20 minutes turn your device on and see if your wifi/data is still connected.

    => You should see that your wifi is still connected!

    Disclaimer:
    I tried to fix what HTC messed up. I am in no way responsible if your data/wifi connection still disconnects and you miss important mails etc.
    The app is properly tested and I got several reports that its working.
    Attached Files Attached Files
    Last edited by Henk2484; 08-05-2013 at 08:23 PM.



    [DEVICE] One X - Polar White/Glamour Grey -- rooted
    [ROM] CoreDroid One X v4.9 RC2
    [KERNEL] [faux 012 b1] 2.6.39.4-gc9932b1 [T3 variant 2/0]
    [RADIO]
    2.1204.1.20

    [DEVICE] ASUS Transformer Infinity (TF700T) -- rooted
    [ROM] Stock 9.4.5.26 WW
    [KERNEL] [stock] 2.6.39.4
    [RADIO] N/A

    If you like my work:


    Join me on Dropbox:

  2. <<<<<<<< Your Customized Value <<<<<<<<
    Show/Hide list of the thanked

    The Following 3 Users Say Thank You to Henk2484 For This Useful Post:

    aortega,DaDoctor,DanteGR
  3. #2
    Thanks: 129
    Henk2484's Avatar Super Moderator/Developer
    Join Date
    Jul 2012
    Posts
    66
    Age
    30
    Location
    Arnhem
    Country
    Users Flag!
    Provider
    Users Logos!
    Buy me a Drink
    Buy me a Drink?


    Question Screenshots

    Last edited by Henk2484; 08-03-2012 at 06:03 PM.



    [DEVICE] One X - Polar White/Glamour Grey -- rooted
    [ROM] CoreDroid One X v4.9 RC2
    [KERNEL] [faux 012 b1] 2.6.39.4-gc9932b1 [T3 variant 2/0]
    [RADIO]
    2.1204.1.20

    [DEVICE] ASUS Transformer Infinity (TF700T) -- rooted
    [ROM] Stock 9.4.5.26 WW
    [KERNEL] [stock] 2.6.39.4
    [RADIO] N/A

    If you like my work:


    Join me on Dropbox:

  4. <<<<<<<< Your Customized Value <<<<<<<<
    Show/Hide list of the thanked

    The Following 3 Users Say Thank You to Henk2484 For This Useful Post:

    cometoluc,Da Tiga,DanteGR
  5. #3
    Thanks: 11
    DanteGR's Avatar Junior Member
    Join Date
    Jul 2012
    Posts
    13
    Age
    36
    Location
    Thessaloniki, Greece
    Country
    Users Flag!
    Provider
    Users Logos!


    Hey Henk how's it going?
    If and when u have some free time could you please have a look at smartsync and JB as this app doesn't seem to work anymore in the latest JB builds.
    Many thanks in advance my friend

    Sent from my JB Renovated HTC One X Quad-Core Beast
    DroiDevs - Real open source Android development!

  6. <<<<<<<< Your Customized Value <<<<<<<<
    Show/Hide list of the thanked

    The Following User Says Thank You to DanteGR For This Useful Post:

    Da Tiga
  7. #4
    Thanks: 1
    Junior Member
    Join Date
    Dec 2012
    Posts
    1


    Quote Originally Posted by DanteGR View Post
    Hey Henk how's it going?
    If and when u have some free time could you please have a look at smartsync and JB as this app doesn't seem to work anymore in the latest JB builds.
    Many thanks in advance my friend

    Sent from my JB Renovated HTC One X Quad-Core Beast

    That would be perfect :-)

    Marry Xmas guys
    DroiDevs - Real open source Android development!

  8. <<<<<<<< Your Customized Value <<<<<<<<
    Show/Hide list of the thanked

    The Following User Says Thank You to Da Tiga For This Useful Post:

    DanteGR
  9. #5
    Thanks: 129
    Henk2484's Avatar Super Moderator/Developer
    Join Date
    Jul 2012
    Posts
    66
    Age
    30
    Location
    Arnhem
    Country
    Users Flag!
    Provider
    Users Logos!
    Buy me a Drink
    Buy me a Drink?


    Hey guys,

    Once I have some free time on my hands I'll see if I can make it JB compatible. Probably somewhere in January.

    Sent from my CoreDroid One X using DroiDevs Premium



    [DEVICE] One X - Polar White/Glamour Grey -- rooted
    [ROM] CoreDroid One X v4.9 RC2
    [KERNEL] [faux 012 b1] 2.6.39.4-gc9932b1 [T3 variant 2/0]
    [RADIO]
    2.1204.1.20

    [DEVICE] ASUS Transformer Infinity (TF700T) -- rooted
    [ROM] Stock 9.4.5.26 WW
    [KERNEL] [stock] 2.6.39.4
    [RADIO] N/A

    If you like my work:


    Join me on Dropbox:

  10. <<<<<<<< Your Customized Value <<<<<<<<
    Show/Hide list of the thanked

    The Following 5 Users Say Thank You to Henk2484 For This Useful Post:

    ClydeB1,DanteGR,ljjehl,mike2nl,napster
  11. #6
    Quote Originally Posted by Henk2484 View Post
    Hey guys,

    Once I have some free time on my hands I'll see if I can make it JB compatible. Probably somewhere in January.

    Sent from my CoreDroid One X using DroiDevs Premium
    I join the request for an update for your app so it will work with JB (when you have the time of course)
    Enjoyed your app until now and will to keep enjoying it ;-)

    Thanks.
    DroiDevs - Real open source Android development!

  12. #7
    Thanks: 11
    DanteGR's Avatar Junior Member
    Join Date
    Jul 2012
    Posts
    13
    Age
    36
    Location
    Thessaloniki, Greece
    Country
    Users Flag!
    Provider
    Users Logos!


    Quote Originally Posted by Henk2484 View Post
    Hey guys,

    Once I have some free time on my hands I'll see if I can make it JB compatible. Probably somewhere in January.

    Sent from my CoreDroid One X using DroiDevs Premium
    Hey Henk!
    Any news regarding an update?

    Swiftkeyed from my GNex 7
    DroiDevs - Real open source Android development!

  13. #8
    Thanks: 129
    Henk2484's Avatar Super Moderator/Developer
    Join Date
    Jul 2012
    Posts
    66
    Age
    30
    Location
    Arnhem
    Country
    Users Flag!
    Provider
    Users Logos!
    Buy me a Drink
    Buy me a Drink?


    Sorry guys. I don't have the time for this anymore, besides that I lost the source code as well due to a hard drive crash.

    This thread will be discontinued and locked.

    Sent from my HTC One



    [DEVICE] One X - Polar White/Glamour Grey -- rooted
    [ROM] CoreDroid One X v4.9 RC2
    [KERNEL] [faux 012 b1] 2.6.39.4-gc9932b1 [T3 variant 2/0]
    [RADIO]
    2.1204.1.20

    [DEVICE] ASUS Transformer Infinity (TF700T) -- rooted
    [ROM] Stock 9.4.5.26 WW
    [KERNEL] [stock] 2.6.39.4
    [RADIO] N/A

    If you like my work:


    Join me on Dropbox:

 

 

Similar Threads

  1. [DISCONTINUED][TOOL-APP] DroiDevs v2.0.1 [ONLINE]
    By Henk2484 in forum Android Applications
    Replies: 34
    Last Post: 06-28-2013, 04:54 AM
  2. [ROM]Black Pearl 6.2.0|SuperCharged|CrossBreeder|SoundMod][3.19][DISCONTINUED]
    By ShyamSasi in forum HTC One X International ROMs & Development
    Replies: 16
    Last Post: 04-13-2013, 02:25 PM
  3. [DISCONTINUED][TOOL-APP] [19-07-2012] Sweep2Wake Disabler [ONLINE]
    By Henk2484 in forum HTC One X International ROMs & Development
    Replies: 12
    Last Post: 08-31-2012, 10:47 PM
  4. [Tool- App] - CoreDroid Kernel Flasher v1.0c - 11 july 2012
    By Philos64 in forum HTC One X International ROMs & Development
    Replies: 7
    Last Post: 07-30-2012, 10:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •