yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Pad 4 Questions & Answers] alegriania:
Eu tenho um mi pad 4 8" LTE, bootloader desbloqueado, estava com a ROM Lineage, fui restaurar os dados de fabricação de configurações do próprio sistema e ao reiniciar ele ficou com problemas. Traga no logo inicial do twrp na tela, e não aparece o id do dispositivo quando colocado em modo fastboot para fazer os comandos no adb. A depuração USB estava ativada mas o notebook que estou usando é novo, não está autorizado... Ajudem por favor.
[Xiaomi Mi Pad 4 Questions & Answers] alegriania:
Eu tenho um mi pad 4 8" LTE, bootloader desbloqueado, estava com a ROM Lineage, fui restaurar os dados de fabricação de configurações do próprio sistema mas ele ficou com problemas. Travou logo inicial do twrp na tela, e entra em fastboot mas não aparece o id do dispositivo para fazer comandos no adb. Os drivers estão todos ok. Por favor, me ajudem
[Xiaomi Mi MIX 4] 暮间雾:
View attachment 5705637​

ABOUT

ArrowOS is an Android Open Source Project based Android mobile operating system started with the aim of keeping things simple, clean and neat.

Website: https://arrowos.net

Github: https://github.com/ArrowOS

WHAT NOT WORK?

Fast chanage(is fixed)

DOWNLOAD

NOGAPPS: https://flarecloud.cn/s/D46HG

GAPPS: https://flarecloud.cn/s/O48Ck

This ROM is compiled by myself and cannot be copied without permission, thank you.

SOURCE

ROM Source : https://github.com/ArrowOS

Kernel Source : https://github.com/mujianwu/kernel_xiaomi_odin

ROM OS Version: Android 13

ROM Kernel: Linux 5.4

Based On: AOSP

Device Tree : https://github.com/mujianwu/device_xiaomi_odin
[Xiaomi Mi MIX 4] 暮间雾:
2022/9/7 Update

Fixed Fast chanage
[Xiaomi Mi MIX 4] jackeagle:
Mod Edit

Thread Cleaned.

May i remind you all XDA Rule #4

Except English, no other languages are allowed on XDA Developers.

-jackeagle

Forum Moderator
[Google Pixel 6 Pro] kcv_earner:
Does it seem like Google is attempting to push custom ROMs away from, or off of, their newer devices (Pixel 6 Pro)? From what I can gather reading the forums there are a lot of examples of custom ROMs that have onerous problems. But, maybe that is just the nature of the business, people tend to only post when they are having difficulties.
[Google Pixel 6 Pro] Lughnasadh:
I don't think Google cares one way or another about custom roms. I don't think they do anything with custom roms in mind.
[Google Pixel 6 Pro] NYCHitman1:
This.

Google does what is in their best favor, not for the niche hobbyists. Over the years, you could see the gradual move to making ROM developers lives more complicated.
[Google Pixel 6 Pro] scott.hart.bti:
Google could very easily move away from custom development if they wanted to. All they'd have to do is move to a private license and ditch the apache and gpl open source licenses and keep all source code private. This will never happen as part of the open source platform is contributions from users across the world to improve things. Technically they could release very little device specific source as well and it wouldn't be the end all.

My first phone I developed for was a Samsung Infuse 4g. Development stopped at gingerbread and Samsung never released ICS (android 4) for the infuse due to the almost complete overhaul needed. So no device source and no kernel source from Samsung. Guess what? Within a month or so myself and a few other developers had a nearly fully functional (think there was 1 or 2 very minor bugs) infuse 4g running ICS and kept going from there.
[Google Pixel 6 Pro] NYCHitman1:
Those were the good ol' days. I miss those times a lot.
[Google Pixel 6 Pro] runtime64:
Apart from the interest Google has in open and free contributors to the code, would that be legally possible for them to privatize and "close" Android code for Pixels given it is based on Linux? Would that fit the open source license of the original Linux platform?
[Google Pixel 6 Pro] kcv_earner:
Thank you all for the reply to my question. The reason I brought it up was because I was looking for any LOS 19 working for the Pixel 6 Pro. I was earlier directed to this one, but dev has changed.
[Google Pixel 6 Pro] fil3s:
I wouldn't risk trying an a12 rom if you got a13 installed.
[Google Pixel 6 Pro] cbomb1337:
Custom roms are dieing for sure. The people left over are un friendly the builds nearly allways have bugs hence the amount of wingers the devs get which turns the devs into rude people. Majority of them have private sources they won't share. There dodgey ****s. I attempted to build a rom and failed and couldn't get any help. Instead every rom dev will ban u if u ask for help building there rom. Telegram is a **** storm. Mods on power trips. I have given up on the scene. Let it die with wild fire.

I start understand now a crew of 5 guys will never beat a company at there game. They might apply some patches or shot before the real devs release the proper os version but it not worth the actual bugs in the frame work. Who can trust the security of a team of guys to. They can do what they like to us from messing with the os put virus in it.
[Google Pixel 6 Pro] V0latyle:
As long as the A13 bootloader is installed to both slots, the worst that could happen is the firmware would run poorly.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The Sony Open Devices Project is always happy about volunteers (coding, testing, etc) :)

Also mainlining your favorite snapdragon powered xperia device into the mainline kernel is possible and we will be glad to help you!

Official site

Unofficial site

Source Code

#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

This is the AOSP ROM for the Sony Xperia XZ2 (akari)

This ROM build will always mainly based on Sony AOSP Code and maybe include cherry-picks.

I plan to make monthly builds, after a new security patch level, if there is no need for a critical hotfix.

FAQ:

fastboot & adb

https://developer.sony.com/develop/open-devices/get-started/flash-tool/useful-key-combinations/

https://wiki.lineageos.org/adb_fastboot_guide.html

https://developer.android.com/studio/releases/platform-tools

Stuck at SONY logo? Maybe you need to flash the OEM binary to oem_a and oem_b, while just oem is not enough.

Bugtracker:

SODP Bugtracker -> If you think the problem is in SODP

My Bugtracker -> If you think the problem is in my implementation

Bugreport:

A bugreport needs

logcat -b all

and a way to reproduce the issue.

A crash of the system requires the content of the /sys/fs/pstore folder as bug report

Be aware that a second reboot erases this folder

A crash to the recovery partition requires additionally the content of the /dev/block/by-name/misc partition

You get the content via `cat /dev/block/by-name/misc partition > /path/to/output/file.txt`

To rescue a not responding phone:

VOLUP+POWER for 3 Seconds -> RESTART with one Vibration.

VOLUP+POWER for 20 Seconds -> SHUTDOWN with 3 Vibrations.

VOLUP+POWER+CAMERA for 30 Seconds -> HARDWARE SHUTDOWN by discharging a capacitor.

Thank you very much for your help, code contribution & testing! (Random order):

@jerpelea, the sony employees and their volunteers (people like you and me) coding this wonderful piece of software

@dhacke for providing a download server

And many thanks to the few donators! :)

A telegram group for technical SODP stuff:

https://t.me/xda_tv
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Download & Installation

Download ROM:

Android File Host

FTP-Server from @dhacke

Download Drivers:

OEM (Tama) binaries

GCAM Camera App:

GCAM Issue

Suggested GCams

Installation with a recovery:

fastboot flash oem _a oem_*.img (Only needed until the device receives mainline support by SODP)

Flash the ROM in a recovery

Reboot into recovery just to make sure you're on the new slot

OpenGapps (Requires TWRP or a custom ROM recovery)

Dual Sim Patcher (Requires TWRP or a custom ROM recovery)

(In case a modification prevents your device from booting) fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Flash the ROM without a recovery:

Extract the payload.bin from the .zip file

Extract the .img files with the Playload Dumper

fastboot flash boot boot.img

fastboot flash dtbo dtbo.img

fastboot -w (Wipes your internal storage and the userdata; only if needed)

Now you got the AOSP recovery, to please continue with the normal installation

fastboot flash oem_a oem_*.img (Only needed until the device receives mainline support by SODP)

fastboot flash vendor vendor.img

fastboot flash system system.img
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
News

29.09.2023

09.08.2023

22.07.2023

26.06.2023

26.05.2023

12.04.2023

04.04.2023

07.10.2022

08.09.2022

06.09.2022
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
Thanks, @MartinX3! There are no Android 13 SW binaries for the Tama platform in the Sony servers. Should we make use of the ones for Android 12, instead?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You're welcome :)

As far as I know it's fine to use the A12 binaries for now on the tama devices.

The A13 binaries will come later.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
Thanks, @ MartinX3!

How to install Gapps?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
I followed the installation instructions, but it ended up in a recovery loop: after some minutes of boot animation, it restarts to the stock recovery. After some attempts with the same results, I'm now back to my previous setup, AwakenOS 2.10. Will wait for it to be updated to A13. Thanks, anyway!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thanks for the test but without logs it can't get fixed
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
The same here. Bootloop: /
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Looogs

pstore from the recovery would be helpful. <3
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
I wonder if the stock A10 ROM would be required beforehand. In my case, I started from A12.1.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Luckily the stock Voodoo for every new stock rom version only needs to be done once in your device UFS lifetime.

(Of course booting to the desktop after the google assistant to apply every firmware upgrade).

(And it should be done for the right LTE region if you move the country/provider for the best signal strength experience, since the old sony devices had different rom regions for the lte providers)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
I installed stock Android 10 and had to restart without the Android animation screen. As I installed directly from Lineage 19.1 it was at least an Android boot screen. I don't have logs because I don't know how to save them: /
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] alexisnik199111:
sorry to post here but you have the dm closed.can you patch the walkman apk in order to work? :) see here->https://xdaforums.com/t/apk-request...es-a100-nw-a100-series.4324181/#post-87388081
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zhka:
With my own compiled A13: (+ latest TAMA SW for A12)

On startup message: "There's an internal problem with your device. Contact your manufacturer."

For about a minute phone lagging - then working normally.

Camera not working, BT/WIFI working.

Upd: some issues with branch rep sync, compiled old A12...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Sorry, but its a pure AOSP ROM for SODP devices.

Hacks could raise the amount of issues.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
08.09.2022
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
I have now tried to install the newly released build on a XZ3 in the house. Again, a recovery loop. The difference is that in the XZ3 there is no boot animantion, and it takes a lot longer to boot to recovery. I have attached the recovery.log (zipped) file.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you but was there a pstore like described in the first post?

Sadly the log of the recovery doesn't help, since the recovery works.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
Sorry for the noob question, but where to find this pstore?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I heard about a first post in a thread with text
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
Of course. Shame on me! Anyway, it's a directory, and it's empty.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Hihi

A second reboot wipes it, since it contains only a crash log from the previous boot

So right after the crash instant boot into the recovery

If somehow you booted between again by accident it might get wiped
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] alexisnik199111:
please check the thread about your xz3 cause im having a problem withh bootloop if you can help
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please post a bootloop pstore log of the aosp 13 rom
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
My XZ3 takes a very long time with a black screen, no boot animation at all. Then, it reboots (I see only the brief bootloader unlocked warning) and goes itself to recovery. Again, pstore is empty!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
No ADB?

OEM flashed on oem_a?

Then probably let's wait for for the A13 OEM

The preview got shared for internal testing

So probably its release will be next week.

Thank you for testing.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
Yes, I flashed it to oem_a. In recovery, and even some time after it is booting up (before the crash), it answers to adb commands.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Oh, "adb logcat -b all" should instant display the logs.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] alexisnik199111:
im telling about this https://xdaforums.com/t/xz3-stuck-i...astboot-or-flash.4182417/page-2#post-87412265
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
Wow, when it was booting up with a black screen, there were two files in pstore. I'm attaching them here.

EDIT: also, some 30s of logcat -b all.

EDIT2: Sorry, these logs are from my XZ3. My XZ2 is now back to A12.1.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zhka:
So after compiling A13r4:

After starting phone "There's an internal problem with your device. Contact your manufacturer." message still there.

Interface lagging, until you lock/unlock phone.

Camera: still not working - just exits on start.

Wifi: after turning it on unable to find any network - infinite search. After entering network settings another time - it shows that Wifi disabled.

BT: seems working.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zhka:
Log here:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you for the logs and testing.

We need to wait for the A13 OEM blobs coming probably this or next week. :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zhka:
No news about fresh binaries? 🤔
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Sadly no news

It seems like the team is busy with adding support for the newest xperia smartphone

But also there are good news

OTA-Zips should be available soon again thanks to

common: hidl: Add prebuilt HIDL interface definition for IModemSwitcher 1.0 by gaganmalvi · Pull Request #900 · sonyxperiadev/device-sony-common

Should fix the host_init_verifier error we're getting Signed-off-by: Gagan Malvi malvigagan@gmail.com

github.com
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
07.10.2022
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
should the aosp-13-20221005_akari.zip file be 4MB? Because there is probably an incorrect file on the android host server.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you

It seems that AFH is or was broken.

I'll reupload it later there
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
From what I understand, you can already install Android 13 and you can already install Gapps through recovery. I understood?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
if you find a way how to install gapps with aosp recovery or something else

fixed
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
hi martinx3

unfortunately you're unreachable via github or even here in PM ; looks like you're the only guy whom ported pmos to xperia xz2 (arakiri); unfortunately without merging your discoveries to the pmbootstrap tool : that model doesnt appears in the pmbootstrap device lists. I have that model, is it possible to know a little bit more about it?

I thank you vm

best regards
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The time span between your PM and your message was 18 minutes.

Please read the current status of the device.

If you're a developer, please add the pmbootstrap tool support or install PMOS manually, test the features and update the device page.

Mainlining of the device is not completed.

Btw. without the UFS kernel fix it will do harakiri. So make sure it's added.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
Im sorry but you have done changes on it, maybe it was working? I dont see where it might not be compatible, in a wayy the "test area" on the wiki says nothing, for me, means it could work.

anyway, btw for the same device, why the lineageos official wiki installation isnt working?

I have this :

running LMDE5 on my laptop, with adb/fastboot

trying to install LOS on my arakiri :

fastboot flash boot /media/disk/arakiri/lineage-19.1-20221116-recovery-akari.img

Warning: skip copying boot_a image avb footer (boot_a partition size: 0, boot_a image size: 7782400).

Sending 'boot_a' (7600 KB) OKAY [ 0.215s]

Writing 'boot_a' FAILED (remote: 'Command not authenticated')

fastboot: error: Command failed

./fastboot --version

fastboot version 33.0.3-8952118

Installed as /tmp/ee/platform-tools/fastboot

root@host:/tmp/ee/platform-tools# fastboot --version

fastboot version 28.0.2-debian

Installed as /usr/lib/android-sdk/platform-tools/fastboot

bootloader unlocked..

(if it's possible to exchange directly with you (email or signal) Im opened to it :) )
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
you use "fastboot" and not "./fastboot" (local file).

Don't mix stuff on your computer.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
hey!

thank you ffor answers.

for the pmbootstrap, Im only a tester, but I saw you worked on it, and I didnt saw it's not working (for me it might be, maybe), so thats why I tried to reach you on that way

for lineageos, it's the documentation on the official wiki of lineage regarding arakiri, whom Im using both ./fastboot with a recent downloaded, and the fastboot from LMDE5 release repo, whom both are resulting on the same issue...

I sincerely dont know what to do..

thank you !
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
You're welcome

As far as I know PMOS is currently not usable as daily driver because of the mainline driver.

As example Linaro needs to finish the charger driver if I remember correctly.

I'll switch the AOSP ROM as soon as possible to the mainline kernel if the public can test it.

And please make sure to use the newest fastboot to flash the ROM.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
oh sorry, regarding pmos I didnt knew, there are rarely lot of information about each device, even when the model has been tested by few users. Means if "Linaro" finishes a driver, it may work (pmos) on that model? or few otehrs improvments, or critical code parts may be needed? DOes it boot or something? being installed through twrp or something? It's to get a bit of explaination about pmos on that device, simply :)

does AOSP=lineageos or not? I saw several releases on your androidfilehost but none information accompany them..

unfortunately on LMDE5 (debian), last adb/fastboot hasnt been updated since a while (and is not present in apt/upgrade), thats why I attempted to update it in a temp folder, where it looked to be a bit "working" (as it can show its version), but it gives the same results than the one "commonly installed", and I think it's using (for the temp downloaded version) the files of /tmp dir, means with proper for his version, not for the system, whom fails, too. Both examples have been quoted previously, with same result..

That's why Im a bit sad, btw I tried under windows, no success to interact in adb with it, even if it was working (but failing for flash) for linux, eg to "adb reboot bootloader".. thats why I feel a bit stuck...

thank you vm for your help!! :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
hey!

I finally made it.. but after investigation :

a/ using the latest "on the run" downloaded version of fastboot doesnt work, if a previous version (of the one mentionned

on wiki's lineageos official website) is already installed (for linux environnment)

for windows :

b/ several information are really missing for the nerd whom doesnt know much.

as example, for my ex huawei, I had to install huawei drivers, where I get those information in the xda thread regarding

the LOS release I downloaded.

for the official arakiri device installation and wiki pages, there is what is missing :

you have to install the xperia xz2 driver, whom windows doesnt do it automatically. It cant be finshed without it.

you have to install the generic usb driver for android. It cant be finshed without it.

you have to make the adb reboot recovery -or bootloader- working while phone is running android, to checkif the link and

drivers are supported : if adb fails, fastboot cant success. so when adb reboot recovery is donc, the fastboot operation

car go on only if the device is recognized in fastboot mode too, which is not the case for xperia on computers by default.

you have to follow this little process to update driver, whom is not the same with "android started" or

"bootloader/recovery" mode, for each. An update of the driver is necessary for doing fastboot operations too, as the xda

thread post is explaining there :

Xperia XZ2, Xperia XZ2 Premium and Xperia XZ2 Compact driver | Developer World

developer.sony.com

Get the Google USB Driver | Android Studio | Android Developers

The Google USB Driver is required to perform adb debugging on Windows with Google devices.

developer.android.com

Device in Fastboot mode not recognized at all as USB device

Hey everyone, im trying to unlock the bootloader of my LG G5, but am unable to do so as the phone is not detected at all when in fastboot mode. While it is recognized just fine as an adb device, after rebooting into fastboot mode via adb reboot...

xdaforums.com
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Realista11:
Link download recovery.img ??
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
New Software binaries for Android 13 have been released from Sony. But why is Tama not on the list? So Xperia XZ2?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
I assume tama wasn't finished due to the lack of volunteers.

Main priority is the slow mainlining process.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] UnknownLoader:
Um may i ask something? Does rom can installed on ubl no XZ2?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Hichem2006:
well, no
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] zhka:
Interesting. So what a problem to publish blobs as any other?

I think who's interested in will compile/flash/send feedback on that what is working/isn't working.

For me xz2c not a main phone ~2 years, so I'm ready to play with flashing/testing from time to time.