After the problem with imei ,Now there's the problem with yellow text on screen..not working lockscreen no extendend menu on power button,it's shutdonw when I hold,I tried to go back on stock...not working..I try many code in SU...not work..i try many things but nothing work..I can fix this or is "forever" ?
this apears on samsung based roms..
" 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
reboot
"
and not working..
From terminal emulator
su
echo -n ON > /efs/FactoryApp/factorymode
Sent from my GT-I9300 using Tapatalk 4
rootSU said:
From terminal emulator
su
echo -n ON > /efs/FactoryApp/factorymode
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
I tried..not working...yellow text keep apears...sorry for my english
Run this
su
efs/FactoryApp/factorymode
...in terminal and show me screenshot
Sent from my GT-I9300 using Tapatalk 4
I'm also with this problem on mine. A help from a more experienced user would be appreciated. Still have the wrong IMEI issue. Can someone help?
Please don't hijack this thread with a different issue
If you have a problem with your imei and you cant find an answer in one of the many imei threads created each day, post a thread with specific details of your issue... how you got there, firmware involved, what you've tried
Sent from my GT-I9300 using Tapatalk 4
rootSU said:
Run this
su
efs/FactoryApp/factorymode
...in terminal and show me screenshot
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
Network -> yes
IMEI -> yes
Serial number -> yes
lockscreen -> no
after rom flash no "tour" (setup google account,setup name etc)
extended power menu -> no
yellow text on screen -> yes
cosmy032 said:
Network -> yes
IMEI -> yes
Serial number -> yes
lockscreen -> no
after rom flash no "tour" (setup google account,setup name etc)
extended power menu -> no
yellow text on screen -> yes
Click to expand...
Click to collapse
Thanks. The screenshot you uploaded with the terminal shows what I would expect for a correct factorymode setting.
I take it you have no efs backup?
I think all you can do is wipe and return to stock to see if you can get it repaired. Maybe return to stock fixes it (although unlikely)
rootSU said:
Thanks. The screenshot you uploaded with the terminal shows what I would expect for a correct factorymode setting.
I take it you have no efs backup?
I think all you can do is wipe and return to stock to see if you can get it repaired. Maybe return to stock fixes it (although unlikely)
Click to expand...
Click to collapse
I have some efs backup,I tried to wipe..to flash stock with odin..but it's same..
I tried flash with odin ->
I9300XXUFME3_I9300OJKFME1_HOME.tar
I9300BVALE4_I9300OROALE4_I9300BVLE4_HOME.tar
I9300XXEMD3_I9300OJVEMC1_I9300XXEMA5_HOME.tar
KIES_HOME_I9300XXEMG4_I9300OXAEMG4_1314436_REV00_user_low_ship.tar
I9300XXEMC2_I9300OXFEMC1_I9300XXEMC2_HOME.tar
but none worked....I don't have any ideas...how to fix..
if restoring the backup also failed, all you can do is send it in I think. Or keep googling hoping someone else finds a fix. Sorry
rootSU said:
if restoring the backup also failed, all you can do is send it in I think. Or keep googling hoping someone else finds a fix. Sorry
Click to expand...
Click to collapse
I restored backup succesful but backup repair imei,serial number and network yellow text and lockscreen no..
cosmy032 said:
I restored backup succesful but backup repair imei,serial number and network yellow text and lockscreen no..
Click to expand...
Click to collapse
Service centre next .
jje
JJEgan said:
Service centre next .
jje
Click to expand...
Click to collapse
If after the command:
echo -n ON > /efs/FactoryApp/factorymode
you get this message:
can't create /efs/FactoryApp/factorymode No such file or directory
then your EFS is missing (got wiped out somehow), and it cannot be recreated by simply flashing a stock firmware or by factory reset.
I had the same problem, so I read the EFS partition from an identical working phone via
dd if=/dev/block/platform/msm_sdcc.1/by-name/efs of=/sdcard/efs.img.ext4
adb pull /sdcard/efs.img.ext4
TAR-ed it, then flashed it via Odin and now everything works fine.
@billa And how is life as someone other's clon?
@cosmy032 You could restore your IMEI, right? What's your modem now?
rp158 said:
@billa And how is life as someone other's clon?
@cosmy032 You could restore your IMEI, right? What's your modem now?
Click to expand...
Click to collapse
The EFS no longer contains the imei, so you can safely write someone else's. If yours is corrupted that's a whole different thread.
billa said:
The EFS no longer contains the imei, so you can safely write someone else's. If yours is corrupted that's a whole different thread.
Click to expand...
Click to collapse
No..I buy a Nexus 5 and now i'm tinking it was a good choice
Related
Hi Guys , sorry for my bad english i'm European.
I dont know why but on my SGS II i9100 on every ICS rom , Samsung or Unofficial i get no lock screen or power off menu. The only fix i attempted is Permissions Fix from CWM but lockscreen is still missing.
Any fixing methods?
Hi,
just want to make sure, you happened to choose "No scree lock" for Screen security?
Settings>Security>Screen lock
kkipsy said:
Hi Guys , sorry for my bad english i'm European.
Click to expand...
Click to collapse
That would be a terrible excuse if you were from the UK
Anyway, have you wiped data and caches?
re
hehe ^^
does not matter what i chose from settings , no lock , slide , pattern or pin. screen lock simply does not work.. and when i press the power button ( lock button ) for 2 seconds the phone shuts down , without the power off confirmation. pretty annoing.
Yes xethor , i did. Steps i did : permission fix from CWM , data / cache delete , factory reset.. still nothing
i dont think it's beacause of the custom ROM , i get no lockscreen in oficial sammy rom or any ICS rom.
Pretty sure this is the 3rd fail thread on this in as many days. Why you guys make new threads every time instead of using dedicated threads is beyond me.
Anyway, see posts in other threads.
Odia said:
# echo -n ON > /efs/imei/keystr
# reboot
Click to expand...
Click to collapse
oinkylicious said:
There's plenty of other information in the threads dealing with these ROMs too. If only people would ask/read there, rather than making new threads for every issue they encounter.
(potential original source in T989 forums http://forum.xda-developers.com/showthread.php?t=1438451)
Click to expand...
Click to collapse
re
# echo -n ON > /efs/imei/keystr
# reboot
i'm a noob in this kind of stuff... i dont know how to operate those commands.
ew
please , can someone redirect me to a thread where those commands are explained , how i run those commands on a rooted ICS sgs2?
hmmm , my first quess , is that i must use some app to navigate to efs/imei , and edit keystr file ... i will try that! also make a backup of EFS folder!!
kkipsy said:
please , can someone redirect me to a thread where those commands are explained , how i run those commands on a rooted ICS sgs2?
Click to expand...
Click to collapse
- Download "Terminal Emulator" app from market
- open it
- type into the command shell you just got:
Code:
su
echo -n ON > /efs/imei/keystr
sync
reboot
re
thank you HellcatDroid and oinkylicious ! problem solved !
my problem solved to!!!! thank you man !!!
thanks!!! it's help me also!
don't wanna be the scrub, but my lock screen is still gone. restored all of my efs backups and it's still not back any other thoughts?
EDIT: after a bit of derp on my part, I realized that the EFS folder wasn't keeping my changes despite all the attempts to restore the keystr file. In order to fix this, I had to set all permissions to 777, then reset the keystr file to ON. Once I had my lockscreen and boot menu back I just rebooted into CWM and proceeded to fix permissions.
in short, if the editing doesn't work:
1) Change permissions of the EFS and IMEI folder to 777
2) edit the keystr file
3) fix permissions in CWM
And how did I set efs and imei permission. Plz?
It fixed mine too!!! however the IMEI still starts with 00... I know thats not right since samsungs imei starts with 3 soemthing. please help how i can restore my original imei
thanks
Hey guys, I had lost my IMEI today.
I was lucky to find an auto-backed up .tar.gz file of my EFS folder.
Restored that folder and my IMEI is back and calls and everything is working.
Problem? I'm stuck in a permanent factory mode.
There's no lock screen, power menu directly reboots phone and there's a frustrating yellow overlay of my phone information. These things just won't go away whatsoever. Tried ODIN and a lot of methods on the internet.
Tried these via terminal emulator:
Code:
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
and tried to do these via root explorer apps also.
Please help I need to bring my phone back to life.
Edit: How I fixed it:
Not sure if step 1 is needed but this is how I did it. (I've used X-plore File Manager for all the file operations)
1.Change permission of every file and folder in /efs folder to 777. Reboot.
2.Delete the folder /efs/FactoryApp (NOT ENTIRE EFS FOLDER).
3.Wipe data/Factory Reset. (/efs/FactoryApp will get regenerated here)
4.Open /efs/FactoryApp/keystr file and change its contents to ON.
5.Open /efs/FactoryApp/factorymode file and change its contents to ON.
6. Reboot and your problem should be fixed now.
Are you doing it as root "su"?
What errors?
Sent from my GT-I9300 using Tapatalk 4
lmali92 said:
Hey guys, I had lost my IMEI today.
I was lucky to find an auto-backed up .tar.gz file of my EFS folder.
Restored that folder and my IMEI is back and calls and everything is working.
Problem? I'm stuck in a permanent factory mode.
There's no lock screen, power menu directly reboots phone and there's a frustrating yellow overlay of my phone information. These things just won't go away whatsoever. Tried ODIN and a lot of methods on the internet.
and tried to do these via root explorer apps also.
Please help I need to bring my phone back to life.
Click to expand...
Click to collapse
try this
https://docs.google.com/file/d/0B-9sw7RUYVLTQW5sSzR1aXJUams/edit?usp=sharing
install apk and open
method number 2 -go to efs/factory app/factorymode and open with file texteditor with root permission if is OFF you change in ON and save changes
but with apk is very easyer
rootSU said:
Are you doing it as root "su"?
What errors?
Click to expand...
Click to collapse
Hey, yes I'm doing it with su and there are no errors. I reboot after everything and it still stays the same.
Sent from my GT-I9100 using xda app-developers app
nik60 said:
try this
https://docs.google.com/file/d/0B-9sw7RUYVLTQW5sSzR1aXJUams/edit?usp=sharing
install apk and open
method number 2 -go to efs/factory app/factorymode and open with file texteditor with root permission if is OFF you change in ON and save changes
but with apk is very easyer
Click to expand...
Click to collapse
Hey I've tried method no. 2
I'll try that apk now and get back, thanks
Sent from my GT-I9100 using xda app-developers app
nik60 said:
try this
https://docs.google.com/file/d/0B-9sw7RUYVLTQW5sSzR1aXJUams/edit?usp=sharing
install apk and open
method number 2 -go to efs/factory app/factorymode and open with file texteditor with root permission if is OFF you change in ON and save changes
but with apk is very easyer
Click to expand...
Click to collapse
Tried the apk. Negative
No errors but still unsuccessful.
Sent from my GT-I9100 using xda app-developers app
If you look at the 4th command in post 1, if you browse to and open that file, does it say "on" in it?
Sent from my GT-I9300 using Tapatalk 4
rootSU said:
If you look at the 4th command in post 1, if you browse to and open that file, does it say "on" in it?
Click to expand...
Click to collapse
Yes I've checked both factorymode and keystr file, both are on. And I've also made sure their permissions are 744
Im using x-plore file manager.
Sent from my GT-I9100 using xda app-developers app
lmali92 said:
Yes I've checked both factorymode and keystr file, both are on. And I've also made sure their permissions are 744
Im using x-plore file manager.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
What permissions does the whole efs have?
wangdaning said:
What permissions does the whole efs have?
Click to expand...
Click to collapse
It's 771. What should it be?
Sent from my GT-I9100 using xda app-developers app
Logcat
OK I tried to logcat it and these are just a few of the unhealthy statements(A lot were repetitions I guess).
Code:
E/KeyguardViewMediator( 2258): cannot open file : /efs/FactoryApp/factorymode
E/FlashBarService( 2596): cannot open file : /efs/FactoryApp/factorymode
D/ActivityManager( 2258): cannot open file : /efs/FactoryApp/factorymode
W/System.err( 2832): java.io.FileNotFoundException: /efs/FactoryApp/factorymode: open failed: EACCES (Permission denied)
D/SetupWizardSkipReceiver( 3403): cannot open file : /efs/FactoryApp/factorymode
W/FactoryTestApp( 3403): WARNNING: java.io.FileNotFoundException: /efs/FactoryApp/hw_ver: open failed: EACCES (Permission denied)
E/FactoryTestApp( 3403): [Class] Support , [Method] setPermission , [Message] File not found : /efs/FactoryApp/hw_ver
W/FactoryTestApp( 3403): WARNNING: java.io.FileNotFoundException: /efs/FactoryApp/serial_no: open failed: EACCES (Permission denied)
E/FactoryTestApp( 3403): [Class] Support , [Method] setPermission , [Message] File not found : /efs/FactoryApp/serial_no
I know almost all of these are pointing towards permission problems but I don't know why they're occurring. I've set all the permissions according to all the suggestions I could find here on xda.
lmali92 said:
OK I tried to logcat it and these are just a few of the unhealthy statements(A lot were repetitions I guess).
Code:
E/KeyguardViewMediator( 2258): cannot open file : /efs/FactoryApp/factorymode
E/FlashBarService( 2596): cannot open file : /efs/FactoryApp/factorymode
D/ActivityManager( 2258): cannot open file : /efs/FactoryApp/factorymode
W/System.err( 2832): java.io.FileNotFoundException: /efs/FactoryApp/factorymode: open failed: EACCES (Permission denied)
D/SetupWizardSkipReceiver( 3403): cannot open file : /efs/FactoryApp/factorymode
W/FactoryTestApp( 3403): WARNNING: java.io.FileNotFoundException: /efs/FactoryApp/hw_ver: open failed: EACCES (Permission denied)
E/FactoryTestApp( 3403): [Class] Support , [Method] setPermission , [Message] File not found : /efs/FactoryApp/hw_ver
W/FactoryTestApp( 3403): WARNNING: java.io.FileNotFoundException: /efs/FactoryApp/serial_no: open failed: EACCES (Permission denied)
E/FactoryTestApp( 3403): [Class] Support , [Method] setPermission , [Message] File not found : /efs/FactoryApp/serial_no
I know almost all of these are pointing towards permission problems but I don't know why they're occurring. I've set all the permissions according to all the suggestions I could find here on xda.
Click to expand...
Click to collapse
Why don't you try setting perms to 777 and if it works start removing until it breaks.
Sent from my GT-I9505 using xda app-developers app
MemoryController said:
Why don't you try setting perms to 777 and if it works start removing until it breaks.
Click to expand...
Click to collapse
Tried. Didn't work. :banghead:
What if I delete the /efs/FactoryApp folder and factory reset the device?
It should automatically get regenerated right? And will my IMEI stay after that? :-|
Sent from my GT-I9100 using xda app-developers app
God it's finally gone. I think my whole FactoryApp folder was messed up.
I deleted it and wiped data from CWM. Rebooted and factory mode was still there. Opened both factorymode and keystr files and changed them from OFF to ON and rebooted again.
And I was greeted with the new phone setup on reboot
Thanks a ton all you fells. Problem fixed
Sent from my GT-I9100 using xda app-developers app
lmali92 said:
God it's finally gone. I think my whole FactoryApp folder was messed up.
I deleted it and wiped data from CWM. Rebooted and factory mode was still there. Opened both factorymode and keystr files and changed them from OFF to ON and rebooted again.
And I was greeted with the new phone setup on reboot
Thanks a ton all you fells. Problem fixed
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
hmmm interesting...
cannot find factoryapp
Hey I can't seem to find efs/factoryapp, it keeps telling me that the directory isn't there, I've done a factory reset via recovery mode it's still there, I can't exit factory mode
zachlag said:
Hey I can't seem to find efs/factoryapp, it keeps telling me that the directory isn't there, I've done a factory reset via recovery mode it's still there, I can't exit factory mode
Click to expand...
Click to collapse
OK I can confirm that you only need to delete the FactoryApp folder and do a factory reset for this to work. Dont worry about permissions. I couldnt get rid of the yellow writing even though my FactoryApp files said ON. Obviously corrupted because after deleting they said OFF, so changed to ON and fixed (6hours later!!!). All the abd stuff and terminal commands didnt work, only this solution. Dont worry the folder regenerates itself as he says so no risk.
jimmy080705 said:
OK I can confirm that you only need to delete the FactoryApp folder and do a factory reset for this to work. Dont worry about permissions. I couldnt get rid of the yellow writing even though my FactoryApp files said ON. Obviously corrupted because after deleting they said OFF, so changed to ON and fixed (6hours later!!!). All the abd stuff and terminal commands didnt work, only this solution. Dont worry the folder regenerates itself as he says so no risk.
Click to expand...
Click to collapse
i have
us cellular note 3 on mk2
i was rooted (supersu1.93) with twrp 2.6.3.7
i used es explorer to write off to both those files and rebooted,
comes back on
deleted the factory mode dir after i made backup on sd card
factory data reset
on still there and wont change to off
boot into twrp and wipe everything i can (dont think its wipe is really working well. its the first twrp officially for this device)
odin stock recovery
odin over full official mk2
factory mode still on upon boot
did a ##RTN#
still there
just wanted do add i dont have the yellow overlay and my power button works ok
i have swipe to unlock and no mobile data
if i set unlock to pattern it does stop and wait
if set to swipe to unlock it just goes right on past it on reboots
factory data mode is supposed to turn off isnt it?
what exactly is its function
well i just follow the directions with the echo commands and it actually made my phone worse
now i dont even see the swipe screen AND my power button has no menu to restart phone. when i hold power button in when phone is at ui it just shuts off now
that is new
i can edit them both to off but phone power button = shut down and no swipe screen seen at all upon boot
en11gma said:
i have
us cellular note 3 on mk2
i was rooted (supersu1.93) with twrp 2.6.3.7
i used es explorer to write off to both those files and rebooted,
comes back on
deleted the factory mode dir after i made backup on sd card
factory data reset
on still there and wont change to off
boot into twrp and wipe everything i can (dont think its wipe is really working well. its the first twrp officially for this device)
odin stock recovery
odin over full official mk2
factory mode still on upon boot
did a ##RTN#
still there
just wanted do add i dont have the yellow overlay and my power button works ok
i have swipe to unlock and no mobile data
if i set unlock to pattern it does stop and wait
if set to swipe to unlock it just goes right on past it on reboots
factory data mode is supposed to turn off isnt it?
what exactly is its function
well i just follow the directions with the echo commands and it actually made my phone worse
now i dont even see the swipe screen AND my power button has no menu to restart phone. when i hold power button in when phone is at ui it just shuts off now
that is new
i can edit them both to off but phone power button = shut down and no swipe screen seen at all upon boot
Click to expand...
Click to collapse
i made a backup before i deleted the /efs/FactoryApp directory. i copied the backup i made back into place and now i can see the swipe screen "for a sec or 2" and now my power button working but still stuck in factory mode.
really could use some help on this one as it looks like its really gonna be a good one
Thank you very much
lmali92 said:
Hey guys, I had lost my IMEI today.
I was lucky to find an auto-backed up .tar.gz file of my EFS folder.
Restored that folder and my IMEI is back and calls and everything is working.
Problem? I'm stuck in a permanent factory mode.
There's no lock screen, power menu directly reboots phone and there's a frustrating yellow overlay of my phone information. These things just won't go away whatsoever. Tried ODIN and a lot of methods on the internet.
Tried these via terminal emulator:
Code:
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
and tried to do these via root explorer apps also.
Please help I need to bring my phone back to life.
Edit: How I fixed it:
Not sure if step 1 is needed but this is how I did it. (I've used X-plore File Manager for all the file operations)
1.Change permission of every file and folder in /efs folder to 777. Reboot.
2.Delete the folder /efs/FactoryApp (NOT ENTIRE EFS FOLDER).
3.Wipe data/Factory Reset. (/efs/FactoryApp will get regenerated here)
4.Open /efs/FactoryApp/keystr file and change its contents to ON.
5.Open /efs/FactoryApp/factorymode file and change its contents to ON.
6. Reboot and your problem should be fixed now.
Click to expand...
Click to collapse
I had the exact same problem, spent the whole weekend looking for a fix,
Cheers mate ur a lifesaver.
so last night I planned to come back and find a new ROM to install and I did found one ( PardusHDRom_412_final ). After installing the rom as it said how to do, the phone started up normally but I noticed there is something wrong with the network. it just show Emergency calls only!
so I started looking up for the cause of the problem and I got that it was the EFS. the recovery made a backup before the installation which I didn't knew that has been done. so I tried to just easily copy and past the folder with my backup and everything will be good to go. IT WORKED xD I got network and made calls and everything working very normally but it wasn't the ROM I wanted to have. I said if it happened once and worked then it will happen again after installing the rom I want. I installed the official ROM and Rooted it and tried doing what I did before but it didn't work and now im getting this msg all the time.
the rom it worked on was paranoid1.4
I tried doing factory reset and it showed me the same thing.
I installed another Official ROM but no luck and still this msg showing up..
Any help?
Its called factory mode and its documented in the imei / efs sticky thread from general > sticky roll-up
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
You mean it's a forum here or its director in my phone?
Sent from my GT-I9300 using xda app-developers app
Theres a link in my signature. General is a forum here in the s3 forum.
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
rootSU said:
Theres a link in my signature. General is a forum here in the s3 forum.
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Click to expand...
Click to collapse
ok I tried both steps it provided and no luck yet so now im trying restock and give it a try with the backup I have of efs. wish me luck xD thanks for the fast replay
I tryed this, and it worked very well:
Go into Root Explorer. Go to /efs/FactoryApps/ and open the file "factorymode" with a texteditor.
Then delete "OFF" and write "ON" there. Now reboot and it will work.
Next time if you have to copy your EFS, just change it on your computer before copying.
Mikey94 said:
I tryed this, and it worked very well:
Go into Root Explorer. Go to /efs/FactoryApps/ and open the file "factorymode" with a texteditor.
Then delete "OFF" and write "ON" there. Now reboot and it will work.
Next time if you have to copy your EFS, just change it on your computer before copying.
Click to expand...
Click to collapse
No, it didn't work. I tried with both ES file explorer and Root explorer ( blue icon ) it didn't do anything!
Maybe you screwed permissions up by copying your backup the way you did.
You should put your backup on pc and follow the adb guide in my thread to delete and restore efs again.
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
rootSU said:
Maybe you screwed permissions up by copying your backup the way you did.
You should put your backup on pc and follow the adb guide in my thread to delete and restore efs again.
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Click to expand...
Click to collapse
you mean this?
I'm stuck in factorymode, is this related?
Yes, factorymode is caused by corrupt efs. It is possible to fix it with root and a terminal emulator.
Firstly try these commands (case sensitive)
Code:
su
echo -n ON >> /efs/FactoryApp/factorymodeIf they fail, use the more detailed commands:
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
rebootThis should hopefully return you to user mode. If not, restoring to stock and / or restoring an efs backup may be the next things you try before sending for repair.
I followed every step you said and I even read it again. cant I just do fix permission from recovery?
I hope you not laughing at me right now! lol
mahmoudsalem91 said:
you mean this?
I'm stuck in factorymode, is this related?
Yes, factorymode is caused by corrupt efs. It is possible to fix it with root and a terminal emulator.
Firstly try these commands (case sensitive)
Code:
su
echo -n ON >> /efs/FactoryApp/factorymodeIf they fail, use the more detailed commands:
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
rebootThis should hopefully return you to user mode. If not, restoring to stock and / or restoring an efs backup may be the next things you try before sending for repair.
I followed every step you said and I even read it again. cant I just do fix permission from recovery?
I hope you not laughing at me right now! lol
Click to expand...
Click to collapse
wow I did it!!!!! I just flashed an earlier stock rom ( 4.0.4 ) and its just working fine!
any steps before I upgrade to 4.1.2?
Oh no it didn't work. It's still there but it's just not showen
Sent from my GT-I9300 using xda app-developers app
mahmoudsalem91 said:
Oh no it didn't work. It's still there but it's just not showen
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Sorry, could you elaborate?
rootSU said:
Sorry, could you elaborate?
Click to expand...
Click to collapse
ok here is what happened. I tried finding a way to fix this. I don't know if it possible to just wipe the efs folder out to just reset it to default as it was so then I can be able to get the F*** out from this factorymode ( its really annoying ).
I flashed official ROM 4.0.4 and that's the full name ( I9300XXALE8_I9300HTSALE2_I9300NELE4_HOME.tar.md5 ). Network worked fine, I could make and receive calls and sms but that was the weird this that I noticed which there was no setup steps in the beginning as every new setup roms. so I did an update and another one and then another one then I got to the 4.1.2 now and im having the msg right now again.
can I format the efs partition ? is there is any other way than the one provided in your sticky forum?
btw changing from OFF to ON didn't work because it was already ON.
You'd only have the set up wizard if you factory reset.....
You need to delete EFS contents and restore your efs backup.
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
rootSU said:
You'd only have the set up wizard if you factory reset.....
You need to delete EFS contents and restore your efs backup.
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Click to expand...
Click to collapse
Ok all done. this time its DONE and working as normal again and here is what I did exactly.
after installing lots of Roms to find a way to get the hell out of the factorymode, the last rom I been using was Pardus HD. I tried changing from OFF to ON in factorymode file by text editor but it wasn't any luck by that because it was already ON. after I read what RootSU said in the last replay ( thanks a lot for your help ) deleting all efs partition files and restore the backup I hade. I deleted everything in this folder and just went into recovery ( philz touch ) did a factory reset and then chose installing new rom so it deleted everything. I went to mount and partition and did a format to cache and system again and then I installed a new rom ( Omega V48.1 ). the phone started but it was in factorymode still. opened ES file explorer and went to efs/factoryApp/ and then I opened the factorymode file with text editor and it was off so I changed it from OFF to ON and restarted the phone.
phone started in startup setup and after that everything back to normal. Im NOT gonna try flashing any roms for now, I will just enjoy my phone that back from factory f*** mode and maybe later I will see something new to flash or just back to stock.
im posting this because there is lots of people in factorymode and I know how they feel about being in this **** mode. it is really pain in the ass.
thank you so so so much RootSU and everyone helped me out.
Kevin out
mahmoudsalem91 said:
Ok all done. this time its DONE and working as normal again and here is what I did exactly.
after installing lots of Roms to find a way to get the hell out of the factorymode, the last rom I been using was Pardus HD. I tried changing from OFF to ON in factorymode file by text editor but it wasn't any luck by that because it was already ON. after I read what RootSU said in the last replay ( thanks a lot for your help ) deleting all efs partition files and restore the backup I hade. I deleted everything in this folder and just went into recovery ( philz touch ) did a factory reset and then chose installing new rom so it deleted everything. I went to mount and partition and did a format to cache and system again and then I installed a new rom ( Omega V48.1 ). the phone started but it was in factorymode still. opened ES file explorer and went to efs/factoryApp/ and then I opened the factorymode file with text editor and it was off so I changed it from OFF to ON and restarted the phone.
phone started in startup setup and after that everything back to normal. Im NOT gonna try flashing any roms for now, I will just enjoy my phone that back from factory f*** mode and maybe later I will see something new to flash or just back to stock.
im posting this because there is lots of people in factorymode and I know how they feel about being in this **** mode. it is really pain in the ass.
thank you so so so much RootSU and everyone helped me out.
Kevin out
Click to expand...
Click to collapse
Thanks for the update.
Hey, have a look at custom backup jobs in Philz. The EFS backup done by Philz is very good. Now you have a working one, it's easy to restore. Highly recommended.
rootSU said:
Thanks for the update.
Hey, have a look at custom backup jobs in Philz. The EFS backup done by Philz is very good. Now you have a working one, it's easy to restore. Highly recommended.
Click to expand...
Click to collapse
doing it now :good:
I am having this same issue. stuck in factory mode.
I ran a root browser and my EFS folder is EMPTY ??? what do I do?
I don't have a backup of the EFS folder as I just got the phone (used) and never touched it prior.
mahmoudsalem91 said:
doing it now :good:
Click to expand...
Click to collapse
So you have a backup of the efs folder?
Just read through everything we wrote here. Hope it helps
Sent from my GT-I9300 using xda app-developers app
factory mode reroot
i rooted my s3 i535 actidenally erased all data and my fone is in factory mode i have back up efs files and program to restall them but fone is not rooted no more i tryed using rootdegfs but it dont pick up my fone... so how do u root a fone that is in factorymode ty
Guys most of us encountered a similar problem like this - for no reason the lockscreen and power option menu wont work
sometimes you will get red warning like 'factory mode is on' some features wont work properly :crying::crying::crying:
Guys it's because of Corrupted EFS folder
So here is the exact solution to get rid of factory mode into user mode [get back your lockscreen and power option menu]
Its a proven method :victory::victory::victory:
You have to root your phone and install Terminal Emulator from Google Play.
Open terminal emulator and type as ;
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
reboot
You now should not see the that message anymore. Its because of an EFS corruption.
Hope it helps!!!
Time to enjoy 'hurray' i got my lockscreen and power option menu
Anybody guys is that helped you...if yes please press thanks button...dont just see the post.
Sent from my GT-I8552 using Tapatalk 2
reserved
Hey please help me
When I type these code
Su
Bla bla bla
In terminal emulator
I get error
No such directory or file found
Please I want my lock screen anf power button back
Sent from my GT-I8262 using xda app-developers app
Omkar$ said:
Hey please help me
When I type these code
Su
Bla bla bla
In terminal emulator
I get error
No such directory or file found
Please I want my lock screen anf power button back
Sent from my GT-I8262 using xda app-developers app
Click to expand...
Click to collapse
Which means keystr and factorymode file already been removed...
Then you have to type only this:
Don't type just copy paste these codes
su
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
It will work definitely all the best..
Feedback me after u got ur buttons and lockscreen back
Sent from my GT-I8552 now Free
Got it?
Sent from my GT-I8552 now Free
Not working bro same error
I have addon.d, app,lost+found,reg_backup in my efs folder
Sent from my GT-I8262 using xda app-developers app
Omkar$ said:
Not working bro same error
I have addon.d, app,lost+found,reg_backup in my efs folder
Sent from my GT-I8262 using xda app-developers app
Click to expand...
Click to collapse
Do this manually
Install root explorer and open.
Go to efs/Factoryapp folder
Create a new file 'factorymode'
Open the file and type 'ON' and click save.
Create a new file 'keystr'
Open the file and type 'ONON' and click save
For both files permissions should be rwe-r-r
Reboot.
If it still don't work do the copy paste commands in emulator which is in first post after this..
It should work..I have successfully got my lockscreen and power menu button by this on my grand Quattro running JB 4.1.2
This is the only method to get back those...even u try reflashing your stock firmware u won't get it.do it again without mistakes in code..
In the code the first two line is to remove those two corrupted files and the next two steps is to add those two files and the following codes is to set permission which it needs minimum 777 permissions to work.....:beer::beer::beer: so if u get error like no such file directry exclude two lines below su.
Sent from my GT-I8552 now Free
Followed all above steps but not working
Alll codes worked
But after reboot no chage
I am using galaxy core jb 4.1.2
Can I use other galaxy core efs folderband flash it on my core
Btw I don't have factoryapp folder in efs instead I have app folder
Can u show your efs folder
Btw quattro is same as galaxy core
It should work
Sent from my GT-I8262 using xda app-developers app
How to take backup of efs folder for grand quattro? Please help me as I am new here.
Sent from my GT-I8552 using XDA Premium 4 mobile app
I have galaxy grand I9082 and your method worked fine but If i flash miui rom i cant get network signal, and i surprised that calls are coming but i cant make a call it says turn off flight mode how to resolve this.
efs folder empty after every reboot
fix?? plzzzzz
still no help
cannot create a file in efs mode as it says "file system is read-only"
what should i do ??????
i have rooted my phone ,installed terminal emulator and root explorer.
i have samsung galaxy quattro
Crap post...nothing worked !!
really need help
I 've followed step by step , the code runs fine but no change , lockscreen and power button menu still does not appear , I 've used a lot of ways such as EFS proffesional still no change , is there someone who can help me ? please
how to fix this ?
sorry for bad English
duyz said:
how to fix this ?
sorry for bad English
Click to expand...
Click to collapse
Does the message stay there forever ?? if so ... how did the problem start in the first place...
May be you should wipe your phone and then re-install the rom once again if it is not going away ...
Thanks
it stay 4ever even when i flashed 4part new rom via odin.no sooner than i deleted etc folder (root system) than it occurred
sorry for bad English
duyz said:
it stay 4ever even when i flashed 4part new rom via odin.no sooner than i deleted etc folder (root system) than it occurred
sorry for bad English
Click to expand...
Click to collapse
Factory Mode
Look here >> https://www.youtube.com/watch?v=My_g28MrlwU <<
Look here >> http://forum.xda-developers.com/galaxy-s3/general/ref-imei-efs-stuff-i9300-including-t2393289 <<
i'll try it.tks bro
i do not lost my imei or S\N,bro
duyz said:
i do not lost my imei or S\N,bro
Click to expand...
Click to collapse
You have not read the thread correctly read the section in the thread about factory mode plus watch the video you do not have to lose your imei or follow below instructions below.
Use terminal emulator.
Firstly try these commands (case sensitive)
Code:
su
echo -n ON >> /efs/FactoryApp/factorymode
Reboot..If that fails, use the more detailed commands:
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
reboot
can some1 give me ect folder (stock sammy 4.3) pls (located below efs folder -root system)
duyz said:
can some1 give me ect folder (stock sammy 4.3) pls (located below efs folder -root system)
Click to expand...
Click to collapse
Flash a stock rom with odin this will restore the folder
tallman43 said:
You have not read the thread correctly read the section in the thread about factory mode plus watch the video you do not have to lose your imei or follow below instructions below.
Use terminal emulator.
Firstly try these commands (case sensitive)
Code:
su
echo -n ON >> /efs/FactoryApp/factorymode
Reboot..If that fails, use the more detailed commands:
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
reboot
Click to expand...
Click to collapse
it say file not found (both 2 method)
duyz said:
it say file not found (both 2 method)
Click to expand...
Click to collapse
Ok flash a stock rom with odin then try again see if that works
tallman43 said:
Flash a stock rom with odin this will restore the folder
Click to expand...
Click to collapse
nope.i flashed mutil time.4.1.2 upto 4.3 (4part rom with Odin PC ) the mesage still appear
duyz said:
nope.i flashed mutil time.4.1.2 upto 4.3 (4part rom with Odin PC ) the mesage still appear
Click to expand...
Click to collapse
when using CM,everything oke except sim card not detected
rollback to Sammy,the message appear agian
sorry for bad English
duyz said:
when using CM,everything oke except sim card not detected
rollback to Sammy,the message appear agian
sorry for bad English
Click to expand...
Click to collapse
You can't keep flashing between 4.1 and 4.3 because of the new efs v1 and efs v2 file system your efs is probably corrupt did you make a backup of your efs before you started flashing roms?
If you did you need to restore this.
i have backup efs folder.but when restore,nothing happen.my imei and S\N is correct,but the message still appear
i'm using CM11 M5 now.some detail
duyz said:
i have backup efs folder.but when restore,nothing happen.my imei and S\N is correct,but the message still appear
Click to expand...
Click to collapse
Ok first did you backup your efs on stock 4.1 or stock 4.3?
i backup 2 time
4.1.2 correct Imei , S\N 0000000000
4.3 both are correct
so i use 4.3,restore on 4.1.2 and 4.3
any problem?
sorry for stupid Q and bad English
duyz said:
i backup 2 time
4.1.2 correct Imei , S\N 0000000000
4.3 both are correct
so i use 4.3,restore on 4.1.2 and 4.3
any problem?
sorry for stupid Q and bad English
Click to expand...
Click to collapse
Ok if you backed up efs on 4.3 rom flash a 4.3 stock rom from sammobile then restore your 4.3 efs do not restore efs on 4.1 stock.
If you backed up efs on 4.1 stock rom flash a 4.1 stock rom from sammobile then restore your 4.1 efs do not restore efs on 4.3 stock
I would recommend restoring the 4.3 stock... See if that helps.
the message still apeared on all sammy stock or rom based on sammy so sad