yashsingh1/xdaforums huggingface dataset:
[Lenovo P11] CryptMan:
I found an "easy" method of editing the QCN files, use QCNView!

Sound a bit strange, well may be. But wait, you can save the binary QCN file as XML (XQCN)!

In that XQCN file there is a node called "NV_ITEM_ARRAY".

Let's say you would like to change OR better add (!!!) the item no "6858" then convert this DEC to HEX and change the byte order (little to big endian).

6858 = 0x1ACA => CA 1A

Every item is prefixed with "88 00 01 00" followed by the item id in HEX with changed byte order followed by "00 00" (or 00 01, 00 02, 00 03 ... if the item has multiple entrys like MAC address)

So now we have "88 00 01 00 CA 1A 00 00"

After this "item header" follows the 128 bytes of data.

Finally, if we had add an item to QCN, we need to fix the "Length" attribute by adding 136 decimal to the actual value (8 Bytes Item Header + 128 Bytes Item Data).

Hope that helps some people.
[Lenovo P11] Pervokur:
mb this will help you anyhow

j606f , A11 global

framework.jar /com/lenovo/system/SystemInfo.java

WIDEVINE_UUID = new UUID(-1301668207276963122L, -6645017420763422227L);

private static void initWidevineSecurityLevel() {

try {

final String propertyString = new MediaDrm(SystemInfo.WIDEVINE_UUID).getPropertyString("securityLevel");

final StringBuilder sb = new StringBuilder();

sb.append("widevine security level is '");

sb.append(propertyString);

sb.append("'.");

Log.v("SystemInfo", sb.toString());

SystemProperties.set("sys.lenovo.widevine_security_level", propertyString);

SystemInfo.sProps.put("widevine_security_level", propertyString);

}

catch (UnsupportedSchemeException ex) {

Log.v("SystemInfo", "init widevine info error!", ex);

}

}
[Lenovo P11] CryptMan:
I found am other QCN backup for J706F, it has been modifiert no serial no mac ... BUT it has some other items names "efs" and "rffe_scan.dat". Still L3 but my GPS is working again.

Can anybody please have a look if there device has this items present?

Thanks
[Lenovo P11] MrCrayon:
Yes, comparing your QCN to mine, apart from the missing NV Item 572 and NV items for Mac addresses and SN, these were the differences:

Provisioning Item Files:
ADDED /cgps/nv/item_files/me/auto_min_gps_week: size 4
ADDED /nv/item_files/mcs/tcxomgr/xo_factory_cal_debug: size 76
CHANGED /nv/item_files/mcs/tcxomgr/field_cal_params: size 70
CHANGED /nv/item_files/mcs/tcxomgr/ifc_c1_filter: size 120
CHANGED /nv/item_files/mcs/tcxomgr/field_aging_data: size 58
ADDED /nv/item_files/mcs/tcxomgr/xo_crystal_type: size 4

NV Items:
CHANGED NV item: 4212 [NV_XO_TRIM_VALUES_I], index 0
CHANGED NV item: 4953 [NV_XO_FIELD_CALIBRATION_I], index 0
CHANGED NV item: 4954 [NV_XO_FACTORY_CALIBRATION_I], index 0

EFS Backup:
ADDED /rfc/rffe_scan/rffe_scan.dat: size 116, timestamp 1970/01/01 00:00:00, attributes -AD
ADDED /nv/item_files/rfnv/00028967: size 16, timestamp 1970/01/01 00:00:00, attributes -AD

The difference is that in the saved file I have from QCNView I don't have anything under "Item File Backup" maybe it's only shown but not saved.
[Lenovo P11] CryptMan:
I have compared this and perist.img, looks like my periste is missing:

and this magic /data/[long_random_string]/[long_random_string] ... may this is part of Widewine?!

This is my QCN now:

Then I investigated locgat again while starting "DRMInfo", I feel (but I'm NOT 100% sure) that this "trying L1 is new", may we are on a good way? Don't know.

Look like this "QSEECOMAPI: Error::Cannot open the file /vendor/firmware_mnt/image/widevine.mdt errno = 2" has gone?!

I have traced down where this file is, relating to the mount command it is "sde23", which maps to "modem_b", and relating to the flash XML this is "NON-HLOS.bin". I took a look inside, it's FAT16 filesytem, and there it is the "widevine.mdt". So is anybody get's the error above, try flashing modem.

But now I found this while booting:
[Lenovo P11] CryptMan:
I'm still digging around.

Looks like my modemst1 & modemst2 are also gone. If anybody have a copy would be very nice.

I wrote QCN from different internet source, which make my GPS working again, but then I read it back to compare I notice that the device ID is not the one it should be.

I believe that 24656 is more correct then 4115, because SM7150P leads to Snapdragon 730 (which should be correct) ... but 4114 leads to Snapdragon 835 (which is wrong in my opinion).

On my J606F the same, if I read QCN it is 4110 = MSM8952 = Snapdragon 617 (wrong) ... should be Snapdragon 662/665.

Could it be that QFIL does not work with these new devices? Or do I something wrong?
[Lenovo P11] MrCrayon:
As far as I understand it from various posts modemst1 & modemst2 are kind of data or cache paritions, it's advised to erase them when you flash a new radio firmare, so the content does not matter.

https://xdaforums.com/t/guide-osprey-fastboot-flashing-factory-firmware-images.3187750/post-62533515

Are you completely missing the partitions?

If yes how are you going to restore them even with the images?

If I read my untouched QCN it also says Phone Model 4115.

Maybe it's just missing the model and using the last available :unsure:

It should not matter as far as the other data is concerned.
[Lenovo P11] CryptMan:
Hmm,

looks like you are right. The content.xml say's the same. Erase.

After some reboot, they now looks okay to me.

<partition_info>
<partition fastboot_erase="true">modemst1</partition>
<partition fastboot_erase="true">modemst2</partition>
<partition fastboot_erase="true">fsg</partition>
</partition_info>

Sorry if I'm inaccurate in my sentences. English is not my native language.

As I say my partitions are "gone", I mean they exist but are empty and filled by "0x00".

But thank you anyway, because you pointed me to "fsg". Also empty on my device.

Relating to "rawprogram5.xml" from my "Factory Rescue Package" this partition will be flashed with "fs_image.tar.gz.mbn.img". The file is present in the normal ROW ZIP as well. SHA1 hash is the same for CN-ROM, ROW-ROM and this rescue package. But it is NOT referenced in the normal ROW-ROM's flash xml.

Same goes for "sec.elf", also only flashed in "rawprogram4.xml" from rescue to "secdata".

I have flashed this "fs_image.tar.gz.mbn.img" to my "fsg" partition but still no change in Widevine level.

May I try to factory reset the device? May the QSEE/TEE needs to find this "new" partitions and then starts doing things? Don't know.

One other question, may can I ask you, to please upload this files from your persist partition?

/audio/cirrus_f0
/audio/spk1_cal
/audio/spk2_cal
/audio/spk3_cal
/audio/spk4_cal
/camera/calibration.bin
/coresight/qdss.agent.sh
/coresight/qdss.config.sh
/coresight/qdss.functions.sh
/sensors/file1
/sensors/registry/registry/sns_dynamic_sensors
/sensors/sns_diag_flush

I noticed that my speaker's sound very bad in comparsion to my J606F. May this calibration files are needed to have the speakers work as "JBL".

Or is there any other way to generate them? I tried factory test, but this does not generate them.

Many thanks in advance.
[Lenovo P11] CryptMan:
Sooo, I went through Rest&Wipe all data (and all partitions again ...), unlocked & relocked the bootloader and finally flashed that magic "ROW_Factory_Rescue".

Very interesting experience, I ended up in an chinese Android 10 with "fancy" tools (see attached screenshot).

However ... still Widevine L3.

BTW: My GooglOne1 backup did't work. I really hate this Android-Backup bull**** :(
[Lenovo P11] CryptMan:
This is soooo strange. After flashing ROW Android 11 the "QSEECOMAPI: Error::Cannot open the file /vendor/firmware_mnt/image/widevine.mdt errno = 2" is back.

I have investigated the NON-HLOS.bin from Android 10 and Android 11 ROM ...

Android10:
widevine.b00
widevine.b01
widevine.b02
widevine.b03
widevine.b04
widevine.b05
widevine.b06
widevine.b07
widevine.mdt

Android11:
widevine.mbn

I don't understand this. Why is does A11 search for widevine.mdt while only widevine.mbn is in the image?

I have copied the "missing"? widevine.mdt to ne NON-HLOS.BIN, that gave me error "Invalid tz app architecture", then I flashed tz.mbn from Android 10 while Android 11 is installed. Now I have a new error:

02-22 23:29:32.492 933 933 I QCOM-OEMCrypto: -----------------------------------------------------------------
02-22 23:29:32.493 933 933 I QCOM-OEMCrypto: Error stack trace[1] for TA version 1:75
02-22 23:29:32.493 933 933 E QCOM-OEMCrypto: i_widevine_oemcrypto_is_keybox_or_oemcert_valid : 914
02-22 23:29:32.493 933 933 I QCOM-OEMCrypto: -----------------------------------------------------------------
02-22 23:29:32.493 933 933 E QCOM-OEMCrypto: Error at _oecc05 : 756
02-22 23:29:32.494 933 933 W WVCdm : [oemcrypto_adapter_dynamic.cpp(916):LoadLevel1] Could not find /factory/wv.keys. Falling Back to L3.
02-22 23:29:32.496 933 933 I QCOM-OEMCrypto: OEMCrypto_Terminate
02-22 23:29:32.496 933 933 I QCOM-OEMCrypto: Cleanup OEMCrypto library
02-22 23:29:32.496 933 933 I QCOM-OEMCrypto: Freed all scratch buffers

Will try to find these "/factory/wv.keys" tomorrow ...
[Lenovo P11] arjun_m4:
I think what's happening here is that during the upgrading from Android 10 to 11 we somehow lost factory/wv.keys.

The OEM Crypto API calls for this files and since it's missing or corrupted it automatically takes the lowest security level for DRM that is L3.

I think in order to fix this we have to replicate the wv.keys file, maybe copy from L1 device or if we can get the initial structure of the device we can somehow make it ourselves.
[Lenovo P11] Ng Huy Viet:
Thank you very much, i was able to restore my bluetooth mac address with your method
[Device Reviews and Information] areeb47:
Hey Sammy fans, I know you might have been waiting for today for a long time, so have I.

Samsung Unpacked finally happened. The Note series has been discontinued, the soul of it is now residing is S22 Ultra.

Thankfully, unlike the S21 Ultra users, they won't have to carry the S Pen separately in a bulky case.

I prepared a few comparison points among the devices. Have a look:

View attachment 5533047

You can also sit-back and watch this video if you don't feel like reading:

Note 20 Ultra users, will you be upgrading or going to stick with current device?
[Windows Mobile Development and Hacking General] jmprince80:
I have an exec, and the screen is broken, im not intending to replace it, however I would still like to be able to make some use of the device, i was wondering if it was possible to install VNC or some way of running/installing applications on it without the screen?

I would like to attach it to my network for sending SMS and maybe as a backup gsm/3g modem if the cable network goes down, or as a FXO for routing outgoing calls over GSM via our voip network...

What would be the best (if any) way of going about this? I am thinking maybe the only way would be to install linux to a SD card and connect to the exec via SSH and set everything up using that, but that also creates the problem of how to boot linux using the loader for win mobile whilst still having no screen!

Any ideas would be very welcome, it seems a shame to waste such a feature packed device which has such low power consumption.
[Windows Mobile Development and Hacking General] skyegalen:
My Mobiler

Should meet your req's
[Windows Mobile Development and Hacking General] the_fish:
its not worth to replace the screen? u can get them at ebay...
[Windows Mobile Development and Hacking General] jmprince80:
re fixing screen

the screen is this device's second weak point, and the first is the cable which connects it to the motherboard. Both items are relatively expensive and i have replaced them several times, it seems like a waste of money to me, and i would find more use for the device as i described above...

I really don't miss the bulk of this "phone" in my pocket :)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
Central project page

https://xdaforums.com/t/sodp-rom-aosp-xz2-xz2c-xz3-sonyaosp-12-alpha.4400545/
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
14.02.2022
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
30.03.2022
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Carljaynp03:
a question why you don't upload photos of the user interface, and what options are available, I currently have the Xperia XZ2 Compact, and I'm thinking of changing the rom for this one based on Android 12.1
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
It's 90% aosp.

Please report any bug in the linked issue tracker.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Carljaynp03:
any direct contact number for more information I am new in the world of custom roms, I want help, I can contribute with the work done please
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
Thank you, please follow the link in the first post. :)

There it is also in the first post.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
12.04.2022
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Mint rhfo:
Bug....the touch does not work and it seems to reboot intermittently
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
Bug....report?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Mint rhfo:
Yeah! It's Bug report!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
I don't see a valid bug report according to the instructions.

Or you claim that I'm god and know everything.

But maybe I'm god, who knows. :geek:
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] BigWoodFarmer:
Hello,

Android Custom Rom noob here. Just picked up a XPERIA zx2 Compact and wanted to use this guide to flash a more current Android on the phone (came with Android10).

I followed some guides and was able to unlock my bootloader and enable USB Debugging. I used adb platform tools to boot the device in fastboot mode and flashed the files as described in the instructions.

Errors encountered:

fastboot flash oem _a SW_binaries_for_Xperia_Android_12_4.19_v1c_tama.img

fastboot: error: cannot load '_a': No such file or directory

I changed the command to: fastboot flash oem_a SW_binaries_for_Xperia_Android_12_4.19_v1c_tama.img

Sadly, the device reboots after a few seconds showing the sony logo. Reboots about three times and then says corrupted image, then shuts down. What am I doing wrong?

Thanks for your help guys!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
Hey,

I'm sorry and fixed the type.

There was a wrong whitespace character in the manual.

It's `oem_a`, that's correct.

Did you flash everything and wiped the userdata before?

Because other XZ2C owners were able to post logs.

Also it is mandatory to run the latest stock firmware on both slots once before in the lifetime of your phone.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] BigWoodFarmer:
Hi,

Thank you for your fast reply. I flashed everything and wiped as described with "fastboot -w"

I am unsure what you mean by both slots, you mean Firmware and Software Content Erase? I used EMMA to flash: H8324 52.1.A.0.618 Customized_UK 1313-5469 R3C User-Live COM on the device.

Some other questions I had:

a) Do I need Magisk for root on the device?

b) can I use another Version the twrp 3.4.0.0.? If I install this to my recovery partition, I can't use it when booting since the screen seems frozen.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] BigWoodFarmer:
sry for asking some dumb questions in my last post. I was now able to install this Android 12 Version. I think the problem was, that i didn't wipe the device before the deployment.

Thanks again for all your work on this.

*EDIT*

Can you suggest a twrp version I should use? I cannot start 3.4-0-0 (2020-06-14_21-07-37) anymore using fastboot boot

**EDIT #2**

I received the following error: "there is an internal problem with your device, contact manufacturer". I will attach output of logcat -b all
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
20.05.2022
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] bob1791:
Hello, what changes between this rom and the stock based roms ?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
More open source

Newer kernel

Changes are upstreamed to kernel.org to reduce the amount of closed source blobs

Newer security patch level.

Stock will be forever on an years old vendor security patch level

Sadly since the war in europe the development slowed down.

So it has open bugs.

The stock (kernel) is older and doesn't get updates, but also has less bugs since it never changes.

(But has more open security issues)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
13.06.2022

PS: Still uploading
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
20.06.2022
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
23.07.2022
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Carljaynp03:
the support for BLUETOOTH controls, for example the PS4 is not compatible, I pair it and it is still not recognized
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
Please report it in the GitHub issue tracker.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
06.08.2022
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Carljaynp03:
I'm an average user, I don't know how to report the Bluetooth bug to the developers.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] MartinX3:
Please use the manual from the first post.

I don't own a PS4 controller.
[Sony Xperia XZ3 ROMs, Kernels, Recoveries, & Other] MartinX3:
Central project page

https://xdaforums.com/t/sodp-rom-aosp-xz2-xz2c-xz3-sonyaosp-12-alpha.4400545/
[Sony Xperia XZ3 ROMs, Kernels, Recoveries, & Other] MartinX3:
14.02.2022
[Sony Xperia XZ3 ROMs, Kernels, Recoveries, & Other] MartinX3:
30.03.2022
[Sony Xperia XZ3 ROMs, Kernels, Recoveries, & Other] MartinX3:
12.04.2022
[Sony Xperia XZ3 ROMs, Kernels, Recoveries, & Other] MartinX3:
20.05.2022
[Sony Xperia XZ3 ROMs, Kernels, Recoveries, & Other] MartinX3:
13.06.2022

PS: Still uploading
[Sony Xperia XZ3 ROMs, Kernels, Recoveries, & Other] MartinX3:
20.06.2022
[Sony Xperia XZ3 ROMs, Kernels, Recoveries, & Other] MartinX3:
23.07.2022
[Sony Xperia XZ3 ROMs, Kernels, Recoveries, & Other] MartinX3:
06.08.2022
[LG G4c Questions & Answers] mirexd:
Hello, my old LG G4c restarting itself and saying kernel crash demigod crash handler.

I try to flash stock rom via LGUP but now its fully bricked, when I try to enter in dload mode say: boot verification fail cause different hash

and when lg logo appear on screen say "security error".

Can I fix this?
[LG G4c Questions & Answers] PetiHun08:
did you dind a solution?
[Android Head-Units] ubi_juan:
Today I start the car and my mirror only stays on the junsun screen and does not advance. Does anyone know how to do a hard reset?
[Xiaomi Redmi 6 Questions & Answers] Sucharek 233:
Hello, I have a very annoying bug on my phone. When I turn off the screen, GPS will signal is lost. I recently got a Mi Band and I record my workouts, but I can't use GPS because of this.

I tried setting the Mi Fit app to have no restrictions in the settings, turning off battery saver, using a maps to keep GPS on (that actually worked once, but only once), but none of them worked...

If someone got a fix for this, please tell me.
[Xiaomi Redmi 6 Questions & Answers] Sucharek 233:
Ok, so it magically started working.

I don't think there's a fix for this.

I'll try installing a custom ROM.
[Touch Diamond, MDA Compact IV Themes and Apps] diers:
Hi all,

would it be possible to use the HTC as a gamepad for Windows XP or Vista games, linked via bluetooth or wlan.

So you can control your games on your computer with your HTC.

Thanks a lot.

Daniel
[Touch Diamond, MDA Compact IV Themes and Apps] Brendo:
have a look at gremote in this part of the forum ;)
[Touch Diamond, MDA Compact IV Themes and Apps] Prof.Kamil:
i vote for gremote too :)
[Huawei P30 Questions & Answers] Arvind Kpuryag:
My huawei p30 doesn’t have this option. Just the 2.4 ghz band. Does p30 normally have this option?if so what can I do?
[Huawei P30 Questions & Answers] rajman:
Might depend on Phone version

C431 have this option

ELE-L29
[General Questions and Answers] Arvind Kpuryag:
I only have the 2.4 ghz option in p30. Normally is there a 5ghz option?if so what can I do to have the 5ghz option?
[General Questions and Answers] Oswald Boelcke:
@Arvind Kpuryag Thread closed as duplicate of

https://xdaforums.com/t/5ghz-wifi-hotspot.4400561/

Please review the XDA Forum Rules with special emphasis on rule no. 5 and post only ONCE! Thanks for your cooperation.

Regards

Oswald Boelcke

Senior Moderator
[Samsung Galaxy S22 Ultra] howie411:
I've always purchased unlocked Samsung phones, but lately Samsung has been super slow updating them compared to the carrier phones. About to pull the trigger on an S22 Ultra and leaning more towards the T-mobile branded one then the Unlocked one. I can always delete most of the bloatware.
[Samsung Galaxy S22 Ultra] blackhawk:
I have a N975U and a N975U1. Both are near identical. However if you replace say the C port pcb you need to get the correct one for that variant. Both have bloatware.

If you can get a better deal with TMOBILE that might be best. I don't know what they throw on their phones.

As for updates especially firmware... they tend to break phones especially branded ones.

Rule #1- if an OS is fast, stable and fulfilling its mission let it be!

My oldest N10+ is still running on Pie, the current load will be 2 yo in June, still fast and stable. Security is simply not an issue with it... unless you do something stupid. There's no saving dumb bunnies... so forget the scare hype.

Know the vulnerabilities, mitigate as best as possible but most of all always be careful what you install and download. Zero tolerance for any malware, if it can't be eradicated in an hour or two, factory reset.
[Samsung Galaxy S22 Ultra] baddison:
I got the unlocked Note 20 Ultra directly from Samsung, because at the time, AT&T didn't offer the 512gb. Today, I purchased the Galaxy 22 Ultra directly from Samsung because AT&T is not currently selling the 1TB version. Also, I find that the Samsung bloatware is considerably less than that of the phone carrier.
[Samsung Galaxy S22 Ultra] blackhawk:
I just use a package disabler on both. Operationally there's no discernible difference although I don't use any of the AT&T features.

Point is both variants are a mess without the package disabler... I was hoping the unlocked version make me say "wow", not meh🤣

Be real swell of Samsung if they had a built in package disabler...
[Samsung Galaxy S22 Ultra] dmb219:
The S22U I ordered is the 1st Samsung phone I've ordered that was not an AT&T model. I need wifi calling and the word is it works on unlocked Samsung phones now. Samsung loads up all their phones with stuff but the AT&T models get the super deluxe bloatware package. It would be great if they gave you more control of what you have on your phone but they have made some pretty nice changes lately with the OS and updates.
[Samsung Galaxy S22 Ultra] One4mNoWhere:
I ordered S22U 512gb T-mobile version from Samsung hoping to take advantage of the carrier aggregation and other network improvement. I have Note 20 Ultra 5g unlocked on T-mobile and it does not perform better compared to the iPhone 13 Pro Max. Mostly I have to have the Note on 4g LTE to get great performace. So hopefully I made the right choice.
[Samsung Galaxy S22 Ultra] gettinwicked:
I thought that the unlocked versions got the security and OS updates first. That alone would be enough for me to get one. However, Samsung doesn't accept pixel 6 pros for trade in yet.. Verizon gave me $1000, what I paid, so, kind of had to do that.. Hopefully I'm wrong!

I do know that you CAN get Verizon at least to unlock your phone. I'll have to see about that for sure.