[Q] Problem with GPS and gps.conf file - Legend Q&A, Help & Troubleshooting

Hi everybody
My problem is with my GPS signal. I searched in the forum and I found a topic ( http://forum.xda-developers.com/showthread.php?t=1060963 ) with a correct gps configuration. I followed the steps but when I edit gps.conf file I can't do becouse I haven't permissions. In other topic talk about how I can do to give file permissions with:
- adb shell
- su
- mount -o remount,rw /dev/block/mtdblock3 /system
I following this steps but when I edit the gps.conf file (with root explorer) and I put the new configuration and reboot the terminal, the file don't change and has the old configuration.
What's the problem? I don't know
Sorry for my bad english
Thanks !!

Your problem is that the phone is s-on. You can't edit /system when your phone is on. Boot into Clockwork Recovery, mount usb + system, and debug with abd or a program like Android Commander. Then reboot your phone.

pepijn499 said:
Your problem is that the phone is s-on. You can't edit /system when your phone is on. Boot into Clockwork Recovery, mount usb + system, and debug with abd or a program like Android Commander. Then reboot your phone.
Click to expand...
Click to collapse
Thanks you man !! I could edit the file and the gps works perfectly.
I hope this post will serve to other people's
Thanks for all !!

I've been away from a computer for a couple of weeks now, but I needed to edit my gps.conf yesterday, so here's what I did. It was actually pretty enjoyable.
I used Root Explorer throughout.
I created a new folder where I would carry out all of my operations on my SD card. I then copied the existing gps.conf to that folder.
Then I edited the file with Root Explorer's built in text editor and created a folder named "system" and a subfolder inside that folder named "etc". Then I moved gps.conf into "etc".
Next, I longpressed the "system" folder and zipped it. From there, I flashed it with CWM and the GPS has been working flawlessly since.
Sent from my HTC Legend using XDA App

Asovse1 said:
I've been away from a computer for a couple of weeks now, but I needed to edit my gps.conf yesterday, so here's what I did. It was actually pretty enjoyable.
I used Root Explorer throughout.
I created a new folder where I would carry out all of my operations on my SD card. I then copied the existing gps.conf to that folder.
Then I edited the file with Root Explorer's built in text editor and created a folder named "system" and a subfolder inside that folder named "etc". Then I moved gps.conf into "etc".
Next, I longpressed the "system" folder and zipped it. From there, I flashed it with CWM and the GPS has been working flawlessly since.
Sent from my HTC Legend using XDA App
Click to expand...
Click to collapse
I don't knew this interesting way.
Thanks for share it.

Related

Root: Replacing system sound files

Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Switchbitch said:
Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Click to expand...
Click to collapse
have you tried with and without file extention?
Yes. Root explorer just won't let me move any files around in the phone memory. Do I have to do it using adb?
I have a feeling its Root Explorer not working properly in Hero.
I could do this easily on my magic, but I get the same thing - looks like its copied the file, but when I paste, nothing happens at all.
I did manage to delete the Stocks app. from the device (don't use it or need it) using root explorer but other attempts to copy and pasdte have failed.
I have however managed to successfully use Astro File Manager to copy a wallpaper file from the device memory and paste to the SDcard. Will explore Astro a little further and see if it can do more on the device.
Dayz
Phew, not just me being thick then....
I spent most of today trying to backup an .apk from /data/app-private to /sdcard. No luck with Root Explorer, adb pull or a 'cp' from the shell. "Remote file does not exist" was the result of the last two, but it's displayed by ls.
I think anything in app-private is a no go anyway as it contains copy protected apps. With regard to astro - it can copy from device in certain locations, and paste to sd to back up, but it can't delete from the device, and it can't copy or move files to the device.
Daisy xx
Dayzee said:
I think anything in app-private is a no go anyway as it contains copy protected apps.
Click to expand...
Click to collapse
Hmm, thanks Daisy. Will get on to the app's developer, as it was his advice to gain the ability to change location settings that I tried to follow.
Al
Shluggity said:
Phew, not just me being thick then....
I spent most of today trying to backup an .apk from /data/app-private to /sdcard. No luck with Root Explorer, adb pull or a 'cp' from the shell. "Remote file does not exist" was the result of the last two, but it's displayed by ls.
Click to expand...
Click to collapse
Try
Code:
adb shell
su
cat /data/app-private/some.app.apk > /sdcard/some.app.apk
exit
exit
adb pull /sdcard/some.app.apk some.app.apk
...it worked for me on a stock, rooted HTC Hero.
Switchbitch said:
Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Click to expand...
Click to collapse
Unless you made other changes than rooting, the /system partition is mounted read-only by default. As far as I know, you'll have to follow one of the root guides to mount it read-write (like you probably did to get /system/bin/su in place) and then do whatever changes you'd like.
Personally, I got tired of the boot audio real fast, so I changed useAudio in /system/media/boot_animation.xml from "1" to "0". Ahh, blessed boot silence...
nrkabul said:
Try
Code:
adb shell
su
cat /data/app-private/some.app.apk > /sdcard/some.app.apk
exit
exit
adb pull /sdcard/some.app.apk some.app.apk
...it worked for me on a stock, rooted HTC Hero.
Click to expand...
Click to collapse
And work it did for me also! Many thanks for your help - I really appreciate it.

[Q] /system folder read only ?

Copying a font in /system/fonts resulted in a 'read only file system' error.
Googling around looks that the /system folder is mounted read only.
How can I (temporarily) set this folder to read/write ?
By using a rooted file explorer or Super Manager .
jje
Thanks, this works.
When I set /shystem to r/w I can manipulate files / copy files to this folder even from an SSH terminal from my Mac.
Worked extremely well!
Thanks for the help guys. I had installed Beans Stock Rom and lost my VVM support. The market even said my device was not compatible. Tried all prior versions of VVM and none worked until I got this file and used Root Explorer to install it and set permissions as described. Thanks heavens.

Some help with OTA install

I attempted as many did to update the new OTA. You can find it on this forum. I constantly got an error 7 after the install failed as the install looked at my Preinstall files. After any number of attempts, I used a standard Preinstall directory. I deleted the current Preinstalled, using Root Explorer I did a copy paste. Bingo, Bango, Bongo. Install Complete!!
Here is a link to a dropbox copy of the preinstall.
http://dl.dropbox.com/u/8489906/preinstall.zip
posted a couple of different forums. Trying to help
Some were having trouble with the dropbox download. On another site a helpful member uploaded them to:
http://www.megaupload.com/?d=LKAU0HOO
Might just be me, but the link isn't working. Can you re-post it?
Sent from my DROID RAZR using XDA App
There you go. Try it now.
Could someone please provide detailed instructions on how to apply this?
Some help
My solution to the how and it goes without saying - you are on your own if you brick you phone.
1. Download the file. I am uploading to another online file site now and will update the link soon.
2. Unzip the downloaded file preinstall.zip on your computer. Connect USB to computer as a mass storage drive and copy preinstall directory to your SD-Ext.
3. Disconnect your computer and start Root Explorer. If you don't have it, it is available in the Market.
4. Go to the Main (root) directory of your Razr and scroll down to the Preinstall Directory. Using Root Explorer copy the current preinstall directory to your SD-ext in an out of the way directory.
5. Go back to the root directory. At the top of the screen is an small icon labeled RW. Select this option by touching the icon - it should now say RO. RW=Read Write RO-Read Only. The directory must be in the RW state to copy the preinstall directory.
6. Go back to the root directory and delete the old "preinstall" directory.
6. Go back to the SD-Ext where you stored the downloaded "Preinstall" directory. Select this file and copy. Root Explorer will now have the Paste option showing on the bottom left of the screen.
7. Navigate back to the Root (main) directory and press "paste". Root Explorer should now paste the downloaded copy of the preinstall into the root directory.
Note: Based on my limited experience if you simple copy and overwrite the preinstall directory, portion of the old preinstall will be left in the root directory. These files are the problem causing the Error 7 in the update - IMO.
Hope this helps.
benlane said:
My solution to the how and it goes without saying - you are on your own if you brick you phone.
1. Download the file. I am uploading to another online file site now and will update the link soon.
2. Unzip the downloaded file preinstall.zip on your computer. Connect USB to computer as a mass storage drive and copy preinstall directory to your SD-Ext.
3. Disconnect your computer and start Root Explorer. If you don't have it, it is available in the Market.
4. Go to the Main (root) directory of your Razr and scroll down to the Preinstall Directory. Using Root Explorer copy the current preinstall directory to your SD-ext in an out of the way directory.
5. Go back to the root directory. At the top of the screen is an small icon labeled RW. Select this option by touching the icon - it should now say RO. RW=Read Write RO-Read Only. The directory must be in the RW state to copy the preinstall directory.
6. Go back to the root directory and delete the old "preinstall" directory.
6. Go back to the SD-Ext where you stored the downloaded "Preinstall" directory. Select this file and copy. Root Explorer will now have the Paste option showing on the bottom left of the screen.
7. Navigate back to the Root (main) directory and press "paste". Root Explorer should now paste the downloaded copy of the preinstall into the root directory.
Note: Based on my limited experience if you simple copy and overwrite the preinstall directory, portion of the old preinstall will be left in the root directory. These files are the problem causing the Error 7 in the update - IMO.
Hope this helps.
Click to expand...
Click to collapse
I hope this works This has been driving me crazy! I'll post my results and spread the word to others I've spoken to about this frustrating issue. Great find, and thanks for sharing!
Edit: Strange, as soon as I delete the original preinstall folder, and hit paste, it asks if I want to merge folders instead of just paste. If I go into another folder, then back to the root folder, preinstall reappears... I'll try merging, but sounds like that isn't going to work.
Edit 1: Failed Maybe my issue has something to do with the preinstall folder being repopulated the instant I delete it, which doesn't allow me to simply replace it with the one hosted in the OP.
I believe I only have one option now... to learn how to dev, graduate, intern at Motorola, get a job at Motorola and work my way up the ladder until I can decide how FXZ files are protected, and release them to the public!
I still get this error
assert failed: getprop("ro.product.device") == "cdma_spyder" || getprop("ro.product.product") == "cdma_spyder"
E: Error in /sdcard/Blur_version.6.11.744.X912.Verizon.en.US.zip
(Status 7)
Strange issue with the preinstall
Not sure whats happening with the preinstall but I see that Nitro has a very straightforward install on another Razr forum.
Could you possibly direct me to that, via pm if necessary?
Sent from my Transformer TF101 using xda premium
benlane said:
Not sure whats happening with the preinstall but I see that Nitro has a very straightforward install on another Razr forum.
Click to expand...
Click to collapse
Please post or pm the link to the nitro install. Thanks!
Yes...Having trouble as well, if anyone has the nitro link...
Nitro's stuff
teegunn said:
Please post or pm the link to the nitro install. Thanks!
Click to expand...
Click to collapse
http://www.droidrzr.com/index.php/t...rooted-rom-744-system/page__p__1986#entry1986
benlane said:
http://www.droidrzr.com/index.php/t...rooted-rom-744-system/page__p__1986#entry1986
Click to expand...
Click to collapse
Yep, that did the trick.
So if I just froze some apps with tb can I just unfreeze them and install the ota without a problem?
Edit: never mind...I underuse my apps updated and rerooted :-D
Sent from my DROID RAZR using Tapatalk
networkdood said:
Yep, that did the trick.
Click to expand...
Click to collapse
Somehow that thread got killed....I was able to grab the rom, but not the update that was posted....Anyone have the update handy? Was there anything special about it or was it the normal one that already available?
EDIT: Nevermind, I dont need it...My issue, like most, was the preinstall directory.

Changing the start up sound - Will someone doublecheck my work?

I was gonna ask this as a question but then I just tried it and it all worked... So on my P509 using my rooted Android 2.2.2, "Mount /system (rw/ro)" app, Astro File manager, and Terminal Emulator. I placed a blank mp3 on my sd card and named it Startup.mp3. (Found a nice short one here: xamuel. com/blank-mp3s/) I made the /system file rewritable with the "Mount /system (rw/ro)" app. Then I typed only these code bits into Terminal Emulator:
To remove the old file:
su(enter)
mount -o rw,remount /system(enter)
rm -r /system/sounds/lgeSounds/Startup.mp3(enter)
Then cause I wanna copy a file from one place to another it's (you might need to change these 2 file chains based on what you learn from astro but it's most likely the same):
cp -r /mnt/sdcard/Startup.mp3 /system/sounds/lgeSounds/ (enter)
It worked fine. I'm kinda happy I figured out how to do this but I wanna make sure I didn't screw something up. I figure I can't be the only one annoyed by the t mobile noise at start up.
Next time just replace your mp3 file to system/sounds...poweron.mp3 is the name of the original file
Sent from my LG-P500 using xda premium
There are 2 files played when the phone is turned on. One is Poweron.mp3 and the other is Startup.mp3 and both are in a folder that is read only until you mount the drive as rewritable. So you can't just go in and delete it unless you have Root Explorer which has the ability to set the system file to rewritable...or do what I just said for free.
Exoplanetary said:
There are 2 files played when the phone is turned on. One is Poweron.mp3 and the other is Startup.mp3 and both are in a folder that is read only until you mount the drive as rewritable. So you can't just go in and delete it unless you have Root Explorer which has the ability to set the system file to rewritable...or do what I just said for free.
Click to expand...
Click to collapse
So you u think you have become a themer ..:banghead::banghead::banghead:
I've used blackbird rom b4 which is nothing more than a stocked rom. I took a mp3 file (mw3 mp3) placed it in the system/sounds folder, renamed that file to poweron.mp3 than changed permissions than booted, the mw3.mp3 file worked right along the call of duty boot animation. I only worried about one file not any others
Sent from my LG-P500 using xda premium
That's cool, JRhodes85. Yeah, I thought I had done something cooler that what I did cause I made the system folder rewritable with that app but somehow thought I had done it with all the coding cause after using it to make the folder rewritable it still didn't work with my file manager...only in terminal.
jazzzzzzz...? Why so serious? These are just phones, man.

I can't Delete file in root directory

First. I'm sorry about my English language (I can use a little)
but I can't delete some file in this directory ".ifs" folder
Because. Yesterday I'm rooted my phone (This is a first time i root Android phone) i've explore alot of file in my phone
I found "logo.jpg" ( I Guest this is BOOT SCREEN PICTURE FILE ) in ".ifs folder" I Think if i replace with another JPG file. I can change BOOTSCREEN another Picture too.
when i copy and replace with new JPG file in this directory. I CAN'T replace it. But it create Duplicate file with "logo-Copy.jpg"
I do this 2 time but not work.
I can't delete or replace "logo.jpg" file in " mnt .ifs " Directory
that useless. So ! I want to delete "logo-Copy.jpg" or "logo-Copy (2).jpg" but I CANNOT DELETE IT TOO.
I'm use ROOT EXPLORER program SD Maid and ES EXPLORER it still not work ( SET mounted read and write )
How to delete it ?
Thank you and Best Regards
------------------
My Device : SAMSUNG SL GT I9003 gingerbread 2.3.5
Mount /system as writable using ES explorer. Use Terminal. Use cd command to navigate to the directory, type su to enter su mode, type rm -f file.name to remove the file.
Sent from my Nexus 7
markdoom said:
First. I'm sorry about my English language (I can use a little)
but I can't delete some file in this directory ".ifs" folder
Because. Yesterday I'm rooted my phone (This is a first time i root Android phone) i've explore alot of file in my phone
I found "logo.jpg" ( I Guest this is BOOT SCREEN PICTURE FILE ) in ".ifs folder" I Think if i replace with another JPG file. I can change BOOTSCREEN another Picture too.
when i copy and replace with new JPG file in this directory. I CAN'T replace it. But it create Duplicate file with "logo-Copy.jpg"
I do this 2 time but not work.
I can't delete or replace "logo.jpg" file in " mnt .ifs " Directory
that useless. So ! I want to delete "logo-Copy.jpg" or "logo-Copy (2).jpg" but I CANNOT DELETE IT TOO.
I'm use ROOT EXPLORER program SD Maid and ES EXPLORER it still not work ( SET mounted read and write )
How to delete it ?
Thank you and Best Regards
------------------
My Device : SAMSUNG SL GT I9003 gingerbread 2.3.5
Click to expand...
Click to collapse
I think you haven't rooted correctly, download this app and root check:
Here
If you aren't rooted then try to root again with this guide:
Here
Hit the Thanks button if helped.
Thank you for all comment. and sorry for my delay.
I still can't delete it. but. Yesterday I Flashed new stock rom.
So. logo.jpg file has been deleted
Does the device work after reboot
You have deleted the Bootscreen. Does your device boot anymore?
Does it show your new pcture on power on?

Categories

Resources