yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] ZG_DEV:
Can you create a custom rom, a custom kernel or anything for Oppo A5s ?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
I wouldn't necessarily say I'm 'that guy' for from scratch development or creation. This post comes from diving quite deep into this specific device because I have one lying around and wanted the 4K to test VR.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] karrouma:
Nice

Now cam worked after many os 13
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Paleseu888:
Hi, can you help me a little, please?

When I enter fastboot the device screen stays blank. It's still responsive to terminal. I tried to flash twrp and boot and it was ok, but the display it's still blank. Now it only boot into fastboot: blank display and "fastboot devices" finds it. can I flash the system from terminal?

Thank you
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
Apologies, when providing this, it was intended for those familiar with the required procedures and I didn't intend on providing installation support. This is due to it not being myself that made LineageOS and installation tutorials are more for their forum.

But, I will try to do my best.

Assuming you are not worried about saving data and understand that I can't take any responsibility for any bricking, I'll provide what I can.

1. First off, what I recommend is getting the 7.1.2 build I uploaded here:

[SHARED] [AOSP 7.1.2] DRS 4K

Hi there, I have been wanting to use this phone for VR and have wanted to be able to switch between 1080p/60, 1080p/120 and 4K/60. After alot of looking for a working build with no success (old dead links) and alot of issues trying to build it...

xdaforums.com

Or reflash any build you have that is working, effectively just get android running.

2. Using what I provided here, put the LineageOS and MindTheGapps image provided from this upload to an SD card and put it in the phone.

3. Flash the 'twrp3.6.img' I provided. Place it in you fastboot directory, put the phone into Fastboot mode (Black screen and blue light in the top left is normal), and enter into the CMD,

fastboot flash recovery twrp3.6.img

From what you have told me it sounds as though you know the fastboot CMD procedures.

4. Enter TWRP (From a completely powered off state and no USB cable attached, hold volume down, then power on while continuing to hold volume down, do this until twrp loads)

5. From within twrp go to 'Mount'.

Select everything available (USB OTG won't select) and leave out 'Persist', then press 'Select Storage'.

Then choose your SD Card from the menu, then 'OK'

6. Next go to 'Wipe'.

Choose 'Advanced Wipe'

Select everything you can execpt for 'Micro SDcard' and, 'USB OTG'

Then swipe to wipe.

7. Then go back to 'Wipe' again, then choose, 'Format Data' this time.

Type 'yes'

Then proceed.

8. Now go to, 'Install'

Find the LineageOS image, select it, and swipe to install.

Then do the same for the MindTheGapps.

Reboot

9. Setup phone as you'd like. Once done, power down, enter Fastboot mode again

Put the 'boot4k.img' provided into your fastboot directory, and run command,

fastboot flash boot boot4k.img.

Reboot.

(You will notice the screen is messed up until you hear the phone has powered on, tap the power button to close the screen, then pressing the power button again will bring the phone up normally)

Additionally, you can then boot the phone up, enable 'Developer Options', enable 'USB Debugging', plug the USB in, open your fastboot CMD again, then run,

adb shell wm density 800 && adb reboot

That will resize everything to look normal.

Hope it helps.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Paleseu888:
Thank you for such a fast answer, and with a so detailed instruction!

You are right, this is not supposed to be the place for installation instruction, so thank you again for helping me.

Now, my problem is that even after flashing twrp, it keeps on staying blank screen, blue light when I go into recovery. So I cannot go on from there.

I managed to come back to a working OS with the xperia_flashing_tool as suggested on the sony developer website, so I'll try to follow your instruction to see if I can do better.

But now it's pretty late at night here, I'll try tomorrow.

Thank you again, good night
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
No problem, I just wanted to check. Have you unlocked your bootloader?

Blank screen with the blue light is normal for Fasboot mode (Inserting USB while holding volume up)

Recovery mode is Volume down as described.

I have uploaded the fastboot folder I use with the 'boot4k.img' and 'twrp3.6.img'

Fastboot

MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

www.mediafire.com

Click on 'cmd-here' to open the command prompt to enter the commands I provided.

Again, I am making an assumption here that you have the drivers correctly installed, being that you were able to flash back to stock. If you are familiar with unlocking your bootloader, reverting back to stock will lock the boot loader again, so you will have to do it again.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Paleseu888:
_ I don't know How to delete this entry....
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Paleseu888:
Hi!

It's working now!! thank you very much. So if you want to know, out of curiosity, what happened:

Actually I suppose the problem was the way I was getting into recovery:

A couple of days ago I resurrected my OnePlus One with lineage 18, following the instruction on lineage.

For lineage 20 the instruction are the same, and it flashes the rom via a sideload, instead of putting the rom on the sdcard. So I never unplugged my phone from the usb cable to get to recovery. AND, my OPO doesn't have a working volume rocker anymore, so I got into recovery with "fastboot reboot recovery" or " adb reboot recovery" I don't remember. so I did the same with this device. Instead, turning it down and VOL down+ PWR got me into TWRP.

Then I went on with the sideload. Installation was fine but at beginning of phone setup it prompted something like "formatting to factory", the screen went blank and red light. Unresponsive. it didn't boot nor shut down. terminal said it was on recovery. tried to reboot from there but nothing. Then it rebooted by itself after about 5 minutes and got into recovery. From there I wiped everything and installed os and gapps again. Flashed boot4k and forced 800ppi. Now it's working.

I care about this 4k display for the same reason as yours: I'm an architect and put my projects in VR with unity, so I check them with this device.

So thank you for seeing into it with me!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
That is really good to hear. Funnily enough I have used a few different devices in the past where I use 'adb reboot recovery' icluding a OnePlus and OPPO devices, but the only seemingly consistant way to enter recovery for this device was without the USB attached. Yes sideloading was a good option too, but I didn't want to make things too complicated if you were new to things, good to know you're move advanced at these things, sorry if I implied in anyway you weren't.

The 4K display is the key for this device. I can understand why VR on mobile and things like daydream didn't pick up. I tried it back in the day with my iPhone and it was obviously just a proof of concept more than anything, picture quality was awful. Mainly due to the fact an average phone resolution is around the 1080p mark. There seems to be only 6 or 7 phones with a 4K display, all from Sony, and only 3 of them with the correct screen ratio, including this one. The later 4K phones use a different ratio and output 3840x1644, which I havent tested, but based on the resolution and the screen dimensions would give you a visible top and bottom in VR.

This device, with 4K actually makes VR on mobile worth it, although things like the Quest 2 are obviously better all around, with better FOV, the actual picture quality is on par with this device at 4K. Effectively meaning there is only really about 3 phones on the market worth it for VR.

If your interested check back here soon. I have been putting together a pack of VR apps, daydream things, camera apps and other tweaks to this 4K mod.

Well done again.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Paleseu888:
I would be very interested in your work. And I agree that this device display is very good for VR, only I didn't realize so few smartphone would be this good.

Thank you again for keeping it alive :)
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] qq28196:
感谢
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] qq28196:
120120fps feels particularly stuttering, and the screen is a little flickering, which is bad to use, but 4K is very good.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Suzukazew:
Thanks, but I got an error when loading the flash package on TWRP

mistake:1
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Suzukazew:
This package is for device : maple : this decice is maple_dsds.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
Do you have the G8412 Dual Sim version? Because this build is only for G8141.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] arpias:
H

CIAO! Ho questo telefono g8141 con lineage 20 1.3, desidero installare la tua rom, vorrei sapere dove inserire uno dei 3 file di configurazione se è indispensabile e perché bisogna cancellare tutto sulla micro SD card ad eccezione della rom e delle gapps ovviamente!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] arpias:
Ciao, come si fa ad accedere al percorso per sostituire il file di configurazione originale con uno dei tuoi modificati?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
Puoi prendere uno dei 3 file di avvio, ad esempio "boot4k.img", rinominarlo in "boot.img" e trascinarlo sul file LineageOS per sostituire quello esistente. Quindi prendi il file LineageOS e le GAPPS e inseriscili nella scheda Micro SD.

Non è necessario pulire la scheda SD. Il processo di formattazione che ho descritto in precedenza è per una nuova installazione. Se usi il telefono e sei preoccupato per la perdita di dati, non sono sicuro che tu possa semplicemente eseguire il flashing dell'archivio LineageOS senza perdere dati. Quindi eseguire il backup di tutto prima di procedere.

L'alternativa che potrebbe funzionare se sei già su LineageOS 20 è andare al post menzionato in precedenza, prendere l'archivio "Fastboot" che ho caricato e seguire semplicemente le istruzioni che ho lasciato per eseguire il flashing di "boot4k.img".
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] arpias:
Vorrei sapere se questa rom è stabile e se funziona tutto!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] arpias:
Vorrei sapere se questa rom è stabile e se funziona tutto, grazie!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
Questo è stabile quanto lo è LineageOS 20. Non ho realizzato LineageOS 20, è solo una build che ho realizzato. Quindi sarà compatibile quanto lo hanno reso gli sviluppatori di LineageOS.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] arpias:
Ma il file di lineage è compresso mentre quello da te modificato non lo è, il flash funzionerà lo stesso?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
Puoi sostituire "boot.img" dal file LineageOS compresso con "boot4k.img" dopo averlo rinominato in "boot.img". Quindi lampeggerà e sarà in 4K
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] arpias:
Grazie per tutto il tuo supporto, quando installerò il tuo pacchetto ti manderò i miei feedback qui, adesso non ho tempo!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] arpias:
Ciao, a che serve il file "dsi-panel-maple.dsi"?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] arpias:
Ciao, ho installato tutto ed è tutto perfetto, la migliore ROM 13 di lineage finora, aspetto le tue novità esclusive che hai dichiarato anche se non ho e non sono interessato al visore VR!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] arpias:
Il mio g8141 ha 6 anni ed era fermo da 2, eppure adesso sembra nuovo, era spento da 3 mesi e la batteria non ha perso neanche l'1% di carica, non lo considero un telefono vecchio e inutile perché nell'uso quotidiano sembra uguale a quelli più nuovi usciti qualche mese fa! Grazie per il tuo meraviglioso lavoro, alla prossima!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] bk37:
Thank you for your amazing work with the kernel! I was trying to build the 4k too but with no luck. May I ask you what commands you have used (toolchain/clang version...). Thanks again
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
Everything I did for the build is in the build instructions in the archive. The build can fail if it doesn't like how much the 'dsi-panel-maple.dtsi' file is changed.

If you edit it and then opt to use 'mka kernel' or 'make bootimage' instead of 'make -j $(($(nproc) - 2)) bacon', you can build just the kernel taking only a minute or two at a time to test if your config will work.

Once it does, use 'make clean' and build it.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
Check original post, I have uploaded a G8142 Dual Sim dsds build.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] beammer335d:
Thanks so much for uploading files for G8142, flashing soon.

Cheers
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] bk37:
Is the notification led working for you guys? For me it doesn't if triggered by app notification, only when charging...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] fcsanad08:
On my side, it gets stuck in kernel-side bootloop, does not even reach Lineage boot animation - tips?

UPDATE: after a reformat of all the relevant partitions to ext4, it solved itself - absolutely awesome to finally exploit the screen of this beauty w/ VR, thanks for your work!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] aa125690:
Thank you so much for your work! I wonder, though, is it possible to also build a 1080p/96Hz version of the boot image? (And maybe it would be less "slow-motion" than how the 1080p/120Hz version currently is?)

Also, texts in the 4K/60Hz mode look a tiny bit more blurry than 1080p/60Hz (both in 421dpi) when scrolling up and down and moving things around, and the responsiveness to touches is a tiny bit worse than 1080p/60Hz. Are these phenomena expected?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] tomsgen:
Fhd 120is very lag...
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] enicay481:
Hello

Please help for config, how to do 'dsi-panel-maple.dtsi'

See screenshot

Thank you
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Dematen:
L'avete provata?

Ha problemi?

La Cam funziona? la frontale allunga la foto?

Il microfono del telefono è basso?

3G e LTE funzionano?

Qual'è il vantaggio pratico di questo 4K rispetto allo standard?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] bk37:
Fixed it! You need to select a sound for the notification of the specific app
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] AnderZneh:
Hello, I need help, I have an xperia xz premium dual sim G8142, I installed lineageOS 20, but when I restart the device I lose the 4g signal and I have to restore the Efs files from twrp again. Also when they call me the screen goes black and I have to deactivate the sensors, but when I deactivate the sensors the camera does not open. Any suggestions? Thank you.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] anlingjun114:
Hello, I experienced your Lineageos20, and flashed the 1080p120hz mirror, but it can be used normally when it enters the system, but why does this 120hz look so stuck? Is there any workaround?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] anlingjun114:
Although the time is a bit old, but now my Sony XZP is still my main machine, I want to make the machine smoother, thank you!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] bk37:
Hi I have trouble building the rom due to insufficient space on wsl (250gb). Did you increase the partition? Can I ask you in pm or here? Thanks
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] fcsanad08:
@jjo192 could you share the source code of the kernel? I would like to use KernelSU w/ your 4K version. Thanks!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Hasan9540:
Does anyone know where I can find this path? lineage\kernel\sony\msm8998\arch\arm\boot\dts\qcom\

I tried to flash 7.1.2 via cmd adb shell wm density 800 but it says that it didn't find a device but when I enter Fastboot devices it recognizes my device with a code of 10 digits
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Abyxkojw:
does anyone can download the first rom?I tried the second is well,but when i want to download the first one,it just show generaing new download key and cant be download well.I wonder it's why? Please help me.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] lengjimmy:
Thank you for your work,i have a question will the boot of the 4k image work on LineageOS21 or do you have any plans to adapt to LineageOS21? Thank you again for your work.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jjo192:
Actually I haven't visited this subject for a while, but no, it won't work... But I will look to build LineageOS 21 with the same mods and maybe start a new release thread soon.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] lengjimmy:
Thank you again for your work and for your efforts on this old device！
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] MindfreakDenny:
Today flashed this ROM. Works really good. I chose 1080/60 mode cause it didn't cause any screen issues. Battery life is better than it was while using the stock Pie.
[Moto G7 Play ROMs, Kernels, Recoveries, & Other De] L1ghtzin021:
​

*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned

crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today

Features:

https://github.com/crdroidandroid/crdroid_features/blob/13.0/README.mkdn

Flashing Instructions:

Pre-installation:

Recovery (Download from here)

Gapps (Download from here)

KernelSu Download

First time installation:

Boot on twrp

Flash rom

Format data

Reboot recovery

Flash the gapps & KernelSU and reboot (Optional)

Update installation:

Boot on crdroid recovery

Navigate to apply update -> apply from adb or sdcard

Reboot

Sources:

ROM: https://github.com/crdroidandroid

Device Tree: Device Tree

Kernel: Kernel

Download:

ROM Download

Notes:

<!- This is a mandatory build for dynamic migration, later builds will only work if you have installed this ->

Visit official website @ crDroid.net

crDroid <channel> Telegram

crDroid Community Telegram

crDroid Updates Channel

Donate to help our team pay server costs
[Moto G7 Play ROMs, Kernels, Recoveries, & Other De] ZG_DEV:
Thanks for publishing this wonderful rom!
[Moto G7 Play ROMs, Kernels, Recoveries, & Other De] chuy19312:
About the "If gapps gives an error when logging in, just remove the chip and try again" issue, it's gapps version related, i noticed it years ago on other phones, some gapps versions do give that error, but installing an old or new version than those gapps version do fix that bug, mindthegapps version do not give that bug but those gapps version, even with some gapps removed, is too much for this device's RAM. I will test then edit this comment when i find an NikGapps version that doesn't have this bug

And about the "May need to pull a few times to unlock the screen", for some reason, i did barely had that bug, instead of swiping up from low part of screen, swipe up but from near middle of the screen, after knowing that, i do never have problems with lockscreen on android 12+, and the problem on android 12+ versions is that those have an lock screen icon that doesn't let you unlock your screen, i hope this do help

Edit: i discovered something, instead of swiping up on lock screen, long press lock icon, if you don't have an password, it will directly unlock, if you do have it, it will send you into unlock screen
[Moto G7 Play ROMs, Kernels, Recoveries, & Other De] L1ghtzin021:
I can't actively test this lock screen bug because my channel broke the screen so I can't tell you if it exists or not
[Moto G7 Play ROMs, Kernels, Recoveries, & Other De] L1ghtzin021:
I added more because the last builds had this problem
[Moto G7 Play ROMs, Kernels, Recoveries, & Other De] chuy19312:
I think it can be also because of screen DPI, i like to lower it, so i don't have problems with lock screen because of the free space on lock screen, if you get your channel's screen fixed, try to lower screen DPI on settings then try to unlock few times, so we can see if that's the problem

Oh, also, about the "If gapps gives an error when logging in, just remove the chip and try again" bug, here is an modified MindTheGapps 13 version i made, i did remove apps that could give problems on RAM because of their RAM usage but kept SetupWizard, so Google data and app restoring will work

MindTheGapps-13.0.0-arm64-20230808_213316.zip

drive.google.com
[Moto G7 Play ROMs, Kernels, Recoveries, & Other De] L1ghtzin021:
===== 15 Nov =====

* Bump to 9.11

* Swappiness reduced to 90%

* zRam increased to 1GB

* LiveDisplay is back

* OBS: This is an incremental version and requires the installation of build V9.10 for retrofit migration

ROM: Download
[OnePlus Nord N10 5G Questions & Answers] joshcantcode:
Hey all,

I have a friend with a T-Mobile OP Nord N10 5G (lito). About two weeks ago, she said she was calling someone a few days earlier, and one way or another her phone shut down. When she booted back up, it nearly finished the boot sequence but quickly rebooted into a screen with a "Boot reason" saying "RescueParty", and that the kernel log cannot be parsed. This behaviour is reproducible, and every time we try to boot, it stays on the T-Mobile splash screen for a minute or two before restarting again quickly into the boot reason screen. It can still be booted into fastboot and recovery.

View attachment 6028726

She's not a tech savvy user, so she's never enabled USB Debugging or unlocked her bootloader. She would like to keep her data if possible, but I'm unable to temporarily boot into TWRP and use an OTG cable since her bootloader is locked. I'm not ballsy enough to try anything else just yet until I know of a more reliable solution. Any help here would be greatly appreciated, thank you!
[OnePlus Nord N10 5G Questions & Answers] TheArkive:
The only thing I can think of is EDL mode, and the MSM tool. And in this case it's a definite "good bye" to the data.

[OPN105G][OOS TMO BE88CB] Unbrick tool to restore your device to OxygenOS

Make sure you pick the right variant of MSM tool for that model of phone. Read the sticker on the back of the phone. If it shows a different number, then look for the unbrick post in the forums for that specific model.

This should get you pointed in the right direction:

BE89BA (EU)

BE86AA (Global)

BE88CF (Metro)

BE88CB (T-Mobile) <-- this should be the right one, but check to make sure

Not sure if that will work when the phone is locked, but it's definitely worth a shot. You should still be able to get the phone working again - minus the old user data. Hopefully she has most of her data on other services / cloud storage.

If you have issues following the instructions in the link above, check out my post with a few more details about specific order of operations to get into EDL mode:

Emergency: Qualcomm Crashdump Mode: TZ-rpm-err

You will need to perform this MSM Tool fix on a computer with the EDL driver installed. You do this by getting into EDL mode with the phone plugged in via USB. Once the device shows up in the device manager then you can install the driver:

Qualcomm EDL driver

You can extract that file to a folder with 7zip (that's what I did).

If you need instructions on how to install the driver let me know.