[TOOL] G2x Nullifier AROMA [UPDATED!] 2 August, fully customizable: Made with AROMA!

Search This thread

Волк

Senior Member
Jan 7, 2012
1,159
548
San Diego
Nexus 9
Google Pixel 6 Pro
if you have it on the charger, you're fine. It has a constant power source, and even if it were on USB connection as the charging source, there is so little activity on the phone as compared to normal operation I see no reason to worry. Run it, set it down and don't look at it, lol. Like I said, it made me paranoid, and I'm the one who researched and wrote this thing, lol.
 
  • Like
Reactions: r4d14n7

kairi_zeroblade

Senior Member
Feb 10, 2011
2,322
12,710
In Russian it's Волк, to convert it to the English alphabet, it would be spelled Volk, Some people didnt' know what to say so started to call me Bork and Bonk. I'm kinda particular about my name, so I figured it was about time I added some sort of a clarification.

And I'm glad it worked well for you.

I see..so Thanks Volk.. :D
 

missaellpzchvz

Senior Member
Nov 25, 2010
142
38
Arizona
Amazing work! This is a great tool, I heard of complete rewrites on SD memory but could have never thought of it being implemented to Android partitions as well. I hope that you plan on maybe creating a universal android tool (for most android phones) so that my other devices can enjoy the same ;). Anyways I love this and honor your teams work here.

Sent from my LG-P999
 

Волк

Senior Member
Jan 7, 2012
1,159
548
San Diego
Nexus 9
Google Pixel 6 Pro
Thanks guys. There is no way to create a universal tool. This script goes for the actual partition itself, versus a mount point. I'm not even sure if I could point this at a mount point and have it even run. The main benefit of this is that it operates at such a low level. Until I did tons of reading did I appreciate what I stumbled upon.

I you have another phone you would like to see it ported to, let me know. I have alot going on and I'm actually trying to finalize the script so it's well, final and there is nothing more I can do with it, but I respond to support.
 

missaellpzchvz

Senior Member
Nov 25, 2010
142
38
Arizona
Thanks guys. There is no way to create a universal tool. This script goes for the actual partition itself, versus a mount point. I'm not even sure if I could point this at a mount point and have it even run. The main benefit of this is that it operates at such a low level. Until I did tons of reading did I appreciate what I stumbled upon.

I you have another phone you would like to see it ported to, let me know. I have alot going on and I'm actually trying to finalize the script so it's well, final and there is nothing more I can do with it, but I respond to support.

So from what I understand the script is directed at a partition then runs its magic... So if a script meant to read the partition layout was created that would make a txt with the device's partition layout then saved somewhere where the nullifier could read it and then run? Just an idea since you stated previously that for a HTC Sensation port you needed CWM logs.. Either way don't sweat it, the main function of the script is complete and work marvelously. Other than adding user preferences(1 wipe or 2) its close to done I believe. :) but thanks for listening to your users & thanks again for the work being put into this.

Sent from my LG-P999
 

Thibor69

Senior Member
Thanks guys. There is no way to create a universal tool. This script goes for the actual partition itself, versus a mount point. I'm not even sure if I could point this at a mount point and have it even run. The main benefit of this is that it operates at such a low level. Until I did tons of reading did I appreciate what I stumbled upon.

I you have another phone you would like to see it ported to, let me know. I have alot going on and I'm actually trying to finalize the script so it's well, final and there is nothing more I can do with it, but I respond to support.

Ask and you shall receive ?? who said that ? mmmmm ..... Ok I would like to see a port to the Nook Color : )

Now get to work !! :D

Peace
 

pitflyer

Senior Member
Feb 16, 2010
324
25
I've used this a couple of times. Works good and hope you figure out the fix so you don't have to manually format cache. But till then, may I suggest you add the 'format cache' reminder to the END of the process? Because it shows up during the middle and can easily be missed by the scrolling of later steps.

Also, I noticed that the progress meter does not move at all, so especially during the long data wipes you have no idea if its frozen or what. If you can't get the progress meter to actually increment then if possible maybe output a '.' or something on the screens so we know its still working.

All these are just humble requests, thanks for creating and sharing the tool.
 
  • Like
Reactions: Core Memory

MWBehr

Senior Member
Oct 11, 2010
1,164
380
Corpus Christi
I've used this a couple of times. Works good and hope you figure out the fix so you don't have to manually format cache. But till then, may I suggest you add the 'format cache' reminder to the END of the process? Because it shows up during the middle and can easily be missed by the scrolling of later steps.

Also, I noticed that the progress meter does not move at all, so especially during the long data wipes you have no idea if its frozen or what. If you can't get the progress meter to actually increment then if possible maybe output a '.' or something on the screens so we know its still working.

All these are just humble requests, thanks for creating and sharing the tool.

I know the progress bar is something he's been working on. I can tell you from personal experience that getting a good progress bar on a script can be a pain :D
 

Волк

Senior Member
Jan 7, 2012
1,159
548
San Diego
Nexus 9
Google Pixel 6 Pro
Ask and you shall receive ?? who said that ? mmmmm ..... Ok I would like to see a port to the Nook Color : )

Now get to work !! :D

Peace

Ha ha, good try, there's something called exchange. I can do the port but I need to know what the partition numbers are. So go get me a CWM log since that's easiest, and give me the partition info, or else I nullify your face! Lol.

As far as user options, I don't know that CWM is able to be interactive. I should have time at work later to work on the script so if I so, I should be able to quickly remove the second wipe.

Sent from my LG-P999 using xda premium
 
  • Like
Reactions: r4d14n7

Thibor69

Senior Member
Ha ha, good try, there's something called exchange. I can do the port but I need to know what the partition numbers are. So go get me a CWM log since that's easiest, and give me the partition info, or else I nullify your face! Lol.
Sent from my LG-P999 using xda premium

Ask you shall receive. I'll send you a dropbox link an a while. BTW.... My Nook Color is running Android 2.3.7 CM7

Peace My Russian friend :D
 
Last edited:

Black6spdZ

Senior Member
May 7, 2006
793
88
Waterford MI
What's the difference/benefits with writing all 00's or writing all FF's?

Problem is that once all the cells have been written with 0s, they must be erased "1s or FF as its sometimes referred to" a block at a time in order to prepare it for new data. This usually causes slow writes as the memory controller must read the remaining data on the block, erase the entire block, re-write the other data and the data that was meant to be changed. By formatting flash memory with 0s, you guarantee that any new data written will require that each block of flash will need to be erased again before anything new is written.. DD was originally designed for spinning disks where 0s are written to "blank" a drive as well as the ability to write random data to prevent retrieving data from magnetic media.
 
  • Like
Reactions: buru898

Волк

Senior Member
Jan 7, 2012
1,159
548
San Diego
Nexus 9
Google Pixel 6 Pro
I thought you said there was a problem. If anything, you just said why this is good. Once the 0's are deleted there would be no slow r/w times, and since formatting marks the blocks as empty, how is it that they now need to be erased? And even if they have to be deleted by some other means, that's just one R/W cycle. No one has complained of slow R/W times, just the opposite.
 

rosevilletoyota

Senior Member
Jan 30, 2012
303
36
C.A.
There is nothing wrong with this wipe tool. manually formatting cache is no big deal but if you fix that I see nothing else. People are losing focus on what this app is a Utility Tool. As for Wearing the flash drive out, impossible! Graphic are just eye candy.

Thanks Bonk for all you do ( Did I get the name right )

---------- Post added at 08:33 PM ---------- Previous post was at 08:30 PM ----------

Just saw you live in SF? I will buy you a drink next time Im in town. I live in Roseville but Parents live in Marin.
 

Волк

Senior Member
Jan 7, 2012
1,159
548
San Diego
Nexus 9
Google Pixel 6 Pro
Just to quickly touch bases on development, I'm close to a final build. Just need to iron a couple of things out and verify /cache is being formatted now. Hopefully tomorrow evening I'll be able to release.

Edit, I also have wifi issues at home today, it's down and I get 2g reception in my building, so browsing and posting is tricky.

For now, what is in the OP is the latest.
 
Last edited:
  • Like
Reactions: r4d14n7

buru898

Senior Member
Ha ha, good try, there's something called exchange. I can do the port but I need to know what the partition numbers are. So go get me a CWM log since that's easiest, and give me the partition info, or else I nullify your face! Lol.

As far as user options, I don't know that CWM is able to be interactive. I should have time at work later to work on the script so if I so, I should be able to quickly remove the second wipe.

Sent from my LG-P999 using xda premium

You can make cwm interactive. Someone who makes a ROM in the HD2 (I think the high end ROM?) has it to where you can set options while it's flashing.

It'll ask what kernel you want and launcher you want and other neat options like that.

If I remember correctly, it's the high end ROM by dorimanx.
 

tahahawa

Senior Member
Oct 14, 2010
1,064
313
You can make cwm interactive. Someone who makes a ROM in the HD2 (I think the high end ROM?) has it to where you can set options while it's flashing.

It'll ask what kernel you want and launcher you want and other neat options like that.

If I remember correctly, it's the high end ROM by dorimanx.

You can use aroma installer to do that.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 60
    Hello,

    Here is my no longer new wipe tool, inspired by the G2x Scrubber.

    The Nullifier.

    This uses a special command in combination with a special file to overwrite the internal partitions with 0's, hence "Null" for 0 and "-ifier" for the fact that it does the action of the root word to something else. It also formats *all* the partitions afterward and *new* checks for, and repairs any errors on them.

    6 Oct: This tool is now depreciated and succeded by the G2x AIO wipe tool.

    New 2 August:

    Updated to 3.1, now fully customizeable by partition. Still haven't gotten around to making status bars, it's going to take a little bit to work out the best implementation.

    New 28 July: I've been working on wrapping my head around the infamous AROMA installer and have at least made some progress in understanding it. As alot of people in the past had wanted to have the option to choose which to wipe, and how many times. We're not there yet. Yet. I just wanted to give those interested something new to chew on while I work out how to break it down function by function. Currently I have it made so that you have one installer which allows you to choose between a single and dual wipe.

    New 26 March: The Cache Nullifier I edited the script down to just do a single pass Nullification then format and error check. This will work on the G2x, O2x and su660.

    26 April update: Changed the commands so that it writes ext4 file system instead of ext3 when it formats and created an error check zip, mostly just because it could prove to be useful. I tried a couple of different sign programs to sign these properly but in testing signature verification fails still.

    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.

    Some brief need to knows:

    1. This is a little lengthy process so please bear with it. The longest wipe is on /data which will take about 7 minutes. Obviously, make sure you have plenty of battery life before running it or are charging.

    2. You *must not* power off your phone without first installing a new ROM or restoring a nandroid after you use this. See post here:
    http://xdaforums.com/showpost.php?p=23998091&postcount=125

    3. I will provide help, support, etc., but I am not, nor is anyone else involved with this, responsible for any problems you may have in the extremely unlikely event that you do.

    old links:

    Depreciated

    Direct link to 3.1:

    Depreciated

    Thanks to da-pharoah for being my main beta tester who stuck with me all the way, even after bricking his phone and getting the progress bar pinned down as best as possible.

    Additional thanks to anyone who contributed (you know who you are).
    11
    Nullifier Q and A:

    Q: Will this harm my phone in any way or brick it?
    A: No, the incident with Pharaoh's phone was an unexpected problem brought about from the source-file I was using at the time causing CWM and Android to think the phone was encrypted. I no longer use that source-file.

    Q: Why not just format everything?
    A: Because a format isn't intended to erase data, though, to a degree, does so. This script is intended to and will wipe out the data and leave a clean set of partitions for a ROM to be installed to.

    Q: (Submitted by Cargohook) Would it be idiotic or fruitless to run this and then restore a nandroid backup? I mean, would that defeat the purpose?
    A: 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.

    Q: Why don't I get a message about formatting /boot?
    A: Because it doesn't format /boot. Why? In testing I found that it doesn't need it. It's all a matter of how Android uses boot.img and how it's copied.

    Q: Does this wipe internal or external SD? (added because it keeps getting asked)
    A: In a word, no.

    Q: Will using this cause nand-failure or make my phone unusable if used too much?
    A: In my opinion, no. In other's, yes. By my experience I have never encountered such a problem. To give you a better answer, please see Overground's post on that subject here: http://xdaforums.com/showpost.php?p=25257903&postcount=327
    (Thanks for the objective opinion overground)

    (More to come as need be)
    8
    Reserved just in case. (I knew there was a reason for me reserving this)

    Changelog for 3.1:
    Now you can select one, two or no wipes per partition, a long-requested feature.

    Changelog for 3.0.5:

    1. Obviously this is now AROMA based.

    2. The scripting for the progress bar is different due to AROMA, so for now we have no status bar progress. I'm waiting to see if someone can explain what Amarullz means in his explanation since I can't make heads or tails of it. Otherwise all the old functionality is the exact same.

    Changelog: (old)

    1. Added progress bar.

    It's not 100% accurate, but sadly it's impossible to get it 100%, even after tons of testing.

    2. Fixed format issue with /cache.

    Thanks Overground for showing us a better format command to use
    and to my tester/protogee Pharoah, who added the unmount command which made CWM less pissed at me.

    3. Added a model check just in case someone doesn't know what they're getting ahold of and turn their phone's internals into something resembeling Chernobyl's Reactor Number Four.

    4. Removed unneeded mount command in dual wipe script which was causing problems.


    Plans for the future:

    Create a menu system so that the user has a choice of what to wipe, and single vs dual wipes, or no wipe at all.
    This is coming along well, I decided to keep it more straight-forward versus making a system of menus, so once it's thoroughly tested it'll be released

    Hopefully a time-based progress bar is still possible, if not I guess it's time to find someone who likes math to figure out the percentage of each operation.
    8
    I understand it is hard when someone questions or says something about your work when your very passionate about what you do. i say take a deep breath and relax if you don't like it don't use it if you like it use it it is a simple concept i use this all the time and have never ever ever had a problem unless i have forgotten to flash something aka human error lets all play nice and appreciate the hard work volk has put in to this


    have a great day

    John C Craig
    x0xhellx0x
    6
    Ok. I've read over the last few pages and I see both sides of the debate.
    IMO, both arguments hold some validity.

    I have personally used this tool with no ill effects, and my phone seemed to run better after having used it (I have no hard data to provide to substantiate this).

    That being said, I would advise users of 3 things.

    1. (Obviously) Use at your own risk.
    2. Overuse of the tool could (but is not proven to) be detrimental to the device.
    3. Read and use common sense when making the decision to use this (or any other) experimental tool.

    Everyone's arguments have been heard and made, and I have not removed any pertinent posts as I believe them to help inform the end user of their ultimate decision.

    Please keep this discussion on-topic and civil as I will not hesitate to exercise my powers on those who attempt to further derail the thread.

    Thank you for your cooperation.