Related
i made this video for a friend, and think it helpful with some one , so i made a thread for it
(in 1:42 just delete resources.arsc)
If anyone want other video, just request for it, i'll do if i can :cyclops:
in this video, i used this tool: https://docs.google.com/file/d/0B1jXm_WqN2CaRWMybk42NXJSRDg/edit?usp=sharing
Ok, this is all steps:
1, Decompile SystemUI
Copy your Sony-based SystemUI.apk from system/app in phone to Apkmanager/place_here_to_modding folder
Open cmd file in APK manager, choose 9 to decompile
2, edit XML
Open file projects/SystemUI.apk/res/values/styles.xml by notepad++
Find a line have statusbar.clock (if you want change clock in status bar color, for other items, just find it's style code in this xml file)
Change color from ffffff (white opaque) in a line below to color you want ( for example : if i have a color code 00123456 (hex) means: 2 first hex number 00 is full transparent, ff is no transparent; 2 next hex numbers is green values, then 34 is green value, 56 is blue value. For each color value, 00 is zero and ff full of that color). After all changes, save the file
3, Recompile your apk:
Reopen cmd window and chosse 11, enter then y ,enter then y,enter. After that go to keep folder and delete resources.arsc. go back cmd windows and press enter. DONE, YOUR FILE IS unsignedsystemui.apk in place-apk-here-for-modding folder
i dont understand a SH#T...sorry but u can make a new video with more explanation? or something :S
leloiboi said:
i made this video for a friend, and think it helpful with some one , so i made a thread for it
(in 1:42 just delete resources.arsc)
If anyone want other video, just request for it, i'll do if i can :cyclops:
in this video, i used this tool: https://docs.google.com/file/d/0B1jXm_WqN2CaRWMybk42NXJSRDg/edit?usp=sharing
Click to expand...
Click to collapse
What This?
Sent from my ST15i using xda premium
Updated step by step
I have managed to succesfully DEcompile stock Home.apk/5.1.G.0.3 but cannot REcompile it...
I have this framework installed in apktool - framewrok-res; SystemUI ; SemcGenericUXP-res /Am I missing something
Apktool error is in attachment...
Yeah! Even i got this error!
Please help somebody
Sent from my MT27i using xda app-developers app
cpkunki said:
Yeah! Even i got this error!
Please help somebody
Sent from my MT27i using xda app-developers app
Click to expand...
Click to collapse
1. find in C:\ApkTools152\Home\res\values\styles.xml line 21 and change(add) like this
<style name="Layout.ButtonContainer" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
2 find in styles.xml line 29 and add add
<style name="Layout.CuiMainMenuItem.Wrapper" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
3 in line 45
<style name="Layout.CuiMainMenuItem.Label" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
4 in line 53
<style name="Layout.PickerPane" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
5 find in C:\ApkTools152\Home\res\values-land\styles.xml line 3 and add
<style name="Layout.CuiMainMenuItem.Wrapper" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
6 in line 24
<style name="Layout.PickerPane" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
goodluck
garynych said:
1. find in C:\ApkTools152\Home\res\values\styles.xml line 21 and change(add) like this
<style name="Layout.ButtonContainer" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
2 find in styles.xml line 29 and add add
<style name="Layout.CuiMainMenuItem.Wrapper" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
3 in line 45
<style name="Layout.CuiMainMenuItem.Label" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
4 in line 53
<style name="Layout.PickerPane" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
5 find in C:\ApkTools152\Home\res\values-land\styles.xml line 3 and add
<style name="Layout.CuiMainMenuItem.Wrapper" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
6 in line 24
<style name="Layout.PickerPane" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
goodluck
Click to expand...
Click to collapse
Thanks for that!
Will try it soon..
i got this errors too. i dunno why im having those error coz i decompiled the successfully and when i recompile it without even editing the files, im having this errors -_-
I am learning about updater-script. But now I just have a single line:
ui_print("This is a test!");
and an enter at the end of the file, but Status 6, unexpected BAD line 1 col 33... I don't understand this cause there is no syntax wrong as far as I know?
Could someone explain this, please?
TIA Caelin
Always remember to set the EOL(End of Line) conversion of updater-script, and UNIX format before saving (Notepad++ > Edit > EOL Conversion > UNIX format)
That worked. Thanks!!
i have some reason to edit settings app
i want to edit settings-about phone-status
'network' and 'phone number'
i decompiled settings apk
and edit res/xml/device_info_status.xml
i tryed 3 kind
original:
PHP:
<Preference android:title="@string/status_operator" style="?android:attr/preferenceInformationStyle" android:summary="@string/device_info_not_available" android:key="operator_name" android:persistent="false"/>
1
PHP:
edit android:summary="XXXX"
fail
not applyed when i install
2
PHP:
eedit value/string.xml
add XXXX on that and edit @string/device_info_not_avalilable to @string/XXXX
fail
can't compile
3
PHP:
edit summary and key
fail
can't install
if you have any other idea or solutions
please help me
ps. im not good at programing because i did't learn about java
i just learn C for 3 month:silly:
Reason for thread:
There are some discrepancies between Unlocked vs Verizon HTC 10 with the build.xml file as well as numerous variations of instructions for enabling hotspot function for tose that have grandfathered unlimited data I thought I would put up a detailed how to that is specific to this version of the HTC 10 and what are the proper edits to get it to work.
While the popular ROMs enable this by default there are still many that run deodexed debloated versions of the stock ROM. Not to mention the same edits are needed for nonrooted HTC 10s tthru adb so having the correct info archived on the site seemed like a good idea.
(As a note as far as I know if you do not have a rooted ie S-off supersu phone you can do this thru adb and your PC but be very careful to set permissions back to what they were when you transfer the file back.)
As I have only done this on the rooted phone and thus did all editing on the phone itself I am only giving those instructions but the edits needed are exactly the same.
I am making these instructions painfully detailed so anyone can follow. I am also listing root explorer as the app used so I can give specific step by step. Obviously other root browser can be used
Instructions
Phone: Verizon Branded HTC 10 (Sunshine S-off, SuperSU rooted)
1: Installed Root Explorer (from Google Play) (or other root file manager i.e. on that's possibly free)
2: Configure Root Explorer and navigate to default.xml file
----- Open Root Explorer
----- Click on R/W Mode button
----- Supersu window will open, Choose grant access button
----- Navigate from root to " /system/customize/ACC " folder ( there should only be one file in the folder " default.xml "
3: Make a backup copy of default.xml
----- Press and hold on the " default.xml " file name to highlight it
----- Press the "copy" button that appears on the top tool bar
----- Press the "paste" button that appears on the bottom right of the window
----- There will now appear a new file " default - Copy.xml "
( Basically just make a bkup copy ofr thte default.xml file in the same folder)
4: Edit " default.xml file
----- Press and hold on the " default.xml " file name to highlight it
----- Press the root explorer setting button in the upper right corner of the window. Its 3 vertical dots
----- Press " Open in Text Editor " button This will open the default.xml file
----- scroll down near the bottom of the file (about 7/8 of the way.) To help locate it will come very soon after a section that has lines:
<int.0,/int>
<int.1,/int>
<int.2,/int>
all the way to 33 and then a couple shorter runs of similar lines. After about another 15-16 lines you will see a line with " tethering " one it. Now you are there.
----- the specific section is: (holding phone in landscape mode will show it as listed below for data on each line)
<app name=Tethering provision"><item type="integer" name="CustomizeCarrierDialogType">0</item>
<item type="integer" name="TetheringGuard_Rule">4</item
The bold line is the one you will edit. Change the " 4 " or whatever number is there with a " 0 "
----- Now scroll all the way to the bottom of the file. Now scroll up till you find section:
,app name="Wi-Fi Hotspot"><item type="integer" name="hotspot_rule">1</item
<item type="boolean" name="show_passphase">false</item>
<item type="boolean" name="support_showpassword">false</item>
Its right below a " weather " section and above a " wolrdclock " section
The bold line is again the one to edit. Change the " 1" to a " 0 "
------ Press the root explorer setting button again in the upper right corner of the window. Its 3 vertical dots. Choose " Save and Exit "
5 Confirm default.xml permissions
----- As a precaution we want to confirm no changes to the file permissions has occured.
----- Press and hold on the " default.xml " file name to highlight it
----- Press the root explorer setting button again in the upper right corner of the window. Its 3 vertical dots. Choose " Permissions "
----- To the right of the "ENTER OCTAL" button you should see permissions " 0644 rw-r-r- "
----- If all is correct, close root explorer and reboot phone.
6. Confirm Hotspot is functional
----- Go to " Settting " on phone and click on " Mobile Hotspot and Tethering "
----- Turn on via the slider. You should now get the setup procedure and no warning or message to contact Verizon. Choose a SSID name and passphrase for your hotspot .
Finish and test. Hotspot should be working
Note:
There is no reason I could see for adding a line to the build.prop file a few instructions state to do i`f all that is desired is fully functioning hotspot tethering. Everything works without any other changes. There are of course many other tweaks that require build.prop file edits and or additions just not for hotspot function.