1 (edited by thinkbad 2021-04-19 08:50:52)

Topic: X200 Mod: Internal Usb hdd 1.8" +bonus

As far as I know usb connection for hdd is better than sata in terms of security. But using an external hdd is not convenient. So, I was thinking about some kind of solution. Then I knew about internal mini pci express slots on x200's mobo...

To begin with I want to say I'm sure this can be done much better with a proper soldering skill. I can solder, but a bit clumsy. So, if I'm not going to wait for another couple of months for new parts because of my fault, I need a solution without soldering. So, I'm gonna be a bit rough today wink

First things first, what do I need for the task?
HDD 1.8"
HDD 1.8" adapter to usb2.0 (I found an enclosure, which I can dissasemble)
FCC cable (10 and 15 cm long) with different connectors
miniPCIe to USB adapter

https://i.postimg.cc/3kbj00vQ/1.jpg

Which one to choose?

https://i.postimg.cc/yDwPrSYX/2.jpg

Here is no problemo smile

https://i.postimg.cc/MfKbj7dx/3.jpg

First problem on my way - it doesn't fit!

https://i.postimg.cc/Vd00ZZSp/4.jpg

I have some spare parts for x200. So I can afford to experiment with an old bottom case... I need a bit space! Just a couple of mm...Where are my pliers? cool

https://i.postimg.cc/z3K1dnzp/5.jpg

Unfortunately, it didn't work. Now my keyboard doen't fit properly... I need something else.

https://i.postimg.cc/K1w2qQMq/6.jpg

Much better! At least on the test bottom case.

https://i.postimg.cc/7bmjtmv3/7.jpg https://i.postimg.cc/sMZ8XzMm/8.jpg https://i.postimg.cc/bdCF9rbL/9.jpg

There is some space, maybe I can use it? But how? I'll add a second speaker here! Because...Why NOT? smile

https://i.postimg.cc/bGrZb6jm/10.jpg

Main case... This hole doesn't look that bad... Knock knock, who's living there? wink

https://i.postimg.cc/q6VqP46F/11.jpg

Hmm...

https://i.postimg.cc/rzxKS0v2/12.jpg

Now I'm ready to test how it will boot. For a quick test I choose Mx linux distro, because setting up Hyperbola is still taking too much time, not a cakewalk for me so to speak. It didn't boot by default (libreboot stuff), but I was able to boot it via grub rescue commands ("C" key in libreboot menu). It works!

https://i.postimg.cc/ppBrSNW0/13.jpg

I need to secure my hdd somehow! I'm using soft pads and double sided adhesive tape.

https://i.postimg.cc/d7ZqwgFc/14.jpg

I CAN bend the fcc cable (at least the seller said that) but at the end of the day I don't need to do it.

https://i.postimg.cc/4m87dCDY/15.jpg

Final view, before placing my keyboard back.

https://i.postimg.cc/S27jbHLN/16.jpg

2

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

thank you for sharing this helped me a lot and what i have brought will work just fine, the only thing i will do diffrently is to desolder the sata port of the motherboard that way i can have it fit in place perfectly.

thinkbad wrote:

Now I'm ready to test how it will boot. For a quick test I choose Mx linux distro, because setting up Hyperbola is still taking too much time, not a cakewalk for me so to speak. It didn't boot by default (libreboot stuff), but I was able to boot it via grub rescue commands ("C" key in libreboot menu). It works!

for that i wanna help you using HyperFi a simple bash script wizard to install Hyperbola wink

"This life is short Eternity is long, who want good trees plant good seeds."

"quote" taken from sam garrens an english writer and speaker,
Were do you think we live!

3

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

the only thing i will do diffrently is to desolder the sata port of the motherboard that way i can have it fit in place perfectly.

Exactly what I was thinking about! If you do it this way, you can use an hhd cover with rubber rails.

for that i wanna help you using HyperFi a simple bash script wizard to install Hyperbola wink

Thanks, I'll check it out! Anyway I'm waiting for v0.4

Also, I hope that you'll share your work here

And when I finish my plan with a dockstation, I'll add it too. (no more barbaric breaking stuff, though wink )

4

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

Hey Rachad

Recently I've understood that my "second speaker" solution is not good enough at all for the X200 Paranoid Edition, because in it I have to get rid of the speaker entirely!  wink

So, if you add some instruction about desoldering that sata port, I'll definitely give it a try. (Also I have some concerns about hdd's placement:it looks like it sits pretty tight, but eventually I'd like to place it on original rubber rails).

5

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

Recently I've understood that my "second speaker" solution is not good enough at all for the X200 Paranoid Edition, because in it I have to get rid of the speaker entirely!  wink

for the X200 Paranoid Edition smile you will have to use a usb 2.0 to audio port adapter for mic and speaker that way you will remove the risk of leaking the motherboard noise to other devices that potentially can interpret that

So, if you add some instruction about desoldering that sata port, I'll definitely give it a try. (Also I have some concerns about hdd's placement:it looks like it sits pretty tight, but eventually I'd like to place it on original rubber rails).

yes i will be using the original rubber rails, i also plan to make a video desoldering the sata port but idk were to upload it though! i dont wanna use youtube and my server is not ready yet

"This life is short Eternity is long, who want good trees plant good seeds."

"quote" taken from sam garrens an english writer and speaker,
Were do you think we live!

6

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

you will have to use a usb 2.0 to audio port adapter for mic and speaker

Maybe the second minipcie slot will be useful for it? I need to do some research about that wink

i also plan to make a video desoldering the sata port

That would be just great. I thought about a couple of pictures...  And my luck smile

but idk were to upload it though!

What about Peertube or something like that? (I haven't used it yet, though)

7

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

I've just ordered a "usb to 3.5mm external sound card". Based on its size,  it should fit without help of my pliers smile
We'll see...

8

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

Maybe the second minipcie slot will be useful for it? I need to do some research about that wink

the one i buyed already have 2x 2.0 usb ports Adapter-link, so i will be using one for the 1.8" ssd and the other for the audio adapter but i dont know how i will do that or if i will do it in the short term

"This life is short Eternity is long, who want good trees plant good seeds."

"quote" taken from sam garrens an english writer and speaker,
Were do you think we live!

9

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

the one i buyed already have 2x 2.0 usb ports Adapter-link

It's interesting to know if it will work...

I bought mine adapters only because some sellers (Technoethical in particular) of Librebooted Thinkpads use it. Therefore, there is some degree of confidence.

10

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

thinkbad wrote:

the one i buyed already have 2x 2.0 usb ports Adapter-link

It's interesting to know if it will work...

I bought mine adapters only because some sellers (Technoethical in particular) of Librebooted Thinkpads use it. Therefore, there is some degree of confidence.

tested working with both usb ports at the same time smile, the only issues i run into was wen nothing connected in the 2 ports alsamixer would not provide sound maybe without any usb connected alsa would detect it as audio device, the other is some whining noise not that big, lower than the screen noise and maybe fixed in the future
#the screen noise can be removed using tpad-tools maybe add to hyperbola v0.4 and installed using :

doas pacman -S tpad-tools
"This life is short Eternity is long, who want good trees plant good seeds."

"quote" taken from sam garrens an english writer and speaker,
Were do you think we live!

11

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

tested working with both usb ports at the same time

Good to know! It still has some hidden potential... wink

In the meantime I received my "usb sound card 3.5mm"

https://i.postimg.cc/y3YXbkVS/IMG-20210516-002006.jpg

It has a TRRS "socket" (mic and headphones at the same time)

https://i.postimg.cc/DJfX2HR9/IMG-20210516-002127.jpg

Initially, I was thinking about something like this...

https://i.postimg.cc/sBmM0K1w/IMG-20210517-003140.jpg

...And using special plugs for the holes, but in reality I have to rethink it. It turns that I have to break the bottom case a little bit anyway... sad wink

So, I ordered a couple of cables to see if I can place everything better. I don't want tearing down the sound card, these cables may help... We'll see!

12

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

...And using special plugs for the holes, but in reality I have to rethink it. It turns that I have to break the bottom case a little bit anyway... sad wink

please dont break anything yet the audio mod is not that important, from my view it potentially leaks motherboad noise wen the headphone is plugged so in practice we just remove anything connected to audio ports wen we have something like a private key to be used and if you wanna do it i have a better idea keeping that case in good shape maybe i will include it in my video wink

"This life is short Eternity is long, who want good trees plant good seeds."

"quote" taken from sam garrens an english writer and speaker,
Were do you think we live!

13

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

please dont break anything

Hahaha please don't worry! I suppose my English isn't good enough (I'm still learning the language). My goal is not to destroy but enhance! smile As far as I can understand the new sound card is better than internal one (conexant cx20561 vs alc4042). So, I want not only to add that security feature but also slightly boost the sound quality.

Maybe I am wrong, my knowledge is pretty limited, but this tinkering is definitely improving it.

I'm waiting for your video! wink

14

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

Well, here is some bad (at least for me) news.

I can't configure ALSA properly for the usb sound card. I've tried different things, to name a few: blacklisted intel hda; different configs of ~/.asoundrc, /etc/asound.conf, /usr/share/alsa/alsa.conf. It seems like it works, I can run Alsamixer, but at the end of the day I get horrible noise of my headphones when I try to play a file...Like very loud static noise or distorted sounds.

Maybe it is some kernel related things or package's version, but my enthusiasm for this question is beginning to wane.

15

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

thinkbad wrote:

Well, here is some bad (at least for me) news.

I can't configure ALSA properly for the usb sound card. I've tried different things, to name a few: blacklisted intel hda; different configs of ~/.asoundrc, /etc/asound.conf, /usr/share/alsa/alsa.conf. It seems like it works, I can run Alsamixer, but at the end of the day I get horrible noise of my headphones when I try to play a file...Like very loud static noise or distorted sounds.

Maybe it is some kernel related things or package's version, but my enthusiasm for this question is beginning to wane.

i have no idea about that but maybe Hyperbola GNU/Linux-libre v0.4 will fix it with updated firmwares i still think the audio mod is not that usefull removing the speaker and built-in mic is already a lot, then just using a headset with the internal audio card and unplugging it wen needed

"This life is short Eternity is long, who want good trees plant good seeds."

"quote" taken from sam garrens an english writer and speaker,
Were do you think we live!

16

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

well i will upload pictures for now cause i cant find a place to upload my video, until i get my server runing everything woks great though tongue

##this last security mod was done by the help of my partner Didou##

what i used was :

1) usb to sata 1.8" adapter
2) mini-pci to usb / 2x "2.0 usb ports"
2) ssd 1.8"
3) usb flash drive used for extra space for now

in these pictures i dont show how i desoldered the sata port but in the video i will

#here i will desolder the the cable of usb to sata 1.8" adapter

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/0.png

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/1.png

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/2.png

#soldering the sata usb adapter into the motherboard using screws

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/3.png

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/4.png

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/5.png

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/6.png

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/7.png

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/8.png

#the other side showing the two screws that helped me to solder there
## you have to use verry small screws that fit there if you force bigger ones you could brick your motherboard creating electrical issues.

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/9.png

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/10.png

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/11.png

#now soldering the other cable into the sata 1.8" adapter to use it with mini-pci

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/12.png

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/13.png

#final images smile

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/14.jpg

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/15.jpg

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/17.jpeg

#this last one shows what i have removed from my motherboard and what i add

https://git.hyperbola.info:50100/~~rachad/images/sata-adapter.git/plain/16.jpg

"This life is short Eternity is long, who want good trees plant good seeds."

"quote" taken from sam garrens an english writer and speaker,
Were do you think we live!

17

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

UPDATE:
i removed the minipci cause it uses much of my battery life, but keeping that 1.8" sata adapter soldered until i find a way to link it with the finger print reader port as usb 2.0 / needs more testing though, maybe my battery is starting to die thats all.

"This life is short Eternity is long, who want good trees plant good seeds."

"quote" taken from sam garrens an english writer and speaker,
Were do you think we live!

18

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

second UPDATE:
After testing with and without it there is no diffrence if verry litel, so im keeping the minipci but i have more ideas and changes to be made in this x200 or maybe other thinkpads smile, i will be sharing all mods here and upload pictures for now until i run my server wink

"This life is short Eternity is long, who want good trees plant good seeds."

"quote" taken from sam garrens an english writer and speaker,
Were do you think we live!

19

Re: X200 Mod: Internal Usb hdd 1.8" +bonus

cause i cant find a place to upload my video

I'm far away from home at the moment, so I can't break tinker with my mobo anyway wink yikes big_smile

i have no idea about that but maybe Hyperbola GNU/Linux-libre v0.4 will fix it

Yeah, I hope it will...Maybe it is not a crucial upgrade, but it is a pretty nice one in my opinion

but i have more ideas and changes to be made in this x200 or maybe other thinkpads

Keep going! These security and other useful mods will have even more value with these creepy news, like Project Pegasus...

this last security mod was done by the help of my partner Didou

Many thanks to Didou!