yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] proalsren:
Thank you . I thought I'd ask while I wait for the ROM cleaner 2.0
[Desire HD Android Development] craacK:
something told me to keep my F5 button pressed :rolleyes:
[Desire HD Android Development] Patrics83:
LIVE NOW

A Revolution in ROM Cleaning!

Patrics83 & Dude360

In collaboration with madmaxx82

Present

Flashable ROM Cleaner 2.0

NEW! - Completely recoded from the ground up!

No more messing with .zips or editing updater-script!

NEW! - Super easy and noob friendly configuration!

Easily update-able files list!

NEW! - Custom List Support

Want to use you own personal cleaner list? No problem!!!

NEW! - FAST!!!

5 Seconds from flash to finish!

NEW! - Easy Backup & Restore Of Apps!!!

Have your apps backed up and restored before first boot!

!!! DOWNLOAD NOW !!! ;)​
[Desire HD Android Development] Wacco001:
Congratulations with this GREAT work !!!! :D

Cheers,
[Desire HD Android Development] Patrics83:
Thanks a lot mate!

In second post, as attached.

Ok I will do like this, a complete romcleaner.txt from ROM Cleaner v2.0 will be in download section. But renamed to romcleaner_user.txt follow the guide from there. :D

But I will make it more clear, thanks for spotting :D
[Desire HD Android Development] Wacco001:
I found it, THANKS .. and corrected my original post :rolleyes:

THANKS again for this nice work !!!

Cheers,
[Desire HD Android Development] MarckX:
Very nice indeed..... Just got the previous version almost ready to go :( Thanks for that..... :D It looks very promising and userfriendly! I will surely have a go at it this weekend and give you a heads up.

Thanks you guys for this release! :)
[Desire HD Android Development] Dude360:
That was the biggest challenge we had, making it as user friendly as possible!

I dont think it can get any more friendly than writing text into a file lol

I know the guide looks 'daunting' as all long posts do but its really easy to follow and hopefully help folks out.

:)
[Desire HD Android Development] Patrics83:
Well what can I say. Sorry :p

Just make sure you guys bomb Dude360's thanks button for that amazing guide! :D

He also made loads of work on this tool. Flashing and testing for a week now.

Editing scripts, smashing his head in the table well all that stuff.
[Desire HD Android Development] Patrics83:
You can reboot your device now... no need to spend more time in recovery. Everything is working like it should.

Thanks a lot for all your help mate...

Actually I was worried you should break that NAND in your DHD at some part of the testing session :D
[Desire HD Android Development] MarckX:
Just re-read your guide, and it looks absolutly clear... I will use it with my first go at it and I'll let you know if it's completely nOOb proof :D But I think I know the answer already.

I would have asked you guys for a logging the script, but I'm too late for that. :( :D

Now for the very last time on previous version: I got it all working just fine. All mods (AIO, XL menu, CRT, UOT) 4EXT theme, OC Daemon, boot- and downanimation and installing all apps. The only thing that caused me some trouble was the /data/data. I could't get it working. It installed all well, but I must have been doing something not the way I should. But the script did it's job perfectly :)

But no worries about that for now. I'm gonna use v2.0 with all add-on scripts :)

BTW: Patric, shouldn't you change the threadname to something like: Romcleaner Ultralight and easy installer or something like that. That would do the script some more justice..

Cheers and again: thanks for this wonderful release. I can't hit the button anymore. You guys caused me an out-of-thanks button state... :D
[Desire HD Android Development] Wiingy:
awesome work, re-flashed ARHD 5.2.3 with ROM Cleaner v2.

Just read the first two posts 2 or 3 times then give it a go for yourself. You should be able to work it out.

I liked the idea of folders on the SDCard and how it automatically reboots.
[Desire HD Android Development] HeiDuDer:
whats new with HTC SetupRemover 4.0?
[Desire HD Android Development] zhjc00917:
thanks for your share
[Desire HD Android Development] Patrics83:
Thanks for your feedback mate! :D

data/data is app user data but I guess you know that?

Anyway we will collect stuff in this thread and try to "correct" it even more in next release.

/Patric
[Desire HD Android Development] Patrics83:
Thanks! :D

Yeah, the rebooting thing can ofc be deleted but we thought it was a nice addon :D Since there is an issue in recovery with folder refreshing.

And after folder creator and backup apps to sd. Then mount usb storage and manage everything with the ROMCleaner_user.txt and unwanted user apps on SDCard.

After those steps you are good to go! :D
[Desire HD Android Development] Patrics83:
We removed the write commands from it.

And since the old HTC Setup Wizard remover was v3r2 we wanted to clear all missunderstandings.

We laughed at it a few times tbh. Because the most simple script had the higest version number :p

But never mind just use it :D
[Desire HD Android Development] Patrics83:
Your welcome mate!

I hope you will have great use of it ;)
[Desire HD Android Development] Patrics83:
Ok, we spotted and minor issue with Backup Apps To SDCard.

Corrected version is in download section now.

Change log for Backup_Apps_to_SD_v1.0a.
[Desire HD Android Development] jermx:
I've got a quick question. I want to edit the default list of apps to be deleted so i have to flash the zip first and get the ROMCleaner.txt and edit it? Or how do I go about doing it. I don't really understand the information in the second post. Can you explain it in a simpler way? Sorry for the inconvenience !
[Desire HD Android Development] Patrics83:
Download the romcleaner_user.txt from download section. Put it in /SDCard/ROMCleaner/

Open ROMCleaner_user.txt with Es File Explorer text editor in phone or edit the txt file on your PC with notepad++

If you don't want an app to be deleted by the script. Put "#" infront of the line.

Like this.

#/System/app/Appname.apk

And if you want an app to be removed,

Remove # infront of /System/app/appname.apk
[Desire HD Android Development] poetter747:
Question about ModInstaller zip

Hi there,

nice script. Looks very promising. Sound like my first reinstall choice. One question about modinstaller.zip:

Do i have to unpack the mods to my sdcard in the SecondBoot folders, or do i have to copy the flashable zips?
[Desire HD Android Development] craacK:
unpack the zips one by one, delete the meta inf folders and keep system + data

if a "mod" only consists of META-INF its not possible and u have to flash it the old way

like said in the guide (2nd post) be aware of system apks such as framework-res and com.htc.resources
[Desire HD Android Development] poetter747:
Thx for reply

Shouldn't that be ok if there is only one mod that contains these?
[Desire HD Android Development] craacK:
u mean framework-res and com.htc.resources ?

if yes: we've tested some mods, some worked, some didnt - but there is no guarantee.

if u are going just for battery mod it should work, for others its up to you to test it and leave feedback :)
[Desire HD Android Development] poetter747:
Yes, it is ARHD_5.2.x_BattPercentStock_v0.1 from Dude360. I'll let you know how it did.
[Desire HD Android Development] Dude360:
Yeah was hesitant to release the mod installer as its might be a bit much for most, especially if they dont really know a lot about mods etc.

Thats why Ive left a lot out in the guide, I wanted people to ask questions and get some feedback from them.

In theory, the installer does nothing different to flashing from a zip which is why we are all dumbfounded as to why we had some problems with it.

I use it myself when developing my own mods, its an easy way to flash rather than having to either zip up everytime or use adb push etc
[Desire HD Android Development] maninasuitcase:
Fantastic , just used it , thank you so much for all the time and effort put into creating this
[Desire HD Android Development] MarckX:
Hi Guys!

So here's what I've done untill right now:

First read 2nd post again, then downloaded the scripts.

1. I didn't do a backup of data because of some troubles with it...

2. Flashed Folder Creator and checked /sdcard/romcleaner --> ok

3. Flashed backup script and checked copied files on sd --> Ok

4. Did a superwipe (with autoreboot)

5. Flashed ARHD 5.2.3 (zip-file as provided bij Mike)

6. Flashed RomCleaner as provided with standard RomCleaner.txt and autoreboot--> ok

7. Waited... :( .... and waited..... (too many apps... I know... LOL)

8. Skipped HTCSetup

9. Checked installed apps -->

Everything went as expected :D .... all is well

10. Checked logfiles:

I'm getting this

- Can't open /dev/tty0: No such file or directory (it's not used IMO, so why is it mentioned)

- Romcleaner.txt (and ofc Logfile) show this text:

!!! IF THIS IS YOUR OWN SCRIPT DO NOT IT !!!! Just a cosmetic one :)

- Some already existing dirs.... so that's working fine as well.

BTW: Checked RomCleaner updaterscript and saw a "new" file: romcleaner :confused: It must be some kind of runtime environment to read and integrate the text-files while flashing. Am I right?

Right now will have a go at with HTCSetup remover and mods and app installer... I'll be back :)

Cheers guys!!!

edit: @CraacK: Just thanked you for your participation in this! :)
[Desire HD Android Development] Dude360:
Yeah the logfiles are mostly from recovery itself so there will be some 'errors' as its using a common busybox mounting procedure which should mount any and all partition to help with other roms/devices etc.

We are still working on a format for the logs but itll all be cosmetic so there might be a few spelling errors here and there :p

Really happy that you found it useful and easy to use, dont forget to drop as much feedback as you can :D
[Desire HD Android Development] MarckX:
Yeah, will do so. But I'm not going as fast as I can, because I want to understand as much as possible what's happening during flashing.. :)

I'm really learning lots of stuff here.
[Desire HD Android Development] MarckX:
Hi guys,

In second post is stated:

The Easy Folder Creater also has these directories ready to be made in the updater-script but # to avoid confusion.

In my dl'd script there's no #, so the directories are created anyway... again nothing to worry about as I'm not confused, :) just mentioning.......
[Desire HD Android Development] poetter747:
hi again,

here some feedback from my first use. What i did:

1. Downloaded all files

2. Boot to recovery

3. Flashed Folder_Creator_v1.0.zip

4. Flashed Backup_Apps_to_SD_v1.0a.zip

5. Reboot

6. Extracted all mods and copied files to /sdcard/ROMCleaner/SecondBoot as there where:

6a. Android_Revolution_HD_Sense_3.0_All_in_one_5.2.x_v.0.3

6b. Android_Revolution_HD_Quick_Settings_XL_no_recent_apps_5.2.x_v.0.1

6c. Android_Revolution_HD_CRT_Animation_5.2.x_v.0.3

6d. ARHD_5.2.x_BattPercentStock_v0.1

6e. bootanim-flashable

6f. /system/etc/virtuous_oc/*

6g. /system/fonts/DroidSans.ttf + DroidSans-Bold.ttf

7. Backup App Data with TitaniumBackup

8. Boot to recovery

9. Flashed Super Wipe

10. Flashed ARHD 5.2.3

11. Flashed ROM Cleaner

12. Reboot

13. Skipped Setup

14. Booted to recovery

15. Flashed Mods_and_App_Installer_v.1.0.zip

16. Reboot

17. Restored System Settings and partial App Data with Titanium

18. Reboot

That worked very well. There are some things left i need to tweak on.

First of all. I was missing some apps. Don't know why. Is there another place for apps than /data/app? To find out i need to know the apk file name of the missing apps first. F.e. "CutTheRope" was one of the missing apps.

For the next try I'd like to add my favorite wallpaper for second boot. Its lokated in /data/data/com.android.settings/wallpaper.jpg. So a copy to SecondBoot should do the trick.

As I'm using LauncherPro, I have to set LauncherPro as defaultHome again, and then readd all the widgets. Haven't found a way to do this other than by hand.

So far so good. Nice script. Keep up good work. This one is saving a lot of time on FullWipe.

Anyway, any idea on the missing apps?
[Desire HD Android Development] Dude360:
Wow, you do almost as much as me on a restore :p

Did you have any problems with the mods at all? It seems to be 50/50 on wether they boot or not.

As for the apps, have you checked the SD card?

Head to applications in settings and see if any have been installed to the card, if they have move them back :)

If you do an upgrade they reappear but on a full wipe the information android has to tell it they are there is wiped so they are just sat wasting space.

THere isnt any other places apps can go apart from /system/app and the script copies the entire /data/apps across, not checking per file if you get me?
[Desire HD Android Development] reynierpm:
Hi Patrick, Dude360 and others, it's me again the HTC Magic 32A guy :p I try again to run the script and still not workin I get just the same error:

Any help? :confused: I find for LOG file to attach here but nothing was created in my SDCard :( I'll like to use this amazing script to reduct my Sense based on SMF 1.2 ROM please.

Cheers and thanks in advance
[Desire HD Android Development] poetter747:
No problem with the mods at all. Everything was as expected.

You're right. The ones missing are those installed on SD. Is there a way to "reregister" them? Moving them back to internal memory seems like wasting memory.
[Desire HD Android Development] MarckX:
Next heads up... this one's about mods_and_apps_installer:

(I saw that Poetter77 almost did the smae)

So this is what I did after flashing ARHD 5.2.3

1. Copied all needed mod files and zips to /secondboot to right dirs;

2. Checked updaterscript on what would happen :) ;

4. Flashed HTCsetupRemover;

5. Flashed MOd_and_App_Installer.

Resulting after first flash in:

Bootanimation + mp3 --> working (with sound)

Downanimation --> working

OC Daemon changed freqs --> working

4ext theme --> working

AIO --> working

XL Quicksettings --> working

UOT (fonts/battery/overglow/icons) --> working

CRT animation --> working

Really easy does it.... working like a charm.... again! :D What can I say man, you gave me no reason to flash anything anymore this weekend..... :(

!! I think to get best result for flashing mods: copy all extracted files of the mods to SDCard at /SecondBoot in the exact same order as in flasing. Let duplicated files overwrite the existing ons. If it worked all together after flasing, it should work after using the script.

Questions:

* In the updaterscript, I can see the mkdir command. IMHO it is not used, because all the dirs have already been created by the extracted file-copying, right?

* What's this in the logfile? "Child excited with status 1 about to run the program" :confused:

So I'm gonna say thanks again guys for a wonderfull script!! Won't flash without anymore!! And for sure I'll be a dedicated follower/participant of this thread!!!!

ps 1: For using downanimation you can add mkdir /system/customize and mkdir /system/customize/resource to the script(s).

ps 2: I updated my sig. Hope you like it.

Ps 3: I hope you guys can hook up sometime to enjoy some beers: 7D471380NH858491A Cheers!!!!
[Desire HD Android Development] Dude360:
Are you still using CMW 2.x? It requires 3.x and up.

I think you can head to settings-applications and see if android has picked them up as on the sd. If it has, just move them back to internal then back to the sd card again to get them properly registerd.

I think they are stored in the .androidsecure folder on the sd but i have no idea how to access it as its encrypted.
[Desire HD Android Development] Dude360:
Awesome! Glad everything's working for ya, including the mods :D

It is possible that there may just be one or two mods that dont like it, I know I tried all the ones me and FlinxOver created with pure success but my own personal framework (modded to fook) would not have it!

The mkdir command is there to guarantee the folders exist otherwise it will fail to extract, just an over-precaution on our part :) There may be someone somewhere who only uses the mod installer and not the rest ;)

That child.. command is just recovery's log way of saying our script is working :)

Will add downanimation dir in next release ;) Love the sig and the beers are very much appreciated :D

We are awaiting some more feedback from the 2.0 release over the next week or so to let it settle and iron out any bugs before starting research into other lower end devices and updates :)

Thanks again :)
[Desire HD Android Development] MarckX:
Thx for you answers.

Just did a full re-install and it took me about 12 minutes :) :) (only the most used apps and widgets installed). This flash I tried AppWidgetPicker and it's working instantly!! :)

For the beers: you guys did an awesome job and deserve it!! (imo you should be extremely drunk by now, enjoying all the beers you got - or at least should get!!!!)

I hope you get your totally fooked-up framework to work!!! :D There's got to be a way, I'm sure about that! :)

Cheers!
[Desire HD Android Development] Patrics83:
@MarckX

Thanks a lot for all your feedback! Damn good posts you made there ;)

I don't know what to say more then what Dude360 already said...

Downanimation dir will be added in next release and I guess we will come up whit even more great stuff for you!

Thanks a lot for the beers, are very much appreciated!!! :cool: :D

You are now in first post ;)
[Desire HD Android Development] Patrics83:
I'm really happy to read you like it so much :D

12 min is good, how man apps did you flash with ROM Cleaner?

Regarding the Beers we are working on it but Dude360 just passed out... He didn't sleep so well this week :D

Thanks again :D
[Desire HD Android Development] craacK:
As promised yesterday, and for your hard work together with "the boloper" Dude360, please receive a little gift from germany

25M14126PX567720J

that were some funny days while testing and both of u can call me everytime u need someone again!
[Desire HD Android Development] Patrics83:
OMG! Thank you so much mate :D

You shouldn't been doing that ;) You have worked hard also to test out our corrupted **** :D

But ofc your donations is more then welcome :D Thank you so much!

And all users here should thank craacK for doing all the tests so we could release it as fast as possible :D

I will always provide you with the latest stuff ;) count on that.
[Desire HD Android Development] poetter747:
Would it be possible to copy this apps at backup. May be just adding folder on SD as a second source, so that they are back on internal memory after restore?
[Desire HD Android Development] Patrics83:
You mean like app2sd?

The thing is if you backup apps with our tool they will be copied to SDCard in a ROMCleaner/FirstBoot/data/app

And when you flash ROM Cleaner they will be written to internal storage like they where when you made they copy. So they are restored at first boot.
[Desire HD Android Development] poetter747:
Yes,exactly. I did not mean the apps to be on SD. I would not care if they are on internal memory after restore. So copying them during backup to sdcard/ROMCleaner would be better than missing the apps.

One more thing. I would like to restore my viper mod settings. To do so I need to restore a init script. Could you add a copy command for /etc or /etc/init.d on second boot?
[Desire HD Android Development] craacK:
edit: i did get u wrong, read your 2nd last post :D

for the command to restore your vipermod settings better wait for Patric or Dude :D
[Desire HD Android Development] Patrics83:
I'm not sure if understand your question mate.

But, did you see we already have a backup apps to SD script?

If you flash backup apps to SD before full wipe and ROM flash.

Then ROM cleaner will install all your apps when you flash it.

Sorry if I misread your question.

Edit; in next release we will add almost every single folder in folder creator. :D
[Desire HD Android Development] MarckX:
Tnx!! Glad I could be helpfull in some kinda way.

You don't need to say anything; Dude made me blush for the both of you...

Just enjoy it, I'm gonna do so as well in a couple of hours.

:eek:OMG..... I made it to OP .... LOL
[Desire HD Android Development] poetter747:
Ok. I try to explain better.

I would like your backup script, to copy all apps that are installed to SD to the folder /sdcard/ROMCleaner in addition to the apps in /data/apps. So when you restore them at first boot they will be restored to /data/apps.

Any word on adding /etc/init.d?
[Desire HD Android Development] Patrics83:
Haha all great guys will end up there! :D
[Desire HD Android Development] MarckX:
Yeah, for me it a really big reduction in time. I'm up and running within about 25-30 minutes after a full wipe.... ehh... backupscript...:)

I thought I had only 15-20 apps Installed, but when I checked there were 49 in firstboot/data/app ...... :eek:
[Desire HD Android Development] MarckX:
Really love the vibe in this thread!!! :D
[Desire HD Android Development] Patrics83:
I'm just happy I took the step and upload this. Because from the beginning I did this only for myself... And now thousands of ppl saves loads of time... :D

Great users make it vibe! :D
[Desire HD Android Development] Dude360:
I get ya, unfortunately I dont think this is possible.

The apps moved to sd by android itself are done so through the internal mechanisms and placed in the android.secure folder. This area is encrypted to prevent piracy and as such has to be dealt with by the system itself.

The only way round it, it is manually move all apps installed to sd back to the internal nand before running the backup script.

With the viper mod settings, all you would have to do is copy you current settings over to the ROMCleaner folder in the correct place and they will be copied back during install.

The script copies anything placed under the /system and /data root folders which means pretty much the entire system structure is ale to be copied back over ;)

Yup, down to 15mins and 2 reboots with 204 apps :D A LOT faster than redownloading from the market every flash!

Now if only there was a way to run a 'macro' to get all my system settings restored correctly...
[Desire HD Android Development] poetter747:
There's the problem. /etc is nether in /system nor in /data. This will need an extra copy command in the romcleaner script.
[Desire HD Android Development] MarckX:
I think there's an app in the market for vipermod, or one that does the same. Mike recently asked in AR DHD thread if someone was using it. Maybe this can help with easy restoring the settings. I can't check it right now because I'm off in a minute... But I will have a look at it tomorrow.

There are always people who want to be better in any kind of way... can't you once be glad for someone else ... congrats mate for making me jealous .... LOL!!!! Little bit of sarcasm there... Yeah, it's really great what you've achieved with these scripts!!!!

For now I'm going to find myself some nice cold beers for making it to OP.... Cheers mates, have a good night!!!

@craacK: Good work mate & a very nice gesture!!!! Tnx!!
[Desire HD Android Development] Dude360:
Ahh I see, I was thinking of /system/etc!

Yeah that shouldnt be a problem in next release ;)
[Desire HD Android Development] Patrics83:
Good morning guys!

We have been collecting some more info regarding diffrent ROMs (Apps in data and system) and made up coming ROM Cleaner and Backup apps to sd even better.

We are also pretty close to be able to handle app2sd stuff :D

However there will not be any updates yet, just wanted you to know that we are still on this **** like hungry dogs! :D

So if you have any ideas what we might add or change, just let us know.

Make a post or send a PM to me or Dude360.

Thank you / Patric
[Desire HD Android Development] Whiskey103:
So After a lot of playing with my recovery themes i finally found some time to try out the new Romcleaner.

Man,, it works great,, specially the option to backup apps to sdcard!

Nice work guys ;)
[Desire HD Android Development] Patrics83:
I guess you noticed the folder for 4ext themes then? ;)

Thx mate!