I have an htc m8 eye. I flashed magisk and no poblems at all.
I started editing system files but after reboot they revert back. Then i have known that i should install a custom kernel or using source make a module to disable it.
But custom kernel is not there for my device and i dont know much about kernel making.
So someone please help me ??
Thanks for captain Throwback for advising me .
@Captain_Throwback
MarkTejo said:
I have an htc m8 eye. I flashed magisk and no poblems at all.
I started editing system files but after reboot they revert back. Then i have known that i should install a custom kernel or using source make a module to disable it.
But custom kernel is not there for my device and i dont know much about kernel making.
So someone please help me ??
Thanks for captain Throwback for advising me .
Click to expand...
Click to collapse
What is the software version of your device? Can you please paste the output of "fastboot getvar all"?
Captain_Throwback said:
What is the software version of your device? Can you please paste the output of "fastboot getvar all"?
Click to expand...
Click to collapse
Very sorry for a late reply but here is the information.
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.213311711.15G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.07.720.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA56PY903805
(bootloader) imei: 355991060426906
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: mels_tuhl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B90000
(bootloader) cidnum: HTC__038
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 5c9466dd
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
MarkTejo said:
Very sorry for a late reply but here is the information.
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.213311711.15G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.07.720.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA56PY903805
(bootloader) imei: 355991060426906
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: mels_tuhl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B90000
(bootloader) cidnum: HTC__038
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 5c9466dd
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Click to expand...
Click to collapse
Hm, I don't have kernel source for that version, as it hasn't been posted to htcdev. I can build the module based on the latest source available, but I'll likely need to hex edit the module for it to have a chance of working on your device (and even then, it's a long shot). Can you zip up the /system/lib/modules folder on your device and upload? I'll need to edit the wp_mod module to have the same module_layout as the current modules on the device. Thanks!
P.S. I already have the kernel module built, so I'll just need to build the Magisk module. What version of Magisk are you using?
P.P.S. @MarkTejo Please see my edit above - I only need system/lib/modules, not the whole system/lib folder - sorry for the typo!
Captain_Throwback said:
Hm, I don't have kernel source for that version, as it hasn't been posted to htcdev. I can build the module based on the latest source available, but I'll likely need to hex edit the module for it to have a chance of working on your device (and even then, it's a long shot). Can you zip up the /system/lib/modules folder on your device and upload? I'll need to edit the wp_mod module to have the same module_layout as the current modules on the device. Thanks!
P.S. I already have the kernel module built, so I'll just need to build the Magisk module. What version of Magisk are you using?
P.P.S. @MarkTejo Please see my edit above - I only need system/lib/modules, not the whole system/lib folder - sorry for the typo!
Click to expand...
Click to collapse
Here is the lib folder
https://drive.google.com/open?id=0Bx-m79HOVjNhRzY2SlUtRVFiem8
and Im on magisk 14.0
Edit : I uploaded before seeing It.
MarkTejo said:
Here is the lib folder
https://drive.google.com/open?id=0Bx-m79HOVjNhRzY2SlUtRVFiem8
and Im on magisk 14.0
Edit : I uploaded before seeing It.
Click to expand...
Click to collapse
Give the attached zip a try. You can install in Magisk Manager (or TWRP, if available) and then reboot.
To test to see if the kernel module loaded, once the ROM is booted, please open an adb shell and run
Code:
lsmod
so I can see if the module loaded. If it did, wp_mod will be listed in the output. If it's not there, run
Code:
su
insmod /system/lib/modules/wp_mod.ko
and let me know what the output is.
Captain_Throwback said:
Give the attached zip a try. You can install in Magisk Manager (or TWRP, if available) and then reboot.
To test to see if the kernel module loaded, once the ROM is booted, please open an adb shell and run
Code:
lsmod
so I can see if the module loaded. If it did, wp_mod will be listed in the output. If it's not there, run
Code:
su
insmod /system/lib/modules/wp_mod.ko
and let me know what the output is.
Click to expand...
Click to collapse
OUTput
[email protected]_melsuhl:/ $ lsmod
Module Size Used by
wlan 3836405 0
wp_mod 12576 0 [permanent]
moc_crypto 402288 0
moc_platform_mod 12871 1 moc_crypto
texfat 187145 0
MarkTejo said:
OUTput
[email protected]_melsuhl:/ $ lsmod
Module Size Used by
wlan 3836405 0
wp_mod 12576 0 [permanent]
moc_crypto 402288 0
moc_platform_mod 12871 1 moc_crypto
texfat 187145 0
Click to expand...
Click to collapse
Excellent! So the write protection module is loaded - you should now be able to make modifications to system and they should persist through reboots. Let me know if it's working for you, and thank @flar2 for providing the source for that module!
Captain_Throwback said:
Excellent! So the write protection module is loaded - you should now be able to make modifications to system and they should persist through reboots. Let me know if it's working for you, and thank @flar2 for providing the source for that module!
Click to expand...
Click to collapse
Seems like not working
I moved an app to system and set permissions and after reboot the app disappeared.
MarkTejo said:
Seems like not working
I moved an app to system and set permissions and after reboot the app disappeared.
Click to expand...
Click to collapse
It's possible that Marshmallow uses a different method for write protection that the module doesn't currently account for. If that's the case, then there's nothing I can do.
If you have TWRP, you can try replacing it there and see if it sticks.
This
Captain_Throwback said:
It's possible that Marshmallow uses a different method for write protection that the module doesn't currently account for. If that's the case, then there's nothing I can do.
If you have TWRP, you can try replacing it there and see if it sticks.
Click to expand...
Click to collapse
TWRP WORKS FROM STARTING.
AND THANKS FOR SUPPORTING ME.
I ported twrp from one plus one.
Is there any possibility that porting the kernel of one plus one WORKS??
AND any tip for kernel porting.
this is my brothers account
Revantark said:
This
TWRP WORKS FROM STARTING.
AND THANKS FOR SUPPORTING ME.
I ported twrp from one plus one.
Is there any possibility that porting the kernel of one plus one WORKS??
AND any tip for kernel porting.
this is my brothers account
Click to expand...
Click to collapse
No, you can't just port a kernel. You need kernel source from HTC.
Related
Hey guys,
My HTC One M7 UL (PN07120) is driving me nuts. I was trying to obtain root so I proceeded to unlock it through htcdev and did it sucessfully. My phone can boot normally. However I cannot root it. I checked to see whether it had damaged partition tables and got no errors after using the mkfs.ext4 solution. I tried installing several RUUs but when they don't failed with the "incorrect RUU" error, they just don't go past the "getting header 1/5)" step of the process.
I have explored several threads with issues that might look like mine, but they end up not being. I will post my getvar info and the names of the RUUs I've been using hoping to find someone kind enough to give me a hand.
Code:
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.20.3218.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.17.502.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT36M********(ERASED BY ME)
(bootloader) imei: ERASED BY ME
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4302mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Files names used:
1)RUU_M7_UL_JB43_SENSE50_MR_Cingular_US_3.17.502.3_Radio_4A.19.3263.13_10.38j.1157.04_release_334235_signed_2
2)RUU_M7_UL_JB_50_Cingular_US_1.26.502.12_Radio_4A.14.3250.13_10.33.1150.01_release_318450_signed_2
3)RUU_M7_UL_JB_50_Cingular_US_1.26.502.15_Radio_4A.17.3250.20_10.40.1150.04_release_326691_signed_2
4)ATT_442.OTAPkg
Thanks in advance.
shadowhacker27 said:
Hey guys,
My HTC One M7 UL (PN07120) is driving me nuts. I was trying to obtain root so I proceeded to unlock it through htcdev and did it sucessfully. My phone can boot normally. However I cannot root it. I checked to see whether it had damaged partition tables and got no errors after using the mkfs.ext4 solution. I tried installing several RUUs but when they don't failed with the "incorrect RUU" error, they just don't go past the "getting header 1/5)" step of the process.
I have explored several threads with issues that might look like mine, but they end up not being. I will post my getvar info and the names of the RUUs I've been using hoping to find someone kind enough to give me a hand.
Code:
fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.20.3218.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.17.502.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT36M********(ERASED BY ME)
(bootloader) imei: ERASED BY ME
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4302mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Files names used:
1)RUU_M7_UL_JB43_SENSE50_MR_Cingular_US_3.17.502.3_Radio_4A.19.3263.13_10.38j.1157.04_release_334235_signed_2
2)RUU_M7_UL_JB_50_Cingular_US_1.26.502.12_Radio_4A.14.3250.13_10.33.1150.01_release_318450_signed_2
3)RUU_M7_UL_JB_50_Cingular_US_1.26.502.15_Radio_4A.17.3250.20_10.40.1150.04_release_326691_signed_2
4)ATT_442.OTAPkg
Thanks in advance.
Click to expand...
Click to collapse
Post a screenshot of your bootloader
The RUU's wont install because your S-On and it will only allow same version or higher
the RUU you require is this one...
http://dl3.htc.com/application/RUU_M...5_signed_2.exe
However since your bootloader is unlocked, you could flash a recovery and root from there..
http://techerrata.com/file/twrp2/m7/openrecovery-twrp-2.6.3.3-m7.img
Put the recovery in your adb folder and from there
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
then enter recovery and make a backup of your rom.
when you exit TWRP, you will be prompted to root your device
How are you trying to root, and how does it fail? Please provide all the detail you can.
fenstre said:
How are you trying to root, and how does it fail? Please provide all the detail you can.
Click to expand...
Click to collapse
It just doesn't root because the files (su.zip or superuser.zip) are not to be found anywhere thanks to my inability to write /data. I am going to try @bored_stupid approach and see what it does.
EDIT:
I had flashed this recovery before with success. The problem is it says "Unable to mount /Cache" or "/data" whenever I try to either backup or install a rom respectively. It does offer to install Su.zip when exit, but it fails to do it because when I check it with root requiring apps, o root checkers, they all say the same: No Root.
EDIT #2:
I was able to install a custom rom!!!!!! All problems got fixed after @bored_stupid approach. Thank you very very much. However, before trying the custom rom I did try to install su.zip when exiting TWRP and, differently to the other tries, it did partially write (confirming that /data was finally writable.) I couldn't, thou, install the Binary when phone booted. I will be trying some other roms and have some fun with the device.
One again. Thanks a lot!!!
shadowhacker27 said:
It just doesn't root because the files (su.zip or superuser.zip) are not to be found anywhere thanks to my inability to write /data. I am going to try @bored_stupid approach and see what it does.
EDIT:
I had flashed this recovery before with success. The problem is it says "Unable to mount /Cache" or "/data" whenever I try to either backup or install a rom respectively. It does offer to install Su.zip when exit, but it fails to do it because when I check it with root requiring apps, o root checkers, they all say the same: No Root.
EDIT #2:
I was able to install a custom rom!!!!!! All problems got fixed after @bored_stupid approach. Thank you very very much. However, before trying the custom rom I did try to install su.zip when exiting TWRP and, differently to the other tries, it did partially write (confirming that /data was finally writable.) I couldn't, thou, install the Binary when phone booted. I will be trying some other roms and have some fun with the device.
One again. Thanks a lot!!!
Click to expand...
Click to collapse
Glad i could help
It might be worth downloading the RUU too, Just in case you ever need to go back to stock.
Enjoy the new freedom rooting brings
bored_stupid said:
Glad i could help
It might be worth downloading the RUU too, Just in case you ever need to go back to stock.
Enjoy the new freedom rooting brings
Click to expand...
Click to collapse
Yes. Thank you very much, my friend. I was about to toss this phone and buy a Motorola V9. hehehehe! Thanks.
By the way, How can I change the title so that I can type (SOLVE) and help others find this?
shadowhacker27 said:
Yes. Thank you very much, my friend. I was about to toss this phone and buy a Motorola V9. hehehehe! Thanks.
By the way, How can I change the title so that I can type (SOLVE) and help others find this?
Click to expand...
Click to collapse
When you press edit, press on "go advanced.
Sent from my Nexus 7 using XDA Premium 4 mobile app
My HTC one is also driving me mad as I can't install any roms even the original or customs , get always a fault at the end , just boots and is stuck on the boot logo
Sent from my Lumia 1320 using Tapatalk
I was on CM11, and my baseband disappeared, i couldn't get s-off with Firewater neither.
Now i am stuck with no rom, the phone doesn't boot up passed the HTC screen.
I have TWRP installed, but it wouldn't let me install CM11 again, it just FAILS.
I can't find any EXE RUU for my phone, currently on hboot 1.57:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: N/A
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA35GS907342
(bootloader) imei: 9900014680*****
(bootloader) meid: 990001468*****
(bootloader) product: m7_wls
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0720000
(bootloader) cidnum: SPCS_001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4305mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-1f512bb6
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.038s
Any suggestions please?
MosesTheTool said:
I was on CM11, and my baseband disappeared, i couldn't get s-off with Firewater neither.
Now i am stuck with no rom, the phone doesn't boot up passed the HTC screen.
I have TWRP installed, but it wouldn't let me install CM11 again, it just FAILS.
I can't find any EXE RUU for my phone, currently on hboot 1.57:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: N/A
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA35GS907342
(bootloader) imei: 9900014680*****
(bootloader) meid: 990001468*****
(bootloader) product: m7_wls
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0720000
(bootloader) cidnum: SPCS_001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4305mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-1f512bb6
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.038s
Any suggestions please?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2795856
So you tried this, and it failed?
sauprankul said:
http://forum.xda-developers.com/showthread.php?t=2795856
So you tried this, and it failed?
Click to expand...
Click to collapse
I failed to FIND that thread, and you sir, just saved my phone.
I thank you :cyclops:
While at it, any chance you can direct me to a reliable source that will help me S-OFF the device on that software version i just installed?
MosesTheTool said:
I failed to FIND that thread, and you sir, just saved my phone.
I thank you :cyclops:
While at it, any chance you can direct me to a reliable source that will help me S-OFF the device on that software version i just installed?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2920661
Flash the JB base 4.x ROM and use firewater. Should work perfectly. Thanks to @BD619 for the tip, it's what I used.
sauprankul said:
http://forum.xda-developers.com/showthread.php?t=2920661
Flash the JB base 4.x ROM and use firewater. Should work perfectly. Thanks to @BD619 for the tip, it's what I used.
Click to expand...
Click to collapse
Not sure how i can flash a 4.x rom, i am on 5.x :\ hboot 1.57
which rom did you flash?
MosesTheTool said:
Not sure how i can flash a 4.x rom, i am on 5.x :\ hboot 1.57
which rom did you flash?
Click to expand...
Click to collapse
Its on the first page. You should be able to flash it like any other ROM. I don't think there's any reason why you can't flash old ROMs.
http://forum.xda-developers.com/showthread.php?p=50561404
Flash the odexed one.
sauprankul said:
Its on the first page. You should be able to flash it like any other ROM. I don't think there's any reason why you can't flash old ROMs.
Click to expand...
Click to collapse
Yeah awesome i actually followed your other post and managed to install the 4.x rom, although the Firewater is still not responding, i do all the steps but when i do the last step, it just does nothing. any idea?
D:\Android\HTC ONE Sprint ROOT\1.57>adb shell
[email protected]:/ # su
su
[email protected]:/ # chmod 755 /data/local/tmp/firewater
chmod 755 /data/local/tmp/firewater
[email protected]:/ # /data/local/tmp/firewater
/data/local/tmp/firewater
[email protected]:/ #
Click to expand...
Click to collapse
MosesTheTool said:
Yeah awesome i actually followed your other post and managed to install the 4.x rom, although the Firewater is still not responding, i do all the steps but when i do the last step, it just does nothing. any idea?
Click to expand...
Click to collapse
Nothing at all?
How long did you wait?
---------- Post added at 02:00 PM ---------- Previous post was at 01:56 PM ----------
http://forum.xda-developers.com/showthread.php?p=56859774
@BD619 made a guide. This will probably work.
sauprankul said:
Nothing at all?
How long did you wait?
---------- Post added at 02:00 PM ---------- Previous post was at 01:56 PM ----------
http://forum.xda-developers.com/showthread.php?p=56859774
@BD619 made a guide. This will probably work.
Click to expand...
Click to collapse
i wait long enough, it doesn't do anything
but i don't get a message that SU permission is granted on the screen, although no errors what so ever, and the SuperSu is working correctly. it didn't ask me to allow the pc neither. weird.
EDIT:
Ok i seem to be having a problem with SuperSu, it doesn't work, i tried reinstalling it and reinstalling TWRP as well, nothing. you didn't have to reinstall the SUPERSU somehow?
MosesTheTool said:
i wait long enough, it doesn't do anything
but i don't get a message that SU permission is granted on the screen, although no errors what so ever, and the SuperSu is working correctly. it didn't ask me to allow the pc neither. weird.
Click to expand...
Click to collapse
Did you follow the guide?
sauprankul said:
Did you follow the guide?
Click to expand...
Click to collapse
My phone was on 5.03.651.2, rooted.
4. Unlock your bootloader again. <<< mine was unlocked
5. Flash TWRP. <<<< already had TWRP
6. Copy the 4.06.651.4 stock rooted odex rom to your phone. <<< Flashed this through TWRP, all fine.
7. Flash that rom <<< Done.
8. Run Firewater. <<<< firewater did not work. after checking a few things i realized the SuperSU isn't working properly
9. Profit. <<< No
PS. maybe he meant DEODEXED, and not ODEX??
Hi, im a complete newbie and recently decided to change the ROM on my HTC One M8 Sprint (Unlocked, Rooted, S-ON) phone. This phone was rooted and had ViperOne M8 1.8 Installed in it when I acquired it. Few days ago, following some threads I made a Titanium Backup, a Nandroid backup (Uncompressed) and then tried installing CM12 in the phone. It showed an error saying bootloader 3.18/3.19 is needed and I have 3.16. I then tried to restore my Nandroid. It shows success but then gets stuck in a bootloop. It is now soft-bricked, and I cannot get any ROM to work. I tried installing ViperOne 2.0, it shows success but doesn't boot. CM12 is also showing the same error and ViperOne is not working. I really need to get this fixed ASAP please help!!!! I dont know how to update the android also!!!!
HTC One M8
Harmon/Kardon Edition
Sprint
Android 4.4
Unlocked, Rooted
TWRP v2.7.0.2
Btw, I had a custom boot animation that I had flashed, and it still plays. Just FYI.
I wanted to install a ROM with android 5.0.x and keep my phone up to date and was frankly bored with the old interface!
Try updating your twrp
I really dont know how to do that. I am a newbie!
Pencil_Case said:
I really dont know how to do that. I am a newbie!
Click to expand...
Click to collapse
Download the latest from link above.
Follow the Fastboot Install Method (No Root Required) from HERE
Problem while flashing recovery
Sloth said:
Download the latest from link above.
Follow the Fastboot Install Method (No Root Required) from
Click to expand...
Click to collapse
When running the code fastboot flash recovery twrp.img
I get error: cannot load 'recovery.img'
Please help!!! I have tried renaming, using a new download etc still not working!
Sloth said:
Download the latest from link above.
Follow the Fastboot Install Method (No Root Required) from HERE
Click to expand...
Click to collapse
This is the result from running the command fastboot getvar all:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.16.0.0000
(bootloader) version-baseband: 1.05.20.0321_2
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 99000499098300
(bootloader) product: m8_whl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B70000
(bootloader) cidnum: SPCS_004
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: ab0efa49
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.005s
Check PM
Sloth said:
Check PM
Click to expand...
Click to collapse
What is PM? (Again, noob here)
lol no problem
PM = Private Message
Pencil_Case said:
When running the code fastboot flash recovery twrp.img
I get error: cannot load 'recovery.img'
Please help!!! I have tried renaming, using a new download etc still not working!
Click to expand...
Click to collapse
Are you properly linking the file path ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome to the thread on Kali NetHunter for the HTC One M8.
If you don't know what Kali NetHunter is, well, it's the entire Kali Linux operating system in a chroot on your phone, plus a bunch of awesome apps for executing exploits, fixing things, doing cool things. It goes on, I suppose.
I'm gonna be honest guys, I'm not a security person.
What I do know though, is that there is apt-get, and apt-get is life.
Find much more information here.
The answer to all your questions, generally the answer is YES, IT CAN DO THAT.
The updater zip will add a few files to your /system partition, and install all of the NetHunter apps to your /data partition.
The chroot is located in /data/local, so you don't have to worry about your system partition being full. It's full read/write capable.
Understand that the zip will replace your current kernel with a completely different one.
This is necessary because most stock or custom kernels don't provide the drivers needed to operate most of Kali NetHunter's features.
DOWNLOAD
Lollipop:Current version: 3.1.0 (stable, 2016-04-29)
Marshmallow: Current version: 3.1.0 (stable, 2016-04-29)
Marshmallow with chroot to kali-rolling: http://www.mediafire.com/download/e6zoxhrn9zcv99h/nethunter-m8-marshmallow-kalifs-full-v3.1.zip
Kernel: http://www.htcdev.com/devcenter/downloads
BEFORE INSTALLING
Please make sure your phone boots fine and runs fine before flashing NetHunter.
The Kali chroot and apps are installed on your data partition (in /data/local for chroot). To initialize the chroot and install Kali Linux, you need to start the Kali NetHunter app.
The NetHunter installer will automatically install SuperSU in system mode, which I consider to be more stable. Since NetHunter already modifies your system partition, there is no need to use systemless SuperSU anyways.
FULL FRESH INSTALL STEPS
1. Flash Lollipop/Mashmallow Firmware
2. Make sure that you are on Lollipop/Mashmallow
3. Flash nethunter-m8whl-lollipop-kalifs-full-v3.0.zip/nethunter-m8-marshmallow-kalifs-full-v3.1.zip
4. Reboot
5. Enjoy
Change log:
06/14/2016: Version 1.0 for lollipop
06/15/2016: Version 1.5 for marshmallow
06/30/2016: updating chroot to kali-rolling (MM only)
SCREENSHOT
DEVELOPMENT
For the kernel included in NetHunter for the HTC One M8, you can find the sources here: http://www.htcdev.com/devcenter/downloads
See the Kali NetHunter installer source here: https://github.com/offensive-security/kali-nethunter
See the Kali NetHunter app source here: https://github.com/offensive-security/nethunter-app
It is powered by idleKernel, however none of the idleKernel scripts (ikconfig, usb control, kernel tweaks) are available by default. I recommend installing idleKernel zip (non-NetHunter) from the idleKernel thread and then flashing the NetHunter updater or kernel installer over idleKernel. You will then have all of idleKernel and Kali NetHunter's features at your disposal.
DISCLAIMER
I am not affiliated with Offensive Security. They seem like cool guys though.
I'm not even a novice when it comes to security and penetration. I'm just a simple system administrator with a passion for breaking Android.
Please restrain yourselves from asking me security related questions.
XDAevDB Information
Kali NetHunter for the HTC One M8, Device Specific App for the HTC One M8
Contributors
ddos, the Kali NetHunter team
Source Code: https://github.com/FreelancePentester/kali-nethunter
Version Information
Status: Stable
Current Stable Version: 3.1.0
Stable Release Date: 2016-04-29
Created 2016-06-14
Last Updated 2016-06-30
Interesting, and thanks for the contribution. But I have a couple (hopefully constructive) questions:
1) Why Lollipop firmware at this point (when MM has been out for a while now)?
2) I'm concerned about the file name "nethunter-m8whl-lollipop-kalifs-full-v3.0.zip", since "whl" typically refers to the Sprint Harmon-Kardon variant. Not sure how much difference this makes, but the Sprint (CDMA) variant uses a different kernel from the "international" M8, so it may make a difference.
Wait for MM
My question didn't post... odd.
Is there a specific HTC Rom required? GPE/Sense?
I read a bit about this team, it seems they have they support MM on other devices, perhaps this one as well?
OP, maybe add their homepage as well? I see the github, but I found more information here as well.
https://www.offensive-security.com/kali-nethunter/nethunter-3-0-released/
dopy25 said:
My question didn't post... odd.
Is there a specific HTC Rom required? GPE/Sense?
I read a bit about this team, it seems they have they support MM on other devices, perhaps this one as well?
OP, maybe add their homepage as well? I see the github, but I found more information here as well.
https://www.offensive-security.com/kali-nethunter/nethunter-3-0-released/
Click to expand...
Click to collapse
There is a specific HTC Sense ROM.
redpoint73 said:
Interesting, and thanks for the contribution. But I have a couple (hopefully constructive) questions:
1) Why Lollipop firmware at this point (when MM has been out for a while now)?
2) I'm concerned about the file name "nethunter-m8whl-lollipop-kalifs-full-v3.0.zip", since "whl" typically refers to the Sprint Harmon-Kardon variant. Not sure how much difference this makes, but the Sprint (CDMA) variant uses a different kernel from the "international" M8, so it may make a difference.
Click to expand...
Click to collapse
Erkin.Ay said:
Wait for MM
Click to expand...
Click to collapse
Because, MM had some error.
Erkin.Ay said:
Wait for MM
Click to expand...
Click to collapse
Available....
son_91 said:
There is a specific HTC Sense ROM.
Click to expand...
Click to collapse
Lol, can you please elaborate on which one? There are so many. Does it matter which version? Does it need to be the sprint HK stock rom? Can it be modified by anything else? I'm not sure what all this modifies, but if any stock based rom will do, it would be sweet.
son_91 said:
Available....
Click to expand...
Click to collapse
Thanks. downloading
dopy25 said:
Lol, can you please elaborate on which one? There are so many. Does it matter which version? Does it need to be the sprint HK stock rom? Can it be modified by anything else? I'm not sure what all this modifies, but if any stock based rom will do, it would be sweet.
Click to expand...
Click to collapse
I tested some HTC M8 devices, and work fine.
son_91 said:
I tested some HTC M8 devices, and work fine.
Click to expand...
Click to collapse
So any Sense ROM? I'm not so much worried about the device, more the rom. What files are modified in the rom itself?
Goodafternoon!
This is pretty cool!! Thank you so much!
Installed on MM build, seems to work fine!
Will report back in a few days! I also own a Pwnpad (Nexus 7), This is to compare!
Well Done!
Regards,
Justin
---------- Post added at 07:40 AM ---------- Previous post was at 06:46 AM ----------
wyckson said:
Goodafternoon!
This is pretty cool!! Thank you so much!
Installed on MM build, seems to work fine!
Will report back in a few days! I also own a Pwnpad (Nexus 7), This is to compare!
Well Done!
Regards,
Justin
Click to expand...
Click to collapse
Goodmorning,
I notice that tha app is hanging while trying to install a app update.
DO you have clue ?
I also notice that when installing Metapackages, It dont get a download screen but, a popup with ")no title" thats it.
I have installed this Kernel, which seems to work.
https://idlekernel.com/nethunter/ni...thunter-generic-armhf-3.1.0-20160616-2249.zip
Greetings,
Justin
dopy25 said:
So any Sense ROM? I'm not so much worried about the device, more the rom. What files are modified in the rom itself?
Click to expand...
Click to collapse
I didn't mofiy any files in the rom, I download kernel source code from HTC dev and modify it.
install problem
hey there!
i have a problem with installing your nethunter build for
MM.
im on cm 13 nightly build and using the int m8
after flashing your zip it ends with bootloop
while installing it shows a message"device not supported" (kernel)
it only shows the kali bootscreen
what is my fail?
any idea ?
thanks in advance
sorry for my bad english
fredsen1337 said:
hey there!
i have a problem with installing your nethunter build for
MM.
im on cm 13 nightly build and using the int m8
after flashing your zip it ends with bootloop
while installing it shows a message"device not supported" (kernel)
it only shows the kali bootscreen
what is my fail?
any idea ?
thanks in advance
sorry for my bad english
Click to expand...
Click to collapse
It is available for Lollipop/Marshmallow Sense firmware. Not working for CM13/AOSP kernel.
thanks!
son_91 said:
It is available for Lollipop/Marshmallow Sense firmware. Not working for CM13/AOSP kernel.
Click to expand...
Click to collapse
thank you
i will try !
New build: 30/06/2016:
+ updating chroot to kali-rolling (MM only)
Download
Please help me.
Hi,
I'm running a clean installation of the official Android 6 HTC Sense 7 ROM, I've unlocked my bootloader and have installed TWRP 2.8.6.0
This is my setup:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: //
(bootloader) imei: //
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__102
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
But during the installation of the 3.1 MM version from TWRP it says that it was unable to install the kernel because the system is "Unsupported".
Could you help me a bit?
GJesper22 said:
Hi,
I'm running a clean installation of the official Android 6 HTC Sense 7 ROM, I've unlocked my bootloader and have installed TWRP 2.8.6.0
This is my setup:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: //
(bootloader) imei: //
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__102
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
But during the installation of the 3.1 MM version from TWRP it says that it was unable to install the kernel because the system is "Unsupported".
Could you help me a bit?
Click to expand...
Click to collapse
S-OFF only.
GJesper22 said:
Hi,
I'm running a clean installation of the official Android 6 HTC Sense 7 ROM, I've unlocked my bootloader and have installed TWRP 2.8.6.0
This is my setup:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.12.401.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: //
(bootloader) imei: //
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: HTC__102
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
But during the installation of the 3.1 MM version from TWRP it says that it was unable to install the kernel because the system is "Unsupported".
Could you help me a bit?
Click to expand...
Click to collapse
Try updating TWRP (Thread here) before ruling things out. That is a very outdated version at this point and probably would say the same thing if you tried to install a ROM. Newer versions of TWRP handle MM files.
Hello,
Yesterday I decided to try and install lineage OS, I wanted to see if a custom ROM could make the phone more responsive.
I unlocked the bootloader using the HTC dev method, and installed CWM. I used CWM to do a backup. Next, I tried to install SuperSU from CWM, however once the process finished the phone would boot to a black screen. In an effort to fix it I tried to restore the backup from CWM, but now it just boots into CWM recovery.
I've been blindly wiping caches, doing factory resets, trying to install the lineage ROM but I haven't had any luck.
Unfortunately, I don't really know what I'm doing anymore so I've come here for help.
My problem seems similar to what I saw in this thread from a short while ago:
https://forum.xda-developers.com/htc-one/help/htc-one-m7-s-htcdev-unlocked-twrp-t3756375
but I don't want to risk making things worse.
I seem to be able to use fastboot and adb commands. The adb shell su command indicates I'm not rooted.
fastboot get var provides this:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: xxxxxxxxxxxxxx
(bootloader) imei: xxxxxxxxxxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: BM___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4013mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-eff4f609
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
At this point I'm just looking to get any working ROM installed.
Any help is greatly appreciated,
Thanks!
wowgert said:
Hello,
Yesterday I decided to try and install lineage OS, I wanted to see if a custom ROM could make the phone more responsive.
I unlocked the bootloader using the HTC dev method, and installed CWM. I used CWM to do a backup. Next, I tried to install SuperSU from CWM, however once the process finished the phone would boot to a black screen. In an effort to fix it I tried to restore the backup from CWM, but now it just boots into CWM recovery.
I've been blindly wiping caches, doing factory resets, trying to install the lineage ROM but I haven't had any luck.
Unfortunately, I don't really know what I'm doing anymore so I've come here for help.
My problem seems similar to what I saw in this thread from a short while ago:
https://forum.xda-developers.com/htc-one/help/htc-one-m7-s-htcdev-unlocked-twrp-t3756375
but I don't want to risk making things worse.
I seem to be able to use fastboot and adb commands. The adb shell su command indicates I'm not rooted.
fastboot get var provides this:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: xxxxxxxxxxxxxx
(bootloader) imei: xxxxxxxxxxxxxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: BM___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4013mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-eff4f609
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
At this point I'm just looking to get any working ROM installed.
Any help is greatly appreciated,
Thanks!
Click to expand...
Click to collapse
What are the version of your CWM, Supersu and lineage on your phone?
alray said:
What are the version of your CWM, Supersu and lineage on your phone?
Click to expand...
Click to collapse
I tried to install SuperSU v2.82
CWM is v6.0.2.8
Lineage is v14.1 unofficial, installing it from zip causes errors and the installation is aborted.
wowgert said:
I tried to install SuperSU v2.82
CWM is v6.0.2.8
Lineage is v14.1 unofficial, installing it from zip causes errors and the installation is aborted.
Click to expand...
Click to collapse
You cwm is outdated. If I remember correctly you must use at least cwm 6.0.4.8 or TWRP 2.7.1.1 so your recovery kernel support fstab. Latest twrp is 3.2.1.0
https://eu.dl.twrp.me/m7/
Update your recovery and try to flash your rom again.
That seems to have fixed it, thanks!
I doubt I would have ever figured that out on my own.
wowgert said:
That seems to have fixed it, thanks!
I doubt I would have ever figured that out on my own.
Click to expand...
Click to collapse
you're welcome :good: