yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] atl4ntis:
Added Update FIX

Added a fix to prevent bootloop/crash under certain conditions.

Check the ****UPDATED**** framework section.

Java and Smali version added.

Credits go to romanbb for the fix.
[Nexus S Android Development] androidphone2012:
Huge thanks for your great works, "the man" :)
[Nexus S Android Development] Filipe Galego:
------- moderators delete this please --------

:(
[Nexus S Android Development] kaluoshi:
hi guys, so i get all the steps but here i'm not sure about this one:

i have to replace for ex "0x1080294" with mine, in case "0x01080294" is that right? the mine is similar to the one in example, has one "0" added after "x". please help me with this dubt :(. thanks guys

EDIT: i get it to work :D
[Nexus S Android Development] indra05:
help please,,

i'm not using nexus s,, but when i look your tutorial,, i think my wt19 have similiar source code with that...

and i already have 3 icon lockscreen unlock, camera, n massaging...

but when i choose sms icon,, it just unlock my screen and not open my massaging app...

please help me solve this....
[Nexus S Android Development] mixtapes08:
Did you decompile the new framework you've created and get those 0x values that you will insert into android.secure.jar?

Sent from my Galaxy Nexus
[Nexus S Android Development] indra05:
not yet,, where do i get that value?? or i just have to insert the same value with atl4ntis tutorial??
[Nexus S Android Development] mr.faridcom:
How to make 8 targets :confused:

I have by default 5 targets like this:

​

What should I do to have 8 targets :D

Regards ;)
[Nexus S Android Development] mixtapes08:
In res/values/public.xml

No you need to change those values that are based on your rom's framework values...

Sent from my Galaxy Nexus
[Nexus S Android Development] WNSTNSNRS:
Help pls :(

after I done this. my lockscreen have now 4 icons. but its not fucntioning. i cant even unlock it :(
[Nexus S Android Development] Goldie:
Firstly....dont quote the whole OP!! Secondly....you should post logs if you have a problem.
[HTC One X] kibaa12:
The Semi- Useful Softkey mod is back from the dead....SEMI I present a Alpha version of the previous mod i offered with Cap button brightness app also thrown in to disable to lights atm this is a alpha build so please let me know how this goes.

p.s let me know if the bar is to small.

Bug existing of pressing physical buttons still causes the screen to freeze

Instructions:

Flash Through CWM and Reboot ^_^

CM10.1

​

Current:

Soft Key Enabler B3

Soft Key disabler B3

Changelog:

Updated for B1 release. Disabler is labled B1.2 due to playing with updater script trying to remove the Cap light app(If any one is able to help me here would be great)

Previous

Soft Key Enabler A9

Soft Key Disabler A9

Soft Key Enabler B1

Soft Key Disabler B1.2

OLD INFO
I Present a small tweak to Enable the soft keys on CM10/AOKP while also disabling the Capacitive buttons plz let me know if you find any issues with this mod. Am unable to disable the cap backlight as it seems that it is beyond my ability as a newb modder if any one else can get them disabled plz let me know the location to control backlight is in services.jar in the PowerManagerService

Also seems on AOKP the Softkeys have some controls in Rom Control e.g transparency making it look like a black bar while also giving the ability to EDIT what is on the bar

HEADS UP: This Will Disable the Extra feature added in settings>system (tho once u have on screen why would you want to modify the hardware keys)

Glitch: pressing the disabled Capacative keys while trying to use touch on screen becomes unresponsive reverted the second you un touch the cap keys tho seems to slightly happen with th capacitive keys enabled and soft key disabled as well to a degree

[SIZE="1"]Old Version:
[URL="http://www.mediafire.com/download.php?9q9jctbfu2fcn38"]Soft Key Enabler Alpha 1[/URL]
[URL="http://www.mediafire.com/download.php?pvoae6cafq3e55k"]Soft Key Disabler Alpha 1[/URL]

Changelog:
Nightly Version Added
11: Updated for Preview 11
9: Updated of Preview 9
8: Updated for Preview 8
7.10: Weeded out the wrong selections disabled
7.1: Disabled all capacitive keys
[/SIZE]
p.s Big Cheer to mattmanwrx for helping me out ALOT

Note this should continue to work through the Nightlys but i will keep an eye for when anything big changes to framework that needs me to fix/update.
[HTC One X] Rycon33:
Many thanks man!:)

Can't wait to try it. Will be at home in a couple of hours.

Good thing, I guess i don't need to learn how to do this mod lol:D

Edit: Ok, able to download using firefox. Nice! Only annoying is led lights as mentioned.

Tapatalked from my HOX
[HTC One X] RazerRazer04:
You are my hero!!!

How do you install the mod and are the capacitive keys disabled?

Thx
[HTC One X] kibaa12:
Unfortunately the capacitive keys are not disabled I will look into it in the mean time and will make a version for removing the keyboard back to none. Tried to disable backlight on the keys but the usual method seems to not work
[HTC One X] kibaa12:
Updated: added soft key Disabler for preview 7 and also informed of beta version with 2 of 3 keys disabled on capacative

Personally I kinda like it still gives me a physical menu key sorta giving a 4th key

Just flash via CWM
[HTC One X] RazerRazer04:
Keep up your great work, thanks for your help too.

One thing, is ir possible to disable the black bar on the lock screen? :)

Thanks
[HTC One X] kibaa12:
the black bar on lock screen is part of the on screen keys if u drag the top bar down on lock screen its gives you options
[HTC One X] Rycon33:
I'm having problem downloading the files thru my phone, always stop at 60kb only and still saying download complete, tried on stock browser and chrome. I noticed that on any mediafire links eversince. I'm away so cannot use any PC atm.

Tapatalked from my HOX
[HTC One X] kibaa12:
Softkey Enabler updated for Preview 8 even tho by the looks did not need it just thought we would update (Still unable to find the stuff for the Button Backlight tho in my search i accidenlty disabled the "glow" when you click the onscreen button.... p.s i reverted what i did back so the "glow" is stil there when pressing onscreen lol)
[HTC One X] RazerRazer04:
Hey, thanks, keep searching. Something you also could have a look at: you can't scroll or click if your finger is on the disabled capacitive buttons.
[HTC One X] kibaa12:
Wow have never seen that before that is probably in the same area that the capacative lights are sitting but basically it disables screen with finger on cap buttons......hmmm
[HTC One X] kibaa12:
Updated for Preview 9 that is all
[HTC One X] theDroidfanatic:
AWESOME! Can you please make this for TBalden's CM9? The beta 4? Please? Awesome work! But I'd really appreciate if you do, thanks :)
[HTC One X] rawdealer:
Good work :) but......it cuts my wallpaper :/

HOXed with Tapatalk
[HTC One X] theDroidfanatic:
Does it just cut that? Or a portion in EVERY app?
[HTC One X] rawdealer:
Otherwise works good in apps, just in a gallery shrink pics taken in portrait mode @ 16:9.

HOXed with Tapatalk
[HTC One X] theDroidfanatic:
@OP I looked into the .zip, and what I found out was that all you have to do to make it work with CM9 is edit the CM9 framework-res.apk the same way like you did to the CM10 Framework-res.apk.

I dont have pc access right now, so can't decompile it.

Can someone either send me a decompiled framework-res.apk from TBalden's CM9 Beta 4? And tell me what to edit other tham the values/bools.xml? I can send me apk if you want.

Or can someone please send me that framework apk with the changes made? Thanks :)

Here's my framework-res.apk

Dropbox Link

Box Link

:) thanks

ADDED:

Anyone? :-/
[HTC One X] kibaa12:
Just finished watching the new batman movie will get the fix done for you for v4 but to disable keys its. Of in framework so will download the full ROM anywayz :)

Posted from my supercharged HTC One CM X
[HTC One X] Lazarux:
Really great mod! :)

I've been searching for a mod like this for a while and yesterday I found your thread.
[HTC One X] kibaa12:
Disabler P4

Enabler P4

unable to test it perosnally so plz let me know
[HTC One X] theDroidfanatic:
You sir, are awesome :D :DD I'll let you know how it goes :)
[HTC One X] theDroidfanatic:
Done :D It works PERFECTLY :D Just one thing, the capacitive buttons still have the back light :/ if we can get those off, then my One X will be PERFECT! :D

Also a minor and negligible thing, the zip is named as a cm10 button enabler, and even says that when installing in recovery, it might confuse some people, but doesn't matter. Can i link to it in the CM9 thread? Thanks :)

EDIT:

Volume buttons dont work, and phone cant go to sleep, you can only reboot by pressing and holding power button.

So I'm removing it for now. If you need me to beta test future versions, pm me :)
[HTC One X] theDroidfanatic:
Using the disabler doesnt fix volume keys too. Thank god i made a nandroid :)
[HTC One X] kibaa12:
hmm k by the looks the files used for keys are different i tried to skip by using the same key setup :P
[HTC One X] theDroidfanatic:
oh, so you're changing it? :) And please disable key lights as well :D
[HTC One X] kibaa12:
removing the lights is beyond my ability it seems unfortunately also i just checked the script that runs on the P4 you would be seeing Cyanogen mod 10 as that is the only spot that says it

will not be updating for P10 have been away from computer with family stuff will update once P11 comes out or if it don't come out by the time i get up in the morning i will make it for P11

Given i learnt to do this stuff with this mod i think im doing good :P

P.S i have noticed that when pressing the cap buttons without on screen Keys it will still "Freeze" the screen for a short period
[HTC One X] theDroidfanatic:
So no more support for CM9?
[HTC One X] RazerRazer04:
Please update for p11, thank you very very much! :)
[HTC One X] kibaa12:
Updated for Preview 11 Enjoy
[HTC One X] rawdealer:
Did you look about this thing??? :))))
[HTC One X] kibaa12:
the wallpaper gets cut due to it being on screen keys happens on the Nexus as well other than that not sure what you mean
[HTC One X] rawdealer:
Logic :D ok....I'll made a new wallpaper :))) I don't have visible icons, It's just a wallpaper and than cuts my wall at the bottom :)
[HTC One X] PhoenixFx:
Don't take this the wrong way, I'm not trying to undermine the efforts of the developer or anything; just that I’m little confused as to why anyone want to sacrifice screen space and display a duplicate of what is already available through capacitive buttons :confused: Or does it have something to do with having the "true google experience" as intended by google ?? ;)
[HTC One X] kibaa12:
some people just like having the on screen buttons as it doesn't truly remove screen real estate the buttons hide during certain situations such a videos and so on also it gives more options to the user with the softkeys...in the end each to there own
[HTC One X] ashutoshsinghy2k:
galaxy s2

will this work on galaxy s2 . m on cm10
[HTC One X] transitoyspace:
Im also very interested if this will work on the epic 4g touch.

As long as its CM10...or is this HTC one X specific

whats the code that you added/changed

thanks
[HTC One X] Chad_Petree:
This would have been way nice if htc would have made the buttons "invisible" and wouldnt have put painting on them :crying:
[HTC One X] Phantasmagoric:
I'd like to know what you've changed so we can make a mod for AOKP JB. I decompiled it and looked, but I wanna make sure I got everything.
[HTC One X] kibaa12:
This Mod is for the HTC one X due to the Key files being changed in the key layout folder for Tegra if you device uses the Tegra layout it will work as well so more than likely it should work for AOKP JB as well for the HTC one X but in turn wil not work if your device does not use the Tegra 3 Structure.

in reply to what was changed the nav bar was turned to TRUE in bools.xml and also had to go into the keylayout to disable the keys entries being used for capacative keys if you wish to try this on AOKP and it does not work i will add it to the list of CM10 based roms to the list in other words i will add support for AOKP JB as a second download

Currently downloading AOKP 0.6 to test for myself

BETA VERSION ADDED FOR AOKP PLZ LET ME KNOW HOW IT GOES UNABLE TO TEST PERSONALLY DUE TO HAVING TO WAIT ON A PHONE CALL ....SIGH
[HTC One X] himeshladva:
Is it possible to create a mod which just disables the back light on capacitive keys? I'm not a fan of the stock JB soft keys but would love to turn the lights off on normal buttons at the bottom!
[HTC One X] kibaa12:
im actually working on disabling the backlight keys as we speak time to break my phone lol
[HTC One X] himeshladva:
Will this be as a separate mod without the on-screen soft keys?
[HTC One X] Phantasmagoric:
Tested AOKP 0.6, soft keys are disabled, but still light up. The action bar is there, and works, but the icons are gone, so I just see a black bar.
[HTC One X] kibaa12:
allright cool so seems AOKP needs some editing in the system ui department then it seems

Also Found the location of the capacitive button back light area thanks to tbalden letting me know now just to work out where it sits found a few entries but any editing seems to make a boot loop any one good with java .smali code lol

Version for AOKP 0.6 working tested Personally
[HTC One X] himeshladva:
smali is impossible to understand =S lol
[HTC One X] kibaa12:
Updated for Alpha 1
[HTC One X] blakestimac:
running perfectly on CM10 A1 so far. Would love the capacitive button lights to turn off, but would love the option to add menu and search even more. It was this mod that made me root the One X and finally throw some Jelly Bean on it, as weird as that sounds.

Thanks a lot for the mod. Looking forward to seeing more!
[HTC One X] nvwieren:
Can you please generate an Alpha4 version as Alpha1 bootlops on CM10 A4?

Thanks!
[HTC One X] kibaa12:
Update for Alpha 4 Personally not tested but should be no problems at all been a little distracted atm got a Firefall invite LOL
[HTC One X] predator123:
galaxy s3

Is it work with galaxy s3 as well?
[HTC One X] kibaa12:
No but I'm sure there is a version for the sgs3 made by another person

Posted from my supercharged HTC One CM X
[HTC One X] ONE!:
KeylightScript

There is a script to turn off the keylight and to bring them back on..

Flashable Zip in the Original Thread:

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

I personally use SM Script Manager for Activating and Disabling Key-Backlight with widgets

Before using wit Script Manager delete the ".txt" at the end of the files!!!
[HTC One X] nimrodity:
Thx link for auto seems that though, will try disabling it now

Edit:

Tried dl again worked, as does the script, thx again

Sent from HTC One X
[HTC One X] RazerRazer04:
One! already posted and I found the same effect using this app:

https://play.google.com/store/apps/details?id=com.haxor

But it would be much nicer just to have one flashable zip.

Thx

Sent from HTC ONE X with CM10
[HTC One X] ONE!:
Why use a ZIP when you can put a widget on your screen for turning on off like you want ? Works for me with auto brightness on.
[HTC One X] kibaa12:
BTW have looked into putting this mod into the .zip but after a reboot the backlights are back on so the zip would have to be flashed each boot

Posted from my supercharged HTC One CM X
[HTC One X] RazerRazer04:
If it is possible to shut them of for one time it has to be possible to do it for ever, keep looking for it! ;)

Sent from HTC ONE X with CM10
[HTC One X] kibaa12:
the file being modified seems to be a protected file as even when modding the Read/Write ability from a flash apon boot it is re-written back to 255 even tried removing all Write capabilities and its still being reset
[HTC One X] theDroidfanatic:
Nope, since this has a modified framework res.apk, of the HOX, not S3, though you could probably DIY :)
[HTC One X] RazerRazer04:
Could you please update for the latest alpha? THANKS!
[HTC One X] kibaa12:
Update for Latest Nightly

Should persist through a few Nightlies will update when needed or when i have time if any one wishes to take over this Let me know and i shall close this tread once you have a new one going i recently started working so have a smaller amount of time to keep this updated
[HTC One X] qvert:
thank you very much

my touch buttons stopped working because of a drop :) d'ohh

but with this i can keep using my phone!

is there a way how i can switch of button brightness?

there is a setting in display -> brightness

but when i put a 0 in every lightning sensor step it's still lightning
[HTC One X] kibaa12:
there is a way if u look back a bit there is a script posted unfortunatly i cant put this into the update.zip for some reason as it wont stay
[HTC One X] Zardox:
hay

sorry for my question, but i don't really understand what Softkey is, have been looking and asking my self. but i can't understand ;P

So what does Softkey enabler do? Softkey?? :crying:
[HTC One X] lschen:
Out of curiosity, what would it take to adapt this for a One XL?

Thanks for your work.
[HTC One X] kibaa12:
The softkey are the key that appear on scree on like on the Samsung Nexus Phone to adapt it for the XL would be to have the framework-res.apk from the cyanogen mod rom for that phone as well as the keylayout in USR
[HTC One X] nerodante80:
I install this on CyanogenMod 10 - Endeavor Unleashed | 028 | UNIFIED HBOOT | 4.2.1 and my phone doesnt boot. I'm on 1.36 hboot.
[HTC One X] VaderSKN:
That does ''previev mode'' do? Does that make an option in setting for turning on/off the buttons?
[HTC One X] kibaa12:
this enables to softkeys on screen does not add any optino to turn it on and off but in the end it is most likely not going to work with the current versions considering it was last updated in september...i currently do not have a One X due to water dmg thus why i have not updated or touched so prolly best to have thread closed for now.
[HTC One X] kibaa12:
Updated to CM 10.1 Test release mainly on usefulness of the Cap App and also the Bar size.

Double Update updated for B1 release
[HTC One X] kibaa12:
Bump updated for B3
[HTC One X] nokiagye:
how can make them smaller???
[HTC One X] jmarkos:
Hi, I have Android Revolution HD 20.1 installed on my HOX. Is this mod compatible with my rom? Thanks.
[Blade General] Aaqib1:
Hello XDA-Developers. I am using the a rooted Orange San Francisco (ZTE BLADE) running CM 7.1 Stable. I was reading a guide on how to edit the build.prop file in the /system/ directory in order to get access to some previously incompatible apps:

howtogeek.com/116456/how-to-install-incompatible-android-apps-from-google-play

I tried it and changed the two lines to 'samsung' and 'Nexus S'. When I rebooted my device later it only showed the green android boot logo and did not proceed booting any further. Its still stuck like that. I have got a copy of the original build.prop file locally on my c:\ drive. I read that you can sort this problem out by using adb. I have got adb set up and now I don't know what to do next. I want my phone fixed without losing any data. Can anyone help? :confused:
[Blade General] Gokh:
Reflash your rom or a newer build :)

Envoyé depuis mon Blade avec Tapatalk
[Blade General] Aaqib1:
If I do that won't I lose my phones internal memory data for my apps.
[Blade General] Gokh:
No, Just flash it by the recovrry. It will rempoace system files, not the data

Envoyé depuis mon Blade avec Tapatalk
[Blade General] Aaqib1:
I've fixed it. I find that I had build.prop.bak in the system folder and I renamed it to build.prop and it worked. Thanks for your help anyway. This post is closed.
[Blade General] Faiz Malkani:
How did you access /system if u couldn't boot
[Blade General] Aaqib1:
I couldn't boot up the phone but I could boot into clockworkmod recovery. I mounted the system and went to adb. I typed 'adb shell' and changed directory to system. Then I did 'ls' and found that there was a backup of the file that I had changed. The backup was called build.prop.bak so using adb shell I typed 'mv build.prop.bak build.prop' which renamed the file to build.prop and then I rebooted and it worked.
[Samsung Galaxy Fit GT 5670] abizerl123:
i had soft bricked my fit n den got it repaired but now when i connect it to the pc i dont get any mount sd card option n cant even connect to kies

plz help as it would work b4 but after repairing it stopped

thnx

using 2.3.6 ddkt3 stock non rooted
[Samsung Galaxy Fit GT 5670] jainsavan:
Try restarting the device and try again. N if that doesnt work. You need to wipe data and cache. And also u said u had softbricked. so wat did u do?? I mean u installd firmwwre again or u did something else??:rolleyes:

Hit thanks if that helped u:thumbup:
[Samsung Galaxy Fit GT 5670] :
Connect with Kies is just for stock ROM.
[Samsung Galaxy Fit GT 5670] abizerl123:
i tried flashing stock rom on fit again when softbricked but it got stuck on mbib download and kept happening wid diff rom versions.....

so i gave it for repair to some good shop

btw i used the code *#7284#, changed to uart and then back to usb, then restarted and it worked but i wanna no if dis will keep happening or what i did is a permanent fix
[Samsung Galaxy Fit GT 5670] jainsavan:
Yea bt dat seems to be a software issue only.. the roms wic u load.. check if in that the usb debuggin works. Coz sometimes it doesnt as android debugging sumtyms makes probs:thumbup:

Hit thanks if that helped u:thumbup:
[Samsung Galaxy Fit GT 5670] stranger97:
try reinstalling ur stock rom t must work then
[Nexus 7 General] RajanB:
Please don't troll, my first post :p

So, my Nexus 7came a few days ago, and since then I've been playing around with it a lot.

Yesterday I decided I was going to root the beautiful tablet.

I plugged it into my laptop (Windows 7 64bit) and then I saw an error whilst it tried to install the drivers.

It had two crosses by the two drivers it was trying to install.

I plugged it into another laptop (Windows Vista 32bit) and it installed the drivers perfectly and quickly.

I understand that I have to have the Nexus 7 plugged in to root it, and so now I am highly confused and annoyed.

My laptop doesn't recognize it and it doesn't appear in Computer.

Any ideas?

Thanks.

If you need anymore information, just let me know! (=
[Nexus 7 General] mi7chy:
Works fine for me after about 10 minutes of searching and reading. No need to add to the thread clutter.
[Nexus 7 General] okantomi:
Follow instructions in the Nexus 7 Root Toolkit

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

Remember to scroll all the way down in each individual window of the guide to setting up the drivers. I drove myself crazy before I realized that I had missed something important. Also if your desktop is 64bit, you have to use the 64bit drivers. Good luck!
[Nexus 7 General] Rock-&-Roll-Hedgehog:
Have you downloaded these yet they are new out. :)

http://xdaforums.com/showthread.php?t=1796165
[Nexus 7 General] redmonke255:
Install the android sdk. Go to device manager and find your nexus, right click and update driver software. Search computer, select all locations (or something like that) then have disk and browse to your installation. Uh underneath extras there is a folder with the driver you're going to select.

I'm at work so that's a general idea, Google "cyanogenmod adb driver install" and skip the part about replacing the file with a custom one since the nexus is included by default.
[Nexus 7 General] RajanB:
Sorry. Where did you search and read apart from Google? Links please?
[Nexus 7 General] RajanB:
Ok, so I done what you guys recommended, in order of when you posted, and non of the suggestions worked.

A screenshot of what happens is attached.

Thanks. :(
[Nexus 7 General] RajanB:
The image didn't attach :S
[Nexus 7 General] krelvinaz:
Wow... user has 4 total posts, all in this one thread and saying nothing worked.

Did you try

That will get your the ASUS drivers which will should work on your computer.

All of the root kits also include drivers and they are not that hard to install.