Android Community
Results 1 to 8 of 8

Thread: Bypassing registration on a Mac

  1. #1
    Join Date
    Jun 2009
    Location
    Greater Philadelphia Area
    Posts
    7

    Default Bypassing registration on a Mac


    OK! I had to reset my G1 because for some strange reason it kept getting stuck at the android screen.

    I don't have a data plan, and I've looked around and I found the thread that tells you haw to get around the registration without it. But one thing said to put something on the SD card and I can't mount the SD card on my Mac because I haven't registered the phone yet.

    Also all the commands say PC. I thought by resetting it, I could register over wifi. If is really that much different to root this thing with a mac than it is with a PC?

  2. #2
    Join Date
    Sep 2008
    Location
    buffalo,ny
    Posts
    2,336

    Default Re: Bypassing registration on a Mac

    you don't have a card reader? what needs to be placed on the sdcard? if you have another phone that takes microsd, you can place the file on it that way.
    ADB\FASTBOOT FOR ROOKIES
    http://androidcommunity.com/forums/f...rookies-18124/

    HOW TO INSTALL 1.33.2005 SPL (HAYKURO'S SPECIAL SPL) http://androidcommunity.com/forums/f...uctions-20500/

  3. #3
    Join Date
    Feb 2009
    Location
    Brazil
    Posts
    19

    Default Re: Bypassing registration on a Mac

    You must have adb installed in your Mac.
    Then just connect the G1 cable to your Mac (you don't have to mount it) and run adb.

    Follow this part from this link http://forum.xda-developers.com/showthread.php?t=452316

    "In an adb shell session, type the following command:

    am start -a android.intent.action.MAIN -n com.android.settings/.Settings

    This doesn't have to have root access to work. It works fine with the "shell" user that adb on non-modded phones runs as.
    That command will bring up the settings page on your phone. From there, you can enable wifi and connect to your wifi network, and then proceed with registration as per normal "

    Good luck!

  4. #4
    Join Date
    Jun 2009
    Location
    Greater Philadelphia Area
    Posts
    7

    Default Re: Bypassing registration on a Mac

    Quote Originally Posted by mari View Post
    You must have adb installed in your Mac.
    Then just connect the G1 cable to your Mac (you don't have to mount it) and run adb.

    Follow this part from this link http://forum.xda-developers.com/showthread.php?t=452316

    "In an adb shell session, type the following command:

    am start -a android.intent.action.MAIN -n com.android.settings/.Settings

    This doesn't have to have root access to work. It works fine with the "shell" user that adb on non-modded phones runs as.
    That command will bring up the settings page on your phone. From there, you can enable wifi and connect to your wifi network, and then proceed with registration as per normal "

    Good luck!
    Thanks but that's the part I don't get. What is an adb shell session. Their is a file called adb but when I click on it, it opens the terminal. I don't know what to do from there. I can't type anything. I'm lost there.

  5. #5
    Join Date
    Jun 2009
    Location
    Greater Philadelphia Area
    Posts
    7

    Default Re: Bypassing registration on a Mac

    You have to connect to your phone with adb shell and get root access, and then type the following command:
    sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO system (name, value) VALUES ('device_provisioned', 1);"
    The page says to do this but I have zero idea how to connect my phone with adb shell.

  6. #6
    Join Date
    Sep 2008
    Location
    The Boonies of Pinal County, Arizona
    Posts
    1,186

    Default Re: Bypassing registration on a Mac

    adb is a command-line utility that interfaces with Android phones.

    Open up Terminal.app. Find the "adb" file and drag it into the Terminal.app window, it should produce something like:

    "/Applications/android-sdk-mac_x86-1.5_r1/tools/adb"

    After "adb", type a space, then "shell". You should now have a shell on your phone -- the prompt will change to simply "$" if you do.

    Example:
    Code:
    howie @ macpro:[~]
    10:28:11 (120) /Applications/java/android-sdk-mac_x86-1.5_r1/tools/adb shell
    $
    I blame this man for most programming problems.

  7. #7
    Join Date
    Jun 2009
    Location
    Greater Philadelphia Area
    Posts
    7

    Default Re: Bypassing registration on a Mac

    Quote Originally Posted by ickyfehmleh View Post
    adb is a command-line utility that interfaces with Android phones.

    Open up Terminal.app. Find the "adb" file and drag it into the Terminal.app window, it should produce something like:

    "/Applications/android-sdk-mac_x86-1.5_r1/tools/adb"

    After "adb", type a space, then "shell". You should now have a shell on your phone -- the prompt will change to simply "$" if you do.

    Example:
    Code:
    howie @ macpro:[~]
    10:28:11 (120) /Applications/java/android-sdk-mac_x86-1.5_r1/tools/adb shell
    $
    Thanks for this but I found out why I'm stuck. My terminal won't work it just shows me

    login: illegal option -- -
    usage: login [-pq] [-h hostname] [username]
    login -f [-lpq] [-h hostname] [username [prog [arg ...]]]

    [Process completed]

    I gotta figure this out before I can do anything else. :/

  8. #8
    Join Date
    Sep 2008
    Location
    The Boonies of Pinal County, Arizona
    Posts
    1,186

    Default Re: Bypassing registration on a Mac


    Quote Originally Posted by jaydeejj View Post
    Thanks for this but I found out why I'm stuck. My terminal won't work it just shows me

    login: illegal option -- -
    usage: login [-pq] [-h hostname] [username]
    login -f [-lpq] [-h hostname] [username [prog [arg ...]]]

    [Process completed]

    I gotta figure this out before I can do anything else. :/
    Open Terminal.app, go to Terminal -> Preferences in the menu. The first tab should be 'Startup'. Look for the second grouping of options, 'shells open with', and select the second option, "command (complete path)". Type in "/bin/bash". Now open up another Terminal window.
    I blame this man for most programming problems.

Similar Threads

  1. bypassing the gmail setup page
    By johnr9412 in forum General Phone Chat
    Replies: 5
    Last Post: 05-14-2009, 11:15 PM
  2. Spotify opens up for registration (uk)
    By beabert in forum Off-topic
    Replies: 0
    Last Post: 02-10-2009, 06:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •