Posts by kenet


    [hr]


    Base B013 MiFvaorUI 5.0.


    Init.d enabled.


    Dm-Verity disabled.


    Many applications removed.


    Magisk 1.4


    0.25 scale animations on startup.


    Mi-Assistant remove


    Cpuvisor.


    Google assistant.


    AdAway.


    Bravia Engine v4.


    Disable signature verification.


    Remove high volume warning for headphones


    New additions to build.prop.


    And more things I do not remember..


    [hr]


    DOWNLOAD


    Bootstack B13 a2017G



    Bootstack B13 a2017U



    Bootstack B13 a2017



    ROM



    [hr]


    INSTALLATION



    Have Universal Bootstack or Bootstack of the B013.


    Have the final version of the TWRP.


    Insert the rom into the SD card.


    Start in recovery mode and make a backup.


    Wipe data / factory reset.


    They go to advanced wipe and label all but Micro SDCard and OTG and Data.


    They go to install, they look for the zip and install it.


    Restart and wait until the ROM is started

    decompile services.jar.
    open smali\com\android\server\audio\AudioService.smali.


    Goto this method and add blue text:



    recompile services.jar.

    Decompile Services.jar
    open smali\com\android\server\pm\PackageManagerService. smali

    Search


    Code
    1. .method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I     .locals 8     .param p0, "s1"    # [Landroid/content/pm/Signature;     .param p1, "s2"    # [Landroid/content/pm/Signature;      .prologue     const/4 v3, 0x1      const/4 v5, -0x3      const/4 v4, 0x0      .line 4751     if-nez p0, :cond_1      .line 4752     if-nez p1, :cond_0      :goto_0     return v3      .line 4754     :cond_0     const/4 v3, -0x1      goto :goto_0      .line 4757     :cond_1     if-nez p1, :cond_2      .line 4758     const/4 v3, -0x2      return v3      .line 4761     :cond_2     array-length v6, p0      array-length v7, p1      if-eq v6, v7, :cond_3      .line 4762     return v5      .line 4766     :cond_3     array-length v6, p0      if-ne v6, v3, :cond_5      .line 4767     aget-object v3, p0, v4      aget-object v6, p1, v4      invoke-virtual {v3, v6}, Landroid/content/pm/Signature;->equals(Ljava/lang/Object;)Z      move-result v3      if-eqz v3, :cond_4      move v3, v4      :goto_1     return v3      :cond_4     move v3, v5      .line 4769     goto :goto_1      .line 4772     :cond_5     new-instance v0, Landroid/util/ArraySet;      invoke-direct {v0}, Landroid/util/ArraySet;-><init>()V      .line 4773     .local v0, "set1":Landroid/util/ArraySet;, "Landroid/util/ArraySet<Landroid/content/pm/Signature;>;"     array-length v6, p0      move v3, v4      :goto_2     if-ge v3, v6, :cond_6      aget-object v2, p0, v3      .line 4774     .local v2, "sig":Landroid/content/pm/Signature;     invoke-virtual {v0, v2}, Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z      .line 4773     add-int/lit8 v3, v3, 0x1      goto :goto_2      .line 4776     .end local v2    # "sig":Landroid/content/pm/Signature;     :cond_6     new-instance v1, Landroid/util/ArraySet;      invoke-direct {v1}, Landroid/util/ArraySet;-><init>()V      .line 4777     .local v1, "set2":Landroid/util/ArraySet;, "Landroid/util/ArraySet<Landroid/content/pm/Signature;>;"     array-length v6, p1      move v3, v4      :goto_3     if-ge v3, v6, :cond_7      aget-object v2, p1, v3      .line 4778     .restart local v2    # "sig":Landroid/content/pm/Signature;     invoke-virtual {v1, v2}, Landroid/util/ArraySet;->add(Ljava/lang/Object;)Z      .line 4777     add-int/lit8 v3, v3, 0x1      goto :goto_3      .line 4781     .end local v2    # "sig":Landroid/content/pm/Signature;     :cond_7     invoke-virtual {v0, v1}, Landroid/util/ArraySet;->equals(Ljava/lang/Object;)Z      move-result v3      if-eqz v3, :cond_8      .line 4782     return v4      .line 4784     :cond_8     return v5 .end method



    Replace




    recompile Services.jar

    decompile SystemUI_ZTE.apk
    open layout/mifaver_recent_button.xml


    remove


    XML
    1. <?xml version="1.0" encoding="utf-8"?><LinearLayout android:gravity="center" android:layout_gravity="bottom|center" android:id="@id/clearall" android:layout_width="wrap_content" android:layout_height="@dimen/mifavor_recent_app_bottom_bar_height"  xmlns:android="http://schemas.android.com/apk/res/android">    <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/sys_delete" />    <TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:ellipsize="end" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/recent_app_clearall" android:singleLine="true" android:paddingStart="@dimen/mifavor_recent_app_start_padding" /></LinearLayout>


    Replace


    XML
    1. <?xml version="1.0" encoding="utf-8"?><LinearLayout android:orientation="vertical" android:gravity="center" android:layout_gravity="bottom|center" android:id="@id/clearall" android:layout_width="wrap_content" android:layout_height="@dimen/mifavor_recent_app_bottom_bar_height"  xmlns:android="http://schemas.android.com/apk/res/android"><LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"><ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/sys_delete" /><TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:ellipsize="end" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/recent_app_clearall" android:singleLine="true" android:paddingStart="@dimen/mifavor_recent_app_start_padding" /></LinearLayout><HorizontalScrollView android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="75.0dip"> <com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="75.0dip" android:layout_centerHorizontal="true" />    </HorizontalScrollView></LinearLayout>


    open values/dimens.xml


    search


    Code
    1. <dimen name="mifavor_recent_app_bottom_bar_height">67.0dip</dimen>


    Replace


    Code
    1. <dimen name="mifavor_recent_app_bottom_bar_height">95.0dip</dimen>


    download smalis and replace them so as path in zip file


    recompile SystemUI.


    [Blocked Image: http://i68.tinypic.com/20rmzqe.jpg]


    [Blocked Image: http://i63.tinypic.com/2hquewz.jpg]



    Thanks

    gharrington For smalis
    josete_197601 For your help with the code

    Decompile SystemUI_ZTE.apk
    Open layout/system_icons.xml


    Remove


    XML
    1. <?xml version="1.0" encoding="utf-8"?><LinearLayout android:gravity="center_vertical" android:id="@id/system_icons" android:layout_width="wrap_content" android:layout_height="fill_parent"  xmlns:android="http://schemas.android.com/apk/res/android">    <com.android.keyguard.AlphaOptimizedLinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />    <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/msim_signal_cluster_view" />    <TextView android:textSize="@dimen/mifavor_battery_level_text_size" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/battery_level" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="noHideDescendants" />    <com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height" android:layout_marginBottom="@dimen/battery_margin_bottom" /></LinearLayout>


    Replace


    XML
    1. <?xml version="1.0" encoding="utf-8"?><LinearLayout android:gravity="center_vertical" android:id="@id/system_icons" android:layout_width="wrap_content" android:layout_height="fill_parent"  xmlns:android="http://schemas.android.com/apk/res/android">    <com.android.keyguard.AlphaOptimizedLinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />    <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/msim_signal_cluster_view" />    <TextView android:textSize="@dimen/mifavor_battery_level_text_size" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/battery_level" android:layout_width="wrap_content" android:layout_height="wrap_content" android:importantForAccessibility="noHideDescendants" />    <com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="@dimen/status_bar_battery_icon_width" android:layout_height="@dimen/status_bar_battery_icon_height" android:layout_marginBottom="@dimen/battery_margin_bottom" />    <com.android.systemui.statusbar.policy.MinitBattery android:layout_width="wrap_content" android:layout_height="wrap_content" /></LinearLayout>


    Open values/dimens.xml


    Search


    Code
    1. <dimen name="status_bar_battery_icon_height">14.5dip</dimen>    <dimen name="status_bar_battery_icon_width">9.5dip</dimen>


    Replace


    Code
    1. <dimen name="status_bar_battery_icon_height">0.0dip</dimen>
    2.  <dimen name="status_bar_battery_icon_width">0.0dip</dimen>


    You now to need to navigate to smali/com/android/systemui/statusbar/policy folder
    Copy the 3 smali files into that policy folder


    3MinitBattery_smali


    recompile SystemUI.


    [Blocked Image: https://s3.postimg.org/6g8h20kpv/Screenshot_2017-05-26-09-55-01.jpg]



    Thanks

    gharrington For smalis and apk

    decompile SystemUI_ZTE.apk
    open layout/status_bar.xml


    remove


    XML
    1. <?xml version="1.0" encoding="utf-8"?><com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/system_bar_background" android:focusable="false" android:descendantFocusability="afterDescendants"  xmlns:android="http://schemas.android.com/apk/res/android"  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"  xmlns:mifavor="http://schemas.android.com/apk/res/com.android.systemui">    <ImageView android:id="@id/notification_lights_out" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" android:paddingStart="6.0dip" />    <LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip" android:paddingEnd="8.0dip">        <com.android.keyguard.CarrierText android:textAppearance="?android:textAppearanceSmall" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center_vertical" android:id="@id/status_carrier_text" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="@dimen/match_parent" android:singleLine="true" mifavor:type="status_bar" />        <com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/joinIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />            <TextView android:layout_gravity="center_vertical" android:orientation="horizontal" android:id="@id/joinIconNumber" android:paddingLeft="2.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />            <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentStart="true" />        </com.android.keyguard.AlphaOptimizedLinearLayout>        <com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">            <TextView android:textSize="@dimen/mifavor_speed_level_text_size" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/speed_level" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="2.0dip" android:text="32 B/S" />            <include layout="@layout/system_icons" />            <com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/mifavor_clock_text_size" android:textColor="#ffffffff" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_starting_padding" android:paddingEnd="@dimen/status_bar_clock_end_padding" />        </com.android.keyguard.AlphaOptimizedLinearLayout>    </LinearLayout>    <ViewStub android:id="@id/emergency_cryptkeeper_text" android:layout="@layout/emergency_cryptkeeper_text" android:layout_width="wrap_content" android:layout_height="fill_parent" /></com.android.systemui.statusbar.phone.PhoneStatusBarView>


    Replace


    XML
    1. <?xml version="1.0" encoding="utf-8"?><com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/system_bar_background" android:focusable="false" android:descendantFocusability="afterDescendants"  xmlns:android="http://schemas.android.com/apk/res/android"  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"  xmlns:mifavor="http://schemas.android.com/apk/res/com.android.systemui">  <LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">  <com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/mifavor_clock_text_size" android:textColor="#ffffffff" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_starting_padding" android:paddingEnd="@dimen/status_bar_clock_end_padding" />  </LinearLayout>    <ImageView android:id="@id/notification_lights_out" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" android:paddingStart="6.0dip" />    <LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip" android:paddingEnd="8.0dip">        <com.android.keyguard.CarrierText android:textAppearance="?android:textAppearanceSmall" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center_vertical" android:id="@id/status_carrier_text" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="@dimen/match_parent" android:singleLine="true" mifavor:type="status_bar" />        <com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/joinIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />            <TextView android:layout_gravity="center_vertical" android:orientation="horizontal" android:id="@id/joinIconNumber" android:paddingLeft="2.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />            <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentStart="true" />        </com.android.keyguard.AlphaOptimizedLinearLayout>        <com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">            <TextView android:textSize="@dimen/mifavor_speed_level_text_size" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/speed_level" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="2.0dip" android:text="32 B/S" />            <include layout="@layout/system_icons" />        </com.android.keyguard.AlphaOptimizedLinearLayout>    </LinearLayout>    <ViewStub android:id="@id/emergency_cryptkeeper_text" android:layout="@layout/emergency_cryptkeeper_text" android:layout_width="wrap_content" android:layout_height="fill_parent" /></com.android.systemui.statusbar.phone.PhoneStatusBarView>


    open values/dimens.xml


    search


    Code
    1. <dimen name="status_bar_clock_starting_padding">7.0dip</dimen>    <dimen name="status_bar_clock_end_padding">0.0dip</dimen>


    Replace


    Code
    1. <dimen name="status_bar_clock_starting_padding">5.0dip</dimen>
    2.     <dimen name="status_bar_clock_end_padding">5.0dip</dimen>


    recompile SystemUI.


    DOWNLOAD


    A2017G_B04


    A2017G_B05


    A2017U_B25


    [Blocked Image: https://s18.postimg.org/5kxpdzw1l/Screenshot_2017-05-24-16-03-19.jpg]



    MODIFICATIONS


    Base B06 and B08 7.1.1 MiFvaorUI 5.0.


    Init.d enabled.


    Dm-Verity disabled.


    Many applications removed.


    Magisk 1.4.


    6 reset options with color icons.


    0.25 scale animations on startup.


    Cpuvisor.


    AdAway.


    Bravia Engine v4.


    Added fonts.


    Disable signature verification.


    New additions to build.prop.


    And more things I do not remember..


    DOWNLOAD


    Bootstack universal


    https://www.androidfilehost.com/?w=files&flid=148464


    Bootstack B06



    https://mega.nz/#!k5FAUDZY!Mw4lCy353...2jU_lvQNPYM_Qo

    ROM

    https://mega.nz/#!4kcX3CzJ!cKzV5LwT7...IF3bNbDMspKgCs


    INSTALLATION

    Have Universal Bootstack or Bootstack of the B06.
    Have the final version of the TWRP.
    Insert the rom into the SD card.
    Start in recovery mode and make a backup.
    Wipe data / factory reset.
    They go to advanced wipe and label all but Micro SDCard and OTG and Data.
    They go to install, they look for the zip and install it.
    Restart and wait until the ROM is started


    Thanks


    @dcobos: For all the time it took to climb the mega rom. thank you very much friend


    To the group Zte Axon7 of telegran: For testing all mod and proposing new ideas.


    @jeboo: Extended Power Menu.


    @gharrington For smalis and apk