[Xiaomi Redmi 1S] dugeriss:
Navbar

open

Lcom/android/systemui/statusbar/phone/NavigationBarTransitions;

find code

# instance fields
.field private final mBarService:Lcom/android/internal/statusbar/IStatusBarService;

add above

# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/android/systemui/statusbar/phone/NavigationBarTransitions$GradientObserver;,
Lcom/android/systemui/statusbar/phone/NavigationBarTransitions$NavigationBarBackgroundDrawable;
}
.end annotation

find

.method public constructor

change like it

# direct methods
.method public constructor <init>(Lcom/android/systemui/statusbar/phone/NavigationBarView;)V
.locals 3
.parameter "view"

.prologue
.line 50
new-instance v0, Lcom/android/systemui/statusbar/phone/NavigationBarTransitions$NavigationBarBackgroundDrawable;

invoke-virtual {p1}, Lcom/android/systemui/statusbar/phone/NavigationBarView;->getContext()Landroid/content/Context;

move-result-object v1

invoke-direct {v0, v1}, Lcom/android/systemui/statusbar/phone/NavigationBarTransitions$NavigationBarBackgroundDrawable;-><init>(Landroid/content/Context;)V

invoke-direct {p0, p1, v0}, Lcom/android/systemui/statusbar/phone/BarTransitions;-><init>(Landroid/view/View;Lcom/android/systemui/statusbar/phone/BarTransitions$BarBackgroundDrawable;)V

.line 242
new-instance v0, Lcom/android/systemui/statusbar/phone/NavigationBarTransitions$2;

invoke-direct {v0, p0}, Lcom/android/systemui/statusbar/phone/NavigationBarTransitions$2;-><init>(Lcom/android/systemui/statusbar/phone/NavigationBarTransitions;)V

iput-object v0, p0, Lcom/android/systemui/statusbar/phone/NavigationBarTransitions;->mLightsOutListener:Landroid/view/View$OnTouchListener;

.line 52
iput-object p1, p0, Lcom/android/systemui/statusbar/phone/NavigationBarTransitions;->mView:Lcom/android/systemui/statusbar/phone/NavigationBarView;

.line 53
const-string v0, "statusbar"

invoke-static {v0}, Landroid/os/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IBinder;

move-result-object v0

invoke-static {v0}, Lcom/android/internal/statusbar/IStatusBarService$Stub;->asInterface(Landroid/os/IBinder;)Lcom/android/internal/statusbar/IStatusBarService;

move-result-object v0

iput-object v0, p0, Lcom/android/systemui/statusbar/phone/NavigationBarTransitions;->mBarService:Lcom/android/internal/statusbar/IStatusBarService;

.line 55
return-void
.end method

save

open

Lcom/android/systemui/statusbar/phone/NavigationBarView$StatusBarBlockerTransitions;

find

.method public constructor

change to

# direct methods
.method public constructor <init>(Landroid/view/View;)V
.locals 5
.parameter "statusBarBlocker"

.prologue
.line 1268
new-instance v0, Lcom/android/systemui/statusbar/phone/BarTransitions$BarBackgroundDrawable;

invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;

move-result-object v1

const v2, 0x7f07000a	#type="color" name="status_bar_background_opaque"

const v3, 0x7f07000b	#type="color" name="status_bar_background_semi_transparent"

const v4, 0x7f0201dd	#type="drawable" name="status_background"

invoke-direct {v0, v1, v2, v3, v4}, Lcom/android/systemui/statusbar/phone/BarTransitions$BarBackgroundDrawable;-><init>(Landroid/content/Context;III)V

invoke-direct {p0, p1, v0}, Lcom/android/systemui/statusbar/phone/BarTransitions;-><init>(Landroid/view/View;Lcom/android/systemui/statusbar/phone/BarTransitions$BarBackgroundDrawable;)V

.line 1273
return-void
.end method

and matched all id

const v2, 0x7f07000a	#type="color" name="status_bar_background_opaque"

const v3, 0x7f07000b	#type="color" name="status_bar_background_semi_transparent"

const v4, 0x7f0201dd	#type="drawable" name="status_background"

do enabling navigation bar via build.prop

add this code at ADDITIONAL_BUILD_PROPERTIES

qemu.hw.mainkeys=0

push

Settings.apk /system/priv-app/here

SystemUI.apk /system/priv-app/here

systemui.so /system/lib/here

or other way, u can try methode flasahble.zip,adb,or other