Development [ROM][13][UNOFFICIAL][alioth] PixelExperience for Redmi K40/Poco F3/Mi 11X [AOSP]

Search This thread

lukasz_m

Senior Member
Sep 19, 2017
86
116
Hello,

After a lot of work done by lzgmc, jayanthk and after some tests, I have built an unofficial continuation of PE for alioth.

Motivation:
- I have the device and wanted to have last security patches
- I want to have Netflix, Google Wallet, McDonald app working

Changes:
- Updated binaries from the most recent global alioth image
- All updates from PixelExperience, including security updates
- Share the same kernel as munch
- Publish differential OTA images

Changelog:

PixelExperience_Plus_alioth-13.0-20230926-0859
- Based on 2023.09 PE update
- Update kernel to the most recent version (4.19.295)
- Use drivers from MIUI Global 14.0.8.0
- Performance fixes
- Enabled OTA

Older releases deleted, but maintaned since 2023.04.

Image (initial, flash next by Updater app)):

Sources:

Instruction:
- you have to flash 2023.09 image first
- use updater app to get next updates

FAQ:

Q: Do you have the device?
A: Yes, I use my ROM on my device

Q: How to report bugs?
A: Write about them here

Q: I do not trust your builds
A: No problem, build image yourself from source or do not use this rom

Q: What about official support?
A: My ROM is not official (depsite OFFICIAL in name of images). There is already an official maintaner, but has not released images yet.

Q: Are there automatic updates?
A: Yes, you will receive notification when update is ready. Install it from updater app.

Q: Why do you publish incremental updates
A: I wanted to test this mechanism - they take less space and I like them

Q: Incremental update does not work
A: Do not flash other kernel, do not modify files. If you did it - go back to the 2023.05 release and start again

Q: Is this a vendor-boot ROM?
A: No

Q: Is there any guarantee?
A: xD
 
Last edited:

cobolatrix

Member
Aug 26, 2022
10
1
Hi, I'm on the 20230420-1753 build but when I try to adb sideload the from-20230420-1753-to-20230516-2127 update I'm getting this error, I'm using the provided recovery image:

Code:
Supported API: 3
Finding update package...
Installing update...
Step 1/2
Error applying update: 20 (ErrorCode::kDownloadStateInitializationError)
ERROR:    recovery: Error in /sideload/package.zip (status 1)

Install completed with status 1.
Installation aborted.

I also tried with OrangeFox Recovery, I didn't get this error there but upon reboot I noticed that my version number didn't change.

Also, thanks a lot for keeping PE on the Poco F3 alive, I briefly tried MIU14 but I found it too bloated for my taste.
 

lukasz_m

Senior Member
Sep 19, 2017
86
116
Could you enable ADB, dump the log from /tmp/ and paste it to pastebin?

Please also confirm you do not have magisk etc.?
 
  • Like
Reactions: cobolatrix

tdw197

Senior Member
May 17, 2008
52
10
I flashed the full image on GDrive linked above - thanks very much, works really well. But I think I'm being a blind and can't see the May update? Where do I find that...
 

lukasz_m

Senior Member
Sep 19, 2017
86
116
Everything okay with your eys. We have some defects with may update again :( Currently not repaired yet, will publish it when I am sure everything works.
 
  • Like
Reactions: tdw197

tdw197

Senior Member
May 17, 2008
52
10
Everything okay with your eys. We have some defects with may update again :( Currently not repaired yet, will publish it when I am sure everything works.
Ah great, thought I was asking a stupid question :)

Thanks for all your work - had semi-retired my F3 and just bumped it from 12 to 13, its really fast and smooth.
 

nnoca

New member
May 31, 2023
2
6
Sorry if this is a noob question. Is it possible to dirty flash to this 2023.05 from the latest official build?

And thx for keeping this device updated, really appreciate what you're doing here.
 

ciottaciotta

Senior Member
Hey Lukasz,
thanks for this work you are doing for all of us.
I I'm on last OFFICIAL PE build from lzgmc and I'm tying to dirty flash with ADB your ROM.
I receive this error whenever I run the ADB sideload comand but Maybe I did something wrong...can you help me ?
Thanks in advance

My version is:
PixelExperience_alioth-13.0-20230119-0644-OFFICIAL

Enabled ADB.
Now send the package you want to apply to the device with "adb sideload <filename Supported API: 3
Finding update package...
Installing update... Step 1/2
Error applying update: 7 (ErrorCode::kInstallDeviceOpenError ERROR: recovery: Error in /sideload/package.zip (status 1)
Install completed with status 1. Installation aborted.
@lukasz_m
 
Last edited:

lukasz_m

Senior Member
Sep 19, 2017
86
116
It happens when update was interrupted. I do not remember exact names, but please do from ADB:
mount /dev/block/by-name/metadata /metadata rm -rf /metadata/ota*
reboot to recovery and try again
 

ciottaciotta

Senior Member
mount /dev/block/by-name/metadata /metadata

rm -rf /metadata/ota*
Sry Lukasz but I don't understand how to run these commands.
I'm surely missing somethig, so it's my ingorance.

I boot the phone and connect it to my pc. I run the "adb devices" command from the platform-tools folder using "command prompt" as administrator.
I get this so ADB is running properly:
List of devices attached
506a3bf9 device

Than what I have to do ?
thanks in advance for your time.
 

blonderulez

Member
Sep 20, 2008
17
6
Xiaomi Mi A1
Xiaomi Poco F3
Sry Lukasz but I don't understand how to run these commands.
I'm surely missing somethig, so it's my ingorance.

I boot the phone and connect it to my pc. I run the "adb devices" command from the platform-tools folder using "command prompt" as administrator.
I get this so ADB is running properly:
List of devices attached
506a3bf9 device

Than what I have to do ?
thanks in advance for your time.
First open a shell on your device by entering on your PC: adb shell
Then then you can give shell commands like in the posting above
 
  • Like
Reactions: ciottaciotta

ciottaciotta

Senior Member
First open a shell on your device by entering on your PC: adb shell
Then then you can give shell commands like in the posting above
OK thnaks for the explanation...
After giving "mount /dev/block/by-name/metadata /metadata" command i get:
"mount: bad /etc/fstab: No such file or directory"

When I try to browse it with "cd" and "ls" commands i can browse till /dev/block/by-name/ and I see metadata folder with "ls" than when i go for "cd metadata" i get this "/dev/block/by-name/metadata: Not a directory"
 
Last edited:

lukasz_m

Senior Member
Sep 19, 2017
86
116
Does this work?

Code:
mkdir /tmp/metadata
mount /dev/block/by-name/metadata /tmp/metadata
rm -rf /tmp/metadata/ota*
 

Top Liked Posts

  • 1
    - adb sideload can process exactly the same files as Update mechanism - so both differential image and full image are allowed

    - differential image is much smaller, as it only contains difference between old and new release; but it requires the specific previous version (with no modifications) that it can patch
    - standard image contains all partitions, is big but can be always installed
    ahh you mean incremental update, yeah? i got it thanks
  • 6
    Poco F3 is now deprecated again with no maintainers. Any chance for you to be the new official maintainer?
    image.png
    4
    Guys, question: another OTA update just bumping security patch to September (of course with security fixes), or wait to October (20230922-1140 is still on 2023.08 security string)?
    Please leave 'like' or 'angry' for this post.
    3
    Just updated september image - this time it is a full update image, not differential one.
    Link is visible in first post. One can flash on already modified system.

    Clean flash is needed, unless you update from mine images.
    3
    - adb sideload can process exactly the same files as Update mechanism - so both differential image and full image are allowed

    - differential image is much smaller, as it only contains difference between old and new release; but it requires the specific previous version (with no modifications) that it can patch
    - standard image contains all partitions, is big but can be always installed
    2
    Hello,

    I can send current full image if you share me google drive or something similar with 2GB free space.

    @nnoca
    "Due to android 14 release next month, we are not taking in any new maintainers for android 13 as of now."

    @pounod
    Actually I take commits from similar devices. I am not brave enough to solve problems and do changes on my own. But anyway:
    1. I think that 60Hz is rarely used to provide better experience with 120Hz. Please check if that happens when battery is low. IMHO it works correctly
    2. Maybe you have any commit reference how to do it? Do not know if this is enabled globally for PE or does it happen only for my compilation?
    3. I do not know yet, what changes need to be done. I will try to do it if possible. If yes, I will publish full image.

    Regards
  • 13
    Hello,

    After a lot of work done by lzgmc, jayanthk and after some tests, I have built an unofficial continuation of PE for alioth.

    Motivation:
    - I have the device and wanted to have last security patches
    - I want to have Netflix, Google Wallet, McDonald app working

    Changes:
    - Updated binaries from the most recent global alioth image
    - All updates from PixelExperience, including security updates
    - Share the same kernel as munch
    - Publish differential OTA images

    Changelog:

    PixelExperience_Plus_alioth-13.0-20230926-0859
    - Based on 2023.09 PE update
    - Update kernel to the most recent version (4.19.295)
    - Use drivers from MIUI Global 14.0.8.0
    - Performance fixes
    - Enabled OTA

    Older releases deleted, but maintaned since 2023.04.

    Image (initial, flash next by Updater app)):

    Sources:

    Instruction:
    - you have to flash 2023.09 image first
    - use updater app to get next updates

    FAQ:

    Q: Do you have the device?
    A: Yes, I use my ROM on my device

    Q: How to report bugs?
    A: Write about them here

    Q: I do not trust your builds
    A: No problem, build image yourself from source or do not use this rom

    Q: What about official support?
    A: My ROM is not official (depsite OFFICIAL in name of images). There is already an official maintaner, but has not released images yet.

    Q: Are there automatic updates?
    A: Yes, you will receive notification when update is ready. Install it from updater app.

    Q: Why do you publish incremental updates
    A: I wanted to test this mechanism - they take less space and I like them

    Q: Incremental update does not work
    A: Do not flash other kernel, do not modify files. If you did it - go back to the 2023.05 release and start again

    Q: Is this a vendor-boot ROM?
    A: No

    Q: Is there any guarantee?
    A: xD
    8
    PE 2023.07 update released.

    Additional Notes:
    - use Settings->System->System Updates app: check for update, download and install it
    - be patient on installing update - can take up to 30 minutes, do not interrupt it
    - "android system intelligence" is crashing, probably PE problem
    6
    Poco F3 is now deprecated again with no maintainers. Any chance for you to be the new official maintainer?
    image.png
    4
    Guys, question: another OTA update just bumping security patch to September (of course with security fixes), or wait to October (20230922-1140 is still on 2023.08 security string)?
    Please leave 'like' or 'angry' for this post.
    3
    Just updated september image - this time it is a full update image, not differential one.
    Link is visible in first post. One can flash on already modified system.

    Clean flash is needed, unless you update from mine images.