DISCLAIMER
Code:
Your warranty is now void.
I'm not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired, because the alarm app failed. Please
do some research if you have any concerns about features included
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
This is made for Vernee M5 only. Do not use on other devices!
Prerequisites:
- Way 1: Backup your M5 with MTK flashtool (readback function). You can find the scatter loading file in the attachment. You can also use @77777777777777's unbrick.img, but it does not contain all partitions (e.g. NVRAM/NVDATA, because the information stored there differs on every device and should be kept private (IMEI)).
- Way 2: Backup your M5 as written here. This only works if your device is already rooted.
- Unlock your bootloader. You can find @77777777777777 's guide here
- ADB and fastboot tools
- An external sd card
Test TWRP before flashing
- adb reboot bootloader
- fastboot boot recovery.img
- There is a little bug in the recovery that does not turn the screen on. After one to two minutes you can press the power button and it will turn on.
Do not decrypt the data partition or delete it if you don't flash a custom rom. If TWRP works for you and you plan to flash it, allow system modifications. This will prevent android from restoring the stock recovery.
Flash TWRP
- adb reboot bootloader
- fastboot flash recovery recovery.img
- fastboot continue
Booting into TWRP
- adb reboot recovery
- Using 'reboot to recovery' button in magisk
- Hold power + volume up if the device is powered off and select recovery
Installing magisk
- Download magisk and copy it to an external sdcard
- Once the card is in your device, reboot into recovery. Do not decrypt the data partition! This will cause bootloops. Allow to make system modifications if you haven't done this before because otherwise you will not be able to flash magisk.
- Flash the zip
Credits:
@77777777777777
Everyone who contributed to this
TeamWin
Magisk developers
Downloads:
- scatter file: see attachment
- twrp: https://github.com/ngc4622/android_device_nb_vernee_M5/releases
Attachments
Last edited: