[guide][root] Tweaks Redmi 4x stock ROM

nightvury

Member
Nov 8, 2015
7
0
0
of course i do have redmi 4x santoni. iam running miui 7.7.20 nougat 7.1.2 the first .sh work, but RRV3 version makes no changes on cpu config.. i checked it usimg cpuz
 

tweakradje

Senior Member
Mar 18, 2005
1,047
532
133
Android
sites.google.com
In hotspot mode you can choose 5 Ghz. So chip supports it. I have tried a couple of hours to get ac working for normal wifi but no luck so far. Maybe later.
If you do logcat|grep wpa you see ac is supported if you toggle wifi.

If I look into the source code it needs to be defined at compilation time?
See source code here.

So we need another msm wlan.ko module? Redmi Note 4X supports 11ac. I try that wlan.ko
EDIT: wlan.ko from Note 4X don't load.

Code:
typedef enum
{
    eHDD_DOT11_MODE_AUTO = 0, //covers all things we support
    eHDD_DOT11_MODE_abg,      //11a/b/g only, no HT, no proprietary
    eHDD_DOT11_MODE_11b,
    eHDD_DOT11_MODE_11g,
    eHDD_DOT11_MODE_11n,
    eHDD_DOT11_MODE_11g_ONLY,
    eHDD_DOT11_MODE_11n_ONLY,
    eHDD_DOT11_MODE_11b_ONLY,
#ifdef WLAN_FEATURE_11AC
    eHDD_DOT11_MODE_11ac_ONLY,
    eHDD_DOT11_MODE_11ac,
#endif
}eHddDot11Mode;
 
Last edited:
  • Like
Reactions: arvindgr

arvindgr

Senior Member
Nov 8, 2013
900
322
93
Tamilan
In hotspot mode you can choose 5 Ghz. So chip supports it. I have tried a couple of hours to get ac working for normal wifi but no luck so far. Maybe later.
If you do logcat|grep wpa you see ac is supported if you toggle wifi.
If I look into the source code it needs to be defined at compilation time?
See source code here.
So we need another msm wlan.ko module? Redmi Note 4X supports 11ac. I try that wlan.ko
EDIT: wlan.ko from Note 4X don't load.
Try Wifi hotspot. There is 5 Ghz. I have looked into msm wifi driver. It only needs a flag when compiling.
See my post here: https://forum.xda-developers.com/xi...uide-tweaks-redmi-4x-stock-rom-t3658724/page3
Thanks a lot for reply. Since I wasn't tagged in your first reply I didn't see that. Maybe this 5Ghz WiFi you can include in your first post Santoni facts.. Hope to see 4x connecting to our 5Ghz AP....
 
Last edited:

JoseRT5

Senior Member
Oct 27, 2013
87
11
0
Madrid
I dont understand very well the tutorial for decript data partition.

When i do the second step "Backup /data to "internal sd" (or to "ext sd card") with TWRP", do i have to put the phone on fastboot mode for do the 3rd step "On PC: adb pull /data/media/0"? Thank you very much
 
P

__PG__

Guest
LED notification not showing

Anyone running RR with my V2 script having battery drain issues? I have since yesterday.

I am now running new script to test battery drain. The change is to disable all these
low power modes again. Lets see tomorrow.

Oh and if you see the notification led blinking purple after reboot? The V3 script switches it
off again after 3 sec.
After using your v3 Script on RR N-final the led notification stopped showing at all. It shows Purple during boot as you said for 3sec. But later on the LEDs are not showing at all

Update: used this zip to make it work it again :D

Will update you about night drainage & battery backup
 
Last edited:

tweakradje

Senior Member
Mar 18, 2005
1,047
532
133
Android
sites.google.com
@__PG__ In the last RR version there are light libs from other phone. These require other permissions on these files:

Code:
#LED
chown system:system /sys/class/leds/*/brightness
chown system:system /sys/class/leds/*/blink
The zip file you mentioned overwrites the V3 script. (open the zip file and look in etc folder)

If you want to use my init.qcom.post_boot.sh script you need to add the 2 lines to it at the end before using it.

Cheers
 
P

__PG__

Guest
@__PG__ In the last RR version there are light libs from other phone. These require other permissions on these files:

Code:
#LED
chown system:system /sys/class/leds/*/brightness
chown system:system /sys/class/leds/*/blink
The zip file you mentioned overwrites the V3 script. (open the zip file and look in etc folder)

If you want to use my init.qcom.post_boot.sh script you need to add the 2 lines to it at the end before using it.

Cheers
Oh ?, didn't noticed that. Will update mine, And you too update !:laugh: