[Script] WiFi Only (Great for devices no longer activated)

CondemnedSoul

Retired Recognized Developer
Apr 19, 2010
4,233
1,996
0
Phoenix, AZ
Thanks:
Scary Alien for helping with some of my brainstorms
CPCookieMan for pointing me in the right direction with my initial thoughts for this project
MongooseHelix for the idea of the script vs a flashable zip

This is a very simple script that utilizes the radiooptions command to disable the radio but still allow use of WiFi without having to use airplane mode. Great for people who just upgraded and want to use their older device for an mp3 player with WiFi access. I wanted to make it to be run in init.d on startup but haven't successfully got it working that way yet so for now it can be run with script manager. This script can be run as follows:

1. Download the script and place it somewhere on your SD Card. (Maybe make a folder named Scripts to keep things organized)

2. Download Script Manager from the market.

3. Open Script Manager and navigate to where you saved the script then select the script.

4. Check the options for run as root and if you always use wifi only because you don't have service on your device check off Run at boot as well.

5. When prompted by superuser allow superuser permissions.

I have tested this script on my Incredible and my Eris as well and should be universal to run on any android device.

Download Here

If you are using this on an inactive device and don't want the activation screen coming up after reboot and new ROM flash follow these simple steps.

*NOTE: you need to be using a ROM that has EPST.apk in it for this procedure to work.

1. Select emergency call and dial ##778.
2. Select edit and enter service password 000000.
3. Select NAM Settings.
4. Change Mobile Directory number to 0000000000 (Ten digits).
5. Change MIN1 to 0000000 (Seven digits).
6. Change Mobile Country Code to 000 (Three digits).
7. As you back out "Commit the Change".
 
Last edited:

CondemnedSoul

Retired Recognized Developer
Apr 19, 2010
4,233
1,996
0
Phoenix, AZ
cool! Will this work on any rom? I guess it should. This is just what I've been looking for. I'm getting a second dinc to test roms, this won't be on a line so this will be perfect. I haven't flashed scripts before (however it sounds easy enough) is it easy to disable it?
Yes. It will work on any rooted device and any ROM. Just run through Script Manager and if you want to disable it change the settings within Script Manager to disable run on boot then reboot. It's that easy.;)
 

CondemnedSoul

Retired Recognized Developer
Apr 19, 2010
4,233
1,996
0
Phoenix, AZ
hey, will this work on a nexus one? I'm getting one for rom testing instead of a second incredible, so, same deal. I would think this would work, but will it?
Yes.. It should work on any rooted device running any ROM. If you want to double check to be certain you can check inside the ROM for /system/bin/radiooptions, then you will know for certain it should work. The script uses that to shut down the radio.
 

jumperalex

Senior Member
Sep 6, 2010
127
10
0
tether?

So can this allow us to tether the wi-fi only phone to our new network phone? the idea being to use the non-network phone to stream pandora, use google maps, etc?
 

Carnage9270

Senior Member
Aug 7, 2010
188
15
0
Quick question, I have an old incredible with a cracked screen I wanted to turn into an MP3 player like youre suggesting here. How exactly do I download from the market on a deactivated phone? Can't get past setup without the phone being activated.
 

CondemnedSoul

Retired Recognized Developer
Apr 19, 2010
4,233
1,996
0
Phoenix, AZ
Quick question, I have an old incredible with a cracked screen I wanted to turn into an MP3 player like youre suggesting here. How exactly do I download from the market on a deactivated phone? Can't get past setup without the phone being activated.
There is a way to get past that using ##778. I don't remember without going through it exactly what in all to do but i have a link at home
On ny comp and I can add the details when i get home.
Sent from my ADR6300
 

Carnage9270

Senior Member
Aug 7, 2010
188
15
0
There is a way to get past that using ##778. I don't remember without going through it exactly what in all to do but i have a link at home
On ny comp and I can add the details when i get home.
Sent from my ADR6300
Actually got through it by pressing activate and cancelling several times. It finally just bypassed it. Thanks for the script, working perfectly.
 

CondemnedSoul

Retired Recognized Developer
Apr 19, 2010
4,233
1,996
0
Phoenix, AZ
Actually got through it by pressing activate and cancelling several times. It finally just bypassed it. Thanks for the script, working perfectly.
Doing that will work but next reboot you'll probably get the activation screen again. If not you'll get it again after another ROM flash but it will come back at some point. I think I noticed on my Eris it was after a reboot. This procedure below got rid of it permanently.

1. Select emergency call and dial ##778.
2. Select edit and enter service password 000000.
3. Select NAM Settings.
4. Change Mobile Directory number to 0000000000 (Ten digits).
5. Change MIN1 to 0000000 (Seven digits).
6. Change Mobile Country Code to 000 (Three digits).
7. As you back out "Commit the Change".

Then you shouldn't be prompted to activate again even after a new ROM is flashed ;)
 

CondemnedSoul

Retired Recognized Developer
Apr 19, 2010
4,233
1,996
0
Phoenix, AZ

lordc

Senior Member
Jul 7, 2009
280
87
0
Hi!

Just a question? It isn't easir just use airplane mode + wifi on? on my CM7 nightly i can do it and runs fine. CM7 also remebers the last radio mode after hot reboot.

Sorry for my english. I'm not native
 

CondemnedSoul

Retired Recognized Developer
Apr 19, 2010
4,233
1,996
0
Phoenix, AZ
Hi!

Just a question? It isn't easir just use airplane mode + wifi on? on my CM7 nightly i can do it and runs fine. CM7 also remebers the last radio mode after hot reboot.

Sorry for my english. I'm not native
That is also an option to this script. Not everyone likes the airplane mode method for one reason or another though so this is an alternative for those people.

You're English isnt bad. I've seen natives with much worse and wouldn't have known you weren't ;)

Sent from my ADR6300
 

hasseye

Senior Member
Jun 15, 2008
743
6
0
I have the HTC Evo View 4G that I did this too, but for some reason when I ran the script I got the signal bar with an x through it saying "looking for service". Isn't it when it looks for service it's draining the battery more? Isn't there anyway to completly remove the signal bars?

Also, I'm trying to remove the activation upon startup, but the View doesn't have a phone to it. is there any other way to disable the activation throuhg the registry or something?
 

4218kris

Senior Member
Feb 22, 2009
241
9
38
Mesa, AZ
I have the HTC Evo View 4G that I did this too, but for some reason when I ran the script I got the signal bar with an x through it saying "looking for service". Isn't it when it looks for service it's draining the battery more? Isn't there anyway to completly remove the signal bars?

Also, I'm trying to remove the activation upon startup, but the View doesn't have a phone to it. is there any other way to disable the activation throuhg the registry or something?
i think your right when you also go to battery it say cell standby is using alot of power mine was aroun23%
 

CondemnedSoul

Retired Recognized Developer
Apr 19, 2010
4,233
1,996
0
Phoenix, AZ
i think your right when you also go to battery it say cell standby is using alot of power mine was aroun23%
It shouldn't be searching for service with the script running. Do you have the radiooptions command in system/bin? Apparently there are some roms around that do not.

Sent from my ADR6300
 

localceleb

Senior Member
Jul 11, 2009
1,444
505
143
Birmingham
I'm confused....I have a non activated incredible that I use at work connected to wifi every day and i've never done anything special to it besides rooting and different roms...am i missing something here?