yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Mikolaj612:
Hello.

Is there any chance to make it for regular Xperia X? System version is the same, your XC kernel boot up on my X, but there is some issues with screen and touch.

It would be nice to have a good kernel with DRM fix included as well.

I think it should not be so diffcult if you already made something pretty similiar.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
I'll take a look before I do the next build. But I don't have this device to test.

What is your stock kernel version? so I can be sure to look at the right source code?

Edit: is it a 34.x. kernel and is the device codename Suzu?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Mikolaj612:
Yep, it's Suzu, but I've got single sim version, so I can test it if you build something.

I've got already .252 version and your custom work, but there is resolution bug.

I think next build will be Oreo, so I'm not sure that there is a reason to wait.

X and XC got same builds and versions (same day updates).

XC is far more popular phone than regular X (most people picked X Performance or XZ which are same class and uses almost the same firmware).

But most tricks and mods should be easily transferable between both phones.

I'm looking forward for your kernel, if you made something just PM me and I'll gave you some feedback after few days of intensive testing.

BTW I've got question, your DRM fix (some libs) are generally designed for XC or they're universal between Xperia Nougat builds?

Or they're builded especially for every version and Xperia model?

I'm asking because with stock kernel and your DRM package I'm still unable to use Miracast option.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
I'll try to put something together today when the little one goes for a nap. I'll post in the Xperia X forum and give you a heads up over there when it's ready.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Mikolaj612:
Thank you mate.

I think more people than myself will be glad to see something new and good for their phones :)

I really like my X and I don't want to replace it for Xperia XZ or newer due to their size and little or none software upgrades.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Could you send me a copy of your .252 boot.img?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Mikolaj612:
You can take it from here :)

http://www47.zippyshare.com/v/HA7qr6mL/file.html
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Thank you :good:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Mikolaj612:
Will wait for something new from you ;)

Please PM me if made something, I will be glad to test and after that I will send you some feedback.

Due to similarities I assume everything will work without problem from first build.

BTW could please respond to my question regarding DRMFix? I'm still confused about it, it just a package (universal) or it require a rebuilded/custom kernel to work?

It would be nice to have a working Miracast and other stuff.

I saw that newer Xperia's like XZ Premium are far more complicated in terms of DRMFix.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] miskos12:
It's Working, Thank you Very Much. Btw is it possible to remove the "Your Device Can't Be Trusted"
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Unfortunately not. That particular message is coming from the bootloader.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] miskos12:
Oh i see, Thanks for immediate response. Btw last question sir, when i tried to flash your kernel from my TWRP and i tried to check the Zip Signature Verification it says that "Zip Signature Verification Failed", But when i unchecked it, it flashes. So did i do the right thing? Thanks again
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
yes, correct
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
New Build is Up

- Dated 11 January 2018

- Version 1.09

- Add KCAL for mdss post processing support

- Slightly undervolt CPU and GPU

- Add voltage control for GPU

- Add voltage control for CPU

- Add backlight dimmer option

- Enable all cpu cores for device boot-up

- Force selinux permissive

- Enable MirrorLink support for kugo

- Merge each upstream linux point release up to v3.10.104
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Flashed it but it doesn't boot. stuck at sony screen.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Works here, running it now.

Are you running ROM version 34.3.A.0.252?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
mine is ...217
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
v1.09 of this kernel will only work with .252

Use Flashtool to upgrade to the latest .252 then install the kernel and all should be good.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MissyVixen:
While I have flashed this (v1.09), and it feels snappier, I have a slight bug on my phone?

After a reboot, hard or soft, the display color temperature is shifted all the way to pinkish orange. If I go to the setting to modify it, merely opening up the color temp UI corrects the color for the duration of that boot. After a reboot, its pinkish orange again, repeat the procedure and its the same ?

No other changes were made during the reboots or on this kernel. Using the Customized UK system. Was not Occurring on Previous Kernels?

Edit 1 : This is also before the OS even loads : as soon as the Xperia Splash Screen Shows up, its a nice vibrant pink.

Edit 2: Attempting to set the RGB correction to be applied automatically at boot with Kernel Auditor resulted in a Black screen after logo?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Could be something to do with kcal control. Will look into it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dadme:
No problem with kcal settings here, on 252 with 1.09, but i get sdcard corruption message when i try to access sdcard. Flashed back to 1.07 sdcard works ok,64gb Samsung Evo...

Brightness get a boost on boot with 1.09 copared with 1.07.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Trying to use image kitchen with my Genesis kernel, and new boot img that's created on repack won't boot. I asked osm0sis, and uploaded him a copy of my boot partition dump, and he said:

...Interesting, so it's already an AOSP boot.img.. There is something weird about it though because it's missing the sha hash that is normally part of the header so the script had to make the assumption that it was sha1.

You can change the contents of the split_img/boot.img-hash file from sha1 to sha256 and see if that works, but otherwise I don't see any reason it shouldn't work at first glance. That being missing could indicate something else being different in the boot.img format used so you should probably ask the Genesis Kernel dev to see how they do it. Let me know what the story is, please...

What do you think?

Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] manuerduarte:
Corruption message for 64gb microSD here, going back to 1.07
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
Kernel 1.09 on 252 firmware

NoDRMfix version, repacked with TA_POC and kernel repack tool

No problems at all, system is fast and responsive, SD card Samsung Evo 64GB works normally.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
Damn you are rockin man, I havent tested yet but I have request, would you add some popular cpu governors like smartassv2? Have been waitin for it for a while now...

----

And 0.1 more Ghz for those a53 cores would be fine and usefull

Good luck
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
I have tried to duplicate both issues, but have been unsuccessful. It all seems to work fine here.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Cheers, I'll take a look for the next release.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MissyVixen:
maybe a bit got flipped somehow on my end. Ill pull it down and test again and come back with updates here.

Thank you for looking into it though !

*Update*

Tried to pull it down again, tried DRM patched, not patched, and Patched with my own TA partition dump.

Same color issues persist sadly.

Also have issues playing back some media from the SD card, a 64GB Samsung Evo Select.

Maybe a change or revision in my hardware. I don't have my box handy but my handset was a 2nd revision I think.

Or a Conflict with Xposed and Gravity box...idk

Gonna sit back at 1.07 since it works flawlessly

The hue shift for me is roughly equatable to taking the white balance slider for the red and sliding it to 127 on the previous kernel. Also seemed to randomly re-apply in my testing after screen had been locked for a few minutes.

Obviously screen shooting this does nothing as it captures it before the hue filters are applied. Dont really think a log is going to reveal this cause either as it seems to be applied before it even boots. (hue shift affects Sony Splash and Xperia boot video)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Very perculiar. I'll review the changes and try to pick out potential problem areas. If 1.07 is working fine on your phone then it's got to be something in the kernel not quite right for your hardware.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
New Build is Up

- Dated 16 January 2018

- Version 1.11

- Add wakelock blocker driver

- Add ironactive cpu governor

- Add smartmax cpu governor

- Add smartass2 cpu governor

- Add barry allen cpu governor

- Add bioshock cpu governor

- Add cafactive cpu governor

- Add zzmoove cpu governor

- Add yanactive cpu governor

- Added dynamic fsync (currently disabled / doesn't work)

NOTE: Please note I have not tested all these features, some may require some minor tweaks which I plan to clean-up before the next release. So if you find anything wrong then do let me know so I can include it. Enjoy :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
Version? Latest version I see is 1.09?

Is there some delay with afh? Am I blind and confused? (happens sometimes,)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Look in 'nodrm fix' folder...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MissyVixen:
so I've flashed the current version (11) and noticed the colour oddities are still present for me.

if you set the white balance to stock in the system settings at least on my handset it shows that RGB channels are varied.

the default white balance in this kernel starting in v9 is set to 255 across the board which is what's rendering it pink on my screen.

it gets reset to 255 across the board for me every boot, even if I try to auto set it with kernel auditor it's ignored until I go to the system settings first.

simply opening the system menu for white balance however resets it to the default pure white. Im sort of starting to wonder if I received a counterfeit phone? or a 2nd shift run?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] megaice:
Corruption message for 128gb microSD here. 1.09 and 1.11 "standard" version - same problem. (CE_34.3.A.0.252) (without xposed, etc.)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
I am working on a fix for this. For now go back to 1.07 and hold tight. I'll try and have a test version soon.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dadme:
A little tutorial please! Tried with rootkernel to modify genesis 1.11 but i got a boot loop...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] pr0kewl:
Yeah! Im having SD Card err0r too! And after restoring proper backup, one or more apps Are greyed out/not available, I reinstalled them app(s).

But thanks! Always loved Genesis
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] zak.wilson:
I too had the "corrupted SD card" issue with 1.11; 1.07 is fine. I can provide more detail if it would be useful.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Yes, logcat and dmesg would be useful
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gorunn:
X Compact user here with Stock .252 Customized UK rom.

I previously used 1.04 and 1.06 nodrm kernels repacked with my TA keys via TA_POC and everything worked fine.

However since i flashed v1.11 nodrm repacked with my TA keys via TA_POC i have same issue as you. On EVERY boot my screen is "pink-ish white" (aka warm white), its noticeable even on bootloader unlocked warning screen (warning sign is more vibrant and the letters are pink-ish white).

It stays that way until i enter "White Balance" settings. As soon as i enter "White Balance" settings

without touching a thing

my white palette switch to default "blue-ish white" (aka cold white).

Same issue occurs on Customized DE rom.

On other hand, no SD card issues whatsoever. None at all. Using SanDisk 256GB card.

So, its not just you, its not counterfeit phone, nor 2nd shift run.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Thanks for the log, will look for any changes affecting this. Hopefully have some time this week.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] pw1nce:
how can I use this kernel with latest .252 firmware? [MENTION=5749760]ggow[/MENTION]
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] pw1nce:
so i searched the whole thread and saw that it works with .252, my problem is that i have tried nodrm and standard versions, only getting it to work with supersu and theres a bootloop on magisk no matter which version i use, keeps restarting on sony logo. what could be the reason? i see magisk working for all others, been tryin to get it to work for like 5 hours, fails every time.

edit : so finally got it working eventually agter flashing 1.11 standard kernal, the problem is compiling the ta_poc with the boot image , whenever i try that with even kernal extracted from ftf and from your nodrm fix version, my phone gets stuck at sony logo n reboots. works fine with supersu even on the one compiled with ta_poc , but magiusk just wont work. any fix?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Check in poc thread. I think I remember reading something about issues with Magisk. I'm using Genesis with phh superuser, and poc working...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Yoannjap:
Just to know something

Hello everyone.

Just to know something.

I currently have my xperia x compact with genesis kernel 1.06.

And I use 34.3.A.0.238 build.

If I want to install genesis kernel 1.07... Will it be compatible with my build?

Then, the procedure to install the 1.07 genesis kernel is to download it and flash it from TWRP on the phone, or do I have to do something from a computer, or does it exist any other way to install it?

Thanks a lot for your help!

Yoannjap
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] pr0kewl:
It should work flawless, what your trying to do is pretty 'stable'

i once had .238 + genesis 1.07 setup = stable

Rite now im on .252 + genesis 1.07 = Latest stable up-to-date

You flash Genesis 1.07 from TRWP, don't need computer
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Yoannjap:
Thanks a lot pr0kewl for your help!

Then, a last question is that build. 238 should also be compatible with kernel 1.12?

Ànd a very last question is : I just install the zip from Twrp, or do I have to unroot before? Because last time I tried to flash a new kernel from Twrp, I had a bootloop and had to restore last saved backup.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] pr0kewl:
1.11 Genesis is not recommended, nobody uses it YET, boss of Genesis kernel says we must stay with 1.07 genesis firstly

I want 1.11 Genesis badly, but need few fixing, boss working on it!

Always have a proper back-up!

I installed Genesis 1.07 kernel (via TRWP) on .252 build

Then r00t with Latest SU 2.82

SU 2.79 have brick and bootloopi, if unstable combinations

I have TRWP 3.1.1, this is The right one!

https://xdaforums.com/x-compact/development/recovery-twrp-3-1-1-xperia-x-compact-t3640914

For X Compact, Genesis Kernel is BEST BOSS, wait for 1.11

Wait for Oreo (official, or OmniRom 8.1 but still need fixi)

https://omni.cmxlog.com/8.1/kugo/

KITANA 6.0.1 mod (Terminal use)

https://xdaforums.com/android/software-hacking/kitana-tweak-power-android-t3630278/amp/

Blazin mod

https://xdaforums.com/android/software-hacking/mod-ultimate-performence-blazing-fast-t3482317

ViPER4Android

https://labs-dl.xda-cdn.com/apks/2e...17.apk?st=flO3PWeHtJXYBKuSz24gKQ&e=1517554337

I like Convolver: AC30Vox.irs

ViPER DDC: Bose AE/OE, All The rest doesnt seem to have An impact

Dolby Atmos

https://xdaforums.com/android/apps-games/soundmod-axon-7-dolby-atmos-t3412342
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] hnodet:
need drm fix

Hi and thanks

which kernel should I download in order to fix drm keys and get futures back (x-reality, camera futures,...)?

what exactly I need is to flash xposed and supersu on the stock rom but don't want camera to be influenced by these modifications.(current images aren't sharp enough and videos are noisy)

my build number is 34.3.A.0.252

** update: the oreo released just a few hours ago.

will upgrading the phone solve the problem?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
So android 8.0 oreo is out now. we'll be looking forward to seeing genesis for oreo

but it seems that twrp does not work on oreo yet...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mains75:
Are you sure? Twrp should be independent from firmware I think...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
https://xdaforums.com/showpost.php?p=75456686&postcount=9
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mains75:
ok.

So after long time, we still have to wait for twrp and kernel...

I can't wait...:)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Seems like... However, I will say that I haven't tried any other builds. I just figured that one was most likely, since it's the newest. Maybe we should try others.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Wxfdswxc:
A quick question, will we need a new SuperSU update as well?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] hnodet:
any suggestion?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Waiting for sony to release the source code for 34.4.A.0.364.

[MENTION=359497]jerpelea[/MENTION], do you plan to push the new branch 34.4.A.0.xxx to https://github.com/sonyxperiadev/kernel-copyleft?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mains75:
As you can see, only few firmwares have got the upgrade.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] hnodet:
Thanks. I flashed Genesis 1.07 and supersu 2.82 as you said . The good news is I successfully flashed xposed v89 and everything works fine including camera, xposed modules, x-reality,...:good::good::cowboy:

Now waiting for oreo-supported kernel
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
New Build is Up

- Dated 5 January 2017

- Version 1.03

- Added Adreno Idler by arter97

- Add BFQ IO scheduler

- Add FIOPS IO scheduler

- Add Blu Active CPU scheduler

- Add init.d support (untested)

- Disable forced encryption of /userdata
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] OyyO:
Recovery, Tiny RCU, OTG, F2FS support?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
- We don't need to build boot recovery support into the kernel for this device. You can flash TWRP like normal and then boot into it by holding volume - and powering on. This is contrary to what I originally thought too.

- OTG works AFAIK

- F2FS coming soon

- Tiny RCU, i'll take a look into this
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jiangjun413:
Which version TWRP Should I use for flash this kernel ?

Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Any version will boot as long as it is made for this device.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jiangjun413:
I have tried the TWRP-3.0.2-3-F5321.img, it's not working. I think it maybe based on the 6.0.1 kernel.

Would you give me an working twrp for flashing this Kernel ? Thanks a lot.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
- That's the same one that I use

- To flash in fastboot:

fastboot flash recovery TWRP-3.0.2-3-F5321.img

- Then power off the phone.

- Hold Volume down key and power button until recovery appears
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jiangjun413:
Finally, I can enter the twrp now. After flash the package, "Image enhancement" come back.

The internal storage is encrypted. So I can't access the internal storage. Maybe reset and flash a custom rom can fix this problem.

Great job, thank you very much !
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Yes wiping data, to clear the encryption is one way to go or push the file to the sdcard and flash from there.

And yes the image enhancement will be working after flashing this kernel package.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
From the first build I was waiting for cpu OC and UC, do you have any news on that matter?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
Stability and features are a priority. I'm not sure over clock is going to do much for us.

I will look into at some point, you'll have to be patient.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kou2818:
hi guys.

is this kernel has got root?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
For root just flash supersu 2.79 after flashing the kernel.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
I use some game emulators like ppsspp and those need every bit of horsepower they can get and I know 2.0ghz a72 core will do awesome job in that case.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kou2818:
oh, i see.

thanks friend! ;)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
It looks awesome from glancing at git [MENTION=5749760]ggow[/MENTION].

Will hopefully have time to try and install it this weekend when I have my peace again. :) flashfire seems like a great tool btw. (but hey it's chainfire heh) Just need that initial root. If you plan on overclocking please make it an option. (max cpufreq has a extra step or more that can be set) so people can play with their individual cpu limits, while people who can't oc even to 2GHz aren't affected. But I don't think I am the one to tell you, I am just very happy what you bring to our phone. :)

Will let you know how it goes. Thanks!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] realtuxen:
I have a quick question I hope you maybe could answer before beginning; if i want to keep my device key (i have my TA backup) after bl unlock, do i need to downgrade to MM first then restore it and upgrade via flashtool to nougat (as suggested in the backup thread) or do you know if it's 100% safe to flash the devicekey.ftf extracted/derived from the TA image in nougat or go about it another way. I know I always can go back to MM stock, but It would be nice to have the device key / TA partition retained. And I understand you still have it intact too.

Best regards
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ggow:
It's 100% to flash the devicekey.ftf

I am surprised that the dirtycow exploit works in nougat, I thought it would have been patched?

In my case I was MM when I did the backup of the TA partition. I then flashed the device_key while on MM whilst using a modified kernel to test and it worked. From there had the confidence to flash nougat. The device_key is retained when upgrading via flashtool so no need to reflash. When running Genesis Kernel everything seems to work just fine.