Hey guys, small question.
My path i need to flash something to is
/system/app/systemui.apk/res/drawable-hdpi
My question is do i have to stop at the systemui.apk by replacing that whole .apk of that particular ROM with the new images. Or can I flash past it directly to the drawable-hdpi folder with that path listed above?
If this doesnt make much sense i can try to elaborate. Im new to this stuff
Thanks everyone. Happy Rooting
Almost positive you have to flash the full apk.
thats such a pain.
With every ROM possibly having some minor differences you have to have an individual zip for each ROM.
But thanks a lot
Np, that's why I gave up theming way back when.
fachadick said:
Np, that's why I gave up theming way back when.
Click to expand...
Click to collapse
And just FYI....there our phone uses xhdpi so if you put icons in hdpi, only certain ones will be called to function...
Related
Couple of things to ask:
1. What is deoxdexing and how does it help me?
2. Is there any official stock for 2.2? I have looked, can't seem to find it.
3. sbl.bin?
4. Is there a thread i missed that is a nice list of terms?
Thanks for the help.
My responses are in red.
silentabe939 said:
Couple of things to ask:
1. What is deoxdexing and how does it help me?
Just google it, but basically it allows an app to be themed.
2. Is there any official stock for 2.2? I have looked, can't seem to find it.
Check the dev section Bible
3. sbl.bin?
Secondary Boot Loader
4. Is there a thread i missed that is a nice list of terms?
My noob guide has some... let me know if I need to add others.
Thanks for the help.
Click to expand...
Click to collapse
and yeah that basically explains it all. if you can add a brief section on the deodexing and the ilk.
btwsomehow i knew you would be the one to respond
I can't tell if that is a good, or a bad thing.
Correct me if I'm wrong, but on deodexing:
Imagine the files that are part of android are zipped up, like .zip files. You can run them that way, or you can have them unzipped aka deodexed. The files are all out there, making it easier for stuff to be changed around: instead of having to go into the compressed file, uncompress it, change stuff in it, then compress it back up again, it already runs uncompressed. There's a small (possibly negligible?) speed penalty for running deodexed, but not much.
deodexing removes the odex files from the ROM and enables custom themes. As I understand it, deodexing does not affect performance, only themes. I may be wrong though.
Sent from my SGH-T959 using XDA App
Hi Guys,
there's a custom rom over here (CM 6.1.3 V4 out [Tweaked+Theme+Extras]). From this, i want to add the anims and drawable-hdpi images to the latest official Eclair (2.1) ROM. but no matter how i try, it bricks the phone.
does anyone have any idea?
i replace the files with winrar (don't extract it, just simply overwrite the files within winrar) then using x10 mod tool to move the modified framework-res.apk to the system/framework/ folder.
so any ideas would be lovley. and also, is there a way to check if it works on android sdk? i don't wanna keep restoring the phone all the time
thanks a lot!
not a single answer?
The images are not named the same across all roms so you'll have to look at each image and rename it to the corresponding one in the other drawable-hdpi folder. I don't know an easy way to do this, but I'd love to find one!
and also, is there a way to check if it works on android sdk?
Click to expand...
Click to collapse
+1 on this too. I know you can set up a virtual x10-like device but I don't know if it can preview a theme or how...
AyDee said:
The images are not named the same across all roms so you'll have to look at each image and rename it to the corresponding one in the other drawable-hdpi folder. I don't know an easy way to do this, but I'd love to find one!
+1 on this too. I know you can set up a virtual x10-like device but I don't know if it can preview a theme or how...
Click to expand...
Click to collapse
well, i only overwrote those images that were existing in the framework-res.apk... but there were additional images, that were not existing in the custom rom's framework-res.apk...
Hey everyone,
So I, like most people on XDA, flash different ROMs all the time. The problem is each ROM has one thing I like but others I don't.
However, the joy of Android is just that! You get to make your phone custom
Anyway, I really like the notification drop down bar on Serendipity. I think Mikey and Chance did a phenomenal job with it. Looks great. But I like the functionality of CyanogenMOD.
Is there anyway to port the notification drop down from Serendipity to CM7?
Thanks!
bscotth said:
Hey everyone,
So I, like most people on XDA, flash different ROMs all the time. The problem is each ROM has one thing I like but others I don't.
However, the joy of Android is just that! You get to make your phone custom
Anyway, I really like the notification drop down bar on Serendipity. I think Mikey and Chance did a phenomenal job with it. Looks great. But I like the functionality of CyanogenMOD.
Is there anyway to port the notification drop down from Serendipity to CM7?
Thanks!
Click to expand...
Click to collapse
I'm doing this off memory so bear with me for any errors. On the cm rom, pick a theme that u like and find the apk for it in system/app. Pull that apk and decompile it with apk tool. Then download the ROM that u want and take systemUI.apk and framework-res.apk and decompile them. After u decompile it, look for some file names in res/drawablehdpi for the images u will want to transfer to the cm theme. Then copy them to the cm theme. I think u have to rename them, but I'm not sure what to rename them to. I will update this when I find out since I'm working on my own theme for this. After u copy them recompile the apk and sign it using apk tool and send it to your device and install it.
If u have no idea on what I am talking about search for how to make themes by jivy26 on themes and apps. Or I can help u make a port, but u would have to be willing to test because i dont feel like switching roms.
If I had money, I would get a credit card. If I had a credit card, I would donate.
Waddle said:
I'm doing this off memory so bear with me for any errors. On the cm rom, pick a theme that u like and find the apk for it in system/app. Pull that apk and decompile it with apk tool. Then download the ROM that u want and take systemUI.apk and framework-res.apk and decompile them. After u decompile it, look for some file names in res/drawablehdpi for the images u will want to transfer to the cm theme. Then copy them to the cm theme. I think u have to rename them, but I'm not sure what to rename them to. I will update this when I find out since I'm working on my own theme for this. After u copy them recompile the apk and sign it using apk tool and send it to your device and install it.
If u have no idea on what I am talking about search for how to make themes by jivy26 on themes and apps. Or I can help u make a port, but u would have to be willing to test because i dont feel like switching roms.
If I had money, I would get a credit card. If I had a credit card, I would donate.
Click to expand...
Click to collapse
Thanks for your reply. The only problem is that I've done this and cannot seem to find any corresponding images in the theme/res/drawable-hdpi directory.
bscotth said:
Thanks for your reply. The only problem is that I've done this and cannot seem to find any corresponding images in the theme/res/drawable-hdpi directory.
Click to expand...
Click to collapse
In system ui in drawable there should be pictures with the labels status_bar something. There will be multiple background images and should be the toggle images. You wouldn't be able to find this if you were looking in framework-res
Sent from my SGH-I777
Hey guys,
actually I am on a Stock Rom and am trying to modify the icons in framework-res.apk
I found some very nice parts in several custom Roms here in our Section as well as in others, i.e. Sony/LG and and...
My plan is to mix up the icons I like from different Roms and made it already but I can only apply framework-res.apk via ADB, to provide it to others here I would love to have a zip where only the framework-res.apk is placed in...is there someone who would provide this to me ?
For now my maingoal is to bring Battery in Percentage and some other small things to any stock Rom, even for people without root and with even less knowledge than me ;-)
So, what I'd need is a flashfile that only changes the modified Icons...anyone ? Would be sooooo kind
Uot kitchen can make it
Sent from my GT-S5830 using xda premium
ohwarumbloss said:
Hey guys,
actually I am on a Stock Rom and am trying to modify the icons in framework-res.apk
I found some very nice parts in several custom Roms here in our Section as well as in others, i.e. Sony/LG and and...
My plan is to mix up the icons I like from different Roms and made it already but I can only apply framework-res.apk via ADB, to provide it to others here I would love to have a zip where only the framework-res.apk is placed in...is there someone who would provide this to me ?
For now my maingoal is to bring Battery in Percentage and some other small things to any stock Rom, even for people without root and with even less knowledge than me ;-)
So, what I'd need is a flashfile that only changes the modified Icons...anyone ? Would be sooooo kind
Click to expand...
Click to collapse
Dude! PM the link of the framework-res.apk! i will make it CWM flashable!
jinavs said:
Dude! PM the link of the framework-res.apk! i will make it CWM flashable!
Click to expand...
Click to collapse
Thank you very much for your offer, I got a flashfile already. Anyways, thanks!!
Sent from my GT-S5830 using XDA App
Hey, i am a bit noob here decompiling, and compiling system apks, so now im trying to decompile framework-res.apk from my CM7 rom, and i get a 9.png errors when decompiling and another strange one when compiling.
The whole CMD window is attached.
I hope get some help with this, i also got it with CM9 framework.
bump
Sent from my SG Ace
That means the .9 pangs were made wrong. This happens when some tries to take the easy way to theme things. You will not be able to compile it until you fix them
zelendel said:
That means the .9 pangs were made wrong. This happens when some tries to take the easy way to theme things. You will not be able to compile it until you fix them
Click to expand...
Click to collapse
Its because of the theme?
How can i fix it?
Sent from my SG Ace
Adgoosuc said:
Its because of the theme?
How can i fix it?
Sent from my SG Ace
Click to expand...
Click to collapse
Yes its because of the theme. If yo look at each file it says is broken you will have to remake all those .9.pngs properly. A search will teach you how to do it. You will need the android SDK installed for sure for the .9.png tool.
Adgoosuc said:
Its because of the theme?
How can i fix it?
Sent from my SG Ace
Click to expand...
Click to collapse
You either have to edit the .9.png files with the draw9patch.bat file located in \android-sdk\tools.. and copy basically the pixel borders - put up two windows side by side - one stock and the one you are editing. And make sure you only have one new copy of that file in your drawable folder when done.. no normal .png's of the same name.
Or you could just "borrow" those .9.png files from another rom and use GIMP to basically edit the color only and save... just don't decompile them - use 7zip instead.
alteredlikeness said:
You either have to edit the .9.png files with the draw9patch.bat file located in \android-sdk\tools.. and copy basically the pixel borders - put up two windows side by side - one stock and the one you are editing. And make sure you only have one new copy of that file in your drawable folder when done.. no normal .png's of the same name.
Or you could just "borrow" those .9.png files from another rom and use GIMP to basically edit the color only and save... just don't decompile them - use 7zip instead.
Click to expand...
Click to collapse
Editing a .9 png like that is not the prper way to do it. He will just have issues if he tries to decompile it again. This is why alot o themes break when people try to decompile them to learn.
Take some time out OP and learn how to do it properly. The easy way is never right.
zelendel said:
Editing a .9 png like that is not the prper way to do it. He will just have issues if he tries to decompile it again. This is why alot o themes break when people try to decompile them to learn.
Take some time out OP and learn how to do it properly. The easy way is never right.
Click to expand...
Click to collapse
Which way is not proper? The 2nd suggestion was not intended to be a proper way, but it can work.. and the first way I suggested is what I would consider a good way to learn how to draw the patches - by comparison with known working ones..
EDIT - please elaborate on the not being able to decompile it again later though - I was aware of this issue and had come across it - but never new the cause.
EDIT 2 - I just noticed your stats - please share your seasoned wisdom... I have got a lot to learn yet...
Ok, i have a better way to do what i want, i jzut want to edif bools.xml inside values folder, so ill apply default theme, decompile and edit, and then i replace it.
Thanks to all who helped me!
Sent from my SG Ace
Adgoosuc said:
Ok, i have a better way to do what i want, i jzut want to edif bools.xml inside values folder, so ill apply default theme, decompile and edit, and then i replace it.
Thanks to all who helped me!
Sent from my SG Ace
Click to expand...
Click to collapse
The bools XML will be over writted when you flash the theme.
alteredlikeness said:
Which way is not proper? The 2nd suggestion was not intended to be a proper way, but it can work.. and the first way I suggested is what I would consider a good way to learn how to draw the patches - by comparison with known working ones..
EDIT - please elaborate on the not being able to decompile it again later though - I was aware of this issue and had come across it - but never new the cause.
EDIT 2 - I just noticed your stats - please share your seasoned wisdom... I have got a lot to learn yet...
Click to expand...
Click to collapse
Ok the 1 px boarder around the image has to be the last thing applied to an image. You can edit it with gimp and 7zip but that breaks the border settings. This is the reason most .9.pngs break when decompiled.