Cm7 theme as default on first boot - Optimus One, P500, V General

I need to know that how to make a cm7 theme Pushed to system/app can be made default so that at the first boot it is automatically selected

rishabho1 said:
I need to know that how to make a cm7 theme Pushed to system/app can be made default so that at the first boot it is automatically selected
Click to expand...
Click to collapse
ok... here i am considering your cm7 theme named Androdian.apk.... so open your build.prop(use notepad++), then scroll down till you find these lines :
persist.sys.themeId=Cyanbread
persist.sys.themePackageName=com.tmobile.theme.Cyanbread
these are the default lines of cm7 rom.....in the themeid= change the name to "Androdian"(letters are case sensitive i guess so... just to be on the safer side.. and write without the " .. ) and open your androdian.apk and open your android manifest.xml and find the lines that have the package name... copy that package name and paste in your build prop's package name.. and save it...
thats all... save it(just another example: if you use uot kitchen and edit your cyanbread apk.. the uot gives you UOTCyanbread.apk...... so copy this name "UOTCyanbread" to your themeid line... and open your UOT's apk , open its android manifest.xml and find its package name... copy that and put it to your buildprop's packageName line...) and save it..
woah... i wrote a lot.. ... anyways... i hope you get your thing done...

Related

[Q] SystemUI.apk (apktool) Windows/Mac

i have been trying to change some strings in the SystemUI.apk file in synergy, just to see what i can make them say... but i keep getting the same issues.
WTF am i doing wrong? :l
alright, so i put a (framework) folder in the usr/local/bin folder and added synergy frameworks.
(com.htc.resources.apk) <--- labeled this 1.apk
(framework-res.apk) <--- labeled this 2.apk
i decompiled SystemUI.apk using [apktool d /Users/Rolando-Ramiro/Desktop/SystemUI.apk /Users/Rolando-Ramiro/Desktop/SystemUI]
and used textmate (application for mac to edit xml files) to edit the strings i wanted and then i built the file again using..
apktool b /Users/Rolando-Ramiro/Desktop/SystemUI /Users/Rolando-Ramiro/Desktop/SystemUI.apk
no errors on either part.
now i tried 2 things after this.
i unzipped the synergy rom and added the SystemUI.apk to system/app folder on my computer.
i compressed it once more and tried to flash it. Nothing happened.
so i got the SystemUI.apk (the one with the modified strings.xml) and just moved it from my sdcard to the system/app folder in my phone.
Right after that, i got FC.
so i went back to what i originally had.
any idea what im doing wrong?
i keep getting
install /sd card ...
finding update package
opening update package
Installing update...
then it goes back to TWRP
--> choose zip to flash
[ ] reboot after successful flash
[ ] zip signature verification
--> reboot to system
<-- back to main menu
anyone with input please let me know.
i have mac/windows
omg ^^..
I already said it many times to you:
1. Pull the SystemUI.apk from your rom.
(put the apk in the same folder with the apktool, the you just have to type teh name of the the apk,with out a complete path. just like in step two)
2. Decompile it:
apktool d SystemUI.apk
Click to expand...
Click to collapse
3. make the changes in the SystemUI folder
4. Recompile it WITH AN OTHER NAME:
apktool b SystemUI SystemUI_NEW.apk
Click to expand...
Click to collapse
DON'T overwrite the original SystemUI.apk! (In your 1st post you did this!)
5. open both apks with 7zip
6. when u made changes in the res folder drag&drop the ressources file from SystemUI_NEW to SystemUI
- when you see other folder in the 7zip, with xml/pictures you also edited drag&drop them also
7. You dont need do do anything more now!
- just zipping the apk and flash via cwm won't work, read here how to make one:
http://forum.xda-developers.com/showthread.php?t=732957
- to try installing this apk won't work either.
8. The right way: copy the SystemUI.apk with ne new ressources file in it
and paste in on your sdcard. move it to /system and change the permission with root explorer to 644 or similar (just like all other apks in system/app) and then finally move it in system/app
- or just push it via adb to system/app
9. reboot
Edit: if u still don't understand how to do it, open teamviewer and give me id and pw =P
Rolando.Ramiro said:
i keep getting
install /sd card ...
finding update package
opening update package
Installing update...
then it goes back to TWRP
--> choose zip to flash
[ ] reboot after successful flash
[ ] zip signature verification
--> reboot to system
<-- back to main menu
anyone with input please let me know.
i have mac/windows
Click to expand...
Click to collapse
i would imagine there is an error in your edify script somewhere. and did you resign the apk as a system apk after you recompiled?
i've done everything you said, I PROMISE!
but it still messes up...
how do i resign it?
i decompile SystemUI.apk
it makes a folder called SystemUI
i remove the original SystemUI.apk
then i edit the string, then compile it again.
(i am using the frameworks from the rom that i got the SystemUI.apk from)
once i compile it, i extract the original rom, and go into (system/app) folder and add the .apk
then i compress it back to .zip
i try and flash and i get same error.
i really did the same steps.
i havent tried it on PC though, but i do have it.
gonna do that today.
edit; ok so im reading over the steps that you gave me.
im half asleep right now so i didnt get to fully read them.
my bad! ill do that right now and let you know what i came up with.
edit 2; (15 mins later) i have zip signer 2 on my phone, im pretty sure that will work the same as ppcgeeks apk signer. right?
alright, so instead of creating an update script, i just wanted to push the application from my phone straight into it.
i followed the steps;
1. decompile
2. modify files
3. build with NEW name
4. use 7zip for both NEW and original .apks
5. move over any files from NEW that were modified into original.
6. compress (im not sure if i should of compressed or built again..)
7. move to /system/ and change to what all the apps in /system/app/ are (permissions)
8. move from system/ into system/app.
i still get FC.
sorry if i sound REALLY retarded. im just really unsure what im doing wrong so i have to write it all out.
j4n87 said:
omg ^^..
I already said it many times to you:
1. Pull the SystemUI.apk from your rom.
(put the apk in the same folder with the apktool, the you just have to type teh name of the the apk,with out a complete path. just like in step two)
2. Decompile it:
3. make the changes in the SystemUI folder
4. Recompile it WITH AN OTHER NAME:
DON'T overwrite the original SystemUI.apk! (In your 1st post you did this!)
5. open both apks with 7zip
6. when u made changes in the res folder drag&drop the ressources file from SystemUI_NEW to SystemUI
- when you see other folder in the 7zip, with xml/pictures you also edited drag&drop them also
7. You dont need do do anything more now!
- just zipping the apk and flash via cwm won't work, read here how to make one:
http://forum.xda-developers.com/showthread.php?t=732957
- to try installing this apk won't work either.
8. The right way: copy the SystemUI.apk with ne new ressources file in it
and paste in on your sdcard. move it to /system and change the permission with root explorer to 644 or similar (just like all other apks in system/app) and then finally move it in system/app
- or just push it via adb to system/app
9. reboot
Edit: if u still don't understand how to do it, open teamviewer and give me id and pw =P
Click to expand...
Click to collapse
DUDE I ****ING GOT IT. :O
thank you so much.
posting screenshots right meow.
Rolando.Ramiro said:
DUDE I ****ING GOT IT. :O
thank you so much.
posting screenshots right meow.
Click to expand...
Click to collapse
no need to resign/compress after drag/drop file...thats the way im doing it
Congrats that u finally made it..was a hard way =P
j4n87, that guide. it's beautiful.
You saved my day, Sir!
@j4n87:
Thanks a lot for your nice step by step guide - it really helped me a lot!
As a beginning, I tried to change the color of the statusbar's clock. My main mistake was violating your rule 6b:
6. when u made changes in the res folder drag&drop the ressources file from SystemUI_NEW to SystemUI
- when you see other folder in the 7zip, with xml/pictures you also edited drag&drop them also
So you have to copy the file status_bar.xml from SystemUI_NEW.apk/res to SystemUI.apk/res, too.
Thanks again!
Wolfgang
EDIT:
Here is a little timesaver for you when you have installed Android Development Kit (with adb command within your PATH) and you have a WLAN connection to your development PC:
- Install the app adbWireless from the market.
- To get SystemUI.apk installed, start adbWireless and type in your PC's terminal:
1. adb connect 192.168.1.100:5555
2. adb remount
3. adb push SystemUI.apk /system/app
4. adb shell killall system_server
ad 1) Take the values the app tells you.
ad 2) Makes /system partition writeable.
ad 3) You may have to add the correct path to the SystemUI.apk on your PC.
ad 4) That's the command for soft rebooting your smartphone which is faster than a normal reboot.

Moto RAZR Icons & Bootanimation Optimized for defy/defy+

this is the fantastic bootanimation from Moto RAZR. it is optimized for defy/defy+ & System Icons
use root explorer and copy&replace the attached bootanimation to /system/media and overrite the existing one or use Motomizer from market
reboot.
enjoy
here the video http://www.youtube.com/watch?v=QSKTHwd_ZTs
IF u like it dont forgot to hit the THANKS button
Like it . Thx!
Will it work on cm7?? And the icon pack is flasheable?
Enviado desde mi MB525 usando Tapatalk
Hairo The Blue Mage said:
Will it work on cm7?? And the icon pack is flasheable?
Enviado desde mi MB525 usando Tapatalk
Click to expand...
Click to collapse
yup it will work on any rom and nope icons r not flashable ....but u can use it with desktop visualizer or theme ur phone the way u like
lovejaychou2005 said:
Like it . Thx!
Click to expand...
Click to collapse
u can hit the thanks button instead of saying thanks keeps the thread clean
how can i replace the icons folder?
mckarty said:
how can i replace the icons folder?
Click to expand...
Click to collapse
it depends ....u need to have devices rooted. and make sure u make nandroid backup incase if something goes wrong
1.download root explorer from android market and go to system/framework folder and copy blur-res.apk file & paste on computer to any folder
2.dont extract blur-res & rarz icons, just open both files in winrar/zip & keep both windows open side by side
3.now in open window of blur-res.apk go to res\drawable-hdpi and keep it open
4.from open window of rarz icons just select from ic_launcher_accounts.png to ic_widget_wifi.png and pull those selected files to open window of blur-res.apk res\drawable-hdpi and replace them.
5.now u have to push modified blur-res.apk through adb back to system/framework. nd voila enjoy ur new icons ;D
GaganPla said:
it depends ....u need to have devices rooted. and make sure u make nandroid backup incase if something goes wrong
now copy blur-res.apk from system/framework folder to computer on any drive.
dont extract blur-res & rarz icons just open both files in winrar/zip.
go to blur-res.apk\res\drawable-hdpi.
replace files in same order from rarz icons just select from ic_launcher_accounts.png to ic_widget_wifi.png and pull those selected files to blur-res.apk\res\drawable-hdpi and replace them .
now u have to push modified blur-res.apk through adb back to system/framework. nd voila enjoy ur new icons ;D
Click to expand...
Click to collapse
hi i understand for boot animation but not for the icon zip
coelho_ said:
hi i understand for boot animation but not for the icon zip
Click to expand...
Click to collapse
what part adb or replacing files ?
GaganPla said:
what part adb or replacing files ?
Click to expand...
Click to collapse
I think this icon is for blur system dont work for cm7
coelho_ said:
I think this icon is for blur system dont work for cm7
Click to expand...
Click to collapse
it will work but u need to replace those files in specific apk .i dont know about cm7 since i m on ms2ginger 3.but u can check this guide from neopeek.com website here i paste it
Changing Icons in the Appdrawer
i have not tested this way. be sure what u do and allways make a backup of ur system !
The icons themselves are stored inside the individual apk files. You need to open each one, swap out the icon and reassemble it. It's not nearly as hard as it sounds.
1. Tools you need
7zip Download the appropriate version for your PC.
The original copy of the Fresh ROM you used to flash your phone.
The icons you want to change.
2. Create a working folder on your PC.
3. Using 7zip, open the Fresh ROM zip file. Navigate to the system/app folder inside the ROM. Highlight ALL the .apk files, and drag them into your working folder. Close the Fresh ROM zip file.
4. Decide on which icon you want to change first. I'll use the Browser as an example.
5. Use 7zip to open the Browser.apk you pulled out of the Fresh ROM. Once open, look for the res/drawable folder inside the apk.
6. Inside that folder, look for an .png file named ic_launcher_browser.png . That's the icon that the app uses.
7. Have your new icon ready. It should be 48x48 and a .png file. Make sure it's named ic_launcher_browser.png .
8. Drag the NEW icon into the open 7zip window that's showing the res/drawable folder. Choose yes if it asks you about overwriting the original file.
9. Close 7zip.
The Browser app has now been changed and will show your new icon in the drawer, and on the homescreen if you paste a shortcut. Do the same for each of the apps you want to change the icon of. The icon will always be in /res/drawable, and be named ic_launcher_ **app name**.png
Once you have changed all the icons, you'll have a set of apk files with your new icons. You can push these to the phone one by one from the terminal, or you can create your own update.zip
To push them to the phone (once again Browser.apk will be our example)
1. In your Android SDK/tools folder, make a new folder called icons.
2. Copy the Browser.apk file to the folder you just created.
3. Open the windows command prompt, and navigate to the Android SDK/tools folder. NOT the new folder you just made.
4. Enter the following commands one line at a time:
Code:
adb remount
adb push \icons\Browser.apk /system/app/Browser.apk
5. Do the same for each of the apk files you edited, changing the name Browser.apk to the name of the file you're pushing to the phone.
6. Reboot the phone.
7. done - have fun
hope this helps u
wouah wouah wouah thank
GaganPla said:
this is the fantastic bootanimation from Moto RAZR. it is optimized for defy/defy+ & System Icons
use root explorer and copy&replace the attached bootanimation to /system/media and overrite the existing one or use Motomizer from market
reboot.
enjoy
here the video http://www.youtube.com/watch?v=QSKTHwd_ZTs
Click to expand...
Click to collapse
Running MIUI 2.3.9. Replaced bootanimation.zip in system/media and data/local but still shows my old animation. Anyone know of another place MIUI might hide the bootanimation.zip? Tried leaving permissions alone and changing them to match my old animation. Nothing works, just keeps showing old animation. Any help would be appreciated, really want to try this out. Thanks
realityrat said:
Running MIUI 2.3.9. Replaced bootanimation.zip in system/media and data/local but still shows my old animation. Anyone know of another place MIUI might hide the bootanimation.zip? Tried leaving permissions alone and changing them to match my old animation. Nothing works, just keeps showing old animation. Any help would be appreciated, really want to try this out. Thanks
Click to expand...
Click to collapse
check this post ....might help u
www.droidxforums.com/forum/miui/33170-fix-applying-custom-bootanimations-miui.html
is the bootanimation zip flashable??
if so,can i flash it on my defy running ics??
abysstheking said:
is the bootanimation zip flashable??
if so,can i flash it on my defy running ics??
Click to expand...
Click to collapse
No need,for flashable.zip.....jst use root explorer and rename razrbootanimation to bootanimation and replace the bootanimation.zip file in system/media and change permission mate
thanks mate!!looks awesome!
whenever i try to flash the boot animation, it says aborted
chachoi said:
whenever i try to flash the boot animation, it says aborted
Click to expand...
Click to collapse
thats because its not flashable......read 1st post
this is gorgeous

[Q] How to create theme for custom rom ?

After reading from articles , now more or less I got some idea on how to create a theme for a custom rom , but still there's something I don't know .
1) First , I extract files from a rom using 7zip . Then , I extract out the content of framework-res.apk and make some modifies / changes to those .png files . So , after completed those modifies , I just open archieve on the original framework-res.apk , drag and drop the one I modified to replace the original one ? After that , how do I pack it in .zip file that can be updated in open recovery ? .xml file shouldn't be modified right ?
2) What if I do this , I get a theme.zip made for the rom , and then I extract the contents of the theme.zip using 7zip , then again I modify the .png files and after completed , I packed it again by open archieve on the original theme.zip , drag and drop the one I modified to replace the original one ? Does this works ?
3) What if I modify other system apps such as calender.apk ? Using the same method , extract , modify , drag and drop , replace , then again how do I pack it in .zip file that can be updated in open recovery ? Is there any "bond" between those system apps and framework-res.apk ? Can I just modify anyone of both ? Or I have to modify both system apps and framework-res.apk to get it works ?
Thanks
nikctsh said:
After reading from articles , now more or less I got some idea on how to create a theme for a custom rom , but still there's something I don't know .
1) First , I extract files from a rom using 7zip . Then , I extract out the content of framework-res.apk and make some modifies / changes to those .png files . So , after completed those modifies , I just open archieve on the original framework-res.apk , drag and drop the one I modified to replace the original one ? After that , how do I pack it in .zip file that can be updated in open recovery ? .xml file shouldn't be modified right ?
2) What if I do this , I get a theme.zip made for the rom , and then I extract the contents of the theme.zip using 7zip , then again I modify the .png files and after completed , I packed it again by open archieve on the original theme.zip , drag and drop the one I modified to replace the original one ? Does this works ?
3) What if I modify other system apps such as calender.apk ? Using the same method , extract , modify , drag and drop , replace , then again how do I pack it in .zip file that can be updated in open recovery ? Is there any "bond" between those system apps and framework-res.apk ? Can I just modify anyone of both ? Or I have to modify both system apps and framework-res.apk to get it works ?
Thanks
Click to expand...
Click to collapse
Here's what I know so far. I'm still trying to learn as much as I can:
1) If you are making a theme by trying to replace pngs in an existing framework-res.apk file, you can do this: open the apk file within your zip program, and edit the apk there (so you'll have two zip windows open. Once the apk is updated, close the most recent zip window. The first zip window should recognize that you've updated the apk file, and ask you to update the first zip window.
I've been playing around with this: http://forum.xda-developers.com/showthread.php?t=1432152
What it allows you to do is modify the files in Windows Explorer (or whatever file explorer you're using), and then let the script do the rest of the work for you. The actions it can do are: decompile apk, recompile apk, sign apk, created update.zip.
The xml files need to be edited if you want to achieve certain effects. For example, in the Gingerbread theme there are some edits that have to be made to a few xml files in order to achieve white text on black backgrounds on the popup menus. The nice thing about the framework flasher link from above is that it 'compiles' the files (meaning it will check if the .9.pngs are correct, and if your xml files point to correct assets), so you can go about doing xml edits and stuff without fear of bootlooping.
2) Yes, this should work.
3) If the updater script is a generic script (that is, it moves everything from the /system folder to /system, and /data to /data), then you can create directories in the update.zip that refer to whatever apk you want to replace, with the same structure as in Android. The cool thing about Metamorph, from what I gather, is that you can create folder structures with just the assets you want to replace, rather than the entire apk. This means that if you want to replace just a few images in Phone.apk, for example, you create a directory in the Metamorph script under /system/app/Phone/res/drawable-hdpi and add the images you want to replace in there. I think that's the way I want to create my themes from now on, I just need to figure out how to do it correctly
I tried the framework flasher , after located the framework-res.apk and run RunMe , it shows echo is off , the log process shows 'java' is not recognized as an internal or external command,
operable program or batch file.
Do you have Java installed?
Mioze7Ae said:
Do you have Java installed?
Click to expand...
Click to collapse
No , I have no Java installed . Tried to install before but couldn't get the right version .
Java
I've yet to find one all inclusive theming reference. Just a lot of searching & reading & trial & error. This might be a good place to get started.
Edit: You'll also want to get the Android SDK
3rdstring said:
Java
I've yet to find one all inclusive theming reference. Just a lot of searching & reading & trial & error. This might be a good place to get started.
Edit: You'll also want to get the Android SDK
Click to expand...
Click to collapse
BTW , since I'm still too new to theming , I'm thinking of making my first step by changing the colour of a completed theme . This is what I'm currently doing : I extracted the files content of your DarkFroyo.zip and then extracted it's framework-res.apk . ( IT'S YOUR THEME , CAN YOU GIVE ME THE PERMISSION TO DO THIS ? ) I'm changing the original orange colour of all those icon to light pink using photoshop , then replace the original one . The files type are .png . Also , I changed the battery status icon and status bar background . However , I haven't touch those .xml files , I just leave it there . So after I complete , do I just flash it right away in my phone or I need to doing something like "sign" ? As for now , I don't have any idea about "sign" .
nikctsh said:
BTW , since I'm still too new to theming , I'm thinking of making my first step by changing the colour of a completed theme . This is what I'm currently doing : I extracted the files content of your DarkFroyo.zip and then extracted it's framework-res.apk . ( IT'S YOUR THEME , CAN YOU GIVE ME THE PERMISSION TO DO THIS ? ) I'm changing the original orange colour of all those icon to light pink using photoshop , then replace the original one . The files type are .png . Also , I changed the battery status icon and status bar background . However , I haven't touch those .xml files , I just leave it there . So after I complete , do I just flash it right away in my phone or I need to doing something like "sign" ? As for now , I don't have any idea about "sign" .
Click to expand...
Click to collapse
Changing the color in Photoshop is fine for normal ".png"s but ".9.png"s are special, they have a 1 pixel border with guides that define how they are stretched to fill a space (& are only visible is a decompiled state). Just editing a .9.png in Photoshop might break the .9 patch. Since you are trying to modify my theme it might also be wise to grab the "undo.zip" so if (when) something you try bootloops the phone you can flash the undo to get back to stock. I know had numerous bootloops when I was first starting out (still do occasionally).
3rdstring said:
Changing the color in Photoshop is fine for normal ".png"s but ".9.png"s are special, they have a 1 pixel border with guides that define how they are stretched to fill a space (& are only visible is a decompiled state). Just editing a .9.png in Photoshop might break the .9 patch. Since you are trying to modify my theme it might also be wise to grab the "undo.zip" so if (when) something you try bootloops the phone you can flash the undo to get back to stock. I know had numerous bootloops when I was first starting out (still do occasionally).
Click to expand...
Click to collapse
Hey 3rdstring. I noticed you release a new version of your theme for the ODEXED version of CM6. For APKs that have ODEX files (such as Phone), are you deodexing them using apktool, then reodexing them? A brief pointer would be nice!
molohov said:
Hey 3rdstring. I noticed you release a new version of your theme for the ODEXED version of CM6. For APKs that have ODEX files (such as Phone), are you deodexing them using apktool, then reodexing them? A brief pointer would be nice!
Click to expand...
Click to collapse
No the only thing I'm changing in any of the odexed apks are images. I use a Metamorph file with ZipThemer to build the update.zip (& undo) after I've decompiled / recomfiled framework-res for the white menu text & 10% battery increments.
3rdstring said:
No the only thing I'm changing in any of the odexed apks are images. I use a Metamorph file with ZipThemer to build the update.zip (& undo) after I've decompiled / recomfiled framework-res for the white menu text & 10% battery increments.
Click to expand...
Click to collapse
The reason I ask is b/c I tried pushing a modified Phone.apk to CM6, but it didn't pick up any of the changes I added (images only). It made me think that the assets were already prebuilt in the odex file, so changing the apk wouldn't do anything unless the odex file was changed too.
I also tried applying a metamorph script on top of the odex ROM, but it caused a lot of fcs. I think it's b/c of the ODEXing too.
EDIT: My bad. Phone.apk is the calling screen, Contacts.apk is the dialer + contacts. DOH!!!
My edits are pushed correctly

[THEMING -Basic] - How to EDIT SystemUI.apk/Apps Background

Hi there! Just wanna share..
Just a basic background on how to theme your ROMS. - ofcourse, give thanks to the developer of your ROMs! .
I made this thread for those users who have personal wishes for their Phones. Ofcourse, ROM developers cannot please all of its users. so just make your own and be happy!.
I just made it easy for easy understanding and for the newbies.
Tried so many times and tested
I've already tried editing the systemUI.apk of different ROMs.
Here's what I did :
FIRST : Download 7zip to open the archived apk. - that's free.
Extracting first the Zip File..
(make sure you copy the original before extracting it for back up)
1. Download the ROM.zip and extract it to your PC.
2. Go to \system\app\SystemUI.apk\res\drawable-ldpi\
3. View the PNG files you wanted to change and make sure to remember its' file name.
4. After editing/changing the file/image you wanted, you can save it anywhere from your PC, let's say on your Desktop.
- Make sure that the file name still remains as is..
*After you're done editing, updating the PNG files you wish to change, follow this steps to update the zip file :
NOTE : You can apply transparency by editing the PNG file to photoshop by reducing the opacity of the image
1. Go to the original ZIP file of ROM.Zip from your PC
2. Right Click the folder and select 7 ZIP -->> open archive
3. Close all of windows/Browers (or minimize)
4. Go to \system\app\SystemUI.apk\res\drawable-ldpi\ and it will open a new window of 7zip showing the files inside the zip.
5. Now, given your edited PNG files or downloaded png files (assuming that files are located in your desktop). - Click and simply DRAG the file(s) from your desktop to \system\app\SystemUI.apk\res\drawable-ldpi\ .
6. It will ask you to confirm the action for it will replace the existing PNG file that you're trying to change.
7. Make sure that the file name of the one you edited/downloaded are THE SAME. -
8. After dragging and replacing the files you wanted, then you're good to go!
9. Close the 7zip window and that's it!.
You can now install the .zip by copying the UPDATED zip file to your SD Card.
(Note: Make sure to copy the updated one, not the backed up one)
Install the zip file from the original thread's instructions and reboot twice.
After that, you have now a customized systemUI.apk.
For those who do not want to reinstall the whole package.. follow these steps:
1. I assumed that you have the zip file of your ROM.
2. Extract it and go to \system\app\
3. Separate the SystemUi.apk - put it on your desktop. create a back up,
Right Click SystemUi.apk and select 7 ZIP -->> extract here - just to view the files you wanted to change.
Just go the folder and search for the PNG files.
4. Right Click SystemUi.apk and select 7 ZIP -->> open archive.
5. Go to \res\drawable-ldpi\
6. Click and simply DRAG the PNG file(s) from your desktop to \res\drawable-ldpi\
7. It will ask you to confirm the action for it will replace the existing PNG file that you're trying to change.
8. Make sure that the file name of the one you edited/downloaded are THE SAME. -
9. After dragging and replacing the files you wanted, then you're good to go!
APPLYING :
1. Download and install rootexplorer.apk
2. Download the png files you wanted to update.
3. Copy and paste the NEW SystemUi.apk that you have updated/Edited to your SD card.
4. Open root explorer in your galaxy y then go and tap MOUNT R/W.
5. Go to \SDCard and go to new SystemUI.apk that you have updated.
6. Long press the file and select copy
7. Press back and go to \system\app - tap MOUNT R/W at the top.
8. Paste the new SystemUI.apk from there.
(Note : You will encounter a lot of force closes for the exixsting systemui is currently being used by your phone. - just ignore it a lot and scroll down to look for the new SystemUI.apk.
9. Once you get there, long press on it and select permissions:
from the pop up, make the checked one like this :
•___•____ •
•___ .____.
•___ .____.
where Dots are the checked one - Bigger dots
After encountering a lot of force closes, then reboot the phone and that's it!
(Force Closes are normal, DON't PANIC - logically, you are currently using your systemUI.apk so just ignore it
NOTE : You can also apply the same steps in editing system files apps, just edit the .png files and locate it using 7zip(when you already opened it). Have a little LOGIC on how to edit system app background - same process. just different apk files and directory
HIT THANKS IF I HELPED YOU - IT COSTS NOTHING ;]
nice guide
you can also add this:
Install via ADB:
adb root
adb remount
adb push [file location in PC] /system/app/systemui.apk
Click to expand...
Click to collapse
no need to set permissions via ADB
also its better to use apk multitool since it can compile/decompile the apk's, if you extract the apk using 7zip or archive softwares you can't read the XML's and you can't compile them properly which results to force close issues when pushing into system
deathnotice01 said:
nice guide
you can also add this:
no need to set permissions via ADB
also its better to use apk multitool since it can compile/decompile the apk's, if you extract the apk using 7zip or archive softwares you can't read the XML's and you can't compile them properly which results to force close issues when pushing into system
Click to expand...
Click to collapse
Thanks! not that sure how to use that that's why I made it my on way
more easy steps and understandable for newbies.
EDIT :
Yes you it will require to extract the apk files but just to view the image you wanted to change.. the original apk file will be opened thru 7zip and just replace the selected png. It is not recompiling the apk file at all
Tried and tested by the way
try and test it out yourself:
a very powerful apk reverse engineering tool:
APK MULTITOOL
deathnotice01 said:
try and test it out yourself:
a very powerful apk reverse engineering tool:
APK MULTITOOL
Click to expand...
Click to collapse
I will try it soon! thanks for the info this is a basic guide for newbies
Just let me know if you need further assistance
how about a gif image?
like the emoticon of repencis on his status bar..
I.M.G said:
how about a gif image?
like the emoticon of repencis on his status bar..
Click to expand...
Click to collapse
I suggest to look for systemUI.apk of repencis and check for the GIF files.. it it is existing, then you can replace that one, following the process ;D
how to change default wallpaper?
ajbm6 said:
how to change default wallpaper?
Click to expand...
Click to collapse
What specific ROM are u using?
Sent from my GT-S5360 using xda premium
ajbm6 said:
how to change default wallpaper?
Click to expand...
Click to collapse
gallery > choose picture > set as > homescreen wallpaper
ajbm6 said:
how to change default wallpaper?
Click to expand...
Click to collapse
Hmm... if you want a default wallpaper, create a folder named "Wallpaper" inside "SYSTEM" folder and create another folder inside it named "default_wallpaper" then put the jpg file you wanted..
(you can use rootexplorer)
make sure that the file name of the default wallpaper is "default_wallpaper.jpg"
how??
It worked perfectly :highfive: cheers !!! can we change the place of name of network carrier in the notification bar similarly???
Abhibhat said:
It worked perfectly :highfive: cheers !!! can we change the place of name of network carrier in the notification bar similarly???
Click to expand...
Click to collapse
Never tried it before.. haha.. why do you want to change it?
HIT THANKS IF I HELPED YOU. - it costs you nothing!
Sent from my GT-S5360 using xda premium
emompong said:
Never tried it before.. haha.. why do you want to change it?
HIT THANKS IF I HELPED YOU. - it costs you nothing!
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
I dont want to change it i want to change its place in the status bar!!!:laugh:
Abhibhat said:
I dont want to change it i want to change its place in the status bar!!!:laugh:
Click to expand...
Click to collapse
oh.. my bad lol, hmm not actually getting what you're saying, give me a screen shot pls.
Abhibhat said:
It worked perfectly :highfive: cheers !!! can we change the place of name of network carrier in the notification bar similarly???
Click to expand...
Click to collapse
try this app if you wanna change network carrier hxxp://db*tt/ZRdrSUg7
note : change " * " with " . " and change " hxxp " with " http "
dnt forget to press thank button hehe
emompong said:
oh.. my bad lol, hmm not actually getting what you're saying, give me a screen shot pls.
Click to expand...
Click to collapse
its like we gb users have the carrier name under the wifi and other buttons in status bar but i want it like that in cyanogenmod at the bottom!!!
Abhibhat said:
its like we gb users have the carrier name under the wifi and other buttons in status bar but i want it like that in cyanogenmod at the bottom!!!
Click to expand...
Click to collapse
hmm ,, modified carrier name is possible but at the bottom? im not sure about it. of you want to edit you carrier name, tell me,ill share.
background
you know we have backgrounds that are set on the "settings" menu. How to change the background on that. This background also shows on some apps aswell. for example Creeds 2.1 has that purple background.
Thanks:good::good:

How to edit an APK name ?!

as I asked .. if I want to edit tha name of any apk .( sure I dont mean the file name ) ,, I mean .. the name that show up when you install it
for example : .. there is a CAM Mod .. and I dont want to flash it from recovery ( cuz if I do that ,, it will be the only app for camera ) .. and I dont want that .. but when you install it as APK .. you will get the 2 apps and you are free which one you want to use
BUT .. if the app is named ( Camera ) .. you cant install it .. cuz there is already an app with that name ..
any one got what I mean ??
use apktool to extract the apk, edit the manifest.xml and change the package name in there. then rebuild the APK with apktool and sign it. (you may be able to just use 7zip to extract the manifest.xml from the rebuilt app and then put it in the original, signed app, overwriting the one there, to avoid having to resign it [which is a pain to get your computer set up for if you haven't done it before, especially if you don't intend on doing it often again], but I am not 100% sure).
SifJar said:
use apktool to extract the apk, edit the manifest.xml and change the package name in there. then rebuild the APK with apktool and sign it. (you may be able to just use 7zip to extract the manifest.xml from the rebuilt app and then put it in the original, signed app, overwriting the one there, to avoid having to resign it [which is a pain to get your computer set up for if you haven't done it before, especially if you don't intend on doing it often again], but I am not 100% sure).
Click to expand...
Click to collapse
ok thanks .. but .. actually i dont know how to do that .. I didnt fine any file named ( manifest.xml )
could any one explain that please ?
EDIT :.. I edited that file but when I ( recompiled ) it ... it was just 1 KB ...
!!!
apk rename
all u need to do is put you sd in your computer and rename it that way.that is what i do
man ... are u kidding .. LoL
what will change if I renamed file name ?!!
zac1256 said:
all u need to do is put you sd in your computer and rename it that way.that is what i do
Click to expand...
Click to collapse
joanjoan_10 said:
man ... are u kidding .. LoL
what will change if I renamed file name ?!!
Click to expand...
Click to collapse
Changing the name of the file will do nothing. When the app is installed, it'll still have the same name (file name of the APK doesn't matter at all).
EDIT: As for how to do this, use apktool to unpack the app. Open "AndroidManifest.xml" and look for something like the following (in this example, I am using a manifest from Canabalt):
Code:
<application [COLOR="Red"]android:label="@string/app_name"[/COLOR] android:icon="@drawable/icon" android:name=".CanabaltApplication" android:debuggable="false">
The important one is the red one. Sometimes it will say something like android:label="Canabalt HD", in which case you'd just change it to what you want, and then rebuild it with apktool, but in this case there is an @ at the start of the name, which means that the name is stored in another file. As it is "@string/app_name", this means that the name is stored in the file "res\values\strings.xml" and has the name "app_name", so go into the folder "res", and then within that the folder "values" [if you use another language on your phone than the app's default language, go into the relevant folder e.g. for Spanish, you would go into "values-es" instead] and then within that open the file "strings.xml". Then you would look for something like this:
Code:
<string name="app_name">Canabalt HD</string>
Change this, save the file and then rebuild the APK with apktool. Afterwards, you'll need to sign the APK. Otherwise, it MAY be possible to take your edited APK, open it with 7zip, extract the file "AndroidManifest.xml" (or whatever file you edited e.g. strings.xml), then open the original APK with 7zip and replace the AndroidManifest.xml (or whatever file) with the modified version, and then not have to sign it. I haven't tried this though.
Also note that if there is an @ in the AndroidManifest.xml, you can still just edit the title in that file without finding the relevant entry in another file. In my above example, if I wanted to change the name to "Canabalt MOD", I'd change it to the following:
Code:
<application [COLOR="Red"]android:label="Canabalt MOD"[/COLOR] android:icon="@drawable/icon" android:name=".CanabaltApplication" android:debuggable="false">
The difference is basically doing it this way, it won't change for other languages, it will ALWAYS be "Canabalt MOD", regardless of the language of the phone. If you're just doing this for yourself, that probably doesn't matter, so it's simpler to just change it in AndroidManifest.xml.
Actually .. now I know that im noob
could u just try to reaname this app to any other name
I tried what u said but it didnt work
Try this, should show up as "HTC Camera"
SifJar said:
Try this, should show up as "HTC Camera"
Click to expand...
Click to collapse
ok .. thanks alot for ur job ... it is named like u said
bit ,, i still get ( its a system app .. do u want to replace )
joanjoan_10 said:
ok .. thanks alot for ur job ... it is named like u said
bit ,, i still get ( its a system app .. do u want to replace )
Click to expand...
Click to collapse
Need to change the package name as well as the label I guess, I'll do that tomorrow, don't have much time right now I'm afraid.
ok
Forgot about this yesterday, but I remembered now, so here it is
SifJar said:
Forgot about this yesterday, but I remembered now, so here it is
Click to expand...
Click to collapse
tahnks alot for remebering ,,, yea its new name now ,,,
but it cant be installed maybe its like a system app
any way .. the name is changed .. thanks for that
I forgot to resign it after editing, let's try again :fingers-crossed:
Should work this time.
Yea .. now it is installed
Hi SifJar. Could you do the same thing for whatsapp.apk? I've tried but with no luck :fingers-crossed:
extract apk
Apk Name
Could you please help with switching name of chompsms.apk? Thanks
ajeesh vijayan said:
extract apk
Click to expand...
Click to collapse
SifJar said:
Changing the name of the file will do nothing. When the app is installed, it'll still have the same name (file name of the APK doesn't matter at all).
EDIT: As for how to do this, use apktool to unpack the app. Open "AndroidManifest.xml" and look for something like the following (in this example, I am using a manifest from Canabalt):
Code:
<application [COLOR="Red"]android:label="@string/app_name"[/COLOR] android:icon="@drawable/icon" android:name=".CanabaltApplication" android:debuggable="false">
The important one is the red one. Sometimes it will say something like android:label="Canabalt HD", in which case you'd just change it to what you want, and then rebuild it with apktool, but in this case there is an @ at the start of the name, which means that the name is stored in another file. As it is "@string/app_name", this means that the name is stored in the file "res\values\strings.xml" and has the name "app_name", so go into the folder "res", and then within that the folder "values" [if you use another language on your phone than the app's default language, go into the relevant folder e.g. for Spanish, you would go into "values-es" instead] and then within that open the file "strings.xml". Then you would look for something like this:
Code:
<string name="app_name">Canabalt HD</string>
Change this, save the file and then rebuild the APK with apktool. Afterwards, you'll need to sign the APK. Otherwise, it MAY be possible to take your edited APK, open it with 7zip, extract the file "AndroidManifest.xml" (or whatever file you edited e.g. strings.xml), then open the original APK with 7zip and replace the AndroidManifest.xml (or whatever file) with the modified version, and then not have to sign it. I haven't tried this though.
Also note that if there is an @ in the AndroidManifest.xml, you can still just edit the title in that file without finding the relevant entry in another file. In my above example, if I wanted to change the name to "Canabalt MOD", I'd change it to the following:
Code:
<application [COLOR="Red"]android:label="Canabalt MOD"[/COLOR] android:icon="@drawable/icon" android:name=".CanabaltApplication" android:debuggable="false">
The difference is basically doing it this way, it won't change for other languages, it will ALWAYS be "Canabalt MOD", regardless of the language of the phone. If you're just doing this for yourself, that probably doesn't matter, so it's simpler to just change it in AndroidManifest.xml.
Click to expand...
Click to collapse
thx... i try find, but not found... Help me pizz
GuardDemon said:
thx... i try find, but not found... Help me pizz
Click to expand...
Click to collapse
If it's an Android app, I am fairly sure it must have the title stored in this manner. Try opening the XML file and pressing Ctrl+F to search within the file and search for "android:label" (without quotes).

Categories

Resources