yashsingh1/xdaforums huggingface dataset:
[HTC Wildfire S] blogslogger:
Hey,

I am still a junior member, so i dont have the required privileges to post in android development, so i am posting here. This is a build.prop tweak to improve your battery life. I tested it on MIUI v4-2.7.6 and i (think) it works great. But since its a build.prop edit, DO IT AT YOUR OWN RISK.:D

CREDITS:

omair2005 from epic 4G forum

Henry_01 for this wonderful rom. :)

Steps:

1.Open root explorer (download one off the market if u havent got one).

2. Open the root exp. and mount it as R/W (it should be a white tab on the top)

3. Go to system.

4.Again mount it as R/W

5.long press build.prop and select open in text editor.

6. copy the below lines and paste them at the end.

debug.performance.tuning=1

debug.composition.type=hw

debug.sf.hw=1

persist.android.strictmode=0

persist.sys.use_dithering=1

persist.sys.ui.hw=true

persist.sys.purgeable_assets=1

ro.com.google.networklocation=0

ro.kernel.android.checkjni=0

ro.config.nocheckin=1

ro.vold.umsdirtyratio=20

dalvik.vm.checkjni=false

dalvik.vm.execution-mode=int:jit

video.accelerate.hw=1

windowsmgr.max_events_per_sec=240

profiler.force_disable_err_rpt=1

profiler.force_disable_ulog=1

7.hit menu and select save and exit.

8.Reboot your phone. DONE

I TAKE NO RESPONSIBILITY IF IT BRICKS YOUR PHONE (ALTHOUGH IT WONT)

cheers!!
[HTC Wildfire S] blogslogger:
people please do comment if the above mod helped you or not! :)
[HTC Wildfire S] MidhunCN:
Will it work on CM9
[HTC Wildfire S] blogslogger:
Yes. It will.. :)
[HTC Wildfire S] junxracr:
How much did this improve your battery life ? I average about 14 hours on cm9 with normal usage no tweaks. Some days up to one day.
[HTC Wildfire S] Ferri64:
I'm afraid I haven't been able to see any noticeable improvement. Of course other users may have different results.
[HTC Wildfire S] blogslogger:
If you arent using 3G all the time, i suggest you change it to 2G only... you should be able to see a marked improvement in battery life. BTW, which ROM are you using now?
[HTC Wildfire S] Ferri64:
I'll try your suggestion about 2G/3G modes.

I'm using CM9 alpha 6.
[HTC Wildfire S] blogslogger:
I got 9 hours of battery time, but mind you i constantly have the screen on, whatsapp, fb, and angry birds constantly running(thanks to my friends!), so on the whole not bad;; :laugh:
[HTC Wildfire S] fforc9e:
I don't think that you need to install any mod to use only 2G. There is a service menu (dunno how to name that). Just type *#*#4636#*#* and then open phone information. There suppose to be something like "preferred network type". Just change it to GSM only and ill fix you problems with battery life. :)
[HTC Wildfire S] cwf_1:
does this work on cm7?
[Galaxy S II Q&A, Help & Troubleshooting] okmijnlp:
What I mean is is it possible to make the notifications evenly spaced, rather than having them start from the left, so if I'm only using 2 it looks strange? Thank you,
[Xperia Arc Q&A, Help & Troubleshooting] danielraj:
Hey guys, frankly im a noob.. Im running on a stock ICS, stock kernel on my Sony Ericsson Arc.. running really slow and I have decided to flash a custom rom onto it for the first time. I need your help guys on where and how do I start the process.. there are a few que i have in mind such as

1) do i need to unlock the bootloader of my hp?

2) there is something called internal sd..and im so not sure what is it actually.. the arc doesnt have an internal storage like the galaxy s2 and etc as to my understanding..so what does it mean by i have to copy the zip rom files onto the internal sd?

3) i thought of flashing cyanogenmod 9 onto the arc but i would like to ask on your opinion on the rom and what would your choice of rom be?

hope to hear from u guys soon...thank you in advance..:)
[Xperia Arc Q&A, Help & Troubleshooting] link-in:
well bootloader (e.g the BIOS settings in our computers) is just like the police officer that controls which programmes should start, what should run etc. although unlocking your bootloader will void your warranty however, it can be relocked by ways, our dev's have shown.

NEED---- it will help you install (also known as flash) custom (your own) kernels (interacter between software and hardware) and roms (interacter between humans and softwares). thus you will be able to customize anything and everything. and without the risk of bricking (make it no more useful thn a brick) your phone

well u must have read xmooded 90.5 rom requirements hence you must have been asking this, i dont know what that means but the externel sd card even works superb with that rom.

lastly i would suggest you use jj'shybrid rom with stock kernel and cwm installed. it is as good as cm9 in ui and almost the best in battery life (battery drain is about 0.2% per hour when idle)

hit thanks if i helped you
[Xperia Arc Q&A, Help & Troubleshooting] SXUsr:
1. You start at the first link in my sig. Then HERE.

2. You have an SD card right?

3. http://xdaforums.com/showthread.php?t=1789656
[Xperia Arc Q&A, Help & Troubleshooting] danielraj:
Link-in : thank u for the definitions and suggestions mate...im very much briefed by it..tq again..

XperienceD :thank u for the assistance... and yes , i have an sd card
[Galaxy S III Q&A, Help & Troubleshooting] bordikun:
it's been 11 hours but in the "kernel wakelocks" there are still no reference either "since charged" or "since unplugged" but in the "since screen off" there are reference.

anybody know how to fix this? TIA
[Galaxy S III Q&A, Help & Troubleshooting] bordikun:
anyone?
[Galaxy S III Q&A, Help & Troubleshooting] slaphead20:
message the app dev and let him know,
[Galaxy S III Q&A, (US Carriers)] Elysium1215:
If I am switching ROMs of the same build, lets say CM10 7/23 build to a future unofficial CM10 build, would it be necessary to do a data wipe and factory reset?
[Galaxy S III Q&A, (US Carriers)] lynkdead:
Necessary? Probably not. A good idea? Probably yes.
[Galaxy S III Q&A, (US Carriers)] mw86:
Okay so similarly if I go to CM10 from another Rom wipe data and reset... but if I backup my with Titanium Backup what is recommended to be restored after flash? All system data + apps + app data, just apps and data or just apps. If I have contacts backed up to email etc, photos and such data stored elsewhere... would it be recommended to use the least amount of data restored from last install to the new Rom? I just donr want to load wrong values upon restoring my apps. I don't mind if app data or system data is factory reset but not if unnecessary and only if its not a prob and won't mess up any Ron specific settings.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] double_jn_it:
Im trying to unlock my skyrocket, using an unlock code I bought but, when I insert non native sim, it does not ask for unlock code like it used to 3 months ago. I've been using it as a tablet "phone" with airplane mode on to save battery, but now it doesn't even notice a sim card is in.. Ive tried dialing: *#7465625# it well show "personalization" loading but then it force closes! Please help! Thanks
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] double_jn_it:
OH I also just did a factory reset... but still doesn't work
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
did you ever try that code, if you did and worked its unlocked forever

if you never tried the unlock code but are now, you have to be on stock firmware to enter code, then you can use a custom rom
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] double_jn_it:
Im not on any rom! i didnt insert code, i just got it!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
is it still on airplane mode
[Nexus 7 General] r4d14n7:
Good work! :cool:
[Nexus 7 General] Zardos66:
Nice. If I didn't already use PS3 controllers I'd check it out.
[Nexus 7 General] ptesmoke:
So does it have to be the pc version of the xbox controller? Or a regular xbox controller?
[Nexus 7 General] Cybore:
Is Vendor_045e_Product_0291.kl created when you sync your wireless controller? because I don't have such file on my keylayout folder.
[Nexus 7 General] sleeplessninja:
Are you using a Rom? I was doing this with a rooted verion of stock 4.1.1.

I'm not at my Nexus 7 for the rest of the night but can upload the file tomorrow if you don't have it. But yes Vendor_045e_Product_0291.kl should be for this to work. In the case its not we will have to push the file to the folder and then set the permission for it.
[Nexus 7 General] UberMudkipz:
There is no specific controllers to PC or Xbox. A wired controller works with both PC and 360 due to it being a USB connection. A wireless controller still can work with PC if you purchase a wireless adapter. That is what I do: sync up with this PC adapter when I want to play PC games with a controller, and sync the same controller up to my 360 on the off chance I want to play some Halo or something.

Anyway, I assume the same method of hooking up a wired 360 controller to an Android device is applicable as it uses the same drivers as the wireless one, just requires one less piece of equipment.
[Nexus 7 General] sleeplessninja:
The controller itself is a regular xbox 360 controller. The dongle is just used on the PC so it can communicate with the controller like a xbox 360 does.
[Nexus 7 General] Cybore:
Nope, rooted stock 4.1.1 as well. Please upload the file if you get a chance.
[Nexus 7 General] eawooten:
So during cinematics like in Dead Trigger when the Zack gets too close, do you drop the controller and have to touch the screen?

I suck at this game, so that happens to me a LOT.
[Nexus 7 General] sleeplessninja:
Updated OP with Attachment

Sorry for the delay. I appreciate you bringing this up and I updated the original post to include the attachment. Please let me know how it works out for you.

Yes, as far as i know you can't use the controller, i'd imagine the developers would change this to fix it though. But I was only showing the game to demonstrate the issue not so much discuss its gameplay with the xbox controller. I think there is a thread on here that is discussing this and might even direct you to a petition to Madfinger (developer of dead trigger) to request it to be changed.
[Nexus 7 General] Cybore:
Thanks for the up, I'll give it a go once my otg cable arrives. I wanted to get my n7 ready to sync once it got here.
[Nexus 7 General] Timbermill:
Sweet. Thanks for posting the file.
[Nexus 7 General] vzwty:
I did not have the file either so I downloaded it to my nexus. When I try to copy the file after unzipping it it always says copy failed. I've tried Astro, ES, and File Manager with the same results. I've even moved it from my pc to my Nexus after unzipping and still having the same problem. Any ideas?
[Nexus 7 General] sleeplessninja:
Are you mounting the Systems folder using the command " mount -o remount,rw /system " Just like in the instructions for copying the file, you need to mount the folder with write privledges using that command. I'm not sure if the file manager after remounting will allow you to still move it, you might need to use a command to move the file yourself. But let me know how it works out with the file manager first.
[Nexus 7 General] Cybore:
So I just got a chance to test it and it worked for me. I renamed the file to "Vendor_045e_Product_0719" and used root explorer to copy it into the keylayout folder. Just make sure to Mount r/w which should enable to set permissions as well.
[Nexus 7 General] silcharde:
any app for touch mapping? like the sixaxis controller one
[Nexus 7 General] dct3416:
It works great! Thanks!
[Nexus 7 General] burntcustard:
Good work sleeplessninja! If only I had rooted my Nexus 7 already I'd be playing right now :P

Do you think getting wireless xbox controllers will become simpler in the near future through updates (preferably without rooting, not for me but for other who have no desire to root)? Also, can anyone comment on how much the wireless receiver drains the battery?
[Nexus 7 General] sleeplessninja:
I'd have to look at the spec of the reciever to figure out battery drain. But I haven't noticed any substantial drain for the limited time i've used it.

I actually can become simpler. We should all submit a ticket to Asus or Google. Because its somethign as simple as including the file in their next OTA. That way we wouldn't need to root to add it ourselves. Anyone submit a ticket before and know how to go about it? I can look it up myself but in case you find the page before me please let us all know.
[Nexus 7 General] pablomentabo:
Is there any way this can be done for the OUYA controller? It pairs fine over bluetooth but it spins like crazy too on my 2012 N7, thanks
[Nexus 7 General] lachyzee:
To do this with two controllers, would 1 PC USB Dongle/Receiver be enough, or would I need to buy a second?

Also, has anyone got the XBox 360 Chatpad controller attachment to work (http://www.digitalhomethoughts.com/images/jd-xbox360-chatpad.JPG) ?
[Nexus 7 General] moeburn:
I don't know about Android, but I know that on my Linux machine, I was able to use two wireless controllers on one dongle for a 2-player game. Keep in mind that on Linux and Android, the green ring of light on the controller will never stop flashing, even when its connected, and it won't tell you which player is which.

The Xbox 360 chatpad, along with anything else that plugs into the bottom of a 360 controller, is just USB. It's just a plain old USB keyboard with a fancy connector. I have gotten the microphone port to work (which by the way, is just a plain ol 2.5mm headset jack, you can use any old cellphone headset/mic), because as soon as the controller is connected to the PC, the PC automatically finds another audio device. For the keyboard dongle to work, the xbox 360 controller would have to be a USB muxing hub, and it would have to be detected by the computer as a USB hub, which I don't think it is. I know that the wireless controller receiver card in the 360 has 9 pins, even though you only need 4 to get it to work. The other 5 are probably for the 2nd USB devices, like the keyboard dongle.
[Nexus 7 General] lachyzee:
Cheers thanks.

I am going to be trying all this on a Minix Neo X7 TV box running Android. Got a few 360 controllers lying around that I may as well make use of.
[Nexus 7 General] karandevilocs:
so i have n7 2013 on 4.4.2 and i tried to do this in terminal and after writing LS in command i just found Vendor_045e_Product_028e.kl and i couldn't find the Vendor_045e_Product_0291.kl so what should i do?!

and is there any new method to sync xbox controller ?! i mean simple app that can do the work ?!

TnX
[Nexus 7 General] lextad666:
^ 1+
[Nexus 7 General] jefferai:
I think nobody is sure...I asked that same question a while back on this thread including a diff of the two files. They're essentially the same with very minor differences but it's not clear how those differences might affect anything.
[Nexus 7 General] karandevilocs:
so nobody respond but i fixed it FINALLY so here how it works (and author described it as well but it's in update and we didn't see it ) :

Download the files from attached and :(you need Root Explorer or anything other root browser to do this )

copy Vendor_045e_Product_0291.kl to you /system/usr/keylayout/ Don't forget to mount the system RW with the button on the to of the screen in RootExplorer.

Copy Vendor_045e_Product_0719.kcm to your /system/usr/keychars/

Next left click and hold till popup list appears and select permissions and change the permissions to rw-r--r--r do this for both copied files click button on top of screen to change system to RO

then run the command in the first post and ..... FIXED

and the instruction copied from freaktab website written by WAPVIRUS !

so credits goes to them and the Starter !

THANKS
[Nexus 7 General] jefferai:
The fact that you *can* do it this way doesn't change whether or not this is the *correct* way to do it on these newer devices :)
[Nexus 7 General] karandevilocs:
I tested it on n7 2013 and this is n7 (2012) section so it was close and it's non of buesiness that you can't do it on whatever you have I'm just being polite and sharing these stuff!

Sent From HELL via S4
[Nexus 7 General] mech_supernova:
works perfectly, I also used your instructions and made one for the rock candy xbox controller rename the files Vendor_0e6f_Product_011f.kl and Vendor_0e6f_Product_011f.kcm and do all the instructions except the cp Vendor_045e_Product_0291.kl Vendor_045e_Product_0719.kl command and it'll work perfectly be sure to rename all the files.
[Nexus 7 General] jefferai:
Wha...?
[Nexus 7 General] mzfckr993:
In GTA San Andreas, which button is throttle and how well does it work for you after applying this fix?
[Nexus 7 General] pitchdarkice:
it's the green A button. X blue is brake. I'm liking it after this fix.
[Nexus 7 General] mzfckr993:
Are they working properly for you? For me they act like a switch (tap A and full throttle is enabled until you tap it again which kills it completely) and sometimes they don't respond at all for a few seconds.

Just wanted to check if this is the way it's supposed to be.
[Nexus 7 General] pitchdarkice:
No, I don't have this problem. Would it possibly have something to do with the keymapping?
[Nexus 7 General] mzfckr993:
You're probably right since the keys do respond but not in the way they are supposed to. No idea how to fix this though because it seems that nobody else has this issue. Perhaps I should try a different rom.
[Nexus 7 General] pitchdarkice:
did you apply the keymap file in the Op?
[Nexus 7 General] mzfckr993:
Of course, multiple times. I guess I'll try gain when I'll flash a fresh rom.
[Nexus 7 General] Xtremefunky:
Nexus 7 (2.gen) 4.4.2

Hello guys :)

i`m new in this Forum :) :D

I have a problem with the fix. I watched this video on YouTube to fix the problem: /watch?v=9czISrLGXNI

But in my directory is no file that is called: Vendor_045e_Product_0291.kl

Could u please say me, where I can find the file or which name it have?

I reely want to play with my Xbox 360 controller :(

Greetings

-Xtremefunky
[Nexus 7 General] pitchdarkice:
if you do not have the file, download it from the original post and copy it to the folder based on the instructions provided.

also the keymap file may help as well.
[Nexus 7 General] rootSr.:
Can I use same procedure and files to play using wireless controller for Nexus 5?
[Nexus 7 General] user777:
found my vendor id and Pid

hi found my Product ID and Vendor ID

idVendor: 0x0E6F

idProduct: 0x0213

what is the files i do need to make that ids games pad to work on my s3 i9305???

thx

what i have to do ?? what OP mean ???
[Nexus 7 General] sassinapoli:
I have wired xbox pad.

I put two unzipped files in system/usr/keylayout but the pad doesn't work well.

I also renamed kcm in kl.

I have galaxy s3 4.3

Thx

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Nexus 7 General] sassinapoli:
Add: i found my device id and product. I have the kl file with right name.

But when i connect my xbox360 wired controller the led flashing and the buttons dont work any buttons. .

Help :(

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Nexus 7 General] sassinapoli:
Solved. Stock kernel doesn't support wired x360 controller. I flashee boeffla, actived xbox module and it works very well

I hope my story can be usefull for something!

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Nexus 7 General] spcano01:
My XBOX 360 wireless controller works, but where can I configure what each of the buttons DO in Android and in other apps *like XBMC*? I opened both files, and it appears you should be able to change things, but I couldn't make heads or tales of it. For instance, in android - X acts like "Select/Enter". But in XBMC, A does that. I would love to map triggers to page up/down, and rework the buttons. Any assistance?
[Nexus 7 General] iNeMu:
I have the XBox Wireless Controller and that's my way.

I've copied the files via Solid Explorer into /system/usr/keylayout and /system/usr/keychars

In Terminal

# su

# cd /system/usr/keylayout

# mount -o remount,rw /system

# chmod 644 Vendor_045e_Product_0291.kl

# chmod 644 Vendor_045e_Product_0719.kl

# chmod 644 Xbox_360_Wireless_Receiver.gl

# exit

# exit

Restart

Terminal again.

# su

# cd /system/usr/keychars

# mount -o remount,rw /system

# chmod 644 Vendor_045e_Product_0291.kcm

# chmod 644 Vendor_045e_Product_0719.kcm

# exit

# exit

Restart

It doesn't work anything with the Controller on my device.

The Controller is listed in USB Host Controller

USB/BT Joystick Center says "No devices found"

OTG Cable works fine with USB Storages and Keyboard/Mouse

My device

Prestigio Multipad 7.0 Ultra+ *root*

Jelly Bean 4.2.2

Please help me.
[Nexus 7 General] JotdoKa:
Hi guys!

I have problem with my I-9300 (Galaxy S3) and wireless Xbox 360 controller. I rooted my phone, followed the steps, but I'm still unable to play games with my controller. Do I have to change my ROM in order to make it work?
[Nexus 7 General] collindv:
A wireless controller will only work with the Microsoft USB adapter as they use a proprietary wireless format (ie not Bluetooth like the ps3)
[Nexus 7 General] JotdoKa:
Yeah, I know it, I'm not stupid. ;) I've got the adapter.
[Nexus 7 General] devilangelsoul:
info

Hi this method work with note 2 android 4.3 and usb xbox 360 controller??????because i tried but nothing
[Nexus 7 General] kneedalz:
You say the Moga works for Dead Space? How do you get it to work, universal driver? If so could you share the profile?
[Nexus 7 General] :
I have a unique issue with the dongle and haven't been able to solve it. I have it working with an unrooted LG G2. Everything is mappable and the buttons respond with minimal lag when looking through the controller info section of certain apps; when I play the game though, its a different story.

Two things happen during gameplay:

-The buttons seem to stick. For instance, in Super N64, when I press A it seems to hold down the button.

-There are random spikes of lag. For instance, i'd press right and it wouldn't happen on screen for a few seconds or at all.

Is there anyway to fix it?

Would be nice to actually use the 360 dongle since I have a ton of 360 controllers lying around.
[Nexus 7 General] ls1guy:
Im using a wired 360 controller and still having the camera spin problem. Any idea what could fix my problem?
[Nexus 7 General] judhin:
Thanks! Had this xbox 360 camera spin problem and now it gone! Why does google hates M$ so much? :) Just kidding
[Nexus 7 General] leo.best1398:
thank you it worked great once i downloaded root browser to move the .kl file
[Nexus 7 General] jefferai:
What was the fix?
[Nexus 7 General] judhin:
Just read first topic

Simple way. Root device. Install Root Explorer. Go to /system/usr/keylayout/ folder. Rename Vendor_045e_Product_0291.kl to Vendor_045e_Product_0719.kl

Reboot.
[Nexus 7 General] jefferai:
Oh, you meant before following these instructions. I thought you meant you had a problem after.
[Nexus 7 General] tooandrew:
hey, so i have not a nexus 7 but a galaxy note 8.0, and after adding the files to keylayout and running the commands with no errors, it seems the controller cannot pair, it just blinks. is that normal?

it also doesnt respond in applications with controller support
[Nexus 7 General] CymanPhoenix:
Samsung Galaxy Note 10.1 Wifi Edition & Wireless Xbox 360 Controller

Hi guys, I bought an USB OTG adapter from Delock and connected my wireless Xbox 360 controller with my rooted Galaxy Note 10.1 2014 Wifi Edition.

I think, I have tried everything I found in this and other threads, but couldn't manage to get the wireless controller work on my tablet. I am able to connect and use my wireless Logitech mouse and Logitech keyboard with my tablet. Is there anyone, who successfully connected the wireless Xbox 360 controller with the Samsung Galaxy Note 10.1 2014 Wifi Edition?

Best regards