[Q] AOSP lockscreen and framework-res.apk - Galaxy S I9000 Q&A, Help & Troubleshooting

Hi,
actually i wanted to post this question in the developer section, but i don't have enough postings to post there. I hope it's ok that i post the question here
I am creating a Mod for JVT and wanted to add the AOSP lockscreen. Adding the lockscreen is no problem and works fine. But once i compile a framework-res.apk the sliders of the AOSP lockscreen have two colors when pressed (wrong image loaded?!).
See here:
This even happens if i recompile the original decompiled framework-res.apk (without any changes). Only with the untouched original framework-res.apk the sliders have only one color.
I am using APKManager 4.7 (Linux) with APK Tool 1.4.1 (1.3.1 tested too).
Can you help me getting the AOSP lockscreen work without problems?
Best Regards,
The_MKay
EDIT: Found a solution: I copied all unchanged drawable-pngs to the new compiled framework-res.apk

Related

Removing Stericson Lockscreen from a Theme

Does anyone know how to remove the stericson lockscreen from the framework so that i have the original lockscreen back. i am running on cyan 4.0.4 with compatible theme- currently melange 0963. i wanted to use xinvert or smorgwhite 4.0.4 but both have stericson's lockscreen. does anyone know how and what to change in the framework or whatever else inside the zip folder. i know how to resign the zip, just need the guidelines on what to insert and remove. i have previous versions of the smorgwhite theme and messed around with the zz files in the new version (i.e. i deleted them got boot loops, replaced them with two files from the 4.0.1 theme of smorgwhite and got boot loops, replaced the framework-res.apk from smorgwhite401 to 404 and got stuck at tmobile g1 and i even replaced the whole framework folder from smorgwhite401 to 404 and again stuck at tmobile g1 screen). id really appreciate the help. thanks
replace services.jar with the one from the theme template cyanogen provides
replace the settings.apk with the one from that same template
replace the framework-res.apk with the one from the template
remove framework.jar from the theme
replace android.policy.jar with the one from the template
with that done run this through ultra spikey's theme porter (the un-modified theme as themeold.zip and the one you pulled all of the files from as themenew.zip) then go into the framework-res.apk/res/drawable folder and remove all of the images that start "zz" they are at the bottom of the folder so they are easy to find.
Now you have the unsigned theme without the lockscreen.
Sign the theme and you are set to flash it.
i haven't tested this, but would imagine it works.
david1171 said:
replace services.jar with the one from the theme template cyanogen provides
replace the settings.apk with the one from that same template
replace the framework-res.apk with the one from the template
remove framework.jar from the theme
replace android.policy.jar with the one from the template
with that done run this through ultra spikey's theme porter (the un-modified theme as themeold.zip and the one you pulled all of the files from as themenew.zip) then go into the framework-res.apk/res/drawable folder and remove all of the images that start "zz" they are at the bottom of the folder so they are easy to find.
Now you have the unsigned theme without the lockscreen.
Sign the theme and you are set to flash it.
i haven't tested this, but would imagine it works.
Click to expand...
Click to collapse
thanks for the quick response man. i'll give this a go
edit: only problem is though, where do i get the theme template since cyanogen removed all of his files after the google issue? so since i don't have the theme template, i just took the files directly from the signed 4.0.4 cyan rom. gonna test it out now
opasha said:
thanks for the quick response man. i'll give this a go
edit: only problem is though, where do i get the theme template since cyanogen removed all of his files after the google issue? so since i don't have the theme template, i just took the files directly from the signed 4.0.4 cyan rom. gonna test it out now
Click to expand...
Click to collapse
will you let me know if this works since it is only a theory of mine
david1171 said:
will you let me know if this works since it is only a theory of mine
Click to expand...
Click to collapse
yeah it works. thanks man. got similar tips from jonnybueno and zilverzurfarn.

[Q] Droid X Lockscreen Background Image?

Hey all.... Question here I am trying to change the framework-res to get a custom background on the lockscreen (Droid X running the ROM apex 1.4.1)... I can download and decompile the xml through apk manager but has anyone ever successfully modded / hacked their lockscreen? I know some roms have custom lockscreens and sliders but its usually the ERI banner and updated sliders's .png files respectively rather than the lockscreen's xml itself I think. Any Input on this? Here is a link I found where someone did this with another phone: See dcore88's post below:
forum.samdroid.net/f57/change-lockscreen-background-framework-res-apk-4499/index2.html
Has anyone ever done this with their DX and if so HOW??
PS.( I KNOW widgetlocker does this... I do not like widgetlocker and don't want to use an external program as its for a theme so please don't post this as the answer .
Thanks in advance guys!

MIUI v4 Theme Template

This is a theme template for MIUI v4 (ICS) - the lockscreens still work with no extra work, but most of the themes need to be redone as files are moved around and have different names. So I decided to put together this template. It's got the uncompiled .9.pngs so you will need to compile them before you put the theme together. It's also got the theme_values.xml files in each folder that had a colors.xml with all the values from the colors.xml.
I put this together for myself, working on a theme, and I figured I'd share my template. This should be pretty complete. The build I'm working with has stock music player, so that's what decompiled in there, if I'm missing anything just let me know and I'll update it.
Download: http://dl.dropbox.com/u/12507353/v4ThemeTemplate.zip
Edit 1/20 - Fixed framework-res and framework-miui-res folders. Still can't seem to get anything but the toggle tab label color to change with theme_values.
thanks,
you have the theme_values.xml from lockscreen
great job
marc
Apologies to everyone who downloaded this template. I accidentally included only the framework-miui-res the first time then accidentally combined the folders. I have separated the folders and the template is now correct for framework-res and framework-miui-res. If you have downloaded, please redownload.
any idea with the default lockscreen template in v4?
i want to get the manifest.xml file, but never found it!
marc22 said:
thanks,
you have the theme_values.xml from lockscreen
great job
marc
Click to expand...
Click to collapse
miui v4 isnt theme supported yet so theme_values dont work

[Q] problem with recompiled SystemUI.apk

Hi there, I currently observe a strange issue with a recompiled SystemUI.apk. Following the guidelines here in the forum, I changed the value of the background colour of the status bar from solid grey to semitransparent black. When I add this recompiled SystemUI.apk to a zip file containing the META-INF folder created by some advanced developer, I can flash the new SystemUI.apk and the statusbar will be semitransparent black after flash and reboot. So far, so good.
Now I tried a bit more and modified eybee1970 stock deodexed ROM. I deleted bloatware, updated Philz new kernel image and added my previously created SystemUI.apk with the semitransparent statusbar. Now the trouble appears. After flashing and rebooting, the statusbar is comepletly off, not visible, no chance to get it back.
In ssummary: My SystemUI.apk flashed to an already running stock deodexed ROM works fine, the same SystemUI.apk implemented in the same stock deodexed ROM zip file results in a non-appearing statusbar.
Can anybody advise me what I am doing wrong? I have attached the SystemUI.apk below if helpful for anyone.
Additional info: I used apktool command line based, JB version is the XXLSZ.
Thx
Have tried to mod the one that comes wiyh the rom instead of the one from the other rom
Sent from my GT-N7000 using XDA Premium HD app
ttibbetts83 said:
Have tried to mod the one that comes wiyh the rom instead of the one from the other rom
Sent from my GT-N7000 using XDA Premium HD app
Click to expand...
Click to collapse
Hi, I could not try the original one as this is ODEXed version. But meanwhile, after several hours of testing, I found my mistake not properly following guidelines and using APKtool. Now I have a good working SystemUI. Took only 3 hours to find...
So this threat can be closed, thx

[Q] Cm11 file setup

Here's my question I'm trying to theme cm11 from a stock based rom by swapping pngs from folder to folder like I've done with cm7, cm9,and cm10 but the phone I was using was pulling from the drawable/res/hdpi folder for pngs.
Where or what folder should I look into for the lg g2 to find what pngs it's pulling from?
Thank you in advance
Darkharbinger81
Nevermind guys I found it out I think where to look, I'm trying to make an aroma installer so xxhdpi was what I used for the button layout so I'd be guessing that pngs would've pulled from that folder in a rom

Categories

Resources