Related
I've been seeing way too many requests for this with just about every mod possible. Considering the simplicity of this mod, the easiest way to please everyone, is for all of you to know how to accomplish this mod yourself.
BTW, this is for the status bar itself, not pulldown bar or notification background.
What you need:
- Paint.NET software (or any other image editing software that you are already comfortable with, this one seems to be the easiest for setting transparency though.)
- Your framework-res.apk AFTER you have all of your other mods applied to your phone. Otherwise you will have to apply this mod again every time you add or change mods (most likely).
- 7zip
So, you should have your framework-res.apk on your computer and 7zip installed to open the apk. Open up the framework, navigate to /res/drawable-hdpi folder. In that folder, find the file statusbar_background.png. You can either pull that file out to your computer to edit it or open it straight from 7zip (which is the best way to ensure there is no issues when pushing framework back to the phone) but you must have your editing software set as the default to open .png files.
Now once you have that file open in Paint.NET, you will see the image of the status bar as you currently have it. Up on the top toolbar, you should see the option "Layers". Click that then select "Layer properties" at the bottom of the drop-down. At the bottom of the window that pops up, you should see "Opacity" and the number set at 255 with the neighboring slider all the way to the right. I suggest using the slider because as you move it you will see the transparency applied to the bar image, allowing you to slide it around to the desired transparency.
Once you have finished setting your transparency, click the little disk image at the top left to save your changes, close the program out and you should then see a box pop up in 7zip (if you made changes without unpacking the file from 7zip first) asking if you would like to apply changes to file you edited. Say yes, then close 7zip, which may or may not state that changes have been made to the apk and if you'd like to update it, which you would say yes to if it does. If you unpacked the file from 7zip, simply drag and drop the file back into its correct spot, confirm you want to replace the file, then close it up. After all of this is done, just put framework-res.apk back into the framework folder on your phone whatever way you like, turn your phone on and you have a transparent status bar.
As a side note, you can play with Paint.net to see all of the modifications you can make to your status bar like changing colors, texture, and a few other things. One piece of advice is to have a backup framework-res.apk in case you make a mistake or something.
excuse my extreme noobness, but what is the best way to transfer the apk back and forth from the phone to computer? yes I am new to this and yes I am a retard and yes I probably shouldnt even try this..
JoeyBones1 said:
excuse my extreme noobness, but what is the best way to transfer the apk back and forth from the phone to computer? yes I am new to this and yes I am a retard and yes I probably shouldnt even try this..
Click to expand...
Click to collapse
Easiest way would be to get root explorer so you can navigate to the /system/framework folder and copy the apk from there to your sdcard, where you can just copy it to your computer. the other option would be plugging your phone into your computer, phone should be on, open up command prompt then navigate to your sdk/tools folder (get it if you dont already have it), then type "adb pull /system/framework/framework-res.apk c:\" without the quotes. the file will be in the root of your C directory. To get it back on your phone when finished, for root explorer just reverse the steps, but when moving the apk back to its proper folder, just hit the "Mount R/W" button at the top right of root explorer, copy the file back in and reboot. For alternate method, boot into recovery, mount /system partition, then in prompt after navigating to sdk tools folder type "adb push c:\insertdirectoryto\framework-res.apk /system/framework/" without quotes, then boot up and youre done.
tried this...boot looped...had to restore backup...thanks for the info though...might try again soon
BillytheKid82 said:
tried this...boot looped...had to restore backup...thanks for the info though...might try again soon
Click to expand...
Click to collapse
Did you try editing the file without extracting it or did you extract it and reinsert it?
Or you could edit the .png and use metamorph to push it into the framework-res.apk without moving or unzipping anything. And you could just keep the metamorph theme with that one .png on your sdcard to re-apply it whenever you flash a new rom, without altering any other theme elements you've already applied.
What do I edit to change the pull down notifications?
Sent from my Incredible using XDA App
thx a ton got it
transparent, transferring back to phone now..we will see
edit ..boot loops too..
i used root explorer ..extracted framework-res.apk to my sd card ,,then on my computer i opened paint.net and edited the statusbar_background.png file and then
zipped back up the framework-res and renamed to apk then copied back to my framework folder and it the forced closed and went into boot lopes...
i know im close to getting this right ..what step am i skrewing up?
i edited the file w/out extracting it...using root explorer i copied the framework res to my sdcard...plugged my phone in to comp, opened the framework res w/ 7zip, edited w/ gimp, saved all changes...unmounted phone, used root explorer and copied the new edited framework, then navigated to the original framework res and pasted the new one there to overwrite the original...then it force closed so i tried to paste it again, then the phone rebooted and boot looped? not sure if i did something wrong
Gahh Its Lee said:
What do I edit to change the pull down notifications?
Sent from my Incredible using XDA App
Click to expand...
Click to collapse
That file is a .9.png file. editing these is ridiculously difficult and ill-advised.
chrisloveskaos said:
thx a ton got it
transparent, transferring back to phone now..we will see
edit ..boot loops too..
i used root explorer ..extracted framework-res.apk to my sd card ,,then on my computer i opened paint.net and edited the statusbar_background.png file and then
zipped back up the framework-res and renamed to apk then copied back to my framework folder and it the forced closed and went into boot lopes...
i know im close to getting this right ..what step am i skrewing up?
Click to expand...
Click to collapse
BillytheKid82 said:
i edited the file w/out extracting it...using root explorer i copied the framework res to my sdcard...plugged my phone in to comp, opened the framework res w/ 7zip, edited w/ gimp, saved all changes...unmounted phone, used root explorer and copied the new edited framework, then navigated to the original framework res and pasted the new one there to overwrite the original...then it force closed so i tried to paste it again, then the phone rebooted and boot looped? not sure if i did something wrong
Click to expand...
Click to collapse
I JUST remembered that I think you need to be running a deodexed rom to allow modifications. I've always used deodexed roms and forgot that it might be a requirement for things like this. Do either of you know if what youre running is deodexed or not?
mixedlemon said:
Or you could edit the .png and use metamorph to push it into the framework-res.apk without moving or unzipping anything. And you could just keep the metamorph theme with that one .png on your sdcard to re-apply it whenever you flash a new rom, without altering any other theme elements you've already applied.
Click to expand...
Click to collapse
metamorph is definitely more useful. I just have never created anything to run with it so I don't know the process of doing so.
im running skyraider vanilla, i tried to look on the thread to see if it is deodexed and i couldn't find if it is or not...may not be...thanks for your help
mb02 said:
I JUST remembered that I think you need to be running a deodexed rom to allow modifications. I've always used deodexed roms and forgot that it might be a requirement for things like this. Do either of you know if what youre running is deodexed or not?
Click to expand...
Click to collapse
running new skyraider 3.3 and im sure it is
Yea it seems they are both deodexed, and btw I didn't know skyraider 3.3 was so awesome I'm tempted to switch over to it. But yea, I'm not sure why your phones aren't allowing the modifications to the framework. I might as well load SR 3.3 and see for myself what's up. I'll get on that later tonight when I have time and let you guys know if i figure anything out.
Use this with metamorph. It will work on any rom (tested on skyraider 3.3) except those that still use the "drawable-hdpi-v4" folder in the framework-res.apk. If your rom uses that folder, simply rename the folder it puts on your sdcard in /sdcard/AndroidThemes/HalfTransparentBar/
If you'd rather have a different transparency just replace the .png in the folder with yours.
In fact, if you want to edit ANY graphic on your rom, just put the .png in the /sdcard/AndroidThemes/xxxxxx/framework-res/res/drawable-hdpi/ folder with the same file name as the one you want to replace. And of course, do a nandroid backup just in case.
EDIT: As Berzerker7 pointed out, this file probably wont make anything transparent unless you have a modified services.jar. oops.
mixedlemon said:
Use this with metamorph. It will work on any rom (tested on skyraider 3.3) except those that still use the "drawable-hdpi-v4" folder in the framework-res.apk. If your rom uses that folder, simply rename the folder it puts on your sdcard in /sdcard/AndroidThemes/HalfTransparentBar/
If you'd rather have a different transparency just replace the .png in the folder with yours.
In fact, if you want to edit ANY graphic on your rom, just put the .png in the /sdcard/AndroidThemes/xxxxxx/framework-res/res/drawable-hdpi/ folder with the same file name as the one you want to replace.
edit: and of course, do a nandroid backup just in case.
Click to expand...
Click to collapse
Well then that simplifies a lot of things lol. Thanks for putting that up for us, makes everything even easier.
Simply swapping a file won't work. It's the same reason simply swapping a transparent image for the notification pull-down doesn't work. Opacity is controlled on another level by services.jar. You need to modify the values there, as well as swapping out for a transparent image.
Btw, this didn't work for me on SkyRaider 3.3. (Metamorph or swapping the file).
It makes the background black but not transparent on virtuous 3.0.1
mixedlemon said:
Use this with metamorph. It will work on any rom (tested on skyraider 3.3) except those that still use the "drawable-hdpi-v4" folder in the framework-res.apk. If your rom uses that folder, simply rename the folder it puts on your sdcard in /sdcard/AndroidThemes/HalfTransparentBar/
If you'd rather have a different transparency just replace the .png in the folder with yours.
In fact, if you want to edit ANY graphic on your rom, just put the .png in the /sdcard/AndroidThemes/xxxxxx/framework-res/res/drawable-hdpi/ folder with the same file name as the one you want to replace.
edit: and of course, do a nandroid backup just in case.
Click to expand...
Click to collapse
Berzerker7 said:
Simply swapping a file won't work. It's the same reason simply swapping a transparent image for the notification pull-down doesn't work. Opacity is controlled on another level by services.jar. You need to modify the values there, as well as swapping out for a transparent image.
Btw, this didn't work for me on SkyRaider 3.3. (Metamorph or swapping the file).
Click to expand...
Click to collapse
Ah, I must have already installed a theme that modified it, then.
WOOOT!
SO can't wait to try this!
Wow... epic fail on my part... edited the image, repackaged, compared to original, file sizes/compression were similar enough, so I copied it onto my SD card and went in to Root Explorer... Mistake number 1)forgot to do a nandroid OR a titanium, Mistake number 2)Renamed the framework-res.apk to framework-res.bak BEFORE I copied the new file to the /system/framework. As soon as I did that, everything went haywire so I did a battery pull and went to do it the ADB way from recovery. Thought I did that right, so I rebooted into a bootloop... Finally gave up so I decided to do mistake number 3)full nandroid restore of a backup that was admittedly a few days old (See mistake 1 lol) after which I had rearranged a few things and added more apps etc... Now on to the important stuff...
MAKE SURE YOU DO STEP 1 BEFORE ATTEMPTING ANY OF THIS AND IF YOU RUN INTO PROBLEMS, DO STEP 2 SO YOU DON'T MAKE THE SAME MISTAKE I DID!
Step 1)For the love of all that's holy, do a Nandroid and Titanium backup first!
Step 2)In Clockwork Mod Recovery, do NOT do a full restore, instead go to advanced restore and simply restore the system (the part that you were messing around with to do this mod lol I realized this gem just as I clicked "Yes" in CWM, I still have the palm print on my forehead... haha
Hopefully you folks will have better luck than I did, but if not, hopefully I can save you some of the headache I went thru...
I am using gingercollab and bliss for the theme and it is cool theme, but the search bar is green...and its pretty annoying I searched everywhere to find a way to change this but could not....anyone?
takgeun68 said:
I am using gingercollab and bliss for the theme and it is cool theme, but the search bar is green...and its pretty annoying I searched everywhere to find a way to change this but could not....anyone?
Click to expand...
Click to collapse
So what exactly are you trying to get? The stock version of the google search bar?
kenvan19 said:
So what exactly are you trying to get? The stock version of the google search bar?
Click to expand...
Click to collapse
well sort of but i was just wondering if there was a setting menu where i can change the color of the search bar
takgeun68 said:
well sort of but i was just wondering if there was a setting menu where i can change the color of the search bar
Click to expand...
Click to collapse
Ah ok, I understand now. No there is not that, however you can do some small edits to the theme in order to change how that bar looks. I'd recommend going through the themes that work on CM7 RC1 (though I'm sure you understand why, this is because GBCollab is essentially CM7 RC1) and seeing if you can find a google search bar you like. You can find screenshots of all of them in my reference guide for themes or you can just click this link. Once you find one you like, download that theme, unzip it and open it up. Inside of the folder system, you'll find a folder called apps and in there you'll see a bunch of apk files including GoogleQuickSearchBox.apk. Grab that file.
Now there are two ways you can do get this onto your phone, the first of which I've never actually gotten to work for myself but I'm going to list it anyways because...who knows?
1) Download Root Explorer from the market.
2) Somehow get the file I told you to grab earlier onto your phone's SDcard, doesn't matter how just remember where you put it.
3) Open up Root Explorer and navigate to where you put that file.
4) Long press the file and select Move on the menu that pops up.
5) Navigate back to the root of Root Explorer and scroll down to the folder System (this'll be one step back from your SDcard)
6) Navigate to the folder Apps
7) At the top, click on where it says [mount r/w]
8) At the bottom click on the paste button and when it asks you if you want to replace the existing file, select yes or ok whichever is answering in the affirmative.
9) Reboot
This has never actually worked for me, I've heard others say it works great so I don't know. If it doesn't work for you here is the other way we can do this however it requires you are on Windows and have either WinRAR or 7zip.
1) Download both the Bliss theme and the theme you want to steal the search box from
2) DO NOT UNZIP BLISS but DO unzip the other theme and again pull out the search box.
3) Open Bliss in WinRAR or 7zip but DO NOT UNZIP IT
4) Navigate to system/apps again and drag the GoogleQuickSearch.apk file you want to use into that folder. I've never done this with 7zip but on WinRAR it'll have a pop up after finishes adding it and just hit OK or Yes, again not sure what it says but just answer in the affirmative.
5) Put the modified Bliss theme on your SDcard and flash it as you normally would.
I know this method works because I've used it. You can also use this method to replace other system apps in that folder. Plus it makes you feel all cool because you edited a theme
~~EDIT~~
I've also attached the stock search box just in case you want that.
kenvan19 said:
Ah ok, I understand now. No there is not that, however you can do some small edits to the theme in order to change how that bar looks. I'd recommend going through the themes that work on CM7 RC1 (though I'm sure you understand why, this is because GBCollab is essentially CM7 RC1) and seeing if you can find a google search bar you like. You can find screenshots of all of them in my reference guide for themes or you can just click this link. Once you find one you like, download that theme, unzip it and open it up. Inside of the folder system, you'll find a folder called apps and in there you'll see a bunch of apk files including GoogleQuickSearchBox.apk. Grab that file.
Now there are two ways you can do get this onto your phone, the first of which I've never actually gotten to work for myself but I'm going to list it anyways because...who knows?
1) Download Root Explorer from the market.
2) Somehow get the file I told you to grab earlier onto your phone's SDcard, doesn't matter how just remember where you put it.
3) Open up Root Explorer and navigate to where you put that file.
4) Long press the file and select Move on the menu that pops up.
5) Navigate back to the root of Root Explorer and scroll down to the folder System (this'll be one step back from your SDcard)
6) Navigate to the folder Apps
7) At the top, click on where it says [mount r/w]
8) At the bottom click on the paste button and when it asks you if you want to replace the existing file, select yes or ok whichever is answering in the affirmative.
9) Reboot
This has never actually worked for me, I've heard others say it works great so I don't know. If it doesn't work for you here is the other way we can do this however it requires you are on Windows and have either WinRAR or 7zip.
1) Download both the Bliss theme and the theme you want to steal the search box from
2) DO NOT UNZIP BLISS but DO unzip the other theme and again pull out the search box.
3) Open Bliss in WinRAR or 7zip but DO NOT UNZIP IT
4) Navigate to system/apps again and drag the GoogleQuickSearch.apk file you want to use into that folder. I've never done this with 7zip but on WinRAR it'll have a pop up after finishes adding it and just hit OK or Yes, again not sure what it says but just answer in the affirmative.
5) Put the modified Bliss theme on your SDcard and flash it as you normally would.
I know this method works because I've used it. You can also use this method to replace other system apps in that folder. Plus it makes you feel all cool because you edited a theme
~~EDIT~~
I've also attached the stock search box just in case you want that.
Click to expand...
Click to collapse
Wowowowowow thx so much!
takgeun68 said:
Wowowowowow thx so much!
Click to expand...
Click to collapse
Did it work?
After going through many of the different lock ring tutorials, I have noticed that they all have something in common: They are too user intensive and prone to user-error. Sure, once you have it down, it's easy. But it can be daunting to start out.
All I have done here is make it EXTREMELY user friendly.
No more copying and pasting into ZIPs and APKs!!
No more fishing around the Templates tree in M10 Tools!!!
Simply run the BATCH file, get a cup of coffee, and then flash!
Here are the detailed instructions... (also in the Read-Me)
0. Make sure you have installed Microsoft .net 4 framework on your machine.
http://www.microsoft.com/net
1. Unpack User_Friendly_Lock_Screen_Kit_v1.04.zip (Where you put the file does not matter anymore!!!! For example purposes, I will use C:\Lock_Ring_Kit)
2. Copy your image into C:\Lock_Ring_Kit and name it LockRing.png
Image requirements:
a. Must be a PNG file
b. Image must be 271 x 270 pixels (If it is not the right size, it will come out looking funny (270x271 WILL NOT WORK)
c. The image must be rotated 180 degrees and reflected horizontally.
3. Double-click "LockRingCreator.bat" and let it do its thing.
4. Flashable.zip was just created for you. Rename it whatever you wish.
5. Copy it to the root of your SD card, boot into recovery, and flash
The BATCH file cleans up after itself. You don't have to go through and delete any of the old files. If you want to make another one, just change out the PNG and run it again. My desktop is pretty old, and the BATCH takes about 2 minutes to run.
I have only tested this on Synergy, but I assume that it will work on similar ROMs. I also believe that it will work on the Thunderbolt (can someone confirm that?)
All files are included in the ZIP.
User_Friendly_Lock_Ring_Kit_v1.05.zip
Error Reporting
This is a work in progress. If you have an issue, please post it on the thread. Also, please copy and paste the output from the command prompt so we can get to the bottom of it. (Right click on command prompt, Select All, the then press ENTER. It is now ready to paste.)
Acknowledgments:
jmaher1023 - I used his process as a template. All that my BATCH file does is automate his process
Flemmard and DiamondBack2010- I have no idea what M10 Tools does or how much trouble they had to go through to make it, but I do know that it is the heart and soul of this whole operation.
Confirmed ROMS
Gingeritis3d
Synergy RLS 1
InCompatible ROMS
Kinged Shooter RLS 2.3
I'll try this out, thanks alot dude.
One thing you didn't mention is that the images still need to be 271 X 270 or they won't look right. Other than that this works on Gingeritis3d. (And if I want to say I was the one to create the lock ring I might edit the script) lol. Very good work though man. Very useful tool. Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
TDubKong said:
One thing you didn't mention is that the images still need to be 270 X 270 or they won't look right.
Click to expand...
Click to collapse
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
TDubKong said:
Other than that this works on Gingeritis3d.
Click to expand...
Click to collapse
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
TDubKong said:
(And if I want to say I was the one to create the lock ring I might edit the script) lol.
Click to expand...
Click to collapse
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
TDubKong said:
Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
Click to expand...
Click to collapse
No Idea
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
did you
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
gamendorf said:
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
No Idea
Click to expand...
Click to collapse
Thanks brudda. I was only kidding about renaming the script. I knew where to find it. I can run a couple other ROMS if you want. I got nothing better to do tonight. Let me know which ones you want to add to your list and i'll do a couple.
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Forgot to mention I am running Gingeritis 3D Beta VIII. And I do have .net 4 installed. Maybe thats why i didn't have any issues. Also I didn't even read the read me file. oops.
life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
You're right. Oops. Zip file has been updated
life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
gamendorf said:
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
Click to expand...
Click to collapse
windows 7 i looked it up and it does have the Microsoft .net 4 framework intalled ,im thinking i just didnt name something right ill try what TDubKong suggested VVV and ill get back
TDubKong said:
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
Click to expand...
Click to collapse
TDubKong said:
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
Click to expand...
Click to collapse
dropbox has been the easiest, havent hit a limit yet, except storage space..... which i upgraded to eliminate that problem, all the others i have tried i cant upload anything because they limit file sizes that you can upload, where as dropbox just syncs with your desktop, takes awhile but works.
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
edit:
wait i just checked windows update and it has 2 updates for net framework 4 lol
nice i was using the copy paste way. i use one like this for the 3d(that was made by triscuit1983.
still didnt work for me, oh well back to m10 editor... thanx anyways
did you put it on your c drive i had that problem on the one for the 3d
I will try again tomorrow, work in the morning
Sent from my PC36100 using xda premium
life_420 said:
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
Click to expand...
Click to collapse
dased14 said:
did you put it on your c drive i had that problem on the one for the 3d
Click to expand...
Click to collapse
Make sure that you unzip the files to C:\Lock_Ring_Kit. When I install them somewhere else ("C:\Lock_Ring_Kit______"), I get the same error you do. However, the BATCH file did what it was supposed to do. Since C:\Lock_Ring_Kit did not exist, it created it, and there is a "Working" folder as well as a "Flashable.zip" there. But, since the original files were not in the right place, it is useless.
When the command prompt just flashes, what that means is that M10Tools are not having a chance to run. The only explanation I have for that as of right now is that the files are not in the right location. Also make sure that you named the image LockRing.png.
I'll see about making the batch file spit out an error code, but it might be a few days before I can get around to it. I'll keep yall posted.
I'M OUTDATED YO.
I gave Benjyp senior my awesome Kindle as an awesome Christmas present to my awesome dad from his awesome son so I will not be updating this guide any further!
As of now there is speculation that this guide DOES NOT WORK but I know there are many better alternatives to be found elsewhere!
I'm just gonna get right down to it.
If you don't feel comfortable doing this, please don't!
blauciel said:
Good! One other thing, doing this caused my Kindle to lose all remembrance of all things signed in. I had to sign in to google and in to amazon again, including registering the Kindle again. Twice... :/
Click to expand...
Click to collapse
Here's what I did:
1. Locate your framework-res.apk file found at /system/framework/framework-res.apk
2. Copy onto your computer (I used root explorer to copy it to the "sdcard" and then jut plugged the Kindle in)
3. Download APK Mukti Tool
4. Place your framework-res.apk in the "place-apk-here-for-modding" folder
5. Run Script.bat
6. Press any key to continue
7. Set current project (25) (hint, choose framework-res.apk)
8. Extract apk (1)
9. Go to projects\framework-res.apk\res\drawable-mdpi and observe all of the JPEG image named "wallpaper_xx_xxxx"
10. Replace these files with either one image of your choosing or any other you may want
NOTE: I did not try removing or adding any images, only replacing, if you do let us know what happen!
11. Once you are done editing, go back to APK Multi Tool and "Zip apk" (3)
12. Select "System apk (retains signature)" (1)
13. Next, Zipalign apk (5)
14. Go back to the "place-apk-here-for-modding" folder and copy "unsignedframework-res.apk" elsewhere
15. Rename "unsignedframework-res.apk" to "framework-res.apk"
16. Copy this file back to /system/framework/, I copied the file to the sdcard via usb and used root explorer to copy into the folder (must mount r/w), but if you are more comfortable with ADB than I, just push it!
NOTE: I got a force close error around this point but nothing terrible happened! (I think!)
17. Change the permissions to rw-r--r--
18. Reboot!
19. Enjoy your new wallpapers!
*You are probably going to experience errors with commands not being recognized with the APK Multi Tool, you must add locations to the windows PATH (just google your error )*
Sorry for the exessive length, I was trying to be thorough!
*Edit*
This is helpful:
blauciel said:
Thank you very much! I got this to work with one slight hiccup and workaround:
Step 13 gave me an error "(Option 24)" and the unsignedframework-res.apk file disappeared. The workaround was to add:
step 12.5: Set current project (25) - Hint: select unsignedframework-res.apk
Then step 13 worked, no error, and the file did not disappear.
On what happened with the images I selected:
I left the very first image intact: wallpaper_01_2422 just in case it didn't like my images. I then replaced all the other images with other images of mine of the exact same filename. wallpaper_02_1953.jpg, wallpaper_03_6474.jpg and so on. I did add one new image, because their wallpaper_05_????.jpg is not there, I put my own in it's place. That image does not show. Apparently there is a filename index somewhere that specifies what images to show. Also, all the images are 840x1024, while the screen size is 600x1024. I'm not sure why the difference, as the images DO get cropped. Also, I accidentally forgot to resize one of my images and it was much larger than the display, so I only saw the center 600x1024. Lastly, my image image file sizes were about 20% of what they already had. So the original framework-res.apk file is 29.8Mb, while mine came out to ~12Mb
Bottom Line lessons learned:
1. There are 21 images, and without further changes, only 21 allowed.
2. The naming convention is "wallpaper_##_9999.jpg" where the ## is 01-04, 06-22. They skipped 05 for some reason. The 9999 is a number they designated, no apparent reason or pattern.
3. You must use the same filenames.
4. Your image can be any dimension, the image is centered and cropped for display.
5. If you want your entire image to show, crop them to 600x1024.
6. File size is unimportant.
7. Each time you turn off the screen, and it locks, the software picks the next image down the line. No shuffle or changing of the order. See the filename list below.
Full filename list:
wallpaper_01_2422.jpg
wallpaper_02_1953.jpg
wallpaper_03_6474.jpg
wallpaper_04_5588.jpg
wallpaper_06_6043.jpg
wallpaper_07_5751.jpg
wallpaper_08_1905.jpg
wallpaper_09_2283.jpg
wallpaper_10_5683.jpg
wallpaper_11_5335.jpg
wallpaper_12_5866.jpg
wallpaper_13_3664.jpg
wallpaper_14_6752.jpg
wallpaper_15_2429.jpg
wallpaper_16_5737.jpg
wallpaper_17_6712.jpg
wallpaper_18_3613.jpg
wallpaper_19_5507.jpg
wallpaper_20_6562.jpg
wallpaper_21_3622.jpg
wallpaper_22_6413.jpg
Click to expand...
Click to collapse
Nice work! It would be even better if someone created an app that did just that. However I'm pretty sure the custom rom devs are going to include that in their roms too.. again, good work because this will help speed up the process!
webmastertroi said:
Nice work! It would be even better if someone created an app that did just that. However I'm pretty sure the custom rom devs are going to include that in their roms too.. again, good work because this will help speed up the process!
Click to expand...
Click to collapse
kind of surprised we don't have any custom roms yet.
Don't do what I did, and delete a bunch of the wallpapers without replacing them. Should have replaced them all with one image. Stuck at bootlogo. Not sure what to do from here, but in all fairness, I knew it could happen.
Edit: Any advice, despite the fact that I did not follow the instructions that were made to be clear as day, would be appreciated. If nothing else, Ill send it back tomorrow.
xodlike said:
Don't do what I did, and delete a bunch of the wallpapers without replacing them. Should have replaced them all with one image. Stuck at bootlogo. Not sure what to do from here, but in all fairness, I knew it could happen.
Edit: Any advice, despite the fact that I did not follow the instructions that were made to be clear as day, would be appreciated. If nothing else, Ill send it back tomorrow.
Click to expand...
Click to collapse
Unbrick: http://forum.xda-developers.com/showthread.php?p=19552626
Sent from my SPH-D710 using xda premium
xodlike said:
Don't do what I did, and delete a bunch of the wallpapers without replacing them. Should have replaced them all with one image. Stuck at bootlogo. Not sure what to do from here, but in all fairness, I knew it could happen.
Edit: Any advice, despite the fact that I did not follow the instructions that were made to be clear as day, would be appreciated. If nothing else, Ill send it back tomorrow.
Click to expand...
Click to collapse
Oh no, that sucks! If you can get ADB running you can push a different framework-res.apk to the device, but I don't know how to do that. Does the Kindle have some sort of recovery mode??
Benjyp said:
Oh no, that sucks! If you can get ADB running you can push a different framework-res.apk to the device, but I don't know how to do that. Does the Kindle have some sort of recovery mode??
Click to expand...
Click to collapse
Fastboot
Sent from my SPH-D710 using xda premium
pyrostic said:
Fastboot
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I found this:
http://forum.xda-developers.com/showthread.php?p=19552898
Hope it helps!
Thank you very much! I got this to work with one slight hiccup and workaround:
Step 13 gave me an error "(Option 24)" and the unsignedframework-res.apk file disappeared. The workaround was to add:
step 12.5: Set current project (25) - Hint: select unsignedframework-res.apk
Then step 13 worked, no error, and the file did not disappear.
On what happened with the images I selected:
I left the very first image intact: wallpaper_01_2422 just in case it didn't like my images. I then replaced all the other images with other images of mine of the exact same filename. wallpaper_02_1953.jpg, wallpaper_03_6474.jpg and so on. I did add one new image, because their wallpaper_05_????.jpg is not there, I put my own in it's place. That image does not show. Apparently there is a filename index somewhere that specifies what images to show. Also, all the images are 840x1024, while the screen size is 600x1024. I'm not sure why the difference, as the images DO get cropped. Also, I accidentally forgot to resize one of my images and it was much larger than the display, so I only saw the center 600x1024. Lastly, my image image file sizes were about 20% of what they already had. So the original framework-res.apk file is 29.8Mb, while mine came out to ~12Mb
Bottom Line lessons learned:
1. There are 21 images, and without further changes, only 21 allowed.
2. The naming convention is "wallpaper_##_9999.jpg" where the ## is 01-04, 06-22. They skipped 05 for some reason. The 9999 is a number they designated, no apparent reason or pattern.
3. You must use the same filenames.
4. Your image can be any dimension, the image is centered and cropped for display.
5. If you want your entire image to show, crop them to 600x1024.
6. File size is unimportant.
7. Each time you turn off the screen, and it locks, the software picks the next image down the line. No shuffle or changing of the order. See the filename list below.
Full filename list:
wallpaper_01_2422.jpg
wallpaper_02_1953.jpg
wallpaper_03_6474.jpg
wallpaper_04_5588.jpg
wallpaper_06_6043.jpg
wallpaper_07_5751.jpg
wallpaper_08_1905.jpg
wallpaper_09_2283.jpg
wallpaper_10_5683.jpg
wallpaper_11_5335.jpg
wallpaper_12_5866.jpg
wallpaper_13_3664.jpg
wallpaper_14_6752.jpg
wallpaper_15_2429.jpg
wallpaper_16_5737.jpg
wallpaper_17_6712.jpg
wallpaper_18_3613.jpg
wallpaper_19_5507.jpg
wallpaper_20_6562.jpg
wallpaper_21_3622.jpg
wallpaper_22_6413.jpg
blauciel said:
Thank you very much! I got this to work with one slight hiccup and workaround:
Step 13 gave me an error "(Option 24)" and the unsignedframework-res.apk file disappeared. The workaround was to add:
step 12.5: Set current project (25) - Hint: select unsignedframework-res.apk
Then step 13 worked, no error, and the file did not disappear.
On what happened with the images I selected:
I left the very first image intact: wallpaper_01_2422 just in case it didn't like my images. I then replaced all the other images with other images of mine of the exact same filename. wallpaper_02_1953.jpg, wallpaper_03_6474.jpg and so on. I did add one new image, because their wallpaper_05_????.jpg is not there, I put my own in it's place. That image does not show. Apparently there is a filename index somewhere that specifies what images to show. Also, all the images are 840x1024, while the screen size is 600x1024. I'm not sure why the difference, as the images DO get cropped. Also, I accidentally forgot to resize one of my images and it was much larger than the display, so I only saw the center 600x1024. Lastly, my image image file sizes were about 20% of what they already had. So the original framework-res.apk file is 29.8Mb, while mine came out to ~12Mb
Bottom Line lessons learned:
1. There are 21 images, and without further changes, only 21 allowed.
2. The naming convention is "wallpaper_##_9999.jpg" where the ## is 01-04, 06-22. They skipped 05 for some reason. The 9999 is a number they designated, no apparent reason or pattern.
3. You must use the same filenames.
4. Your image can be any dimension, the image is centered and cropped for display.
5. If you want your entire image to show, crop them to 600x1024.
6. File size is unimportant.
7. Each time you turn off the screen, and it locks, the software picks the next image down the line. No shuffle or changing of the order. See the filename list below.
Full filename list:
wallpaper_01_2422.jpg
wallpaper_02_1953.jpg
wallpaper_03_6474.jpg
wallpaper_04_5588.jpg
wallpaper_06_6043.jpg
wallpaper_07_5751.jpg
wallpaper_08_1905.jpg
wallpaper_09_2283.jpg
wallpaper_10_5683.jpg
wallpaper_11_5335.jpg
wallpaper_12_5866.jpg
wallpaper_13_3664.jpg
wallpaper_14_6752.jpg
wallpaper_15_2429.jpg
wallpaper_16_5737.jpg
wallpaper_17_6712.jpg
wallpaper_18_3613.jpg
wallpaper_19_5507.jpg
wallpaper_20_6562.jpg
wallpaper_21_3622.jpg
wallpaper_22_6413.jpg
Click to expand...
Click to collapse
Thanks! That was very helpful! I was concerned about the substantial change in the overall size of the .apk but I didn't even think about the image sizes being the cause.
Good! One other thing, doing this caused my Kindle to lose all remembrance of all things signed in. I had to sign in to google and in to amazon again, including registering the Kindle again. Twice... :/
//Tapatalk.KindleFire//
---------- Post added at 08:12 PM ---------- Previous post was at 07:45 PM ----------
Sorry for the double post, but I noticed after a text search through the unpacked framework-res.apk that each of the wallpapers is listed in this form:
Name: res/drawable-mdpi/wallpaper_14_6752.jpg
SHA1-Digest: w4mPNGSdoaKDPQW9Jf6HI7Jpegk=
Google reveals that SHA1-Digest is similar to an MD5 code that basically verifies the contents of the file. It would seem that simply changing or editing these entries would limit or add more wallpapers.
So are you saying that we have to have 21 wallpapers no matter what or it will not work? Guess if we want just one wallpaper then we have to put the same one on named the different ways?
Sent from my EVO with Tapatalk
You can put 21 copies of the same image though I gather you can delete all but one and replace that one with one you like. I just replaced all of them with cropped/resized images from my own photography collection (and one of the erupting volcano in Iceland).
//Tapatalk.EVO3D//
So I tried to replace all the wallpapers with just a single wallpaper..it didn't work. It put my device into a bootloop that I couldn't get out of. I had to use parts of the Unbrick thread to get my device to boot again after pushing my original framework-res.apk back to the device.
Trying a few other options now. Anyone know how to sign the apk after putting just a single wallpaper in it? I think the signature is what caused it to get all screwed up.
-Eric
So I got it working by replacing all the wallpapers with a single image but named the same way as the other 21 wallpapers. I still had to go back and get temp root again through adb and set the permissions from adb because as soon as I copied the apk to the folder the device reset on me and started boot looping. It is working fine now but still would be nice to replace with just a single image to reduce the size of the apk, or better yet once we can just do it on the device like all the other devices.
This IS a rather silly implementation that we have to work around.
//Tapatalk.KindleFire//
Someone posted a different solution in the General forum that I have not yet attempted. Had to do with changing the permissions on a package somewhere as I recall.
This method does work with 6.2. I tried it with another APK tool and bricked my Kindle. I think the problem is the other one doesn't "sign" the apk. Putting the right framework-res.apk back in place fixed it.
I had trouble with the GUI interface and changing out the framework.apk out. I played around with adb and I figured out how to due it via command prompt:
You have to root again so that "adb remount" works
Locate android-sdk/platform-tools
Move the new "framework.apk" a new folder to C:\framework
Insert commands without " "
"adb kill-server"
"adb devices" (isn't necessary but I like to make sure that my device is connected)
"adb remount" (changes system files to rewrite)
"adb push /framework/framework-res.apk /system/framework/framework-res.apk"
Then restart Kindle Fire and it'll work! I don't know if this will work for others, but it worked for me after hours of playing around
It works great ! thanks for this guide, instead of making all different wallpaper, I made it all the same wallpaper but of course with different name each. Now my kindle shows 1 image only haha I guess I have to settle with this lol
easier mod
easier mod without bricking your device:
http://droidpirate.com/2011/11/20/amazon-kindle-fire-how-to-change-wallpapers/
NOTE: I'm probably not going to make any new versions of this. There are simply too many rom versions. Instead, I have provided complete instructions in this post on how to do this yourself. Check the DIY section.
This is a modification of the framework-res.apk that turns the green check marks into black ones. The green ones don't have enough contrast and are very hard to see with the phone held at a normal distance from your eyes, or in bright sunlight. I made a point not to change the aesthetics of the existing icons. I just wanted to make them darker.
I tested the new icons in a variety of apps, and every app I tested that used the old icons now shows the new ones. Some apps like Gmail use square, holo-style check marks and aren't affected by this mod. The check marks in the HTC settings are also not affected. I'm not sure where those icons are stored, or else I would change them, too. Those ones can be changed by picking a different HTC skin. The "Matte" skin, in particular, makes those check marks dark blue.
I have created different versions for different Sense-based roms here on XDA.
CleanROM 4.5
CleanROM 4.2 LE/SE
I have not tested the versions for Sick Sense or Xi40 r119, however, there's not much that could go wrong with them. I extracted the framework-res.apk from those roms, stuffed in the new PNGs, added them to my flashable mod structure, zipped them up, and signed them. Please let me know if you try them out. Make a nandroid backup first, though!
If you are currently running a theme that already modifies framework-res.apk for your rom then this mod will eliminate those changes. This is meant to be applied over the default theme of the specific versions above. If your rom gets updated then this may or may not work with the new version. These best way to check this is to compare the MD5 hash of the unaltered framework-res.apk from one of the above rom versions to the unaltered framework-res.apk from whatever new version has come out. If the checksums are the same then the rom maker hasn't updated framework-res.apk and you can freely overwrite it again with the Black Check Marks Mod.
Screenshots
Here's a set of 25% resolution before and after screenshots. This sort of simulates difficult viewing conditions, and shows how hard it can be to see the green check marks, and how much easier it is to see the black ones.
{
"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"
}
Here's a large screenshot from Windows showing the icons in detail:
I also edited the smaller "zzzhtc holo" version of the icons which are used by some apps. They aren't shown here, but are used by "reddit is fun" in the screenshot above.
Notes About Flashing
This is a flashable mod. I've only flashed it with TWRP 2.2.0, but it doesn't use Aroma or anything particularly unusual, so I don't see why you couldn't flash it with CWM. Obviously, you are flashing this at your own risk. Do a nandroid backup first!
Undo
If you want the ability to easily undo this mod, then just backup your current /system/framework/framework-res.apk. If you forget, you can always extract it again from the rom itself without having to reflash the whole rom. Or, just restore the nandroid backup you obviously made before applying this!
Source Graphics
I have included a zip file containing the source graphics. This will let you modify the icons further to make your own, or to add these icons to a different version of framework-res.apk. This includes the PSD files I created to make the icons. The PSD files use adjustment layers with masks. It would be quite easy to make versions that were some dark color instead of black by only changing the adjustment layers.. All the icons for a given size are in one file in layers. (Two PSD files total.)
DIY!
There are simply too many roms and rom versions for me to keep up with them all, so from now on, I'm not going to provide any new versions. I might provide versions for the ROMs I use, but starting with 2.23.707.2 the size of framework-res.apk is 18MB. Even when zipped it's still 12MB and too big to attach here on XDA. So, you can make your own mods from now on. It's super easy! There are a lot of steps here because I want to explain it in enough detail so everyone can do it. This whole process takes under two minutes once you know what you're doing.
Things you will need
A Windows PC.
7-Zip
Java (to sign the zip file at the end.)
The attached template file, "BlackCheckMarksMod_Custom.zip", which contains the source PNGs, the updater-script, and testsign.jar.
Step by step instructions
1. Extract framework-res.apk
You need a copy of framework-res.apk from your rom. Most of the time you can simply open the rom zip file in 7-Zip, navigate to /system/framework and drag the file from there to your desktop. Some rom makers use an Aroma installer with multiple versions of framework-res.apk and none of them are in /system/framework until after you install the rom. You can either find the right file somewhere inside the rom first, or wait until you install the rom then extract it from your phone. The second idea is the most foolproof. You just need a file explorer on your phone capable of navigating to your /system/framework folder, and you copy framework-res.apk from there to /sdcard. Then mount the SD card on your PC and copy the file to your desktop.
2. Copy framework-res.apk into the template
Download and unzip the template zip file, "BlackCheckMarksMod_Custom.zip". (When unzipping there is no need to unzip it into a containing folder because the root of the zip file only contains one folder.) This contains everything you need to make a flashable zip. Inside you will find the following structure:
(Directories in bold)
BlackCheckMarks_Custom
____BlackCheckMarksMod
________META-INF (contents not shown)
________system
____________framework
________sign.bat
________testsign.jar
____PNG files
________A bunch of check mark icons
Copy your framework-res.apk into BlackCheckMarks_Custom\BlackCheckMarksMod\system\framework. At this point, this is still the unaltered version from your rom.
3. Replace the stock check marks
There are two ways to open the APK with 7-Zip.
The easiest way to do it -- but hardest to demonstrate because of differences in versions of Windows and their various dialog boxes -- is to simply associate the .apk extension with 7-Zip. This involves using the Open With... command from the right-click menu on the APK file, or just double clicking it then selecting 7-Zip as the app to use for APK files.
The second way to do it is to launch the 7-Zip File Manager and then navigate to the APK. This is the process I will show here.
In your Start menu, locate and open 7-Zip File Manager.
When it opens, navigate to the folder where you placed the APK: BlackCheckMarks_Custom\BlackCheckMarksMod\system\framework
Alternatively, you can just paste in the path that you copy from the Explorer window.
It should now look something like this:
Now, double click on framework-res.apk. You will see a file listing from inside the APK.
Double click on the "res" folder and you should see more folders.
Double click on the "drawable-xhdpi" folder and stop there.
You should now see a bunch of icons. Now we need to copy our custom icons over the ones inside this folder.
In Windows Explorer, go back up to the root of the "BlackCheckMarks_Custom" folder and you should see a "PNG files" folder.
Open the "PNG files" folder.
Make sure you can see both the 7-Zip window and this Windows Explorer window.
In Windows, Press Ctrl-A to select all the files in the "PNG files" folder, or just select them all manually.
Drag and drop the PNG files into the 7-Zip window.
7-Zip will confirm that you want to add these files to the zip. (It doesn't always come to the front, so you may have to click on 7-Zip to see the prompt.)
Click "Yes" to confirm adding the files.
After a split second it should be complete and you can now close the 7-Zip window.
4. Make the mod zip file
You are ready to make the flashable zip file.
In Windows, navigate to the BlackCheckMarks_Custom\BlackCheckMarksMod folder.
Select just the META-INF folder and the system folder. (If you don't know, to select both you click on one then hold down Ctrl and click the other.)
When they are both selected, right click one of them and choose 7-Zip > Add to "BlackCheckMarksMod.zip" (See screenshot)
After a few seconds you should have a BlackCheckMarksMod.zip in the BlackCheckMarksMod folder. (See screenshot)
5. Make sure the batch file can find Java
You may or may not have the Java binary path in your PATH environment variable. If you don't know what this means, it doesn't matter. I will tell you how to find out, and what to do in either case.
How to find out if Java is in your PATH:
Press WindowsKey-R, or chose Start>Run... from the Start Menu.
Type in cmd and press enter. This will open a command line.
In the command window, type in java and press Enter.
You will see one of two things. See the screenshots below.
This output means Java IS in your PATH variable:
This output means Java is NOT in your PATH variable:
If Java is NOT in your path variable then you need to edit the batch file in step 6. Otherwise, proceed to Step 7.
6. Edit the batch file only if Java was not in your PATH in step 5
We need to edit the batch file so that it points directly at your copy of java.exe which is probably in your Program Files folder. (Or perhaps your Program Files (x86) folder if you are on a 64-bit machine.
The likely places to find java.exe are:
C:\Program Files (x86)\Java\jre1.6.0_22\bin\java.exe
C:\Program Files\Java\jre1.6.0_22\bin\java.exe
Perhaps you will have a slightly different version number, or maybe you installed Java in some other location. To modify the batch file:
Go to the BlackCheckMarks_Custom\BlackCheckMarksMod folder
Right click on Sign.bat and choose Edit. This should open the file in Notepad.
In Notepad, replace the first word, java, with the full path to your java.exe. It should look like one of the two paths above.
You must surround the whole path to java in double quotes! See the example of the whole batch file below:
Code:
"C:\Program Files (x86)\Java\jre1.6.0_22\bin\java.exe" -classpath testsign.jar testsign BlackCheckMarksMod.zip BlackCheckMarksMod-signed.zip
pause
Once you've edited the file, save it and close Notepad.
6. Sign the zip file
Now that you've made sure the batch file is OK, you just double-click it. This will run testsign.jar on the zip file you made. The command window that opens will pause to let you see any errors that occur. You will have to close it manually when it finishes.
If it worked, you won't see much:
If all went well you should now see BlackCheckMarksMod-signed.zip in your folder.
You are done! Stick this file on your phone, do a nandroid backup, then flash this zip and see if it works!
MD5s
CleanROM 4.2: 445d07b8112bce8a090d43940951ae9b
CleanROM 4.5: 993c96203d895d97c02e66a69ec39080
Thank you!
Sent from my HTC One X using Tapatalk 2
EDIT: Doesn't work on xi40, based off of Sense. Won't get past the boot screen. Oh well.
theking_13 said:
EDIT: Doesn't work on xi40, based off of Sense. Won't get past the boot screen. Oh well.
Click to expand...
Click to collapse
That's odd. I'll check it out tonight.
EDIT: The Xi40 framework-res.apk is quite a bit different from the one in CleanROM. I wonder if the CleanROM one is even the same as the stock one. I'll have to look inside a stock rom. For now, I'm going to label this mod as designed for CleanROM.
It's really easy to change the check marks yourself if you'd like. Making it a flashable zip is a bit more work, but that's not necessarily needed. You can just use the file manager in your recovery to push the modified file into the system folder.
Copy framework-res.apk from your rom's /system/framework to somewhere on your computer.
Download the zip file of icons from up above.
Open the APK in 7zip. Do not unzip it into a folder. Just open it in 7zip.
Navigate in 7zip to the folder within the APK: \res\drawable-xhdpi
Drag and drop the PNG checkmark icons from my icon pack into the drawable-xhdpi folder in 7zip. It will ask you to confirm adding them to the APK.
Close 7zip.
Now you just put this file on your /sdcard storage and reboot into your bootloader. Use the file manager to copy it into /system/framework. Perhaps you should backup the old file by renaming it to framework-res.apk.bak or something. It's easier to undo this change with that file than it is to restore a nandroid backup. Then you need to fix the permissions on the file. In TWRP's file manager there is a button to set permissions to 755 ("chmod 755") This will grant unneeded execute permissions, but that can be changed later in any root file explorer, like Root Explorer. It can probably even be left as-is with no harm. Ideally it should be 644, though. (rw-r--r--)
Alternatively, unzip my mod and replace the framework-res.apk that's inside of it with the one you just edited, and zip it back up. Then use the Android Signer to sign the new zip file. Note: the signer won't work unless you have the path to the java bin folder in your PATH environment variable. You also need .Net 2.0 installed.
Either method can be a little tricky. Personally, I find making the flashable zip to be easier. Especially since I already wrote the updater-script for it.
Good work on this! I've been thinking a lot about the check marks located in some of the system settings areas, and I'm thinking the respective pngs to change them are located within the framework-htc-res.apk in system/framework but I could be wrong.
Digging into a few of the xml files in original framework-res.apk yielded some hex color codes for certain ui elements as well. Could be that changing the right one of those may have the desired effect for the rest of the check marks. Just a few random leads to investigate.
I haven't had much time otherwise I'd look more into it. But thanks for taking the time to make this a flashable. :good:
theking_13 said:
EDIT: Doesn't work on xi40, based off of Sense. Won't get past the boot screen. Oh well.
Click to expand...
Click to collapse
I created a version for Xi40. If you would like to try it, let me know if it works.
QQNoob said:
I created a version for Xi40. If you would like to try it, let me know if it works.
Click to expand...
Click to collapse
No problem, will be more than happy to test.
Sent from my HTC One X using Tapatalk 2
theking_13 said:
No problem, will be more than happy to test.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
+1
Sent from my HTC One X using xda premium
Thanks, guys. Let me know if it works.
I just upgraded to CleanROM 4.2 and had to make a new version of this mod for that.
You think the r119 mod will work on r122?
Eh, to hell with it. Backing up now and coming back with results.
Sent from my HTC One X using Tapatalk 2
theking_13 said:
You think the r119 mod will work on r122?
Eh, to hell with it. Backing up now and coming back with results.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
You could always just unzip each mod and compare the MD5s of the two framework-res.apk. If they are the same, then you're good to go. If they're different, then it still might work, but the rom designer probably changed those resources for a reason. You'd lose whatever changes they made.
EDIT: Considering that Xi40 r122 doesn't even have a framework-res.apk, I'd assume that it won't work.
How do I check the MD5 sums?
EDIT: I'll try it in the morning, so tired and took forever to back up lol
Sent from my HTC One X using Tapatalk 2
theking_13 said:
How do I check the MD5 sums?
Click to expand...
Click to collapse
There's no point now. r122 doesn't even have a framework-res.apk, as I mentioned in my last post. If it did, you would simply open each ROM in 7zip or some other zip tool, and drag framework-res.apk out of the rom to somewhere handy. Then use a tool like http://www.winmd5.com/ to generate the MD5 hash for each copy of the file. If the values are the same, then it's the exact same file. If they are different, then something was changed in that APK for the new rom version. But there is no framework-res.apk in r122, so it's moot.
Damn, wish there was. I would love to try your mod, the green check marks are so deceiving sometimes.
Sent from my HTC One X using Tapatalk 2
I hope Jelly Bean fixes these check marks for us. I'd love to try this but I'm stock but rooted.
Sent from my HTC PG09410 using xda premium
theking_13 said:
Damn, wish there was. I would love to try your mod, the green check marks are so deceiving sometimes.
Click to expand...
Click to collapse
It turns out that there are no less than four versions of framework-res.apk in this rom. One for the three carriers of this phone, and one generic one. None of them match the MD5 of the r119 one. I assume this rom gives you a choice during install of what carrier branding you want. Which one are you using? I can make a flashable version of Back Check Marks for them all, anyway.
EDIT: Done and uploaded.
FYI: Tried ATT and Generic for r122. Neither worked for me.
Sent from my HTC One X using Tapatalk 2
phatboypat said:
FYI: Tried ATT and Generic for r122. Neither worked for me.
Click to expand...
Click to collapse
That's a pity. Guess I'll might have to flash it myself and take a look. Can you look in your /system/framework/ directory and tell me if framework-res.apk is in there?
QQNoob said:
That's a pity. Guess I'll might have to flash it myself and take a look. Can you look in your /system/framework/ directory and tell me if framework-res.apk is in there?
Click to expand...
Click to collapse
Yes, it is.
Sent from my HTC One X using Tapatalk 2
phatboypat said:
Yes, it is.
Click to expand...
Click to collapse
When you say it didn't work. Would it not boot, or were the check marks simply still green?
QQNoob said:
When you say it didn't work. Would it not boot, or were the check marks simply still green?
Click to expand...
Click to collapse
Check marks were still green.
Sent from my HTC One X using Tapatalk 2