[How To] Manually enable sideloading

gdanko

Senior Member
Oct 4, 2010
556
191
0
San Diego, CA
First of all, Linux and OS X come with sqlite3 by default. Windows users will need to download the executable. With that said, here is how you can enable sideloading the old-fashioned way.

Code:
[[email protected] ~]$ adb shell

$ su
# busybox cp /data/data/com.android.providers.settings/databases/settings.db /data/data/com.android.providers.settings/databases/settings.db.bak
# chown system.system /data/data/com.android.providers.settings/databases/settings.db
# ls -l /data/data/com.android.providers.settings/databases/settings.db*
# busybox cp /data/data/com.android.providers.settings/databases/settings.db /sdcard
# exit
$ exit

[[email protected] ~]$ adb pull /sdcard/settings.db
sqlite3 settings.db
sqlite> SELECT * FROM secure WHERE name="install_non_market_apps";
3|install_non_market_apps|0

sqlite> UPDATE secure SET value=1 WHERE name="install_non_market_apps";
sqlite> SELECT * FROM secure WHERE name="install_non_market_apps";
3|install_non_market_apps|1

sqlite> .quit

[[email protected] ~]$ adb push settings.db /sdcard/
[[email protected] ~]$ adb shell

$ su
# busybox cp /sdcard/settings.db /data/data/com.android.providers.settings/databases/settings.db
# chown system.system /data/data/com.android.providers.settings/databases/settings.db
# ls -l /data/data/com.android.providers.settings/databases/settings.db*
# exit
$ exit

[[email protected] ~]$ adb reboot
You should be all set.
 
Last edited:

norcal einstein

Senior Member
Jan 19, 2009
325
35
0
Bay Area
1) Great if you use Wind'oh!s which I refuse to do.
2) I like to know how things work.
Yes, it's always great to know how things work.

But it looks like SuperOneClick is not just confined to Windows.

It is compatible with:
Windows Vista
Windows 7
Ubuntu Hardy (8.04 LTS)
Ubuntu Jaunty (9.04)
Ubuntu Karmic (9.10)
Ubuntu Lucid (10.04 LTS)
Ubuntu Maverick (10.10)
Debian Lenny (5.0)
Debian Squeeze (testing)
Debian Sid (unstable)
Debian Experimental
 
  • Like
Reactions: droiddork

agentdr8

Senior Member
Mar 4, 2007
3,639
1,877
253
Cowtown, CA
SuperOneClick uses Mono on Linux platforms, so most any of the modern ones should work. I used it on my openSUSE box and it worked just fine for allowing non-market installs.
 

Athailias

Senior Member
Aug 21, 2010
273
15
0
Bonham
If I am not mistaken gdanko doesnt use any of those operating systems. He uses a mac...

Maybe his old school ways will help uncover some mysterious portal into the Atrix that will allow cracking the bootloader...
 

__redfox__

Member
Apr 6, 2009
14
2
0
I just finished running superoneclick. I wanted to double check that my phone is now allowing unknown sources, but i dont see the checkbox where it should be. Is this normal? Thanks!
 

__redfox__

Member
Apr 6, 2009
14
2
0
I just finished running superoneclick. I wanted to double check that my phone is now allowing unknown sources, but i dont see the checkbox where it should be. Is this normal? Thanks!
I guess the check box is not added, but superoneclick did do its job. The phone is communicating with the laptop as expected.
 

marlasinger

Member
Mar 30, 2011
12
1
0
Thank you, I needed this sideloading hack since I've already updated/rooted my phone and couldn't use Gladatrix or aRoot without having to reflash 1.26 :)

------------

edit: Actually it got my phone stuck in bootloader with my configuration (1.57 update and rooted). SBF flashing now..
 
Last edited:

Spoofy

Senior Member
Aug 13, 2009
277
15
0
Melbourne
Thank you, I needed this sideloading hack since I've already updated/rooted my phone and couldn't use Gladatrix or aRoot without having to reflash 1.26 :)

------------

edit: Actually it got my phone stuck in bootloader with my configuration (1.57 update and rooted). SBF flashing now..
Hey How did you root your 1.57?
 

Spoofy

Senior Member
Aug 13, 2009
277
15
0
Melbourne
Go to the GladRoot thread linked in my signature below. Please use the search function in the future.
Lose the attitude buddy.
Don't tell me to search, as I have been googling and searching this forum for over a week and found nothing but SuperOneClick which also required me to downgrade.

I probably missed it due to "Last edited by Ririal; 23rd April 2011 at 01:40 AM. Reason: Updates"

Unfortunately this is still not what I am looking for as I am on 1.57 and am still required to downgrade.

Please have some respect.

EDIT: I'ts also not in the sticky thread ;)
EDIT #2: I just found [HOWTO] Easy Root 1.5.7 using GingerBreak which popped up on the 23rd. WOHOOO, no need to downgrade and risk Wifi issues.
 
Last edited:

Ririal

Retired Recognized Developer
Feb 21, 2011
785
393
0
Grayslake
www.rirnef.net
Lose the attitude buddy.
Don't tell me to search, as I have been googling and searching this forum for over a week and found nothing but SuperOneClick which also required me to downgrade.

I probably missed it due to "Last edited by Ririal; 23rd April 2011 at 01:40 AM. Reason: Updates"

Unfortunately this is still not what I am looking for as I am on 1.57 and am still required to downgrade.

Please have some respect.

EDIT: I'ts also not in the sticky thread ;)
It has nothing to do with respect, and I don't have an attitude. Relax, guy.

All the information is readily available, all you need to do is look for it. There's several threads on the first page of the development forum (which you found as you're posting in it) that contain the information you need. One of the threads is even clearly labeled: "[HOWTO] Easy Root 1.5.7 using GingerBreak"

So sorry, I get a little short with people who ask questions that are already answered. Don't take it personally. Here's the breakdown:

There's currently 2 methods of root, one is GladRoot, which requires you to downgrade first. The other is GingerBreak, which formats your phone data. Pick your poison.