[How-to][Root] Remove Camera Sound Using Terminal - Motorola Photon Q 4G LTE

First off you will need to be rooted. Yes the link says RAZR M but it works just fine with the Photon Q. Tests on my phone show that this will not work with the software version 77.8.10.XT897.Sprint.en.US (11/6) release. I have heard of another person being able to use this exploit, though it shouldn't hurt to try this method anyway.
Second thing you will need is a terminal emulator.
This how-to only renames the audio file used for the camera when you take a picture. That means that all you have to do to get the sound back is to replace the code from the last step with the code at the end of this post.
1. Start the terminal emulator. You should see something like
Code:
[email protected]_c:/ $
The dollar sign tells you that you do not have root permissions.
2. Type in
Code:
su
This will give you root permission so you can rename the file for the camera sound. The $ will now change to #.
3. Now you'll type in a confusing mess
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
which will allow you to write files, needed since you are renaming something.
4. Now you need to move into the directory that has the camera sound file.
Code:
cd /system/media/audio/ui
5. The only thing left is to rename the audio file.
Code:
rename camera_click.ogg camera_click.ogg.bkup
Since this only renames the file you can get the sound back by doing the same steps again except for the final step which will be
Code:
rename camera_click.ogg.bkup camera_click.ogg

Hello everyone,
I just got my mopho q yesterday and received the ota this morning. I see at the top it says the razor rot method may or may not work. I just wondering ifanyone could confirm this. I want to root my phone but i don't want to unlock the boot loader just yet.
Sent from my XT897 using Tapatalk 2

I think root explorer is easier.
Sent from my XT897 using xda app-developers app

johnp1991 said:
I think root explorer is easier.
Click to expand...
Click to collapse
That it may be, but I'd rather do things without having to pay. Root Explorer costs about $4.

Solust said:
That it may be, but I'd rather do things without having to pay. Root Explorer costs about $4.
Click to expand...
Click to collapse
ES File Explorer (free) can rename & move system files if you give it root access from settings.
It is good to learn command line anyway, thanks.
-Saint

Related

[GUIDE] Set /System to rw

hey guys!
i didn't know where to post this, mods please move it to the appropriate forum.
NOW FOR THE GOOD PART,
GUIDE: HOW TO SET /SYSTEM TO RW
this question has been asked a lot, and i felt a need to post a guide: the easiest method is to use root explorer and on the top right corner is a button saying either ro, or rw. ro means read-only, and rw means read-write.
now some of you may be asking: so what's the point of this thread? i can already set /system to rw in root explorer. and yes, that is true (and much easier than this way), but what if for some reason root explorer refuses to set the /system to rw when you really need to edit that one file? or what if you're in adb, and can't access root explorer? that has happened to me before, and maybe some of you. so instead of panicking and freaking out, try this method:
1) download terminal emulator from market (anyone will work)
2) open and type "su" (NO QUOTES) to make sure you have root access. (if you don't know what root is, then don't read this, it's a waste of time)
3) to remount /system to rw, type EXACTLY: mount -o remount rw /system (enter)
so it should look like this:
Code:
su
mount -o remount rw /system
this method does work on every android phone, and works in terminal emulator as well as in adb
in adb just do:
Code:
adb shell
su
mount -o remount rw /system
as always, i am not responsible for anything that happens to your phone.
also, you can download the following apps (example) that show you to set r/w access to system for the typing challenged...
Root explorer - not free
Es file explorer - free
I use es, haven't had a problem since.
Sent from my HTC Glacier using XDA App
h22aboi said:
also, you can download the following apps (example) that show you to set r/w access to system for the typing challenged...
Root explorer - not free
Es file explorer - free
I use es, haven't had a problem since.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
There are a few ways to do this. I personally encourage people to learn the ADB end of things. Sometime a nice pretty GUI will not get you out of a pickle.
h22aboi said:
also, you can download the following apps (example) that show you to set r/w access to system for the typing challenged...
Root explorer - not free
Es file explorer - free
I use es, haven't had a problem since.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Good for you. I have confronted this problem before, and just wanted to share my findings. This could be useful in the future.
Sent from my HTC Glacier using xda premium
It's always good to know another way to do things, but I also have never had a problem with ES File Explorer.

how to add the audio in the boot animation in stock ROM???

how to add the audio in the boot animation in the stock ROM???
i did a search , there are somebody asked the sama question in other models , but non of them are answered
i saw one of them said use SGS tools , but i only find one of Galaxy S ...
so , is there anyway to add audio in the boot animation?
- -
someone, plz
Try asking brainmaster. He got bootsound on his rom he might be able to guide u on how to do it.
Sent from my Nexus S 4G using xda premium
I saw CM7 and MIUI has boot sound
I also check his ROM , in his bootanmimation file doesn't have any sound party
just this:
"480 854 29
p 1 0 part0
p 5000 0 part1
"
but it does have bootaudio file in /System/Media
so I wonder it's other file that controls sound which I can not locate...
Have you tried this tutorial? I just iterated all the steps and it looks really promising:
http://forum.xda-developers.com/showthread.php?t=1096068
Originally Posted by hockeyfamily737
0. It's recommended to do a nandroid backup first!
1. Download the "bootsnd.sh" file and put it on the root of your sd card.
2. Download the "android_audio.mp3" file and using root explorer copy it to /system/media
3. Open Terminal Emulator and type the following commands using the stock keyboard. Press enter after each line:
su
cd /sdcard
sh bootsnd.sh
reboot
4. As the device boots up you will be greeted by the "Dolby THX" test sound heard before movies. You are now free to replace the android_audio.mp3 file in /system/media with any .mp3 file you like as long as you rename it to "android_audio.mp3"
5. DO NOT ATTEMPT TO OUTSMART THESE DIRECTIONS OR YOU WILL BE RESTORING YOUR NANDROID BACKUP!
6. Enjoy
http://dl.dropbox.com/u/30200380/bootsnd.sh
http://dl.dropbox.com/u/30200380/android_audio.mp3
Click to expand...
Click to collapse
Greetz
I don't think its possible to add audio to the boot animation on a stock rom. I believe you need root access to add sounds to the /system/media/audio directory
Sent from my Nexus S using xda premium
Try boot animation changer,there u find under tools custom sound
U can get the app from android market
Sent from my Google Nexus S using xda premium
frutelaken said:
Have you tried this tutorial? I just iterated all the steps and it looks really promising:
http://forum.xda-developers.com/showthread.php?t=1096068
Greetz
Click to expand...
Click to collapse
- - i tried twice , but didn't work out
MerwinG said:
Try boot animation changer,there u find under tools custom sound
U can get the app from android market
Sent from my Google Nexus S using xda premium
Click to expand...
Click to collapse
downloaded it and installed it ...
import MP3 file and reboot...
still no good T-T
qtwrk said:
- - i tried twice , but didn't work out
Click to expand...
Click to collapse
Try again.
I just tried it and it worked, I have a custom MP3 playing during the boot animation as we speak. I'm not on the stock ROM but I'm sure that doesn't matter one bit.
What I did was follow the instructions:
Copy bootsnd.sh to the root
Copy android_audio to /system/media
Run bootsnd.sh in Terminal Emulator. Note, you need to change the permissions of this file using the following command and run it as such:
Code:
# su
# chmod 775 bootsnd.sh
# ./bootsnd.sh
Reboot and it worked. Of course you have to be root for all of these actions but I'm sure you are that.
So, try again.
Greetz
frutelaken said:
Try again.
I just tried it and it worked, I have a custom MP3 playing during the boot animation as we speak. I'm not on the stock ROM but I'm sure that doesn't matter one bit.
What I did was follow the instructions:
Copy bootsnd.sh to the root
Copy android_audio to /system/media
Run bootsnd.sh in Terminal Emulator. Note, you need to change the permissions of this file using the following command and run it as such:
Code:
# su
# chmod 775 bootsnd.sh
# ./bootsnd.sh
Reboot and it worked. Of course you have to be root for all of these actions but I'm sure you are that.
So, try again.
Greetz
Click to expand...
Click to collapse
Gosh ... still no good
i did set permission to all files , includs audio file , zip file and this sh file ,all file that may related i set permission to 777
but , don't konw why , still no audio when i reboot
And you're sure that you executed the bootsnd.sh file correctly? Ie; Terminal Emulator won't output anything but just show a new empty line after doing ./bootsnd.sh.
777 is not necessary btw, 775 is enough Not sure which zip file you mean, but it should only matter for bootsnd.sh because that has to be executed.
And you're doing all of this in the root directory of your phone yes? Just to make sure that you're not making these folders etc on your SDCard because that won't work.
Greetz
frutelaken said:
And you're sure that you executed the bootsnd.sh file correctly? Ie; Terminal Emulator won't output anything but just show a new empty line after doing ./bootsnd.sh.
777 is not necessary btw, 775 is enough Not sure which zip file you mean, but it should only matter for bootsnd.sh because that has to be executed.
And you're doing all of this in the root directory of your phone yes? Just to make sure that you're not making these folders etc on your SDCard because that won't work.
Greetz
Click to expand...
Click to collapse
i konw , but i wasn't sure which root directory you were meaning , so i put this .sh file into /system folder ,and , yes , and set 777 permission.
zip i mean bootanimation.zip , i do konw one problem that if replaced this file and NOT set permission will cause unstoppable continually reboot...
what exactly should i type?
enter terminal and
su
cd /system
sh bootsnd.sh
reboot
Click to expand...
Click to collapse
this was what i did ,something wrong?
and i also check that i DID put audio file into /system/media
man , this is making me crazy , i'm kinda losing my mind right now
If the "sh bootsnd.sh" returned no errors in the terminal, you did everything as it should.
You're sure that your audio file is called "android_audio.mp3" and nothing else?
If yes to all of those, I'm not really sure what's preventing it from working.
Greetz
U Need To click install sound binary under custom sound in the tools
Sent from my Google Nexus S using xda premium
You need to install the sound binary before you import the mp3
U see this option under custom sound just above of the import mp3
Try this link
http://forum.xda-developers.com/showthread.php?t=1285201 [HOW TO] How to make a boot up Sound for your Android device
Sent from my Google Nexus S using xda premium
frutelaken said:
If the "sh bootsnd.sh" returned no errors in the terminal, you did everything as it should.
You're sure that your audio file is called "android_audio.mp3" and nothing else?
If yes to all of those, I'm not really sure what's preventing it from working.
Greetz
Click to expand...
Click to collapse
yes it is this name , i triple check
maybe its mp3 problem?
could you provide me your working audio file amd i try with that
qtwrk said:
yes it is this name , i triple check
maybe its mp3 problem?
could you provide me your working audio file amd i try with that
Click to expand...
Click to collapse
I just used a song from my music library, nothing special about it...
Can you tell me if you get output in the terminal if you type the following command:
Code:
cat /system/etc/init.local.rc
Greetz
MerwinG said:
You need to install the sound binary before you import the mp3
U see this option under custom sound just above of the import mp3
Try this link
http://forum.xda-developers.com/showthread.php?t=1285201 [HOW TO] How to make a boot up Sound for your Android device
Sent from my Google Nexus S using xda premium
Click to expand...
Click to collapse
brother , i've done with this , it shows i have installed sound binary , although i don't even know what is it or how/when i install it ...
frutelaken said:
I just used a song from my music library, nothing special about it...
Can you tell me if you get output in the terminal if you type the following command:
Code:
cat /system/etc/init.local.rc
Greetz
Click to expand...
Click to collapse
yes, comes out lots text , about 2 screens or so ...

[Q] Blur Camera won't install

Alright so here's my problem: After rooting my phone, I started to play around with a couple of camera apps from different ROMs such as MIUI. Me being an idiot though, deleted the stock Blur camera Apk. Using a system dump of the Atrix, 2 I tried to reinstall it, by placing it in system/app. For some reason. It wouldn't install (show up on my app directory). Anybody have any idea as to why this is happening? Any help would be greatly appreciated, because I really need a camera app.that's supports 1080p video. Thanks in advance!!!
farshad525hou said:
Alright so here's my problem: After rooting my phone, I started to play around with a couple of camera apps from different ROMs such as MIUI. Me being an idiot though, deleted the stock Blur camera Apk. Using a system dump of the Atrix, 2 I tried to reinstall it, by placing it in system/app. For some reason. It wouldn't install (show up on my app directory). Anybody have any idea as to why this is happening? Any help would be greatly appreciated, because I really need a camera app.that's supports 1080p video. Thanks in advance!!!
Click to expand...
Click to collapse
Push the sick app via adb. I read somewhere that with apps such as root explorer it doesn't work for some reason. Hope this helps.
Sent from my MB865 using Tapatalk
Yes, always use adb to push system apps. Root Explorer will not work.
Sent from my mAtrix2!!
For some reason i get permission denied whenever i try to push through adb. How do i get around this?
farshad525hou said:
For some reason i get permission denied whenever i try to push through adb. How do i get around this?
Click to expand...
Click to collapse
To copy anything to /system/app, you need root access.
This will be a 2 step process.
1) push the file from your computer to your phone in a directory that the shell has access to, i.e. /data/local for instance.
2) adb shell into the phone and su, remount /system as rw, then cp the file from /data/local/ to /system/bin
That should elimiate the issue with permission denied, with adb push.
jimbridgman said:
To copy anything to /system/app, you need root access, have you rooted the phone?
If you have rooted the phone, this will be a 2 step process.
1) push the file from your computer to your phone in a directory that the shell has access to, i.e. /data/local for instance.
2) adb shell into the phone and su, remount /system as rw, then cp the file from /data/local/ to /system/bin
That should elimiate the issue with permission denied, with adb push.
Click to expand...
Click to collapse
Yes my phone is rooted. How do I remount /system as rw? Then how do i cp the file? Thanks for your help!
I figured out how to push the file with adb, but the app still does not show up. Any other ideas?
farshad525hou said:
Yes my phone is rooted. How do I remount /system as rw? Then how do i cp the file? Thanks for your help!
Click to expand...
Click to collapse
Ok, run EVERYTHING between Code:, and End code from the command line. Just make sure you are in the directory you saved your backup camera.apk to, from your windows command prompt, before you run the commands below.
Code:
adb push BlurCamera.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp BlurCamera.apk /system/app
chown root /system/app/BlurCamera.apk
chgrp root /system/app/BlurCamera.apk
chmod 644 /system/app/BlurCamera.apk
mount -o remount, ro /system
exit
exit
End code
That should hopefully fix it.
jimbridgman said:
Ok, run EVERYTHING between Code:, and End code from the command line. Just make sure you are in the directory you saved your backup camera.apk to, from your windows command prompt, before you run the commands below.
Code:
adb push BlurCamera.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp BlurCamera.apk /system/app
chown root /system/app/BlurCamera.apk
chgrp root /system/app/BlurCamera.apk
chmod 644 /system/app/BlurCamera.apk
mount -o remount, ro /system
exit
exit
End code
That should hopefully fix it.
Click to expand...
Click to collapse
Sadly this didn't work either. I don't know what I'm doing wrong. Btw, thanks for your help so far!
Quick question....is the blurcamera.odex file still in the system/app. If you have deleted it also you will have to replace it as well.
JRW 28 said:
Quick question....is the blurcamera.odex file still in the system/app. If you have deleted it also you will have to replace it as well.
Click to expand...
Click to collapse
I could only find a deodexed system dump
Here ya go, zip has both camera.apk and odex. Try using file explorer again and make sure it is r/w . Hope it helps
http://db.tt/v0FQKpKr
JRW 28 said:
Here ya go, zip has both camera.apk and odex. Try using file explorer again and make sure it is r/w . Hope it helps
http://db.tt/v0FQKpKr
Click to expand...
Click to collapse
Thanks for the files! But once again sadly the file doesn't appear under my app drawer. I tried using adb and root explorer, with no luck. Is there anything I'm missing? Btw, JRW are those files from the atrix 2?
There both straight off of my phone...that's weird cause I have removed both of them trying out various cameras and never had a problem reinstalling them?
Are you rebooting afterwards?
JRW 28 said:
There both straight off of my phone...that's weird cause I have removed both of them trying out various cameras and never had a problem reinstalling them?
Are you rebooting afterwards?
Click to expand...
Click to collapse
Yeah I am. Can you walk me through what you do when you re install the apps? I am really confused. Is there anything that might be interfering?
Go into file explorer and make sure your system folder is r/w along with both the blurcamera.apk and blurcamera.odex.... then drop both of them into system/app and reboot. Wouldn't think anything else would be interfering?
JRW 28 said:
Go into file explorer and make sure your system folder is r/w along with both the blurcamera.apk and blurcamera.odex.... then drop both of them into system/app and reboot. Wouldn't think anything else would be interfering?
Click to expand...
Click to collapse
How do I make sure that BlurCamera.apk and BlurCamera.odex are both r/w?
Im not sure if it really matters on them but long pressing on either of them in file explorer should bring up the permissions and you can change from there. Do the same on your system folder just to double check that the permissions are correct
JRW 28 said:
Im not sure if it really matters on them but long pressing on either of them in file explorer should bring up the permissions and you can change from there. Do the same on your system folder just to double check that the permissions are correct
Click to expand...
Click to collapse
Yeah still no luck... no idea whats wrong
Try pushing them with ADB .....usually that will take care of it

Bionic ROM boot animation sounds?

I have Bionix ROM and I'm trying to add sounds to my bionic boot animation. But there isn't a poweron folder and I tried putting it in the history folder but it still doesn't work. Is there any way to add sounds to the animation?
EDIT: Changed to Bionix ROM and it still hasn't worked. Also tried putting sound file in Notification file and no luck D:
Sent from my Chuck Norris fishbowl
I think it has to do with the kernel, faux kernels don't have boot sound. Dunno about morfic or stock kernels either since I only rock faux ds kernels when released.
Sent from my LG-P999 using xda premium
d12unk13astard said:
I think it has to do with the kernel, faux kernels don't have boot sound. Dunno about morfic or stock kernels either since I only rock faux ds kernels when released.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
What kernels do have boot sound?
testing a method...will post back results ...good or bad
I was able to get sound...tried lots n lots. There is a TON posted here on the subject...found my solution in the HTC forums. Don't have the link handy but search CM7 boot sound. There is a file called bootsnd.sh that will append the necessary files and create the bootsound app needed. To finally get this to work I reflashed a new nightly of CM7. This also removed Trinity kernel...so maybe that was mucking things up. Ill reflash Trinity and see.
But to recap ...yes boot sound on LG g2x with cm7 is a go.
Sent from my LG-P999 using XDA App
OK, I'm going to try cm7. Will posts results to verify.
Sent from my Bionix 2 - A TeamWhiskey Production using xda premium
Taken from somewhere here in xda. (http://forum.xda-developers.com/showthread.php?t=1048231)
I cleared cache and dalvic using CWM.
I flashed a fresh CM7 nightly using CWM.
I Followed terminal emulator instructions...I'm sure adb from command line will work also. I used root explorer to copy android_audio.mp3 (don't forget to set system folder as R/W with root explorer.
1) search for and Download the bootsnd.sh file. Save it to the root directory of your SD Card on your Device.
2. Take whatever sound you want and rename it to: android_audio.mp3 (needs to be mp3 format) and then place in your adb directory.
3. On your phone, open terminal emulator, and type in the following:
su [enter]
cd /sdcard [enter]
ls (to list all files, you should see bootsnd.sh)
sh bootsnd.sh [enter]
You won't see a confirmation, or message, it just runs, and returns you to a # sign.
From your computer, adb push the android_audio.mp3 to the /system/media folder, reboot, and you'll have a sound.
If you don't like or know how to use adb, using root explorer and placing the android_audio.mp3 in the system/media folder works just as well (Mount the /system as R/W First). Reboot, and enjoy your boot sound.
*NOTE*
If you flash / change roms, you'll have to re-run the process to enable the boot sound again. If you get tired of it / don't want it, you can use root explorer and delete the file.
Alternate method:
For those that don't like using the terminal emulator, you can do it via adb:
navigate to your adb folder via commanda prompt, then issue the following commands:
adb remount
adb shell
cd /sdcard
ls [will list files, you should see bootsnd.sh]
sh bootsnd.sh
Like in the emulator, you will be returned with a # sign. Then place the audio file in the folder I specified. Just decided like posting an alt method
Sent from my LG-P999 using XDA App
jhayton said:
(don't forget to set system folder as R/W with root explorer.
(Mount the /system as R/W First). Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
What do you mean by setting the system folder as R/W? It means read/write right? (lol write right)
EDIT: Plus how do I set it to R/W ( Sry im a little of a noob when it comes to things like this, im better at game developing )
thor6577 said:
What do you mean by setting the system folder as R/W? It means read/write right? (lol write right)
EDIT: Plus how do I set it to R/W ( Sry im a little of a noob when it comes to things like this, im better at game developing )
Click to expand...
Click to collapse
Using a utility like Root Explorer (A paid app but worth the 4$, there may be a free alternative), makes this a trivial task...simply click the "Make R/W" will make the system directory ...you guessed it "Read/Writable". Normally its "Read Only" (R/O).
Im not 100% sure about this (im sure ill be corrected) as Root Explorer has made me lazy, but using ADB and issuing the command ADB Remount, will make the file system R/W (per the ADB Wiki adb remount - remounts the /system partition on the device read-write)
So using ADB to push your files, make all your edits on your local machine, then put them in your ADB directory, and issue commands as follows:
ADB remount
ADB push build.prop /system
ADB push init.local.rc /system/etc
ADB push bootsound /system/bin
ADB push android_audio.mp3 /data/local
Grr after I tried it it still doesn't work!!!
EDIT:Im reflashing ROM in case.
EDIT 2 : Yup didn't work.
Sent from my LG-P999 using xda premium
Open terminal emulator and type
Su
Then at the # type bootsound
Do u hear sound? If not something is incorrect
If you do...then its your kernel.
Trinity breaks my bootsound.
Still looking for a fix
Sent from my LG-P999 using XDA App
jhayton said:
Open terminal emulator and type
Su
Then at the # type bootsound
Do u hear sound? If not something is incorrect
If you do...then its your kernel.
Trinity breaks my bootsound.
Still looking for a fix
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Nope didn't hear nothing.
Sent from my LG-P999 using xda premium

[Q] Unlock APN

Hi There,
I bought an atrix 2 that is supposedly unlocked and rooted. I download a root checker and it says it is rooted. I was reading that if it is unlocked that u can use a different carrier which I have been. The phone was set up at the beginning to use T Mobile with a APN set up for this carrier and it worked fine. To save some money I switched to simple mobile which is also working fine. This might seem petty but the T Moblie APN is locked and i would like to delete it but dont know how. Can anyone help? My phone is running the currant ICS 4.0 update.
Thank you
chrisroch40 said:
Hi There,
I bought an atrix 2 that is supposedly unlocked and rooted. I download a root checker and it says it is rooted. I was reading that if it is unlocked that u can use a different carrier which I have been. The phone was set up at the beginning to use T Mobile with a APN set up for this carrier and it worked fine. To save some money I switched to simple mobile which is also working fine. This might seem petty but the T Moblie APN is locked and i would like to delete it but dont know how. Can anyone help? My phone is running the currant ICS 4.0 update.
Thank you
Click to expand...
Click to collapse
You'll need SQLite editor for this.
Using that goto settings storage (com.motorola.android.providers.settings)
Open settings.db
Search for and change dun_apn_changeble,dun_enable to 1.
Reboot.
Sent from my MB865 using xda premium
I Tried
deveshmanish said:
You'll need SQLite editor for this.
Using that goto settings storage (com.motorola.android.providers.settings)
Open settings.db
Search for and change dun_apn_changeble,dun_enable to 1.
Reboot.
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
I Installed SQLite and couldnt find the file u were referring to. I found something ending with providers settings but it was empty
Update
chrisroch40 said:
I Installed SQLite and couldnt find the file u were referring to. I found something ending with providers settings but it was empty
Click to expand...
Click to collapse
Ok I found the database and changed the dun_apn_changable and the dun_enable value from 0 to 1 and rebooted and the t-mobile apn is still locked?????????
Help!!!!
Hey just to be clear before anything else what exactly do you mean the apn is locked???Have you tried adding the apn for your new carrier manually by going into settings/more/mobile Network/acces point name/new apn???
Sent from my MB865 using xda premium
Locked APN
deveshmanish said:
Hey just to be clear before anything else what exactly do you mean the apn is locked???Have you tried adding the apn for your new carrier manually by going into settings/more/mobile Network/acces point name/new apn???
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
When I got the atrix 2 it was set up for T-Mobile with a tmobile apn. This apn has a locked symbol next to it. All i can do is open it and look at it. Cant edit or delete it. I added a simple mobile apn and the phone works fine with everything I am just wondering if there is any way to unlock the t-mobile apn so I can delete it????
You can still use your new apn even if the t-mobile apn is still there
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
I know that
rdhoggattjr said:
You can still use your new apn even if the t-mobile apn is still there
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Click to expand...
Click to collapse
I know it works I have stated that already I just want to clean up my phone and get rid of the t mobile apn. Man I didn't think it would be this hard anybody got any suggestions. Somebody put it in the phone and locked it there has to be a way to reverse this.
Thank You
chrisroch40 said:
I know it works I have stated that already I just want to clean up my phone and get rid of the t mobile apn. Man I didn't think it would be this hard anybody got any suggestions. Somebody put it in the phone and locked it there has to be a way to reverse this.
Thank You
Click to expand...
Click to collapse
If you really must remove it, there is only one way.... I will tell you that it is a little dangerous if you mess up you will bootloop and have to fxz.
You will need the android SDK.
Your phone needs to be rooted.
You need to use adb to pull the /system/etc/apns-conf.xml file to your computer.
Code:
adb pull /system/etc/apns-conf.xml
Now you can edit it with any text editor you want, and you will need to remove the whole block that has the tmo APN.
You will need to mount /system read write:
Code:
adb shell
su
mount -o remount, rw /system
exit
exit
Then using adb put it back in place with this:
Code:
adb push apns-conf.xml /data/local
adb shell
su
cp /data/local/apns-conf.xml /system/etc
exit
exit
And do this to set the perms and owner correctly:
Code:
adb shell
su
chmod 644 /system/etc/apns-conf.xml
chown root /system/etc/apns-conf.xml
chgrp root /system/etc/apns-conf.xml
mount -o remount, ro /system
exit
exit
Now you can also just leave it there and it will hurt nothing.
Yes some things on this phone are harder to hack, but to me that makes it a little more fun and challenging.
Editing File
jimbridgman said:
If you really must remove it, there is only one way.... I will tell you that it is a little dangerous if you mess up you will bootloop and have to fxz.
You will need the android SDK.
Your phone needs to be rooted.
You need to use adb to pull the /system/etc/apns-conf.xml file to your computer.
Code:
adb pull /system/etc/apns-conf.xml
Now you can edit it with any text editor you want, and you will need to remove the whole block that has the tmo APN.
You will need to mount /system read write:
Code:
adb shell
su
mount -o remount, rw /system
exit
exit
Then using adb put it back in place with this:
Code:
adb push apns-conf.xml /data/local
adb shell
su
cp /data/local/apns-conf.xml /system/etc
exit
exit
And do this to set the perms and owner correctly:
Code:
adb shell
su
chmod 644 /system/etc/apns-conf.xml
chown root /system/etc/apns-conf.xml
chgrp root /system/etc/apns-conf.xml
mount -o remount, ro /system
exit
exit
Now you can also just leave it there and it will hurt nothing.
Yes some things on this phone are harder to hack, but to me that makes it a little more fun and challenging.
Click to expand...
Click to collapse
Ok i pulled the file with no problems and opened it with notepad. Do i delete everything in the file? I see the words T-mobile through out the whole file.
Permission denied
chrisroch40 said:
Ok i pulled the file with no problems and opened it with notepad. Do i delete everything in the file? I see the words T-mobile through out the whole file.
Click to expand...
Click to collapse
OK i deleted the block and did like u said to push back to phone but keep getting permission denied..Help!!!!
chrisroch40 said:
OK i deleted the block and did like u said to push back to phone but keep getting permission denied..Help!!!!
Click to expand...
Click to collapse
You did not follow my directions then. I gave you every step. Take another look, as you can not copy files directly to /system/etc with out root perms.
permission denied
chrisroch40 said:
Ok i pulled the file with no problems and opened it with notepad. Do i delete everything in the file? I see the words T-mobile through out the whole file.[/QU
Ok i did like u said and deleted the block but when i try pushing back to phone i get permission denied. Please Help.
Click to expand...
Click to collapse
Ok i pulled the file and deleted the T-mobile block i figure that out but when I tried to push back to phone i get permission denied. I followed the instructions.
jimbridgman said:
You will need to mount /system read write:
Code:
adb shell
su
mount -o remount, rw /system
exit
exit
Then using adb put it back in place with this:
Code:
adb push apns-conf.xml /data/local
adb shell
su
cp /data/local/apns-conf.xml /system/etc
exit
exit
Click to expand...
Click to collapse
So Again, you can not just push the file to /system/etc.... follow that above and it will work, I do this all the time.
I do it exactly as u posted.
jimbridgman said:
So Again, you can not just push the file to /system/etc.... follow that above and it will work, I do this all the time.
Click to expand...
Click to collapse
I do it exactly as u say changing it to read write and that part goes fine. When i try pushing the file after that I get permission denied.

Categories

Resources