yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] Jkburba:
i figured it out ...dumb mistake

thanks but yea i backed it up just in case but i figured it out right after i posted in the thread...it just clicked that i tried to open it from "my files" folder instead of the root explorer app which i guess is dumb of me but i'm learning :) ..so once i opened it on the root explorer everything worked fine.... its my first time learning so i'm still allowed dumb mistakes right? lol
[Captivate Android Development] BodaciousDrake:
I had to use a hybrid of methods 1 and 2, but it worked like a charm!

Moved settings.db to sd card with root explorer, used the last part of method 1 to edit settings.db with sqlite3, used root explorer to copy updated settings.db back to original location. Rebooted and installed non-market app.

Thanks OP!
[Captivate Android Development] EpicEric:
Can anyone confirm whether Method #2 works with Froyo 2.2 or not?

Thanks.
[Captivate Android Development] EpicEric:
It doesn't fyi.
[Captivate Android Development] soypoi:
THank you for this!!! Method 2 worked really well! All of the other ones that require code to be typed makes my eyes bleed! Thank you again!
[Captivate Android Development] godzirra:
Not Working for Me

Hey guys, I'm not a noob to command line and unix in general, but I'm having a lot of trouble. I got sqlite3 onto my phone and it works fine. I'm running this command:

# sqlite3 /dbdata/databases/com.android.providers.settings/settings.db <<EOF

update secure set value = 1 where name = 'install_non_market_apps';

EOF

> > #

# reboot

the sqlite3 command returns without any output, and reboot reboots fine. Sadly after I reboot, I still don't have the option to enable apps from unknown sources in Settings->Menu->Applications. What am I doing wrong here?
[Captivate Android Development] Bruce Inman:
Try this method, much easier.
[Captivate Android Development] godzirra:
That method would be completely easy if I was on a windows machine. ;)

I'll try that when I get home, but everything I did seems to be correct, so I'm curious what went wrong and why I still don't have access.
[Captivate Android Development] Dave the Knave:
You seem to have misunderstood. This process does not change the settings menu so you can see anything. It simply enables the process.
[Captivate Android Development] markdavidk:
Thank You All So Much - Huge Love 8)

I am a very new Samsung Captivate user. I am not really a hacker by heart, I know my way around my computer to do what I need to do but I am not anything special.

After getting my Captivate I went to install Firefox Fennec and upon trying to install I was told that there was a block in place to prevent me from doing what I wanted my phone to do.

That really aggravated me. It's my phone. I should be able to run what I want on it if the technology allows it. So I began to read the info on this site and figured out what I needed to do to get rooted. The one click would not work, so I went the sdk/driver/modify update.zip root and it worked the first time.

Tonight I modified my phone to run sideloaded apps via the sdk/sqlite via cmd method and it too worked flawlessly.

I then downloaded Fennec and installed it via Astro file manager and it works beautifully.

I could not have done it without this website and all of you phone loving modding freaks.

Thanks for the gear!

Mark
[Captivate Android Development] eviling:
i'm having an exceptional ammount of trouble understanding this process, i did my root through cmos but i'm really not understanding your instructions. but i would like to be able to use my app plannet app to directly install apps from the black market to the phone with out sideloading them.
[Captivate Android Development] eviling:
alright i think i'm getting a grasp on this, i'm trying the root exploror method, i tried the pure cmd method but i coudln't figuire out how to enter the cmd lines properly, i understnad what to do and i can see the exact file i need to change, but how do i extract it from the phone? and furthermore how do i push it back in, and replace the original file? you said you used a db editer to change it in windows, what did you use, no links to this was provided, and no method on how you removed this file was explained.
[Captivate Android Development] Dave the Knave:
I don't understand why you're still fussing with this when you could have already gone here: http://xdaforums.com/showthread.php?t=807046 and been done with it already.

Secondly, it tells you in the thread...

Use a little initiative and SEARCH for it yourself. You can't always assume you'll have every resource provided to you when you go through these tutorials. Most of them on XDA assume you know what you're doing before you do them.
[Captivate Android Development] Zurginator:
How do you unmount internal storage o_O

I keep getting permission denied. I'm using the SDK/Drivers/7 x64 version.
[Captivate Android Development] max_warheads:
unmount the internal storage from what?
[Captivate Android Development] eviling:
sorry the forums rather large and quite a pain to navigate through all the info, i havn't really had much time, i was focusing on this thread mostly as i was directed to it from an outside source.

edit - the one click solution did work :) and finily showed me the commands i was typing wrong.
[Captivate Android Development] kopimi:
Tried method one, it seemed like everything went through yet I have no option to sideload apps. :/
[Captivate Android Development] reinbeau:
I used a combination of Root Explorer, SQLite Editor and Dropbox, modified from simplemobilereview's post about enabling sideloading (can't post the link, I haven't posted enough :rolleyes: ) You zip and copy settings.db from your Captivate to Dropbox, then you can edit it in Firefox (with the SQLite Manager extention), zip it, copy it back, and manipulate it from there - or I found I could copy the file to another folder I created on my SD card (I called the folder modified market), edit the file in there with SQLite (program on the droid, suggested when you install Root Explorer), save the file and then copy it back to the original folder following their directions. The one thing you have to be careful of is making sure you're mounted R/W instead of R/O in Root Explorer or you'll get errors, something like 'permission denied'.

The reason I did it via the Dropbox method is I was having a problem with the USB drivers installing on my PC, I've since figured that one out, but this method works with very little fiddling.

I am very new to all of this, but I was able to follow that link's instructions and figure it out from there. Learned a bit about file manipulation and directory structure along the way. Works a charm :)
[Captivate Android Development] Dave the Knave:
This does not give you an option in your settings menu to enable it. It's either enabled or it's not. Did you even bother to test installing an app from your sd card?
[Captivate Android Development] kopimi:
Yes and it didnt work, also I cannot install applications that are unsigned via ADB which means I can't develop applications until I fix this :(
[Captivate Android Development] Dave the Knave:
Pm me and Ill try to help you on a more personal level

Sent from my Captivate
[Captivate Android Development] sm4ky:
i downloaded and unzipped the SDK and i have my phone hooked up via usb with debugging enabled and the sd card unmounted(i'm attempting method one) but when i go to use the adb commands it just says that adb is not a recognizable command, i'm fairly new at this so idk if i did something wrong but if you could help that'd be great :)
[Captivate Android Development] Dave the Knave:
Just because you have unzipped the sdk does not mean its installed. Search Google for how to install android sdk and you'll see what I mean. I'd give you the link but I'm on my phone

Sent from my Captivate
[Captivate Android Development] iceman198:
Just wanted to say that Method 2 worked like a charm for me! Downloaded RazorSQL and was able to connect to the db file. Found that the 'non-market' setting was in the 'secure' table.

Followed the instructions and bam! Titanium backup was able to restore Dungeon Hunter for me!!!!

Many thanks!
[Captivate Android Development] jaydeekay:
QUESTION: with method 1, is it supposed to create a checkbox or anything to enable or disable the non-market apps? method 1 enabled it meaning i tried and installed something and it worked but i dont see anywhere to disable...
[Captivate Android Development] SolanoGypsy:
Triumph and disappointment

I had attempted to root my motorola backflip without success and many folks were less than patient with my questions related to this issue.

Enter Samsung Galaxy S (Captivate)! Move over iPhone, hello Heaven. I managed to root my Captivate entirely without the aid of a computer.

Now, I attempted to do the third procedure recommended in this post and here is my issue. When viewing the terminal commands on my Captivate browser, the last several words of each command are cut off. In short, partial commands are missing. I overlooked this initially and entered the commamd as I read it, screwed up my phone, repaired it, and still need the command lines.

Is there any way I could get a copy of these commands in their entirety? Perhaps via email?

Also, I thought I might recommend another app for this procedure which explores root files and provides terminal emulation. It is called SUFBS. I have, thus far, been very please with this app.

Thanks for your time all!
[Captivate Android Development] SolanoGypsy:
Be patient with folks, fellow tech lover. You were a newbie at this once, too.
[Captivate Android Development] SolanoGypsy:
Titanium Backup available from the Market can fix your Busybox issue. The app has a button which reads Problems? Press this button and you will get the latest busybox. ;-)
[Captivate Android Development] BigE_:
Total Android noob here, but I managed to follow the directions. Obviously did something wrong, though, because I can't get past the boot animation screen.

I can't get into the phone through USB anymore...

I DID back up my settings.db

I can boot up into recovery mode, and I seem to recall installing and backing up with clockworkmod recovery at some point. I have been using Titanium Backup for quite a while. (However, Titanium Backup won't restore because it is an unknown source, hence the reason for trying this mod).

So, now I'm sitting at the prompt

"Reboot system now"

"reinstall packages"

"delete all user data"

"delete cache data"

I'm pretty sure I have a update.zip sitting in the root of the SD card...

Do I just reinstall packages? Or should I try other options first?
[Captivate Android Development] reinbeau:
What method did you use to try to enable non-market apps?
[Captivate Android Development] BigE_:
Method 1. I have the "Good" settings.db sitting on my PC. I also have a settings.db.old sitting in /sdcard on the phone.

Looking at post 115

http://xdaforums.com/showpost.php?p=8167577&postcount=115

I used FF Sqlite manager to view the settings.db currently on my phone, and it looks good (Secure ID 6 set to 1). The old version had it set to 0.

The *only* difference I can see is that I did a chown to system.system, and I did a chmod to 660 on the settings.db. In post 115, the directions say chmod 777. In post 1, the directions say chmod 660.
[Captivate Android Development] reinbeau:
Well, you're talking greek to me with the chmod stuff. I used this method (this is a copy of my post from before, all of the work is done on the phone):

Can I suggest an even easier way of editing and manipulating the settings.db file? I used a combination of Root Explorer, SQLite Editor from this link.. I found I could copy the file to another folder I created (modified market), edit the file in there with SQLite, save the file and then copy it back to the original folder following their directions. The one thing you have to be careful of is making sure you're mounted R/W instead of R/O in Root Explorer or you'll get errors, something like 'permission denied'.

The Sideload Wonder Machine is nice, but I'm not always at my computer when I find something I want to try, this method made sideloading totally contained on the Captivate. Works a charm
[Captivate Android Development] BigE_:
Thanks, reinbeau

Next time I'll do it slightly differently. However, now I'm sitting at the stuck animation, or recovery mode.

OK, so now I'm sitting in recovery mode and can do adb shell. (Had to connect to a different port on my computer). But, su doesn't work...

Tried reinstall packages and got to Clockwork Mod.

Mounted system, data, cache, sdcard. Now can now also do su. Currently doing an adb pull of everything on the sdcard so I can back it up onto my pc in case I lose everything when I do a re-install. Next up is to pull everything in system and data.

Still muddling my way through this....

OK. Got everything backed up. And in the process...

adb shell

su

mount -a

<deleted bad code>

Still nothing. Jeez. Still trying to get through this.

I do have Nandroid installed, but the last backup was 4 months ago. Might have to resort to that.

Oh, by the way, I do have One Click Lag Fix installed. Could that be the issue?

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

OK, so OCLF was the issue. If you are going to try this, make sure you undo OCLF first, and remove it....

So, here's what I did

1.) Boot into clockworkmod and do a complete backup of the non-working phone

2.) Do an adb pull of the clockworkmod backup directories / files

3.) Restore to my earlier (Oct 2010) clockworkmod backup

4.) In Win7, use unyaffs to expand out my data.img file from my latest backup

5.) use adb push to push the linux.ex2 file into /data/ext2

--> adb push linux.ex2 /data/ext2/

6.) Reboot phone

7.) Undo OCLF!!!

8.) Uninstall OCLF!!!

Phew. Got my data back. Now my phone is really screwed up - new data, old apps. Going to do yet another nandroid backup, and at this point it's probably time to just put a new ROM on the phone. I've been thinking it's about time for Froyo or Gingerbread anyway.
[Captivate Android Development] bay_wolf:
For anyone interested, my program AIO Captivate Toolbox enables non-market applications on your phone (in advance menu) as well as flashing custom ROMs.
[Captivate Android Development] Soldier00:
Root your phone then do this:

Another method i figured out since people dont want to pay for root explorer and thats the only way to get it without the option to install non market apps:

1.Download aSQLiteManager from market(free) and aShell (free) they go together when editing database on the phone. One will ask to use another once you are inside the database, one (SqliteManager) goes so far then you have to use the other(aShell) it will let you know when its pretty simple.

As long as your phone is rooted the sqllitemanager/ashell will ask for permissions and to write to the database, just allow it.

2. Open aSQLiteManager and click on Open Database, then in Android folder find dbdata open dbdata/databases/secure/com.android.providers.setting/settings.db then on setting.db click "data" and it will open all the values within, from there you will see install_non_market_apps line and 0 next to it, on that same line click edit and change from 0 to 1. then go back as if you were trying to go back into main folder and it will ask you to save, just save it and thats that, you might need to restart to have the non market apps work.
[Captivate Android Development] Dave the Knave:
There are other file managers that have root support. Root Explorer is not the only one that can do this job.

Sent from my Captivate
[HD2 General] marcelh25:
While I was running Android, when i woke up my phone to unlock my scren went off. When I start WM now I got this:

http://www.youtube.com/watch?v=DTt9GWbCmtk

It starts up, every work axcept from my screen. I tried to put a new radio and rom but as expected that didn't work.

Anyone with an idea? Or just flash to original rom and send it to HTC?

Thanks for help in advance,

Marcel
[HD2 General] ek9beast:
what radio did you use? have you tried a hard reset?
[HD2 General] marcelh25:
I used to use 2.12.50.02 when the screen went dead. After that I went to 2.08. Hard reset doesn't work either...
[Captivate General] G35tr:
This is my first post, so I'll introduce myself. I've been viewing the site for several years now off and on, starting back when I have my MDA thru T-Mobile. From there I went to the HTC Fuze with ATT (wife wanted the Iphone). So I've been a Windows guy for a while (created a few WM apps for work). Anyway, the screen on my Fuze finally gave out, and wouldn't register touches anymore, so I had to upgrade in a hurry. While I wanted to wait for WM7, there was no way I could deal until then.

Well I seemed to have gotten mostly migrated over from WM6 to Android. Obviously the biggest thing was local Outlook sync, mainly for contacts and Calendar (same thing a lot of other folks need). Our answer in supposed to be Samsung Kies, which seems to giving people fits. I ended up getting the contacts sync'ed over pretty easily, although there are some limitations with Kies and Android when it comes to Outlook contacts.

Then on to the Calendar. Whew! What a pain. I, like a lot of people, experienced some of the same common issues:

-Errors while attempting to transfer from Outlook to Kies

-Kies not transferring data to phone once it's received from Outlook

-Appointments not showing up on the phone

-Hell I even had Kies delete all my Outlook contacts from the PST file TWICE! (Luckily I backed up the PST first, so nothing was lost.)

I'll go through what I've done in the next couple posts, but here is where I am standing:

*Kies and the phone connect successfully every time.

*Kies and Outlook communicate back and forth very consistently with both Contacts and Calendar data.

*Changes made on either end are sent back to the other side and updated correctly (with the exception of some of the software limitations)

*All of the Calendar appointments appear to transfer to the phone, but getting them to display can be tricky.

In the next post I'll go through my process of getting myself to this point. I probably won't be able to provide a "quick-fix", but I went through quite a bit of experimenting and testing to get to this point.
[Captivate General] G35tr:
Lets start with the Calendar since that’s what seems to be giving the most problems to people.

*** I am having no problems at all getting the phone to successfully connect to Kies, so I'm not even going to get into connection issues. This all assumes you are able to connect, and can get the phone icon in the upper right corner of Kies with your phone number displayed under it, without issues. BTW, I am running Windows7 32-bit, with Microsoft Office 2010, Samsung Kies 1.5.1.10071_32. As for drivers, I'm using whatever Kies installed. ***

First, it seemed to me that Outlook MUST BE OPEN in order for Kies to work!!! Not having Outlook open gave me the issue of the progress bar sticking @ 0% and not moving. Opening up Outlook allowed Kies to access the information.

Second, If you have desktop gadgets installed that display Outlook information (like upcoming appointments), you may want to remove them. I have an issue with Kies at one point, and I shut down the gadget. While I can't say that it DID solve a problem, I would recommend not running it at first.

Here is what I've noticed in regards to how Kies operates with the Calendar. Keep in mind I'm not a full-time programmer/developer, so don't expect too much technical talk here.

1) Kies establishes a USB connection with the device.

2) You open the Kies Calendar Widget to work with the Calendar. THIS ONLY REPRESENTS THE KIES CALENDAR. It is not actually a link to either Outlook or the phone. It's simply middleware that displaying what it's manage to pull from both sides.

3) Upon opening up the calendar widget, Kies immediately attempts to import the Android data from your phone and display it within the Kies calendar. If you have no intentions of using Outlook, this is the desktop tool for modifying your appointments. Also, Kies will attempt this import EVERY TIME you open the widget.

4) When selecting "Outlook Sync", Kies attempts to access the Outlook .PST file and A) Upload any changes from the Kies calendar, and then B) download the updated Outlook data back into the Kies calendar.

5) Upon completing the import from Outlook, Kies immediately exports the Kies calendar back to your phone. This is one of the things that threw me off, as I initially thought you had to initiate the phone upload by pressing the phone&disk button under the week tab of the calendar. Oddly enough, if you actually made any changes directly into the Kies calendar, you do have to select this button in order to “push” the changes back to the phone. For some reason, this seems automatic with an Outlook sync.
[Captivate General] G35tr:
In order for me to get this working, I had to start with a clean slate on the phone. Having appointments already on the phone caused a lot of problems. One of the things I noticed was even if you think it's cleared, it may not be. And even one appointment can cause problems. I used Kies to help with this. As I mentioned, once you open the calendar widget within Kies, it immediately imports your phone calendar data into the Kies calendar. Once you’ve done this, you can right-click anywhere in the calendar, and make sure the “delete-all” button is not available. While this seems silly at first, keep reading!

I then attempted an “Outlook Sync”. With a clean Kies Calendar, and Outlook desktop client opened up and running, I was able to pull the Outlooks data into the Kies calendar. A lot of people, myself included, think all is well at this point, and are surprised to learn that none of the info appears on the phone when they disconnect the USB.

At this point, I reconnected the USB connection and went back into the Kies Calendar widget. As expected, it doesn’t appear to bring anything down from the phone when after it immediately imports the Android data into the Kies calendar. BUT there was one difference. When I tried to complete the steps again, the “Delete-all” option on the Kies calendar right-click is now available. So I scrolled back through the months in the Kies calendar, and there is actually data. I had 2 personal appointments that it retrieved from my Outlook PST file, that DO NOT appear within Outlook itself. Both were birthdays that I must have set up years ago. This leads me to wonder about my Outlook PST file. I’ve been using this PST file for years, across the previous 3-4 versions of Outlook (2010, 2007, 2003 and maybe even 2000).

Anyway, I left the 2 appointments in there, and attempted another Outlook sync. BAD IDEA!!! I hit the wrong button and Kies removed ALL of my appointments from my Outlook calendar. Completely cleared it out. Since the damage was done, I was curious if actually added the 2 rouge appointments into Outlook, since those were the only things in my Kies calendar. It did not.

So I restored my back-up PST file (and made several other copies to test with), and got back to the same point to reproduce the problems. This time I did the “delete-all” within the Kies calendar to first remove the rouge appointments before attempting another Outlook sync. Kies successfully brought down all of my Outlook appointments into the Kies calendar once again. All looks well although I know they did not actually make it to the phone. I figured out that I could test this by simply closing the Kies calendar widget and reopening it, as opposed to actually disconnecting the USB and checking on the device itself. Again, this works because Kies imports a fresh copy of data from your phone every time you open the calendar widget. Sure enough, upon reopening the widget, only the 2 rouge appointments are back within the Kies calendar.