[Mods] - [MikRoms] - [7/5/2011] - MikG v2.2 - Sprint Lovers Icons - EVO 4G Themes and Apps

This is my first Mod for this ROM. I just flashed the ROM earlier this afternoon. More to come soon. Enjoy!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sprint Lovers Icons w/Circle Percentage Battery - http://db.tt/Op9qIx8
Sprint Lovers Icons w/Stock Percentage Battery - http://db.tt/pFXdtVh
Sprint Lovers Icons w/Stock Percentage Battery: The Complete Experience (WIP) - http://db.tt/RknIWM2

Great idea! I was really living those icons and almost went and flashed the new EVIO Rom just for that. Would you mind telling me what the "complete experience" file is compared to the other. Thanks in advance.
Sent from my PC36100 using Tapatalk

... By the looks of the screenshots, the other is not complete SPRINT LOVERS icons and the "complete experience" has a more complete set but is a work in progress? Assume work in progress means either BETA or also not completely complete? Bout to flash and see what happens.
Sent from my PC36100 using Tapatalk

Looks nice. I've been trying to get back the Gmail icon (Ideally with notify count) rather than the stupid gingerbread one I get now with MikG.
Which file(s) did you have to modify to get the Gmail to show it's original Red Envelope?

where can i get the original icons???
i like the rom and all but not feeling these icons...
anyone wanna help out??

whats the difference between complete experience and non-complete?

Great Job.....

looks like between the new market and the new drop downs we need a refresh on this one...

And now new Gmail, anyone want to give this a stab, and also get animated sync icon too?

My bad y'all. I wound up breaking my EVO and I fell back on things. I just got another one last week, but it was already updated with 2.3.3.
Sent from my Epic, because my EVO arrived with the Gingerbread update.

Mikee4fun said:
And now new Gmail, anyone want to give this a stab, and also get animated sync icon too?
Click to expand...
Click to collapse
What exactly do you mean by new Gmail? You want the white Gmail icon with the red M in it or do you want the default gingerbread version? It looks like this includes the white envelope with red, but changing it is easy if you know how to use adb (though you should still make a full nandroid backup before proceeding -- just in case):
1. Grab the framework-res.apk file from your phone:
Code:
adb pull /system/framework/framework-res.apk
2. Double-click on the .apk file and navigate it with 7zip (Windows), archive manager (Linux with Gnome), etc.
3. Go into the res/drawable-hdpi directory and swap out the stat_notify_gmail.png file with whatever image you desire (i.e. rename your desired image to stat_notify_gmail.png and then copy it to this folder, overwriting the existing image).
4. Close the window and push the file back to your device:
Code:
$ adb remount
$ adb shell stop
$ adb push framework-res.apk /system/framework
$ adb shell start
If you aren't sure what any of that means or you need help just let me know.
Now the animated sync icon is going to be a little bit more work. I'm rather curious how that is done (probably just some timeouts in the XML with a series of images that are all rotated from the previous one), but now you have got me kind of curious!

Hmmm...ok well I have some rather limited knowledge of this stuff but I think I see how to animate the icon. The problem is that I would have to replace your entire framework-res.apk file so it would also change the battery icons that you may have, along with just about every other icon that appears on the notification bar there.
But if I were to do this I would try the following after unpacking the framework-res.apk file (apktool d framework-res.apk). I'm sort of putting these notes here for myself as well as everyone else. I don't have time to try this right now but I might give it a shot later tonight or tomorrow...once the kiddos go to bed.
1. Starting with the framework-res/res/drawable-hdpi/stat_notify_sync_anim0.png as a base. Create a few different versions of the sync image at different angles (i.e. create 3 more images -- this original image can serve as the first image with one of the arrows on the left at "9 o'clock", another image 45 degrees from that, a third one with one of the arrows directly on the top at "12 o'clock", and then another 45 degrees from that.
2. Copy the new image files to framework-res/res/drawable-hdpi.
3. Create a new xml file framework-res/res/drawable/stat_notify_sync.xml with the following lines in it:
Code:
<?xml version="1.0" encoding="utf-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim0" />
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim1" />
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim2" />
<item android:duration="500" android:drawable="@drawable/stat_notify_sync_anim3" />
</animation-list>
4. Insert new lines referencing the resources inside of framework-res/res/values/public.xml:
Code:
<public type="drawable" name="stat_notify_sync_anim1" id="0x01080292" />
<public type="drawable" name="stat_notify_sync_anim2" id="0x01080292" />
<public type="drawable" name="stat_notify_sync_anim3" id="0x01080292" />
5. Now build the apk file, sign it, zipalign it (optional), create the flashable zip, and then sign the zip file.
I'm pretty sure that this would work but again it would mean that we are replacing the entire framework-res.apk file so you would lose all other customizations that you might have to the status bar icons.
I might just give this a shot for the heck of it. I have no idea if it will work but I'm willing to at least try. I have a very recent nandroid backup so I can easily push this over to see if it works before posting!

blowpot-
did you get rooted yet? We need a refresh!

Been busy since root. I had to fall back from the forums for a while. Downloading 2.5 now. Will update soon.
Sent from my Synergized EVO, Thanks to some rEVOlutionary Tactics

Related

[REQ] Inverse/Black FRF91 App Morphs

Some apps seem like they're better off with black backgrounds and white text, like the stock SMS app, GMail, Voice, Talk, etc. Is this easily done or am I asking for a lot?
+1
I would love to see this happen as well!
I have no idea what I'm doing, but I figure I might as well try. Starting messing with framework-res.apk, these look like all of the images that are displayed on the bottom menu. Would totally love some pointers on turning this into a functioning morph; Wiki is down
Anyone care to help me take [REQ] to [WIP]?
Here are some screenshots of what I'm trying/want to see done. We've got AMOLED screens, and black looks good damn it. Google gussied the whole interface up with a whole bunch of black text on a white background; white text on a black background, on an AMOLED screen = contrast+++, readability +++, and it looks good.
Attached are more mockups, I have a LOT of free time, all I need are some pointers.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Some Pointers
sheik124 , A few things ive learned in the past few days with countless experiments on my roms/framework.apk is this.
1. messing with the framework while its still in the rom wont pass verification when flashing.
2. pictures can change in color (some size) but the names MUST remain the same
3. Pick and choose from roms you like FIRST then after you get the hand of overwriting and figuring out which png file does what and which drawable folder to use then play with your own ideas.
4. FONT COLOR IS A BIATCH to find and to change....thank got for CM6 with built in settings just for that hex file headache!!!!!!!
5. ANDROID COMMANDER IS A LIFE SAVER!!!!!!! JUST FIND THE FRAMEWORK OF THE ORIGINAL ROM IN SYSTEM FRAMEWORK AND PUSH YOUR MODDED (VERY OWN THEMED) VERSION AND FIGURE OUT WHETHER YOUR A FAN OR NOT.
6. You can change EVERYTHING from notification icons to focus colors of tabs or even the entire notification......if you have any questions or hints for me.... PM ME ill even take requests if you send me your rom...or just the original framework...its a new hobby!!!!!!!
Thanks for the pointers. I'm working on MCR R21, and plan on applying my changes as a morph so I don't have to worry about any issues resigning/pushing apks.
I already figured I had to keep the file names the same, I tried making a sample morph with just the menu icons I already shopped and it worked, I can't figure out how to change the background menu color + menu text...
Sent from my Nexus One using XDA App
Its menu_backround.9 and menu_backround_fill_parent_width.9 in the drawable-hdpi folder. As for the Font color....FIGURING OUT THAT is a Headache but the Menu_item.xml is the file.......There are long drawn out threads and info on editiing those....kinda tricky........hope it helps. Oh and to test it out......just change them to a bright color....and push the framework.....AFTER YOU PUT YOUR CURRENT FRAMEWORK IN A SAFE PLACE OFCOURSE
drexman8244 said:
Its menu_backround.9 and menu_backround_fill_parent_width.9 in the drawable-hdpi folder. As for the Font color....FIGURING OUT THAT is a Headache but the Menu_item.xml is the file.......There are long drawn out threads and info on editiing those....kinda tricky........hope it helps. Oh and to test it out......just change them to a bright color....and push the framework.....AFTER YOU PUT YOUR CURRENT FRAMEWORK IN A SAFE PLACE OFCOURSE
Click to expand...
Click to collapse
Code:
<?xml version="1.0" encoding="utf-8" ?>
- <!-- /* //device/apps/common/assets/res/any/layout/menu_item.xml
**
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
- <MenuItemView xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:focusable="true">
<TextView android:id="@+id/index" android:paddingLeft="0dip" android:paddingTop="1dip" android:paddingRight="8dip" android:paddingBottom="0dip" android:layout_width="17dip" android:layout_height="wrap_content" android:includeFontPadding="false" />
<ImageView android:id="@+id/check" android:paddingLeft="3dip" android:paddingTop="3dip" android:paddingRight="3dip" android:paddingBottom="0dip" android:src="@drawable/menuitem_checkbox" android:scaleType="fitCenter" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:id="@+id/title" android:paddingLeft="0dip" android:paddingTop="1dip" android:paddingRight="0dip" android:paddingBottom="2dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:includeFontPadding="false" />
<TextView android:id="@+id/shortcut" android:paddingLeft="8dip" android:paddingTop="0dip" android:paddingRight="0dip" android:paddingBottom="0dip" android:layout_width="20dip" android:layout_height="wrap_content" android:gravity="center_horizontal" android:includeFontPadding="true" />
</MenuItemView>
That's menu_item.xml from the 2.2 source right there, doesn't look like it codes for any text colors
this is a great idea. i would LOVE to inverse the color from white to black of gmail, messaging, gtalk, ALL apps that have white, change to black. gonna watch this thread
Well, I've been messing with files for two days now and no luck. This was the best I could do:
Got the background 9 patch files right...couldn't figure out how to change the text. Those two unchanged icons are from LauncherPro - didn't want to tear the apk apart to change those images unless everything else worked.
No luck with Mms.apk either. I tried using apktool so I could edit all the xml files I needed to, but what happens to res/values after recompiling it? I figured it became part of classes.dex, but clearly something I changed didn't take right...
Oh well. Now to figure out how to revert everything to stock...
Mind sharing your modded menu setting files?
I'd love a zip of the backgrounds and icons if you care to share
Even though text cannot be changed atm, I reckon it looks nice. Also, I'm used to where the settings are placed so I think I can live without text.
Really f ing annoying that a lot of apps bring their own setting icons to the table, but alas, nothing to do about that. I normally just mod the ones I use the most..
-e
Eddiemc said:
Mind sharing your modded menu setting files?
I'd love a zip of the backgrounds and icons if you care to share
Even though text cannot be changed atm, I reckon it looks nice. Also, I'm used to where the settings are placed so I think I can live without text.
Really f ing annoying that a lot of apps bring their own setting icons to the table, but alas, nothing to do about that. I normally just mod the ones I use the most..
-e
Click to expand...
Click to collapse
Just so I don't end up making a file of the wrong stuff, you want the icons and the black menu BG, right? The green highlight is from installing a Desire notification bar
EDIT: Also (not pictured), menu popups with text items only have black text on BG (unless highlighted), totally illegible. You sure you want a morph of this?
sheik124 said:
Just so I don't end up making a file of the wrong stuff, you want the icons and the black menu BG, right? The green highlight is from installing a Desire notification bar
EDIT: Also (not pictured), menu popups with text items only have black text on BG (unless highlighted), totally illegible. You sure you want a morph of this?
Click to expand...
Click to collapse
Yea, don't need the highlights, only the menu background 9 patch files and icons
Doing a bit of cherrypickin' from different roms/morphs to create a nice interface for my own phone, and I'd like to give this a stab
thanks mate
-E
Here you go boss, enjoy. I also included an .ava file; if you want to make any other ic_menu icons look the same in Photoshop (from Mms.apk, for example) then just go to Image->Adjustments->Variations, and load the .ava file. Don't make any changes to the selections and it'll bring it to the same shade of gray.
In other news, what I need to change seems to be in themes.xml (dug through the stock framework source for any references to "menu_background") and it's clear why my change is *not* working.
res\values\themes.xml
Code:
<!-- Panel attributes -->
<item name="panelBackground">@android:drawable/menu_background</item>
<item name="panelFullBackground">@android:drawable/menu_background_fill_parent_width</item>
<item name="panelColorBackground">#fff</item>
<item name="panelColorForeground">?android:attr/textColorPrimaryInverse</item>
<item name="panelTextAppearance">?android:attr/textAppearanceInverse</item>
See there? The panel background is still defined as white, so Android's inverse colors automatically give us black text. The only problem is I don't know what to do with a changed themes.xml; the values folder doesn't even exist in the compiled apk and I'll admit I know very little about Android's inner workings. Apktool seems to be making a mess out of things with 2.2
Wow, kewl
Thanks a lot mate, big props.
I'm stumped when it comes to the xml changes for the white text, I have looked at it but it's hard..
found a good guide though:
www.jbthemes.com/AndroidThemeingGuide/The Ultimate Android Themeing Guide.pdf
There's another guy doing the dirty/clean themes that seems to be looking at it too, so I'm counting on one of you to sort it out
Regardless, thanks again.
-E
Here, sassyness77 has this in his to do list. Perhaps you two could combine forces?
http://forum.xda-developers.com/showthread.php?t=656388
Eddiemc said:
Wow, kewl
Thanks a lot mate, big props.
I'm stumped when it comes to the xml changes for the white text, I have looked at it but it's hard..
found a good guide though:
www.jbthemes.com/AndroidThemeingGuide/The Ultimate Android Themeing Guide.pdf
There's another guy doing the dirty/clean themes that seems to be looking at it too, so I'm counting on one of you to sort it out
Regardless, thanks again.
-E
Here, sassyness77 has this in his to do list. Perhaps you two could combine forces?
http://forum.xda-developers.com/showthread.php?t=656388
Click to expand...
Click to collapse
I sent him a PM, we'll see.
I do have to say I feel incredibly stupid knowing full well that somebody knows how to do this. CM6 RC1 screenshot of Mms.apk (ignore the themed look, that's a Galaxy S theme...):
It's possible!!! If I knew how I'd definitely waste my time doing it for, well, lots of other apps.
CM5.08 had black SMS too.
Alright I hope somebody out there can help us on this one! I'm stuck at the same EXACT spot but haven't taken a good look at the menu.xml yet....
I wonder who made the changes to the mms.apk for cm 508-6? If we found them maybe they could help us on this.
http://www.engadget.com/photos/google-nexus-s-hands-on/#3644044
Google finally did it on their own (at least for the settings icons).

GlossyNotificationsIcons – installed with tiwili - take it, work it, leave it

Hi everyone,
this notification symbols are what you will get with this demonstration:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(all changed icons and all changed apks visible in tiwili_png.zip)
(this charging text exists only for demonstration reasons, completely useless)
but mainly I want to show my new way of installation. Didn´t find anything in this way. It´s a kind of metamorph on PC.
From the beginning of my experiences with android files I complained about the fact that different mods concerning same system.apk “kill” each other, because always complete apks are installed. In other words: last in – first out.
Other disadvantages I see:
Merging apks only with knowledge of changed files inside
Difficult after updating & reflashing
Download & upload size
Nobody sees how a modification works
Same pngs-names on other devices, but e.g. battery-mods don’t work, have to be recoded
So I´ve searched a lot and find nothing, start trying a lot and that´s the result.
Now it´s possible to:
transfer modifications to other builts or hardware
control modifications. Using WinMerge you can compare existing and updating files
have smaller files
can easily be used after flashing new ROM
There are two versions:
tiwili-png:
It´s just for changing pngs inside folders that can be extracted by packaging tools as well. No signing needed. Script deals with existing system-apks on phone, pulls them, using zip-command-line-tool, update files and finally pushes them back to phone. Easy to use and very useful after flashing a new ROM.
All by one click!
BUT: For battery-mods a basic framework-res.apk is needed with the corresponding xml-files within that define number and matter of displaying icons, the rest is just organizing folder with pngs! I added my framework-res.apk from Android Revolution ROM 3.0.
Installation:
Download tiwili_png.zip & extract it
If you like Dinik´s style you´re free to download framework-res.apk and copy it into tiwili_png folder (for update-size demonstration I wanted to keep “real” download size as small as possible)
Open folder & Run backup.bat
Run IfYouWantMyFrameworkres.bat (if point 2 answered with “yes”, it´s 2.3.4)
Wait for ready phone
Run tiwili_png.bat
That´s all
tiwili-png I did first, but afterwards I thought it´s better to be able to mod every file within an apk by this method. So this came out:
tiwili-wholestory:
Every modification accepted. Works with system- and other apks. Signing included. Pulls dependencies from phone, pulls specified apk(s), compiles, changes, decompiles, signs and pushes back. It takes more time than tiwili_png but it´s more powerful. Placing just pngs in system-apps will do the same like other script.
All by one click!
Installation:
Download tiwili_wholestory.zip & extract it
Open folder & Run tiwili_ws.bat (Backups of original files are later in originalAPK folder)
Wait for ready phone
That´s all (demonstrated text modification on English only!)
As always: I´m not responsible for any damage etc. If you want to go back run recovery.bat.
Tiwili-wholestory is just for demonstrating. I´m not very skilled in modding but didn´t want to stop at tiwili-png. I simply use it to mod a widget-clock-app from market with clock-mods from HD2 forum. (market apps must be signed)
But any developer may use it to publish his mods. Modification is easy, ReadMe inside zip-files.
Thanks & credits go to:
Auto-sign.zip by Dave Da illest 1: http://forum.xda-developers.com/showthread.php?t=471634
Apktool by Brut.alll: http://code.google.com/p/android-apktool/downloads/list
Icons & template by Dinik: http://forum.xda-developers.com/showthread.php?t=639163
You can use everything here for your own, for development and for publishing. I think intonation of “public forum” is on “public”.
Who has ideas for the script: talk about it
Who has ideas for better possibilities: talk about it
Who has problems with my english: talk to my teacher, if she´s still alive…
P.S. I don´t know at all which files from systemUI.apk for signal strength are used elsewhere than Germany. But you can simple rename them to proper android file name. Should work.
P.P.S. I bet that´s my first little “program” since the 80´s on my Atari800XL. So don´t laugh so much, please…
Greets
idephili
Quick question
Is it possible to just get the application background (like how the internet app looks on the homescreen) and not the notifications?
I tried this on coredroid 2.2 the other day and all that got changed was the battery icon. The rest were all the same. Was hoping to get some dinik on my phone.
Sent from my Sensation Rockin CoreDroid!
darryll4sh0 said:
Is it possible to just get the application background (like how the internet app looks on the homescreen) and not the notifications?
Click to expand...
Click to collapse
You mean the icons? They´re made with DesktopVisualizer and icons/iconTemplate from this thread.
pimpmaneaton said:
I tried this on coredroid 2.2 the other day and all that got changed was the battery icon. The rest were all the same. Was hoping to get some dinik on my phone.
Sent from my Sensation Rockin CoreDroid!
Click to expand...
Click to collapse
What would be more Dinik? Zip contains notification-icons for a lot of system-apps.
Greets
idephili
great,
but the top bar get transparent only with the original htc skin, on the skin "amazing sence by cypis" ( apk ) the top bar stays as default.. no changes...
is there a way to make the top bar transparent on any skin.. ??
hope it's possible.
thanks ...
great work by the way , i just love it...

[THEME] HTC Wallpapers STOCK ONLY

This is a simple HTC theme for STOCK ONLY. It changes a few icons (usb notifications, loading indicator, battery status), as well as a new lockscreen slider and wallpaper set.
How to install:
1. Download attached file. Copy to KF.
2. Use a file explorer (with root access, preferably Root Explorer) to navigate to /system/framework/
3. Mount /system as writable.
4. Paste the file in /system/framework
Your KF should restart. If not, manually do it.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(Sorry about the orientation)
Quite subtle but welcome changes, was expecting to get rid of the wooden shelves background for something more colorful. Though the wallpaper pack is great but could be assigned with an app on appstore doesn't change much. Replacing framework deleted my accounts and had to re-register emails,kindle,android store. Try to get orange gradient effect for loading bar in android market, the rotating gear is good.
mughalgxt said:
Quite subtle but welcome changes, was expecting to get rid of the wooden shelves background for something more colorful. Though the wallpaper pack is great but could be assigned with an app on appstore doesn't change much. Replacing framework deleted my accounts and had to re-register emails,kindle,android store. Try to get orange gradient effect for loading bar in android market, the rotating gear is good.
Click to expand...
Click to collapse
Sorry about the registration thing. Didn't do it for me. Otherwise, I actually used the original images from my EVO that were accessible. The gear came from the internet. I would use higher resolution images but can't find them. For the shelves, we would need to extract the Launcher.apk, which I am planning on doing work with later. Same goes for systemui.apk. I would rather not pay $99 to put an app in the store when I could do it here for less and more easily.
I meant when installing and downloading an app from appstore the loading bar is blue in your theme I believe the orange goes more naturally with kindle fire rather than blue oscilloscope which you have included. Oh my! the battery Mod is fantastic try incorporating an orange circle one I tried finding but couldn't its visible in homescreen thread early posts.
kindle reebit.
Is the kindle suppose stay in a bootloop? Also I'm using stock 6.3 insecure Rom.
You were supposed to change permissions before moving framework-res apk into system/framework. The probable way is copying the framework file from this thread into system folder change permissions and than move and replace into system/framework/
Permissions
Is it going to be Chmod 644 or something else on root explorer?
firered365 said:
Is it going to be Chmod 644 or something else on root explorer?
Click to expand...
Click to collapse
Easy way check the permission of default framework-res.apk in system/framework/ and change the framework file from this thread accordingly.
/I did. I don't see no battery change.
firered365 said:
/I did. I don't see no battery change.
Click to expand...
Click to collapse
As said the changes are subtle the op has kept the theme clean and overtly simple. The battey indicator turns green while charging and yellow when low before turning red when critically low >5%
my device does not boot anymore. can u help me please ? !!!
Changing permissions before moving the modded framework-res.apk is must.Seems like you missed it now
If you have a backup than restore it from twrp recovery or
Mount your system from twrp menu and push original framework-res.apk extracted from any stock Rom and Change permissions OR
Change permissions of resident franework-res apk file.
Type adb commands on mounting:
adb shell chmod 644 /system/framework/framework-res.apk

Settings App add-on

Ported Tablet UI to 4.1.1. From Galaxy Tab 7 & Note 10.1... Im trying to figure out how to inject the .smali files or create an apk hook to show the settings menu for quicklauncer settings that is implemented on the galaxy 7 to be able to change the quicklaunch icon(none/screenshot/appdrawer/camera/search)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have decompiled the settings.apk from the Tab 7 and these are the .smali files
https://www.dropbox.com/sh/pgpkd9yti70df64/TcAcNwqC7j
The SystemUI.apk and android.service.jar have been changed already and are working. I just need a little direction on how to create a settings app add on...
Here is the thread. And this is how it sits as of now...
http://forum.xda-developers.com/showthread.php?t=2065644
Just trying to add a hook into settings for quicklaunch settings to be able to change the screenshot button.
Also has anyone been able to implement Lidroid/wanam toggles for a tablet before. I used a base that had it implemented for the phone side. However even with searching I have been unable to find a touchwiz based tablet with custom toggles. Sorry If this is the wrong place. I'm still new to this site so please move if I am incorrect for posting here
Integrating application in settings menu
This really handy one.. so take care!!
In this tutorial, we will add USB-Mode program to Settings menu as an example
On your PC
1) Decompile SecSettings.apk.
2) Decompile the program that you want to add to settings menu (USB-Mode)
3) Go to \res\drawable-xhdpi folder and add icon for your program that you want to add (you can take it from decompiled wanted program (USBMode folder).
4) Go to \res\values folder and open strings.xml by NotePad++ and add these lines just before </resources> for your program
Code:
<string name="gloryromaddons">GloryROM Addons</string>
<string name="usbswitcher_text">USB mode switcher</string>
Here change “gloryromaddons” with any thing you want to show as a header in the Settings menu. “usbswitcher_text” is your wanted program
5) Go to \res\xml folder and open settings_headers.xml by NotePad++ and add these lines (the place you put these lines will be the place where added program will be displayed in Settings menu)
Code:
<header android:title="@string/gloryromaddons" />
<header android:icon="@drawable/usbswitcher" android:title="@string/usbswitcher_text">
<intent android:targetPackage="in.zatta.USB_switch" android:action="android.intent.action.MAIN" android:targetClass="in.zatta.USB_switch.USB_switcherActivity" />
</header>
The first line reflect the header title in settings menu (So gloryromaddons will be seen as “GloryROM Addons” in the phone, see strings.xml that we edited and you will figure it out!!)
The 2nd line is for added program:
android:[email protected]/name of icon you put in drawable-xhdpi folder (here we put usbswitcher as the icon name inside drawable-xhdpi)
android:[email protected]/name of string put for added program in strings.xml (here we put usbswitcher_text as in strings.xml)
The 3rd line is the functionality and is the most difficult one:
android:targetPackage=package of wanted program inside its own AndroidManifest.xml (here it is “in.zatta.USB_switch”)
android:action=first action of wanted program inside its own AndroidManifest.xml (here it is “android.intent.action.MAIN”)
androidtargetClass= android:targetPackage.Activity (we have android:targetPackage from previous step but we need also .Activity how to get it??) This is the tricky one so do the following:
On your phone:
install the program you want to add (USB mode switcher) and ADW launcher from Google play and make ADW launcher as your phone launcher. Find a blank area on your homescreen(s), long press, then select custom shortcut --> pick your activity --> activities --> browse down until you find USB switcher app and expand with the arrow on the left of USB switcher, you will see several activities (some may have only one). The first one in the list is usually its opening class; it is in between the ( )'s. In this example it is .USB_switcherActivity
Go back to your PC:
So now androidtargetClass= android:targetPackage.Activity will be:
androidtargetClass= in.zatta.USB_switch.USB_switcherActivity
6) Now compile SecSettings and push it to your phone.
Additional step:
If you want to hide this app from applications drawer do the followings:
1) Decompile your desired app (here USB-Mode.apk)
2) Go to AndroidManifest.xml file and open it by NotePad++
3) Delete this line :
Code:
<category android:name="android.intent.category.LAUNCHER" />
4) Compile your app as non system apk and sign it then push it to your phone
Results example:
Thank you
Sent from my SCH-I605 using xda app-developers app
Deckoz2302 said:
Thank you
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
welcome
Respect
THANKS
I'm capable of reading
Will you just read that worng
Hah again xD
---------- Post added at 07:14 AM ---------- Previous post was at 07:02 AM ----------
I'm capable of reading
Will you just read that worng
Hah again xD
https://www.google.co.il/url?sa=t&s...jUgdAK&usg=AFQjCNGCy72htN8FuEr7ZkQtLczjDNJfAw
Sent from my GT-I9300 using xda app-developers app

[MOD]DarkSense Theming Thread

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Theming thread
How to make icon pack for DarkSense ROM.
There are two ways of creating Icons pack. I prefer Eclipse way, because you dont need to rely on existing apk.​
In VTS (Virtuous Ten Studios)
1. Download Sample.apk and create new project:
View attachment DarkSense_Icons_Sample.apk
2. Open source folder. go to - yourproject/apkname/Data/smali/com/darksense/rosie/theme/Sample
Change folder name "Sample" to whatever icon's pack name. so it should be like this :
com/darksense/rosie/theme/YourNewName/
Refresh project in vts.
3. Open Manifest and
change package name -
Code:
package="com.darksense.rosie.theme.Sample"
to -
Code:
package="com.darksense.rosie.theme.YourNewName"
4. Then change activity info
Code:
android:name="com.darksense.rosie.theme.Sample.MainActivity"
to
Code:
android:name="com.darksense.rosie.theme.YourNewName.MainActivity"
Folder, package name and activity name should be the same
Refresh project.
5. Go to string and change names to yours
6. Open drawable-hdpi and add , change icons to your new icons with keeping the icons name as in the sample.​
In Eclipse
1.Create new project. name package like this com.darksense.rosie.theme.YourIconsName
2. After creating project go to MainActivity and replace class MainActivity with this:
here your package name and imports..
Code:
public class MainActivity extends Activity {
public void onCreate(Bundle bundle)
{
super.onCreate(bundle);
}
}
3. Open manifest and look for line
Code:
<action android:name="android.intent.action.MAIN" />
under this line add this
Code:
<action android:name="darksense.rosie.launcher.THEME" />
and remove this
Code:
<category android:name="android.intent.category.LAUNCHER" />
4. Open strings and replace data with this
Code:
<string name="theme_title">YourIcon name</string>
<string name="theme_description">YourName DarkSense Icon pack</string>
5. Go back to manifest and change (two times) from
Code:
app_name
to
Code:
theme_title
6. Go to values and create new xml file called arrays
paste this data into arrays resources
Code:
<string-array name="icon_pack">
<item>com_mikrosmile_store_mainactivity</item>
</string-array>
7. Add your icons in drawable-hdpi.
Refrsh project and try it. If everything is good, then export it as apk.​
If you are developer of existing icons for other ROMs
Open manifest and change:
Code:
<action android:name="****.rosie.launcher.THEME" />
to
Code:
<action android:name="darksense.rosie.launcher.THEME" />
How to add more icons for more applications​
In both ways you can add as many modified icons for apps as you want. Just in case of VTS you cannot remove existing icons.
To find the icon name install app Android System Info (from Google Play)
Open application and go to Apps tab.
Click on application you want to modify, open its AndroidManifest and look for
1. Package name - at the top of manifest = android: package = "com.***.***.***"
2. activity - Look for line with android.intent.action.MAIN and just few lines above it you will find <activity android:name=".***"
sometimes there will be .MainActivity sometimes can be like .xx.xx.Main and exaclty with dot before name.
if activity name here <activity android:name=".***" starts without dot, try to use this name for icon, without package name.
Example AdAway application.
Package name - org.adaway
main activity - .ui.BaseActivity
together org.adaway.ui.BaseActivity convert it to org_adaway_ui_baseactivity and name the icon exactly like that.
Example 2 in case of if.
main activity - ui.BaseActivity
your icons name - ui_baseactivity
You finish? Send me pm and i will add it to DarkSense Store.
DarkSense Store contains this :
Sense 5 Stock, Blue, Red made by 12reza12
Real Icons
Bird Icons
Cloud Icons
Real, Bird and Coud icons provided by kinghunki
Nice! Do you guys already have sense 5 icons? Otherwise I can make a quick icon pack.
Sent from my awesome fridge
MaartenXDA said:
Nice! Do you guys already have sense 5 icons? Otherwise I can make a quick icon pack.
Sent from my awesome fridge
Click to expand...
Click to collapse
Thanks, yeah we have it)
Later I will add what we already have in darksense store ..
Sent from my Galaxy Nexus using Tapatalk 2
Hope more enthusiasts join DarkSense!
I've been using DarkSense since a week but I'm pretty sure I'll not leave it until I'll sell my beloved Sensation!
Hope new skins and icons will come :good:
Keep up with the good work guys
Sense 5 Stock, Blue, Red made by 12reza12 .
--------------------------
Circuit Mékong-Randonnée à Sapa-Voyage Laos
Vegio said:
I've been using DarkSense since a week but I'm pretty sure I'll not leave it until I'll sell my beloved Sensation!
Hope new skins and icons will come :good:
Keep up with the good work guys
Click to expand...
Click to collapse
Stay tuned

Categories

Resources