yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson XPERIA X10 Mini] matmutant:
please,

1. read carefuly the first post before flashing

2. also read the miniFAQ for minicm7 before asking (follow the link in my signature)

3. you're in the wrong place to start a thread by asking something. here is development thread not Q&A

have a nice day

Ps: nevertheless, your description is quite good so that people quickly understand what is your problem and how did you try to fix it without any success :)
[Android Apps and Games] Toilet Clauger:
hey I have been looking ever since i started using android a while ago but havent found one, if anyone knows of or could create a program for windows that would allow you to create your own keyboard for most devices including froyo. Something that would allow you to costomize anything such as changing colors, button sizes and layouts, and adding extra keys to either portrait or landscape modes such as having 2 space bars or 5 of the same letter keys <not that theres any use for that>
[Android Apps and Games] WarrGrinn:
Here,

http://www.gimpsta.com/themer/index.php

There was a thread around here with the apk for the keyboard as well, some searching should be able to find it. Htc_ime_mod?? or somesuch.
[Android Apps and Games] Toilet Clauger:
Ive already tried that the program cant do **** all it really does is let you change colors and graphics of the default android keyboard im talking about a program that lets you add and manually place the keys on the keyboard any way you see fit for your device
[Nexus S Android Development] Ezekeel:
This tweak is no longer supported, use Touch Wake instead!

For notebook/netbook computers switching off the screen after a certain timeout is a simple yet effective way of saving battery life and such a feature is integrated into every OS. Android also has a screen timeout feature, however this suspend function also disables the touchscreen controls (and touchkey buttons) and you have to press the power button to re-enable the screen (plus, if you did not disable the lockscreen, you also have to unlock it again).

Since this is kinda annoying I tried to find an app which could disable the screen after a timeout and re-enable it on touch, however I could not find one. After some digging I found out that there is no way with the current Android API to disable the screen without simultaneously disabling the touchscreen controls.

So I took a look at the kernel source and after some trial and error it seems I have found a stable way to implement such a screen off feature.

To enable (disable) the screen dimmer pass 1 (0) to 'enabled' in /sys/class/misc/screendimmer. Pass the delay in ms (this is milliseconds; 1000ms = 1s) to 'delay'. The default state is disabled and a delay of 15000 = 15s.

Changes to the source (based on kernel with BLD 3; apply patches in exactly this order):

http://www.pastie.org/2408247

http://www.pastie.org/2408254

http://www.pastie.org/2408257

http://www.pastie.org/2408259

http://www.pastie.org/2408260

BUGFIX:

I already have the first bug fix for you. The kernel was not compiling anymore without the screen dimmer activated in the .config. Besides that nothing has changed, so if you already have a compiled kernel with the screen dimmer running this will not change anything.

Bug fix: http://www.pastie.org/2408688

BUGFIX #2:

Fixed the auto brightness not working anymore.

Bug fix: http://www.pastie.org/2418667

BUGFIX #3:

The user space access to the framebuffer is closed down before the screen is dimmed which makes sense and took care of one oddity I did notice. Also it should save some more battery.

Bug fix: http://www.pastie.org/2420744

BUG FIX #4:

Patch to avoid race conditions.

Bug fix: http://www.pastie.org/2441551

Get Jonathon Grigg's 'Spark Mod Manager' GUI for controlling Screen Dimmer: http://xdaforums.com/showthread.php?p=17291034

I do not accept donations and since I reached my 50GB limit of free space on SpiderOak, thanks to all of you kind people who got an account using my referral link, I could not ask for more.

Instead if you really want to donate your hard earned money to someone who deserves and needs it, consider donating to the Free Software Foundation at fsf.org: These guys are at the frontline when it comes to keeping Linux free and fighting these greedy bastards who think they are entitled to collect royalties and other fees from Linux users due to some silly patents - and if Linux falls, Android will be next.

This tweak is no longer supported, use Touch Wake instead!
[Nexus S Android Development] coloxim:
good...thanks!!
[Nexus S Android Development] rejanmanis:
You are the GOD ...

Amazing... can't wait one of the kernel dev have this on their kernel. So I can easly flash it.:D
[Nexus S Android Development] Ezekeel:
I already have the first bug fix for you. The kernel was not compiling anymore without the screen dimmer activated in the .config. Besides that nothing has changed, so if you already have a compiled kernel with the screen dimmer running this will not change anything.

Bug fix: http://www.pastie.org/2408688
[Nexus S Android Development] reddv1:
Nice job, looks like a cool mod.

I'll release it under a experimental version of my kernel enabled by default to see how people like it.

One question, does the screen go off while I'm watching a video such as YouTube?
[Nexus S Android Development] ogbreds:
Highly Appreciated.
[Nexus S Android Development] Ezekeel:
Yes, unfortunately the screen always gets dimmed even if the app has the FLAG_KEEP_SCREEN_ON set. I took a look at the kernel source and it seems this flag is not passed on to the kernel and handled only by the Android OS; so the kernel does not know whether currently an app is open which has this flag set. Maybe I can think of something, but most likely this is a limitation which I cannot remove.
[Nexus S Android Development] Enhanced:
This will be amazing.

I have

always

wanted a way to wake up the phone without reaching over to the power button. I remapped my power button to the soft search key just so I didn't have to reach over to push the power button but it obviously didn't work to wake the phone. This is something I've dreamed of, to just touch the screen or the touch keys and it would wake.

Couple questions:

1) Is it possible that only touching the 4 soft keys will wake the screen (instead of the screen)?

2) How does this affect battery? Is a wake lock held? Does the phone sleep correctly to go into power saving? I'm assuming if the screen is touchable that the phone isn't sleeping and as such, this will be a battery drainer. :mad:
[Nexus S Android Development] Ezekeel:
1) Currently the screen is re-enabled both when touching the screen and the touchkeys. I think that makes the most sense. However, one could easily modify the code to limit this to the touchkeys.

2) The phone is not put to sleep, only the screen is disabled. So compared to the normal screen lock this will drain the battery much quicker. This tweak is not intended as a replacement for the stock screen lock, but as an addition. You can set the screen lock to a value like one or two minutes, so it will properly lock the phone for example if put it in your pocket, while having the screen dimmer set to a lower timeout like 15sec, so the screen will be disabled and some battery saved if you just pause for some time for example because you wait for a download to finish or talk to somebody. So, if you use it right, you should save some amount of battery.
[Nexus S Android Development] reddv1:
I found a bug after running this mod for about a couple hours. The screen would not turn on after leaving the phone for about half an hour. The touchkeys would light up and the when I clicked the volume keys I could hear the volume settings changing.
[Nexus S Android Development] rejanmanis:
This is exactly what I'm lookin for. i will set 1 minute for screen dimmer and 2 minute for screen lock.
[Nexus S Android Development] simms22:
it works great in trinity with the cm7 nightlies.. thank you.
[Nexus S Android Development] tonno16:
I don't understand the instruction. what I have to do?
[Nexus S Android Development] Ezekeel:
Hmm. Yeah, that sounds like a bug. Did any error messages appear in the log? Could you reproduce the error?

Great. If you run into any problems please let me know. I am glad we have such a thorough tester on board.

Wait for the kernel devs to implement this tweak. Then follow their instructions to activate the dimmer; they probably will supply you with some init.d scripts for convenience.
[Nexus S Android Development] rejanmanis:
Can I have your kernel please.

Can't hardly wait till u released it for public. I will realy appreciate it.

If I could give a try for your kernel, would please send me by email at rejanmanis@gmail.com

Many thx before.:D
[Nexus S Android Development] reddv1:
Here lucid blue kernel with the screen dimmer: http://goo.gl/nBHir

The screen dimmer is enabled and set at 30 seconds. Post any issue you have here.
[Nexus S Android Development] simms22:
it should be out soon, maybe today or tomorrow. you dont want the one im using, its really a raw test kernel.
[Nexus S Android Development] reddv1:
Found another bug, the auto brightness doesn't work anymore.
[Nexus S Android Development] simms22:
i can confirm it
[Nexus S Android Development] rejanmanis:
grate thx men. i love u :D

okay mr simms. i can wait.
[Nexus S Android Development] Ezekeel:
Hehe. And there I was wondering what that code=40 signal was, which the touch controller was sending every second and that I decided to block since I could not figure out what it was doing and assumed it was useless. Yeah, like some smart person said: Every line of code happens for a reason. :D

Bug fix: http://www.pastie.org/2418667

Since someone was asking, I do not accept donations. However, if you want to make my life easier and thank me for my efforts, please think about signing up for a free SpiderOak account using this refer-a-friend link https://spideroak.com/download/referral/b89974e492728fa6a246880f0b7cbcd5. It is just like Dropbox except you can get up to 50GB of free space and they have a true zero-knowledge policy.
[Nexus S Android Development] reddv1:
Thanks for the quick fix. The referral link isn't working in the OP.
[Nexus S Android Development] Ezekeel:
Copy/Paste vs. Eze 1:0 ;)
[Nexus S Android Development] morfic:
http://xdaforums.com/showpost.php?p=16930383&postcount=2908

See this occur on current build, will patch for auto brightness and keep an eye on the above. (Trying to catch a log if/when it happens when i can log it)

It occured on my phone too, i was not around a pc so i couldn't log anything, but i certainly got the unlock haptic feedback, but with screen off.

Touchkey lights were blinking although i do not use blinking BLN.

Thanks,

Daniel

Oh and ruby on rails guy, why not choose diff instead?

Repasted: http://www.pastie.org/2419597

EDIT2: Authorization complete, let me know if you do not see the added space. The process was too simple for me to properly complete it ;P
[Nexus S Android Development] Ezekeel:
I will test it with the dimmer set to 45sec and the lock to 1min and see if I can reproduce the problem.

Regarding pastie.org, I actually was pretty sure it would choose the correct style automatically. Maybe they took this feature out or I am just getting senile. ;)
[Nexus S Android Development] morfic:
<6>[ 1937.466751] disable screen

<4>[ 1937.636989] ------------[ cut here ]------------

<4>[ 1937.637692] WARNING: at drivers/regulator/core.c:1358 _regulator_disable+0x108/0x178()

<4>[ 1937.638738] unbalanced disables for pd_lcd_supply

<4>[ 1937.639298] Modules linked in: bcm4329

<4>[ 1937.640877] Backtrace: no frame pointer

<4>[ 1937.642461] ---[ end trace 5f1afa0a1d6b1021 ]---

<6>[ 1941.746203] request_suspend_state: wakeup (3->0) at 1941739593471 (2011-08-24 05:11:43.463539053 UTC)

I am seeing this in dmesg right now.

judging from adb lolcat, android has no idea this happened.

I will need to build a kernel with frame pointer i suppose

and sorry for adding this to BLD first i got me dimmer threads confused, too many open tabs syndrome.

There is a guy on Trinity thread you claims this happens to him on older kernels, i don't think i have heard of it before dsellers talking about this issue and him going "me too".

If there have been occurences before, it now puts a definite magnifying lens on the issue.

Only reason i was around a pc to even see this much is me remembering the alarm was too low and wanting to increase volume, just to find a blind Nexus S again.

EDIT##: I have since rebooted, but i am running this over night:

adb lolcat > ../longlog
[Nexus S Android Development] Ezekeel:
I have seen this error msg quite often in the beginning of writing Screen Dimmer. Afaik this happens when you try to remove a regulator which already has been removed before. Screen Dimmer does remove and add this lcd regulator, but I have put a check into the regular suspend function so it should not get removed twice. I have not seen this error msg since then, so I thought all is right. But I will keep an eye open for this error and will think about it.

Meanwhile, I have made an improvement to the code: the user space access to the framebuffer is closed down before the screen is dimmed which makes sense and took care of one oddity I did notice. Also it should save some more battery.

Bug fix: http://www.pastie.org/2420744

@morfic I used diff this time ;)
[Nexus S Android Development] alf69mi:
Just to confirm the not awaking screen-off problem with latest 2308 Trinity kernel.

Touchkeys lightened but screen off.
[Nexus S Android Development] rejanmanis:
Report and Another Request

Its been more than 12 hours with lucid nexus 1.7b, i found no problem at all.

its been working the way i want it ( and yes the autobrightness not function which was already solved right ? ). No sleep of death as well.

Im sorry if i requesting so much ...

And also, if u can make the screen dimmer smoother, i dont know how to say it,

its like stepping down the brightness from 5 to 0 when the screen goes off.

Will be smoother and incredible perfect.

i try to attach the youtube video, i found this on my BB Torch

[YOUTUBE]<iframe width="425" height="349" src="http://www.youtube.com/embed/UCprDVrACCQ?hl=en&fs=1" frameborder="0" allowfullscreen></iframe>[/YOUTUBE]

or this is the Link to youtube.
[Nexus S Android Development] jjhrrsn:
I believe this is in reference to me, would like to add that I stated that on the tuv88 and tuv11 it happened to me however seems different from what you've said. I stated that it most commonly has happened when charging, could be a mere coincidence, but the screen would be locked, completely black with the bottom buttons lit up. My original thought was that I had a text as looked like the bln notification, however I could not get the phone to respond. I did not get any haptic feedback, only thing could do was a battery pull. To add to this Without a log I know this is not helpful, but has not happened on the most recent test build Sims posted in the Trinity thread today.
[Nexus S Android Development] melvinchng:
I doesn't off the screen for 6 hours, I just dim it. And the battery drop from 95-74. And it is in airplane mode.

Does this happen to you guys too?

Accidentally sent from my Nexus S using XDA Premium App
[Nexus S Android Development] Ezekeel:
Let me see if I get this right: You completely disabled screen lock and only used Screen Dimmer and your battery drain was about 4% per hour?

Actually, this looks fine to me. Since the device is not put into sleep, but only the screen is dimmed, the battery drain is much higher compared to a proper screen lock. And 4% sounds reasonable compared to the ~10% (guesstimate) the device needs when the screen is on. As I said before Screen Dimmer is not a replacement for the screen lock, but an addition.
[Nexus S Android Development] simms22:
i think thats where some people are getting hung up on, its not meant to replace the screen lock and power button. its just an additional feature that some may find very useful, and some might not. i didnt think that i would find it useful, but i am finding it very useful :D
[Nexus S Android Development] rejanmanis:
And another usage of this mod. I can show off to all my colleague, another mod with ns, where none of Android device have this mod. :D:D
[Nexus S Android Development] simms22:
true true..
[Nexus S Android Development] Enhanced:
Just a question:

When the screen is dimmed, are the touch keys lit?

I don't want to trick myself in thinking there is a BLN alert.
[Nexus S Android Development] rejanmanis:
This mod really doesn't interfere with BLN.

When ? U can set ur own timer. Wheter u want it in 30s or more.
[Nexus S Android Development] Ezekeel:
Patch to avoid race conditions.

Bug fix: http://www.pastie.org/2441551
[Nexus S Android Development] yaronyud:
maybe you guys know.

when i try to echo into /sys/.../whatever

it sais that i cant create this directory named /sys/.../

but when i use cat command it shows me the default which is 0 and 15000

any 1 know what to do?

i use script manager and i mark use as root option
[Nexus S Android Development] farohp:
hi!

i want turn off backlight(or turn off the screen) display after X second and re-activate the screen only touch the touchscreen.

Can you help me please?
[EVO 4G Q&A, Help & Troubleshooting] adilibe:
Hello, I have Myn’s Warm 2.2 RLS 5 Rom and I'm always having problems sending a recieving MMS. When sending, it takes FOREVER (like 2-4 weeks) for the person to receive my picture mail. When receiving, the MMS says downloading but nothing ever shows up and it just stays downloading until randomly it might show up or it might not.

I don't know if this is a common problem with the EVO 3G or with this ROM in particular...any help would be appreciated! Thanks
[EVO 4G Q&A, Help & Troubleshooting] sbmf66:
I noticed that turning off my WIFI seems to help my messaging work better. Try it and see.
[EVO 4G Q&A, Help & Troubleshooting] adilibe:
Hey thanks, I tried this today but it didn't seem to work. Anyone have another idea?
[Fascinate Q&A, Help & Troubleshooting] pospower:
ok can someone tell me of a WiFi tether fix so ican tether my fascinate to my touchpad. Evidently it does not support adhoc. Anybody?!
[Fascinate Q&A, Help & Troubleshooting] *Luke*:
Q and A.... this is not development.....
[Fascinate Q&A, Help & Troubleshooting] meowcats:
http://code.google.com/p/android-wifi-tether/

The 3.x branch supports AP mode for galaxy phones
[Fascinate Q&A, Help & Troubleshooting] pospower:
this didn't work either- it showed up but when I connected it said could not find ip.
[Fascinate Q&A, Help & Troubleshooting] manic020:
what rom are you on?
[Fascinate Q&A, Help & Troubleshooting] myersw:
I have a Samsung Fascinate running Wifi Tether 3.1.beta6 and a Touchpad. I do not have any issues connecting the TP to the Fascinate and browse the web.

As mainic20 asked, what rom and kernel are you running. I am running the power wash rom with the GeeWiz kernel. The powerwash kernel did not support WiFi Tether. When looking at the logs it indicated that drivers were missing. The app did load and provide me with the icon to activate the wireless. Also seemed to load looking just at the icon but log showed drivers not found.

So be aware that all kernels do not support wifi tethering.
[Desire General] TVTV:
Updated Droid fonts family (arabic, romanian "ț" support, etc.) - Attention, chefs!

While browsing the web with my HTC Desire, i noticed that some romanian characters were displayed as squares in the web browser. I phoned HTC Romania about this, but they had no solution. After doing some research, i found that Google has updated the Droid fonts family (03.2011) and also added proper support for the romanian "ț" character (source). I've updated the fonts in /system/fonts with these new ones (via adb push, easy-peasy) and everything is working a-OK now.

It'd be nice if the cooks used these fonts instead of the old, standard ones. CM7 (7.0.3), for instance, is still using the old versions. Even HTC's own Gingerbread RUU update for Desire is still using the old ones.

L.E. -

I took the liberty of attaching them here, because the versions in Google's Fonts Directory have not yet been updated, it seems.

L.L.E. - Changelog:
[Desire General] daniel_loft:
Salut,

Tocmai mi-am instalat fonturile (pe un Defy). Intradevar, se vede si ț-ul corect. Dar nu se mai vad restul (ă, î, ș). Testat pe Google Maps.

Merci!

PS: Am folosit Font Changer (root).
[Desire General] MatDrOiD:
Use the english language please.
[Desire General] daniel_loft:
Excuse my negligence:

Hello!

I've just installed the fonts (on a Defy). Yes, you can correctly see the ț. But you no longer can see the rest (ă, î, ș). Tested on Google Maps.

Thanks!

PS: I've used Font Changer (root).
[Desire General] MatDrOiD:
You have a Defy. So please ask in the forum for that device.
[Desire General] daniel_loft:
MatDrOiD, this is not a phone specific problem, but an Android problem. Actually an industry wide problem.

I've opened a thread here, but nobody answered, and when I found it, this post gave me some hope.

I would like to ask a moderator to move this thread to a more general section.

Have a nice day!
[Desire General] TVTV:
Daniel, i really don't know what to say about your issue. I'm using the same fonts i've attached to the first post and everything's displayed as it should (browser, documents, Google Maps etc.). Maybe you ran out of ROM space when updating the fonts and some files were not copied correctly, maybe the software you used has some sort of (compatibility) issues (with your device) or maybe the Defy's flavour of OS uses fonts in a different manner than HTC's one. Please try to push the files via ADB and see what happens.
[Desire General] daniel_loft:
I've just used ADB and it worked. Everything shows correct now.

Thanks a lot!
[Desire General] TVTV:
You're very welcome, dear sir! :)
[Desire General] MGA1996:
Is Armenian Also supported?

I would like to know if Armenian is also supported.

If not can you please help to get it ?

I have downloaded droidsansarmenian.ttf and added it to the fonts folder but armenian letters didnt show up.
[HTC Sensation] Tomekks:
Hello. This is my first post and I have my Sensation not even a full week. Needed to get that out there. As I have already rooted and flashed my Sensations rom, filled it with apps and configured it to my liking, I can not use HTC Sync to sync my Sensations contacts, data, events, settings, configuration and all other available syncable data with my PC.

I've searched the forum for a while and that gave me no clear answer in what PC syncing software I should put my trust in. Or which one for us Android users is the most feature friendly. On my old phone I used MyPhoneExplorer. It kind of did it's job and kind of didn't.

So, I'll be straight and ask you guys.

What, in your opinion, is the best piece of software which I can use to sync my Sensation fully with my PC?

Oh, and is there any good way to sync my androids configuration, apps and files woth my pc so if I change something and get lost, I can restore the settings without loosing any apps? I know that titanium Backup does it but haven't yet gotten to fully test that.
[Epic 4G Q&A, Help & Troubleshooting] justen7723:
Can anyone tell me how to root a samsung gem (sch-i100) I posted this in 2 other sections already about month ago but I've had no respnoses at all. Can anyone tell me anything????
[Epic 4G Q&A, Help & Troubleshooting] Shoulon:
One click Root?

Google it, and that device might not be supported by a dev who's rooted it yet.