
"Factory Mode" is enabled if the EFS partition of the fault device. Sometimes, if you have successfully fixed EFS partitions, you get "factory mode" again. If you see a black box containing some information about the device (PDA, CSC, H / W, TSP, TSK ...) with yellow characters ... means that you are in Factory mode.
To get rid of this mode we need ROOT machine (How to root your Google machine offline: D)
GUIDE:
B2: Open " Root Explorer " and navigate to the directory under the path: efs / FactoryApp /

B3: Open file " factorymode " with " Text Editor " option.

B4: Change parameter from OFF to ON

B5: Save and reboot
IF THE RESURRECTION STILL STILL IS COMPLETELY, THEN FOLLOW THESE BELOW:
B2: Open "Terminal Emulator" and type:
history
B3: Then type each following command (one line per line, after each line press ENTER)
Rm / efs / FactoryApp / keystr Rm / efs / FactoryApp / factorymode Echo -n ON >> / efs / FactoryApp / keystr Echo -n ON >> / efs / FactoryApp / factorymode Chown 1000.1000 / efs / FactoryApp / keystr Chown 1000.1000 / efs / FactoryApp / factorymode Chmod 0744 / efs / FactoryApp / keystr Chmod 0744 / efs / FactoryApp / factorymode Reboot
Then restart the machine is okay 
IF YOU STILL DO NOT HAVE OR DO NOT DO THAT THE FOLLOWING:
- On the phone on Developer Options , enable USB Debugging and connect to the computer
- Unzip the downloaded file, run the .bat file and wait for it to finish, restart the computer is OK
Categories:
Samsung