• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Pie][BETA][TESTING] LineageOS 16.0 for Xiaomi Redmi Note 2 (HERMES)

Search This thread

unicunic8

Member
Dec 24, 2014
39
8
for anyone who needs :


note :
if your redminote 2 feels slow;

edit, vendor/etc/init/hw/init.mt6795.rc

write /proc/hps/input_boost_enabled 1
write /proc/hps/rush_boost_enabled 1
chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_rate
wait /sys/devices/system/cpu/cpufreq/interactive/timer_rate

on init
# this ensures that the cpusets are present and usable, but the device's
# init.rc must actually set the correct cpus
mkdir /dev/cpuset/top-app
write /dev/cpuset/top-app/cpus 0-7
write /dev/cpuset/top-app/mems 0
mkdir /dev/cpuset/foreground
write /dev/cpuset/foreground/cpus 0-6,7
write /dev/cpuset/foreground/mems 0
mkdir /dev/cpuset/background
write /dev/cpuset/background/cpus 0-2
write /dev/cpuset/background/mems 0
mkdir /dev/cpuset/restricted
write /dev/cpuset/restricted/cpus 0-3
write /dev/cpuset/restricted/mems 0
mkdir /dev/cpuset/surfaceflinger
write /dev/cpuset/surfaceflinger/cpus 0-6,7
write /dev/cpuset/surfaceflinger/mems 0
mkdir /dev/cpuset/system-background
write /dev/cpuset/system-background/cpus 0-5
write /dev/cpuset/system-background/mems 0

write /dev/stune/foreground/schedtune.boost 10
write /dev/stune/foreground/schedtune.prefer_idle 1

mkdir /dev/stune/surfaceflinger
chown system system /dev/stune/surfaceflinger
chmod 0664 /dev/stune/surfaceflinger/tasks
write /dev/stune/surfaceflinger/schedtune.boost 10
write /dev/stune/surfaceflinger/schedtune.prefer_idle 1

write /dev/stune/top-app/schedtune.boost 10
write /dev/stune/top-app/schedtune.prefer_idle 1

write /dev/stune/camera-daemon/schedtune.boost 0
write /dev/stune/camera-daemon/schedtune.prefer_idle 1
 
Last edited:

Renth

Senior Member
May 1, 2012
202
9
Trying to install this ROM (dirty flash) while I am on TWRP 3.5.2_9-0
I am always getting the error shown. Is there anything I can do to avoid this? Do I really have to downgrade to TWRP 3.3.3.1?
Any help really appreciated since I would like to try another ROM (currently on MIUI 9.6.3 global stable) since phone very often switches off while a call is incoming or randomly while using at - at different battery load levels (battery already renewed). Hence I'd like to find out whether this problem is device related or ROM related.
Ideas on how to get this ROM installed (dirty flash preferred since Titanium Backup does not work on Redmi Note 2 with MIUI [Android 5.0.2] for whatever reason - Titanium support never responded) and TWRP cannot backup due to too less space on phone left :( )?

I also now wiped all and tried to do a clean install. I also only get the error 7:
could not detect filesystem ...
mount: Failed to mount /dev/block/platform/mtk-msdc.0/11230000. ... at /system: No such file or directory
Failed to unmount /system: No such volume
Script aborted (no error message)

Any idea? Also any help highly appreciated!
 
Last edited:

Renth

Senior Member
May 1, 2012
202
9
Not using a 2nd SIM so cannot say anything about that.

But unfortunately this ROM also seem to suffer from the usual battery drain. Anything we can do about it?
Was using latest stock ROM so far but this very often just crahed the phone recently nearly anytime an incoming call was received.
 

Renth

Senior Member
May 1, 2012
202
9
Using this ROM now but it lacks from battery drain (compared to stock ROM - getting max. 24hrs without plugging in while not using the phone much). Using Naptime already and GSam Battery Monitor.
Battery monitor revealed that during non-usage of phone overnight WiFi and mobile signal are the battery consumers. Had a drain of ca. 3.7% per hour while WiFi and mobile signal each had roundabout 40% of this drain. I want to leave WiFi and Mobile Signal untouched from Naptime to receive calls and notifications of Whatsapp etc. all time. GSam also shows that mobile never went into deep doze.

Is there anything I can do to reduce that draining or draining in general? I already installed the kernel and all fixes linked in the OP.

Would it be worth trying modem from latest MIUI global ROM or is this not possible across different ROMs adn Android versions?

Thanks for your hints!
 
Last edited:

Yaelede

Senior Member
Apr 25, 2014
61
16
Did anybody try to do a factory reset with this ROM? I tried, but it doesn't work. When I get to the last step (tap on "ERASE EVERYTHING" button), nothing happens.
Anyone with some experience with this?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    fRuH3oM.png


    LineageOS 16.0 for Xiaomi Redmi Note 2 (HERMES)

    ABOUT:
    ROM Version: Beta
    Device: Xiaomi Redmi Note 2 (HERMES)
    Maintainer: @ibilux
    Build Status: Unofficial

    DISCLAIMER:
    • I am not responsible for anything that may happen to your phone as a result of installing custom ROMs and/or kernels.
    • You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.

    FEATURES:

    • Working:
    • Adjustable brightness
    • Audio
    • Auto brightness
    • RIL (calls & mobile data & ussd)
    • Video
    • Gallery
    • Mic
    • Wi-Fi
    • FM-Radio
    • Bluetooth
    • Internet
    • GPS (need to flash this patch)
    • Hotspot
    • SD Card
    • Online/Offline charging
    • Built-in Signature Spoofing (for MicroG)
    • USB tethering
    • IR Blaster
    • Vibration
    • Rotation sensor
    • MTP and Mass Storage modes
    • Lights
    • Camera (Photos & Video recording) [It's better to use Open Camera or Footej Camera Apps]
    • DT2W support.
    • NOT working:
    • ?
    • Bugs:
    • ?


    PRECAUTION:
    1. Read the entire OP before posting, downloading, or flashing ANYTHING
    2. Follow all instructions
    3. Please use the search function and read back a few pages before you post any questions
    4. ALWAYS MAKE A NANDROID BACKUP
    5. ALWAYS MAKE AN EXTERNAL BACKUP OF ALL DATA

    INSTRUCTIONS:
    NOTE:
    If you are using the old unofficial Build make a clean flash and don't dirty flash.
    CLEAN FLASH:
    1. Reboot into the latest version of TWRP (from here)
    2. Make a NANDROID backup and copy it an external medium (laptop, flash drive, etc) just in case something goes wrong!
    3. Wipe Dalvik/ART cache, system, data, and cache partitions (ANY LESS IS NOT A CLEAN FLASH!)
    4. Flash build
    5. Wipe Cache [Not Necessary]
    6. OPTIONAL: If you want root access, flash Addon SU or from official LineageOS extras
    7. Reboot
    DIRTY FLASH:
    1. Reboot into the latest version of TWRP (from here)
    2. Make a NANDROID backup and copy it an external medium (laptop, flash drive, etc) just in case something goes wrong!
    3. Flash build
    4. Wipe Cache [Necessary]
    5. OPTIONAL: If you want root access, flash Addon SU or from official LineageOS extras
    6. Reboot

    DOWNLOADS:

    BUG REPORTING:
    DO NOT REPORT BUGS IF YOU HAVE FLASHED MAGISK, XPOSED, A CUSTOM KERNEL, OR ANY OTHER UNSUPPORTED THIRD-PARTY MODS
    1. The very first step will be to attempt a new download and CLEAN FLASH (WIPE DALVIK/ART CACHE, SYSTEM, DATA, AND CACHE).
    2. Pull an ADB LOGCAT and copy & paste it to HASTEBIN .
    3. Save the log and copy the URL.
    4. Visit HERMES (REDMI NOTE 2 / 2 PRO) - OFFICIAL GROUP and post your issue with the HASTEBIN link of your bug.
    5. Please also tell us what device you're running, what date the build is from, if it was a release build, what packages you flashed with it (what Gapps package, Magisk version, etc).
    6. You may also report bugs in this thread.

    Join us at Telegram:
    https://t.me/joinchat/AAAAAEAcYGMW9RpRIW2-XQ

    Credits
    Maintainer: @Bilux
    This is all based on the work of @Dinolek and the help of other developers.
    Thanks to @Dargons10 For building the roms.


    XDA:DevDB Information
    LineageOS 16.0 for Xiaomi Redmi Note 2 (HERMES), ROM for the Redmi Note 2

    Contributors
    ibilux, Dinolek
    Source Code: https://github.com/ibilux/android_device_tree_hermes

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: Unlocked Bootloader & Latest TWRP Recovery
    Based On: LineageOS

    Version Information
    Status:
    Beta
    Current Beta Version: 1.0.0
    Beta Release Date: 2020-04-29

    Created 2020-05-04
    Last Updated 2020-05-04
    6

    CUSTOM KERNEL: [TESTING]
    It may fix some problems for some devices. Flash via TWRP.
    Kernel LOS-16.0
    3

    TWRP:
    MUST FLASH LATEST VERSION OF TWRP TO FLASH THIS BUILD, OR ELSE WILL GET THIS ERROR
    DOWNLOAD TWRP 3.3.1
    DF1zpn9.png

    2
    Hi @ibilux ,

    Could you share with us if you will update these ROMs?
    Yes.
    I have released a crDroid update:
    2
    anyone can post this mod with fixes for bluetooth and hidden wifi networks ?

    This will fix Audio playback via Bluetooth for LineageOS 16.0 (PIE)