Results 1 to 11 of 11

Thread: Htc One M7 Porting Question

  1. #1
    Join Date
    2014-Oct
    Posts
    11

    Htc One M7 Porting (Solved)

    Hello , i would like to build and add support for my phone , HTC ONE M7 , i am really excited and have been constantly researching what i would need to be able to port / bring this to my device .

    If you would like to test the rom, please post below or send me a message.
    If enough people are interested i will release the build

    Update 1:

    Turns out building nethunter is a lot easier than I would have thought .

    Update 2:

    Read comment number 3
    Last edited by zinister; 2015-02-22 at 15:50.

  2. #2
    Join Date
    2013-Feb
    Posts
    225
    Hi Zinister,

    Good luck! Basically, you need to build a working kernel for your device, then patch it with HID and wifi injection patches, while maintaining a sane kernel config file. Once you have a working kernel you can embed it in the NetHunter rootfs or build script. I've seen a couple of ports for the Oneplus and HTC devices, perhaps you want to ping the devs behind those ports to hear their experiences. Check http://cyberkryption.wordpress.com/2...thunter-part1/ and https://github.com/l0rdg3x

  3. #3
    Join Date
    2014-Oct
    Posts
    11
    Quote Originally Posted by muts View Post
    Hi Zinister,

    Good luck! Basically, you need to build a working kernel for your device, then patch it with HID and wifi injection patches, while maintaining a sane kernel config file. Once you have a working kernel you can embed it in the NetHunter rootfs or build script. I've seen a couple of ports for the Oneplus and HTC devices, perhaps you want to ping the devs behind those ports to hear their experiences. Check http://cyberkryption.wordpress.com/2...thunter-part1/ and https://github.com/l0rdg3x

    Thank you ! That is very help full , i know how to run the emulators for custom roms , so hopefully i can get good at this and help others . Thank you so much for your help.

  4. #4
    Join Date
    2015-Feb
    Posts
    24
    zinister, any news updated? I also want the kali nethunter porting to my htc one. But apparently I am not developer, and I am just seeking answers by googling.
    What I have now is only the full kali linux-armel installed in my phone, and with the badusb script 80% working(As I don't how to setup the hosts file....) So, I think I have installed all the usable functions of kali except the HID attack.. And I have been seeking the way to complie the HID function to my phone for almost two weeks, but still nothing works...So, I am looking for someone to teach me how to configure the HID function when compiling the kernel....hope someone can help me out of this shxt...

  5. #5
    Join Date
    2014-Oct
    Posts
    11
    Hey , I have a kernel I comiled its for m7spr , but it should work for m7 as well . Here's the kernel , you'll need to build yourself a new Kali Linux chroot . You can follow the tutorial in the readme on the git page .

    Note that only the rt2800usb drivers on there and to make sure you install cm12 as that's what the kernel is for.

    Flash this in recovery , remember to make a backup just in case! Everything else works in the kernel , incudling the bad USB and HID attacks , support for mutiboot as well.

    https://docs.google.com/file/d/0B6dr...p=docslist_api
    Last edited by zinister; 2015-02-22 at 15:52.

  6. #6
    Join Date
    2015-Feb
    Posts
    24
    Thx for your reply, actually I have also compiled cm11 for my htc one m7(GSM) with custom kernel supports badUSB script, HID function, kon-boot(drivedroid), wn722n and awus036h usb drivers, except multiboot. And what I am doing now is using the traditional method--linux deploy to run kali linux image in stead of kali nethunter, as so far I don't know how to compile it by myself. And I still have to figure out how the HID attacks works with the python scripts as I will look for those necessary script by google......btw, what is multiboot used for???

  7. #7
    Join Date
    2014-Oct
    Posts
    11
    Quote Originally Posted by simonpunk2016 View Post
    Thx for your reply, actually I have also compiled cm11 for my htc one m7(GSM) with custom kernel supports badUSB script, HID function, kon-boot(drivedroid), wn722n and awus036h usb drivers, except multiboot. And what I am doing now is using the traditional method--linux deploy to run kali linux image in stead of kali nethunter, as so far I don't know how to compile it by myself. And I still have to figure out how the HID attacks works with the python scripts as I will look for those necessary script by google......btw, what is multiboot used for???
    Take a look at the git source , then run the command and choose 88 to build rootfs

  8. #8
    Join Date
    2015-Apr
    Posts
    1
    Quote Originally Posted by zinister View Post
    Hey , I have a kernel I comiled its for m7spr , but it should work for m7 as well . Here's the kernel , you'll need to build yourself a new Kali Linux chroot . You can follow the tutorial in the readme on the git page .

    Note that only the rt2800usb drivers on there and to make sure you install cm12 as that's what the kernel is for.

    Flash this in recovery , remember to make a backup just in case! Everything else works in the kernel , incudling the bad USB and HID attacks , support for mutiboot as well.

    https://docs.google.com/file/d/0B6dr...p=docslist_api
    Where is this tutorial you're talking about? Can you please post the link to the git? Gonna try and get this working on my m7 tonight, just don't know how to build a new chroot

  9. #9
    Join Date
    2015-May
    Posts
    9
    Hi,

    I have a HTC One (m7) with ElementalX Kernel and Revolution HD ROM. I have installed Linux Deploy and downloaded Kali image. In Kali I have installed "wifite" (uses "reaver"). when I run "wifite" command it shows me:

    1. PHY Interface Driver Chipset
    2. phy0 p2p0 bcmsdh_sdmmc unable to detect for sdio 0x02d0:0x4335
    3. phy0 wlan0 bcmsdh_sdmmc unable to detect for sdio 0x02d0:0x4335

    after connecting my TP-Link TL-WN722N wireless adapter to my HTC , I can confirm that Kali recognizes the wireless adapter by using "lsusb" command, however "wifite" or "reaver" cannot recognize it and asks me to select the number of devices to put into monitor mode (1-3) which basically shouldn't work, since they are both internal devices (I think p2p0 should be my bluetooth!) and their chipsets can not be detected.

    Any ideas?

  10. #10
    Join Date
    2014-Oct
    Posts
    11
    You need a kernel that has the support for your wireless adapter . The biggest thing in nethunter is the kernel and that's what you need to build for yourself.

  11. #11
    Join Date
    2015-Aug
    Posts
    2
    Hello,

    I also have a HTC one m7 with cm11s rom android 4.4.4, is posible to share your kernel or rom? is posible to do that?
    I try to fallow this guide http://forum.xda-developers.com/android/software-hacking/guide-convert-phone-tablet-pwn-phone-t2852652/post54925307#post54925307 but I confuse in the part of "<username> must be replaced by the actual username of the user who is authorized to access the phones over USB." and "Download Source (any kernel source can be used)"
    can you help me with some tips?

    Greetings,

Similar Threads

  1. Porting kali to a new device?
    By 11552 in forum ARM Archive
    Replies: 0
    Last Post: 2016-09-29, 21:13
  2. Porting Nethunter
    By dtoxotm in forum Building NetHunter
    Replies: 4
    Last Post: 2016-06-11, 16:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •