yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] poetter747:
Nice, Can't wait to test it out.

About the ideas. Some apk or Script for Create Folders, Apk Backup and preparing the second boot folder, that can be run directly, without the need booting to recovery would be nice. May be Sybregunne is bored and can provide some nice apk. But thats more cosmetic.

A preparation script for second boot would be nice. I you keep a supported mod list, the unpacking of mods to second boot folder could be done automatically. Bootanimations, OC Settings, UV init script, Fonts, Wallpapers is all the same.

Just some ideas. Keep up the good work
[Desire HD Android Development] Patrics83:
Hmm, Folder creator from first post is only needed to flash once.

And the reboot is there because if you first flash folder creator and then mount USB masstorage from recovery. You must reboot recovery to even see the folders from your PC. So the idea is that first time users of this new ROM Cleaner should be able to set up everything from the begining. How ever, you can remove the reboot command from the updater-script.

We will never make a list of supported mods ;)

Regarding and GUI for setting up ROMCleaner_user.txt is something I wish not to talk about yet. Since it is very easy to edit from PC or phone...

How ever plans for a GUI is already in the "maybe will come list".

The biggest issue is to make it clear and handy... There is a lot of text in that file :D

Thanks for sharing your ideas ;)
[Desire HD Android Development] slickrick54:
Thank You

Wow you guys did it again and i am so ready to flash this bad boy my hands are sweating. Thank you so much for updating the script and for also adding all the new features. You guys make it so easy for us to have a clean ROM without any hassles. Will report back once I'm done flashing and getting everything setup.
[Desire HD Android Development] Limerick_fr:
Coming back after few days away, I discover your tool : very impressive guys. Thank you for your work.

I'm just waiting now ARHD 5.2.4 to test it :D

Concerning that point, maybe you can get in touch with cxAlex_ who has developped that tool few months ago with a nice GUI...

Just my 2 cents ;)
[Desire HD Android Development] Patrics83:
LOL well so far only great feedbacks! :D

Will be waiting for yours to :p

Happy flashing mate...
[Desire HD Android Development] Patrics83:
Your welcome mate

Why not make a nandroid and start to play with it now :p so you are ready for 5.2.4...

Well in that case we would like to have a nice Android software :D

Thanks anyway for the tips!
[Desire HD Android Development] slickrick54:
Sorry guys but i am so confused with the new way this script is setup. Before all i had to do is open up the updater script with notepad++ and add # symbols in front of whatever i didn't want to be uninstalled. Now when i try it that way its not the same anymore. Now i have went over the whole post and read it twice and i see that you guys say to create a folder for rom cleaner user txt but i just dont understand it. Sorry for being such a noob on this but i really loved the script and would love to continue to use it but i just need a little assistance if you dont mind. Please help me on setting this up and getting it modified to my likings.
[Desire HD Android Development] Patrics83:
Well I don't know how to explain better then dude360 did. :D

You should not touch the updater-script because its almost nothing to do there anymore.

Just edit the romcleaner.txt and rename it to romcleaner_user.txt. a renamed version is in dl section.

After you have edit it (like before) just make sure it is locates in the ROMCleaner folder on tour sdcard. And the ROM cleaner will use your list. This user list can also be edited from your device with a proper text editor.

Read the guide again and you will understand. It is much safer, faster and better now with even more functions like backup apps to sd and restore with ROM cleaner.

Good luck ;)
[Desire HD Android Development] slickrick54:
Ok i think i got it now but just one question for you. I flashed the folder creator zip and now i have to place my apk's in this folder in order for my wanted apk's to be installed upon first boot. So I'm assuming that we do not place the apk's we want installed into the Rom cleaner zip anymore correct. So basically now my sd card has a folder for Rom Cleaner and Rom Cleaner V2 now. Is this correct. Thank you in advance for all your help.
[Desire HD Android Development] Patrics83:
Yeah I firstboot folder if you want it to be flash with ROM Cleaner.

SecondBoot folder if you want it to be flashed with Apps and mod installer.

Your SDCard is now the base for the script you might call it.

And there for no more messing with zip's.

I would also recommend to use the Backup to sdcard script. Then all your apps from data folder will be flashed and installed on first boot :D

Don't be affraid to ask if you still have questions mate..
[Desire HD Android Development] reynierpm:
Nope I'm using CMW 4.0.0.5 (latest I think)
[Desire HD Android Development] Patrics83:
And still (Status 0)? :eek:

Well I sent a PM to your ROM dev, but no reponse so far.

So for now this dosn't work on your device... I will keep you updated ;)
[Desire HD Android Development] slickrick54:
Sorry for getting back to you so late but I had to take care of some family time. So anyways thank you for answering me back Patrick and sorry for being such a noob on this whole thing but i just want to get this right. So basically this script must read this seperate folder that has first boot and second boot in it right. Now it makes it simpler because I can add whatever apk I want into this first boot folder without having to use notepad++ anymore.
[Desire HD Android Development] Patrics83:
No problems mate :D we are here for you!

Yes it does, this will simulate the zip for you. So if you want to add an app or what ever just move it to the correct folder on your SD and it will end up there after flashing ROM Cleaner for example. (FirstBoot Folder = ROM Cleaner)

You should still use notepad++ if you would like to create a romcleaner_user.txt on your PC, but you can edit it on your phone also ;)

Es File Explorer and DropBox has built in text editiors that will work...
[Desire HD Android Development] CpN82:
It says this in the romcleaner_user.txt

#	== Sense 3 Mods ==
#
# This section has been designed to help
# install the Sense 3 Mods
#
# The following will data required
# to get them working correctly

But theres nothing there?
[Desire HD Android Development] Patrics83:
romcleaner_user.txt is a copy of romcleaner.txt so it will look like that in both files :p

The reason is we didn't have time to make that part ready.

So it's nothing to care about :D
[Desire HD Android Development] slickrick54:
Man Patrick I must be as dumb as it get's because for some reason i cant get this right. I flashed the ROM cleaner zip and the only thing that worked was the installation of my apk's. The script didn't clean anything at all. What am i doing wrong here. So i just redownloaded the ROM cleaner zip to start out with a fresh one and I open it with 7zip or what should I do from here to be able to edit it to my likings. Sorry for being so slow to this process I just am not understanding it and it's driving me nut's. Can you maybe explain it to me in dumb ass terms what i should do from here and then maybe i will get it hopefully. Thanks again for all your help and dedication you guys are putting into this Rom cleaner and me of course.
[Desire HD Android Development] Patrics83:
Send me all logs from the ROM Cleaner folder.

I'm to tired to take it all again ;)

And tbh I have no idea how you don't get this to work, but we will sort it out tomorrow. :D

In mean time take ROM Cleaner v2.0 and flash it in recovery and report back.

EDIT: A man you should not touch the zip at all. Downloaded the txt file from download section... (ROMCleaner_user.txt) Edit that copy with notepad++.

Move it to your SDCard/ROMCleaner/

Add your apps and stuff to the correct folders like when it was a zip but now on to your SDCard... (/sdcard/ROMCleaner/Firstboot/data/app etc) Don't forget to flash folder creator first of all!

Wipe data, flash ROM, flash ROM Cleaner wait for it to reboot.

Done!

Damn I did it anyway :p

But please send me your logs anyway, fun to see what really happend :D

Good "night" ;)
[Desire HD Android Development] Dude360:
No need to open any zips at all. If you use the default list then all you do is flash the zip. If you want your custom list you just create one.
[Desire HD Android Development] slickrick54:
So basically can i just copy and paste the txt file that's already placed in the rom cleaner folder and rename it to Romcleaner_user.txt then i can edit it with notepad++ to my likings.
[Desire HD Android Development] Dude360:
Yup, as simple as that ;)
[Desire HD Android Development] slickrick54:
Here it is bro.
[Desire HD Android Development] slickrick54:
Ok did that and still no go
[Desire HD Android Development] Patrics83:
Listen now carefully :p

Step one, send me log files created on your sdcard in romcleaner folder. (not user txt)

Step two, dl ROM cleaner and don't touch it. Before flashing it remove or change name on your romcleaner folder to something else. Don't do anything else then just flash ROM cleaner in recovery.

Report back results.

Thank you!
[Desire HD Android Development] MarckX:
Hi guys,

Maybe a bit late on my reaction, but check the extension of the provide file:

ROMCleaner_user.txt.txt

The double .txt extension is not supposed to work in my opinion :p

Maybe that's why it's not read by this wonderfull script :D

Just remove the last .txt and it should be fine...... Just give it a try again and enjoy!

Cheers
[Desire HD Android Development] Patrics83:
LOL well that won't work :D good eyes there my friend :p however it should still use romcleaner.txt in the zip... So my guess is he must have renamed romcleaner.txt in zip to romcleaner_user.txt.txt. Also romcleaner_user.txt in zip would be wrong ;)

But I hope he will come back later today and tell us how it went. :eek:
[Desire HD Android Development] MarckX:
Hi Patric,

That's what I thought as well (or at least something like that :p), but we can't be sure if Slickrick is not responding. I hope he will back soon.... and yeah, I really want to know why it's not working out. Maybe this story will add something to the userguide, although Dude's guides are very clear

Just out of curiosity: Do you keep track of the downloadcounts of v2 and how many people are taking benifit of your script. Do you have some statistics about that? ;)

PS: Since I downloaded previous version and participating in your thread, I'm checking almost all zips I download(ed) and try to figure out what's happening in there.... thanks but no thanks for that :( ...... it takes almost all of my precious spare time ................. just joking there ... I love it to have some background information. and not to flash everything that's around :D Found out today that I can even change build.prop with your script using busybox! :D
[Desire HD Android Development] Patrics83:
Update 2011-08-09

Backup Apps to SDCard v1.1

Now all old backups will be deleted before new backup is created

Now Pre.Installed apps for supported ROMs will be removed from Backup location to prevent old apps is written to your device after ROM update.

Currently supported ROMs

Android Revolution HD - "All ROMs" (Incredible S, Sensation, DHD etc.)

Honey3D and HoneySenseHD

If you want a specific ROM to be supported send me a list with app's located in /data/app in ROM zip.

Enjoy :D

BTW more updates coming this weekend ;)
[Desire HD Android Development] Patrics83:
Yeah somehow I hope he just did something wrong or we have a strange situation here :p But ofc that would just lead to an update...

Well there had has not been any rush for the new cleaner yet. But I guess it's mostly because Mike1986 is lazy and ppl are waiting for ARHD 5.2.4 before they try it for the first time... So I guess it's the same numbers of users. Around 1500-2000 users and that is really good I think.

What do you mean? How this new script works?

Well in that case, we now use a "program" to handle all the deletion of apps. And that is need to be able to have a txt file instead of everything in the updater-script. Two more nice things is, it's much faster now and we get a log for every deleted or not deleted app.
[Desire HD Android Development] reynierpm:
I move to another Sense based ROM and have the same problem Status (0) :eek: this is the thread for this new ROM (http://xdaforums.com/showthread.php?t=1210661), waiting for you Patrick?

Can you generate a MD5 checksum and attach here to see if the problem is the file? Maybe it's corrupted or don't know why fails once and once :confused:
[Desire HD Android Development] Patrics83:
What recovery version did you use?

Try this -> ROM Cleaner for reynierpm

Please report back the result.
[Desire HD Android Development] Thedonk13:
OK, I am assuming this is going to be a ROM wide issue for us MikG 2.45 users, but this method did not work for me.

Followed the "preferred" method from the OP to the T. Pretty simple actually. Problem was, nothing happened! Fired right up, bam, sense clock staring right at me after i set up my phone. Firgured maybe it was gonna be taken away after flashing the setup removal zip, nope. nothing. looks brand new. apps weren't even installed like I assumed would happen. I have a feeling it deals with the fact that Mik moves most of the apk's to the data/app folder already. that is about all i can assume.

Would really love to run this script, but I don't know much about this junk to me more descriptive. sorry for the lack of any real feedback other than it doesn't work for MikG 2.45
[Desire HD Android Development] reynierpm:
:( U must be bored of me but still not working the same error (Status 0). I'm using ClockworldMod 4.0.0.5. Anyway thx for your help
[Desire HD Android Development] Patrics83:
First of all this is not a no-sense script... Sense clock should be there by default.

Please give me all logs located in sdcard ROMCleaner.

Also give me the updater-script from that ROM.

If ROM Cleaner v1.2 worked this should also work. :mad:

And when you run it. Just flash a untouched ROM Cleaner. remove ROMCleaner folder on SDcard.
[Desire HD Android Development] Patrics83:
Download from same link again... I edited it.
[Desire HD Android Development] reynierpm:
Nop still not working really I don't know where it fails. One question, the zip must be in the root directory or can be inside a folder? Any other way to run the script via ADB for example?
[Desire HD Android Development] Patrics83:
Well I'm out of ideas... If it still showed status 0, your device behaves very strange tbh. because this test script use same mounting method as the ROM you use.

Sorry mate.

You can run via ADB yes but I have never tried it. And you need to insert delete in front of every command. Try and google it. :D
[Desire HD Android Development] Thedonk13:
Here you go!
[Desire HD Android Development] Patrics83:
Thanks I will take a close look at it. I found an issue, but right now I don't know how to fix it :D

However did ROM Cleaner v1.2 work?

If yes are you using the same ROM now as you did when v1.2 worked?
[Desire HD Android Development] Thedonk13:
I've never run this script before. I was told about it, thought i'd stop by and try it out. I have not attempted v1.2, I will hunt for a DL link now.

Thanks for the quick reply!
[Desire HD Android Development] Patrics83:
Well the other EVO guy said it worked before, I even saw a thread about it in your forum. So it must have been working some time.

I give you a link > ROM Cleaner v1.2 <
[Desire HD Android Development] Thedonk13:
Link failed me...ya, that's where i read about it. I was gonna give it a go, but you had v2.0 up and thought that might work out.
[Desire HD Android Development] Patrics83:
Try again. I didn't add it properly ;)

And also try this one ROM Cleaner v2.0 test ONLY FOR TESTING!!!! DON'T DL THIS IF ALL IS WORKING FINE FOR YOU!!
[Desire HD Android Development] Thedonk13:
I DL'd the test version, gonna try it out first. Does v1.2 install apps automatically? Just curious.
[Desire HD Android Development] Patrics83:
Only if you add apps to the zip. But that is not importent right now.

First we need to test what works and what doesn't

And tbh I think 2.0 test version will work :D

FINGERS CROSSED :S
[Desire HD Android Development] Thedonk13:
2.0_test did not work.

Going to try 1.2 now. I will worry about apps later.
[Desire HD Android Development] Patrics83:
Well 1.2 wont work...

I can upload a older version if you want? v1.1
[Desire HD Android Development] Thedonk13:
Thats fine. You did say you would build a script for a specific ROM, would you be willing to build one for us users of MikG 2.45?

Edit - Just unzipped MikG 2.45 and saw that there is hardly anything in the data/app folder. He has moved a LOT to system/app folder. Is there a way to change your script to target the apk's in this folder?
[Desire HD Android Development] Patrics83:
I would like to find a universal way first of all.

And if I'm going to build a special version for you guys, it must be many of you ;)

Not only 2 or 100 users.
[Desire HD Android Development] Thedonk13:
ya, there is that, but there looked like a LOT more in the system/app folder that were the same as the apk's deleted by your script. I'm not a dev, nor do i think i could be. I'm basically a dummy when it comes to this stuff, so i apologize if i come off stupid/noobish.

anyways, thanks for all the feedback. i'm thinking about just flat out stripping some things out of the ROM, re-zipping it, and flashing it. just to try it out...whats the worst that can happen, brick my phone...cry for a day, get a new one from sprint.
[Desire HD Android Development] slickrick54:
Hey Patrick sorry about not responding quickly have been dealing with my daughter being sick and my wife being at work at night doesn't help either. Anyways don't know why that showed up like that RomCleaner_user.txt.txt but when i lokoed at it again it wasn't like that on my side. I see that someone else now is having the same problem with V2.45 of mik's new rom. I tried renaming the Rom folder and still the same just boots up like normal with nothing being removed. Here's the log again.

Edit: Just realized that when i use the upload feature of this thread it adds that extra txt or now you can see that it adds the extra log at the end. Dont understand why it does that. Actually just figured out to put it in a zip file so it should not add the extra txt or log at the end of the file now.
[Desire HD Android Development] slickrick54:
Thanks for looking into this guy's you are very helpful and i cant wait until we can get this figured out because now i see how much easier it would be because of not having to use only the pc to edit the files. You can use the phone as well now to add the apps and customize the script.
[Desire HD Android Development] Patrics83:
LOL, well we will make this sucker to fly even for you guys!

And we are pretty sure we found the reason. Stay tuned! ;)
[Desire HD Android Development] Patrics83:
Well it would be nice if you two guys could donate $2000 after this :p

just kidding, but I really think this is going to work.

I hope we will be able to give you a working solution tonight (just woke up here)
[Desire HD Android Development] myxcon:
I'm trying to flash the cleaner script on a sense rom for HTC ChaCha but i get an error : Status 0, instalatin aborted. What can be done?

Thank you.
[Desire HD Android Development] Dude360:
@slickrick - Could you tell me if, after the script is run that it automatically reboots for you?

We believe we have tracked down this error and are currently working on some fixes.

Can you please tell us and link to the rom you are using and also what version of recovery you are using.
[Desire HD Android Development] Patrics83:
@slickrick54

@Thedonk13

Please try this reboot test zip.

Report back if it rebooted and also provide us with romcleaner_recovery.log

Reboot test

!!!ALSO MAKE SURE YOU HAVE ROMCLEANER FOLDER ON YOUR SDCARD!!!

Thx for helping us to test this!
[Desire HD Android Development] myxcon:
Using this port of recovery for the ChaCha : http://xdaforums.com/showthread.php?t=1164468

And this rom: http://xdaforums.com/showthread.php?t=1206921
[Desire HD Android Development] Patrics83:
Thx will have a look at it.

Would please do me a favor and copy the updater-script from the ROM you are using and upload it here.

Thanks!
[Desire HD Android Development] myxcon:
This one? 10char
[Desire HD Android Development] Patrics83:
Thanks that's the one!

We are trying to collect all info and make a universal mounting method.

But this **** is going to kill me some day :(

But the most importent part is done already! Desire HD, Sensation, Increible S and many more :D

So I really hope we will make this fly even for those 2 problem devices we know of today.
[Desire HD Android Development] Thedonk13:
real quick, before I flash this zip. What exactly is this going to do? Is it going to try and delete apk's or simply reboot my phone? I only ask because I don't have the best 3g's here at work and i don't wanna have to reset my phone again until I get home to the Wifi's....
[Desire HD Android Development] Patrics83:
Just reboot.

And make a log.

But before you do it. Did your device reboot when you flashed ROM cleaner from first post?

Did you read my pm?
[Desire HD Android Development] Thedonk13:
I haven't done it yet. I do run Amon_Ra 2.3 just so you know, and it never rebooted on its own. I would always have to select the reboot option in the menu.
[Desire HD Android Development] Patrics83:
Ok, well I hope this test will give use some more info. I have no idea about that ROM, sorry.

But you sent me a updater-script from the ROM you are using. So that's fine.
[Desire HD Android Development] Patrics83:
Update!

Ok guys, I have sent a PM to everyone in the thread reported issues with ROM Cleaner!

Like:

Nothing happend.

Status 0

Please check your inboxes and test as soon as possible!

Thank you!
[Desire HD Android Development] slickrick54:
ok cool will try now and report back when im finished.
[Desire HD Android Development] slickrick54:
Yes it does reboot for me but it doesnt clean out anything at all. Also i am using mikg v2.45 and the recovery im using is amon-ra v2.3 also for some reason it wont let me upload the rom but i can give you a link to where it is at. http://www.themikmik.com/forums/viewtopic.php?f=236&t=1565
[Desire HD Android Development] Patrics83:
That test file was not suppouse to delete anything at all...

That was a old test file no need to test it anymore since you guys got a PM from me with a new file.
[Desire HD Android Development] Thedonk13:
Sorry i've been outta the loop. Im moving this weekend and i spent the whole day/night packing stuff up. I apologize but I really can't help test this out anymore. I don't have the time to play with my phone. I will be back involved on Monday though.

Again I am sorry. I hope slickrick can help you solve the issues. We are both running the same setup.

edit - the DL link you sent via PM did not work.
[Desire HD Android Development] Patrics83:
The old test is no need to test.

Link should work now. Right click and save.

To bad you can't be able to test this anymore :(

I just want some feedback soon :D

Edit; I have made a list of all apps for MikG 2.4 also. But first try it out the ROM cleaner you got in PM.
[Desire HD Android Development] myxcon:
Just tried the file you sent in PM: Status 0
[Desire HD Android Development] Dude360:
Could you please check if any logs were created, and if so, please attach.
[Desire HD Android Development] myxcon:
No logs were created. Should be on the SD right?
[Desire HD Android Development] Patrics83:
Yes.

Go to recovery - advance menu. Check if you can create a recovery log to SD from there. If yes, reflash ROM cleaner, stay in recovery and do that recovery log.
[Desire HD Android Development] myxcon:
Here is the log. Hope it's the right thing