Related
Just wondering how to do it? I'm just trying to change the colour of the signal bars in the notification bar.
I'm running Lite'ning ROM 5.0 and I've replaced the .png files in systemui.apk with 7zip. I then use root explorer to copy into /system/app but the notification bar disappears after I reboot. I also tried editing with ninjamorph and resigning with signapktic with no luck.
Any idea what I'm doing wrong?
Cheers.
you need to decompile it, do changes, compile it an than copy it to the right folder.
decompiling can be done with tools like apk manager.
Great thanks! Will give it a go.
Actually for something as small as couple of image changes you don't need to de compile
You can just open the apk in 7zip add your files then put it in a flashable zip.
some things must change in the framework-res.apk too, or am i wrong?!
esk02k said:
Actually for something as small as couple of image changes you don't need to de compile
You can just open the apk in 7zip add your files then put it in a flashable zip.
Click to expand...
Click to collapse
As in a CWM update zip? Is there a program that can make it flashable?
Edit: Actually I got it all working with the app "Ninjamorph"
Hi all.
First, all credits go to Kyrillos and Hillbeast cause they show me how to fix that
Sooo here we go : You wanna enable 9 lockscreen mod without these ugly small bug icons and you want that with every deodexed JPU rom ?
Follow those steps !
* Download this .zip : Download here
It contains the framework and the libs that enable 9 lockscreen mod.
* Now you have two choices:
- Either you flash by CWM directly, without changing anything, so you will have by default the theme of Kyrillos v9.0+.
If you do so, then you can flash all themes that are compatible with 9 lockscreen mod (Delete all the .jar files in the update !! And follow the theme installation of course )
- Either you change the .zip, by adding your own framework-res.apk and twframework-res.apk (Do not forget your themed apps, add a folder 'app' in /system (Use 7-Zip to do so))
WARNING : Do not remove / modify the lib folder or these three files from framework folder : framework.jar, services.jar and android.policy.jar
* Reboot your phone, and enjoy
Credits :
Kyrillos for helping and his modified framework
Hillbeast for show me the way of missing libs
___________________________________________________________________
Got problems ? Read this :
I flash my theme and I got a bootloop ???
Click to expand...
Click to collapse
Try wipe dalvik cache.
If it doesnt work, check that you have removed all .jar in the .zip of your theme. You only need jars files from my zip that you downloaded.
Then if it doesnt work too, post in the thread, the community will help you
You should add that it works on JPU. On any other froyo firmware it may be buggy.
Ah sorry yes..
I always forgot that Indians got an other firmware... Sorry, will modify that ^^'
If someone on ddjp6 could try and tell us, would be great
Sent from my Elora galaxy 3
Is this 9 lockscreen MOD?
Yes, it's a way to enable it in JPU (with a default theme : Kyrillos v9.0+, and all libs required)
After flash it, u can flash every theme which requires 9 lockscreen mod, like Miui 1.4.5 by Ghost in the Ruins for example
I'm currently on a stock JPU deodexed with the Miui 1.4.5 theme
So do i have to install kyrllios 9+?
Sorry for questions. I'm noob.
Certainly not
You can just flash this .zip from CWM without modified anything and enjoy with 9 lsm. By default, you'll get Kyrillos v9.0 THEME, just the theme ^^
Then, you can flash every theme you want that requires 9lsm
Nice share mate. This should solve the confusion. I will redirect my theme threads to here for users who are not on custom ROMs.
Is every lib file is necessary in the package you provided, because I noticed that one lib file is of terminal emulator.
I put libs files from Hillbeast.
I will modify it when i can
Sent from my Elora galaxy 3
After flashing the file (wiping dalvik-cache and cache) and rebooting my bootanimation appears but after that booting stucks and all I see is a black screen. It won't start at all.
I tried flashing the zip as it is and a zip containing my framework-res.apk and twframework-res.apk from a UOT-Kitchen-Theme. I also did a third zip containing my SystemUI.apk (which is not affected by my UOT Theme)
For replacing I used 7zip as recommended and also Total Commander.
I'm using a Custom deodexed JPU with converted filesystem as follows:
stl6 ext2
stl7 ext4
stl8 ext2
Any idea on fixing this? (I have a CWM-Backup, so nothing can get lost )
t-rip said:
I tried flashing the zip as it is and a zip containing my framework-res.apk and twframework-res.apk from a UOT-Kitchen-Theme. I also did a third zip containing my SystemUI.apk (which is not affected by my UOT Theme)
For replacing I used 7zip as recommended and also Total Commander.
Any idea on fixing this? (I have a CWM-Backup, so nothing can get lost )
Click to expand...
Click to collapse
Is the framework that you put in the zip 9 lockscreen modded?? Either flash the zip as it is or put a framework-res.ap that is 9 lockscreen modded into the zip and flash,
And SystemUI.apk?? We don t have SystemUI.apk in Froyo. Please don t put that.
I flashed it as it is AND with my modded framework-res.apk and twframework-res.apk. So I flashed 2 different zips with restoring system and wiping caches between the flash operations. Both zips didn't work.
The SystemUI.apk I used is the one I took from my phone and I replaced the one in the zip for testing purposes.
Do I only have to replace the framework-res.apk and have to leave twframework-res.apk untouched?
t-rip said:
I flashed it as it is AND with my modded framework-res.apk and twframework-res.apk. So I flashed 2 different zips with restoring system and wiping caches between the flash operations. Both zips didn't work.
The SystemUI.apk I used is the one I took from my phone and I replaced the one in the zip for testing purposes.
Do I only have to replace the framework-res.apk and have to leave twframework-res.apk untouched?
Click to expand...
Click to collapse
No. twframework-res.apk is not modded for 9 locks. Its the same. If you flashed the zip as it is without replacing any files and it still didn t work?? Then I don t have any idea.:/
That's the problem. The provided zip doesn't work. I tried it.
alternative download link possible?
Hi all,
the link given in the first posting is dead -> goes to megaupload.
Would it be possible to get a mirror download link?
That would be very great.
Thanks in advance.
Cheers
qaysed
Yup, sorry. Due to down of MU, i'll give us an alternate download link, but it's not on this PC.
If someone else could up it for me (i could up it in 2 days) thanks in advance for all.
Here's a mirror while megaupload is down or you reuped the zip by yourself.
http://ul.to/ku5rvvya
runs perfect!
thanks for the quick mirror!
works like a charme.
No stopping services, no reboots or freezes.
Libs are also exchanged... that´s new to me.
I assume that is the root cause for my problems, in exchanging the frameworks.
Have to accustom myself to the four symbols on lock screen. First try: opened the phone
and thanks to halco for distributing the file
and of course hillbeast and kyrillos mentioned already in the first posting
Cheers
qaysed
hi, can you upload to other websites plz! Megaupload is dead
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
Hello. I just learned how to create flashable zips, but every tutorial Ive seen only explains how to turn apps into flashable zips. I made a few updates to the framework-res.apk file for a rom and would like to save the changes into a zip file.
My concern is if I save my whole backed up framework-res file, when someone else goes to add this to their system, does it add the changes or does it completely replace their file with mine?
If this happens, how can I make a flashable zip that only adds a few changes to the framework-res.apk file without messing with any other settings?
sparkplug619 said:
Hello. I just learned how to create flashable zips, but every tutorial Ive seen only explains how to turn apps into flashable zips. I made a few updates to the framework-res.apk file for a rom and would like to save the changes into a zip file.
My concern is if I save my whole backed up framework-res file, when someone else goes to add this to their system, does it add the changes or does it completely replace their file with mine?
If this happens, how can I make a flashable zip that only adds a few changes to the framework-res.apk file without messing with any other settings?
Click to expand...
Click to collapse
it would kill the old file. Not sure how to stop that i it is even possible.
sparkplug619 said:
Hello. I just learned how to create flashable zips, but every tutorial Ive seen only explains how to turn apps into flashable zips. I made a few updates to the framework-res.apk file for a rom and would like to save the changes into a zip file.
My concern is if I save my whole backed up framework-res file, when someone else goes to add this to their system, does it add the changes or does it completely replace their file with mine?
If this happens, how can I make a flashable zip that only adds a few changes to the framework-res.apk file without messing with any other settings?
Click to expand...
Click to collapse
Not sure what you mean by "turning apps into flashable zips", but if you edit an apk and want to flash that to a phone through recovery (in a flashable zip package), it will replace the entire apk, not just your edits in the apk. It is not possible to flash only parts of an apk over another - it will always change the entire apk.
Ok thanks for the info.
What I am doing is creating a mod for my phones rom, several have been created and posted on the thread, the mod is just a simple crt animation disable. I had to edit the framework file in order to make this happen.
I've opened a few zip files and I see they have framework-res.apk files attached, so everytime I flash a mod to my phone, it is wiping all previous changes I've made to my framework-res.apk file?
sparkplug619 said:
Ok thanks for the info.
What I am doing is creating a mod for my phones rom, several have been created and posted on the thread, the mod is just a simple crt animation disable. I had to edit the framework file in order to make this happen.
I've opened a few zip files and I see they have framework-res.apk files attached, so everytime I flash a mod to my phone, it is wiping all previous changes I've made to my framework-res.apk file?
Click to expand...
Click to collapse
Yes, the files in the zip will overwrite your existing files. If you like one of those other mods, just decompile the framework-res with the themes that you want and edit the bools.xml line for CRT (config_animateScreenLights, or something like that if I recall), and recompile (deleting the resources.arsc from the keep folder if you use APK Manager). Or make your own themes for your mod...
Thats really strange, ive added plenty of mods to my phone and they all stayed intact, but when I check them out, they are all apks being flashed from zip files. Maybe I am missing something, or maybe I am not asking the question right, its just really hard to understand how it works. Also, I havent slept for over 24 hours so im really sketchy with processing info right now
hi..
ive tried the Eracter rom today, but it didnt work on my phone, so i went back to Pimms Experience rom. but i wanted the battery status and signals status from Eracter status bar. So i extracted systemui.apk from Eracter, copied all the files from \res\drawable-hdpi and into the Experience systemui.apk via Virtuous Ten Studio. compiled a new systemUI.apk. that all went good.
but now the question. how do i get this new systemUI.apk installed on my phone? i cant overwrite it on the phone because it is a running app. cant force to stop the app, phone wont stop it even if i say it should. so i tried thru CWM and found a lot of empty flashable zips, this dont work either, i am getting an error 0 when flashing the zip. installation aborted. i tried to make a zip with xdaAutoTool, but also this zip file failes.
I then found a font installer zip, erased whats inside the zip and made system\app\systemUI.apk and this one installed and phone startet up with updating apps. but it didnt change anything at the stausbar.
so how can i install my systemUI.apk???? i am on Acro s 6.1.a.2.5.0 lt26w
and still have to say, customizing iphone is way easier sorry guys.
please help
I did the opposite of this, I used Pims' SystemUI.apk in the Eracter ROM.
You can find here how to create a zip file to flash it via CWM.
Only thing you have to do is to put your SystemUI.apk to the blank zip file.
/system/app/SystemUI.apk
http://www.galaxynexusforum.com/for...ds-wip-installs-update-zip-cwm.html#post20493
csd.droid said:
I did the opposite of this, I used Pims' SystemUI.apk in the Eracter ROM.
You can find here how to create a zip file to flash it via CWM.
Only thing you have to do is to put your SystemUI.apk to the blank zip file.
/system/app/SystemUI.apk
http://www.galaxynexusforum.com/for...ds-wip-installs-update-zip-cwm.html#post20493
Click to expand...
Click to collapse
thanks man!!! that worked, my zip installed with no errors. BUT it didnt change a thing my battery icons and antenna are still the same as before. but when i open systemUI.apk with Root Browser i can see that it is mine systemUI file. its the new icons inside the file. so anybody now where the acro / experience rom takes it statusbar from?