yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] K3nshiro:
Hi there,

I got a few questions regarding the ROMCleaner, it's nothing urgent, just some general information / clarification... don't laugh at my dumb questions please... :D

1. Is it safe to assume that both *.txt files (ROMCleaner_user.txt & NO-Sense_user.txt) can be placed together in the ROMCleaner folder and the script will pick the correct one depending on your choice ?

2. If I'm flashing a Cyanogen, AOSP or Miui ROM (with no sense) it's obvious that I have to pick NO-Sense_user.txt, but what happens if I'm flashing a Sense Rom and apply NO-Sense_user.txt, what will happen ? Will the Sense Rom (for example Viper S 5.1) be completely stripped off from any Sense ?

3. Since we now have to flash ROM and Gapps separately, usually the process is flashing ROM, Gapps and then I run the script.

I usually chose Nova Launcher (got the paid version) on NO-Sense*.txt script , but the Google launcher always gets installed as well. I really don't need nor want it. Can someone maybe have a look on my script and log and tell me what I'm doing wrong ? :rolleyes:

Thank you in advance for any comments,

Cheers,

Ken
[HTC Sensation] danifilth4king:
HTC One M8

Is this compatible with Sense 6 - ARHD 2.2 ROM?

Thanks
[HTC Sensation] FreakyDR:
Hi,

I'm trying to de-sense ARHD 7.3 but no matter what launcher I choose after boot I get black screen with notification bar and I can't do anything but to pull out the battery. :confused:
[HTC Sensation] nasif69:
Can I have a script for ViperS 5.2.1?
[HTC Sensation] Harbir:
it will not work sorry
[HTC Sensation] VekiCRO:
I am using ROM Cleaner v2.2(HTC ONE) and ROMCleaner_user.txt script for ROM Cleaner v2.2 for cleaning ViperS 5 ROMs,its working very well :)

You can download it here http://xdaforums.com/showthread.php?t=2247656
[HTC Sensation] zehel7:
do we have updated links for the rom cleaner and scripts? Thanks!
[HTC Sensation] MarckX:
Due to some recent unwanted and unnecessary developments here at XDA I can only say that this thread won't be maintained anymore. That means: no updates will be provided by any means. There will be assist for users as long as the thread lasts, but it will be on a low level.

Edit1:

The script will continue to work, only the _user.txt files have to be updated by the users themselves.

Edit2:

The links won't be restored soon. If someone needs latest version zip and txt, please ask in the thread for users to share them.
[HTC Sensation] Green Wenonah:
Broken Links

I have been looking for the zip file through the whole thread. The link in the OP is 404'd and I was wondering if there is an up-to-date file somewhere trustworthy.

Working on a Rooted HTC One (M8) running Android Revolution HD.
[HTC Sensation] zebidybob:
This is for the Sensation not M_8

Here. https://www.dropbox.com/s/ftowhfxd8gofy61/ROM_Cleaner_v6.0.zip?dl=0
[HTC Sensation] MarckX:
Links are up again, thanks to [MENTION=2632943]Whiskey103[/MENTION] and [MENTION=2374587]Patrics83[/MENTION] [emoji41]
[HTC Sensation] Babyhustle:
CM 11

Is there any script support for CM 11? :)
[HTC Sensation] K3nshiro:
Hi there,

Would someone be able to tell me if the RomCleaner script has the ability to remove apps from the Gapps file after flashing it?

Cheers
[HTC Sensation] Babyhustle:
Not sure on RomCleaner, but gapps has its own script to remove it

Have a look on it :) Hope it helps

http://xdaforums.com/showthread.php?p=50684790#post50684790
[HTC Sensation] K3nshiro:
Hey Babyhustle,

Thanks a lot for this, I will give it a shot later.

Cheers,

Ken
[HTC Sensation] Jimmy4485:
I looked for the download and ... no luck. Could you please help?
[HTC Sensation] zebidybob:
https://www.dropbox.com/s/wj4hsaqisnax6dp/ROM_Cleaner_v6.0.zip?dl=0
[HTC Sensation] Jimmy4485:
A big thank you!
[HTC Sensation] Patrics83:
Regarding download links, Whiskey103 will temporarily fix all links and they will stay up for a week or so.

After that everything will be taken down and so will the thread. (No links = no need to keep the thread open)

Thanks a lot for all the support!
[HTC Sensation] zebidybob:
Would you like me to remove the link above?

Thanks for all the hard work :)
[HTC Sensation] K3nshiro:
Hey Patrick, I can't thank you enough for all the cleanup I've been able to do with your RC. It's truly a gem and I will keep using it. You've my deepest gratitude for this excellent proggie.

Thank you for everything,

Cheers

Ken
[HTC Sensation] Patrics83:
The reason why it didn't work is because you somehow got Dos/windows code instead of UNIX.

I can convert it later but now I need to eat. Just came home from work ;)
[HTC Sensation] gol_n_dal:
Patrics83,

I'll try again tonight, just been playing with CM7 today.

The once and only time I used 2.3 It was a completely new install and flashed just after the ROM was installed. I then did the Titanium restore ONLY after 3 re-boots of the by now setup system.

I'll clean the SD card just in case something is lurking there that shouldn't. This time I will NOT do a Titanium restore, especially as the files won't be on the SD card anyway.

When I setup I did disable locations, so I'll Nandroid immediately after RomClean and try both.

If I get a FC I'll forward the logs as requested. At the moment I'm assuming I've messed up something, or there's something lurking on my SD card.

It has worked perfectly for me before, although on a different ROM & version of the Cleaner, so I certainly don't think it's anything major.
[HTC Sensation] Patrics83:
Yeah this is a know issue and might be provider related somehow...

We heard about it before. :( But still we have now found the issue.. Will investergate it later. I promiss.

And thx for the report :D
[HTC Sensation] Patrics83:
I will do my best to help you out that's for sure! :D

Also for faster support join my IRC channel #ROMCleaner (link to web IRC in sig)
[HTC Sensation] gol_n_dal:
OK,

I'll panic a little less. I'll still run the steps I mentioned above and will capture logs and the observations and report back.

[EDIT1] Hehe, I need more SD-Cards :-(( Think I have an old one somewhere but finding it might be an issue.

[EDIT2] I've just remembered that ROM cleaner does a re-boot at the end, so the nandroid will be immediately after the ROM rom install, it's quick enough anyway.
[HTC Sensation] johnson8cyl:
I wonder why that is happening. I'm sure i followed the instructions explicitly. I have tried multiple times at that. Have any ideas why that could have happened? I appreciate all your help. Thanks

No rush for anything btw. I got what i was missing and put it in system/app already as well as put it in data/app in firstboot folder so maybe next time it will just restore what i want to keep before booting
[HTC Sensation] Patrics83:
Next time open the txt file with notepad++ edit the text and just close the window, when it asks if you wan't to save it or not just hit yes button.

Sorry I forgot about you ;)

Please try your converted_user.txt

If this works I will implent a auto converter in ROM Cleaner :p
[HTC Sensation] gol_n_dal:
Patrics83,

Sent you a PM on my tests, I thought you could review.

C
[HTC Sensation] Patrics83:
Thx will have a look now ;)
[HTC Sensation] johnson8cyl:
No worries. Thanks a ton. Will try this with a new wipe fresh install when I get home and let you know. Thanks
[HTC Sensation] Patrics83:
Ok Guy's!

Me, craacK, MarckX and gol_n_dal did some serious testing tonight...

We tried old ROM Cleaners, deleted stuff from the script. I believe MarckX even flashed ROM Cleaner v2.3 while standing on one foot... Will have to double check that. ;)

But what ever changes we did no one got FC on HTC Launcher! :eek:

The solution is very simple.

In setup wizard you need to allow locations like we pointed out several times already. But there is a catch... Because normaly you just click next, yes, next, next, yes. This is at least how you normaly do on ROMs before Sense 3.0+

In Sense 3.0 you come to a screen looking like this. (Screenshot.)

If you click yes on that option you will disable Google locations and that is needed to get your ROM work properly.

If you flashed HtcSetup Wizard Remover already you can go to,

Setting --> Location --> Use Wireless Networks (Screenshot.)

Make sure you tick that option and FC on Launcher will be gone...

I hope this will work even for you! :D

/Patric
[HTC Sensation] PaulGiz:
In case anybody is interested, on a Mac you can use Text Edit to make your user file and it works fine.

P.
[HTC Sensation] Milx:
i got bad news patrics, after waked up and receive a call, the sense launcher start to keep fc already.. =(
[HTC Sensation] Patrics83:
Did you do as I said in the previous page?

Sent from my HTC Desire HD
[HTC Sensation] Milx:
Hmm, I will have 1 more try den , should i flash with the user.txt file u gave on freenose channel ?
[HTC Sensation] Patrics83:
You don't need to reflash anything. Also all those test had nothing to do with the real issue. ;)

Just follow the instructions in that post.

Sent from my HTC Desire HD
[HTC Sensation] Milx:
Well , no fc on first boots , oh well, guess i have to live with it since im not goin to use sense anyway, main reason i use this is to just delete those bloatsware =p, thx =)
[HTC Sensation] Patrics83:
But if you don't like sense you can remove htc sense clock etc :p

I will help you some day if you want...

Sent from my HTC Desire HD
[HTC Sensation] Milx:
Well, I prefer No-sense at all, if the no sense script work on arhd i will use it but since if i run the no sense script, when ppl call i need to unlock the phone first that y i use ur script..hehe, anyway thanks for the offer, let me see if im free tonight =)
[HTC Sensation] Patrics83:
We would like to have some feedback on this please.

/Patric

Sent from my HTC Desire HD
[HTC Sensation] johnson8cyl:
Will try shortly. Used the user.txt you provided. Worked great. Thanks again. Had some issues that were reported by a few others in ARHD thread. Unsure what caused them. Willing to wipe again and do it this way and let you know. We don't have to leave gps and all that on I assume. Thanks.
[HTC Sensation] Patrics83:
Thx for letting me know ;)

What kind of issues? I don't follow that thread and if users report issues there I can't help them or fix any kind of issues with ROM Cleaner...

No GPS is not needed, but Google locations is needed. See the screen shots.

Sent from my HTC Desire HD
[HTC Sensation] johnson8cyl:
Had one time where no buttons on screen worked. Reboot fixed that. Calls would freeze phone. Would get stuck at ending call screen had to push home to get out then it would go to white HTC screen and reload. Things like that. I followed your instructions as far as the initial setup went then went back to recovery-wiped cache and dalvick-flashed wizard remover-reboot to OS and immediately got a launcher fc. Went to settings/locations and unticked gps and ticked top one in your second screenshot per second half of your directions. Now running beautifully. Thanks
[HTC Sensation] Patrics83:
Buttons on screen can't be ROM Cleaner related. Never heard of it and no one reported it here. Must be something else. Since there is around 3000 users I guess it would leave some unhappy posts here...

Hmm, maybe I should make that screenshot more clear.

Because all you need to do is to make sure both location options in setup wizard is ticked.

The problem is many users click yes on that dialog and that will disable Google locations over wireless networks. And I don't blame anyone. You just want out of there so you hit yes yes next yes next as fast as you can but that will leave.you with a disabled Google locations ;) so only once in the setup wizard you need to press NO.

Sent from my HTC Desire HD
[HTC Sensation] johnson8cyl:
Button issue was reported in ARHD thread. ROM or kernel related. HTC probably.

I'm confused now. I left everything as it was in setup. Both left ticked. Used to disable features your talking about but didn't last time. When i went in to locations gps was ticked but not the top option in your pic. Once I ticked that and unticked gps I was good to go. No more problems.

Edit: You only get the popup if you try to untick it in the first place so I simply didn't click on it
[HTC Sensation] johnson8cyl:
Well...... My issues still persist. Usually when I click to update friendstream widget I get launcher fc. Sometimes after a phone call screen will get stuck and eventually after hitting home button it will act like It's doing a hot restart. Got a couple times it happened in a logcat I can upload tonight if you can look at them.
[HTC Sensation] Patrics83:
If you keep friendstream widget you also need to keep Twitter and Twitter3D widget. Did read that in the app list?

Sent from my HTC Desire HD A9191
[HTC Sensation] johnson8cyl:
Yes I did. I used the user.txt you provided me a few pages back. I will go back and check to make sure. Thanks for all your help.

Edit: it also happens sometimes after a call. Might be ROM or kernel related too. Never had this problem before. I don't understand logcats unfortunately.

Edit#2: seems like Twitter.apk was deleted but not twitter3dwidget.apk. I'lltry to grab it from the market even though I don't use it and see what happens. Thanks.
[HTC Sensation] Patrics83:
Well you are the only one reporting this issue. I suggest you flash a ROM without ROM Cleaner at all. Since I have no clue why you have this issues and as you say you think it might be kernel or htc related...

And you can't download the app from market, I guess it won't have same effect.

Sent from my HTC Desire HD A9191
[HTC Sensation] johnson8cyl:
It didn't have the effect. LOL. I tested it. I edited the user.txt with es file explorer to keep Twitter is that ok? Going to try again tonight. I'll upload the logcats I have of the crash too. Here and for Mike. Hopefully someone can help me out with a clue. I would flash without ROM cleaner but I like it and I'm persistent. LOL. I also have no problem taking the time to play around until I get it to work. Just wish i had a little more knowledge to help me out. Thanks again.
[HTC Sensation] johnnywhojr:
Just to confirm, I can use this with a stock rooted rom?
[HTC Sensation] Patrics83:
I never tried it, and I never seen any feedback from users how used it on a stock ROM.

However I don't see any reason why it shouldn't work ;)

If you try it, please leave feedback.
[HTC Sensation] johnnywhojr:
I shall try this when I get home. will update later. thanks for the reply.:D
[HTC Sensation] gol_n_dal:
I ran ROMCleaner v2.2 (v2.3 wasn't available at the time) on the stock ROM and it worked fine.

I initially used this on a Stock ROM, RUU_Pyramid_HTC_Europe_1.45.401.2_Radio_10.56.9035 .00U_10.14.9035.01_M_release_208857_signed,

I had to do a complete install of the RUU, as I'd been a little too aggressive removing stuff manually and made it bad. From memory the process was:

Install RUU;

Make sure S-OFF/root/CWM recovery are still working

​

I Think I had to re-install CWM but I'd already got the CWM PG58IMG.zip somewhere on my SD card.

Turn off Fastboot, shutdown and go to the CWM recovery.

Run ROMCleaner

After the above when I looked in /system/app, using RootExplorer, I found and deleted the appropriate ".odx" files., as the standard ROM isn't deodexed. This isn't mandatory I believe.

For completeness I then went into recovery and wiped cache and Dalvikcache.

Hope it works for you if you try.
[HTC Sensation] WTFD4V1D:
I have a quick question. So I used the ROM Cleaner script to install my free apps that I got from the Android Market. However, when I check the Market after I re-flash a new ROM (after wiping), I don't see those apps in the Market. Is there anyway I can make it show up on the Market because then it would tell me when there is an update for any apps.
[HTC Sensation] Patrics83:
Clear market data and reboot ;)

Sent from my HTC Desire HD A9191
[HTC Sensation] WTFD4V1D:
Ahhh, thanks a bunch! Should've asked it a long time ago haha.
[HTC Sensation] Patrics83:
Hehe np mate.

This happens sometimes. Something related to Google sync. Nothing to care about, happens also on clean ROM install...

Sent from my HTC Desire HD A9191
[HTC Sensation] WTFD4V1D:
If I want to delete just several files like Browser.apk and Mail.apk in my /system/app, is this okay?

#Start

/system/app/Browser.apk

/system/app/Mail.apk

#End

I've been trying that on Notepad++ with file name RomCleaner_User.txt in the ROMCleaner folder and it doesn't work. In the log, it says trying to delete file and that the file can't be found even though it's there when I use root explorer to check.

Edit: Never mind, I just had to edit the "Add your apk" section.
[HTC Sensation] PaulGiz:
This script has changed everything, for the better.

I timed my latest ROM update, starting from booting to recovery, to fully setup running phone took 17 minutes. I was doing other things at the time, so I think I could have even faster.

Backup apps, superwipe, flash ROM, ROMCleaner, minimal setup, boot to recovery, remove setup wizard, mods and app installer, restore data for desktops, mail accounts and a few other apps from titanium.

All done and ready to go in a quarter hour.

Makes flashing a pleasure.

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

Without saying to much.... :p New cool tools will soon be released...

Stay tuned... :D

Sent from my HTC Desire HD
[HTC Sensation] intelintelintel:
hey quick question.. in the first post change log, it says lockscreen is removed but it mentions that its friendstream, stocks, weather etc.. does this mean normal lock screen stays?
[HTC Sensation] craacK:
Yes, the "Normal" (standard background) and the Clock (big clock :p) Lockscreen cant be deleted... otherwise your lockscreen goes wild :D
[HTC Sensation] Patrics83:
Craack knows what happens... ;)

Sent from my HTC Desire HD
[HTC Sensation] Patrics83:
ROM Cleaner + Addons changelog

ROM Cleaner v2.4 - 2011-09-25

-ROM Cleaner will execute a convert command to make sure your romcleaner_user.txt is in unix format.

This means you can use many other text editors then just notepad++ (Still needs to be tested.)

-ROM Cleaner will now also set correct permissons. (For /system/app, /data/app, /system/framework.)

-ROM Cleaner will now let you know right after flashing if files were deleted or not.

You must use ROM Cleaner v2.4> and new ROMCleaner_user.txt.

If you only use ROM Cleaner v2.4 and your old romcleaner_user.txt you will get an error message!

-Added new Apps.(See app list for changes.)

-Cosmetic Changes to Updater-script.

-All logs are now in /sdcard/ROMCleaner/Logs. No more mess in ROMCleaner folder.

-Removed auto reboot. (users asked for it)

Backup Tool v1.0 - 2011-09-25

This is a modified Backup Apps to SD script with more features.

Still it will do the same as the old one.

-Backup: WiFi keys, Bluetooth settings and mail accounts including inbox etc.

-Backup: Apps from /data/app like old Backup apps to SD did.

-The script will let you know if your apps and settings were copied to your SDCard.

-Added more Apps to be deleted from you backup dir to prevent you from restore old backups.

Still only Android Revolution HD ROMs is supported...

-All logs are now in /sdcard/ROMCleaner/Logs. No more mess in ROMCleaner folder.

Mods and App Installer v1.3 - 2011-09-25

-Mods and App Installer will now set correct permissons. (For /system/app, /data/app, /system/framework.)

-The script will let you know if your files were copied to your device or not.

-Cosmetic Changes to Updater-script.

-All logs are now in /sdcard/ROMCleaner/Logs. No more mess in ROMCleaner folder.

-Removed auto reboot. (users asked for it)

Settings Restorer v1.0 - 2011-09-25

-Restore WiFi. (Still needs to be tested.)

-Restore Bluetooth. (Still needs to be tested.)

-Restore Mail accounts including inbox etc. (Still needs to be tested.)

-The script will let you know if your settings were restored or not.

Enjoy! :D
[HTC Sensation] craacK:
Temporary Guide to use new Tools

The New Backup Tool behaves like the old "Backup Apps to SD". Just flash it before you SuperWipe. In Addition to the Apps, it will Backup your WiFi, BT and Mail-Settings!

If u want to restore WiFi, BT and Mail Settings, you have to run "Settings Restorer" after First Boot, for example when flashing "Mods and Apps installer" or "HTCSetupRemover"!

Best order using the tools is the following:

Backup Tool (WiFi, BT , Mail and Apps)

SuperWipe

Flash ROM

Flash ROM Cleaner

First Boot

Setup Phone

(Optional) Mod and App installer which will install apps or mods from SecondBoot folder.

(Optional) Settings Restorer wich will copy WiFi, Bluetooth and Mail accounts.

Flash HTCSetupRemover

Use Phone
[HTC Sensation] myxcon:
Awesome. Been waiting for the new tools. Quick question, do we need to run folder creator again or same structure is used?
[HTC Sensation] sumasage:
Can this be use on current running rom or do i need to do this on "fresh" rom flash?
[HTC Sensation] myxcon:
Can be used at any time, but preferably during a clean install. If you use it without a clean install, make sure to clear HTC sense data, in applications, to avoid ... Bad things from happening :)
[HTC Sensation] johnson8cyl:
I think this will be great. Thanks for the converter addition. Going to give it another shot and see what happens
[HTC Sensation] craacK:
FolderCreator is to create First and SecondBoot Folders. If you already have them, no need to. The New Folder "Backup" and "Logs" willl be created by the specific tools

@ sumasage

You got a good explanation from myxcon ;)
[HTC Sensation] craacK:
At first: it would be nice if u upload or pastebin.com the logs. You see, your post is quite... long ;D

Second: I know exactly what u did... and it is really funny :D (sorry i really have to laugh about that :D, dont get mad at me^^)

You copied the content of the "Code box" from first post of "This is what the script removes without any tinkering" into a .txt file. Ofcourse that does not work!

Now you have 2 options

1) If u dont want to change anything (just the default list): delete the romcleaner_user.txt you have in /SDCARD/ROMCleaner and run ROMCleaner2.4 again.

2) If u want to customize it: download "ROMCleaner_user.txt from ROM Cleaner v2.4" from Downloads Section in first post. (Right Click -> Save As), edit it with Notepad++ and put that file in /SDCARD/ROMCleaner.

Happy Flashing, and good night
[HTC Sensation] mollybc:
Can someone please clarify how the SecondBoot Folder gets populated with the apks from the phone for restoration? I see that the Backup Tool creates a set of FirstBoot folders and puts a copy of all /data apks into them, and that the Mod and App Installler creates a set of SecondBoot Folders which it then seems to use for apk installation. But for the life of me I cannot see where the apks get added/moved to the SecondBoot Folders. Just curious how the two folder sets are used together.

Thanks to the dev for a very useful set of tool. :D
[HTC Sensation] ahoslc:
Ok

Perfect now I just can't figure out how to keep the News Widget not the News and Weather but just the news widget Ive looked through all the code and can't find it.
[HTC Sensation] Patrics83:
You need to add your files there.

I use it to flash mods that needs to be flashed on second boot.

Sent from my HTC Desire HD
[HTC Sensation] Patrics83:
Sorry mate it wasn't my intention at overlook your question.

From first post:

HtcGreader.apk - HTC RSS Feed Reader Application
HtcGreaderWidget.apk - HTC RSS Feed Reader Widget

Mark this lines in your user list.

[COLOR="Red"]#[/COLOR]/system/app/HtcGreader.apk
[COLOR="red"]#[/COLOR]/system/app/HtcGreaderWidget.apk
[HTC Sensation] PaulGiz:
Unpack (extract) mod .zips and copy the files to the corresponding location in the second boot folder (Ignore META-INF folder and any settings files).

If you have multiple mods that have the same file/paths, copy that file from the system itself.

You'll figure it out if you think about it.

P.