Hi guys,
A friend of mine recently rooted his I9505 and tried to install a custom Rom.
He made an Nandroid backup of his Stock rom but TWRP wasn't able to mount /efs.
So he ignored it and made a Backup without checking /efs.
As he installed a custom Rom he did something wrong and wasn't able to boot system.
So he went back to stock rom.
The Problem now is that his /efs folder is empty and he has no lockscreen and powermenu.
But the strange thing is that he has no problems with IMEI or Baseband.
Is it somehow possible to get his /efs files back?
Or at least get his lockscreen an powermenu back working?
He would be even happy with and alternative lockscreen and powermenu. maybe a app?
I hope someone can help us
Thank you very much in advance for your answers
SOLVED:
I tried many different methods so i don't really know which one worked.
But here are several methods you can try if you have the same problem:
Method 1:
Code:
su
busybox mount /efs
echo -n ON > /efs/FactoryApp/keystr
echo -n ON > /efs/FactoryApp/factorymode
reboot
Method 2:
Code:
su
mke2fs /dev/block/mmcblk0p10
mount -w -t ext4 /dev/block/mmcblk0p10
echo -n ON > /efs/FactoryApp/keystr
echo -n ON > /efs/FactoryApp/factorymode
reboot
Method 3:
Code:
su
mount -w -t ext4 /dev/block/mmcblk0p10
echo -n ON > /efs/FactoryApp/keystr
echo -n ON > /efs/FactoryApp/factorymode
reboot
Try them all and one of them should work
Try a factory reset. If that doesn't work odin to stock should get you fixed up
Sent from my Nexus 10
9233 said:
Hi guys,
A friend of mine recently rooted his I9505 and tried to install a custom Rom.
He made an Nandroid backup of his Stock rom but TWRP wasn't able to mount /efs.
So he ignored it and made a Backup without checking /efs.
As he installed a custom Rom he did something wrong and wasn't able to boot system.
So he went back to stock rom.
The Problem now is that his /efs folder is empty and he has no lockscreen and powermenu.
But the strange thing is that he has no problems with IMEI or Baseband.
Is it somehow possible to get his /efs files back?
Or at least get his lockscreen an powermenu back working?
He would be even happy with and alternative lockscreen and powermenu. maybe a app?
I hope someone can help us
Thank you very much in advance for your answers
Click to expand...
Click to collapse
efs is not empty. you can not see inside because it is not mounted.
root the device, install terminal emulator. type:
Code:
su
mount /efs
mount -o remount,rw /efs
echo -n ON > /efs/FactoryApp/keystr
echo -n ON > /efs/FactoryApp/factorymode
reboot
samersh72 said:
efs is not empty. you can not see inside because it is not mounted.
root the device, install terminal emulator. type:
Code:
su
mount /efs
mount -o remount,rw /efs
echo -n ON > /efs/FactoryApp/keystr
echo -n ON > /efs/FactoryApp/factorymode
reboot
Click to expand...
Click to collapse
mount /efs is not working. I'm getting this Error Message:
http://dl.xda-developers.com/attachdl/8c9fb4bc3dc504c869fd2aebc109f0df/523b4bef/2/2/6/8/9/0/0/IMG-20130919-WA0003.jpg
9233 said:
mount /efs is not working. I'm getting this Error Message:
http://dl.xda-developers.com/attachdl/8c9fb4bc3dc504c869fd2aebc109f0df/523b4bef/2/2/6/8/9/0/0/IMG-20130919-WA0003.jpg
Click to expand...
Click to collapse
try without mounting: "su" then the "echo"
if not try mounting with these commands:
Code:
su
mke2fs /dev/block/mmcblk0p10
mount -w -t ext4 /dev/block/mmcblk0p10
reboot
if not, ignore mke2fs...... line
samersh72 said:
try without mounting: "su" then the "echo"
if not try mounting with these commands:
Code:
su
mke2fs /dev/block/mmcblk0p10
mount -w -t ext4 /dev/block/mmcblk0p10
reboot
if not, ignore mke2fs...... line
Click to expand...
Click to collapse
Thank you.
I don't have the phone here so i'll try it tomorrow and see what happens.
Your mount command didn't work because you are using the /system/bin/mount that is a part of Android. This version must get the device name and the mount point, you cannot omit one of them (with busybox mount you can omit one or the other).
I had the EXACT problem and already started a thread.
There was a lot of help given to me, try reading through my thread mate.
http://forum.xda-developers.com/showthread.php?t=2388663
In the end it turned out my EFS partition was so corrupt it had to go to service centre.
Sent from my GT-I9505 using XDA Premium HD app
Hi guys,
I tried it with the following and it works!!!
Code:
su
busybox mount /efs
echo -n ON > /efs/FactoryApp/keystr
echo -n ON > /efs/FactoryApp/factorymode
reboot
Thank you all for your Help and have a nice day!
Related
I found a guide to aply apps to sd on my milestone. I got it working, but the problem is, that apps installed in the data/app-private folder doesn't show as installed. I can see that they are placed in ext2 partion on my sd card along with the other apps, that normaly installes in data/app.Here is the guide i used
After creatting a ext2 partition on my SD card, i copied ext2. To sd card along with
mot_boot_mode script
#!/system/bin/sh
export PATH=/system/bin:$PATH
mot_boot_mode.bin
insmod /data/ext2.ko
mount -t ext2 /dev/block/mmcblk0p2 /data/sdapp
Then in recovery mode i entered
adb shell
su
cp /sdcard/ext2.ko /data/ext2.ko
insmod /data/ext2.ko
mkdir /data/sdapp
mount -t ext2 /dev/block/mmcblk0p2 /data/sdapp
cp /data/app/* /data/sdapp/
mkdir /sdcard/sicherung
cp /data/app/* /sdcard/sicherung
rm -r /data/app
umount /data/sdapp
mount -t ext2 /dev/block/mmcblk0p2 /data/sdapp
ls /data/sdapp
ln -s /data/sdapp /data/app
chmod 644 /data/sdapp/*
/data/busybox/chown -h 1000:1000 /data/app
/data/busybox/chown 1000:1000 /data/sdapp/*
/data/busybox/chown 1000:1000 /data/sdapp
insmod /data/ext2.ko
mount -t ext2 /dev/block/mmcblk0p2 /data/sdapp
mount -o remount,rw / /system
mv /system/bin/mot_boot_mode /system/bin/mot_boot_mode.bin
cp /sdcard/mot_boot_mode_script /system/bin/mot_boot_mode
chmod 755 /system/bin/mot_boot_mode
Do i need to make a symbolic link in data/app-private also?
I would realy like to get this working, because i purchased a lot of apps on the marked. But i have only half of them installed. It used to work on my HTC hero. But it was allready enabled in a custom rom. And that is not possible to do on a Milestone
Thanks
Fixed it by changing app-private folder two
hey glaus...
this almost seems like a guide, hehe...
i'm trying to get apps2sd to work on my milestone as well...
i tried booting in recovery mode and entering the chain of commands you just set out....
but when i go into recovery mode, i see the reboot system option, apply sdcard:update.zip, wipe data/factory reset and wipe cache partition....
and under it, i have e: can't open /cache/recovery/command
any ideas on how to fix this or where can i enter those commands you set out?
i tried in adb shell, but i get a /data/busybox/chown is not found error when setting the permissions...
thanks!
do
crap me too and it deleted some apps 2 i really want this been trying for a week oh i have a telus milestone and get the same above error.busybox is installed and hard drive is partioned
ah crap market is gone 2 lol gotta do a nano restore......man i want this bad i even bricked my phone and brought it back to life this week arghhhh
yeah...i don't know where claus is from...but if he has a telus milestone, he's the only one i've seen been able to install apps2sd with a telus milestone
i've seen other countries, even some with the same bands as we have, but none have had the actual "telus" one....the funny thing is that i can get everything else to work..
i have titanium backup pro, emulator, root explorer and everything is at superuser access...
if claus can help, i will bear his children
edit: how the heck do you install/activate the mot_boot_mode script? I see reference to it in a few wikis on basically that's what will allow us to use apps2sd...but I have no clue how to implement it
got app2sd working on milestone using a diff method will post soon
ok i got app2sd working on my telus milestone here is how i did it if u tried this method here ur gunna have to unroot then root or use a nano backup of freshly rooted phone busybox need mot to be installed so use titanium for back up and proceed http://forum.xda-developers.com/showthread.php?t=692367
ClausG76 said:
I found a guide to aply apps to sd on my milestone. I got it working, but the problem is, that apps installed in the data/app-private folder doesn't show as installed. I can see that they are placed in ext2 partion on my sd card along with the other apps, that normaly installes in data/app.Here is the guide i used
After creatting a ext2 partition on my SD card, i copied ext2. To sd card along with
mot_boot_mode script
#!/system/bin/sh
export PATH=/system/bin:$PATH
mot_boot_mode.bin
insmod /data/ext2.ko
mount -t ext2 /dev/block/mmcblk0p2 /data/sdapp
Then in recovery mode i entered
adb shell
su
cp /sdcard/ext2.ko /data/ext2.ko
insmod /data/ext2.ko
mkdir /data/sdapp
mount -t ext2 /dev/block/mmcblk0p2 /data/sdapp
cp /data/app/* /data/sdapp/
mkdir /sdcard/sicherung
cp /data/app/* /sdcard/sicherung
rm -r /data/app
umount /data/sdapp
mount -t ext2 /dev/block/mmcblk0p2 /data/sdapp
ls /data/sdapp
ln -s /data/sdapp /data/app
chmod 644 /data/sdapp/*
/data/busybox/chown -h 1000:1000 /data/app
/data/busybox/chown 1000:1000 /data/sdapp/*
/data/busybox/chown 1000:1000 /data/sdapp
insmod /data/ext2.ko
mount -t ext2 /dev/block/mmcblk0p2 /data/sdapp
mount -o remount,rw / /system
mv /system/bin/mot_boot_mode /system/bin/mot_boot_mode.bin
cp /sdcard/mot_boot_mode_script /system/bin/mot_boot_mode
chmod 755 /system/bin/mot_boot_mode
Do i need to make a symbolic link in data/app-private also?
I would realy like to get this working, because i purchased a lot of apps on the marked. But i have only half of them installed. It used to work on my HTC hero. But it was allready enabled in a custom rom. And that is not possible to do on a Milestone
Thanks
Click to expand...
Click to collapse
fixed http://forum.xda-developers.com/showthread.php?t=692367
hi,
By mistake I flash a i9500 recovery on a 9505 and it installed (see picture) and erased my EFS.
I flash a stock with spit, then replaced the EFS (which I had saved on the PC), but each reboot EFS disappears! and the image returns.
Each solution??? I do not know what to do
Alan-B said:
hi,
By mistake I flash a i9500 recovery on a 9505 and it installed (see picture) and erased my EFS.
I flash a stock with spit, then replaced the EFS (which I had saved on the PC), but each reboot EFS disappears! and the image returns.
Each solution??? I do not know what to do
Click to expand...
Click to collapse
you must be rooted, type the following commands in terminal emulator:
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
samersh72 said:
you must be rooted, type the following commands in terminal emulator:
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
Hi,
Thanks
I'll test
But t'is Flash had to add items to the root? but what to delete?
Alan-B said:
Hi,
Thanks
I'll test
But t'is Flash had to add items to the root? but what to delete?
Click to expand...
Click to collapse
rm >> will remove old "keystr" file (if existed, responsible of power menu and lockscreen) and old "factorymode" (responsible of this yellow window)
echo >> will make new two mentioned files with a "on" in it
chown >> will change file owner and group information of these two files to the right one.
chmod 744 >> will set the right permission for the two files rwxr--r--
reboot :good:
you can also use "adb shell" to execute those commands.
samersh72 said:
rm >> will remove old "keystr" file (if existed, responsible of power menu and lockscreen) and old "factorymode" (responsible of this yellow window)
echo >> will make new two mentioned files with a "on" in it
chown >> will change file owner and group information of these two files to the right one.
chmod 744 >> will set the right permission for the two files rwxr--r--
reboot :good:
you can also use "adb shell" to execute those commands.
Click to expand...
Click to collapse
Sorry but the command does not pass error file read-only '
How to use ADB Shell? never used!
NB:
I do not understand why if I replace the EFS it fades to reboot?
And delete any file to remove this yellow page (which directory and file?)
Sorry but this is not easy!
Alan-B said:
Sorry but the command does not pass error file read-only '
How to use ADB Shell? never used!
NB:
I do not understand why if I replace the EFS it fades to reboot?
And delete any file to remove this yellow page (which directory and file?)
Sorry but this is not easy!
Click to expand...
Click to collapse
be sure you have busybox installed
hmmm you need to mount efs folder as write
with root explorer (enable mount in its setting) long press on efs folder and choose permission and tell me what is the permission and if you can set it to: owner: rwx group: rwx others: r-x
samersh72 said:
be sure you have busybox installed
hmmm you need to mount efs folder as write
with root explorer (enable mount in its setting) long press on efs folder and choose permission and tell me what is the permission and if you can set it to: owner: rwx group: rwx others: r-x
Click to expand...
Click to collapse
Ok is solved...
Re Hi,
My EFS is a copy pasted on the PC, is there a solution for the flash via a zip? in a command line?
Or create a tar. To restore
please help me
please help me[/QUOTE]
i have the same , yellow screen , and NO power menu
what too do ?
su
rm /efs/FactoryApp/keystr (NOT FOUND)
rm /efs/FactoryApp/factorymode (NOT FOUND)
echo -n ON >> /efs/FactoryApp/keystr (No Such File Or Directory)
echo -n ON >> /efs/FactoryApp/factorymode (No Such File Or Directory)
chown 1000.1000 /efs/FactoryApp/keystr (NOT FOUND)
chown 1000.1000 /efs/FactoryApp/factorymode (NOT FOUND)
chmod 0744 /efs/FactoryApp/keystr (NOT FOUND)
chmod 0744 /efs/FactoryApp/factorymode (No Such File Or Directory)
reboot
Please Help me ??
-=Ghostface=- said:
please help me
i have the same , yellow screen , and NO power menu
what too do ?
su
rm /efs/FactoryApp/keystr (NOT FOUND)
rm /efs/FactoryApp/factorymode (NOT FOUND)
echo -n ON >> /efs/FactoryApp/keystr (No Such File Or Directory)
echo -n ON >> /efs/FactoryApp/factorymode (No Such File Or Directory)
chown 1000.1000 /efs/FactoryApp/keystr (NOT FOUND)
chown 1000.1000 /efs/FactoryApp/factorymode (NOT FOUND)
chmod 744 /efs/FactoryApp/keystr (NOT FOUND)
chmod 744 /efs/FactoryApp/factorymode (No Such File Or Directory)
reboot
Please Help me ??
Click to expand...
Click to collapse
if you have the I9505 variant, do this with terminal emulator:
Code:
su
mke2fs /dev/block/mmcblk0p10
mount -w -t ext4 /dev/block/mmcblk0p10
reboot
for I9500:
Code:
su
mke2fs /dev/block/mmcblk0p3
mount -w -t ext4 /dev/block/mmcblk0p3
reboot
then do the previous posted line commands
What about s3 code?
samersh72 said:
if you have the I9505 variant, do this with terminal emulator:
Code:
su
mke2fs /dev/block/mmcblk0p10
mount -w -t ext4 /dev/block/mmcblk0p10
reboot
for I9500:
Code:
su
mke2fs /dev/block/mmcblk0p3
mount -w -t ext4 /dev/block/mmcblk0p3
reboot
then do the previous posted line commands
Click to expand...
Click to collapse
same problem i am having,, what is code for s3 I9300 ?
Please help me..
m.htc said:
same problem i am having,, what is code for s3 I9300 ?
Please help me..
Click to expand...
Click to collapse
for S3 I9300 efs is in block 3 (like I9500)
Can't open error
samersh72 said:
for S3 I9300 efs is in block 3 (like I9500)
Click to expand...
Click to collapse
can't open '/dev/block/mmcb1k0p3' : no such file or directory error..
What to do ?
m.htc said:
can't open '/dev/block/mmcb1k0p3' : no such file or directory error..
What to do ?
Click to expand...
Click to collapse
It is not b1k but blk (l like lemon)
Sent from my Galaxy Nexus using xda premium
ya did same later
samersh72 said:
It is not b1k but blk (l like lemon)
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
still error,, see attached image...
m.htc said:
still error,, see attached image...
Click to expand...
Click to collapse
see here, it may help http://forum.gsmhosting.com/vbb/f777/how-fix-samsung-gt-i9300-yellow-text-overlay-factory-mode-1660813/
How to fix this factory mode problem.
please see the attached image & help me.
Mobile model - Samsung Galaxy S4 I9505
sumonfd said:
How to fix this factory mode problem.
please see the attached image & help me.
Mobile model - Samsung Galaxy S4 I9505
Click to expand...
Click to collapse
in terminal emulator, tyoe
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
with search button you could find the answer...
samersh72 said:
in terminal emulator, tyoe
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
with search button you could find the answer...
Click to expand...
Click to collapse
I tried with that but not working. Please help me.
sumonfd said:
I tried with that but not working. Please help me.
Click to expand...
Click to collapse
what it gave you? i think you need to mount the partition before:
Code:
su
mke2fs /dev/block/mmcblk0p10
mount -w -t ext4 /dev/block/mmcblk0p10
reboot
samersh72 said:
what it gave you? i think you need to mount the partition before:
Code:
su
mke2fs /dev/block/mmcblk0p10
mount -w -t ext4 /dev/block/mmcblk0p10
reboot
Click to expand...
Click to collapse
Showing mke2fs not found after giving the below command
mke2fs /dev/block/mmcblk0p10
sumonfd said:
Showing mke2fs not found after giving the below command
mke2fs /dev/block/mmcblk0p10
Click to expand...
Click to collapse
P.S. you must be rooted
samersh72 said:
P.S. you must be rooted
Click to expand...
Click to collapse
my phone is already rooted & also installed root browser MORE OVER IT'S IMEI CORRUPTED & DON'T HAVE WARRANTY.
i Have z3x box & NS pro. please guide me.
Open "Root Explorer" App
efs/FactoryApp/
Open "factorymode" file with text editor
Change OFF to ON
Reboot
Mr.W0lf said:
Open "Root Explorer" App
efs/FactoryApp/
Open "factorymode" file with text editor
Change OFF to ON
Reboot
Click to expand...
Click to collapse
already tried this but not working.
sumonfd said:
already tried this but not working.
Click to expand...
Click to collapse
Tried to do the same for "keystr" file?
Mr.W0lf said:
Tried to do the same for "keystr" file?
Click to expand...
Click to collapse
both file are edited to "ON" but was not working then delete these file & restart after that edited then reboot, now working.
But IMEI problem, please advise me how to fix that.
If someone ask me why i create a thread for this question , the answer is because this problem is really strangeHi again
One of my friends after flashing omega 13 a problem appeared to him
He full wipe and install stock rom , install stock rom with pit file , install xposed-disabler and etc
he tested stock , omega , echo , phoenux and etc but the only rom that solve the problem was miui but he does not like the miui
The problem is :
When he hold down the power button instead of showing the menu(airplane mode , restart , power down and etc) the phone directlly shutting down
Why?how can he solve the problem?
Sounds like a corrupt or empty efs .
Go to /efs folder and see if its empty.
If it is there are plenty of threads on here to fix it .
Or restore efs backup if you have one
Sent from my GT-I9505 using XDA Premium HD app
Thanks my friend
the efs was empty
The problem was solved by restore the efs backup
But when restart the phone , the efs folder become empty again
muiacir said:
Thanks my friend
the efs was empty
The problem was solved by restore the efs backup
But when restart the phone , the efs folder become empty again
Click to expand...
Click to collapse
if you didnt fix the issue, do the following:
install busybox from play store
download terminal emulator, open it and type the following:
Code:
su
mke2fs /dev/block/mmcblk0p10
mount -w -t ext4 /dev/block/mmcblk0p10 /efs
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
sync
reboot
samersh72 said:
if you didnt fix the issue, do the following:
install busybox from play store
download terminal emulator, open it and type the following:
Code:
su
mke2fs /dev/block/mmcblk0p10
mount -w -t ext4 /dev/block/mmcblk0p10 /efs
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
sync
reboot
Click to expand...
Click to collapse
thanks my friend but after the reboot , the efs folder again become empty
muiacir said:
thanks my friend but after the reboot , the efs folder again become empty
Click to expand...
Click to collapse
you fixed power menu problem??
did you use a root explorer app, enable root access to see the content?
The problem was solved my friend
Really reallly thanks
I lllllllllove you
to set the thread as solved?
muiacir said:
The problem was solved my friend
Really reallly thanks
I lllllllllove you
to set the thread as solved?
Click to expand...
Click to collapse
glad to hear that. yes, add solved to the thread title.
My phone was dead due to unknown reason. It was very slow for last couple of days, so I reboot the phone into recovery and then wipe cache and dalvik. After the wipe I reboot the phone but it stuck on Samsung logo. So I tried different unsuccessful methods like, flash stock ROM, restore efs folder, etc...
After flashing the stock ROM, rebooted the phone into recovery for factory reset, then only I noticed the error E:failed to mount /efs (Invalid argument). If you are on CWM recovery then you may not see this error.
Solution:
Flash an official firmware from sammobile
Flash CWM recovery
Boot into Recovery
Select mount and storage -> mont /system
Connect your phone to PC using USB cable
Open ADB command window and type the following commands
Code:
adb shell
Code:
mke2fs /dev/block/mmcblk0p3
Code:
mount -w -t ext4 /dev/block/mmcblk0p3
Code:
reboot
Now your phone will boot, but it may be in factory mode (ie you can see yellow box showing some ROM information).
Remove factory mode:
There are different methods that we can use to remove factory mode
In my case
1. Installed custom ROM to get root access
2. Instaled kTool
3. Copy the backup of my efs into sdcard (you can use .img or tar file)
4. Open kTool and restore the efs
5. Reboot the phone
* This method is the easiest and safest method because when you are getting the efs mount error there is a chance of loosing your IMEI and some other files, in that situation the following methods will not work.
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install ES File Explorer
3. Open ES File Explorer and turn on Root Explorer
4. Navigate to /efs folder
5. Open factorymode as txt in ES Note Editor
6. Change it from OFF to ON and save
7. Reboot your phone
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install Terminal Emulator
3. Run the following 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
I can't find factorymode in efs folder.
Sent from my GT-I9300
Restoring this kind of backup http://forum.xda-developers.com/gal...warning-guide-backup-restore-imei-nv-t1946915 will also remove factory mode (at least it did when I softbricked my i9305 and had to recover efs).
anukilimanoor said:
My phone was dead due to unknown reason. It was very slow for last couple of days, so I reboot the phone into recovery and then wipe cache and dalvik. After the wipe I reboot the phone but it stuck on Samsung logo. So I tried different unsuccessful methods like, flash stock ROM, restore efs folder, etc...
After flashing the stock ROM, rebooted the phone into recovery for factory reset, then only I noticed the error E:failed to mount /efs (Invalid argument). If you are on CWM recovery then you may not see this error.
Solution:
Flash an official firmware from sammobile
Flash CWM recovery
Boot into Recovery
Select mount and storage -> mont /system
Connect your phone to PC using USB cable
Open ADB command window and type the following commands
Code:
adb shell
Code:
mke2fs /dev/block/mmcblk0p3
Code:
mount -w -t ext4 /dev/block/mmcblk0p3
Code:
reboot
Now your phone will boot, but it may be in factory mode (ie you can see yellow box showing some ROM information).
Remove factory mode:
There are different methods that we can use to remove factory mode
In my case
1. Installed custom ROM to get root access
2. Instaled kTool
3. Copy the backup of my efs into sdcard (you can use .img or tar file)
4. Open kTool and restore the efs
5. Reboot the phone
* This method is the easiest and safest method because when you are getting the efs mount error there is a chance of loosing your IMEI and some other files, in that situation the following methods will not work.
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install ES File Explorer
3. Open ES File Explorer and turn on Root Explorer
4. Navigate to /efs folder
5. Open factorymode as txt in ES Note Editor
6. Change it from OFF to ON and save
7. Reboot your phone
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install Terminal Emulator
3. Run the following 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
Hi,
my GT-I9300 is stucked at Samsung Boot Logo. When I start the phone in recovery mode it shows e:failed to mount /efs (Invalid argument).
I have no efs or any other backup....
Tried to flash stock rom with odin but it doesnt work.....
Does your soloution work in my case?
Do you have any other soloutions for me? I´m reading XDA threads since hours....
w9999 said:
I can't find factorymode in efs folder.
Sent from my GT-I9300
Click to expand...
Click to collapse
Are you able to boot the phone?
cruising6n said:
Hi,
my GT-I9300 is stucked at Samsung Boot Logo. When I start the phone in recovery mode it shows e:failed to mount /efs (Invalid argument).
I have no efs or any other backup....
Tried to flash stock rom with odin but it doesnt work.....
Does your soloution work in my case?
Do you have any other soloutions for me? I´m reading XDA threads since hours....
Click to expand...
Click to collapse
Try the other option and see the imei. If it is ok then no need to restore it.
---------- Post added at 09:47 PM ---------- Previous post was at 09:45 PM ----------
anukilimanoor said:
Are you able to boot the phone?
Try the other option and see the imei. If it is ok then no need to restore it.
Click to expand...
Click to collapse
i restore efs folder.now everything is ok.
Try the other option and see the imei. If it is ok then no need to restore it.[/QUOTE said:
Which other option? :angel:
Click to expand...
Click to collapse
Fixed -cannot mount efs
Thanks OP, I just recovered my S3 moments ago, followed yr instructions to the T,
My original imei intact, albeit booted to safe mode, just turn to ON in root explorer and all system back to normal. Thanks again
EDIT: Just for info I install philz_touch_4.00-b21-i9305-fixed_Ported_By_ausdim.tar.md
and i did not mount system.
anukilimanoor said:
My phone was dead due to unknown reason. It was very slow for last couple of days, so I reboot the phone into recovery and then wipe cache and dalvik. After the wipe I reboot the phone but it stuck on Samsung logo. So I tried different unsuccessful methods like, flash stock ROM, restore efs folder, etc...
After flashing the stock ROM, rebooted the phone into recovery for factory reset, then only I noticed the error E:failed to mount /efs (Invalid argument). If you are on CWM recovery then you may not see this error.
Solution:
Flash an official firmware from sammobile
Flash CWM recovery
Boot into Recovery
Select mount and storage -> mont /system
Connect your phone to PC using USB cable
Open ADB command window and type the following commands
Code:
adb shell
Code:
mke2fs /dev/block/mmcblk0p3
Code:
mount -w -t ext4 /dev/block/mmcblk0p3
Code:
reboot
Now your phone will boot, but it may be in factory mode (ie you can see yellow box showing some ROM information).
Remove factory mode:
There are different methods that we can use to remove factory mode
In my case
1. Installed custom ROM to get root access
2. Instaled kTool
3. Copy the backup of my efs into sdcard (you can use .img or tar file)
4. Open kTool and restore the efs
5. Reboot the phone
* This method is the easiest and safest method because when you are getting the efs mount error there is a chance of loosing your IMEI and some other files, in that situation the following methods will not work.
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install ES File Explorer
3. Open ES File Explorer and turn on Root Explorer
4. Navigate to /efs folder
5. Open factorymode as txt in ES Note Editor
6. Change it from OFF to ON and save
7. Reboot your phone
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install Terminal Emulator
3. Run the following 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
i did it but i have this issue when inputing "mount -w -t ext4 /dev/block/mmcblk0p3"
It says "mount: can´t find /dev/block/mmcblk0p3 in /etc/fstab"
Please, save my day.
nachocarp said:
i did it but i have this issue when inputing "mount -w -t ext4 /dev/block/mmcblk0p3"
It says "mount: can´t find /dev/block/mmcblk0p3 in /etc/fstab"
Please, save my day.
Click to expand...
Click to collapse
Is there any error while running this command
mke2fs /dev/block/mmcblk0p3
anukilimanoor said:
Is there any error while running this command
mke2fs /dev/block/mmcblk0p3
Click to expand...
Click to collapse
No, its all fine.
nachocarp said:
i did it but i have this issue when inputing "mount -w -t ext4 /dev/block/mmcblk0p3"
It says "mount: can´t find /dev/block/mmcblk0p3 in /etc/fstab"
Please, save my day.
Click to expand...
Click to collapse
same with me too, pls save my day
Edit: so in the command window, last line of code after running
mke2fs /dev/block/mmcblk0p3
i got :
The filesystem will be automatically checked every 35 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
So in the code:
mount -w -t ext4 /dev/block/mmcblk0p3
I replaced -w and -t with -c and -i respectively.
Note: -c and -i was pulled from:
The filesystem will be automatically checked every 35 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
reboot
Boom! it worked.
DONT FOEGET TO HIT THE THANKS BUTTON
ahmmyreal said:
same with me too, pls save my day
Edit: so in the command window, last line of code after running
mke2fs /dev/block/mmcblk0p3
i got :
The filesystem will be automatically checked every 35 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
So in the code:
mount -w -t ext4 /dev/block/mmcblk0p3
I replaced -w and -t with -c and -i respectively.
Note: -c and -i was pulled from:
The filesystem will be automatically checked every 35 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
reboot
Boom! it worked.
DONT FOEGET TO HIT THE THANKS BUTTON
Click to expand...
Click to collapse
I did it and this is what it shows. Then when i try to remove factory mode, i have trouble when inputing
chown 1000.1000 /efs/FactoryApp/keystr
and
chmod 0744 /efs/FactoryApp/keystr
Still, it worked but i dont have my imei.
When you reboot from adb, does the phone starts with the correct imei?
Do i need to have a previous backup for this method to work?
anukilimanoor said:
Is there any error while running this command
mke2fs /dev/block/mmcblk0p3
Click to expand...
Click to collapse
When you reboot from adb, does the phone starts with the correct imei?
Do i need to have a previous backup for this method to work?
Nice tut mate. Nice and detailed. :thumbup: great info for the community.
anukilimanoor said:
My phone was dead due to unknown reason. It was very slow for last couple of days, so I reboot the phone into recovery and then wipe cache and dalvik. After the wipe I reboot the phone but it stuck on Samsung logo. So I tried different unsuccessful methods like, flash stock ROM, restore efs folder, etc...
After flashing the stock ROM, rebooted the phone into recovery for factory reset, then only I noticed the error E:failed to mount /efs (Invalid argument). If you are on CWM recovery then you may not see this error.
Solution:
Flash an official firmware from sammobile
Flash CWM recovery
Boot into Recovery
Select mount and storage -> mont /system
Connect your phone to PC using USB cable
Open ADB command window and type the following commands
Code:
adb shell
Code:
mke2fs /dev/block/mmcblk0p3
Code:
mount -w -t ext4 /dev/block/mmcblk0p3
Code:
reboot
Now your phone will boot, but it may be in factory mode (ie you can see yellow box showing some ROM information).
Remove factory mode:
There are different methods that we can use to remove factory mode
In my case
1. Installed custom ROM to get root access
2. Instaled kTool
3. Copy the backup of my efs into sdcard (you can use .img or tar file)
4. Open kTool and restore the efs
5. Reboot the phone
* This method is the easiest and safest method because when you are getting the efs mount error there is a chance of loosing your IMEI and some other files, in that situation the following methods will not work.
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install ES File Explorer
3. Open ES File Explorer and turn on Root Explorer
4. Navigate to /efs folder
5. Open factorymode as txt in ES Note Editor
6. Change it from OFF to ON and save
7. Reboot your phone
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install Terminal Emulator
3. Run the following 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
I've got a couple of questions
1. On what official firmwares should i choose from sammobile? because there's a lot firmware from different region
2. I've install adb before, but in the command prompt, it said that adb is not recognized. What should i do?
path
>>2. I've install adb before, but in the command prompt, it said that adb is not recognized. What should i do?
The path to adb.exe may not have been properly set in the environment variable PATH.
You may just 'cd' to the folder named "platform-tools" and run adb.exe . It should work as it's meant to.
help for samsung Galaxy S3- I9300
anukilimanoor said:
My phone was dead due to unknown reason. It was very slow for last couple of days, so I reboot the phone into recovery and then wipe cache and dalvik. After the wipe I reboot the phone but it stuck on Samsung logo. So I tried different unsuccessful methods like, flash stock ROM, restore efs folder, etc...
After flashing the stock ROM, rebooted the phone into recovery for factory reset, then only I noticed the error E:failed to mount /efs (Invalid argument). If you are on CWM recovery then you may not see this error.
Solution:
Flash an official firmware from sammobile
Flash CWM recovery
Boot into Recovery
Select mount and storage -> mont /system
Connect your phone to PC using USB cable
Open ADB command window and type the following commands
Code:
adb shell
Code:
mke2fs /dev/block/mmcblk0p3
Code:
mount -w -t ext4 /dev/block/mmcblk0p3
Code:
reboot
Now your phone will boot, but it may be in factory mode (ie you can see yellow box showing some ROM information).
Remove factory mode:
There are different methods that we can use to remove factory mode
In my case
1. Installed custom ROM to get root access
2. Instaled kTool
3. Copy the backup of my efs into sdcard (you can use .img or tar file)
4. Open kTool and restore the efs
5. Reboot the phone
* This method is the easiest and safest method because when you are getting the efs mount error there is a chance of loosing your IMEI and some other files, in that situation the following methods will not work.
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install ES File Explorer
3. Open ES File Explorer and turn on Root Explorer
4. Navigate to /efs folder
5. Open factorymode as txt in ES Note Editor
6. Change it from OFF to ON and save
7. Reboot your phone
OR
1. Root your phone (Either root manually or install a custom ROM)
2. Install Terminal Emulator
3. Run the following 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
My S3-I9300 not detect in Adb. "error: device not found"
tool to move about factory and user mode
I've used the following tool to go 'to and fro' the factory mode. It's useful enough.
[TOOL] Updated! 26/06/14 - EFS Professional … | Samsung Galaxy S II I9100 | XDA Forums
http://forum.xda-developers.com/gal...ol-updated-09-06-14-efs-professional-t1308546
Same trouble and fix it!
At this step:
Code:
mount -w -t ext4 /dev/block/mmcblk0p3
at the end of the sentence put an space slash and efs, you have to see something like this:
Code:
mount -w -t ext4 /dev/block/mmcblk0p3 / efs --> (then push enter key, then make the last step "reboot" to reboot your phone).
Then your phone have to start normaly but in recovery mode [showing you a yellow information of the system phone]. Look at this thread http://forum.xda-developers.com/showthread.php?t=2389426