Root you Droid charge the Clean way (adb) - Verizon Droid Charge

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://www.samsung.com/us/support/downloads/SCH-I510RAAVZW
DRIVERS- Once you go to the download link you should see
"MANUALS l SOFTWARE" click on software and download those drivers! If your phone is plugged in while you are doing the download this is ideal because they will automatically sync.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://developer.android.com/sdk/index.html
DOWNLOAD SDK- (Get the zip and paste it in your C:\ Drive for less headache)
After you have downloaded and pasted in your C:\ run "SDK Manager.exe" If your on Vista I run everything as Admin so just run it as Admin so there's no mix ups.. Whenever you run a program while following this tut USE ADMIN!!
When you run the program a little black box similar to cmd pops up.. just move it out of the way because its not important.
That being said you should now see a loading box and if your computer runs pretty quick it should be about done by the time you get done reading this.
Check the very first box and uncheck the rest.. all you need is the "platform-tools option. The other stuff is irrelavent to what were trying to accomplish.
Once you have the folder "platform-tools which is going to be inside your Android folder.. (the one we pasted to our C:\ not too long ago) look inside the folder to confirm that "adb.exe" is inside.. if it is then close out of sdk if not.. figure out what you did wrong and fix it! by default the adb.exe is in your tools folder so if all else fails follow my instructions using your tools folder meaning everything I use the word "platform-tools" you would just use "tools" or wherever adb.exe is located.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This tutorial is WORD FOR WORD meaning this is exactly what you type into your command prompt
The "$"s and the "#"s are what you SHOULD see after you have typed in adb shell once you've navigated to your sdk folder.(If you have no clue what im talking about, you will just continue reading)
BEFORE WE BEGIN download GingerBreak, busybox, Superuser.apk, su
EVERYTHING IS CASE SENSETIVE so make sure your watching that.. if something doesn't work.. you prolly misspelled or
didn't put a space or didn't have the right case..
DroidChargeADB_rootKIT.rar
http://www.multiupload.com/1Z5DDP79QI
After you have downloaded the DroidChargeADB_rootKIT extract them into your /Android/platform-tools/ folder wherever it is..
Default location for platform-tools is usually this
win32- C:\Program Files\Android\android-sdk\platform-tools (wherever your adb.exe is, is where you should set your path)
win64- C:\Program Files (x86)\Android\android-sdk\platform-tools
Click start go to command line (go to "run" and type in "cmd")
after the "~~~~~~~~" is when it begins and thats when you type word for word what ive typed out
unless i have said something then I will make it obvious that you dont type that also I will put (Dont type this)
at the beginning of my text and at the end.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cd C:\Android\platform-tools
adb devices
adb push GingerBreak /data/local/
adb push Superuser.apk /data/local/
adb push su /data/local
adb push busybox /data/local/
adb shell
$cd /data/local/
$chmod 700 /data/local/GingerBreak
$chmod 755 /data/local/busybox
$./GingerBreak (<~~~~Dont forget the period (Dont type this))
(DONT TYPE THIS)
THIS
BIG
LONG
LIST
OF
USLESS
INFORMATION
(DONT TYPE THIS/)
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
#chmod 777 /system/bin
#./busybox cp busybox /system/bin (<~~~~Dont forget the period(NO TYPE))
#chown root /system/bin/busybox
#chmod 777 /system/app
#chmod 755 /system/app
#chmod 4755 /system/app
#busybox cp Superuser.apk /system/app
#busybox cp su /system/bin
#chown root /system/bin/su
#chmod 755 /system/bin
#chmod 4755 /system/bin/su
#mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
#restart
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
YOUR ROOTED THE PROPER WAY!! And its a very clean root.. Hope I helped.. Dont tell me I helped! CLICK THE BUTTON! =] ty for reading all that hahahahaha..
ONE other thing. DONT BE "THAT" GUY.. haha shutup. you know exactly what I mean.
ALSO if you want stock EE1 versions of this software with cool fonts,backgrounds,de-bloated,cool ringtons, already rooted(or non-rooted) and odin ready, just let me know and Ill upload them!

That Guy u Kno said:
=] ty for reading all that hahahahaha..
ONE other thing. DONT BE "THAT" GUY.. haha shutup. you know exactly what I mean.
ALSO if you want stock EE1 versions of this software with cool fonts,backgrounds,de-bloated,cool ringtons, already rooted(or non-rooted) and odin ready, just let me know and Ill upload them!
Click to expand...
Click to collapse
I....don't......know.....how......to......respond!?
There is some useful info here but everyone just flashes stuff here. We use kernels that root the phone for us, thereby not needing to manually root it.

kernels never work for me.. i gotta do it the hard way =(

That Guy u Kno said:
kernels never work for me.. i gotta do it the hard way =(
Click to expand...
Click to collapse
You're going the very hard way if you're on anything but ED1 as none of the root exploits work on ED2/EE4 or the GB leaks.

I really don't understand why you need this...
Sent from my Droid Charge running GummyFroyo 1.9.1

Thanks for putting this out there. Its nice to know there's another way to do this.
Sent from my SCH-I510 using Tapatalk

putney1477 said:
Thanks for putting this out there. Its nice to know there's another way to do this.
Sent from my SCH-I510 using Tapatalk
Click to expand...
Click to collapse
Agreed, I personally won't use this but hey, options are always nice.

kvswim said:
I really don't understand why you need this...
Sent from my Droid Charge running GummyFroyo 1.9.1
Click to expand...
Click to collapse
I find it useful as i have had trouble with the "easy" methods as well. This could come in quite handy.
Sent from my SCH-I510 using Tapatalk

mr.terry said:
I find it useful as i have had trouble with the "easy" methods as well. This could come in quite handy.
Sent from my SCH-I510 using Tapatalk
Click to expand...
Click to collapse
This won't come in handy at all. As of ED2, which was released the day that the Charge launched, no known exploit methods work to gain temp-root access. So, unless you're keeping your phone on ED1 for the entire life of the phone, this method is useless.

imnuts said:
This won't come in handy at all. As of ED2, which was released the day that the Charge launched, no known exploit methods work to gain temp-root access. So, unless you're keeping your phone on ED1 for the entire life of the phone, this method is useless.
Click to expand...
Click to collapse
Exactly, if you root this and then boot the phone, it will unroot itself unless you are running ED1, and that's just..... pointless.

imnuts said:
This won't come in handy at all. As of ED2, which was released the day that the Charge launched, no known exploit methods work to gain temp-root access. So, unless you're keeping your phone on ED1 for the entire life of the phone, this method is useless.
Click to expand...
Click to collapse
Ahhh i see. Good to know. I come from a couple of years of playing with a rooted og droid and the charge is new territory for me. Thanks for the heads up.
Sent from my SCH-I510 using Tapatalk

One click root is the same exact concept... Its clean regardless. But thanks for the effort of typing all that up, lol.

Although the "purpose" of this tut may be worthless quite a few of the commands you learn from this are essential in all builds.. such as chmod, chown, mount... I still use these commands frequently although this is beginner level (still good )

Related

Edit the hosts file?

Probably a stupid question, I just don't know enough yet.
I need to put some entries in my g1's hosts file. However, the OS seems to have it locked down on my 1.2 rc30. Terminal Emulator tells me chown is not found. I don't have access to the SDK where I am right now, however, but I'm hoping someone can point out what I'm missing.
adnans said:
Probably a stupid question, I just don't know enough yet.
I need to put some entries in my g1's hosts file. However, the OS seems to have it locked down on my 1.2 rc30. Terminal Emulator tells me chown is not found. I don't have access to the SDK where I am right now, however, but I'm hoping someone can point out what I'm missing.
Click to expand...
Click to collapse
busybox has chown in it. RC1.2 has busybox. Also, you must use uids and gids, and can't use user names or group names with busybox on Android.
ah, there's chown, thanks! now i gotta play around and figure out what to chown it to. i tried 0 and 777 (i just recently got back into linux, i haven't done jack with it since slackware 3 came out), and it's still telling me that /etc/hosts: Read-only file system.
adnans said:
ah, there's chown, thanks! now i gotta play around and figure out what to chown it to. i tried 0 and 777 (i just recently got back into linux, i haven't done jack with it since slackware 3 came out), and it's still telling me that /etc/hosts: Read-only file system.
Click to expand...
Click to collapse
you need to remount your /system as read write first.
mount -oremount,rw /dev/block/mtdblock3 /system

Deleting system sounds

Was just wondering if anyone has deleted ringtones, notification or alarms successfully? `ould love to get rid of them if possible. Tried making a copy of jf rc30, deleting them and amazon apk then installing but didn't work gave me error message.
i removed unused ringtones w/o any issues
If you have JF's RC30 1.31 installed you should be able to just delete them. Astro should let you goto where they are saved and just delete em. You may need to use DroidSans Tweak tools to remount /system as read/write first.
Hmmm, changing to read/write and trying to use Astro gave me "error deleting file"
Any other ideas?
Dharkaron said:
If you have JF's RC30 1.31 installed you should be able to just delete them. Astro should let you goto where they are saved and just delete em. You may need to use DroidSans Tweak tools to remount /system as read/write first.
Click to expand...
Click to collapse
No neither of those work but thanks for the effort to help. I tried those when i first got root. Im gonna try deleting the same way as i did amazon and see if it works.
stats555 said:
No neither of those work but thanks for the effort to help. I tried those when i first got root. Im gonna try deleting the same way as i did amazon and see if it works.
Click to expand...
Click to collapse
Word let me know if this works. I asked in another thread how to do it but no one answered. All I got was the "yes you can delete them" response
I deleted all of my ringtones without any issues. Just use adb shell and remove them. You can also "pull" them first if want to have a backup. In adb shell type "cd /system/media/audio/ringtones". Now you are in the ringtones folder, now type "ls" and then a list of all the ringtones will display. Once you know the name of the one you want to delete just type "rm filename.ogg" and thats it.
BlueBoar said:
I deleted all of my ringtones without any issues. Just use adb shell and remove them. You can also "pull" them first if want to have a backup. In adb shell type "cd /system/media/audio/ringtones". Now you are in the ringtones folder, now type "ls" and then a list of all the ringtones will display. Once you know the name of the one you want to delete just type "rm filename.ogg" and thats it.
Click to expand...
Click to collapse
Worked great thanks!
No problem, that was one of the first things I did was to change all of the ringtones. Couldn't stand the ones that came with it.
BlueBoar said:
No problem, that was one of the first things I did was to change all of the ringtones. Couldn't stand the ones that came with it.
Click to expand...
Click to collapse
Yeah i hear you on that, just a bunch of crap taking up space. I use mp3's for ringtones so no need to waste system space on them! I just learned how to use adb thank god!
Update - deleted most of the ringtones and 4 notifications, freed up 2mb's
BlueBoar said:
I deleted all of my ringtones without any issues. Just use adb shell and remove them. You can also "pull" them first if want to have a backup. In adb shell type "cd /system/media/audio/ringtones". Now you are in the ringtones folder, now type "ls" and then a list of all the ringtones will display. Once you know the name of the one you want to delete just type "rm filename.ogg" and thats it.
Click to expand...
Click to collapse
Sweet worked like a charm! Thanks a bunch
Ok I read how to delete the ringtones but what is ADB Shell? Lke where do i go to type in all those commands?
My phone is rooted JF1.41 with the latest RC33 modded update.
Cargo75 said:
Ok I read how to delete the ringtones but what is ADB Shell? Lke where do i go to type in all those commands?
My phone is rooted JF1.41 with the latest RC33 modded update.
Click to expand...
Click to collapse
You can do it all right from the phone with Terminal.
Type
Code:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
cd /system/media/sounds/(whichever directory you want)
ls
rm (whichever .ogg file you want)
The .ogg files are case sensitive, so beatplunker.ogg isn't the same as BeatPlunker.ogg
Also the .ogg extension has to be at the end of each file you rm.
If you want to save a backup on your sd card I just typed this before I started removing things. Good luck
Code:
cp /system/media/sounds /sdcard
Beast84 said:
You can do it all right from the phone with Terminal.
Type
Code:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
cd /system/media/sounds/(whichever directory you want)
ls
rm (whichever .ogg file you want)
The .ogg files are case sensitive, so beatplunker.ogg isn't the same as BeatPlunker.ogg
Also the .ogg extension has to be at the end of each file you rm.
If you want to save a backup on your sd card I just typed this before I started removing things. Good luck
Code:
cp /system/media/sounds /sdcard
Click to expand...
Click to collapse
wow, thank you!
Cargo75 said:
wow, thank you!
Click to expand...
Click to collapse
No problem. Just figured I'd pass some of the knowledge these fine peeps here have passed on to me
Cargo75 said:
Ok I read how to delete the ringtones but what is ADB Shell? Lke where do i go to type in all those commands?
My phone is rooted JF1.41 with the latest RC33 modded update.
Click to expand...
Click to collapse
In the future, you may what to do this through your PC to prevent carpel tunnel... You can download the Android SDK from here: http://developer.android.com/sdk/1.1_r1/index.html
Extract it to your drive. Navigate to that folder in a command prompt window then "tools". Once there you can run(make sure the G1 is plugged in the usb):
adb remount (remounts the system read/write)
adb shell (this drops you into the shell to interact with your phone)
cd /system/media/audio/
From there you should be able to follow the proceeding directions.
I went and did all this and even went the extra mile and pushed some of my custom mp3's to the file (about 3 meg worth). Is this going to cause problems with updating in the future?
You don't need to remount the system to read/write manually if it already has been done with DroidSans do you?
I usuall y do the mount through Terminal emulator.
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm -r /system/media/audio/ringtones
rm -r /system/media/audio/notifications
bam gone!
I tried to copy and after mounting I typed:
cd /system/media/audio/
ls
then got:
alarms
ringtons
notifications
ui
then I typed: cp /system/media/audio /sdcard
and got this message:
cp: omitting directory '/system/media/audio'
is it something small and dumb that I'm doing or are the files copied?

[Q] Droid 2 Global BootStrap Manual Install?

How would I go about pushing clockworkmod custom recovery via ADB/Terminal instead of using the D2Bootstrap.apk?
You don't and even if it did it wouldn't work because the D2, D2G, DX and Dpro have locked bootloaders stick with koush it has never done me wrong and I've been romming my D2 since we got root and roms back in september 2010.
Sent from my DROID2 using XDA App
newk8600 said:
You don't and even if it did it wouldn't work because the D2, D2G, DX and Dpro have locked bootloaders stick with koush
Click to expand...
Click to collapse
I'm just asking how the app can do something that a terminal can't? I don't know how to comprehend that, I would think that there would be a way.
I wonder if the apk will have any useful information. Thank you for the reply
fKngFtd said:
I'm just asking how the app can do something that a terminal can't? I don't know how to comprehend that, I would think that there would be a way.
Click to expand...
Click to collapse
I'm sure there is a way but why figure it out when it's already been done?
The app pushes files (not sure what) to locations (not sure where) that hijack the booting process on startup before getting to moto's software. If it sees a specific file (I think logwrapper.bin but I'm not sure) is boots into clockworkmod. If it doesn't it just boots like normal.
Sent from my DROID2 using XDA App
newk8600 said:
I'm sure there is a way but why figure it out when it's already been done?
Click to expand...
Click to collapse
I would like to figure out how so "I" won't need an app, and to hopefully bring more info to our Community of D2G owners. Just my own opinion.
You need to get the hijack file from Koush's App. Download droid2bootsrapper either from his site or the market. View it with your favorite zip viewer, say 7zip or Winrar. Look in the assets folder for the hijack file.
Adb push hijack to /system/bin
Chmod 755 hijack
Rename logwrapper to logwrapper.bin (in the /system/bin folder)
Symlink hijack to a new file called logwrapper ("cd /system/bin", "ln -s hijack logwrapper")
Don't try it if you don't know how to SBF.
Sent from my DROID2 GLOBAL using XDA App
Thank you bro, I will try and report back. The SBF is my friend, it has fixed my D2G multiple times. Hah
Sent from my DROID2 GLOBAL using Tapatalk
buryboi said:
You need to get the hijack file from Koush's App. Download droid2bootsrapper either from his site or the market. View it with your favorite zip viewer, say 7zip or Winrar. Look in the assets folder for the hijack file.
Adb push hijack to /system/bin
Chmod 755 hijack
Rename logwrapper to logwrapper.bin (in the /system/bin folder)
Symlink hijack to a new file called logwrapper ("cd /system/bin", "ln -s hijack logwrapper")
Don't try it if you don't know how to SBF.
Sent from my DROID2 GLOBAL using XDA App
Click to expand...
Click to collapse
I tried what you said and but I believe that there is another step?
# adb push hijack /system/bin
# mv /system/bin/logwrapper /system/bin/logwrapper.bin
# cd /system/bin
# ln -s hijack logwrapper
#
Do I need to flash the recovery still, I'm stuck.
(Edit)
I searched further into the apk, and found the recovery image along with *.sh scripts. All help is appreciated.
No, you cant "flash" recovery as the D2G has a locked bootloader.
I'm not positive, but when the App is installed there are additional files in /data (like an update.zip)
I dont know if the hijack loads that update.zip or not...I'm inclined to think it doesn't since most of the custom roms just include the hijack and the symlink and nothing else...
the .sh file is the script that runs when you press "reboot recovery" in the app.
There is another .sh script that runs adbd is su mode when your phone first boots.
To get into recovery type the following in terminal
$su
#touch /data/.recovery_mode
#reboot
When the phone boots, init.rc calls logwrapper, which symlinks to hijack, which checks for the file /data/.recovery_mode. If it finds that file, it unmount system and loads bootstrap/Clockwork Recovery. If it doesn't find it /data/.recovery_mode it creates it, just in case you're phone doesn't boot. When your phone successfully boots, Droid2Bootstraper.apk starts and deletes /data/.recovery_mode so that next time you boot you wont automatically go into Boostrap recovery.
If you dont have the Boostrapper app, then you will probably boot into recovery every time you restart your phone.

[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

[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