Related
Working on a gingerbread theme for DK28, not quite sure if i'll release it or not, but while dumping the pngs in and testing on my phone, I noticed the issue in the attached screenshot. The backgrounds for the icons when you hit menu from the homescreen are now black so the black text no longer shows up.
Anyone know where this text can be found in the framework xmls so I can edit it? Its the only issue I found and I poked around the xmls but couldnt find anything that jumped out at me, thanks for any help!
EDIT: correct png uploaded
bump - cmon guys, no help on this?
This is what I'll trying to figure out as well, its really pissing me off as its the only thing stopping me from releasing my rom. Im keeping an eye on this thread as well.
Sent from my GT-I9000 using XDA App
Where did you find the png(s) to change the menu bg?
a454nova said:
Where did you find the png(s) to change the menu bg?
Click to expand...
Click to collapse
newest android SDK for the most part, i also pulled some things that were missing from here: http://forum.xda-developers.com/showthread.php?t=864819.
I think I'm ready to post it except for that text for the menu backgrounds, just gotta get permission for the things i stole, eh hem, borrowed also!
I was trying the same thing, try a menu smali file in the framework.
Sent from my Xtremely Syndicated and Emotionless Epic 4G
amosher13 said:
newest android SDK for the most part, i also pulled some things that were missing from here: http://forum.xda-developers.com/showthread.php?t=864819.
I think I'm ready to post it except for that text for the menu backgrounds, just gotta get permission for the things i stole, eh hem, borrowed also!
Click to expand...
Click to collapse
Sorry, I mean on our phones. Its probably a dumb question, I know. Its like the only one I can't find. I have changed every one of then, even some in apps but I can't find that one. What and where is the files. lol
a454nova said:
Sorry, I mean on our phones. Its probably a dumb question, I know. Its like the only one I can't find. I have changed every one of then, even some in apps but I can't find that one. What and where is the files. lol
Click to expand...
Click to collapse
oh right, well its gotta be in framework-res.apk/res/drawable-hdpi for sure, i changed out almost every icon in there, flashed it and voila, black menu backgrounds. so i dont know exactly what pngs were responsible. doing a quick search for menu though i get the following i put my money on the starred one:
menu_background.9.png
***menu_background_fill_parent_width.9.png
menu_submenu_background.9.png
so what is a menu smali file? i'll search around but i've never done anything with one.
EDIT: sounds like smali might be a little out of my league, lol. but i think i may have found something, testing now before i reveal it. then just one more thing to fix and i think its ready to go!
okay well i found what to do for xml edits here:
http://forum.xda-developers.com/showpost.php?p=9664604&postcount=77
but i did them and it doesnt look like it took. i've asked the OP of this thread: http://forum.xda-developers.com/showthread.php?t=863860 for some advice and also on changing the notification text from white to dark as it doesnt look good on the lighter gray notification background in GB.
hopefully i'll have something up today or tomorrow, its looking great other than that!
looking good so far, even with a GB battery 1% mod! just 2 more little issues to fix!
amosher13 said:
oh right, well its gotta be in framework-res.apk/res/drawable-hdpi for sure, i changed out almost every icon in there, flashed it and voila, black menu backgrounds. so i dont know exactly what pngs were responsible. doing a quick search for menu though i get the following i put my money on the starred one:
menu_background.9.png
***menu_background_fill_parent_width.9.png
menu_submenu_background.9.png
so what is a menu smali file? i'll search around but i've never done anything with one.
EDIT: sounds like smali might be a little out of my league, lol. but i think i may have found something, testing now before i reveal it. then just one more thing to fix and i think its ready to go!
Click to expand...
Click to collapse
Thanks a lot for that, the one is round and didn't catch my eye. Thanks again!
amosher13 said:
okay well i found what to do for xml edits here:
http://forum.xda-developers.com/showpost.php?p=9664604&postcount=77
but i did them and it doesnt look like it took. i've asked the OP of this thread: http://forum.xda-developers.com/showthread.php?t=863860 for some advice and also on changing the notification text from white to dark as it doesnt look good on the lighter gray notification background in GB.
hopefully i'll have something up today or tomorrow, its looking great other than that!
looking good so far, even with a GB battery 1% mod! just 2 more little issues to fix!
Click to expand...
Click to collapse
Looks nice, damn...
I like those Icons!
I'm familiar with changing the icons/files in framework-res on the phones, I assume the process would be the same on the Archos Gen 8s. I understand we don't have a nandroid backup to load if we screw it up but messing with the SDE version of Android somewhat alleviates that fear.
Am I right that it should be the same?
Yes.
Just keep in mind that you need to use a version like UrukDroid that gives you writeAccess to /system, because SDE only doesn't work.
Thanks. I'm using Uruk 0.4.1, so I'm ready to get to work.
This is mostly to fix the stupid Talk notification icon (am I the only one that has two white pixels on top of the talk bubble?) but I know from past experience it will soon progress to sick days, missed family events, and late night arguments with my wife as I desperately attempt to tweak just one more thing to get rid of the urge. . .
Yes its time for some themes...stock looks ugly when compared to my epic 4g
Sent from epic 4g
http://forum.xda-developers.com/showthread.php?t=889963
txtmikhail said:
http://forum.xda-developers.com/showthread.php?t=889963
Click to expand...
Click to collapse
Thanks for the link but don't think this will really help as it is. The script tries to mount the /system folder on the internal nand, which won't work for us (well, not using the UrukDroid root, anyway). Should be able to tweak the script though.
Have tried replacing the framework.apk manually with an edited one, and set the correct permissions (on UrukDroid 0.4.2), but all I get is a black screen after the second Archos splash screen. Have done it the same way I did on my Desire, by editing the contents of framework-res.apk, rather than unpacking and repacking, but I guess there may be a signing issue here. I forget how much of the hard work Clockwork recovery does for you! Also, it may require edited the services.jar, but I'm not sure how to do that, or what needs editing. So far, all I did was try to change icons etc.
fisha21 said:
Have tried replacing the framework.apk manually with an edited one, and set the correct permissions (on UrukDroid 0.4.2), but all I get is a black screen after the second Archos splash screen. Have done it the same way I did on my Desire, by editing the contents of framework-res.apk, rather than unpacking and repacking, but I guess there may be a signing issue here. I forget how much of the hard work Clockwork recovery does for you! Also, it may require edited the services.jar, but I'm not sure how to do that, or what needs editing. So far, all I did was try to change icons etc.
Click to expand...
Click to collapse
Thanks for boldly going where no man had (reportedly) gone before. I hadn't gotten around to doing my best bootloop job yet, but you saved me the time.
We need to find a themer with a lot of spare time and Uruk!
p0rk burn said:
Thanks for boldly going where no man had (reportedly) gone before. I hadn't gotten around to doing my best bootloop job yet, but you saved me the time.
We need to find a themer with a lot of spare time and Uruk!
Click to expand...
Click to collapse
Haven't given up yet! Keep your eyes on this space....
EDIT
In fact, keep your eyes on this space! Thoughts/comments welcome
I am failing at making a bootanimation.zip and I am not sure why. Anyone experienced want to take a look at my file and give me a hint as to why this doesn't work? It gets rid of the default Android, but just displays a black screen until the homescreen shows up.
Did I stump everybody? I figured I was just missing something silly like the picture files need to be in 7.5 bit format or something.
Sent from my Epic 3g
JMMusic said:
Did I stump everybody? I figured I was just missing something silly like the picture files need to be in 7.5 bit format or something.
Sent from my Epic 3g
Click to expand...
Click to collapse
I haven't a clue...I'm just here to help that uncomfortably alone feeling. :-( good luck
Id like to know/learn how to make a bootanimation is there a section/tutorial on this somewhere??
I see there's a section on theme-ing. Am i mising something?
Sorry not trying to thread jack, just thought the OP can shed some light.
Good luck on your question!
Haven't tried it yet myself, but I've noticed these tutorial threads in the past:
http://forum.xda-developers.com/showthread.php?t=1096068
http://forum.xda-developers.com/showthread.php?t=1234611
You must save the zip as an uncompressed zip file. Compression level should be set to storage mode.
Sent from my SPH-D700 using xda premium
bbelos said:
Haven't tried it yet myself, but I've noticed these tutorial threads in the past:
http://forum.xda-developers.com/showthread.php?t=1096068
http://forum.xda-developers.com/showthread.php?t=1234611
Click to expand...
Click to collapse
I hadn't seen that first thread (or the tool in it). Neat. Thank you. Wish I had seen that before I started.
It still didn't work, but at least that lets me know that it really is an odd problem.
starskyrob said:
You must save the zip as an uncompressed zip file. Compression level should be set to storage mode.
Click to expand...
Click to collapse
That I am doing. Though I have noticed that sometimes "store" in WinRar compresses by just a few bytes. I made one that was completely not compressed (byte match for stored size versus on drive size). Still not working, so I've ruled that out as being the issue.
I'm attaching a version created by the tool in the link above. It still doesn't work. I have no clue why... still looking for hints.
JMMusic said:
I'm attaching a version created by the tool in the link above. It still doesn't work. I have no clue why... still looking for hints.
Click to expand...
Click to collapse
That looks like it'd be a cool animation. I'll mess with it later when I get home. But at first glance comparing it to other animations I have that work, they are either greyscale or RGB jpgs @ 72dpi. Yours are indexed pngs @ 300dpi. That link says png should be ok, but it says to use RGB. Maybe you could try that next.
Here you go. I converted the images to 72dpi RGB jpgs. I'll still probably try again leaving them as 72dpi RGB pngs, but these animations work now.
I included your original 30fps version, but also slowed it down a bit. I think the 12fps looks good, but unless you have just wiped your dalvik cache, you might not have enough time to see very many blinks. The 21fps version isn't bad, but I think it's still a bit too fast. Tweak the speed to your preference.
These are not flashable, btw, so just copy over with root explorer or whatever.
Has to be renamed sanim.zip to work in GB.
Sent from my Samsung Legendary 4G, a Universe UTES phone, running "two.three.five"
True, I guess I assumed he was using a kernel with the symlink to bootanimation.zip since his phone was actually trying to use the original file. Thanks for the reminder to anyone else trying to get this to work.
Sent from my SPH-D700 using XDA App
I've tried this myself many times to no evail. I get boot animations from a rom that i like and try to put the boot ani in a diff rom and it never works. i'm never able to get the files into the other zip. I can't wait till i figure out how to completely customize roms to exactly what i want! i'm learning a little more day by day. this thread has helped me a little and will now be my reference if i run into this problem once i finally make my own boot ani. Thanks guys!
bbelos said:
Here you go. I converted the images to 72dpi RGB jpgs. I'll still probably try again leaving them as 72dpi RGB pngs, but these animations work now.
I included your original 30fps version, but also slowed it down a bit. I think the 12fps looks good, but unless you have just wiped your dalvik cache, you might not have enough time to see very many blinks. The 21fps version isn't bad, but I think it's still a bit too fast. Tweak the speed to your preference.
These are not flashable, btw, so just copy over with root explorer or whatever.
Click to expand...
Click to collapse
I am thinking the editor I was using for the images was doing something funky. Anyway, much appreciated, the 21 fps one works beautifully.
JMMusic said:
I am thinking the editor I was using for the images was doing something funky.
Click to expand...
Click to collapse
GIMP is typically the only image program I use, hasn't failed me yet.
The reason for this little hack is the fact those 2 pop-ups can become an extreme double-annoyance while driving in hot weather. Imagine, your battery is below 15%, yet scorching hot, beyond the charging cut-off threshold. Connect a charger and you get bombarded with the "charging paused, battery temperature too high" pop-ups. Disconnect it and you get a low battery ones. This little patch deals with the issue by simply disabling the annoying pop-ups. It also disables the annoying battery full notification.
Please note, this doesn't modify any functionality, it just disables the pop-ups. The battery will not and should not charge when overheated.
Instructions:
Download and unpack "BatteryPatch.zip", you should now have "Patch.js" jscript along with the "utils" directory.
Fetch your "/system/app/SystemUI.apk" from the device, place it in the same directory, along with the "Patch.js".
Apply the patch by launching "Patch.js" and push the patched SystemUI.apk back to the device.
Updates:
Not every ROM seems to have the battery full notification and/or battery overheating popup. Patching those is now optional, the script will show a warning in case it fails to patch those instead of erroring out completely.
There are some ROMs out there with showLowBatteryWarning method looking somewhat different from what i've seen on my S3. In order to try & let the patch work on more ROMs, the showLowBatteryWarning method is now being bypassed entirely. Hopefully, no ROM does anything important inside that method, besides showing the annoying low battery popups. In any case, as usual, you use the patch - you take the risk.
PS: For those willing and able to apply the patch manually, download the second zip and do a 3 way merge.
===> reserved <===
Nice mod...just added it to my rom.. purposely drained the battery...no notification pop up (hopefully won't get the temp warning anyway)
Lovely work
Already given 8 thanks today...I will come back!
_neutron_ said:
Nice mod...just added it to my rom.. purposely drained the battery...no notification pop up (hopefully won't get the temp warning anyway)
Lovely work
Already given 8 thanks today...I will come back!
Click to expand...
Click to collapse
Thanks. Temp warning should not be there any longer, too. But the rest of them (bad charger, overcurrent, stuff like that) are still there, i don't think killing those is a good idea.
The reason i did this was primarily the temperature warning. I've been looking all over the forum on how to disable it, but couldn't find any info, so i though, "what the hell, i can find it myself, it's not such a big deal"... during the search i've noticed the low bat one, too, and though "hmm, i hate that one too, lets kill it as well".
Thats about it.
Just patched and tested the full battery notification as well, first post updated.
Lovely, gonna test this when I get home
Thanks for the update
sorry to sound like a total noob, but im completely new to apktool. was reading up on it and trying it, but im slightly confused. what options do you chose exactly when decompiling? i couldnt find the power smali file after decompiling
There are plenty of explanations/tutorials on this around the forum. About not having the smali after decompiling... any chance your rom is odexed? In this case you wont be getting any smali files, cause all the code is in the odex file, not the apk. You will have to deodex it in this case and, possibly, reodex it before placing it back on the device (not sure about it, specifically i am unsure how the odex dependecies work).
Sadly, i cannot provide a ready to use apk, there are too many versions being in use, especially considering the 15 toggles mod, the battery icon mod as well as many other visual mods also patch stuff inside this apk, increasing the number of variations even further. So, sorry, no ready to use apk.
Is there a flashable file?
Sent from my GT-I9300 using Tapatalk 2
baste07 said:
Is there a flashable file?
Click to expand...
Click to collapse
Nope, and it is extremely hard to make. In fact, impossible, with the currently available CWM tools, as far as i know. It would be "for ROM version <insert_version_here> with 15 toggles and circle battery", "for ROM version <insert_version_here> without 15 toggles and green battery" etc etc etc kind of variations, and as i already mentioned, i doubt this is a viable option.
Anyone can prove me wrong and provide a way of writing a CWM script that would decompile (deodex if needed) an existing apk, apply a patch, recompile it and than replace it ? Out of all the things needed, i only know how to do the "replacing" part
Can i ask a massive favour?
im now havin problems with my systemui in regards to it recording the changes (decompiling & recompiling - i think i have an issue with my pc but i cant figure it out)
Could you apply the changes to the attached file for me?
InfX said:
There are plenty of explanations/tutorials on this around the forum. About not having the smali after decompiling... any chance your rom is odexed? In this case you wont be getting any smali files, cause all the code is in the odex file, not the apk. You will have to deodex it in this case and, possibly, reodex it before placing it back on the device (not sure about it, specifically i am unsure how the odex dependecies work).
Sadly, i cannot provide a ready to use apk, there are too many versions being in use, especially considering the 15 toggles mod, the battery icon mod as well as many other visual mods also patch stuff inside this apk, increasing the number of variations even further. So, sorry, no ready to use apk.
Click to expand...
Click to collapse
ah that explains why there is no smali file. thanks for the help!
I also cannot get this mod to work, wishing easier method coming soon, like one zip file thru recovery or similar... i dont have patience to this sorta things.
Sent from my GT-I9300 using xda app-developers app
_neutron_ said:
Can i ask a massive favour?
im now havin problems with my systemui in regards to it recording the changes (decompiling & recompiling - i think i have an issue with my pc but i cant figure it out)
Could you apply the changes to the attached file for me?
Click to expand...
Click to collapse
Done. Enjoy.
GalaxyS3man said:
I also cannot get this mod to work, wishing easier method coming soon, like one zip file thru recovery or similar... i dont have patience to this sorta things.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Well, if you know of someone that could have possibly coded an infrastructure for doing this kind of patches onboard, automatically, i would be glad to get pointed to the right direction, and will integrate it there. Currently, i don't know of any.
Seriously, though... is it possible to baksmali in recovery mode somehow ? Can one run patch, sed and similar utilities there ? If yes, can i see an example ? Cause if that's possible, it can make a "flashable zip" for stuff like that possible.
hmm, so if i have these files in my app folder:
systemui.apk
systemui.odex
I cannot just add/replace the code as described?
reprazent said:
hmm, so if i have these files in my app folder:
systemui.apk
systemui.odex
I cannot just add/replace the code as described?
Click to expand...
Click to collapse
You can deodex, patch the smali while having it handy during deodexing, and, possibly, reodex it back into an odex file and replace just the odex. Never did it myself, though. I find odexed roms to be too much of a hassle while modding stuff to use those.
Is it ok if i ask help too?
InfX said:
You can deodex, patch the smali while having it handy during deodexing, and, possibly, reodex it back into an odex file and replace just the odex. Never did it myself, though. I find odexed roms to be too much of a hassle while modding stuff to use those.
Click to expand...
Click to collapse
I been trying for days...help, i go crazy with those popups
Thats what i have on my rooted S3 I just like Omega rom, tried several others non Samsung based aswell.
Sent from my GT-I9300 using xda app-developers app
GalaxyS3man, your apk is NOT odexed. Took me barely 2 minutes to apply the patch. Here we go...
PS: TBH, i've been under impression people on XDA are perfectly familiar applying and/or finding out this kind of stuff, really
Does anyone know if there is a working app mod or hack to enable the incredible2 to have nexus-like on-screen buttons and disabling the lights and functions of the hardware buttons like on ParanoidAndroid has it?
cowboyv said:
Does anyone know if there is a working app mod or hack to enable the incredible2 to have nexus-like on-screen buttons and disabling the lights and functions of the hardware buttons like on ParanoidAndroid has it?
Click to expand...
Click to collapse
This is the main reason I stick with PA. If someone can mod the framework of the rom you are using, it may be option, but most of the roms don't have that built in. You might mention it in the thread of the rom you use and see if someone can hook you up.
Yeah, I'm wondering if maybe you can copy and paste the frameworks folder from PA rom to the other rom and if that would activate the on screen buttons.
I doubt that would be a good idea, but I'm not the one to answer that one.
Sent from my Incredible 2 using xda premium
cowboyv said:
Yeah, I'm wondering if maybe you can copy and paste the frameworks folder from PA rom to the other rom and if that would activate the on screen buttons.
Click to expand...
Click to collapse
Just a warning, that very well may put your phone into a boot loop, if you decide to try it......BACKUP first
Sent from my Incredible 2 using xda app-developers app
@Phantom: according to this thread it's just a matter of decompiling framework-res.apk, making some changes and then recompiling the whole thing, which is why I'm thinking maybe it is as simple as copying/pasting the apk.
@Tricsuit: Yeah, I know. I already learned my lesson and before attempting stupid ideas like this one, I run a full back up of the rim, settings, apparently and data, and then make sure to save the back up file in my box to be able to retrieve it from my computer just in case something else hiccups.
cowboyv said:
@Phantom: according to this thread it's just a matter of decompiling framework-res.apk, making some changes and then recompiling the whole thing, which is why I'm thinking maybe it is as simple as copying/pasting the apk.
@Tricsuit: Yeah, I know. I already learned my lesson and before attempting stupid ideas like this one, I run a full back up of the rim, settings, apparently and data, and then make sure to save the back up file in my box to be able to retrieve it from my computer just in case something else hiccups.
Click to expand...
Click to collapse
Thanks for the share m8, I will try to look into this one more over the weekend. If you decide to give it a go with a copy and past let me know how it works out.
Yeah, I'm on call for the next couple of days so I won't be able to play with the rom, but if I'm able to make it work I'll post it here. :beer:
Welp, I began to toiler around with this, succeed in decompiling res-framework.apk, changing the bools, arrays and dimens values and added the menu images, basically all the way down to step 5, but I can't seem to recompile it back into .apk... uhm... a little help guys? ^^;