yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Patrics83:
Yepp. But if you remove to much this might cause other apps to stop working correct.

Yes this is correct. Just add apk's inside System/App or Data/App.

delete("/system/etc/security/otacerts.zip");
delete_recursive("/system/etc/fakeserverxml");

[COLOR="Red"]ui_print("Writing Data");
package_extract_dir("data", "/data");
ui_print("Writing System");
package_extract_dir("system", "/system");

show_progress(0.200000, 10); [/COLOR]

ui_print("Unmounting partitions");
unmount("/data");
unmount("/system");

Your welcome mate!
[Desire HD Android Development] FInixNOver:
Very nice addition to my addons collection. I'm using it right know on latest ARHD rom and it's perfect.

I was tired of not using sense and still having all that useless stuff hanging around. And since it doesn't remove rosie, I can switch to my favorite skin Slate.

So, Patrics83 thanks a bunch!!
[Desire HD Android Development] Dude360:
Thats awesome!

There were a couple of things I keep, really surprised its so easy!

Thanks again!
[Desire HD Android Development] Patrics83:
Yes it's very easy when you know how to do it... ;)

Don't use notepad :p
[Desire HD Android Development] Patrics83:
Nice to hear man! ;)
[Desire HD Android Development] Patrics83:
Update

HtcSetupWizard_Remover_- Addon Flasher_v2 is uploaded to first post.

Now it writes to data partition also.
[Desire HD Android Development] kravguy:
I am starting to incorporate all my standard mods into this script. I have 2 though that have the same named apk inside their respective zip files. The quicksettings mod and the H+ mod both contain a SystemUI.apk file. How do I incorporate both of these into this script?
[Desire HD Android Development] Dude360:
You cant without first merging the two mods together if they are both SystemUI.apk
[Desire HD Android Development] kravguy:
Not to sound like a noob... but what is the process to 'merge' these together?
[Desire HD Android Development] Dude360:
If the SystemUIs both contain different edits then thats a bit beyond me dude, and a different kettle of fish entirely. Lots of editing framework xmls methinks...
[Desire HD Android Development] baltazar.nilsson:
Hi. Sorry if this has been asked, but my internet speed on the phone sucks and it would take all day to search.

Can I use this script on an ext3 rom like TB Fusion?

Can I just change the mount ext4 to mount ext3?? Thanxs mate.
[Desire HD Android Development] Patrics83:
I think it would work, since ext4 is backward compatible. But I might be totally wrong also :D

Try it, and if it ain't working just change ext4 to ext3 in the updater-script.

Good luck!
[Desire HD Android Development] baltazar.nilsson:
Okey, thanxs mate. But if I can just change to ext3 I'll do that right away instead..
[Desire HD Android Development] Patrics83:
Yeah you can.

Please tell if there is any issues on that ROM you are using. I have never tried it on Tb.
[Desire HD Android Development] baltazar.nilsson:
Okey, I'll report back tonight when I've tried it..
[Desire HD Android Development] Patrics83:
Gött mos! ;)
[Desire HD Android Development] baltazar.nilsson:
E du svensk jävel eller. :D

LOL
[Desire HD Android Development] whatabout:
I customized a bit your great app with LeeDroid HD and the result is stunning. Keeping what I really love about Sense without being "heavy" in use is the way I dreamed my DHD!

Thank you!!! :)
[Desire HD Android Development] Patrics83:
Your welcome mate!

I'm glad you liked it. :D
[Desire HD Android Development] MR_BEANZ:
Can this be used on the Virtuous Fusion Rom series?

MR.BEANZ:confused:
[Desire HD Android Development] Patrics83:
I just made a quick look and it should work but there is a lot more apps in data folder and those wont be removed by the script..

Please try it and report back :D
[Desire HD Android Development] chardd23:
why do i still have the app PEEP even if i flashed it and its included in the script?
[Desire HD Android Development] Patrics83:
I guess you flashed some mod after the script...

Edit; 99.99% sure you flashed this one. > Android_Revolution_HD_Sense_3.0_All_in_one_5.1.x

Just flash ROM Cleaner again and Peep (HTCTwitter) will be gone ;)
[Desire HD Android Development] eliasadrian:
Worked for me, but I edited the hell out of the script to keep some things I use and because a lot of the widgets in Virtuous Fusion are 3D so have different names.
[Desire HD Android Development] rohithksaj:
i know ....but i had a very bad weekend with bootloops.....

now only it got settled with 7.0.4

so am little feared to go for a flashing procedure again.............:silly: :silly: :silly: :silly:

anyway thanks......will try.............:D :D :D :D

edit---it worked......tanxxxxx...............
[Desire HD Android Development] robinmobile:
where is the /ROMCleaner_User.txt

file?

I can't find it in sdcard/ROMCleaner/ROMCleaner_User.txt...

can't find it in the first post also.
[Desire HD Android Development] Patrics83:
By default you will not find a ROMCleaner_user.txt in your ROMCleaner folder unless you manually copied it there...

Download the version you need from the OP (first post)
[Desire HD Android Development] robinmobile:
thanks for fast Reply

but copy from where? I did downloaded the rom cleaner v 5 from first post. and flashed it as instructed. but in the cleaning process it says, nothing was removed. obviously because there is no text file.

---------- Post added at 07:53 PM ---------- Previous post was at 07:51 PM ----------

I have arhd. sense 3.0

and I see no text file in the op for sense 3.0
[Desire HD Android Development] Patrics83:
^^^ From the previous page... ;)

There was a small issue in the zip and now it's corrected.. Please redownload and flash again.
[Desire HD Android Development] ShadowPony:
From what I can see it states quite clearly that the latest version also works with sense 3.0

Also, from what I remember (haven't flashed ROM in a long time) ROMCleaner script will create the default user text file if it doesn't find one in sdcard/ROMCleaner folder and use it

and like Patric said there was a problem signaled that made it so that nothing gets removed, should be now fixed, see Patrcis' posts
[Desire HD Android Development] robinmobile:
re downloaded rom cleaner. and it works now fine. thanks m8
[Desire HD Android Development] Mukanna:
thank you very much=)
[Desire HD Android Development] overjoy71:
Hi Patrics83

Am I going blind or are the backup tools and other files not on OP anymore? :)
[Desire HD Android Development] Patrics83:
You are not blind... You just don't know about the new ROM Cleaner version yet :D

Sent from my HTC One X
[Desire HD Android Development] overjoy71:
Thanks for the notification Patrics83, can't wait to see what you have install with the new version.

sent from DHD Rom created by geniuses @ XDA!
[Desire HD Android Development] Patrics83:
NP :)

I hope you will like it! :D
[Desire HD Android Development] wshealy:
New RC

Okay guys you are playing with my mind. The tools are gone and there is a new RC. How should I proceed flash RC first, last and always or run the old version of tools?

Can't wait for the rest of the story.

Thanks!

Wallace
[Desire HD Android Development] ABDOKRO1:
Flash RC, all you need to know is inside the box, there is a "how-to" section for each step (backup, clean, restore).

You can also flash RC if you just want to see how beautiful is the new UI ;)
[Desire HD Android Development] padrequart:
Tried to delete mirror app with terminal emulator but it didn't work for me. what do i have to type exactly using terminal emulator?

Thank you very much.
[Desire HD Android Development] azrael97c:
I'm using JellyTime, I had to enter the commands as superuser. If I didn't use su, the result for the command is just "Killed" not "new state: disabled"
[Desire HD Android Development] Patrics83:
Thanks for the help!

Yes you always have to request "SU" when using terminal on phone

And I find it much more easy to use adb shell ;)
[Desire HD Android Development] rohithksaj:
i want to know how i can remove the full sense using RC ????

since no nosense script avail..............

i wanna clean GB rom [ARHD] please...............:(
[Desire HD Android Development] MarckX:
Well, you have to add Rosie.apk to your ROMCleaner_user.txt (pick the right one), and then you can check the ROMCleaner_user.txt for all the apps it removes. The # signs in front of the lines are apps that can be deleted but are skipped by Rom Cleaner, so they will 'ïnstall' on your phone. Just remove the # in front of the lines if you want to remove the file. You can add even more, you can see in second page how you can do that)

Put ROMCleaner_user.txt in /sdcard/ROMCleaner (case sensitive!!)

Now if you remove your Sense Launcher, there will be no launcher at all on your device. If you want to use your own launcher (Go, Apex, Holo or whatever launcher you like) you have some options, but the most easy one is:

Install the launcher right now (before any flashing or wiping), and flash ROMCleaner >> make a Nand >> flash ROMCleaner and choose backup (your apps/wifi/accounts/bt will be put in the backup folder) >> full wipe >> flash ROM >> Flash ROMCleaner and let it clean your ARHD ROM >> reboot >> setup your phone (don't forget to log into your Google account an let it restore all).

Now you can leave it with that and enjoy it, but to make full advantage of this script, you can reboot >> flash ROMCleaner >> additional scripts >> Run all

Now you have your wifi/BT/accounts back as they were before you flashed your

ROM and you saved some precious time.... :D
[Desire HD Android Development] rohithksaj:
cool...i like it

thanks.........:victory:
[Desire HD Android Development] MarckX:
!! 2000 !!!

:D Congratz mate :D​
[Desire HD Android Development] Patrics83:
The goal has been achieved!!!! Yeeeehaaaa!

Finally we can close this thread!

Edit: Nah we will not close it for real :D
[Desire HD Android Development] ABDOKRO1:
Good decision IMHO. You were embarrassing us with your obstinacy to support such an old and outdated device.

;););)
[Desire HD Android Development] ShadowPony:
I would put the launcher in the "first boot" folder (actually, not sure with version 5, since I didn't use it yet :P but I know there is a folder from which it installs apps :D)

also, I wouldn't use google to restore my apps (I don't want it to install all the stuff I've tried over the years, plus it's a huge data hogger and it takes time) so I'd use RomCleaner's backup and restore ability

also, why would any folder be case sensitive, makes no sense, since you can't have different folder with the same name but in different case

it's an operating system thing
[Desire HD Android Development] MarckX:
There are more ways to get the job done, so putting the launcher in firstboot folder is a good option as well. Come to think of it: it's even a better option :)

But I think there will be an update for this with a no-Sense script, and a menu to choose your launcher, so it will be less of a hassle.

I was sceptical about restoring from Google at first as well, but as it seems Google keeps a backup for the apps you have installed on your device and doesn't restore all apps you downloaded on your device, but only the ones you had installed before your new flash. But then again, you can do it the way you want it to.

The case sensivity is a system thingy, yes. We've seen people having problems because of the case-sensivity (haven't tested myself tho), as the ROMCleaner script didn't recognise the filename (or the folder). Better safe than sorry imo :D

Thanks for the feedback, mate ;)
[Desire HD Android Development] ShadowPony:
indeed, better safe than sorry

IMO it shouldn't be possible, but who knows

I did a small test in terminal and I could "cd" and "ls" the romcleaner folder on my card, so idk, I still think it shouldn't be case-sensitive
[Desire HD Android Development] overjoy71:
Patrics83

Mate, congratulations on the new version of the cleaner!! I have been sitting on the version 3.1 for ages and just download the latest. I must say, love it! Thanks Patrics83.
[Desire HD Android Development] montyjosh:
ROM Cleaner v5.0r3 zip file corrupted..md5 not matched..pls fix it
[Desire HD Android Development] Patrics83:
The MD5 changed when I corrected a typo in the updater-script

93BB40864123A5CAA1827808472DD0FB
[Desire HD Android Development] montyjosh:
thanks for quick reply bro
[Desire HD Android Development] Patrics83:
Your welcome :)

Sent from my HTC One X
[Desire HD Android Development] montyjosh:
pls tell me how to use this zip..after flashing zip..what to do..i am totally new for these things..sorry for bad english
[Desire HD Android Development] Patrics83:
Read the guide found in main menu after flashing the zip

Sent from my HTC One X
[Desire HD Android Development] montyjosh:
bro i m little bit week in english so pls help me if u can..
[Desire HD Android Development] Patrics83:
When you flash ROM Cleaner zip nothing will happen unless you tell it to perform anything. This is what AROMA is all about ;)

And there is no rush once you have flashed it, just navigate the AROMA and have a look and read most stuff should be pretty clear even for noobs.

This is a step by step for pure ROM Cleaner users...

-*- Make a nandroid in recovery

-*- Flash a ROM with full wipe

-*- Flash ROM Cleaner zip and AROMA UI will start when in main menu pick "ROM Cleaner"

-*- Pick "Sense 3.0-3.6" or "Sense 4.0" script, press Next

-*- Next menu is optional (should be pretty clear)

-*- Press Next again and wait until ROM Cleaner is done

-*- Press Reboot and use your phone like normal

Good luck :)
[Desire HD Android Development] ABDOKRO1:
You can also check if there are some android websites in your own language, they probably made a (positive) review of ROM Cleaner.
[Desire HD Android Development] Patrics83:
Good idea :D

Google ROM Cleaner and you will find a lot of french sites :p

Or use Google translate, but make sure you enable mobile network first in advanced power menu...
[Desire HD Android Development] montyjosh:
thanks for the suggestion

---------- Post added at 02:40 PM ---------- Previous post was at 02:35 PM ----------

thanks bro for the quick guide..but there is an question in my mind..what is this

ROMCleaner_user.txt use this with Sense 3.0 - 3.6 ROMs Right-Click and Save as...

>Follow instructions in second post how to edit this to fit your demands..
[Desire HD Android Development] Patrics83:
You will know when you need it.

And if you can follow the step by step I gave you then you must be able to follow the guide in AROMA as well.

Or read about it in 2nd post.

I can't explain everything when you can read it yourself, sorry

Sent from my HTC One X
[Desire HD Android Development] montyjosh:
ok..now i got it..thanks bro
[Desire HD Android Development] Teichopsia:
Just to confirm, the touchscreen doesn't work with romcleaner, right? I had to use the hardware buttons with my inspire.

Sent from a dream.
[Desire HD Android Development] Patrics83:
Hmm, well this aroma is calibrated for Desire HD.

Try to get the hidden menu by pressing menu softkey, then calibrate the touch screen. Take the new value and replace the old value in aroma-config.

Sent from my HTC One X
[Desire HD Android Development] Teichopsia:
Non of the soft keys worked. In the main menu only, all of them would select and run collect log.

In the section where it would give more info (instructions), whatever I tried to press on the screen it would select the first one. It would also let me scroll up and down to read whenever I selected any of the options.

In short, the menu soft key didn't work anywhere to bring up the calibration.

Edit: I'll figure it out in a while then I'll report back with the values for whoever needs them.

Sent from a dream.
[Desire HD Android Development] Patrics83:
Did you try the search key?

Why it doesn work is because Desire HD and Inspire are using different displays.

But when I'm at home again after work I can help you.

Sent from my HTC One X
[Desire HD Android Development] Teichopsia:
I did but I got it working. I used two different aroma installers to check the values and one of them to calibrate it. The first two sets of values are the ones from those installers and the rest are from the calibration tool. I only tested the last one and it worked. Thanks.

calibrate("1.8773","49","1.1272","28")
"1.8773","49","1.1272","28"

"1.8387","43","1.1437","27","yes"

"1.8219","42","1.1190","42","yes"

"1.8362","37","1.1391","32","yes"

"1.8733","39","1.1191","48","yes"

calibrate("1.8200","38","1.1320","43","yes");
[Desire HD Android Development] lululala:
Hi I tried putting my gps.conf & hosts into /sdcard/ROMCleaner/FirstBoot/etc but it doesn't seem to work when the FirstBoot feature is used. Does it only support /system and /data?

Sent from my Desire HD
[Desire HD Android Development] Patrics83:
It should work with any file if the folder structure is correct.

However in some cases you must set special permissions for the files...

Can you check if the new file is in /system/etc? And what permissions it has

Sent from my HTC One X
[Desire HD Android Development] lululala:
Just flashed a new nightly and checked both files. They are still stock and were not copied by the FirstBoot script. :confused:
[Desire HD Android Development] Patrics83:
Put your files in, " /sdcard/ROMCleaner/FirstBoot/system/etc/"

Edit: "/sdcard/ROMCleaner/FirstBoot/etc" has been removed since a few versions back so best is if you remove that folder from both First- and SecondBoot folder.

run_program("/tmp/busybox", "cp", "-r", "/sdcard/ROMCleaner/FirstBoot/data/", "/");
run_program("/tmp/busybox", "cp", "-r", "/sdcard/ROMCleaner/FirstBoot/system/", "/");

As you see in the code above content from "/sdcard/ROMCleaner/FirstBoot/etc" won't be copied

Sent from my HTC One X
[Desire HD Android Development] lululala:
Thanks. Will try again

Sent from my Desire HD
[Desire HD Android Development] Negerus:
Will there be a Version for Sense 4.1 ?
[Desire HD Android Development] donkyshot:
Cleaner sense 4.0 works on sense 4.1, just tested on sabsa 8.
[Desire HD Android Development] Jaxellis:
I downloaded the sense 4 user list and modded it to my selection but when i put it in /sdcard/Romcleaner/ and i run it it says it uses default list? I check and there is only my user list

*****Nevermind! Rebooted into recovery again and it found it this time*****
[Desire HD Android Development] blackbuffalo:
Working with Sense 4.1

True, it working with Sense 4.1 on Sabsa Prime v8
[Desire HD Android Development] Patrics83:
The path must be "/sdcard/ROMCleaner/ROMCleaner_user.txt"

But I guess you copied the user.txt to your sdcard when in recovery already. This will require a recovery reboot because in some cases recovery will not update your files on the sdcard. Weird yes, but it happens from time to time. Might be related to a faulty unmount of the sdcard. Not sure really.

Anyway I'm glad it works now ;)

Thanks for your feedback!
[Desire HD Android Development] Negerus:
On sense 4.1 it removed all my sense widgets. :confused:
[Desire HD Android Development] ShadowPony:
this is what it is supposed to do, remove stuff

and on default user file those widgets get removed

if you don't want for them to be removed, use your own user.txt file

to learn how to do this, read the first two posts
[Desire HD Android Development] Negerus:
I already use my own user text file. I marked my widgets with #, so it shouldn't be removed. But after I flashed Rom Cleaner, they're all gone. Don't know what I'm doing wrong, :confused:but :o
[Desire HD Android Development] MarckX:
Did you clean your HTC Sense data yet? Probably they will appear again. If not, check if the widgets are present on your sdcard and upload your ROMCleaner logfiles.

Sent from a ROMCleaner device using xda premium
[Desire HD Android Development] Patrics83:
Most likely not ;)

This is the problem for sure or ROM Cleaner didn't use his ROMCleaner_user.txt

Only logs would tell...

Sent from my HTC One X
[Desire HD Android Development] Negerus:
Here is my Log file and my Rom Cleaner user Text file.

Thank you guys so much.

:D
[Desire HD Android Development] Patrics83:
Did you clear HTC Sense data yet?

Both files are useless, please run "Log Collection" from ROM Cleaner main menu.

And upload RC_LogCollection.tar here

Sent from my HTC One X
[Desire HD Android Development] blackbuffalo:
Use RomCleaner_User.txt default

I think your problem having because you using default RomCleaner_User.txt download at 1 post. It same RomCleaner.txt . You must change information from RomCleaner_User.txt by added "#" before apps and Widget you don't want remove it from Rom. Nice
[Desire HD Android Development] Negerus:
I use my own RomCleaner_User.txt file with added # for apps and Widgets I don't want to remove. That's why I don't know, what I'm doing wrong. But thank's for the tipp:good:.

Cleaning Sense Data did his job. Thank you guys so much.:laugh: I'm an Idiot:o
[Desire HD Android Development] MarckX:
Hi Insecure,

Not exactly sure what you mean here, maybe you can give some more information like: did you use the backup/restore function, did you use the wireless function in powermenu, etc. Just a short description of the procedure you used flashing the Rom and ROMCleaner. And last but not least, the problems you encountered.

And it would be most helpful as well if you posted the log files here instead of your user.txt, as posting that is -like already mentioned in the ViperDHD thread- not helping to solve any issue.

You can get collect the logfiles in the main menu when flashing ROMCleaner. Please upload that specific generated logfile for the ROMCleaner folder.

Thanks in advance.

Sent from my HTC One X using a sore thumb
[Desire HD Android Development] lululala:
Hi,

I have been using this great handy script of yours for removing unwanted apps and preloading my 3rd party apps, gps.conf, hosts and so far so good. The only thing is I have not been able to get FirstBoot to preload my custom build.prop at /FirstBoot/system/build.prop to work. The ROM would just hang. Do you know why?
[Desire HD Android Development] Patrics83:
Did you try to install it from SecondBoot folder instead?

Sent from my HTC One X
[Desire HD Android Development] lululala:
The SecondBoot folder method doesn't work too. It hangs at boot still :(
[Desire HD Android Development] Patrics83:
Ok, two possible reasons.

1) You have edited the build.prop in windows and managed to break the unix code.

2) When RC copies the build.prop wrong permissions are set and causes an unreadable prop.

Sent from my HTC One X
[Desire HD Android Development] BolecDST:
I guess it'll work with ViperDHD and Sense 4.1? I'm going to use the Sense 4 version since there's no choice for 4.1 :).
[Desire HD Android Development] MarckX:
I can confirm it works on ViperDHD, as I am using it myself. Patric is working hard, even as we speak, to release an optimized version for 4.x roms. As he is a very busy man at the moment, I can't tell you when it will be ready. So stay tuned, because it will be better than ever.

Until the release, you can keep on using latest version without any problems ;)
[Desire HD Android Development] Patrics83:
:silly:
[Desire HD Android Development] lululala:
Never edited the file manually actually. Now I've put the build.prop into the gapps.zip which I always flash after a ROM flash. It's working fine. So looks like it's #2 to me.

Sent from my Desire HD
[Desire HD Android Development] Patrics83:
Finally!

After several hours of coding and testing adding and removing, we finally came to the point when we feel that the NEW and FINAL release of ROM Cleaner for Desire HD are ready for testing!

So if you think you are the right person to test this for us, just let us know! :)
[Desire HD Android Development] MarckX:
Final?!?!?! You have to come up with something special then! Can't wait to see what you will come up with. Any chance for revealing a changelog, maybe? :p

Edit: after testing it, the way I use it most of the time, I must say that the improvements on this one are really great and very useful. Well done on the additions and very useful improvements. Really well done indeed, mate :D