yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Lostie:
In instruction i have only one way:

it works

But it don't restore all i want.

So.

A there any ways just to flash RC on working rom.

Perhaps need to comment (#app) some apps in ROMCleaner_user.txt ?

I can give you my Nandroid backup :)

And don't forget, i flashed it on workin rom, not before first boot.
[Desire HD Android Development] Patrics83:
You said you only had Wallpaper and status bar, right?

And what wasn't restored?

Also there is other instructions for non wiper's ;)
[Desire HD Android Development] Patrics83:
I have tried to add backup function for apps installed on sdcard... Its not possible as I see it.

If anyone have an idea on how to do it, just let me know. :)
[Desire HD Android Development] Dude360:
Just to add as it seems important.

I myself have looked into this before but left it out of the guide for some reason. Ill have to stick it back in.

Apps On SD - Android Internal

Apps moved to the SD card using Androids internal movement function are stored in an encrypted area which is only accessible while the system is running.

This is intentional by Google to prevent piracy as obviously the SD Card can be accessed from a PC and apks could be retrieved.

It is currently impossible to access this area from recovery and as such any apps located in this area will be completely ignored from the backup process.

Please make sure to move all apps located here back to the phone storage before proceeding with any cleaning operations:

Settings > Applications > Manage Applications > On SD Card Tab > {Select App} > Move To Phone Storage

It is more than likely that any apps left in this area will be deleted when using the cleaner as it is part of the process.

It is not recommended to keep data in this area when moving roms due to artifacts that could lead to errors on the new rom.

Apps2SD - EXT partitions etc

Work is in progress to fully support Apps2SD. No current eta.
[Desire HD Android Development] Whiskey103:
I know it might be considered off topic, but still. Welcome back buddy. Long time not seen. Glad to have you back ;)
[Desire HD Android Development] ridethisbike:
when you say impossible, do you mean it's impossible to go as far as moving the entire folder? or is it stored in a RAM type slot that only gets power (therefore inaccessible) when the system is running?

I can understand not being able to get into the folder, but it seems like it would be feasible to move the entire thing. but then I guess you run into the problem of other encrypted data (not apps) being moved to a new ROM that may cause conflictions. and then assuming the system creates a random key, getting the new ROM to see this restored encrypted data and use it would be impossible since that key would have been wiped out with the old ROM...

wow.... ok yea. makes sense. impossible.

that sucks. it would have been an awesome feature for ROM Cleaner. I wonder if there are any backup programs that can do what this other guy is asking.

how does TB backup apps that have been moved to the sd card?
[Desire HD Android Development] Patrics83:
Yes this is my conclusion also... Even .android_secure on sdcard is refreshed at boot. I think it kinda syncs /mnt/asec and /mnt/secure if the content don't match .android_secure its being cleared :p

So the system must be up and running...

Thx Dude360 for your detailed explanation ;)
[Desire HD Android Development] Dude360:
Im by far an expert but the the way I picture it is like so:

When the system is running it has the 'key' to unlock this area and have access to the apps & data as if it was on a normal file area.

Once you turn the system off it locks it back up until its running again.

If you try and access the area while the system is off from, say, recovery, it wont have the key and is unable to access it.

As for moving the area back and forth it moves into the whole encryption area of randomly generated keys etc and like Patric mentions if things arent in sync (keys dont match) then its basically useless on the new rom.

Thats my 'take' on it anyway. Im sure theres loads of white papers on it on the net somewhere. Encryption isnt my strong point, anything past using it im a bit lost lol

As far as Im aware, the SD area is open to devs to use and manipulate as it is pretty much part of the system, but only while the system is running ;)

Exactly, this is what happens during the "Preparing SD Card" message during boot and also when mounting to PC :)

Yeah been away for a it longer than expected, should be around a bit more now Im back home. After Ive sorted through the mountain of email and snail mail lol
[Desire HD Android Development] ridethisbike:
Patrics didn't say that, I did..... :D not that it matters

that really sucks though... I wonder if there is a way to extract the key some how and make it usable with a new ROM.... I don't know nearly enough to delve into that though. and I imagine that the people that do, have tried and failed or given up. Other wise this would't be impossible to do....
[Desire HD Android Development] chrischoi:
Edit. I think I got it.
[Desire HD Android Development] 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...
[Desire HD Android Development] 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!
[Desire HD Android Development] ShadowPony:
I've tested the latest beta for the back-up and restore tools and decided to give some feedback:

Everything went smoothly with the exceptions of some glitches:

- sense widgets were restored smoothly

- most third party widgets were restored

- elixir widgets became phantom widgets, easily fixed with a restore of widgets within the app (problem with elixir I guess)

- some widgets became visible only after the app data was restored from back-up

I blame the third party widget glitches to the apps.

However, the restore process is better than the one from MyBackupPro.

I intend to use it from now on instead of MBP.

Thanks a lot patrics, craack and dude for your work into ROM Cleaner.
[Desire HD Android Development] Patrics83:
Amazing! Thx mate for your feedback!

And also thank you for pushing me to add launcher backup/restore :p

I guess same problems will happen if you use other backup solutions as well and 3rd party widget's is just a great bonus if they work after restore...

Let the development continue.... ;)
[Desire HD Android Development] ABDOKRO1:
I can't test it right now, I'm in rehab... This damned flashaholicism is hard to fight...

As soon as I give up, I'll give it a try.
[Desire HD Android Development] Whiskey103:
Better don't fight it, it just makes it more painful :D
[Desire HD Android Development] ShadowPony:
One more point I'd like to point out, in my previous post I was only talking about home-screen restoration process, which is an improvement on other solutions I've tested.

Bluetooth settings, Wi-Fi settings, accounts setting, were all restored perfectly.

Now I can only use MBP for data back-up :D

Thanks again to the team.
[Desire HD Android Development] KriwilAbiz:
Hi Patrics83, there is something missing on the description of HtcNotes.apk which is "HTC Notes (Don't forget to keep", I've been put it on ignore list along with HtcNotesProvider.apk, HtcPainterView.apk, and HtcRichNotesWidget3D.apk but still my Note widget failed to sync to my Evernote, what else should I put on the ignore list?

FYI: FriendStream and HtcTwitter are removed.

Thank's in advance.
[Desire HD Android Development] Patrics83:
Did you restore your accounts with settings restorer?

If yes. Remove evernote account in settings account, and add it again.

Now it will work.
[Desire HD Android Development] KriwilAbiz:
Ah.. yes thats works.
[Desire HD Android Development] 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 ;)
[Desire HD Android Development] Vessarius:
Hello!

I've got one question, as I'm going back to AR HD, does ROM cleaner support the newest 7.0.0 AR HD? :)
[Desire HD Android Development] craacK:
ofcourse :D just dl the latest stuff and its fully working with 7.0.0
[Desire HD Android Development] Patrics83:
We work so F&%¤ing fast and as long you can read that txt in the OP you will do just fine ;)

Happy flashing!
[Desire HD Android Development] craacK:
Patric, your keyboard seems to be broken! You cant write ****ing properly
[Desire HD Android Development] ABDOKRO1:
Keyboard issue or education issue ;)

Little Patric isn't allowed to say the "F" word...
[Desire HD Android Development] Patrics83:
LOL that's correct. My teacher always tell me to not use the F word... But tomorrow I'm 18 so I can say what ever I want :p

Stay tuned!
[Desire HD Android Development] ShadowPony:
on ARHD 7.0.0 the settings restorer does not work well

I have my mail accounts in the mail widget, it updates if I have new mail, the works

but the mail accounts do not appear in "Accounts & Sync"

Other than that, the restored "Wi-Fi"s are there as well as bluetooth devices

I used the beta section ;)

(home screen restored perfectly as well)
[Desire HD Android Development] Patrics83:
I works very well but... ;)

I'm not sure what ROM you was at when you made the backup but my guess is you upgraded to a ROM with a different base and there for you will experience problems like this. Titanium backup etc will give you same result.

And since accounts is only one single file there is nothing we can exclude from the backup or not even the restorer.

But as you say, the sync works anyway ;)
[Desire HD Android Development] ShadowPony:
back-up was done on ARHD 6.3.2

restore was done on ARHD 7.0.0

different bases indeed

thought it might have been a problem

since you confirm it's not, I can live with it, had too many accounts listed in "Accounts & Sync" anyway :P
[Desire HD Android Development] ABDOKRO1:
Today is the day !

"Happy birthday" Patric... :D :D :D
[Desire HD Android Development] Patrics83:
**** **** ****!

Yeah feels much better now ;)

"It's amazing to be 18" haha

I only wish it was possible, rewind my life... hmm maybe it can be done with a script: p
[Desire HD Android Development] Vessarius:
After I had flashed AR HD 7.0.0 I flashed ROM cleaner with earlier edited user.txt, then I restored my apps etc. But what I wanna say is that I couldn't find QuickLaunchWidget in widget menu, so firstly I thought it's not included in the AR HD 7.0.0 but then I thought that ROM Cleaner might have removed QLW, so I checked if QWL is selected to remove or not, before the name was # so it wasn't removed by ROM cleaner. So was it previously removed by AR HD or something else?
[Desire HD Android Development] craacK:
correct, its not included in ARHD 7.0.0
[Desire HD Android Development] intelintelintel:
i want to use your script but want to remove sense rosie launcher too.. can i edit the thing with notepad++ to do that aswell?
[Desire HD Android Development] eLPeCKo:
Maybe you can try no-sense++ script ;)

It removes also launcher and another stuff, just a suggestion.

And I am sure you can remove more stuff with Patrics script also as I updated his script via 7-zip and Notepad++ as he wrote we can :cool:
[Desire HD Android Development] Patrics83:
Yes you can edit the script to remove Rosie no problem at all.

How ever I think you should use no-sense++ made by lukogriffioen. Or no-sense made by mike1986.

Or at least make a nice combo of them both.
[Desire HD Android Development] craacK:
just to give u some work: (:D)

are there more apps that can be removed without problems (syncing etc)?

because u said in first post "the script removes things that I personally don't use"

what options do we have? :D
[Desire HD Android Development] Patrics83:
There is a few things you can delete without breaking sense.

Maybe in the future I will list all apps in the script.

Best way to delete the app with root explorer and see how it behaves. Next step is to add it to the script and test it after full wipe. For example if you delete friendstream you will get sync issues. And if you add any mods that is included in framework in the ROM cleaner you might get problems with apns in setup wizard.

That's why it can be very sensitive to remove to much.

Good luck :D

Join our irc if you need more detailed help.

Ok since whiskey is hiding. Ask for me! :p
[Desire HD Android Development] Whiskey103:
IRC Channel huh.... /me hides for a long period of time :D

CU.

Sent from my Desire HD using Smoke Signals, Morse Code and Pigeon Post.
[Desire HD Android Development] Dude360:
No use hiding, you can always smell out a good whiskey...:p
[Desire HD Android Development] Whiskey103:
Yeah. That fact combined with your avatar.. i guess I can't hide from you indeed. :D

Sent from my Desire HD using Smoke Signals, Morse Code and Pigeon Post.
[Desire HD Android Development] Patrics83:
Guys I talked to Whiskey, he is not hiding anymore ;)

But if you need support on my tool, ask for me in the IRC.
[Desire HD Android Development] preacher65:
Patric - mate - this list is pure awesome. Thanks! I've been wanting to take a closer look at your script and lukogriffioen's no-Sense++, together with my modified version of Mike's no-Sense, and use them to come up with my perfect, customised cleaning script. This list will help so much with that! And it must have taken you ages. Thank you! :cool:
[Desire HD Android Development] chardd23:
hi patric,how do i retain some htc widgets :)
[Desire HD Android Development] Dude360:
Open the updater-script in notepad++ and delete the lines of the widgets you dont want removed :)
[Desire HD Android Development] chardd23:
already did that, doesnt show on add widgets, FC on browse all htc widgets but its on system/apps/
[Desire HD Android Development] Dude360:
Hmm trying to figure out what youve removed to get the FC on Browse all. I use the script and it still works for me.

Which widgets are you trying to keep? When are you flashing the cleaner?

Have you checked that the widget is is /system/app using a file explorer? If it is, clear data from HTC Sense and see if if appears.
[Desire HD Android Development] chardd23:
im trying to keep the music widget,clock widget,settings and friendstream widget.

i checked the system/app the apk is there(music,settings,clock and friendstream)

others are cleaned already

i flash the script right after i flash the rom.
[Desire HD Android Development] Dude360:
Cool, have you cleared data from HTC Sense?
[Desire HD Android Development] chardd23:
Wow its now working thank you brah!
[Desire HD Android Development] blaze0303:
Worked wonders on Coredroid 6.7
[Desire HD Android Development] Dude360:
:D Cool, thought it might be that.

I noticed it yesterday when playing with my modded sync widget, it wouldnt appear until sense data was cleared.

It only seems to need clearing with HTC widgets mind, all others seem to work fine.

Also, if you are flashing the S3 mods, make it a habit to clear HTC Sense data along with Weather etc on when flashing a new rom after the mods. It seems to clear a lot of little errors like this :D
[Desire HD Android Development] Patrics83:
@Chardd23, the reason why you got FC and other problems is because you didn't full wipe before flashing ROM and my script.

But I guess next time you will not have this issues. ;)
[Desire HD Android Development] Nubzori:
Sorry if this has been asked before, but any way to keep the "Settings" widget. I use it for easily disabling the internet connection. Thanks
[Desire HD Android Development] Vessarius:
Ok, thanks for info. But as it's really cool widget, is it possible to flash/install it on the newest AR HD separately from ROM?

@Nubzori:

If you use ROM Cleaner, you should put # before the name of widget/app which you want to keep in ROMCleaner_user.txt.
[Desire HD Android Development] Nubzori:
Understood
[Desire HD Android Development] craacK:
just tried 2 different ways to isntall the widget (taken form ER3BUS 3.6) but had no luck :O

maybe the master himself knows how to... or its just not possible (but i cant imagine that)
[Desire HD Android Development] Vessarius:
So I'll have to ask master if it's possible, but I asked few times in main thread and no response, maybe I should write PM to mike, but I don't want to spam him :p.
[Desire HD Android Development] craacK:
my master is Patrics83 .. not mike :P
[Desire HD Android Development] Vessarius:
They're both masters, so I didn't know who are you talking about, I assumed that about mike cause I was talking about AR HD, but good idea, I'll write also to Patrics.
[Desire HD Android Development] ABDOKRO1:
Looks like a "master-slave" relationship...

Now we know who lives in the basement ! :D
[Desire HD Android Development] Patrics83:
Who is Mike? :p

Anyway, QuickLaunchWidget.apk needs more changes in the ROM to work it seems. Not ROM Cleaner or QuickLaunchWidget related, more like ROM related...

I think fusion.apk needs to be edit also but I'm not sure, since I'm not a mod/app creator ;)

I just do my thing with basic scripts to help ppl have a more pleasant flashing experience.
[Desire HD Android Development] Vessarius:
Mike is mike! :D

Anyway thanks. But somehow I extracted QLW.apk from one rom and installed it on AR HD 7.0.0 and it works, I've got the QLW on my homescreen, don't know how but it works :D.
[Desire HD Android Development] Patrics83:
Great :D

Then it was app related... :p
[Desire HD Android Development] Vessarius:
But even if I had QLW on my homescreen someone asked Mike if he will add QWL to ROM and it'll be added in 7.0.1 so my efforts were in vain. At least I learned something! :)
[Desire HD Android Development] 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
[Desire HD Android Development] Patrics83:
All links is remade, should work now ;)

Puuh :rolleyes:
[Desire HD Android Development] Whiskey103:
Now it's beer time ;)

Sorry Patrics!
[Desire HD Android Development] Vessarius:
But there is always a good time for a beer! :D

@topic:

I was always curious why ROM Cleaner has to be flashed just after ROM, would it make any difference if e.g I flashed it after first boot? Just out of curiosity. ;)

Sent from HTC Desire HD using Tapatalk.
[Desire HD Android Development] ShadowPony:
to my knowledge, it will cause problems with sense if flashed at second boot, and sense data needs to be cleared

that is, it is recommended that it is flashed before first boot

also, all the apps it removes do not need to create the data at first boot, since they are removed

all in all it is not a real big problem to flash after first boot, but don't complain afterwards, also a reason why patric & the gang (craacK and dude) will recommend to always superwipe when installing a ROM, even if it's a upgrade (such as from 7.0.0 to 7.0.1)
[Desire HD Android Development] Patrics83:
Yep, that's true. I never flash a ROM without super wipe. Why spend time on a upgrade that might fail directly or after a few days when you can do it properly? ;)

Maybe it should be called Time Saver and not ROM Cleaner? :p

However, ROM Cleaner can be used if you upgrade from a previous install that was cleaned with same ROMCleaner_user.txt

Just make sure you don't boot your device after ROM flash.

Sent from my Desire HD
[Desire HD Android Development] ABDOKRO1:
Hi Patric,

Since few devices already received the "ICS treatment", do you have some kind of roadmap for ROMCleaner's next step? Some known bloatware on your black list?

In fact I really don't want to wait too much when ARHD v8 will be out... :D

Keep up the good work guys, you did a great job till now and I'm sure you will in the coming months too.
[Desire HD Android Development] Patrics83:
Hey :)

Roadmap would be ROMCleaner v3.5 in next couple of days hopefully, with a "final" ROMCleaner.txt for Sense 3.0-3.6 ;)

And a improved ROMCleaner script that is much faster then before ;)

After that we will continue to work on ROMCleaner v4.0! For Sense 4.0+ only :D

The reason why we do that is because we will use a new ROMCleaner program (already in testing phase) and just to make sure the ROMCleaner_user.txt is clean and easy to read we will start all over...

Thanks for your support ABDOKRO1

We will do our best!

Sent from my GT-P7510
[Desire HD Android Development] Limerick_fr:
__________________________________________
[Desire HD Android Development] Patrics83:
Hahaha ^^

Sent from my Desire HD
[Desire HD Android Development] ABDOKRO1:
ETA requests : not allowed

Changelog requests : allowed

:D:D:D
[Desire HD Android Development] mike1986.:
​

:D :) Happy birthday Patrics !!! :) :D​
[Desire HD Android Development] Patrics83:
Thanks mate! :)

Sent from my Desire HD
[Desire HD Android Development] ABDOKRO1:
Is it Euphorie on the picture? :D

Anyway, happy birthday mate.
[Desire HD Android Development] Wacco001:
Happy birthday !! :D:):p

Hope you'll have a great time (and not a real BIG hangover tomorrow ..;))
[Desire HD Android Development] Patrics83:
Thanks buddy! :D

Didn't know you played piano :p

I will stay sober, work tomorrow you know ;)
[Desire HD Android Development] Wacco001:
Wished I could .. LOL :D
[Desire HD Android Development] preacher65:
Happy birthday Patric!
[Desire HD Android Development] Patrics83:
Thank you preacher! :thumbup:

Sent from my GT-P7510
[Desire HD Android Development] HunnyBearLewis:
Hey, searched several times (maybe I suck) but couldn't find the exact answer I was looking for. I'll bet it's been answered and I apologize for that.

So, I'm aware removing FriendStream can cause sync issues for some people. I'm wondering, if I choose to remove it is there anything recommended that I keep or remove along with it? Basically curious about what might cause those issues so I can avoid.

EDIT: just realized I'm in the DHD section, lol.
[Desire HD Android Development] Patrics83:
By removing FriendStream we have seen that Google sync is syncing all the time. At least it used to do so, maybe it has been changed since we got newer android version..? Remove it and report back ;)

Good to know.

You might get different results if you remove it on a running system or if your remove it before first boot. This is why it's so hard to find apps that is safe to remove :banghead:

Sent from my Desire HD