EMUI3.0 Magazine Theme edit - Huawei Ascend P7

Hi all!
Have you any idea how i edit Magazine theme lockscreen pictures? I know there have 4-5 category what i can select, but i want to use my own pictures. Can I set my own pics or not?

PietBlank said:
Hi all!
Have you any idea how i edit Magazine theme lockscreen pictures? I know there have 4-5 category what i can select, but i want to use my own pictures. Can I set my own pics or not?
Click to expand...
Click to collapse
Yes, indeed this is possible by editing the whole theme itself. You can find all the themes in '../system/themes/' directory, find the one you're currently using in the Themes application, copy it to your PC and add '.zip' extension just after '.hwt' (e.g. Balance.hwt.zip) and extract all the content out of it, then simply rename it back to 'Balance.hwt'.
After that you should have a few folders regarding the theme, and lots of files such as 'com.android.settings', 'com.huawei.android.launcher', etc etc. Dont mind those files and just get into the 'unlock' folder, then 'layout', and edit 'layout_balance.xml' file with a normal notepad.
You should have some content inside of it, now edit it as you wish, I'll show you my example:
Code:
<?xml version="1.0" encoding="utf-8"?>
<layout version="3.1" updatetime="20140401">
<switch>
<type id="01" src="picturestype.jpg" title="Pictures" selected="true">
<image src="picture1.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
<image src="picture2.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
<image src="picture3.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
<image src="picture4.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
</type>
</switch>
</layout>
After you've done so make sure you rename your pictures regarding what you've put into 'layout_balance.xml', and then put those pictures into 'drawable' folder located inside the 'unlock' folder.
After that copy the whole 'unlock' folder back to the 'Balance.hwt' file by opening 'Balance.hwt' with either WinRAR or 7zip, or any other software you have installed.
This should be it, if you have any questions or anything regarding the issues, or if I haven't explained it too well to you, feel free to quote me in your next post and I'll be more than glad to help you out.
Best regards,
James

Daentrod said:
Yes, indeed this is possible by editing the whole theme itself. You can find all the themes in '../system/themes/' directory, find the one you're currently using in the Themes application, copy it to your PC and add '.zip' extension just after '.hwt' (e.g. Balance.hwt.zip) and extract all the content out of it, then simply rename it back to 'Balance.hwt'.
After that you should have a few folders regarding the theme, and lots of files such as 'com.android.settings', 'com.huawei.android.launcher', etc etc. Dont mind those files and just get into the 'unlock' folder, then 'layout', and edit 'layout_balance.xml' file with a normal notepad.
You should have some content inside of it, now edit it as you wish, I'll show you my example:
Code:
<?xml version="1.0" encoding="utf-8"?>
<layout version="3.1" updatetime="20140401">
<switch>
<type id="01" src="picturestype.jpg" title="Pictures" selected="true">
<image src="picture1.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
<image src="picture2.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
<image src="picture3.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
<image src="picture4.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
</type>
</switch>
</layout>
After you've done so make sure you rename your pictures regarding what you've put into 'layout_balance.xml', and then put those pictures into 'drawable' folder located inside the 'unlock' folder.
After that copy the whole 'unlock' folder back to the 'Balance.hwt' file by opening 'Balance.hwt' with either WinRAR or 7zip, or any other software you have installed.
This should be it, if you have any questions or anything regarding the issues, or if I haven't explained it too well to you, feel free to quote me in your next post and I'll be more than glad to help you out.
Best regards,
James
Click to expand...
Click to collapse
Thank you James! I try this one for the next weekend :good:

Is magazine location same in mate 7 ?

Simona Simmy said:
Is magazine location same in mate 7 ?
Click to expand...
Click to collapse
Not sure since I don't own one but theres a chance its in te same location. Doesn't hurt to check.
Best regards,
James

Daentrod said:
Not sure since I don't own one but theres a chance its in te same location. Doesn't hurt to check.
Best regards,
James
Click to expand...
Click to collapse
I can send mate 7 magazine theme, if you need.
send me an e-mail: [email protected]

muy bien said:
I can send mate 7 magazine theme, if you need.
send me an e-mail: [email protected]
Click to expand...
Click to collapse
Nah it's fine haha,
Matter of fact I've sold the Huawei Ascend P7 just today and ima be picking up a new phone tommorow, the Samsung Galaxy Alpha (same price, but waaaay better performance and new sensors used in the camera, as well as the fingerprint sensor added)
It was a really great time fooling around with it but yeh.. R.I.P Huawei (so disappointed)
Best regards,
James

Daentrod said:
Yes, indeed this is possible by editing the whole theme itself. You can find all the themes in '../system/themes/' directory, find the one you're currently using in the Themes application, copy it to your PC and add '.zip' extension just after '.hwt' (e.g. Balance.hwt.zip) and extract all the content out of it, then simply rename it back to 'Balance.hwt'.
After that you should have a few folders regarding the theme, and lots of files such as 'com.android.settings', 'com.huawei.android.launcher', etc etc. Dont mind those files and just get into the 'unlock' folder, then 'layout', and edit 'layout_balance.xml' file with a normal notepad.
You should have some content inside of it, now edit it as you wish, I'll show you my example:
Code:
<?xml version="1.0" encoding="utf-8"?>
<layout version="3.1" updatetime="20140401">
<switch>
<type id="01" src="picturestype.jpg" title="Pictures" selected="true">
<image src="picture1.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
<image src="picture2.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
<image src="picture3.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
<image src="picture4.jpg" title="" content="" cpname="" download="" contenturl="" packagename=""/>
</type>
</switch>
</layout>
After you've done so make sure you rename your pictures regarding what you've put into 'layout_balance.xml', and then put those pictures into 'drawable' folder located inside the 'unlock' folder.
After that copy the whole 'unlock' folder back to the 'Balance.hwt' file by opening 'Balance.hwt' with either WinRAR or 7zip, or any other software you have installed.
This should be it, if you have any questions or anything regarding the issues, or if I haven't explained it too well to you, feel free to quote me in your next post and I'll be more than glad to help you out.
Best regards,
James
Click to expand...
Click to collapse
Hi James,
In the 'unlock' folder, I don't have any 'layout', but only 'theme.xml'; what can I do to edit the theme/pics?
Many thanks

horia2008 said:
Hi James,
In the 'unlock' folder, I don't have any 'layout', but only 'theme.xml'; what can I do to edit the theme/pics?
Many thanks
Click to expand...
Click to collapse
Sorry I sold this phone since it sucked, dont have it anymore so I cant help you.
Best regards,
James

Hi,
Following James on how to, I didn't find the 'layout_balance.xml' and 'drawable" file in the 'unlock'
Does anyone foind a way to add pictures to the Magazine please?
Thanks

Related

Adding Wallpapers to Launcher.apk

First post so pls go easy on me.. am a android noob who just got his first G1 a few days back..
I wanted to add wallpapers to the "android wallpaper gallery" in my cyanogenmod v4.2.15.1 G1,
Here is what I did, what worked and what I need help with.
I read the the files are stored within Launcher.apk and hence files have to be added to that. So I used Metamorph to add jpg files with the wallaper_<name>.jpg and wallpaper_<name>_small_jpg to launcher.apk. The files were not visible in the android wallpaper gallery.
On the other hand if I renamed my new wallpaper to the same name as an existing one in launcher.apk (ex-wallpaper_bluedotgrid.jpg and wallpaper_bluedotgrid_small.jpg), the new wallapaper is visible..
So iwas wondering what other files I need to edit to ADD new wallpapers.. It quite limiting if i have to replace the existing ones with ones of my choice.
Any help appreciated..
You should mess with some xml inside the apk, but idk which one atm.
For this you may try Brut.all's apktool to decramble the binary xmls or just compile launcher from sources...
Well any how to or guides would be much appreciated.. I am new to xml coding also..
May I ask why you want to do this? If it is to retain the quality of the wallpapers you are adding, and avoid cropping them.. then there are alternative methods.. but if it is for more complicated reasons then nevermind.
I just like the "android wallpaper gallery" over setting a jpg as wallpaper from astro or file browser..
Metamorph seems great to add files to apk, so If i can find a way such that I can copy new jpgs into zip and metamorph it to get it into launcher.apk, it would be great..
EDIT: Seeing this thread has had 240+ views, maybe ppl would be interested in the replace wallpapers method that i used..
Here is guide posted by cloverdale..
tinylink(dot)com/?SkPYhdh1XA
Can i post links to other site here?
rnb89 said:
I just like the "android wallpaper gallery" over setting a jpg as wallpaper from astro or file browser..
Metamorph seems great to add files to apk, so If i can find a way such that I can copy new jpgs into zip and metamorph it to get it into launcher.apk, it would be great..
EDIT: Seeing this thread has had 240+ views, maybe ppl would be interested in the replace wallpapers method that i used..
Here is guide posted by cloverdale..
tinylink(dot)com/?SkPYhdh1XA
Can i post links to other site here?
Click to expand...
Click to collapse
I'd just like to contribute that all of the roms\launcher.apk's I've pulled apart ALL use the replacement method; I have yet to see a rom that has custom wallpapers and does not replace stock ones.
jcarrz1 said:
I'd just like to contribute that all of the roms\launcher.apk's I've pulled apart ALL use the replacement method; I have yet to see a rom that has custom wallpapers and does not replace stock ones.
Click to expand...
Click to collapse
Well Cyanogen's Launcher.apk has wallpaper named wallpaper_prash_cm_girls.jpg
That definitely isn't a default one replaced.. he added it in..
rnb89 said:
Well Cyanogen's Launcher.apk has wallpaper named wallpaper_prash_cm_girls.jpg
That definitely isn't a default one replaced.. he added it in..
Click to expand...
Click to collapse
Yeah I've seen at least a few that have a large catalog of available wallpapers through the launcher, Cyanogen (as stated above) and Marks theme launcher are two that come to mind right away.
You have to recompile from source. The wallpaper list is defined in an array within the source code I think...
id matches file name...
You could try opening launcher.apk with apktool and editing res/values-mdpi/arrays.xml and making it something like
Code:
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<string-array name="wallpapers">
<item>wallpaper1</item>
<item>wallpaper2</item>
<item>wallpaper3</item>
<item>wallpaper4</item>
<item>wallpaper5</item>
<item>wallpaper6</item>
</string-array>
</resources>
Delete
Delete

[Guide]How to de/recompile framework-res Sense 3.6

Edit: I figured out how to successfully edit framework-res for HTC Sense 3.6. I google'd the problem and found quite a bit of people having trouble with framework-res for Sense 3.6, so I figured I'd post a little guide on how to do it.
1. Download APK-Multitool and extract it to your C:/ directory.
2. Run the "Setup" batch file and use option 3.
3. Copy "Framework-res.apk" to the "Other" and "place-apk-here-for-modding" folders inside your APKMultitool folder.
4. Your going to need to run the "Setup" batch file again if you closed the terminal window. Choose option 2 which installs the framework.
5. Run the "Script" batch file and choose option 10 "Decompile apk with dependencies"
6. Locate the com.htc.resources.apk inside the same folder you took framework-res.apk. Drag com.htc.resources.apk onto the terminal window, this will automatically enter the path for your dependency and install it so you can de/recompile framework-res.
7. Do whatever you need to do with framework-res.
8. Choose option 11 "Compile system apk" and follow the prompts.
That's it, you should be able to successfully de/recompile framework-res using that method.
I don't know enough about your environment or Java to be much help, but check what version jdk is recommended. You might get a better response in general forums.
Nonverbose said:
I don't know enough about your environment or Java to be much help, but check what version jdk is recommended. You might get a better response in general forums.
Click to expand...
Click to collapse
I'm using the latest JDK which is version 7 (or update 7) and I'm running Windows 7 64 bit. I'm using a command prompt window for apktool, but I also have cygwin which also works with apktool. Every question I post in chef central or general Q&A gets ignored, which is why I thought I'd ask here where people know me.
Anything else you need to know?
Edit: Also how do I recompile framework-res from Sense 3.6? I can decompile just fine, but I've tried multiple programs (apktool, apkmulti-tool, and Virtuous ten studio) and none of them can recompile framework-res. I only changed a line in bools.xml.
ZaySk said:
I'm using the latest JDK which is version 7 (or update 7) and I'm running Windows 7 64 bit. I'm using a command prompt window for apktool, but I also have cygwin which also works with apktool. Every question I post in chef central or general Q&A gets ignored, which is why I thought I'd ask here where people know me.
Anything else you need to know?
Edit: Also how do I recompile framework-res from Sense 3.6? I can decompile just fine, but I've tried multiple programs (apktool, apkmulti-tool, and Virtuous ten studio) and none of them can recompile framework-res. I only changed a line in bools.xml.
Click to expand...
Click to collapse
Have you tried decompiling and recompiling with no changes? It could be a problem with your setup?
Nonverbose said:
Have you tried decompiling and recompiling with no changes? It could be a problem with your setup?
Click to expand...
Click to collapse
Hmm I'll give that a try. I know I tried that not long ago with android.policy, and it worked. I figured out the problem with android.policy, now I'm stuck on trying to recompile framework-res. I remember reading somewhere that certain proprietary ROM .apk's have dependencies on other ROM .apk's. I'm trying to re/decompile framework-res by itself, could that be the problem? If so which .apk do I need to use?
Appreciate you're help, thanks.
Have you read any of fernando sor's tutorials? He seems to have it sorted http://forum.xda-developers.com/showthread.php?t=1601511
Nonverbose said:
Have you read any of fernando sor's tutorials? He seems to have it sorted http://forum.xda-developers.com/showthread.php?t=1601511
Click to expand...
Click to collapse
Thank you! I had been searching for a thread like that since last night. Hopefully I'll be able to get things sorted out
ZaySk said:
Thank you! I had been searching for a thread like that since last night. Hopefully I'll be able to get things sorted out
Click to expand...
Click to collapse
No problem. Keep us updated.
Nonverbose said:
No problem. Keep us updated.
Click to expand...
Click to collapse
Ok, one more question and it's a pretty noob question. I can't for the life of me, find layout.xml! I even did an in-folder search for layout.xml and didn't find it. Is it not in framework-res for Sense 3.6? If so, what's the equivalent file? Or since I can't find the file, does that mean it's been depracated and I can skip that step? Sorry, I just want to be sure.
Edit: What about raws.xml? Is that also no longer in Sense 3.6 either?
I'm stuck at this part in the thread you linked to me -
go to res/values layout.xml
change this
Code:
<layout name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</layout>
<layout name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</layout>
<layout name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</layout>
<layout name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</layout>
<layout name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</layout>
<layout name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</layout>
<layout name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</layout>
<layout name="pin_keyboard">@layout/zzzz_pin_keyboard</layout>
to this
Code:
<item type="layout" name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</item>
<item type="layout" name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</item>
<item type="layout" name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</item>
<item type="layout" name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</item>
<item type="layout" name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</item>
<item type="layout" name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</item>
<item type="layout" name="pin_keyboard">@layout/zzzz_pin_keyboard</item>
res/values layout.xml?
Nonverbose said:
res/values layout.xml?
Click to expand...
Click to collapse
It's not there.
Edit: Figured it out, thanks for your help Nonverbose.
ZaySk said:
It's not there.
Edit: Figured it out, thanks for your help Nonverbose.
Click to expand...
Click to collapse
Lol, help? I just realized that my answer was the almost the same as your question. Where did you find it?
Nonverbose said:
Lol, help? I just realized that my answer was the almost the same as your question. Where did you find it?
Click to expand...
Click to collapse
Lol, yea that post wasn't what helped me, it was you're previous posts. I used APKMulti-tool to decompile with com.htc.resources as a dependency and made my changes, then it FINALLY recompiled properly!

[GUIDE][REF]Changing System Text Settings

Taking some time from theme to get all of this info out right now before I forget it. This is going to be a place to put system text edits and what they affect. Right now I only have a couple but will add to it as I go. As always feel free to add ones that you have found.
These mods were made by thebowers outside xda. I am sharing this with you
Click to expand...
Click to collapse
Things needed to accomplish these changes
Apk Manager
Click to expand...
Click to collapse
-
7-zip
Click to expand...
Click to collapse
Great tools for opening .apks and extracting them with out changing the extension.
framework-res.apk
Click to expand...
Click to collapse
from your phone (since it holds the system settings).
Getting started
Pull framework-res.apk from phone by using ADB or however you would like to do this.
Download and extract Apk Manager. I usually place this in the tools directory of the Android SDK. If you do this you need to set the environment path for the directory for aapt.exe of apktool.jar to work correctly.
Take the framework-res.apk and place it in the place-apk-here-for-modding folder withing the Apk Manager folder.
Click on Script.bat within the Apk Manager folder to open and run the tool.
Should ask you about clearing workspace and then something about finding ADB.Once you get passed those screens you should be at one that has number options.
For this walk through we are only concerned with the middle portion.
Now go to the Apk Manager folder and you should see an folder labelled "out". Open it to find your decompiled .apk
Go to the /res/values folder. Then go to a .xml file called styles.xml. Open this and any xml file that you decompile with notepad or notepad++
Select 9 and hit enter. It should tell you that it is decompiling the .apk. When it is done it will ask you to make a selection.
This is a big xml file which controls many aspects of the system. Don't worry I am not even going to try and explain things here. Just going to give you the areas I know and what to change.
Click to expand...
Click to collapse
Things within styles.xml that I know
First off is the text on buttons
Do a ctrl+f to bring up the find button.
Type widget.button and click find next. (hit find next 6 times)
You should now be at this portion of the .xml
Code:
<style name="Widget.Button" parent="@style/Widget">
<item name="textAppearance">?textAppearanceSmallInverse</item>
<item name="textColor" [user=403934]@Color[/user]/primary_text_light</item>
<item name="gravity">center</item>
<item name="background">@drawable/btn_default</item>
<item name="focusable">true</item>
<item name="clickable">true</item>
</style>
Where it says primary_text_light (black) change to primary_text_dark (white).
Also you could delete the whole @Color/primary_text_light and just put #ffff00ae as an example for the color code you desire.
If that is all you need save and look down for the completing instructions.
Next is the menu text (when you hit he soft key for menu)
Do ctrl + f and put in TextAppearance.Widget.IconMenu.Item and click find next.
You should now be at this area
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimary</item>
</style>
Change textColorPrimaryInverse (black) to textColorPrimary (white and then black when pressed)
Also you could delete the whole ?textColorPrimary and just put #ffff00ae as an example for the color code you desire.
If that is all you need save and look down for the completing instructions.
Keyboard text (the actually text on the soft keyboard keys)
Do ctrl + f and put in Widget.KeyboardView and click find next twice
You should now be at this section
Code:
<style name="Widget.KeyboardView" parent="@style/Widget">
<item name="background">@drawable/keyboard_background</item>
<item name="shadowColor">#bb000000</item>
<item name="shadowRadius">2.75</item>
<item name="keyBackground">@drawable/btn_keyboard_key</item>
<item name="keyTextSize">22.0sp</item>
<item name="labelTextSize">14.0sp</item>
<item name="keyTextColor">#ffffffff</item>
<item name="keyPreviewLayout">@layout/keyboard_key_preview</item>
<item name="keyPreviewOffset">-12.0dip</item>
<item name="keyPreviewHeight">80.0dip</item>
<item name="verticalCorrection">-10.0dip</item>
<item name="popupLayout">@layout/keyboard_popup_keyboard</item>
</style>
Pretty simple, where it says keyTextColor, change that to whatever you want.
If you want to change the key text on the pop up or preview, that is located in /res/layout/keyboard_key_preview.
If that is all you need save and look down for the completing instructions.
Text highlight color
Do crtl + f and put (style name="TextAppearance") in the find box and click find next.
You should now be at this section.
Code:
<style name="TextAppearance">
<item name="textSize">16.0sp</item>
<item name="textStyle">normal</item>
<item name="textColor">?textColorPrimary</item>
<item name="textColorHighlight">#ffc0c0c0</item>
<item name="textColorHint">?textColorHint</item>
<item name="textColorLink">#ff5c5cff</item>
</style>
Just change the textColorHighlight to whatever color you desire.
If that is all you need save and look down for the completing instructions.
Edit Text (what shows when you type in any textfield like talk, facebook, twitter, and such)
Do crtl+F for Widget.EditText and hit find next twice.
You should now be at this area.
Code:
<style name="Widget.EditText" parent="@style/Widget">
<item name="textAppearance">?textAppearanceMediumInverse</item>
<item name="textColor" [user=403934]@Color[/user]/primary_text_light</item>
<item name="gravity">center_vertical</item>
<item name="background">@drawable/edit_text</item>
<item name="focusable">true</item>
<item name="focusableInTouchMode">true</item>
<item name="clickable">true</item>
</style>
Where is says primary_text_light, you can change it to primary_text_dark for white text. Otherwise just do this "textColor">#ffff0000< that code is for red. Just replace with what color you want.
If you are done save and continue to finishing instructions.
Lockscreen Text
This is located in the /res/layout folder as keyguard_screen_tab_unlock.xml and keyguard_screen_tab_unlock_land.xml.
To help out I have added a color values string to the text areas (they don't have them by default)
Grab the Lockscreen Text xmls.zip found at the bottom. Unzip
Open these files in a Hex editor like HxD.
Do a hex-string search of 08 00 00 1c. The first one is for a background color skip it.
The next eight are for the text on the screen. By default I have them set at FF FF FF FF for white.
Just remember in hex editing the color values are backwards. Save the files and add to your framework-res.apk.
I will add more later. Just wanted to get these out right now.
Completing the process
Once you are done with that file don't forget to save.
Go back to the Apk Manager grey command prompt window.
Do option 11 to compile the .apk. When that is done it will change from compiling .apk to asking you to make a decision.
Then do option 12 to sign the .apk. This is very important. Forgetting to do this will result in a boot loop.
Now go to place-apk-here-for-modding folder within the Apk Manager folder. There should now be a new file called repackaged-signed.apk . Move this file to the desktop or somewhere to rename. Rename to framework-res.apk.
You now have a new framework-res.apk with the edits you did. Either add images and what not that you want to it or go ahead and push to phone by using ADB, an update.zip, MM theme format, or move to sdcard and use Root Explorer.
If you are going to add images use 7-zip to open the .apk as an archive and navigate to the appropriate folder. I haven't tried it but you should be able to put the image file in the appropriate folder before doing option 11 to compile. Just keep in mind that if they are .9 images they will need the guides on them. Since the folders are decompiled images within them until compiled.
Enjoy your need settings. Again if you know of anything in this file or some other usefully system text edits in the framework-res.apk, let me know.
If you liked this thread Press thanks button and Rate this thread 5 stars and and pressTip US​
reserved...............
Link To Some Of my Work!​​
How to update Baseband
How to change Android's background
How to use AROMA Installer
How to Downgrade Baseband
Theming Guide for changing system color settings
Custom ROMs
Backstreet MOD(Karbonn A5)​​
Some Other Important Threads
Walton Primo Gets ICS!
[Karbonn][A5][A7][Walton Primo]Official ICS released
[PETITION]Spice to release kernel source|GPLViolation|
[PETITION]Karbonn to release kernel source|GPLViolation|​
Great bro (Y)
iHarkunwar said:
Great bro (Y)
Click to expand...
Click to collapse
now post my guides to your blog it will help many members and give a link to this thread also.
Re: [GUIDE]Theming Guide for changing system text settings
https://docs.google.com/file/d/0B-Fun5vx9M9xTzJYclJ0czVobTg/edit
Touchwiz add on for MMX JB
By mrmad
Credits
Smalldookie
Me
Sent from my Samsung GT-S9081 using xda app-developers app
How to edit lockscreen option, not the text, but options on swiping
Anami101 said:
How to edit lockscreen option, not the text, but options on swiping
Click to expand...
Click to collapse
for that you have to edit many xml's and .smalii files in framework-res.apk
can you add the petition to micromax to release kernel source to your signature too, so that we can get more signatures?
psychopac said:
can you add the petition to micromax to release kernel source to your signature too, so that we can get more signatures?
Click to expand...
Click to collapse
I can but that is not my work so i will put it seperately
thanks, that'd be great!
Re: [GUIDE]Theming Guide for changing system text settings
Nice guide thanks
收件人: [GUIDE]Theming Guide for changing system text settings
good man
Sent from my HTC X515d using xda premium
tzpm said:
good man
Sent from my HTC X515d using xda premium
Click to expand...
Click to collapse
Its time for updating the thread i found more things and will include in the thread soon
I really like all your guides but you never post credits to people from whom you have got this knowledge and that's really sad!
Do you know how to change the color of popup title?
iamareebjamal said:
I really like all your guides but you never post credits to people from whom you have got this knowledge and that's really sad!
Do you know how to change the color of popup title?
Click to expand...
Click to collapse
first of all this is my own work not a single word is copied
And I don't got you i gave credits to all people who deserves it
GuneetAtwal said:
first of all this is my own work not a single word is copied
And I don't got you i gave credits to all people who deserves it
Click to expand...
Click to collapse
Well, I can't find credits in all of the thread
And I didn't say you copied it
iamareebjamal said:
Well, I can't find credits in all of the thread
And I didn't say you copied it
Click to expand...
Click to collapse
I have given credits in my every Thread and i only credits those who really deserves or i don't credit them
Link me to any of my thread without any special thanks or credits ??
GuneetAtwal said:
I have given credits in my every Thread and i only credits those who really deserves or i don't credit them
Link me to any of my thread without any special thanks or credits ??
Click to expand...
Click to collapse
So may I think you learnt what is written in this thread all on your own?
Nabs Zains said:
So may I think you learnt what is written in this thread all on your own?
Click to expand...
Click to collapse
Yeah it is my hard work bro
Even most of my guides are based on simple topic which is easy but rare to find an answer for a Newbie thats why i made these guides but now as i am leaving XDA soon with the release of Best ROM i wont be making more guides which i had planned
Edit: When i was a noob no one was there to reply me i don't know why so with time i learnt everything about this green Creature (Android )

Settings background (background_holo_dark) [SOLVED!]

[Using Android 4.3.1 (CM10.2) on a Galaxy Nexus]
I'm attempting to replace the stock gradient background of the settings menu. I was able to get it to show all black instead of the gradient but I can't seem to get it to show a PNG image.
This is what is found in the /res/drawable/background_holo_dark.xml file
Original gradient:
Code:
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#ff000000"
android:endColor="#ff272d33" android:angle="270.0" />
</shape>
Black background:
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/black" />
</shape>
Attempt at using a PNG image (image placed in /drawable-nodpi/background_holo_dark.png) courtesy of this thread
Code:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/background_holo_dark" />
Using the above code to use an image as the background causes settings to force close. When I open Root Browser (which uses background_holo_dark.xml) it says something along the lines of "size of image too large".
Anyone know why the code fails? 4.2.x only required you to delete the .xml file and add the .png file to nodpi which doesn't work for 4.3.x. Prior to 4.2.x all you had to do was replace the .png file.
I've looked everywhere and it seems every time someone asks something similar the thread ends without any solution.. looks like this isn't any different. Tried countless different things with no luck
Bump... still having no luck.
DonDizzurp said:
Bump... still having no luck.
Click to expand...
Click to collapse
Im pretty sure it resides in framework-res.apk/res/drawable-nodpi/ the current background is in there so editing/replacing it should work!(note- the file might be in systemUI.apk/res/drawable-nodpi) im not too sure
ricky310711 said:
Im pretty sure it resides in framework-res.apk/res/drawable-nodpi/ the current background is in there so editing/replacing it should work!(note- the file might be in systemUI.apk/res/drawable-nodpi) im not too sure
Click to expand...
Click to collapse
Thanks but ever since android 4.2.x the PNG in /nodpi was removed and an XML file in /drawable is used for the gradient. My question is what code is required in this XML file in order to use a PNG instead of the gradient
Sent from my Galaxy Nexus using Tapatalk
DonDizzurp said:
Thanks but ever since android 4.2.x the PNG in /nodpi was removed and an XML file in /drawable is used for the gradient. My question is what code is required in this XML file in order to use a PNG instead of the gradient
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
really? im using 4.3 tw rom(My rom(smartdroid)) and i can still see the png file?
send your files and ill see what i can do!
FINALLY!!
If anyone else is stuck, follow the steps here: http://forum.xda-developers.com/showthread.php?p=49811369
Read my post in that thread as well if you get stuck.
Here's a short refresher course on apktool http://forum.xda-developers.com/showthread.php?t=1752201

[help] nemus launcher mod

Hi !
First I own an Xperia V, ICS 4.0.4 with 9.0.1.D.0.10 Firmware
So , I use Nemus Launcher (It's the smoothest launcher for me) which has a notification function and can display notification bubbles in the top left hand corner of an APP in the homescreen.
My question is : How can I mod the APK of Nemus launcher in order to display the bubbles at the top right hand corner of an APP and IF POSSIBLE make it like iOS , I mean not completly on the application's icon but that is half in half out..
(Please look at the attached pic to see how it is..)
I know how to decompile an APK but to do what I described is beyond me :/
Please try to help me, Thanks !
THE PIC :
its possible and too hard
try to use other launcher's , its better than modding launcher :fingers-crossed:
sgt.reza said:
its possible and too hard
try to use other launcher's , its better than modding launcher :fingers-crossed:
Click to expand...
Click to collapse
But I want to stay on Nemus, since I try it I can change !
But if the dev succeed to put it at left , why can I make the contrary ?
Yozil13 said:
But I want to stay on Nemus, since I try it I can change !
But if the dev succeed to put it at left , why can I make the contrary ?
Click to expand...
Click to collapse
Because the dev has the source files, you don't; you'd have to decompile and hope it's something as simple as modifying one of the layout .xml files, or else do it in smali... which is a lot harder.
Antiga Prime said:
Because the dev has the source files, you don't; you'd have to decompile and hope it's something as simple as modifying one of the layout .xml files, or else do it in smali... which is a lot harder.
Click to expand...
Click to collapse
There is only 1 xml file (I think by the name) that can match to the notification bubbles -> launcher_noti_layout.xml :
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/launcher_noti_container" android:background="#cc000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="35.339996dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:id="@id/launcher_noti_textview" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:drawablePadding="10.0dip" />
</FrameLayout>
I tried to edit it and replace "center" by top etc.. but NOTHING changes..
As for .smali files there's some files named BadgeInfo BadgeService etc.. but it is JAVA language and I DO NOT UNDERSTAND ANYTHING
I have attached a .rar file with NEMUS decompiled, if you can check it and solve my problem it would be nice :angel:
Yozil13 said:
There is only 1 xml file (I think by the name) that can match to the notification bubbles -> launcher_noti_layout.xml :
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/launcher_noti_container" android:background="#cc000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="35.339996dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="center" android:id="@id/launcher_noti_textview" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:drawablePadding="10.0dip" />
</FrameLayout>
I tried to edit it and replace "center" by top etc.. but NOTHING changes..
As for .smali files there's some files named BadgeInfo BadgeService etc.. but it is JAVA language and I DO NOT UNDERSTAND ANYTHING
I have attached a .rar file with NEMUS decompiled, if you can check it and solve my problem it would be nice :angel:
Click to expand...
Click to collapse
If nothing changes, then that is either not the file you're looking for, you don't know what you should be expecting with changing the gravity, or it's done in java. For the record, smali is not java.
Secondly, you did not attach anything, and I don't think I'm interested in figuring out how to do that, I don't use Nemus Launcher, and don't plan on doing so, no offense.
Antiga Prime said:
If nothing changes, then that is either not the file you're looking for, you don't know what you should be expecting with changing the gravity, or it's done in java. For the record, smali is not java.
Secondly, you did not attach anything, and I don't think I'm interested in figuring out how to do that, I don't use Nemus Launcher, and don't plan on doing so, no offense.
Click to expand...
Click to collapse
Ok no problem
I upload it for others , i've still hope lol

Categories

Resources