yashsingh1/xdaforums huggingface dataset:
[Desire Q&A, Help & Troubleshooting] Kirodema:
Try resetting your battery indicator http://www.miui-au.com/howtos/reset-battery-indicator/. It is also recomended somewhere on the miui-au.com site to not charge your phone while flashing because it is somehow disruptive for the indicator.
[Desire Q&A, Help & Troubleshooting] EddyOS:
I know all that, I wipe:

data/cache

dalvik-cache

battery stats

rotation settings

before flashing ANY ROM. Battery life is still crap
[Desire Q&A, Help & Troubleshooting] jiehao85:
The weird thing is I wasn't charging the battery while flashing. I find it a bit surprising for MIUI 1.2.4 to be quite a beast in battery usage.
[Desire Q&A, Help & Troubleshooting] GingaB:
What would you consider a good battery life?? I flashed to 1.2.4 and it seems to last me all day without any problems?BUt I have noticed slight 5%-8% drop in the 1st hour or so but then it stablises throughtout the day. Ive not tweaked my phone with setCPU and I dont intend to either.
[Desire Q&A, Help & Troubleshooting] Kalashnikitty:
Something is rly wrong with your MIUI. Anyway, never use that Kernel which comes with miui. Use Vork or Coutts Kernel.

pls download current widget from market and test how much mA it drains in "screen off". im using miui-au 1.2.4 r2 with vork kernel and im losing 1% per our with wifi, sync and gps on. it uses 4-5 mA with screen off.
[Desire Q&A, Help & Troubleshooting] EddyOS:
With previous MIUI builds, and with my own ROM I'm using now, I can go from 7:30am til midnight and still be on circa 50% battery. This is with my normal weekday usage. It goes down to about 30% by end of the day on weekends as I use the phone more

This build drops 5% in a few minutes and I just don't see that as being any good
[Desire Q&A, Help & Troubleshooting] EddyOS:
I don't need to download anything, the ROM was dropping battery with NOTHING setup except for Wi-Fi. I didn't even setup my Gmail account to get my contacts!!

I think I can skip the obvious as I know full well what I'm doing and never had this issue with previous MIUI builds, and I never use the stock kernel - I always go for a Coutts one before first boot
[G2 and Desire Z General] jzhyok:
To change ANY key you want (including +FN, +Shift, +FN+Shift).

When a key is pressed:

1.You pressed a hardware key, the system get a keycode(scancode):

(you can use "adb shell getevent" command to get the scancode)

2.The action related to the code is defined in “.kl” files in “/system/usr/keylayout/” according to your language:

3.Then those action such as FUNC_3/MENU/etc. can be found in “KeycodeLabels.h”:

(Thanks to teferi's github at https://github.com/aglasgall/g2-keymap)

4.Again the code “99” is defined in “*.kcm.bin” file in “/system/usr/keychars/”:

Column 0 is related to the code above.

(in this picture,for example, we know when we press Z, we got "z", Shift + z = "Z", FN + z = "<" , Shift + FN + z = "<". and yes, I modified it to get < and > key on my phone, haha)

Some special code for use in built-in Touch Input ONLY(except Tab):

09 00 = TAB
01 EF = SYM
02 EF = useful URL pre/surfix
03 EF = ".com"
04 EF = "www."

In short, there are TWO places we can change our keymapping:

1. Text edit the .kl file to change the keycode of a particular scancode

2. Hex edit the .kbm.bin file to change the action of a particular key

For reference you can open .kl or .kbm.bin files of other langs, and Google their keyboard's real picture :)

In face there are some obvious key(e.g. 0 to 9, A to Z ), you know where to modify without looking for the scancode/keycode/etc..

So, either ".com" key or "Tab" key or both, up to you :) MAKE IT YOUR PERSONAL KEYBOARD NOW!

According to different DZ from different country, your corresponding keymap files may be different. make sure you know which file to modify first!!!

For those Hong Kong and Taiwan DZ users who wanna fix the "中/英"(lang switch)key in WWE ROMs can try this method.
[G2 and Desire Z General] jrkr:
Should "KeyCharacterMap.h" perhaps read "KeycodeLabels.h"?

Btw, I am going to nominate you to the Nobel prize in keyboard mapping for this. ;)

Many thanks!
[G2 and Desire Z General] jzhyok:
ah, yes, should be "KeycodeLabels.h", thx for reminding.

One more thing, I just find that in third party IME, the "Shift+FN" doesn't work, it works only under "Touch Input".
[G2 and Desire Z General] summersab:
I'm trying to map the keys of a Bluetooth numeric keypad that I have linked via Cyanogenmod. The problem that I'm having is that for all keys except 7, 8, and 9, the scancode doesn't have a keycode assigned to it (discovered using KeyTest from github . com/chrisboyle/keytest/downloads). All keys report a scancode from dec(71-82), but they all have a keycode of 0. The adb shell getevent command verified that the keys do indeed generate a scancode in hex.

I have been trying to get the setkeycodes command to work (source found from groups.google . com/group/android-x86/browse_thread/thread/f24c7636da5dd124 ), but it keeps giving the error of:

KDSETKEYCODE: Invalid argument

failed to set SCANCODE 4c to KEYCODE 13

Much Googling has given me zero results as to how to fix that error, and no keycode I have tried has worked.

SO . . . can you either tell me how setkeycodes is supposed to work, or will your hex solution work as well? Can I add a line to the *.kcm.bin file, or do I need to recompile things?

Thanks!!!

EDIT: I'm actually on an EVO using CM7 RC2
[G2 and Desire Z General] virtualflyer:
In italian version we have è,ò,à,ù,ì after pressing the letter, fn, space. Do you know where this is set? Because I've seen that many roms don't have it and I wanted to change.
[G2 and Desire Z General] francescopr:
I quote it;

in italian FN+Space make "à.è.ì.ò", but in some rom doesn't work.
[G2 and Desire Z General] Kompre:
I think the problem lies elsewhere, and it isn't correlate to keymaps.

Let me explain how FN+SPACE works for italian keyboard:

1. you type a vowel, e.g. a

2. Then you press FN+SPACE and a become à

3. press again FN+SPACE and à become á

this works only if the blinking bar | is right after the vowel.

It's a two steps procedure and it can be applied to every vowel already written.

Also I checked the vision-keypad-ita.kcm.bin of a rom where the italian keyboard works and compared to the file in the rom where there is no italian keyboard. I found they are the same exact file.

Futhermore I checked it in the hex editor and for the SPACE key there is only the space character assigned in every possible combination.

I think FN+SPACE launch a function that is missing in custom rom.

For istance, in my VIRTUOUS Unity rom FN+SPACE combo launchs the hardware keyboard setting.

The problem is not the keyslayout, but the function that it calls.
[G2 and Desire Z General] arich:
So maybe I'm totally not understanding the purpose of this tool, but is there a way to set a custom process to launch when I press a key? IE: set a key to launch Handcent's Quick Compose function?
[G2 and Desire Z General] 白い熊:
Anyone have an idea how to get a Control key? I need to remap the keyboard on my Droid 3 and have a dedicated Ctrl key.

I assume edit probably the /system/usr/keylayout/qwerty.kl and use something like:

key 16 CONTROL_LEFT WAKE_DROPPED

but not sure about the "CONTROL_LEFT" part, or should it be "CTRL_LEFT" or something like that.

Have never messed with Android... and so have nothing to base it on...

EDIT:

Also, I'm trying to get the codes for all the pressed keys on the physical keyboard via getevent, run directly on the device, not through the SDK, and once getevent is started, I get tons of output, but it doesn't seem to be reacting to the keyboard, i.e. pressing `a', the `a' gets echoed directly in the terminal, and no apparent getevent event is triggered... How to do that?
[G2 and Desire Z General] Jiia:
Nope, that's not the purpose of this guide.

But does anyone know is there any way to have a button work as a DPAD button and a character button at the same time? Ie. when I press a button normally I want it to perform DPAD_UP command but when I fn-press it I want it to do a symbol. At the moment if the key is a DPAD key and you hold down fn or shift and press it nothing happens.
[Optimus One, P500, V General] creedy316:
Hi All,

I recently purchased Lg O1. I have successfully installed Custom Recovery. I am confused about backup types. I have also installed touchscreen kernel. But is their is a axes inversion problem :(. As we you all know there are 3 types of backup ..

Backup/Restore:

Nand Backup : runs a nandroid backup of data, cache, boot, system

Nand Backup + .android secure : backs up above plus .android_secure on sdcard (froyo native apps on sd)

//Native app which notify "application can be moved into SD card" if you can move some app. It's good to use, if you used it.

Nand + ext backup : data, cache, system, boot, plus apps2sd on ext partition (old style apps2sd)

//old style apps2sd is used on some custom ROM because can move every application into SD card instead of Froyo's apps2sd

Which 1 should i do, mine is the stock firmware 2.2 10b.. :confused:

Seeking your advice ..

Regards

Creedy
[Optimus One, P500, V General] gugler:
Nand Backup + .android secure.
[Android Themes] excellentnuke:
How can I get a single wallpaper to scroll? I'm trying to use wez89's layout, but it's staying on one screen. Do I have to manually crop out each section of the .psd to use?
[Android Themes] Ultraman666:
What launcher you using??
[Android Software/Hacking General [Developers Only]] smb_gaiden:
Goal: Edit FM App on x10 mini in order to receive raw RDS

I am pretty close, I haev reversed and rebuilt the FM app successfully (Radio.apk). Additionally, i have reversed and rebuilt the FM service successfully (FmRxService.apk).

In doing so, I had to remove these from the FmRxService.apk:

android:sharedUserId="android.uid.system" (I do not have the Sony cert)

android:protectionLevel="dangerous" to normal (Not sure needed, but why not)

android:process="system" (Taking it our of system, per above)

Added

<uses-permission android:name="ti.permission.FMRX" /> and <uses-permission android:name="ti.permission.FMRX_ADMIN" /> (I am pulling this out of the uid system, so need to be able to launch myself here)

<uses-permission android:name="android.permission.HARDWARE_TEST" /> and <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> and <uses-permission android:name="android.permission.BLUETOOTH" /> (Somehow trying to make sure I can enable the bluetooth, but failing, error below)

Things seem to go decently, made my ay past permission errors and such. However, have this problem:

...

D/FmReceiver( 1966): FmReceiver:create

I/FMRXService( 1974): FmRxService: create - calling create.

I/JFmRx ( 1974): nativeJFmRx_create()-Entered

D/JFmRx ( 1974): Calling nativeJFmRx_Create

D/JFmRxNative( 1974): int nativeJFmRx_Create(JNIEnv*, _jobject*, _jobject*): Entered

E/bluedroid( 1974): open(/sys/class/rfkill/rfkill0/state) for write failed: Permission denied (13)

E/bluedroid( 1974): Failed to turn on bluetooth power

D/JFmRxNative( 1974): bt_chip_enable() failed

D/JFmRxNative( 1974): int nativeJFmRx_Create(JNIEnv*, _jobject*, _jobject*): Exiting With a Failure indication

D/JFmRx ( 1974): After nativeJFmRx_Create, status = FAILED, Context = -1

I/FMRXService( 1974): mJFmRx.create returned status FAILED

E/FMRXService( 1974): mJFmRx.create returned status FAILED

I/NotificationService( 1169): enqueueToast pkg=com.sonyericsson.fmradio callback=android.app.ITransientNotification$Stub$Proxy@4585dce8 duration=1

...

And thus I fail to launch the FM App now. I tried to reboot and do a chmod 644 on /sys/class/rfkill/rfkill0/state first, but still unable to overcome the error. Does anyone know which permission I could use to allow for BT to power on through the FM App chain? Or any other permanent workarounds you could suggest to enable the FM radio to run well outside of the system uid?
[Windows Mobile Development and Hacking General] Deleted member 1890170:
Hi all,

in another forum the following question was asked:

I successfully installed my language file (Hebrew) with the "all language" file I just moved into "windows" directory. Thing is, like you wrote yourself in the readme file, this is a big file, and I use it to support only one language. Do you know about a way to 'isolate' this only lang. from this big file? Only to install the lang. that I need, not all the others?

Can you show a solution, how to accomplish this? TIA
[Desire Q&A, Help & Troubleshooting] chichoko:
Hi guys! Im using Teppic's rooted froyo rom and all of a sudden when i try to install any app from the market, it results in a message telling me the installation has failed.. i cant even restore from titan back up..

i think it might be a kernel issue but im not sure so id rather wait for an answer from you till i move forward reflashing etc..

Do you have any ideas on what should i do?
[Desire General] liciniu:
Somehow ( don't ask :-) ) I've manage to broke my desire's microphone. It's a tiny rectangular , shielded , smd mic. As I've heard it has a digital output on the chip . Does anybody know what type is it or the producer , or where can I find it ? I'm willing to buy even a broken MB with the mic on it .

Thanks ,

L.
[Desire General] warlordxxx:
Might be worth contacting someone like this http://www.globaldirectparts.com/HTC-Desire-Replacement-Repair-Parts-s/6282.htm they seem to have plenty of spare parts and might have a mic kicking around. Failing that it's either spares or repair on ebay (they don't seem to have many and are still quite expensive for a broken phone) or there may be some folks here with broken desires willing to donate to restore one back to its former glory
[Desire General] liciniu:
Thanks for the reply . Finally I've found a broken motherboard and swap the mics. It wasn't easy...
[Desire General] sgauntlett23:
Ive managed to do the same thing... how the hell did you get that thing of and replace it?
[EVO 4G General] babyschmoof:
I left at&t grandfathered in with their unlimited data because I wanted android, the the evo was the bomb, so it was a good fit. Now that I can upgrade, what will I upgrade to?

I don't think everyone has to worry about their contract. Sprint just put the final nail in their coffin.

How can you make a new phone that will run slower (yes it has a faster processor), but more work to do. No gingerbread, no front camera, no 4g and to top it off a crappy manufacturer. Microsoft has to love this.

I see HTC starting their own MetroPCS service and growing from there. Or even a Google HTC partnership.

What a major letdown. Perhaps its time to fire Dan, as he has no imagination.
[EVO 4G General] Dan330:
dont worry.. i am sure.. this is not the only phone sprint will bring out till summer.
[EVO 4G General] ramiss:
Yeah, for the first time in years I have no desire to fork out any money to upgrade my phone.

Sent from my device.
[EVO 4G General] nsxla:
For the years I've been a sprint customer this goes down as the most shameful day in sprints history, indeed what was hesse thinking? I suppose they would take any manufacture partner they can get. I imagine the retention department being floated with calls of customers cancelling their account. Who at sprint decided on the evo?? Where the **** has that person gone????.
[EVO 4G General] DirtyShroomz:
No, the retention department is not flooded. Believe it or not, the majority of people (about 99.9%) don't base their cancelling decision on an announcement they don't like.
[EVO 4G General] JasonK75:
Yeah, I might be really let down by Sprint, but I'm not running off to the other two carriers.
[EVO 4G General] TorxT3D:
ive been with sprint for 10 years now, and theyve had nothing but terrible phones, the evo has been the most worthwhile phone ever to come out of sprint.

im still happy with the evo as long as the devs keep supporting it and bringing out new features to keep me from getting bored with it.

im sure sprint will announce a new htc phone sometime this year, i hope.
[EVO 4G General] sph33r:
Why would you leave a carrier because of a phone they announced? Sure, it's a silly phone that I have zero interest in but it didn't ruin my day or come to my house and kick my dog. People get so worked up over nothing these days.

I bet most you aren't even eligible for an upgrade anyway.
[EVO 4G General] babyschmoof:
Sph33r,

Don't rain on our negative parade.

I've been up for an upgrade for some time, waiting for HTC to perfect the EVO and stay competitive.

Trust me, Sprint very well knew the EVO was their bread and butter. Why else do they still run commercials? Heck we all paid a bogus $10 fee knowing 4g was not coming any time soon. To add insult to injury, they now charge everyone this BS fee, instead of manning up and just adjusting the price of the plan. Do they think we are all that dense?

This announcement was just a kick in the ass, showing they are truly clueless. Worst off, if you are going it alone in the Wimax arena, what confidence do you have on the company you own by leaving it out of the phone. I think we all pretty much know they will be forced down the LTE path now that Verizon dumped Wimax. If they had any balls, they would have put an LTE radio in, to show they had any brains.

There comes a time when good price for a service gets trumped by bad management, lies, and sub-par offerings. HTC has been the Savior for sprint this last year, and they too were left out on the cold. Even if HTC makes a new phone on their own, Sprint's marketing dollars have just been pissed away.
[EVO 4G General] babyschmoof:
By the way, sorry for the typos above; and thanks to the devs for squeezing out the last bit of juice from our EVOs.
[EVO 4G General] m4rk0358:
Left out in the cold? There are 2 more major mobile conferences coming up. You're 100% positive that Sprint will not be introducing an HTC phone during one of those?

Yeah this Kyocera phone blows. Don't get it. Hold out for the EVO 2 that will likely come out this summer.
[EVO 4G General] popular nobody:
I hate when people don't know what they are talking about. Sprint mentioned that they have no problem switching to LTE if it's the standard for the world, before they greenlit WiMax. Numerous times they made notions that will go towards LTE, (LTE World Conference, Clearwire changing their contract with Intel, Clearwire testing LTE with Sprint evaluating it, Network Vision, which will make sure the LTE switch is easy, Beceem creating an WiMax/LTE chip, Sprint stating they have the power to use both) How the hell did Verizon dumping WiMax forced Sprint to go towards LTE, if they were never going to that technology in the first place? Btw, you see that EVO 2 that people are convinced coming out this summer? It may drop in the 4Q. It's not the HTC Sabor either, so I think people need to ignore those specs. Just a little fyi.
[EVO 4G General] sph33r:
Wow.. dude it was ONE phone announcement. There's 10 more months in this year and trust me, you'll have plenty of options. How did HTC get left out in the cold anyway? If they don't have a new awesome phone for Sprint, that's their fault. I think they're probably too busy cranking out something for the the soon to be over-saturated tablet market anyway.

You're over reacting but if it makes you that mad there's other carriers out there.
[EVO 4G General] captblaze:
i wouldnt leave for the phone itself, but the pure lack of vision that sprint has.

last summer sprint shocked the entire cellphone world when the EVO dropped. it as a sign that somebody at sprint was getting a clue. now come along with echo-o-o-o. from what i am gathering it is a joke of a device made for a joke of cell provider....

perhaps it is a perfect fit...

^
[EVO 4G General] matt2053:
I'm curious: if you left AT&T for Sprint to get the Evo, that would have been in like June? At the earliest? So.... how are you already up for an upgrade? Please share, I want upgrades every 8 months too!
[EVO 4G General] popular nobody:
AT&T drops the Atrix 4G in March, only to release news of the Attix 4G 2 in November. Verizon drops the Thunderbolt this month, only to drop the Thunderbolt 2 in October. It's stupid that people think the EVO 2 would be released in less than a year, but I don't blame you guys for reaching out in desperation. The other carriers give me numerous toys to play with, and not Sprint. It's not because of this worldwide claim that they are poor, it's because they think their strategy of not releasing a library of smartphones in one year works. You would be surprised on how many devices for different manufacters that Sprint has in the lab. If they continue this strategy, a buyout will eventually take place or they will become 4th.
[EVO 4G General] JUST2SUAVE:
Ha ha,me too
[EVO 4G General] Dan330:
if what i was told about LTE and Wimax is true....

you will not want to do anything with LTE!!!

LTE is a carrier's wet dream.. and a customer's nightmare!

http://androidforums.com/sprint/272829-lte-vs-wimax-charges-control-data.html

:eek: :confused:
[EVO 4G General] SynGT:
So, I literally just joined this forum to reply to this thread.

This is by far the most ignorant thread I have seen on these forums in awhile.

The Evo Shift was NOT designed to replace the Evo. It was made for those people who wanted:

Slide-Out Keyboards

Smaller Phone Size

A good smartphone for less money

Not every phone that Sprint releases is meant to be the biggest and baddest "next" thing. Most people on XDA are in the demographic that looks for that, but despite being lost in your little world, there are some people out there that actually don't want such a huge bulky phone, and they miss the days when you could actually FEEL the keys on your fingertips.

The Evo Shift was created for those people, for the demographic who is NOT you.

And before the flames start, I own a standard Evo 4G, and would never switch to the Shift, but my girlfriend hates my phone, and would love nothing more than to be able to switch away from her Incredible, to the Shift.
[EVO 4G General] m4rk0358:
Perhaps there will be a war of screens kind of like the war on number of razor blades on disposable razors. We might see a 5 screen phone in a couple of years. :D
[EVO 4G General] derekwilkinson:
I want a Desire 2 with 4G. I love the Evo but it needs better battery life and the build quality is horrible.
[EVO 4G General] ipatella:
Wait til CTIA, I'm sure we'll get some version of a HTC dual core flagship phone announced at MWC.
[EVO 4G General] m4rk0358:
I sure hope so. The natives are getting restless.
[EVO 4G General] tmacgarris6727:
wow vzw gets the iphone4 we get the DS phone
[EVO 4G General] Genjinaro:
Both are failues lol! 1 has a POORLY timed launch date, The other should've been better designed (style) & with 4G (really how could they not add this?)

CTIA is Sprint's chance to shine.
[EVO 4G General] m4rk0358:
When is that?
[EVO 4G General] derekwilkinson:
I think it is another month away.
[EVO 4G General] derekwilkinson:
Seriously. There is certainly going to be a new iPhone soon... the idiots buying it now get what they deserve!!! :p :p :p :p :p
[EVO 4G General] DirtyShroomz:
Feb 14th-17th
[EVO 4G General] DarkManX4lf:
Whats a thinktig?
[EVO 4G General] novanosis85:
http://www.ctia.org/conventions_events/wireless/

sent from my EVO
[EVO 4G General] krazyflipj:
I have to admit, the Echo was a total let down for me. Will i switch companies now? Hell no. Phone service and cost are more important to me than hardware.
[EVO 4G General] DirtyShroomz:
That's CTIA not MWC.

http://www.mobileworldcongress.com/event/event_overview.htm
[EVO 4G General] novanosis85:
But your original post answered to a guy asking when was cita. No problem though.

sent from my EVO
[EVO 4G General] babyschmoof:
I'm sorry, you don't have a huge event, keeping everything secret and release a phone with lesser specs. Sprint knew what we wanted, but choose a crappy manf. to make something the masses don't want. They knew the EVO is their hottest seller and should have gone with that. EPIC failure, like the Epic.