yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] Jeffro64:
Thanks.... i'll keep searching, it was a better way to check to make sure your partitions were infact ext4, as the terminal/mount didn't always show right.

EDIT: Found it finally... there was no going to recovery, it was just simply adb shell and type mount.
[T-Mobile LG G2x] jellysweep:
I did something stupid.

I ran the nullifier, then I went to install CM7 from zip. After I selected install from zip, I realized that all the files on my sdcard were still present. I went to advanced > mount usb, then formatted it fat32 within windows. Afterwards, I dragged over my cm7 zip. Now when I select install zip from sdcard > choose zip from sdcard...i get the error:

No such files found.

I'm not sure where to go from here, and I don't want to restart the phone bc I read that I won't be able to boot into CWM again. Any advice for the village idiot? I've got the phone sitting on the charger in CWM waiting for response. Thanks :/

Update: I restarted, and was able to immediately get into CWM. The files were present after restart, and available to be installed through "choose zip from sdcard". Thanks. A little panic attack :)
[T-Mobile LG G2x] Волк:
Glad all worked out correctly for the previous two posters. Hmm, jeffro, you just gave me an idea, don't know how useful or if it's even possible, invoke adb shell via a shell script ran from a CWM install script. I know you run a shell script as a program from a CWM install script.
[T-Mobile LG G2x] Волк:
Minor update 1 March: swapped out the binaries on the 2.0.6 releases so they're the same as the older versions, added an ext4 cache nullifier, and fixed the code on the dual-wipe as I was sober when that one was revised as it had errors which would prevent it from running.
[T-Mobile LG G2x] Jeffro64:
That sounds interesting... Also thanks for the update, can't wait to try it out when Hellfire updates!!
[T-Mobile LG G2x] iArtisan:
Got thrust into a little dilemma just now, I ran the latest dual wipe nullifier and the phone is stuck at it's second wipe of /data. The progress bar has filled up completely but the phone has been wiping /data for almost 15 minutes now. I think it's stuck...

what do?
[T-Mobile LG G2x] Волк:
Shoot! I didn't fix the progress bar. Don't worried, let it run it's course. The progress bar is timmed manually, I didn't switch the time for dual wipe.
[T-Mobile LG G2x] da-pharoah:
Ah it happens.. nice 1 on the update btw.. haven't said n e thing yet..
[T-Mobile LG G2x] I.R.Chevy:
Nice thanks for the update buddy ol pal. I'm just about ready for a dual wipe steam roll looks like I get to try out the new toy woo hook

Thanks again for the hard work

Pin it to Win it.
[T-Mobile LG G2x] Alakratt:
I did a fresh/clean install for AOKP Milestone 5 with the new 4292012 gapps, used dual wipe 2.0.6 and the ROM started acting weird, it lagged, didn't show the 'Connect to charger' message in the lockscreen when low on battery. The camera app forced closes twice, and when it worked it was extremely laggy, the ROM didn't show my SD files (external and internal). I post this here because I used dual wipe 2.0.6 but it could also be the new gapps (although I'm not sure about that one). Still, I did another fresh install but this time I used dual wipe 2.0 (the one I've been using) with gapps 4222012 installed and everything is running good.

Could the problem be the new version of the Nullifier?
[T-Mobile LG G2x] Волк:
That would be very odd, if anything I would expect less compatability with GB than ICS, but there could be something with AROMA, you're the second person on AOKP who had some sort of issue.
[T-Mobile LG G2x] Alakratt:
Since I read that it formats in ext4, I really wanted to give it a go, but 2.0 works fine so far. But as far as I know AOKP doesn't use AROMA, what do you mean by that?
[T-Mobile LG G2x] pmorrsn:
I could not find the steps for running this. I did not see a flash.bat file?or another program just a meta directory..
[T-Mobile LG G2x] Волк:
Why would it need a flash.bat? It's a CWM-flashable zip, the code is all written into the updater-script.
[T-Mobile LG G2x] pmorrsn:
so I don't need a pc to run it? Just use CWM and I can load the zip?
[T-Mobile LG G2x] Волк:
Right.
[T-Mobile LG G2x] pmorrsn:
Thanks, sounds too easy.
[T-Mobile LG G2x] DJLamontagneIII:
Thanks for the update man always keep a copy of this on my SD for my crack flashing lol
[T-Mobile LG G2x] dragonrider8844:
I've downloaded all versions, and each one keeps saying Can't open /sdcard/Nullifier

(bad)

Installation aborted.

Is it because im on 2.3.4 that just got released?

Edit: Just restored my nandroid and tried it again. They work
[T-Mobile LG G2x] dw9906:
Bad link, sorry
[T-Mobile LG G2x] timothy7732:
What is that I have all my back on Google
[T-Mobile LG G2x] JonEk@t:
Which version?

I'm hoping this isn't too much of a n00b question, since I've been rooting since my G1 days, but I've always done manual wipes via CWM. I am currently running Arcee's original release of CM9 (9.0.0-RC0-SelfKANG3-G2x) with the July 15 2011 BB. I came from xboarders stock rooted OTA 2.3.3, and I'm just trying to figure out wich version of he DUAL WIPE I should run. I'm seeing in my latest CWM backup that both cache & data are EXT3 and system is EXT4. I want to try going back to GB (Hellfire or CM 7.2), so should I run the 2.0 scrubber or the 2.0.6 revision. My gut says to use 2.0.6 but I just wanted confirmation. Thanks in advance!
[T-Mobile LG G2x] buru898:
I'm pretty sure you should go for 2.0.6... and if something doesn't work then just go for version 2... but I am almost completely sure the new one will work for you.
[T-Mobile LG G2x] Волк:
2.0.6 will be best across the boards. I am on CM7 Nightly and ran that one before flash.
[T-Mobile LG G2x] JonEk@t:
Thank you both!
[T-Mobile LG G2x] Волк:
Ok, update 28 July. See release note in op and changelog in second post. Now made with Aroma Installer.
[T-Mobile LG G2x] B@je:
Bork did you build some sort of failsafe into the nullifier? i nullified a few days ago and fell asleep while wating and the phone died on me and since my pc was in for repairs i was screwed. i tried charging and all that came up was the lg logo and not the battery charging animation. i tried getting it into recovery well knowing i wasn't going to work so i decided to wait until my pc came back but two days later i decided to try once more and from the time i turned it on it booted straight to recovery without holding the volume button and i was able to flash a ROM which surprised me because it wasn't on the charger for the whole time after i flashed the phone wouldn't boot so i put in the charger and it booted. so i want to know if you made a failsafe or was i incredibly lucky?
[T-Mobile LG G2x] Волк:
Mostly lucky, I think. But I had something similar where my power button was disabled and I was screwed, but somehow it booted right into recovery.

P.s. don't call me bork, that's why I put the romanization in my sig.
[T-Mobile LG G2x] B@je:
Sorry my bad Volk didn't mean to offend. Well ill just chalk it up to luck then ^_^
[T-Mobile LG G2x] Thibor69:
I just tested it on my G2x (21y) and the script worked just perfect. Got to love aroma !! Just be aware that the status bar does NOT work yet, so it will say 0.00% the entire time, but it will show you progress in the progress window so you know it is working. Took about 5 minutes to complete. Also, be sure you either restore a nandroid backup *or* install a new ROM before you reboot.

Peace
[T-Mobile LG G2x] Волк:
I highly doubt it would be a waste of your time. On an educated hunch when you restore a nandroid all CWM does is format the partitions then load the data from the nandroid to those partitions; back to square 1 with old data being left behind.

Now, back to snooping in some O2x zips so I can port this to the O2x.

Edit: adding this to the Q and A.
[T-Mobile LG G2x] torvick12:
Noob question, but will this take away nvflash and cwm and all those stuff? Or is it just a normal format wipe with better accuracy of wiping everything?
[T-Mobile LG G2x] shovelhead83:
Its just a more detailed wipe. Now you are less of a noob. ;)
[T-Mobile LG G2x] Волк:
No, it's not just a more detailed wipe. Read the OP. I even explain what the basics of this are.

Edit: For further clarification: the process works in a similar way to secure data erasure, where the file is written over with 0's. Stuff like erasing to DoD standards involves multiple passes and variations of the bits written.

Edit Again: Just so the question isn't technically left unanswered; no, this will not take away CWM.
[T-Mobile LG G2x] torvick12:
Alrightie, thanks ill give it shot to see whats up
[T-Mobile LG G2x] rosevilletoyota:
So its my understanding that before you install a new Rom we just run this tool and after format /cache. no more need for all the steps and wipes and G2X scrubber?

thanks
[T-Mobile LG G2x] x0xhellx0x:
Bonk great job bud this works like a charm specially with all the bad betas I flash :) now to get the cache part working remember some times its one light bulb on the string of lights that's causing it to not work check simple things first :D
[T-Mobile LG G2x] Волк:
@rosevilletoyota: Correct, this does everything that the scrubber did and more. It was actually in testing my script that I found that the scrubber never worked for formatting /cache. It was a WTH it worked on every other partition, and the scrubber did it. *went and flashed scrubber and checked log* Ah ha! Scrubber gives me the same error.

@Hell, yea, I have an idea of some investigating I can do; just wanted to take a break this afternoon and evening. I also have a couple of ideas for the next HFS release, I'll touch bases once I stop and fully read what's entailed.
[T-Mobile LG G2x] cargohook:
Works Good

Thanks, Волк the Barbarian!
[T-Mobile LG G2x] x0xhellx0x:
Sounds good
[T-Mobile LG G2x] Utorrent76:
Awesome job on the wipe tool! I just used it a few hours ago, it took about 20 min's to complete and when it did, holy ****! What difference in speed & responsiveness. My G2X Is flying now. Running ics & it's never felt so smooth. Maybe you can come up with a wipe tool that's compatible with the Sensation. Anyway well done sir, & thx again.
[T-Mobile LG G2x] zoppp:
Nice, we have a new potential dev. Or if just haven't been paying attention to this guy...

Edit: you might want to host on mediafire or box because dropbox has bandwidth limits.
[T-Mobile LG G2x] SuperiorEst:
No that wouldn't Defeat the purpose. That is what I did. It worked great for me. :)

Sent by Superiorest from his LG G2x using XDA Premium
[T-Mobile LG G2x] Black6spdZ:
you really want to write FFs to the NAND to make it fully erase all of the cells
[T-Mobile LG G2x] chrisram88:
Wow awesome job man! This made my phone like new again. Well except with that crappy ota rom! Took me about 15 mins.. Thanks!

Sent from my LG-P999
[T-Mobile LG G2x] Pecata:
Great tool! Works like a charm. Thanks!
[T-Mobile LG G2x] x0xhellx0x:
Yeah he got something commingle for u kiddies soon team hellfire dose not disapoint
[T-Mobile LG G2x] Волк:
I can adapt it to the Sensation, at least i see no reason, so long as it had internal partitions, it can be adapted to any phone. Just PM me a CWM log and I'll get on it.
[T-Mobile LG G2x] zoppp:
Team Hellfire woot!!!!
[T-Mobile LG G2x] mk2rimar:
Tx for youre hard work...works flawless
[T-Mobile LG G2x] Волк:
Updated 2 August, see third post for change-log.

Also, since I have gotten a good idea of AROMA, I plan to make this into an AIO wipe tool, not just a Nullifier. I have already begun work on the menu system.
[T-Mobile LG G2x] da-pharoah:
Mmm smell that Aroma... mmmm lol jk.. but this new update works way better!! Its how it should have been originally...
[T-Mobile LG G2x] Волк:
I agree. Next comes the AIO tool.
[T-Mobile LG G2x] timothy7732:
I have tried to download but no luck
[T-Mobile LG G2x] Волк:
Don't know why, I literally just tried it from my phone.

Dropbox mirror:

http://db.tt/bdgSYRON
[T-Mobile LG G2x] timothy7732:
I went to the link but didn't see a place that said download so I tried to press everywhere on the Padge but It didn't work I love your work and would really love to try this out so please let me know if there is something I'm not doing right
[T-Mobile LG G2x] Волк:
There's a dropbox mirror in my previous reply, maybe check your browser's settings, there's a big button which says "download" in the middle of the page.
[T-Mobile LG G2x] timothy7732:
Thank you ill check my browser the mirror worked perfect thank you again
[T-Mobile LG G2x] petteyg359:
Minor bug: At the top of the screen offering single/double/nothing wipes for the system partition (according to the option labels), it says "select an option for the boot partition".
[T-Mobile LG G2x] Волк:
I will take a look and fix accordingly.
[T-Mobile LG G2x] timothy7732:
Thanks worked buttery smooth awesome job love the aroma
[T-Mobile LG G2x] tonyp:
Your Q&A says that dalvik gets wiped while cache is wiped which is not true.

Or at least it isn't true when you use the default build.prop, you could tweak it to locate dalvik at /cache, but by default it's at /data.

So it might still be true that your script wiped dalvik, as long as you select to wipe data or a modified build.prop.
[T-Mobile LG G2x] cody168:
This is great stuff, thank you! :good::good:
[T-Mobile LG G2x] Волк:
Thanks for the kind words. Next comes the G2x AIO AROMA wipe tool. Coming soon.
[T-Mobile LG G2x] Jeffro64:
Does this new version fix the SD mount issue where you would have to load a gingerbread rom first to get your SD card to mount?
[T-Mobile LG G2x] Волк:
Wrong wipe tool. You're thinking of the recovery tool, miscalled a wipe tool, called the 'clean-up batch'.
[T-Mobile LG G2x] rosevilletoyota:
Does your new wipe tool replace this one? Thanks
[T-Mobile LG G2x] Волк:
Yes, I had to re-write the menu system when I made the AIO and the full functionality of the Nullifier is included in the AIO. I don't forsee there being and changes in functionality of the Nullification process, and if there was why make and maintain two not separate tools? Which is one of the reasons I made an AIO, not just four seperate things. And it's alot easier to port if it isn't in parts.
[T-Mobile LG G2x] timothy7732:
Hey volk just wanted to say thank you for all your help i have moved on to the razr you where a great help to me thank you again :)
[T-Mobile LG G2x] skyler shazz:
Help

I have two questions.

1. Can you still use scrubber to flash 1.9 on lg g2x?

2. Can you give step by step specific instructions how to install/flash nulifier on lg g2x?
[T-Mobile LG G2x] Волк:
Scrubber? You can use the Nullifier and AIO until Android no longer supports ext4; which isn't likely to be before this phone is so old and out-dated that we will think of it with nostalgia.

As for step by step instructions, you get it rolling like flashing a ROM and touch the menu buttons on the screen to select what you want it to do.
[T-Mobile LG G2x] austinlblanton:
What do I do if my phone froze right at the end of it?
[T-Mobile LG G2x] Волк:
You nvflash a kernel.
[T-Mobile LG G2x] justjackyl:
Dude ...how many threads are you going to post your problem in? People are trying to help you in your original thread. Your all over the place, and it now is coming down to logic. You bought a phone that was unplugged during a root, depending on when it could have received a voltage spike that fried the nand. The fact that you have to put it in the freezer just to make it work, the fact that after being on for a short period and it dies, the fact that you are stuck because it dies as it heats up or voltage is applied.

Logic says the chip is fried.

Sent via G2x on CM7 b135.1 w/faux 52 kernel
[T-Mobile LG G2x] austinlblanton:
I'm gonna post in as many threads as I want :crying:
[T-Mobile LG G2x] justjackyl:
Oh i can tell. Act like a child and you will quickly see the community won't wanna help you anymore.

Thank goodness for ignore lists.

Buy a bricked phone privately and than wanna harass Tmo to replace it?

Grow up kid. I wont see your whiney posts anymore.

Sent via Iconia A100 on CM10-b090212; godmachine v2.0 kernel; pio's build.prop mod
[T-Mobile LG G2x] kvnd:
Can anyone help me??

I flashed Nullifier Aroma last night and I fell asleep. Woke up this morning and it was off. I try to turn it on and only show the LG screen. I put battery and plug it back in and it only show LG screen. I try doing the NVflash and try turning it on the normal way and down volume and power. But all it ever show is the LG screen. Wouldn't boot at all.

Please help.
[T-Mobile LG G2x] buru898:
What's the difference/benefits with writing all 00's or writing all FF's?
[T-Mobile LG G2x] I.R.Chevy:
Just started all over with a nice clean install of everything and your nullifier works great! I also cleaned up my files on my SD card and reformatted it with windows feel like I just put high octane in this SOB lol

Thanks!

Pin it to Win it.
[T-Mobile LG G2x] Волк:
lol, you all are making me jealous, I've been so busy deving this thing I'm yet to actually run this on my phone. But I'm about to turn the tables, especially for all HFS'ers. I modified the install script for HFS to Nullify the boot partition. I can't add it to my script yet as I don't know what filesystem to write, not for sure, but I may just have Pharaoh test for me until we strike gold. Hmm and I know just what to do to test....

"What's the difference/benefits with writing all 00's or writing all FF's?"

FF=255 (Anyone play NES's Legend of Zelda?) What was the max number of Rupees (or what ever they were called)? 255. How may bits was NES? 8. Anyone love binary? 2 to the 8th power is what? 256. If we remove one bit, since in computing 0 IS a value, we get 256 values (255+0=256). And writing ff across the NAND, versus 0's will...do something. It is 4am where I am at, lol, I can only explain so much.

Besides, to do what my script does you'd have to find a way to do it which is at the filesystem level. My script works because Unix, Linux and Android have a few special files. There's a file which, when written to always returns a device full error, another which you can write to infinitely but never gets over-written. It's all in what you have and what you can do with it.
[T-Mobile LG G2x] x0xhellx0x:
OK sounds good let's see what we can do. I can't wait for your build to come out :D man its going to knock peoples heads off
[T-Mobile LG G2x] Волк:
))))

I'm also working on removing the init.d tweaks form Morfic's Kernel so it plays nicer with HFS. And while I was in there, I decided to remove all boot anim info since atm it causes problems. I won't release it publicly w/out Morfic's consent though.

p.s. I also have the Nullifier ported to the O2x. I just need the thread for it written, lol.

Edit: lol, got to reading the script for HFS and started going O.o really? Nice, that means I can do this and then it does this, that's simple. Learning is fun.
[T-Mobile LG G2x] x0xhellx0x:
Gulp !!! Some one save my rom from Bonk :p
[T-Mobile LG G2x] Волк:
rofl. Nope, just making it so that once I flash it my ringtones and boot anim are there, and a couple other things strictly for me, but good to know some of this stuff.

All your ROM are belong to us. (make your time)

Too bad I got distracted along the way. I saw a post and went "Wait a post about porting an awesome game developed by Russians and Ukrainians to Android, I've got to see what being said there..."

Edit: Nullifing my own phone, FINNALLY! The notifications are nice, Def need to play with the progress bar and maybe add in a pause after telling the user to perform a manual wipe of /cache.

Edit again: updated third post so it's more official like. >.> Phone's about ready for me now, perfect timing.
[T-Mobile LG G2x] Волк:
Double-posting 'cause it's my thread.

So, after a recent (like ten minutes ago) test I confirmed that I can aim this at the boot partition and a standard ROM install script will still write boot.img to the boot partition. Hell gets credit for confirming my thought on how the file is used by the android system.
[T-Mobile LG G2x] MWBehr:
Perfect timing man, I just decided to bring my wife's phone over from CM7 to HFS. Can't think of a better use for your script :D

Am I correct in my understanding that this actually does two identical wipes of at least data? If this is correct, might I suggest making a single wipe version as well for more regular use (like just switching from HFS 1.4 to the future 1.5)? A double wipe seems like a little overkill for things like that, but is much appreciated for moving from Gingerbread to ICS.

Just a thought. Thanks for this script ;)
[T-Mobile LG G2x] bluenote73:
Personally I'd be very reluctant to have to wait 7 - 12 minutes for something that is basically a placebo. I'd rather see a "scrubber classic" mode that works around the erorr with the cache you detected. For everyone else, sure, write zeros over every bit, hell, do it 9 times. Just one person but I'd be disinclined to flash a rom that forced me into this.

And yes, flash memory has a lifetime unless phone memory is somehow magical, I'm not an engineer.
[T-Mobile LG G2x] MWBehr:
I wouldn't call this a placebo by any means. It helps to have an understanding of the difference between a "quick" format and a "low level" format. Quick formats are all but worthless IMHO. Yes a low level format takes much longer than a quick format, but since a quick format doesn't actually delete anything, it can be quite beneficial. You may not realize it, but you've probably had issues in the past that were a result of installing on top of a quick format rather than a low level format.

20 minutes of your time to alleviate hours and hours of frustration.

As for flash memory life, I would be absolutely amazed if someone actually wore out their flash memory before exchanging out their phone. You're guaranteed for somewhere around 100k to 1mil W/E cycles....and this is spread across all the cells (you're not constantly writing to the same cell, you're moving to lesser used cells).

One use of this script is less than one of those W/E cycles since you're not erasing the entire NAND, so I think you're safe :D
[T-Mobile LG G2x] I.R.Chevy:
I have always been a big believer in proper formatting and non fragmented files... things like this tool calm my ocd tendencies haha

Pin it to Win it.
[T-Mobile LG G2x] menting:
do all microsd cards have hardware wear leveling support built in?

i recall that the sdhc spec does not include wear leveling, so it's possible that some (or most, or all) don't have it.

if all the microsd cards have built in hardware wear leveling support, I agree that wearing out a nand flash due to this script is all but impossible,

but if it doesn't, nand cells are rated for ~1000-3000 cycles or so depending on the process node, and each use of the script will take away 1 of those cycles.
[T-Mobile LG G2x] IRASadPanda:
Agree, I flash this whenever going between GB and ICS.
[T-Mobile LG G2x] Волк:
Ok, think about it for a second. You have a cache partition and a data partition. Look up what a cache is. That cache is going to get a using, and iirc from test it's about 512mb. that your e-mails aren't all stored on the cloud. And using apps and especially games simply adds to the write counts.

As far as the two pass thing, it honestly may or may not be needed. I'm trying to convert a linux command to android currently which checks the drive for any bits which aren't 0. If I get alot of requests for a one-pass script I'll do it. Ask and ye shall receive.
[T-Mobile LG G2x] buru898:
You guys could edit the script yourselves and just simply take out the extra wipe(s) ;p. That's what I did anyway.

Just be sure you don't change or edit/add any other lines.
[T-Mobile LG G2x] MWBehr:
Lol, yes I'm well aware. I was more mentioning it as an option for community benefit. Also, I always feel it's important to get the creater's viewpoint on any modifications to their work not only out of respect, but because they may have had a purpose behind what you're changing that you may have never considered yourself.
[T-Mobile LG G2x] CB620:
Tool takes some time but phone seems better after everything takes place. Definitely a must have if your a crack flasher.