[Q] Problem changing gps.conf file - Thinkpad Tablet General

I have rooted and installed CWR. I have Supperuser installed also. When I try to change the gps.conf file to point to us.pool.ntp.org, I get an error saying the that /system is read only. Any ideas on how to fix this?

You need to mount /system as read/write before you can write to it.
In Root Explorer, you can click the R/W (or R/O) button at the top to enable writing.

I tried that and it say the file has been saved. However when I open the file again the changes are not there.

From my post the other day at forums.lenovo.com--
Best: ES File Explorer (with root permission and /system writeable checked in settings)
Navigate to file, click, choose text, choose ES Note Editor, edit the file as needed, choose save when prompted.
You can change permissions with ES as well.
I like that it automatically makes a *.bak file of whatever you edit and save.

I have tried changing the permission using root explorer, which resulted with this error "Permissions change was not successful. Please not that some file systems(eg SD card) do not allow permission changes. " I also tried using ES File Explorer but it still will not allow me to edit or delete the file.

@dwilli40 - Did you set root permission and /system writeable in ES settings?

Yes, I did enable root permission and /system writeable in ES settings.

I had a similar Problem on my device, seems that the normal mount doesn't work always. In my case i got write permission with:
busybox mount -o rw,rewrite /system
Sent from my ThinkPad Tablet using XDA App

if you don't know how to do it manually, use a app !
fasterfix for example....
if it doesn't work, it means that you don't have root

Thanks quyTam . That one did it for me.

Any way to do this without recovery?

It's absolutely no need for recovery !
But root is needed.

I was thinking it did because I couldn't get /system to stay mounted as rw under adb shell or with total commander
What should I be doing?

GPS Monitor Premium is able to do this, too, and more. It's a little heavier, but I don't feel like I need GPS Test anymore. It's a slick little app, and the dev is very kind.

MrKwatz said:
I was thinking it did because I couldn't get /system to stay mounted as rw under adb shell or with total commander
What should I be doing?
Click to expand...
Click to collapse
are you root ?

Did the GPS change you made work? Is you tablet actually grabbing satellites over North America?
Sent from my ThinkPad Tablet using xda premium

quyTam said:
are you root ?
Click to expand...
Click to collapse
Yes.
If I mount from adb shell su and then exit (after checking mount) for adb push it does not retain rw.
Doing the mount command from Total Commander fails. Checking the box to mount /system from ES File Explorer does nothing.

Yes, the change to gps made a huge difference. I went from taking 5 minutes or more to find my location to almost instantly.

dwilli40 said:
Yes, the change to gps made a huge difference. I went from taking 5 minutes or more to find my location to almost instantly.
Click to expand...
Click to collapse
Did you change the gpsconfig.xml file in /system/etc/gps folder? And if you did, which line(s) did you edit? I'm looking at the file in Notepad++ just trying to comb through it all and I don't see us.pool.ntp.org or asia.pool.ntp.ord anywhere..
Thanks
---
Never mind, just found the gps.conf file in the root of /etc. FasterFix did indeed change the Asian setting to a north-american.pool.ntp.org. I'll give this a try today, and if it can't find me in under 3 minutes, i'll try changing it to us.pool.ntp.org and see if that makes a difference.

Related

[Q] Unable to delete/move shutdown/startup WAV file after JID6 update

I updated JID6 using ODIN
Rooted using OCLF One click
Using Root Explorer I am unable to modify these files after JID6 update.
Previously i was able to move/delete these files. Not anymore.
Current Permission is rw-r--r--
I tried to modify my permsission, but it does not permanently apply. Does anybody else have this problem.. Even after its been rooted, i can't make these permission changes therefore i can't move/delete these files.
Bootup: system/etc/PowerOn.wav
Shutdown: system/media/audio/ui/Shutdown_128.ogg
Did you remount /system rw?
busybox mount -o rw,remount /system
samlot said:
I updated JID6 using ODIN
Rooted using OCLF One click
Using Root Explorer I am unable to modify these files after JID6 update.
Previously i was able to move/delete these files. Not anymore.
Current Permission is rw-r--r--
I tried to modify my permsission, but it does not permanently apply. Does anybody else have this problem.. Even after its been rooted, i can't make these permission changes therefore i can't move/delete these files.
Bootup: system/etc/PowerOn.wav
Shutdown: system/media/audio/ui/Shutdown_128.ogg
Click to expand...
Click to collapse
I have the exact same problem. I posted a thread pretty much identical to this one. Still no answer...
busybox mount -o rw,remount /system
worked for me. Once remounted I could rename the startup/shutdown sounds.
Thanks guys for responding, Thats it. Once I installed Busy Box i was able to move those files again. I guess after the JI6 update, it removes your previously installed busy box. I coulda swear i had busy box already installed when i was using titanium backup. But then I remember i had to Re-Root the phone as well.
rmeden said:
busybox mount -o rw,remount /system
worked for me. Once remounted I could rename the startup/shutdown sounds.
Click to expand...
Click to collapse
So just to be clear....type that string exactly as shown into terminal on the phone and that's it? Then I can delete (not rename) the sound files?
yes. you should have needed to do it the first time, too... /system is always mounted read-only.
and you also need a root shell (su)
chui101 said:
yes. you should have needed to do it the first time, too... /system is always mounted read-only.
and you also need a root shell (su)
Click to expand...
Click to collapse
Sweet! That worked for me! I had to change back to the samsung keyboard because everytime I used the , key in terminal SwiftKey would crash.
No more obnoxious startup/shutdown sounds! Woooo hoooo! Made my Friday!

Can't delete with root explorer

I'm trying to delete a default application from my droid (WriteandGo) by deleting both the .apk and .odex file from /system/app using root explorer.
The phone is rooted, in Root Explorer and the partition appears mounted as r/w. When I delete both files it works fine and they disappear, but when I go back and then return to the app folder the files are there again. The application never gets uninstalled.
Any ideas?
Thanks!
Use titanium backup to uninstall sytem apps..
Thanks, it does work, but I'm curious as to why root explorer is failing to delete the files..
Neojag said:
I'm trying to delete a default application from my droid (WriteandGo) by deleting both the .apk and .odex file from /system/app using root explorer.
The phone is rooted, in Root Explorer and the partition appears mounted as r/w. When I delete both files it works fine and they disappear, but when I go back and then return to the app folder the files are there again. The application never gets uninstalled.
Any ideas?
Thanks!
Click to expand...
Click to collapse
That is because the /system partition is mounted read only.
To mount read-write, install ADB.
Set phone to USB debug.
Then:
> adb shell
$ su
# mount -o remount,rw /dev/block/stl6 /system
Then go the the appropriate directory and remove the files with "rm".
So the info Root Explorer is supplying (that the partition is mounted as r/w) is wrong? That's odd, because I've managed to copy a file to /system/etc/.

[Q] Trouble restoring "/system/app"

I (without heeding the warnings) decided it would be a good idea to delete certain apps (including Hero of Sparta, Lets Golf, etc.) once I got my tablet rooted. Luckily, there are two A500's in my household, so I was able to copy the /system/app directory from the other untouched tablet.
Problem is, I can't seem to copy the directory (or any apps from it) into my tablet. I've used both ASTRO and File Manager HD, but in both, the 'paste' command is greyed out. It's as if I don't have the necessary permissions.
So, what's going on?
did you set the Read-Write permission on that directory?
Post removed
No, thanks for the reminder.
Upon attempting to edit permissions, though, using a terminal emulator, I get an error after typing this:
Code:
su
cd /system/app
chmod 777 /system/app
And the error I get is:
"Unable to chmod /system/app: Read-only file system"
Zen_Jackal said:
No, thanks for the reminder.
Upon attempting to edit permissions, though, using a terminal emulator, I get an error after typing this:
Code:
su
cd /system/app
chmod 777 /system/app
And the error I get is:
"Unable to chmod /system/app: Read-only file system"
Click to expand...
Click to collapse
Silly question, but do you have your system rooted?
Yes, I do. Using GingerBreak as I'm still waiting on that 3.1 update
Zen_Jackal said:
Yes, I do. Using GingerBreak as I'm still waiting on that 3.1 update
Click to expand...
Click to collapse
OK, then try a file explorer like Root Explorer and you should be able to set the rights ro R/W and copy your files over.
Root Explorer worked like a charm. I'm suprised File Manager HD doesn't perform those functions. I got a good feeling when I saw that Root Explorer was requesting superuser permission.
Zen_Jackal said:
Root Explorer worked like a charm. I'm suprised File Manager HD doesn't perform those functions. I got a good feeling when I saw that Root Explorer was requesting superuser permission.
Click to expand...
Click to collapse
Glad to hear that worked. Root Explorer is what I use. Have been for over a year. I think File MAnager HD can also do it, but it is not as straight forward ad Root Explorer. Have fun.
BTW the permission setting 0777 means anyone can access it (or any other application), for the sake of having a better security the permissions should be changed to 445 so only root can access and execute those files (I'm not sure if APKs are considered excutables if they are not the 444 will be the right setting)
Sent from my A500 using Tapatalk

[Q] How do I install 3rd-party APK on rooted NST? (Nook Color Tools doesn't help)...

Hi,
First of all let me say thanks to whoever first rooted the NST. It simply rocks. Also, XDA's introductory video made me laugh and scared at the same time.
I'm trying to install an apk which is not available through Google Play/Android Market. I go to the .apk in ES File Explorer, but it won't install. It says
'Install blocked
'For security, your phone is set to block installation of applications not sourced in Android Market'
In Nook Color Tools, 'Allow non-market apps' is checked. I note that below, it says
'For this to work, the apps apk files must be copied to system/app'.
However, I cannot persuade ES File Explorer to copy the .apk file to /system/app, which I assume is protected or something.
So, I'm stuck. How do I get this little terror to install?!
Many thanks.
http://nookdevs.com/NookColor_Enable_App_install_from_on-device_installers
On the device is an app called NookColor Tools. Run it, and ensure that the checkbox for on-device install is checked. If it's already checked, uncheck and re-check it to make sure that it's actually set. Exit the app and reboot your nook. You should now be able to sideload apps.
Click to expand...
Click to collapse
To copy files to the system partition you need to mount it read/write mode. In your ES file explorer there should be an option that allows you to do that "mount root" or something similar. You can also use Rhytm file manager (i use it therefore i know you can do this in RFM).
If you have adb access you can also connect to NST (adb shell) and run
mount -o rw,remount /dev/block/mmcblk0p5 /system
http://nookdevs.com/Nook_Simple_Touch_write_enable_the_system_directory
5 seconds in web search engine
query : "install non market applications nook"
dude...
You only have to put things in /system/app if you don't want to "install" them.
Most apps go in /data/app which is easier anyway and no hassle when you want to upgrade.
I always install apps over ADB using "adb install myapp.apk"
(especially when I am developing and doing 20 installs an hour.)
osowiecki said:
If you have adb access you can also connect to NST (adb shell) and run
mount -o rw,remount /dev/block/mmcblk0p5 /system
5 seconds in web search engine
query : "install non market applications nook"
dude...
Click to expand...
Click to collapse
Thanks .
I did try a lot of search strings, but not that specific one. I guess I didn't want forum people to get cross with me! Oh well...
forgottenit said:
However, I cannot persuade ES File Explorer to copy the .apk file to /system/app, which I assume is protected or something.
Click to expand...
Click to collapse
I had the same problem for an hour or two. However, ES File Explorer allows you to mount the system partition in read/write mode. Run ES File Explorer, click on the icon near the top LHS corner, choose Root Explorer from the menu, and choose Mount R/W from the pop-up menu. I needed to add and delete system files.

[Q] Kitkat 4.4 Unable to mount system as read-write

Upgraded from factory rooted image of 4.3 to the OTA KRT160 I was able to get this rooted and the bootloader has been unlocked.
Cannot mount /system as r/w from either ROM Pro toolbox or ES Files Explorer. 4.3 has no such issues. Anyone else having these problems or know a way to mount this. I want to update my hosts file and a few other things.
Edit: This method works, just not any apps
adb shell
$su
#mount -ro remount,rw /system
make changes in shell
#mount -ro remount,ro /system
zosimov21 said:
Cannot mount /system as r/w from either ROM Pro toolbox or ES Files Explorer. 4.3 has no such issues. Anyone else having these problems or know a way to mount this. I want to update my hosts file and a few other things.
Edit: This method works, just not any apps...
Click to expand...
Click to collapse
Tried that on a rooted Moto X...still no joy. Among other things, it's keeping AdAway from installing.
Edit: I eventually found MotoWpNoMo, which fixed my problem. It permanently removes write protection from /system. Maybe there's something similar for your device.
I had an issue with read write in es. You have to not only slide the root explorer option to on but also tap on root explorer text to change system to r/w. Hope this helps
phatscientist said:
I had an issue with read write in es. You have to not only slide the root explorer option to on but also tap on root explorer text to change system to r/w. Hope this helps
Click to expand...
Click to collapse
Man I've been looking for your tip 2 days. And here you go. Awesome. Same thing with H/K LiveStage sound buried under option line.

Categories

Resources