Hello everyone, I hope this belongs to the dev section, if not feel free to move it. Anyway, I'm trying to mod the framework-res.apk in order to include battery percentage and maybe change a few other things. Anyway, I've looked at already modified files and some threads for different phones and thought I knew how to do it, but it doesn't work.
So here's what I'm doing, I hope someone can tell me what's wrong :
1-I installed XKE7 and then flashed the XDDD insecure kernel over it.
2-I got the framework-res.apk through adb pull
3-I decompiled it with apktool d
4-added a bunch of png files in res/drawable-hdpi/ (stat_sys_battery_0.png to stat_sys_battery_100.png)
5-modified the /res/drawable/stat_sys_battery.xml file so that it looks like this :
Code:
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0"/>
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1"/>
<item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2"/>
<item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3"/>
<item android:drawable="@drawable/stat_sys_battery_4" android:maxLevel="4"/>
<item android:drawable="@drawable/stat_sys_battery_5" android:maxLevel="5"/>
<item android:drawable="@drawable/stat_sys_battery_6" android:maxLevel="6"/>
<item android:drawable="@drawable/stat_sys_battery_7" android:maxLevel="7"/>
<item android:drawable="@drawable/stat_sys_battery_8" android:maxLevel="8"/>
<item android:drawable="@drawable/stat_sys_battery_9" android:maxLevel="9"/>
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10"/>
<item android:drawable="@drawable/stat_sys_battery_11" android:maxLevel="11"/>
<item android:drawable="@drawable/stat_sys_battery_12" android:maxLevel="12"/>
<item android:drawable="@drawable/stat_sys_battery_13" android:maxLevel="13"/>
<item android:drawable="@drawable/stat_sys_battery_14" android:maxLevel="14"/>
<item android:drawable="@drawable/stat_sys_battery_15" android:maxLevel="15"/>
<item android:drawable="@drawable/stat_sys_battery_16" android:maxLevel="16"/>
<item android:drawable="@drawable/stat_sys_battery_17" android:maxLevel="17"/>
<item android:drawable="@drawable/stat_sys_battery_18" android:maxLevel="18"/>
<item android:drawable="@drawable/stat_sys_battery_19" android:maxLevel="19"/>
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20"/>
<item android:drawable="@drawable/stat_sys_battery_21" android:maxLevel="21"/>
<item android:drawable="@drawable/stat_sys_battery_22" android:maxLevel="22"/>
<item android:drawable="@drawable/stat_sys_battery_23" android:maxLevel="23"/>
<item android:drawable="@drawable/stat_sys_battery_24" android:maxLevel="24"/>
<item android:drawable="@drawable/stat_sys_battery_25" android:maxLevel="25"/>
<item android:drawable="@drawable/stat_sys_battery_26" android:maxLevel="26"/>
<item android:drawable="@drawable/stat_sys_battery_27" android:maxLevel="27"/>
<item android:drawable="@drawable/stat_sys_battery_28" android:maxLevel="28"/>
<item android:drawable="@drawable/stat_sys_battery_29" android:maxLevel="29"/>
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30"/>
<item android:drawable="@drawable/stat_sys_battery_31" android:maxLevel="31"/>
<item android:drawable="@drawable/stat_sys_battery_32" android:maxLevel="32"/>
<item android:drawable="@drawable/stat_sys_battery_33" android:maxLevel="33"/>
<item android:drawable="@drawable/stat_sys_battery_34" android:maxLevel="34"/>
<item android:drawable="@drawable/stat_sys_battery_35" android:maxLevel="35"/>
<item android:drawable="@drawable/stat_sys_battery_36" android:maxLevel="36"/>
<item android:drawable="@drawable/stat_sys_battery_37" android:maxLevel="37"/>
<item android:drawable="@drawable/stat_sys_battery_38" android:maxLevel="38"/>
<item android:drawable="@drawable/stat_sys_battery_39" android:maxLevel="39"/>
<item android:drawable="@drawable/stat_sys_battery_40" android:maxLevel="40"/>
<item android:drawable="@drawable/stat_sys_battery_41" android:maxLevel="41"/>
<item android:drawable="@drawable/stat_sys_battery_42" android:maxLevel="42"/>
<item android:drawable="@drawable/stat_sys_battery_43" android:maxLevel="43"/>
<item android:drawable="@drawable/stat_sys_battery_44" android:maxLevel="44"/>
<item android:drawable="@drawable/stat_sys_battery_45" android:maxLevel="45"/>
<item android:drawable="@drawable/stat_sys_battery_46" android:maxLevel="46"/>
<item android:drawable="@drawable/stat_sys_battery_47" android:maxLevel="47"/>
<item android:drawable="@drawable/stat_sys_battery_48" android:maxLevel="48"/>
<item android:drawable="@drawable/stat_sys_battery_49" android:maxLevel="49"/>
<item android:drawable="@drawable/stat_sys_battery_50" android:maxLevel="50"/>
<item android:drawable="@drawable/stat_sys_battery_51" android:maxLevel="51"/>
<item android:drawable="@drawable/stat_sys_battery_52" android:maxLevel="52"/>
<item android:drawable="@drawable/stat_sys_battery_53" android:maxLevel="53"/>
<item android:drawable="@drawable/stat_sys_battery_54" android:maxLevel="54"/>
<item android:drawable="@drawable/stat_sys_battery_55" android:maxLevel="55"/>
<item android:drawable="@drawable/stat_sys_battery_56" android:maxLevel="56"/>
<item android:drawable="@drawable/stat_sys_battery_57" android:maxLevel="57"/>
<item android:drawable="@drawable/stat_sys_battery_58" android:maxLevel="58"/>
<item android:drawable="@drawable/stat_sys_battery_59" android:maxLevel="59"/>
<item android:drawable="@drawable/stat_sys_battery_60" android:maxLevel="60"/>
<item android:drawable="@drawable/stat_sys_battery_61" android:maxLevel="61"/>
<item android:drawable="@drawable/stat_sys_battery_62" android:maxLevel="62"/>
<item android:drawable="@drawable/stat_sys_battery_63" android:maxLevel="63"/>
<item android:drawable="@drawable/stat_sys_battery_64" android:maxLevel="64"/>
<item android:drawable="@drawable/stat_sys_battery_65" android:maxLevel="65"/>
<item android:drawable="@drawable/stat_sys_battery_66" android:maxLevel="66"/>
<item android:drawable="@drawable/stat_sys_battery_67" android:maxLevel="67"/>
<item android:drawable="@drawable/stat_sys_battery_68" android:maxLevel="68"/>
<item android:drawable="@drawable/stat_sys_battery_69" android:maxLevel="69"/>
<item android:drawable="@drawable/stat_sys_battery_70" android:maxLevel="70"/>
<item android:drawable="@drawable/stat_sys_battery_71" android:maxLevel="71"/>
<item android:drawable="@drawable/stat_sys_battery_72" android:maxLevel="72"/>
<item android:drawable="@drawable/stat_sys_battery_73" android:maxLevel="73"/>
<item android:drawable="@drawable/stat_sys_battery_74" android:maxLevel="74"/>
<item android:drawable="@drawable/stat_sys_battery_75" android:maxLevel="75"/>
<item android:drawable="@drawable/stat_sys_battery_76" android:maxLevel="76"/>
<item android:drawable="@drawable/stat_sys_battery_77" android:maxLevel="77"/>
<item android:drawable="@drawable/stat_sys_battery_78" android:maxLevel="78"/>
<item android:drawable="@drawable/stat_sys_battery_79" android:maxLevel="79"/>
<item android:drawable="@drawable/stat_sys_battery_80" android:maxLevel="80"/>
<item android:drawable="@drawable/stat_sys_battery_81" android:maxLevel="81"/>
<item android:drawable="@drawable/stat_sys_battery_82" android:maxLevel="82"/>
<item android:drawable="@drawable/stat_sys_battery_83" android:maxLevel="83"/>
<item android:drawable="@drawable/stat_sys_battery_84" android:maxLevel="84"/>
<item android:drawable="@drawable/stat_sys_battery_85" android:maxLevel="85"/>
<item android:drawable="@drawable/stat_sys_battery_86" android:maxLevel="86"/>
<item android:drawable="@drawable/stat_sys_battery_87" android:maxLevel="87"/>
<item android:drawable="@drawable/stat_sys_battery_88" android:maxLevel="88"/>
<item android:drawable="@drawable/stat_sys_battery_89" android:maxLevel="89"/>
<item android:drawable="@drawable/stat_sys_battery_90" android:maxLevel="90"/>
<item android:drawable="@drawable/stat_sys_battery_91" android:maxLevel="91"/>
<item android:drawable="@drawable/stat_sys_battery_92" android:maxLevel="92"/>
<item android:drawable="@drawable/stat_sys_battery_93" android:maxLevel="93"/>
<item android:drawable="@drawable/stat_sys_battery_94" android:maxLevel="94"/>
<item android:drawable="@drawable/stat_sys_battery_95" android:maxLevel="95"/>
<item android:drawable="@drawable/stat_sys_battery_96" android:maxLevel="96"/>
<item android:drawable="@drawable/stat_sys_battery_97" android:maxLevel="97"/>
<item android:drawable="@drawable/stat_sys_battery_98" android:maxLevel="98"/>
<item android:drawable="@drawable/stat_sys_battery_99" android:maxLevel="99"/>
<item android:drawable="@drawable/stat_sys_battery_100" android:maxLevel="100"/>
</level-list>
6-built a new apk from these files with apktool b
7-extracted the content of this new apk and integrated it to my original one
8-pushed with adb push
So the phone boots, but it displays a ? instead of my battery icons.... I've spent a few hours on that already and am really at a loss. Could someone help please ?
Why don't you just use the UOT kitchen? Its a hell of a lot easier than doing it all yourself.
I would do the following:
* Extract your framework-res.apk
* let UOT cook a new one with Battery Mod
* replace png in the UOT cooked apk
no decompilation and so on needed.
walda said:
I would do the following:
* Extract your framework-res.apk
* let UOT cook a new one with Battery Mod
* replace png in the UOT cooked apk
no decompilation and so on needed.
Click to expand...
Click to collapse
That's it?
No Decompilation, no editing the xml?
Only UOT Kitchen and ready?
if u only want to change the pictures, yes. UOT does the rest for you. UOT changes the xml files für 1% steps while loading and so on.
you can change every picture, if the pic already exists in the apk by simply copýing another over it. no decompile needed.
Edit:
Same in SysytemUI.apk. So you can simply change to "green google" icons.
Thanx, I might do that. I wasn't sure if UOT worked with SGS2.
Although the point of doing it myself was in great part to learn how to do it. So I'm still curious about what I was doing wrong...
Thanks,
i test it on the new firmware in future.
I extract the framework, put it on the uot, let's cooking and copy in the phone ;-)
cool
BlueScreenJunky can you please post your stock unmodified KE7 framework-res.apk file? As I've *ucked up mine ..
Thx.
haha, sorry I lost mine too
I'm using This one at the moment (or at least I got a very similar result to this one using the UOT kitchen). I'll wait for the next update or next time I brick my phone to get the original unmodified apk.
Still don't understand how to manually edit the xml though, and still curious about it.
Here's mine, (remove spaces in link because i cant post links yet, not enough posts), i hope this breach of user agreement will be tolerated for trying to help someone
http :// dl . dropbox . com / u / 7741811 / framework-res.apk
Thanx !
Sent from my GT-I9100 using XDA App
Delete
I don't know how to fix that.,
but I hope my idea will work , and you can try it.
see this :
decompile your current framework-res.apk, go to framework/res/values/ open with text editor style.xml
and fine these line
Code:
<style name="WindowTitle">
<item name="textAppearance">@style/TextAppearance.WindowTitle</item>
<item name="singleLine">true</item>
<item name="shadowColor">#ff000000</item>
<item name="shadowDx">-1.0</item>
<item name="shadowDy">-1.0</item>
<item name="shadowRadius">0.3</item>
</style>
change it to
Code:
<style name="TextAppearance.WindowTitle" parent="@style/TextAppearance">
<item name="textSize">21.0sp</item>
<item name="textStyle">normal</item>
<item name="textColor">#ffffffff</item>
<item name="shadowColor">#ff000000</item>
<item name="shadowDx">-1.0</item>
<item name="shadowDy">-1.0</item>
<item name="shadowRadius">1.0</item>
<item name="gravity">center_vertical</item>
<item name="paddingLeft">4.0dip</item>
<item name="paddingRight">4.0dip</item>
</style>
hope it will work ya Tante
Alrighty . . .
Some background on my project :: I completely removed SPRINT stuff from a stock rom successfully.
So . . .
All that I need is some help with the MNS/default.xml file so that I can place icons and widgets on the home screen by default.
Mainly need to know how or where do I find an apps shortcut link / class?
Code:
<function name="default_quicklaunch">
<set name="plenty">
<item name="package">com.android.htccontacts</item>
<item name="class">com.android.htccontacts.DialerTabActivity</item>
<item name="screen">0</item>
<item name="x">0</item>
<item name="y">0</item>
<item name="itemtype">0</item>
</set>
<set name="plenty">
<item name="package">com.google.android.gm</item>
[B]<item name="class">? ? ? ? ? ? ? ? ? ? ? ? ? ? ?</item>[/B]
<item name="screen">0</item>
<item name="x">1</item>
<item name="y">0</item>
<item name="itemtype">0</item>
</set>
<set name="plenty">
<item name="package">com.android.mms</item>
<item name="class">com.android.mms.ui.ConversationList</item>
<item name="screen">0</item>
<item name="x">2</item>
<item name="y">0</item>
<item name="itemtype">0</item>
</set>
<set name="plenty">
<item name="package">com.android.camera</item>
<item name="class">com.android.camera.CameraEntry</item>
<item name="screen">0</item>
<item name="x">3</item>
<item name="y">0</item>
<item name="itemtype">0</item>
</set>
</function>
[SOLVED]
Well, I did a lot of RnD . . . and found out what I needed to know.
Hello good.
A verr if someone can help me. I have decompiled the launcher stock of the g2 with the intention of changing the grid of icons, which comes standard is 5x5 and I would like something like 6x7 because my intention is similar to this but without reducing the dpi, ie reducing the margin between icons, I know I could keep trying but if someone shows me a cable and I'd appreciate a little guidance
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="LGE_White_Theme_LauncherTheme">
<item name="android:colorForeground">#ffffffff</item>
<item name="android:windowBackground">@*android:color/transparent</item>
<item name="android:windowFrame">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowShowWallpaper">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
<style name="LGE_White_Theme">
<item name="android:windowShowWallpaper">true</item>
</style>
<style name="LGE_White_Theme_RocketLauncher" />
<style name="LGE_White_Theme.WallpaperPicker" parent="@style/LGE_White_Theme">
<item name="android:screenOrientation">nosensor</item>
</style>
<style name="LGE_White_Theme.NoTitleBar" parent="@style/LGE_White_Theme">
<item name="android:windowNoTitle">true</item>
</style>
<style name="LGE_White_Theme.NoTitleBar.NoSensor" parent="@style/LGE_White_Theme.NoTitleBar">
<item name="android:screenOrientation">nosensor</item>
<item name="android:windowNoTitle">true</item>
</style>
<style name="LGE_White_Theme.NoSensor" parent="@style/LGE_White_Theme">
<item name="android:screenOrientation">nosensor</item>
</style>
<style name="LGE_White_Theme_WhiteFrame">
<item name="android:background">@color/lg_white_color</item>
</style>
<style name="Theme.WallpaperPicker" parent="@style/Theme">
<item name="android:screenOrientation">nosensor</item>
</style>
<style name="Theme" parent="@*android:style/Theme.Holo.Wallpaper.NoTitleBar">
<item name="android:windowShowWallpaper">true</item>
</style>
<style name="WorkspaceIcon" parent="@style/homescreen_topmenu_title_4x5">
<item name="android:ellipsize">end</item>
<item name="android:gravity">top|center</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:maxLines">2</item>
<item name="android:minLines">2</item>
<item name="android:singleLine">false</item>
<item name="android:shadowColor">#b0000000</item>
<item name="android:shadowRadius">2.0</item>
<item name="android:lineSpacingExtra">@dimen/app_icon_lineSpacingExtra</item>
</style>
<style name="WorkspaceIcon.Portrait" parent="@style/WorkspaceIcon">
<item name="android:paddingTop">@dimen/app_icon_padding_top</item>
<item name="android:paddingBottom">4.0dip</item>
<item name="android:drawablePadding">@dimen/app_icon_drawable_padding</item>
<item name="android:paddingStart">2.0dip</item>
<item name="android:paddingEnd">2.0dip</item>
</style>
<style name="WorkspaceIcon.Landscape" parent="@style/WorkspaceIcon">
<item name="android:paddingTop">@dimen/app_icon_padding_top</item>
<item name="android:paddingBottom">@dimen/app_icon_padding_bottom</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">1.0dip</item>
<item name="android:paddingStart">1.0dip</item>
<item name="android:paddingEnd">1.0dip</item>
</style>
<style name="LargeWorkspaceIcon" parent="@style/WorkspaceIcon">
<item name="android:textSize">@dimen/large_theme_icon_text_size</item>
<item name="android:paddingTop">@dimen/large_theme_icon_padding_top</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowRadius">2.5</item>
<item name="android:drawablePadding">@dimen/large_icon_text_margin_top</item>
<item name="android:lineSpacingExtra">@dimen/large_icon_text_liceSpacingExtra</item>
<item name="android:paddingStart">@dimen/large_theme_icon_text_padding_left</item>
<item name="android:paddingEnd">@dimen/large_theme_icon_text_padding_right</item>
</style>
<style name="LargeWorkspaceIcon.Portrait" parent="@style/LargeWorkspaceIcon" />
<style name="LargeWorkspaceIcon.Landscape" parent="@style/LargeWorkspaceIcon">
<item name="android:singleLine">true</item>
</style>
<style name="PhotoWorkspaceIcon" parent="@style/WorkspaceIcon">
<item name="android:paddingTop">@dimen/photo_icon_margin_top</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowRadius">2.5</item>
<item name="android:drawablePadding">@dimen/large_icon_text_margin_top</item>
<item name="android:lineSpacingExtra">@dimen/large_icon_text_liceSpacingExtra</item>
<item name="android:paddingStart">@dimen/photo_icon_margin_left</item>
<item name="android:paddingEnd">@dimen/photo_icon_margin_right</item>
</style>
<style name="PhotoWorkspaceIcon.Portrait" parent="@style/PhotoWorkspaceIcon" />
<style name="PhotoWorkspaceIcon.Landscape" parent="@style/PhotoWorkspaceIcon">
<item name="android:singleLine">true</item>
</style>
<style name="WorkspaceIcon.Portrait.Folder" parent="@style/WorkspaceIcon.Portrait">
<item name="android:paddingTop">0.0dip</item>
<item name="android:drawablePadding">0.0dip</item>
</style>
<style name="WorkspaceIcon.Landscape.Folder" parent="@style/WorkspaceIcon.Landscape">
<item name="android:paddingTop">0.0dip</item>
<item name="android:layout_marginTop">-2.0dip</item>
<item name="android:drawablePadding">0.0dip</item>
</style>
<style name="WorkspaceIcon.Portrait.AppsCustomize" parent="@style/WorkspaceIcon.Portrait">
<item name="android:background">@null</item>
<item name="android:paddingTop">0.0dip</item>
<item name="android:paddingBottom">0.0dip</item>
<item name="android:maxLines">2</item>
<item name="android:singleLine">false</item>
<item name="android:drawablePadding">0.5dip</item>
<item name="android:paddingStart">0.0dip</item>
<item name="android:paddingEnd">0.0dip</item>
</style>
<style name="WorkspaceIcon.Landscape.AppsCustomize" parent="@style/WorkspaceIcon.Landscape">
<item name="android:background">@null</item>
<item name="android:paddingTop">4.0dip</item>
<item name="android:paddingBottom">0.0dip</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">0.0dip</item>
</style>
<style name="Hotseat" parent="@style/homescreen_launcher_menutitle">
<item name="android:ellipsize">marquee</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">@dimen/hotseat_drawable_padding</item>
</style>
<style name="Hotseat.Portrait" parent="@style/homescreen_launcher_menutitle">
<item name="android:textColor">#ffffffff</item>
<item name="android:ellipsize">marquee</item>
<item name="android:gravity">top|center</item>
<item name="android:layout_gravity">center</item>
<item name="android:paddingTop">@dimen/hotseat_height_top_padding</item>
<item name="android:paddingBottom">@dimen/hotseat_height_bottom_padding</item>
<item name="android:fadingEdge">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:includeFontPadding">false</item>
<item name="android:shadowColor">#b0000000</item>
<item name="android:shadowRadius">2.0</item>
<item name="android:drawablePadding">@dimen/hotseat_drawable_padding</item>
<item name="android:paddingStart">@dimen/hotseat_width_left_padding</item>
<item name="android:paddingEnd">@dimen/hotseat_width_right_padding</item>
</style>
<style name="Hotseat.Landscape" parent="@style/homescreen_launcher_menutitle">
<item name="android:textColor">#ffffffff</item>
<item name="android:ellipsize">marquee</item>
<item name="android:gravity">center</item>
<item name="android:layout_gravity">center</item>
<item name="android:paddingTop">@dimen/hotseat_height_top_padding</item>
<item name="android:paddingBottom">@dimen/hotseat_height_bottom_padding</item>
<item name="android:fadingEdge">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:includeFontPadding">false</item>
<item name="android:shadowColor">#b0000000</item>
<item name="android:shadowRadius">2.0</item>
<item name="android:drawablePadding">@dimen/hotseat_drawable_padding</item>
<item name="android:paddingStart">@dimen/hotseat_width_left_padding</item>
<item name="android:paddingEnd">@dimen/hotseat_width_right_padding</item>
</style>
<style name="SearchDropTargetBar">
<item name="android:layout_gravity">top|center</item>
<item name="android:orientation">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="SearchDropTargetBarWithGoogle">
<item name="android:orientation">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">@dimen/qsb_bar_height</item>
</style>
<style name="SearchButton">
<item name="android:paddingTop">@dimen/lg_search_button_top_padding</item>
<item name="android:paddingStart">@dimen/lg_search_button_left_padding</item>
</style>
<style name="AddButton">
<item name="android:paddingTop">@dimen/lg_add_button_top_padding</item>
<item name="android:paddingEnd">@dimen/lg_add_button_right_padding</item>
</style>
<style name="SearchButtonDivider">
<item name="android:layout_gravity">center_vertical</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">fill_parent</item>
</style>
<style name="DropTargetBar">
<item name="android:orientation">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="TrashCanDropTarget">
<item name="android:orientation">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:paddingStart">@dimen/lg_trashcan_bar_padding_left_right</item>
<item name="android:paddingEnd">@dimen/lg_trashcan_bar_padding_left_right</item>
</style>
<style name="TrashCanCommonDropTargetContainer">
<item name="android:layout_width">0.0dip</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1.0</item>
</style>
<style name="TrashCanCommonDropTarget">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">@dimen/lg_trashcan_bar_height</item>
</style>
<style name="TrashCanCommonDropTargetIconText">
<item name="android:textSize">15.0sp</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:ellipsize">end</item>
<item name="android:gravity">center</item>
<item name="android:layout_gravity">center</item>
<item name="android:paddingTop">@dimen/lg_trashcan_bar_drawing_padding</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">@dimen/lg_trashcan_bar_height</item>
<item name="android:singleLine">true</item>
<item name="android:shadowColor">#bb000000</item>
<item name="android:shadowDx">-2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">2.0</item>
<item name="android:drawablePadding">@dimen/lg_trashcan_bar_drawable_padding</item>
</style>
<style name="CommonDropTargetContainer">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="CommonDropTarget">
<item name="android:textSize">16.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:ellipsize">end</item>
<item name="android:gravity">center_vertical</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">@dimen/search_bar_width</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">7.5dip</item>
<item name="android:paddingStart">25.0dip</item>
<item name="android:paddingEnd">25.0dip</item>
<item name="android:layout_marginStart">@dimen/search_bar_margin_side</item>
<item name="android:layout_marginEnd">@dimen/search_bar_margin_side</item>
</style>
<style name="TabIndicator">
<item name="android:textSize">12.0sp</item>
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:gravity">center</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:paddingStart">35.0dip</item>
<item name="android:paddingEnd">35.0dip</item>
</style>
<style name="TabIndicator.AppsCustomize" parent="@style/TabIndicator">
<item name="android:textSize">@dimen/pagemenu_tab_text_size</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:ellipsize">marquee</item>
<item name="android:background">@drawable/lg_menu_tab_widget_indicator_selector</item>
<item name="android:focusable">true</item>
<item name="android:layout_width">@dimen/lg_menu_single_tab_width</item>
<item name="android:singleLine">true</item>
<item name="android:shadowColor">#d8000000</item>
<item name="android:shadowDx">0.0</item>
<item name="android:shadowDy">3.0</item>
<item name="android:shadowRadius">4.0</item>
<item name="android:paddingStart">5.0dip</item>
<item name="android:paddingEnd">5.0dip</item>
</style>
<style name="WorkspaceIcon.AllApps" parent="@style/WorkspaceIcon">
<item name="android:background">@null</item>
</style>
<style name="FolderIcon">
<item name="android:textSize">@dimen/lg_folder_application_textsize</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff000000</item>
<item name="android:ellipsize">marquee</item>
<item name="android:gravity">center_horizontal</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:shadowColor">#b0000000</item>
<item name="android:shadowRadius">0.0</item>
</style>
<style name="AlertDialogCustom" parent="@*android:style/Theme.Holo.Light.Dialog" />
<style name="Theme.RenameFolderDialog" parent="@*android:style/Theme.Holo.Light">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="lg_miniview_homescreen_info" parent="@style/homescreen_info">
<item name="android:textStyle">bold</item>
<item name="android:background">@drawable/lg_homescreen_topcontents_bg</item>
<item name="android:paddingStart">10.0dip</item>
<item name="android:paddingEnd">10.0dip</item>
</style>
<style name="lg_miniview_homescreen_btn" parent="@style/homescreen_btn">
<item name="android:textSize">@dimen/miniview_homescreen_btn_textsize</item>
<item name="android:textStyle">bold</item>
</style>
<style name="MyWindowTitleBackground">
<item name="android:background">@null</item>
</style>
<style name="TextAppearance" parent="@*android:style/TextAppearance.Holo.Medium.Inverse">
<item name="android:textSize">@dimen/lg_settings_actionbar_titlesize</item>
</style>
<style name="settingsActionBarStyle" parent="@*android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:background">@drawable/action_bar_background</item>
<item name="android:displayOptions">none</item>
<item name="android:titleTextStyle">@style/TextAppearance</item>
<item name="android:backgroundStacked">@drawable/action_bar_background</item>
</style>
<style name="HomeSettingsxxhdiptheme">
<item name="android:actionBarStyle">@style/settingsActionBarStyle</item>
<item name="android:actionBarSize">@dimen/lg_settings_actionbar_height</item>
</style>
<style name="homescreen_folderwidget_title" parent="@style/homescreen_openfolder_title">
<item name="android:textStyle">bold</item>
</style>
</resources>
This is a xml file that has been edited in many ways
Please backup your original xml. This has edits that may change or break other mods and edits. It may change
The way your phone behaves and has been tested without issue. Please use at your own risk.
Post any bugs you have below.
This is not a twrp flashable file. You need to manually move it
to its correct place and reboot. You need root to do this
Using file manager. Copy the default.xml file and place it here:
/System/customize/ACC/default.xml
Reboot and enjoy the edits.
Download: custom xml
(Wi-Fi call stay on if Wi-Fi is on)
Link 1: https://www.androidfilehost.com/?fid=745425885120692311
(Without the Volte edits so Wi-Fi call is normal)
Link 2: https://www.androidfilehost.com/?fid=385035244224404368
Download: oem stock xml
Link 1: https://www.androidfilehost.com/?fid=385035244224403935
STOCK PRL PHOTOS ADDED: These can be added manually in case of issues, go to settings/data/access points and click the + sign to add new. Photos of some settings unlocked and things changed.
Notice:this does not hide your data use nor does this give you unlimited hotspot.
If your plan includes Hotspot it will not increase your allowance and most of the time you incur throttled data not shut off. In the event the carrier attempted to block hotspot this would keep it working. Hope this helps explain this some.
lines / edits made
Some are also just lines and features that can be edited to activate more features.
Please see below edits:
#
#
#
system/customize/acc/default.xml edits made
58 = <item type="boolean" name="quicklaunch_flashlight">true</item>
137= <item type="boolean" name="support_battery_overheat_notify">true</item>
139= <item type="boolean" name="support_cpu_overheat_notify">true</item>
148= <item type="boolean" name="enable_quickboot">true</item>
151= <item type="boolean" name="support_dynamic_switch">true</item>
175= <item type="boolean" name="support_harman">false</item>
177= <item type="boolean" name="support_music_ringtone">true</item>
178= <item type="boolean" name="support_outdoor_mode">true</item>
180= <item type="boolean" name="support_theater_effect_logo">true</item>
186= <item type="integer" name="CustomizeMobileCharge">106</item>
192= <item type="boolean" name="isTetherBlockCheck">false</item>
198= <item type="boolean" name="roaming_reduction_support">false</item>
202= <item type="boolean" name="tethering_guard_support">false</item>k
203= <item type="boolean" name="tethering_roaming_specific">false</item>
204= <item type="string" name="tethering_specific"></item>
206= <item type="boolean" name="use_default_apn"></item>
209= <item type="boolean" name="allow_national_roaming">true</item>
210= <item type="boolean" name="append_dun_to_default">true</item>
224= <item type="string" name="fixed_apn_for_dun">1</item>
225= <item type="boolean" name="global_roaming_config">true</item>
263= <item type="boolean" name="apply_new_1x_evdo_signal_mapping">true</item>
334= <item type="boolean" name="enableBothVTandVolteSetting">false</item>
336= <item type="boolean" name="enhanced_lte_settings_new_ui">true</item>
351= <item type="boolean" name="showVolteStatusBarIcon">true</item>
352= <item type="integer" name="signal_icon_level_cdma">4</item>
353= <item type="integer" name="signal_icon_level_gsm">4</item>
411= <item type="integer" name="supportLteRoamingRule">1</item>
520= <item type="boolean" name="support_network_selection">true</item>
550=<app name="Automotive_Home">
551= <item type="integer" name="GPS_Icon_Style">0</item>
552= <item type="boolean" name="Hide_Car_AutoLaunch_Option">false</item>
553= <item type="boolean" name="Skip_HoldWakelock">false</item>
786= <item type="boolean" name="bypass_networklock">true</item>
787= <item type="integer" name="device_performance_level">100</item>
802= <item type="integer" name="SupportDataErrorNotification">0</item>
803= <item type="integer" name="SupportDataRoamingGrayOut">0</item>
804= <item type="integer" name="SupportHomeDataSetting">1</item>
805= <item type="integer" name="SupportMobileDataGrayOut">0</item>
858= <item type="boolean" name="support_download_overwrite">false</item>
859= <item type="boolean" name="support_download_path">true</item>
860= <item type="boolean" name="support_filemanager">true</item>
888= <item type="boolean" name="support_notification_led_color">true</item>
1044= <item type="boolean" name="allow_national_roaming">true</item>
1106= <item type="boolean" name="featureCdmaLteApnSettings">true</item>
1107= <item type="boolean" name="featureCdmaLteNetworkSelector">true</item>
1108= <item type="boolean" name="featureCdmaPreferredRoaming">true</item>
1112= <item type="integer" name="featureDynamicWorphoneOption">1</item>
1113= <item type="boolean" name="featureGlobalRoamingOptions">true</item>
1308 = <item type="integer" name="data_icon_style">0</item>
1309= <item type="integer" name="feature_id">10</item>
1310= <item type="string-array" name="navigation_items">
1379= <item type="boolean" name="show_3g_for_evdo">true</item>
1380= <item type="boolean" name="show_4g_for_lte">true</item>
1381= <item type="integer" name="sub_feature_id">0</item>
1384= <item type="integer" name="CustomziedCarrierDialogType">41</item>
1385= <item type="integer" name="TetheringGuard_Rule"></item>
1457= <item type="integer" name="hotspot_rule">2</item>
1489= <item type="boolean" name="support_beats_audio">false</item>
1490= <item type="boolean" name="support_boomsound_effect">true</item>
Working on making multiple versions to use.
Don't expect VOLTE to actually work. It's probably only good for other Services
As well ill make a stock return and ones to change between beats/harmon/boom audio etc.
how to make this mod as flash-able zip through twrp?
Team DevDigitel said:
lines / edits made
Some are also just lines and features that can be edited to activate more features.
Please see below edits:
#
#
#
system/customize/acc/default.xml edits made
58 = <item type="boolean" name="quicklaunch_flashlight">true</item>
137= <item type="boolean" name="support_battery_overheat_notify">true</item>
139= <item type="boolean" name="support_cpu_overheat_notify">true</item>
148= <item type="boolean" name="enable_quickboot">true</item>
151= <item type="boolean" name="support_dynamic_switch">true</item>
175= <item type="boolean" name="support_harman">false</item>
177= <item type="boolean" name="support_music_ringtone">true</item>
178= <item type="boolean" name="support_outdoor_mode">true</item>
180= <item type="boolean" name="support_theater_effect_logo">true</item>
186= <item type="integer" name="CustomizeMobileCharge">106</item>
192= <item type="boolean" name="isTetherBlockCheck">false</item>
198= <item type="boolean" name="roaming_reduction_support">false</item>
202= <item type="boolean" name="tethering_guard_support">false</item>k
203= <item type="boolean" name="tethering_roaming_specific">false</item>
204= <item type="string" name="tethering_specific"></item>
206= <item type="boolean" name="use_default_apn"></item>
209= <item type="boolean" name="allow_national_roaming">true</item>
210= <item type="boolean" name="append_dun_to_default">true</item>
224= <item type="string" name="fixed_apn_for_dun">1</item>
225= <item type="boolean" name="global_roaming_config">true</item>
263= <item type="boolean" name="apply_new_1x_evdo_signal_mapping">true</item>
334= <item type="boolean" name="enableBothVTandVolteSetting">false</item>
336= <item type="boolean" name="enhanced_lte_settings_new_ui">true</item>
351= <item type="boolean" name="showVolteStatusBarIcon">true</item>
352= <item type="integer" name="signal_icon_level_cdma">4</item>
353= <item type="integer" name="signal_icon_level_gsm">4</item>
411= <item type="integer" name="supportLteRoamingRule">1</item>
520= <item type="boolean" name="support_network_selection">true</item>
550=<app name="Automotive_Home">
551= <item type="integer" name="GPS_Icon_Style">0</item>
552= <item type="boolean" name="Hide_Car_AutoLaunch_Option">false</item>
553= <item type="boolean" name="Skip_HoldWakelock">false</item>
786= <item type="boolean" name="bypass_networklock">true</item>
787= <item type="integer" name="device_performance_level">100</item>
802= <item type="integer" name="SupportDataErrorNotification">0</item>
803= <item type="integer" name="SupportDataRoamingGrayOut">0</item>
804= <item type="integer" name="SupportHomeDataSetting">1</item>
805= <item type="integer" name="SupportMobileDataGrayOut">0</item>
858= <item type="boolean" name="support_download_overwrite">false</item>
859= <item type="boolean" name="support_download_path">true</item>
860= <item type="boolean" name="support_filemanager">true</item>
888= <item type="boolean" name="support_notification_led_color">true</item>
1044= <item type="boolean" name="allow_national_roaming">true</item>
1106= <item type="boolean" name="featureCdmaLteApnSettings">true</item>
1107= <item type="boolean" name="featureCdmaLteNetworkSelector">true</item>
1108= <item type="boolean" name="featureCdmaPreferredRoaming">true</item>
1112= <item type="integer" name="featureDynamicWorphoneOption">1</item>
1113= <item type="boolean" name="featureGlobalRoamingOptions">true</item>
1308 = <item type="integer" name="data_icon_style">0</item>
1309= <item type="integer" name="feature_id">10</item>
1310= <item type="string-array" name="navigation_items">
1379= <item type="boolean" name="show_3g_for_evdo">true</item>
1380= <item type="boolean" name="show_4g_for_lte">true</item>
1381= <item type="integer" name="sub_feature_id">0</item>
1384= <item type="integer" name="CustomziedCarrierDialogType">41</item>
1385= <item type="integer" name="TetheringGuard_Rule"></item>
1457= <item type="integer" name="hotspot_rule">2</item>
1489= <item type="boolean" name="support_beats_audio">false</item>
1490= <item type="boolean" name="support_boomsound_effect">true</item>
Click to expand...
Click to collapse
I use HTC 10 Bolt htc_acawhl, my phone does not have a mobile hotspot in setting/more. Can you help me?
This won't allow to tether from a non-Sprint SIM card in a SIM unlocked HTC Bolt. Please could you check this?