Shubhamvis98 / kali-pinephone

Kali Linux Phosh for PinePhone and PinePhone Pro
58 stars 9 forks source link

Pinephone pro #25

Open candymannetje opened 7 months ago

candymannetje commented 7 months ago

First I want to thank you, great job with this OS. I have a Pinephone pro and I can test a image if you want.

Shubhamvis98 commented 7 months ago

Thanks a lot @candymannetje Sure, I'll let you know if i create any test image for pro.

rebuzzo commented 5 months ago

Thank you for your job on Pinephone/Pro, you're making this device a better one for sure! I'm facing an issue with NH Pro on Pinephone pro and, who better than you for an advice? The lsusb command shows no external devices on my PPP with the last release of NetHunter downloaded from kali.org. Same phone but running Mobian and all my adapters are listed on lsusb which means no problem on the usb port or OTG cable or devices. I bought mine from pine64 on the second half of December, after they put them back on sale. Maybe something related on new hardware? any help will be much appreciated. Thank you!

Shubhamvis98 commented 5 months ago

Hi @rebuzzo , Thanks for your appreciation. I don't think there's any issue with the hardware. Below are few steps you can do:

rebuzzo commented 5 months ago

Thank you for your reply. I’ve just tried but I confirm than dmesg | grep usb doesn’t show any external device and after apt update/upgrade nothing happened. It’s so frustrating…

Shubhamvis98 commented 5 months ago

don't use grep. run dmesg -W and then attach your adapter and see if there's any log is generating in dmesg.

rebuzzo commented 5 months ago

Done: nothing happens. It looks like the usb port is “disabled”. On kali works only for charging

rebuzzo commented 5 months ago

Wait wait… rk-818-bat It looks like rtl8812au, the chipset of the alfanetwork adapter I’ve connected right now

edit: uhm.. I think it’s something related to rockchip.

Shubhamvis98 commented 5 months ago

have you tried my pinephone pro release images from my git? If not, can you try it and let me know if you're facing the same issue.

rebuzzo commented 5 months ago

Not yet. Can you advice me on which release to try? I’ll do it now and let you know

This one? https://github.com/Shubhamvis98/kali-pinephone/releases/download/20230927/kali_phosh_pinephonepro_20230927.img.xz

Shubhamvis98 commented 5 months ago

yes

rebuzzo commented 5 months ago

Shubham, it works!!! You can’t imagine how I feel now… I was dealing with the usb port since December. But, wow… it seems so strange to me that the official image does not work. It would be interesting to investigate on this. Btw, I come to you thanks to Kimocoder who told me you’re working on PinePhone. I will thank him too.

if you will have time you’re invited to have a look at my tik tok account @h4ck1ng.me and, if in anyway you find it useful to promote anything related to kali let me know. I will be very happy to contribute!

Shubhamvis98 commented 5 months ago

You're welcome, mate. I'll fix the official image, maybe in the next release. You can also try my unofficial NetHunter app, made for Pinephone and Linux-based phones. I'm just busy with my job, which is why I can't dedicate time to my open-source projects.

rebuzzo commented 5 months ago

I’ve just seen it and sure 100%, I will try it in all of its function! Keep’n touch!

covar2077 commented 5 months ago

Latest official nethunterpro tested on pinephone pro with phosh and kali linux on 6.6-rockchip kernel. Usb-c works only for charging the device. If i revert back to 6.1-rockchip kernel usb-c recognizes everything (usb sticks, hubs etc). The problem is that there is no linux-headers for 6.1-rockchip kernel. Does anyone knows where to find older rockchip headers????

covar2077 commented 5 months ago

I've also test the following on pinephone pro (main storage).

https://github.com/Shubhamvis98/kali-pinephone/releases/tag/i20231010

But it comes up with boot-loop.

Shubhamvis98 commented 5 months ago

I've also test the following on pinephone pro (main storage).

https://github.com/Shubhamvis98/kali-pinephone/releases/tag/i20231010

But it comes up with boot-loop.

This image (i20231010) is for Pinephone not for Pinephone Pro. You can try this https://github.com/Shubhamvis98/kali-pinephone/releases/download/20230927/kali_phosh_pinephonepro_20230927.img.xz

For older kernels and headers you can check mobian's repository.

covar2077 commented 5 months ago

This image (i20231010) is for Pinephone not for Pinephone Pro. You can try this https://github.com/Shubhamvis98/kali-pinephone/releases/download/20230927/kali_phosh_pinephonepro_20230927.img.xz

For older kernels and headers you can check mobian's repository.

At this time the most functional image for pinephone pro is yours because it is based on 6.1-rockchip and includes the linux-headers for this kernel. Great job @Shubhamvis98

Shubhamvis98 commented 5 months ago

I'll try to fix the official image. If the issue is in kernel then maybe the issue is with mobian package as nethunter pro uses mobian's repository for device specific packages.