yashsingh1/xdaforums huggingface dataset:
[Desire HD Q&A, Help & Troubleshooting] LinoX:
Hi everyone.

I have a question: How do I programmatically turn the screen off without sending the phone to sleep?

I don't want to clean the screen (making it black). I want to turn it off completely without putting the device in sleep mode...

Do someone know how to do it?

(Basically I need to do the same that happens in the phone program when, during a call, the proximity sensor detects a near object: the screen is completely turned off while mantaining the phone awake)

Thank you all.

Additional informations:

I need an API that is documented (undocumented one like setScreenState will be deprecated) and that will work with DHD (for example requesting a PARTIAL_WAKE_LOCK, as specified in Android SDK, doesn't work)
[Desire HD Q&A, Help & Troubleshooting] silashack:
try posting in Q&A not dev
[Desire HD Q&A, Help & Troubleshooting] LinoX:
I need a way to PROGRAMMATICALLY turn off screen... this is dev, not q/a :)
[Desire HD Q&A, Help & Troubleshooting] silashack:
NO it IS a Q, and you should look at the TASKER app
[Desire HD Q&A, Help & Troubleshooting] AndroHero:
the development secton isnt for questions of any kind.... thats what general and q&a is for. develoment is for roms and dev projects only :)
[Desire HD Q&A, Help & Troubleshooting] ivancamilov:
So, LinoX... did you find a solution? I want to do the same, but I haven't found a solution so far.
[Desire HD Q&A, Help & Troubleshooting] LinoX:
No solutions yet.

The closest think is a partial_wakelock... but I'm not sure if it is what you are searching for...
[Wildfire Q&A, Help & Troubleshooting] lol8888:
What happens when I shutdown my phone and then press instead of Volume Down + Power, Volume UP + Power? It kinda shakes 3 times and the green LED is on.

Anyone knows what happens then?
[Wildfire Q&A, Help & Troubleshooting] guus_1995:
kind of reset

I went on google searching.

I found it: it is called a hard reset.

I think it's a kind of a factory reset.

I hope that his was enough ....
[Wildfire Q&A, Help & Troubleshooting] lol8888:
Hardreset is sth. different i think:

h_ttp://w_ww.hard-reset.com/htc-wildfire-hard-reset.h_tml

(delete the underlines)

Thats going over the HBootloader.

Still any idea?
[Wildfire Q&A, Help & Troubleshooting] NeverGone\RU:
I've got exactly same "feature" on my HTC Vision (the only difference is it blinks with orange led, not green :D)

It's probably Qualcomm chipset's "Emergency Download Mode" (i.e. restoring with software completely dead).

Needs confirmation, though.
[Wildfire Q&A, Help & Troubleshooting] OficerX:
After booting my HTC Wildfire S up using VOL UP + POWER 3 vibes and green blinking LED. After connecting to PC LED changes to red. In my dev I got ttyUSBS0. After connecting there I got message: Connection status: OK. Any idea how to use this? When my bootloader was dead this feature was still working. I think it may be used to reflash device without riffbox. Any idea how to use it?
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] quasiindifferent:
As the title says, I need some help installing UrukDroid on my A70IT 250gb. The directions in the developer thread refer to partitioning the SD card, but of course my tablet doesn't have a SD card :)

Any help would be appreciated, I'm scared to tinker around and brick it :(
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] carlochiefsg:
if u just need your archos rooted, install this stock rom.

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

It's so much easier and less buggy.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] Protocold:
So this will work on our A70 250gb straight without additional hack? isnt our 250gb has harddrive? I am still a bit confused.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] thefunkaygibbon:
http://xdaforums.com/showthread.php?t=930197

I have the 250GB version, and can confirm that the method above works a charm.

The first time takes a bit of time as you need to install the Archos development firmware (or SDE) but after that it is nice and quick.

Just install SDE

Install latest Archos firmware

Download the 'hacked' version from the thread above

Go to the recovery screen on Archos (hole volume down while turning on)

Go to Recovery menu

Go to Developer Edition Menu

Go to Flash Kernel and Initramfs

This will start USB on your Archos, copy the downloaded files to the A70Rec device in my computer

Click OK on Archos

When you start up this time, you get the choice of Android or Development. Choose Development and you will get your rooted Android!

More instructions are on that thread
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] LeoNg628:
have you finally installed it?

I'm A70H owner too~~

I'm wondering the same problem with UrukDroid 1.0~~
[Galaxy S I9000 Q&A, Help & Troubleshooting] frozenhill:
please can you tell me the steps to deodex the eropian rom xxjpy step by steps with also cmd command or if there is any other way to deodex

so i can freely download themes

thanksssssssss
[Galaxy S I9000 Q&A, Help & Troubleshooting] Darkyy:
Use xUltimate, it's not bad ;)
[Galaxy S I9000 Q&A, Help & Troubleshooting] frozenhill:
Use xUltimate, it's not bad

ok but how after i finish xultimate 1,2,3,4

what i shall do
[Galaxy S I9000 Q&A, Help & Troubleshooting] taha_e:
On Xultimate you choose number 5, it will take a while to finish the task, it will make 2 folders in the same directory of xultimate 1- done_app 2-done_frame

copy these 2 folders to your sdcard and then do as below on adb shell

adb shell

su

stop

mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system

cp /sdcard/done_app/* /system/app/

cp /sdcard/done_frame/* /system/framework/

rm /system/app/*.odex

rm /system/framework/*.odex

mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system

reboot

dont forget that your phone has to be rooted

while entering the commands above you may see a message that the memory is full in this case you can remove odex files first then copy the folders to system
[General Questions and Answers] thorstenhirsch:
Hi,

let's assume I want to write an app for android.

a) Would I be able to mirror the (device's built-in) screen to HDMI?

b) Would I be able to enable audio-out on HDMI only, keeping video-out on the built-in screen?

I know I can turn on HDMI in the settings menu and there's also a widget on my Archos A43 to do that, but they both turn off the built-in screen. And then there's a crippled mouse pointer that I can somehow control on the (blank) built-in screen. But it doesn't work very well. So I guess I need to put the HDMI functionality in my own app.
[General Questions and Answers] bowcot84:
Did you get anywhere with this, I'm looking at including HDMI on/off in an app I'm writing?
[Galaxy S I9000 Q&A, Help & Troubleshooting] myst1k:
Hi All,

I was just wanted to find out if someone can offer a fix for the gap at the bottom of the lock screen on Samsung Galaxy S when using Lock 2.0 app.

It is a great app but that issue really does not make it looks that sleek :(
[Droid Incredible Q&A, Help & Troubleshooting] AwsmAdm:
I rooted a long time ago and about a month ago moved to Virtuous. Today I decided to move to CyanogenMod and try out some of the nightlies. First, though, I wanted to do a nandroid backup. When I tried to do this through clockworkmod, I got sent to the fastboot page (that might be the wrong name, but i'm talking about the one with the skateboarding android robots and the options of bootloader, reboot, reboot bootloader, or power down). I tried to get to recovery by rebooting to recovery through the option in clockwork mod and through my power on/off settings but havent been able to. Is there some other way to get to recovery or make a backup?

Edit: When I try to get to recovery through fastboot-->bootloader-->recovery, it just reboots to fastboot

Edit 2: RESOLVED. I flashed the clockworkmod recovery from Rom Manager and now it works fine.
[Droid Incredible Q&A, Help & Troubleshooting] g00s3y:
Go back into fastboot, choose bootloader, then you will see an option for recovery. Highlight it and hit the power button. Should bring you into recovery.
[Droid Incredible Q&A, Help & Troubleshooting] AwsmAdm:
sorry, i forgot to mention that when i do that it just turns off and brings me back to where i started. thanks, though.
[Android Software Development] iball8888:
So, the college I go to blocks all ports so I cannot use live, psn, steam, etc. I have been using my Evo's 4G with Wireless Tether for the past month now. I have access to everything now. I was running CM6's wimax alpha and everything was great. CM6 was messing up so I switched back to stock. That night I played BF2 and it was still okay.

Anyways...point is now I cannot play BF2. It lets me connect to the servers, but whenever I try to play the game it says "lost connection to servers". But, I still have access to Steam and PSN. Does stock have some sort firewall that cm6 doesn't? Is it possible to open ports?. Its weird, when I was running the CM6 alpha, the Wimax was great. But now on stock is doesn't let me use BF2
[Epic 4G Q&A, Help & Troubleshooting] KennyG123:
This is a Noob question, if I wipe data and cache 3 times with CWM and then restore a backup created just before with CWM doesn't it put back all the stuff that I tried to wipe for clean ROM flashing? Or is there garbage in there that does not get backed up and restored?

Thanks.
[Epic 4G Q&A, Help & Troubleshooting] DiGi760:
It will put pretty much everything back. It doesn't backup and restore the kernel, though.
[Epic 4G Q&A, Help & Troubleshooting] KennyG123:
So what is the purpose of wiping 3 times. Does that allow the new ROM kernel to install properly? Then we can restore everything back on top of the new kernel? The main reason I ask is after flashing a new ROM and only wiping once (I know!) about once every other day my txt messages get stuck sending. I have to reboot to send and then the clock starts again until this reoccurs. So is it best to backup with CWM, wipe 3 times, flash, then restore with CWM?

Thanks.
[Epic 4G Q&A, Help & Troubleshooting] DiGi760:
Wiping three times is because there has been a question about whether clockwork 2.5.x wipes certain partitions properly. Apparently it returns back from the function much faster than it should. Some people do seem to have intermittent problems when wiping once. I generally only wipe once between roms, but if anything isn't working right I go back and wipe 3x and reinstall.

Generally, when you wipe something, you aren't going to be restoring it all back. You want to wipe between different roms because certain things may be set up differently in the two and you may get weird glitches and force closes. If you are wiping to get rid of a bug, then you shouldn't restore a buggy backup or you will probably still have the bug.

You can try doing a reinstall of the base rom, wiping first of course. Then you can go restore->advanced restore->restore data to get apps and settings back. See if you still have the problem. If so, then you're going to have to wipe again and reinstall the base rom, but DONT restore your backup. You may be able to carry some apps and settings across with something like Titanium if you absolutely can't start from scratch again.
[Epic 4G Q&A, Help & Troubleshooting] KennyG123:
AH! Now I get it...thank you for that explanation. Tried the 3X wipe today with restore from CWM 2.5.1 so will wait and see if the SMS problem shows up again. Thank you again.
[HTC Inspire 4G] svetius:
This is a placeholder for now
[HTC Inspire 4G] alwayslearning:
all the accessories for the DHD work on the Inspire 4g, batteries, covers etc...
[HTC Inspire 4G] aNdroidnut:
Problem is getting the dhd accessories to the U S of A
[HTC Inspire 4G] alwayslearning:
here is where I buy my stuff, http://www.netimes.com/shop/htc-dopod-htc-desire-hd-c-80_779.html

it is very cheap and I have it in less than 48 hours if you pick the DHL express shipping, that does coast $25.00 but I only order a lot of stuff when I buy from this company, I ordered about 8 - 10 cases two batteries a DHD stand with the ability to charge a 2nd battery, got it all the NEXT day by DHL :D
[HTC Inspire 4G] kimtyson:
Nice prices. Next day? That's awesome. How's the quality? And thanks for the link.
[HTC Inspire 4G] aNdroidnut:
ATT has the Speck Candyshell in Grey for it. I was so happy to see that and since I get 25% off accessories I picked it up. Man they already had otterbox case and others for the atrix along with the $500 stupid dock
[HTC Inspire 4G] alwayslearning:
I have not been disappointed in the quality at all. One time I had an item that broke (it was a Desire desk charger) I emailed them and they sent me a new one.
[HTC Inspire 4G] Donatron:
How's the thickess of the case? I'm trying to decide between the Speck and Otterbox.
[HTC Inspire 4G] ebaul:
Batter Door + Sim/SD Door

Anybody knows where I can get the batter/Sim doors? The sim/sdcard door I broke almost in half trying to pull it out the first time, and the battery door I couldn't get it open so I had to use flat screwdriver to get between that slit on the side, so there's scratches on that area.

Thanks
[EVO Shift 4G Q&A, Help & Troubleshooting] proactix:
Hello and I am a newbie here when it comes to flashing roms, but I am learning though. I have a question about flashing roms, I saw a rom done by benice, and it had a seperate link for the oc kernal. Now if I were to flash his rom, would the oc kernal be included in his custom rom, or would I have to flash that seperately? Thank for any replies...

Timothy
[EVO Shift 4G Q&A, Help & Troubleshooting] Mr.J.K:
It's separate unless noted :)
[HTC Inspire 4G] svetius:
Any inspiration? Hah, get it...play on words =D.
[HTC Inspire 4G] rwon:
Phone will be in hand on Feb 13th when it comes out.... get ready..
[HTC Inspire 4G] jermean:
Phone in hand now eh. We shall have to see.
[HTC Inspire 4G] rwon:
I unfortunately have no way to get one... but I think I can make it a few more days.

:eek::p
[HTC Inspire 4G] Nick281051:
i have one and its damn nice
[HTC Inspire 4G] rwon:
The envy is setting in, at least until tomorrow morning.
[HTC Inspire 4G] ///M Class:
Picked one up this morning. This is my first Android based phone, so it will take some getting used to. Other than that, the phone's build quality is exceptional.

P.S. - I noticed there is no way to see raw files and folders, I'm assuming there is an app for that.
[HTC Inspire 4G] legend221:
Use Linda File Manager or Astro, if you're rooted use Root Explorer.

Sent from the illmatic Inspire 4G / Desire HD
[HTC Inspire 4G] darkbluexplorer:
I have phone envy. I am counting down the hours till i get mine tomorrow at the ATT Store.. i feel like such a freaking apple fanboy.. ugh! lol
[HTC Inspire 4G] x986123:
Looking to get this phone!!

Get Fruit Ninja! Really addicting on a big screen!
[HTC Inspire 4G] anthonyandrews:
do a market search for ASTRO or ROOT EXPLORER, you can see the files....you might need root for certain areas.
[HTC Inspire 4G] luvmygadgets:
I fawkin' love my Inspire! I got it yesterday (it was time for an upgrade from the HTC Tilt 2). :) NIIIIIIIIIICE! So, now I'm trying to see what I can do with it.
[HTC Inspire 4G] rickleasa:
ya just got mine friday didnt think fedex was ever going to get here i love this phone but still like my captivate and focus
[HTC Inspire 4G] clickclickpc:
HTC Official Skins

I'm having trouble logging into HTC Sense so was wondering if any could post the official HTC skins downloadable from HTC (Slate, Black Board, HTC, etc.). FYI, xda search is temporarily unavailable at the moment.

Edit: I just extracted the APK from the stock zip. If there are more than three stock HTC skins, please post. THX.
[HTC Inspire 4G] dmacrye:
HTC's Sense servers have apparently been very problematic lately.
[HTC Inspire 4G] clickclickpc:
FYI, here are two more that I just downloaded once the servers were back up. They are stock HTC skins unmodified.
[Defy General] lilzad:
hi guys i have a quick question which phone is better motorola defy or the motorola milestone keeping in mind i am 19 go to college so i need a phone where i can check emails, surf internet, play game, listen to music things like that thnx for help.
[Defy General] andygates:
You can dunk the Defy in beer. That ought to be argument enough for a student!:D
[Defy General] syl0n:
Milestone just got AOSP Gingerbread. When will DEFY get it?
[Defy General] Step666:
No-one knows yet but some pretty important modders/chefs have the Defy, so *fingers crossed*

The Milestone is a much older handset than the Defy.

Go with the Defy IMO.

Then again, you're posting in the Defy section of the forum, so chance are most people here will say that...
[Droid Incredible Q&A, Help & Troubleshooting] cambunch:
Is it possible to change a system file to disable the trackpad altogether? Mine has been on the fritz lately, randomly moving my cursor and highlighting things on my homescreens. I would rather not disable it on a hardware level as it is useful in recovery. Any ideas?

And yes, I have tried cleaning it, helps for about an hour.
[Droid Incredible Q&A, Help & Troubleshooting] cambunch:
Anyone? Its getting worse.....
[Droid Incredible Q&A, Help & Troubleshooting] SynisterWolf:
I don't know for sure. But mine does it too but when its dirty. I know this not what you asked for but have you tried cleaning it with a cotton swab and alcohol?

Sent from my sexy assistance (HTC Incredible cm7)
[Atrix 4G General] DarkDvr:
Tweet this, least we can do:

Trend: #ATTyoukilleditforme

Tweet and retweet it.
[Atrix 4G General] Recon Freak:
I like the thought, but

The only thing that's going to get through to them is their pocketbook. If noone buys in or leaves them high and dry then they'll change! Until then the're gonna keep trying to make the most profit they can with minimal overhead(which is the way of every company in the world some worse than others)!
[Atrix 4G General] DarkDvr:
Yep, and the more we yell about it, the better.
[Atrix 4G General] irishtexmex:
Yelling, or threatening, at AT&T isn't going to do any good. If customers left in droves, then yes, AT&T would feel it in their pocketbooks and take action. However, the likelihood of that actually happening is tiny, and not in the numbers necessary to get the point across.

However, what CAN hurt AT&T is bad press. They already suffer from a poor consumer image. I posted over at androidforums.com (I can't post links yet but it's "Twitter hashtag to protest..." in the Atrix 4G forum) about protesting the price. If all of a sudden there was a single, unified twitter hashtag (@'ed at @ATT of course) that reprehended AT&T for their greed then that would garner their attention. Especially if within that tweet we let it be known that what they did is specifically why we're not getting the Atrix.

As lame as it is, a trending hashtag can be a big thing in the eyes of P.R.
[Atrix 4G General] davewuvswaffles:
That's what I posted on their Facebook page. I'm not the only one sharing my opinion on the matter.

Who knows if the person running the page will actually pass it on to higher-ups.
[Atrix 4G General] DarkDvr:
So you disagree with me by agreeing with me and doing exactly what I proposed. Alright, whatever works, trending # is a good thing, let's get it rolling.
[Atrix 4G General] irishtexmex:
In a roundabot way, yes, I disagreed with you while agreeing with you.

I think if everyone yells their own random thing at AT&T and makes their own random hashtags then it will just be lots of white noise.

If there's a sense of organization and unity, easily brought about by an emerging "Trending Topic" (thru hashtags), then I think AT&T will be a lot more receptive to hearing it. But yeah, we're on the same side here. Sorry if I came off as dissenting--I didn't mean to.

Does anyone have any good ideas for a hashtag?
[Atrix 4G General] DarkDvr:
There was one already I saw, #waytoruinagreatphone
[Atrix 4G General] substance12:
Agreed. Everyone needs to get on twitter and on their facebook page and get pissed at them. Moto too. It does mak a difference. How do you think sony erricson knows they ****ed up with not upgrading the x10?
[Atrix 4G General] SoberGuy:
I've got an idea. Let me work on it, but I'll be back with details tomorrow.

Sent from my Sexy Nexy, courtesy of the fine developers of Tapatalk
[Atrix 4G General] DOAlaboratories:
buh-bye, developer support.

buy-buy, a good portion of customers.

buh-bye, Atrix.

I see this turning into the next x10.
[Atrix 4G General] davewuvswaffles:
this morning at wing bowl I stumbled into the stadium and saw an at&t booth by the door. i walked over and started yelling at them about how the dock pricing was bull**** and stuff. i remember it becoming a decent convo with one of the reps there, but it may have just been me drunkenly yelling at the dude, idk.

either way, i literally yelled at at&t about the dock pricing.

oh and i asked if they knew how much the hd multimedia dock would cost (standalone) and they couldnt give me a price
[Atrix 4G General] ECdOc:
Excellent move :) Now if any of those reps actually had the power to change any of this then we'd be on our way. I still like the phone but I am sure going to wait it out now to see what else comes around. Man, I wish I would have taken off for the wing bowl.
[Atrix 4G General] irishtexmex:
That's brilliant. I think yelling at any AT&T Employees is great! AS LONG AS you make sure you let them know that you are not yelling at them, the employee, but you are very upset with the company and that they should report to their superior about it.

Gosh, I have no idea why I'm so riled up about a phone and its accessory. Granted, my birthday is right around the corner and this news completely derailed what I had planned. Oh well. I just hope that we can cause enough uproar so that there might be real action taken.
[Atrix 4G General] davewuvswaffles:
yeah like i said, i think it moved into a bit more calm talking after i just yelled that to get their attention. it was a crazy morning, drinking from 4-10am haha
[Atrix 4G General] panflute:
I dunno

Well I posted a not so nice comment on the AT&T Facebook page about the pricing of the dock and their lack of concern for their customers that keep them in business, and their already horrible reputation. It would be good for all of us to post something there to make them notice.

I did not want the laptop docking station. I have maxed out my Captivate....it needs more ram and more speed which is what the Atrix has. I was going to be the first to get it, now I have to think about it and look at other options so I can't say for sure what I will do other than post more comments on their Facebook page.
[Atrix 4G General] eallan:
Out of curiosity what does your captivate need more ram and speed for.
[Atrix 4G General] BodenM:
**** me, I was going to have one with a laptop imported to use on Telstra, but with the pricing, AT&T can go **** themselves. I mean, I can get a decent netbook for less than $500! I'll just get the phone, and then I'll import the dock from.the UK, where it should be cheaper. EDIT: My tweet on Twitter, follow and RT please:

Bodman456:

@ATT @ATTNews @ATTTeamUSA Congratulations, #ATTyoukilleditforme with your ridiculous ATRIX pricing scheme. #waytoruinagreatphone

Swyped from my HTC Desire running LeeDrOiD 2.3d with Tapatalk.
[Atrix 4G General] irishtexmex:
I think this is the tweet we should all be aiming for. Tweet it yourself, and then retweet it when you see it. Thanks.

@ATT @ATTNews @ATTTeamUSA Congratulations, #ATTyoukilleditforme with your ridiculous ATRIX pricing scheme. #waytoruinagreatphone
[Atrix 4G General] irishtexmex:
nm, delete this message
[Atrix 4G General] sdlopez83:
ef a netbook you can get a decent reg laptop.
[Atrix 4G General] BodenM:
Not in Aus. Laptops here normally cost in excess of $1000. :P Aussies always get ripped off by retailers :mad:

Swyped from my HTC Desire running LeeDrOiD 2.3d with Tapatalk.
[Atrix 4G General] sdlopez83:
Geez sorry to hear that and sorry for your change to the un mighty dollar.

On another note best way to get that accessories cheaper is to not buy it.