Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,443 Members 39,275 Now Online
XDA Developers Android and Mobile Development Forum

ODIN Nand Erase All

Tip us?
 
moin786
Old
(Last edited by moin786; 17th July 2014 at 05:27 PM.)
#1  
Senior Member - OP
Thanks Meter 17
Posts: 174
Join Date: Sep 2009
Location: Hyderabad
Default ODIN Nand Erase All

What does this option do if i select it and use ODIN???
Will this Erase my phone content along with internal memory???
My Verizon Note 3 is Sim unlocked...so will this option lock my device???
(Updated: Actually all Verizon Note 3 are Sim Unlocked, so no worries there)


EDIT:

Well i finally did it...Thanks to our XDA member @mirek190 for clarifying the use of those options and guiding me through the steps...All credit goes to him...

He explains:
Quote:
Pit file setup partitions - very useful if you broke some partition...Nand Erase All clean all partitions including internal sdcard before installing rom...EFS ( block 11 ) on note 3 doesn't contain IMEI ( all devices on snapdragon ).
IMEI is on block 12 and 13. If you clean efs, the partition will be rebuild from block 12.
So you can check the options Re-partition, Nand Erase All and also Phone EFS Clear to do clean Wipe...and make sure you have the PIT file of the respective device and STOCK ROM.
I successfully did Clean Wipe and Erased User Data Partition on my Note 3 using Nand Erase All , Re-partition & Phone EFS Clear in ODIN 3.09...using Pit file and Stock ROM.

Note: I never had any problems in my Note 3 but i just wanted to a perform a clean Wipe of my Note 3

First we need ODIN latest version 3.09...

ODIN 3.09 : http://d-h.st/cEk

Then we need a pit file to put in PIT button in ODIN...

Pit file for Verizon Note 3 32 GB : http://www.androidfilehost.com/?fid=23159073880936457

Pit file Thread: http://forum.xda-developers.com/show....php?t=2484064

Then we need a STOCK ROM to put in AP button in ODIN...
(Note: Please make sure that the Stock ROM which u use to flash in ODIN is the same as the current bootloader in your device or newer.If you are on MJE bootloader then u can use MJE or NC4 Stock ROM and if you are already on NC4 bootloader then you can use only the NC4 Stock ROM or any newer Stock ROM than NC4 but cant use the older MJE Stock ROM.)

Stock ROMs Collection: http://forum.xda-developers.com/show....php?t=2524572

Thanks to @BeansTown106 for the Pit file & Stock ROMs...

Then put the device in Download Mode and connect it to PC...Check the status in ODIN after connecting...

Then select the options Auto Reboot, F.Reset Time, Nand Erase All, Re-partition & Phone EFS Clear in ODIN...
Put Pit file in PIT button and Stock ROM in AP button...



Make sure all settings in ODIN looks the same like in above image...ID:COM should show the device connection status...

Then click on start and let ODIN do the magic...you can also see the status "Erasing User Data Partition" in your phone in download mode...

After the Process completes the device Auto reboots and do not unplug the device until the status in ODIN is Pass...

(Note: If you are using 4.4.2 NC4 Kitkat Stock ROM in ODIN, then when the device auto reboots after flashing it doesnt initialise ever and gets stuck on the Verizon Logo, this is happening only with Kitkat firmware...So when ODIN Auto reboots the device after flashing we have to wait till the status is Pass and Exit option is highlighted in ODIN, then Unplug the device, remove the battery, Power on the device, go into recovery mode, perform Factory Reset Data, Wipe Cache Partition and reboot it.)

After first boot of the ROM, go into Stock Recovery mode and "Wipe Factory Reset/Data and Wipe Cache Partition" (Must step)

Now your Note 3 is Clean Wiped and installed with fresh STOCK ROM...

My Knox is also not tripped 0x0 and my sim is also Unlocked as before...

PS: So i think it is useful to do a Clean Wipe (Re-partition, Nand Erase All, Phone EFS Clear) only when

1) Your Partition is broken.
2) Your device is soft bricked.
3) You want to sell your phone.
4) Upgrading the firmware or bootloader (Like MI9 to MJ7, MJ7 to MJE or MJE to NC4)
5) Once in a while because of flashing Stock/Custom ROMS many times using ODIN or Safestrap...

And don't do clean wipe often because erasing the Nand often will degrade its quality...

Thanks for the help brothers...
The Following 3 Users Say Thank You to moin786 For This Useful Post: [ Click to Expand ]
 
Misterxtc
Old
#2  
Misterxtc's Avatar
Senior Member
Thanks Meter 662
Posts: 752
Join Date: Dec 2013
Location: Upstate NY
Quote:
Originally Posted by moin786 View Post
What does this option do if i select it and use ODIN???
Will this Erase my phone content along with internal memory???
My verizon device is Sim unlocked...so will this option lock my device???
I found this if it helps http://forum.xda-developers.com/show...1747066&page=4 there is some good info in the last few posts.
The Following User Says Thank You to Misterxtc For This Useful Post: [ Click to Expand ]
 
moin786
Old
#3  
Senior Member - OP
Thanks Meter 17
Posts: 174
Join Date: Sep 2009
Location: Hyderabad
Quote:
Originally Posted by Misterxtc View Post
I found this if it helps http://forum.xda-developers.com/show...1747066&page=4 there is some good info in the last few posts.
Can i use this option and flash my device???
Will it work on Locked Bootloader???
 
moin786
Old
(Last edited by moin786; 20th June 2014 at 03:37 PM.)
#4  
Senior Member - OP
Thanks Meter 17
Posts: 174
Join Date: Sep 2009
Location: Hyderabad
Default Clean Wipe & Erasing Userdata Partition in Note 3

Well i finally did it...Thanks to our XDA member @mirek190 for clarifying the use of those options and guiding me through the steps...All credit goes to him...

He explains:
Quote:
Pit file setup partitions - very useful if you broke some partition...Nand Erase All clean all partitions including internal sdcard before installing rom...EFS ( block 11 ) on note 3 doesn't contain IMEI ( all devices on snapdragon ).
IMEI is on block 12 and 13. If you clean efs, the partition will be rebuild from block 12.
So you can check the options Re-partition, Nand Erase All and also Phone EFS Clear to do clean Wipe...and make sure you have the PIT file of the respective device and STOCK ROM.
I successfully did Clean Wipe and Erased User Data Partition on my Note 3 using Nand Erase All , Re-partition & Phone EFS Clear in ODIN 3.09...using Pit file and Stock ROM.

Note: I never had any problems in my Note 3 but i just wanted to a perform a clean Wipe of my Note 3

First we need ODIN latest version 3.09...

ODIN 3.09 : http://d-h.st/cEk

Then we need a pit file to put in PIT button in ODIN...

Pit file for Verizon Note 3 32 GB : http://www.androidfilehost.com/?fid=23159073880936457

Pit file Thread: http://forum.xda-developers.com/show....php?t=2484064

Then we need a STOCK ROM to put in AP button in ODIN...
(Note: Please make sure that the Stock ROM which u use to flash in ODIN is the same as the current bootloader in your device or newer.If you are on MJE bootloader then u can use MJE or NC4 Stock ROM and if you are already on NC4 bootloader then you can use only the NC4 Stock ROM or any newer Stock ROM than NC4 but cant use the older MJE Stock ROM.)

Stock ROMs Collection: http://forum.xda-developers.com/show....php?t=2524572

Thanks to @BeansTown106 for the Pit file & Stock ROMs...

Then put the device in Download Mode and connect it to PC...Check the status in ODIN after connecting...

Then select the options Auto Reboot, F.Reset Time, Nand Erase All, Re-partition & Phone EFS Clear in ODIN...
Put Pit file in PIT button and Stock ROM in AP button...



Make sure all settings in ODIN looks the same like in above image...ID:COM should show the device connection status...

Then click on start and let ODIN do the magic...you can also see the status "Erasing User Data Partition" in your phone in download mode...

After the Process completes the device Auto reboots and do not unplug the device until the status in ODIN is Pass...

(Note: If you are using 4.4.2 Kitkat Stock ROM in ODIN, then when the device auto reboots after flashing it doesnt initialise ever and gets stuck on the Verizon Logo, this is happening only with Kitkat firmware...So when ODIN Auto reboots the device after flashing we have to wait till the status is Pass and Exit option is highlighted in ODIN, then Unplug the device, remove the battery, Power on the device, go into recovery mode, perform Factory Reset Data, Wipe Cache Partition and reboot it.)

After first boot of the ROM, go into Stock Recovery mode and "Wipe Factory Reset/Data and Wipe Cache Partition" (Must step)

Now your Note 3 is Clean Wiped and installed with fresh STOCK ROM...

My Knox is also not tripped 0x0 and my sim is also Unlocked as before...

PS: So i think it is useful to do a Clean Wipe (Re-partition, Nand Erase All, Phone EFS Clear) only when

1) Your Partition is broken.
2) Your device is soft bricked.
3) You want to sell your phone.
4) Upgrading the firmware or bootloader (Like MI9 to MJ7, MJ7 to MJE or MJE to NC4)
5) Once in a while because of flashing Stock/Custom ROMS many times using ODIN or Safestrap...

And don't do clean wipe often because erasing the Nand often will degrade its quality...

Thanks for the help brothers...
The Following 4 Users Say Thank You to moin786 For This Useful Post: [ Click to Expand ]
 
Misterxtc
Old
#5  
Misterxtc's Avatar
Senior Member
Thanks Meter 662
Posts: 752
Join Date: Dec 2013
Location: Upstate NY
Thanks for sharing the info with the Nand. From the looks of the thread I linked to you it looked like a No No but your findings tell different. I tried it too to verify and it works well with no bad effects.
The Following User Says Thank You to Misterxtc For This Useful Post: [ Click to Expand ]
 
carlz28
Old
#6  
Member
Thanks Meter 33
Posts: 92
Join Date: Apr 2010
So this does a REAL full wipe?
I ask because I've ODIN'd many times already for various reasons and afterwards, even doing a factory reset, there were still some leftover files in the /root folders. Specifically the efs folder where I had made .bak files from mods.
Selling my phone soon and want to make sure it is TRULY 100% stock.
 
az_biker
Old
#7  
az_biker's Avatar
Recognized Contributor
Thanks Meter 2158
Posts: 1,859
Join Date: Jun 2012
Location: SW AZ - USA

 
DONATE TO ME
Since we're talking PIT files and Odin, I am curious:

I have flashed MJE tar in Odin and never used a PIT file (PIT box remained unchecked and no file was loaded at any time during Odin)..

My question is: if the PIT file configures partitions, and I didn't use the PIT file, SHOULD I be having issues with my int sdcard because I am not having ANY issues with it...

If I am supposed to use PIT file and didn't, should I be expecting issues down the road?

I kinda understood that the PIT was only needed to CHANGE standard configuration of partitions...

A little PIT file / partition schooling would be great so I know one way or the other for future Odin use... THANKS!
 
bftb0
Old
#8  
Senior Member
Thanks Meter 794
Posts: 2,120
Join Date: Feb 2010
Quote:
Originally Posted by moin786 View Post
Well i finally did it...Thanks to our XDA member "mirek190" for clarifying the use of those options and guiding me through the steps...All credit goes to him...
As long as you are giving credit, how about including a URL to his post(s) that you used?

(If @mirek190 helped you via PM or off of XDA, then please disregard this inquiry.)


Quote:
Originally Posted by carlz28 View Post
So this does a REAL full wipe?
I ask because I've ODIN'd many times already for various reasons and afterwards, even doing a factory reset, there were still some leftover files in the /root folders. Specifically the efs folder where I had made .bak files from mods.
Selling my phone soon and want to make sure it is TRULY 100% stock.
Someone would probably have to look at slack space at the end of partitions to determine that; reason being is that we don't have a good way to boot the device in a "blank" state, but only after a bunch of stuff has already been re-written by Odin. (On other Android devices with unlocked bootloaders, it is easy: you just soft-boot a recovery using fastboot, and then talk to the in-memory-only recovery using ADB to do raw dumps of the various partitions).

If you could write something into a partition (e.g. dd seek=...) SAFELY skipping over important stuff at the front end, you could look for it after an Odin install. (Maybe the PAD or FOTA partitions would be a safe place to do this).

It might just re-partition only. Or, in the case of ext4 filesystem formatting, only the space used by the filesystem overhead (journal, superblocks, inode tables,etc) gets re-written and "trash" with your old data can still exist in unallocated space. (Seems like flash memory wear-leveling should make complete erasure desirable - but with a penalty of an annoying delay).

Any clues from the Odin erase times? The fastest I've been able to *read* from the N3's memory is about 110 MB/sec, and I would think erasures would take longer - at that kind of speed a full erase of 32 GB would take nearly 5 minutes just to perform the erase.

The EFS thing you mention is a little odd - unless you were flashing an Odin tarball file without an image file corresponding to the EFS partition, and the partitioning by the PIT stayed identical. In that case, /data would be wiped (or maybe more precisely the /data partition would have it's ext4 filesystem re-built), but since the /efs is a mount (ext4, rw) of a separate partition, it could survive with those conditions.
"I'm gonna start coding placebo apps. That way I will be sure that the complaints are real and the praises hollow."
The Following User Says Thank You to bftb0 For This Useful Post: [ Click to Expand ]
 
moin786
Old
(Last edited by moin786; 18th January 2014 at 10:15 AM.)
#9  
Senior Member - OP
Thanks Meter 17
Posts: 174
Join Date: Sep 2009
Location: Hyderabad
Quote:
Originally Posted by Misterxtc View Post
Thanks for sharing the info with the Nand. From the looks of the thread I linked to you it looked like a No No but your findings tell different. I tried it too to verify and it works well with no bad effects.
I am glad that this post helped u too...actually in the beginning i was also scared to use all those options, but after reading whole forum and asking developers and an experienced guy who actually did this...i can confirm that it is the best way to Clean Wipe and Erase User data partition of our Note 3...because other methods such as Wipe Factory Reset fail to do so...

Cheers!!!
 
moin786
Old
(Last edited by moin786; 18th January 2014 at 01:50 PM.)
#10  
Senior Member - OP
Thanks Meter 17
Posts: 174
Join Date: Sep 2009
Location: Hyderabad
Quote:
Originally Posted by carlz28 View Post
So this does a REAL full wipe?
I ask because I've ODIN'd many times already for various reasons and afterwards, even doing a factory reset, there were still some leftover files in the /root folders. Specifically the efs folder where I had made .bak files from mods.
Selling my phone soon and want to make sure it is TRULY 100% stock.
Yes brother it really does Full Clean Wipe...If u want to sell your phone...this is the best way to bring it to 100% Stock...

@mirek190 is an experienced developer and has personally did it on his Note 3 many times, he explained me about it
Quote:
Pit file setup partitions - very useful if you broke some partition...Nand Erase All clean all partitions including internal sdcard before installing rom...EFS ( block 11 ) on note 3 doesn't contain IMEI ( all devices on snapdragon ).
IMEI is on block 12 and 13. If you clean efs, the partition will be rebuild from block 12.
So you can check the options Re-partition, Nand Erase All and also Phone EFS Clear to do clean Wipe...and make sure you have the PIT file of the respective device and STOCK ROM.
Don't be afraid...you wont face any problems...just do it...and share your experience...

Cheers!!!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes