yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Q&A, Help & Troubleshooting] thelittlecrow@hotmail.it:
Hello, have you found a solution?!
[Galaxy S 4 Q&A, Help & Troubleshooting] kosmodisk:
no sollution so far... CM12.1 didn't solve the problem... I've checked the logcat log and I'm pretty sure which file needs to be modified (+how) to force touch key FW reflash - however for some reason I'm not able to compile the any kernel from sources provided on the github...

- I've contacted several people who build kernels, but they seem to ignore the messages (so much for the "community"...)

- If anyone wants to try it, here are my findings:

see attached logcat log logged during boot of CM12.1 ROM - search for touchkey or cypress and you'll find related messages

I'd like to compile f.e. imperium kernel (or any other) with small mod in this file - search for this condition:

if ((ic_fw_id & CYPRESS_65_IC_MASK) && (info->ic_fw_ver >= BASE_FW_VERSION) && (info->ic_fw_ver < BIN_FW_VERSION)){

the part which is in red prevents the update...

I'm really tired of this... well played samsung, well played
[Galaxy S 4 Q&A, Help & Troubleshooting] dnsp:
This happened to me after updating do the latest LP OTA. I have replaced the screen before the OTA and it was working fine until I updated. It was an ebay cheaper screen, not genuine of course. Both menu and back buttons are not working and without any backlight.

Do you guys having the same issue have replaced the screen?
[Galaxy S 4 Q&A, Help & Troubleshooting] thelittlecrow@hotmail.it:
Same for me. I bought it for around 90 €, but it doesn't look not genuine! How do you understand if a screen is genuine or not?
[Galaxy S 4 Q&A, Help & Troubleshooting] oiluj:
Any news?
[Galaxy S 4 Q&A, Help & Troubleshooting] thelittlecrow@hotmail.it:
I tried with a different screen and it works, so it's a screen problem. Anyway I have no idea about the way to fix it. Let me know if you find something else...
[Galaxy S 4 Q&A, Help & Troubleshooting] dnsp:
Those eBay screens have a different keys IC. If you update to the latest firmware the IC is updated with the wrong firmware intended for the genuine one. So the IC becomes permanently damaged.
[Galaxy S 4 Q&A, Help & Troubleshooting] thelittlecrow@hotmail.it:
So, any way to fix it?
[Galaxy S 4 Q&A, Help & Troubleshooting] kevlarman:
I updated to HOJ2 a few days ago and also found my soft keys functioning sporadically. Yesterday I downgraded to HOB7 and did a factory wipe, and my keys responded again.

EDIT: this is a 9505 with BTU firmware.
[Galaxy S 4 Q&A, Help & Troubleshooting] kosmodisk:
Hi all,

recently I've had an opportunity to do a little bit more research on this from the HW point of view, as I was changing my GFs touch screen. Here's what I've found:

1. As it was mentioned in few posts earlier - some ebay/aliexpress screens for i9505 don't have same touch keys controller as the OEM screen (not all of them)

- I've 4 screens that I can check:

* 3 of them (1 OEM, 2 from Aliexpress) have touch screen controller ICs with labels - 0065 1307 0569, 0065 1313 0716...

* 1 of them (unfortunatelly my - the only blue one with good colors from ebay) has label - 236A 1225 544 (also the soldering job seem to be done quite unprofessionally)

2. The 236A 1225 544 doesn't seem to be capable of working properly with FW version 0x12

3. I am not sure what is the meaning of the numbers and I wasn't able to google it (however all screens that work have IC starting with 0065 XXXX XXXX

Next steps:

- I have one spare screen (with crappy colors but it's ok for temporary usage) => I'll ask my friend who has access to heat wave soldering machine to try to swap the controller from broken old OEM screen to my current screen which contains the unofficial controller IC (236A 122 544). Let's hope it'll work ok...

Conclusion:

- with recent Samsung updates it's even more risky to order cheap screens from ebay/aliexpress because one cannot be sure that It'll have the original IC => touch keys wouldn't work (maybe ask seller to check that the IC have label starting with 0065...)
[Galaxy S 4 Q&A, Help & Troubleshooting] didigo:
Good night Kosmodisk, you are absolutely right, and because of this CI inconsistent than when updated the rom soft keys stop working, according to tests that now did little with softkeys taken from an original screen is broken, I could see the incompatibility of same in relation to new rom lollipop, I do not know if all the people who changed the screen of their handsets recently by a dubious provenance screen vain have the same problem but I can say that many people will have trouble to update their S4 who are using screens that are not original because of the incopatibilidade of hadware.
[Galaxy S 4 Q&A, Help & Troubleshooting] djcool37:
Is there a way (application) to findout what chip is installed on ours S4?
[Galaxy S 4 Q&A, Help & Troubleshooting] thelittlecrow@hotmail.it:
I checked mine screens:

same thing, the one not working has a code starting with 236A, the others start with 0065!

Does anybody know a way to change the damn IC firmware?!
[Galaxy S 4 Q&A, Help & Troubleshooting] javimolcal:
I've tried flashing this version I9505XXUHOE3 but isn't working. I've also done many factory resets, but isn't working either. I've started using an app which may be useful meanwhile we find out how to fix the problem. It's called back button (no root) and works fine. Hope it helps.
[Galaxy S 4 Q&A, Help & Troubleshooting] kosmodisk:
I'm afraid currently there are only two ways to fix this:

1. Create kernel, based on stock kernel from any older rom, that would ignore touch key FW version check and enforce flash of older firmware 0x10 (assuming, that the IC is still capable of being reflashed)

- this would be quite easy for somebody with kernel building knowledge and required tools (I think I know which lines of the kernel sources need to be changed, but I'm not able to compile the kernel correctly and don't have enough to dive into this...)

- also every update of kernel without this fix will broke the functionality again

2. Replace the IC physically for the one located on your broken OEM screen - I'll be testing this option, so I'll report whether it works...

I'm afraid that currently it's not

EDIT:

I've also found that both IC's seem to be from Cypress - one CY8C20065 (I couldn't find datasheet, there's only programming guide) and the second one CY8C20236A

- both IC's should have the same flash size (8k). I'll check it when I'll have a litlle bit more time
[Galaxy S 4 Q&A, Help & Troubleshooting] sachdevaamandeep:
Soft keys Problem

Going through the same problem after the OTA, havent tried anything. Got my screen replaced a week ago and then the OTA ****ed up the soft keys.

My there is a slight deviation in my case...

Phone's Touch key FW version: 0x09

Part's Touch key FW version: 0x00
[Galaxy S 4 Q&A, Help & Troubleshooting] mc2mc2:
was that supposed to be 0065 XXXX XXXX ???
[Galaxy S 4 Q&A, Help & Troubleshooting] kosmodisk:
Yes, I read it wrong at first. The numbers mark which chip is used. I assume it's like this:

0065 XXXX XXXX - Cypress CY8C20065 => this one seems to work ok so far

236A XXXX XXXX - Cypress CY8C20236A => the one that's not working with new roms

- I've asked Cypress tech support about the differences of these two chips as I couldn't find the datasheet for the first one, but I didn't got the answer

- for now I am still waiting for my friend to resolder the chip for the working one to see if it works
[Galaxy S 4 Q&A, Help & Troubleshooting] mc2mc2:
Are you perhaps aware of any aliexpress seller selling the screen+digitalizer assembly with the good chip? Need to replace the screen (keys don't work plus dropped/cracked it again :mad:)
[Galaxy S 4 Q&A, Help & Troubleshooting] kosmodisk:
I'm afraid I cannot guarantee you that all of their screens will be OK, but the last one I ordered for my GF's phone was from this store

- it has perfect colors and build quality, also it has the same chip as the OEM one, so everything working fine with newest stock rom
[Galaxy S 4 Q&A, Help & Troubleshooting] mazvix022:
same

anyone has a fix to this??? I also have replaced the screen. Its worked for a long time, but then I decided to root my s4 i9505, I tried few roms, everything worked fine but I don't liked the roms so I went back to stock and now my back and menu buttons not working... I tried everything. flashed a lot of stock roms and flashed custom, but nothing worked... I also went to a fixer and he said that this happened because I rooted my phone. why f*cking Samsung cant fix this problem. my all hardware works fine, back and menu buttons are like new but its not working...
[Galaxy S 4 Q&A, Help & Troubleshooting] kosmodisk:
hi again to everyone,

finally I've got my screen back with the touch key controller IC replaced for the one from the original screen (0065 XXXX....) and it works as a charm

- so for now, I don't know of any way how to fix this problem by FW update (unless you'll find someone who is able to modify kernel allowing touch key FW downgrade)

- replacing the non-OEM part 236A XXXX XXXX for the OEM one marked 0065 XXXX XXXX definitely fixes the issue, so if you know anyone who can re-solder the chip from your old broken screen to your new one, you can get your touch keys working again with any ROM

Based on the response from the Cypress Semiconductor (touch key IC producer)

- 20065 (the OEM one) is specific branded version of the chip for Samsung - no datasheet is available to public

- 20236A is probably used by non-OEM Chinesee producers to

=> no easy way to tell what causes the non-compatibility with non-OEM chip

good luck with fixing your device
[Galaxy S 4 Q&A, Help & Troubleshooting] TheDrive:
Thank you kosmodisk for your '20236A' 'keyword' :)

Your description occasionally helped to identify Touchkey IC in some other Samsung phones! :)

236A IC part is nothing else than Cypress CY8C20236A touch button controller.

Product page: http://www.cypress.com/part/cy8c20236a-24lkxit

Family Datasheet: http://www.cypress.com/file/138731/download

It has 8KB Flash and 1KB SRAM

This 'junior' version installed in Samsung devices supports up to 10 touch keys

CPU has M8C Harvard architecture, HW/FW dev kits available from Cypress, so someone could try to reverse FW and even add some additional functions like "double tap" etc. :)

Samsung have used this IC in many of 2012+ devices such as

Galaxy GT- I9500 I9502 I959 I9505 I9070, etc.

But it has only 236A XXXX YYYY marking, where XXXX is datecode (week/year) and YYYY some unknown code which varies from time to time.

There is no any Cypress logo marked and it's difficult to identlfy IC part.
[Galaxy S 4 Q&A, Help & Troubleshooting] dominik246:
Well the universal fix for the OP's problem is that you need to wipe everything, and I mean everything on the phone (/system, /data, /preload....) and then via odin flash the latest stock rom (this works only for those who doesn't have their touchscreen chip fried) :p
[Galaxy S 4 Q&A, Help & Troubleshooting] sergey9816:
Hi guys

Recently i have change lcd and have the same problem, but all my keys(vol+-, home, menu back, pwr) and sensors(no gyro, acellerometer, etc) doesn't want to work

I've installed HOA7 and its working fine, all works, but then i go to my everyday custom rom (jdct 5.1.1) buttons work around 5 mins and after-doesn't, i cant even turn on my screen

In the evening i will dissasamble my phone and tell you the chip label

And i also have 2 broken screens with label 0065xxxx....

So do you know the way to replace buttons with out leave protective glass(bcz it is new digitizer and dont want to remove, i can break it)?

And what about the kernel with earlier chip fw?

Sry for my eng, im from russia and dont know much

Thank you

In marsmallow cm 13 buttons doesn't work too
[Galaxy S 4 Q&A, Help & Troubleshooting] vanito:
I've I9500 purchased in China but for EU users, this I9500 was only with Signal issue for the rest all was working very good, (Soft Key Touch), with All Stock Fw in the World, but when i've Flashed 5.0.1 Stoch CHN Rom, stop working Soft Key Touch and from *#2663* i've 0x10 and 0x12, and in D.Mode see "I9500CHN".

Have tryed any other Stock Fw for to see if can solve but Nothing of do, only whith Last Stock Rom SER (Russian) 5.0.1 have get to 0x12 and 0x12 but "Soft Key Button" stilll not working.

Have also with BRI Stock Rom 4.2.2 downgrade w/o problem from 5.0.1, but not Flash this Kernel of "Soft Touch Key" :(

I think that the only solution at this point can be some developer that get out one Rescue that Allow to enter in this Menu of "Soft Key Touch Button" for restore parametry to 0x10 and 0x10, at this point you can Flash any Stock ROM Official w/o sboot.bin, and phone Turn back accepting any type of Stock Rom Official.... i cannot belive no there's one developers knowing how solve this issue...please if there's i will do one good donation for his effort, but help we all please ;)

P.D. Sorry my bad English, change Full Lcd not solve the problem one time for all, at first Flash turn back the problem :(
[Galaxy S 4 Q&A, Help & Troubleshooting] kosmodisk:
Hi guys, I'd recommend you to go through this thread as the answers for all your questions are already there...

+ I'd also like to ask [MENTION=3170873]oiluj[/MENTION] if he could modify the first page of this thread with description and current sollutions (it could save a lot of time to many people...)

So for the last time, here's the summary:

(NOTE. Tested on S4 i9505 LTE version - be aware that this approach may not be applicable for other S4 versions)

Symptoms:

Touch keys stop working after flash of newer Samsung stock ROMs (UHOJ, UHOA...) on some Galaxy S4s. Home button works OK. Reverting to old ROM, wiping everything (even flash using repartition) doesn't fix the issue. The most of the phones suffering from this issue have screen replacement (from ebay, aliexpress...).

Diagnosis:

Touch keys controller FW is updated from version 0x10 to 0x12 during installation of mentioned stock ROMs. Some of the non-OEM screens have different touch screen IC then the OEM screens. This IC is NOT compatible with FW 0x12 => keys stop working. Unfortunately the kernel source code contains a check of touch keys IC FW version which prevents downgrading the FW when flashing older ROM. You can disassemble your phone and check if you have working chip in your screen assembly (check label on 16-pin chip on touch keys flex and look for following labels: )

- 0065 (Cypress CY8C20065 ) - OK. Samsung customized, should be working with 0x12. This is what you'll find in original screen assembly

- 236A (Cypress CY8C20236A) - Not compatible with FW 0x12, probably substitution for the samsung customized chip, accessible in stores

You can check your touchkey FW version by dialing *#2663#

To check IC type, look at the touch keys flex cable (attached picture)

Current solutions:

- HW - find someone who is capable to resolder the IC (using heat as it's surface mount), change the 236A for 0065 from your broken OEM screen (I can confirn that this approach works, as that's what I've done

- SW (TBD) - missing someone who can modify the kernel code to bypass the touch key FW version check and try to downgrade the FW (not confirmed but could work)

Conclusion:

- Be aware that you should ask non-OEM screen seller about the touch keys IC version on his goods, as you may get the one with non-compatible chip

- Keep your old broken screens for spare parts

good luck!
[Galaxy S 4 Q&A, Help & Troubleshooting] avro.bd:
Today I got an official update, after uograding my S4's back button and other one not woriking ~!

only menu is working..

So many thread here, any solution for me?
[Galaxy S 4 Q&A, Help & Troubleshooting] vanito:
[MENTION=624767]kosmodisk[/MENTION],

Sorry, but in you solution for me no there's nothing of New, can be i'm the unique that Not see this "Real Solution", but when you have said this:

and this is very clear first of this Thread.

Also when say this:

Nothing of New, tryed 1 year ago.

The Real Solution is here:

Also you change HW side, Problem in SW remain and can turn back, also if with one Stock Rom is working, at 1/2 or 3 change of Stock Rom.

If you Not know HOW TO flash Kernel of Touch Screen, not has solved nothing of Definitive, is only "Temporary and expensive" solution.

Real Solution is something of this: http://xdaforums.com/showthread.php?t=2800308 , where here you have a way for Flash Kernel for Touck key and restore Original Key.

So, you Know who can do it?, is easy write "find someone who can modify the kernel code to bypass the touch key FW version":laugh:

I've searched in all XDA, (and very many other part), and Nobody Know how do it :(

So, you can write that have find solution only when post here all steps and Files, in this mode we are at same point, NO Solution!!!

Regards

Vanito
[Galaxy S 4 Q&A, Help & Troubleshooting] mc2mc2:
Sorry vanito, I do not agree with you. There is no final "good" solution yet, but kosmodisk has invested time and energy to clarify the problems, warn people of possible pitfalls and bring us as close to a solution as he is able. Or in other words, he brought clarity of information into a chaotic thread. I am therefore very grateful for his work and hope that people with the know-how will take it from here.

His work will very likely save time for somebody else and by that be likely a difference between it being taken up by someone else or not.
[Galaxy S 4 Q&A, Help & Troubleshooting] vanito:
Ok, i can agrre with you when say that "he brought clarity of information into a chaotic thread" becouse many peoples Not work in Gsm Field, :good:

I can show all my test done in I9500, First and after changed Full Touch LCD with New one, (at the end), and since we not find one good developer, (isn't my field), that can get out Kernel and Way for "Forced touchscreen fw update", like this: http://xdaforums.com/showthread.php?t=2800308, can be sure, (tested on more pieces), that when you go to flash Other Not compatible Stock Rom, turn back with the same issue. :(

SW side: i've Flashed w/o any Issue also Stock ROM 4.2.2, (BRI Stock Fw), from 5.0.1 but Key remain always to 0x12 instead of to be to 0x10. Have getted Matching Key to 0x12 and 0x12 but Sensor remain not working.

HW side: Yes i'm agree with replace this IC but isn't one final solution, if you think that i've replaced also the EMMC for Ceck, so can understand that i've tested all HW problem.

We have need only one Solution how above link, and a this point haven't more issue, becouse also Sensor turn back not work just Flash Good Kernel and Update this Touch screen to original state. I'm with all you, and can be sure if find a way i Share immediate, it's a work of Group, :good:

Regards

Vanito
[Galaxy S 4 Q&A, Help & Troubleshooting] vanito:
I've read notific and you used words that do not belong to me, you know good, and not only think more, not are here for Polemic but for Solve this problem OK?,

Not have sense Repeat all other time, had just writed that can agree with you when other member sayd that "he brought clarity of information into a chaotic thread" !!!

About:

haven't Share this becouse, Repeat, isn't Definitive solution and Not for all can work, depend of Type of PCB, (there are in the marketing more PCB: New, Old, Refurbish itc..) and cannot write here that work 100% for all becouse is False, have tested first of declare this, so is only one Test and if have right and compatible Board Work, clear now becouse not post this replace how 100% solution?

Different is Bypass with Flashing this modified Touch Key Kernel from Unsupported ROM, is here the real Problem, Not all PCB are supporting All ROM, and not for this problem only, but also for BB and IMEI Null/Null, (but this is all other thing).

Yes is Temporary Solution Yes and Not, but i'm sure that if one ROM has caused this Issue, when repaired you NOT go to flash other time same Unsupported ROM, seem very clear this.

Anyway, if you have other Doubts about that Not all Pcb of I9500, (i'm to talk for this, thread is also for this version), are the same, i can confirm with proof 100% but all I9500/I9505 can be repaired with replace HW, (if pcb compatible), but more sure way is SW solution.

Now, not worry, becouse if one developer, (isn't my field and not have time for this), can help we all wit SW side, i post Solution for all and yes can write Solved!!

Please if there are other reply only for my point of wiew, no waste forum space, more good we think for 100% solution.

Regards

(p.d. sorry my bud english)

---------- Post added at 03:06 PM ---------- Previous post was at 02:47 PM ----------

@ kosmodisk

This seem good way, i've find more of one of these , but repeat, my work isn't developer and honestly not have time for this, my Work is SW and Hw Repair for all Brand and model, if you have this good and appreciated willingness can only be grateful for you Great work:good:
[Galaxy S 4 Q&A, Help & Troubleshooting] mc2mc2:
[MENTION=624767]kosmodisk[/MENTION], did you have the opportunity to check whether a chip (whether oem or the "bad" replacement) with 0x10 works with the latest ROMs (that usually install 0x12)? A possible solution could simply be to increase only the version number of 0x10 to something like 0x13, have it installed, and after that it would remained loaded, because 0x12 is lower version. I know it is not the perfect solution, but it might just work. your thoughts on this?
[Galaxy S 4 Q&A, Help & Troubleshooting] vanito:
Have done this Test flashing C.Rom and Good Kernel via TWRP, had result 0x13 and 0x13, (not have cecked in this other I9500 what IC have), but result is always Touch Key Not working.

Regards
[Galaxy S 4 Q&A, Help & Troubleshooting] kosmodisk:
Unfortunately I didn't, as the FW version check (and optional flash) is performed everytime the device is rebooted, so it was performed immediately after flash or changing the screen...

I was considering this option as I think that this is the only SW-fix that wouldn't require the user to apply the patch after each flash of 0x12+ enabled ROM. The thing is, that it's not that easy to change this ID in the firmware itself, as the firmware is stored in kernel as array of hexadecimal numbers see this

- one would need to reverse engineer the ROM image, and change the particular bit position...

+ I don't have opportunity for testing anymore as my device is fixed
[Galaxy S 4 Q&A, Help & Troubleshooting] ducy1:
Hay

I have the following data when checking *#2663*

The soft keys don’t work after rom update. :(
[Galaxy S 4 Q&A, Help & Troubleshooting] dafonehacker:
I have the same problem on HOJ2 LUX.

Has anyone tried the new HOK2 build? (http://www.sammobile.com/firmwares/download/62774/I9505ZHUHOK2_I9505ZZHHOK2_TGY/)
[Galaxy S 4 Q&A, Help & Troubleshooting] vanito:
Of course, i've flashed All TGY fw from Original STOCK fw, no one is good for repair this issue.

Unique way, (w/o replace Ic Touch), is Forced to flash Fw to repair Touch Key, but you must need any developer that can help you for create Good Kernel for flash.:good:

In other case try replacing Touch IC how posted in previous post.

Regards
[Galaxy S 4 Q&A, Help & Troubleshooting] dafonehacker:
It's really annoying, and Samsung definitly can fix it, because the buttons do work fine on cm12.1... They probably just have to make their stock roms work with the different firmwares, which can't be too hard since it does work with CM...
[Galaxy S 4 Q&A, Help & Troubleshooting] vanito:
Are sure of this? can give link of cm12.1.. (Gapp if need), of you tested working touch with this? want get one try...
[Galaxy S 4 Q&A, Help & Troubleshooting] dafonehacker:
On my phone, it works as expected with the latest CM snapshot: https://download.cyanogenmod.org/?device=jfltexx&type=snapshot

cm-12.1-20151117-SNAPSHOT-YOG7DAO1JN-jfltexx.zip

I think mine said something like phone: 0x12 and device: 0x1a in the *#2663# screen

Maybe this cm snapshot uses an older or just a different firmware, but it works, which means Samsung can make it work, if they want...