Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
jonsjava
Old
(Last edited by jonsjava; 14th June 2011 at 06:57 AM.) Reason: Newest version. Only uses ADB and sqlite3 to do the hack.
#1  
jonsjava's Avatar
Member - OP
Thanks Meter 13
Posts: 33
Join Date: Dec 2010
Location: San Antonio
Exclamation I have Unknown Sources Enabled now

This is the latest release of my fix (June 14, 2011). This version addresses the Market ID and Moto Blur issue.

I have not had a chance to test the latest version, aside from verifying the awk command works as exptected. The rest is a strong educated guess, mixed with a re-tooling of it to just use Android Debug Bridge to do what I was having scripts do in the past. Should be much more reliable.




IF YOU DECIDE TO USE THESE INSTRUCTIONS: PLEASE, read through this page entirely from top to bottom at least once prior to doing anything. This way, if you are unsure on anything, you can ask the questions you need answers to. I am not liable for anybody messing up their phone because they didn't think to read the F'n manual prior to following these steps.

If you don't read this through completely before starting, and you brick your system, Don't come crying to me. I warned you.

This version makes it close to impossible to brick the system, but I left that bit in to cover my arse.

Earlier today, I wrote instructions on how to root the flipside. Now, I have Unknown Sources enabled. Here's how you can do it.

First, if you don't have root, follow these directions:
http://forum.xda-developers.com/show...94&postcount=4


Next, you will need to run a script, but for the script to work you will need to install busybox to your rooted flipside. You can either get it from the market, or download it somewhere on the web. I tried installing it from the market, but it just timed out on download for some reason.

Once you have busybox, you have an environment ready for enabling Unknown Sources. Lets do it:


Latest version installs busybox for you]

I have not tested it, so you may still need to tell it to install, but it installs the apk.



1. Download the attachment located in this post.

Unzip to a folder on your desktop.

PLUG IN YOUR PHONE NOW!!!

Double click on the batch file ("enable_unknown_sources.bat"). You may have to run as administrator, but I don't think so. Built on Windows XP (I'm a linux guy who wrote this at work in a couple minutes)

When it prompts for you to OK the super user for "unknown", look at your phone. It should have a prompt. If not, it may be ok. We will see....


once your phone has rebooted, you phone will have "unknown sources" enabled already. Don't worry about rebooting. The batch file did that for you.


Quite a bit less work than before. Good news: it's done! never to worry about it again...unless you upgrade....


DISCLAIMER:

DO NOT FOLLOW ANY OF MY STEPS IF YOU ARE UNSURE OF WHAT YOU ARE DOING! I have done my best to ensure that the instructions are accurate, but I made mistakes in the first revision, so who's to say that I didn't miss something this go 'round as well? If you decide to follow this walk-through, your actions are an agreement to not hold me liable if your phone becomes a pretty brick. I am not responsible for what you do with this information. If you have no idea how to do any portion of these instructions, you can either walk away (best idea), or ask for help here.

I am also not the 2nd shooter on the grassy knoll, nor am I the cause of all your woes throughout life. I always wanted to say that in a disclaimer.
Attached Files
File Type: zip even_easier_v5.zip - [Click for QR Code] (1.57 MB, 222 views)
The Following 4 Users Say Thank You to jonsjava For This Useful Post: [ Click to Expand ]
 
rignfool
Old
#2  
rignfool's Avatar
Senior Member
Thanks Meter 184
Posts: 880
Join Date: Dec 2010
Default run_second.sh

i get errors when i attempt to run your run_second

though for the life of me... i can't figure out what's wrong with it?
 
jonsjava
Old
#3  
jonsjava's Avatar
Member - OP
Thanks Meter 13
Posts: 33
Join Date: Dec 2010
Location: San Antonio
What error do you get?
 
rignfool
Old
(Last edited by rignfool; 12th December 2010 at 09:26 PM.)
#4  
rignfool's Avatar
Senior Member
Thanks Meter 184
Posts: 880
Join Date: Dec 2010
on all 4 of the cp commands... i get a return of

cp: (destination directory): Invalid argument

EDIT: tried the run.sh script... got an invalid file/folder error on the mount... on one of the cp's... and on the chmod of the same

EDIT: i manually edited the 2 files in the system directory using notepad++ and droid explorer...
couldn't find the 2 databases anywhere on the phone? hidden?
 
jonsjava
Old
#5  
jonsjava's Avatar
Member - OP
Thanks Meter 13
Posts: 33
Join Date: Dec 2010
Location: San Antonio
Odd. I did this:
Code:
ls /data/data/com.motorola.android.providers.settings/databases
and I get this back:
Code:
settings.db
The only time I cannot do that is if I don't have super user.
DOH! just realized the issue. once you type "SU", go to your phone, and tell it to allow application "unknown" super user.

Forgot about that part.
 
rignfool
Old
(Last edited by rignfool; 12th December 2010 at 10:08 PM.)
#6  
rignfool's Avatar
Senior Member
Thanks Meter 184
Posts: 880
Join Date: Dec 2010
well... here's one for you then... i have nothing in my /data/ directory...
never did...

EDIT: wait... droid explorer lied to me... now if i could just get into that file... i could hard change them without having to deal with all the scripting
 
meatmon
Old
#7  
Junior Member
Thanks Meter 4
Posts: 28
Join Date: Apr 2010
Default script typo

Thanks for the script. I have managed to enable it by following your script.
However there are a few typo in your script that caused errors. I have corrected them. You may check attached script.
Attached Files
File Type: zip run.zip - [Click for QR Code] (290 Bytes, 115 views)
The Following User Says Thank You to meatmon For This Useful Post: [ Click to Expand ]
 
monho
Old
#8  
monho's Avatar
Senior Member
Thanks Meter 112
Posts: 141
Join Date: Dec 2010
Location: Graceville

 
DONATE TO ME
Quote:
Originally Posted by jonsjava View Post
What error do you get?
I get an error when I exicute run.sh
: No such file or directory
 
jonsjava
Old
#9  
jonsjava's Avatar
Member - OP
Thanks Meter 13
Posts: 33
Join Date: Dec 2010
Location: San Antonio
Quote:
Originally Posted by monho View Post
I get an error when I exicute run.sh
: No such file or directory
Did you install busybox? Please, run through what you have done so far. My goal is to get a comprehensive how-to together, and any and all input I can get will assist me to that end.
 
rignfool
Old
#10  
rignfool's Avatar
Senior Member
Thanks Meter 184
Posts: 880
Join Date: Dec 2010
i'm getting read only file errors on the script now... i assume some file attributes need adjusting... not sure how to do that...

 
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...