• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Stuck in Factory Mode?

kjtopher

Newbie
edit


My phone was recently stuck in factory mode for a few days. With the help of LordVincent, we managed to fix the issue. I ended up copying my wife's /efs directory. It wouldn't allow me to paste it until I deleted my efs directory. I just pasted hers into the location that I deleted mine from. This link was a help but not how it ended up working for me. I also wiped cache and davlik cache from recovery.

See this link

efs problems and solutions - Post #4512 - XDA
 
OK, download this app

http://play.google.com/store/apps/details?id=jackpal.androidterm

Open it and type these commands (press enter after each line )
Code:
su

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

Then reboot and all should be well again
 
thanks for your help but it gives me no such file or directory error. directory somehow must have gotten deleted
 
No, the directory doesn't exist. This occurred right after installing the O.D. rom. So after going back to stock this its the result.
 
Screenshot_2014-07-02-23-07-23_zps8morm6la.png

(Screen shot is from my gf's rush :) )

Those files are present on the device.

Reflashing the stock rom only replaces /system not /efs

You can check to see if they are on the device with a root file explorer
 
Code:
rm /efs/factoryapp/keystr
Is NOT the same command as
Code:
rm /efs/FactoryApp/keystr
 
I have looked with root explorer at that directory and it does not have some of the files that you list. I also copied and pasted the exact command from your post into terminal emulator. I have had this phone for over a year and have tried multiple roms on it before but never this issue. I have always been able to fix issues in the past but find no way to get around this one. If I were to make a .tar file of the folder from my wife's phone (she has the same one) could I just use odin to flash it?
 
Making Odin flashable files isn't something I'm familiar with, but in theory it should work. I wonder exactly how the files were deleted.:confused:

If it's only the files in /FactoryApp you could just try copying them from your wife's phone to yours
 
I tried that along using root explorer without success. I also used TRWP to see if I could move the files and that fails as well. Is there a root explorer that you recommend?
 
Yes. Go to your first post, select edit and you will see the title at the top. You can then edit it yourself
 
I just noticed you were able to fix the problem? That's awesome news!

As for the screen shots, i simply upload them to photobucket and share the link here inside tags

Like this
[IMG]http://i1087.photobucket.com/albums/j468/Lordvincent90/Screenshot_2014-07-04-11-05-55_zpspbzoz2m6.png
 
Back
Top Bottom