[Q] Change Modelnumber from Z710e to Z715e - HTC Sensation

I am looking for a solution to change the modelnumber in the phone info menu.
now it says "HTC Sentation Z710e" I want to change it to "HTC Sentation XE with Beats Audio Z715e"
I have tried to change it in the build.prop in the system folder but no luck yet.
did manged to change the processor type from 1.2 to 1.5
just to be clear.
I know it's only for info, the phone will not preform better.

Just install an XE rom.
Sent as a ballistic missile.

wat u need to do is
go to system/custmomize/CID
open default.xml
almost all the way down
<set name="single">
<item name="device_name">HTC Sensation Z710e</item>
</set>
Change to
<set name="single">
<item name="device_name">HTC Sentation XE with Beats Audio Z715e</item>
</set>

janielsen said:
wat u need to do is
go to system/custmomize/CID
open default.xml
almost all the way down
<set name="single">
<item name="device_name">HTC Sensation Z710e</item>
</set>
Change to
<set name="single">
<item name="device_name">HTC Sentation XE with Beats Audio Z715e</item>
</set>
Click to expand...
Click to collapse
I did tried this but also no luck, also find a default.xml in the folder system/custmomize/MNS
don't seem to work also.
but any way thanks for the quick response

found the problem u need to edit thoose files in systen/custemice/mns
an build.prop before instaling the rom

janielsen said:
found the problem u need to edit thoose files in systen/custemice/mns
an build.prop before instaling the rom
Click to expand...
Click to collapse
I did tried it, but no luck
I will do a super wipe en then flash the modified Rom again.
keep you posted if this will work.
Just did a super wipe and flash the modified rom again en now I am a happy camper
IT's WORKING
thanks janielsen

Related

In Call Dialer Text Color

I'm theming the dialer I have the pngs done and I've changed the numbered buttons text color by modifying the styles.xml in the res/values directory but for the life of me I can't find the file that controls the number bottoms text color for the in call dialer any help would be appreciated, thanks guys.
Sent from my ADR6300 using XDA App
Look inside com.HTC.resources apk... HTC kinda suck in how they arrange things. Everything is connected to that file some how.
I'm sure you'll find it there.
Sent from my PC36100 using Tapatalk
HeyItsLou said:
I'm theming the dialer I have the pngs done and I've changed the numbered buttons text color by modifying the styles.xml in the res/values directory but for the life of me I can't find the file that controls the number bottoms text color for the in call dialer any help would be appreciated, thanks guys.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
resources.arsc in Phone.apk
JchiSurf has a thread in here where he modified both the dialer and the in-call dialer. both are in resources.arsc for each file (HtcDialer.apk and Phone.apk).
the exact file or place inside resources.arsc, i dont know! ask him
aamikam said:
Look inside com.HTC.resources apk... HTC kinda suck in how they arrange things. Everything is connected to that file some how.
I'm sure you'll find it there.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
I'm pretty sure its an xml edit not a png
Sent from my ADR6300 using XDA App
Max_Pain said:
resources.arsc in Phone.apk
JchiSurf has a thread in here where he modified both the dialer and the in-call dialer. both are in resources.arsc for each file (HtcDialer.apk and Phone.apk).
the exact file or place inside resources.arsc, i dont know! ask him
Click to expand...
Click to collapse
Ya the resources.arsc is built from.the apk's info including xml edits you made during the compiling process if I didn't make the changes the.info won't be present in that file.
I know this mod has been done but I'm trying to apply this to my already modified Phone.apk so just looking for the xml I need so I don't have re-apply all my other mods.
Sent from my ADR6300 using XDA App
res/values-hdpi-v4/styles.xml
Code:
<style name="text_style_dialer_button_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">1.0</item>
Zero Button
Code:
<style name="text_style_dialer_button_zero_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">1.0</item>
This will change the text color to white with a black shadow in case anyone is wondering.
HeyItsLou said:
res/values-hdpi-v4
Code:
<style name="text_style_dialer_button_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">1.0</item>
Zero Button
Code:
<style name="text_style_dialer_button_zero_number">
<item name="android:textSize">27.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:layout_gravity">center</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">1.0</item>
This will change the text color to white with a black shadow in case anyone is wondering.
Click to expand...
Click to collapse
Hey, that's good to know .
JsChiSurf said:
Hey, that's good to know .
Click to expand...
Click to collapse
You're the man Js thanks for directing me to the right directory
What APK is this folder in on the Droid Incredible?

[MOD][GUIDE] Remove Ongoing Notification

This is a quick way to remove the aggrivating Ongoing WiFi notification in the drop down menu. There may be other ways to do it via smali or xml but I have not found them yet so this will work for now.
I am including a flashable ZIP as well but it "may" cause issues if your on a custom ROM.
The Guide....
Decompile framework-res.apk
First verify these lines are not already there, if not, add the following code to res/values/drawables
Code:
<item type="drawable" name="stat_sys_wifi_connected">false</item>
<item type="drawable" name="stat_sys_wifi_disabled">false</item>
<item type="drawable" name="stat_sys_wifi_dummy">false</item>
<item type="drawable" name="stat_sys_wifi_no_network">false</item>
<item type="drawable" name="stat_sys_wifi_not_connected">false</item>
Remove the following .pngs from res/drawables-hdpi and drawables-xhdpi
Code:
stat_sys_wifi_connected.png
stat_sys_wifi_disabled.png
stat_sys_wifi_dummy.png
stat_sys_wifi_no_network.png
stat_sys_wifi_not_connected.png
Recompile and push to /system/framework
This is meant for a stock deodexed BLK3 Rom. Nandroid First!
Ongoing Removal Zip Download
Not working on CleanROM 5.5.1
I know it says stock K3, but CR is stock based..
Sent from my Commodore 64..
READY.
load"*", 8,1
Hypnosis4U2NV said:
Not working on CleanROM 5.5.1
I know it says stock K3, but CR is stock based..
Sent from my Commodore 64..
READY.
load"*", 8,1
Click to expand...
Click to collapse
Can you be more specific? Did it bootloop, get stuck on splash, or just not remove the ongoing notifications?
This is just a framework-res mod, so it should be fairly compatible with most roms, but if the rom your on has made changes to framework-res you may have complications.
I tested it on my stock BLK3 rom and it worked fine.
Hypnosis4U2NV said:
Not working on CleanROM 5.5.1
I know it says stock K3, but CR is stock based..
Sent from my Commodore 64..
READY.
load"*", 8,1
Click to expand...
Click to collapse
Lol its already removed from CleanROM. This is how I have been removing it from all the jellybean leaks. I did this mod for the last few cleanroms and is released in the roms from scott
Sent from my SCH-I535 using xda app-developers app
---------- Post added at 05:02 PM ---------- Previous post was at 04:56 PM ----------
Didact74 said:
This is a quick way to remove the aggrivating Ongoing WiFi notification in the drop down menu. There may be other ways to do it via smali or xml but I have not found them yet so this will work for now.
I am including a flashable ZIP as well but it "may" cause issues if your on a custom ROM.
The Guide....
Decompile framework-res.apk
First verify these lines are not already there, if not, add the following code to res/values/drawables
Code:
<item type="drawable" name="stat_sys_wifi_connected">false</item>
<item type="drawable" name="stat_sys_wifi_disabled">false</item>
<item type="drawable" name="stat_sys_wifi_dummy">false</item>
<item type="drawable" name="stat_sys_wifi_no_network">false</item>
<item type="drawable" name="stat_sys_wifi_not_connected">false</item>
Remove the following .pngs from res/drawables-hdpi and drawables-xhdpi
Code:
stat_sys_wifi_connected.png
stat_sys_wifi_disabled.png
stat_sys_wifi_dummy.png
stat_sys_wifi_no_network.png
stat_sys_wifi_not_connected.png
Recompile and push to /system/framework
This is meant for a stock deodexed BLK3 Rom. Nandroid First!
Ongoing Removal Zip Download
Click to expand...
Click to collapse
Just a fyi you don't have to add those lines in the xml. You can just 7 zip open the framework and delete the 5 pngs from the drawable/hdpi folder this how I've done all the jellybean leaks for everyone and causes no issues and you don't have to recompile so it's a little quicker.
Sent from my SCH-I535 using xda app-developers app
This worked great for me on stock odex even. Framework-res is not an odexed file, so it should work on any "stock" unmodified framework. If used on a modded framework as the op says it will break those mods.
Sent from my SCH-I535 using Tapatalk 2
I apologize, it was the setting in wifi to disable it.. Sorry for the confusion..
Sent from my Commodore 64..
READY.
load"*", 8,1
rwc95 said:
Just a fyi you don't have to add those lines in the xml. You can just 7 zip open the framework and delete the 5 pngs from the drawable/hdpi folder this how I've done all the jellybean leaks for everyone and causes no issues and you don't have to recompile so it's a little quicker.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Thanks Man!
The way I did it was go into the WiFi settings then hit menu and then advanced. Then I proceeded to uncheck and turn off everything that would turn the WiFi back on. I'm running Jelly Bean's build 6. Hope this helps for someone that doesn't feel confident flashing or messing with decompiling.
Sent from my SCH-I535 using xda premium
john21511 said:
The way I did it was go into the WiFi settings then hit menu and then advanced. Then I proceeded to uncheck and turn off everything that would turn the WiFi back on. I'm running Jelly Bean's build 6. Hope this helps for someone that doesn't feel confident flashing or messing with decompiling.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
I think everyone is confusing the ongoing wifi in pulldown with the pop up Window that scans for networks. This mod is to remove the ongoing wifi stuff that stays in the pulldown that can not be turned off unless already removed from the rom your running. The pop up Window can be disabled on any rom by going to the wifi settings and un checking notify me at the top. Hope this halfway clarifies.
Sent from my SCH-I535 using xda app-developers app
Got bored and decided to flash this on my stock rooted k3 and it worked perfect but for some reason gave me a nav bar haha its cool tho I have a nandroid
Sent from my SCH-I535 using Tapatalk 2
rwc95 said:
Just a fyi you don't have to add those lines in the xml. You can just 7 zip open the framework and delete the 5 pngs from the drawable/hdpi folder this how I've done all the jellybean leaks for everyone and causes no issues and you don't have to recompile so it's a little quicker.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
I used this method. Thanks a ton for that and thanks to the OP.
Sent from my SCH-I535 using xda premium
rwc95 said:
Lol its already removed from CleanROM. This is how I have been removing it from all the jellybean leaks. I did this mod for the last few cleanroms and is released in the roms from scott
Sent from my SCH-I535 using xda app-developers app
---------- Post added at 05:02 PM ---------- Previous post was at 04:56 PM ----------
Just a fyi you don't have to add those lines in the xml. You can just 7 zip open the framework and delete the 5 pngs from the drawable/hdpi folder this how I've done all the jellybean leaks for everyone and causes no issues and you don't have to recompile so it's a little quicker.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
+1 on just removing/renaming the png files. Works like a charm without any side effects that I've noticed.
Does anyone have the original stock framework-res.apk for jelly bean? Flashed this zip and everything was fine, but one of the only games I play does not work anymore. Thanks!
NM, just did a nandroid restore.
will try with deodexed 4.2 OTA and pos results
To anyone wondering it doesn't work with 4.1.2 VRBMB1 official stock rooted, you will get boot loops. Thank you for making this anyways though does anyone know any ways to remove the ongoing notification in VRBMB1?
joshua5683 said:
To anyone wondering it doesn't work with 4.1.2 VRBMB1 official stock rooted, you will get boot loops. Thank you for making this anyways though does anyone know any ways to remove the ongoing notification in VRBMB1?
Click to expand...
Click to collapse
I was able to rename the .png files on VRBMB1 without a problem. I adb pulled framework-res.apk, opened in 7-zip, deleted the 5 .png files, and copied the .apk back to /system/app/framework
Works just fine. Perhaps it's best to avoid decompiling/recompiling the framework. Using 7-zip is just fine.
dunderball said:
I was able to rename the .png files on VRBMB1 without a problem. I adb pulled framework-res.apk, opened in 7-zip, deleted the 5 .png files, and copied the .apk back to /system/app/framework
Works just fine. Perhaps it's best to avoid decompiling/recompiling the framework. Using 7-zip is just fine.
Click to expand...
Click to collapse
Guys, the way i do it is just like the tutorial in the first post. Remove the PNG's and add the lines to drawable. The reason you add the lines to drawable is to retain the IDs in res/public. If you remove the PNGs then try to recompile you will get errors because there are still IDs in res/public that point to the now removed PNGs. If you try to remove the IDs from res/public then it will throw your hexidecimal ID order out of whack and will cause recompiling errors. Like the tutorial shows in the first post, by adding these lines to res/drawable
Code:
<item type="drawable" name="stat_sys_wifi_connected">false</item>
<item type="drawable" name="stat_sys_wifi_disabled">false</item>
<item type="drawable" name="stat_sys_wifi_dummy">false</item>
<item type="drawable" name="stat_sys_wifi_no_network">false</item>
<item type="drawable" name="stat_sys_wifi_not_connected">false</item>
you still retain the IDs in res/public but they no longer point to the PNGs you removed, they now point to the dummy's you added to res/drawable.
If you want to just open the APK with winzip or whatever and remove the PNGs thats fine too, however, if you go to make other changes that would require you to decompile/recompile you will get errors.
Didact74 said:
Guys, the way i do it is just like the tutorial in the first post. Remove the PNG's and add the lines to drawable. The reason you add the lines to drawable is to retain the IDs in res/public. If you remove the PNGs then try to recompile you will get errors because there are still IDs in res/public that point to the now removed PNGs. If you try to remove the IDs from res/public then it will throw your hexidecimal ID order out of whack and will cause recompiling errors. Like the tutorial shows in the first post, by adding these lines to res/drawable
Code:
<item type="drawable" name="stat_sys_wifi_connected">false</item>
<item type="drawable" name="stat_sys_wifi_disabled">false</item>
<item type="drawable" name="stat_sys_wifi_dummy">false</item>
<item type="drawable" name="stat_sys_wifi_no_network">false</item>
<item type="drawable" name="stat_sys_wifi_not_connected">false</item>
you still retain the IDs in res/public but they no longer point to the PNGs you removed, they now point to the dummy's you added to res/drawable.
If you want to just open the APK with winzip or whatever and remove the PNGs thats fine too, however, if you go to make other changes that would require you to decompile/recompile you will get errors.
Click to expand...
Click to collapse
No PC here is there a way to do this on the phone
Sent from my SCH-I535
hitman980206 said:
No PC here is there a way to do this on the phone
Sent from my SCH-I535
Click to expand...
Click to collapse
I'm pretty certain you can remove the .png files using NinjaMorph.

[Q] About Build.prop

HELLO EVERYONE
Okay, so I don't know how to change these things on Build.prop
Please help me!!:crying:
See attachments for picture. :laugh:
Fakhri 19 said:
HELLO EVERYONE
Okay, so I don't know how to change these things on Build.prop
Please help me!!:crying:
See attachments for picture. :laugh:
Click to expand...
Click to collapse
Model is changed by ro.product.model=HTC Sensation XE with Beats Audio Z715e
You cant change the phone number easily without actually hardcoding a value into settings.apk and HTC Sense version is either set internally by settings.apk or by ro.build.sense.version=3.6
Jonny said:
Model is changed by ro.product.model=HTC Sensation XE with Beats Audio Z715e
You cant change the phone number easily without actually hardcoding a value into settings.apk and HTC Sense version is either set internally by settings.apk or by ro.build.sense.version=3.6
Click to expand...
Click to collapse
Thanks a lot bro!!:laugh:
but, I tried to change the sense version, it didn't work :crying:
And could you be more specific about this words? "HTC Sense version is either set internally by settings.apk"
Fakhri 19 said:
Thanks a lot bro!!:laugh:
but, I tried to change the sense version, it didn't work :crying:
And could you be more specific about this words? "HTC Sense version is either set internally by settings.apk"
Click to expand...
Click to collapse
There will be a method in the smali code that finds the HTC Sense version and then displays it - it doesn't seem to find it from the build.prop string though so you can't set it from the build.prop anymore.

[HELP] Custom battery icons for EB 4.0.4

I love the EB ROM and the ICS look and feel. However I can't stand the battery icon and percentage distributions. I'm trying to create my own.
I went into the systemui.apk, decompiled with APK multi-tool, edited stat_sys_battery and stat_sys_battery_charge XMLs and swapped PNGs.
I edited the sys_battery XML to look like this:
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
All the way until I got to 100. I did the same thing for the sys_battery_charge XML but of course in its specific structure but the same method.
Compiled APK and set permissions to RW R R and placed into system/app and replaced old systemui.apk.
The new battery Icon appears and looks great but it is NOT accurately portraying the phones real battery percentage level. I even went as far as editing the same XMLs in the framework-res.apk but it had ZERO affect on my issue.
Any help please is GREATLY appreciated! This is my first attempt at doing any coding/theming/etc. so I am a complete newbie at this kinda stuff.
Screenshot
Sent from my LG-P999 using xda premium
Got it up and running. Look in EB 4.0.4 AOSP ROM thread for download.

[Guide] How to change notification text color to make it look like L

Hello Xda Today I'm Sharing A Guide By @eboybasit Thanks to him For Giving Permission For Posting here :laugh:
Q What Is this?
ans- How to change notification text color to make it look like L
requiremnts
-apktool
-notepad++
-brain.jar
-Framework-res.apk
-Decompile Framework-res.apk
-open res/values/styles.xml
-Search for something similar to this:
Code:
<style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar">
<item name="textSize">@dimen/notification_text_size</item>
<item name="textColor">‪#‎ff999999‬</item>
</style>
Change It To Like This
Code:
<style name="TextAppearance.StatusBar.EventContent" parent="@style/TextAppearance.StatusBar">
<item name="textSize">@dimen/notification_text_size</item>
<item name="textColor">‪#‎ff008080‬</item>
</style>
Now Search For This
Code:
<style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">@dimen/notification_title_text_size</item>
<item name="textStyle">bold</item>
<item name="textColor">‪#‎ffffffff‬</item>
<item name="fontFamily">sans-serif-light</item>
</style>
change it like this
Code:
<style name="TextAppearance.StatusBar.EventContent.Title" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">@dimen/notification_title_text_size</item>
<item name="textStyle">bold</item>
<item name="textColor">#ff008080</item>
<item name="fontFamily">sans-serif-light</item>
<item name="shadowColor">‪#‎ff000000‬</item>
<item name="shadowRadius">1.0</item>
<item name="shadowDy">1.0</item>
<item name="shadowDx">1.0</item>
</style>
Now Find This
Code:
<style name="TextAppearance.StatusBar.EventContent.Line2" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textSize">@dimen/notification_subtext_size</item>
</style>
Change It to look like this
Code:
<style name="TextAppearance.StatusBar.EventContent.Line2" parent="@style/TextAppearance.StatusBar.EventContent">
<item name="textColor">#ff008080</item>
<item name="textSize">@dimen/notification_subtext_size</item>
</style>
SAVE THE XML:victory:
Now open Dimens.xml
and find this two lines
Code:
<dimen name="notification_title_text_size">18.0dip</dimen>
<dimen name="notification_subtext_size">12.0dip</dimen>
change it to.this
Code:
dimen name="notification_title_text_size">15.0dip</dimen>
<dimen name="notification_subtext_size">9.0dip</dimen>
save
recompile
pUsh
reboot
enjoy
Credits:-
Iian Armas
 @eboybasit
Awesome guide
Thanks. •﹏•
Thanks Bro
Screenshots please
Sorry sir i deleted My mod After this Guide So I cant take ss
nice guide thanks for this hope it works
Thanks Sir
ShadeSK said:
Thanks Sir
Click to expand...
Click to collapse
Unfortunately it doesn't compile :/ Says something about that value is not rrggbb or something like that
Can u plz Provile.Styles.xml and error log here?
ShadeSK said:
Can u plz Provile.Styles.xml and error log here?
Click to expand...
Click to collapse
Here you go see if you can help me. Error log is below
Styles.xml
kirito9 said:
Here you go see if you can help me. Error log is below
Styles.xml
Click to expand...
Click to collapse
Open Ur Styles.xml then find line no .889 Then bro Change Text color blabla =" '‪#‎ff008080‬'" to text color blabla ="008080" save compile enjoy
Try this
Open Ur Styles.xml then find line no .889 Then bro Change Text color blabla =" '‪#‎ff008080‬'" to text color blabla ="008080" save compile enjoy
thanks i will try it
Sent from my 4032A using XDA Free mobile app
ShadeSK said:
Open Ur Styles.xml then find line no .889 Then bro Change Text color blabla =" '‪#‎ff008080‬'" to text color blabla ="008080" save compile enjoy
Click to expand...
Click to collapse
I ended up removing the lines that were causing the error. Yes another line in the xml gave a recompile error. But here is my screenshot, idk if those were the only things to look different.
It is Real
It would be a nice add on the next version of materialized dark theme
Mr said:
It would be a nice add on the next version of materialized dark theme
Click to expand...
Click to collapse
hehe Yep

Categories

Resources