yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
The kernel patch that hides bootloader unlocked status including response from QSEE would not restore video image enhancement function by itself. In case of yoshino platform, it would restore it, but only in case that device master key had been restored from locked state TA backup. Without locked state TA backup you would need a drmfix.

In case of TAMA it seems that even having locked state TA backup is not enough to restore drm functionality when running kernel patched to hide bootloader unlock status - see here and here and maybe here for details.

The kernel hiding bootloader unlock status allows to install full system fota update in case of unlocked bootloader if it had been booted via 'fastboot boot' and unmodified stock firmware is present on a phone (no changes at all, kernel/recovery/system/vendor/oem/ etc. need to be virgin stock).

A video documenting that is available here from [MENTION=3989065]serajr[/MENTION].

The kernel hiding boootloader unlock in case of TAMA (xz2/xz2c/xz2p/xz3) is useful only for system fota update.

When used with stock firmware, it makes camera not working, with a fix or without it, as documented here.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Short development update.

On my XZ2 with SODP Android 10 runs now twrp.

Still open:

Decryption support

"fastboot boot" support

Stock 10 support
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dhacke:
That are great news. Thx for all your efforts! Whether twrp isn't fully ready it's nice to see that it will android 10 compatible slowly.

Out of curiosity: Do you know the general state of twrp regarding android 10?

Hopefully the decryption will be fixed soon (for me that point is important:D)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you :)

The real twrp 10.0 is bootable only on a single device with the codename "flame"

I don't know this device, too.

After all the struggle I had it seems the current issue left may be fixed tomorrow. :)

(If it doesn't direct me to the next issue) xD
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dhacke:
It's the pixel 4. But i guess that a good news for me because i'm using the xl version (codename: coral).

Sounds good.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Orphee:
Hello,

A few month ago with the help of [MENTION=6031898]MartinX3[/MENTION] I rooted my girlfriend's phone. It's working great, but with the recent issues discovered on bluetooth protocol.

I would like to update it.

As it is not my daily phone, I'm quite far from Sony's world...

Could you please tell me what I should to to update it (keeping root and camera working) ?

Current state :

Thanks for your help
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Just use Xperifirm and Newflasher from XDA and flash the newest stock 10 firmware on it.

Camera will just continue to work.

And for root

In the magisk xda forum is described how to patch your boot.img with magisk.

(You need to unsin it with UnSin.exe from XDA, patch it in the magisk app, flash it in fastboot and deactivate vbmeta)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Orphee:
Thank you,

So to resume :

Download latest FW with Xperifirm : 52.1.A.0618 / R2C (France)

Flash it with newflasher (downloaded latest v20)

For root/magisk I know a little what I have to do with it.

With Unsin I unpack the boot.tar img and patch it with Magisk manager... right ?

I unsined : bootloader_X_BOOT_SDM845_LA2_0_1_Q_206_X-FLASH-ALL-B6B5.img

then I flash it with fastboot

And finally fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Am I ok ?

Edit : Actually I have 3 boot files :

- bootloader_206_X-FLASH-ALL-AE08.sin

- bootloader_X_BOOT_SDM845_LA2_0_1_Q_206_X-FLASH-ALL-7405.sin

- bootloader_X_BOOT_SDM845_LA2_0_1_Q_206_X-FLASH-ALL-B6B5.sin

Edit 2 : Or this one ? boot_X-FLASH-ALL-B6B5.sin
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] orapyt:
Why do you need to deactivate vbmeta? I thought that was only for custom bootloader?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Because you modified the boot.img for twrp

Flashed in twrp it should be fine
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Orphee:
There is currently no TWRP for Android 10, am I wrong ?

The right file to patch seems to be : boot_X-FLASH-ALL-B6B5.img (64mb)

I tried with Magisk Manager on the current Android 9 old rooted ROM to patch this file and it worked. It generated a magisk_patched.img (16mb)

Edit : vbmeta_X-FLASH-ALL-B6B5.img is quite small : 4Kb...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It's boot :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's correct

We need to use twrp for 9.0 for now in 10

I work on a compatible one

Decryption is left Todo and stock rom compatibility

Currently there is a Chinese one which only works on Chinese in xda without hardwood decryption
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Orphee:
So once I flashed everything, currently, do I have to flash TWRP 9 on Android 10, or do I leave recovery stock and only root with magisk/fastboot ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I need to modify it to be compatible

At the moment I wouldn't use it
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] SquareFor:
Swipe to unlock

I've booted the twrp.img however my phone won't swipe to unlock? any recommendations?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Which TWRP version?

Which firmware version?

Which model name?

Does the firmware version not match the TWRP version?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Nice to hear that it works

Yes, you install the same TWRP.img you chose to boot it.

(Don't ask me, why they didn't develop TWRP extracting itself while running)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] thanasis12.:
My device is XZ2 Premium, and I have unlocked bootloader. android 10, version 52.1.A.0.618. I want to root the phone. I think is safe to use twrp for android 9. download link for vbmeta?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please use the 10.0 TWRP for the 10 stock ROM and report nay bugs.

I don't support android 8 / 9 anymore. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] thanasis12.:
vbmeta.img for Android 10, a download link?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Included in the TWRP
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
MartinX3, I'm having an issue with my h8314. I'm on Android 9 and I've downloaded adb files and fastboot. My phone is bootloader unlocked, but can't be found under fastboot devices.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please install the correct fastboot/adb usb drivers in windows or use Linux (in a VM with USB passthrough like VirtualBox) where it works out of the box.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Could you please provide link for download please. I can't seem to find right one after trying 4x different sites.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
https://lmgtfy.com/?q=sony+fastboot+drivers&iie=1

I only used them last time I used my XZ2 and Windows (2018 or 2019)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Wasn't trying to be lazy. Nice animation though. But I cannot find the correct drivers for Sony fastboot. Or I have correct ones and for some reason not working as it should.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh, the ones from the Sony didn't work?

I did connect the phone in FASTBOOT mode, did go to the window device manager and installed the driver .inf file.

Same again in ADB mode.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
I'll try again once I get home. There were three options to choose from to update driver when I was in fastboot mode.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Miustone:
My God, what is that? An Xperia Exclusive Recovery? WTF... Nice Work! Any chance to get this for Xperia 1 & 5`? We are really out of luck with TWRP actually. All we have is a crappy Ramdisk Changer based on Lazy flasher that allows to use a half broken TWRP Build in Chinese... I'm sure there are a lot of People who would really love to see this dear [MENTION=6031898]MartinX3[/MENTION] , including Me who is working on the System Parts since some days again...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Ok. So I tried once again and finally got the driver to update, like you said you had to do. But now I keep getting errors when I type or copy the commands regarding disabling vbmeta. I've ensured that the locations of files are correct and spelt correctly. So I'm kinda lost on this one.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Nice!

Until you show us the error message I can only ask my crystal ball to look in the future. [emoji14]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you :)

I put it on my to-do list :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
It says "unknown option -- d"

Tried again, said " unknown option --disable verity"

Failed vbmeta https://imgur.com/gallery/WRdILH8
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please update these tools to version v30
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Not sure what you mean exactly. You mean fastboot and adb?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes, Sir.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
So don't use version 1.4.3
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
So I skipped the vbmeta part and booted in twrp you provided for download in Android 9 stock folder. It worked however I can't seem to use touchpad to actually flash twrp in my phone.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please try this

http://www.dhsfileserver.de/ftp/MartinX3/Test Builds/SODP/4.9/Touch Issues/Xperia XZ2 Compact/

It's by default fixed in my 10.0 TWRP for kernel 4.14
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Pandemic:
Any news for xperia 1 and 5 bro ? ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
I'm assuming boot with the boot IMG and what do I do with the vendor image?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The v10 need to be flashed on the system.

The v8 TWRP is only for the TWRP.

We did need a fix, because some rare XZ2 compacts have a different touch chip.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I sadly had no time to start on it, uncle. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
So I only did v8 for twrp and magisk? Sorry trying to understand.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
V10 replaces vendor and boot of your ROM

V8_TWRP is only to boot TWRP and execute the install ramdisk function.

In TWRP you can root by magisk.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Gotcha. I'll give v8 a try first because I'm not sure exactly how to flash those files in v10.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
In fastboot.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
So something in the XA2 and the XZ2 Premium is different. :rolleyes:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nasko_spasko:
Yeah one is with ufs and the other is with emmc if that makes any sense...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] FartyParty:
I think he didn't properly try taking pics. I think he just saw the black screen and assumed.

A fair bunch of apps works taking pics with including Open Camera.

The viewfinder DOES work in the stockapp while filming IF you have stabilizer turned on.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nasko_spasko:
True that... it's just the viewfinder that's black, photos are taken when pressing the shutter button. The only issue is that video noise is not reduced. hdr works on opencamera, but is far behind the stock camera in terms of quality.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] VeixES:
Stock camera works on XZ2 after unlocking bootloader. It just the viewfinder is black. So tacking pics and videos is still possible. Different behavious than in XZ Premium and XZ1 series.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
[MENTION=1337045]nasko_spasko[/MENTION]

What is the output of

"find /dev/block"

in Stock, TWRP and AOSP?

That would give you a list of every mountable blockdevice the kernel finds.

You need root to execute this command.

Maybe the naming is different in TWRP and that's the cause of the mount error?

Or the kernel lacks a needed feature.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Double post
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
Opencamera and some other apps are working because of the fact that they are using the camera api to take pictures and their own processing routines. But the quality is much different. Best way to compare is, to take shots at night on the outside. Next problem is Sony's limitations on the api. They don't allow full resolution shots. The software then scales up.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
And which from these things get reactivated with the drm patch?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] sToRm//:
As soon as the bootloader is unlocked, the device will make a wipe and will also delete the unique device key that is used to decrypt the credentials for Sony's image processing and other features. The DRM patch will hack the firmware and trick the system, so that it thoughts that the bootloader was never unlocked. Also it will inject the credentials for the Sony processing algorithms.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
TL;DR

Then we get the vanilla photo quality back?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Hi,

I'm not sure you will answer but...

I've got a question about the drm fix, does it use same libs as before with a new way to edit the stock kernel or did you compile new libs?

Thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Dear testers,

it would be nice to get these informations until tomorrow :)

Tomorrow evening , I've got time to work on twrp :D

(I hope it will show something helpful...)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] M-Rom:
You can look at these files and maybe help. :)

vendor\lib\modules\clearpad_core.ko

vendor\lib\modules\clearpad_i2c.ko

vendor\lib\modules\clearpad_rmi_dev.ko

Open source archive for 51.1.A.11.51

vendor\semc\hardware\kernel-modules\msm\clearpad

Sorry, the English is not good. :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you, but which bug should be solved with it? :)

At the moment it doesn't mount the needed partitions.

So the question is:

Does the kernel see the block devices in my twrp build? :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] M-Rom:
Unable to touch operation :(
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
With the newest build with the AOSP kernel? [MENTION=1337045]nasko_spasko[/MENTION] was able to touch, or? :confused:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
27.09.2018

But I think I still need the needed informations.

https://xdaforums.com/xperia-xz2/de...-3-2-2-0-touch-recovery-t3821597/post77717476
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nasko_spasko:
[MENTION=6031898]MartinX3[/MENTION] sorry can't test aosp stuff right now, but the touch works when U flash the aosp blobs from sony. If someone is willing to test the mountpoints, go ahead. I'll be on a vacation for a while.

---------- Post added at 01:21 AM ---------- Previous post was at 01:18 AM ----------

I'm talking about these blobs.

---------- Post added at 01:28 AM ---------- Previous post was at 01:21 AM ----------

If no one gives feedback till Monday, I'll probably do it. Though I think it's a bit dangerous right now, taking the display bug into account...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you for the update :)

Good to know, so I will integrate touch drivers into twrp like [MENTION=6844550]M-Rom[/MENTION] mentioned before. :)

Copying some more libs out of the oem image. Hehe.

Oh, I did not compiled the kernel with the dangerous code.

Or did you see display errors in the past?

(Not the touch bugs)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Ok so let me break this all down,

I need to download twrp from v10.

I plug phone to computer with vol up

I enter fastboot mode. Open command window from download (and extracted folder)

I type fastboot devices.

I see my device

I type "fastboot boot boot.img"

Hopefully works, if so while in twrp, I flash twrp.

I then flash magisk and

Done

Do I need to do the disable vbmeta because I could never get it to work.

Also when do I boot vendor.img if at all.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You need to flash the vendor and boot from V10 and boot the V8 twrp

Otherwise you won't have touch
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Would the command be

Fastboot flash boot.img

Wait

Fastboot flash vendor.img

Wait

Fastboot boot twrp.img

And do I need to do the vbmeta part? I never got that command to work. My intentions are spoofing gps. But pretty sure I'll use smali patcher with magisk.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes, in theory you need to disable vbmeta, too
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Ok, do I disable vbmeta before flashing boot and vendor? All my other attempts tell me unknown option d or just unknown diverty. Stuff along that nature.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The order doesn't matter

Please update your Fastboot binary from google
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
I downloaded fastboot adb 1.4. the one that said latest. And installed. Still did it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
./adb --version
Android Debug Bridge version 1.0.41
Version 30.0.0-6374843
./fastboot --version
fastboot version 30.0.0-6374843
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
​

Tried multiple times to download adb and fastboot, still no luck, anyway you could send link to correct one to download and install?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I always use https://lmgtfy.com/?q=Android+ADB+fastboot&iie=1

There on the android.com page
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
C:\adb\5-17-2020 root>fastboot devices

BH9019A5CU fastboot

C:\adb\5-17-2020 root>fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Rewriting vbmeta struct at offset: 0

Sending 'vbmeta' (4 KB) OKAY [ 0.016s]

Writing 'vbmeta' OKAY [ 0.000s]

Finished. Total time: 0.297s

C:\adb\5-17-2020 root>fastboot flash boot boot.img

Sending 'boot_a' (65536 KB) OKAY [ 2.868s]

Writing 'boot_a' OKAY [ 0.352s]

Finished. Total time: 3.458s

C:\adb\5-17-2020 root>fastboot flash vendor vendor.img

Sending 'vendor' (46516 KB) OKAY [ 1.898s]

Writing 'vendor' OKAY [ 0.014s]

Finished. Total time: 2.277s

C:\adb\5-17-2020 root>fastboot boot twrp.img

Sending 'boot.img' (65536 KB) OKAY [ 2.649s]

Booting OKAY [ 5.676s]

Finished. Total time: 9.240s

C:\adb\5-17-2020 root>

this resulted in illuminated blackscreen. twrp did not show up to work at all. what did i do wrong?

i used v10 vendor and boot img files and twrp v8. so im still stuck with no proper twrp. and now my phone wont boot normally either. says its been corrupted. so how do i flash the firmware. i downloaded the german one, that you used and i click the file newflasher.exe but it doesnt prompt me to install it.

---------- Post added at 04:18 AM ---------- Previous post was at 04:05 AM ----------

Also when flashing the firmware, I get error

No USB device with vid:0x0fce pid:0xb00b !

Press any key to continue . . .

Should I be trying a different firmware....?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It's nice, that you have now the correct Fastboot/ADB :D

Please reboot into the fastboot mode with

fastboot reboot bootloader

Or

adb reboot bootloader

And not with the hardware keys, if you want to boot twrp

There is a bootloader bug

The newflasher error in Windows indicates that your computer misses the "download mode" (green led) usb drivers?

Does your device manager show something special after you connected your device in the green download mode?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
As of now my phone is bricked, it keeps saying it is corrupt. I want to flash over the new firmware. But when I hold vol down and plug in, the computer recognizes device, however the android driver has an exclamation point. So I will need to download another driver. What should I google for it so I can ensure proper download for my device? I'm not flash driver, and I'm not sure what this driver would be called.

---------- Post added at 12:11 PM ---------- Previous post was at 12:03 PM ----------

Also when I follow your command above about twrp, it goes black when I boot twrp. Or should I just flash twrp and then use your command of "fastboot reboot bootloader"
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Did you flash OEM to slot A and B, deactivated on the used slot vbmeta, flashed the v10 boot and vendor to the boot/vendor partition on the used slot and just "fastboot boot twrp.mg" the v8 twrp?

https://lmgtfy.com/?q=sony+adb+driver&iie=1

There from the sony page

Just connect the phone in fastboot mode/adb/download mode in windows and install the driver .inf file in the device manager.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
So I have correct driver for fastboot mode (blue led) but not for adb mode (green led)

Also, the stuff above that, I have no idea. I'll post my log briefly from command window.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Fastboot -> blue

Download -> green (to flash signed stock firmwares via newflasher)

ADB -> running system/twrp
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TPlatt:
Ok. Well I got newflasher to start working. As far as optional steps, what do I need to do?

---------- Post added at 12:24 PM ---------- Previous post was at 12:23 PM ----------

First optional step is asking if I want to dump trim area
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Ah, you already used xperifirm and newflasher.

Please deny it.

And you don't need to flash persist or both slots in newflasher.