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

Search This thread

Hami_Do

Senior Member
Aug 24, 2013
427
445
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
 

Attachments

  • Screenshot_20220918-122353_Camera.png
    Screenshot_20220918-122353_Camera.png
    233.3 KB · Views: 360
  • Screenshot_20220918-123006_Gallery.png
    Screenshot_20220918-123006_Gallery.png
    1.2 MB · Views: 359
Last edited:

Hami_Do

Senior Member
Aug 24, 2013
427
445
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.
 

Attachments

  • Screenshot_20221119-125254_Camera.png
    Screenshot_20221119-125254_Camera.png
    293.9 KB · Views: 110
  • Screenshot_20221119-224902_Gallery.png
    Screenshot_20221119-224902_Gallery.png
    433.6 KB · Views: 112
Last edited:

Hami_Do

Senior Member
Aug 24, 2013
427
445
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.
 

Attachments

  • decrypt_Mojito-Oss-a12-12L.zip
    999 KB · Views: 70
  • Decrypt_Mojito-Oss-a13-v2.zip
    999 KB · Views: 96
Last edited:

Hami_Do

Senior Member
Aug 24, 2013
427
445
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
 

Attachments

  • FmRadio-A12-A13-magisk-module.zip
    773.1 KB · Views: 63

Hami_Do

Senior Member
Aug 24, 2013
427
445
Increase sawp (ZRAM) from 2Gb to 4Gb

installation:
- Go to ofox recovery
- Flash attached zip
- Reboot to system

Ps:
Some roms have limited vendor partition size and RO, so they don't accept fstab.zram file modification or decryption.

Don't flash this zip on Roms having Neternels kernel as it has by default 4gb vbswap.
 

Attachments

  • Screenshot_20220920-133928_DiskInfo.png
    Screenshot_20220920-133928_DiskInfo.png
    112.6 KB · Views: 133
  • 4gb_swap_Mojito-oss.zip
    999 KB · Views: 58
Last edited:
  • Like
Reactions: alonsoj636

Hami_Do

Senior Member
Aug 24, 2013
427
445
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.
 

Attachments

  • IMG_20220920_134926_743.jpg
    IMG_20220920_134926_743.jpg
    56.2 KB · Views: 136
  • KProfiles-module-Neternels-mojito-v2.zip
    9.3 MB · Views: 144
  • IMG_20220920_134856_949.jpg
    IMG_20220920_134856_949.jpg
    65.1 KB · Views: 134
  • IMG_20220920_134921_871.jpg
    IMG_20220920_134921_871.jpg
    41.1 KB · Views: 134
Last edited:

Hami_Do

Senior Member
Aug 24, 2013
427
445
• This zip won't decrypt data on stock vendor.
• This zip won't decrypt data on Roms having RO vendor.
• This zip won't decrypt data on erofs Roms.
• Flash it everytime after flashing new rom.
• Decrypted DATA = LESS SECURE device.
Unlike the classic method which decrypts data at vendor fstab level, the new method can decrypt data even on RO roms such as erofs roms.
Soon i will let you know how..

Edit:
Last time I have decrypted successfully Arrow Os A13 erofs (Read Only ROM) using dfe-neo from here :
 

Attachments

  • IMG_20220922_011919_358.jpg
    IMG_20220922_011919_358.jpg
    85 KB · Views: 139
  • Screenshot_20220922-011737_Settings.png
    Screenshot_20220922-011737_Settings.png
    124.4 KB · Views: 138
  • Screenshot_20221018-182020_Settings.png
    Screenshot_20221018-182020_Settings.png
    144.2 KB · Views: 86
Last edited:
  • Like
Reactions: Apih95

Hami_Do

Senior Member
Aug 24, 2013
427
445
Since PixelOS uses read only filesystem (erofs) it might not even be possible to flash stuff there.
Flashing files directly in system you can't on erofs i agree, but flashing magisk modules on erofs is possible , there is no problem.
----
@pihpih95 I think same issues on neternels you will find them on WCSF..
except if you want try it on a12 , try PLC version ( prebuilt libcameraservice ), because my anx a12 module has a prebuilt libcameraservice.
And if you want try WCSF on a13 , try NPLC because there is no libcameraservice in my anx a13 module.
 
Last edited:
  • Like
Reactions: Apih95

Apih95

Senior Member
Aug 23, 2016
378
42
Kuala Terengganu
Redmi Note 10
I think same issues on neternels you will find them on WCSF..
except if you want try it on a12 , try PLC version ( prebuilt libcameraservice ), because my anx a12 module has a prebuilt libcameraservice.
And if you want try WCSF on a13 , try NPLC because there is no libcameraservice in my anx a13 module.
i found that whenever i record the video , it is not save to any of my storage , how to overcome this problem ? im using WCSF-PLC latest on AncientOS GSI,taking picture just fine , im using port v7 anxcam
 

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