Go Back   Android Forums > Android Phones > Samsung Captivate > Captivate - Tips and Tricks

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old July 24th, 2010, 10:59 PM   #101 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 14
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

help im stuck in debugging mode. i keep trying to disable debugging but everytime i plug the usb cable in, it turns it back on....

contentryder is offline  
Reply With Quote
sponsored links
Old July 25th, 2010, 03:02 AM   #102 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 33
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 1 Time in 1 Post
Default

I just registered the other day as I just picked up this phone. It's my first Android phone after 2+ years of being an iPhone user. Thank you so much for this! Instructions were great. I have very little experience using command line and no experience with the Android OS, but was able to do this with no problems. Thanks again!
Thare187 is offline  
Reply With Quote
Old July 25th, 2010, 04:53 AM   #103 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by agent007ppk View Post
Macbook-2:tools Alee$ ./adb shell
$ su
# cp /dbdata/databases/com.android.providers.settings/settings.db /sdcard/settings.db
cp: can't create '/sdcard/settings.db': Read-only file system

I get this error. Anyone have any thoughts? My phone is rooted, and has Busybox installed.
same thing happened to me anyone have fix??
ericos123 is offline  
Reply With Quote
Old July 25th, 2010, 10:19 AM   #104 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 33
 
Device(s):
Carrier: Not Provided

Thanks: 8
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by ericos123 View Post
same thing happened to me anyone have fix??
I may be way off, but on your phone, something will pop up asking for permission. Click OK. I had the same problem til I read through the posts.
Thare187 is offline  
Reply With Quote
Old July 25th, 2010, 09:02 PM   #105 (permalink)
Member
 
Join Date: Jul 2010
Location: Gerogia
Posts: 132
 
Device(s): Samsung Captivate
Carrier: Not Provided

Thanks: 20
Thanked 17 Times in 7 Posts
Send a message via AIM to KappaG9
Default

Easiest way of side loading:

The Android Central Sideload Wonder Machine - Android Central Forums
KappaG9 is offline  
Reply With Quote
Old July 25th, 2010, 09:32 PM   #106 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 53
 
Device(s):
Carrier: Not Provided

Thanks: 18
Thanked 12 Times in 7 Posts
Default

cp: can't creat ' /sdcard/setting.db.backup': Read-only file system

What to do now?
jhnstn00 is offline  
Reply With Quote
Old July 25th, 2010, 10:25 PM   #107 (permalink)
New Member
 
Join Date: Jun 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default AC-SWM is AWESOME!

Hey everyone....

I'm an N1 user, but I just walked a friend thru installing the Captivate USB drivers and then using Sideload Wonder Machine to sideload the beta for Whatsapp on their phone. Can't imagine why anyone would opt to go thru any more trouble than that. It was silly easy!!! This person could not be less computer inclined, and I literally Google-Talked them thru it. Highly recommend as the method of choice for sticking it to AT&T... at least from an app loading standpoint!

YMMV.....but that's just my .02
makelegs is offline  
Reply With Quote
Old July 26th, 2010, 11:50 AM   #108 (permalink)
DT
Senior Member
 
DT's Avatar
 
Join Date: Jul 2010
Location: Vilano Beach, FL
Posts: 787
 
Device(s): Moto Atrix, iPhone 4, Samsung Galaxy S (aka, AT&T Captivate)
Carrier: Not Provided

Thanks: 28
Thanked 145 Times in 103 Posts
Default

Awesome! Done! Piece o' Cake


Quote:
Originally Posted by KappaG9 View Post
Potentially easier, but once the bit is changed to allow for non-Market apps, then it's way simpler and more convenient (since you can just D/L directly from your phone).
DT is offline  
Last edited by DT; July 26th, 2010 at 11:56 AM.
Reply With Quote
Old July 26th, 2010, 12:01 PM   #109 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 53
 
Device(s):
Carrier: Not Provided

Thanks: 18
Thanked 12 Times in 7 Posts
Default

Quote:
Originally Posted by makelegs View Post
Hey everyone....

I'm an N1 user, but I just walked a friend thru installing the Captivate USB drivers and then using Sideload Wonder Machine to sideload the beta for Whatsapp on their phone. Can't imagine why anyone would opt to go thru any more trouble than that. It was silly easy!!! This person could not be less computer inclined, and I literally Google-Talked them thru it. Highly recommend as the method of choice for sticking it to AT&T... at least from an app loading standpoint!

YMMV.....but that's just my .02
Some of us go through hell and high water just to show it can be done either cause we dislike/hate what ATT does or just geeky enough to do it. Also, not being tethered to a desktop or laptop to load a non market app is what I am looking for which android central's app doesn't offer. Granted I have it and it is easy to use.
jhnstn00 is offline  
Reply With Quote
Old July 26th, 2010, 12:30 PM   #110 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 58
 
Device(s): Samsung captivate
Carrier: Not Provided

Thanks: 5
Thanked 4 Times in 4 Posts
Default

I'm not sure if this was already said but if you use market enabler you'll be able to see blocked apps. go to the link from your computer, download the .apk and side load it. Then select t-mobile us.
MarketEnabler_latest.html - market-enabler - MarketEnabler v.3.0.8 (fixes issue #21) - Project Hosting on Google Code
naxir is offline  
Reply With Quote
sponsored links
Old July 26th, 2010, 12:34 PM   #111 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2010
Location: Missouri
Posts: 490
 
Device(s): Samsung Captivate
Carrier: Not Provided

Thanks: 24
Thanked 121 Times in 47 Posts
Default

Quote:
Originally Posted by jhnstn00 View Post
cp: can't creat ' /sdcard/setting.db.backup': Read-only file system

What to do now?
If you can't write to /sdcard, it means that your phone is in "Mass Storage" mode. Mass Storage locks the sdcard for read/write only from the PC. Best way to go about this is to go to settings->Applications->USB settings then select "Ask on connection". Then when you plug in your USB cord, it'll pop up and ask you what you want. Just don't select anything, or hit the back key to clear that window. Also make sure you're in "USB Debug" mode.
maerlim is offline  
Reply With Quote
Old July 26th, 2010, 01:39 PM   #112 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 53
 
Device(s):
Carrier: Not Provided

Thanks: 18
Thanked 12 Times in 7 Posts
Default

Quote:
Originally Posted by maerlim View Post
If you can't write to /sdcard, it means that your phone is in "Mass Storage" mode. Mass Storage locks the sdcard for read/write only from the PC. Best way to go about this is to go to settings->Applications->USB settings then select "Ask on connection". Then when you plug in your USB cord, it'll pop up and ask you what you want. Just don't select anything, or hit the back key to clear that window. Also make sure you're in "USB Debug" mode.
my phone was set to mass storage but on debugging. Will try tonight.thanks
jhnstn00 is offline  
Reply With Quote
Old July 26th, 2010, 01:51 PM   #113 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 58
 
Device(s): Samsung captivate
Carrier: Not Provided

Thanks: 5
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by jhnstn00 View Post
my phone was set to mass storage but on debugging. Will try tonight.thanks
It only will give you that message if the card is mounted so if you see the drive in your computer then you'll have problems.
naxir is offline  
Reply With Quote
Old July 26th, 2010, 02:08 PM   #114 (permalink)
Member
Thread Author (OP)
 
Join Date: Mar 2010
Location: Missouri
Posts: 490
 
Device(s): Samsung Captivate
Carrier: Not Provided

Thanks: 24
Thanked 121 Times in 47 Posts
Default

Also, you MAY have to go into the notifications bar, and if you see it say something like "Click Here to disable mass storage", do that. Sometimes Mass Storage turns on all by itself.
maerlim is offline  
Reply With Quote
Old July 26th, 2010, 08:39 PM   #115 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 53
 
Device(s):
Carrier: Not Provided

Thanks: 18
Thanked 12 Times in 7 Posts
Default

Quote:
Originally Posted by maerlim View Post
Also, you MAY have to go into the notifications bar, and if you see it say something like "Click Here to disable mass storage", do that. Sometimes Mass Storage turns on all by itself.
Had to use this trick as Mass Storage turned back on. Now let's see if I can install something.
jhnstn00 is offline  
Reply With Quote
Old July 26th, 2010, 08:57 PM   #116 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 53
 
Device(s):
Carrier: Not Provided

Thanks: 18
Thanked 12 Times in 7 Posts
Thumbs up Thumbs Up from a Noobie

Quote:
Originally Posted by maerlim View Post

Done! I tested this and was able to install siriusxm.apk from siriusxm.com/android.
Got Sirius XM installed via 3G via Opera Mini download. Thanks Maerlim or it should be Merlin Merlin - Wikipedia, the free encyclopedia
jhnstn00 is offline  
Reply With Quote
Old July 26th, 2010, 09:14 PM   #117 (permalink)
Senior Member
 
t-readyroc's Avatar
 
Join Date: Feb 2010
Location: Saint Leonard, MD
Posts: 710
 
Device(s): Samsung Captivate
Carrier: Not Provided

Thanks: 72
Thanked 82 Times in 55 Posts
Send a message via AIM to t-readyroc Send a message via MSN to t-readyroc Send a message via Yahoo to t-readyroc Send a message via Skype™ to t-readyroc
Default

I got pdanet installed via the SWM... but I'm wondering where I can find a more recent .apk of it...
t-readyroc is offline  
Reply With Quote
Old July 27th, 2010, 07:46 AM   #118 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 58
 
Device(s): Samsung captivate
Carrier: Not Provided

Thanks: 5
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by t-readyroc View Post
I got pdanet installed via the SWM... but I'm wondering where I can find a more recent .apk of it...
In the store. If you use market enabler as I mentioned in a previous post you're able to see apps at&t blocks, including pdanet.
naxir is offline  
Reply With Quote
Old July 27th, 2010, 08:38 AM   #119 (permalink)
Senior Member
 
t-readyroc's Avatar
 
Join Date: Feb 2010
Location: Saint Leonard, MD
Posts: 710
 
Device(s): Samsung Captivate
Carrier: Not Provided

Thanks: 72
Thanked 82 Times in 55 Posts
Send a message via AIM to t-readyroc Send a message via MSN to t-readyroc Send a message via Yahoo to t-readyroc Send a message via Skype™ to t-readyroc
Default

I tried using market enabler, but it SWM gave me the following error:
Quote:
EOCD not found, not Zip
file 'payload\to_install.apk' is not a valid zip file
This was using the MarketEnabler_v3.0.8.apk that I downloaded from the link you posted.

*Edit - downloaded it again & it worked this time. I got it installed, but I don't think I'm using it correctly... I clicked on [us] T-Mobile in the settings list, then went back to the Actual tab & hit save current settings. Then I went to the market & searched for pdanet & still came up with nothing.
t-readyroc is offline  
Last edited by t-readyroc; July 27th, 2010 at 08:46 AM. Reason: MarketEnabler installed ok
Reply With Quote
Old July 27th, 2010, 07:26 PM   #120 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 58
 
Device(s): Samsung captivate
Carrier: Not Provided

Thanks: 5
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by t-readyroc View Post
I tried using market enabler, but it SWM gave me the following error:
This was using the MarketEnabler_v3.0.8.apk that I downloaded from the link you posted.

*Edit - downloaded it again & it worked this time. I got it installed, but I don't think I'm using it correctly... I clicked on [us] T-Mobile in the settings list, then went back to the Actual tab & hit save current settings. Then I went to the market & searched for pdanet & still came up with nothing.
yeah I did the same thing at first. to pick T-Mobile, it's a long hold.
naxir is offline  
Reply With Quote
sponsored links
Old July 28th, 2010, 05:50 AM   #121 (permalink)
Senior Member
 
t-readyroc's Avatar
 
Join Date: Feb 2010
Location: Saint Leonard, MD
Posts: 710
 
Device(s): Samsung Captivate
Carrier: Not Provided

Thanks: 72
Thanked 82 Times in 55 Posts
Send a message via AIM to t-readyroc Send a message via MSN to t-readyroc Send a message via Yahoo to t-readyroc Send a message via Skype™ to t-readyroc
Default

Quote:
Originally Posted by naxir View Post
yeah I did the same thing at first. to pick T-Mobile, it's a long hold.
OK, I did that, but got the error, "Houston, we have a problem "
t-readyroc is offline  
Reply With Quote
Old July 28th, 2010, 03:40 PM   #122 (permalink)
Junior Member
 
Join Date: Jun 2010
Posts: 16
 
Device(s): Captivate
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

(When typing in adb pull \sdcard\settings.db ben/desktop)



When entering in step 11, it creates a folder in my android-sdk-windows file named Ben (my username) and inside of that new folder is a .db file named desktop instead of a new file called settings on my desktop in user ben. Am I typing in something wrong or is the command line missing something?
There is no file copied to my desktop.


Also, when I use the .db editor on the file it creates, I dont see a “install_non_market_apps” at all, there are only 3 Id lines under secure, none even remotely close.


any clues?
c0ld29 is offline  
Reply With Quote
Old July 28th, 2010, 09:33 PM   #123 (permalink)
Member
 
Join Date: Jul 2010
Location: Loganville, GA USA
Posts: 157
 
Device(s): Nexus S I9020A Sumsung Captivate. Far from stock :)
Carrier: Not Provided

Thanks: 10
Thanked 8 Times in 8 Posts
Default

Quote:
Originally Posted by c0ld29 View Post
(When typing in adb pull \sdcard\settings.db ben/desktop)



When entering in step 11, it creates a folder in my android-sdk-windows file named Ben (my username) and inside of that new folder is a .db file named desktop instead of a new file called settings on my desktop in user ben. Am I typing in something wrong or is the command line missing something?
There is no file copied to my desktop.


Also, when I use the .db editor on the file it creates, I dont see a “install_non_market_apps” at all, there are only 3 Id lines under secure, none even remotely close.


any clues?
type it exactly, dont put your actual username %userprofile%\desktop

The 4 tabs on top, select "browse and search"
settingsPIC.jpg
blackhemi is offline  
Reply With Quote
Old July 28th, 2010, 09:35 PM   #124 (permalink)
Member
 
Join Date: Jul 2010
Location: Loganville, GA USA
Posts: 157
 
Device(s): Nexus S I9020A Sumsung Captivate. Far from stock :)
Carrier: Not Provided

Thanks: 10
Thanked 8 Times in 8 Posts
Default

Thanks for the write up, Im a first time android user, been with iPhone since day one. Ive been set free

It was nice to reinstall all my apps that were back up on by SD card.
blackhemi is offline  
Reply With Quote
Old July 29th, 2010, 09:43 AM   #125 (permalink)
Junior Member
 
Join Date: Jun 2010
Posts: 16
 
Device(s): Captivate
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by blackhemi View Post
type it exactly, dont put your actual username %userprofile%\desktop

The 4 tabs on top, select "browse and search"
Attachment 8587
When I type in exactly "adb pull /sdcard/settings.db %userprofile%\desktop"

I get a message saying Android Debugging Bridge with a list of different commands and what they do (kind of like a help guide), and of course, still no file on my desktop.
c0ld29 is offline  
Last edited by c0ld29; July 29th, 2010 at 09:51 AM.
Reply With Quote
Old July 29th, 2010, 11:03 AM   #126 (permalink)
Member
 
Loremonger's Avatar
 
Join Date: Jul 2010
Posts: 135
 
Device(s):
Carrier: Not Provided

Thanks: 11
Thanked 8 Times in 6 Posts
Default

Quote:
Originally Posted by Balthazar B View Post
There's an easier way...
Thanks. Adb didn't want to copy the databases. Access denied. The Root Explorer worked beautifully.
Loremonger is offline  
Reply With Quote
Old July 29th, 2010, 11:24 AM   #127 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 58
 
Device(s): Samsung captivate
Carrier: Not Provided

Thanks: 5
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by c0ld29 View Post
When I type in exactly "adb pull /sdcard/settings.db %userprofile%\desktop"

I get a message saying Android Debugging Bridge with a list of different commands and what they do (kind of like a help guide), and of course, still no file on my desktop.
I just mounted it to the computer to copy it off the internal sd card
naxir is offline  
Reply With Quote
The Following User Says Thank You to naxir For This Useful Post:
c0ld29 (July 29th, 2010)
Old July 29th, 2010, 01:11 PM   #128 (permalink)
Junior Member
 
Join Date: Jun 2010
Posts: 16
 
Device(s): Captivate
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by naxir View Post
I just mounted it to the computer to copy it off the internal sd card
... you are awesome, lol. I can't believe I didn't just think of doing that, thanks.
c0ld29 is offline  
Reply With Quote
Old July 30th, 2010, 12:06 PM   #129 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

you are so wright i use this and it is very easy to put apps on my phone with no hassle.
jadashouse is offline  
Reply With Quote
Old August 1st, 2010, 10:06 AM   #130 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 45
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by t-readyroc View Post
OK, I did that, but got the error, "Houston, we have a problem "
I got the same error.
novagator is offline  
Reply With Quote
sponsored links
Old August 3rd, 2010, 10:44 PM   #131 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mjgunn View Post
Stuck at "cp: not found". Downloaded busy box from the marketplace, opened it. It said "Status: Waiting...", so I hit install. Now it says "Status: Done!" Below that it says "Your phone is rooted. Busybox was found here: /system/xbin". Seems like it's installed? But still getting "cp: not found"

Edit: Uninstalled busybox, redownloaded it, opened it and hit install again, and "cp" was working fine, not sure what the problem was the first time. Got it all working and sideloading with ease.
I have the same problem and this doesn't work for me. Busybox says it's installed, I've tried uninstalling and reinstalling the app through the market, and even using ADP to go in and remove the busybox binary (reinstalling it with the market app). None of this seems to help.

I read elsewhere that you should try "busybox cp ..." but that just seems to echo the command back at me. Ideas?

Command Log:
Code:
C:\Program Files (x86)\android-sdk\tools>adb shell
$ su
su
# cp /dbdata/databases/com.android.providers.settings/settings.db/sdcard/settings.db
cp /dbdata/databases/com.android.providers.settings/settings.db/sdcard/settings.db
cp: not found
#

EDIT: Fixed the problem
Not sure if it is because I finally got lucky, there was a bad package in the app store, or what, but this is what I did to get it working:
  1. Uninstall the busybox app from the android market
  2. Reboot the phone
  3. Enable USB Debugging
  4. Connect via adb, su, then run "rm /system/xbin/busybox"
  5. Restart phone again
  6. Install busybox from the market and click install from within the app.

When it installed correctly the installer app also gave me a version number on the installation success page instead of just listing where busybox was installed and saying the installation was successful.

I also removed the update.zip I used to root my phone around the same time as all of this, so that might possibly be connected as well...
AdamPflug is offline  
Last edited by AdamPflug; August 4th, 2010 at 01:59 AM.
Reply With Quote
Old August 4th, 2010, 03:31 AM   #132 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Alright, new problem, I accidentally chmodded /dbdata/databases/com.android.providers.settings/settings.db 660 instead of 777, and now the phone wont boot. It gets to the galaxy S logo and then the display goes blank. I can get into recovery mode and I can get in via ADB, but I dont know of a way of making su work so I can fix the permissions without the display.

I tried making an update.zip file with an update-script that would fix the permissions, but when I try to run it it says:
Code:
Finding update package...
Opening update package...
Installing update...
Installation aborted
This is probably because I don't know what I'm doing with update.zips. Please help I'm in over my head.


Edit: Hours later...
The fix for this ended up being putting putting the update.zip for the clockwork recovery image on, booting into recovery mode, selecting reinstall apps, then do su through adb into the clockwork image, then mounting the dbdata partition, then deleting settings.db and reloading it from a backup copy. That seemed to restore the permissions to their defaults.

http://www.koushikdutta.com/2010/02/clockwork-recovery-image.html
AdamPflug is offline  
Last edited by AdamPflug; August 4th, 2010 at 06:13 AM. Reason: Found a Fix
Reply With Quote
Old August 5th, 2010, 09:36 PM   #133 (permalink)
Junior Member
 
Kadin's Avatar
 
Join Date: Aug 2010
Posts: 40
 
Device(s): Samsung Galaxy S2 Skyrocket
Carrier: Not Provided

Thanks: 2
Thanked 1 Time in 1 Post
Default

Thanks so much for this post! Brand new to Android but with some patience and a LOT of reading, this was done successfully on my first attempt. Awesome stuff!!
Kadin is offline  
Reply With Quote
Old August 6th, 2010, 11:27 AM   #134 (permalink)
Junior Member
 
Join Date: Apr 2010
Location: Indianapolis
Posts: 73
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 74 Times in 7 Posts
Send a message via Yahoo to rainierez
Default

For the life of me I cannot get this to work. I have root, I have busybox, It is in USB debug mode, I have tried both with the disk mounted and not mounted and EVERY time I get "Error: device not found" after typing in the adb shell.

...\tools>adb shell
error: device not found


Any ideas? btw I also tried the sideloading wonder machine and pretty much the same problem.

The only odd part that I noticed in the whole process was if I actually start the SDK it complains about not being able to get some package it tried to download. I'm not sure if it is related but I figured I would post it.
rainierez is offline  
Reply With Quote
Old August 15th, 2010, 02:34 PM   #135 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

Not sure if this has been mentioned elsewhere, but I found a way to enable sideloading without needing to connect to a PC at all. I haven't seen this method described anywhere else, so here's what I did:

1) Root'ed using one of the update.zip methods floating around. I think I used this one.

2) Downloaded Root Explorer and SQLite Editor. Both of these are paid apps but look like they are worth owning. For instance, you can also use Root Explorer to rename and disable the AT&T bloatware, as an alternative to this method.

3) Using Root Explorer, mount the filesystem R/W and copy /dbdata/databases/com.android.providers.settings/settings.db to /sdcard/settings.db

4) Open /sdcard/settings.db in SQLite Editor

5) Open the 'secure' table

6) Long-hold on record 6, "install_non_market_apps" and select "Edit Record"

7) Change the value from 0 to 1 and save

8) Back in Root Explorer, copy /sdcard/settings.db back to /dbdata/databases/com.android.providers.settings/settings.db

9) I don't remember if I had to reboot or not, but you may as well.

This worked for me and my needs. Hope it's helpful to someone else.
acheslow is offline  
Last edited by acheslow; August 15th, 2010 at 02:52 PM.
Reply With Quote
The Following User Says Thank You to acheslow For This Useful Post:
t_parsons (September 25th, 2010)
Old August 17th, 2010, 09:25 AM   #136 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Worked for me!

Quote:
Originally Posted by Balthazar B View Post
There's an easier way...
I used this method (after rooting) and it worked perfectly for me.
How ever...there's still an easier way if it works for you. It's called "Sideload Wonder Machine". It's a nifty little app that someone wrote and should work but I haven't tried it as I used the above method.
cowboy7x is offline  
Reply With Quote
Old August 18th, 2010, 09:51 PM   #137 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 27
 
Device(s): Samsung Captivate
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I deleted Daily Briefing when I first rooted the phone, but I am finding that I am using Desk Home more. It fails when I sideload it using the SWM but works with any other apk file. Is there any other way to get it back?
haison is offline  
Reply With Quote
Old August 20th, 2010, 09:59 AM   #138 (permalink)
New Member
 
techmik67's Avatar
 
Join Date: Aug 2010
Location: Florida, USA
Posts: 13
 
Device(s): Samsung Captivate SGH-i897
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default Need help enabling sideloading....

Quote:
Originally Posted by maerlim View Post
*** Standard Disclaimer: I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR PHONE IF SOMETHING GOES WRONG WITH THIS PROCEDURE.

THE PROBLEM WITH USB DEBUGGING HAS BEEN FIXED. THIS PROCEDURE SEEMS PRETTY SAFE NOW. ONLY FURTHER TESTING WILL TELL FOR SURE.

IF YOU PERFORMED THIS PROCEDURE PREVIOUSLY AND YOU HAVE USB DEBUGGING STUCK ON, SKIP TO WHERE YOU SEE *** USB DEBUGGING FIX ***. ***


You'll need the Android SDK (guide to download and install is here)
You'll need the USB drivers (Stickied post in this forum)
You'll need root access (look for the Captivate Root thread by chaoscentral)
You'll need Busybox (available on the market after you root the phone)

Connect USB to phone with USB Debugging ON
Command prompt
cd to SDK install directory
cd tools
adb shell
su
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
exit
exit
(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
su
cp /sdcard/settings.db /dbdata/databases/com.android.providers.settings
chmod 777 /dbdata/databases/com.android.providers.settings/settings.db
reboot

Disconnect USB from phone. Your phone should be rebooting.

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


*** USB DEBUGGING FIX ***
adb shell
su
chmod 777 /dbdata/databases/com.android.providers.settings/settings.db
reboot
I keep trying this and after i type su i never get a popup (on my phone or anywhere else) and it lets me keep typing in cmd window, but nothing happens. If I type the rest it doesn't copy. And I can't then kill adb and must reboot!! HELP!!
techmik67 is offline  
Reply With Quote
Old August 20th, 2010, 10:28 AM   #139 (permalink)
New Member
 
techmik67's Avatar
 
Join Date: Aug 2010
Location: Florida, USA
Posts: 13
 
Device(s): Samsung Captivate SGH-i897
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by maerlim View Post
*** Standard Disclaimer: I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR PHONE IF SOMETHING GOES WRONG WITH THIS PROCEDURE.

THE PROBLEM WITH USB DEBUGGING HAS BEEN FIXED. THIS PROCEDURE SEEMS PRETTY SAFE NOW. ONLY FURTHER TESTING WILL TELL FOR SURE.

IF YOU PERFORMED THIS PROCEDURE PREVIOUSLY AND YOU HAVE USB DEBUGGING STUCK ON, SKIP TO WHERE YOU SEE *** USB DEBUGGING FIX ***. ***


You'll need the Android SDK (guide to download and install is here)
You'll need the USB drivers (Stickied post in this forum)
You'll need root access (look for the Captivate Root thread by chaoscentral)
You'll need Busybox (available on the market after you root the phone)

Connect USB to phone with USB Debugging ON
Command prompt
cd to SDK install directory
cd tools
adb shell
su
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
exit
exit
(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
su
cp /sdcard/settings.db /dbdata/databases/com.android.providers.settings
chmod 777 /dbdata/databases/com.android.providers.settings/settings.db
reboot

Disconnect USB from phone. Your phone should be rebooting.

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


*** USB DEBUGGING FIX ***
adb shell
su
chmod 777 /dbdata/databases/com.android.providers.settings/settings.db
reboot
ok, now after going back and adding "adb kill-server" before i do "adb shell" it waits a sec, tries, and says error device offline. This is after the "* daemon not running. starting it now *" and " *daemon started successfully *" prompts. After offline, back to c:\....\tools
techmik67 is offline  
Reply With Quote
Old August 20th, 2010, 03:33 PM   #140 (permalink)
New Member
 
techmik67's Avatar
 
Join Date: Aug 2010
Location: Florida, USA
Posts: 13
 
Device(s): Samsung Captivate SGH-i897
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by martincarroll84 View Post
I was having issues getting the USB driver to work so SDK was not recognizing the Device. However i was able to get this accomplished in a different way. Here's what I did to get rid of the gay message saying i could only install market apps:

First I rooted my device by downloading the captivate recovery file and renaming it to update.zip and coppied it to my removalble storage card and booted into the recovery and selected “Reinstall packages.” and rebooted the phone. I now had root access but still could not install apps not on the market due to ATT being ******s. next did some research that all that needed to be changed was a database value. ***** FOLLOWING STEPS DO AT YOUR OWN RISK I AM NOT RESPONSIBLE IF YOU BREAK YOUR PHONE******
I then downloaded a pay app called Root Explorer and SQLite Editor
In root explorer navigate to /dbdata/databases/com.android.providers.settings
then coppied the settings.db and pasted it in /sdcard/sd (MUST HAVE MICRO SD INSTALLED)
once coppied to that directory click on settings.db and it will open in the editor with a menu select the secure option and look for install_non_market_apps long tap on it and select 'edit record' when it comes up get rid of the 0 and make it a 1 click save go back to /sdcard/sd copy settings.db and paste it back in /dbdata/databases/com.android.providers.settings and it will copy over the current settings.db reboot the phone and you can install all non-market apps Hope this is useful for users who may have had a usb issue as i did .. It cost me $6 but it was a lot less head ache and i did it in 30mins of research at work instead of the 6hrs of almost ripping my hair out last night! LOL Enjoy!
How do you copy the edited settings.db file back into the appropriate spot? cant seem to just paste any where.....
techmik67 is offline  
Reply With Quote
sponsored links
Old August 20th, 2010, 06:33 PM   #141 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 2
 
Device(s): Samsung Captivate (Rooted, Android 2.1, AT&T)
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by maerlim View Post
[COLOR="Red"]
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.)
The file is not copied to my desktop... help!
CortexA8 is offline  
Reply With Quote
Old August 21st, 2010, 10:36 PM   #142 (permalink)
New Member
 
techmik67's Avatar
 
Join Date: Aug 2010
Location: Florida, USA
Posts: 13
 
Device(s): Samsung Captivate SGH-i897
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default got to here....

Ok here it is........... In windows vista ikept getting either two identical non working devicea shown or none in the cmd window. No external sd card in and internal memory set to mounted like usual and debugging on. FINALLY got recognized in cmd by next clicking tray icon to safely remove hardware. Chose to remove the two representing phone and ignored the four representing removable drives. When it said stopped and safe to remove the two icons disappeared in the my computer window. In the cmd window i used adb kill-server and then adb devices and there it was!!! I still had to do it a few x cause adb kept sticking on (2 or more instances running in task manager and the last wont stop) but at last got it done. And after all that i hit reboot and then unplugged the phone. Downloaded a non market app and when i tried to install today it said no non market apps allowed to be installed. Now what?
techmik67 is offline  
Reply With Quote
Old August 23rd, 2010, 07:50 PM   #143 (permalink)
New Member
 
techmik67's Avatar
 
Join Date: Aug 2010
Location: Florida, USA
Posts: 13
 
Device(s): Samsung Captivate SGH-i897
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by techmik67 View Post
Ok here it is........... In windows vista ikept getting either two identical non working devicea shown or none in the cmd window. No external sd card in and internal memory set to mounted like usual and debugging on. FINALLY got recognized in cmd by next clicking tray icon to safely remove hardware. Chose to remove the two representing phone and ignored the four representing removable drives. When it said stopped and safe to remove the two icons disappeared in the my computer window. In the cmd window i used adb kill-server and then adb devices and there it was!!! I still had to do it a few x cause adb kept sticking on (2 or more instances running in task manager and the last wont stop) but at last got it done. And after all that i hit reboot and then unplugged the phone. Downloaded a non market app and when i tried to install today it said no non market apps allowed to be installed. Now what?

So after all that i still cant get non market apps and yet when i check the settings.db file in /sdcard, it DOES show a 1 (allow non market). The prob seems to be my adb. It opens multiple times in task manager and freezes. when you unfreeze, it stops 1 instance and goes back to b4 you pressed adb ENTER. and shows device offline now. cant get back online and final instance of adb cannot even be forced closed in task manager. Must hard reboot to fix.

When i use Sideload Wonder Machine, it freezes, but when i force close all but last instance, it works with no errors. If I could just somehow get the settings.db file from /sdcard to /dbdata/databases/com.android.providers.com/ and then i could rn the chmod 777 part i'd be done. Any advice?
techmik67 is offline  
Reply With Quote
Old August 29th, 2010, 12:45 AM   #144 (permalink)
Member
 
Join Date: Aug 2010
Posts: 225
 
Device(s):
Carrier: Not Provided

Thanks: 12
Thanked 15 Times in 8 Posts
Default

This part is all dutch to me, Im using terminal on my imac. Anyone care to translate this for me in terminal commands?
vapor311 is offline  
Reply With Quote
Old August 31st, 2010, 07:04 PM   #145 (permalink)
New Member
 
Join Date: Aug 2010
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

I used this info with sucess. My only issue was the transfer of settings.db to the PC. The command line failed, so I used an app on the phone to transfer over WiFi to a share on my PC.
mikeyv is offline  
Reply With Quote
Old September 3rd, 2010, 09:12 AM   #146 (permalink)
New Member
 
Join Date: Jun 2010
Posts: 3
 
Device(s): Samsung Captivate
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by acheslow View Post
Not sure if this has been mentioned elsewhere, but I found a way to enable sideloading without needing to connect to a PC at all. I haven't seen this method described anywhere else, so here's what I did:

1) Root'ed using one of the update.zip methods floating around. I think I used this one.

2) Downloaded Root Explorer and SQLite Editor. Both of these are paid apps but look like they are worth owning. For instance, you can also use Root Explorer to rename and disable the AT&T bloatware, as an alternative to this method.

3) Using Root Explorer, mount the filesystem R/W and copy /dbdata/databases/com.android.providers.settings/settings.db to /sdcard/settings.db

4) Open /sdcard/settings.db in SQLite Editor

5) Open the 'secure' table

6) Long-hold on record 6, "install_non_market_apps" and select "Edit Record"

7) Change the value from 0 to 1 and save

8) Back in Root Explorer, copy /sdcard/settings.db back to /dbdata/databases/com.android.providers.settings/settings.db

9) I don't remember if I had to reboot or not, but you may as well.

This worked for me and my needs. Hope it's helpful to someone else.

Worked for me and I had to reboot at step 9, thanks
bmikandi is offline  
Reply With Quote
Old September 3rd, 2010, 01:27 PM   #147 (permalink)
Member
 
Join Date: Aug 2010
Location: Toronto, Canada
Posts: 139
 
Device(s): Samsung Captivate (want)
Carrier: Not Provided

Thanks: 25
Thanked 9 Times in 8 Posts
Default

dunno if this has been posted before but this is the easiest and fastest way of sideloading i've found (and you don't have to be rooted):

Alternate Way of Sideloading apps: Sideload Wonder Machine - xda-developers
Gipson is offline  
Reply With Quote
Old September 3rd, 2010, 03:21 PM   #148 (permalink)
Senior Member
 
sremick's Avatar
 
Join Date: Jun 2010
Location: USA
Posts: 2,521
 
Device(s): Samsung Captivate
Carrier: Not Provided

Thanks: 79
Thanked 355 Times in 260 Posts
Default

Quote:
Originally Posted by Gipson View Post
dunno if this has been posted before but this is the easiest and fastest way of sideloading i've found (and you don't have to be rooted):

Alternate Way of Sideloading apps: Sideload Wonder Machine - xda-developers
Yes it has, even near the top of this page in fact.

Reading is your friend.
__________________
Questions about the Samsung Captivate? Check out: http://www.capfaq.com/
Nintendo-friendly gaming forum: http://www.ninstation.com/
If myself or CapFAQ.com has been helpful to you, please use the [Thanks] button
DropBox: Free online storage for Android and your PC. Click here for extra space free.
"Your" isn't the same as "You're". Learn the difference.
sremick is offline  
Reply With Quote
Old September 22nd, 2010, 01:26 PM   #149 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I used the one-click root program to get root access.
I then had to install Busybox to get super user privileges before doing the command line stuff.
After I typed su I had to accept the request on my phone.
Then, I had to cp the settings.db to the c: drive and after modifying it cp from the c: drive back to sdcard (it wouldn't work to my desktop with above instructions). But, once on my c: drive I could open and modify it with SQLite Manager.

All said and done, it works perfectly on my Captivate.
First app I installed was android-wifi-tether.

Thanks maerlim for the info.
mod777 is offline  
Reply With Quote
Old September 23rd, 2010, 04:59 PM   #150 (permalink)
Junior Member
 
Join Date: Sep 2010
Location: Texas
Posts: 45
 
Device(s): Captivate
Carrier: Not Provided

Thanks: 4
Thanked 2 Times in 2 Posts
Default

ok so i just got my captivate (first smartphone) the other day and i've had crap phones since day one. so totally new to apps and blah blah. i havent tried this yet but i've been lookin around a little bit.

so my question is, what apps are even worth doing this for? pretty much found anything i've wanted in the appstore. sorry if this has been asked, i just couldnt find anything except ppl that wanted sirius XM on the phone....
sero is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Samsung Captivate > Captivate - Tips and Tricks
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:48 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.