[GUIDE]Editing framework-res.apk to change status bar icons(s5830i) - Galaxy Ace S5830i General

So friends, here is a quick and easy guide for changing the status bar icons of your s5830i(Actually any phone )
For those who don't know how to do it(for anyone actually :highfive
Theory
Android is the awesome platform which is easily configurable and is able of being edited very easily
The icons used in every app and Android framework are located as png images in apk of those respective apps in location:-
*.apk/res/drawable-mdpi (in our case, as our phone is mdpi)
So, we can change any icon of our status bar like battery, signal, (not clock[clock is to be configures in SystemUI.apk{will post how to change it shortly}]), etc by editing png's in framework-res.apk
Not even that, you can edit images of any app as I told you
There are several ways to decompile and compile apk in which we have made change
If we want full access of apk and want to change every thing like the xml's in it and smali content in jar files, then we would have to do it on computer by apktool or apkmanager
But, we are here to only change image, so we would not go in detail of apktool or apkmanager. For changing images, that can be very easily done even on the phone by an app NinjaMorph that is made for developers by our senior head and DEVELOPING LEGEND Stephen(Stericson)
But be careful as backing up the original file if you do something wrong
And as you all know any developer or even a newbie posting something interesting that you want to try WILL NOT BE RESPONSIBLE for your mobile blowing up, resting in peace, sleeping like a dead, behaving like a non-living BRICK, or anything whatsoever that may or may not happen to phone in this universe or any other universe known or unknown
What to do if anything happened to my mobile
We have had a backup of your original file so we can restore it
But if while editing the system files like framework-res.apk
If you deleted some un-backed up apk's
Well you can always have backup of your ROM and that is why Koushik Datta has made clockworkmod Recovery
You can restore your ROM from there
Pre-Requisites
Patience
Mind
A GT-S5830i (A spare one if you brick your phone, just kidding)
Root access(to change the apk)
NinjaMorph(http://bit.ly/ninjamorph)
Root Explorer(Optional)(http://bit.ly/stericson)
GUIDE
So Let's Start
Download NinjaMorph. Install it and give it root access. It will prompt for starting checks. Click on start checks.
Now you would have three options, namely, New Project, Finish Project, Existing Project
Click on new project. Go to system/framework/ and click on framework-res.apk. It will start extracting files
Once it has extracted all the files, it will open to show you what is inside framework-res.apk.
Exit it and go to your file explorer.
Go to /sdcard/AndroidThemes/workspace/framework-resapk
This is what is inside apk. Go to res/drawable-mdpi folder
There you will see hundreds of icons of your menu, lockscreen, battery, signal, and everything
You can edit them and replace them as you want. But the name of the file you are replacing and size and dimension must be equal to the file you are replacing with(I recommend Googling and finding icons of battery, signal, and other things)[I have even used hdpi icons, there was no problem]
If you download a theme file which is to be flashed in recovery that is not for your phone, no problem, extract the zip and place its framework-res.apk in your sdcard and extract the apk with Ninjamorph. Replace your icons with its icons and TADA
After you have done replacing the icons and you are satisfied(I am never)
Go to NinjaMorph. Click on Fininsh Projects. Click on framework-resapk. It will recompile and ask to replace the original apk with modded one. Click OK
Then it will ask if you want to remove the completed project, Say No(As you would need it if something gets wrong)
Reboot your phone
Maximum chances are that your icons will be replaced. Rare cases have their status bar gone or no change, if so:-
Download(Buy) Root Explorer. Go to /sdcard/AndroidThemes/workspace,
There you will see framework-res.apk. Copy it and go to /system/framework
Mount as R/W
Paste the apk. If it asks that file already exists, overwrite it.
SET PERMISSIONS
Long click on framework-res.apk and click on permissions
You will see three columns
Read Write Execute
You have to set them in the following way
x means you have to tick it
blank means uncheck
Read Write Execute
.....x........x.................
.....x...........................
.....x...........................
Click OK
You will see it as rw-r--r--
Reboot
Do it over again if nothing happens
Enjoy
This way you can edit not only framework-res.apk but any apk
Treat
This section is different from the thread topic
I: Faking Up
Want to make your device show Jelly Bean in About Phone
Go to Root Explorer
Go to /system
Long click on build.prop
Click on Open in a Text Editor
Change the files as
ro.build.display.id=Jelly Bean
ro.build.version.release=4.1.4
Save Changes
Reboot
II: Easter Egg
You all must know that an image of GingerBread Zombie comes up when you repeatedly click on Android Version in Setting>About Phone
Wanna change it to look like Jelly Bean?
{
"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"
}
Extract framework-res.apk
Go to res/drawable-nodpi
You will see platlogo.jpg
Replace it with the file in attachment
Recompile
Reboot
Troubleshooting
Will find and update it
Tell me what problems are you having

Duplicate of this thread: http://forum.xda-developers.com/showthread.php?t=2010679
Closed.

Related

[MOD] Change Lockscreen in Cyanogen 7 [MDPI/HDPI]

After a lot of trial and error, here it is. Pretty simply you will be able to change your lockscreen background to whatever your liking is.
This has been mentioned to be working on both MDPI and HDPI resolutions.
This mod works only for CM7, as it includes the rotary lockscreen code.
IMPORTANT This will alter your framework-res.apk folder, and this means you will lose your current accounts and sync settings. So backup with titanium first (or whatever you use). ALSO, NANDROID TO BE SAFE
I've made 2 versions so far:
1) First version is your normal lockscreen, with altered background. Nothing else is changed.
2) Lockscreen with altered clock. Moved to the top-left to leave more space for your new background to show. Here's how it looks:
{
"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 STEP - How to apply Lockscreen for the first time
1) Included are 2 CustomLockscreen .zip files. Choose wether you want the edited clock version or not, then go ahead and download
2) Use either metamorph, or simply overwrite in your own framework-res.apk files the contents of the zip file (if you overwrite, make sure you leave out the .xml file in the ROOT of the zip)
3) Apply Metamorph, or use your own framework-res.apk and push it via adb.
4) Reboot. Note this also changes your home background picture, just simply change it to your normal one. Don't worry, the lockscreen one won't change after you change your home background.
STEP TWO - After having applied the first step, you need to do this to change image everytime you want to
1) Download the ChangeLockscreen.zip
2) Use metamorph to extract the zip then exit metamorph
3) Mount your phone to your pc and place your 320x480(MDPI) or 480x766(HDPI) picture in /sdcard/AndroidThemes/ChangeLockscreen/framework-res/drawable
4) Go back to metamorph, choose "Pick existing theme" and Navigate to the ChangeLockscreen folder, and choose the ChangeLockscreen.xml
5) Apply
6) Reboot
7) Change home wallpaper again.
NOTE Use a 320x480 JPG IMAGE (MDPI) OR 480x766 JPG IMAGE (HDPI) of your liking and place it in /drawable named as default_wallpaper.jpg
IF SOMETHING GOES WRONG
Extract your framework-res.apk from your current rom
Boot in recovery and enable USB toggle
Code:
adb shell mount /system
adb shell rm /system/framework/framwork-res.apk
adb push /the-folder-you-extracted-your-framework-res/framework.res.apk /system/framework
Reboot
NOTES MDPI devices use the normal zips. HDPI devices use the HDPI zips.
If you like this, please THANK away
Contact me
Twitter
Suggestions, problems etcetera, please post here so others can help as well. Let me know if this works for you.
Changelog
V1.0 Out 25/1/2011
Just wanted to confirm that this also works on HDPI devices. I built the keyguard XML into my framework on my EVO and it works perfectly.
where´s the difference to [Custom] Lockscreen Background ? (besides of not changing frameworks-res.apk)
rori~ said:
where´s the difference to [Custom] Lockscreen Background ? (besides of not changing frameworks-res.apk)
Click to expand...
Click to collapse
I haven't actually seen what is edited in your xml, but seeing the name of the files they seem to have the same layout, except yours targets /drawable-hdpi (which doesn't exist in MPDI or LDPI screens).
Tried to morph it (because as i said i was too bored to decompile your xml), and it doesn't seem to work. Have you included the rotary lockscreen code?
+ the small edit to the clock position.
I'm sorry for not seeing it earlier (i did search online, but didnt come across it, could have made my life easier). All i found on the net was an eclair edit of the lockscreen, and based on that, and on what png's were already included on the framework-res.apk files in CM7, i decided to use that obvious choice (default_wallpaper)
@gomorrah
Thanks for letting me know
petsasj said:
I haven't actually seen what is edited in your xml, but seeing the name of the files they seem to have the same layout, except yours targets /drawable-hdpi (which doesn't exist in MPDI or LDPI screens).
Tried to morph it (because as i said i was too bored to decompile your xml), and it doesn't seem to work. Have you included the rotary lockscreen code?
+ the small edit to the clock position.
I'm sorry for not seeing it earlier (i did search online, but didnt come across it, could have made my life easier). All i found on the net was an eclair edit of the lockscreen, and based on that, and on what png's were already included on the framework-res.apk files in CM7, i decided to use that obvious choice (default_wallpaper)
Click to expand...
Click to collapse
No prob
What I did was for cm6 and could been used on any resolution, just has to be updated to cm7 and can be easily used as a morph after every nightly.
For cm7 I did this now
im a little lost on how to change the whole lockscreen like your where u have the 4 lock/unlock . how do i get my lockscreen like that. please help
notnice564 said:
im a little lost on how to change the whole lockscreen like your where u have the 4 lock/unlock . how do i get my lockscreen like that. please help
Click to expand...
Click to collapse
Can you be a little more specific? What's going wrong with your case?
1)You need metamorph. Download it from the market.
2) Flash either CustomLockscreen_petsasj.zip (normal clock in lockscreen) or CustomLockscreen_WITHCLOCK.zip (edited clock)
Then for simply changing the picture, use the other script, ChangeLockscreen.zip.
Extract it in Metamorph, insert the picture of your liking in /sdcard/AndroidThemes/drawable/default_wallpaper.jpg (use the mentioned picture sizes depending on MDPI/HDPI)
Edit: Wrote the steps again, should be easier to understand (was in a hurry yesterday, sorry)
gomorrah said:
Just wanted to confirm that this also works on HDPI devices. I built the keyguard XML into my framework on my EVO and it works perfectly.
Click to expand...
Click to collapse
Can you tell my how you did this on your EVO? I have tried applying both ZIPs through metamorph and I always end up with this grass screen. Also, the clock is higher in my image than the one in the original post.
If there is a way to do it through Root Explorer, I don't mind doing...just need to know the steps. Metamorph has never wanted to work correctly on my phone that's why I had abandoned it long ago.
thetaman said:
Can you tell my how you did this on your EVO? I have tried applying both ZIPs through metamorph and I always end up with this grass screen. Also, the clock is higher in my image than the one in the original post.
If there is a way to do it through Root Explorer, I don't mind doing...just need to know the steps. Metamorph has never wanted to work correctly on my phone that's why I had abandoned it long ago.
Click to expand...
Click to collapse
Seems like the xml edits in HDPI phones are a bit off, as the screens are higher, and that makes sense.
Thetaman, i posted an update for HDPI Devices, get that from the first post.
Petsasj,
Thanks for trying to help. I extracted your CustomLockscreen_WITHCLOCKHDPI.zip in Metamorph. I get some kind of error message when extracting in Metamorph, I think, but it flashes so quickly and is a long message I'm not sure what it says or means. Do you get a message?
I then select Pick Exiting Theme and see a CustomLockscreen_WITHCLOCKHDPI folder. I click on it and there is a CustomLockscreen_WITHCLOCKHDPI.xml file and a framework-res file. If I dig into the framework-res file and get to drawable-hdpi and click on it, it shows no files. Screenshot below. However, if I follow the same path through Root Explorer to the same location it shows the default_wallpaper.jpg. Why do I see it in Root Explorer and not in Metamorph? I'm guessing whatever the problem is, this is why when I apply it in Metamorph...it never changes off the Green Grass screen (default Android)?
I have no idea what could be wrong. I'm sorry =/
What can be done is this:
Get your Rom's framework-res.apk, then:
1) Navigate to the HDPI zip file from the first post, and copy the /res/layout folder content.
2) Open your framework-res.apk (the one you extracted from your rom) with Winrar, navigate to /res/layout and paste (this should overwrite the two files)
3) Use a picture of your liking, sized @ 480x766, named it default_wallpaper.jpg and place it in /res/drawable-hdpi
4) After having added those two files in your framework, use adb to adb push your framework back in place
This is how, if you don't know:
Code:
adb remount
adb shell rm /system/framework/framework-res.apk
adb push C:\framework-res.apk /system/framework
adb reboot
You can copy these lines in, so long as the edited framework-res.apk file is in the root of your C:\ drive. Let me know.
Just want to confirm this is working on my G2 running GingerVillian 1.5
Caused a bootloop on my inc running CM7
Is it possible to tell me which changes i have to do in the keyguard_screen_tab_unlock.xml? I want port it for the Milestone CM7 by nadlabak. I've tried to use your version but it ends in reboot loop.
Also to add the content from yours into the MS Version fails. Hopefully u can help me. In attachement the original framework-res.apk from the lastet Version.
TIA
bandit79
downloading now
fckd my dell , via this lockscreen help needed
petsasj said:
After a lot of trial and error, here it is. Pretty simply you will be able to change your lockscreen background to whatever your liking is.
This has been mentioned to be working on both MDPI and HDPI resolutions.
This mod works only for CM7, as it includes the rotary lockscreen code.
IMPORTANT This will alter your framework-res.apk folder, and this means you will lose your current accounts and sync settings. So backup with titanium first (or whatever you use). ALSO, NANDROID TO BE SAFE
I've made 2 versions so far:
1) First version is your normal lockscreen, with altered background. Nothing else is changed.
2) Lockscreen with altered clock. Moved to the top-left to leave more space for your new background to show. Here's how it looks:
FIRST STEP - How to apply Lockscreen for the first time
1) Included are 2 CustomLockscreen .zip files. Choose wether you want the edited clock version or not, then go ahead and download
2) Use either metamorph, or simply overwrite in your own framework-res.apk files the contents of the zip file (if you overwrite, make sure you leave out the .xml file in the ROOT of the zip)
3) Apply Metamorph, or use your own framework-res.apk and push it via adb.
4) Reboot. Note this also changes your home background picture, just simply change it to your normal one. Don't worry, the lockscreen one won't change after you change your home background.
STEP TWO - After having applied the first step, you need to do this to change image everytime you want to
1) Download the ChangeLockscreen.zip
2) Use metamorph to extract the zip then exit metamorph
3) Mount your phone to your pc and place your 320x480(MDPI) or 480x766(HDPI) picture in /sdcard/AndroidThemes/ChangeLockscreen/framework-res/drawable
4) Go back to metamorph, choose "Pick existing theme" and Navigate to the ChangeLockscreen folder, and choose the ChangeLockscreen.xml
5) Apply
6) Reboot
7) Change home wallpaper again.
NOTE Use a 320x480 JPG IMAGE (MDPI) OR 480x766 JPG IMAGE (HDPI) of your liking and place it in /drawable named as default_wallpaper.jpg
IF SOMETHING GOES WRONG
Extract your framework-res.apk from your current rom
Boot in recovery and enable USB toggle
Code:
adb shell mount /system
adb shell rm /system/framework/framwork-res.apk
adb push /the-folder-you-extracted-your-framework-res/framework.res.apk /system/framework
Reboot
NOTES MDPI devices use the normal zips. HDPI devices use the HDPI zips.
If you like this, please THANK away
Contact me
Twitter
Suggestions, problems etcetera, please post here so others can help as well. Let me know if this works for you.
Click to expand...
Click to collapse
I tried to install this lockscreen and i ****ed my dell, it just restart again and again, like blinking screen on dell logo again and again, please help guys tried factory reset via recovery mode,nothing happened
cannot make it....return boot loop on my CM7
any help?
doesnt work with GSB CM7. It either puts it in a bootloop or doesnt change it period.
btw, great surprise with the changelockscreen.zip wallpaper
Cant get this to work on G2 using cm7 rc1 meta freeze when installing the costum lockscreen zip
Sent from my G2 using XDA App =)

[GUIDE] Resizing/Editing ADW icons for Widgetsoid

Hello everyone, let me start off by saying I am new to the forum so any input, advice, or corrections are more than welcome and much appreciated. This thread is a step by step guide on how to edit icons primarily for Widgetsoid but also any other applications that use an ADW theme. The donate version of Widgetsoid has a feature for using ADW theme icons, however a standard 96x96 pixel icon will not fit right and won’t allow room for text below, they also appear to be sized for elderly people. So after a couple hours of reading online and tinkering with both windows and android I have found a way to edit the source PNG/Image files, replace the originals, and reinstall the apk file. So here are the programs and applications required…
-----Windows Programs Required-----
1. 7zip or alternative program (http://www.7-zip.org/)
2. Icon Set-Builder (http://iconsetbuilder.echtzeitig.de/download.html) Download the MSI file and install
-----Android Applications Required-----
3. ES File Explorer or alternative application (https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en)
4. ZipSigner 2 (https://play.google.com/store/apps/details?id=kellinwood.zipsigner2&hl=en)
Ok so once you have installed all of the above you are ready to begin editing the images inside your apk file. Here are the steps…
------------------------------------------------------------
1. Place the apk file on your desktop and make a copy
2. Right click the copy of the apk and select open archive with 7zip.
3. Find the source image files you wish to edit and drag the files/folder to your desktop. (if editing all files in a folder move the entire folder to your desktop, empty zip folders will be deleted automatically)
4. Open Icon Set-Builder and go to tools, then click “open file with explorer” a menu will then drop, select “assets”. Then open the “IconSets” folder and then the “My App Icons” folder.
5. Delete or move the icons from here and replace with the Image files you wish to resize/edit, then go to “Icon set” at the top of the program and select “My App Icons” (you should see the first image in the folder appear in the program)
6. Make any changes you desire, I believe Icon Set-Builder has additional plugins from their website for further customization. (Widgetsoid users, 64x64 pixels is 2/3 the size of regular adw icons and fits very well compared to standard 96x96 pixel adw icon)
7. Now simply click generate and it generates the images in a batch sequence, all in a matter of seconds.
8. Now it should open a folder with the edited files, if not go to tools, open w/explorer, and exports. Drag and drop the folder to your desktop.
9. Now open the apk again with 7zip and replace files/folder (do not extract, select "open archive")
10. Now create a folder on your desktop called META-INF, delete the META-INF folder from the apk and replace with the empty META-INF folder you just created (if there is an error close the archive and re-open, it should accept the empty META-INF folder now). Now replace the original images or original folder inside the application and replace them with your edited files/folder. Close 7zip and place the apk on your sd card.
11. Now using ZipSigner 2 type in the path to the edited apk file and rename the output file. Auto test key is the default setting and doesn’t need to be changed, now sign the file.
12. Open your file manager and install the apk file.
------------------------------------------------------------
Now the reason for signing the apk is because the file was edited and in most cases the signature will be broken and the apk will not install.
Here is a screenshot comparing my resized icons (left side) to a similar adw icon with original 96x96 pixel dimensions. (left icon is 64x64, right is 96x96).
{
"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"
}

[GUIDE]Easiest method to theme your ROM on Mobile for n00bs and N3wbies

So friends, here is a quick and easy guide for changing the status bar icons of your Gingerbread(Actually any phone )
For those who don't know how to do it(for anyone actually :highfive
Theory
Android is the awesome platform which is easily configurable and is able of being edited very easily
The icons used in every app and Android framework are located as png images in apk of those respective apps in location:-
*.apk/res/drawable-mdpi (in my case, as our phone is mdpi)
So, we can change any icon of our status bar like battery, signal, (not clock[clock is to be configures in SystemUI.apk{will post how to change it shortly}]), etc by editing png's in framework-res.apk
Not even that, you can edit images of any app as I told you
There are several ways to decompile and compile apk in which we have made change
If we want full access of apk and want to change every thing like the xml's in it and smali content in jar files, then we would have to do it on computer by apktool or apkmanager
But, we are here to only change image, so we would not go in detail of apktool or apkmanager. For changing images, that can be very easily done even on the phone by an app NinjaMorph that is made for developers by our senior head and DEVELOPING LEGEND Stephen(Stericson)
But be careful as backing up the original file if you do something wrong
And as you all know any developer or even a newbie posting something interesting that you want to try WILL NOT BE RESPONSIBLE for your mobile blowing up, resting in peace, sleeping like a dead, behaving like a non-living BRICK, or anything whatsoever that may or may not happen to phone in this universe or any other universe known or unknown
What to do if anything happened to my mobile
We have had a backup of your original file so we can restore it
But if while editing the system files like framework-res.apk
If you deleted some un-backed up apk's
Well you can always have backup of your ROM and that is why Koushik Datta has made clockworkmod Recovery
You can restore your ROM from there
Pre-Requisites
Patience
Mind
A Android (A spare one if you brick your phone, just kidding)
Root access(to change the apk)
NinjaMorph(http://bit.ly/ninjamorph)
Root Explorer(Optional)(http://bit.ly/stericson)
GUIDE
So Let's Start
Download NinjaMorph. Install it and give it root access. It will prompt for starting checks. Click on start checks.
Now you would have three options, namely, New Project, Finish Project, Existing Project
Click on new project. Go to system/framework/ and click on framework-res.apk. It will start extracting files
Once it has extracted all the files, it will open to show you what is inside framework-res.apk.
Exit it and go to your file explorer.
Go to /sdcard/AndroidThemes/workspace/framework-resapk
This is what is inside apk. Go to res/drawable-mdpi folder
There you will see hundreds of icons of your menu, lockscreen, battery, signal, and everything
You can edit them and replace them as you want. But the name of the file you are replacing and size and dimension must be equal to the file you are replacing with(I recommend Googling and finding icons of battery, signal, and other things)[I have even used hdpi icons, there was no problem]
If you download a theme file which is to be flashed in recovery that is not for your phone, no problem, extract the zip and place its framework-res.apk in your sdcard and extract the apk with Ninjamorph. Replace your icons with its icons and TADA
After you have done replacing the icons and you are satisfied(I am never)
Go to NinjaMorph. Click on Fininsh Projects. Click on framework-resapk. It will recompile and ask to replace the original apk with modded one. Click OK
Then it will ask if you want to remove the completed project, Say No(As you would need it if something gets wrong)
Reboot your phone
Maximum chances are that your icons will be replaced. Rare cases have their status bar gone or no change, if so:-
Download(Buy) Root Explorer. Go to /sdcard/AndroidThemes/workspace,
There you will see framework-res.apk. Copy it and go to /system/framework
Mount as R/W
Paste the apk. If it asks that file already exists, overwrite it.
SET PERMISSIONS
Long click on framework-res.apk and click on permissions
You will see three columns
Read Write Execute
You have to set them in the following way
x means you have to tick it
blank means uncheck
Read Write Execute
.....x........x.................
.....x...........................
.....x...........................
Click OK
You will see it as rw-r--r--
Reboot
Do it over again if nothing happens
Enjoy
This way you can edit not only framework-res.apk but any apk
Treat
This section is different from the thread topic
I: Faking Up
Want to make your device show Jelly Bean in About Phone
Go to Root Explorer
Go to /system
Long click on build.prop
Click on Open in a Text Editor
Change the files as
ro.build.display.id=Jelly Bean
ro.build.version.release=4.1.4
Save Changes
Reboot
II: Easter Egg
You all must know that an image of GingerBread Zombie comes up when you repeatedly click on Android Version in Setting>About Phone
Wanna change it to look like Jelly Bean?
{
"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"
}
Extract framework-res.apk
Go to res/drawable-nodpi
You will see platlogo.jpg
Replace it with the file in attachment
Recompile
Reboot
Troubleshooting
Will find and update it
Tell me what problems are you having
Reserved for serving A SANDWICH OF ICE CREAM, BEANS MADE OF JELLY AND.....
Key Lime Pie
BUMP

[Q] how to hide the NFC icon [kk]?

Anyway its always on "ON" state all the time.. I dont want it to waste place for that..
Any idea how to hide it?
mcjordan92 said:
Anyway its always on "ON" state all the time.. I dont want it to waste place for that..
Any idea how to hide it?
Click to expand...
Click to collapse
Open a buildprop editior and change the value of ro.nfc.icon.enable to false. You need root for that
You need to be rooted and edit your build.prop. An easy way to do this is with Build Prop Editor.
You need to find the entry -
ro.nfc.icon.enable
Change the value from true to false, then reboot.
Edit - Beaten to it. ?
Sent from my C6603 using Tapatalk
Nice idea! but some what it didn't work for me.
It was already on false when I first saw it.
I tried to 'true' it and re'false', tried to change every one there except the first but nothing worked (I restarted each time ofc, I've played with build.prop many times before)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I was sure that the Gravity Xposed tool is related to that but disabling it didn't help.. any idea?
mcjordan92 said:
Nice idea! but some what it didn't work for me.
It was already on false when I first saw it.
I tried to 'true' it and re'false', tried to change every one there except the first but nothing worked (I restarted each time ofc, I've played with build.prop many times before)
View attachment 2835790
I was sure that the Gravity Xposed tool is related to that but disabling it didn't help.. any idea?
Click to expand...
Click to collapse
hmm i have a bit HARD way for that but im sure you can do it!
take systemUI.apk from system/priv-app or system/app
then rename it to SystemUI.zip then extract it in empty folder
then open folder called "res"
you will find alot of folders! open them ONE BY ONE and delete every NFC icon you find!
after you finish deleting all NFC icons go back to the place you extracted SystemUI.zip
select all the files and folders and compress them (put them in zip file) and select store compressing mode
after you finish rename the zip to SystemUI.apk ( the upper case letters keep them upper case!!)
download zipsigner app
install it and open it!
click CHOOSE IN/OUT button! and select the place the you put the new SystemUI.apk and select it
click the sign the file button
when finish open your file manager and go to the same folder you have SystemUI.apk
you will find apk file with the same name with extra SIGNED text!
rename it to SystemUI.apk and move to system/app or system/priv-app and REPLACE the old one then set the permissions to rw-r-r
reboot and enjoy it!
ps. i didnt tried it for sure but i found the icons inside the apk
BACKUP THE ORIGINAL SYSTEMUI.APK BEFORE TRY!!!!!!!
Xperia™ Z (C6602) with tapatalk
androidfreak70 said:
hmm i have a bit HARD way for that but im sure you can do it!
take systemUI.apk from system/priv-app or system/app
then rename it to SystemUI.zip then extract it in empty folder
then open folder called "res"
you will find alot of folders! open them ONE BY ONE and delete every NFC icon you find!
after you finish deleting all NFC icons go back to the place you extracted SystemUI.zip
select all the files and folders and compress them (put them in zip file) and select store compressing mode
after you finish rename the zip to SystemUI.apk ( the upper case letters keep them upper case!!)
download zipsigner app
install it and open it!
click CHOOSE IN/OUT button! and select the place the you put the new SystemUI.apk and select it
click the sign the file button
when finish open your file manager and go to the same folder you have SystemUI.apk
you will find apk file with the same name with extra SIGNED text!
rename it to SystemUI.apk and move to system/app or system/priv-app and REPLACE the old one then set the permissions to rw-r-r
reboot and enjoy it!
ps. i didnt tried it for sure but i found the icons inside the apk
BACKUP THE ORIGINAL SYSTEMUI.APK BEFORE TRY!!!!!!!
Xperia™ Z (C6602) with tapatalk
Click to expand...
Click to collapse
Well done my friend !
I feel like an hero after proccessing this and succussing.
I didn't completely followed your guide because the saying of "search every NFC icon and delete it" gave me a red light that this might be bad..
after done I can say that the only needed files for deleting are
stat_sys_nfc_forum.png and they are in 3 places:
SystemUI\res\drawable-hdpi
SystemUI\res\drawable-xhdpi
SystemUI\res\drawable-xxhdpi
Trying to zip it / unzip it apk it and sign it didn't work.
After renaming it once the file is ruined and can't use it anymore no matter signing or not.. (I probably didn't do it right but I couldn't do it that way..)
So what I did was copying the apk file to PC, opening it with winrar and deleting the files through it without changing the apk extension.
After that I sent back to phone and went to system/priv-apk folder, renamed the original systemUI.apk to .BAK (so I won't lose it)
and copied the edited 1 to there.
set permission to:
owner: read+write
Group: read+wrote
others: read
only this way it works, don't know what rw-r-r means but putting owner: r,w and others only read didn't work.
(I simply watched the premission on the original and did the same for the modified)
reboot and bam! it works!
Huge thanks for your guide !
mcjordan92 said:
Well done my friend !
I feel like an hero after proccessing this and succussing.
I didn't completely followed your guide because the saying of "search every NFC icon and delete it" gave me a red light that this might be bad..
after done I can say that the only needed files for deleting are
stat_sys_nfc_forum.png and they are in 3 places:
SystemUI\res\drawable-hdpi
SystemUI\res\drawable-xhdpi
SystemUI\res\drawable-xxhdpi
Trying to zip it / unzip it apk it and sign it didn't work.
After renaming it once the file is ruined and can't use it anymore no matter signing or not.. (I probably didn't do it right but I couldn't do it that way..)
So what I did was copying the apk file to PC, opening it with winrar and deleting the files through it without changing the apk extension.
After that I sent back to phone and went to system/priv-apk folder, renamed the original systemUI.apk to .BAK (so I won't lose it)
and copied the edited 1 to there.
set permission to:
owner: read+write
Group: read+wrote
others: read
only this way it works, don't know what rw-r-r means but putting owner: r,w and others only read didn't work.
(I simply watched the premission on the original and did the same for the modified)
reboot and bam! it works!
Huge thanks for your guide !
Click to expand...
Click to collapse
wow great!
any time to help
Xperia™ Z (C6602) with tapatalk

[Guide][noobs][theming basic and background]

first dont blame me if anything goes wrong with you just search before ask
this guide is for noobs those who want to have a background basic on theming
second sorry for my bad en
iam introducing my self my name is mohammed khalid from egypt my nickname here is apk5656
ok so lets start
keep in your mind iam using win8 so it may have diiferent settings if you have a win7
---------------------------------------------------------------------------------------------------------------------------
Installing tools
Setting up the Java SE Runtime Environment
step one install those files
STEP 1: Install these two files:
- JRE8 (This is what I use):http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
- JDK8 (Install just in case):http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
STEP 2: Setting up JDK JAVA_HOME environment variable:
After installing the two files above, locate your JDK location, in my case, mine is C:\Program Files\Java\jdk1.8.0_20.
Then open up your Control Panel and click into System (Control Panel\All Control Panel Items\System)
then in side bar click advanced system settings
A popup will appear, click on the Advanced tab, then click on "Environment Variables..."
Another smaller popup, Environment Variables, will open up. Click on "New..."
According to the screenshot, click type in the Variable name (JAVA_HOME) and Variable value (Location of your JDK set up).
After everything is done, click OK on all popups, then reboot your computer.
You are now ready for apps like eclipse/ Studio, future proofing yourself for now.:victory::victory::victory::highfive::highfive::highfive:
-----------------------------------------------------------------------------------------------------------------------------------
now we will set up your tools which will help you theming
apk tool
download tool from here http://www.mediafire.com/download/s7y2bja7pjuxqru/APK-Multi-Tool-Stable-RELEASE.zip
after downloading it continue with me to setting up it
setting up apktool
First Make sure you have "framework-res.apk" of your device whose apk you are going to edit.
If you dont have "framework-res.apk". Click Here (Micromax A35 Stock framework)
Steps:
Extract the downloaded zip and open extracted folder.
{
"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"
}
2. Open Setup.bat and press "3" (Without Quotes)
3. It will make automatically some folders and you will be again moved to the above screen.
4. Now put your framework-res.apk to "other" folder (Have a look there).
5. Now in the menu, Press 2.
6. Now press 1. (a cmd window will popup).
type there- "apktool if framework-res.apk" (without quotes)
and press ENTER.
Now Quit the menu.
Congratulations, You have set up APK MULTITOOL successfully
------------------------------------------------------------------------------------------
decompiling/recompiling your first app
PART 1: How To Decompile Apk:
1. If You All Done Right, You Will See Like This,
2. Let Us Decompile Settings.apk (Get Your Settings.apk From Your Device /system/app)
3. Place Your Settings.apk inside "place-apk-here-for-modding"
4. Open "Script.bat", Press Enter, Then You Will See Like This.
5. As You Know, Settings.apk is a system app, so Press Option "9", Then Press ENTER
6. Wait For Decompilation process(It will be automatically done.)
7. Your Decompiled Apk Will Be In "projects" folder.
PART 2: How To Recompile Apk:
1. The Basic Editing, You Must Know How To Do This, I Wont Teach You This One, In This Tutorial, After Editing, Open "script.bat".
2. Press "11" and ENTER, To Compile System Apps.
3. After Buliding Apk, You Will See Like This
4. Press "y" and ENTER, Now You Will See Like This.
6. Now The Most Important Part Comes, MINIMISE Your script.bat Screen, Find "keep"
Open this folder, You Will Get These,
Be Carefull:
Delete "resources.arsc", "res" file/folder, If You Edited any ".xml", "png".
Delete "classes.dex" if you have edited any "smali file".
Delete "AndroidManifest.xml", if you editied This File (If You Not Edited "AndroidManifest.xml", Dont Delete It.)
7. Open The MINIMISED "script.bat", Press ENTER.
8. You Will Find Your Modded Apk In "modified-system-apk-files-here" folder.
9. Rename "systemSettings.apk" to "Settings.apk".
10. Paste This "Settings.apk" to Your /system/app.
NOTE:
If You Edit Your "AndroidManifest.xml", You Need to Sign Your Apk.
For Signing, Place the Modded App in "place-apk-here-for-signing" folder.
In "script.bat", The Option Number is "20".
The "script.bat" Automatically Termainates After Signing.
The Signed Apk is in "place-apk-here-for-signing" folder.
Also, stock ROM dont accept custom signed system apk(s), for using custom signed system apk(s), you need to disable "signature verification" from "services.jar". google it
Dont worry about signatures, if you didnt edited your "AndroidManifest.xml".
--------------------------------------------------------------------------------------------------------------------------------
some basics to help you theming
.9 png images you cant edit them just by photoshop they have a custom edit bcuz the are patched
this thread will help you
http://.xda-.com/showthread.php?t=605662
ok now about the normal png you can edit it simply with photoshop but if you resized any png do not try to make it much bigger if you did this you will get bugs
ok now about editing xmls
look any xml file has connected with other
i mean if you open any layout xml you may found something like string/-
thats mean this layou xml has string in string.xml file in values folder that is what i mean with xmls are connected
so until now thats it this post will be updated soon with more basics bcuz the basics which i wrote is too small and i wanna to learn you a lot of basics
but thats just for my short time and i have alot of exams
ok untill now hope to see you around.......

Categories

Resources