EDIT: This mod has been integrated directly into the Fresh 2.1.2 ROM, thus, to date, I have yet to update it as a standalone MetaMorph / Zip.
Based on popular demand, I decided to take a look at the Vanilla Lockscreen today, to see if there was a way to remove the majority of text from the screen, so that all you are left with, for the most part, is the slider bar for screen unlock and the slider bar for volume on/off.
It turned out to be quite an undertaking, and required some significant code modifications, and unfortunately, a single hex edit to an XML file, meaning the mod is spread across 2 files, rather than my goal of 1. But, having said this, I am pleased to announce my efforts were not in vain.
Ladies and gentlemen, I present to you, a completely clear Vanilla lockscreen for your enjoyment . Special thanks to flipzmode for the original format fix on the vanilla lockscreen. My starting point for working on this fix was the android.policy.jar file containing flipz's fix for the formatting, emergency call, as well as the menu key unlock disable.
Reference:
{
"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"
}
First, if you are currently running the stock HTC Lockscreen, if you wish to move to the Vanilla lockscreen, after flashing one of the options below, you will need to move your HTC Lockscreen out of the way, via adb, by doing the following:
Code:
adb remount
adb shell
cd /system/app
mv HtcLockScreen.apk HtcLockScreen.bak
exit
This will NOT delete your stock lockscreen, rather, simply move it out of the way, so that if you want to move back to the stock lockscreen, you can also undo your change:
Code:
adb remount
adb shell
cd /system/app
mv HtcLockScreen.bak HtcLockScreen.apk
exit
As mentioned, above, the fix is across two framework files, 'android.policy.jar', as well as the 'keyguard_screen_tab_unlock.xml' file in the \res\layout folder of the 'framework-res.apk' file.
Attention: Since you are changing a core android framework file, after flashing, your Dalvik cache will get rebuilt, so rebooting will take some time, based on the number of apps you have installed. Be patient and watch your logcat.
So, here are your 2 options.
Option #1
Option #1's flashable zip contains BOTH files. Flash this for a completely clear vanilla lockscreen ONLY if you have not made any other changes (themes) within your framework-res.apk file (custom taskbar), as the zip will return this file back to stock, with the exception of my fix for the lockscreen.
Vanilla Lockscreen No Text Complete <---Only flash if you are running stock theme from Fresh 2.0d.
Option #2
Option #2's flashable zip contains the 'android.policy.jar' file ONLY. Flash this to make the primary framework file change:
Vanilla Lockscreen No Text Jar Only <---This is the .jar file only.
Then, after flashing the jar file only, you will need to manually edit your 'framework-res.apk' file, by placing the file below in the framework-res.apk's '\res\layout\' folder.
keyguard_screen_tab_unlock.xml.txt<---Remove .txt extension after downloading.
Code:
adb pull /system/framework/framework-res.apk .
Open 'framework-res.apk' with WinRar or 7zip, navigate to the '\res\layout\' folder, and drag and drop the above XML into this folder. Close up the file, then:
Code:
adb remount
adb push framework-res.apk /system/framework
adb reboot
If you are running a different ROM, other than stock espresso Fresh 2.0d, then Option #2 presented above is your best course of action, so as to not mess up your existing taskbar, etc.
Also, it should be noted, this does not contain any of the Alarm clock changes, etc, necessary when you are using the Vanilla lockscreen. Please see Flipz's site for flashing the needed files if you are NOT already running the Vanilla lockscreen and don't want to have alarm clock disable issues.
EDIT: If you prefer an opaque (non-transparent) black background, rather than the default / semi-transparent, please see here.
EDIT 2: If you are a MetaMorph user, thanks to danaff37 for putting together a few MetaMorphs of my mod that you can use as well.
EDIT 3: New version posted which allows for a background wallpaper image instead, see here.
EDIT 4: See this post to remove the haptic feedback after having first flashed your desired vanilla version above.
sweeeeeeeeeeeet! I just wish the HTC clock/weather widget updated under the lock screen
Awesome! Thanks man!
Does this include the no-menu-unlock mod too?
Lol, jschisurf, you are beast with these mods, not gunna lie
I've got a deodex'd legend rom, so i'm gunna see what i can do based off this
darchstar said:
Lol, jschisurf, you are beast with these mods, not gunna lie
I've got a deodex'd legend rom, so i'm gunna see what i can do based off this
Click to expand...
Click to collapse
10chars
Gregalous said:
Does this include the no-menu-unlock mod too?
Click to expand...
Click to collapse
Yes, it does.
JsChiSurf said:
My starting point for working on this fix was the android.policy.jar file containing flipz's fix for the formatting, as well as the menu key unlock disable.
Click to expand...
Click to collapse
just out of curiosity, have you removed the haptic feedback from the lock as well? that was something I had asked a few other Devs about.
DanWalker said:
just out of curiosity, have you removed the haptic feedback from the lock as well? that was something I had asked a few other Devs about.
Click to expand...
Click to collapse
No, I did not look at that at all. It's not something that bothers me / wasn't aware of it as an "popular" request. I can certainly look at it though.
JsChiSurf said:
No, I did not look at that at all. It's not something that bothers me / wasn't aware of it as an "popular" request. I can certainly look at it though.
Click to expand...
Click to collapse
I'm not sure that it's a "popular" request just something I was asking Konikub about and he had agreed that he didn't like it either. It just seems to cause a bit of a lag when unlocking my phone. If it's something that cannot be done without a lot of work I will live with it.
You "ARE" the man!!!!! This is just what I was looking for A true master, at such a tricky craft!!! All hats go off to you!!!
guess i dont get it, cause im too noob
epitaphromance said:
guess i dont get it, cause im too noob
Click to expand...
Click to collapse
Perhaps this makes it clearer (no pun intended)?
so we can't use a custom theme in addition to this?
smoother2010 said:
so we can't use a custom theme in addition to this?
Click to expand...
Click to collapse
Sure, use Option #2, as explained.
if i was to use option two would it mess with my lock that i have now ?
I apologize for what I'm certain is a noob question but...
JsChiSurf said:
Then, after flashing the jar file only, you will need to manually edit your 'framework-res.apk' file, by placing the file below in the framework-res.apk's '\res\layout\' folder.
Click to expand...
Click to collapse
How? Are you saying we need to hex edit framework-res.apk, or just stick
"keyguard_screen_tab_unlock.xml" someplace?
id use this lock screen if we could apply custom background wallpapers.
702DROID said:
if i was to use option two would it mess with my lock that i have now ?
Click to expand...
Click to collapse
It would change the background for opaque black to semi-transparent as shown in the OP, but your graphics would remain unchanged.
smw6180 said:
I apologize for what I'm certain is a noob question but...
How? Are you saying we need to hex edit framework-res.apk, or just stick
"keyguard_screen_tab_unlock.xml" someplace?
Click to expand...
Click to collapse
All the heavy lifting is already done for you. Yes, per the instructions, just stick "keyguard_screen_tab_unlock.xml" in the \res\layout folder in 'framework-res.apk'.
smoother2010 said:
id use this lock screen if we could apply custom background wallpapers.
Click to expand...
Click to collapse
For me, it defeats the point / goal of what I wanted to achieve, i.e. seeing clear through to the desktop behind the lockscreen, with nothing obstructing the view...
Related
Updated 5/26/10 with new version supporting Fresh 2.1.2. See Here for download.
EDIT 4/12/10: See last link at the bottom of this thread regarding the shaded notification area apk/option
Ladies and Gentlemen, after a bunch of trial and error, I am proud to announce that I have achieved a clear lock screen for 2.1. I arrived at this starting with the Fresh 2.0d framework, but this should work on the latest DamageControl ROM as well, since they are both based on the latest Sprint leak.
This will provide a clear lock screen, as well as blank out the "Sprint" text above the clock on the lock screen. Essentially, allowing you to customize a clear lock screen the same way traditionally done on 1.5 ROMs.
Included is a transparent png for 'lockscreen_topedge.png', so themers who want to create their own graphics over top of the clear lock screen should replace this .png with their custom graphic. You can see in my screen capture below, I replaced it with my own custom team logo. However, as mentioned, the attached zip simply provides a completely clear lock screen with no image and clock / date only.
It should also be noted that since HTC has merged a few elements into a single apk, that to clear out the lock bar graphics, I had to include in the attached signed zip the 'com.htc.resources.apk' file as well. What this means is that if you have done any other customizations, such as changing your Rosie launcher from the default Fresh 2.0d espresso launcher to any other launcher, as well as some modifications to your taskbar, the attached will undo this and revert back (at least partially) to the original Espresso launcher included by default, as well as some stock taskbar icons.
Themers can take this and run with it to modify other elements as necessary.
Before flashing the attached zip from recovery, you need to either use Fresh's kitchen to clear out your current cached wallpaper (it will still work), or manually do so via adb by doing the following:
Code:
adb remount
adb shell
cd /data/misc/lockscreen
rm *
cd /system/customize/resource
rm htc_wallpaper*
exit
Note: You may or may not have anything to delete in /system/customize/resource, so if you get an error message, don't worry.
Then, reboot into recovery, flash the attached zip from your sdcard, and you are off to the races. Enjoy!
Download Signed Zip <--- Also clears the lockbar (w/side affect of having to flash stock espresso launcher found in Fresh 2.0d)
Download Signed Zip <--- Also clears the lockbar (w/side affect of having to flash stock HTC Rosie launcher found in DC v2.05)
EDIT: Attached is another zip that will ONLY change the HtcLockScreen.apk. ONLY flash this if you ALREADY have the clear lockbar flashed from a previous mod. Using this will prevent changing of your launcher and/or taskbar elements, but also will NOT clear out the lockbar icons (gray/black arches on stock HTC lockscreen). So again, ONLY flash if you already have a clear lockbar. Otherwise, you will have to manually edit your com.htc.resources.apk file to insert the clear lockbar images (see post later in this thread)
Download Signed Zip <--- If you already have a clear lockbar.
Reference (note: this shows my own custom launcher, however, as mentioned above, the attached zips includes the stock ROM launcher):
{
"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"
}
EDIT 2: By popular demand, I have also created a completely "clockless / date-less" clear lockscreen (see below), which can be found Here. As mentioned in that post, since it is completely clear, I had to drop-in / default something, so you know the lockscreen is active, so I made it the android logo you see below. Change as desired.
Reference (w/o clock & date):
---- Menu key disabled apk below ----
EDIT 3: I have also modified the HtcLockScreen apk to disable the 'Menu' key for unlocking the screen. If you prefer this functionality, see here.
EDIT 4: Inverted version, with black text on white background, including menu key unlock disabled can be found here.
EDIT 5: To add a shaded notification at the bottom of your lockscreen, ONLY when a notification is present, see here.
JsChiSurf said:
Ladies and Gentlemen, after a bunch of trial and error, I am proud to announce that I have achieved a clear lock screen for 2.1. I arrived at this starting with the Fresh 2.0d framework, but this should work on the latest DamageControl ROM as well, since they are both based on the latest Sprint leak.
This will provide a clear lock screen, as well as blank out the "Sprint" text above the clock on the lock screen. Essentially, allowing you to customize a clear lock screen the same way traditionally done on 1.5 ROMs.
Included is a transparent png for 'lockscreen_topedge.png', so themers who want to create their own graphics over top of the clear lock screen should replace this .png with their custom graphic. You can see in my screen capture below, I replaced it with my own custom team logo. However, as mentioned, the attached zip simply provides a completely clear lock screen with no image and clock / date only.
It should also be noted that since HTC has merged a few elements into a single apk, that to clear out the lock bar graphics, I had to include in the attached signed zip the 'com.htc.resources.apk' file as well. What this means is that if you have done any other customizations, such as changing your Rosie launcher from the default Fresh 2.0d espresso launcher to any other launcher, the attached will undo this and revert back (at least partially) to the original Espresso launcher included by default.
Themers can take this and run with it to modify other elements as necessary.
Before flashing the attached zip from recovery, you need to either use Fresh's kitchen to clear out your current cached wallpaper (it will still work), or manually do so via adb by doing the following:
Code:
adb remount
adb shell
cd /data/misc/lockscreen
rm *
exit
Then, reboot into recovery, flash the attached zip from your sdcard, and you are off to the races. Enjoy!
Download Signed Zip
Referance:
Click to expand...
Click to collapse
Can not wait to try this out. Huge fan of creating custom lockscreens
Care to share how you accomplished this being as the original file was a jpg?
ccapasso said:
Can not wait to try this out. Huge fan of creating custom lockscreens
Care to share how you accomplished this being as the original file was a jpg?
Click to expand...
Click to collapse
I decompiled the apk and nulled out the call to the jpg all together. This ends up with a default black background, that I then hex edited in the XML to change to transparent instead. That's the short version.
JsChiSurf said:
I decompiled the apk and nulled out the call to the jpg all together. This ends up with a default black background, that I then hex edited in the XML to change to transparent instead. That's the short version.
Click to expand...
Click to collapse
You mind sharing the xml name that you edited? I've been working on this for a while LOL
You beat me hahah
I nulled the call, but I don't know a lot about hex editing, I had the black screen. Didn't know what to do
regaw_leinad said:
You mind sharing the xml name that you edited? I've been working on this for a while LOL
You beat me hahah
Click to expand...
Click to collapse
You can see it based on last modifed dates right in the apk, that the 2 files changed were:
htc_keyguard_screen_lock.xml
lock_screen_bar.xml
But this was not it. I also modified the classes.dex file to alter some calls as well.
JsChiSurf said:
You can see it based on last modifed dates right in the apk, that the 2 files changed were:
htc_keyguard_screen_lock.xml
lock_screen_bar.xml
But this was not it. I also modified the classes.dex file to alter some calls as well.
Click to expand...
Click to collapse
i updated my post after you quoted apparently lol
and where do you do your hex editing?
So I am assuming that we can edit the lockscreen_topedge.png file same as before to get the results that we want with custom images correct?
ccapasso said:
So I am assuming that we can edit the lockscreen_topedge.png file same as before to get the results that we want with custom images correct?
Click to expand...
Click to collapse
Correct, as referenced in my first post.
nice flashing now
702DROID said:
nice flashing now
Click to expand...
Click to collapse
I have the clear rosie theme and I am trying get rid of the nasty lockscreen that came with it. I used the zip one you put in here but the rosie comeback. Man this sux.
JsChiSurf said:
Ladies and Gentlemen, after a bunch of trial and error, I am proud to announce that I have achieved a clear lock screen for 2.1. I arrived at this starting with the Fresh 2.0d framework, but this should work on the latest DamageControl ROM as well, since they are both based on the latest Sprint leak.
This will provide a clear lock screen, as well as blank out the "Sprint" text above the clock on the lock screen. Essentially, allowing you to customize a clear lock screen the same way traditionally done on 1.5 ROMs.
Included is a transparent png for 'lockscreen_topedge.png', so themers who want to create their own graphics over top of the clear lock screen should replace this .png with their custom graphic. You can see in my screen capture below, I replaced it with my own custom team logo. However, as mentioned, the attached zip simply provides a completely clear lock screen with no image and clock / date only.
It should also be noted that since HTC has merged a few elements into a single apk, that to clear out the lock bar graphics, I had to include in the attached signed zip the 'com.htc.resources.apk' file as well. What this means is that if you have done any other customizations, such as changing your Rosie launcher from the default Fresh 2.0d espresso launcher to any other launcher, the attached will undo this and revert back (at least partially) to the original Espresso launcher included by default.
Themers can take this and run with it to modify other elements as necessary.
Before flashing the attached zip from recovery, you need to either use Fresh's kitchen to clear out your current cached wallpaper (it will still work), or manually do so via adb by doing the following:
Code:
adb remount
adb shell
cd /data/misc/lockscreen
rm *
exit
Then, reboot into recovery, flash the attached zip from your sdcard, and you are off to the races. Enjoy!
Download Signed Zip
Referance:
Click to expand...
Click to collapse
OK, must admit to being slightly confused
I have Regawmod with black launcher.
If I flash this (which I Just did) it defaults to espresson launcher.
How did you end up with white launcher as in this screen shot ? And how can I get my black launcher back WITH clear lockscreen WITHOUT the bar ?
marcusva79 said:
I have the clear rosie theme and I am trying get rid of the nasty lockscreen that came with it. I used the zip one you put in here but the rosie comeback. Man this sux.
Click to expand...
Click to collapse
Not sure what you are talking about here.
i get remount failed any tips?
grifforama said:
OK, must admit to being slightly confused
I have Regawmod with black launcher.
If I flash this (which I Just did) it defaults to espresson launcher.
How did you end up with white launcher as in this screen shot ? And how can I get my black launcher back WITH clear lockscreen WITHOUT the bar ?
Click to expand...
Click to collapse
Did you read the first post?
I have the white launcher because I customized 'com.htc.resources.apk' to be that way. Since 'com.htc.resources.apk' also includes the launcher, as well as the graphics that you need to make transparent for the clear lockbar, I have no choice but to inlcude the stock espresso as the launcher in the attached zip.
sdotcarlisle said:
i get remount failed any tips?
Click to expand...
Click to collapse
Is your phone connected to USB? If you are not comfortable with adb you can use Fresh's kitchen as mentioned.
JsChiSurf said:
Did you read the first post?
I have the white launcher because I customized 'com.htc.resources.apk' to be that way. Since 'com.htc.resources.apk' also includes the launcher, as well as the graphics that you need to make transparent for the clear lockbar, I have no choice but to inlcude the stock espresso as the launcher in the attached zip.
Click to expand...
Click to collapse
So.
how can I get my black launcher back WITH clear lockscreen WITHOUT the bar ?
grifforama said:
How did you end up with white launcher as in this screen shot ? And how can I get my black launcher back WITH clear lockscreen WITHOUT the bar ?
Click to expand...
Click to collapse
You have to merge / modify your original 'com.htc.resources.apk' file to keep (not change), your original black launcher, but include the clear lockbar graphics. Unfortunately, they are BOTH in the same file.
Go to the com.htc.resources.apk file in the attached zip, and in the:
com.htc.resources.apk\res\drawable-mdpi
folder, grab the images:
lockscreen_arc.png
lockscreen_arcglass_bottom.png
lockscreen_arcglass_top.9.png
And drop them in the same folder in your original com.htc.resources.apk file, and push it back to your phone, and you will retain your original launcher but have the clear lock bar to go along with the clear lockscreen.
what hex editing software do you use?
regaw_leinad said:
what hex editing software do you use?
Click to expand...
Click to collapse
Everybody has a preference, I LOVE Hex WorkShop.
I decided to start this thread because I just finished my first EVO mod.
I'll continue to use this thread to post any more stuff I do in the future.
Don't expect too much from this thread, I'm pretty much a weekend warrior when it comes to this stuff but I do like to tweak things to my preference and if anyone else digs it then cool.
I'm partial to DC roms so anything I post here was built on DC, if it's not I will clarify.
Most DC mods will work on other roms also built on the Sprint release but I make no guarantees and will probably not be doing any testing on other builds
NANDROID FIRST!!!
________________________________________________
Gray Dials for DC 3.5
{
"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"
}
signed zip
graydials_signed.zip
________________________________________________
Battery Gauge Icons
I haven't figued out how to make the .xml's for metamorph so these are flashable signed.zips of each battery set.
I've also included a NON flashable .zip of all the flashable .zips and a .zip of the images for
those who would like to drop the .png's in themselves to preserve any other themes/mods (to the framework-res.apk).
See the bottom of this post for "How To Add .pngs to framework-res.apk".
None of these have a BG, I put gray behind them so you can see the depth a little better
DOWNLOAD - batt_gauge_black_signed.zip
DOWNLOAD - batt_gauge_blue_signed.zip
DOWNLOAD - batt_gauge_red_signed.zip
DOWNLOAD - batt_gauge_glow_signed.zip
My first Metamorph!! METAMORPH _ GlowBattery.zip
Metamorph - View attachment GlowBattRN.zip
DOWNLOAD - batt_round_blue_signed.zip
DOWNLOAD - batt_round_white_signed.zip
These two .zips are NOT flashable.
They are a .zip of all of the flashable .zips above (if you want to try more than one )
and a .zip of the .pngs themselves along with the .psd (if anyone wants to play )
They also both include this Alarm ON Icon
Battery_Gauge_Set.zip (all the flashable zips above)
nebs_2.2_batt_Icons.zip (all the icon .pngs)
I just realized the Alarm ON Icon I included has the stock Sense taskbar bg..
Here is one w/o the bg if anyone wants it:
________________________________________________
The following transparent notification tray works on 2.1 ONLY
Please don't flash this if you are running 2.2 or you WILL get boot loops after your first boot animation cycle
I'm sorry I haven't posted it for 2.2 yet, I'm too damn lazy
Transparent Notification Tray
For: DC 3.2.3 - THIS ONLY WORKS ON 2.1 ROMS
-some have reported the ear icon showing up, I have not seen this myself..
Be warned:
The notification bar background is part of the system framework. If you flash this
it will undo any mods you have done to the framework-res.apk
Download HERE
________________________________________
Click to expand...
Click to collapse
HOW TO CHANGE FRAMEWORK ICONS AND PRESERVE OTHER MODS:These instructions will work on Sprint/HTC as well as AOSP builds
MAKE A NANDROID BACKUP !!!!
Plug phone into PC (USB)
Open a cmd prompt (may need to open as administrator in win7/vista, not sure)
Navigate to "c:\android-sdk\tools" (unless it's in your path)
Type the following:
Code:
adb remount
adb pull /system/framework/framework-res.apk c:\
Open a windows explorer window and locate the framework-res.apk you just pulled to c:\
Use 7zip or WinRAR to open the archive of the framework-res.apk (right click on the .apk)
In the archive of the .apk open res/drawable-hdpi, you should see a TON of .pngs
Open the folder that contains the images you want to use
Drag and drop the images into res/drawable-hdpi (the new images must be the same name as the original)
Close 7zip/WinRAR
Go back to your cmd prompt and type:
Code:
adb push c:\framework-res.apk /system/framework
[COLOR="green"][B]#Once the push is finished QUICKLY TYPE:[/B]
[/COLOR]
adb reboot
*Replacing framework-res can have some funky effects on the phone. When you are booted (only once, the first time after pushing the apk) it's likely your wallpaper will be reset to stock and you may have to add your google account back and re-sync, neither have been terribly inconvenient for me
how do you install? sorry for a noobish question.
lawnmower said:
how do you install? sorry for a noobish question.
Click to expand...
Click to collapse
place on root of sd, in recovery flash from zip.
works great with new DC rom.
^^ Boot into recovery and flash it like an update package.
BTW, flashed this and it works beautifuly had to re metamorph my battery icon, but other than that looks fantastic. Thank you.
Badious said:
BTW, flashed this and it works beautifuly had to re metamorph my battery icon, but other than that looks fantastic. Thank you.
Click to expand...
Click to collapse
cool
Yeah I should have mentioned the notibar bg is part of the framework so there's lots of stuff that will return to stock if you flash this.
I expected it to replace it so it was no surprise when it did
Badious said:
I expected it to replace it so it was no surprise when it did
Click to expand...
Click to collapse
What battery icons are you using?
I really liked the glassy looking 6bar battery icon set on the hero.
Beautiful man! Love it, had my nexus like that too. Looks real slick with the clear lock screen too. My phone is comming together perfectly, and you helped with that. So THANK YOU
Its one from the nexus one. Its a circular six part one. See attached.
Sent from my PC36100 using XDA App
Looks great on Calkulin's ROM. Thanks a lot
Thanks
Sup Nebz.. been a minute hope all is well. Thanks for the mods, awsome work.. added to themes for easy find. Keep up the skills
good stuff Nebz
FYI .. this messes up the battery icon with the ROMS with the new RUU .. ex fresh 1.01 .. battery icon turns into an ear
iTouch24 said:
FYI .. this messes up the battery icon with the ROMS with the new RUU .. ex fresh 1.01 .. battery icon turns into an ear
Click to expand...
Click to collapse
FROM THE OP said:
Be warned:
The notification bar background is part of the system framework. If you flash this
it will undo any mods you have done to the framework-res.apk
Click to expand...
Click to collapse
makes sense if you are running acustom rom. you made a nandroid right?
[email protected] said:
makes sense if you are running acustom rom. you made a nandroid right?
Click to expand...
Click to collapse
yup i am back to normal from the backup .. hopefully there will be an update on this mod
Working on stuff for 2.2 now..
I will be posting a transparent tray for DC FroYo soon
Right now I'm working on some taskbar icons. I thought it might be cool to have a fuel gauge for the battery..
I have the whole battery set done once I get a couple more things done I'll zip and sign an update if anyone's interested
I thought about doing a speedometer for cdma but FroYo only uses 4 icons..
nebenezer said:
Working on stuff for 2.2 now..
I will be posting a transparent tray for DC FroYo soon
Right now I'm working on some taskbar icons. I thought it might be cool to have a fuel gauge for the battery..
I have the whole battery set done once I get a couple more things done I'll zip and sign an update if anyone's interested
I thought about doing a speedometer for cdma but FroYo only uses 4 icons..
Click to expand...
Click to collapse
That is a cool idea!
SteelH said:
That is a cool idea!
Click to expand...
Click to collapse
thanks man
I thought they would look kinda hokey when I got them on the phone but I just put them on this morning and I have to say they're actually pretty cool
I'm starting to like where these gauge icons are headed
These are WiFi, dBm, and battery
I don't know how I'm gonna do EvDo yet. There are 8 images for evdo/1x...
Does anyone still have instructions/required files for changing the notification bar on a 2.2 Droid X?
Before it is linked, I have already looked at teenfaces' thread; if you look, you'll notice that teenfaces has edited the initial post (presumably where the instructions were).
Just to cover all of my bases, I have tried the pre-2.2 post. (A boot loop says it doesn't work.)
Any suggestions?
{
"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"
}
If that is what you mean by notification bar, then changing that is pretty simple. I modify mine almost everyday. If you are rooted and have ninjamorph. The file is in System/Framework/Framework-res.apk/res/drawable-hdpi and is called status_bar_background.png. Simply modify that in photoshop, save as png and swap out with ninjamorph.
Alternatively I'm sure you could pull this out with adb. Commands would be
adb pull system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then modify and save over that file
then adb push status_bar_background.png system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then reboot.
williams37 said:
If that is what you mean by notification bar, then changing that is pretty simple. I modify mine almost everyday. If you are rooted and have ninjamorph. The file is in System/Framework/Framework-res.apk/res/drawable-hdpi and is called status_bar_background.png. Simply modify that in photoshop, save as png and swap out with ninjamorph.
Alternatively I'm sure you could pull this out with adb. Commands would be
adb pull system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then modify and save over that file
then adb push status_bar_background.png system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then reboot.
Click to expand...
Click to collapse
That is what I mean.. However, in teenfaces' pre-2.2 post, it mentions changing the services.jar file.. Which is why I thought that simply changing the background image in the framework apk wouldn't work.
I have no experience with Ninjamorph. I'm not going to even try to play it off - I've only recently decided to take the plunge and root. (And I only decided to root because I wanted to change the font, phone-wide.) So, I'm pretty new to all of this.
Well welcome to theming. I am new to this as well. I have a few things on my modifying to-do list that I am completely stuck at. I will test out the adb codes I just posted and let you know for sure before you attempt.
{EDIT}Ok, this is best done with ninjamorph. I just tried through adb and got stuck in a bootloop. In photoshop create a document thats 480 x 770. This will be your statusbar background. Do what you want to it and save it as status_bar_background.png on your sd card where you can find it. I keep mine in a folder called THEMES.
In ninjamorph (free from market) Select:
Start Checks (will ask for root)
New Project
System
framework
framework-res.apk (it will extract the files)
res
drawable-hdpi
status_bar_background.png
then select the file you created from your sd card
hit the back button until you are on the main ninjamorph screen
select finish project
select framework-res
click yes
click no
click yes
it will reboot
when you reboot you may get a forceclose
hold your power button and reboot again
have fun!
williams37 said:
Alternatively I'm sure you could pull this out with adb. Commands would be
adb pull system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
Click to expand...
Click to collapse
I'm impatient. -Blush.- I decided to give it a try myself. I just grabbed the framework-res.apk (that way I'll have a backup copy if something goes wrong. However, the code you posted didn't work. Turns out, the path should be /system/framework/framework-res.apk
Anywho. I'm interested in modifying the images for the battery, etc. I'm hoping to find those images in the framework-res.apk (I haven't looked yet.) Any words of caution before modifying those as well?
paramnesya said:
I'm impatient. -Blush.- I decided to give it a try myself. I just grabbed the framework-res.apk (that way I'll have a backup copy if something goes wrong. However, the code you posted didn't work. Turns out, the path should be /system/framework/framework-res.apk
Anywho. I'm interested in modifying the images for the battery, etc. I'm hoping to find those images in the framework-res.apk (I haven't looked yet.) Any words of caution before modifying those as well?
Click to expand...
Click to collapse
just make backups before attempting changing system files. I really do think ninjamorph takes the guess work out of a lot of things. I didn't have good luck pushing my framework-res.apk back in adb and that may be because of the rom I'm using. But there are lots of good batteries floating around on these forums. Good luck
williams37 said:
just make backups before attempting changing system files. I really do think ninjamorph takes the guess work out of a lot of things. I didn't have good luck pushing my framework-res.apk back in adb and that may be because of the rom I'm using. But there are lots of good batteries floating around on these forums. Good luck
Click to expand...
Click to collapse
Thanks for getting me started in the right direction!
You need to edit services.jar to change your font color to white. There is a video on youtube showing how to do this. Then the images are in the framework-res.apk open it with 7zip and move the new images into the .apk then boot to clockwork and push it with adb while in clockwork recovery. Then reboot. It should work, if not post back and I am sure someone here will try to help.
The actual .png for the status bar is statusbar_background.9.png. Since I don't know how to compile my own .9 png's I usually borrow somelses.
Sent from my DROIDX using Tapatalk
XDRDX said:
You need to edit services.jar to change your font color to white. There is a video on youtube showing how to do this. Then the images are in the framework-res.apk open it with 7zip and move the new images into the .apk then boot to clockwork and push it with adb while in clockwork recovery. Then reboot. It should work, if not post back and I am sure someone here will try to help.
The actual .png for the status bar is statusbar_background.9.png. Since I don't know how to compile my own .9 png's I usually borrow somelses.
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
There is two files almost the same name. But the one I edited and got my name and fox logo on was Status_bar_Background.png... NOT the .9.png
Thats how it is on my rom anyways. I am realizing I have different system files than many people on here.
do you need to be deodexed for this to work? I've tried it twice now, and no dice.
williams37 said:
Well welcome to theming. I am new to this as well. I have a few things on my modifying to-do list that I am completely stuck at. I will test out the adb codes I just posted and let you know for sure before you attempt.
{EDIT}Ok, this is best done with ninjamorph. I just tried through adb and got stuck in a bootloop. In photoshop create a document thats 480 x 770. This will be your statusbar background. Do what you want to it and save it as status_bar_background.png on your sd card where you can find it. I keep mine in a folder called THEMES.
In ninjamorph (free from market) Select:
Start Checks (will ask for root)
New Project
System
framework
framework-res.apk (it will extract the files)
res
drawable-hdpi
status_bar_background.png
then select the file you created from your sd card
hit the back button until you are on the main ninjamorph screen
select finish project
select framework-res
click yes
click no
click yes
it will reboot
when you reboot you may get a forceclose
hold your power button and reboot again
have fun!
Click to expand...
Click to collapse
dougivks said:
do you need to be deodexed for this to work? I've tried it twice now, and no dice.
Click to expand...
Click to collapse
you know what, i'm sorry guys, I didnt even consider that. I am running ApeX 1.3.1. which is a deodexed rom. That may have to do with some of the trouble you guys are running into.
dougivks said:
do you need to be deodexed for this to work? I've tried it twice now, and no dice.
Click to expand...
Click to collapse
I haven't tried anything yet (other than pulling the framework-res.apk). I'm still doing research. From what I've read, though, you definitely have to be deodexed.
I plan on attempting it this week.. If all goes well, I intend on writing some instructions up. In the meantime, if anyone else gets it done, feel free to post some helpful pointers!
Just so I'm clear, what I want to do is modify the notification bar and pull-down without using a rom.
williams37 said:
you know what, i'm sorry guys, I didnt even consider that. I am running ApeX 1.3.1. which is a deodexed rom. That may have to do with some of the trouble you guys are running into.
Click to expand...
Click to collapse
I deodexed and tried a third time, still nothing. I think I'm deodexed that is. Is there any test to know for sure if your deodex process worked for sure? I used the OTA Auto-Deodex
to expand on part of your instructions
yes
no
yes
the actual questions I get are
Confirm action - overwrite with finished project -yes
confirm action - zip align -no
reboot phone - OK (no yes or no option)
and then only once did i get a last yes/no about cleaning up files. i said yes.
are these the correct answers? and on the hit back button until main ninjamorph menu, is that the phone back button, or the on screen back button?
I threw together a simple app to change the Carrier Name in the status bar/lockscreen to whatever you want since my alot of people seem to ask how to change it. Feel free to use it. Tested on Incredible and Eris. No ads and free just a simple tool to change the text.
Currently only for AOSP roms such as cyanogenmod roms.
V1.3
While trouble shooting some radio issues on a rom I realized there's no need to reboot the phone to apply the new carrier name. I only needed to cycle the radio so I changed the app to toggle airplane mode on and then back off after you input your text so the change should take place immediately. This should make it a little easier to test and try different things or just change it more often.
I also added some shortcut buttons at the bottom to quickly add the text for the ", < and > signs so you don't have to type it all out. Only tested this with cm7 but should still work with any rom's it worked with before. Again thanks to Psiphon for pointing these symbol fixes out.
http://www.multiupload.com/RO6RZUUL16
V1.2
Fix for phones that don't already have an eri.xml file there
Added version number to bottom of screen so people can be sure what version they are running.
Download CCName1.2
V1.1
Fixed force closes when using symbols.
You can now use symbols except for double quotes. Apostrophe (single quote) seems to work fine.
Some useful info if you want quotes....
Psiphon said:
You can use special characters like the quotation marks and greater/less than signs by using entity references (either using an entity name or number):
" (quotation mark) use "
< (less than sign) use either < or <
> (greater than sign) use either > or >
I hope this helps!
Click to expand...
Click to collapse
Added Toast popup to let you know the name has been set.
If reboot button does not reboot phone just reboot the phone manually
http://www.androidphiles.com/files/get/w5A-P2p_tx/ccname1.1.apk
This app does one thing. It takes the input text you type and creates and eri.xml file and puts it in data/ folder on your phone. Then you can reboot for change to take effect. You can uninstall the app after you change it if you want or you can leave it on there(it's pretty small) in case you like to switch it every now and then. If you flash a new rom you will have to rerun the app.
I have used it on cm7 for incredible but should work for all roms and probably other phones.
Thanks for all the feedback guys!!
File not found?
Same here. 404 error. Would love to try this out.
jrbotell said:
File not found?
Click to expand...
Click to collapse
Sorry about that...link fixed.
That's what i get for copy/pasting lol.
Not working for me on my incredible running lous redemptive revolution rom, after entering my text it either freezes and fc's on me or after hitting set name and reboot nothing happens.
N-Forced said:
Not working for me on my incredible running lous redemptive revolution rom, after entering my text it either freezes and fc's on me or after hitting set name and reboot nothing happens.
Click to expand...
Click to collapse
Is that a sense based rom? I didn't try it on any sense based roms but I thought they would use an eri.xml in the /data folder.
Nice!!! This worked perfect....
___________________________________
Yup.... The ones yoe momma told ya about.... Bad Seed Customs!!
Yep its a sense based rom. I looked with root explorer and didn't see an eri.xml in there, but I do remember seeing the banner eri text in an xml file in an apk I was decompileing awile back. Can't remember if it was in framework.apk or htc_resources.apk
Works nice on Cyanogenmod 7 RC1. Awesome app man!
Sent from my ADR6300 using XDA App
N-Forced said:
Yep its a sense based rom. I looked with root explorer and didn't see an eri.xml in there, but I do remember seeing the banner eri text in an xml file in an apk I was decompileing awile back. Can't remember if it was in framework.apk or htc_resources.apk
Click to expand...
Click to collapse
Yeah there doesn't need to be an eri.xml file in there the app should create one. Android uses an eri.xml file that is compiled into the framework-res.apk. If there is an eri.xml file in the data folder then it overrides the one in the framework-res.apk. I'm still not sure why that wouldn't work on a sense based rom though. If you can get a logcat of the force close I could take a look and see what's going on. If not I'll try to flash that rom sometime this weekend and try it out. Thanks for the feedback.
Worked great on cm7.
Just a few things you might want to add.
1. maybe add a toast notification that says it wrote to the file and tell them to reboot.
And the app only fc on me when I tried to add ' or @ symbols so might want to say you can't do it.
Just food for thought.
Sent from my sexy assistance (HTC Incredible cm7)
Having trouble with Athena, which is sense based. Root permission is granted, but I end up manually rebooting because reboot button doesn't work.
Awesome work! Worked perfectly.
Sent from my ADR6300 using XDA App
synisterwolf said:
Worked great on cm7.
Just a few things you might want to add.
1. maybe add a toast notification that says it wrote to the file and tell them to reboot.
And the app only fc on me when I tried to add ' or @ symbols so might want to say you can't do it.
Just food for thought.
Sent from my sexy assistance (HTC Incredible cm7)
Click to expand...
Click to collapse
Yeah I agree with the toast suggestion I will add that and thanks for the heads up on the symbols....I don't think they can go in xml files I will add that to first post.
luke1987 said:
Having trouble with Athena, which is sense based. Root permission is granted, but I end up manually rebooting because reboot button doesn't work.
Click to expand...
Click to collapse
CM and alot of custom roms have a reboot binary in the rom. Your build probably doesn't have that binary which is why the button doesn't work. Rebooting manually will still do the same thing as the button I added. Did it make the changes when you rebooted manually?
Edit: Actually it did let me use the @ symbol. I'll have to investigate that a little more.
Conap said:
Yeah I agree with the toast suggestion I will add that and thanks for the heads up on the symbols....I don't think they can go in xml files I will add that to first post.
CM and alot of custom roms have a reboot binary in the rom. Your build probably doesn't have that binary which is why the button doesn't work. Rebooting manually will still do the same thing as the button I added. Did it make the changes when you rebooted manually?
Edit: Actually it did let me use the @ symbol. I'll have to investigate that a little more.
Click to expand...
Click to collapse
Oh. Ill try it again a little bit later.
Sent from my sexy assistance (HTC Incredible cm7)
synisterwolf said:
Oh. Ill try it again a little bit later.
Sent from my sexy assistance (HTC Incredible cm7)
Click to expand...
Click to collapse
It won't let you use " or ' in the name as it messes up the shell command that writes the eri.xml file.
Conap said:
It won't let you use " or ' in the name as it messes up the shell command that writes the eri.xml file.
Click to expand...
Click to collapse
Oh I c. Dam wish there is a way around it because I want to put "Justin's phone" but ill stick with "HTC Incredible"
Great work. Might want to post in market
Sent from my sexy assistance (HTC Incredible cm7)
Ok I actually managed to change the banner on a sense rom with the help of JsChiSurf from this post http://forum.xda-developers.com/showpost.php?p=8735731&postcount=106 Although in the instructions he gives he uses hex to edit the banner you do not need to. If you want to edit the file in plain english all you need to do it download the xml file he provides, insert it into your framework-res.apk file, then decompile and edit with an xml editor.
Here is my result.
{
"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"
}
synisterwolf said:
Oh I c. Dam wish there is a way around it because I want to put "Justin's phone" but ill stick with "HTC Incredible"
Great work. Might want to post in market
Sent from my sexy assistance (HTC Incredible cm7)
Click to expand...
Click to collapse
I'll look for a way to put quotes in but the issue is that the xml file line looks like this EriText="Verizon Wireless" and it reads the quotes to know the beginning and end of the letters it should display so when you add more quotes in it confuses the xml file so not sure if there would be a work around for that or not. I might throw it up in the market just to make it easier for people to access since I already have a market account but it will continue to be free.
N-Forced said:
Ok I actually managed to change the banner on a sense rom with the help of JsChiSurf from this post http://forum.xda-developers.com/showpost.php?p=8735731&postcount=106 Although in the instructions he gives he uses hex to edit the banner you do not need to. If you want to edit the file in plain english all you need to do it download the xml file he provides, insert it into your framework-res.apk file, then decompile and edit with an xml editor.
Click to expand...
Click to collapse
Yeah there are a few ways to change it I was just attempting to make it easier lol....anyone else running sense roms that have time to try it and give feedback would be great....thanks.
ok i think i fixed all the issues and i added the toast message. you can now use any symbols or any letters you want except for double quotes as they are read by the xml file as starting and ending the settings.(I don't think you can use double quotes even if you edited it manually) Single quotes or apostrophe's are fine to use.....thanks for testing guys....
Hi, this is a minor issue but it's starting to bug me.
Is there any way to change the color of the little check mark that appears when you select something?
On many of the apps that I use (but not all?) this check mark appears as a very light green color on a white background and is virtually invisible. I asked about it on a forum for one of the apps and was told that my phone must not be using standard android colors.
For example, on the Maps app that came with the phone, if I go to Settings and try to select something I will see the very light green color check mark. On the other hand, other apps, like the stock mail app, use a medium blue which is quite visible.
If I could get them all to use the blue that would be great. Changing the theme does not seem to affect the check mark.
Thanks!
-- Jon
This has been bugging me since I got XL.
My guess would be editing framework-res.apk
Just wanted to give this a bump in case somebody may have run across a solution. Thanks!
OP are you rooted? I thought you could change simple things like this inside framework-res.apk if you pull it from /system/framework.
If you open it using 7zip or winrar you should find the graphic in one of the drawable folders (i think the one youre after is called "drawable-xhdpi") which contain all of the graphics and icons that are displayed on your phone whenever you interact with it. Simply change the color of the check mark graphic to the color of your choice and reinsert it back where it was originally located within the zipped file. DO NOT UNZIP THE ENTIRE FILE! Just browse inside of it to modify the files inside so you don't break the files signature verification.
Back up your original framework file though as messing this up WILL result in bootloops. In fact, doing a nandroid couldnt hurt if you arent familiar with this.
Then just replace the original with your modified one.
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
beaups said:
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
LOL much easier solution :thumbup:
Here's a picture of the display menu within the maps app after modifying the appropriate file in framework. MUCH more visible. I just did black for this example.
{
"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"
}
Loneeagle14 said:
Simply change the color of the check mark graphic to the color of your choice and reinsert it back where it was originally located within the zipped file. DO NOT UNZIP THE ENTIRE FILE! Just browse inside of it to modify the files inside so you don't break the files signature verification.
Click to expand...
Click to collapse
This doesn't make any sense to me. Changing even one bit of a file will break a digital signature. Altering the color of a check mark will change many bits. So either the file is not signed, or the signature doesn't matter, or this won't work at all.
You must have unlocked bootloader of course. No signature check.
beaups said:
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
I tried this, and it only changed the check marks in Settings as far as I could tell. I checked 4 other apps including Twitter, Subsonic, and some others and they all still had the green check mark. Maybe I need to reboot?
I also just made a black check mark icon, and I'm going to try replacing the framework APK just as soon as my nandroid backup finishes.
gunnyman said:
You must have unlocked bootloader of course. No signature check.
Click to expand...
Click to collapse
Thanks. That's kind of what I meant. I was seriously out of it when I typed that originally. So yeah unlocked bootloader. Basically, so long as you don't decompress the original .apk and only swap files in and out from the COMPRESSED version, you should be good to go. Trying to use winrar or 7zip to recompile it will result in bootloops i promise
Sorry for the confusion.
Loneeagle14 said:
LOL much easier solution :thumbup:
Here's a picture of the display menu within the maps app after modifying the appropriate file in framework. MUCH more visible. I just did black for this example.
Click to expand...
Click to collapse
Thanks, I'll give that a try!
-- Jon
Originally Posted by beaups
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
I tried this, and it only changed the check marks in Settings as far as I could tell. I checked 4 other apps including Twitter, Subsonic, and some others and they all still had the green check mark. Maybe I need to reboot?
I also just made a black check mark icon, and I'm going to try replacing the framework APK just as soon as my nandroid backup finishes.
Click to expand...
Click to collapse
What's actually kind of funny is I had the opposite problem. My check marks inside of the settings menu stayed green, but any check marks inside of apps are now the modified color.
Edit: nvm didn't read that right. I see you were referencing the other guy.
beaups said:
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
That does not work for me. I have been on the matte skin since I got my device. I don't see any dark purple or black checkmarks in any apps. Most of mine are the light (invisible) green, a few are a medium blue, which is decent. Are you sure there is not something else making your checkmarks black?
So I edited my framework-res.apk using drag&drop into 7zip without unzipping the file, as suggested. And then I did horrible things: I simply overwrote the file in /system/framework using Root Explorer. The phone immediately rebooted and won't boot now. Time to do a restore!
I guess I have to push the file using ADB while in Recovery/Fastboot? Or else make my own flashable zip? I'm definitely a modding noob.
Didn't back up the original huh? Sorry dude that sucks.
If you're comfortable with adb you can go that route but I have so far used the file manager function within TWRP to manually delete my old framework-res and the move the modified one to /system/framework. In order for you to be able to access the system partition you'll need to manually mount it using the mount function within recovery. Then go to advanced-->file manager and that should let you access up to root. Also, it never hurts to run fix permissions after changing something in the system directory.
This method is always easier for me since I'm not an expert with adb. That's strange you had problems though. The only time I've ever had bootloops was when I decompiled the .apk or changed the compression settings when replacing files inside of it. Hope you get it sorted out..
Loneeagle14 said:
Didn't back up the original huh? Sorry dude that sucks.
Click to expand...
Click to collapse
I had a backup in the form of nandroid. I also do have the file itself backed up, I just realized. I probably didn't need to do a restore. It's just that when my phone wouldn't boot I got scared and I wanted to make sure I could restore it!
I didn't realize how easy it is to fix permissions on a file in TWRP. I can run the batch command, and there is a permissions fixer in the file browser that just does chmod 755. It grants execute permissions as well as the other ones, but it's no big deal. Also, it's easy enough to change in Root Explorer once the system actually boots. Then you don't have to wait for the whole permissions fixer to run.
If you're comfortable with adb you can go that route but I have so far used the file manager function within TWRP to manually delete my old framework-res and the move the modified one to /system/framework. ]In order for you to be able to access the system partition you'll need to manually mount it using the mount function within recovery.
Click to expand...
Click to collapse
Thanks, I was just exploring this functionality. I forgot I had to manually mount system, so I was a bit confused why I couldn't see anything in there.
Hey, it just booted up with my modded file. Look at those nice, black check marks! The ones in Settings are still green. I guess they are using different resources, which explains why they changed when I changed skins, but none of the others did. I only changed the color of the "on" check mark, and not the "on disabled", or "on focused" ones, so they'll still be green. I don't really care if the check mark is green while I'm clicking the button, but I would like to change the disabled one.
Looking good sir. I was a bit worried my method was wrong or something. Good to see someone was able to get it done! :thumbup:
So if I flash a new rom, will I need to do this again?
snowkilts said:
So if I flash a new rom, will I need to do this again?
Click to expand...
Click to collapse
Yes, unless you modify the rom before you flash it. Personally, I'm hoping to learn enough about flashable zips to make this idea into a flashable mod. At which point I'll fix all the icons.
Success! I have created a flashable zip that changes the check marks to black. I also created an Undo version that restores the original framework-res.apk.
If anyone would like to test it out, send me a PM. It only changes the "on" checkmark, but that's the only one you really need. In the future, I will fix the other icons. This is my first Android mod, so I don't want to release it publicly until at least a couple of people have tested it.
If it matters, the framework-res.apk which I changed is the one that comes with CleanROM 4.1 LE. I don't know if Scott modified the stock version in any way, and I don't know if other Sense roms have changed this file, so I can't gurantee that this APK is 100% compatible with roms other than CleanROM 4.1. I would need to download the other roms and compare their file with mine.
The MD5 of the original /system/framework/framework-res.apk is d6d3f7f3808dd7d01ba2dd11babd3b64. So if your APK has the same MD5 then this mod will work for you.