Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

Installing classic keyboard into X230 with EC firmware mod

X230 and later series specific matters only
Message
Author
skx
Sophomore Member
Posts: 150
Joined: Mon Jul 09, 2018 6:25 pm
Location: Colombia

Re: Installing classic keyboard into X230 with EC firmware mod

#361 Post by skx » Sun Nov 03, 2019 8:07 pm

matrushko wrote:
Sun Nov 03, 2019 2:36 pm
skx wrote:
Sun Nov 03, 2019 1:55 am


Here you have your issue. Did you read the github instructions? You should downgrade your bios first to 2.76 (G2ETB6WW). 2.77 cannot have its EC modified! It is clearly mentioned in the 1st paragraph of the github instructions. So downgrade BIOS and try again.
Yes, i did.
Sorry I forgot to mention that I DOWNGRADED to 2.76, when I said "2. I solved it with linux,....".

Of course, now i'm with 2.76 but it was precisely when I did it, to solve battery issue, than the keyboard issue appeared.

And now I have tried and tried but nothing achieved on my side.


thanks

thinkpad-ec script has keyboard patch enabled by default and battery patch disabled. so if you only need battery validation patch, you need to disable the keyboard patch and enable the keyboard patch. try again and flash your ec. you just did something in wrong.
ThinkPad X220: i5-2520M CPU 2.5GHz - 8GB RAM 1333 MHz - SSD 860 EVO 250GB - Debian - ME_cleaned
ThinkPad X230: i5-3320M CPU 3.3GHz - 8GB RAM 1600 MHz - SSD 860 EVO 500GB - Debian - ME_cleaned

RoamingAndy
Posts: 20
Joined: Mon Jan 15, 2018 9:19 pm
Location: London, England

Re: Installing classic keyboard into X230 with EC firmware mod

#362 Post by RoamingAndy » Tue Nov 05, 2019 9:28 am

I just lost keys c, d, e, 3. The mod worked great for 6 months. Anyone have any idea what would cause that?

The other keys are working great

axur-delmeria
Senior ThinkPadder
Senior ThinkPadder
Posts: 2363
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: Installing classic keyboard into X230 with EC firmware mod

#363 Post by axur-delmeria » Tue Nov 05, 2019 9:41 am

RoamingAndy wrote:
Tue Nov 05, 2019 9:28 am
I just lost keys c, d, e, 3. The mod worked great for 6 months. Anyone have any idea what would cause that?
A keyboard that's starting to go bad.
Daily driver: X220 4291-C91 i7-2620M

Backup: X601 Core 2 Duo T8100
Toy: X60F Core Solo U1300
On loan: X220 4291-P79 i5-2520M
In pieces: two retired but working X61Ts
RIP: 760XD 9546-U9E; X61 7676-A24; and a BOE-Hydis HV121P01-100 in failed SXGA+ mod
:cry:

matrushko
Posts: 6
Joined: Fri Nov 01, 2019 12:57 pm
Location: Murcia, Spain

Re: Installing classic keyboard into X230 with EC firmware mod

#364 Post by matrushko » Tue Nov 05, 2019 3:15 pm

skx wrote:
Sun Nov 03, 2019 8:07 pm

thinkpad-ec script has keyboard patch enabled by default and battery patch disabled. so if you only need battery validation patch, you need to disable the keyboard patch and enable the keyboard patch. try again and flash your ec. you just did something in wrong.
I don't understand that. .. maybe you mistake one "keyboard" by "battery"? or I shall do that , first enable keyboard patch then disable it?

Look:
First time i just put make patch_enable_battery clean among the commands.

But second time I had to do it, I think i went to the github web and copied and pasted "make keyboard patch" or something.

If I just "disable" that, it doesn't work. Or at least, it didn't , last time I did it.

¿Can I boot a Pendrive with just THAT keyboard command, and reboot windows with that pendrive?

I am a bit lost.

I need step by step instructions, from now on, I mean, from my actual state:

bios 2.76, battery Ok, keyboard not.

for instance: "go to linux, copy this... then that.... then flash the pendrive...then reboot... " etc.

I'm not a linux programmer, 100 light years from being it.

thanks. !"

skx
Sophomore Member
Posts: 150
Joined: Mon Jul 09, 2018 6:25 pm
Location: Colombia

Re: Installing classic keyboard into X230 with EC firmware mod

#365 Post by skx » Thu Nov 07, 2019 7:29 pm

matrushko wrote:
Tue Nov 05, 2019 3:15 pm
skx wrote:
Sun Nov 03, 2019 8:07 pm

thinkpad-ec script has keyboard patch enabled by default and battery patch disabled. so if you only need battery validation patch, you need to disable the keyboard patch and enable the keyboard patch. try again and flash your ec. you just did something in wrong.
I don't understand that. .. maybe you mistake one "keyboard" by "battery"? or I shall do that , first enable keyboard patch then disable it?
yes, I am sorry, that is a typo obviously. first disable keyboard patch and secondly enable battery patch

can you re-try the whole process and post command line output over here including your instructions?
ThinkPad X220: i5-2520M CPU 2.5GHz - 8GB RAM 1333 MHz - SSD 860 EVO 250GB - Debian - ME_cleaned
ThinkPad X230: i5-3320M CPU 3.3GHz - 8GB RAM 1600 MHz - SSD 860 EVO 500GB - Debian - ME_cleaned

matrushko
Posts: 6
Joined: Fri Nov 01, 2019 12:57 pm
Location: Murcia, Spain

Re: Installing classic keyboard into X230 with EC firmware mod

#366 Post by matrushko » Fri Nov 08, 2019 4:41 am

[/quote]

yes, I am sorry, that is a typo obviously. first disable keyboard patch and secondly enable battery patch

can you re-try the whole process and post command line output over here including your instructions?
[/quote]

Ok!

I will do it, this way (First, I write here my instructions, and after that, I put the former error or "no such file or directory" message that appears if you write it for the first time (keyboard or battery patch), and then, the same mesage but without "no such file or directory" . The point is that no matter it, the battery issue is solved, so I guess that error message doesn't affect keyboard patch either.

I put this and then in other post, I will report the whole linux output.


sudo apt-get install build-essential git mtools libssl-dev

git clone https://github.com/hamishcoleman/thinkpad-ec

cd thinkpad-ec

make patch_enable_battery clean

make patch_enable_keyboard clean

make patched.x230.img

connect a usb

lsblk

sudo dd if=patched.x230.img of=/dev/sdc


AND THE ERROR OR MESSAGE IS:

ubuntu@ubuntu:~/thinkpad-ec$ make patch_enable_battery clean
Makefile:133: .config: No such file or directory
Generated dependancies from descriptions
cp defconfig .config
echo "CONFIG_BATTERY = y" >>.config
rm -f .d/generated.deps \
patched.*.iso patched.*.img *.FL2 *.FL2.orig *.img.enc \
*.img.enc.orig *.img.orig *.bat *.report \
*.img \
*.txt.orig
rm -rf *.iso.extract *.iso.orig.extract
ubuntu@ubuntu:~/thinkpad-ec$

SAME about keyboard.


But if i write it again, firs line doesn't show again "no such file..."


I am going now to work with it.


Thanks !

matrushko
Posts: 6
Joined: Fri Nov 01, 2019 12:57 pm
Location: Murcia, Spain

Re: Installing classic keyboard into X230 with EC firmware mod

#367 Post by matrushko » Fri Nov 08, 2019 5:46 am

Hi,

I recorded badly the whole process in video.

Hope it works for you,

https://youtu.be/QUKmTgEXzfI

The following shows the process of putting on battery again, and EC flashing message

https://youtu.be/98Lk0E5vnso

skx
Sophomore Member
Posts: 150
Joined: Mon Jul 09, 2018 6:25 pm
Location: Colombia

Re: Installing classic keyboard into X230 with EC firmware mod

#368 Post by skx » Sat Nov 09, 2019 9:53 am

matrushko wrote:
Fri Nov 08, 2019 4:41 am
make patch_enable_battery clean
make patch_enable_keyboard clean
make patched.x230.img

I understood you only want the battery patch, so you disable the keyboard patch.
make patch_enable_battery clean # Uses the battery validate patch
make patch_disable_battery clean # Turns off the battery validate patch
make patch_enable_keyboard clean # Uses the keyboard patches
make patch_disable_keyboard clean # Turns off the keyboard patches
so in your case, using stock X230 keyboard but aiming to remove the battery validation check you should do:
make patch_disable_keyboard clean
make patch_enable_battery clean

build the modified firmware and flash it with an OEM x230 battery inside your X230.
ThinkPad X220: i5-2520M CPU 2.5GHz - 8GB RAM 1333 MHz - SSD 860 EVO 250GB - Debian - ME_cleaned
ThinkPad X230: i5-3320M CPU 3.3GHz - 8GB RAM 1600 MHz - SSD 860 EVO 500GB - Debian - ME_cleaned

matrushko
Posts: 6
Joined: Fri Nov 01, 2019 12:57 pm
Location: Murcia, Spain

Re: Installing classic keyboard into X230 with EC firmware mod

#369 Post by matrushko » Fri Nov 22, 2019 8:41 am

[/quote]

build the modified firmware and flash it with an OEM x230 battery inside your X230.
[/quote]

Ok thanks..let's see:

i did just this (several times):
...enable battery...
...disable keyboard...

but nothing happens. the point is:

I don't have an OEM battery, just this: "ROHS" : li-ion battery pack model x220 (AAAH, is from the 220 anyway, not origina), 5200mah/58wh.

I flashed the usb with those linux orders , reboot without the battery inside, (just cable) etc, and after reboot, i put off and on again the pc, and, already with the non-OEM battery, erverything's fine about "she" but not about "him" (keyboard) (in ispanish they have gender)

Do you think that the problem of the keyboard comes out from a NON OEM?

Tell me , cause if it is so, i won't buy such an expensive one. I can't risk to buy it in amazon an then get it back...

what a pitty .


Thanks.

seasonshu
Freshman Member
Posts: 55
Joined: Thu Jun 16, 2016 4:55 am
Location: Manchester, UK

Re: Installing classic keyboard into X230 with EC firmware mod

#370 Post by seasonshu » Wed Dec 04, 2019 11:16 am

RoamingAndy wrote:
Tue Nov 05, 2019 9:28 am
I just lost keys c, d, e, 3. The mod worked great for 6 months. Anyone have any idea what would cause that?

The other keys are working great
I had the same problem after I installed the taping on the connector, I lost keys in two rows, in a similar fashion. Try to apply (reasonable) force to the metal outside of the connector using a plier. It worked for me on the second attempt or so.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad X230 and later Series”

Who is online

Users browsing this forum: No registered users and 18 guests