Mercury Wiping-Tool
by Oriax123
This is a simple script used to wipe everything from your phone to install a fresh clean rom. To be run through CWM Recovery.
WARNING:
This will wipe everything!,
Make sure you flash a rom or restore before rebooting!!!
(You have been warned)
http://dl.dropbox.com/u/20078255/Mercury-Wiping-Tool.zip[/SIZE]
Related
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!
Version for HTC ONE M9 (ONLY!!!!)
(Russian interface)
Download:
Super_Wipe_HTC_One_M9_FULL_v3.0.1_RUS.zip
Thank you! :good:
Excellent, i miss this scripts since DHD days Thanks mate...
@Golv - good job
i want to wipe everything except the contents on my sdcard download folder > eg. downloaded roms for flashing in TWRP
what should i choose.
what is this script do is the same as wiping in TWRP recovery?
Magpir said:
i want to wipe everything except the contents on my sdcard download folder > eg. downloaded roms for flashing in TWRP
what should i choose.
what is this script do is the same as wiping in TWRP recovery?
Click to expand...
Click to collapse
You must select all of items then will be deleted data, system, cache the boot partitions, after that you can return back into recovery, choose Install and select rom to flash.
This script makes a wipe as well as in TWRP recovery. It's more convenient to use script for somebody ...
Golv said:
You must select all of items then will be deleted data, system, cache the boot partitions, after that you can return back into recovery, choose Install and select rom to flash.
This script makes a wipe as well as in TWRP recovery. It's more convenient to use script for somebody ...
Click to expand...
Click to collapse
i dont understand what this script does is wipe more stuff than the standard TWRP recovery or what?
isnt wiping the boot partitions dangerous?
Magpir said:
i dont understand what this script does is wipe more stuff than the standard TWRP recovery or what?
isnt wiping the boot partitions dangerous?
Click to expand...
Click to collapse
In TWRP all the same, except wipe of boot partition. And there is no partition format /data/media in this script.
Boot partition can be flashed into bootloader (fastboot usb) through:
Code:
fastboot flash boot boot.img
or through:
Code:
fastboot oem rebootRUU
fastboot flash zip boot.zip
(If you S-OFF you can put into zip 2 files: boot.img and android-info.txt, if s-on - signed firmware.zip)
or into custom recovery (zip).
It's dangerous to delete HBOOT partition! In this case - bricks. If you erased boot partition then you can enter into bootloader and recovery and restore all things! ...
so are u telling me that yr script is different from wiping in TWRP ?
So yr script dont delete Hboot partition?
Do not worry! :laugh:
This script don't delete Hboot partition!
so its safe to use?
I checked all items of script on myself. All safe. And if someone does not think before to do something, it is always dangerous!
Awesome, been using a wipe script for the galaxy nexus, great to have one for the One, thanks OP!
when i use this script.
checked all options and wipe.. no rom and no kernel on my phone?
flash now a rom without choose fullwipe in aroma..
why all my apps on phone, my own homescreen?
sent from my HTC One powered by ViperOne
Hopie, thank you! Try this version. Super_Wipe_HTC_One_FULL_v1.0.2d.zip - 2.66 MB An updated version in OP.
Молодец, @Golv. Так держать.
Great work! Thanks.
forgot to answer
with new version all ok..
ium think u know it ^^
sent from my HTC One powered by IronByte
works this script on android 5?
Hopie said:
works this scriot on androud 5?
Click to expand...
Click to collapse
Yes.
I'm trying to restore my N5 to absolute stock, but I don't have use of the USB port at all, after it got in an argument with a puddle!
Ideally I want to put the device back to stock, so that it can be updated to 5.0, which I can't do at the moment as it's quite heavily customised/rooted which stops the updates installed.
Does anybody know if there's a way to do this? Thanks!
Yes it is, flash this file in your recovery.
http://www.androidfilehost.com/?fid=23501681358549862
That file is Android 4.4.4 Kitkat flashable zip file.
- Un-mount /system in TWRP/CWM
- Wipe: system, dalvik and cache (note: if you want to clean install, wipe data as well)
- Flash ROM (be patient - takes a while)
- Flash SuperSU (optional)
- Reboot
Isus <3 said:
Yes it is, flash this file in your recovery.
http://www.androidfilehost.com/?fid=23501681358549862
That file is Android 4.4.4 Kitkat flashable zip file.
- Un-mount /system in TWRP/CWM
- Wipe: system, dalvik and cache (note: if you want to clean install, wipe data as well)
- Flash ROM (be patient - takes a while)
- Flash SuperSU (optional)
- Reboot
Click to expand...
Click to collapse
Fantastic, thank you!
Hi,
I am running PAC-ROM | All-in-One-ROM [4.3 / 4.2.2 ] on my 5110 with Philz Touch 5.03.7 (Base version 6.0.3.2) but want to install the following Rom:
[P51xx][5.x] CyanogenMod (CM12 / CM 12.1).
But I believe I need to update my Recovery to install a LP rom.
I have gone through the [GT-P51XX] TWRP | PhilZ Touch | CWM Thread (http://forum.xda-developers.com/showthread.php?t=2548476) to try to understand what I need to do but I am still unsure of exactly what I need to do.
I've located the files for the new recovery from (https://www.androidfilehost.com/?w=files&flid=25711) but I am unsure whether I flash the md5 file or the Tar file (or both)? Also, can I flash this new recovery from the Recovery I have currently got.
Any help with this would be appreciated as I haven't messed about with ROMs for over a year so I am a bit (a lot) rusty at the moment.
Thanks in advance
TWRP recovery is better and more intuitive.
Grab the latest zip file, not tar.md5 file, from here :
https://www.androidfilehost.com/?w=files&flid=25708
and flash it directly from your PhilZ recovery.
Cool, cheers. Do I need to factory reset device before flashing that?
Thanks again
Just follow the OP instructions :
Installation
First time installing CyanogenMod to your Galaxy Tab 2, or coming from another ROM:
Read the official wiki
Copy GApps and CM-Rom ZIPs to your internal SDCard
Boot into Recovery
wipe data factory reset
wipe cache
wipe dalvic cache
format system
Flash CM-Rom ZIP from internal SDCard
Flash GApps zip from internal SDCard
Reboot
Don't restore system data using Titanium Backup!
Restoring Apps + Data might cause problems and is not recommended, avoid it if possible!
Click to expand...
Click to collapse
I was ok with the rom instructions, I couldn't find any instructions about flashing the recovery.
I just went for it so all sorted now, thanks for help.
Sent from my C6603 using Tapatalk
Using 6.0.5.0 r8 CWM recovery.Everytime I enable TDB with MIUI 7 installed and move data to system 2.All the gapps and some other apps like browser disappear from MIUI 7(present in system 2).I've tried both with taking a backup and restoring(to system 2) and also with fresh install of MIUI 7 to system 2 but even then the same error occur.
What may be the problem?Has any one faced the same issue and resolved it?
On a second note,I tried using 6.0.5.1 r11 recovery but there is no option of 'current system' present in advanced options.Why is that?
That's CWM bug. Use CWM R7 Final recovery
To get dual boot working you have to perform steps in this order.
1) Assuming you have MIUI working, go to recovery and make nandroid backup of it. (If not then flash MIUI & then make nandroid backup)
2) perform wipe/factory reset from recovery, wipe cache, dalvik cache, format both systems
3) now enable TDB from advance settings
4) reboot recovery (you will see fixing TDB on system 1, 2)
5) Flash custom ROM (only that works with stock partition) on System 1
6) boot and setup (I am not sure if its necessary to boot)
7) go back to recovery and restore nandroid backup of MIUI on system 2
I wouldn't recommend dual boot, its buggy. Makes phone slow over the time.
Better wait for MultiROM mod which is already in development for MI4
To put it simple, I would need some guidance for restoring the very factory / unmodified partition layout for my Nexus 5 (32GB) model. It is not bricked. I can flash Android 10 ROMs with newest gapps and they all work. Earlier I installed crDroid: https://forum.xda-developers.com/google-nexus-5/development/rom-crdroid-v5-4-t3931587
To make it work, I modified partitions beforehand: https://forum.xda-developers.com/go...ment/repartition-nexus-5-repartition-t3844395
But I decided to flash the original software on it. It can be successfully flashed, but it is in bootloop. I guess because of the non standard partition layout.
Thanks for the help.
@HUN_Gyuszi,
U can restore original partition table with the same script u used to modify them. Here are the steps:
1. Boot into UA TWRP
2. Flash the hh_clamor_repartition.zip from the thread you have mentioned
3. Open Terminal in TWRP (TWRP -> Advanced - Terminal)
4. Type stock and wait until your phone reboots.
5. Install original TWRP 3.3.1-0 from https://dl.twrp.me/hammerhead/ via fastboot
6. Boot into original TWRP
7. Wipe all partitions and format data
8. Reboot from TWRP to TWRP
9. Make a factory reset. The process described here https://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
I highly suggest u to make a backup of persist partition before doing these steps. You can read how to do it here https://forum.xda-developers.com/showpost.php?p=77661978&postcount=2
PS: After reverting back to original partition table all your data will be lost! So backup everything u need before reverting to stock partition table.
Much respect and thanks for the prompt reply, all worked.
z3DD3r said:
@HUN_Gyuszi,
U can restore original partition table with the same script u used to modify them. Here are the steps:
1. Boot into UA TWRP
2. Flash the hh_clamor_repartition.zip from the thread you have mentioned
3. Open Terminal in TWRP (TWRP -> Advanced - Terminal)
4. Type stock and wait until your phone reboots.
5. Install original TWRP 3.3.1-0 from https://dl.twrp.me/hammerhead/ via fastboot
6. Boot into original TWRP
7. Wipe all partitions and format data
8. Reboot from TWRP to TWRP
9. Make a factory reset. The process described here https://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
I highly suggest u to make a backup of persist partition before doing these steps. You can read how to do it here https://forum.xda-developers.com/showpost.php?p=77661978&postcount=2
PS: After reverting back to original partition table all your data will be lost! So backup everything u need before reverting to stock partition table.
Click to expand...
Click to collapse