[MAGISK] Various mods for Xiaomi Mi 5S Plus (natrium) running MIUI 10 Oreo

Search This thread

MasterFURQAN

Senior Member
Dec 12, 2013
802
178
26
Srinagar
nah, unless someone tell me how to query the device name & append it at the file it intended to replace.

but I could help you to edit the file if you can send me. it's located in /system/etc/device_feature
This is the only file that I could find there. And btw thanks for reaching out. ?
 

Attachments

  • beryllium.xml
    18.5 KB · Views: 9
  • Like
Reactions: Crescendo Xenomorph

Crescendo Xenomorph

Senior Member
Feb 11, 2009
2,199
1,529
Garden of Time
First of all Thank You !
Sorry for the late reply.
and no i cant disable quick pull down and also i cant use exposed :(.
i ll test this zip and let you know.

it's ok... My module in magisk repo already updated to the latest one.
please do flash from the repo instead. ;)
I moved on to MIUI 10 now (China ver - Oreo) and created magisk module to put back the option to disable pull-down of statusbar on lockscreen: https://forum.xda-developers.com/mi-5s-plus/themes/magisk-disable-pull-quick-toggle-status-t3883748
 
  • Like
Reactions: shubhamkulkarni02
Jul 9, 2014
16
2
24
Pune

Crescendo Xenomorph

Senior Member
Feb 11, 2009
2,199
1,529
Garden of Time
Is it updated?
I cloned your repo.
I got that checker. I can edit that to gemini but it's not that simple right?
We also need to rename that xml file and other contains.
Can you guid me or can you plz do that and upload new zip here?

This repo? https://github.com/CrescendoFang/natrium-device-mods

Just edit the /META-INF/com/google/android/update-binary
and delete this lines altogether:
Code:
# Detect device
if getprop ro.product.name | grep -iq natrium; then
  ui_print "    Natrium detected!    "
else
  # If device not matched, abort it.
  abort "    This module for natrium only!    "
fi

Then you need to put the files to correct place.
As for device_features xml, you can't use mine. It is device specific.
Upload it here & I'll edit it out for you.
Or you can compare using Notepad++ between mine & yours.

If you need just for 60fps rec, just find this string and set it to true:
<bool name="support_camera_hfr">true</bool>
and save.
 

Crescendo Xenomorph

Senior Member
Feb 11, 2009
2,199
1,529
Garden of Time
Is it updated?
I cloned your repo.
I got that checker. I can edit that to gemini but it's not that simple right?
We also need to rename that xml file and other contains.
Can you guid me or can you plz do that and upload new zip here?

This repo? https://github.com/CrescendoFang/natrium-device-mods

Just edit the /META-INF/com/google/android/update-binary
and delete this lines altogether:
Code:
# Detect device
if getprop ro.product.name | grep -iq natrium; then
  ui_print "    Natrium detected!    "
else
  # If device not matched, abort it.
  abort "    This module for natrium only!    "
fi

Then you need to put the files to correct place.
As for device_features xml, you can't use mine. It is device specific.
Upload it here & I'll edit it out for you.
Or you can compare using Notepad++ between mine & yours.

If you need just for 60fps rec, just find this string and set it to true:
<bool name="support_camera_hfr">true</bool>
and save.
 
Jul 9, 2014
16
2
24
Pune
This repo? https://github.com/CrescendoFang/natrium-device-mods

Just edit the /META-INF/com/google/android/update-binary
and delete this lines altogether:


Then you need to put the files to correct place.
As for device_features xml, you can't use mine. It is device specific.
Upload it here & I'll edit it out for you.
Or you can compare using Notepad++ between mine & yours.

If you need just for 60fps rec, just find this string and set it to true:
<bool name="support_camera_hfr">true</bool>
and save.
Yes.. That's the repo I cloned.
Also there is no device feature folder in gemini.
I want gestures. But that hardware keys xml content in my gemini is same as your modules xml file.
Can you plz check file structure of gemini. That would be really great. Thank you.. :D
 
  • Like
Reactions: Crescendo Xenomorph

davorzilic

Senior Member
Nov 19, 2012
104
68
I love the camera features but I don't need full screen, especially when it took part of the screen for the navigation. So at the end we got smaller screen despite it is called "full. ".
Is it possible for us to turn off this features and keep rest of them?
Thank you for your hard work!
 
  • Like
Reactions: wedra

Crescendo Xenomorph

Senior Member
Feb 11, 2009
2,199
1,529
Garden of Time
I love the camera features but I don't need full screen, especially when it took part of the screen for the navigation. So at the end we got smaller screen despite it is called "full. ".
Is it possible for us to turn off this features and keep rest of them?
Thank you for your hard work!

my idea is to disable the capacitive button & use the full screen gestures, not software nav button ;)
as it'll be funny if I enable the capacitive button + full screen gestures....
 

davorzilic

Senior Member
Nov 19, 2012
104
68
my idea is to disable the capacitive button & use the full screen gestures, not software nav button ;)
as it'll be funny if I enable the capacitive button + full screen gestures....

It looks even funnier on the phone as there are duplicate buttons, software and capacitive. It took almost a centimeter of screen. But I don't need it anyhow.
So I ask you is it possible to use camera mod without rest of package?
 

Attachments

  • Screenshot_2019-01-14-08-08-53-098_com.android.chrome.png
    Screenshot_2019-01-14-08-08-53-098_com.android.chrome.png
    202.4 KB · Views: 96
  • Like
Reactions: wedra

Farhan Maitla

Member
Jul 31, 2014
30
1
For custom roms

I really like these gestures. Can you make it for custom roms too for this device? Or can i install this version on other roms like syberia project etc??
 

Crescendo Xenomorph

Senior Member
Feb 11, 2009
2,199
1,529
Garden of Time
It looks even funnier on the phone as there are duplicate buttons, software and capacitive. It took almost a centimeter of screen. But I don't need it anyhow.
So I ask you is it possible to use camera mod without rest of package?

errrr :confused:
I think you got confused here...
go to Settings > Full screen display > (choose) Full screen gestures

that's the main idea of this mod.... not those ugly screen-wasting software button ;)

yes , you can do this:
1. delete usr folder in the zip
2. delete qemu.hw.mainkeys=0 line in common/system.prop file
3. delete /system/usr/keylayout/synaptics_dsx.kl line in config.sh in REPLACE section
4. save then flash
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    UPDATED FOR MIUI 10 (OREO)
    Magisk 17.1 MINIMUM is REQUIRED!

    This module activate many features that's deliberately disabled by Xiaomi even tho the device itself supports it such as:
    1. Enable Camera2 API, EIS, Zero Shutter Lag, 60fps mode, many other camera features.
    2. Activate the [Full screen gestures]
    3. Disable the hardware capacitive keys - by: null4n @ GitHub.
    4. All camera sounds will be disabled.
    5. Replace system emoji font with latest Android Pie's emoji.
    6. iZat configuration mods.
    7. Thermal engine mods.

    Script by: suwakowww @ GitHub

    ---===INSTALL VIA MAGISK REPO===---
    or my repo: https://github.com/Crescendo-BLYAT/natrium-mods
    2
    Go to: root / data / adb /modules / natrium-mods / edit service.sh and add # at the begining on the two last lines then save and reboot
    2
    Me too :(

    used 9.7 on latest miui.eu. Tried to uninstall or delete and get bootloop. Reinstalled via TWRP. Went to: root / data / adb /modules / natrium-mods / system / user / keylayout and then edit one file synaptics_dx.kl - delete # in the last lines save and reset. Illumination of buttons is still disable. Please help!!
    Hello!
    Open /data/adb/modules/natrium-mods/system/etc/device_features/natrium.xml
    Edit this file and set "support_button_light" to true, save and reboot.
    2
    Maybe it can be help someone with my same trouble, here's the "fixed"version with working capacitive and led illumination
    2
    Hi. Is there any changelog available?

    last v9.2 changed this:
    > [Fullscreen Mode] whitelist fix - by: null4n @ GitHub.

    It wasn't working properly before, you couldn't activate anything inside those settings page.
    Settings > Full screen display > Fullscreen mode

    ------------------------

    v9.1 - reverting v9.0
    v9.0 - removing Google Android Pie's emoji
    v8.9 - reverting GPU tweaks coz it's actually making phone lags
    v8.7 - adding GPU tweaks
    v8.4 - enabling Camera 2 API & Zero Shutter Lag
    v8.3 - adjusting iZat parameters
    v7.8 - binary permission fix
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone