nexus 6p brushed into kali mobile penetration testing platform

Why install kali and take a look at the following two pictures. I think everyone understands it.

Insert picture description here
Insert picture description here

Ready to work

First, we open the famous xda-developers forum https://forum.xda-developers.com/t/rom-official-kali-nethunter-for-the-huawei-nexus-6p-android-8-1.4080807/ .

  1. One nexus6p or other nexus mobile phone
  2. One computer (need to install adb environment ( https://developer.android.google.cn/studio/releases/platform-tools.platform-tools_r30.0.5-windows specific Baidu to install adb tools and drivers)
  3. Things that need to be downloaded in advance:
    bottom package: https://dl.google.com/dl/android/aosp/angler-opm7.181205.001-factory-b75ce068.zip .
    Twrp: https://twrp.me/huawei/ huaweinexus6p.html .
    magisk: https://github.com/topjohnwu/Magisk .
    NetHunter: https://www.offensive-security.com/kali-linux-nethunter-download/ .

Brush into the bottom bag (brief description)

1. Unzip all the bottom package files to get the files shown in the figure. In this interface, always hold down the keyboard shift and click the right mouse button to select-"Open the powershell window this time".

Insert picture description here
2. Turn off the phone while holding down the power button and the volume down button and wait for two or three seconds. The phone enters bootloader mode and connects to the computer with a data cable
Insert picture description here
. Execute the following commands in the powershell window

fastboot flashing unlock
adb reboot bootloader
fastboot flash bootloader bootloader-angler-angler-03.84.img
fastboot reboot-bootloader
fastboot flash radio radio-angler-angler-03.88.img
fastboot reboot-bootloader

After execution,
cd image-angler-opm7.181205.001enter and continue to execute the following commands

fastboot flash vendor vendor.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash:raw boot boot.img
fastboot flash recovery recovery.img

The process is about 10 minutes or so and there is no problem after the execution is complete. Turn on the computer and simply set it and turn it off

Flashing recovery, rooting, and NetHunter to the device

Enter bootloader mode again.
Now what we need to do is to flash the system twrp and root

I downloaded twrp-3.4.0-0-angler.img.
In the download path, open powershell in the same way as above, enter the following command,
fastboot flash recovery twrp-3.4.0-0-angler.img
and then press the phone volume down key to select to enter the recovery mode mode,
Insert picture description here
Insert picture description here
insert the usb to connect to the computer, and the download will be completedMagisk and NetHunter packagesIn the incoming mobile phone
twrp, select install to enter and select you to download the incoming magisk package. This is Magisk-v21.4.zip. Click right slide to select the installation to be installed. This means that the root has been successfully completed.
Return to select reboot to restart the phone and enter the system to ensure that it exists Magisk program.

Shut down again the same steps as above, enter twrp, select the input before installationnethunter-2021.1-angler-oreo-kalifs-full.zipAfter the installation is complete and restart, I Insert picture description here
found the google interface of the card . After waiting for a long time, I found that there was no response. It is speculated that the kernel was dropped.
The phone restarts and enters the bootloader mode to continue the steps of flashing the bottom package before

fastboot flash:raw boot boot.img

Flash into the kernel, don't worry about booting, let's continue to enter twrp mode, reload magisk and then boot again, because the bottom layer needs to be rooted again.

You can boot after flashing in magisk
Note: After restarting, you need to configure the NetHunter software-Kail Chroot Manager in the system first, and you can start playing happily after activating the patch.
Attachment: Appreciation of the interface diagram
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_15057857/article/details/115320236