[Q] Help Needed Regarding Device Info - Galaxy S 4 Q&A, Help & Troubleshooting

Can anyone help me with this ? Recently I got this update device info thing and I do not know what to do about it .

x3YoonYulSic said:
Can anyone help me with this ? Recently I got this update device info thing and I do not know what to do about it .
Click to expand...
Click to collapse
Factory mode is enabled
do this:
you must be rooted.
using root explorer or file explorer or what else,
open file "factorymode" in efs/factoryApp directory, it probabely says "off", change to "on" (yes "on" is the correct setting to turn it off), then save
reboot
sent from my Galaxy

samersh72 said:
Factory mode is enabled
do this:
you must be rooted.
using root explorer or file explorer or what else,
open file "factorymode" in efs/factoryApp directory, it probabely says "off", change to "on" (yes "on" is the correct setting to turn it off), then save
reboot
sent from my Galaxy
Click to expand...
Click to collapse
Samersh72,
I've seen you helping people with this problem, but mine is a bit different. My EFS folder is empity. I cannot follow theses steps you wrote because i got an error. Could you help me!?
PS: My IMEI is working fine, calls everything. Just the FactoryMode (Text on the main screen).

rlucasrn said:
Samersh72,
I've seen you helping people with this problem, but mine is a bit different. My EFS folder is empity. I cannot follow theses steps you wrote because i got an error. Could you help me!?
PS: My IMEI is working fine, calls everything. Just the FactoryMode (Text on the main screen).
Click to expand...
Click to collapse
you must be rooted
type in terminal emulator
Code:
su
mount /efs
mount -o remount,rw /efs
echo -n ON > /efs/FactoryApp/keystr
echo -n ON > /efs/FactoryApp/factorymode
sync
reboot

samersh72 said:
you must be rooted
type in terminal emulator
Code:
su
mount /efs
mount -o remount,rw /efs
echo -n ON > /efs/FactoryApp/keystr
echo -n ON > /efs/FactoryApp/factorymode
sync
reboot
Click to expand...
Click to collapse
I'm typing exactly as you put "mount /efs" but i'm getting the following sintaxe error: "Usage Mount...[-r] [-w] [-o option] [-t type] device directory"
And yes, i'm rooted, with CF Auto Root...
Just adding...
I was using ES Explorer app to check the efs folder, and it was giving me empty as response. I changed o Root Explorer App and EFS folder seems ok. Now i think will be easier to fix.

rlucasrn said:
I'm typing exactly as you put "mount /efs" but i'm getting the following sintaxe error: "Usage Mount...[-r] [-w] [-o option] [-t type] device directory"
And yes, i'm rooted, with CF Auto Root...
Click to expand...
Click to collapse
try without the 2 mounting commands.
what is your variant??
in es explorer you must set the root access as r/w

samersh72 said:
try without the 2 mounting commands.
what is your variant??
Click to expand...
Click to collapse
Man, its done... Many Thanks..
After i was able to see the EFS content on Root Explorer app, i tried to change the factorymode status, but it was denied. Then, on the terminal emulator i changed the file permissions (chmod) e put it ON. Reboot and everything is OK.
Again many thanks...

hi,i have the fix for you.
x3YoonYulSic said:
Can anyone help me with this ? Recently I got this update device info thing and I do not know what to do about it .
Click to expand...
Click to collapse
i was had problem like that but without that yellow box.but i was have red words that said(factor mode is on some features may not work...wifi is turned off...etc)...hidden menu was not working...but after play with permissions...althing work again normally.u
**you have four ways to fix your problem(the first one that a member tell you to use a terminal and change valuse)...two using my methode...three->
using a tool called best smart tool(i t can falsh your phone and write efs folder and imei(from under battrey) using your usb cable)...four--> using jtag
service.
first you should be rooted and you have installed es file manager and give it root permission:
*permission for efs folder:
permissions:
*FactoryApp folder permissions:
owner and group: root root
permissions:
*factormode file permissions:
*keystr file permissions:
*carrier folder permissions:
*HiddenMenu file perimissonshis wil turn on your hiddenmenu in dial phone)
*imei folder permissions:
*mps_code.dat permissions:
***this is permissions for files that affect factorymode and imei....if you need permissions for another files please tell me.
i have galaxy s4 verizon on android 4.4.2 (kitkat)

Related

[Q] Some system maps

Hi Every body,
In quit new in Android.
I just finaly rooted en S-Off my Desire.
Now I want to copy a file in to a system map, but I cant safe in that map.
Is there a way that I can Chmod the right, so I can Copy too their.
Check the file system you're trying to copy to, it might well be mounted as read-only. If you have permanent root you should be able to remount it as read/write.
steviewevie said:
Check the file system you're trying to copy to, it might well be mounted as read-only. If you have permanent root you should be able to remount it as read/write.
Click to expand...
Click to collapse
I am permanent root, waht should i do to get the map Write.
Is their een special chmod tool.
I use ES file Explorer.
Redbaser said:
I am permanent root, waht should i do to get the map Write.
Is their een special chmod tool.
I use ES file Explorer.
Click to expand...
Click to collapse
You need to mount /system as read/write :
Code:
mount -o remount,rw /system
Make your changes, then when you're done :
Code:
mount -o remount,ro /system
steviewevie said:
You need to mount /system as read/write :
Code:
mount -o remount,rw /system
Make your changes, then when you're done :
Code:
mount -o remount,ro /system
Click to expand...
Click to collapse
From my Pc then it is:
Code:
adb shell
Code:
su
Code:
mount -o remount,rw /system/media/audio/notifications
Code:
exit
Code:
exit
Redbaser said:
Code:
mount -o remount,rw /system/media/audio/notifications
Click to expand...
Click to collapse
No, you need to remount the /system file system (/system/media/audio/notifications) is just a directory within that file system.
Then go into that directory and make any changes that you need to. Then remount it as read-only when you're done.
steviewevie said:
No, you need to remount the /system file system (/system/media/audio/notifications) is just a directory within that file system.
Then go into that directory and make any changes that you need to. Then remount it as read-only when you're done.
Click to expand...
Click to collapse
I did it whit my terminal emulator,
just you told.
I want to copy a file in that directory, it want work, premision denied
I typed
su
#mount -o remount, rw /system
Then I tried to copy
Redbaser said:
I did it whit my terminal emulator,
just you told.
I want to copy a file in that directory, it want work, premision denied
I typed
su
#mount -o remount, rw /system
Then I tried to copy
Click to expand...
Click to collapse
Check your steps again. I just created a new file in that directory fine.
Did the su work ?
You're not typing that "#" symbol, are you ? That's the command prompt when you're root.
steviewevie said:
Check your steps again. I just created a new file in that directory fine.
Did the su work ?
You're not typing that "#" symbol, are you ? That's the command prompt when you're root.
Click to expand...
Click to collapse
I treid again, I type su, then $ change in #
I type mount -o remount, rw /system (puch enter)
I open ES file Explorer, the directory is still no Rightable only Read.
I
Redbaser said:
I treid again, I type su, then $ change in #
I type mount -o remount, rw /system (puch enter)
I open ES file Explorer, the directory is still no Rightable only Read.
Click to expand...
Click to collapse
The problem is ES File Explorer isn't running as the root user. So you can do a "chmod 777 /system/media/audio/notifications" then it will work.
steviewevie said:
The problem is ES File Explorer isn't running as the root user. So you can do a "chmod 777 /system/media/audio/notifications" then it will work.
Click to expand...
Click to collapse
Wich App do i need or how can i made the explorer as root user.
Redbaser said:
Wich App do i need or how can i made the explorer as root user.
Click to expand...
Click to collapse
Are you not comfortable doing it via the command line ? There is an "experimental" option within ES File Explorer to let it run as root, but I just tried it, and it doesn't work on the stock ROM.
I checked and it looks like one of the other main explorers, Astro, doesn't work as root either.
Maybe try the Root Explorer app (hmm, though I see you have to pay for it) ? Anyone else have recommendations ?
steviewevie said:
Are you not comfortable doing it via the command line ? There is an "experimental" option within ES File Explorer to let it run as root, but I just tried it, and it doesn't work on the stock ROM.
Click to expand...
Click to collapse
I so new whit android, I Realy dont now what are you mean, Sorry
Redbaser said:
I so new whit android, I Realy dont now what are you mean, Sorry
Click to expand...
Click to collapse
If you are willing to pay for the "Root Explorer" app, which you will find on the Android market, then that should do what you want (i.e. give you a file explorer app that will work as root).

Can't open xRecovery

Hey
I've tried to install xrecovery, and done what this video says: http://www.youtube.com/watch?v=O6eRfqs8TVs but when i reboot, it won't work. Nothing happends when i press the bkac button alot.
If it is some files, causing this, then please send me yours, so i don't have to ask for them, when you have answered
SimonXiDk said:
Hey
I've tried to install xrecovery, and done what this video says: http://www.youtube.com/watch?v=O6eRfqs8TVs but when i reboot, it won't work. Nothing happends when i press the bkac button alot.
If it is some files, causing this, then please send me yours, so i don't have to ask for them, when you have answered
Click to expand...
Click to collapse
It happens to me to at the first time, all you have to do is delete the files and paste them again.. xD if still didn't work, i'll post my files here so you can tried..
I have tried now, but it won't work. I would be glad if you posted your files :b
Have you set the right permissions for the files?
All files needs to be writeable. The easiest way to set the write permissions is to use root explorer.
Or if using terminal emulator: Chmod each file to: 777
After a lot of trying this worked for me:
1. Download xRecovery from here.
2. Copy three files to sdcard - xrecovery.tar, busybox, chargemon
3. Just in case, get Busybox from Market and install it.
4. Copy three files from sdcard to /system/bin - don't forget to mount system as r/w (you can do it with Root Explorer by simply clicking "mount r/w" button)
5. Chmod all three files to 777 - with Root Explorer, open context menu for file and select "Permissions" and make sure all 9 boxes are ticked. Or, use adb shell.
6. Turn off your phone normally.
7. Turn on and keep pressing back button, now you should enter xRecovery.
blagus said:
5. Chmod all three files to 777 - with Root Explorer, open context menu for file and select "Permissions" and make sure all 9 boxes are ticked. Or, use adb shell.
Click to expand...
Click to collapse
Can i give permission, when the files are in the bin? Will it work then?
blagus, i did what you said, but still, with no luck .. :s
SimonXiDk said:
blagus, i did what you said, but still, with no luck .. :s
Click to expand...
Click to collapse
It is important to install xRecovery 0.1!!!
I have tried to install 0.3 first but it is not work on X8.
So use this only: http://forum.xda-developers.com/showthread.php?t=878426
qsmyle said:
It is important to install xRecovery 0.1!!!
I have tried to install 0.3 first but it is not work on X8.
So use this only: http://forum.xda-developers.com/showthread.php?t=878426
Click to expand...
Click to collapse
If you read the whole thread, then you would know, that it is the same that blagus said. And as i said, i did all that he said.
Use this files.. If didn't work, I don't know what to say, can't understand your problem..
Now i got to know that i should download these same three files three times. again - it do not work.
SimonXiDk said:
Now i got to know that i should download these same three files three times. again - it do not work.
Click to expand...
Click to collapse
Here did you pasted those files? Didn't you already having xrecovery running well, before you reflash your phone?
Now you get the story:
First of all, i tried in hours to get xRecovery work on my phone. Then succesfully, in some unknown way, i made it work.
Then i screwed up, and deleted the bin, so my phone wouldn't turn on.
Then i had to use SEUS to get my phone work, and I did that succesfully. But it was only 2.1 now.
Now i want 2.2 again, but can't make xRecovery work.
Weee it works now D I have no idea what I did diffrent this time, but it works now D thank you all for taking time, to help me ;b
And you're using 2.1 android, right? Is it rooted? If yes, all you have too do (and before that, delete the old files that you already pasted, except busybox..):
-put the files on your sdcard root;
-go to root explorer and to the sdcard folder;
- forget it busybox, just copy the other files;
- go to system/bin and then select the W/R option;
- then just paste them e restart your phone..
Then press a few times the back key, right after SE logo apears.. If you did't get anything, go again to the bin folder with root explorer and see if was created a folder with the xrecovery name.. If yes, just try again pressing back key until you get xrecovery menu..
" adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push "D:\Manu\Android\xrecovery/chargemon" "/sdcard/tmp/chargemon"
failed to copy 'D:\Manu\Android\xrecovery/chargemon' to '/sdcard/tmp/chargemon': Permission denied
adb push "D:\Manu\Android\xrecovery/xrecovery.tar" "/sdcard/tmp/xrecovery.tar"
failed to copy 'D:\Manu\Android\xrecovery/xrecovery.tar' to '/sdcard/tmp/xrecovery.tar': Permission denied
adb shell dd if="/sdcard/tmp/chargemon" of="/system/bin/chargemon"
/sdcard/tmp/chargemon: cannot open for read: Permission denied
adb shell dd if="/sdcard/tmp/xrecovery.tar" of="/system/bin/xrecovery.tar"
/sdcard/tmp/xrecovery.tar: cannot open for read: Permission denied "
what should i do?
crazyboy05 said:
" adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push "D:\Manu\Android\xrecovery/chargemon" "/sdcard/tmp/chargemon"
failed to copy 'D:\Manu\Android\xrecovery/chargemon' to '/sdcard/tmp/chargemon': Permission denied
adb push "D:\Manu\Android\xrecovery/xrecovery.tar" "/sdcard/tmp/xrecovery.tar"
failed to copy 'D:\Manu\Android\xrecovery/xrecovery.tar' to '/sdcard/tmp/xrecovery.tar': Permission denied
adb shell dd if="/sdcard/tmp/chargemon" of="/system/bin/chargemon"
/sdcard/tmp/chargemon: cannot open for read: Permission denied
adb shell dd if="/sdcard/tmp/xrecovery.tar" of="/system/bin/xrecovery.tar"
/sdcard/tmp/xrecovery.tar: cannot open for read: Permission denied "
what should i do?
Click to expand...
Click to collapse
you're going to need to mount the system first. I believe it's adb shell -> su -> then something. Can't remember now.

Unable To Turn on Wi-Fi

I'm having an issue with wi-fi. I'm running Andromadus Audacity 2. Yesterday I ran into an issue where my phone was randomly rebooting. I decided to reflash the rom and when I did so I could no longer connect to Wi-Fi. I can turn Wi-Fi on but it will immediately turn back off. In settings it will only say turning wi-fi on and hang up there.
I don't think that the issue is the router since my wife's G2 and other devices we have in the house still work fine on wi-fi.
Also it's not the rom because I have superwiped and reinstalled, then tried installing cm7, and ilwt. The issue persists on each rom. I have superwiped each time before installing.
I am really at a loss for what to do, I didn't change any settings on the phone and regardless, I don't know what I could have changed that would have carried over through flashing a new rom. I would appreciate any ideas on what to do.
ETA - I have changed the radio and the kernel and still no luck.
Check
Sent from my HTC Vision using XDA
Sorry accidental send, check the /etc/wifi/wpa*.conf permissions and ownership. This happened to me when that file was off.
Sent from my HTC Vision using XDA
A_Elizondo said:
Sorry accidental send, check the /etc/wifi/wpa*.conf permissions and ownership. This happened to me when that file was off.
Sent from my HTC Vision using XDA
Click to expand...
Click to collapse
When you say off do you mean it was absent?
When I got to /etc/wifi/ there is a file named wpa_supplicant.conf, it is the only file in the folder
the text file says:
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
mbrentrowe said:
When you say off do you mean it was absent?
When I got to /etc/wifi/ there is a file named wpa_supplicant.conf, it is the only file in the folder
the text file says:
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
Click to expand...
Click to collapse
Sorry my English is not as great as I wished it would be, this is what happens when I try to use "slang". When I say off I mean not correct. That is the correct file "wpa_supplicant.conf"
/etc/wifi/wpa_supplicant.conf --> needs rw-r--r--
/system/bin/wpa_supplicant --> needs rwxr-xr-x
I just checked my files and they are both owned by root and all works well so I guess its not an issue that wifi does not own them.
A_Elizondo said:
Sorry my English is not as great as I wished it would be, this is what happens when I try to use "slang". When I say off I mean not correct. That is the correct file "wpa_supplicant.conf"
/etc/wifi/wpa_supplicant.conf --> needs rw-r--r--
/system/bin/wpa_supplicant --> needs rwxr-xr-x
I just checked my files and they are both owned by root and all works well so I guess its not an issue that wifi does not own them.
Click to expand...
Click to collapse
Sorry I just misunderstood.
I checked both files and they had the same permissions that you wrote out.
mbrentrowe said:
Sorry I just misunderstood.
I checked both files and they had the same permissions that you wrote out.
Click to expand...
Click to collapse
Not sure if this helps but this is what's under my /etc/wifi/wpa_supplicant.conf file
update_config=1
ctrl_interface=eth0
eapol_version=1
ap_scan=1
fast_reauth=1
Notice my ctrl_interface=eth0 (thats a zero) I'd test that out see if it fixes it, if not then I'd download another rom and extract both /etc/wifi/wpa_supplicant.conf and /system/bin/wpa_supplicant files from it and replace yours. Again verify permissions are correct.
A_Elizondo said:
Not sure if this helps but this is what's under my /etc/wifi/wpa_supplicant.conf file
update_config=1
ctrl_interface=eth0
eapol_version=1
ap_scan=1
fast_reauth=1
Notice my ctrl_interface=eth0 (thats a zero) I'd test that out see if it fixes it, if not then I'd download another rom and extract both /etc/wifi/wpa_supplicant.conf and /system/bin/wpa_supplicant files from it and replace yours. Again verify permissions are correct.
Click to expand...
Click to collapse
Hey I'm on lunch now, in that file it says for ctrl_interface=wlan0. I am using es file explorer, it won't let me change it there but I think I read somewhere I can create a text file saying what I want it to and place it in the folder. Not sure if that will work.
As for the other roms, wifi doesn't work on any rom that I use.
mbrentrowe said:
Hey I'm on lunch now, in that file it says for ctrl_interface=wlan0. I am using es file explorer, it won't let me change it there but I think I read somewhere I can create a text file saying what I want it to and place it in the folder. Not sure if that will work.
As for the other roms, wifi doesn't work on any rom that I use.
Click to expand...
Click to collapse
You can replace the file using a terminal emulator here are the steps
Open terminal emulator and log in as super user by typing the following
su
Make the System Partition have read/write access by typing the following
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Now you can modify the file using es file explorer
When complete make the system partition read only by doing the following
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
You can also copy and replace the file using adb, not sure how familiar you are with that but the above should work.
A_Elizondo said:
You can replace the file using a terminal emulator here are the steps
Open terminal emulator and log in as super user by typing the following
su
Make the System Partition have read/write access by typing the following
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Now you can modify the file using es file explorer
When complete make the system partition read only by doing the following
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
You can also copy and replace the file using adb, not sure how familiar you are with that but the above should work.
Click to expand...
Click to collapse
Hmmm, I went into terminal emulator and did just as you said. This is what it says after I pasted in what you wrote to give me read/write access:
Usage: mount [-r] [-w] [-o options] [-t type] device directory
After I did that it still won't let me change that file.
Sorry you are correct that command only works in adb do this instead of the above command
mount -o remount,rw /system
then when you are done do this instead of the other read only command
mount -o remount,r /system
A_Elizondo said:
Sorry you are correct that command only works in adb do this instead of the above command
mount -o remount,rw /system
then when you are done do this instead of the other read only command
mount -o remount,r /system
Click to expand...
Click to collapse
Thanks I will try it, but I'm becoming more convinced this is a hardware issue.
I was on the phone today and the phone froze and I had to pull the battery. When I restarted the phone Wi-Fi was working for the first time in a week. While it was working I checked that file and it said the same exact thing. The phone then froze again (I think it was my fault because in the excitement of having Wi-Fi again I tried to update all of my apps and other things I can't do on the crappy 2g data I have at home) when I turned it back on Wi-Fi was no longer working.
So now I'm thinking that this has to be hardware. I will give your method a try.
Yea I think you are correct especially since you tried different roms. If you have warranty just unroot it and return it else keep posting here about the status and a will find a work around eventually
Sent from my HTC Vision using XDA
Well I finally switched back to ilwt and my wifi isn't working all of the time but it has worked for a few hours each day since I flashed it. Whereas on andromadus it didn't work at all for two months. Still haven't figured out what happened but at least I get to keep my G2. Although I'll probably move on the first time they put the note on sale later this year. Thanks aeliizondo for trying to help me!
Sent from my HTC Vision using XDA

[Q] MAC Address Keeps changing

Everything was good until I started messing with the 4.4 roms. Now no matter what I do. Full Wipe, Factory Image restore, try different Roms/Kernels, etc, my MAC Address will reset after every reboot. This is an issues as I use Mac Filtering on my router. Any Ideas?
The same is happening to me and I can't find a way to fix it!
It sucks because my main connection (my University wifi) doesn't let me connect if I have a different MAC Address.
I'm using this app to change my MAC (temporarily) https://play.google.com/store/apps/details?id=com.jworksbr.macspoofer
You need root to make it works.
Anyway, I'm still trying to find a way to get my original MAC address back.
joaocadide said:
The same is happening to me and I can't find a way to fix it!
It sucks because my main connection (my University wifi) doesn't let me connect if I have a different MAC Address.
I'm using this app to change my MAC (temporarily) https://play.google.com/store/apps/details?id=com.jworksbr.macspoofer
You need root to make it works.
Anyway, I'm still trying to find a way to get my original MAC address back.
Click to expand...
Click to collapse
I ended up using http://forum.xda-developers.com/showthread.php?t=2347060
For mac address:
- In /persist directory create wifi directory. In the new directory create a file named .macaddr (don't miss the dot!)
Edit the file and put 12 random hex numbers in it (0-9, A-F), save.
- Set execute and read permissions for everybody on /persist/wifi directory and change owner of .macaddr to wifi:wifi and permission to 660 (read/write for owner and group and nothing else).
In command line:
Code:
chown root:root /persist/wifi
chmod 755 /persist/wifi
chown wifi:wifi /persist/wifi/.macaddr
chmod 660 /persist/wifi/.macaddr
- run /system/bin/conn_init program. Can be run in root explorer(choose Linux Script Handler when you open it), or in adb shell:
Code:
su
/system/bin/conn_init
Then reboot and check if the changes got applied in settings
I cant get my original one back but at least I have a static MAC.
..
chainup said:
For me it's only the last 6 numbers/letters that keep changing on reboot. For both Wifi and Bluetooth. Is it the same for you guys?
Click to expand...
Click to collapse
Yeah first are always 11:22:33
Thank you, bandit97!
It's working fine now! =D
bandit97 said:
I ended up using http://forum.xda-developers.com/showthread.php?t=2347060
For mac address:
- In /persist directory create wifi directory. In the new directory create a file named .macaddr (don't miss the dot!)
Edit the file and put 12 random hex numbers in it (0-9, A-F), save.
- Set execute and read permissions for everybody on /persist/wifi directory and change owner of .macaddr to wifi:wifi and permission to 660 (read/write for owner and group and nothing else).
In command line:
Code:
chown root:root /persist/wifi
chmod 755 /persist/wifi
chown wifi:wifi /persist/wifi/.macaddr
chmod 660 /persist/wifi/.macaddr
- run /system/bin/conn_init program. Can be run in root explorer(choose Linux Script Handler when you open it), or in adb shell:
Code:
su
/system/bin/conn_init
Then reboot and check if the changes got applied in settings
I cant get my original one back but at least I have a static MAC.
Click to expand...
Click to collapse
i came from your link too but this didn't work for me
anyone know why?
Hi. This has been driving me crazy! My Nexus 4 also gets a new Mac address on each reboot. My local WiFi hotspot thinks i am a new customer every time I visit (as it uses Mac address filtering) which is frustrating. I got onto Google about it but they said i should return the phone to the retailer (didn't get it on the Play store). I tried reverting the phone to Android 4.3, resetting etc but nothing works. I the phone was fine at first so I can only assume it is a hardware fault. Does anyone have any more incite into this or a solution?
Could someone explain how I run the commands in an adb shell? I'm familiar with adb and android toolkit etc. Many thanks! PS. I tried it using root explorer and it did not work
Sent from my Nexus 4 using xda app-developers app
Where is /persist directory?
bandit97 said:
I ended up using http://forum.xda-developers.com/showthread.php?t=2347060
For mac address:
- In /persist directory create wifi directory. In the new directory create a file named .macaddr (don't miss the dot!)
Edit the file and put 12 random hex numbers in it (0-9, A-F), save.
- Set execute and read permissions for everybody on /persist/wifi directory and change owner of .macaddr to wifi:wifi and permission to 660 (read/write for owner and group and nothing else).
In command line:
Code:
chown root:root /persist/wifi
chmod 755 /persist/wifi
chown wifi:wifi /persist/wifi/.macaddr
chmod 660 /persist/wifi/.macaddr
- run /system/bin/conn_init program. Can be run in root explorer(choose Linux Script Handler when you open it), or in adb shell:
Code:
su
/system/bin/conn_init
Then reboot and check if the changes got applied in settings
I cant get my original one back but at least I have a static MAC.
Click to expand...
Click to collapse
Where is the /persist directory found? Does this work on unrooted phones? I have the Chinese S5 phone which changed Mac address every time I reboot or turn off and on the wifi. This has me logging in to my router to add a new mac every time.
You DO need to be rooted
ayonbaxter said:
Where is the /persist directory found? Does this work on unrooted phones? I have the Chinese S5 phone which changed Mac address every time I reboot or turn off and on the wifi. This has me logging in to my router to add a new mac every time.
Click to expand...
Click to collapse
Hello, you need not only root access, but a file manager capable of mounting read-write permissions, like ES File Explorer (free on Google Play).
If you have a Terminal Emulator, this will help. If not, find one on the Play Store. My favorite is from developer Jack Palevich, found here.
Otherwise, you won't see the directory on a stock file manager, especially if you're NOT rooted. Although I am on CM 10.2, this has plagued me as well when I was running CM11.
Good luck!
furboom1240 said:
Hello, you need not only root access, but a file manager capable of mounting read-write permissions, like ES File Explorer (free on ).
If you have a Terminal Emulator, this will help. If not, find one on the Play Store. My favorite is from developer Jack Palevich, found .
Otherwise, you won't see the directory on a stock file manager, especially if you're NOT rooted. Although I am on CM 10.2, this has plagued me as well when I was running CM11.
Good luck!
Click to expand...
Click to collapse
i have the same problem, i cant find the /persist directory. i installed ES file exloprer but on / there is no /persist folder only these folders:
acct, cache, config, custom, d, data , dev, etc, mnt, proc ,protect_f,protect_s, root, sbchk, sbin, sdcard, sys,system, vendor
can i create a persist folder or do i have a bigger problem with my system?
Lack of Details
tommy0014 said:
i have the same problem, i cant find the /persist directory. i installed ES file exloprer but on / there is no /persist folder only these folders:
acct, cache, config, custom, d, data , dev, etc, mnt, proc ,protect_f,protect_s, root, sbchk, sbin, sdcard, sys,system, vendor
can i create a persist folder or do i have a bigger problem with my system?
Click to expand...
Click to collapse
First of all, do you have Superuser-managed root access? In order for me to assist, you need to answer that. The /persist directory should certainly exist, as it was so on all devices I own, rooted or not. When browsing the filesystem, please be careful what you mess with. Even with root access, you must exercise judgment in what you modify.
As always, Root Responsibly.
Stay custom, my friends...

lost all permissions after messing with platform.xml

Hello,
I have SM-N9005 variant and recently I updated to the latest android 4.4.2 leaked version with Odin, and then rooted with CF-Auto-Root.
After that, I lost the permission to write to external sdcard.
I searched and found this: http://forum.xda-developers.com/showthread.php?p=49603814
I backed up /system/etc/permissions/platform.xml and then I followed the instructions there.
After restart, a lot of app stopping messages showed and I had no access to file system or network anymore.
I used adb shell to restore the original platform.xml but it didn't helped in any way.
It seems that all mounts and networks are working, but none of the applications has permission to use any of them.
How do I resolve this, without wiping all my data?
Thank you!
You need to set the correct permissions on the .xml after you overwrite it back into the /system Off the top of my head I can't think what they are (just out of bed and got to work so still sleepy!)
radicalisto said:
You need to set the correct permissions on the .xml after you overwrite it back into the /system Off the top of my head I can't think what they are (just out of bed and got to work so still sleepy!)
Click to expand...
Click to collapse
I tried 644 and 777 but the problem persists.
rw-r-r which is 644 - read wrong
or chmod 666 -- forgive my lack of memory, it has been a long time since I have used chmod commands, few years since my glFTPD / site modding days.
radicalisto said:
rw-r-r which is 644 - read wrong
or chmod 666 -- forgive my lack of memory, it has been a long time since I have used chmod commands, few years since my glFTPD / site modding days.
Click to expand...
Click to collapse
The problem still persist
DxCK said:
The problem still persist
Click to expand...
Click to collapse
i dont know if it helps in your situation but did you try the "fix permissions" from a custom recovery like twrp?
there are also scripts you can execute in a terminal, the knoxout script linked in my sig for example has a permission fixer included.
A.N.Droid said:
i dont know if it helps in your situation but did you try the "fix permissions" from a custom recovery like twrp?
there are also scripts you can execute in a terminal, the knoxout script linked in my sig for example has a permission fixer included.
Click to expand...
Click to collapse
Thank you.
When i run this, no matter what are the parameters, for example: sh kn0x0ut.sh kn0x0ut
it says:
ERROR: Unknown parameter ""
Removing all temp folder /data/media/kn0x0ut_temp...
DxCK said:
Thank you.
When i run this, no matter what are the parameters, for example: sh kn0x0ut.sh kn0x0ut
it says:
ERROR: Unknown parameter ""
Removing all temp folder /data/media/kn0x0ut_temp...
Click to expand...
Click to collapse
just type sh kn0x0ut.sh to get all commands.
if you dont get this working, you can do it from twrp (i think cwm too)if you have it.
tap on "advanced" and then on "fix permissions".

Categories

Resources