yashsingh1/xdaforums huggingface dataset:
[HTC One X] snoopy33:
BTW, I noticed something in your script which seems to be an error

#!/system/bin/sh
#
#
# Workaround script to restore widgets after a reboot
#
# Made by Patrics83
#

Backup="/data/local/widget.tar"
RestoreLog="/data/local/restore_widgets.log"

if [ -f $Backup ]; then
rm $RestoreLog
echo "Backup file was found" >> $RestoreLog
pm disable com.htc.launcher
pm disable com.anddoes.launcher
tar -xvpf $Backup >> $RestoreLog
sync
pm enable com.htc.launcher
pm disable com.anddoes.launcher
rm $Backup
echo "Home screen restored" >> $RestoreLog
else
echo "No backup file was found" >> $RestoreLog
fi

done

You disable two times apex instead of re enable it.

Regards
[HTC One X] Patrics83:
Haha cool

Well that's not the reason...

Edit: I might have a look at the backup of other launchers today... No promises tho.

Sent from my HTC One X
[HTC One X] Patrics83:
Let me know how this one works.

Changelog:

[SIZE="4"][COLOR="Blue"]Home Screen Saver v1.3 TEST 2013-06-22[/COLOR][/SIZE]

- Added Nova Launcher backup
- Added more files to backup for Apex
- Added TouchWiz launcher
- Other fixes

Home Screen Saver v1.3

Keep in mind this script is designed to backup the home screen at reboot and restore it again at boot.
[HTC One X] Brds7t7:
Nova Launcher too... Nice! Been using Nova for a while now, good to see HSS supporting it now. :thumbup:

Sent from My Calculator!
[HTC One X] snoopy33:
Doesn't work at all when the widget is removed by hand :(

Of course I understand the scripts are not done for this purpose.

I made test all the night. I expand your script to trebuchet (the launcher from cyanogen mod) and in this case only the restoration of the db restore the position of a widget which has been moved.

But there is no way to make a removed widget come back.

Go backup application is the only one to work to restore a removed widget. According to the root commands executed, it backup and restore the same data than your script.

There is something I don't get....

If you have an idea, I would be happy to try it.

Regards

Edit : do you have some links ? Documentation ?
[HTC One X] Patrics83:
Really strange, I know HTC Sense launcher works.

TouchWiz as well.

Same thing is with Apex and Nova.

In my test I did the following:

I ran the backup script manually.

Moved and removed some widgets etc.

Copy the restore script to init.d and reboot. Don't forget to set permissions.

Links and documentation can be found here:
[HTC One X] snoopy33:
Is it possible to extract the documentation from its container and send it to Paris ? If not I am ok to receive the container :silly:

I have not tried to start the script in init.d just during a session. I will retry. So I will be able to sleep !

Thank you for your answer

Regards
[HTC One X] Patrics83:
LOL

Nah, I guess that will be pretty difficult... ;)

Let me know how it goes when restoring at reboot...
[HTC One X] snoopy33:
It works! I can sleep! Thank you!
[HTC One X] Patrics83:
Hehe, good night then :D
[HTC One X] snoopy33:
Hi Patricks83,

I played with my backup script, but I was wondering if I can run it at another time than init.d .

In particular, did you made restore script work when launched just before reboot? (I saw it in the comment of the script, so I am wondering how you did it).

Regards
[HTC One X] Patrics83:
Both backup and restore scripts can be executed at anytime.

Only problem is that some launchers will not update with the new data unless you do it during boot.

And too be honest, I haven't tried to restore data on a fully booted device, mostly because I didn't see a reason for it.

I use "pm disable" before the data is extracted. Maybe pkill will be more effective or pm stop / start or what ever it is, can't really remember...

Sent from my HTC One X
[HTC One X] snoopy33:
Thank you for the ideas! :good:

Will make some test later :)
[HTC One X] Patrics83:
Home Screen Saver v1.4 2013-09-01

-Added support for Sense 5 launcher

Please leave feedback...
[HTC One X] Qzar51:
Hey thx man, i'm try now.... Im post after test, greatttttttt ;)
[HTC One X] crazylife:
seems nop man didnt work,,

still after reboot widget got missing :|
[HTC One X] Patrics83:
Mmmmh...

Can you please upload log files from /data/local?

Sent from my HTC One X
[HTC One X] crazylife:
all files? or? sorry im new to that things lol
[HTC One X] Patrics83:
All files (2) ending with ".log"

Backup and restore something, can't remember atm.

Sent from my HTC One X
[HTC One X] Qzar51:
Same, not work ...bug is really ****
[HTC One X] crazylife:
backup

restore
[HTC One X] Patrics83:
Hmm, logs are ok

I think I know what's going on...

Launcher is not killed properly before restoring backup.

Sent from my HTC One X
[HTC One X] crazylife:
So im gunna live? Lol
[HTC One X] Patrics83:
Ok guys I have tried the script myself now on ViperX 4.0.1 and it works as it should...

I'm really not sure why icons are removed from folders after reboot...

I couldn't even reproduce the missing widget thingy either.

All widgets and icons where present after reboot,mounting sdcard etc.
[HTC One X] Qzar51:
Hoooo, tommorow i'm testing new viper and your script... feedback this wk ;)
[HTC One X] Alex-V:
ok...just tested on viper rom...works beatifull....this missing apps in folders made me crazy...no i can god sleep.....very good job done :)
[HTC One X] Patrics83:
Really? :D

Thanks for testing and leaving feedback :thumbup:

Sent from my HTC One X
[HTC One X] Patrics83:
[MENTION=2376756]Qzar51[/MENTION]

Is it working for you as well?

Sent from my HTC One X
[HTC One X] Alex-V:
Btw..I must say it was working for one app...I made 2 sd apps in a folder and after a reboot...they are not in....i still believe that your script can work...maybe there should be a wait time before restore..so the sd is mounted...or something similar....maybe it's hboot or vold related or how many space on sd is used

I have hboot 1.36

Logs seems to be ok..no errors and restored...hope you can find a answer...I want donate if it's working

Also Sebastian15 reminds me that zipalaign can kill this..was so in old desire days..so I removed the script from init.d ..but still fail.....
[HTC One X] Alex-V:
like you can read here...there´s something wrong with sense...update :)

http://xdaforums.com/showpost.php?p=45800471&postcount=8193

with kind regards
[HTC One X] Patrics83:
Well I'm not really sure :)

This bug has been present for a long time... It would be a shame if HTC didn't release this for all devices.

Anyway, I'm making a update for Home Screen Saver right now... Only testing before release :)
[HTC One X] Patrics83:
Update: Home Screen Saver v1.5

Home Screen Saver v1.5 2013-09-22

-Another attempt to restore widgets on Sense 5 launcher.

The restore script will wait for "android.intent.action.BOOT_COMPLETED"

Please leave feedback...

:fingers-crossed:
[HTC One X] crazylife:
Downloading, will test and feedback as i restart

Nop still not working here :(
[HTC One X] Qzar51:
Hi,

Thanks for your work, but unfortunately it does not work .... apparently the HTC ota new update solve the problem ... just expect it to be integrated into the rom
[HTC One X] Patrics83:
Does Sense launcher reload after reboot?

Does it leave logs in /data/local?

For me the script works just fine...
[HTC One X] Alex-V:
Wow..

Works perfect here..big thx
[HTC One X] Patrics83:
Say whoot? Haha

What's working and what's not working? :confused:

Sent from my HTC One X
[HTC One X] Qzar51:
Not working !!!
[HTC One X] Alex-V:
shortcuts from sd apps in folders stay after reboot on viper 4.0.2..tested with 2 reboots now...
[HTC One X] sumanth08:
It's Not working here :( am I doing anything wrong? :confused:

Install zip-> setup homescreen->reboot

And the shortcuts dissappear :what:
[HTC One X] Patrics83:
Posts like that should be auto deleted :D

Sent from my HTC One X
[HTC One X] Patrics83:
And does the sense launcher reload after reboot?

Sent from my HTC One X
[HTC One X] Qzar51:
not tested on VIPER 4.0.2, just tested on ARHD...Not Work on ARHD !

anyway your script is being exceeded given that HTC fix is being deployement :D :D :D

Thank you anyway ;)
[HTC One X] Alex-V:
i hope you guys wait some min after boot before you look....this time is needed to mount the sd...you will see a (how should i say) a reload of the sense launcher...not a complete reload..but you will see that the clock reload...than it should work...still works fine here with 1.5
[HTC One X] sumanth08:
I don't know what you mean when you say sense launcher reloads but it does load all the apps but only a few shortcuts disappear.

And this seems strange but every time the same apps disappear. Other apps are intact.

Yes Alex, storage took a moment to mount. The app that disappear are present in the app drawer but not in the folder of the homescreen. That means the storage is mounted right? Repeated the steps many times but in vein. :(
[HTC One X] Alex-V:
ok..now we come closer to the problem i think..i did not test the folders on homescreen i made folders in the app drawer like games ..multimedia and so on..and in that the apps are still there after a reboot using homescreensaver 1.5...with 1.4 there was no app in that folders after reboot :)
[HTC One X] Patrics83:
Folders on homescreen or appdrawer doesn't matter, settings for both of them are backed up and restored, so it's really confusing when it works for some of you.

Not really sure what happens if "logcat" has been disabled tho... Maybe the script will not trigger at all?

So if you are having problems with this script have a look in /data/local you should find two log files (backup & restore) if not the script didn't work.

Edit: Also good to know, my scripts doesn't require init.d support.

Sent from my HTC One X
[HTC One X] Alex-V:
Still working great for me..and I did most apps into folders..but i wait some min before unlocking..to be sure sd is mounted and script do it's restore..so I say big thx again

Look to picture

Edit..i flashed 1.5 on a clean Rom...means no 1.4 before
[HTC One X] sumanth08:
I do have both the logs in the local folder . still it's not effective :eek:
[HTC One X] Patrics83:
Great! :thumbup:

v1.5 will remove all traces from v1.4 but thanks for your detailed feedback!

Sent from my HTC One X
[HTC One X] Patrics83:
Ok.

When I tried the script myself I rebooted the phone and entered the pin code followed by pattern unlock, sense launcher initialized and after a while screen goes black with only statusbar visible then sense loads again and my backend up launcher settings are restored.

Sent from my HTC One X
[HTC One X] sumanth08:
After reboot the sense doesn't reload for me . It's the same usual procedure for me. It just loads normally. May be problem is there?
[HTC One X] Patrics83:
Does this file exist: "/data/local/widget.tar"

Also check the timestamp on backup and restore log.

Sent from my HTC One X
[HTC One X] sumanth08:
No there is no widget.tar in the folder. Have posted the timestamp screenshot. Shall I delete the backup and restore log files and try?
[HTC One X] Patrics83:
I was going to say good then we know that the restore script executed but now I'm not really sure :p

Please remove both logs and reflash v1.5 zip.

Reboot the device and then reboot once again then upload both log files here so I can have a look. Please also let me know if there's a widget.tar file in /data/local

:)

Sent from my HTC One X
[HTC One X] Alex-V:
Btw..i also dont have such a tar ...is it deleted after restoring..I did not look in the script how it works...here's a screenshot

The log.txt is from fstrim
[HTC One X] Patrics83:
That's correct you should only have backup_widgets.log and restore_widgets.log

Why I asked about the widget.tar is because if you can see it, it means the restore script didn't run at all... (or it failed to complete) :)
[HTC One X] Alex-V:
Just want to report that it still works perfect here :) only not if the phone freeze or something..than i had to pull button for 10 s to force reboot..than there is no backup which is normal..beside that..all ok..btw any news off the ota ..some says it's fixed after..?
[HTC One X] Patrics83:
That's great to hear!

Unless you reboot normally no backup will be made.

However you can always edit the restore script to not remove the backup file after it has been restored.

Sent from my HTC One X
[HTC One X] sumanth08:
Sorry for the delay. Was stuck at stock doing an OTA :p

So after coming from stock I made a full wipe and installed viperx all over again and installed your zip also but still problem is not yet solved. I have uploaded the zip of both the logs. Hope it helps you to solve the problem. :)
[HTC One X] Alex-V:
ah..nice tip :) thx
[HTC One X] Patrics83:
Logs are ok, and you should notice when HTC Sense launcher reloads (I'm on ViperX) and the launcher is killed and restarted

after reboot.

Not sure why it doesn't work for you... :o

Your welcome ;)

One more tip, flash stock kernel :p:D

Sent from my HTC One X
[HTC One X] sumanth08:
I'm on Alex kernel. The sense does reload. Now I'm having a doubt whether this script is for widgets or for shortcuts too? :confused:

Ps:I never had any widgets disappearing problem.
[HTC One X] Patrics83:
Kernel doesn't matter.

This script will backup all widgets and shortcuts, folders in home screen and in appdrawer. It will also backup hidden app in app drawer settings (and I guess grid layout as well, haven't checked that.)

With other words it will fully restore your HTC Sense launcher.

I use almost the same script in my ROM Cleaner - "Backup Tool" so yes it works...
[HTC One X] sumanth08:
Don't know why it's not working for me. Anyways thanks for your time and help :)
[HTC One X] Patrics83:
Please name two apps that keeps disappearing from folders on home screen...

Because that's your problem right? Shortcuts inside folders located on the home screen disappears after reboot.

Sent from my HTC One X
[HTC One X] sumanth08:
Xda developers app :p and respawnables game

I deleted the logs and reinstalled your script again. but this time I power off my device and switched it on, the apps didn't disappear. I restarted and the apps were present. But after another restart these 2 apps were missing again, other apps which used to disappear were present. :what:

I need an exorcist to my phone :p:D
[HTC One X] ntquartex:
Thanks very much...

This is a lifesaver script for sense5...

Shame on htc once again...

Sent by Tapatalk 4 on HTC OneX...
[HTC One X] Patrics83:
So, did the new Prism (OTA) solve the missing icons/widgets for you?

Sent from my HTC One X
[HTC One X] lostmymind:
Works well for me. Only issue is that after reboot the wallpaper changes to HTC default setting. Have to manually set my wallpaper after restart, but much better than having to add all those disappeared app icons :) Would be great if the wallpaper setting was also restored.
[HTC One X] Alex-V:
Yes..all ok now..lol
[HTC One X] Patrics83:
Try this version :fingers-crossed:
[HTC One X] Patrics83:
Great!

I had no problems before but now I have ghost icons and double icons in my appdrawer LOL

Sent from my HTC One X
[HTC One X] Alex-V:
Clear sense data..will solve this
[HTC One X] Patrics83:
Temporary solution tho

Sent from my HTC One X
[HTC One X] Alex-V:
something helpful

http://xdaforums.com/showpost.php?p=46644588&postcount=20421
[HTC One X] NextGenGTR:
Does this work for htc sensation running Vipers5.1.0 which is a sense 5 rom?
[HTC One X] Patrics83:
Make a backup in recovery and give it a try...

But before you do so, read OP and make sure you understand what this script will do and why you might need it.

Sent from my HTC One
[HTC One X] DJ_Casper:
Not working links to download. Anyone can upload and provide a link for downloading latest v1.5?

Appreciated,

Igor
[HTC One X] Patrics83:
I tried v1.5 link and it's working just fine.

Try another browser/computer/phone

Sent from my HTC One (m8)
[HTC One X] fjlour:
Links are dead. Any mirrors?
[HTC One X] kassaaam:
[MENTION=2374587]Patrics83[/MENTION] okay I finally downloaded the zip, installed it from recovery. Tried putting shortcuts on homescreen for internal SD apps, rebooted, they disappeared again. Am I doing anything wrong?
[HTC One X] Patrics83:
This was tested with Sense 4 and was working perfectly. However in Sense 5 things are different....
[HTC One X] kassaaam:
Different as in? Fix not possible?
[HTC One X] Patrics83:
Fix is possible, just not by me :)
[HTC One X] Patrics83:
Regarding download links, Whiskey103 will temporarily fix all links and they will stay up for a week or so.

After that everything will be taken down and so will the thread. (No links = no need to keep the thread open)

Thanks a lot for all the support!
[Galaxy S II Android Development] tedascuen:
GT-I9100 - Spain

PDA: I9100XWLS8

CSC: I9100FOPLS3

Version: 4.1.2

Date: 2013-01-16

Regions: Austria, Belgium, France, Germany, Hungary, Italy, Spain, United Kingdom

Deodexed, zipaligned and rooted with Chainfire's superuser su 0.99 and busybox 1.20.2.

Added ripple effect in framework-res.apk

Working folder information

Android OS version : 4.1.2
Device : GT-I9100
Model : GT-I9100
ROM Name : JZO54K.I9100XWLS8
CSC version : I9100FOPLS3
Rooted (Superuser app + su) : YES
Rooted (unsecured boot.img) : NO
BusyBox installed : YES
BusyBox run-parts support : NO
Apps2SD (Apps to EXT) enabled : NO
/data/app enabled : YES
Custom boot animation allowed : YES
Nano text editor installed : NO
Bash shell support : NO
/system/framework is deodexed : YES
/system/app is deodexed : YES
modem.bin found : YES
ROM will wipe all data : NO

Download from:

https://www.wuala.com/Tedascuen/Galaxy S2/?key=CjKcrbzC84Go

Original thread:

http://www.htcmania.com/showthread.php?t=536565
[Galaxy S II Android Development] AiYori:
Thx a lot :)
[Galaxy S II Android Development] Ibiza101:
What is better...? The original or the Deodex version...?
[Galaxy S II Android Development] burninghouse:
how can i manually deodex xwls8 firmware??
[Galaxy S II Android Development] dr30ma:
Thanks brother.
[Galaxy S II Android Development] RM57380:
Thanks a lot :D

I go on Samfirmware and hop already deodex here :P
[Galaxy S II Android Development] burninghouse:
anybody..... pls
[Galaxy S II Android Development] Ibiza101:
How I flash the deodex version...? With CMW....?
[Galaxy S II Android Development] Sun90:
just search and u will get lot of ' how to deodex stock firmware' Guides over here;)
[Galaxy S II Android Development] ruicc:
The only way i know is using dsixda kitchen....but for that you need to learn how to install and work with it...

Cheers
[Galaxy S II Android Development] Jeremy:
EDIT: silly me. works fine
[Galaxy S II Android Development] mathsmart:
Thanks a lot and from neatrom I can see a difference in tapatalk a lot more smoother !

Envoyé depuis mon GT-I9100 avec Tapatalk
[Galaxy S II Android Development] XorPP:
I've just installed this Rom, and i'm going to test it! Thanks a lot!
[Galaxy S II Android Development] Kenzneth:
anyone make it to torrent?:)
[Galaxy S II Android Development] anshmiester78900:
Thanks a lot man i really needed this as in my college of the sites are blocked and you uploaded it on wuala which wasnt blocked ..! thanks again !!
[Galaxy S II Android Development] Sikac101:
Thank you for the Deodexed XWLS8 stock. Downloading!
[Galaxy S II Android Development] siryusx:
Thanks a lot works fine :cool::D
[Galaxy S II Android Development] merlin110:
Flash in CWM or via Odin?
[Galaxy S II Android Development] daavt:
is this update or wipe? I´m on XXLS6 also from samfw.

thanks!
[Galaxy S II Android Development] wis1152:
Kitchen has just finished:) was going to post it but you beat me to it:D:D
[Galaxy S II Android Development] shakkall:
A torrent mirror ! Enjoy peeps :)

magnet:?xt=urn:btih:6901AB737116CEC97C228504AD89F0A84156A7C0&dn=GT-I9100-XWLS8-FOP-deodexed-by-tedascuen.zip&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.publicbt.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.ccc.de%3a80%2fannounce
[Galaxy S II Android Development] litlnicky:
custom recovery

no custom recovery? how can i flash back ? its missing alot of features from biftor rom?
[Galaxy S II Android Development] superbellefleche:
CWM!

---------- Post added at 03:28 PM ---------- Previous post was at 03:26 PM ----------

Just flash another kernel, like dorimanx, philz, siyah...
[Galaxy S II Android Development] manan001:
can u share original Deodexed framework-res.apk
[Galaxy S II Android Development] siryusx:
CWM ;) AllianceROM 4.1 Dorimanx Kernel
[Galaxy S II Android Development] litlnicky:
reply
[Galaxy S II Android Development] Sikac101:
XWLS8 works fine with Siyah V6.0b4 by the way. In case someone was wondering.
[Galaxy S II Android Development] XorPP:
Anyone tried to install Google apps from Android 4.2 (camera, gallery, gmail, etc...)?

Is it possible?
[Galaxy S II Android Development] wis1152:
here you go my friend http://d-h.st/zPL
[Galaxy S II Android Development] iamnotkurtcobain:
AW: Deodexed XWLS8 stock

Is there a way to use aosp people app and sms app?

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Android Development] andolfree:
i'm with LS8 how deodexed

how i can change kernel?

flash by CMW or by Odin?
[Galaxy S II Android Development] Crussader:
Wait for Chameleon ROM
[Galaxy S II Android Development] Fulfen:
why?
[Galaxy S II Android Development] bigdyl69:
SMS app is easy, just replace teh SecMMS.apk with the AOSP one. Not sure about the people app though
[Galaxy S II Android Development] XorPP:
Does anyone have the zip to install 4-way reboot?

It would be very nice to have this feature... :)
[Galaxy S II Android Development] iamnotkurtcobain:
AW: Deodexed XWLS8 stock

But isn't there already a chameleon rom with aosp apps? those can be used with the ls8 rom...?

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II Android Development] stevendeb25:
Link for v6 please?
[Galaxy S II Android Development] andr01d3:
http://www.gokhanmoral.com/?p=1756
[Galaxy S II Android Development] jonboyuk:
Just another happy user - works perfectly for me too :) Cheers!

PS - I realise this source was from the Spanish i9100, and I assume whenever it is released in the UK it shouldn't really be any different right?
[Galaxy S II Android Development] vinoratheesh:
Hi,

Wild question and sorry for asking. Can i flash this rom in S2 purchased in india?:confused::confused::confused:
[Galaxy S II Android Development] sahibunlimited:
Go to settings->about phone>model number, if it's i9100 then yes you can flash this firmware on your phone but if its i9100G then you cannot.
[Galaxy S II Android Development] enzoscotch:
R: Deodexed XWLS8 stock

Mmmm the lateral zoom in browser?

inviato con tapa talk 2
[Galaxy S II Android Development] daavt:
GUYS, is this wipe install?

thanks!
[Galaxy S II Android Development] hasenbein1966:
Stupid question :p :

I have a rooted S II with stock Android 2.3.4 and Siyah kernel 2.6.14.

Pretty old stuff :laugh: , but: Can I just flash this ROM here via CWM???

Or do I have to upgrade first to Android 4.0 and / or a newer kernel and / or a newer CWM???

Thanks in advance!
[Galaxy S II Android Development] superbellefleche:
Yes you can flash it via recovery but before, you have to full wipe !!
[Galaxy S II Android Development] XorPP:
This Samsung ROM is nice. No bugs... :)

Battery doesn't last to much...its similar to the leaked version...

Perhaps i will install later the WanamLite version or the Neat Rom...i still haven't checked which one has better battery life.
[Galaxy S II Android Development] :
how to flash the kernel ?

odin or CWM ?
[Galaxy S II Android Development] sohell:
Installed this earlier today, and it is really good. Stable, great battery, and just amazing. Looking forward to all the custom roms based on this release!!

Thanks to the OP and Samsung
[Galaxy S II Android Development] jonboyuk:
CWM if it's .zip Odin if it's .tar
[Galaxy S II Android Development] billyJ:
Got boot loop after restoring Titianium Backup and flashing some zip mods, I gave up and now on official odexed version without no problem, all backup restored and jb 4.1 keyboard flashed, works with no bootloop, why do I have problem with this version?
[Galaxy S II Android Development] :
thank you man I did it