[Q] Help needed - strange framework modding problem - Android Software/Hacking General [Developers Only]

Sorry if this has been posted before, but I couldn't find anything regarding this sort..
So to the question. I have been modifying my framework (and apps) (CM 2.2.1) to get a Gingerbread-like look. Everything else works well but when I pull notifications open, there is a strange shadowy gradient on top of the notifications - and I can't find out why! The graphics seem to be all right, but when I use a framework from another ROM/theme that is GB-themed, there's no such thing. Is there something in the xml files that could cause this?
Screenshots attached.
Details:
HTC Magic 32A
Based on CyanogenMod nightly 307
If someone has time and will, please help me

Related

[Theme Dev] Question about two files

Hi,
I did my first own theme for Nexus, did many for Hero before.
But just I've got a question...
I'm using "services.jar" and "framework-res.apk"
could anybody explain me please, whats in these two files along to the icons?
Is it possible that nexus crash or runs slower with modified icons in it?
I want to use my theme every time, but don't know if google (or cyanogen, modaco) changes something in this two files.
Anybody know?

framework-res.apk & services.jar

Can anyone offer some insight on the SDK emulator? I'm trying to test out a new framework-res.apk/services.jar for white notification/clock text on froyo. trying to push it to an AVD(emulator) but getting errors:
"C:\Users\pwner>adb push C:\Users\pwner\Desktop\Theme\framework-res.apk /system/framework/framework-res.apk
failed to copy 'C:\Users\pwner\Desktop\Theme\framework-res.apk' to '/system/framework/framework-res.apk': Out of memory"
can't find anything about this on the web. sorry, know it's a noob question but i'm very much so looking forward to having a black theme back on my nexus + froyo. i'm also going to be developing my own themed* ROM which depends on white text.
any help would be greatly appreciated.
---
edit: using an emulator because i don't want to blow up my phone
edit2: yes, i've reviewed the documentation here: http://developer.android.com/guide/developing/tools/emulator.html
you ever figure this out? seems there is a way to change the clock color on froyo now, but i'm clueless.
RogerPodacter said:
you ever figure this out? seems there is a way to change the clock color on froyo now, but i'm clueless.
Click to expand...
Click to collapse
yeah totally thanks to all the help to everyone who replied. LOL. NOT.
no, i never did. i quit screwing with the emulator.
there is a way yes, BUT, we need a fully deodexed froyo rom first. paul over at modaco has deodexed the build but hasn't released the deodex pack for the kitchen. once he does, i'll be building/releasing a theme. till then. we are fuct
edit:
more info over here:
http://forum.xda-developers.com/showthread.php?t=698295
This could help:
http://forum.xda-developers.com/showpost.php?p=6778975&postcount=86
Did you get this worked out? I haven't had much time over the last 36 hours but may be able to assist now since I've done it a few times.
Although I don't know much about using an emulator, I always use a handset.
So, if you think I can help, either with your patching or your future rom, let me know.
DocRambone said:
This could help:
http://forum.xda-developers.com/showpost.php?p=6778975&postcount=86
Click to expand...
Click to collapse
djmcnz said:
Did you get this worked out? I haven't had much time over the last 36 hours but may be able to assist now since I've done it a few times.
Although I don't know much about using an emulator, I always use a handset.
So, if you think I can help, either with your patching or your future rom, let me know.
Click to expand...
Click to collapse
Hey thanks for the advice guys! Well, I've actually gotten a ported Kspec theme set up on my phone right now. Only problem is that I just pushed the framework and launcher and apps to my phone using adb push. so no update.zip
So what I could really use some advice on would be:
1. Setting up my PC for signing apps that I modify. I use windows 7 though. none of the articles about setting up signing seem to pretain to me, including stericsons guide
2. Creating update.zip files to flash(sure i can find more info on this in the forum but with out signing ability not too much point right now).
3. using apktool to decompile apps to edit XML files. this is so i can change the text on the music app's text color to white(so now playing shows up properly in the notification bar) along with other apps I use so I can theme and change font colors such as touteir, etc.
other than that, I'll be working on images to get my custom rom out! This is what I have on my phone ATM:
PLEASE NOTE THAT THIS IS NOT MY THEME. just ported it from brendank's kspec monster theme. i hope he wont mind that i'm sharing screenies of what i'm using on my phone here, and i have no intention on releasing his theme at all...i am using it as a temp theme so i don't go insane with all the white on the phone till i make my theme. anyways, screen shots attached.
edit:
just for anyone who cares, my theme will be very similar to the kspec monster theme(all black, with transparencies), but will have blue high lights to match the blue on the clock on my home screen.
Okay, there's a fair bit to answer there so perhaps we just take it one step at a time...
Windows 7 is not a problem. You will need to install the Android SDK and the included USB drivers. Once you've done this test that your phone can connect to your computer by USB, if not you'll need to diagnose that (that's a search).
You need the JRE (Jave Runtime Environment). You probably have this, type java.exe at a command prompt to make sure it exists, if not then download and install (any Windows version).
The you need to check that adb (Android Device Bridge) is working. Drop to a command prompt and go your SDK/tools dir and type adb devices with your phone plugged in via USB. It should display the serial number of your connected phone. If it does not then you need to diagnose your adb problems (that's a search).
The you need to autosign (search this forum) and apktool (search google), these will allow you to decompile/compile/sign apks and also sign update.zips.
Once you have all of that and you're familiar with how it basically works then post back here with some of your experiences and we'll take it to the next step.
Please also look in the Chef's Central sub-forum, there's lot's of helpful information (including many of the required tools) in there.
geahboi said:
Hey thanks for the advice guys! Well, I've actually gotten a ported Kspec theme set up on my phone right now. Only problem is that I just pushed the framework and launcher and apps to my phone using adb push. so no update.zip
So what I could really use some advice on would be:
1. Setting up my PC for signing apps that I modify. I use windows 7 though. none of the articles about setting up signing seem to pretain to me, including stericsons guide
2. Creating update.zip files to flash(sure i can find more info on this in the forum but with out signing ability not too much point right now).
3. using apktool to decompile apps to edit XML files. this is so i can change the text on the music app's text color to white(so now playing shows up properly in the notification bar) along with other apps I use so I can theme and change font colors such as touteir, etc.
other than that, I'll be working on images to get my custom rom out! This is what I have on my phone ATM:
PLEASE NOTE THAT THIS IS NOT MY THEME. just ported it from brendank's kspec monster theme. i hope he wont mind that i'm sharing screenies of what i'm using on my phone here, and i have no intention on releasing his theme at all...i am using it as a temp theme so i don't go insane with all the white on the phone till i make my theme. anyways, screen shots attached.
edit:
just for anyone who cares, my theme will be very similar to the kspec monster theme(all black, with transparencies), but will have blue high lights to match the blue on the clock on my home screen.
Click to expand...
Click to collapse
I love the Notification bar on that theme... You think I could get the string for that or maybe the theme to extract the framework-res.apk and services.jar?

[Q] Help Request: Simplism ported for Dx?

So, I'm new to the forums (Hi), but I've been messing around with my phone well before i registered (rooted, deo'd, custom notification bar, ect). I'd like to see if anyone here has the ability to either help me with a project, or just to point me in the right direction. What I'd like to do, is port the lockscreen, notification bar, and (if possible) call answer screen from the Simplisim theme for the HTC Desire to the droid X. Simplism can be found in the Desire subform here, I just can't link to it yet...
I'm not sure where to start - I also posted in that thread. I'm currently working on the notification bar (The easy part ). Anyone have any ideas? ^_^
DawidD said:
So, I'm new to the forums (Hi), but I've been messing around with my phone well before i registered (rooted, deo'd, custom notification bar, ect). I'd like to see if anyone here has the ability to either help me with a project, or just to point me in the right direction. What I'd like to do, is port the lockscreen, notification bar, and (if possible) call answer screen from the Simplisim theme for the HTC Desire to the droid X. Simplism can be found in the Desire subform here, I just can't link to it yet...
I'm not sure where to start - I also posted in that thread. I'm currently working on the notification bar (The easy part ). Anyone have any ideas? ^_^
Click to expand...
Click to collapse
Im game to help, i wont be able to work on it till sunday though, but where do you want me to start. Or what do you need me to teach you to do
i would also love to see this and simplistic in the general android section i love that theme. http://forum.xda-developers.com/showthread.php?t=739804
Well, I'm already working on the statusbar up top... icons and looks and whatnot. I'll probably get to editing the XML and fonts soon. The REAL issue, at least for me, is how to get that sexy lockscreen and/or call answer screen on the Dx. Any ideas?

[Q] GingerVillain -- how to get rid of green status icons?

So thanks to the ten posts rule I can't post in GingerVillain thread... I'll have to try here then.
Basically under GingerVillain it seems that WiFi and MobileInternet icons in status bar turn green when Google synchronization is working (or so it seems according to the relevant thread).
I find this color more than a little annoying, I don't care about Google sync status (never seen it not to work anyway), I want them to just be normal white.
Is it possible?
If it requires some 'modding' -- I do have some experience (like replacing pictures in framework-res.apk) -- I just need pointers as to what needs to be done.
Thanks in advance!
By the way, maybe someone can repost the question into actual Ginger Villain thread?
It's here:
http://forum.xda-developers.com/showthread.php?t=880465
Its not about syncing. Just that you have a reliable connection to the google network
ADR6300

Anyone interested in a near-working Wildfire S "port"?

I found a guide that mentions basic Sense porting to another Sense device. I tried this with this Wildfire S ROM for a few reasons:
--I prefer the "standard" HTC Sense as found on any other device (ie. Black status bar, black apps, etc.)
--I wanted to see how well it'd run
--I wanted to see if there'd be any problems with anything
After following the above guide, I notice only the following bugs:
--Camera is upside down
--Rosie keeps force closing because of forced landscape orientation so I have to use an alternate launcher
--Lockscreen is always in Portrait no matter what
--Keypad backlights don't turn on
--Facebook button doesn't work (duh)
--(New)GPS doesn't work - need to mess with GPS libs when I have more time
--(New)The FM Radio app's graphics are messed up
To try and fix the Rosie problem, I tried copying over the Rosie.apk and Rosie.odex from the Chacha's 2.3.5 OTA, but no dice, the system doesn't even see it.
Anyone have any tips on how I could fix any of the above? I'm no dev, and I only tried this for (basically) the fun of it to see how it'd turn out and my "experience", so to speak, only goes as far as swapping files here and there - I felt like the Development forum was the best place to post this. Apologies if it isn't.
good attempt! nice to see to back into work. May be some developers can help you out.
I would like to apologize first, as it is 08:19 in the morning and I'm already drunk. lol.
Well, let's start with the easy bits:
1. --Keypad backlights don't turn on
Mainly the thing is that the Wildfire S ROM does not have support (or it is not activated) for a physical keyboard; therefore the need for backlight is redundant. To fix this you will either have to manually add the code lines or un-comment them. I suggest talking with adlx or xdbg since both of them have implemented this feature in the two custom ROMs.
2. --Facebook button doesn't work (duh)
As above, the ROM doesn't know (or doesn't want to know) about the physical keyboard. Same suggestions as above.
3. Landscape/portrait issues.
Well. The main problem here is the android system. By definition it detects the longest size on the display and sets it as the height. Therefore you'll have a tough time fixing the standard display to landscape. As above, I suggest speaking with the devs that worked on these roms and implement the ChaCha kernel files into the Wildfire ROM.
Aaaaaand that's about it I guess. I wish you good luck!
Drunk, this early??
Good effort!
Sent from my A810e using Tapatalk
qzfive said:
I found a guide that mentions basic Sense porting to another Sense device. I tried this with this Wildfire S ROM for a few reasons:
--I prefer the "standard" HTC Sense as found on any other device (ie. Black status bar, black apps, etc.)
--I wanted to see how well it'd run
--I wanted to see if there'd be any problems with anything
After following the above guide, I notice only the following bugs:
--Camera is upside down
--Rosie keeps force closing because of forced landscape orientation so I have to use an alternate launcher
--Lockscreen is always in Portrait no matter what
--Keypad backlights don't turn on
--Facebook button doesn't work (duh)
To try and fix the Rosie problem, I tried copying over the Rosie.apk and Rosie.odex from the Chacha's 2.3.5 OTA, but no dice, the system doesn't even see it.
Anyone have any tips on how I could fix any of the above? I'm no dev, and I only tried this for (basically) the fun of it to see how it'd turn out and my "experience", so to speak, only goes as far as swapping files here and there - I felt like the Development forum was the best place to post this. Apologies if it isn't.
Click to expand...
Click to collapse
Nice!
For the backlight, maybe you could try using system/lib/hw/lights.msm7k.so from the stock Chacha rom, or even from SuperOSR...
You cannot copy/paste an apk+odex file, it will probably never work. Try deodexing it first, then copy it.
I guess this is the right place to ask
adlx.xda said:
Nice!
For the backlight, maybe you could try using system/lib/hw/lights.msm7k.so from the stock Chacha rom, or even from SuperOSR...
You cannot copy/paste an apk+odex file, it will probably never work. Try deodexing it first, then copy it.
I guess this is the right place to ask
Click to expand...
Click to collapse
I copied lights.msm7k.so from SuperOSR, and the keyboard backlight works now.
I used an application on my laptop called xUltimate to deodex both this ROM and Chacha 1.54 stock, and the only things that wouldn't deodex are the Lockscreen and Rosie :/
Camera appears right-way round/up if a 3rd party camera app is used
Additional bugs I've noticed after trying it out a bit again:
--GPS doesn't work - I'll mess around with gps libs tomorrow when I have a bit more time
--The FM radio app's graphics are messed up
For gps try also to use stock chacha libsensors (or something like that)
the right names for the files are:
/system/lib/hw/gps.chacha.so
/system/lib/hw/sensors.chacha.so
try using the one from SuperOSR.
Is this ROM going to be official released anytime soon because I am working on a ROM from another HTC device aswell and was wondering if you needed any assistance on final touches?
TechMayhem
This would interest me greatly, as I really love the "standard" sense and was quite disappointed with the amount of white/light colours used in the ChaCha's version, and how it just doesn't seem to fit in very well at all with the HTC family. Would it be possible to use the Desire Z's rosie? As that supports landscape natively.
TechMayhem said:
Is this ROM going to be official released anytime soon because I am working on a ROM from another HTC device aswell and was wondering if you needed any assistance on final touches?
TechMayhem
Click to expand...
Click to collapse
Tbh, I haven't done anything on this for a while because I started flashing CM7/SuperOSR.
From what I can remember, the following things wern't working:
-Lockscreen - Always in Portrait, won't rotate
-Rosie - Force-close loop, had to replace with an alternate launcher
-GPS - Icon doesn't appear in the status bar
-FM/Dailer/maybe others - Graphics messed up due to forced landscape resolution
That's all I managed to check before I got caught up in crackflashing XD
I am by no means a dev - all this was done by replacing files in a Wildfire S ROM with ones from SuperOSR/stock Chacha
Atomix86 said:
This would interest me greatly, as I really love the "standard" sense and was quite disappointed with the amount of white/light colours used in the ChaCha's version, and how it just doesn't seem to fit in very well at all with the HTC family. Would it be possible to use the Desire Z's rosie? As that supports landscape natively.
Click to expand...
Click to collapse
Precisely why I tried this in the first place - I wasn't expecting all this white, which doesn't make the Chacha feel like an HTC as much to me - I already tried the Desire Z's Rosie - while it did work, all the icons were huge (because of it being scaled for HDPI screens). Dunno about widgets.
Once I find it amongst all the crap I have on my laptop, I could upload it if anyone might have an idea how to fix what's left and to see what else is broken?

Categories

Resources