yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Patrics83:
You have really found a lot of good points there! I will read it again in a few hours and respond, just woke up :)

1, The reason why it is like that is because we only use 1 single file. ROMCleaner.txt is the base and since we don't want users to open the ROMCleaner.zip

we offer ROMCleaner.txt in the download section and to make it even more easy it's already renamed. ;)

Let's say you flashed default ROMCleaner, you can find ROMCleaner.txt in your ROMCleaner folder, this one can be edited and if you rename it to ROMCleaner_user.txt you have created a user.txt The script will now only read from that one.

However I will change the text to:

# !!! IF THIS IS YOUR OWN SCRIPT DO NOT FORGET TO RENAME IT TO ROMCleaner_user.txt !!!
#	!!! OR IT WILL BE REPLACED WITH THE DEFAULT SCRIPT !!!
#
# ROMCleaner_user.txt MUST be copied to /sdcard/ROMCleaner/
#
# Default script name = ROMCleaner.txt
# User script name = ROMCleaner_user.txt

Better?

2, Good point ;) also answered in point 1

3, UUUUh :eek: Crazy hehe how many apps do you have? Anyway we will make sure the script checks available space before it copies anything.

[Jk] If needed space doesn't exist we will format your device right away and run a extreme cleaner on it. [/Jk]

4, Backup Tool will first delete all apps in /sdcard/ROMCleaner/FirstBoot/data/app

then it will copy all apps from /data/app to the backup dir.

ui_print("Deleting Old Backups...");
delete_recursive("/sdcard/ROMCleaner/FirstBoot/data/app");
delete_recursive("/sdcard/ROMCleaner/Backup");
delete("/sdcard/ROMCleaner/Logs/Backup_tool_recovery.log");

Also good to know, apps you have installed on your sdcard won't be copied, solution is to move them back to your internal memory "/data/app/" you can do this from "Settings - Applications - Manage Applications - On Phone Storage" all ticked apps is installed on your sdcard and it's recommended to have them located on your internal memory due to performance reasons. But in your case that might not be possible ;)

5, Yes, answered in point 3

We are currently working on many different things to backup but the problem is, if we backup and restore to many things not all users will understand what might happen on there devices and this will cause loads of issues and most likely not in this thread. I have noticed many discussions going on (user related problems) in other threads and since I'm not able to read all threads at XDA :o we must make sure everything that is included in ROM Cleaner and add-on's must be rock solid. And as user friendly as possible... And it's really hard sometimes.

Thank you for your great feedback :D

If I was unclear at any point or maybe didn't understand your question, just let me know...
[HTC Sensation] n7of9:
i've got another one which may have something to do with HTCSetupWizard removal

on first boot i didn't set up my google account because i pressed 'next' one too many times accidentally (i sometimes do this on purpose, though, so i can restore backups before connecting to market)...when i eventually added my account via 'accounts and sync' i found that i couldn't download from market app, nor push installs from market on the web

after various clear cache/uninstall/reinstall, i removed the google account entirely and accessed the market...once i added my account via the market app, and then restarted, all was working correctly

i don't normally add my account at initial setup and i've never had this issue...coincidence, so is it possible the HTCSetupWizard isn't only used on first boot?
[HTC Sensation] Patrics83:
HTC SetupWizard Remover is optional and should only be flashed when you are done with the setup. Some users flashed it before first boot and encountered loads of issues, like missing languages etc.

Also to mention you won't have a fully working Google sync if you skip signing in at your Google account in the setup wizard. Most ppl do in fact sign-in at first boot and get all the syncing to work.

I always sign in at first boot so Market can restore apps in case I have an app installed to the sdcard and forgot to move it back to the internal memory. Also this restores some system settings.
[HTC Sensation] n7of9:
ok, thanks...i will change tactics in future...i always thought it was optional
[HTC Sensation] Patrics83:
Yeah might be a good idea.

Did you notice I edited my post?

Question 1 - 5 ;)
[HTC Sensation] n7of9:
my sd card is full of music :D

thanks for the time you've put into all this, and for the explanations...if you ever want manicure tips, i'm your gal
[HTC Sensation] Patrics83:
Thx I will remember that :)
[HTC Sensation] fyase:
the logs that I promised to you....
[HTC Sensation] Patrics83:
Thanks! And now everything is working? ;)
[HTC Sensation] abusaaad:
Nice

:)

thanks
[HTC Sensation] fyase:
Should be great also if you try to backup the personal dictionary in use
[HTC Sensation] fyase:
Yes, it is
[HTC Sensation] Patrics83:
Good idea, but not in this release ;)
[HTC Sensation] Patrics83:
Great!

I will try to update OP soon with the new tools :)
[HTC Sensation] mikef:
ROMCleaner3.4 works great with ARHD 6.2.1!

Just used ROMCleaner 3.4 when loading the new ARHD version 6.2.1, looks great once again, thanks guys!

I am wiping/flashing again right now since I already ran the HTCSetupRemover before reading your post a page back explaining that if you don't put in the Google account initially then it wouldn't work right, so I will make sure to do that this time. I kept wondering why my apps would never sync back but that explains it. So thanks for that too! I ran out of thanks for the day but I will be back tomorrow. :D
[HTC Sensation] Patrics83:
Update!

Backup Tool v1.4 - 2012-01-27

-The script is totally rebuilt

-Found a much better way to backup Mail settings (HTC Mail and Android Email only)

-Added Backup for "Accounts", since it's needed to get a fully working sync of your mail accounts after restore.

Before you needed to activate all syncs manually.

(We still recommend you to log in at Google in HTC Setup Wizard so Google can restore other settings and missing apps etc.)

-Added support for ER3BUS ROMs

Backup tool, will now backup: Apps located in /data/app, Accounts, Saved Bluetooth devices, HTC Mail or Android Email and saved networks.

Settings Restorer 1.1

-This script is also totally rebuilt

-Corrected Mail restore - Thanks to fyase for all the testing and also for helping us to fix exchange sync issue.

In our tests we managed to restore mail settings between ROMs and even with different bases...

But heads up for issues that might occur!

Settings restorer, will now restore:

Accounts, Saved Bluetooth devices, HTC Mail or Android Email and saved networks.

Enjoy Guys!

Something more is hiding in the download section...
[HTC Sensation] malybru:
Hi,

Just to confirm what mf2112 said.

RC 3.4 installation on ARHD 6.2.1 was flawless.

Thank you.

:)
[HTC Sensation] Patrics83:
I'm happy to hear that!

Now I'm just waiting for some feedback regarding backup tool and settings restorer ;)

Sent from my Desire HD
[HTC Sensation] fyase:
I Patrick I found a small issue, with the calendar. The exchange calendar account is not show when I try for example to use the HTC calendar application. I can only se google account and pc sync. I hope that I explain well my issue
[HTC Sensation] pinobigbird:
Nice to see the accounts are included in the backup and restore scripts! This was stopping me from using these scripts untill now. I will test it as soon as BaadNewz releases a new InsertCoin rom. I'll let you know the results.
[HTC Sensation] Patrics83:
Didn't exchange calendar work when we did all the testing?
[HTC Sensation] Patrics83:
Cool ;)

Known issue so far is that evernote account won't sync. Workaround, remove and re add the account.

If you use HTC facebook/Facebook you need to accept Facebook integration and that's it.

Good luck!
[HTC Sensation] fyase:
I tested mail, task and contact for exchange account but not the calendar.
[HTC Sensation] Patrics83:
Ok, well this is as close we will get for now. Since I don't use exchange at all I won't be able to find a fix.

A clue might be to backup calendar data or at least a part from it...
[HTC Sensation] Patrics83:
Update!

Updated Beta section ;)

Backup Tool v1.5 Beta 1 2012-01-29

Fixed placeholders for 3rd party widgets. Now

all

widgets should be restored!

Please let me know the results!
[HTC Sensation] pinobigbird:
I used Backup Tool v1.5 Beta and Settings Restorer v1.2 Beta. These are my findings:

- HTC Sense account: The account is restored, but HTC Hub cannot connect. Probably it's due to not showing the agreement one has to accept at first run. Removing and re-adding the account triggers the agreement popup and solves the problem.

- Exchange Active Sync account: The synchronisation of mail and contacts are disabled, although they were enabled when backing up. I had to tick the checkmark to re-enable the synchronisation.

- Exchange Active Sync account: The update frequency was not set to push as it was when backing up, but to every 15 minutes.

- HTC Launcher: All apps and widgets were restored. One widget (a shortcut to a note from ColorNote) was replaced by a placeholder. Restoring the user data for ColorNote did not fixed the placeholder; I had to remove en re-add the widget (I think this cannot be fixed, the placeholder seems a legit solution)
[HTC Sensation] Patrics83:
Thx for your feedback!

Some account's can't be restored properly with out some kind of user guidance.

HTC Facebook is one of them. I will do my best and try to find a solution.

Regarding exchange, I can't fix it since I don't use it... :/ if you find something please let me know.

Did you use Backup Tool v1.5 Beta 1? This one has a fix for 3rd party widget's. But as you say, it might not be fixable. I had one widget that didn't work and it was "invisible lock widget", a admin file was missing for it...
[HTC Sensation] fyase:
About exchange calendar? you your device is it working after restore?

thanks
[HTC Sensation] rabidtongue:
Thanks!

Thank you for this wonderful script! \m/ and simple instructions for a noob like me

Worked on my Sensation XE
[HTC Sensation] Rolando88:
Sorry for probably stupid question Patrick but i restored settings but cannot find option in mail to receive messages didnt received mail to phone in a week now ghehe
[HTC Sensation] Patrics83:
Hmm, hard to tell why that happens. You can set how often to sync in HTC mail app, also have a look in phone settings - accounts and HTC mail, check if it is set to auto sync.

What version of backup tool and settings restorer are you using?
[HTC Sensation] Rolando88:
1.4 bro
[HTC Sensation] Patrics83:
Did you check the other stuff?
[HTC Sensation] Rolando88:
Soooo stupido :P this fixed it..

I thought is was a setting in mail but it was not right configured in settings.. ;)

Thanks again patrick
[HTC Sensation] Patrics83:
Update!

Backup Tool v1.5 - 2012-02-08

-Added a command to remove encrypted apps from backup dir. Encrypted apps can't be installed like normal apk's

Backup Tool Beta v2

Beta version got same changes.

Enjoy ;)
[HTC Sensation] Lostmymind904:
I really like this program the only thing is id really like to keep my skins, wallpapers and wigets but everything eles can go anyone want to help me out?:D
[HTC Sensation] Patrics83:
You need to comment out a few apk's and especially the last two lines in ROMCleaner_user.txt

Please download latest ROMCleaner_user.txt from v3.4 in download section and edit it it with notepad++ or some other editor. (Notepad++ keeps the tabs and rows correct, Windows notepad is the worst editor to use)

If you have any questions regarding the editing please let us know. All apk's is described in the txt.

Anyway when you are done with the editing, make sure you put ROMCleaner_user.txt in /sdcard/ROMCleaner/

Then just flash ROM Cleaner as normal.
[HTC Sensation] Lostmymind904:
Works great THANKS!!!:D
[HTC Sensation] trx182:
Swedish brilliance this. ;) Works very well for me, thanks!
[HTC Sensation] Patrics83:
No problems, we are here to support :p
[HTC Sensation] Patrics83:
Haha tack så mycket!

Kul att det även finns svenska användare ;)

Thank you very much, nice to see Swedish users as well.
[HTC Sensation] l4ck4ff3:
is it normal that all of my apps on SD card are deleted?
[HTC Sensation] Patrics83:
Your apps will "never" get deleted unless they are included in ROMCleaner default script.

To avoid unwanted deletion of apps and get max out of ROM Cleaner please download ROMCleaner_user.txt from download section and then follow the guide how to edit it.

Apps you have installed on your sdcard won't be copied, solution is to move them back to your internal memory "/data/app/"

You can do this from "Settings - Applications - Manage Applications - On Phone Storage" all ticked apps is installed on your sdcard and it's recommended to have them located on your internal memory due to performance reasons.

However I wish it was possible to backup apps installed on your sdcard but we already tried without success.

There is a few posts about it in this thread.

/Patric
[HTC Sensation] l4ck4ff3:
Sry i dont really understand how to Restore the Apps. Can you Tell me? (my English is not perfect :D)
[HTC Sensation] craacK:
Here is how you SHOULD do it:

- Check what apps are on SDCARD --> move them back to internal memory

- run backup tool

- and then wipe, flash rom, romcleaner etc etc

its just the fact that we cant backup those files on sdcard, sorry for that :p

now that you didnt move them back to your internal memory, the only chance to get them (back) is to restore the nandroid you maybe made, and do the procedure above
[HTC Sensation] l4ck4ff3:
Could I do it with titanium?
[HTC Sensation] craacK:
IF you have backed up ALL of your apps before, you can restore those missing apps (but i doubt that you did that :D), otherwise Titanium Backup has absolutely nothing to do with this.

Here are 2 possible solutions that might work:

- Let Google restore your apps after first boot

to do that you have to sign into your google account at first boot

- if u cant remember what apps you had on sdcard and you want them back go to https://market.android.com/, login, click on "Apps" and you hopefuly see the most recent installed ones

Next Time please check in --> Settings - Applications - Manage Applications - On Phone Storage, if some of your apps are on sdcard and move them back BEFORE you flash backup tool
[HTC Sensation] l4ck4ff3:
ok i think i restore nandroid and do it with titanium.

thanks a lot!
[HTC Sensation] verynuclear:
You are really awesome man

It is amazing and great application.

Thanks alot
[HTC Sensation] Patrics83:
Thanks mate! :D

Credits to my team, without them it wouldn't be so awesome :)
[HTC Sensation] Patrics83:
Ooops.....
[HTC Sensation] PaulGiz:
Just upgraded to 3.30 ICS ROM (ARHD 6.3.0).

I can confirm that the Beta Backup tool and Settings Restorer worked perfectly.

The bases didn't look that different to me so I took a chance and used Backup Tool v2 Beta and Settings Restorer v1.2 Beta.

Everything came back perfectly. My phone was totally setup (minus a few passwords).

Anyway, thanks for continuing your development, ROMCleaner was great before, now it's absolutely brilliant.

P.
[HTC Sensation] Patrics83:
Thanks for your great feedback! :D :thumbup:

Did you restore HTC mail also?

Was there any new apps in the new base? I didn't have time yet to check it out...

Would you mind and upload all logs from /sdcard/ROMCleaner/Logs, I'm just curious too see if all commands in backup tool worked as they should ;)

The development will continue as long we have many downloads and active threads...

Sent from my GT-P7510
[HTC Sensation] PaulGiz:
I did not notice any new Applications.

HTC Mail restored properly.

All accounts restored properly. I did have to link Bluetooth the first time, but all information was there. After that, no issues.

Desktops came back, including 3rd party Widgets.

Logs attached.

P.
[HTC Sensation] Patrics83:
Thanks mate!

100% working with other words :p

Bluetooth links always needs a "manual" connection the first time. But at least you don't need to pair every device ;)

Sent from my Desire HD
[HTC Sensation] craacK:
anyone that is familiar with romcleaner (atleast a bit :p) and "using" the new endeavour port with sense 4 ?

we need to test it .. but theres no port yet for DHD
[HTC Sensation] trx182:
Aye, was just about to use rom cleaner but wanted to check the thread first for any news :) what info do you need?
[HTC Sensation] jspina:
THANK YOU SO MUCH FOR THIS!!!! It is going to make flashing sense roms so much easier and faster! I basically did this manually everytime so this really means a lot.
[HTC Sensation] craacK:
we will do some things to our list (today or next few days) and will come back to you :)
[HTC Sensation] Patrics83:
I'm happy to hear that! :D

It can be used on AOSP ROMs also ;)

And with ROM Cleaner even your GF/wife can accept your flashoholism. ;)

Sent from my Desire HD
[HTC Sensation] loan92:
ROM Cleaner v3.4 Works on InsertCoin 4.6.1 ???
[HTC Sensation] Patrics83:
Yes of course! All Sense and AOSP ROMs :)

Sent from my Desire HD
[HTC Sensation] Astug:
Thanks so much for this, works like a charm and it's easy aswell. One question tho, I wish to keep the HTC Wallpapers (not the Live Wallpapers) but I'm not sure what I have to edit in the user list to keep them.
[HTC Sensation] Patrics83:
Should do the trick ;)

[COLOR="Red"]#[/COLOR]HtcImageWallpaper.apk HtcImageWallpaper
[COLOR="Red"]#[/COLOR]Mode10Wallpapers.apk HTC live wallpaper

[COLOR="Red"]#[/COLOR]"/system/customize/resource/*.jpg"
[COLOR="Red"]#[/COLOR]"/system/customize/resource/*.png"

They are located in the end of your ROMCleaner_user.txt
[HTC Sensation] Petesky:
I just flashed in the following order (rom ARHD 6.3.0)

FOLDER CREATOR

BACKUP TOOL

SUPERWIPE

ROM

ROM CLEANER

BOOT AND QUICK SETUP

HTCSETUPWIZARD REMOVER

MODS AND APP INSTALLER

SETTINGS RESTORER

But my kernel has changed to the default one that came with Rom and I lost

my Mods ,

I know its my fault but a what bit did I go wrong
[HTC Sensation] Patrics83:
You did nothing wrong at all ;)

But...

Super Wipe will format /boot, /system, /data partition on you device.

This means everything will be removed except your personal stuff on the sdcard.

The ROM will even if you didn't super wipe remove all your mods including kernel.

So you did nothing wrong at all imo, but now you have a "clean" install that just waits for you to personalize it with mods and kernel of your choice ;)

Only one question. Did you think Backup Tool would backup your mods?

Did you add mods to /sdcard/ROMCleaner/SecondBoot folder?
[HTC Sensation] Petesky:
Yes I thought it would backup my mods, thought I read it in the thread somewhere but it really is no problem as I can just flash them again,

and

no I never added anything to the SecondBoot folder, there is stuff there but I didnt add anything , not sure I fully understand the process but I'm happy enough,

one thing though how am I able to install the HTC Wallpapers
[HTC Sensation] Patrics83:
It should only be folders in SecondBoot folder unless you added anything to it. Mods and app installer will copy files from just that "SecondBoot" folder.

Regarding HTC wallpapers, you need to comment out the lines I posted earlier, in your own ROMCleaner_user.txt and reflash your ROM. You can find instructions in the guide.

In normal cases only the apk itself is needed to be copied to your /system/app folder.

Sent from my Desire HD
[HTC Sensation] Patrics83:
We have a technical issues with the servers right now.

Whiskey103 is working his ass of to fix it!

I will let you know when it's all up n' running again.

/Patric
[HTC Sensation] Patrics83:
All links should be working now.. ;)
[HTC Sensation] Whiskey103:
Now it's beer time ;)

Sorry Patrics!
[HTC Sensation] Patrics83:
It was just bad luck I guess but for now I will do my own backup of the counter links ;)

Beer time is everyday right? :p

Sent from my Desire HD
[HTC Sensation] Whiskey103:
Yeah, you know that serie 24?

Well let's say with me in it, it would be boring. Just me behind computer, drinking ;)
[HTC Sensation] Rranfu:
Hi everyone,

I'm a new italian member but I don't know if I have to present myself, so just understand me!

I have an HTC Desire, rooted, with Amonra recovery, partitioned, and Revolution 3.0 rom.

I'm using this script but it doesn't work correctly. I used Notepad++ to edit my personal list, but a lot of apk still remain. Any hint?

Here my personal list and the log file
[HTC Sensation] craacK:
Welcome on board :D

first of all, thanks for the logs ( and thanks for READING!!! :D)

ROMCleaner didnt work the way you want it because you are (most probably) using SD-EXT

ROMCLeaner only searches in data/app and system/app for the files inserted in the .txt

Please wait a bit and Patrics83 will give you a "SD-EXT Version" then it should work ;) (hes just busy right now)
[HTC Sensation] Rranfu:
Hmm, I partitioned my SD because I was on MIUI and I have to use A2SD, so I created an EXT4 partition on my SD. I don't know what I have to do. Let's try the other script! :) :)

EDIT:: I don't know if it's important but if I go, on phone and using ES Explorer, in /system/app/.. there are a lot of apk, but not what ROMCleaner cleaned, like Twitter (see in the log file).
[HTC Sensation] Patrics83:
Welcome :)

The problem with using sd-ext as you do is as craacK says...

Your apps is installed in /sdext/app_s/ and /data/app/

And since most apps from our list is installed in /system/app/ this won't work unless correct paths is added to all apps listed in ROMCleaner_user.txt

Example from your logs:

/sdext/app_s/HtcTwitter.apk
/sd-ext/app_s/Quickoffice.apk

/data/app/com.twitter.android.apk

I will send you a link later ;)

Maybe you don't need sd-ext anymore after using ROM Cleaner? :p

Edit: PM sent

Sent from my GT-P7510
[HTC Sensation] Patrics83:
But thanks to you ppl might be more instressted :D

Thanks for your feedback!
[HTC Sensation] bigbadmoshe:
very good job

wanted to say thank you this is so nice to have. :rolleyes:

can't wait for more addons and updates.

on a side note it would be nice if we can have the updates install first and than remove the bloatware this way you can setup your locksreen etc and than have all the setting without sense that is unless you can do that already i did see a secondboot folder.
[HTC Sensation] Patrics83:
Thanks, we are working on some nice features. :p

This is not a no-sense script so no need to change the order. How ever in next release I have changed the script order. First it will write user data then it will clean the ROM.

For example if you flash a theme or some addon how has some of the listed apps they will be deleted as well.

Secondboot folder will be used when you flash apps and mod installer.

Sent from my Desire HD
[HTC Sensation] Patrics83:
Sorry guys, due to bad research I removed my sketcher because some sources told me it was some stupid drawing app.

But infact it was an app how made it possible to use the built in screenshot function :D

So sorry for this minor misstake... Will never happen again I promiss!

ROM Cleaner v2.2 and romcleaner_user.txt from v2.2 is updated.
[HTC Sensation] ldelossa.ld:
Does the search anywhere function get removed with this script? after I ran it when I hit the search button on my phone while on the home screen I don't get a google search option come up.
[HTC Sensation] Patrics83:
Yes it does :D

Please check the app list in first post.

/Patric
[HTC Sensation] ldelossa.ld:
Found it! fixed it, thanks a lot!
[HTC Sensation] Patrics83:
Good, I wanted you to find it :p

Because then you might find something else too ;)

Sent from my Desire HD