[cofface]RedMi Note 4 AOSP ROM

Search This thread

vivimilan

Senior Member
Aug 21, 2013
144
14
35
Tirane

smokinjoe2122

Senior Member
Apr 21, 2011
635
233
Milwaukee - WI
Here is my custom patch for this AOSP rom:
- Update to p61 baseband + tweaked build.prop to fix battery drain.
- Added advance reboot and recent button (require root).
- Disable MTKLogger and Bluetooth debug log.
- Added thermal config to increase multi core performance.
- Tweaked perfservscntbl.txt to increase battery life.
- Swap menu button -> recent app button.

V2 change log:
- Modify power menu (added restart, airplane mode, audio profile...)
- Added clear recents button.
- Fixed MiraCast (from 4pda.ru).
- Removed all debug log (from https://forum.xda-developers.com/showpost.php?p=71110550&postcount=1471 )
- Fixed offline charger animation.
- Enabled Doze flag in framework-res.apk.

Link to download V2:
https://drive.google.com/open?id=0BxcQMS-B9CkQTFRvaFgtdUhKR0U

Thank you for all your help with this ROM...

I'm going to ask you for a request, and it's totally fine if you can't or don't have the time....But is there anyway for you to help us modify the framework so when you hold in the home button, it will bring up Google assistant or the old Google now?

Thanks!
 

Crowbar Asdfghjkl

Senior Member
Dec 25, 2015
84
22
Thank you for all your help with this ROM...

I'm going to ask you for a request, and it's totally fine if you can't or don't have the time....But is there anyway for you to help us modify the framework so when you hold in the home button, it will bring up Google assistant or the old Google now?

Thanks!
All you gotta do is install Xposed and Assistant Enabler.
 

vivimilan

Senior Member
Aug 21, 2013
144
14
35
Tirane
Sorry for my question!
I have one problem. I can't install this rom i wos on last epic rom 7.3.9 and i want to install this rom but i can't . I wipe data, system cache and install the aosp rom but when i make rebot system just rebot on "android" and again and again and again. i don't know what wos the problem before i have installed this rom and other aosp rom from hoangnguyen.
PS: Sorry for my bad english hope someone can understand me :)
 

longnt2007

Senior Member
Nov 2, 2015
100
139
Thank you for all your help with this ROM...

I'm going to ask you for a request, and it's totally fine if you can't or don't have the time....But is there anyway for you to help us modify the framework so when you hold in the home button, it will bring up Google assistant or the old Google now?

Thanks!

In next patch I will looking into these codes, change long press Home button to an assist action instead bring up Recents app, very helpful if you installed Greenify so you can long press Home button to Hibernate + Sleep (a bit like FlymeOS) or open old Google as you choose (I don't install Google Assistant so I don't know if it work).

EDIT: done with V2.1 patch, look previous post to download.
 
Last edited:

vivimilan

Senior Member
Aug 21, 2013
144
14
35
Tirane
Sorry for my question!
I have one problem. I can't install this rom i wos on last epic rom 7.3.9 and i want to install this rom but i can't . I wipe data, system cache and install the aosp rom but when i make rebot system just rebot on "android" and again and again and again. i don't know what wos the problem before i have installed this rom and other aosp rom from hoangnguyen.
PS: Sorry for my bad english hope someone can understand me :)
I get the problem is my trw recovery now everything working good.
 

antimatter.web

Senior Member
Jan 27, 2014
179
32
Here is my custom patch for this AOSP rom:
- Update to p60 baseband + tweaked build.prop to fix battery drain.
- Disable MTKLogger and Bluetooth debug log.
- Added thermal config to increase multi core performance.
- Tweaked perfservscntbl.txt to increase battery life.
- Swap menu button -> recent app button.

V2.1 change log:
- Modify power menu (added restart, airplane mode, audio profile...)
- Added clear recents button.
- Fixed MiraCast (from 4pda.ru).
- Removed all debug log (from https://forum.xda-developers.com/showpost.php?p=71110550&postcount=1471 )
- Fixed offline charger animation.
- Enabled Doze flag in framework-res.apk.
- Enabled multi users option in Settings.
- Changed Long press Home button to open Google search or user activity.
- Fixed wifi hotspot (from 4pda.ru).

Link to download V2.1:
https://drive.google.com/open?id=0BxcQMS-B9CkQcnItRHYwcnIwTDQ
Thanks for sharing your patch! Do you reckon this will work on the modded aosp rom available in this forum which is based off this rom?

Sent from my Redmi Note 4 using Tapatalk
 

Swapnil Soni

Recognized Developer
Jul 24, 2015
529
1,409
Ahmedabad
ROM based on aosp 6.0.
Screenshot:
153232zs6lva5qag1s55pf.png.thumb.jpg

153234zxw66ww5g3x5tc57.png.thumb.jpg

153235yud21lft812111pu.png.thumb.jpg

153237x7iufx244x7u2222.png.thumb.jpg



Bug:
bluetooth;

download links: https://www.androidfilehost.com/?fid=529152257862686902
if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc ,;)PAYPAL DONATION LINK
https://www.paypal.me/cofface

Can you share sources please ^.^
 
  • Like
Reactions: b0li01

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    ROM based on aosp 6.0.
    Screenshot:
    153232zs6lva5qag1s55pf.png.thumb.jpg

    153234zxw66ww5g3x5tc57.png.thumb.jpg

    153235yud21lft812111pu.png.thumb.jpg

    153237x7iufx244x7u2222.png.thumb.jpg



    Bug:
    bluetooth;

    download links: https://www.androidfilehost.com/?fid=529152257862686902
    if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc ,;)PAYPAL DONATION LINK
    https://www.paypal.me/cofface
    16
    Here is my custom patch for this AOSP rom:
    - Update to p60 baseband + tweaked build.prop to fix battery drain.
    - Disable MTKLogger and Bluetooth debug log.
    - Added thermal config to increase multi core performance.
    - Tweaked perfservscntbl.txt to increase battery life.
    - Swap menu button -> recent app button.

    V2.1 change log:
    - Modify power menu (added restart, airplane mode, audio profile...)
    - Added clear recents button.
    - Fixed MiraCast (from 4pda.ru).
    - Removed all debug log (from https://forum.xda-developers.com/showpost.php?p=71110550&postcount=1471 )
    - Fixed offline charger animation.
    - Enabled Doze flag in framework-res.apk.
    - Enabled multi users option in Settings.
    - Changed Long press Home button to open Google search or user activity.
    - Fixed wifi hotspot (from 4pda.ru).

    Link to download V2.1:
    https://drive.google.com/open?id=0BxcQMS-B9CkQcnItRHYwcnIwTDQ
    7
    I might look into creating a hybrid MIUI/AOSP firmware, assuming that's alright with cofface.... he would have done a lot of work, it would have been similar to the early days of porting MIUI Gingerbread to new devices. Decompile MIUI firmware for another device with similar hardware > decompile an AOSP-ish or stock ROM for our own device > merge the AOSP/stock smali into the MIUI framework and replace/adapt the apps...

    It was a crazy task to get MIUI working in those days. Turbo UI for the Xperia Play, original GB version was the first and only stock-based MIUI for Xperia 2011 range for a long time (in fact I think all stock-based MIUI's for Xperia 2011 are based on my work). Then my MIUI Australia for Xperia Play based on ICS had it's first alpha release only a week after MIUI for ICS was released for official devices.... I believe it was the first unofficial-device MIUI4 port in the world, and I was hired for a job thanks to that fame :D

    Anyway, not a random brag... my point was the culmination of my work, Turbo UI (Jellybean-based) for Xperia Play was an MIUI/AOSP hybrid. I still have a soft spot for that project, even though my Xperia Play is long gone.... it was a perfect balance of the beauty of MIUI and the speed of AOSP. I never did bother with my next device, Xperia Z, because I just didn't have the time.

    But cofface has brought us a mostly-AOSP ROM here for us already. So I might have time to do such a thing again.

    So, who else would be interested in an AOSP/MIUI hybrid for Note 4? What are the MIUI features that you miss the most of all?
    5
    Thank you - I did try that already though. YouTube is a good example - Try scrolling or looking at comments whilst watching a video. Instagram is also a bit more laggy than the MIUI OS.

    If you have rooted AOSP rom with SuperSU 2.79, you can try this tweaked boot.img (backup your current boot.img first) with following tweak:
    - Enable 512MB zram (useful for 2GB variant like mine).
    - Tweak interactive governor to improve battery life.
    - Disabled unnecessary services.
    - Increase entropy seeder.
    - Set default I/O scheduler is noop, 2048KB cache.

    Use Install Image in TWRP to install this image to boot partition:
    https://drive.google.com/open?id=0BxcQMS-B9CkQQkxvd0NCREkwNFU
    5
    it is easy to fix bluetooth. Just put a .so lib in Bluetooth.apk/lib/armeabi/.