Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
reinbeau
Old
#161  
reinbeau's Avatar
Forum Moderator
Thanks Meter 4608
Posts: 7,382
Join Date: Sep 2010
Location: South of Boston, MA
Quote:
Originally Posted by BigE_ View Post
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?
What method did you use to try to enable non-market apps?
Ann - Not a man

Did you read the first post of the thread?

The real purpose of XDA explained in one post - Click here!

| Samsung US/Canada GSM|

Μολὼν Λαβέ
 
BigE_
Old
(Last edited by BigE_; 25th February 2011 at 09:26 PM.) Reason: Added more info
#162  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Oct 2008
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://forum.xda-developers.com/show...&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.
 
reinbeau
Old
#163  
reinbeau's Avatar
Forum Moderator
Thanks Meter 4608
Posts: 7,382
Join Date: Sep 2010
Location: South of Boston, MA
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
Ann - Not a man

Did you read the first post of the thread?

The real purpose of XDA explained in one post - Click here!

| Samsung US/Canada GSM|

Μολὼν Λαβέ
 
BigE_
Old
(Last edited by BigE_; 27th February 2011 at 03:03 AM.)
#164  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Oct 2008
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.
 
bay_wolf
Old
#165  
Recognized Developer
Thanks Meter 416
Posts: 395
Join Date: Mar 2007

 
DONATE TO ME
For anyone interested, my program AIO Captivate Toolbox enables non-market applications on your phone (in advance menu) as well as flashing custom ROMs.
 
Soldier00
Old
(Last edited by Soldier00; 3rd May 2012 at 10:26 AM.) Reason: 1.
#166  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Feb 2008
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.
 
Dave the Knave
Old
#167  
Dave the Knave's Avatar
Senior Member
Thanks Meter 329
Posts: 1,634
Join Date: Apr 2008
Location: Baltimore

 
DONATE TO ME
Quote:
Originally Posted by Soldier00 View Post
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.
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
Samsung Galaxy S3 SGH-i747
Task650 AOKP Build 5/9/2013
JB 4.2.2
Primary Phone

Samsung Captivate SGH-i897 Build #1012
AOKP Milestone 6
ICS 4.0.4
Backup Phone

Reading XDA makes me want to slam my head against a wall after just 5 minutes.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...

XDA PORTAL POSTS

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more