[Q] how to hide the NFC icon [kk]? - Xperia Z Q&A, Help & Troubleshooting

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

Related

Rotating Anroid boot animation

This was created in Flash MX 2004 (Old, I know, but my chosen program for doing silly animations).
Its basically just an image from Google, pasted on a black background, and made to rotate upwards, while honeycomb bee's fly by. Its all zipped and set to go, I'm sure I don't need to tell you that if you add it to a ROM .zip, choose "store" as your compression, otherwise they don't work
silegeek said:
This was created in Flash MX 2004 (Old, I know, but my chosen program for doing silly animations).
Its basically just an image from Google, pasted on a black background, and made to rotate upwards, while honeycomb bee's fly by. Its all zipped and set to go, I'm sure I don't need to tell you that if you add it to a ROM .zip, choose "store" as your compression, otherwise they don't work
Click to expand...
Click to collapse
Thank you so much for this. I'm quite new to these so.. my question : How can I just flash an audio and keep the boot image that came installed with the rom?
Thank you for your time ;o)
u have to find your bootanimation.zip that came installed with your rom.
e.g. system/customize/resource oder data/local
in this folder copy the "android_audio.mp3".
use RootExplorer or flash with CWM
Kiray1982 said:
u have to find your bootanimation.zip that came installed with your rom.
e.g. system/customize/resource oder data/local
in this folder copy the "android_audio.mp3".
use RootExplorer or flash with CWM
Click to expand...
Click to collapse
I really appreciate your help. I got stuck when flashing the zip. I copied the bootanimation.zip onto the sd card via file expert but I pushed the mp3 file into the zip folder using my computer.
I couldn't copy the mp3 file into the zip using file expert. I gave it permissions and all of that.. GRRRRRR !!
Please help once again ;o)
Assuming you are using a ROM like LeeDroid, make sure (when you save your audio file) that you save it as .OGG
Once you've done that, rename it to .mp3.
I tend to install boot animations (and the audio) in a way that most would consider awkward or pain-in-the-backside. Basically I will add the bootanimation.zip to the current ROM.zip that I'm using, and reinstall it, without formatting data, system, or anything like that. I still keep my phone the way it was, all of my apps are still there, I just have a different bootanimation
I gave up with copying the bootanimation with file managers and stuff, because it requires digging to find the original bootanimation and I never could (and I've been though all the system, data folders and so on, nothing was there) so I just do the reinstall. I guess its essentially like performing an update to the system.
This very good, quite the style change.
silegeek said:
Assuming you are using a ROM like LeeDroid, make sure (when you save your audio file) that you save it as .OGG
Once you've done that, rename it to .mp3.
I tend to install boot animations (and the audio) in a way that most would consider awkward or pain-in-the-backside. Basically I will add the bootanimation.zip to the current ROM.zip that I'm using, and reinstall it, without formatting data, system, or anything like that. I still keep my phone the way it was, all of my apps are still there, I just have a different bootanimation
I gave up with copying the bootanimation with file managers and stuff, because it requires digging to find the original bootanimation and I never could (and I've been though all the system, data folders and so on, nothing was there) so I just do the reinstall. I guess its essentially like performing an update to the system.
Click to expand...
Click to collapse
Hey there! Guess what? Your method didn't work..lol. DAMMIT!! I'm using RXMixHD v1 rom.. I wish someone can put up a flashable bootanimation and make my life easier..hahaha!
Thanks soooooo much for your help though. Greatly appreciate it. I used LeeDroid's rom and that worked flawlessly. I was able to flash the audio and life was great back then ;o)
Maybe I should consider going back to his rom? Hahaha!
THANX ONCE AGAIN ;o)
Showtek1980 said:
Hey there! Guess what? Your method didn't work..lol. DAMMIT!! I'm using RXMixHD v1 rom.. I wish someone can put up a flashable bootanimation and make my life easier..hahaha!
Thanks soooooo much for your help though. Greatly appreciate it. I used LeeDroid's rom and that worked flawlessly. I was able to flash the audio and life was great back then ;o)
Maybe I should consider going back to his rom? Hahaha!
THANX ONCE AGAIN ;o)
Click to expand...
Click to collapse
Hi
The only thing that I can think of as to why it wouldnt have worked, is because when you added it to your ROM file, you didnt choose "store" as your compression method.
If you are using winRAR (if not, i do recommend it) drag the bootanimation.zip to directory in your LeeDroid rom.zip (usually data/local/). You will get a pop up screen and there will be a choice to choose your compression method. Use "store" and you should be set to go. try re-installing the ROM and it should work. Again, dont format any of the system or the data (you dont want to loose your apps and so on), just choose to install it.
silegeek said:
Hi
The only thing that I can think of as to why it wouldnt have worked, is because when you added it to your ROM file, you didnt choose "store" as your compression method.
If you are using winRAR (if not, i do recommend it) drag the bootanimation.zip to directory in your LeeDroid rom.zip (usually data/local/). You will get a pop up screen and there will be a choice to choose your compression method. Use "store" and you should be set to go. try re-installing the ROM and it should work. Again, dont format any of the system or the data (you dont want to loose your apps and so on), just choose to install it.
Click to expand...
Click to collapse
OK.. I'll try it again ( before having a few glasses of beer..lol ) and i'll get back to you.
I'm using RcMix's V1 rom.. Will your method work with this rom? Only time will tell!!! Hehhee!
THANKS AGAIN ;o)))
Showtek1980 said:
OK.. I'll try it again ( before having a few glasses of beer..lol ) and i'll get back to you.
I'm using RcMix's V1 rom.. Will your method work with this rom? Only time will tell!!! Hehhee!
THANKS AGAIN ;o)))
Click to expand...
Click to collapse
I managed it on RCMix Kingdom v1.0 and LeeDroid 3.0.3.
silegeek said:
I managed it on RCMix Kingdom v1.0 and LeeDroid 3.0.3.
Click to expand...
Click to collapse
This is really a stab in the brain ;o(((
Could you PLEASE tell me how you were successful on RCMix Kingdom v1.0? Step by step.... PLEEEEEEESE ;o))
Showtek1980 said:
This is really a stab in the brain ;o(((
Could you PLEASE tell me how you were successful on RCMixKingdom v1.0? Step by step.... PLEEEEEEESE ;o))
Click to expand...
Click to collapse
OK, and I'm sorry you are having some difficulty
they way I do it is:
step 1)=
double click RCMixKingdom v1.0.zip and it should open winRAR and show you a list of the files in the archive:
data
META-INF
sdcard
system
boot.img
virtuous-setup_rom
double click "data" and you should see the following files:
app
etc
local
sd
dtinstall.launch
From here, double click "local" and you will see "bootanimation.zip" and so on, I imagine you got this far.
Step 2
Find the "bootanimation.zip" that you downloaded and drag it into winRAR, in the same place as you are, with the original bootanimation.zip
You will see a pop up which says "Archive name and parameters". On the left hand side of this pop up, you will see "Archive Format" which you will be unable to select (because the file your adding is already a ".zip") and underneath that you will see "compression method". By default is says "Normal" so we need to change it to "Store".
Depending on the speed of you CPU, and whether your "RCMixKingdom v1.0.zip" is on your hard drive, or your sd card, this can take anywhere from a few seconds to around about a minute.
Once that has finished, copy the file to your sd card (if it isn't already) and reboot your phone into the bootloader (holding the power button and down on the volume button) so you can access the Recovery (clockwordmod)
Step 3
Once you're in the recovery, select "instal zip from sd card" and it should take you to a menu that says "choose zip from sd card". Find "RCMixKingdom v.10.zip" and select it, it will say "this cannot be undone", that's fine, move the selector down to "install RCMixKingdom.zip" and it will start installing.
During this process you might see a few worrying things, such as "formatting system", but don't worry, this process doesn't remove you apps, etc.
Once that has completed, reboot system (there should be an option in the menu) and the boot animation SHOULD work. It works for me all the time, so if it doesn't work for you, I cannot explain why not.
The other method is (which I gave up on originally) was to use a file manager such as Astro, ES File Manager, but as hard as I looked I could never find the "data/local/" folders. Well I could, but they were empty. What I wasn't told is that, in the settings of the file manager, you need to enable "root access" for the files and folders in "/data/local/" to show up.
silegeek said:
OK, and I'm sorry you are having some difficulty
they way I do it is:
step 1)=
double click RCMixKingdom v1.0.zip and it should open winRAR and show you a list of the files in the archive:
data
META-INF
sdcard
system
boot.img
virtuous-setup_rom
double click "data" and you should see the following files:
app
etc
local
sd
dtinstall.launch
From here, double click "local" and you will see "bootanimation.zip" and so on, I imagine you got this far.
Step 2
Find the "bootanimation.zip" that you downloaded and drag it into winRAR, in the same place as you are, with the original bootanimation.zip
You will see a pop up which says "Archive name and parameters". On the left hand side of this pop up, you will see "Archive Format" which you will be unable to select (because the file your adding is already a ".zip") and underneath that you will see "compression method". By default is says "Normal" so we need to change it to "Store".
Depending on the speed of you CPU, and whether your "RCMixKingdom v1.0.zip" is on your hard drive, or your sd card, this can take anywhere from a few seconds to around about a minute.
Once that has finished, copy the file to your sd card (if it isn't already) and reboot your phone into the bootloader (holding the power button and down on the volume button) so you can access the Recovery (clockwordmod)
Step 3
Once you're in the recovery, select "instal zip from sd card" and it should take you to a menu that says "choose zip from sd card". Find "RCMixKingdom v.10.zip" and select it, it will say "this cannot be undone", that's fine, move the selector down to "install RCMixKingdom.zip" and it will start installing.
During this process you might see a few worrying things, such as "formatting system", but don't worry, this process doesn't remove you apps, etc.
Once that has completed, reboot system (there should be an option in the menu) and the boot animation SHOULD work. It works for me all the time, so if it doesn't work for you, I cannot explain why not.
The other method is (which I gave up on originally) was to use a file manager such as Astro, ES File Manager, but as hard as I looked I could never find the "data/local/" folders. Well I could, but they were empty. What I wasn't told is that, in the settings of the file manager, you need to enable "root access" for the files and folders in "/data/local/" to show up.
Click to expand...
Click to collapse
Thank you so much for your time and effort in posting this up for me! BUT where can I download the bootanimation? LOL !!
Do I have to copy and paste the bootanimation using root explorer and then add the audio file?
I really do apologize if this question sounds silly.
Showtek1980 said:
Thank you so much for your time and effort in posting this up for me! BUT where can I download the bootanimation? LOL !!
Do I have to copy and paste the bootanimation using root explorer and then add the audio file?
I really do apologize if this question sounds silly.
Click to expand...
Click to collapse
Also.. can you please advise me on which path I should copy bootanimation.zip from?
I think I have 2 bootanimation.zip files.
THANK YOU IMMENSELY !!!!!!
You can download my bootanimation from the very first post on this topic.
If you have your own boot animation, paste it on the root of your sdcard.
I will attach some screen shots to this, hopefully it will help you
If you are using RCMixKingdom v1.0 you will find that it comes with a program called ES File Explorer
{
"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"
}
Open this and hit menu and then settings. scroll down to "Root Options" and tick both the boxes. Exit ES File Explorer and open it up again
You should be in your sdcard directory
Navigate (scroll) to your bootanimation.zip and, as it shows in the picture, hold down on the "bootanimation.zip" and a new screen will come up:
Press copy to copy the bootanimation.zip
Next you will need to press the sdcard icon in the top left to change from sdcard to the system directory:
Then navigate to the "data" folder
once in the "data" folder navigate to the "local" folder:
Once in the local folder you will see this:
at the bottom of the screen you will see a tab that contains your copied file. Drag this tab upwards so you see this:
Press and hold the "bootanimation.zip" so this screen appears:
It will say "Warning, are you sure you want to overwrite?"
Select "OK" and it will paste "bootanimation" from your sdcard.
Restart you phone and your selected boot animation should be working.
Also, I'm not entirely sure that the RCMixKingdom ROM supports audio during boot animation, or if it does, it needs to be in a different format/directory.
silegeek said:
You can download my bootanimation from the very first post on this topic.
If you have your own boot animation, paste it on the root of your sdcard.
I will attach some screen shots to this, hopefully it will help you
If you are using RCMixKingdom v1.0 you will find that it comes with a program called ES File Explorer
View attachment 607963
Open this and hit menu and then settings. scroll down to "Root Options" and tick both the boxes. Exit ES File Explorer and open it up again
You should be in your sdcard directory
View attachment 607964
Navigate (scroll) to your bootanimation.zip and, as it shows in the picture, hold down on the "bootanimation.zip" and a new screen will come up:
View attachment 607965
Press copy to copy the bootanimation.zip
Next you will need to press the sdcard icon in the top left to change from sdcard to the system directory:
View attachment 607993
Then navigate to the "data" folder
once in the "data" folder navigate to the "local" folder:
View attachment 608012
Once in the local folder you will see this:
View attachment 608013
at the bottom of the screen you will see a tab that contains your copied file. Drag this tab upwards so you see this:
View attachment 608018
Press and hold the "bootanimation.zip" so this screen appears:
View attachment 608017
It will say "Warning, are you sure you want to overwrite?"
Select "OK" and it will paste "bootanimation" from your sdcard.
Restart you phone and your selected boot animation should be working.
Click to expand...
Click to collapse
I GREATLY appreciate your time and effort in composing in post with the visuals to help me get the bootanimation working. ;o)
I don't think that the sound works on bootanimation with RCMix Kingdom rom. I did however get the bootanimation working.
I think I will stick to LeeDroid's version update a few days ago as this works with sound and I think runs much faster on my HTC Desire HD.
Once again, THANK YOU !!!!

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

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.

[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

Regarding modification of apk(SecWallpaperChooser to be precise)

I am trying to modify the stock SecWallpaperChooser and i am facing a problem. Everytime i add the wallpaper, edit the xml files(array.xml) and copy it to the system phone. But the wallpaper dont get added. After editing the apk and recompiling the apk i transferred the META_INF and Androidmanifest.xml from original to modified apk. I deleted the public.xml before recompiling the apk since i had read that it gets created each time and it gives the id automatically.
Even after doing that all thing, the wallpaper is not showing up in the display option under settings. Can someone pls tell me how to modify that apk so that i can correct my mistake.
P.S:-I decompiled my modifed apk to see whether the wallpaper was added to the corresponding folders and it was present there. I used SysFileCopymaster app to copy that apk to the system folder.
Parameswaran Iyer said:
I am trying to modify the stock SecWallpaperChooser and i am facing a problem. Everytime i add the wallpaper, edit the xml files(array.xml) and copy it to the system phone. But the wallpaper dont get added. After editing the apk and recompiling the apk i transferred the META_INF and Androidmanifest.xml from original to modified apk. I deleted the public.xml before recompiling the apk since i had read that it gets created each time and it gives the id automatically.
Even after doing that all thing, the wallpaper is not showing up in the display option under settings. Can someone pls tell me how to modify that apk so that i can correct my mistake.
P.S:-I decompiled my modifed apk to see whether the wallpaper was added to the corresponding folders and it was present there. I used SysFileCopymaster app to copy that apk to the system folder.
Click to expand...
Click to collapse
You can try something like this: http://forum.xda-developers.com/showthread.php?t=1684472
shut_down said:
You can try something like this: http://forum.xda-developers.com/showthread.php?t=1684472
Click to expand...
Click to collapse
I did the same thing and its not working. There is a file named array.xml in values folder which has the following code. I did not edit it.
Code:
<?xml version="1.0" encoding="utf-8" ?>
- <resources>
<array name="extra_wallpapers" />
</resources>
I edited the array.xml file inside 'values-sw320dp-hdpi' and 'values-hdpi' folder. Do i need to edit the array file with above mentioned code? If no, then this is not working atleast for me. If yes, then can you pls tell me how. I had decompiled the SecWallpaperChooser apk inside the LightJB rom to see which all files the developer had edited and i found that it was only the two files which I have already mentioned
Thank You for your help
P.S:- Do i need to sign the apk? I had read somewhere that signing system apks might create a problem
Parameswaran Iyer said:
I did the same thing and its not working. There is a file named array.xml in values folder which has the following code. I did not edit it.
Code:
<?xml version="1.0" encoding="utf-8" ?>
- <resources>
<array name="extra_wallpapers" />
</resources>
I edited the array.xml file inside 'values-sw320dp-hdpi' and 'values-hdpi' folder. Do i need to edit the array file with above mentioned code? If no, then this is not working atleast for me. If yes, then can you pls tell me how. I had decompiled the SecWallpaperChooser apk inside the LightJB rom to see which all files the developer had edited and i found that it was only the two files which I have already mentioned
Thank You for your help
P.S:- Do i need to sign the apk? I had read somewhere that signing system apks might create a problem
Click to expand...
Click to collapse
For signing - you just get back META-INF folder from original apk. I am not sure about first thing you asked, I never tried to modify it.
I used Android Multitool for decompiling and recompiling and after recompiling it asked me to copy the META-INF and androidmanifest.xml files to new apk. I also tried to copy the apk without those files and it resulted in bootloop. Hence it is sure that i have to copy those files and as said i have already edited all necessary files.
Is there any developer or anyone who could confirm whether I have to edit the array.xml inside the values folder(The file with the above code)?
I would be glad if anyone could point out my mistake so that I can rectify it.
Parameswaran Iyer said:
I used Android Multitool for decompiling and recompiling and after recompiling it asked me to copy the META-INF and androidmanifest.xml files to new apk. I also tried to copy the apk without those files and it resulted in bootloop. Hence it is sure that i have to copy those files and as said i have already edited all necessary files.
Is there any developer or anyone who could confirm whether I have to edit the array.xml inside the values folder(The file with the above code)?
I would be glad if anyone could point out my mistake so that I can rectify it.
Click to expand...
Click to collapse
I know when you compile new apk - you must copy that META-INF folder. If you do not do it you will end up with a bootloop.
Why don't you try that app from the link I gave you? It is not guide for modification of TW app, it is separate app.
Here is some explanation for TW wallpaper chooser editing: http://technology-shettyprasad.blogspot.com/2013/01/adding-more-wallpapers-to.html?m=1
You must have wallpaper with exact resolution and its thumbnail. Also you need to add it to that array.xml
Ok. I just noticed that when i decompile the SecWallpaperChooser apk from LightJB rom, a build folder is created but that folder is not in the stock apk. Can someone one explain why? And do i need to make that folder while modifying?
Parameswaran Iyer said:
Ok. I just noticed that when i decompile the SecWallpaperChooser apk from LightJB rom, a build folder is created but that folder is not in the stock apk. Can someone one explain why? And do i need to make that folder while modifying?
Click to expand...
Click to collapse
I just tried to do it by that guide I sent you. This one: http://technology-shettyprasad.blogspot.com/2013/01/adding-more-wallpapers-to.html?m=1
So do this:
1.
{
"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.
And you have apk that I made in attachemnt. I added some picture with some bottle on the beach. See if it works.
I am on CM11, so I think that I can't use TW wallpaper chooser on it to try if it works.
P.S. You have my folders path in those screenshots. For that last question.
And file was from Slim-JB ROM. But it should be the same you use.
Doesn't work buddy. Each time I copy META-INF folder and androidmanifest.xml file the apk's name changes to false which it shows in the installer screen. I know that system apks cant be installed through installer but just to check the apk is properly made I saw the name in installer and it shows false. Once i signed the apk and copied it to the system. It successfully replaced the default SecWallpaperChooser but faced FC.
Parameswaran Iyer said:
Doesn't work buddy. Each time I copy META-INF folder and androidmanifest.xml file the apk's name changes to false which it shows in the installer screen. I know that system apks cant be installed through installer but just to check the apk is properly made I saw the name in installer and it shows false. Once i signed the apk and copied it to the system. It successfully replaced the default SecWallpaperChooser but faced FC.
Click to expand...
Click to collapse
Have you tried mine apk?
shut_down said:
Have you tried mine apk?
Click to expand...
Click to collapse
Yes I tried your apk and it worked for that apk. I decompiled it, added and edited the required files and recompiled it and signed. And it worked very well. Thanks for that. But I want to modify the stock apk and this method is not working for some reasons or the other. I am still trying to modify it in some way but its not working.
Yes!!! Finally did it. My first apk modification. A small one but i think a decent start. Modified the public.xml instead of deleting it and copied the file to system using root explorer. The same apk did not work with it. Though I modified the SecWallpaperChooser from the LightJB(Sorry I did not take permission before editing) rom but i am sure that it will work with the stock one too. Will give that a try too.
P.S:-Worked with stock too. And SysFileCopymaster works for our device too.
Just one thing. Can you tell me how to make flashable zip for our phone? How do I make META_INF folder? Can i take it from some other rom? And just by creating zip file of folder will it become flashable?

[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