yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
[MENTION=6268432]shivatejapeddi[/MENTION]

Volte Fix for P : https://drive.google.com/file/d/1h-2qTwhUidU9gDBFzj86RMfZn-vwLOnG/view#

BUGS IN ANDROID P GSI

VOLTE-its fixed

On DP5 on each reboot mobile data selection settings need to done. On each reboot "SIM cards changed" will pop up. It is better than losing VoLTE altogether on reboot using earlier suggested installs.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] msuki:
hi,

one of first thing i to do is disable USB debugging, reason for this is due app that i use require that disable usb debugging. So this is not cause of battery drain in standby.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
I found that initially after installing DP5 there was constant drain but after it settled and I rebooted, it was fine. In fact with Greenify and AKT (Project XANA Battery) I was able to get up to 6 hours SoT (almost unheard of for me since the early days of owning this X2 with a fresh battery and using pre 23S eui) and near zero standby drain (very flat lines on the battery usage graph). I would have continued using but for slow opening of apps and some glitches (files app kept crashing, screen usage stat in battery settings got stuck) and my concern about Google Photos full res uploads.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
That's a rework of VoLTE fix file from Xiomi for Le Max 2. The build.prop which was originally included the Xiomi file has been stripped and proper permissions set for other files. However on every reboot one needs to execute mobile data settings. SIM cards changed will pop up on reboot. But it is better than DP4 fix which was used for Redmi 4 where the HD capability will be last on reboot. But the VoLTE provisioned flag was set properly in DP4 fix case but here it is still greyed out but works.

Refer to OP as well where [MENTION=6268432]shivatejapeddi[/MENTION] has updated the VoLTE fix issue.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Noticed something that is special to Pixel phones. An x mark at the right bottom of signal strength icon on status bar. I have network connectivity, can browse, download and mo issues with calls/sms also. There are various interpretations but none from Google though many have experienced. May be some dev explain as they would have come across parameters relating to the icons. Please see the attached image. Thanks.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] remixn:
Thank you so much for this great work [MENTION=6268432]shivatejapeddi[/MENTION] ! I really appreciate it.

The only problem I spotted so far is that adaptive brightness doesn't work on GSIs that I've tried, that is ResurrectionRemix and crDroid. I'm not sure whether it's a problem with this Treble implementation or just a problem with those specific GSIs, but some LeMax2 user complained about this problem on RR GSI thread…

Thanks again and keep up good work :D
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] riazsudeen:
From today morning device gets random reboot into recovery any solutions? :confused:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] zloy_74:
Found little bug, when phone is connected via bluetooth there is no ringtone sound, only haptic, and it didn't play via bluetooth handsfree
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
After two days of mixed use the ROM seems to settle with less heat and more speed. Did not check for SOT fully - was at 52% after 2 Hrs 27 Mts. Recharged as I wanted to experiment a few things - extracted boot and vendor img from AEX, went to stock with stock recovery, returned to TWRP. Data format, wiped all. Installed the extracted boot and vendor images, DP5, POST and VoLTE fix files. Back with DP5.

Found a host of errors in logcat before starting above exercise. Renamed from vendor/lib64 two files before installing POST2. Actually used "cp" command instead of "mv".

1. "vendor.qti.gnss@1.0_vendor.so" as "vendor.qti.gnss@1.0.so"

2. "vendor.qti.hardware.iop@1.0_vendor.so" as "vendor.qti.hardware.iop@1.0.so"

This brought down number of errors.

Would appreciate if someone can come up 1. Auto rotation and 2. Permanent SIM setup. Thanks in advance. "fix.zip" by [MENTION=6268432]shivatejapeddi[/MENTION] does not rotate and "P-sensorfix.zip" suggested here gives wrong rotation. This affects cam app as the app always starts in landscape, images in landscape.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
The x Mark is data disabled only. The confusion arises due to swapped positions for SIM 1 & 2 icons. On factory reset or fresh install both SIM data are On. And no x obviously. When I disabled data for SIM 2 the x popped up at first icon from left!!! My data SIM on slot 1. Should have known from LTE position.

VoLTE SIM in slot 2 recognized properly but no VoLTE.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pssyz:
hey guy ! any ideal to have IR remote control back ? i have test flashing the "letvremote.zip" which can work on 7.x & 8.x system , but when i test it on P , it got FC when i open the APP !

LeEco Letv Remote Control App flashable zip download :

https://www.androidfilehost.com/?fid=889764386195898642

Make Sure your Selinux Mode is Permissive , you can use "SELinuxModeChanger.apk" , need root !
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sergjhb:
Dear

shivatejapeddi

!

Please fix issue or give some clue how to increase volume on earpiece during the call !!!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
https://github.com/lineage-o-x2/and...mmit/d92c908d435928d41cc317cce6ca5c5817dffee4

Change the value to 95 instead of 88 in mixer_paths_tasha.xml
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Oggii:
On flashing the ROM I get message ..

There is a fault with your device. Contact device manufacturer.

Can't call or listen on my device.

Thanks
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] giaur:
Has anybody tried Lineage 15.1 treble? https://xdaforums.com/xiaomi-redmi-4x/development/treble-lineageos-15-1-beta-t3790991 will it boot?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Any idea if the instructions set is the same for Kryo and Coretex processors? The reason why I am asking this is, the link above mentions Redmi 4/4X which have Cortex A53 where as X2 has Kryo. I can try and post. AFH downloading is so bad even with ADM.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] giaur:
If I understand correctly, Treble is device independent, so any treble build should work on any Treble enabled phone. If not, please anybody clarify
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Yes, you are right - but to my knowledge the SW component that is supposed to be independent of devices is the OS part which interfaces with hardware data which is contained in Vendor partition. Until Project Treble all were clubbed together.

With regard to the ROM you have mentioned we may need to strip the vendor and boot images from the zip and install only the system partition. Unfortunately I have no clue how to extract the system partition from the above mentioned file to make it an flashable zip or img file. I need to ask someone and time and mood permitting he will do for me...

Having said that I chanced upon this: https://xdaforums.com/android/help/tut-how-to-convert-dat-br-to-dat-t3723926

See the attached image for implementation - BPT and APT - Before Project Treble and After Project Treble.

Besides that not all processors will have the same instruction set to work with real hardware. Even within the same family some processors may end up having a subset of another one depending on what it can do. So some app will work and some will kick.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
Long story short, you can boot GSIs if the device is treble enabled but you can't boot a treble build which is made for a specific device. You can boot any treble rom made for x2.

Device specific builds just have different device trees which use /vendor as vendor partition instead of /system/vendor.

PS: It is much more than just that but that's just a simple explanation.

Feel free to use any GSI. You can find them on xda there's a separate xda thread for those afaik.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] giaur:
I thought treble must use /vendor separate partition, not /system/vendor dir
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
Yes it uses separate vendor partition only. That's what I wrote.

Actually treble roms which are device specific also come with their vendor images in the rom package itself. That's why it won't work on any device. On the other hand GSIs are only system images and has nothing to do with the vendor.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] giaur:
But once you have valid /vendor partition, you can flash /system only from device specifc treble rom (ommit vendor, boot etc, which are not for our phone) and as far I understand, it should work, because /system should be the same for all devices
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
Depends, if you can extract the system image and flash it then yes it should work but there are no guarantees of the functionality because the system image have stuff for the specific chipset I guess.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] giaur:
Hmh, as far as I understand, reason why Treble even exists is to make /system Independent from phone model or chipset. 100% device specific stuff should be placed on /vendor partition and it may be even closed source
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] MatheusSpach:
Using the project since yesterday, I'm running the RR Official GSI.

I have only one thing to complain about, the LED backlight for the buttons doesn't seem to work in any GSI I've tested so far, is there a way to fix this? maybe something missing in build.prop?

Also, thanks for the work so far.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dbkarthikbabu:
You can install 'Capacitive Buttons' app from Play store to get LED backlight (it's very dim but manageable. Something is better than nothing).
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] MatheusSpach:
Thanks, Just downloaded, it's working Fine now.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mikeysteele:
From what I understand, for a device to be treble compliant, it just has to be able to run a generic system image. There's nothing stopping OEMs putting device specific stuff in their system images too, provided it doesn't break compatibility with the GSI.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] giaur:
Ideally, Google could start releasing pure GSI builds compatible with all Treble devices, but is seems it's not going to happen.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] romester:
No puedo instalar ningún img.

Lo que hago:

instalo la ROM AospExtended-v5.7-x2-20180722-1655-OFFICIAL.zip

arrancando el smartphone sin problemas despues de la instalacion

Despues:

1º .- pulso en wipe -> AdvanceWipe ->

Dalvick / ART Cache.

system.

cache.

Data.

y deslizo el boton de Swipe to wipe.

PD: No borro la particion Vendor, tambien he probado sin marcar Data con el mismo resultado.

2º.- Pulso en Install -> install image ->

Selecciono el img que me he descargado ( https://xdaforums.com/project-treble/trebleenabled-device-development/rom-omnirom-8-1-t3824159/page2 ). He probado con dos roms mas y el mismo resultado

Seleciono la particion System Image.

Deslizo el boton Swipe to corfirm Flash.

La instalacion dura unos 5 segundos y no se desplaza la barra de progreso, que es lo que me extraña.

Reinicio y me sale el mensaje de que no hay un OS instalado del TWRP.

Alguna sugerencia? que estoy haciendo mal?

============================================================

I can not install any img.

What I do:

I install the ROM AospExtended-v5.7-x2-20180722-1655-OFFICIAL.zip

starting the smartphone without problems after installation

After:

1 .- I pulse on wipe -> AdvanceWipe ->

******** Dalvick / ART Cache.

******** system.

******** cache.

******** Data.

and I swipe the Swipe to wipe button.

PD: I do not erase the Vendor partition, I have also tested without marking Data with the same result.

2º.- I Pulse in Install -> install image ->

******* I select the img that I downloaded (https://xdaforums.com/project-treble/trebleenabled-device-development/rom-omnirom-8-1-t3824159/page2). I've tried two more roms and the same result

******* I select the System Image partition.

******* I swipe the Swipe to corfirm Flash button.

The installation lasts about 5 seconds and does not move the progress bar, which is what I miss.

Restart and I get the message that there is no OS installed from the TWRP.

Any suggestions? what am I doing wrong?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] remixn:
I've noticed another bug: notification LED either doesn't work at all on some GSIs or its color cannot be customized. Also battery LED doesn't work at all.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Beackman:
Thx dev's, converted mine X829 for treble and flashed omni gsi.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Suryashekhardas:
Guys i need your help :(

Guys I need Your help :crying:

https://youtu.be/i0Pk1jP0j24

Here is my issue, I uploaded a video on the issue .

When i boot the device, the bootanimation does not show after the splash screen.

After the Leeco logo, the screen just turns black, and then after 15 seconds, the phone boots up. Please watch the video for better understanding

Being a med student, i really have no idea how to fix this critical stuff :P

can you guys please help me out? :victory:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Dark Stranger:
Have you tried to continue after the message ?? Gsi that no other application after the installed image file will give this message, but in the end they initial normally.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Dark Stranger:
Which rom?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] bixio2:
the problem of mirroring that makes the device restart has not been solved yet?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] an.pandiyaraj:
Follow the steps:

1. Install terrible supported TWRP.

2. REBOOT to RECOVERY AGAIN..

3. IN CHOOSE ADVANCE TAB CHOOSE TERRIBLIZ

4. WIPE ALL PARTITIONS EXCEPT INTERNAL STORAGE

5. INSTALL ABDROID 8.1 TERRIBLE SUPPORTED ROM and REBOOT....

6.REBOOT RECOVERY AND WIPE ALL PARTITIONS EXCEPT INTERNAL STORAGE AND VENDOR....

7. INSTALL EXTRACTED IMAGE AND POST SCRIPTS STEPS GIVEN IN PAGE #1
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dbkarthikbabu:
Which Treble supported ROM you flashed? Is it AEX 5.7??
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] an.pandiyaraj:
Yes
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] balajithegreat:
Just Wow! any bugs ? is everything working?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Beackman:
Only "bug" is on first boot they show me a problem with the storage and never show again, only the light butons not working, everething else is working and the storage os ok too.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] riazsudeen:
untill now everything is working except camera focus and why does device goes vibrate mode automatically ? do anyone have solution 4r this.......
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mrcesarmx:
The boot is correct. But it gives me a manufacturing error message and is slow to open applications. I'm doing the flashing from my USB. I think I'm doing all the right steps. But my initial error I can not solve help me
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sergjhb:
To all P9 testers!

When you flash POST ZIPs - flash them one by one and look carefully for the message -

if you see something like "no such file/directory" - this mean that "vendor" was unmounted and ZIP wasn't installed properly!

Go to MOUNT and uncheck/check vendor and reinstall last ZIP again !
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] romester:
Ok, I have done what you have told me and everything is fine, thank you
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] abufrejoval:
Enable "autofocus fix" in LeEco Extras

Autofocus is a setting in extras, vibrate: Missing specifics... Perhaps going through the settings and toggling them works?

---------- Post added at 02:27 AM ---------- Previous post was at 02:07 AM ----------

Hice lo mismo, el imagen de RR no me funccionó, pero el AOSP extended, sí.

Resulta, que el AOSP extendido es una joya y estoy feliz por el momento... ¡Mañana veremos que pasa con los demás!

I've tried the same, started with an RR because that was what I had used before and it always went to fastboot for lack of something...

Then tried the AOSP extended image he provided (zip), which not only worked just fine, but seems a well crafted ROM all through.

I'll run some more tests when I have a chance, but perhaps this AOSP lays some groundwork that the other GSI (IMG) images depend on..

As you allude, nothing seems to happen to the /vendor partition, while there are these hints that touching it leads to disaster.

So perhaps it's just one of those things the AOSP extendido ZIP takes care off... ¡Ojala ya funcciona ahora! Is ja noch immer jutgegangen!

I believe, that I also received the warning message about a missing OS from TWRP also when I installed the ASOP extended ZIP, but it's far too hot (32°C all last week with no aire acondicionado) to be sure...

More when I have it!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] fromjeet:
i flashed vivo rom ..but stuck on vivo boot logo...i flashed given patch in vivo treble rom but error is cant patch with boot image,

please devs fix it
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mamarama9904:
A vendor image mismatch has been detected. Typically this means your vendor image is not out of date. Please ensure your vendor image matches OMP2.171026.

it appeared in booting after flashing RR. where is this vendor image?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] an.pandiyaraj:
Why did you flash vivo rom... This is x2 forum... You have to flash x2 comfortable rom not vivo rom....

---------- Post added at 07:21 AM ---------- Previous post was at 06:58 AM ----------

Hi [MENTION=6235294]ThE_MarD[/MENTION] is it possible to implement A/B partition support for x2?

https://source.android.com/devices/tech/ota/ab/ab_implement
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] GalaticStryder:
TWRP 3.2.3 (Treble-compatible) / 08062018

Just a heads up around here, I've update my TWRP fork with the Treblize button and /vendor mount point, should allow anyone interesting in testing Treble out as well as those that want to use F2FS with encryption.

Reference build tag: 08062018

Here's the DIRECT DOWNLOAD LINK for the X2 image hosted on my Github.

OBS.: The button won't do Treble setup, it will rather just partition the disk for you, to get Treble going you'll need to use a Treble base ROM and later GSI (to test P).

If you get /vendor mark in RED, just skip as it didn't find the mount point in place.

I don't have a TWRP thread for the X2, you can follow the one from ZL1 to get the updates.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] an.pandiyaraj:
It would be great if you could release your kernel
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] an.pandiyaraj:
Unable to send SMS (waiting for connection ) any idea?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dbkarthikbabu:
Anyone tried Android Pie PR1 on Le Max 2?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] romester:
Instale la última versión de android P (PR1) y lleva 10 horas actualizando el sistema y aún le quedan unas 4 horas más para que termine la actualización.

funciona todo excepto las Gapps que se estan actualizando.

¿Ha alguien más le ha pasado?

¿Estoy haciendo algo mal?

===============================================

I have installed the latest version of android P (PR1) and it takes 10 hours updating the system and there are still about 4 more hours left for the update to finish.

Everything works except the Gapps that are being updated.

Has someone else happened to you?

I am doing something wrong?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] an.pandiyaraj:
What is PR1?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] romester:
The new version of Android P

Direct Link of download -> here
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pranjalm:
I tried to install PR1 but it doesn't boot.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] romester:
to me, if it worked, but I was 10 hours updating the system and still had about 4 hours left.

Everything worked, except the Gapps. and Google Chrome.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dolarrr:
I thing you should turn off WiFi and data transfer. Then update play services manually, from apk.

Wysłane z mojego Pixel XL przy użyciu Tapatalka
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pssyz:
https://xdaforums.com/project-trebl...ment/rom-android-p-developer-preview-t3816659

Fix google account and playstore:

install https://tinyurl.com/gmscore

see this !!!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kewlest22:
to anyone who's pr1 didn't boot, start from scratch, use new method, install twrp, select trebalize, then wipe all partitions except internal, then install treble enabled aex, then wipe system, dalvik and cache and follow instructions to install p gsi in this thread , it'll boot and will work without any problem, to initialize playstore follow instructions on the p gsi page and even that won't be a problem
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hemantk555:
Just installed P-Pr1 no problem .
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Beackman:
Well, for me only the sensor have issue, inverted, even installed the sensor fix zip called P-Sensorfix.zip worked for me.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] eater05:
hey aosp extented have a some problem

when i used i cant put the charger(the real one from box) when the device open i have to restart device while i charging so that i can charge finally i can use treble project they have all the same problem

but i used another rom which it not treple project i can charge normally example DU12 Dotos MIUI so pls fix this bug pls

sorry for bad gammar

i used charger type c to c for fast charge when i put in nothing happend

but i used normal usb it happend but slow
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] joaoVi:
I want to install Android Pie GSI on my Le Max 2. But I have 1 question: do I need to update manually every month, or the security patches work fine? I know it's really early, but I want to give it a try.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] lalit.abl:
[MENTION=6268432]shivatejapeddi[/MENTION]

Dear sir,

I am not able to wipe or mount my vendor partition. At change file system, screen it shows 0 bytes in vendor partition. Please help me to solve it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
If you happen to check the size of hals.conf it's around 47/49 bytes in the fix zip files whereas as per

https://github.com/Chityanj/treble_devicetree/tree/treble/sensors

which gives the codes the file size is 40+ KB. Both have three lines with ref to .so files. May be it is padding in file found under the website. But as you said it does not work.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Chityanj:
Have you mounted vendor?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] lalit.abl:
Sir,

I have followed new as well as old procedure to Treblized including flashing Partition Zip. these shows error. But when I try to mount vendor partition I cannot select it. I tried to wipe it but message come as "Vendor Partition not mounted". So I cannot mount or wipe Vendor partition.

Please help.