how to edit hosts file - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

I've been trying to work on this and still can't figure out how to do this can somebody give me a step by step
So far I've tried to inStall an ash server to go in and edit it but I cannot get it to work somebody to help

maxgohan said:
I've been trying to work on this and still can't figure out how to do this can somebody give me a step by step
So far I've tried to inStall an ash server to go in and edit it but I cannot get it to work somebody to help
Click to expand...
Click to collapse
two ways to change your hostname
1. open edit /system/etc/dhcpcd/dhcpcd.conf with your favorite text editor. under "interface eth0", type: hostname yourdesiredhostname
2. open your favorit terminal emulator, type: vi /system/etc/dhcpcd/dhcpcd.conf
make above mentioned changes.
-> reboot and it should be working. try to ping your device from another piece of hardware in your home network
if you want to change your hosts file - do the same with /etc/hosts ^^

I keep getting this line...
mv: can't remove '/etc/hosts': Read-only file system

is your device rooted? if yes, you have either so mount your root file system as writeable in your file explorer (if it supports root access, like ES File Explorer), or you have to type "su root" at the beginning of your terminal emulator operations.

same problem with a rooted and unlocked device
two_handed said:
is your device rooted? if yes, you have either so mount your root file system as writeable in your file explorer (if it supports root access, like ES File Explorer), or you have to type "su root" at the beginning of your terminal emulator operations.
Click to expand...
Click to collapse
my device is rooted with kingroot I have installed root explorer and ES file explorer too with giving them root permission as well , but when ever I tried to delete or edit hosts file nothing gets change (with root explorer) and with ES file explorer it says " read only file " I tried to change the permission in properties but failed to save the check boxes result. oh man I forget to mention my problem here my cell is infected by a "freedom" app when finally I found it useless I changed the freedom app setting to "freecore" my device got reboot after that I uninstalled the app , now I am unable to connect with google servers , can't use play store , I also tried hosts file Editor but got no result I know my problem is to delete the hosts file , but something is not letting me to take control over hosts file , my android is 5.1 and model is huawei honor 4c ?

Related

Graffiti & Handwriting apps

Though I could download and install Graffiti on my Gtab , I cannot select it as an input method. A message warns that personal data may be collected, and if I'm sure I want to use the input method. However, after tapping ok, Graffiti remains unchecked. Another similar app gave the same results. Google gesture search seems to work, so I'm hoping someone here might know how to fix this.
(using: TnT-Enhanced v3.1.4b)
Update Edit:
I am getting the same problem with the gingerbread keyboard.
Hello...
I had the same issue and gaspra over at this post gave me the answer... Hope this helps you out. BTW, there is a free version of Root Explorer in the market.
http://forum.xda-developers.com/showthread.php?t=993752
you will need a root explorer, it's on app market but not free.
From Root Explorer, open the /data/app/ folder and you will find the
keyboard you just installed. Then copy the apk file to /system/app, note
this is where you need the Root Explorer to change the permission for
/system folder from R/W to R/O (allowing permission to write in this folder
by user).
Do a restart once you finish copying the file. The new input method
should be enabled by default then.
Alternatively you can use "adb" tool from Android SDK to transfer the
apk file if you don't have a copy of Root Explorer.

(Q) Edit build.prop

Hi mates. I am experiencing issues in editing the build.prop. I mean: even if I can access the file, when I try to save it, it tells me I cannot...
I use file expert to browse and jota text to edit (both free). Es file explorer does not allow me to set root option...maybe it it's not working with note yet...
In any case I don't know what to do to save the new build.prop.
Any suggestions?
Thx to all...
Sent from my GT-N7000 using XDA App
Diamantes said:
Hi mates. I am experiencing issues in editing the build.prop. I mean: even if I can access the file, when I try to save it, it tells me I cannot...
I use file expert to browse and jota text to edit (both free). Es file explorer does not allow me to set root option...maybe it it's not working with note yet...
In any case I don't know what to do to save the new build.prop.
Any suggestions?
Thx to all...
Sent from my GT-N7000 using XDA App
Click to expand...
Click to collapse
Es explorer works well. u might have found it if u searched.
Just make sure that u have enabled root options in the settings.
No.
As I wrote before, I don't know why but Es doesn't allow me to have root options enabled, so I was forced to find a new root explorer. The problem is that I can't save the new build.prop: the app tells me it cannot save the file...
Suggestions?
Sent from my GT-N7000 using XDA App
Install File Expert, go to settings and enable "Root Explorer" (under "File Explorer Settings"), go back, press menu, more and then "Mount".
/system is mounted RO by default.
use a shell and as root type
Code:
busybox mount -o remount,rw /system
you should get a full access now to all /system filesystem.
THANKS
BazookaAce said:
Install File Expert, go to settings and enable "Root Explorer" (under "File Explorer Settings"), go back, press menu, more and then "Mount".
Click to expand...
Click to collapse
Thx mate. It worked. After chose the option "Mount", I edit also the properties of the file (write,read,all...). After that, File expert allowed me to choose the app to open the text file: I choose ES text, because Jota text continued not saving the file. I finally saved the build.prop file.
THX.
sibere said:
/system is mounted RO by default.
use a shell and as root type
Code:
busybox mount -o remount,rw /system
you should get a full access now to all /system filesystem.
Click to expand...
Click to collapse
Thank you too.
uff!! what a pain in the ....ss!
Thanks guys! I enabled the Root checkbox, but I cant mount!
I get a Mount failed message.
I tried to be in the / directory when issued the Mount command for RW (using GUI in that application), and being inside /system as well - same error.
I've granted the application Superuser permissions, so thats not it.

Write Access to system/apps

Hi!
Sorry for the noob question but how do I gain full access (specifically write access) to system/app? I am rooted with NUTs .681 and every time I try to copy/paste a file into system/app I get permission denied. I am using ES file explorer with root explorer set to "ON".
I have tried a few apps from the playstore but none of them work!
An easy way would be appreciated!
Regards,
Alan
Try this test to check if root working properly
Install Android Terminal Emulator from Play Store
From terminal emulator type "su" without quotes
Check if any superuser app prompt your answer to grant it using root privileges
If you're asked, then your root working properly.
Now type "mount -o remount,rw /system". Is it still permission denied? If so, so your problem is Sony RIC. If it's success, then your /system can be wrote now. Try to copy something to /system now. Check if the permission still denied or granted.
Sent from my C6903 using Tapatalk
nalab1 said:
Hi!
Sorry for the noob question but how do I gain full access (specifically write access) to system/app? I am rooted with NUTs .681 and every time I try to copy/paste a file into system/app I get permission denied. I am using ES file explorer with root explorer set to "ON".
I have tried a few apps from the playstore but none of them work!
An easy way would be appreciated!
Regards,
Alan
Click to expand...
Click to collapse
First of all you have full root.
I have xplore as file manager and allows me to modify any directory phone with xplore test application you headed to options> settings> access root> root + mount script and ready

OBB access

Rooted pure. Can't view android/obb folder in any root explorer. I can verify it is there by switch to its directory in terminal emulator. However I can't write to it. "Error permission denied "
Does anyone know how to make it visible and set write permissions?
I am NON ROOTED
I can only add files or overwrite them, by making a obb folder anywhere else, putting the files in it ,then moving this folder inside the Android folder
Sent from my XT1092
Hmm. I can do that. However it say that folder exist so I have to overwrite it. Seeing that I can't view it I'm worried there might be something I need in it.
Holyoblation said:
Rooted pure. Can't view android/obb folder in any root explorer. I can verify it is there by switch to its directory in terminal emulator. However I can't write to it. "Error permission denied "
Does anyone know how to make it visible and set write permissions?
Click to expand...
Click to collapse
Same problem here
I tried changing permissions in terminal but I couldn't make it visible. It wouldn't even let me delete the folder because the device or resource is busy. It would be nice to fix this. Maybe with twrp you could delete the folder and make a new one that would be visible.
Holyoblation said:
Rooted pure. Can't view android/obb folder in any root explorer. I can verify it is there by switch to its directory in terminal emulator. However I can't write to it. "Error permission denied "
Does anyone know how to make it visible and set write permissions?
Click to expand...
Click to collapse
Hi,
I was also facing the same problem and by some hit and trial i was able to see the folder and write to it. This is what i did:-
1) I used ES File Explorer.
2)In it if you search for obb folder using the "search" option you are able to see the obb folder and the files in it.
If you want a step by step guide i have written it in the following page:- http://forum.xda-developers.com/showpost.php?p=57161290&postcount=3
VHNDEV said:
Hi,
I was also facing the same problem and by some hit and trial i was able to see the folder and write to it. This is what i did:-
1) I used ES File Explorer.
2)In it if you search for obb folder using the "search" option you are able to see the obb folder and the files in it.
If you want a step by step guide i have written it in the following page:- http://forum.xda-developers.com/showpost.php?p=57161290&postcount=3
Click to expand...
Click to collapse
I saw that post. Thanks. I can get into the folder and write to it, but I would really like to make it visible. I think its really odd that with root you can view all the other folders, but not to the obb folder. If anyone knows why, that would be helpful.

[Fix] ES File Explorer root error

When you try and toggle the "Root Explorer" switch to enable root in ES File Explorer, you are met with and error
"Sorry, test failed. This feature cannot run on your device. Root Explorer"
Use another root explorer app with root permissions, and copy the contents of /su/bin/ (about 7 files) and paste them inside /system/xbin/
Now try turning root explorer on in ES File Explorers Tools setting
It should now turn on and work fine
Credit: Youtube commenter "Daniel Velez"
Code:
https://www.youtube.com/watch?v=TlWoSlvhzI0
*Detection* said:
When you try and toggle the "Root Explorer" switch to enable root in ES File Explorer, you are met with and error
"Sorry, test failed. This feature cannot run on your device. Root Explorer"
Use another root explorer app with root permissions, and copy the contents of /su/bin/ (about 7 files) and paste them inside /system/xbin/
Now try turning root explorer on in ES File Explorers Tools setting
It should now turn on and work fine
Credit: Youtube commenter "Daniel Velez"
Code:
https://www.youtube.com/watch?v=TlWoSlvhzI0
Click to expand...
Click to collapse
Thank you[emoji106]!!
It works fine on G900F Marshmallow rooted with SuperSU 2.72 systemless!
Inviato dal mio SM-G900F utilizzando Tapatalk
Thanks for the hint!
But this error made me change from ESFE to FX + Root Add On.
It's more comfortable in my opinion.
Perfect! Thanks!!!
[emoji106][emoji106]
[emoji122][emoji122][emoji122]
Thank you very much! Worked on my 900F as well!
Great
Thank you so much for a solution :highfive:
New ES File Explorer version now supports Systemless root. Works on my Note 5
If this happens after installing a new ROM you must enable developer options and then set route and then restart the phone or tablet and then that won't happen
Great, thank you.
ES File explorer root error
Thanks, works great!
Titanium Backup
Thanks for the hint (works also with secure settings)
Unfortunately Titanium Backup doesn't recognize root anymore
It got a problem with the /system/xbin/su command.
Still no success. I followed your steps still failed to get root access
Same here with jiayu s3 on Android 7.1 fom M.A.D.
Edit: Got Root Access with copying /su from rootdirectory to system/bin...
Hi!
I have es file explorer version 4.1.4.3 and I have root access without problems
This method works for me, though I'm running a Note Edge MM 6.0.1
I'm on the J7 and having this problem because of Samsung. Moving the files to xbin doesn't work with Root Explorer. Says Copy failed. So even after it's mounted RW I can't copy and paste files. Strangely I was able to rename a file. Don't know why.
Did this trick. But copy still failed even though ES File Explorer got root successfully.
(FYI: Trying to copy sound files into the system.)
Any other ideas?
I am fed up with Samsung!!!
FOR ANY SAMSUNG: Figured it out. All my folder access troubles are Knox's fault! But I had to do a command line trick along with disabling Knox.
You'll need: Root Package Disabler and Terminal Emulator
*So after rooting get either Titanium Backup Pro (not free) or Root Package Disabler (free) or Package Disabler Pro (not free). (They do the same thing.)
*Open the program you installed. Find anything with "knox" in the name and disable it. I, personally, disabled Lookout as well because it often doesn't like advanced root apps or modifications. But it shouldn't block ES File Explorer.
*Open Terminal Emulator. Put in the commands below, one-at-a-time. Hit Enter after each. REBOOT WHEN YOUR DONE. (Source here.)
Code:
su
Code:
mount -o remount,rw /system
Code:
touch /sbin/su /system/bin/su /system/xbin/su
Code:
mount -o remount,ro /system
Code:
exit
Reboot and Root ES File Explorer again.
Note: ES File Explorer won't copy files to the system or other sensitive folders. You still need "Root Explorer" or maybe "Solid Explorer" for that. This makes ES File Explorer useless to me. However, you still need the steps above to copy sensitive system files in the other root enabled file browsers. So do it anyway.
Hi guys! I know this is an old thread and Samsung Space, but i still use ES File Explorer Pro 1.1.4.1 because i like it. But somehow i lost root. Don't know how and why, everything worked fine on my rooted (with Magisk 23.0) Xiaomi Redmi Note 7 with Android 10 (Sorry for that, but i didn't find anything else in the www about this problem). Now i receive the same message "Sorry, test failed. This feature cannot run on your device." and don't know how to solve this. I uninstalled and reinstalled ESFX, deleted it from the list of rooted Apps in Magisk and it asked for the permissions again.... fine..... granted! But still i can't activate it's root explorer. This doesn't work :
" Use another root explorer app with root permissions, and copy the contents of /su/bin/ (about 7 files) and paste them inside /system/xbin/"
....because there is no "/su/bin" and therefore i can't copy anything.
sensei_fritz01 said:
I still use ES File Explorer Pro 1.1.4.1 because i like it.
....because there is no "/su/bin" and therefore i can't copy anything.
Click to expand...
Click to collapse
Same issue here. I ended up copying all files from any folder containing "bin" (sbin, xbin, bin) to /system/xbin to no avail.
Not sure if it is accurate, but it seems like it is, but old ES cannot work on devices that have systemless root.

Categories

Resources