yashsingh1/xdaforums huggingface dataset:
[LG V20 Questions & Answers] Worglers2:
Right, I saw that! It says it voids manufacturers warranty though. So what if I purchased another variant and unlocked bootloader and sent it in if I messed it up. Would it be a possible gamble of them fixing it vs them knowing my phone is bootloader unlocked because I officially unlocked it via website?

Or should I just purchase based 3rd party warranty, (such as square trade) and not worry about it?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
Reserved

Changelog

Sony Stock Patcher for X Performance - 23/10/2019
=================================================
* Update release to resolve 3.18 ramoops (o_v7.2.157)
> See commit 71d1aa14bdae1f38a56be10468556d43f108478a

Sony Stock Patcher for X Performance - 08/09/2018
=================================================
* Upgrade to Oreo 8.0.0 41.3.A.2.149/157 (o_v6.2.157)

Sony Stock Patcher for X Performance - 19/05/2018
=================================================
* Upgrade to Oreo 8.0.0 41.3.A.2.128 (o_v5.2.128)

Sony Stock Patcher for X Performance - 24/03/2018
=================================================
* Upgrade to Oreo 8.0.0 41.3.A.2.99 (o_v4.2.99)

Sony Stock Patcher for X Performance - 12/03/2018
=================================================
* Upgrade to Oreo 8.0.0 41.3.A.2.75 (o_v3.2.75)

Sony Stock Patcher for X Performance - 25/12/2017
=================================================
* Upgrade to Oreo 8.0.0 41.3.A.2.24 (o_v2.2.24)

Sony Stock Patcher for X Performance - 17/12/2017
=================================================
* Upgrade to Oreo 8.0.0 41.3.A.0.401 (o_v1.0.401)

Sony Stock Patcher for X Performance - 26/11/2017
=================================================
* Upgrade to Nougat 7.1.1 41.2.A.7.76 (n_v12.7.76)

Sony Stock Patcher for X Performance - 25/09/2017
=================================================
* Upgrade to Nougat 7.1.1 41.2.A.7.65 (n_v11.7.65)

Sony Stock Patcher for X Performance - 19/08/2017
=================================================
* Upgrade to Nougat 7.1.1 41.2.A.7.53 (n_v10.7.53)

Sony Stock Patcher for X Performance - 16/07/2017
=================================================
* Upgrade to Nougat 7.1.1 41.2.A.7.35 (n_v9.7.35)

Sony Stock Patcher for X Performance - 08/06/2017
=================================================
* Upgrade to Nougat 7.1.1 41.2.A.7.8 (n_v8.7.8)

Sony Stock Patcher for X Performance - 21/05/2017
=================================================
* Upgrade to Nougat 7.1.1 41.2.A.2.223 (n_v7.223)

Sony Stock Patcher for X Performance - 26/04/2017
=================================================
* Upgrade to Nougat 7.1.1 41.2.A.2.199 (n_v6.199)

Sony Stock Patcher for X Performance - 16/03/2017
=================================================
* Upgrade to Nougat 7.0 39.2.A.0.442 (n_v5.442)

Sony Stock Patcher for X Performance - 04/02/2017
=================================================
* Upgrade to Nougat 7.0 39.2.A.0.417 (n_v4.417)

Sony Stock Patcher for X Performance - 13/01/2017
=================================================
* Minor fix for enforcing SELinux (n_v3.361, m_v3.297)

Sony Stock Patcher for X Performance - 08/01/2017
=================================================
* Remove permissive for Stock 7.0 (n_v2.361, 39.2.A.0.361)
* Remove permissive for Stock 6.0, to fix WiFi (m_v2.297, 35.0.A.1.297)

Sony Stock Patcher for X Performance - 29/12/2016
=================================================
* Initial release for Stock 7.0 (n_v1, 39.2.A.0.361)
* Initial release for Stock 6.0 (m_v1, 35.0.A.1.297)
[Sony Xperia X Performance ROMs, Kernels, Recoverie] serajr:
[MENTION=2233641]Adrian DC[/MENTION] Congrats buddy!!

This is absolutely amazing. Confirmed that it is working on my XP with stock MM firmware (35.0.A.1.297).

I need to say that I was afraid of losing all my data due "encryptable" flag, but they were preserved.

Recovery working flawlessly on both ways to enter on it (combo-keys with device turned off, or normal boot with volume + key press).

But I have a question regarding whole process, is Permissive mandatory (# Inject the permissive cmdline)?

Edit.:

It looks like it is, but Permissive does break device's wifi connectivity (and maybe other things)!! Is there a way to set Permissive only if we choose to boot up into recovery?

Also, I'm creating a script to do the same! Gonna try it out.

Edit 2:

Done, script is working like a charm!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
Thanks, glad it works fine for you too

Nice catch, I had forgotten I had an issue 2 months ago on M with WiFi not working entirely,

and it's not an issue that can be found on Nougat so left it aside for the time.

It is indeed related to permissive, and with the recent changes I made for the Nougat support,

permissive is actually totally useless, therefore I made a new release for both M / N with updated kernel & no permissive changes.

Tested both situations with Stock M and Stock N, all works fine.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] serajr:
Thank you so much Adrian... everyting are working now. You're the one!

Just one thing, getenforce returns Permissive (yet)! Not a problem for me at all, but is that right?

I'm still on MM due development of my xposed framework modules.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
Thanks.

You patched the v2 on top of v1 ?

I don't share full boot or ramdisk, I modify them, hence better compatibility & less invasive changes,

and the permissive part is no longer touched, hence if you patched it, the kernel cmdline just stayed as it was.

If you want to, just reflash the boot from ftf (Kernel only listed), then reflash the v2.

You can also edit the bootimage with regular tools now that it's converted away from ELF.

And I could also upload you my N & M bootimages flasher if you need, let me know.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] serajr:
No, I didn't! It is somewhere at v2. Weird!!

And now I did it this way:

- Flashed modified stock kernel (tobias.waldvogel's tool: dm-verity, ric, drmfix, and busybox) - Reboot >>

Enforcing

- Flashed latest SuperSU - Reboot >>

Enforcing

- Flashed modified Sony Stock Patcher v2 (sony_stock_patcher.sh: removed dm-verity and ric related lines) - Reboot >>

Permissive
[Sony Xperia X Performance ROMs, Kernels, Recoverie] karrouma:
Nice job.

working well with stock

V2 is working with latest kernel

Thank you

Keep updating
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
Minor update v3, removed a remaining kernel commit that allowed to override the enforcing/permissive status,

in some situations it can cause the permissive status even if not wished, you might be fine now.

Works fine on mine (Enforcing, running 7.0 from my MicroSD & no issue so far).

v2 removed as it almost identical to v3 with this minor removal.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] karrouma:
Thank you working good with xz
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
Do you mean you're using this directly on an Xperia XZ ? Or used my zip installer & a modified kernel ?

I could apply my patcher on XZ 39.0.A.1.xxx if you're interested and release it after validated test like this thread.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] serajr:
Thank you so much. Everything working as expected with v3! Great job as always!!

Could you please explain some points of the script?

What does

"# Inject the cleared DTB"

actually do?

Are there changes made into injected kernel to disable sony ric (or the ones into ramdisk only >>

"# Patch the Sony RIC"

)?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
During the patch, I unpack the bootimage (Original ELF 64 bits or regular Android if already patched once),

do all the necessary changes & repack to regular Android, that just puts back all parts of the bootimage.

The kernel zImage is replaced, injected, inside the bootimage from the one I provide in the zip.

You can look at the kernel sources on GitHub linked in the OP

that hold the kernel patches including the removal of Sony RIC elements.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] karrouma:
Used your zip with androplus kernel
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
Ok then I can prepare a clean XZ kernel & let you try.

The init_sony is also different for Kagura, I built one a few days ago for an AOSP test, will be part of that.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] R_captivate:
Can anyone tell me what will be the sequence installation after TWRP to install modification and bring SU?

1st Flash SU

2nd Flash Mod

3rd Flash Androplus kernel

is that Correct?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
This project is standalone, and goes on top of your Stock ROM.

Flash the patcher, then flash SuperSU.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] R_captivate:
After installing the patch I cant boot into recovery.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
What Recovery, what version, from where ?

Both my MultiROM and my regular TWRP recoveries work fine for me,

from Power & Volume- keys & from boot with init_sony (Volume+).
[Sony Xperia X Performance ROMs, Kernels, Recoverie] R_captivate:
Already work. Thanks
[Sony Xperia X Performance ROMs, Kernels, Recoverie] orkanamn:
Are these zips for the specific build numbers? I'm on .374 and get a bootloop when flashing v4.

Edit: okay, if I understand it correctly .361 are similar or the same so I'm gonna try v3.

Edit2: nah still bootloop. I think it might be the boot.img from AndroPlusKernel v19 that I have on my phone, if that makes any difference, guessing it does. Had a bit of a hassle rooting because I was following the guide for MM without realizing it and got the files mixed up trying to find a working boot.img. :p it's getting late and I will try again later.

Also, will I break the mod if I flash a custom kernel?

Final edit: it probably was the wrong boot.img (not stock) that I was using at first. Don't know why the stock-boot didn't work, too much dirty flashing perhaps. Had to re-flash the system anyway because I broke root and now everything seems fine.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] lucifero13:
can you receive FOTA / OTAs using this? noob here
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
You're not really supposed to receive official OTAs once you're unlocked (UBL).

In that case we usually flash the new FTF release after Sony update releases.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] vikash1994b:
Deleted
[Sony Xperia X Performance ROMs, Kernels, Recoverie] serajr:
Thank you!!

[MENTION=2233641]AdrianDC[/MENTION] thanks for twrp 3.1.0 build, It does work flawlessly (as always) :good:

But I'd like to know (if possible ofc) why decryption fails if the recovery image is embedded into kernel's ramdisk (boot.img), see screenshot.

Do I need to change something in the kernel's ramdisk to make decryption work? Is that possible btw?

Thanks in advance mate!!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
Thanks !

PMing about the ramdisk.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
New release for Sony 41.2.A.2.199 release, Android 7.1.1.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] 25agosto:
Work Well in X Performance with 39.2.A.0.417 + Unlocked bootloader.

Root Successfully with flashable SuperSU
[Sony Xperia X Performance ROMs, Kernels, Recoverie] nieXas:
1 thing fails with this parxher, but fixed with custom kernel, is that I cannot use sony backup and restore, cannot login to sony.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
Made public the new release for Sony 41.2.A.2.223, Android 7.1.1.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
New release for the brand new Sony 41.2.A.7.8 firmware, Android 7.1.1.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] pavlinux:
F8131:/ # mount -o remount,rw /

mount: 'rootfs'->'/': No such device

F8131:/ # mount -o remount,rw /system

mount: '/dev/block/bootdevice/by-name/system'->'/system': Device or resource busy
[Sony Xperia X Performance ROMs, Kernels, Recoverie] pavlinux:
fw.: F8131_RU_1302-6562_41.2.A.7.8_R2D_Customized

# uname -a

Linux localhost 3.18.31-perf-gbb73414 #1 SMP PREEMPT Thu Jun 8 23:12:08 CEST 2017 armv8l GNU/Linux
[Sony Xperia X Performance ROMs, Kernels, Recoverie] chukkyi:
How long does the boot normally take? Seem to be stuck on SONY screen. XP 8131, Unlocked bootloader, Stock 7.0, 39.2.A.0.442 build. Flashed patcher n_v8.7.8 zip, then SU-v.279-SR3, in TWRP 3.1.1.

Please help.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
I invite you to read the second post of this thread, you'll understand why it's wrong and stuck on boot.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] chukkyi:
Thanks... Kinda figured that out after i posted. The site wasn't letting me in for a short while.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] deboopi2:
When using this, does one still need a custom rom for DRM patching or does this patches for DRM too?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] pavlinux:
Not working! :(
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Joseph_XZ:
please inject drm fix :)
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Klaus N.:
Afaik, AdrianDC won't add the drm fix. But you can you can repack your kernel with the rootkernel tool (take this unofficial version 5.23 [MENTION=3989065]serajr[/MENTION]) and fastboot flash it. Right after that, flash the appropriate version of AdrianDC's patcher via TWRP and you're done ;)
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
New release for the new Sony 41.2.A.7.53 firmware, Android 7.1.1.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
New release for the new Sony 41.2.A.7.65 firmware, Android 7.1.1.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] kodein:
DRM fix

good work, but the drm is not fixed?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Klaus N.:
It has nothing to do with "not fixed"!

The patcher only does the things described in the op!!!

If you want drm fix, simply patch your kernel with Tobias Waldvogels tool, flash the resulting boot.img via fastboot command, then boot into TWRP and flash the appropriate patcher version. Done!
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Sterpey:
Hi, after Stock Patcher implemented, could anybody recommend any mods for F8131 improving battery life or system speed or adding features etc.?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
New release for the Sony 41.3.A.0.401 firmware, Android Oreo 8.0.0.

Changes done on my original patchers to support Oreo :

Kernel commits updated against release archives for Oreo

Patcher script improved for Oreo /vendor/etc/ located fstab

DTB also modified to prevent the forced system dm-verity usage

About my Sony Stock Patcher releases :

No updates can be / will be performed unless Sony releases the kernel open source archive

December 41.3.A.2.24 will not be done until possible due to the previous point (For instance .0.401 was 3 days ago)

Updates also depend on the very narrow free time I have + priorities over my Android projects
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
New release for the Sony 41.3.A.2.75 firmware, Android Oreo 8.0.0.

About my Sony Stock Patcher releases :

No updates can be / will be performed unless Sony releases the kernel open source archive

February 41.3.A.2.75 sources were only released today, and are now uploaded

January 41.3.A.2.58 sources were also only released today, and I won't build it as it is pointless

I will not respond to PMs requesting for releases when the sources are released in the first place
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
New release for the Sony 41.3.A.2.99 firmware, Android Oreo 8.0.0.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] NotCat_:
Does it work on latest oreo update and what are the steps to rooting it?
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
New release for the Sony 41.3.A.2.128 firmware, Android 8.0.0, May security.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
New release for the Sony 41.3.A.2.157 (including .149) firmware, Android 8.0.0, July security.
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Biteforce:
hello sir, can i change docomo SO-04H ROM to international ROM ??
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Klaus N.:
You can flash a Customized firmware using Flashtool or Newflasher. In both scenarios you can try to flash the rom by excluding "Userdata". If you get problems, you should flash the whole rom (including Userdata); in this case, you have to setup from the start, means, all personal settings and apps will be lost. So it's recommended to back them up before.

For further help, please use the search function inside the XDA forum or Google; your question is at most semi-related to this thread ;)
[Sony Xperia X Performance ROMs, Kernels, Recoverie] Nizar3003:
Hy, i'm using x performance sh0h 39.2.B.0.336. what version should i choose for kernel ?

and i want to install magis root to. it is possible ?

answer please :)
[Sony Xperia X Performance ROMs, Kernels, Recoverie] AdrianDC:
New minor release for the Sony 41.3.A.2.157 firmware, just a fix for 3.18 ramoops handlings.

Sony Stock Patcher for X Performance - 23/10/2019
=================================================
* Update release to resolve 3.18 ramoops (o_v7.2.157)
> See commit 71d1aa14bdae1f38a56be10468556d43f108478a
[Sony Xperia X Performance ROMs, Kernels, Recoverie] MercuryHg_Jerry:
F8131 41.3.A.0.401

twrp 3.3.1.0

report error:7
[Android Apps and Games] Knfgame:
[IMG="ed"]https://lh3.googleusercontent.com/baR6a_SXfHgIWa8ZM74PhGgv6WLYOt7udYorKxKKjtMyDFu1A4_VPQyOOhWixvQlHfQ=h900-rw[/IMG]

https://play.google.com/store/apps/details?id=air.KnfAbandonedBungalowHouseEscape2

Can You Escape An Old Bungalow is the new escape game developed by KnfGame. Imagine a situation that your locked inside an abandoned bungalow house, Only way to escape from the bungalow is to find the hidden key. Click on the objects around the house use them to solve some puzzles to escape from the Abandoned bungalow house. Good luck and have fun playing Knf escape games, free online and point and click games.
[Upgrading, Modifying and Unlocking] Lukasss:
Ok, I'm double posting this coz I'm near panic... So if anyone of you guys can help me out, that'd be very great...

My phone is a HTC Touch Dual, non-branded.

First, what I did:

I had this irritating problem with keypad backlight. Posted it in the Niki forum, and downloaded KeiserTweak as suggested.

I changed the following settings:

Call

- ringtone: set to vibrate 3 times and increasing ring

Keyboard

- Backlight Timeout set to 30 seconds

Power Managment

- Memory Card enabled

- PPTP1 enabled

- L2TP1 enabled

ClearType

- Landscape enabled

- PocketIE enabled

HTC Application

- Music Tab - not sure anymore

- Music Player for HTC Home Plugin - not sure anymore

- Unlock HTC Home enabled

- Scroll, Zoom and Rotate in HTC Album - not sure anymore

- X Button in HTC Album - not sure anymore

- HTC Home e-mail button - not sure anymore

Cache

- File System Cache

- File System Filter Cache

- GDI/Font Cache

-cant remember, but checked something to optimize display of images.

I think the rest of the settings remained default.

Now the following:

If I start up my phone it will 'hang' like it's low on resources. If I'm very quick about entering my unlock password and my PIN the device just hangs after a while. The screen just goes black. If I slide open the keypad, I have the HTC action menu. If I choose an action, like 'new sms' the color-circle-hourglass-thingy appears, and stops. Then the phone becomes unresponsive. Except if I press and hold the power button - I get the prompt '...do you want to continue?' switching off the phone. If I tap 'no' the dialogbox doesn't disappear.

Tried so far:

-soft reset

-hard reset

-removing SD card

-removing SIM card

-on AC power

-on battery

I'm new to this, I never flashed a device like this and it is my first PDA. Had it for like 4 days now. :(

Please help.

Grtz

Lukas
[Upgrading, Modifying and Unlocking] Lukasss:
These are the numbers I get when booting:

M 04

B 04

R 1.58.16.27

G 25.61.30.03H

D 1.31
[Upgrading, Modifying and Unlocking] Lukasss:
Ok,

This is going to be stupid, but I'll admit to it anyway...

I've read in the manual on how to perform a hard rest. It states to push the send and end buttons, keep the pushed in, and then press the soft reset button until a text appears on the screen. That text states to press "Enter" to continue, and any other key to cancel. Well, the 'Enter' key to me is the 'enter' key on that qwerty keypad, not the shiny silver button between the Send and End buttons.

To the writer of the manual the enter key on the keypad does not exist.

So that's why a hard reset did not help. Because I did not perform one.

My bad. Anyways, my phone is ok again, sorry for the doublepost.

Grtz

Lukas
[Upgrading, Modifying and Unlocking] maxcor74:
Hi Lucasss, what you did it's not stupid, because when you have a pda with a hardware keyboard, the "Enter" key, as written in the manual, is the one everyone calls the "Enter" key on th keyboard and not the center button!!! :mad:

I'm telling you this because I encountered the same problem...

I spent the entire morning trying to hard reset my touch dual as I had a problem like yours. After a thousand attempts to do that hell of a hard reset, I decided to pull off the battery and wait for the backup battery to go dead (that could take as much as a week more or less...)!!:mad:

Searching and searching I found your post and got the solution to my problem!:D

So I thank you so much, you made me a re-happy man...;)
[Samsung Galaxy S7 Themes, Apps, and Mods] dheon5:
Spice up your beloved Amoled screens with these :D
[Samsung Galaxy S7 Themes, Apps, and Mods] memocatcher:
Looks cool, thanks.
[Samsung Galaxy S7 Themes, Apps, and Mods] NOSDJ:
the colors are amazing
[One (M9) Q&A, Help & Troubleshooting] tiger121:
HI THERE

I have a htc one m9 that suddenly stopped making out going calls . when I try to call it keeps saying that fdn which mean fixed dialing number is enabled and I should untenable it but when I go to the settings and to the fixed dialing number to disable it . it wont change . I try to root it with apps with pc and without pc each time it failed . I try to update it it wont open download mode . I try to flash it also failed with adb .an it is s-on now it is fine I can still receive calls but I can not make calls can any one here help me please
[One (M9) Q&A, Help & Troubleshooting] shivadow:
I believe you need pin2 to change that feature. The default htc pin2 is 0000. If you've changed it and forgotten then you're **** outta luck.

Beamed in by telepathy.
[Tasker Tips & Tricks] alienyd:
hi everyone,

I have the following question: I'm trying to create an intent to launch the camera in video mode and start capturing. The launching is ok, but the capturing not. Maybe somebody could help me with an intent for it.

I'm using org.cyanogenmod.snap

note: I tried simulating camera button, but this didn't work.

I don't want to use any plugin, such as autoinput.

thanks in advance
[Tasker Tips & Tricks] CrashOverride93:
Stock Camera doesn't have record intent, the only option you will have is to use autoinput or key event to start recording.
[Tasker Tips & Tricks] alienyd:
thanks

if not using intent, but key event, could you please recommend a task? I'm just looking for a way to do this without any plugin.