Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinephone pro #25

Open
candymannetje opened this issue Nov 22, 2023 · 18 comments
Open

Pinephone pro #25

candymannetje opened this issue Nov 22, 2023 · 18 comments

Comments

@candymannetje
Copy link

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
Copy link
Owner

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

@rebuzzo
Copy link

rebuzzo commented Jan 31, 2024

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
Copy link
Owner

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

  • First check the dmesg log for your adapter's entry.
  • If you can see the details of the adapter in kernel log, then maybe the drivers are not loaded.
  • You can try to apt update/upgrade the OS. This will install the latest kernel. If the adapters are working on Mobian then it should be working on Kali as well, as the Kali releases are also based on Mobian's repo.

@rebuzzo
Copy link

rebuzzo commented Jan 31, 2024

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
Copy link
Owner

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

@rebuzzo
Copy link

rebuzzo commented Jan 31, 2024

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

@rebuzzo
Copy link

rebuzzo commented Jan 31, 2024

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
Copy link
Owner

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
Copy link

rebuzzo commented Jan 31, 2024

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
Copy link
Owner

yes

@rebuzzo
Copy link

rebuzzo commented Jan 31, 2024

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
Copy link
Owner

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
Copy link

rebuzzo commented Jan 31, 2024

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

@covar2077
Copy link

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
Copy link

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
Copy link
Owner

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
Copy link

covar2077 commented Feb 7, 2024

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants