[SCRIPT] Home Screen Saver v1.5 | No More Missing Widgets After Reboot!

Search This thread

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
Home Screen Saver


What it is?


Recently me and others have been suffering from a weird bug. After a normal reboot some of my widgets gets removed from the homescreen!
So after each reboot I have to set up my homescreen again...

I did some research and found out that it only happened to 3rd party apps. (asec apps)

And since I'm a script freak I started to build my "workaround solution". :p

After you have flashed "HomeScreenSaver", a script will be executed at reboot. This script will backup your entire homescreen.
Then when your phone reboots again, another script will be executed and restore your homescreen.

With other words, no more missing widgets after reboot!


When to use it?



  • If your 3rd party widgets or app shortcuts keeps falling off the homescreen after a normal reboot or shutdown


How to use it?



  • Download the "Script" and copy the zip to your sdcard.
  • Reboot into recovery and flash it just like a ROM. (no need to wipe anything)
  • When done, Reboot.
  • Set up all your widgets and try a reboot.
  • Done!

Changelog
Code:
[SIZE="2"][B][COLOR="RoyalBlue"]Home Screen Saver v1.5 2013-09-22[/COLOR][/B]

     -Another attempt to restore widgets on Sense 5 launcher.
      The restore script will wait for "android.intent.action.BOOT_COMPLETED"

      [I]Please leave feedback...[/I]

_____________________________________________________________________________

[B][COLOR="RoyalBlue"]Home Screen Saver v1.4 2013-09-01[/COLOR][/B]

     -Added support for Sense 5 launcher
      
      [I]Please leave feedback...[/I]

_____________________________________________________________________________

[B][COLOR="RoyalBlue"]Home Screen Saver v1.3 2013-06-22[/COLOR][/B]

     -Added Nova Launcher backup
     -Added more files to backup for Apex
     -Added TouchWiz launcher [I](Only for testing)[/I]
     -Other fixes

_____________________________________________________________________________

[B][COLOR="RoyalBlue"]Home Screen Saver v1.2 - 2013-02-03[/COLOR][/B]

     -Added backup for Apex launcher
     -Added support for ICS ROMs as well

_____________________________________________________________________________

[B][COLOR="RoyalBlue"]Home Screen Saver v1.1 - 2013-01-23[/COLOR][/B]

     -Added wallpaper backup

_____________________________________________________________________________

[B][COLOR="RoyalBlue"]Home Screen Saver v1.0 - 2013-01-23[/COLOR][/B]

     -Initial release...
[/SIZE]

Download




Requirements



  • Custom recovery installed
  • Custom HTC Sense ROM with init.d support ( init.d not required in v1.5> )


Donations


le_cactus


Credits


bartito for his Execute scripts on shutdown
le_cactus for testing
Whiskey103 thanks for file hosting


Developers: If you want to use this in your ROM or in a mod. Just PM me before you do so...
 
Last edited:

raseac

Senior Member
Apr 22, 2009
192
34
0
Gdynia
Odp: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

I hit thanks but it doesn't work for me .. (ARHD 18.1)

Update: everything works great.. (read thread please)


Sent from HOX.
 
Last edited:
  • Like
Reactions: Patrics83

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
I hit thanks but it doesn't work for me .. (ARHD 18.1)

Sent from HOX.

Please use a file explorer and go to /data/local in it you should find two logs.

Please upload them here and I have a look asap.

Edit: Maybe init.d doesn't work on ARHD...
 
Last edited:

raseac

Senior Member
Apr 22, 2009
192
34
0
Gdynia
Odp: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

Please use a file explorer and go to /data/local in it you should find two logs.

Please upload them here and I have a look asap.

Edit: Maybe init.d doesn't work on ARHD...

restore_widgets.log :
Backup file was found
data/system/users/0/appwidgets.xml
data/data/com.htc.launcher/databases/launcher.db
Home screen restored


backup_widgets.log:
System shutdown...
Backing up home screen
data/system/users/0/appwidgets.xml
data/data/com.htc.launcher/databases/launcher.db
Backup done

Init.d should work.. i have 91restorewidgets file in init.d folder. And there are log files so init.d should work..

Sent from HOX.
 
Last edited:
  • Like
Reactions: Patrics83

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
restore_widgets.log :
Backup file was found
data/system/users/0/appwidgets.xml
data/data/com.htc.launcher/databases/launcher.db
Home screen restored


backup_widgets.log:
System shutdown...
Backing up home screen
data/system/users/0/appwidgets.xml
data/data/com.htc.launcher/databases/launcher.db
Backup done


Sent from HOX.

All looks good, can you tell me a little bit more about why it doesn't work for you?
 

raseac

Senior Member
Apr 22, 2009
192
34
0
Gdynia
Odp: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

All looks good, can you tell me a little bit more about why it doesn't work for you?

Every time I reboot HOX my wallpaper goes to stock one.. widgets are fine.. problem is only with wallpaper. No errors, no other other "pop-up" are shown :)

Sent from HOX.
 

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
Sv: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

Every time I reboot HOX my wallpaper goes to stock one.. widgets are fine.. problem is only with wallpaper. No errors, no other other "pop-up" are shown :)

Sent from HOX.

Ah I see! You should have told me it was about the wallpapers ;)

I will have a look at it... :thumbup:

Sent from my HTC One X
 
  • Like
Reactions: MarckX and raseac

raseac

Senior Member
Apr 22, 2009
192
34
0
Gdynia
Odp: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

Ah I see! You should have told me it was about the wallpapers ;)

I will have a look at it... :thumbup:

Sent from my HTC One X

I was reading and installing mod during drive.. now I see in topic that mod is for widgets (for now) :)



Sent from HOX.
 

Sebby

Senior Member
Jun 15, 2010
4,116
4,027
258
Doetinchem
it is only for the payed apps

backup you payed app with titanium backup
remove your app
restore the payed app and data with titanium backup
your done no lost widget for that app
 

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
Sv: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

it is only for the payed apps

backup you payed app with titanium backup
remove your app
restore the payed app and data with titanium backup
your done no lost widget for that app

Sounds like a brilliant solution...

Or you just flash this mod and then you don't have to bother about anything... App updates etc.

Flash it once and let the scripts handle it in the background ;)

Sent from my HTC One X
 
  • Like
Reactions: Sebby

raseac

Senior Member
Apr 22, 2009
192
34
0
Gdynia
Odp: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

it is only for the payed apps

backup you payed app with titanium backup
remove your app
restore the payed app and data with titanium backup
your done no lost widget for that app

I don't know what's the difference in this case between paid and free apps.. but after installing this mod and after that reinstalling live wallpaper app everything works great.. (before this mod I also tried to reinstall wallpaper app, but without success).

PS. I didn't do any titanium backup etc.. just reinstall wallpaper app via Google Play (ofcourse after installing mod).

Thanks.

Sent from HOX.
 

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
Sv: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

I don't know what's the difference in this case between paid and free apps.. but after installing this mod and after that reinstalling live wallpaper app everything works great.. (before this mod I also tried to reinstall wallpaper app, but without success).

PS. I didn't do any titanium backup etc.. just reinstall wallpaper app via Google Play (ofcourse after installing mod).

Thanks.

Sent from HOX.

That's also a reason why this mod is much better.

It's simple :D

Did you get my pm? New version might be able to handle the wallpaper issue as well ;)

Sent from my HTC One X
 

raseac

Senior Member
Apr 22, 2009
192
34
0
Gdynia
Odp: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

That's also a reason why this mod is much better.

It's simple :D

Did you get my pm? New version might be able to handle the wallpaper issue as well ;)

Sent from my HTC One X

Yes, I did, but I tried suggests to reinstall wallpaper before reading PM :)

Everything works fine for now so I cannot check new version :) maybe someone else will check it :)

Thanks again.. it was really irritating to apply changes every reboot :)

Sent from HOX.
 

Patrics83

Inactive Recognized Developer
Feb 19, 2010
5,620
8,223
0
Gothenburg
Sv: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

Yes, I did, but I tried suggests to reinstall wallpaper before reading PM :)

Everything works fine for now so I cannot check new version :) maybe someone else will check it :)

Thanks again.. it was really irritating to apply changes every reboot :)

Sent from HOX.

Just uninstall it and install it from Google Play again like it should be done.

If you receive an update of the app it will be installed as an asec app anyway. And you might even break the Google Play link by doing that other "trick"

Edit: Never mind I misunderstood your post :D

Sent from my HTC One X
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    Home Screen Saver


    What it is?


    Recently me and others have been suffering from a weird bug. After a normal reboot some of my widgets gets removed from the homescreen!
    So after each reboot I have to set up my homescreen again...

    I did some research and found out that it only happened to 3rd party apps. (asec apps)

    And since I'm a script freak I started to build my "workaround solution". :p

    After you have flashed "HomeScreenSaver", a script will be executed at reboot. This script will backup your entire homescreen.
    Then when your phone reboots again, another script will be executed and restore your homescreen.

    With other words, no more missing widgets after reboot!


    When to use it?



    • If your 3rd party widgets or app shortcuts keeps falling off the homescreen after a normal reboot or shutdown


    How to use it?



    • Download the "Script" and copy the zip to your sdcard.
    • Reboot into recovery and flash it just like a ROM. (no need to wipe anything)
    • When done, Reboot.
    • Set up all your widgets and try a reboot.
    • Done!

    Changelog
    Code:
    [SIZE="2"][B][COLOR="RoyalBlue"]Home Screen Saver v1.5 2013-09-22[/COLOR][/B]
    
         -Another attempt to restore widgets on Sense 5 launcher.
          The restore script will wait for "android.intent.action.BOOT_COMPLETED"
    
          [I]Please leave feedback...[/I]
    
    _____________________________________________________________________________
    
    [B][COLOR="RoyalBlue"]Home Screen Saver v1.4 2013-09-01[/COLOR][/B]
    
         -Added support for Sense 5 launcher
          
          [I]Please leave feedback...[/I]
    
    _____________________________________________________________________________
    
    [B][COLOR="RoyalBlue"]Home Screen Saver v1.3 2013-06-22[/COLOR][/B]
    
         -Added Nova Launcher backup
         -Added more files to backup for Apex
         -Added TouchWiz launcher [I](Only for testing)[/I]
         -Other fixes
    
    _____________________________________________________________________________
    
    [B][COLOR="RoyalBlue"]Home Screen Saver v1.2 - 2013-02-03[/COLOR][/B]
    
         -Added backup for Apex launcher
         -Added support for ICS ROMs as well
    
    _____________________________________________________________________________
    
    [B][COLOR="RoyalBlue"]Home Screen Saver v1.1 - 2013-01-23[/COLOR][/B]
    
         -Added wallpaper backup
    
    _____________________________________________________________________________
    
    [B][COLOR="RoyalBlue"]Home Screen Saver v1.0 - 2013-01-23[/COLOR][/B]
    
         -Initial release...
    [/SIZE]

    Download




    Requirements



    • Custom recovery installed
    • Custom HTC Sense ROM with init.d support ( init.d not required in v1.5> )


    Donations


    le_cactus


    Credits


    bartito for his Execute scripts on shutdown
    le_cactus for testing
    Whiskey103 thanks for file hosting


    Developers: If you want to use this in your ROM or in a mod. Just PM me before you do so...
    5
    Home Screen Saver v1.4 2013-09-01

    -Added support for Sense 5 launcher

    Please leave feedback...
    4
    Reserved...

    Reserved...
    3
    Re: [SCRIPT] Home Screen Saver v1.0 | No More Missing Widgets After Reboot!

    This is amazing! Great thought! :D

    Sent from my One X running Blade v4.5.0. At a mere 250 MB, with tons of AROMA Mods and tweaks, this, is what you want.
    3
    Another masterpiece from Patrics83 !
    You're everywhere, dude. Take some rest or you'll burn out...
    Ah, nevermind, give us everything you have. Whatever it costs you (friends, girlfriend, job, health).
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone