yashsingh1/xdaforums huggingface dataset:
[Desire General] ash1684:
I think you can try to remove battery, leave the phone with no battery for 30 minutes and then try to insert battery and connect to usb without power it on to check if LED (and than the phone) is revived.

I had an Acer Liquid that gave me same problem, pratically when a flash on the radio go wrong, the device go in "protection mode". You must also check on the net if there is a protection mode on Desire too, and if there is a button combination to unlock it. I repeat: i just giving an idea becouse the same problem happened for me on an Acer Liquid, so i'm not sure if it's the same for the Desire.

Good Luck
[Desire General] peewster:
Maybe a usb brick? No usb is no charging. So when you didn't had a full battery, it may be went wrong on that.

Try another battery, if you can get to one.
[Desire General] rolfd:
In the usb brick situation you can still charge. This isn't it!
[Desire General] peewster:
Ok i didn't know that.
[Desire General] ZoZo2:
If the phone doesn't turn on at all, you can maybe try sending it back to the shop for replacement. Chances are, they won't be able to know what happened, so you can pretend it just stopped working.

If it gets back to HTC, they probably won't bother to figure out what's wrong with the phone and just give you a replacement. Otherwise, they'll just send you the phone back and you won't have lost much (maybe postage costs?).
[Desire General] phantomfisho:
Thanks for the suggestion. I left the battery out overnight. Then tried to activate it (all the usual button combos) with:

Battery out, USB cable plugged in;

Battery in, USB unplugged;

Battery in, USB in.

I scoured the 'net for anything on protection mode for the Desire...no luck. If there is one, it hasn't been posted yet.
[Desire General] rolfd:
I would just act stupid and try to return it under warranty!
[Desire General] Umbrella Corp.:
I think it should be ok to RMA this, if its completely bricked there is no way of them knowing that you tried a different radio.
[Desire General] ash1684:
Yes, if it's totally bricked then just send it back to HTC and they will change it with no problems just same as acer done with my Liquid ;)
[Desire General] phantomfisho:
All's well that ends well

Good news...

The HTC service centre were kind enough to replace my 'faulty' handset. :rolleyes:

Re-flashed with r19 and radio updated (patiently) successfully.

Thanks all for your support.
[Desire General] rolfd:
Nice one. Glad it worked out for you :D
[General Questions and Answers] mrpuffin:
what i am looking for is a mobile network toggle widget (i am not using sense)

i would like one that will work inside of a normal launcher and not just sense

and the ones on the market i have found are mostly for gsm devices and don't work on the evo
[HTC Aria Android Development] fluffyarmada:
http://xdaforums.com/archive/index.php/t-644769.html << I got my idea from there.

If you update the

/data/data/com.android.providers.settings/databases/settings.db

file so that "install_non_market_apps" = 1 instead of 0, you will be able to install non-market apps off of your sdcard or wherever.

This works for me at least, but you'll have to root first.

I ended up editing the file with the SQLite Manager firefox add-on.

But, since that took me a really long time, I'll just upload the edited settings.db for you. (don't forget to make the extention .db instead of .db.txt)

Now, as far as I know, this won't mess anything up... BUT, I'd feel a lot better if someone who knows more about Android would provide some feedback before anyone else tries this. [It works for me, but I'm not sure if any other user-specific settings are kept in that file that I don't know about!]

But, at least for me, I no longer need to use adb to install apks that aren't from the Android Market.

I hope this is useful to someone... :)

EDIT::

You will lose your settings if you use the attached settings.db.txt file. Your best bet is to pull the file off your phone, edit it with something that understands sqlite3's database format, and then push it back. It's just better that way.

Further EDIT:: As someone pointed out later in this thread, this file unbeknownst to me when I shared it, actually has a unique ID by which phones can be identified on the android market, etc. While this isn't a huge deal, it can lead to some rather strange behavior... my phone for example has started attempting to download apps from the android market all by itself.

So--- if you want to side-load apps, change the variable in the database like I explained above. :)
[HTC Aria Android Development] cropythy:
Sorry, completely new to android but where would you put this file so it would allow side-loading?
[HTC Aria Android Development] fluffyarmada:
You'd have to replace

/data/data/com.android.providers.settings/databases/settings.db

with it. You'll have to have your phone rooted first though. Then you'll have to transfer the file to your phone with adb, and you'll then copy it over the existing settings.db file.

Honestly, it might not even be worth the trouble now that attn1 is just doing the whole ROMs. :)

But make sure you take off the .txt.
[HTC Aria Android Development] attn1:
This works. Thanks.
[HTC Aria Android Development] justince:
For some reason, i'm getting a permissons error regardless that i successfuly rooted my phone...o_o
[HTC Aria Android Development] attn1:
did you boot the phone and do adb remount with debugging enabled?
[HTC Aria Android Development] justince:
USB debugging? Yeah.

What i did was i used the other method to sideload root explorer, took the settings.db.txt, deleted the .txt part and replaced it via root explorer, and now i can sideload whenever...however, when i try to delete any of the att bloatware, its read only o_o fawking att

Can anyone confirm any other way to remove bloatware without flashing the rom?
[HTC Aria Android Development] attn1:
That's why made the ROM without all that -er- stuff.
[HTC Aria Android Development] panda703:
Attn's Rom is ****ing great. many thanks btw
[HTC Aria Android Development] judicious:
a little help please

a bit confused..

how do i type in this code "/data/data/com.android.providers.settings/databases/settings.db"?

adb /data/data/com.android.providers.settings/databases/settings.db

or something else because that doesnt work.
[HTC Aria Android Development] SiW73:
The only issue I see (as an Android newcomer, but with a development background) is that the settings.db contains an android_id that is supposed to be unique (it gets generated when you boot the phone the first time after a reset). So anyone installing your settings.db is going to have the same ID.

I'm sure it won't be an issue for most people but I wonder if there'd be a collision in any apps that are designed to communicate between Android devices? For this reason I'll be tweaking my own settings.db once the phone arrives later today.

Big thanks for posting this though!
[HTC Aria Android Development] fluffyarmada:
Thanks for that, I honestly had no idea. I'm very new to Android. And this was a kludge. :)
[HTC Aria Android Development] attn1:
NOTE: You MUST have root access in order for this to work

sqlite3 is included in the Android SDK tools, so this would be the best way:

COMMON

Enable USB debugging (settings > applications > development > USB Debugging)

adb remount

adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db

Linux/OS X

echo "update secure set value = 1 where name = 'install_non_market_apps';"|./sqlite3 settings.db

WINDOWS

echo update secure set value = 1 where name = 'install_non_market_apps';|sqlite3 settings.db

COMMON

adb push settings.db /data/data/com.android.providers.settings/databases/settings.db

Reboot phone and sideloading works. (thanks fluffyarmada)
[HTC Aria Android Development] Cobus:
I wonder if this might be why google voice fails to install properly for some...
[HTC Aria Android Development] fluffyarmada:
It is possible. The Google apps all use the android_id, afaik.

Although, I do remember I was never able to get the settings menu to setup the voicemail forwarding... I always had to use the weird GSM code. (The weird number with a bunch of * and # that you have to type in if you follow google's directions.)
[HTC Aria Android Development] tiga2001:
After you've rooted your phone, download the new settings.db into the same folder as where your adb program is. Then type:

adb push /data/data/com.android.providers.settings/databases/settings.db

in that folder while your phone is connect via usb.

I'm not sure if you have to restart your phone into recovery or not. Can someone check on this?
[HTC Aria Android Development] fluffyarmada:
Well, it's

$ adb push /path/to/file/on/computer/settings.db /path/to/file/on/phone/settings.db

So, if your settings.db is in your tools folder, then you can do

$ adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
[HTC Aria Android Development] judicious:
what happen to the file download? i cant find it..
[HTC Aria Android Development] fluffyarmada:
Please follow the instructions posted by attn1 on reply number 13 to this thread.

I removed the settings.db, because it actually has a bunch of extra settings I didn't know about like a handset specific android_id variable... that caused me a bit of trouble... ;)

But, follow the instructions on reply #13 on this thread, and you'll be able to fix it yourself. :)

Sorry for the inconvenience.
[HTC Aria Android Development] froggyarts:
so if we already used the file, is there anyway to revert it back to default and then change the settings via the method outlined above? or.. if we failed to make a copy of our original settings.db file.. basically am i SOL?

EDIT: nevermind, just rebooted into Clockwork and wiped the phone.
[HTC Aria Android Development] corno1979:
when I do ./adb remount, i get the error:

remount failed: Operation not permitted

I'm in charge only mode with USB debugging on. I've toggled these settings around and nothing seems to work. ./adb shell su seems to be working right. what do you think is the problem?
[HTC Aria Android Development] attn1:
start android, enable usb debugging and try it from there.
[HTC Aria Android Development] corno1979:
that's exactly what i've been doing. Any other ideas? everything seemed to work fine during the rooting instructions.
[HTC Aria Android Development] attn1:
did you flash one of my roms to root or did you use the alternate method?
[HTC Aria Android Development] corno1979:
I did the alt method. I guess I could try again with your rom if you think it will be different.
[HTC Aria Android Development] moosefist:
I am glad that ended up working for someone's att android. My backflip still sucks incase you lucky, root loving aria people haven't noticed. Hopefully I will have mine soon.
[HTC Aria Android Development] corno1979:
Used your rom and it worked like a charm. Thanks.
[HTC Aria Android Development] sfernandez:
easiest way for me

after rooting and putting in the settings.db. I just installed Droid Explorer on my pc and all I have to do is connect usb and double click what ever .apk i want to install and thats it. No need for any codes or special place to put .apk files.

Here is the link http://de.codeplex.com/releases/view/47457
[HTC Aria Android Development] bcmobile:
Is this any different to setting 'allow unknown sources' under the application settings menu?
[HTC Aria Android Development] fluffyarmada:
This does the exact same thing. We only have to do it this way because AT&T made HTC take away the option in the menu. Luckily, that's the extent to which they modified it– and fixing it is as easy as updating the settings file manually. :)
[HTC Aria Android Development] bcmobile:
Ah OK. Thanks
[HTC Aria Android Development] indierocker774:
Or.....you could just select the option to install "unknown resources" from the applications tab with the main menu settings and use a program like Astro File Manager to install the APK...

Unless I missed something here...

indie

edit-and then I wised up and read the rest of the thread. whoops, my bad guys lol
[HTC Aria Android Development] PUTALE:
VERY NICE WORK GUYS. man, this will come in really handy. my next phone will very possibly be an android so I will definitely apply the change.
[HTC Aria Android Development] sfernandez:
I just installed PdaNet(for the drivers) & Droid Explorer( so you can install .apk from your PC) and all you have to do is connect usb( make sure you click settings\Application\Development\ make sure usb debbuging is enabled) and double click what ever .apk you want to install and thats it. I did this on mine which is rooted and my wife's which isnt rooted, and installed everything just fine 1,2,3.

Droid Explorer

http://de.codeplex.com/releases/view/47457

PdaNet

http://www.junefabrics.com/android/
[HTC Aria Android Development] struff:
IT WORKS!!!! :)

I just used this method to install SiriusXM and Skype to my non-rooted Aria.

Thanks!!
[HTC Aria Android Development] jaredcg:
when i try to pull the settings.db (adb pull /data/data/com.android.providers.settings/database/settings.db settings.db)

i get remote object does not exist any ideas thanks
[HTC Aria Android Development] corno1979:
Try /databases/ (plural).
[HTC Aria Android Development] attn1:
good catch. corrected.
[HTC Aria Android Development] xdafly:
does Droid Explorer (installed on a spare XP Pro SP3 laptop) take the place on manually executing adb commands ?

if yes, how does one execute adb from Droid Explorer to make change to settings.db ? Do you run Sqlite Explorer ?
[HTC Aria Android Development] attn1:
I don't use Droid Explorer, do I can't say.

Why not just run the commands? You only need to do it once after a wipe. it was done this way because these are tools everyone who has rooted has.
[HTC Aria Android Development] SysAdmNj:
Skype works? Voice over data on AT&T?
[HTC Aria Android Development] jaredcg:
thanks that worked i need to pay more attention next time :)
[HTC Aria Android Development] xdafly:
I have not rooted and as you can see from (sfernandez) post, he has one unrooted and one rooted device with apps installed outside marketplace.

Perhaps sfernandez did not even change settings.db ?
[HTC Aria Android Development] sfernandez:
I did change the settings.db on my rooted...but on my wifes unrooted I didn't change anything..everything is stock. The only setting I clicked on was the usb debugging. I just was trying 2 figure out how to install off PC and not on phone since I have my phone and my wifes has her phone. That is easier for me, plus she doesn't have the unlimited data like I do.
[HTC Aria Android Development] struff:
No, it wants to dial a phone number to voice-chat. Pretty frigging stupid IMHO.

But the point is that method worked to install it and other 3rd party apps.
[HTC Aria Android Development] hocplyr98:
So where do I find the updated settings.db?? And could you put a thorough guide for a noob like me? I just pulled it, edited it and pushed it back, then restarted the phone. It looped the bootscreen
[HTC Aria Android Development] HIroChi:
nvm, doing more research

Trying to figure out how to push files using eclipse.
[HTC Aria Android Development] judicious:
confused

i'm lost...there's no sqlite3..how do i change the format of the value for the non market app thing?

where can i find the settings.db? or how can i edit .db files?
[HTC Aria Android Development] pvillasuso:
Why don't you all use this :

HTC Sync Update 3.0.5372

http://xdaforums.com/showthread.php?t=724014

IMO , I think it's the easiest way ...
[HTC Aria Android Development] oahceasgnikgneas:
I think it's because you need to use a computer (windows too) in order to do that.

If I just wanted to install an app that I already have on my SD card (say from a backup using ASTRO) then this would be quicker than turning on a computer, connecting to the computer, pulling the apps off of the phone, running HTC sync or android sdk, and installing the app.
[HTC Aria Android Development] xdafly:
google this phrase and download from the first link

android sdk download

now you have the zip and you can unzip to C:\ and simply rename the folder created to C:\android

next run this batch file (start, run, cmd, ok)

cd\android\tools

adb remount

adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db

echo update secure set value = 1 where name = 'install_non_market_apps';|sqlite3 settings.db

adb push settings.db /data/data/com.android.providers.settings/databases/settings.db

pause 1

adb reboot
[HTC Aria Android Development] tiga2001:
So what if we already put your modified settings.db on our phones. Is there any way to restore or generate this file then try to modify the variable?
[HTC Aria Android Development] tiga2001:
To add to this. If you don't have sqlite3, you should be able to install it from your repository if you're using linux. If you're using Windows, download it from http://www.sqlite.org/download.html . Place the unzipped file into C:\WINDOWS\system32 . Also, In this line,

echo update secure set value = 1 where name = 'install_non_market_apps';|sqlite3 settings.db

I'm not sure if you want the semicolon if you're using bash in linux. I'm not sure about the code in DOS.
[HTC Aria Android Development] pvillasuso:
Quick request , if anyone can give me some info, please :confused:

For both root and not-rooted

Any dropbox users arround ? to try to install non-market , using it ( dropbox ) ? would it be possible , or it's the same as having an .apk @ the SDcard ?

Thx in advance ...

Edit : This was a very noob post ! :D

Thanks to all

I did it using

Droid Explorer http://de.codeplex.com/

&

SQlite Administrator http://sqliteadmin.orbmu2k.de/
[HTC Aria Android Development] KreacherComfort:
It works! My phone feels un-crippled!
[HTC Aria Android Development] orbhunterx:
Thank you very much!

Finally have a truly liberated Android!
[HTC Aria Android Development] pgill34:
I am new to all of this so i was wondering is someone could post how to do this using ubuntu as i dont have access to a windows machine thanks
[HTC Aria Android Development] Gene Poole:
I did this modification (changed 'install_non_market_apps' to 1) after I rooted my Aria. I thought all was well until I tried to use any GPS enabled app. I thought it was fried or something, but reverting to a stock ROM fixed it. I finally traced it to this setting. Enabling it in settings.db kills the GPS; resetting it to 0 re-enables the GPS. Has anyone else seen this behavior?
[HTC Aria Android Development] xdafly:
1. download the android sdk for linux and unpack

http://developer.android.com/sdk/index.html

2. as an alternative, you could grab the linux tools and unpack

http://www.mediafire.com/?1dqytjijveq

(I put mine on /home/ubuntu/tools)

3. open konsole as root

prefix all the commands with ./ so for example adb devices is ./adb devices

ie.

./adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db

echo "update secure set value = 1 where name = 'install_non_market_apps';"|./sqlite3 settings.db

./adb push settings.db /data/data/com.android.providers.settings/databases/settings.db

./adb reboot
[HTC Aria Android Development] xdafly:
after you applied the setting, did you reboot the device ? I've now flashed dozen Aria's with liberated..B003 and ran the same sideloading enabling set of commands and GPS apps are working fine.
[HTC Aria Android Development] mcangeli:
Ok, I managed to get it working using the adb method in the command window. On windows 7 you have to run CMD as an administrator in order to have proper privileges...
[HTC Aria Android Development] Gene Poole:
Yes, several times.

I found this post searching:

xdaforums.com/showpost.php?p=7189504&postcount=198

The GPS thing is crossed out but no explanation on why. I'll followup in that thread.
[HTC Aria Android Development] spdivr:
Worked

I used this post to load an apk from the SD card. I used Root Explorer to navigate to the setting listed at the beginning of the post, then used SQLite Editor to open the "Secure" link and sure enough, there was the line about allowing unsupported sources. I pressed on the field that showed "0", clicked in the menu to edit, changed it to one, rebooted and then used a free APK installed from the market to install the app. Worked great!
[HTC Aria Android Development] arajay:
i'm sorry to seem like such an idiot but i can't get any of the ./adb commands to work... i'm not even sure my comp is seeing the phone.. clockwork worked and my aria is rooted with liberated b005...

could someone please post a step by step for OSX from the beginning? i feel like i'm missing a step somewhere and i'm pulling my hair out when i know its something simple..

still loving Android tho. and my little aria is a beast. much needed upgrade from WM...
[HTC Aria Android Development] ocswing:
See post #13 in this thread for the instructions. There's really not much more to it than that.

Install the Android SDK first. Open Terminal and navigate to your sdk/tools directory. Then run the commands as instructed. The "echo" command probably won't return anything, but you should get confirmation text when doing the remount, push, or pull commands.

Edit: Also, you can check to see if your phone is connected by entering 'adb devices' in your terminal window. Should be listed as HTCXXXXXX. "XXXX" will be some series of numbers and letters.
[HTC Aria Android Development] capychimp:
fix

Hey guys, i am trying to port this one to magic and hero with a friend, goes well for us, but we met this problem you have too,

well if your running a rom based on the RUU and deodexed i have a fixed file for you, that makes editing the setttings.db not needed, i have attached a flashable zip file for you, or you can extract the file and cook your roms, and not worry about unsupported sources.

you can't see it in the settings menu or anything, it is just enabled by dafault and you cannot switch it off. but it works 100% well on the port based of the RUU so should for you too, i will upload a zip for odexed roms too, so you have it for all

3rdpartyapps.zip deodexed rom

3rdpartyapps_odex.zip odexed rom
[HTC Aria Android Development] capychimp:
did it function for you guys?
[HTC Aria Android Development] hashbrown:
nope, neither one worked for me. I tried to flash both from clockwork.
[HTC Aria Android Development] capychimp:
you tried install an apk afterwards? i mean after flashing this?
[HTC Aria Android Development] arajay:
Im sorry i got so excited once i got it to work... thanks for letting me know i shouldn't see anything after the echo.
[HTC Aria Android Development] capychimp:
so it does work for you?
[HTC Aria Android Development] hashbrown:
Not working, I tried to flash apps stored on my sd card. I still got the security block after flashing that zip. Actually both zip files. Ive since moved to cm6 rom and don't have to worry about app blocks anymore!
[HTC Aria Android Development] CamthalionElendil:
Help

So I manage to get the settings.db out of my Aria.

Now how I edit it??:o
[HTC Aria Android Development] DKuntz2:
http://xdaforums.com/showpost.php?p=7010987&postcount=13
[HTC Aria Android Development] jmreed97:
I've got it working... I couldn't get ADB to work properly (and want to stay with a stock ROM for now). So I downloaded the sqlite editor from the market (already had root explorer) and edited the settings.db manually.

Make sure you do a nandroid back-up first. I'm not sure what I did wrong the, but I got stuck in a bootloop the first time and had to restore my back-up and try again.

Thanks to everyone who posted how to do this!
[HTC Aria Android Development] jmreed97:
I missed this post. This must have been my problem. How do you run CMD as an administrator though?
[HTC Aria Android Development] hashbrown:
Put your phone in recovery mode.

Goto advanced>mount system and mount data.

Follow steps in post #13 in cmd screen and you'll be fine.
[HTC Aria Android Development] vtec1:
Sweet thanks!!!!