[Galaxy Note 10.1 Q&A, Help & Troubleshooting] tripijb:
Dear all,

it is time for me to pay back. I have found a lot of information and tips from this forum. However, when I bricked my device by erasing the efs folder (trying to install Linux on my N8013 Tablet) I only found partial fixes, like creating the directory FactoryApp and the file factorymode with ON inside it.

I have searched forums and forums and I could not find a comprehensive answer. I tinker and tinker with my device and at last I recovered the efs folder and it does not get wiped out on boot.

Before today, I had to boot my Tablet and create the FactoryApp and file factorymode with ON inside it to make my Tablet not showing the Factory Test have stopped and to show the lock screen. Now all is back to normal.

When in recovery mode CWM the efs would not mount!!

Thanks to too many people, I have been visiting so many sites I do not remember the names of all!!! Thank you all!!

Ok, this is the procedure it worked for me.

1.- Install CWM recovery in your rooted tablet.

2.- Install ADB in your pc to be able to communicate with the tablet via com window. Install busybox as well.

3.- google a nv_data.bin file if you find one. I found one. I could find the download link if someone ask for it.

4.- BOOT your Tablet in Recovery mode push both the power and the volume up button (the farthest to the power button). When the First letters appear, release the power button, not the volume up until entering in recovery mode.

5.- Go to your PC, connect the USB cable to your tablet and go to C:\Program Files\Android\android-sdk\platform-tools>

6.- Type adb shell and hit return

7.- if you see # good, you have access to your tablet. Do not type su because does not work. You are root (I assume).

8.- type busybox df -h and check you do not have the efs mounted. In fact it does not even appear.

9.- Try to mount mmcblk0p3 (mount -w -t ext4 /dev/block/mmcblk0p3 /efs ) YES 0p3. I have found a lot of forums saying it is 0p1 but not in the Galaxy Note N8013. I tried with the 0p1 and did not work.

10.- Of course did not mount!!! That is the error. So we have to....

11.- Now try to make that partition, by typing mke2fs /dev/block/mmcblk0p3

12.- Now try to mount it again by typing mount -w -t ext4 /dev/block/mmcblk0p3 /efs It worked!!

13.- Now you have to keep the downloaded nv_data.bin file in the root of your sdcard, and a text file named factorymode with the letters ON inside.

14.- do busybox ls -ltr and you will see there is a folder called sdcard -> /data/media

15.- create a folder inside the /efs/ folder named FactoryApp

16.- Copy the factorymode from the root of your sdcard to the /efs/FactoryApp folder by typing: busybox cp /data/media/factorymode /efs/FactoryApp

17.- Copy the nv_data.bin from your sdcard to your efs folder by typing: busybox cp /data/media/nv_data.bin /efs

18.- Now change permissions to all those files inside efs with 0744 by typing: busybox chmod 0744 /efs/FactoryApp/factorymode

Do it with all!!

19.- Now change owner of the directory efs down with: busybox chown 1001.1001 /efs (I think there is a switch to change all at once, but I forgot so I changed all directories and folders inside efs.

11.- in CWM go to advanced and fix permissions.

12.- Boot in recovery mode.

13.- Try to mount efs partition and it works!!! Check with ADB that all your files are there and a lot more.

14.- Reboot the Tablet and the efs is there for good.

15.- Install in your computer EFS Pro and do a backup ofthe efs folder.

16.- I am sure the IMEI is not the good one, but the N8013 is not used as a phone anyway.

Please be careful and backup all the partitions of your tablet before doing this. It worked for my N8013 but I do not know if it will brick yours or if you have another model.

Thanks to:

XDA forum

arizzle.com even I did not use his efs image, but I used the instructions he provided. http://www.arizzle.com/android/gt-n8013/

SPT Team: http://forum.gsmhosting.com/vbb/archive/t-1296409.html

Da-G XDA forum: http://xdaforums.com/showthread.php?t=882039

alvhergon at: http://www.htcmania.com/showthread.php?t=177297

People at community hosting: http://www.communityhosting.net/sgsunlock/i9000.html

Of course EFS Pro, ADB, busybox, ODIN, CWM Recovery developers!!

I hope this serve for somebody with my same problem. I gather all that information, put it together in this post and fixed my two months old tablet!!! Now I can go back to install Ubuntu again ;)

Thanks for reading up to here!!