yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Ph4nt0m_:
Well, still not working.

This should help:

line 102 col 1: syntax error, unexpected $end, expecting ',' or ')'

1 parse errors

E:Error in /sdcard/download/O2x_Nullifier_1.3.2-1.zip

(Status 6)

Installation aborted

If I am mistaken and this is not enough, I'll get you the whole log.
[LG Optimus 2x] Волк:
yea, that's enough. Syntax error, I still have it open so I'll take a closer look.

---------- Post added at 04:03 PM ---------- Previous post was at 03:20 PM ----------

http://db.tt/xl5kGU7w

Few fixes, I have to get back to work though, post more later.
[LG Optimus 2x] da-pharoah:
OP updated again... thanks again jackmu95!!!
[LG Optimus 2x] vadonka:
- make sure that you are using the unix endline tag not the dos like

- use winzip or total commander for the packaging, dont use compression

- dont use the signature, or generate a new one, what you used now its not mach with your files
[LG Optimus 2x] da-pharoah:
I used 7zip no compression. but ok just resigned it and reupped it.. check OP.. to tired to sort everything else out its 2am my time.. It should work... if not please get me the log and I'll do what I do to help sort it out...
[LG Optimus 2x] Ph4nt0m_:
Now it works just fine :) Thanks for all the work :D
[LG Optimus 2x] ev!denz:
Doesn't work for me :S

Can't post the log because I'm at work. Same issue like before.
[LG Optimus 2x] vadonka:
what is the cwm version what you guys using?
[LG Optimus 2x] Ph4nt0m_:
I'm using 5.0.2.0.
[LG Optimus 2x] ev!denz:
I'm using CWM 5.2.7

Here is the last_log :
[LG Optimus 2x] vadonka:
try to replace the META-INF\com\google\android\update-binary with the attachment file (first unzip it)
[LG Optimus 2x] ev!denz:
I get the following error message:
[LG Optimus 2x] vadonka:
try to replace this file in my attachment (first unzip)

the update-script contained some apostrophe in the ui_print, but this is not allowed and some quotation marks are in the wrong place
[LG Optimus 2x] ev!denz:
Okay one moment pls^^

E:// doesn't work anyway.
[LG Optimus 2x] da-pharoah:
at work again... :mad: blah.. I will not give up on this tool.. It will work!

edit:

did a bunch of testing.. OP updated
[LG Optimus 2x] jacobmllr95:
Read your PM´s ;)
[LG Optimus 2x] ev!denz:
Damn awesome! It works incl. cache :)
[LG Optimus 2x] da-pharoah:
Sweet...which version works for you?
[LG Optimus 2x] ev!denz:
O2x_Nullifier_1.5-g2x-parts7 this one. But some little question^^ after wiping the phone, and flashing the new ROM, it doesn't boot anymore Oo Do I have to install CWM and so on new?
[LG Optimus 2x] da-pharoah:
Dude you werent supposed to flash that one.. That y I put in bold capital letters what I did... because I dont have an o2x I changed the partitions info to fit the g2x so I can test it again.. you flashed the script with g2x partition info... can you boot into cwm at least??
[LG Optimus 2x] ev!denz:
No nothing^^ when I'm at home I will do an complete reinstall with LG Utilities I think that could help (i hope so :S)
[LG Optimus 2x] da-pharoah:
dude you flashed a g2x script to your o2x phone.. you werent suppored to do that.. being that I'm at work I have no other way to edit the scripts from my pc then send to my phone.. thats why I posted on that post not to download it.. I was testing.. So basically you wiped out your partitions. You will need to recreate them I dont think LG utilities will work but you can try it. Im going to search for you for the info on restoring your partitions but your going to need to rebuild them probably via adb. This link reads like it could help... http://xdaforums.com/showthread.php?t=1181416

edit:

ok so here is the page I used to recreate my partitions. You should PM me when you read this btw, but the link above has the o2x partitions layout.

Here is the guide to the G2x

... I assume you may have to go this process as when we were doing the process for the g2x I killed my /data partition and had to recreate it. That process works awesomely. Essentially, in terms with what my script did, you nullfied your /data (0p8) with a g2x 0p7 /data command which hit your /recovery emmc partition. but safe to say you have ADB on your PC, I'd hope so if we cant talk due to you being like on the other side of the world from me since i'm in the US. For now I'll link them but I want to talk to you before I go all assuming and compile data for you. But btw I the way that o2x table is laid out from that cfg file the NVFlash using Modaco's tool for O2X may work for you as well, try that first.. So pm me.. or even better if you use gtalk I have my email in the second post.. send a chat request and if im awake ill be happy to help out.
[LG Optimus 2x] vadonka:
you should be more careful when using such a mass eraser tool...

if you screw the recovery partition that the only help is the nvflash method, flash back the cwm image with the nvflash in low level flash mode.
[LG Optimus 2x] Волк:
Ok, so, can you go away or something?

You came in and plopped down some scritping and told us we were doing it all wrong. Funny, I see no explanation of how it is that we are incorrect in our implementation. The command writes data with formatting, using dev/zero will write to the disk with formatting, but having no formatting and just being 0 it writes at the filesystem level and actually wipes out the old data. A format isn't intended to erase files, there are countless "format recovery" programs for computers, if a format truly wiped out the data those tools wouldn't be usable.

Now, looking at your code I'd like to know how you know what file system to write to the boot partition and why we even need to write one. When I was testing I found that after wiping it there is no need to write one. The other problem I have is your use of "journal_data_writeback" in the second tune2fs command. Looking here it states:

When the filesystem is mounted with journalling enabled,
data may be written into the main filesystem after its
metadata has been committed to the journal.
This may increase throughput, however,
[i][b][u]it may allow old data to appear in files after a crash and journal recovery.[/u][/b][/i]

Why the blasted effin firck would we want to do something which could allow old data to appear in files?

You came in and have started to act like this is your tool and your thread. Well, it's not.

For everyone: It's one thing to come in, answer a question, be helpful, make a suggestion about how something could be done better, but it's another to go into some elses thread tell them they are doing something completely wrong. We wouldn't find it right for ROM Dev A to go into ROM Dev B's thread and start telling him how B's ROM is all messed up and the changes are pointless, and his ROM is beautiful and perfect (especially when it's not). We ported this not by request but by choice as a favor and for Pharoh, a learning experience so he can start to learn, and I can take my attention off this once I get the final kinks worked out, which the only kink is teh format of /cache. And on that note, as I was dscussing with Pharaoh last night, I had been thinking the problem may have just been the origional format command from the G2x scrubber which was being used at taht time, until someone gave us some helpful advice in the midst of trying to get the G2x version fleshed-out and put into a usable state for public release.

@the guy who used the G2x version:

Luckily all you screwed up, or at least on a quick glance, was your recovery partition. You're damn lucky it wasn't your boot loader or something. The comand we use is a low-level operation, and when used incorrectly has bricked phones to an un-recoverable degree. I saw a few mentions of people overwriting their entire internal block with this, well just one of those but still with overwriting the wrong partition. I'll take a look at Pharaoh's script and see if something else is up, since, if all you deleted was your recovery image, it should boot.

http://xdaforums.com/showpost.php?p=23873563&postcount=3962
[LG Optimus 2x] da-pharoah:
ok well then OP updated. I have tested this 10 different times on my phone. I have the update-binary updated and everyhting should work just fine. But if for some reason you run into errors.. Which you shouldnt, please get that log posted in here or sent to me or Volk. But enjoy... :)
[LG Optimus 2x] vadonka:
the "journal_data_writeback" is for the ext4, but i told that comment out or delete this part. im not gave any wrong advice, just try to help, correct some typo, etc...

however since the ext4 driver in the android not using the data journaling then any disaster might be cause a data loss no matter that the journaling is enabled or not, but at least not have corrupted date. this is very rare by the way. i think you just miss something, but journal_data_writeback is not equal journaling :) this basically means that data may be written to the disk before the journal. the data consistency guarantees are the same as the ext3 file system.

im not trying to act like this in my work, just see that not work and try to help, but sorry if this was a problem. i really look like someone who needs the others topic? :)

the bootloader cant be harmed, only the recovery partition, but the low level flash mode is different from the bootloader and that is always work (volup+voldown+plug in to the usb without the battery, black screen)

its no way to broke the low level flash (only with a microwave :))

this script is working fine with an older CWM version, thats why i told that the update binary is a bit old, the newer cwm doesn't support the update binary < 1.2.5, plus the new touch cwm also not supported many update-binary, and also need a different command syntax on some case.

but there is exsist some similar wipe script, and this script first check that the phone is really a p990 before wipe anything. so if the user is noob and use the wipe script in g2x it wouldn't work, and dont mess up the phone partition.

this check can be done with a few steps: dumping the kernel, unpack the initrd and check the initrc parameter. it just need one extra binary the unpackbootimg, and a few other row in the script.

the best choice in that case using a simple shell script instead of the update-script, just call a wipe.sh script and write everything to this shell script. its a way easier, and dont need to bother the correct syntax or the update-binary version.

im not want to gave any holy advice but if someone publish such a mass erase tool, before that its need to 100% sure that is really work and dont cause any damage in the users phone.

check this thread

but it just a proposal :)
[LG Optimus 2x] Волк:
So, does this mean you're going to leave now? We don't want you here, infact your mistakes were waht was causing this to bug in the first place. My G2x version has been working flawlessly. You should change your name to Mr-know-it-all. That's how you're acting. Leave, now. if you continue to thread-jack I will call in a mod.
[LG Optimus 2x] vadonka:
i causing the bug? after the script dont work many times. i dont even post any comment just after that. so what is my mistake? you are funny :rolleyes:

i only advice that call the e2fsck after the mke2fs. you think this will be causing any bug? :eek:

and now you threaten me with a moderator?

dont need, im leaving... just i hope you know what you are doing...
[LG Optimus 2x] da-pharoah:
well I just have to say my 2 cents since I started this thread. This is my learning and experimenting process (for the o2x). I did lots of testing back and forth with Volt for a week everyday dang near. And when you go in and start changing peoples code and change up without explanation of any thing its like hours of learning and testing go out the window and people get offended. Your like digitally stepping on toes here. We have worked very hard to get this work. I personally have broken rules that I know for a fact I could get fired for at work just to extend my self to this o2x port and get this to work. I want this to work more then any of the awesome people who will see the benefit of The Nullifier. Not just mke2fs. G2x scrubber was the starting point that formatted everything. The Nullifier is the end point full of 0's and then formatted. Its the one-two punch. Your edits, although your intentions may have been good, took away our knock out punch. You basically un-nullified my script. So personally it doesn't bother me if you stay or go, I just want in this thread, as should be in all other threads, respect for the dev/op, be helpful, and be easy with people.. in the end were are all strangers anyway.. well not everyone on xda, but you get my point . I appreciate your intentions Vadonka, I really do. So thank you.

ok so with that thought written in the records forever unless mod take down or EOW mayan zombie apocalypse scenario...

Has anyone tried the 2.0 of my script???!!!! I am patiently awaiting go or no go???!!!!!?????
[LG Optimus 2x] ev!denz:
I've learned from this mistake^^

Finally my phone runs, but after the first LG logo before the second one I see two pinguins but anyway it works normally.

Give me a few seconds to try the new one :)

E:// it runs but now CWM isn't able to mount the cache, and flashing a ROM doesn't work really because after flashing the ROM there will be a bootloop within the LG Logos.

E2:// Ok it seems it was my fault in fact of downloading a corrupted ROM file. Now it works perfectly. But I can't tell if the two pinguins are still there because of my mistake with the g2x nullifier or if they will be there generally but in my opinion they won't be there.
[LG Optimus 2x] da-pharoah:
right on! well did you manuallly format cache btw?? I'm not too positive on how to get rid of the penguins for you.. I would assume that flashing a new ROM or kernel would take care of it.. But none the less will you get me the last_log file from /cache/recovery/ and send it to me.. I would like to review that. Hopefully it still has your process in there since your fixed your phone. And as well if it dont then it will (should really) have the log from the O2X passes... So can you hook me up with that whole file, unedited please and thank you. Im going to work on the getting the progress bar right today so ill be doing another 3-4 full nullifer trials to double check and make sure that the time frame for each individual pass is the same and if not then I'll set it to the average time based on my experiments and your log. So please send it my way. Thanks
[LG Optimus 2x] ev!denz:
I've flashed a lot of ROMs since the accident happend and there isn't any problem I think.

I'm sending you the log per pm :)

The cache was formated by your script! Manual format wasn't necessary.
[LG Optimus 2x] da-pharoah:
Sweet!! Well enjoy! I will be testing this more today.. gotta get that progress bar right.. lol

edit:

also that log you sent me had no info on the Nullifer. So if you flash the nullifier again be sure to send me that log please and thank you.
[LG Optimus 2x] ev!denz:
I won't forget it :)
[LG Optimus 2x] da-pharoah:
New 2.1 update!! check it out no more pesky /cache manual wiping!!
[LG Optimus 2x] :
When I format the system/data partition from CWM and mount those partitions and execute 'ls' on those mounts, I do not see any files. Writing 0s using dd will just attempt to ensure no one can recover data from those partitions. I still do not see how files can be left back in the filesystem after a format in such a way that they can interfere with a new flash. Writing 0s with dd is like safe disk erasure tools available before discarding a disk so that none can salvage data from it.
[LG Optimus 2x] da-pharoah:
Well first off unless u put holes in the storage devices or physically destroy it, the data is recoverable. The Nullifer process is basically a low level format. Where as just formatting in CWM its just like a quick format in windows.. yea the files are gone.. but not as gone as when nullified. The phone responds better by having a cleaner slate to install the rom.. If u have flashed tons of roms then give it a try and u tell me..
[LG Optimus 2x] Pascalone19:
Hi I'm just now testing the latest version seems to me the 2.1, I wanted to know if somehow you can decrease the time formatting :-)
[LG Optimus 2x] vadonka:
you know that right the nand storage have a limited write cycle?
[LG Optimus 2x] da-pharoah:
Yes actually.. I have somehow forgotten to include the /boot nullifying code so next release will be a couple changes including a one pass all around option versus the dual passes it does now. Which two passes was done to just be safe and make sure the first pass gets every bit.. but yes the one pass script will take half the time.. so stay tuned. Plus I'm going to update it for supporting the SU660 flavor as well.. Lol..

Yes I do. And my script takes 1 cycle everytime u run it. But also so does doing a format and flashing a new rom...however with flash based storage gaining much popularity in the last five years those cycles amount have been increasing.. so really, based in my research, that amount number is so high that running the nullifier won't affect you.. unless you run it all day everyday for like a year.. but anyway if your truely paranoid about your nand cycle life you shouldn't be flashing Roms to begin with.. this tool is to help those who ignore warranties and want there phone to do things it was never designed to do. So yea with positives comes negatives.. but based on what I know, this script will not hurt your life cycles anymore then flashing a new rom will... which brings me to my next questions, have u ran my script and what do u think of it?
[LG Optimus 2x] vadonka:
you using the dd command twice at every partition :)

i modifyed the dd command to something like this:

dd if=/dev/zero of=/dev/mmcblk0p2 bs=1024 count=1

this is erase only the partition table and the file allocation too, it take a much less time then wipe the all partition sector by sector, and commented out the second wipe row.

but its working, yes
[LG Optimus 2x] da-pharoah:
Ok yea my bad your right.. so it's 2 cycles per the dd's.. just woke up sorry still in my left mind. But n e way the p/e cycles are guaranteed to at least 100,000 and some others up to 1 million.. so its not going to kill it unless u run it all day everyday.. like when I was testing lol...

And idk about your editings.. one pass on on nand storage doesn't guarantee that the whole partition is zero'd out.. that's y the second DD is there... plus by doing my script it will be better at erasing the data by replacing with zeros, instead of '1's. remember this is a low level format process.. which takes time to complete because its so efficient at erasing the data.. if u want speed then just format don't nullify.. we wanted full low level erasing for android, and with this script we finally have it.
[LG Optimus 2x] vadonka:
my friend moto milestone nand flash was failed because of the too much rom flash, so it can be broken :)

but why need the whole partition zeroed out? i dont understand, it taking long time too. why dont enough just wipe the first 512byte what is contained the partition information?
[LG Optimus 2x] da-pharoah:
Yea well it can happen.. each device shipped from the factory even comes with bad blocks.. and that's done for 'cost and efficiency' so yea it happens.. but we are dd'n the whole partion to maintain a steady low level format. Not a selective one..
[LG Optimus 2x] DrummerMuppet:
Warning, noob question dead ahead:

So, how do I run this script? CWM > install zip from sdcard > then pick the nullifier script?
[LG Optimus 2x] da-pharoah:
Haha reads like a construction site... but yes exactly..
[LG Optimus 2x] DrummerMuppet:
That was the intention ^^

Thanks for replying! I'll give it a go later tonight.

By the way, I read on the G2X thread that it was necessary to flash the ROM immediatly after running the nullifier, turning off the device or resetting it would brick it. If this is true, I believe you should include this info in the OP.

Sent from a galaxy far, far away...
[LG Optimus 2x] da-pharoah:
No worries..
[LG Optimus 2x] da-pharoah:
So just in case anyone is curious been working on an update for this but have been distracted with beta testing for the hellfire kindle and hellfire phoenix... plus at work we had VIP's hanging out with us and scoping out the scene so have not been able to update from work... but fret not, today was their last day..yes!! so ill be testing on the morrow.. possibly updating.. hopefully we won't be busy at work and ill have some downtime to update this awesome tool...
[LG Optimus 2x] eyronic:
I'll be waiting for that update. Thanks in advance. :D
[LG Optimus 2x] da-pharoah:
OP updated for 2.2!!! :) now it should be time for :beer:
[LG Optimus 2x] eyronic:
They are interchanged. The single is supposed to be the dual and vice versa.
[LG Optimus 2x] da-pharoah:
hahaha just making sure your paying attention!!!! nah jk thanks forgot to uncomment the dual passes.. op links updated again...
[LG Optimus 2x] t0rosnaxx:
is this same as the SUPERWIPE Tool in Sensation?

correct me if im wrong cause im about to use this tool in my wife's phone. just to be sure so that im not going to brick her phone.

so the sequence should be,

1. Flash the zip

2. Don not Turn Off / Restart the phone

3. Flash the Rom

4. enjoy!

is this correct?
[LG Optimus 2x] da-pharoah:
Yes and no.. it does format /cache, /data, & /system so that's about the same.... but think of my script as a low level format in windows versus a quick format option, which is what that format script does... this script is made to clean 'under the rug' where as format just cleans and puts dirty data 'under the rug.' And yes make sure u have over 50% battery to be safe.. flash the single or dual script. Then flash your chosen rom.. reboot and enjoy.. (oh and needless to say always make a nanddroid backup before just in case...)
[LG Optimus 2x] deff_ins:
so reason for this is - if you have feeling there's something wrong with filesystem you use this to be sure teher is nothing left from previos rom/os etc. right?
[LG Optimus 2x] da-pharoah:
I would not venture to say that something is wrong with the filesystem. I would say that this was created as the g2xscrubber just wasnt sufficient enough for us.. its a quick format and we wanted better.
[LG Optimus 2x] deff_ins:
it is not for p990 right?
[LG Optimus 2x] Волк:
Lol, must have been a typo. Su660 have the same partition layout as p990, it's the G2x which has. /system on a different partition.
[LG Optimus 2x] da-pharoah:
Lol yea that's a typo.. its p990 & su660.. thanks.. I did that update at quiting time at work.. and had no typo reviews.. lol I'll change that here in a bit .
[LG Optimus 2x] deff_ins:
Ja tak i snal :D Thanks Volk!
[LG Optimus 2x] Odgaard:
Problem!!

I have a problem a have just used the Nullfier 2.2 Single pass, and with out turning the divice of, flashed update-cm-9.0.0-RC0-p990-KANG-34-signed.zip and gapps. But the phone is just getting til the second LG boot screen and then freezes. Any thing you can recommend except throwing the phone away. I´m still able to get ind to CWM, so should i just try flashing some other Rom?
[LG Optimus 2x] eyronic:
There is nothing wrong with it. I tried it a couple of times but I only flash gb roms.

Try manual wiping of cache and dalvik cache. If it's still stuck, redownload the rom, flash nullifier then flash rom and gapps.

I also had problems flashing ics before fyi. :D
[LG Optimus 2x] Odgaard:
Flashed CM7 instead and it's working ;-)

Thanks
[LG Optimus 2x] da-pharoah:
cool glad you got it sorted! I just saw this now..
[LG Optimus 2x] da-pharoah:
Happy Easter y'all!
[LG Optimus 2x] Волк:
+1

Happy Pagan fertility holiday!

>.>
[LG Optimus 2x] da-pharoah:
Lol
[AT&T Samsung Galaxy Note I717] jacksonj51:
Clear status bar mod for SAUROM Rom

Backup your current framework-res.apk & SystemUI.apk before flashing just in case.

Also included my Wallpaper apk which takes the hassle out of resizing... although it won't fix our NON-scrollable wallpaper issues. [Edit] Wallpaper scrolling is now fixed, thanks DAGr8 (see SAUROM Roms)

Clear status bar mod is a flashable zip thru CWM

&

Wallpaper app should install just like any other app...

*UPDATE: This mod only seems to be working for those running ADW Launcher.*