[One (M7) Android Development] Golv:
This tool will allow you to easily WIPE system, data (except /data/media), boot (kernel) and cache partitions directly from custom recovery.

Before using this tool you need to be sure you are using latest version of custom recovery (TWRP or CWM). The current downloads for both CWM and TWRP can found below:

The latest M7 U/UL TWRP can be downloaded HERE. I recommend to use TWRP 2.6.3.0 (for v1.0.2d) and TWRP 2.8.5.* (for v2.0.2) .

v1.0.2d will work for Intarnational version, GE, T_Mobile, AT&T but

NOT

for SPRINT DEVICE

and v.2.0.2 - for all version!!!

To use this tool please copy zip file to your phone and then boot into custom recovery and choose Install. Then browse to where you copied zip file and select it. Aroma installer will begin. Choose options you want to run.

What script does:

1. Wipe /cache partition (select in Aroma);

2. Wipe delvik-cache (select in Aroma);

3. Wipe /system partition (select in Aroma);

4. Wipe /data partition except /data/media (select in Aroma);

5. Format boot partition (kernel) and removes /system/lib/modules (select in Aroma);

/system/lib/modules

/system/etc/init.d/01-h2w

/system/etc/init.d/01-pwp

/system/etc/init.d/01-therm

/system/etc/init.d/01-blinkbuttons

/system/etc/init.d/01-f2s

/system/etc/init.d/01-f2w

/system/etc/init.d/01-f2ws

/system/etc/init.d/01-f2wt

/system/etc/init.d/01-p2w

/system/etc/init.d/thoravukk

system/etc/init.d/89elementalx

/system/etc/init.d/99elementalx

/system/etc/init.d/99elementalx~

/system/etc/init.d/99bulletproof

/system/etc/init.d/56zram

/system/etc/init.d/30sweep2wake

/system/etc/elementalx.conf

/system/bin/fstrim

/system/usr/keylayout/synaptics-rmi-touchscreen.kl

/sys/android_touch/sweep2wake

/sys/android_touch/doubletap2wake

/sys/android_touch/logo2wake

/sys/android_touch/pocket_detect

/sys/android_touch/logo2menu

5. Removes some system files from /data/media;

/sdcard/.android_secure

/sdcard/.bookmark_thumb1

/sdcard/LazyList

/sdcard/LOST.DIR

/sdcard/.data/footprints

/sdcard/.data/mail

sdcard/Android/data/com.android.providers.media

/sdcard/Android/data/com.google.android.apps.genie.geniewidget.news-content-cache

/sdcard/Android/data/com.google.android.apps.maps

/sdcard/.data/navigator/Data/Temporary

6. Check partitions for errors;

7. Create a log of work on internal memory card.

This operation will remove all your data except for /data/media.

If you wipe ONLY BOOT, then you must to flash new kernel and kernel modules too (/system/lib/modules)!

Make sure that you have nandroid backup and Titanium backup before a full wipe!!!

You must have new ROM on /data/media to flash after full wipe!!!

If AROMA Installer stops at 0%, then you must to press Power button and hold 15-17 seconds to reboot. Then go to recovery and start installation again. This will help you.

***Credits***

amarullz for his AROMA Installer Script.

mike1986 for his SUPER WIPE script for Android Revolution HD.

Venom Team for updater-script for ViperOne.

LlabTooFeR for his updater-script for Maximus.

***Download***

Super_Wipe_HTC_One_FULL_v2.0.2.zip - some updates from 18/03/15

Arhive:

Super_Wipe_HTC_One_FULL_v1.0.2d.zip - 2.66 MB - some updates from 24/11/13

md5: 60cff28e4f5ec11e11c15e7d37c54d35

Enjoy!