Can someone please make a "theme" with the stock framework from jpy or js3 that just has the 4 lock screens and extended menu?
Thanks a lot!
You could've just written your wishes here, here or here.
No need for opening new thread really. And there are even more threads, I just browsed through pages, didn't even use the search function.
cicer0 said:
You could've just written your wishes here, here or here.
No need for opening new thread really. And there are even more threads, I just browsed through pages, didn't even use the search function.
Click to expand...
Click to collapse
Thanks, one thread was nice, I missed that one!
I just read them all and nobody was able to make a stock theme with the lockscreens and extended menu. So I'm back to my original request; can someone with more skills please make one and share it?
I can't believe none of the talented modders here can't make a stock theme with 4 lockscreens and extented menu. This could be used as base for many of the less skill-full theme modders such as myself a lot.
You think you are a
spasms said:
...less skill-full theme modders such as myself ...
Click to expand...
Click to collapse
?
So, this should be no problem for you.
http://forum.xda-developers.com/showpost.php?p=10750365&postcount=4
Give it a try!
Edit:
I wrote a little guide, it may help you a bit:
4 lockscreen mod
You need to have a deodexed ROM to install the 4 lockscreen mod.
1.
Download
Code:
framework-res.apk
twframework-res.apk
framework.jar
android.policy.jar
Settings.apk
from this http://forum.xda-developers.com/showthread.php?t=844514 ROM. It's not that heavily modified, so it should work quite good with stock icons.
2.
Take
Code:
framework-res.apk
twframework-res.apk
from your stock Samsung-ROM and open
framework-res.apk/res/drawable-hdpi using 7-zip.
3.
Open the modded
framework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
4.
Copy all ICONS from stock framework-res.apk/res/drawable-hdpi to modded framework-res.apk/res/drawable-hdpi(-v4).
Close framework-res.apk (both)
5.
Open stock
twframework-res.apk/res/drawable-hdpi using 7.zip.
6.
Open the modded
twframework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
7.
Copy all ICONS from stock twframework-res.apk/res/drawable-hdpi to modded twframework-res.apk/res/drawable-hdpi(-v4).
Close twframework-res.apk (both)
8.
Take all your modded 4 lockscreen files (framework-res.apk, twframework-res.apk, framework.jar, android.policy.jar and Settings.apk) and build an update.zip.
9.
Make a backup and install your update.zip
You should now have a pretty stock Samsung-theme with working 4 lockscreen mod.
10.
There will be some themed icons left (e.g. charging animation), some xml have to be edited.
I'll help when you need help.
Thanks a lot fo the guide. I will give it a go and maybe share my silly ROM if I'm happy with it.
scheichuwe said:
You think you are a
?
So, this should be no problem for you.
http://forum.xda-developers.com/showpost.php?p=10750365&postcount=4
Give it a try!
Edit:
I wrote a little guide, it may help you a bit:
4 lockscreen mod
You need to have a deodexed ROM to install the 4 lockscreen mod.
1.
Download
Code:
framework-res.apk
twframework-res.apk
framework.jar
android.policy.jar
Settings.apk
from this http://forum.xda-developers.com/showthread.php?t=844514 ROM. It's not that heavily modified, so it should work quite good with stock icons.
2.
Take
Code:
framework-res.apk
twframework-res.apk
from your stock Samsung-ROM and open
framework-res.apk/res/drawable-hdpi using 7-zip.
3.
Open the modded
framework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
4.
Copy all ICONS from stock framework-res.apk/res/drawable-hdpi to modded framework-res.apk/res/drawable-hdpi(-v4).
Close framework-res.apk (both)
5.
Open stock
twframework-res.apk/res/drawable-hdpi using 7.zip.
6.
Open the modded
twframework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
7.
Copy all ICONS from stock twframework-res.apk/res/drawable-hdpi to modded twframework-res.apk/res/drawable-hdpi(-v4).
Close twframework-res.apk (both)
8.
Take all your modded 4 lockscreen files (framework-res.apk, twframework-res.apk, framework.jar, android.policy.jar and Settings.apk) and build an update.zip.
9.
Make a backup and install your update.zip
You should now have a pretty stock Samsung-theme with working 4 lockscreen mod.
10.
There will be some themed icons left (e.g. charging animation), some xml have to be edited.
I'll help when you need help.
Click to expand...
Click to collapse
You've written this guide several times and even for me, I gave up on this coz I never got it to work, boot loops or stuck on the boot logo, are you able to make a 100% stock JS3 theme with the 4 lock screen mod and just post the finished product here, its easier for everyone and for you to just post the finished product.
I would assume you've already tried the method you posted above?
Works fine on JPY. Flash in CWM. Backup first.
http://dl.dropbox.com/u/5906223/xda/stock_4lockscreen.zip
Not 100% stock, I left some work for you
Battery icons have to be changed, you'll make that.
thx a lot scheichuwe. i've tried on doc rom xwjs3 and the 4 lockscreen works. but i found some bug
- %d%% text appear instead of ongoing in notification bar
- "ongoing" text appear instead of clear button in same place
- when i click on wi fi or bluetooth wrong text appear instead of on/off text
- when empty battery notification appear. again, wrong text appear
so how do i fix that? thx in advance.
id's differ - jpy <-> js3
for simple, just copy decompiled public.xml, strings.xml [cause apktool_dummy..] from stock js3-framework-res.apk (/res/values/)
to decompiled jpy-folder
then just compile and at last change png's within framework-res.apk (/res/drawable-hdpi-v4/)
attached file / stock js3 framework
Any full stock rom deodexed with the extras to download?
scheichuwe said:
You think you are a
?
So, this should be no problem for you.
http://forum.xda-developers.com/showpost.php?p=10750365&postcount=4
Give it a try!
Edit:
I wrote a little guide, it may help you a bit:
4 lockscreen mod
You need to have a deodexed ROM to install the 4 lockscreen mod.
1.
Download
Code:
framework-res.apk
twframework-res.apk
framework.jar
android.policy.jar
Settings.apk
from this http://forum.xda-developers.com/showthread.php?t=844514 ROM. It's not that heavily modified, so it should work quite good with stock icons.
2.
Take
Code:
framework-res.apk
twframework-res.apk
from your stock Samsung-ROM and open
framework-res.apk/res/drawable-hdpi using 7-zip.
3.
Open the modded
framework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
4.
Copy all ICONS from stock framework-res.apk/res/drawable-hdpi to modded framework-res.apk/res/drawable-hdpi(-v4).
Close framework-res.apk (both)
5.
Open stock
twframework-res.apk/res/drawable-hdpi using 7.zip.
6.
Open the modded
twframework-res.apk/res/drawable-hdpi(-v4) using 7.zip.
7.
Copy all ICONS from stock twframework-res.apk/res/drawable-hdpi to modded twframework-res.apk/res/drawable-hdpi(-v4).
Close twframework-res.apk (both)
8.
Take all your modded 4 lockscreen files (framework-res.apk, twframework-res.apk, framework.jar, android.policy.jar and Settings.apk) and build an update.zip.
9.
Make a backup and install your update.zip
You should now have a pretty stock Samsung-theme with working 4 lockscreen mod.
10.
There will be some themed icons left (e.g. charging animation), some xml have to be edited.
I'll help when you need help.
Click to expand...
Click to collapse
I tried this and my icons changed which was nice but I didn't get the lockscreen or extended menu.
I will try and make one theme soon with only 4 lockscreen and extended settings. I have tried a lot of themes now, but stock icons are really fine for me.
One is to green or to blue or whatever....
I just want a "clean" docrom with JS5 and only 4 lockscreen and extended settings. That's all !
Keep an eye on
http://forum.xda-developers.com/showthread.php?t=952579
If someone could instruct me on how to re-archive the factoryfs.rfs file I think I could make a ROM that can be flashed with Odin so its all there from a clean install with all the lock screens and extended menu.
I've extracted the files with MagicISO but if I resave them with it, it doesn't seem to flash properly. I think the file system has changed because I'm using MagicISO.
Related
Adding Ext Power as well as % Battery Mod is very easy thanks to Jim Panses super Arbeit
Many thanks also to Dena and whiskeybro for their Theme as well as vukandric for the Gingerbread theme.
This is how I did it on Darky's Rom, but it should theoretically work for any Rom based on JPU.
Possibly the Rom needs to be deodexed what most custom roms are anyway.
You will possibly lose animations but there is an easy way to get them back!
Read end of post for this!
Ok let's get started with the simple (but limited) method.
Step 1:
Download the theme from Dena, the Gingerbread Theme as well as the framework-res.apk attached to this post. Put them on your SD card.
Step 2:
Install Dena's Theme with extended Power Menu
Step 3:
Install Gingerbread Theme
Step 4:
With Root Explorer copy the framework-res.apk file out of this thread to /system/framework
Your system will most likely crash after that and reboot with the new framework-res.apk active. Then change the permissions to 644 meaning all boxes in the first column selected as well as the topmost row of the second column selected. All else unselected.
Done!
This should work for any rom, but I can't confirm it yet.
For anyone interested in making their own themes compatible with ext pwr + % battery here is the more complicated way to do this and the way I actually did it:
Step 1:
You will need Dena's Theme again as a base as well as a another theme that already has the % battery but lacks the power menu. (It work too if you don't have % battery yet, but then only for the ext Power Menu)
Step 2:
Extract the framework-res.apk of each theme.
Step 3:
copy everything from framework-res.apk\res\drawable-hdpi of the theme you want to use into the same (sometimes also called "...\drawable-hdpi-v4") folder within the framework-res.apk of Dena's Theme.
Do not extract the framework-res-apk files. Use 7-zip to open them and do the copying!
Step 4:
Do the steps from the "simple" guide but instead of gingerbread theme you use your theme of choice and the framework-res.apk you use is the one you created.
Animations:
Many Themes use custom animations now.
The most common is the fly-in animation.
These animations might be lost with this method.
To get them back simply download the "Animations.zip" from this thread. Extract and move to /sdcard/AndroidThemes and then install with Metamorph (app can be found on market)
Here is another way provided by kenkiller
kenkiller said:
extract the anim folder inside darkky's framework-res.apk with 7zip, and then overwrite the same folder and contents with the framework-res.apk you intend to copy to ur phone. But in the case of animations, it's needed to clear dalvik cache in CWM.
Click to expand...
Click to collapse
Haven't tried yet, but I see no reason why it should not work
reserved for me
you might wanna change super arbeit to great work
Jonas.M said:
you might wanna change super arbeit to great work
Click to expand...
Click to collapse
That was intentional
Very useful, someone should try this on Darkyy's 5.2
I AM on Darky 5.2!
Were you able to retain all of Darkyy's animations after doing this?
Mycorrhiza said:
.....
... but it should theoretically work for any Rom based on JPU.
.....
Click to expand...
Click to collapse
No it doesn't. Not all rom can use it. Each rom framework-res.apk is different.
Sent from my GT-I9000 using Tapatalk
g00ndu said:
No it doesn't. Not all rom can use it. Each rom framework-res.apk is different.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
differently themed maybe, but it should still work as they are all based on the same framework-res.apk (that of JPU)
Animations are gone, but I have a good idea how to fix this
Animations are what puts Darkyy's ROM apart. Apart from his very good themed colors & graphics.
Thank you for the credits!
ragin said:
Animations are what puts Darkyy's ROM apart. Apart from his very good themed colors & graphics.
Click to expand...
Click to collapse
The fly in animations are exactly the ones used in darkyy's rom,or at least similar enough that I didn't notice a difference yet.
Sent from my GT-I9000 using XDA App
If you used my files as the base for this, its only a little part of the fly in animation, because i dont liked the whole package!
What Dena theme do you mean? That link is to the captivate forums?
jim_panse said:
If you used my files as the base for this, its only a little part of the fly in animation, because i dont liked the whole package!
Click to expand...
Click to collapse
After installing the Gingerbread Theme all transitions are lost. I used the ones from here: http://forum.xda-developers.com/showthread.php?t=774738
If you want to add your own animation set I would gladly upload it here, too
HaTeNL said:
What Dena theme do you mean? That link is to the captivate forums?
Click to expand...
Click to collapse
My mistake, fixed it!
Thx for the info
Giving it a 5-star. Helpful.
it's pretty easy to regain the animations if u prefer the original.
Just extract the anim folder inside darkky's framework-res.apk with 7zip, and then overwrite the same folder and contents with the framework-res.apk you intend to copy to ur phone. But in the case of animations, it's needed to clear dalvik cache in CWM.
This actually does work on most custom roms, as long as they are deodexed.. Great work though..
Is it also possible to only add ext menu and keep glass window lock screen? I like the instant sms reader
kenkiller said:
it's pretty easy to regain the animations if u prefer the original.
Just extract the anim folder inside darkky's framework-res.apk with 7zip, and then overwrite the same folder and contents with the framework-res.apk you intend to copy to ur phone. But in the case of animations, it's needed to clear dalvik cache in CWM.
Click to expand...
Click to collapse
I added this to the front page, hope you don't mind.
I cant seem to find a way to get the 4 lock screens on just a standard theme, its kinda bothering me why nobody made one for the stock theme..
I guess this is impossible to have with the stock SGS theme.
Im starting to understand why there is no 4 lock screen for the stock theme, its not that is hard to make or anything infact the theme template for the 4 lock screen starts with a stock template then is modified.
Reason I think why nobody ever made a stock theme with 4 lock screens is that a lot of people what to use 4 lock screens and just stay with the standard theme this will make a lot of users abandon their current theme infavor of a stock theme with 4 lock screens, smart way of having people use a theme though.
Do it yourself
Take
android.policy.jar
framework.jar
framework-res.apk
Settings.apk
twframework-res.apk
from a theme with 4 lockscreens.
You can take the files out of this ROM
http://forum.xda-developers.com/showthread.php?t=844514
it's not that heavily modified and works quite well with stock images.
Open framework-res.apk and replace the files inside res/drawable-hdpi(-v4) with files from the stock theme. Do the same for twframework-res.apk.
Build an update.zip and install.
There might be a few xml changes to do, but it will be very, very stock already...
Thanks but Im afraid I dont have time to mess around and learn with it, you might be able to do for us here at XDA?
It's just copy&paste.
No hard things to do...
You need
7-zip
framework-res.apk (modded and stock)
twframework-res.apk (modded and stock)
1.
Open stock framework-res.apk with 7-zip and go to res/drawable-hdpi.
Open modded framework-res.apk with 7-zip and go to res/drawable-hdpi(-v4).
Mark all files in stock framework-res.apk/res/drawable-hdpi and copy over to modded framework-res.apk/res/drawable-hdpi(-v4). Drag&drop.
2.
Open stock twframework-res.apk with 7-zip and go to res/drawable-hdpi.
Open modded twframework-res.apk with 7-zip and go to res/drawable-hdpi(-v4).
Mark all files in stock twframework-res.apk/res/drawable-hdpi and copy over to modded twframework-res.apk/res/drawable-hdpi(-v4). Drag&drop.
That's all.
The other files (android.policy.jar, framework.jar, Settings.apk) don't have to be modified.
If I copy over the contents of the modded framework HDPI to the original frame work wont it look like the modded frame work instead?
So the andriod.policy / framework.jar / settings.apk are the core files to have the 4 screens working and not really the framework-res.apk ?
Apart from the other changes, we will need to modify the settings APK...
this is because we want to see the option of selecting one of teh four lockscreens in the settings...
apart from this, the drawable-hdpi folder just has the icons, to add the functionality, we need to modify the classes.dex file which is within the jar file...
not such an easy task for someone new to modding...
msri3here said:
Apart from the other changes, we will need to modify the settings APK...
this is because we want to see the option of selecting one of teh four lockscreens in the settings...
apart from this, the drawable-hdpi folder just has the icons, to add the functionality, we need to modify the classes.dex file which is within the jar file...
not such an easy task for someone new to modding...
Click to expand...
Click to collapse
I have zero experience with theme modding, Im only a kernel/rom flasher and Im pretty good at it ( who isnt ? )
Im currently using a theme, the only one I like that gives the Ginger look w/o the extra bells and whistles of changed icons ( http://forum.xda-developers.com/showthread.php?t=873825 )
Maybe someone can be so kind enough to add the 4 lock screen there ?
msri3here said:
Apart from the other changes, we will need to modify the settings APK...
this is because we want to see the option of selecting one of teh four lockscreens in the settings...
apart from this, the drawable-hdpi folder just has the icons, to add the functionality, we need to modify the classes.dex file which is within the jar file...
not such an easy task for someone new to modding...
Click to expand...
Click to collapse
You don't have to.
scheichuwe said:
...
Take
android.policy.jar
framework.jar
framework-res.apk
Settings.apk
twframework-res.apk
from a theme with 4 lockscreens.
...
Click to expand...
Click to collapse
Please read before posting...
Edit:
@EarlZ
You can try this tool
http://forum.xda-developers.com/showthread.php?t=737526
Lets see if I got this
the 4 lock screen is dependent on the following files
android.policy.jar
framework.jar
Settings.apk
and the UI looks depends on these:
twframework-res.apk
framework-res.apk
So basically I can use any 4 lock screen theme and just overwrite it with the stock twframework and framework on it ?
EDIT:
By just replacing the twframework-res and framework-res the phone is not usable, it does boot and when the home screen loads it vibrates and goes into a endless reloading loop if ever you get a chance to go to the settings to choose the lock screen when you lock then unlock the device theres no lock screen visible.
When you want the clean gingerbread look you should take a 4 lockscreen theme that has these black menu background (when you hit menu-softkey) as your base.
Here are some
http://forum.xda-developers.com/showthread.php?t=898892
http://forum.xda-developers.com/showthread.php?t=899471
http://forum.xda-developers.com/showthread.php?t=854191
http://forum.xda-developers.com/showthread.php?t=864112
Just a few examples, there are more...
I mentioned it before:
There might be some xml edits that have to be done (colors for texts etc.), but the icons will be stock...
EarlZ said:
...
EDIT:
By just replacing the twframework-res and framework-res the phone is not usable, it does boot and when the home screen loads it vibrates and goes into a endless reloading loop if ever you get a chance to go to the settings to choose the lock screen when you lock then unlock the device theres no lock screen visible.
Click to expand...
Click to collapse
That's why I wrote this
scheichuwe said:
...
Take
android.policy.jar
framework.jar
framework-res.apk
Settings.apk
twframework-res.apk
from a theme with 4 lockscreens.
...
Click to expand...
Click to collapse
Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
reimi said:
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Click to expand...
Click to collapse
Final ?? When did it come out ?? Didn't find on Darky's website.
Sorry , wasn't logged in.
GT-I9000 said:
Final ?? When did it come out ?? Didn't find on Darky's website.
Click to expand...
Click to collapse
its the files name, I downloaded from somewhere in this thread:
http://forum.xda-developers.com/showthread.php?t=814091
reimi said:
Hello dear Forum...
First off I have to apologize if I missed something in a sticky,
since I'm new to the forum and the hole rooting/customizing on my GT I-9000.
I've successfully rooted my phone and I'm running Darky_v10_RC5_Final now.
Could anyone provide a link or an explanation how to:
# set own icons for apps
# set lockscreen (as its said there are 4 different ones on this ROM; plus changing the lockscreen image in the settings is not quite working for me)
# setting another theme - if not too complicated.
many thanks in advance - seems to be a truly nice community!
Click to expand...
Click to collapse
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
coldflid said:
To change the icon in an apk, you need to get the apk, open it with winrar and go to drawable-hdpi
There are pngs there. Normally, the icon one is called icon.png, but on some apps, it has a different name, for example ic_launcher_phone.png
You edit it and substitute it.
Then you push the apk back into your phone into /system/app in case it's a system app or you just copy the apk to your sdcard and install it.
Lockscreen background may not work with some specific lockscreens.
For a theme, to make one you'd need to edit the pngs in framework-res.apk/drawable-hdpi (opening it with winrar) and then push it back. That's for changing icons and part of the appearance, but to change text colours and other things you'd need to decompile the apk and edit some xml's.
To apply a theme you just need the zip of the theme, copy it into your sdcard and install it through cwm.
Click to expand...
Click to collapse
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
reimi said:
thank you for the answer!
Is there no way to change the icons of stock applications?
And how may I change the lockscreen?
could you please give me a link, or something how to apply themes via cwm - to be honest I don't even know what cwm is.
sorry for all the questions - many thanks in advance!
Click to expand...
Click to collapse
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme the glass lockscreen, you need to edit the pngs in framework-res.apk/res/drawable-hdpi named zzz_unlock_arrow_0000.png up to zzz_unlock_arrow_0009.png and the zzz_unlock_blackbg.9.png and zzz_blackbg_dual.9.png
To theme puzzle lockscreen:
edit zzz_unlock_puzzle_noti_icon_unlock and zzz_unlock_puzzle_noti_icon_unlock_fit
For android lockscreen (in framework-res.apk/res/drawable-land-hdpi):
ic_jog_dial_unlock
ic_jog_dial_sound on
ic_jog_dial_sound off
For epic unlock on framework-res.apk/res/drawable-hdpi
mod zz_unlock_lockbg_press
mod zz_unlock_lockbg_press
In case you want to get a stock framework and get aosp lockscreen:
To get aosp lockscreen you'd need to decompile classes.dex in android.policy.jar and edit a few files.
For that, i use ubuntu.
You open android.policy.jar and extract classes.dex
Then get baksmali and smali and place them in the same location as classes.dex
Open up a terminal and type cd and the location
Example:
cd /home/coldflid/Desktop
Then type java -jar baksmali-1.2.5.jar classes.dex
(if you've got another version of bajsmali change the 1.2.5 for the version you have).
You can type java -jar baksmali-1.2.5.jar classes.dex -o *
Where * is the name of the folder where you want classes.dex to be decompiled
Then you'd need to mod LockPatternKeyGuardView.smali or replace it with a modded one.
Then type in terminal
Then type java -jar smali-1.2.5.jar *
Where * is the name of the folder where classes.dex was decompiled
out.dex should be generated, rename it to classes.dex and copy it to android.policy.jar (replace the old one).
Then use root explorer to copy it to system/framework
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app
For the lockscreen, to theme...
Click to expand...
Click to collapse
thank you for the answer!
I'm currently using LockBot Pro to change the locksreen and its background, works fine for me.
I'll try to change the stock app icons as soon as I have time. Thanks!
coldflid said:
Sorry, had lost track of this thread.
You can change the icon of stock applications in same way, but you must be rooted since they are located in system/app...
Click to expand...
Click to collapse
I'm currently trying to substitute the stock app icons.
My question is, how I can find out, which of all those images is used for the menu and how can I browse the folders on my pc, which I can browse on my phone via root explorer...
thanks for the answer!
Can anyone please point me to a tutorial (or write one) on how I can "inject" the 9-lockscreen-mod into the theme I'm currently running?
I have both the CWM-zip for the theme, as well as the source for the 9-lock-mod.
As I understand it there are 3 files that needs modification:
- framework-res.apk
- framework.jar
- android.policy.jar
I have modded the framework-res.apk using APK Manager (although I haven't tested it). But I'm unsure as to what I'm supposed to do with the .jar-files.
whaave said:
Can anyone please point me to a tutorial (or write one) on how I can "inject" the 9-lockscreen-mod into the theme I'm currently running?
I have both the CWM-zip for the theme, as well as the source for the 9-lock-mod.
As I understand it there are 3 files that needs modification:
- framework-res.apk
- framework.jar
- android.policy.jar
I have modded the framework-res.apk using APK Manager (although I haven't tested it). But I'm unsure as to what I'm supposed to do with the .jar-files.
Click to expand...
Click to collapse
You should be able to decompile them like .apk files. Try renaming their extensions to apk.
Thanks, man!
And it's actually your theme I want to keep (with LockeOn' mod), but I also want the 9-lock. (Specifically the MIUI).
I'll try to rename and decompile. Should I decompile any of the above mentioned files with dependancies?
Sent from my GT-I9000 using XDA App
Well... Im using a galaxy 3 but i believe the method must be somewhat same for all phones... So indirectly... SAME QUESTION HERE...
This is a guide to enable the navbar on the Galaxy Note 3 running Android 4.3 (NOT an overlay!). I can't guarantee this will work with any xposed modules or navbar mods. This will put an AOSP-like navigation bar on your Note 3, NOT a TouchWiz one! Which means from left to right, the buttons are: Back, Home, Recent.
[UPDATED 12/22/13] - Added back_ime (down arrow instead of back when keyboard is open)! Zip updated, steps are the same. See screenshots.
!!If you are on 4.4.2 KitKat!!
You do not need to do anything with SystemUI, Samsung left all the important stuff in there. Just download GravityBox Xposed module for KitKat, and enable navigation bar.
You need to know how to decompile SystemUI.apk, modify it, then recompile it.
This is for DEODEXED roms!
1. Decompile SystemUI.apk
2. Go to the folder SystemUI.apk was decompiled in. Open res/values/drawables.xml and add the following line, then save it:
Code:
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
3. Open /res/values/public.xml, find this line, delete it, then save:
Code:
<public type="drawable" name="tw_navigationbar_bg_land" id="0x7f020194" />
4. Open the attached zip file, find and open the folder "drawable". Copy all 5 xml files and paste them in res/drawable/, replacing the existing files.
5. Delete the files "tw_navigationbar_bg.png" and "tw_navigationbar_bg_land.png" from /res/drawable.
6. Find the folder "drawable-xhdpi" in the attached zip and copy it to res/, this will add a new folder in that directory.
7. Find and open the folder "layout" in the attached zip and copy the xml file to res/layout, replacing the existing xml.
8. Compile the decompiled SystemUI.apk
7. Put the new SystemUI.apk in the system directory on your phone, change permissions to rw-r--r--. Now cut the new SystemUI.apk to the clipboard (ES file browser) and go to system/app and find the old SystemUI.apk.
9. Rename the old SystemUI.apk to SystemUI.apk.bak, and quickly paste the new SystemUI.apk into system/app. Be quick about pasting new apk, the phone will restart about 5 seconds after renaming the old one.
10. Add the following line to your build.prop:
Code:
qemu.hw.mainkeys=0
11. If your phone did not reboot on it's own, reboot the phone, and you should have a navigation bar! There are various guides on how to disable the capacitive nav buttons, so I won't cover that here.
Thanks to @gharrington for writing up this guide for the S4 on Android 4.2.2; I used that as a starting point!
Here is a pre-edited SystemUI.apk you can use (attached below). This removes any themes you have!
[UPDATED 12/22/13] - Added the down arrow instead of back when keyboard is open!
[UPDATED 12/24/13] - Made a flashable zip! If you want to flash a zip theme, just flash the attached zip after flashing your theme. Then either flash Navigation_Bar_ON.zip from this post or add qemu.hw.mainkeys=0 to your build.prop if you haven't already
[UPDATED 03/10/14] - KitKat users do not need this mod, the stock SystemUI has everything it needs. See big red text for instructions.
For DEODEXED: Copy the new SystemUI.apk to /system, change permissions to rw-r--r--. Go to /system/app and rename the old SystemUI.apk to SystemUI.apk.bak, then move the new SystemUI.apk to /system/app. Flash the Navigation_Bar_ON.zip from this post (thanks @jovi23!) in TWRP or CWM. Reboot, and done!
If your ROM doesn't have init.d support, add "qemu.hw.mainkeys=0" (without quotes) to your build.prop, reboot, and done!
For ODEXED: Follow the same steps above, but also rename SystemUI.odex to SystemUI.odex.bak.
DO NOT FLASH THE ZIP IF YOU ARE ON 4.4.2
You do not need to do anything to SystemUI.apk, Samsung left everything it needs in there. Just get GravityBox Xposed module for KitKat and enable the navigation bar.
If you wish to use this SystemUI.apk in your ROM, all I ask is that you give credit
Any screenshot thanks?I forgot, first
Sent from my SM-N900T using Tapatalk
JT man said:
Any screenshot thanks?
Click to expand...
Click to collapse
Oh yes, sorry. I attached one to the second post.
This is what i been looking for have to look into how to decompile and recompiling the systemUI looks really complicated
Sent from my SM-N900T using XDA Premium 4 mobile app
Would anyone mind testing this SystemUI.apk? Need to be deodexed. Copy it to /system/, then change permissions to rw-r--r--. Now move it over to /system/app. Be sure to rename your old one to SystemUI.apk.bak, incase it doesn't work. I made this from a stock, deodexed ROM, so it should work, but I want it tested by someone else before I post it up top.
This will get rid of a lot of theming, so if you are themed, beware, as I haven't tested it that.
Moved to second post.
Hmm... after decompiling my SystemUI.apk I don't see those 2 files from steps 2 and 3
fredrick1213 said:
Hmm... after decompiling my SystemUI.apk I don't see those 2 files from steps 2 and 3
Click to expand...
Click to collapse
Hmm, that's odd, I'm sure the apk needs those. Were there any errors on decompile? Also, did you install framework-res.apk, SystemUI.apk, and twframework-res.apk into apktool?
gakio12 said:
Hmm, that's odd, I'm sure the apk needs those. Were there any errors on decompile? Also, did you install framework-res.apk, SystemUI.apk, and twframework-res.apk into apktool?
Click to expand...
Click to collapse
Ok so my problem was that I wasn't installing SystemUI.apk but even after installing it I don't see the public file in res/values
fredrick1213 said:
Ok so my problem was that I wasn't installing SystemUI.apk but even after installing it I don't see the public file in res/values
Click to expand...
Click to collapse
Can you open up the SystemUI.apk in 7z to see if the public.xml file is in res/values?
gakio12 said:
Can you open up the SystemUI.apk in 7z to see if the public.xml file is in res/values?
Click to expand...
Click to collapse
This is really weird. It doesn't even have the values folder
fredrick1213 said:
This is really weird. It doesn't even have the values folder
Click to expand...
Click to collapse
If you can attach the SystemUI.apk, I will take a look at it.
gakio12 said:
If you can attach the SystemUI.apk, I will take a look at it.
Click to expand...
Click to collapse
Here ya go
fredrick1213 said:
Here ya go
Click to expand...
Click to collapse
Thanks. I think this is because you are running an ODEXED ROM, correct? From your sig I assume it is pure stock TouchWiz, just rooted. You can try using my SystemUI.apk that I posted a few posts back, but you would need to rename SystemUI.odex to SystemUI.odex.bak AND SystemUI.apk to SystemUI.apk.bak, just so you get backups of existing files.
When I was doing it, my phone would reboot on it's own 5 seconds after renaming SystemUI.apk, so I only had 5 seconds to put the new one in there. This is where TWRP really helped.
In your screen shot - The Nav Bar looks like it's hiding the very bottom of the screen - Does this mod take into account the presence of the Nav Bar - And shift the display up - ie; is the Nav Bar hiding the Dock?
Sent from my SGH-I317 using Tapatalk
Yes, this mod is an actual navbar. It does not hide the dock. I will post another screenshot.
gakio12 said:
Yes, this mod is an actual navbar. It does not hide the dock. I will post another screenshot.
Click to expand...
Click to collapse
Thanks - And one other question - Are you doing this all on the phone - or are you doing any of it on the pc? .... I just read through the first page very quickly..
Sent from my SM-N900W8 using Tapatalk 2
shaggyskunk said:
Thanks - And one other question - Are you doing this all on the phone - or are you doing any of it on the pc? .... I just read through the first page very quickly..
Click to expand...
Click to collapse
I did almost all on the PC, only part I did on the phone was move the new SystemUI.apk into place. There is a stock SystemUI.apk I posted in post #6 if you want to give that a try (must be deodexed). If you do give it a try, please let me know how it works out
Anyway of making it transparent and also is there a way to enable 3 dot menu?
Sent from my SM-N900T using Tapatalk
gakio12 said:
Thanks. I think this is because you are running an ODEXED ROM, correct? From your sig I assume it is pure stock TouchWiz, just rooted. You can try using my SystemUI.apk that I posted a few posts back, but you would need to rename SystemUI.odex to SystemUI.odex.bak AND SystemUI.apk to SystemUI.apk.bak, just so you get backups of existing files.
When I was doing it, my phone would reboot on it's own 5 seconds after renaming SystemUI.apk, so I only had 5 seconds to put the new one in there. This is where TWRP really helped.
Click to expand...
Click to collapse
gakio12 said:
I did almost all on the PC, only part I did on the phone was move the new SystemUI.apk into place. There is a stock SystemUI.apk I posted in post #6 if you want to give that a try (must be deodexed). If you do give it a try, please let me know how it works out
Click to expand...
Click to collapse
I followed your advice and it worked! I now have the navbar. I'm odexed btw and it still worked. Thanks!