yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] ...Awesome...:
​

MOD NOTE: Be advised the superwipe script WILL wipe your internal storage. It's designed that way to wipe all the useless clutter that accumulates. If you don't know what you are doing, then don't flash it.

I have decided to post the wipe scripts here for those KernelHolics & Flashaholics that are flashing kernels and ROMs constantly. I've made small modifications to these scripts FULL credit to the originator of them Credits below.

These are compatible with CWM, TWRP.

Since there have been numerous kernels recently being posted and people wondering what to wipe or what not to wiped here is the Kernel Cleaner.

1. Place the file in the root of your /sdcard

2. Flash Kernel Cleaner

3. Flash/Fastboot Kernel

4. Reboot.

Download: http://d-h.st/BWy

This second script I'm sure everyone is familiar with SUPERWIPE script.

Tired of wiping after every ROM or not knowing what to wipe to flash a ROM and have a clean install? Just flash this script & flash ROM easy right?

1. Place Wipe-Script in root of /sdcard

2. Flash Wipe-Script

3. Flash ROM

4. Reboot.

5. This will wipe external storage. (Wiping without storage coming soon)

Download: http://d-h.st/MFS

Debug​

If it doesn't flash please tell me what recovery your using.

ONLY works for the NEXUS 7 NOT NEXUS 7 3G will be available for other devices as well.

Credit goes to the following people.​

Mike1986

AmazingLarry31

Jivy26

I-777

Myself

IF YOU USE/DOWNLOAD THIS SCRIPT PLEASE PRESS THE THANKS BUTTON​
[Nexus 7 Android Development] ...Awesome...:
Re: [mod][script] superwipe script & kernel cleaner script

Reserved for other Awesome Scripts to make your life easier.
[Nexus 7 Android Development] Grakel:
So this replaces the ramdisk to the original one? No need to flash the stock kernel before changing from a modified ramdisk kernel to another?

Thank you, we surely need more stuff like that to make our lifes easier =)
[Nexus 7 Android Development] ...Awesome...:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

The Kernel Cleaner will remove the kernel, modules, ramdisk, init.d. To nothing! You will have to flash a new kernel to install the modules and ramdisk again.
[Nexus 7 Android Development] FitAmp:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Great scripts for Franco kernel users wanting to migrate to a different kernel :thumbup:
[Nexus 7 Android Development] ...Awesome...:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Yes, something u get more bugs flashing a kernel over another kernel or ROM this solves that problem. Its like getting a clean kernel install
[Nexus 7 Android Development] azoller1:
good we have one of these, really gives you a fresh start!
[Nexus 7 Android Development] Gil Smash:
So I guess it's my fault for not backing up on my computer but you should probably mention that this wipes EVERYTHING! I assumed when you said, flash script, flash rom, you didnt mean connect to PC, ADB push rom, flash, reboot, re set up everything....
[Nexus 7 Android Development] FitAmp:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

It wipes internal storage? Yikes :s
[Nexus 7 Android Development] Gil Smash:
Yup.... I wish I had backed up to my computer before hand. At least I have a backup from a month or so ago....
[Nexus 7 Android Development] mlaws90:
Thanks for this, much needed, will be using the kernel cleaning script a lot. I'm gonna wait till the super wipe doesn't wipe the internal storage, I'm using multiboot atm and don't wanna lose my ROMs or feel like backing them up.

Thanks again!
[Nexus 7 Android Development] sert00:
good work man!i only suggest you to insert this things in the kernel script(like i already did times ago in mine i use always)

tricksterMOD app saved data\settings

franco app saved data\settings

faux app saved data\settings

thanks to take the time to modify and post these!

EDIT an example for the galaxy nexus that i use,like you can see it erase also kernel control app data.hope it helps!

#!/sbin/sh

# clean Popcorn stuff
rm -f /system/etc/sysctl.conf
rm -rf /data/cron

# clean LeanKernelTweaks stuff
rm -f /system/xbin/installbb
rm -f /system/xbin/leantweaks
rm -rf /data/leantweaks

# clean Trinity stuff
rm -f /system/bin/fix_permissions

# clean init.d scripts
INITD_DIR=/system/etc/init.d
# GLaDOS
rm -f $INITD_DIR/90logger
rm -f $INITD_DIR/99nexusinit
rm -f $INITD_DIR/placeholder
# Trinity
rm -f $INITD_DIR/95dimmers
rm -f $INITD_DIR/98tweak
rm -f $INITD_DIR/99complete
# SG
rm -f $INITD_DIR/98_startup_script
rm -f $INITD_DIR/99_startup_complete
# Air
rm -f $INITD_DIR/89airtweaks
rm -f $INITD_DIR/98airtweak
rm -f $INITD_DIR/98airtweaks
rm -f $INITD_DIR/99airtweaks
# franco
rm -f $INITD_DIR/13overclock
rm -f $INITD_DIR/00turtle
# Popcorn
rm -f $INITD_DIR/99sonic
# Lean
rm -f $INITD_DIR/99leantweaks
# Jame Bond
rm -f $INITD_DIR/007tweaks
# miscellany
rm -f $INITD_DIR/99nstools
# lean kernel
rm -f $INITD_DIR/99lk-gpu
# Zen
rm -f $INITD_DIR/99ZenKernel

# clean kernel setting app shared_prefs
rm -rf /data/data/mobi.cyann.nstools/shared_prefs
rm -rf /data/data/aperture.ezekeel.gladoscontrol/shared_prefs
rm -rf /data/data/com.derkernel.tkt/shared_prefs
rm -rf /data/data/com.franco.kernel/shared_prefs
rm -rf /data/data/com.liquid.control/shared_prefs

# remove dalvik cache
rm -rf /data/dalvik-cache
rm -rf /cache/dalvik-cache
[Nexus 7 Android Development] ...Awesome...:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Will do thanks for taking the time and showing me. I will edit it in the next version.
[Nexus 7 Android Development] sert00:
np man,i cited only that 3 apps because they were what come in mind in that moment,don't know if n7 users use something else (kernel control app coded by kernel dev or coded with n7 in mind)
[Nexus 7 Android Development] lolo9393:
Is it possible for you to add this script into your Rom Aroma installation? would be nice as some of us try many different kernels!
[Nexus 7 Android Development] Leonhan:
Just a question though: will the kernel cleaner script erase all data on my N7?
[Nexus 7 Android Development] sert00:
no!not worry about that.;)

little tips.also if you don't know anything related,next time have a look inside the zip,in the updater-script

i report HERE if you want to have a look
[Nexus 7 Android Development] Leonhan:
So I just want to clarify, the kernel cleaner script doesnt delete anything but just everything to do with the kernel that is installed right? It doesnt erase all the data that I have on my tab?
[Nexus 7 Android Development] Android.Ninja:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Hi, the links are down and I really need both of these scripts. Do you have another link possibly. I would be most appreciative. Thanks in advance.
[Nexus 7 Android Development] cYraXx:
links are NOT down... dev-host got server problems ... F5 is your best friend now ;)
[Nexus 7 Android Development] Gil Smash:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Just a word of warning, ROM clean erases SD and if the kernel script cleans init.d then it could also delete any rom speed scripts that may be included.
[Nexus 7 Android Development] bjcrj:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

You can us es file explorer to view the zip and delete the init.d wipe line if you want to.
[Nexus 7 Android Development] johnnyman25:
Απ: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

I used the kernel script to install new kernel but i cant find this init.d.where is it?

Sent from my Nexus 7 using Taptalk HD

Dirty Root Box v1.1 & Franco Kernel r42
[Nexus 7 Android Development] noodles2k:
@Awesome. I don't think it's a good idea to delete all the scripts in /etc/init.d, as also deletes all ROM specific scripts such as supercharger and thunderbolt. The only scripts you actually need to delete are UV and kernel specific scripts.
[Nexus 7 Android Development] NicoGa:
+1
[Nexus 7 Android Development] ...Awesome...:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Thank you I'll make adjustments to the script.
[Nexus 7 Android Development] Android.Ninja:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

+1

Can you update your OP when this is done?

Thanks in advance. :)
[Nexus 7 Android Development] ...Awesome...:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Yes I'll update it tonight after work.
[Nexus 7 Android Development] NicoGa:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

I am also wondering what to do with:

/system/vendor/lib/hw/power.grouper.so

that is sometimes included with kernels (ie m-kernel)

Envoyé depuis mon Nexus 7
[Nexus 7 Android Development] johnnyman25:
any news yet?
[Nexus 7 Android Development] FitAmp:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Does the kernel script wipe the kernel ramdisk? Say I wanted to switch from Franco to trinity kernel. I wouldn't want francos ramdisk to be left over (it might conflict with trinity)

Edit: never mind found out it does. (Ignore)
[Nexus 7 Android Development] treIII:
This really fd up my nexus. I'm a noob. I can't get anything to install. What the hell do I do to make my nexus 7 WiFi useable again? I can see all of my downloaded files while in twrp. But when I try to install them they fail. Someone please help. Thanks

---------- Post added at 02:45 AM ---------- Previous post was at 02:30 AM ----------

Ok. I have nothing now other than recovery. How duo I get a room back on my device? This really screwed me up. I read the op. But I didn't understand that it would wipe the entire device

---------- Post added at 02:50 AM ---------- Previous post was at 02:45 AM ----------

I used the second script. I seriously need help. My device? it's useless
[Nexus 7 Android Development] lainvalenajr:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

What I had to do was going back to stock and without locking the bootloader. Then do the rooting process again
[Nexus 7 Android Development] treIII:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

How do I put the software back on the device? It has nothing. I just had the new ota backed up and was going to install prime directives Rom.

---------- Post added at 03:11 AM ---------- Previous post was at 02:59 AM ----------

The device now has a bootloader 4.18 and twrp recovery. It has no os. And none of my backups are there to restore. I seriously need help from someone with experience. Thanks someone.
[Nexus 7 Android Development] travisxcore:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

...did you try to flash a new kernel and ROM?
[Nexus 7 Android Development] treIII:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

I don't have one in recovery which is twrp. Everything is gone. How would I put a Rom and kernel in there?
[Nexus 7 Android Development] lainvalenajr:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

I tried putting everything on the SD card but your gonna have an error and the only thing that helped me is the bootloader. Going stock/not rooted then rooting it again. All your data is gone the moment u used that superwipe. Its not like the super wipe I have used on other devices that only touch the rom
[Nexus 7 Android Development] waz675:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

USB mounted storage in recovery I would say.
[Nexus 7 Android Development] NickDVS:
I would download the Nexus toolkit and run the option that allows you to download and install the stock rom. I had the same thing happened and freaked out for a while. lol.

It's option 9 with the nexus toolkit. Just follow the instructions all the way through to load the stock back on. It's easy. Make sure you are in fastboot when you're doing it. After that, you will be able to load recovery back on and install your custom roms.
[Nexus 7 Android Development] Grakel:
Wtf this is nonsense

I just lost A LOT of precious files cuz of the fcing superwipe script. I thought it only wiped the rom.

Now Im in the same problem than some people before, I have no roms on the sd (obviously, EVERYTHING is gone) and I cant mount the tablet on the pc to put a rom there.

I dont really see the point on having such a retard script, if I wanted to format sd, I can do it in a hundred ways.

This is only making people mad, instead of helping anyone.

Sorry if I sound rude, Im just quite pissed off.
[Nexus 7 Android Development] FitAmp:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Boot to recovery then side load a rom zip via adb

I don't blame you for being mad, this issue should definitely be stated in the first post...
[Nexus 7 Android Development] Grakel:
I tried to put factory google image with the v4.0.0 toolkit. It keeps giving errors each time it tried to erase or flash any partition. I had to ctrl+c to abort installation cuz it stucked at "erasing boot". Hope it didnt touch the bootloader partition or I will have hard bricked my device.

Right now it is inside the cwm recovery, which keeps showing error: Cant Open "log file".

Im gonna try to adb sideload a rom right now. If this fails I dont really know what to do...
[Nexus 7 Android Development] Bronto9:
R: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Inviato dal mio Nexus 7 con Tapatalk 2
[Nexus 7 Android Development] Grakel:
So... external storage is the same as internal virtual sdcard right?

Wtf, you kidding me?

Anyways, what other options do I have. Will the recovery work if I adb push my rom to the empty sdcard and simply flash it with the recovery? Or will it show that "cant open /cache/recovery/log" ?
[Nexus 7 Android Development] FitAmp:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

That's not really simplified for some people. It should be put as emulated SD etc...
[Nexus 7 Android Development] Grakel:
EDIT:

ROM installed just fine with adb sideload, it opened aroma and installed everything just fine. Now it doesnt boot, it stays on google logo and auto reboots into the google logo again.

At least bootloader boots just fine

---------- Post added at 09:02 PM ---------- Previous post was at 08:26 PM ----------

Aint there some kind of smartflashtool or odin? Something that flashes the rom trhu bootloader?

Im not at home atm so I cant try, but I really need the tablet tomorrow morning...
[Nexus 7 Android Development] Bronto9:
R: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

Just download the stock image from here https://developers.google.com/android/nexus/images

Extract the archive (on windows i used 7zip). Inside that you'll find bootloader-grouper-4.18.img(bootloader image, if you are on a lower version, flash in with fastboot flash bootloader imgname.img), and a zip file.

In the zip you'll fine 3 image files (userdata.img, system.img, boot.img)

Flash the system partition with fastboot flash system system.img

Then flash the kernel with fastboot flash boot boot.img

If you want to wipe all the data in your /sdcard folder, falso flash userdata with fastboot flash user data userdata.img

EDIT: sorry i misunderstood you, i thought you wanted to flash stock ROM.

The only other suggestion i have is to check if the ROM zip file has a similar structure

Inviato dal mio Nexus 7 con Tapatalk 2
[Nexus 7 Android Development] Grakel:
I just did it!

Installed back my loved AOKP.

I used Wug's toolkit to flash back factory image. But I had to put the adb and fastboot exe's and some dll's from the new 4.2.2. I think thats the reason cuz none of the toolkits were working, they were ready for 4.2.1. Not sure tho

Oh well, thank you guys for the support, I hope the OP puts a big warning in the download, or better yet, modify the script to not wipe the internal sd.
[Nexus 7 Android Development] waz675:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

One positive to take from this is hopefully you will examine any script before you run it. I wouldn't trust what anyone says with what a script does, I'd at least check the script to see what it does before running it. Simply not worth losing stuff in the possible low percentage situation you might lose important stuff/everything from running something you can see what it does before running it and not actually doing said examination.

:sly:
[Nexus 7 Android Development] Grakel:
Couldnt have said it any better.

Lesson learnt lol
[Nexus 7 Android Development] youdug:
welp... guess i shouldve read the mother ****in op and comments.

#newbsh!t

Ill look into this over the weekend and try and post one without wiping the sd. Time permitting of course.
[Nexus 7 Android Development] narco14:
hi alls, for cleaning my kernel i take only th first file "kernel cleaner" and i flash in recovery that's right?
[Nexus 7 Android Development] boroboy69r:
Re: [MOD][SCRIPT] Superwipe Script & Kernel Cleaner Script

reading post yes but check script first you don't wanna wipe everything from init.d

Smoothly typed from my n7
[Nexus 7 Android Development] yiwsg:
So... This things doesn't work on nexus 7 3g? I think the second script could be better if wipe only internal, cache, dalvik? If throughly wipe off the whole device sdcard why not I just have a factory image restore?
[Nexus 7 Android Development] BigJPNut:
OP says no 3g and COMING SOON, so maybe shortly.
[Nexus 7 Android Development] Moscow Desire:
Notice

I've added a warning in the OP that the superwipe cleans the internal storage.

This is what it's designed to do. To clean up all the useless files associated with the previous rom. The script is for users that want a totally clean internal storage. And a lot of us do.

Also remember, this is a Development forum. It's expected the users flashing these mods, be a little educated on android and what they're getting into. Also, how to restore their data when things go bad, or to prevent getting into that situation to begin with.

There are apps that back up data, lots of them on the market.

If you can't deal with these issues, then it's probably better not to install these programs to begin with.

So NO, I'm not going to close the thread, nor remove the links. The script does exactly what it was designed for.

MD
[Nexus 7 Android Development] qwerty123321:
Great.

In the OP it says "5.

This will wipe external storage. NOT ****ING INTERNAL

"

So, I flashed it and now I have a bricked nexus 7 because it wiped internal . Just ****ing great..

Awesome script indeed. ****ing useless.
[Nexus 7 Android Development] theoctavist:
To the guy with the borked n7 , use wugs nexus toolkit and get it rerooted, recovery etc...no need to sideload

Very easy.it does all the work.
[Nexus 7 Android Development] t1.8matt:
this thread is amusing. i feel sorry for the OP for having to deal with some of these comments.

Moscow Desire

"Also remember, this is a Development forum. It's expected the users flashing these mods, be a little educated on android and what they're getting into. Also, how to restore their data when things go bad, or to prevent getting into that situation to begin with"

Couldn't have said it better.
[Nexus 7 Android Development] Jposton:
On a nexus 4 there is no removable storage. Emulated SD card. Will this scrip wipe my download folder out too?

Basically, once you run this script you have to side load a ROM?

Sorry for the newbie question but I don't want to try this and get stuck with no ROM to load from my download folder. Lol
[Nexus 7 Android Development] Tired of the Bull:
I'm in no way an expert, but after reading every post in this thread I would summarize as follows:

Superwipe = Everything gone! Clean start, no downloads, no ROM, nothing on the Emulated SD card, to have a functioning tablet again you will need to use ADB.

Kernel Wipe is mostly limited to kernel specific areas but can kill ROM speed tweaks.
[Captivate Q&A, Help & Troubleshooting] Caspyan:
Hello,

I've had a power button issue on my Captivate. It's not physically stuck, but the device is functioning as if the power button is constantly pushed (turns on when battery is inserted, does not lock/unlock when pushed, etc). I did what worked for most people-took the phone apart (up to taking the motherboard off) and cleaned the button with rubbing alcohol. Once I put it back together (the power button still had the same issue), the phone started booting and everything that is supposed to be white is now purple. I checked the contacts between the LCD ribbon cable and motherboard, everything seems to be clean and nothing looks bent or out of shape.

Any advice?
[Captivate Q&A, Help & Troubleshooting] laughingT:
it seems likely that some of the alcohol carrying water, possibly with some debris from your power button, got onto the cable contacts or on the gpu and created a short.

if you used rubbing alcohol, which is 30% water, then you may have some residual moisture. for this, take out the battery and put the phone in a bag of uncooked rice for a couple of days to wick moisture.

next time, use 100% isopropyl or use denatured ethanol.

you could also try gently blasting with dry air cleaner (in an aerosol can).

lastly, you could try tuning the color driver settings, more green, less red and blue, if the above doesn't work

Sent from my SGH-I897
[Captivate Q&A, Help & Troubleshooting] Caspyan:
Oh, I didn't even think about the fact that rubbing alcohol can cause this. I might as well get high quality electronics cleaner or something to be sure.

Thanks! :good: That might help with fixing the button as well.
[Nexus 7 General] mobgod:
looking for a good clock any suggestions ?

Sent From My Rooted Nexus 7
[Nexus 7 General] _Variable:
Try this https://play.google.com/store/apps/details?id=tm.app.worldClock

It even has a widget.

__________________

Sweet Devil >_<

GT-P3100 | Android 4.0.4 ICS | Sun Cellular

PM me if you need help
[Nexus 7 General] mobgod:
Thanks what do you guys to find the best for a all in one msg client talk aim skype ect.... want to use on my tablet and phone ?

Set From My Rooted SG3
[Nexus 7 General] ynrozturk:
I use Tablet Talk so I can send/receive SMS's from my N7. Other than that, I just use Skype and Google Talk primarily on my tablet.
[Nexus 7 General] jadephyre:
I use the normal included Jelly Bean Clock, you can add all the cities you want from the list that has been provided, and that one covers almost all the bases.

So far I have found all the cities I know people in, which is kind of important if I want to have a chat with them, to see if they are potentially still awake, or asleep already :P
[Nexus 7 General] mobgod:
What clock is thatdidn't see a world clock on my nexus 7

Set From My Rooted SG3
[Nexus 7 General] jadephyre:
Just open then clock app on your N7, it doesn't matter if you're using the stock ROM or something like CM or PA, they are all the same, then click on the little icon in the middle on the bottom, just above the home-button.

There you can add more cities (make sure you are on the clock tab, not on the timer or alarm tab)

On second thought, i'll post you a screenshot.

Just tap the icon in the red circle, then you can add more cities.
[Nook HD, HD+ Q&A, Help & Troubleshooting] Dmitriusan:
I'would like to post that to HD+ CM10 development thread, but can't yet.

So, the problem is that tablet with battery level 70-80% is left alone for night (9-10 hours) with wi-fi on and on the morning I have it fully discharged and off with 3% of battery. It's the second time I face this problem (the first time tablet left alone at it's bag was fully discharged and heated up to 30°C or even more). When I left tablet alone for long periods of time either with turned off wifi, or turned off completely, battery level did not change noticebly.

I'm using latest 1/19 firmware. Before it, I tried 1/08 and 12/31 ones and did not experience such pain problem (under 12/31, my tablet could be left for 2 days and drop only 60% of charge). Of course, it may be also difference in software installed or launched between different firmware (but I have only Ad Block running in background, and also browser/GMail launched)
[Nook HD, HD+ Q&A, Help & Troubleshooting] codya321:
Have you changed the setting to turn off WiFi when in sleep mode? I am using CM10.1 on an HD, and doing that improved my battery life a bit.