[GUIDE][JB][4.1.2][TW]How to get AOSP theme on TW Rom

Its help you?


  • Total voters
    17
  • Poll closed .
Search This thread

isaak

Senior Member
Sep 21, 2013
357
216
Those are Png edits... If you want black for the switches find the switches in framework and edit the Png... same with vertical dividers.. There are like 10 them just have to find the right one and make it transparent if you do not want them there;)


Edit: switch_thumb_holo_dark.9.png
And
There is about 6 divider_vertical in xhdpi as well;)
Sent from my SCH-I605 using xda app-developers app

Thanks very much both for help. Any other idea to delate vertical Dividers? :D
To solve my "problem" is enough for me to understand which is the string in OP that I hav'nt to change to remain with Black Background in the Switchs and Without Dividers (vertical and horizontal) near them (like I was having, by my Mod, before ocoot's Mod).

Thanks again for all. :)

1) This is the switch you have to change (from Holo to DeviceDefault):
Code:
<item name="switchStyle">@style/Widget.DeviceDefault.CompoundButton.Switch</item>
2) To exclude vertical dividers delete this line from framework-res in /res/layout/tw_preference_header_item_holo_dark and in /res/layout/tw_preference_widget_switch.xml:
Code:
<View android:background="@drawable/tw_divider_vertical_holo_dark" android:focusable="false" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="8.0dip" />
 
Last edited:

isaak

Senior Member
Sep 21, 2013
357
216
This is my code if you want a lighter touchwiz and with secsettings layout fixed by default (no need to edit androidmanifest).

In res/values/styles.xml after decompiling framework-res.apk, search for
Code:
<style name="Theme.DeviceDefault" parent="@style/Theme.Holo">
and replace it with this code :

Code:
    <style name="Theme.DeviceDefault" parent="@style/Theme.Holo">
        <item name="textAppearance">@style/TextAppearance.Holo</item>
        <item name="textAppearanceInverse">@style/TextAppearance.Holo.Inverse</item>
        <item name="textAppearanceLarge">@style/TextAppearance.Holo.Large</item>
        <item name="textAppearanceMedium">@style/TextAppearance.Holo.Medium</item>
        <item name="textAppearanceSmall">@style/TextAppearance.Holo.Small</item>
        <item name="textAppearanceLargeInverse">@style/TextAppearance.Holo.Large.Inverse</item>
        <item name="textAppearanceMediumInverse">@style/TextAppearance.Holo.Medium.Inverse</item>
        <item name="textAppearanceSmallInverse">@style/TextAppearance.Holo.Small.Inverse</item>
        <item name="buttonStyle">@style/Widget.Holo.Button</item>
        <item name="buttonStyleSmall">@style/Widget.Holo.Button.Small</item>
        <item name="buttonStyleInset">@style/Widget.Holo.Button.Inset</item>
        <item name="buttonStyleToggle">@style/Widget.Holo.Button.Toggle</item>
        <item name="windowBackground">@drawable/tw_background_holo_dark</item>
        <item name="windowTitleStyle">@style/WindowTitle.Holo</item>
        <item name="windowTitleBackgroundStyle">@style/WindowTitleBackground.Holo</item>
        <item name="alertDialogStyle">@style/AlertDialog.DeviceDefault</item>
        <item name="panelBackground">@drawable/tw_menu_hardkey_panel_holo_dark</item>
        <item name="absListViewStyle">@style/Widget.DeviceDefault.AbsListView</item>
        <item name="autoCompleteTextViewStyle">@style/Widget.Holo.AutoCompleteTextView</item>
        <item name="checkboxStyle">@style/Widget.Holo.CompoundButton.CheckBox</item>
        <item name="dropDownListViewStyle">@style/Widget.Holo.ListView.DropDown</item>
        <item name="editTextStyle">@style/Widget.Holo.EditText</item>
        <item name="expandableListViewStyle">@style/Widget.DeviceDefault.ExpandableListView</item>
        <item name="galleryStyle">@style/Widget.Holo.Gallery</item>
        <item name="gridViewStyle">@style/Widget.Holo.GridView</item>
        <item name="imageButtonStyle">@style/Widget.Holo.ImageButton</item>
        <item name="imageWellStyle">@style/Widget.Holo.ImageWell</item>
        <item name="listViewStyle">@style/Widget.DeviceDefault.ListView</item>
        <item name="listViewWhiteStyle">@style/Widget.Holo.ListView.White</item>
        <item name="popupWindowStyle">@style/Widget.Holo.PopupWindow</item>
        <item name="progressBarStyle">@style/Widget.DeviceDefault.ProgressBar</item>
        <item name="progressBarStyleHorizontal">@style/Widget.DeviceDefault.ProgressBar.Horizontal</item>
        <item name="progressBarStyleSmall">@style/Widget.DeviceDefault.ProgressBar.Small</item>
        <item name="progressBarStyleLarge">@style/Widget.DeviceDefault.ProgressBar.Large</item>
        <item name="seekBarStyle">@style/Widget.Holo.SeekBar</item>
        <item name="ratingBarStyle">@style/Widget.Holo.RatingBar</item>
        <item name="ratingBarStyleSmall">@style/Widget.Holo.RatingBar.Small</item>
        <item name="radioButtonStyle">@style/Widget.Holo.CompoundButton.RadioButton</item>
        <item name="scrollViewStyle">@style/Widget.Holo.ScrollView</item>
        <item name="spinnerStyle">?dropDownSpinnerStyle</item>
        <item name="starStyle">@style/Widget.Holo.CompoundButton.Star</item>
        <item name="tabWidgetStyle">@style/Widget.DeviceDefault.TabWidget</item>
        <item name="textViewStyle">@style/Widget.DeviceDefault.TextView</item>
        <item name="webViewStyle">@style/Widget.DeviceDefault.WebView</item>
        <item name="dropDownItemStyle">@style/Widget.Holo.DropDownItem</item>
        <item name="spinnerDropDownItemStyle">@style/Widget.Holo.DropDownItem.Spinner</item>
        <item name="dropDownHintAppearance">@style/TextAppearance.Holo.Widget.DropDownHint</item>
        <item name="spinnerItemStyle">@style/Widget.Holo.TextView.SpinnerItem</item>
        <item name="preferenceScreenStyle">@style/Preference.DeviceDefault.PreferenceScreen</item>
        <item name="preferenceCategoryStyle">@style/Preference.DeviceDefault.Category</item>
        <item name="preferenceInformationStyle">@style/Preference.DeviceDefault.Information</item>
        <item name="preferenceStyle">@style/Preference.DeviceDefault</item>
        <item name="checkBoxPreferenceStyle">@style/Preference.DeviceDefault.CheckBoxPreference</item>
        <item name="yesNoPreferenceStyle">@style/Preference.DeviceDefault.DialogPreference.YesNoPreference</item>
        <item name="dialogPreferenceStyle">@style/Preference.DeviceDefault.DialogPreference</item>
        <item name="editTextPreferenceStyle">@style/Preference.DeviceDefault.DialogPreference.EditTextPreference</item>
        <item name="ringtonePreferenceStyle">@style/Preference.DeviceDefault.RingtonePreference</item>
        <item name="preferenceLayoutChild">@layout/tw_preference_child_holo</item>
        <item name="windowAnimationStyle">@style/Animation.DeviceDefault.Activity</item>
        <item name="textAppearanceButton">@style/TextAppearance.DeviceDefault.Widget.Button</item>
        <item name="listSeparatorTextViewStyle">@style/Widget.Holo.TextView.ListSeparator</item>
        <item name="progressBarStyleSmallTitle">@style/Widget.DeviceDefault.ProgressBar.Small.Title</item>
        <item name="ratingBarStyleIndicator">@style/Widget.DeviceDefault.RatingBar.Indicator</item>
        <item name="listDivider">@drawable/tw_list_divider_holo_dark</item>
        <item name="listChoiceIndicatorSingle">@drawable/tw_btn_radio_holo_dark</item>
        <item name="listChoiceIndicatorMultiple">@drawable/tw_btn_check_holo_dark</item>
        <item name="progressBarStyleInverse">@style/Widget.DeviceDefault.ProgressBar.Inverse</item>
        <item name="progressBarStyleSmallInverse">@style/Widget.DeviceDefault.ProgressBar.Small.Inverse</item>
        <item name="progressBarStyleLargeInverse">@style/Widget.DeviceDefault.ProgressBar.Large.Inverse</item>
        <item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.DeviceDefault.SearchResult.Subtitle</item>
        <item name="textAppearanceSearchResultTitle">@style/TextAppearance.DeviceDefault.SearchResult.Title</item>
        <item name="scrollbarFadeDuration">@integer/scrollbar_fade_duration</item>
        <item name="quickContactBadgeStyleWindowSmall">@style/Widget.DeviceDefault.QuickContactBadge.WindowSmall</item>
        <item name="quickContactBadgeStyleWindowMedium">@style/Widget.DeviceDefault.QuickContactBadge.WindowMedium</item>
        <item name="quickContactBadgeStyleWindowLarge">@style/Widget.DeviceDefault.QuickContactBadge.WindowLarge</item>
        <item name="quickContactBadgeStyleSmallWindowSmall">@style/Widget.DeviceDefault.QuickContactBadgeSmall.WindowSmall</item>
        <item name="quickContactBadgeStyleSmallWindowMedium">@style/Widget.DeviceDefault.QuickContactBadgeSmall.WindowMedium</item>
        <item name="quickContactBadgeStyleSmallWindowLarge">@style/Widget.DeviceDefault.QuickContactBadgeSmall.WindowLarge</item>
        <item name="expandableListViewWhiteStyle">@style/Widget.DeviceDefault.ExpandableListView.White</item>
        <item name="webTextViewStyle">@style/Widget.DeviceDefault.WebTextView</item>
        <item name="textSelectHandleLeft">@drawable/text_select_handle_left</item>
        <item name="textSelectHandleRight">@drawable/text_select_handle_right</item>
        <item name="textSelectHandle">@drawable/text_select_handle_middle</item>
        <item name="textSelectHandleWindowStyle">@style/Widget.DeviceDefault.TextSelectHandle</item>
        <item name="actionBarStyle">@style/Widget.DeviceDefault.ActionBar</item>
        <item name="dropDownSpinnerStyle">@style/Widget.Holo.Spinner.DropDown</item>
        <item name="actionDropDownStyle">@style/Widget.Holo.Spinner.DropDown.ActionBar</item>
        <item name="actionButtonStyle">@style/Widget.Holo.ActionButton</item>
        <item name="actionModeBackground">@drawable/tw_ab_transparent_dark_holo</item>
        <item name="actionModeCloseDrawable">@drawable/ic_cab_done_holo_dark</item>
        <item name="listChoiceBackgroundIndicator">@drawable/list_selector_holo_dark</item>
        <item name="actionBarTabStyle">@style/Widget.DeviceDefault.ActionBar.TabView</item>
        <item name="actionBarTabBarStyle">@style/Widget.DeviceDefault.ActionBar.TabBar</item>
        <item name="actionBarTabTextStyle">@style/Widget.DeviceDefault.ActionBar.TabText</item>
        <item name="actionOverflowButtonStyle">@style/Widget.Holo.ActionButton.Overflow</item>
        <item name="actionModeCloseButtonStyle">@style/Widget.Holo.ActionButton.CloseMode</item>
        <item name="listPopupWindowStyle">@style/Widget.Holo.ListPopupWindow</item>
        <item name="popupMenuStyle">@style/Widget.Holo.PopupMenu</item>
        <item name="textAppearanceLargePopupMenu">@style/TextAppearance.Holo.Widget.PopupMenu.Large</item>
        <item name="textAppearanceSmallPopupMenu">@style/TextAppearance.Holo.Widget.PopupMenu.Small</item>
        <item name="textColorAlertDialogListItem">@color/tw_popup_primary_text_holo_dark</item>
        <item name="dialogTheme">@style/Theme.DeviceDefault.Dialog</item>
        <item name="alertDialogTheme">@style/Theme.DeviceDefault.Dialog.Alert</item>
        <item name="homeAsUpIndicator">@drawable/tw_ic_ab_back_holo_dark</item>
        <item name="actionModeCutDrawable">@drawable/ic_menu_cut_holo_dark</item>
        <item name="actionModeCopyDrawable">@drawable/ic_menu_copy_holo_dark</item>
        <item name="actionModePasteDrawable">@drawable/ic_menu_paste_holo_dark</item>
        <item name="borderlessButtonStyle">@style/Widget.DeviceDefault.Button.Borderless</item>
        <item name="buttonBarStyle">@style/Holo.ButtonBar</item>
        <item name="buttonBarButtonStyle">?borderlessButtonStyle</item>
        <item name="segmentedButtonStyle">@style/DeviceDefault.SegmentedButton</item>
        <item name="editTextBackground">@drawable/edit_text_holo_dark</item>
        <item name="horizontalScrollViewStyle">@style/Widget.Holo.HorizontalScrollView</item>
        <item name="alertDialogIcon">@drawable/ic_dialog_alert_holo_dark</item>
        <item name="datePickerStyle">@style/Widget.Holo.DatePicker</item>
        <item name="calendarViewStyle">@style/Widget.Holo.CalendarView</item>
        <item name="actionMenuTextAppearance">@style/TextAppearance.DeviceDefault.Widget.ActionBar.Menu</item>
        <item name="actionMenuTextColor">@color/tw_action_bar_menu_text_holo_dark</item>
        <item name="switchPreferenceStyle">@style/Preference.DeviceDefault.SwitchPreference</item>
        <item name="textSuggestionsWindowStyle">@style/Widget.Holo.TextSuggestionsPopupWindow</item>
        <item name="actionModeSelectAllDrawable">@drawable/ic_menu_selectall_holo_dark</item>
        <item name="actionModeStyle">@style/Widget.Holo.ActionMode</item>
        <item name="actionBarDivider">@drawable/divider_vertical_holo_dark</item>
        <item name="actionBarItemBackground">@drawable/tw_action_item_background_holo_dark</item>
        <item name="actionModeSplitBackground">@drawable/tw_ab_transparent_dark_holo</item>
        <item name="listPreferredItemPaddingLeft">17.0dip</item>
        <item name="listPreferredItemPaddingRight">17.0dip</item>
        <item name="actionBarNonEmbeded">false</item>
        <item name="panelMenuListWidth">@dimen/tw_compactmenu_width</item>
        <item name="panelMenuListTheme">@style/Theme.DeviceDefault.CompactMenu</item>
        <item name="gestureOverlayViewStyle">@style/Widget.DeviceDefault.GestureOverlayView</item>
        <item name="quickContactBadgeOverlay">@drawable/tw_quickcontact_badge_overlay_dark</item>
        <item name="stackViewStyle">@style/Widget.DeviceDefault.StackView</item>
        <item name="numberPickerStyle">@style/Widget.DeviceDefault.NumberPicker</item>
        <item name="timePickerStyle">@style/Widget.DeviceDefault.TimePicker</item>
        <item name="actionBarTitleShadowColor">@color/tw_action_bar_title_shadow_color_holo_dark</item>
        <item name="actionBarTitleShadowDx">@dimen/tw_action_bar_title_shadow_dx_holo_dark</item>
        <item name="actionMultiWindowButtonDrawable">@drawable/tw_ic_menu_cascade_holo_dark</item>
        <item name="actionMultiWindowButtonBackground">@drawable/tw_btn_ab_mw_holo_dark</item>
        <item name="actionBarTitleShadowDy">@dimen/tw_action_bar_title_shadow_dy_holo_dark</item>
        <item name="actionModeShareDrawable">@drawable/tw_ic_menu_share_holo_dark</item>
        <item name="actionModeFindDrawable">@drawable/tw_ic_menu_find_holo_dark</item>
        <item name="actionModeWebSearchDrawable">@drawable/tw_ic_menu_search_holo_dark</item>
        <item name="actionModePopupWindowStyle">@style/Widget.Holo.PopupWindow.ActionMode</item>
        <item name="preferenceFragmentStyle">@style/PreferenceFragment</item>
        <item name="preferenceActivityLayout">@layout/preference_list_content</item>
        <item name="preferenceHeaderItemLayout">@layout/tw_preference_header_item_holo_dark</item>
        <item name="fragmentBreadCrumbItemLayout">@layout/fragment_bread_crumb_item</item>
        <item name="dialogTitleIconsDecorLayout">@layout/dialog_title_icons_holo</item>
        <item name="actionModeClipboardDrawable">@drawable/tw_ic_menu_clipboard_holo_dark</item>
        <item name="textSelectHandleLeftTop">@drawable/text_select_handle_left</item>
        <item name="textSelectHandleRightTop">@drawable/text_select_handle_right</item>
        <item name="searchViewCloseIcon">@drawable/tw_ic_clear</item>
        <item name="searchViewGoIcon">@drawable/ic_go</item>
        <item name="searchViewSearchIcon">@drawable/ic_search</item>
        <item name="searchViewVoiceIcon">@drawable/ic_voice_search</item>
        <item name="searchViewEditQuery">@drawable/ic_commit_search_api_holo_dark</item>
        <item name="searchViewEditQueryBackground">@drawable/tw_item_background_holo_dark</item>
        <item name="searchViewTextField">@drawable/tw_textfield_searchview_holo_dark</item>
        <item name="searchViewTextFieldRight">@drawable/tw_textfield_searchview_right_holo_dark</item>
        <item name="searchViewTextColor">@color/tw_textfield_searchview_text_holo_dark</item>
        <item name="twTextColorPrimary">@color/primary_text_holo_dark</item>
        <item name="twTextColorSecondary">@color/secondary_text_holo_dark</item>
        <item name="twTextSizePrimary">22.0sp</item>
        <item name="twTextSizeSecondary">17.0dip</item>
		<item name="twPreferencePaddingLeft">8.0dip</item>
        <item name="dialogTitleDecorLayout">@layout/dialog_title_holo</item>
        <item name="toastFrameBackground">@drawable/tw_toast_frame_holo_dark</item>
        <item name="toastTextColor">@color/tw_toast_text_holo_dark</item>
        <item name="toastTextShadowColor">@color/tw_toast_text_shadow_holo_dark</item>
        <item name="searchDropdownBackground">@drawable/tw_spinner_dropdown_background</item>
        <item name="searchViewSearchFieldIcon">@drawable/tw_ic_searchfield</item>
        <item name="searchDialogTheme">@style/Theme.Holo.SearchBar</item>
        <item name="preferenceFrameLayoutStyle">@style/Widget.DeviceDefault.PreferenceFrameLayout</item>
        <item name="switchStyle">@style/Widget.Holo.CompoundButton.Switch</item>
        <item name="ProgressDialogStyle">@style/AlertDialog.DeviceDefault.ProgressDialog</item>
        <item name="parentIsDeviceDefault">true</item>
        <item name="keyboardViewStyle">@style/Widget.DeviceDefault.KeyboardView</item>
    </style>

To exclude vertical dividers and/or to change switch buttons in Settings, please read my previous post.
 
Last edited:

@aironjp

New member
Dec 14, 2013
3
2
error

I: Using Apktool 2.0.0-Beta9 on framework-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res\values\styles.xml:2301: error: Error: No resource found that matches the given name (at 'actionModeBackground' with value '@drawable/ab_solid_holo_dark').
aapt: warning: string 'Roaming_Auto_Dialing' has no default translation in C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'stms_version' has no default translation in C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'tethered_notification_lowbattery' has no default translation in C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res; found: uk
aapt: warning: string 'tethered_notification_lowbattery_message' has no default translation in C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res; found: uk
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\JUANSA~1\AppData\Local\Temp\brut_util_Jar_8944550243291917051.tmp, p, --forced-package-id, 1, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-S6810LUBAML3, -F, C:\Users\JUANSA~1\AppData\Local\Temp\APKTOOL4320743098430216862.tmp, -x, -0, arsc, -S, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res, -M, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\JUANSA~1\AppData\Local\Temp\brut_util_Jar_8944550243291917051.tmp, p, --forced-package-id, 1, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-S6810LUBAML3, -F, C:\Users\JUANSA~1\AppData\Local\Temp\APKTOOL4320743098430216862.tmp, -x, -0, arsc, -S, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res, -M, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\JUANSA~1\AppData\Local\Temp\brut_util_Jar_8944550243291917051.tmp, p, --forced-package-id, 1, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-S6810LUBAML3, -F, C:\Users\JUANSA~1\AppData\Local\Temp\APKTOOL4320743098430216862.tmp, -x, -0, arsc, -S, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res, -M, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
... 6 more
 

ocoot

Senior Member
I: Using Apktool 2.0.0-Beta9 on framework-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res\values\styles.xml:2301: error: Error: No resource found that matches the given name (at 'actionModeBackground' with value '@drawable/ab_solid_holo_dark').
aapt: warning: string 'Roaming_Auto_Dialing' has no default translation in C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'stms_version' has no default translation in C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'tethered_notification_lowbattery' has no default translation in C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res; found: uk
aapt: warning: string 'tethered_notification_lowbattery_message' has no default translation in C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res; found: uk
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\JUANSA~1\AppData\Local\Temp\brut_util_Jar_8944550243291917051.tmp, p, --forced-package-id, 1, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-S6810LUBAML3, -F, C:\Users\JUANSA~1\AppData\Local\Temp\APKTOOL4320743098430216862.tmp, -x, -0, arsc, -S, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res, -M, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\JUANSA~1\AppData\Local\Temp\brut_util_Jar_8944550243291917051.tmp, p, --forced-package-id, 1, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-S6810LUBAML3, -F, C:\Users\JUANSA~1\AppData\Local\Temp\APKTOOL4320743098430216862.tmp, -x, -0, arsc, -S, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res, -M, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\JUANSA~1\AppData\Local\Temp\brut_util_Jar_8944550243291917051.tmp, p, --forced-package-id, 1, --min-sdk-version, 16, --target-sdk-version, 16, --version-code, 16, --version-name, 4.1.2-S6810LUBAML3, -F, C:\Users\JUANSA~1\AppData\Local\Temp\APKTOOL4320743098430216862.tmp, -x, -0, arsc, -S, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res, -M, C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
... 6 more

read this
C:\Users\juansairon\Downloads\Compressed\APK Tools v3.50\APK Tools v3.50\Projects\framework-res.apk\res\values\styles.xml:2301: error: Error: No resource found that matches the given name (at 'actionModeBackground' with value '@drawable/ab_solid_holo_dark').
you missing some file. place the png with name ab_solid_holo_dark to drawable folder
 

mhashim6

Recognized Developer
Mar 5, 2013
882
1,015
mhashim6.me
hi sir , i alwayse get that error :\ :

Code:
C:\apktool1.5.2>apktool b framework-res framework-res2.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\apktool1.5.2\framework-res\res\values\styles.xml:2391: error: Resource entry
Theme.DeviceDefault already has bag item keyboardViewStyle.
C:\apktool1.5.2\framework-res\res\values\styles.xml:2390: Originally defined her
e.
aapt: warning: string 'Roaming_Auto_Dialing' has no default translation in C:\ap
ktool1.5.2\framework-res\res; found: ar az bg ca cs da de el en_PH es_ES es_US e
t eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl
pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'stms_version' has no default translation in C:\apktool1.5
.2\framework-res\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa
fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt
_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\HP\AppData\Local\Temp\AP
KTOOL690802413570820176.tmp, -x, -0, arsc, -S, C:\apktool1.5.2\framework-res\res
, -M, C:\apktool1.5.2\framework-res\AndroidManifest.xml]
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
        at brut.androlib.Androlib.buildResources(Androlib.java:283)
        at brut.androlib.Androlib.build(Androlib.java:206)
        at brut.androlib.Androlib.build(Androlib.java:176)
        at brut.apktool.Main.cmdBuild(Main.java:228)
        at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
 exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\HP\AppData\Local\Temp\APKTOOL690802413570820176.tmp, -x, -0, arsc, -S, C:
\apktool1.5.2\framework-res\res, -M, C:\apktool1.5.2\framework-res\AndroidManife
st.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
        ... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\HP\AppData\Local\Temp\APKT
OOL690802413570820176.tmp, -x, -0, arsc, -S, C:\apktool1.5.2\framework-res\res,
-M, C:\apktool1.5.2\framework-res\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:89)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
        ... 6 more

plz help :)
 

ocoot

Senior Member
hi sir , i alwayse get that error :\ :

Code:
C:\apktool1.5.2>apktool b framework-res framework-res2.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\apktool1.5.2\framework-res\res\values\styles.xml:2391: error: Resource entry
Theme.DeviceDefault already has bag item keyboardViewStyle.
C:\apktool1.5.2\framework-res\res\values\styles.xml:2390: Originally defined her
e.
aapt: warning: string 'Roaming_Auto_Dialing' has no default translation in C:\ap
ktool1.5.2\framework-res\res; found: ar az bg ca cs da de el en_PH es_ES es_US e
t eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl
pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'stms_version' has no default translation in C:\apktool1.5
.2\framework-res\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa
fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt
_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\HP\AppData\Local\Temp\AP
KTOOL690802413570820176.tmp, -x, -0, arsc, -S, C:\apktool1.5.2\framework-res\res
, -M, C:\apktool1.5.2\framework-res\AndroidManifest.xml]
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
        at brut.androlib.Androlib.buildResources(Androlib.java:283)
        at brut.androlib.Androlib.build(Androlib.java:206)
        at brut.androlib.Androlib.build(Androlib.java:176)
        at brut.apktool.Main.cmdBuild(Main.java:228)
        at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
 exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\HP\AppData\Local\Temp\APKTOOL690802413570820176.tmp, -x, -0, arsc, -S, C:
\apktool1.5.2\framework-res\res, -M, C:\apktool1.5.2\framework-res\AndroidManife
st.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
        ... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\HP\AppData\Local\Temp\APKT
OOL690802413570820176.tmp, -x, -0, arsc, -S, C:\apktool1.5.2\framework-res\res,
-M, C:\apktool1.5.2\framework-res\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:89)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
        ... 6 more

plz help :)

read this code
Code:
C:\apktool1.5.2\framework-res\res\values\styles.xml:2391: error: Resource entry
Theme.DeviceDefault already has bag item keyboardViewStyle.
C:\apktool1.5.2\framework-res\res\values\styles.xml:2390: Originally defined her
e.
go to line 2390-2391. you've a multiple code, you need to delete one of them
 
  • Like
Reactions: mhashim6
Thanks for the guide. I definitely like the look of aosp than TouchWiz. One problem though that's probably been pointed out. How can I change the pop up buttons to match the look? They currently look like this
uzu8a4a9.jpg
ery4eduj.jpg


Sent from my SGH-T599N using Tapatalk
 
Last edited:

glowerita

Senior Member
Apr 16, 2012
205
71
Udine (Italy)
Hi guys. Someone know in which Folder I can find or the PNG'name about the blu Holo divides?
Thanks in advance. [emoji1]
 

Attachments

  • uploadfromtaptalk1412615905661.JPG
    uploadfromtaptalk1412615905661.JPG
    46.3 KB · Views: 60

vicente001

Senior Member
Oct 20, 2014
84
15
Coquimbo
hi, i have this error when compiling:
Code:
26/10/2014 
18:20:26,78 
Re-compiling... 
 
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Windows\Temp\APKTOOL2759522694057642043.tmp, -x, -S, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res, -M, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
	at brut.androlib.Androlib.buildResources(Androlib.java:269)
	at brut.androlib.Androlib.build(Androlib.java:192)
	at brut.androlib.Androlib.build(Androlib.java:174)
	at brut.apktool.Main.cmdBuild(Main.java:188)
	at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Windows\Temp\APKTOOL2759522694057642043.tmp, -x, -S, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res, -M, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:83)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
	... 6 more
C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res\values\styles.xml:2301: error: Error: No resource found that matches the given name (at 'actionModeBackground' with value '@drawable/top_header_octo').
aapt: warning: string 'Roaming_Auto_Dialing' has no default translation in C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'stms_version' has no default translation in C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
 
-----------------------------------------------------------------
help me please!!
SORRY FOR MY BAD ENGLISH, I AM CHILEAN :D
 

ocoot

Senior Member
hi, i have this error when compiling:
Code:
26/10/2014 
18:20:26,78 
Re-compiling... 
 
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Windows\Temp\APKTOOL2759522694057642043.tmp, -x, -S, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res, -M, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
	at brut.androlib.Androlib.buildResources(Androlib.java:269)
	at brut.androlib.Androlib.build(Androlib.java:192)
	at brut.androlib.Androlib.build(Androlib.java:174)
	at brut.apktool.Main.cmdBuild(Main.java:188)
	at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Windows\Temp\APKTOOL2759522694057642043.tmp, -x, -S, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res, -M, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:83)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
	... 6 more
C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res\values\styles.xml:2301: error: Error: No resource found that matches the given name (at 'actionModeBackground' with value '@drawable/top_header_octo').
aapt: warning: string 'Roaming_Auto_Dialing' has no default translation in C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'stms_version' has no default translation in C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
 
-----------------------------------------------------------------
help me please!!
SORRY FOR MY BAD ENGLISH, I AM CHILEAN :D

top_header_octo change to ab_solid_holo_dark
 

vicente001

Senior Member
Oct 20, 2014
84
15
Coquimbo
top_header_octo change to ab_solid_holo_dark

I did, but it did not work . Get the same error but with the word you said ...
Code:
27/10/2014 
20:20:45,89 
Re-compiling... 
 
W: Could not find sources
I: Building resources...
C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res\values\styles.xml:2301: error: Error: No resource found that matches the given name (at 'actionModeBackground' with value '@drawable/[B]ab_solid_holo_dark[/B]').
aapt: warning: string 'Roaming_Auto_Dialing' has no default translation in C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'stms_version' has no default translation in C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res; found: ar az bg ca cs da de el en_PH es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Windows\Temp\APKTOOL6648377294193223134.tmp, -x, -S, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res, -M, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
	at brut.androlib.Androlib.buildResources(Androlib.java:269)
	at brut.androlib.Androlib.build(Androlib.java:192)
	at brut.androlib.Androlib.build(Androlib.java:174)
	at brut.apktool.Main.cmdBuild(Main.java:188)
	at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Windows\Temp\APKTOOL6648377294193223134.tmp, -x, -S, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\res, -M, C:\Documents and Settings\Administrador\APK GUI\InProgress\framework-res.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:83)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
	... 6 more
 

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    Ok this guide it's different from guide made by @BOOTMGR, i follow him guide but i've a few trouble (FC) on some option in settings and now i found my own way how to get AOSP theme for TW based rom (for Jellybean 4.1.2 with Touchwiz version) without any trouble like FC.
    actually, this guide its for Galaxy Young GT-S6310 but i hope it will work on all JB 4.1.2 with Touchwiz Based Rom

    so let's start now

    How to:
    1. decompile your framework-res.apk
    2. go to styles.xml
    3. search for <style name="Theme.DeviceDefault" parent="@style/Theme.Holo">
    4. now, we need to modified all content inside <style name="Theme.DeviceDefault" parent="@style/Theme.Holo">
    5. replace all line inside <style name="Theme.DeviceDefault" parent="@style/Theme.Holo"> with this
    Code:
    <style name="Theme.DeviceDefault" parent="@style/Theme.Holo">
            <item name="textAppearance">@style/TextAppearance.Holo</item>
            <item name="textAppearanceInverse">@style/TextAppearance.Holo.Inverse</item>
            <item name="textAppearanceLarge">@style/TextAppearance.Holo.Large</item>
            <item name="textAppearanceMedium">@style/TextAppearance.Holo.Medium</item>
            <item name="textAppearanceSmall">@style/TextAppearance.Holo.Small</item>
            <item name="textAppearanceLargeInverse">@style/TextAppearance.Holo.Large.Inverse</item>
            <item name="textAppearanceMediumInverse">@style/TextAppearance.Holo.Medium.Inverse</item>
            <item name="textAppearanceSmallInverse">@style/TextAppearance.Holo.Small.Inverse</item>
            <item name="buttonStyle">@style/Widget.Holo.Button</item>
            <item name="buttonStyleSmall">@style/Widget.Holo.Button.Small</item>
            <item name="buttonStyleInset">@style/Widget.Holo.Button.Inset</item>
            <item name="buttonStyleToggle">@style/Widget.Holo.Button.Toggle</item>
            <item name="windowBackground">@drawable/tw_background_holo_dark</item>
            <item name="windowTitleStyle">@style/WindowTitle.Holo</item>
            <item name="windowTitleBackgroundStyle">@style/WindowTitleBackground.Holo</item>
            <item name="alertDialogStyle">@style/AlertDialog.Holo</item>
            <item name="panelBackground">@drawable/tw_menu_hardkey_panel_holo_dark</item>
            <item name="absListViewStyle">@style/Widget.Holo.AbsListView</item>
            <item name="autoCompleteTextViewStyle">@style/Widget.Holo.AutoCompleteTextView</item>
            <item name="checkboxStyle">@style/Widget.Holo.CompoundButton.CheckBox</item>
            <item name="dropDownListViewStyle">@style/Widget.Holo.ListView.DropDown</item>
            <item name="editTextStyle">@style/Widget.Holo.EditText</item>
            <item name="expandableListViewStyle">@style/Widget.Holo.ExpandableListView</item>
            <item name="galleryStyle">@style/Widget.Holo.Gallery</item>
            <item name="gridViewStyle">@style/Widget.Holo.GridView</item>
            <item name="imageButtonStyle">@style/Widget.Holo.ImageButton</item>
            <item name="imageWellStyle">@style/Widget.Holo.ImageWell</item>
            <item name="listViewStyle">@style/Widget.Holo.ListView</item>
            <item name="listViewWhiteStyle">@style/Widget.Holo.ListView.White</item>
            <item name="popupWindowStyle">@style/Widget.Holo.PopupWindow</item>
            <item name="progressBarStyle">@style/Widget.Holo.ProgressBar</item>
            <item name="progressBarStyleHorizontal">@style/Widget.Holo.ProgressBar.Horizontal</item>
            <item name="progressBarStyleSmall">@style/Widget.Holo.ProgressBar.Small</item>
            <item name="progressBarStyleLarge">@style/Widget.Holo.ProgressBar.Large</item>
            <item name="seekBarStyle">@style/Widget.Holo.SeekBar</item>
            <item name="ratingBarStyle">@style/Widget.Holo.RatingBar</item>
            <item name="ratingBarStyleSmall">@style/Widget.Holo.RatingBar.Small</item>
            <item name="radioButtonStyle">@style/Widget.Holo.CompoundButton.RadioButton</item>
            <item name="scrollViewStyle">@style/Widget.Holo.ScrollView</item>
            <item name="spinnerStyle">?dropDownSpinnerStyle</item>
            <item name="starStyle">@style/Widget.Holo.CompoundButton.Star</item>
            <item name="tabWidgetStyle">@style/Widget.Holo.TabWidget</item>
            <item name="textViewStyle">@style/Widget.Holo.TextView</item>
            <item name="webViewStyle">@style/Widget.Holo.WebView</item>
            <item name="dropDownItemStyle">@style/Widget.Holo.DropDownItem</item>
            <item name="spinnerDropDownItemStyle">@style/Widget.Holo.DropDownItem.Spinner</item>
            <item name="dropDownHintAppearance">@style/TextAppearance.Holo.Widget.DropDownHint</item>
            <item name="spinnerItemStyle">@style/Widget.Holo.TextView.SpinnerItem</item>
            <item name="preferenceScreenStyle">@style/Preference.Holo.PreferenceScreen</item>
            <item name="preferenceCategoryStyle">@style/Preference.Holo.Category</item>
            <item name="preferenceInformationStyle">@style/Preference.Holo.Information</item>
            <item name="preferenceStyle">@style/Preference.Holo</item>
            <item name="checkBoxPreferenceStyle">@style/Preference.Holo.CheckBoxPreference</item>
            <item name="yesNoPreferenceStyle">@style/Preference.Holo.DialogPreference.YesNoPreference</item>
            <item name="dialogPreferenceStyle">@style/Preference.Holo.DialogPreference</item>
            <item name="editTextPreferenceStyle">@style/Preference.Holo.DialogPreference.EditTextPreference</item>
            <item name="ringtonePreferenceStyle">@style/Preference.Holo.RingtonePreference</item>
            <item name="preferenceLayoutChild">@layout/preference_child_holo</item>
            <item name="windowAnimationStyle">@style/Animation.DeviceDefault.Activity</item>
            <item name="textAppearanceButton">@style/TextAppearance.Holo.Widget.Button</item>
            <item name="listSeparatorTextViewStyle">@style/Widget.Holo.TextView.ListSeparator</item>
            <item name="progressBarStyleSmallTitle">@style/Widget.Holo.ProgressBar.Small.Title</item>
            <item name="ratingBarStyleIndicator">@style/Widget.DeviceDefault.RatingBar.Indicator</item>
            <item name="listDivider">@drawable/tw_list_divider_holo_dark</item>
            <item name="listChoiceIndicatorSingle">@drawable/tw_btn_radio_holo_dark</item>
            <item name="listChoiceIndicatorMultiple">@drawable/tw_btn_check_holo_dark</item>
            <item name="progressBarStyleInverse">@style/Widget.Holo.ProgressBar.Inverse</item>
            <item name="progressBarStyleSmallInverse">@style/Widget.Holo.ProgressBar.Small.Inverse</item>
            <item name="progressBarStyleLargeInverse">@style/Widget.Holo.ProgressBar.Large.Inverse</item>
            <item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.DeviceDefault.SearchResult.Subtitle</item>
            <item name="textAppearanceSearchResultTitle">@style/TextAppearance.DeviceDefault.SearchResult.Title</item>
            <item name="scrollbarFadeDuration">@integer/scrollbar_fade_duration</item>
            <item name="quickContactBadgeStyleWindowSmall">@style/Widget.DeviceDefault.QuickContactBadge.WindowSmall</item>
            <item name="quickContactBadgeStyleWindowMedium">@style/Widget.DeviceDefault.QuickContactBadge.WindowMedium</item>
            <item name="quickContactBadgeStyleWindowLarge">@style/Widget.DeviceDefault.QuickContactBadge.WindowLarge</item>
            <item name="quickContactBadgeStyleSmallWindowSmall">@style/Widget.DeviceDefault.QuickContactBadgeSmall.WindowSmall</item>
            <item name="quickContactBadgeStyleSmallWindowMedium">@style/Widget.DeviceDefault.QuickContactBadgeSmall.WindowMedium</item>
            <item name="quickContactBadgeStyleSmallWindowLarge">@style/Widget.DeviceDefault.QuickContactBadgeSmall.WindowLarge</item>
            <item name="expandableListViewWhiteStyle">@style/Widget.DeviceDefault.ExpandableListView.White</item>
            <item name="webTextViewStyle">@style/Widget.DeviceDefault.WebTextView</item>
            <item name="textSelectHandleLeft">@drawable/text_select_handle_left</item>
            <item name="textSelectHandleRight">@drawable/text_select_handle_right</item>
            <item name="textSelectHandle">@drawable/text_select_handle_middle</item>
            <item name="textSelectHandleWindowStyle">@style/Widget.DeviceDefault.TextSelectHandle</item>
            <item name="actionBarStyle">@style/Widget.DeviceDefault.ActionBar</item>
            <item name="dropDownSpinnerStyle">@style/Widget.Holo.Spinner.DropDown</item>
            <item name="actionDropDownStyle">@style/Widget.Holo.Spinner.DropDown.ActionBar</item>
            <item name="actionButtonStyle">@style/Widget.Holo.ActionButton</item>
            <item name="actionModeBackground">@drawable/top_header_octo</item>
            <item name="actionModeCloseDrawable">@drawable/ic_cab_done_holo_dark</item>
            <item name="listChoiceBackgroundIndicator">@drawable/list_selector_holo_dark</item>
            <item name="actionBarTabStyle">@style/Widget.Holo.ActionBar.TabView</item>
            <item name="actionBarTabBarStyle">@style/Widget.Holo.ActionBar.TabBar</item>
            <item name="actionBarTabTextStyle">@style/Widget.Holo.ActionBar.TabText</item>
            <item name="actionOverflowButtonStyle">@style/Widget.Holo.ActionButton.Overflow</item>
            <item name="actionModeCloseButtonStyle">@style/Widget.Holo.ActionButton.CloseMode</item>
            <item name="listPopupWindowStyle">@style/Widget.Holo.ListPopupWindow</item>
            <item name="popupMenuStyle">@style/Widget.Holo.PopupMenu</item>
            <item name="textAppearanceLargePopupMenu">@style/TextAppearance.Holo.Widget.PopupMenu.Large</item>
            <item name="textAppearanceSmallPopupMenu">@style/TextAppearance.Holo.Widget.PopupMenu.Small</item>
            <item name="textColorAlertDialogListItem">@color/tw_popup_primary_text_holo_dark</item>
            <item name="dialogTheme">@style/Theme.Holo.Dialog</item>
            <item name="alertDialogTheme">@style/Theme.Holo.Dialog.Alert</item>
            <item name="homeAsUpIndicator">@drawable/tw_ic_ab_back_holo_dark</item>
            <item name="actionModeCutDrawable">@drawable/ic_menu_cut_holo_dark</item>
            <item name="actionModeCopyDrawable">@drawable/ic_menu_copy_holo_dark</item>
            <item name="actionModePasteDrawable">@drawable/ic_menu_paste_holo_dark</item>
            <item name="borderlessButtonStyle">@style/Widget.DeviceDefault.Button.Borderless</item>
            <item name="buttonBarStyle">@style/Holo.ButtonBar</item>
            <item name="buttonBarButtonStyle">?borderlessButtonStyle</item>
            <item name="segmentedButtonStyle">@style/DeviceDefault.SegmentedButton</item>
            <item name="editTextBackground">@drawable/edit_text_holo_dark</item>
            <item name="horizontalScrollViewStyle">@style/Widget.Holo.HorizontalScrollView</item>
            <item name="alertDialogIcon">@drawable/ic_dialog_alert_holo_dark</item>
            <item name="datePickerStyle">@style/Widget.Holo.DatePicker</item>
            <item name="calendarViewStyle">@style/Widget.Holo.CalendarView</item>
            <item name="actionMenuTextAppearance">@style/TextAppearance.Holo.Widget.ActionBar.Menu</item>
            <item name="actionMenuTextColor">@color/tw_action_bar_menu_text_holo_dark</item>
            <item name="switchPreferenceStyle">@style/Preference.Holo.SwitchPreference</item>
            <item name="textSuggestionsWindowStyle">@style/Widget.Holo.TextSuggestionsPopupWindow</item>
            <item name="actionModeSelectAllDrawable">@drawable/ic_menu_selectall_holo_dark</item>
            <item name="actionModeStyle">@style/Widget.Holo.ActionMode</item>
            <item name="actionBarDivider">@drawable/divider_vertical_holo_dark</item>
            <item name="actionBarItemBackground">@drawable/tw_action_item_background_holo_dark</item>
            <item name="actionModeSplitBackground">@drawable/top_header_octo</item>
            <item name="listPreferredItemPaddingLeft">17.0dip</item>
            <item name="listPreferredItemPaddingRight">17.0dip</item>
            <item name="actionBarNonEmbeded">false</item>
            <item name="panelMenuListWidth">@dimen/tw_compactmenu_width</item>
            <item name="panelMenuListTheme">@style/Theme.DeviceDefault.CompactMenu</item>
            <item name="gestureOverlayViewStyle">@style/Widget.DeviceDefault.GestureOverlayView</item>
            <item name="quickContactBadgeOverlay">@drawable/tw_quickcontact_badge_overlay_dark</item>
            <item name="stackViewStyle">@style/Widget.DeviceDefault.StackView</item>
            <item name="checkBoxCheckMark">@drawable/tw_btn_checkmark_holo_dark</item>
            <item name="checkBoxCheckContainer">@drawable/tw_btn_checkcontainer_holo_dark</item>
            <item name="numberPickerStyle">@style/Widget.DeviceDefault.NumberPicker</item>
            <item name="timePickerStyle">@style/Widget.DeviceDefault.TimePicker</item>
            <item name="actionBarTitleShadowColor">@color/tw_action_bar_title_shadow_color_holo_dark</item>
            <item name="actionBarTitleShadowDx">@dimen/tw_action_bar_title_shadow_dx_holo_dark</item>
            <item name="actionMultiWindowButtonDrawable">@drawable/tw_ic_menu_cascade_holo_dark</item>
            <item name="actionMultiWindowButtonBackground">@drawable/tw_btn_ab_mw_holo_dark</item>
            <item name="actionBarTitleShadowDy">@dimen/tw_action_bar_title_shadow_dy_holo_dark</item>
            <item name="actionModeShareDrawable">@drawable/tw_ic_menu_share_holo_dark</item>
            <item name="actionModeFindDrawable">@drawable/tw_ic_menu_find_holo_dark</item>
            <item name="actionModeWebSearchDrawable">@drawable/tw_ic_menu_search_holo_dark</item>
            <item name="actionModePopupWindowStyle">@style/Widget.DeviceDefault.PopupWindow.ActionMode</item>
            <item name="preferenceFragmentStyle">@style/PreferenceFragment</item>
            <item name="preferenceActivityLayout">@layout/preference_list_content</item>
            <item name="preferenceHeaderItemLayout">@layout/preference_header_item</item>
            <item name="fragmentBreadCrumbItemLayout">@layout/fragment_bread_crumb_item</item>
            <item name="dialogTitleIconsDecorLayout">@layout/dialog_title_icons_holo</item>
            <item name="actionModeClipboardDrawable">@drawable/tw_ic_menu_clipboard_holo_dark</item>
            <item name="textSelectHandleLeftTop">@drawable/text_select_handle_left</item>
            <item name="textSelectHandleRightTop">@drawable/text_select_handle_right</item>
            <item name="searchViewCloseIcon">@drawable/tw_ic_clear</item>
            <item name="searchViewGoIcon">@drawable/ic_go</item>
            <item name="searchViewSearchIcon">@drawable/ic_search</item>
            <item name="searchViewVoiceIcon">@drawable/ic_voice_search</item>
            <item name="searchViewEditQuery">@drawable/ic_commit_search_api_holo_dark</item>
            <item name="searchViewEditQueryBackground">@drawable/tw_item_background_holo_dark</item>
            <item name="searchViewTextField">@drawable/tw_textfield_searchview_holo_dark</item>
            <item name="searchViewTextFieldRight">@drawable/tw_textfield_searchview_right_holo_dark</item>
            <item name="searchViewTextColor">@color/tw_textfield_searchview_text_holo_dark</item>
            <item name="twTextColorPrimary">@color/primary_text_holo_dark</item>
            <item name="twTextColorSecondary">@color/secondary_text_holo_dark</item>
            <item name="twTextSizePrimary">22.0sp</item>
            <item name="twTextSizeSecondary">@dimen/tw_secondary_text_size</item>
            <item name="dialogTitleDecorLayout">@layout/dialog_title_holo</item>
            <item name="toastFrameBackground">@drawable/tw_toast_frame_holo_dark</item>
            <item name="toastTextColor">@color/tw_toast_text_holo_dark</item>
            <item name="toastTextShadowColor">@color/tw_toast_text_shadow_holo_dark</item>
            <item name="searchDropdownBackground">@drawable/tw_spinner_dropdown_background</item>
            <item name="searchViewSearchFieldIcon">@drawable/tw_ic_searchfield</item>
            <item name="searchDialogTheme">@style/Theme.Holo.SearchBar</item>
            <item name="preferenceFrameLayoutStyle">@style/Widget.DeviceDefault.PreferenceFrameLayout</item>
            <item name="switchStyle">@style/Widget.Holo.CompoundButton.Switch</item>
            <item name="ProgressDialogStyle">@style/AlertDialog.DeviceDefault.ProgressDialog</item>
            <item name="parentIsDeviceDefault">true</item>
            <item name="keyboardViewStyle">@style/Widget.DeviceDefault.KeyboardView</item>
        </style>

    6. now, save your styles.xml and compile your framework-res.apk


    NB:
    1. Still do with your own risk
    2. Backup your original framework-res.apk
    3. If you get a error, post the log here. without log, i can't help you


    Press Thanks if this guide usefull
    1
    Nice guide sir, :good:
    thanks master :cyclops:
    thank you for this guide, i will try it
    thankyou and goodluck bro :good:
    1
    i'm not find styles.xml mastah. how?

    decompile your framework-res and then go to res/values folder and you'll see styles.xml

    Sent from my Google Nexus 5 using Tapatalk
    1
    man could you help me ? pplease, i have an error when i trying to compile the framework... i adjunt the note

    Hi. Have You an GS2?

    The same for me.

    Don't copy the two Lines "'checkBoxCheckContainer" and "checkBoxCheckMark" in Your XML.

    May be that You havn't the respect PNG in "res/drawable-hdpi". :)
    1
    Hi. Have You an GS2?

    The same for me.

    Don't copy the two Lines "'checkBoxCheckContainer" and "checkBoxCheckMark" in Your XML.

    May be that You havn't the respect PNG in "res/drawable-hdpi". :)

    Yep..Same error as before:

    Code:
    [COLOR="SeaGreen"]res\values\styles.xml[/COLOR]:[COLOR="Red"]2345[/COLOR]: error: [COLOR="Purple"]Error: No resource found that matches the given name[/COLOR]: attr '[COLOR="blue"]checkBoxCheckContainer[/COLOR]'.
    
    C:\Users\Javier_2\Desktop\APK-Multi-Tool\other\..\projects\mega.apk\[COLOR="SeaGreen"]res\values\styles.xml[/COLOR]:[COLOR="Red"]2344[/COLOR]: [COLOR="purple"]error: Error: No resource found that matches the given name[/COLOR]: attr '[COLOR="Blue"]checkBoxCheckMark[/COLOR]'.

    The GREEN highlight shows you the location of the error. The RED highlight shows you the exact line when you open it up in Notepadd++. The PURPLE highlight tells you there is NO resources found (meaning there is not xml, png, string etc etc found in apk/res) The BLUE highlight tells you the name of the file that is not located in your resources (apk/res):good:
    Maybe that will help some of you out