hi,
I still have adb access,
already tried to adb-push of the original build.prop backup back in place, it is actually uploaded, but won't boot anyway.
backup done by build.prop editor, and file pop and push from a linux machine (so no CRLF thing for sure).
attaching snapshot of logcat.txt
... *HELP*
thank you
the problem was in the file permissions. i had to remove write permissions to the group. (rw-r--r--)
You can fix permissions using adb
Sent from my GT-S5830 using xda premium
the.fuzzy.guy said:
hi,
I still have adb access,
already tried to adb-push of the original build.prop backup back in place, it is actually uploaded, but won't boot anyway.
backup done by build.prop editor, and file pop and push from a linux machine (so no CRLF thing for sure).
attaching snapshot of logcat.txt
... *HELP*
thank you
Click to expand...
Click to collapse
First of all DO NOT WIPE DATA / FACTORY RESET
This will remove adb access. Depending how far you can boot, do you get adb in recovery or normal. Can you use adb shell? If you can you can us adb shell chmod 644 /system/build.prop
EDIT:
Failing that try to install a zip. Sell my links for both current and older zips
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.
This is (nearly) my first post, so hi all !
Before I start with anything else: I searched a lot and found a lot of things, but I'm so newbie that I'm afraid to do anything because I don't quite understand what I'm about to do.
Oh, and I don't speak english natively so forgive me if I make any horrific mistakes :angel:
With all that said, let's begin with my problem...
I have a HUAWEI Y300-0100, and it comes with a funny feature: every time it can't connect to WIFI a popup message appears saying that if you switch to data plan charges may apply.
I am constantly switching between WIFI/no-WIFI zones so that message really bothered me, and I searched a way to disable it.
Presumably, the only way to do that is by modifying a system file called "build.prop". I already had my phone rooted so doing so wasn't very hard.
I used Jota+ to change a setting from "true" to "false" (ro.config.hw******), and saved the file in the root of the SD card. Then, with ES File Explorer, I renamed the "build.prop" in /system to "build.prop.bak" and copied there the "build.prop" I previously saved in the SD root.
All seemed to be fine, except that after rebooting my phone it could not get past the HUAWEI logo.
Android recovery mode seems to work, but I don't know how to use a lot of its options nor I want to do a Factory Reset if there's a better alternative.
Is there a way to modify system files before booting Android? I really would like to try to delete the "build.prop" file and rename the "build.prop.bak" back to "build.prop".
Does any of that make any sense? What do you recommend me to do?
Thank you very much for your help!
From within recovery open adb
adb pull /system/build.prop /some/location/on/PC
Now edit build.prop back to how it was
adb push build.prop /system
adb reboot
Sent from my Nexus 4 using Tapatalk 2
demkantor said:
From within recovery open adb
adb pull /system/build.prop /some/location/on/PC
Now edit build.prop back to how it was
adb push build.prop /system
adb reboot
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Thank you for your response!
I managed to restore the original build.prop, but the phone still doesn't boot.
..Maybe that wasn't the problem. I guess I'll factory reset...
--------------------------
After that it STILL doesn't boot. I have no idea what happened, I did nothing strange apart from editing that file :crying:
If you changed something in /system factory reset won't work
Try either fixing permissions in recovery or
adb chmod 644 /system/build.prop
Sent from my Nexus 4 using Tapatalk 2
demkantor said:
If you changed something in /system factory reset won't work
Try either fixing permissions in recovery or
adb chmod 644 /system/build.prop
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Nothing fixes it... I give up.
Next time be sure to make a backup before you modify
For now wipe clean and install a new ROM or return to stock
Sent from my Nexus 4 using Tapatalk 2
Install a new rom
Sent from my GT-I9100G using xda app-developers app
got an urgent and important question.. please urgent help required.!!!
I edited something in build.prop and restarted. phone goes blank after boot. Tried adb.. [build.prop not found] restored a backup of build.prop into system via adb but after reboot, same thing again and adb shows [build.prop not found again]..!! Can anyone help..?? Also didn't make nandroid backup..
Is there anyway to get the phone running again without losing any data..??
URGENT..!!
Are you either hitting fix permissions in recovery or using adb to chmod the build.prop after pushing it? If not this will happen.
Sent from my Nexus 7 using XDA Premium 4 mobile app
I had some problems with an in call echo. So I tried to fix this by some changes in mixer_paths.xml. I copied the original file to my sd-card so I thought I have a backup. But after I made some changes the phone get stuck and won't reboot. I didn't expect this to happen!
I restarted my phone in TWRP and tried to copy the original file from the sd-card. But I don't know how I can do this. Does anyone have an idea?? Is it possible in terminal? Or should I connect the phone to my computer and try with ADB?
Hopefully there will be a solution and I don't have to reinstall everything!
Edit: In terminal and file manager (in TWRP), I can't find the folder "etc" in "system". There is only the folder "usr". Or should I look at another folder?
NL_henk said:
I had some problems with an in call echo. So I tried to fix this by some changes in mixer_paths.xml. I copied the original file to my sd-card so I thought I have a backup. But after I made some changes the phone get stuck and won't reboot. I didn't expect this to happen!
I restarted my phone in TWRP and tried to copy the original file from the sd-card. But I don't know how I can do this. Does anyone have an idea?? Is it possible in terminal? Or should I connect the phone to my computer and try with ADB?
Hopefully there will be a solution and I don't have to reinstall everything!
Edit: In terminal and file manager (in TWRP), I can't find the folder "etc" in "system". There is only the folder "usr". Or should I look at another folder?
Click to expand...
Click to collapse
Could be just that you forgot to change permissions on mixer_path.xml....you could chmod it from twrp terminal.
chmod 644 /system/etc/mixer_path.xml
You could always restore your nandroid or dirty flash you rom.
Sent from my SM-G955F using Tapatalk