[ROM][8.1.0][OFFICIAL]NITROGEN OS FOR REDMI 4X(SANTONI)

Search This thread

underskyzx

Senior Member
Jan 19, 2013
1,006
330
The only problem I had was the phone barely deep sleeping but flashing Clarity kernel (I'm still on v2.9) solved all problems so I can say without a doubt that this rom and a custom kernel (Clarity v2.9 in my case) is the perfect combo for Santoni.
 
  • Like
Reactions: ConradB

maulana99

Member
Sep 14, 2015
19
2
Hor to make slow mo works in this rom? I'm using gcam scrubber version.. Everything work fine except slow motion...
 

Attachments

  • Screenshot_Kamera_20180418-133039.png
    Screenshot_Kamera_20180418-133039.png
    36.8 KB · Views: 360

naim.hassan

Member
Jan 13, 2016
43
15
How to remove quick settings (QS fonts) from the pull down bar. I did it before but forgot :v I can't bring myself to use any other rom than NitrogenOS
 

yamaha77

Senior Member
Jun 4, 2014
150
21
Moscow
Xiaomi 11 Lite 5g NE
The fact that the developer does not implement Magisk in the ROM is very good!
But I was interested in the question purely theoretically: does the location of the Magisk program affect its operability?
 

magic_doc

Member
Mar 17, 2009
27
14
/init battery drain problem solved BUG in system binaries

*EDIT*: The problem was solved with the April update of NOS, but maybe it is a good hint for future problems with /init draining battery anyway...

Any findings so far? I'm facing the same problem, stock kernel, firmware v35?

/init is keeping the phone awake

As mentioned above, according to BBS process /init starts draining the battery even in flight mode.
In dmesg, a lot of these errors occured:
Code:
[45045.222289] init: cannot execve('/system/bin/dpmd'): Exec format error
[45050.218719] init: cannot execve('/vendor/bin/msm_irqbalance'): Exec format error
I found this where justandy32 found a solution for the problem:
  • /system/bin/dpmd
  • /vendor/bin/msm_irqbalance
are corrupted which leads to the error. One will need to remove the first line of the binaries which contains the text WARNING: linker Warning: unable to normalize "null" , be careful not to use a normal text editor, I used this command on a linux computer, terminal in twrp would do also I think:
Code:
sed -i '1d' filename
where filename is the dpmd or msm_irqbalance binary.
After that I had to chmod 755 both files again and change GID to 2000 shell, I did this with Total Commander.
For convenience I added both repaired binaries as a zip file to this post.
Of course, root is necessary for all of this! :laugh:
Curious if this bug is already corrected in the next update.
Thanks for sharing this ROM I use as a daily driver!
 

Attachments

  • dmesg-2018-04-20_054030779.txt
    126 KB · Views: 15
  • dpmd_msm_irqbalance_binaries.zip
    29 KB · Views: 29
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 120
    https%3A%2F%2Fimg.xda-cdn.com%2Fe_bUHU67AOj5oYSBiwnEtW8YUPM%3D%2Fhttps%253A%252F%252Fimg.xda-cdn.com%252FhgeJg_gBkhxatF87F8iD8sTLYps%253D%252Fhttps%25253A%25252F%25252Fgithub.com%25252Fnitrogen-project%25252Fandroid_packages_apps_Settings%25252Fraw%25252F24666468d002defb43b18bf8cc4150cde9041a76%25252Fres%25252Fdrawable-nodpi%25252Fnitrogen.png

    1.For devices: santoni
    2.Authors build: Nikesh Kataria(Nik001)
    3.Developers: xyyx
    4.Thanks: ezio84, mydongistiny, Mazda--, beanstown106 and etc.
    Attention:
    I don't force you to use my ROM. I fix bugs that doesn't require many commits from CAF.
    If you don't like something, please, use another ROM and don't write in this thread. Please.
    https%3A%2F%2Fimg.xda-cdn.com%2FbrUGsru6TkUeQEvV6Cr6MMDZ-cc%3D%2Fhttps%253A%252F%252Fimg.xda-cdn.com%252FGJbXIfU51dGCI4Znbi48AgOC7Pk%253D%252Fhttp%25253A%25252F%25252Fi.imgur.com%25252FmSx8lRG.png

    The rich functionality is based on AOSP, development was begun in November, 2015.
    https%3A%2F%2Fimg.xda-cdn.com%2FHM1N9L9OgFgMjkOL0dd7vfAqMtE%3D%2Fhttps%253A%252F%252Fimg.xda-cdn.com%252FO0WKS4As80693Rn8VRiKvfWPh9s%253D%252Fhttp%25253A%25252F%25252Fi.imgur.com%25252FIxVVRiE.png

    Copy the ROM and Gapps in SD card.
    Go to your recovery
    Wipe Data,cache,system
    Install ROM and Gapps zip.
    Reboot - 1st boot takes around 5-10 minutes.
    Enjoy
    ROM
    GAPPS
    Device Tree
    Kernel Source

    What's working
    Almost Everything
    BUGS
    - Video Calling(ViLTE)
    - Others report with proper logcat

    CREDITS
    @HridayHS For OSS camera in santoni
    @Highwaystar_ru for camera hacks to worked with oss camera
    @bishnuprasad884uu for find camera to work on oreo
    Eduardo Noyer For CAF kernel source(Without you oreo would not be possible for santoni)
    And All TeamGhost member
    And All UnityDevs Member
    @solienatic (for helping me)
    @Nik001
    @potlapalli1 (thanks for testing)
    @haihai321 (thanks for testing)
    @YousefAlgadri (thanks for testing

    Thanks for all your support. If you like my work and continue to support, hit Thanks and donate.
    Donation: PayPal or PayTM

    XDA:DevDB Information
    NITROGEN OS, ROM for the Xiaomi Redmi 4X

    Contributors
    Nik001
    Source Code: https://github.com/nitrogen-project

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.x
    ROM Firmware Required: must be on Nougat or higher
    Based On: AOSP

    Version Information
    Status: Stable
    Current Stable Version: v1.6
    Stable Release Date: 2018-03-24

    Created 2018-01-20
    Last Updated 2018-04-23
    67
    Changelog:

    Nitrogen-OS-O-santoni-20180120

    -Fixed Video Playback
    -Added Night light
    -Zram Enabled
    -Increase call Volume
    -Fixed Volume increase and decrease in call
    -Charging indicator fixed
    -Fixed Offline charging
    -Fixed Real lockscreen info
    -Fixed Dialer Issue
    -Enabled F2FS and sdcardfs

    Nitrogen-OS-O-santoni-20180127

    -Kernel Upstream to 3.18.92
    -Added Ambient Display Music ticker
    -Added Pocket Judge
    -Added FM Radio
    -Added Retro Music Player
    -Added Via Browser
    -Added Pixel Launcher
    -Fixed Gcam portrait Mode(thanks to @Azzkaran for gcam hotfix)
    -Fixed Slow Motion in Gcam
    -Fixed Random Reboot on low Network
    -Fixed AutoBrightness
    -Improve Vibration Haptic Feedback
    -Fixed BT FC in calling

    Nitrogen-OS-O-santoni-20180203

    -NOS is now OFFICIAL(OTA is not yet added)
    -Kernel Upstream to 3.18.93
    -Added ElementalX Governor
    -Added Zen Schedulor
    -Added Boeffla Generic Wakelocker
    -Fixed Wifi MAC Address
    -Fixed sound bug in headphone while taking SS
    -Enabled Camera2api by default
    -Removed Margarita Volte icon
    -Removed All prebuilts Apk(like RetroMusic, Via browser, Pixel launcher 3.0 , FM Radio)
    -Fixed Pixelated Videos in Social Media Apps
    -Fixed Dialer issue showing missed call icon even if we receive calls
    -Fixed 3-button headphones
    -Added Sim Toggle option to enable/disable one sim
    -Fixed Dialer not responsible sometimes(Because of Official Telegram, use Telegram x or Plus messenger)

    Nitrogen-OS-O-santoni-20180213

    -OTA updater added
    -Kernel upstream to 3.18.94
    -Fixed Time services
    -Performance Improvement
    -Fixed Headphones bug
    -Merged February Security patch
    -Updated Graphics blobs and postprocessing blobs
    -Updated DPM blobs from tissot
    -And many more
    37
    Changelog:

    Nitrogen-OS-O-santoni-20180225

    ~Kernel upstream to 3.18.95

    ~Used DTC Clang 7.0

    ~Improvement In performance

    ~Sim Data switch Fixed

    ~New OTA App Added

    ~Clock date position Added

    ~Battery style Added

    ~Square Battery style icon Added

    ~And many more fix in sources
    29
    Changelog:

    Nitrogen-OS-O-santoni-20180324

    ~ Using Official Kernel Sources

    ~ Rebase Official Kernel to Oreo LA.UM.6.6.r1-06500-89xx.0

    ~ Drop All extra Governors & I/O Scheduler

    ~ Also Fast Charging Removed

    ~ Rest NTFS, F2FS , exFat & ZRAM Added

    ~ Added LiveDisplay Drivers in Kernel

    ~ Using GCC 4.9 (Drop DT Clang for now)

    ~ Improve Performance

    ~ Fixed mm-qcamera-daemon crash (Thanks to @Nikit )

    ~ Add Camera App in Pinning

    ~ Import OSS Power HAL

    ~ Enabled AOD (Always On Display)

    ~ Added XiaomiDoze

    ~ And Many More Updates in Nitrogen Sources


    As you Know Download Link is in OP Post. :p
    16
    Changelog

    Nitrogen-OS-O-santoni-20180423
    (Clean Flash recommended)

    ~ Merge April Security Patches

    ~ Merge Latest CAF tag in Kernel LA.UM.6.6.r1-07400-89xx.0

    ~ Fixed Vilte (Video Call over LTE)

    ~ Fixed Data Call bug for dual sim

    ~ Update Oreo Blobs from Nokia 6 8.1 & Remove Unused Blobs (Thanks to @riteshsaxena)

    ~ Fixed Offline Charging Leds (Thanks to @rainforce279)

    ~ Fixed Noise Cancellation

    ~ Improve Performance

    ~ Removed cnss daemon

    ~ Removed fstman

    ~ Removed XiaomiDoze

    ~ And Many More Update

    ~ Nos Sources Updated

    As you Know link is in OP post !!