yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Markus-E:
I am trying to boot into sodp-TWRP on my Sony Xperia XZ2C H8324 that has Android 10 installed.

As a preparation I did:

- install adb and fastboot Version 30.0.1-6435776

- unlock bootloader

- downgrade firmware from 672 to 52.1.A.0.618 with Emma

- download and unpack 2020-05-11_15-45-43_twrp_sodp_xz2c.tar.gz

- device is connected via USB to the Windows 10 computer

My steps are:

- reboot device with "adb reboot bootloader"

- "fastboot devices" shows my device

- Execute "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" with "writing 'vbmeta' OKAY" as result

- Execute "fastboot.exe boot twrp-xz2c.img" with "Booting OKAY" as result

At this step I get stuck with the following behavior:

- Device reboots

- The "Bootloader is unlocked" screen appears

- For 20-30 seconds I get a black screen and the led is blue

- The Sony logo appears for about 10 secs

- The led flashes several times in red

- The "Bootloader is unlocked" screen appears

- The Sony logo appears for about 10 secs

- The "powered by android" logo appears

- The xperia logo appears

- Android has started

Since this behavior is not mentioned in this thread, I would like to ask, if someone has an idea, what I should do to start sodp-TWRP?

Booting into stock-TWRP (2020-03-31_21-30-58_twrp_stock_xz2c_52.1.A.0.618.tar.gz) works without problems.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please use the stock based TWRP for stock based ROMs like stock itself and the SODP based TWRP for SODP based ROMs. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Markus-E:
Thank you. Now I understand my error. I thought, that I have to use SODP-TWRP, because I intend to install a SODP-based OS. But the TWRP-type references the OS, that is currently installed.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] der.lange:
....new binaries 7.1 available.........
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Nice, thank you!

Now I just need to wait for the new security patch level.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cctoti:
Don't have any Recovery android 10 file in XZ2 Dual Folder. So sad

Anyone can install recovery in XZ2 h266 & install adroid 10 cook rom ????
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The Single sim folder is fine.

There is no difference to the dual sim variant.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] student42:
Touch screen is not responding

for some reason i cant use my touch screen after booting twrp-xz2.img in my XZ2 SOV37 version. I already tried all the android 9 xz2 stock recovery version. is there any solution for this problem
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You can run it on a Japanese SOV Model and you was able to unlock it? O.o

The last one reporting me his trying to unlock it had a hard broken device.

Does the 10.0 TWRP work?

I provided test .img files to fix it in 9.0, but only for the XZ2C since no XZ2 user reported problems.

It should work out of the box in 10.0.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Bork Bork:
Any ideas if Stock TWRP will boot on Stock LOS once it's built for 52.1.A.2.1?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The security patch level need to match if you want to decrypt userdata.

Regular stock is one month behind.

I'll put it on my todo list. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
52.1.A.0.672 stock kernel sources are now available

high pitch crying noises
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MrMmmkay:
Wow, 52.1.A.2.1 is out and they bring the sources 52.1.A.0.672, I am soooo impressed ??
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Aaaaand 52.1.A.2.1 stock sources got released.

Yay, may begging did work. :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MrMmmkay:
Okay... That was unexpected ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
This means TWRP for 52.1.A.2.1?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Yes

I'm working on it this week plus a refactoring of the twrp device tree
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The refactoring for the SODP twrp is now completed.

It'll work without a flashed ROM (vendor/system/oem partition)

Here runs now a nice 3.4.0 TWRP (new version since today)

Now what's left

- the STOCK TWRP touch driver refactoring, since the touch drivers aren't in the stock kernel, but external kernel modules which get started by bash scripts in stock.....

- stock twrp without decryption to always work

- sodp twrp without decryption to always work
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] der.lange:
:svetius:

:good::good: Congratulations!!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Olivier:
That's correct, but those kernel modules can also be built as part of the kernel image, just like on SODP. Shipping prebuilt kernel modules isn't necessary when the kernel is built from source anyway. Here's a list of commits you can cherry-pick so that all touchscreens work:

Synaptics TCM driver

Synaptics ClearPad driver

Atmel mXT640U

BTW: I'm pretty sure you don't need to rebuild TWRP monthly for decryption to work, nor do you need to merge and rebuild the stock kernel after every update - you can simply use a fake security patch level. Here are a few examples:

BoardConfig: hack: set security patch to 2099

pioneer: Set custom PLATFORM_SECURITY_PATCH for FBE decryption

pioneer: Migrate to custom SPL/android version props

x2: Set PLATFORM_SECURITY_PATCH far into the future
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
11.06.2020
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Aye, thank you for the touch kernel commits.

I put them on my todo list and hope I will be able to merge them.

Then only the XZ2 Premium is left.

About the security patch level I made weird experiences with the tama plattform and its keymaster.

The last time I tested it with the stock kernel of a previous stock release I got a "bad argument" exception by the keymaster, while I set the correct patch level.

Updating it to the latest stock firmware fixed that.

It was weird for me too. I don't know which part of the kernel source should be connected to the security patch level and I doubt that.

The other experience I made in the past was, that if I put the security patch level into the future I get a upgrade key exception from the key master.

If the build date from the kernel was in the past, I got a "bad argument" exception.

The twrp developers told me that this is connected to the "fastboot boot twrp.img" and that a direct flash would handle it differently.

And thank you for the security patch level commits.

I tested most of them in the past, but maybe I will have luck after testing it again.

I miss the recovery partition.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] strauchjam:
Does this twrp work with the unofficial lineage17 from olivier, he uses the stock kernel?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I assume it has the patch level June 2020?

Then I need to solve this weird keymaster decryption stuff
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] strauchjam:
the build is from 20200525, so it should be mai patch level.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Then it should work.

Please report. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] strauchjam:
should i use the twrp for sodp or stock.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Since it's a stock based rom with a stock kernel and stock dtbo, you should use the stock twrp.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] strauchjam:
i will try it on weekend and report :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Bork Bork:
Since LOS now comes with it's own recovery TWRP fails to boot. At least on Sjll's build. In fact, it fails and tries to boot as the kernel instead (by the looks of it) which ends with a "your device is corrupt" message.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please follow the instructions and don't flash the twrp on the device until I fixed it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Bork Bork:
I followed the guide:

Downloading LOS slowly since I don't have backup of boot.img.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aragorn771:
"Tried to re-root in the current rom but TWRP keeps failing to install Magisk."--------> Nevermind.....got it! Thanks again!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
13.06.2020

Please test and report back if you got any touch / decryption problems.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] der.lange:
SUCCESS!!

-Reboots from Twrp into recovery-mode

-Reboots from LOS into Twrp selecting recovery

-Boots into Twrp pressing power and volume down

Thanks again for this great work!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] matteopola:
If i'm on existenz quindim, have i to flash the stock firmware? or just boot it and install ramdisk from there?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It is based on the stock 10 with its kernel

It should just work
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] serajr:
Amazing support and work - as always. Thank you so much!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] matteopola:
I tried to install it on existenz quindim and I succeeded, but since it was installed touch doesn't work and every time I reboot into it decription is always required.

Thank you a lot in any case, now I can use TWRP whenever I want!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Are you on the may kernel (52.1.A.2.1)?

(I assume the hardware drivers for touch may break with a future stock rom kernel, so I should integrate them into the stock kernel. And the XZ2P will be maaaybe out of luck.)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] der.lange:
.........magisk has to be reinstalled............
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
That's normal.

The "Install ramdisk feature" replaces the installed ramdisk with the TWRP one.

Magisk also sits in the ramdisk.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] matteopola:
I think I'm still on the .0.618, as it comes with the rom. Is it possible to update it even if the rom is not based on that version?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please ask the author of the existence ROM.

But watch out if you ask for an ETA, he may throw with things. :silly:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] matteopola:
Sure, no ETA!

As general question: which .img file (so partition's name) the kernel is? I was into rooting and modding some years ago, but things seem to have changed recently...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The boot to boot the phone :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] matteopola:
ok this was stupid... thank you
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Beetle84:
You can use the latest firmware (.1) with v1 eXistenZ quindim. Works fine mate :good:
[Samsung Galaxy Note 10 Questions & Answers] renehd2:
As title says. One friend wants to change his galaxy note 10 for my Oneplus 7T (256gb version). Im a fan of both phones, i had the note 9 and then i jumped to the Oneplus 7T. I miss all the productivity stuff on Note series (including the pen features), but One UI is a little boring to look at.

Oneplus fast Charge is amazing and the phone itself is blazing fast. Some things i miss are the pen, water resistant and productivity stuff

Can you guys givd your opinion please?

Enviado desde mi HD1900 mediante Tapatalk
[Galaxy Note 4 Q&A, Help & Troubleshooting] O's:
EDIT: So, given that no Oreo/Pie ROM can match the TouchWiz features below, serious question: Why in the world does everyone prefer vanilla Android? I don't want to have to find 10 apps with extra steps just to replace system-level features of a skinned ROM. So vanilla Android honestly makes no sense to me.

---

I'm the rare N7 TW holdout. I LIKE TouchWiz, particularly Note 7 ports, where I guess they called it Samsung Experience.

But I can't stay on Marshmallow forever.

For Oreo/Pie/10 ROMs, what ROM has the below features? Or what's the easiest way to replace them?

Call recording built into the Dialer/In-Call UI

Scroll Capture (vertically scrolling screenshots)

SNote-type note app (seriously, the font choices, point size, text frames, etc. make it tough to beat)

RELIABLE SIM (since all newer N4 ROMs seem to have SIM death)

Robust photo editing built into the Gallery

ETA: The clipboard.

Probably more, but if someone knows how to replace those as close to system level as possible, I'd probably go that route. Thank you for any feedback!
[Galaxy Note 4 Q&A, Help & Troubleshooting] QuoPrimum:
The best replacement for snote seems to be squid, but some things there cost $.

FYI I am also on the same boat, but I'll be holding out on marshmallow for since time longer.
[Galaxy Note 4 Q&A, Help & Troubleshooting] O's:
I like your style! I'll check out Squid!
[Galaxy Note 4 Q&A, Help & Troubleshooting] kevintm78:
I'm also partial to TW but have been using some open source pie roms lately and for the most part I don't miss much about TouchWiz. The spen is the biggest cost for me personally. I had never tried squid before but I just installed it and my initial impression is favorable to some others I've tried. Spen commander works well for some people and I like Evernote as well but so far nothing they all lack the integration and intuition of the stock spen features and due to the proprietary nature of it there's a chance that won't get much better.

Due to the extra steps required I haven't even been using the spen with those roms since the convenience of it just isn't the same. Also, scroll capture fits in the same boat. There are apps to replace that function but it's certainly not as convenient as just using the spen.

Everything else, from my point of view, works well. The camera does fail every once in awhile. It's not often but often enough to be aggravating depending on your usage.

Looking through most of those rom threads you'll see plenty of people claiming that those roms are as reliable as stock or that all/most stock functions can be replaced but that's just not been my experience. However, there are plenty of things that I do like about the newer OS's and the reliability gap isn't as big as I assumed it was going to be. They're certainly prettier than 6.0.1.
[Galaxy Note 4 Q&A, Help & Troubleshooting] O's:
All great to know.

Funny to hear YOU say it, though. I'm feeling a bit starstruck to see your reply. You're one of the reasons I've stuck with TW! Flashpoint's nonnegotiable for every TW ROM. Thank you for your great work!
[Mogul, XV6800 General] BK111968:
I'm interested in the Motorola P790 portable charger (unless you know of a better one) but it needs a mini usb connector to work.

Is the connector on the XV-6800 a mini usb?

Thanks!
[Mogul, XV6800 General] TheQuietLion:
yep

mini-usb

a lot of times i just use a mini-usb to regular usb cable and charge from my laptop when out and about
[Mogul, XV6800 General] Pegasus"143":
Walmart sells a great retrckable charger for moto that is perfect and only costs 15.00 dollars
[Samsung Galaxy S9+ Questions & Answers] Eye_of_Osiris:
Most Vendor image files for S9 plus, are impossible to find. I've been searching some of them for more than half a year. How I wish they where uploaded somewere visibly. The whole vendor image addition turns out to be an other nightmare deviced by Google to make our lives harder, not safer.

Devs please help us!

Devs, you are our only possible saviors when facing this incredibly annoying matter.
[Samsung Galaxy S9+ Questions & Answers] ShaDisNX255:
You can easily extract the vendor img from stock firmware downloaded on sites like sammobile or samfirm. Just open the AP_ file with something like 7zip or winrar and the vendor image is right there you don't need any developer to do it for you
[Samsung Galaxy S9+ Questions & Answers] Eye_of_Osiris:
Thank you Very much my friend!!

I will try this today.
[Samsung Galaxy S9+ Questions & Answers] francisthedeveloper:
You can find easily vendor on s9+ android 10, by using other oneui custom rom like alexis rom, Basic.
[Android Q&A, Help & Troubleshooting] jkbee26:
Hi everyone !

What DRM is required to have Prime Video in HD on a smartphone? Microsoft Playready or Widevine L1?

Thanks in advance
[Android Q&A, Help & Troubleshooting] jkbee26:
No one has the answer ?
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] DienoX:
Hey, I need some data about S20.

Could you do that

1. Install AIDA64 https://play.google.com/store/apps/details?id=com.finalwire.aida64

2. Open the app

3. Select display

4. take a screenshot

5. Send it to XDA

Thank you so much for doing this.
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] mez981:
Here you go
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] DienoX:
Thank you very much.

Could you still send screenshots of other information from this application? CPU, ram, os etc

Also could you send a screenshot of GPSTEST?

https://play.google.com/store/apps/details?id=com.android.gpstest
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] mez981:
Check
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] DienoX:
Thank you very much for that.

Could you also send a screenshots from:

- system-> device features

- network

- devices -> camera and fingerprint and vulkan device (API version)

- thermal

- codes

Maybe it would be more convenient for you not to take so many screenshots but generate a report in the application?

You will do it by choosing 3 dots in the upper right corner of the application.

Then choose save report and share this file as an attachment here in the forum.
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] mez981:
Network
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] mez981:
Camera
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] mez981:
Remaining
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] mez981:
Thermal
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] mez981:
Sorry, not willing to share full report
[Samsung Galaxy S20 / S20+ / S20 Ultra Guides, News] DienoX:
No problem. You have already helped me a lot. Thank you very much for taking these screen shots.
[Huawei P30 Questions & Answers] korom42:
I'm getting this device soon, I wonder if anyone has tried using Google Cam ? Does it even work?

A working GoogleCam port will give the excellent image processing software from the pixel 4. Maybe this can boost camera quality even further.

You find different versions to try from here: https://www.celsoazevedo.com/files/android/google-camera/
[Huawei P30 Questions & Answers] korom42:
Update: GCam Go seems to be working

bugs : no HDR, no video recording

https://www.celsoazevedo.com/files/android/google-camera/dev-parrot043/
[Huawei P30 Questions & Answers] kunjar:
Why have you linked to that particular dev? Does his version work best for Huawei devices namely P30 series? Or if you know from personal testing is there a better variant for P30 series?

Thanks.
[Upgrading, Modifying and Unlocking] fabricio6791:
hi there...please anyone can help me? can i root my zenfone without unlock bootloader following these steps:

1 - download last stock rom;

2- extract boot.img;

3- patch boot.img with magisk manager;

4- compress again stock rom with patched boot.img;

5- install new stock rom "patched".

so, can these work? or brick my zenfone max?

or can i try with only error message and no brick?

thanks guys... and sorry about my english...
[Touch Diamond, MDA Compact IV General] sushilange:
Hi,

since Diamond TF3D Config v.0.5 my app supports a custom tweak-file!

Just create a XML-file called 'tweaks_custom.xml' and copy it to program folder of Diamond TF3D Config! Those tweaks then will be shown in the tweak-list of my app. They have a gray background color in tweak-list.

The XML-file have to look like this:

<?xml version="1.0" standalone="yes"?>
<Tweaks>
<Tweak>
<Name>Name of Tweak 1</Name>
<Description>Description for Tweak 1</Description>
<RegRoot>HKLM</RegRoot>
<RegKey>Software\HTC\Manila\Program Launcher\0</RegKey>
<RegValue>DispName</RegValue>
<RegValueKind>String</RegValueKind>
<DefaultValue>Hello</DefaultValue>
<NewValue>World</NewValue>
</Tweak>
<Tweak>
<Name>Name of Tweak 2</Name>
<Description>Description for Tweak 2</Description>
<RegRoot>HKLM</RegRoot>
<RegKey>SYSTEM\GDI\GLYPHCACHE</RegKey>
<RegValue>limit</RegValue>
<RegValueKind>DWord</RegValueKind>
<DefaultValue>8192</DefaultValue>
<NewValue>32768</NewValue>
</Tweak>

</Tweaks>

Name: Name of Tweak. Keep it short like I did in my tool

Description: A description of what the tweak will do! DO NOT descripe which reg key will change, because my app will add these information automatically to the description text!

RegRoot: HKLM or HKCU

RegKey: the key

RegValue: the value to change

RegValueKind: String, ExpandString, MultiString or DWord

DefaultValue: the old default value

NewValue: the new value

So it is up to you to share good tweaks! Have fun!

Best regards,

Sascha
[Touch Diamond, MDA Compact IV General] teddyen66:
Nice one :-)

So much easier than changing it in registry every time.
[Touch Diamond, MDA Compact IV General] boxhillab:
Thank you so much!

I modify the xml file, please help me to check, make sure no problems.

If someone want to use it, just rename it to .xml then replace the exist file, and please give me some feedback, thanks!
[Touch Diamond, MDA Compact IV General] MonteCristoffOn:
Good beginning

Hi sushi,

Well, it's a great improvement ! And possibilities are endless...

But you already know that bad registry settings can do a lot of damage on a device.

So everyone must be careful with that ! :)

A suggestion : systematically add the default values for all keys or a reset functionnality for a stock registry restore.

Anyway, good job ! I will try it soon.

Thanks.

;)
[Touch Diamond, MDA Compact IV General] boxhillab:
we can backup by some backup tools:D
[Touch Diamond, MDA Compact IV General] MonteCristoffOn:
Of course boxhillab... but it's not very useful for common users.

You could add that a simple hard reset also do the job...

I think it's an important feature for any soft.

;)
[Touch Diamond, MDA Compact IV General] sushilange:
@Monte: DefaultValue is the old default value in the registry.

So just unchecking all tweaks in Diamond TF3D Config, and you have restored your registry.

That's why you all should named the tweaks so, that it is clear, why it is unchecked on default.

e.g. i add the tweak "NoFaceDownMuteRing", because "FaceDownMuteRing" is true on default, and on default a tweak in my app should shown unchecked.

I think that is easier for the user to understand.
[Touch Diamond, MDA Compact IV General] sushilange:
NO!!!

DO NOT replace the exist file! You have to rename your file to 'tweaks_custom.xml' and just put in the program folder.The 'tweaks.xml' file is mine, so don't replace it, because on every new version of Diamond TF3D Config the 'tweaks.xml' will be overwritten with a new version. The 'tweaks_custom.xml' won't be overwritten ;-)
[Touch Diamond, MDA Compact IV General] sushilange:
I know what you mean, but there are so many tools for doing this. For example Advanced Config.

I just want to implement easy tweaks for Diamond and TouchFlo3D, so that the user just have to check or uncheck. I think that is more user friendly.

Advanced user, how know what all these options do, are also know how to change this manually or do this with another config tool like Advanced Config, etc.
[Touch Diamond, MDA Compact IV General] boxhillab:
Oh..Sorry about that! I can't see 'tweaks_custom.xml'.

I'll rename it to 'tweaks_custom.xml'

Thanks!