1. Check out our companion app, Forums for Android! Download from Google Play

In Need of a translator CMD code to Terminal code for board sticky of Side loading apps.

Discussion in 'Android Devices' started by vapor311, Sep 1, 2010.

  1. vapor311

    vapor311 Well-Known Member
    Thread Starter

    Aug 8, 2010
    Been talking to Lekky and we have all these great things grouped into one thread. One important thread is side mounting the captivate.

    Things it gives you are SDK which can be downloaded for PC or Mac.
    Drivers again PC or Mac.

    Then Root access no biggie
    Busy box no biggie.

    Then it goes into the CMD language for PC on how to edit the database file using CMD prompts to enable the sideloading of APKs directly on the phone.

    What we are looking for is someone to translate this into mac terminal command lines. Here is how it reads now:

    Connect USB to phone with USB Debugging ON
    Command prompt
    cd to SDK install directory
    cd tools
    adb shell
    cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db
    cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db.backup
    (This should bring you back to your windows command prompt.)
    adb pull /sdcard/settings.db %userprofile%\desktop
    (This should copy the settings.db to your desktop in Windows. Keep your cmd window open, you'll need it again.)

    Install SQLite Manager Plugin for Firefox
    Open SQLite Manager Plugin within Firefox (Tools->SQLite Manager)
    Click Database
    Click Connect Database
    Find settings.db
    Expand Tables
    Click secure
    Scroll down to ID 6, "install_non_market_apps". Double-click.
    Change value ( TEXT ) from 0 to 1
    Close SQLite Manager

    (Back to that cmd window)
    adb push %userprofile%\desktop\settings.db /sdcard

    adb shell
    cp /sdcard/settings.db /dbdata/databases/com.android.providers.settings
    busybox chown 1000 /dbdata/databases/com.android.providers.settings/settings.db
    busybox chgrp 1000 /dbdata/databases/com.android.providers.settings/settings.db

    Disconnect USB from phone. Your phone should be rebooting.

    Done! I tested this and was able to install siriusxm.apk from siriusxm.com/android.

    Who knows Mac Terminal commands well enough to translate this so that it can be posted in this sticky thread along with the windows version for us?


  2. Rhiannon224

    Rhiannon224 Well-Known Member

    Aug 2, 2010
    Florida, US

Share This Page