Themes / Apps / Mods Useful mods for custom roms //mojito//

Search This thread

spider1163

Senior Member
Miui Camera magisk module for aosp custom Roms.

PORT v7 for custom Roms ~ Mojito ~

Build date: 18.09.2022

Android: 12 & 12L
Download:
- HERE

Android: 13
Download:
- HERE

*Edit:
There are 2 bugs at least on a13 miui camera due to prebuilt libcameraservice not available yet on a13 : front portrait & 48mp.

1. Flash miui camera magisk module.
2. Reboot.
3. Enable Permissions in App Info if launching the app at first does not ask for any permission (Camera, Files, Location, Microphone).

AEonAX link
AnxCamera wiki

Thanks to:
AEonAX, SonalSingh18 and AMRGAMAL1
It works perfectly on crDroid A12 (crDroid-8.9-arm64_bgN-Unofficial.img)
Thank you !
 
  • Like
  • Wow
Reactions: Apih95 and Hami_Do

spider1163

Senior Member
Last edited:
  • Like
Reactions: Samir2298

Hami_Do

Senior Member
Aug 24, 2013
427
445
Dirac Sound Enhancer for mojito a13 roms
(magisk module)
 

Attachments

  • Dirac-Sound-Enhanser-mojito-a13-module.zip
    3.7 MB · Views: 60
  • Screenshot_20220929-041826_org.lineageos.settings.png
    Screenshot_20220929-041826_org.lineageos.settings.png
    135.8 KB · Views: 43
  • Screenshot_20220929-041833_org.lineageos.settings.png
    Screenshot_20220929-041833_org.lineageos.settings.png
    81.6 KB · Views: 43
  • Screenshot_20220929-043259_Settings.png
    Screenshot_20220929-043259_Settings.png
    165.6 KB · Views: 42
Last edited:
  • Like
Reactions: Apih95

Hami_Do

Senior Member
Aug 24, 2013
427
445
Dirac Sound Enhancer for mojito a12/a12L roms
(magisk module)


IMG_20221004_134311_754.jpg
 

Attachments

  • Dirac-Sound-Enhancer-a12-module.zip
    3.4 MB · Views: 27

nierewa

Senior Member
Jan 22, 2018
174
1
14
Hi,

I use cDroid 8.9 custom rom.
I flashed the MIUI Camera TWRP port this way:

#Installation for a12/a12L:
- Go to twrp/ofox & and install miuicamera zip
- Install 48MP fix
- Reboot to system
Now the phone won't start. I only see the CDroid Logo and nothing happens the whole night long.
What can I do to start the phone?
 

Hami_Do

Senior Member
Aug 24, 2013
427
445
TWRP mounter for mojito:

Sometimes we need to edit/add/delete files through twrp file manager in system, system_ext, product and vendor ..

So for that, flash twrp mounter to mount virtual partitions and set them as read/write , then edit your files carefully.
 

Attachments

  • TWRP-mounter.zip
    1.5 MB · Views: 33
  • Screenshot_2022-10-18-11-37-02.png
    Screenshot_2022-10-18-11-37-02.png
    188.9 KB · Views: 33
  • Like
Reactions: alonsoj636

nierewa

Senior Member
Jan 22, 2018
174
1
14
I'm sorry. I don't know what you mean ☺

I flash twrp mounter with twrp recovery?
Which files should I edit and how?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Update:
    The needed commit to fix front camera & portrait mode issue on Mi camera in "some roms" has been added in post 2 .
    2
    Not working. I am on los 20230102. Flashed with magisk the new version and the december security patch (after removed old version and reboot) No working selfie,nor portrait mode.
    I guess @alonsoj636 fixed it in his latest test build not released yet.
    2
    So this can be done by only Rom Developers right? Or can i tinker myself... I am using Pixel Experience
    Yes... only by developers

    and in the case of pixel experience
    ROM is official so developer isn't allowed to add things to the source (until rom source add it)

    As far i know.. Zidan is Core Dev so i think he can add those commits
    1
    Try the new camera port
    Finally 48 MP is working on Pixel Experience A13. Wish front cam and portrait worked too... Will use gcam for front cam until there is a fix.
    1
    Update:
    The needed commit to fix front camera & portrait mode issue on Mi camera in "some roms" has been added in post 2
    fixed on LOS 20 :love:
  • 9
    Anx miui Camera for aosp custom Roms ( magisk module )

    PORT v7.x for custom Roms ~ Mojito ~

    Android 12 & 12L
    Download:
    - v7.0

    Android 13
    Download:
    - v7.1 ( working on Pixel Os except 48MP)
    - v7.2 ( working on many roms )

    1. Flash miui camera magisk module.
    2. Reboot.
    3. Enable Permissions in App Info if launching the app at first does not ask for any permission (Camera, Files, Location, Microphone).

    Changelogs:

    09.09.2022
    • Fixed slow motion along with 48MP mode.
    • Fixed Portrait mode + filters along with wide/uw/macro lens.
    • Enabled documents, Night, short video, time-laps, long exposure and clone modes.
    • Enabled and edited watermark as "SHOT ON REDMI NOTE 10 AI QUAD CAMERA".

    18.09.2022
    • Fixed portrait again on some Roms.
    • Fixed HDR mode on back camera.
    • Fixed broken zoom ( green screen ).

    17.10.2022
    • Upgraded to v7.2 and dropped A12 builds.
    • Fixed 48MP on A13 ( thanks to @Anush02198 for help).
    • Fixed front portrait.
    • Removed front slow motion button ( was causing crashes ).
    • Removed scanner miui app and fixed Document option.

    * Miuicamera v7.2 tested and worked fine on Xdroid , Evo X , Cherish os android 13.
    * It has front camera and portrait issue on some roms like Spark os, riceDroid and Spice os android 13 due to their source (according to my modest knowledge).


    AEonAX link
    AnxCamera wiki

    Thanks to:
    AEonAX, SonalSingh18 and AMRGAMAL1
    6
    New MiCamera port [ magisk module]
    Camera version: 4.5.000530.0
    For mojito A12/A13 Custom Roms

    Build date :
    18-11-2022

    MiCamera magisk module:
    Download [Gdrive]

    48MP fix for android 13 magisk module (November 2022 security patch and previous):
    Download [Gdrive]

    48MP fix for android 13 magisk module (+December 2022 security patch):
    Download [Mega]

    48MP fix for android 12 magisk module:
    Download [Gdrive]

    Instructions:
    • Delete any anx / miui camera magisk modules if there is already.
    • Flash via magisk manager MiCamera magisk module and 48MP fix magisk modules according to android security patch then reboot to system.

    Changelog:
    • Optimized for mojito.
    • Added necessary vendor libraries.
    • Unnecessary codes removed.
    • Experimental features unlocked.
    • Enabled Night, 48MP, Short video, Panorama, Documents, VLOG, Time-Laps, Slow motion, Movie Effects, Ai Watermark, Custom Watermark (inside camera settings), Clone modes..

    15-12-2022
    • added new 48MP fix for December security patch.

    29-12-2022
    • Removed parallel processing from experimental features.
    • Switched to platform keys.
    • Fixed few sepolicy rules.

    Notes:
    •This camera tested and confirmed fully working on the following a13 roms : riceDroid, xDroid, Spice os, Spark Os ,Cherish Os, POS, Yaap, Derpfest, Bootleggers ..

    •On some roms: Evo x, crDroid & maybe other roms, front camera & portrait are broken ( not camera issue ); ROM's builders should add this commit to fix this issue: https://github.com/SpiceOS/android_bionic/commit/e1b0c860ea4dfc74cf9c016812b0d3aea315b1d0

    Edit: - fixed on lineage 20 & arrow :)

    Thanks to:
    AMRGAMAL1 , ceracz,
    Anx team and all testers.
    4
    Rootless KProfiles modes (only for neternels kernel) :

    Switch between battery , balanced and performance modes (manual or auto) using KProfiles app ( settings / battery / or using qs tile ).

    - Flash Kprofikes magisk module.
    - Reboot.


    - Tested and worked on many a12L/a13 roms.

    Ps:
    It won't work on Roms using non-Neternels kernel.
    3
    Disable Force Encryption for
    Mojito / oss vendor :

    Usage:
    1- Comming from encrypted rom
    - Flash the new encrypted ROM
    - Flash ofox
    - Reboot to ofox
    - Flash decrypt zip
    - Format data
    - Reboot system

    2- Comming from decrypted rom
    - Wipe data/dalvik/cache
    - Flash the new encrypted ROM
    - Flash ofox
    - Reboot to ofox
    - Flash decrypt zip
    - Reboot system

    Notes:
    • This zip decrypt your data.
    • This zip won't decrypt data on stock vendor.
    • This zip won't decrypt data on erofs Roms.
    • Flash it everytime after flashing new rom.
    • Decrypted DATA = LESS SECURE device.
    3
    Working Fm radio as magisk module:

    For A12 and A13 (most latest a13 roms don't have FM radio app).

    - Flash the module via magisk
    - Reboot to system