Ok I have created a step by step to enable sideloading on 2.1. big thank you to Beach_Head for the original post. Also since this requires root, I am moving it to the root section. Normal disclaimer, blah, blah, blah... Use at your own risk...
Step 1: You need to have adb and know basic adb commands.
Step 2: You need to be rooted. Use the VISIONary app found in this thread here
. You can use the command adb install the app, or use the sideload wonder mechine. Google it. Note I had to run it 3 times to get root, but it worked and is still there after reboot
Step 3: Download and extract the five files from the zip at the bottom of this post into your folder with adb
Step 4: Open the command prompt and navigate to the folder with adb
Step 5: Type the following:
This will copy the required 5 files to your phone
adb push settings1.db /data/local/tmp/settings1.db
adb push settings2.db /data/local/tmp/settings2.db
adb push secure.mkitso3 /data/local/tmp/secure.mkitso3
adb push system.mkitso4 /data/local/tmp/system.mkitso4
adb push settings.mkitso5 /data/local/tmp/settings.mkitso5
Now time to enter adb
Time to use su, you will need to accept the superuser prompt on your phone. The $
needs to turn into a #
, if it does not, you are not rooted or did not accept the prompt on the phone
Mount the /system folder so you can replace the files
mount -o rw,remount /dev/block/mtdblock1 /system
Now time to copy the files. The below commands will copy the new files and rename them to the correct names, replacing the old files
cp /data/local/tmp/settings1.db /data/data/com.android.providers.settings/databases/settings.db
cp /data/local/tmp/settings2.db /data/data/com.motorola.android.providers.settings/databases/settings.db
cp /data/local/tmp/secure.mkitso3 /system/etc/motorola/com.android.providers.settings/secure.mkitso
cp /data/local/tmp/system.mkitso4 /system/etc/motorola/com.android.providers.settings/system.mkitso
cp /data/local/tmp/settings.mkitso5 /system/etc/motorola/com.motorola.android.providers.settings/settings.mkitso
Now that the files are in the correct location, you need to give permission to the phone to use them
chmod 644 /data/data/com.android.providers.settings/databases/settings.db
chmod 644 /data/data/com.motorola.android.providers.settings/databases/settings.db
chmod 644 /system/etc/motorola/com.android.providers.settings/secure.mkitso
chmod 644 /system/etc/motorola/com.android.providers.settings/system.mkitso
chmod 644 /system/etc/motorola/com.motorola.android.providers.settings/settings.mkitso
Now reboot the phone for good measure
Look in settings --> applications to make sure you have Unknown sources
If you are on the official 2.1
Originally Posted by Beach_Head
I posted an easier way of installing apps from Unknown Sources. Post #31 of this thread. I guess nobody bothered to read it.
All you have to do is download the zip file and replace two (2) files and you will have the "Unknown Sources" option in Settings->Applications.
Note: This is only for the official Motorola 2.1 Update. If you're using j_r0dd's Preclair ROM, you already have this.
Allow Non-Market Apps for Backflip users with the 2.1 Update: Enable Non-Market Apps 2.1
Just replace the files on your phone with the ones in the zip file and set the permissions of the files as stated below.
1. Location: data/data/com.android.providers.settings/databases/
- Permissions: settings.db: rw-rw----
2. Location: data/data/com.motorola.android.providers.settings/databases/
- Permissions: settings.db: rw-rw----
[MOD] Install non-market apps
(how to enable installs from SD card)
My Method for ADB if you want
1. Create a folder called adb on your C drive
2. Extract all files to your adb folder
3. Copy the cmd.exe file (copy the file don't make a shortcut to it or move it) from your "C:\Windows\System32" folder to the adb folder
4. Install the downloaded USB driver
4. Once you have the driver installed, on your phone enable debugging mode (Menu --> Settings --> Applications --> Development --> Check USB Debugging)
5. Copy the apk files you want installed to your "C:\adb\tools" folder. The adb.exe and cmd.exe should be in that tools folder.
5. Open the cmd.exe file
6.Type the following command:
adb install application.apk
Where application.apk is the name of the apk to install
Your app should now be installed