FORUMS
Remove All Ads from XDA

 View Poll Results: Its help you?

Yes. very helpfull for me. thanks
 
16 Vote(s)
94.12%
No. I'm like to use xposed without spend my time.
 
1 Vote(s)
5.88%

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

722 posts
Thanks Meter: 936
 
Post Reply Email Thread
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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-03-18-22-23-06[1].png
Views:	3584
Size:	53.4 KB
ID:	2637130   Click image for larger version

Name:	Screenshot_2014-03-18-22-23-17[1].png
Views:	3464
Size:	71.9 KB
ID:	2637131  
The Following 13 Users Say Thank You to ocoot For This Useful Post: [ View ] Gift ocoot Ad-Free
 
 
18th March 2014, 04:57 PM |#2  
dugeriss's Avatar
Senior Member
Flag Aku neng mburimu yo!
Thanks Meter: 299
 
More
Thumbs up
Nice guide sir,
18th March 2014, 05:09 PM |#3  
crazy_user's Avatar
Member
Flag Sragen, Jawa Tengah
Thanks Meter: 42
 
More
thank you for this guide, i will try it
18th March 2014, 05:12 PM |#4  
ocoot's Avatar
OP Senior Member
Flag Semarang, Central Java
Thanks Meter: 936
 
More
Quote:
Originally Posted by dugeriss

Nice guide sir,

thanks master
Quote:
Originally Posted by crazy_user

thank you for this guide, i will try it

thankyou and goodluck bro
The Following User Says Thank You to ocoot For This Useful Post: [ View ] Gift ocoot Ad-Free
18th March 2014, 06:38 PM |#5  
vlc07's Avatar
Senior Member
Flag Haveri
Thanks Meter: 144
 
More
huge thanks to you & to BOOTMGR working like a charm on s6312

check attchments

adding on my project you saved my time
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-03-18-22-49-52[1].png
Views:	1043
Size:	49.5 KB
ID:	2637304   Click image for larger version

Name:	Screenshot_2014-03-18-22-50-11[1].png
Views:	1016
Size:	28.3 KB
ID:	2637305  
19th March 2014, 04:57 AM |#6  
ocoot's Avatar
OP Senior Member
Flag Semarang, Central Java
Thanks Meter: 936
 
More
Quote:
Originally Posted by vlc07

huge thanks to you & to BOOTMGR working like a charm on s6312

check attchments

adding on my project you saved my time

good one bro

Sent from my Google Nexus 5 using Tapatalk
19th March 2014, 07:16 AM |#7  
crazy_user's Avatar
Member
Flag Sragen, Jawa Tengah
Thanks Meter: 42
 
More
Quote:
Originally Posted by ocoot

thanks master

thankyou and goodluck bro

this guide work for my device thanks bro
19th March 2014, 11:22 AM |#8  
ocoot's Avatar
OP Senior Member
Flag Semarang, Central Java
Thanks Meter: 936
 
More
Quote:
Originally Posted by crazy_user

this guide work for my device thanks bro

thanks man
19th March 2014, 04:57 PM |#9  
dikulbahrian's Avatar
Junior Member
Flag Jakarta/Tangsel
Thanks Meter: 5
 
More
nice guide master
20th March 2014, 05:06 AM |#10  
ocoot's Avatar
OP Senior Member
Flag Semarang, Central Java
Thanks Meter: 936
 
More
Quote:
Originally Posted by dikulbahrian

nice guide master

thankyou master

Sent from my Google Nexus 5 using Tapatalk
20th March 2014, 05:31 PM |#11  
ocoot's Avatar
OP Senior Member
Flag Semarang, Central Java
Thanks Meter: 936
 
More
no one try? huh :/
Post Reply Subscribe to Thread

Tags
4.1.2, aosp, aosp taste, jb 4.1.2, tw aosp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes