[Xiaomi Redmi Note 3 Questions & Answers] Athi223:
Hello guys, actually i wanted to modify MiuisystemUI.apk to use center clock mod from globe-rom in Miui 10 (naugat) rom.

Decompile went fine, using TickelMyAndroid with no errors, but while recompiling, it is giving the following log:

Recompiling "MiuiSystemUI.apk" With No Signature,

in work area "_WorkArea1", using "apktool_2.3.3.jar"

With Tickle My Android 15.4.0.7

(tinyurl.com\ticklemyandroid)

----------------

Installed Framework File(s):

framework-res.apk [1.apk]

framework-miui-res.apk [16.apk]

framework-ext-res.apk [17.apk]

----------------

I: Using Apktool 2.3.3

I: Smaling smali folder into classes.dex...

I: Building resources...

W: C:\Users\Atharv\Downloads\TickleMyAndroid\_WorkArea1\_working\MiuiSystemUI.apk\AndroidManifest.xml:109: error: attribute 'android:defaultToDeviceProtectedStorage' not found.

W: C:\Users\Atharv\Downloads\TickleMyAndroid\_WorkArea1\_working\MiuiSystemUI.apk\AndroidManifest.xml:109: error: attribute 'android:directBootAware' not found.

W: error: failed processing manifest.

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Atharv\AppData\Local\Temp\brut_util_Jar_1731508996928166194.tmp, link, -o, C:\Users\Atharv\AppData\Local\Temp\APKTOOL3322752623807297205.tmp, --package-id, 127, --min-sdk-version, 24, --target-sdk-version, 24, --version-code, 20180628, --version-name, 20180628, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, -0, arsc, -0, dex, -0, png, -0, res/drawable-440dpi-v4/brightness_mirror_bg.9.png, -0, res/drawable-440dpi-v4/brightness_mirror_bg_land.9.png, -0, res/drawable-440dpi-v4/camera_preview.9.png, -0, res/drawable-440dpi-v4/fs_gesture_bg_finish.9.png, -0, res/drawable-440dpi-v4/fs_gesture_bg_ready.9.png, -0, res/drawable-440dpi-v4/ic_sysbar_bg.9.png, -0, res/drawable-440dpi-v4/ic_sysbar_bg_darkmode.9.png, -0, res/drawable-440dpi-v4/ic_sysbar_bg_darkmode_cts.9.png, -0, res/drawable-440dpi-v4/ic_sysbar_bg_land.9.png, -0, res/drawable-440dpi-v4/ic_sysbar_bg_land_darkmode.9.png, -0, res/drawable-440dpi-v4/ic_sysbar_bg_land_darkmode_cts.9.png, -0, res/drawable-440dpi-v4/optimized_game_heads_up_notification_action_button_bg_n.9.png, -0, res/drawable-440dpi-v4/optimized_game_heads_up_notification_action_button_bg_p.9.png, -0, res/drawable-440dpi-v4/optimized_heads_up_notification_action_button_bg_n.9.png, -0, res/drawable-440dpi-v4/optimized_heads_up_notification_action_button_bg_p.9.png, -0, res/drawable-440dpi-v4/qs_tile_expand_indicator.png.png, -0, res/drawable-440dpi-v4/screen_round_corner_bottom.9.png, -0, res/drawable-440dpi-v4/screen_round_corner_top.9.png, -0, xml, -0, res/drawable-ldrtl-xxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xxhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xxhdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-xxhdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-xxhdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-xxhdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-xxhdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/brightness_mirror_bg.9.png, -0, res/drawable-xxhdpi-v4/brightness_mirror_bg_land.9.png, -0, res/drawable-xxhdpi-v4/bugreport_btn_bg_normal.9.png, -0, res/drawable-xxhdpi-v4/bugreport_btn_bg_pressed.9.png, -0, res/drawable-xxhdpi-v4/camera_preview.9.png, -0, res/drawable-xxhdpi-v4/dialog_bg_light.9.png, -0, res/drawable-xxhdpi-v4/exit_multi_window_bg_n.9.png, -0, res/drawable-xxhdpi-v4/exit_multi_window_bg_p.9.png, -0, res/drawable-xxhdpi-v4/fs_gesture_bg_finish.9.png, -0, res/drawable-xxhdpi-v4/fs_gesture_bg_ready.9.png, -0, webp, -0, res/drawable-xxhdpi-v4/ic_notification_overlay.9.png, -0, res/drawable-xxhdpi-v4/ic_sysbar_bg.9.png, -0, res/drawable-xxhdpi-v4/ic_sysbar_bg_darkmode.9.png, -0, res/drawable-xxhdpi-v4/ic_sysbar_bg_darkmode_cts.9.png, -0, res/drawable-xxhdpi-v4/ic_sysbar_bg_land.9.png, -0, res/drawable-xxhdpi-v4/ic_sysbar_bg_land_darkmode.9.png, -0, res/drawable-xxhdpi-v4/ic_sysbar_bg_land_darkmode_cts.9.png, -0, res/drawable-xxhdpi-v4/keyguard_charging_info_bg.9.png, -0, res/drawable-xxhdpi-v4/keyguard_charging_info_first_list_bg.9.png, -0, res/drawable-xxhdpi-v4/keyguard_charging_info_last_list_bg.9.png, -0, res/drawable-xxhdpi-v4/keyguard_charging_info_middle_list_first_item_bg.9.png, -0, res/drawable-xxhdpi-v4/keyguard_charging_info_middle_list_second_item_bg.9.png, -0, res/drawable-xxhdpi-v4/keyguard_charging_info_middle_list_third_item_bg.9.png, -0, res/drawable-xxhdpi-v4/keyguard_left_view_list_n.9.png, -0, res/drawable-xxhdpi-v4/keyguard_left_view_list_p.9.png, -0, jpg, -0, res/drawable-xxhdpi-v4/miui_keyguard_forget_password_left_normal.9.png, -0, res/drawable-xxhdpi-v4/miui_keyguard_forget_password_left_pressed.9.png, -0, res/drawable-xxhdpi-v4/miui_keyguard_forget_password_right_normal.9.png, -0, res/drawable-xxhdpi-v4/miui_keyguard_forget_password_right_pressed.9.png, -0, res/drawable-xxhdpi-v4/miui_keyguard_forget_password_single_normal.9.png, -0, res/drawable-xxhdpi-v4/miui_keyguard_forget_password_single_pressed.9.png, -0, res/drawable-xxhdpi-v4/miui_keyguard_input_bg.9.png, -0, res/drawable-xxhdpi-v4/miui_keyguard_notification_item_bg_n.9.png, -0, res/drawable-xxhdpi-v4/miui_keyguard_notification_item_bg_p.9.png, -0, res/drawable-xxhdpi-v4/miui_password_unlock_screen_input_field_bg_error.9.png, -0, res/drawable-xxhdpi-v4/nav_background.9.png, -0, res/drawable-xxhdpi-v4/notch_state_bg.9.png, -0, res/drawable-xxhdpi-v4/optimized_game_heads_up_notification_action_button_bg_n.9.png, -0, res/drawable-xxhdpi-v4/optimized_game_heads_up_notification_action_button_bg_p.9.png, -0, res/drawable-xxhdpi-v4/optimized_heads_up_notification_action_button_bg_n.9.png, -0, res/drawable-xxhdpi-v4/optimized_heads_up_notification_action_button_bg_p.9.png, -0, res/drawable-xxhdpi-v4/recent_task_separator.9.png, -0, res/drawable-xxhdpi-v4/recents_lower_gradient.9.png, -0, res/drawable-xxhdpi-v4/recents_status_gradient.9.png, -0, res/drawable-xxhdpi-v4/screen_round_corner_bottom.9.png, -0, res/drawable-xxhdpi-v4/screen_round_corner_top.9.png, -0, res/drawable-xxhdpi-v4/screen_view_slide_bar.9.png, -0, res/drawable-xxhdpi-v4/screen_view_slide_bar_bg.9.png, -0, res/drawable-xxhdpi-v4/screenshot_btn_bg_normal.9.png, -0, res/drawable-xxhdpi-v4/screenshot_btn_bg_pressed.9.png, -0, res/drawable-xxhdpi-v4/screenshot_panel.9.png, -0, res/drawable-xxhdpi-v4/screenshot_thumbnail_shadow.9.png, -0, res/drawable-xxhdpi-v4/search_bg_transparent.9.png, -0, res/drawable-xxhdpi-v4/sim_unlock_confirm_pinnum_disable.9.png, -0, res/drawable-xxhdpi-v4/sim_unlock_confirm_pinnum_normal.9.png, -0, res/drawable-xxhdpi-v4/sim_unlock_confirm_pinnum_pressed.9.png, -0, res/drawable-xxhdpi-v4/status_background.9.png, -0, res/drawable-xxhdpi-v4/status_bar_yellow_bar_bg_n.9.png, -0, res/drawable-xxhdpi-v4/status_bar_yellow_bar_bg_p.9.png, -0, res/drawable-xxhdpi-v4/wallpaper_des_more_bg_n.9.png, -0, res/drawable-xxhdpi-v4/wallpaper_des_more_bg_p.9.png, -0, res/raw/megviifacepp_model, -0, res/raw/panorama_mgb, -0, res/raw/panorama_mgb_s1, -0, res/raw/panorama_mgb_s2, -0, mp4, -0, maml, -0, ivt, -0, arsc, -I, C:\Users\Atharv\Downloads\TickleMyAndroid\_WorkArea1\Frameworks\1.apk, -I, C:\Users\Atharv\Downloads\TickleMyAndroid\_WorkArea1\Frameworks\16.apk, -I, C:\Users\Atharv\Downloads\TickleMyAndroid\_WorkArea1\Frameworks\17.apk, --manifest, C:\Users\Atharv\Downloads\TickleMyAndroid\_WorkArea1\_working\MiuiSystemUI.apk\AndroidManifest.xml, C:\Users\Atharv\Downloads\TickleMyAndroid\_WorkArea1\_working\MiuiSystemUI.apk\build\resources.zip]

----------------

Recompile Not Successful!

P.S. attribute 'android:defaultToDeviceProtectedStorage' AND attribute 'android:directBootAware' are present in AndroidManifest.xml

any help would be appreciated. also please let me know if the post is in wrong place.