Ekavun wrote:Sams, thanks for tutorializing. Hard to follow from Mac.
In order to setup Magisk and backup the boot image from mac (ADB), I had to unlock the boot loader.
However, it looks like there is no TWRP recovery IMG for Blackview, and I don't want to flash anything onto my phone.
So, I'm stuck and cannot extract my boot.img for patching.
In other words, the boot partition is on /dev/block/mmcblk0p20, but I don't have read permissions.
My build is BV6800Pro_Blackview-V1.4_20180920_20181130-1918
Can somebody clearly answer, once and for all, where to download the official roms for that particular build? If I cannot extract my own boot image, I'd like to at least use the official one instead.
./adb shell
BV6800Pro:/ $ su
BV6800Pro:/ #
BV6800Pro:/ # dd if=/dev/block/mmcblk0p20 of=/sdcard/Download/boot.img
fastboot flash boot patched_boot.img
Ekavun wrote:sams wrote:Ekavun, you don't need to unlock the bootloader and you don't need TWRP.
You only need to use flash tool to extract and flash back your boot partition. You can't use adb to do that.
I asked blackview 4 months ago to publish the stock ROM. They never did.
I extracted the stock ROM myself and saved all update.zip as they came.
I can provide the original boot image for your ROM version (or even the Magisk patched one if you want), but you will still need to flash back the patched image with flash tool.
I would be most grateful for the rom and the patched image. Now that the boot loader is unlocked, I can flash the boot image from Fastboot. Is that not safe to do?
Thank you!
ogopog wrote:I have no experience with Mac, but I did it from Linux, guess it's similar...
You could try to circumvent read permissions by copying boot image first to phone's internal storage:
go into adb shell, when in, type su to get privileged rights:Code: Select all./adb shell
BV6800Pro:/ $ su
BV6800Pro:/ #
then copy boot partition (let's say into download directory, so it's easy to find it later)Code: Select allBV6800Pro:/ # dd if=/dev/block/mmcblk0p20 of=/sdcard/Download/boot.img
Next, patch image in Magisk Manager, as sams explained.
Copy patched image from phone.
Now you can reboot your phone into the bootloader, and flash the patched boot image with fastboot:Code: Select allfastboot flash boot patched_boot.img
sams wrote:Ekavun wrote:sams wrote:Ekavun, you don't need to unlock the bootloader and you don't need TWRP.
You only need to use flash tool to extract and flash back your boot partition. You can't use adb to do that.
I asked blackview 4 months ago to publish the stock ROM. They never did.
I extracted the stock ROM myself and saved all update.zip as they came.
I can provide the original boot image for your ROM version (or even the Magisk patched one if you want), but you will still need to flash back the patched image with flash tool.
I would be most grateful for the rom and the patched image. Now that the boot loader is unlocked, I can flash the boot image from Fastboot. Is that not safe to do?
Thank you!
Here it is : BV6800Pro_Blackview-V1.4_20180920_20181130-1918_Magisk-v18.1_patched_boot.img
wilczur wrote:How about fingerprint work with this root? Bank apps and other? I found root tutorial in russian forum and they said that fingerprint function will not work becouse it need decrypt partition
wilczur wrote:Any data on phone will be not lost? I have a lot of data and settings, so if any lost it be very bad for me. Does this method is safe?
And i want root to use xposed with deviceidchager, does it work with magisk?