yashsingh1/xdaforums huggingface dataset:
[Android Themes] evilisto:
Applying patch itself is not a problem for any devices, but I think you have to change some layout values in WaveView.java to get proper layout.

And CM10 (or AOKP) rom's lockscreen weather and calendar features are working well regardless of this mod...

Here is a part of diff patch for CM10, related to keyguard_screen_unlock_tab.xml.

diff -rupN ./a/core/res/res/layout/keyguard_screen_tab_unlock.xml ./b/core/res/res/layout/keyguard_screen_tab_unlock.xml
--- ./a/core/res/res/layout/keyguard_screen_tab_unlock.xml	2012-10-05 17:55:56.562004000 +0900
+++ ./b/core/res/res/layout/keyguard_screen_tab_unlock.xml	2012-10-05 17:39:54.631169000 +0900
@@ -22,8 +22,19 @@
state of the device, as well as instructions on how to get past it
depending on the state of the device. It is the same for landscape
and portrait.-->
+<RelativeLayout
+	xmlns:android="http://schemas.android.com/apk/res/android"
+	android:layout_width="match_parent"
+	android:layout_height="match_parent"
+	android:gravity="center_horizontal">
+
+ <com.android.internal.widget.WaveView
+ android:id="@+id/unlock_widget"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ />
+
<GridLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -111,7 +122,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:paddingTop="4dip" >
+ android:paddingTop="20dip" >

<ImageView
android:id="@+id/weather_image"
@@ -287,32 +298,6 @@

</LinearLayout>

- <com.android.internal.widget.multiwaveview.GlowPadView
- android:id="@+id/unlock_widget"
- android:orientation="horizontal"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:focusable="true"
-
- android:targetDrawables="@array/lockscreen_targets_with_camera"
- android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera"
- android:directionDescriptions="@array/lockscreen_direction_descriptions"
- android:handleDrawable="@drawable/ic_lockscreen_handle"
- android:outerRingDrawable="@drawable/ic_lockscreen_outerring"
- android:outerRadius="@dimen/glowpadview_target_placement_radius"
- android:innerRadius="@dimen/glowpadview_inner_radius"
- android:snapMargin="@dimen/glowpadview_snap_margin"
- android:feedbackCount="1"
- android:vibrationDuration="20"
- android:glowRadius="@dimen/glowpadview_glow_radius"
- android:pointDrawable="@drawable/ic_lockscreen_glowdot"
- />
-
<TextView
android:id="@+id/carrier"
android:layout_width="fill_parent"
@@ -356,7 +341,7 @@
layout="@layout/keyguard_transport_control"
android:layout_row="0"
android:layout_column="0"
- android:layout_rowSpan="5"
+ android:layout_rowSpan="8"
android:layout_columnSpan="1"
android:layout_gravity="fill"
android:layout_width="0dip"
@@ -364,3 +349,4 @@
/>

</GridLayout>
+</RelativeLayout>
[Android Themes] G1-evolve:
can someone just make a zip for us to flash?
[Android Themes] TGPMS:
no. Did you try reading the thread or are other people supposed to do that for you too?
[Android Themes] solomon4400:
So linux is required to do this?
[Android Themes] car vs driver:
Sweet! Incorporating this into my CM10 Skyrocket build :)

Nice work, thank you!
[Android Themes] car vs driver:
Running into a build issue on CM10 ... any thoughts? I didn't think there were new targets to make ... :confused:

make: *** No rule to make target `frameworks/base/core/res/res/layout/keyguard_screen_tab_unlock', needed by `/home/carvsdriver/cm10/out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp'. Stop.

edit:

Found a few mistakes I made putting in the patch manually ... trying again :)
[Android Themes] rantoca:
hello guys

this one could work on the SGSII4GT pack with jb milestone

thank and have a great week
[Android Themes] micahman:
Has anyone got this to work on SGH-T999?
[Android Themes] ldiomedi:
Well, I almost get it work. Can't build the ROM for the moment, so i just modified the needed files. And boot! The problems I get is a total transparency on the lockscreen. Sliding from bottom to top of the screen, it doesn't show me any shadow, but its unlocking. I believe its a problems with images. Those must be of the same size of the screen, right? I'm using the posted for hdpi phones, but didn't check the dimensions. Or may be its a problem on layout? Some idea? If i get it work correctly, will make a guide for noobs like me for make it without building the entire ROM;)

The thanks button doesn't bite. Try it!
[Android Themes] LudoGris:
That would be nice! I am about two to three steps beneath being able to do this. :)

Flashing...no problem; rooting...simple; themes...can make them with ease; patching...I have no clue even where to start :P
[Android Themes] adamo000:
It's able to make kitchen for this?
[Android Themes] gtirsmiley:
thanks..but going to wait i guess for an easier solution
[Android Themes] maxrdlf95:
I tried and tried and I gave up .. this is impossible lol!
[Android Themes] -DarkKnight-:
its not a cwm zip

you need to patch framework Res apk

the guide on the OP is more than enough
[Android Themes] vanty08:
Pls mod for CM9 mdpi

Pls mod for ICS MDPI device! especially galaxy Gio :)

Thanks!!!!
[Android Themes] Goldie:
Do you guys miss the part in the title that says GUIDE in big capital letters??
[Android Themes] ShOgYzzz:
How i have to do it. I use Samsung Galaxy S2 Jelly Bean AOKP rom. Thanks
[Android Themes] Bert336:
love it too bad theres no s3 support yet, great work though :)
[Android Themes] car vs driver:
Well ... I have this successfully in my Nibbles build without any compiler complaints.

I have a bug though, when the phone boots I can see my home screen but it is utterly unresponsive. Like, it's locked, but you cannot unlock it and the black overlay isn't there.

I think there's something fishy with the XML edits. Your diff file line references (and existing code references) didn't quite line up with mine, so I just took a stab at where the new code went it.

Beyond that, I was able to find all of the other code change locations manually and get them in. Patch complained when I tried to run it initially, so I had to make all the updates manually - which was no big deal.

Oh, and it read my SD card as "ABCDEFG ..."

Baby steps :)

I'll get this working ...
[Android Themes] wessiide:
Could you post your zip for us good ppl on cm10 also?

This should be merged with mainstream cm10 as an alternate lock screen. OP possibly look into that? ;)
[Android Themes] car vs driver:
Thanks for this ... I applied the wrong XML changes. Rebuilding now... hopefully this will do the trick for me.
[Android Themes] NegativeOne:
I applaud you guys for putting the effort in to patching this. If someone gets this working for xhdpi (I'm on vzw galaxy s3) cm10, can you please post ?
[Android Themes] eminem_b:
I want this for S2, MIUI ROM, now! :D
[Android Themes] Axel 11:
... :D:D:what::what:

Enviado desde mi GT-I9100 usando Tapatalk 2
[Android Themes] sahshah:
Will this mod work on NExus 7 tablet?
[Android Themes] freakdonkey:
can someone make a videotutorial? its hard to me, but i want the mod
[Android Themes] DerTeufel1980:
i think you are missing the pngs

edit: which value defines the upper end of the screen (or something similar)? it's still little hard to unlock the screen. i have to wish around at the top, until it unlocks at some time. using hdpi device and have changed the values which define sizes at WaveView.java, by dividing them with 1.6. maybe i should not have change all of them?
[Android Themes] Goldie:
Im on hdpi device and i changed no values and it works fine
[Android Themes] DerTeufel1980:
ive tried it with default values, and it is not working. unable to unlock the screen.
[Android Themes] NegativeOne:
anyone get a cm10/xhdpi version yet?
[Android Themes] Goldie:
Well with no changes it works fine here. More likely something else at fault
[Android Themes] Mr-H:
zip for galaxy S2 --> cm10, please !

ps : sorry for my bad english, i'm french :(
[Android Themes] DerTeufel1980:
yep, i guess you have replaced the stock lockscreen with this one. i have made it selectable besides 4 other lockscreens. this forced me to make some changes.

and with the values divided by 1.6 it is almost working well...i'll find it ;)
[Android Themes] Goldie:
No...not replaced. Selectable with 15 others ;)
[Android Themes] -DarkKnight-:
Do it yourself

OP isn't gonna make a zip for you
[Android Themes] NegativeOne:
How can you justify being so rude? Not to mention so presumptuous as to speak on the behalf of another member. Not everyone on XDA is an elitist, and nowhere in the rules of the forums does it say that everyone needs to know how to do this stuff.

If another user is not comfortable taking the steps in this guide (several people have bootlooped doing this, because the steps are not 100% the same for every device), then you have absolutely no place telling him or her to do so, unless you intend to take responsibility for helping him unbrick his device when it happens.

Was your post even worth the time it took you to write it?
[Android Themes] Goldie:
To be fair there are two threads from the OP. One is with zips...this one is for devs/modders/people who want to try.

The clue is in the title GUIDE. If a zip is wanted...better in the other thread. There are people who habe done this. Its not massively hard and quite possible for people with no experience after doing some reading :D
[Android Themes] NegativeOne:
Yes, but it's not clear which devices / dpi that zip is for. As people in that thread are likely only looking for zips, it would be pointless to ask for a special zip for his device in that one because all of the people who know how to do it are here.

not to mention the cm10 zip in that thread is reported to not work anymore. It would be good to at least get a proper patch from someone who knows the source that should work with the latest cm10 builds.
[Android Themes] car vs driver:
Thought I had it working ... was wrong :(

Still have the same issue where the lock screen is completely transparent, but I get the clock and the horizontal bar behind the clock. the dark black background is not there. Plus, I cannot unlock the phone - have to reboot and put the stock files back in place.

I'm assuming the layout values need to be updated in waveView.java as noted earlier in the thread. Fiddling with that now ...
[Android Themes] DerTeufel1980:
i think i got it now. anyway, if i understood your previous post correctly, you are using a seperat keyguard_screen_tab_unlock.xml for every lockscreen you use?
[Android Themes] Goldie:
Indeed along with different lockscreen and multi/waveviews for the waveview type locks :)
[Android Themes] Nemesisretardo90:
Work on galaxy ace? :rolleyes:
[Android Themes] evilisto:
Firstly, sorry for my poor English.

1) You can see first link in OP, contain flashable zip is for Galaxy Nexus. Understanding that should be not so difficult at all, if you read carefully.

2) I think my guide is not perfect so it could be not working on some devices. But I think if someone compile this mod from source code as I suggested, it should work on most devices. If it seems not so, I didn't posted this kind of guide in this forum.

Yes, I didn't tested this mod on other devices except GNex. But I made some similar(nearly same) lockscreen mods when I have Nexus S.

3) I didn't know current flashable zip for CM10 doesn't work on latest nightly build. But I believe that isn't mean patch in OP have problems.

This mod is related to 5 framework files in CM10 rom. So natually, using old files on new rom cause problems, regardless of this mod. There are many changes in those files during about 10 days from my last update, isn't it?

I have a lot more to say, but thanks to my poooooor English, I'll stop from here..

I'm using just deodexed stock rom. But when I made some kind of mod, I post it at least with CM10 version. And to post that, I have to download latest CM10 nightly build, download(sync) CM10's latest source code, compile (it takes about 3 hours on my desktop, because I have to compile full rom at least one time), wipe my phone and test it. Then restore my phone using nandroid backup.

Making other rom's version like AOKP is the same too.

And this process is repeated when I update those custom rom's version.

So, please understand that I can't compile this mod for all users' all rom...:)

And this kind of wasting time doesn't give me a cent. But I did because I think mod like this that I made is interesting, so I want to share it with other android users. That's why I post this kind of guide in this forum. (not in device's forum)

I know that this guide is a little difficult to follow. So this is basically for other devs who want to include this mod in their rom, or make flashable zips like me for their devices. Those people certainly know how to use this kind of patch much better than me. And for other users who don't know how to use patch but want this mod, I wrote simple guide to follow too. All needed things are explained in that.

Nevertheless, if there are so many people who think this guide is really useless, OK I will not post any mod or guide in this forum from now on. That is not difficult for me, and should be much better than get stressed by seeing some unpleasant comments.
[Android Themes] NegativeOne:
None of those were my point. I never said you needed to make all of those zips.

I'm sure you would agree that this mod shouldn't be attempted by people without sufficient experience.

The issue i was referring to is that some people are having trouble applying the patch on certain cm 10 builds. the files are different.
[Android Themes] car vs driver:
I've got the png files, I think it has to be something else ... like I messed up the XML or something. Really banging my head against the keyboard on this one. This should work, but I'm clearly screwing something up somewhere.
[Android Themes] ldiomedi:
True, are different, but always it's possible to patch manually. For the moment I can't compile the Rom, but the patch it's applied in most of the 80%. The rest I done manually. I'm not a dev, but I read something. And who want this mod should duo the same. It's not so difficult and could be fun too learn some of mods stuffs

The thanks button doesn't bite. Try it!
[Android Themes] Goldie:
No clue from logcat?

---------- Post added at 09:36 PM ---------- Previous post was at 09:36 PM ----------

Great post!

---------- Post added at 09:43 PM ---------- Previous post was at 09:36 PM ----------

Dont ever stop posting stuff man!! Ignore this stuff. If they cant take time to learn how they should either flash a custom that has it or ask their rom dev.

I will try to help here if your english is not good but i only know the smali way. :)
[Android Themes] car vs driver:
Well, now there's a novel idea ... derp ...

I'll reflash my broken package and run a logcat through ADB as it boots and post my results in a bit.

Thanks!

Edit:

Not sure logcat has been much help, this is what I saw after logging from the boot screen until about 45 seconds after the lock screen showed up. Just a few of the possibly related items ..

[ 11-02 17:39:57.393 1055: 1055 D/dalvikvm ]^M
ODEX file is stale or bad; removing and retrying (/cache/dalvik-cache/system@framework@framework2.jar@classes.dex)^M
^M

[ 11-02 17:40:12.117 1360: 1380 I/dalvikvm ]^M
DexOpt: mismatch dep signature for '/cache/dalvik-cache/system@framework@framework.jar@classes.dex'^M
^M
[ 11-02 17:40:12.117 1360: 1380 D/dalvikvm ]^M
ODEX file is stale or bad; removing and retrying (/cache/dalvik-cache/system@app@SettingsProvider.apk@classes.dex)

[ 11-02 17:40:12.518 1360: 1380 I/dalvikvm ]^M
DexOpt: mismatch dep signature for '/cache/dalvik-cache/system@framework@framework.jar@classes.dex'
[Android Themes] tarroyo:
VERY NICE! good looks on this
[Android Themes] DerTeufel1980:
i could take a look at the code again today. for my understanding, you have to change this line, if your display height isn't 1280:

private float mRingRadius = 1280.0f

please correct me, if i am wrong evilisto.
[Android Themes] RockRadd:
anyone knows if this can be done for Galaxy S2 XWLPX? and if it's possible tell me how to make it coz this lock is really amazing, thanks!!
[Android Themes] Goldie:
It is in my version 4.1 which is lpx which will be out early next week. Along with 15 more :)
[Android Themes] aniket.sananse:
One more question..

I had a question. N may be A noob one....

If I modify and do everything as you've told in your explanation.... about patchin n compiling resources...

Do you think it would work on xperia arc ... or will I have to get specific software version for this (I mean jellybean or ICS) or any missing apk file that's present in nexus but not in xperia...

Please guide me.. I would really like to make this one for xperia arc....! :thumbup:
[Android Themes] popthosegaskets:
Hi, do you know how to change the lockscreen anims to that of JB? I have problems with the animation and the extra resources.
[Android Themes] DerTeufel1980:
what exactly do you mean?
[Android Themes] BWP28:
If anyone has a video tutorial, maybe it will help a lot and looks much easier :D ;) . thanks before.
[Android Themes] idle0095:
I use to make transparent mods for the galaxy nexus for the status bar and nav bar by decompile the rom and eiditing some files. then recompile and make into a flashable cwr zip file. Im so confused when it comes to this. Does anyone have a better way to just take this lock screen and get it into any rom out there? At least maybe a easier way to make them for different roms and devices.
[Android Themes] ShOgYzzz:
Sorry. i'm not compile can u recieve my folder framework and diff.patch for me

and what do i need to file.

pl.sorry for english language
[Android Themes] idle0095:
(please) someone needs to make a better instruction manual for this because there is alot of ppl like me who dont know were to begin.
[Android Themes] mingolianbeef:
While I get what u r implying, please reword this. It makes it seem as tho you are not appreciative of the OP's work. He did not make this for moons, if you don't know your way around some code, then this isn't for you. It looks amazing, and if you wanted it that bad, u wud boot up a linux machine, break out the source code and build :)
[Android Themes] idle0095:
I dont mean disrespect at all. Just need some help about this as it seems others do as well. Ive done alot of work with android but this I can't figure out.
[Android Themes] mingolianbeef:
Neither do I lol. And I meant no offense if I came off brash btw, I dev, but I haven't had the time to do source builds
[Android Themes] NegativeOne:
What the heck is up with this thread? There's a different between gratitude and ass-kissing. Any time someone asks for something in this thread, there's always a handful of people coming up with self righteous comments. The whole point of the android modding community has always been to showcase your work and to make it widely accessible.
[Android Themes] Tijmen:
The problem is that the questions confirm the image every experienced XDA member has of the "noobs". They don't read, don't try to understand all they want is making their phone neat and cool. I'll try to do a pic-by-pic guide on how to apply this patch somewhere this week, but since every framework is different, per device, per ROM, per date it was built there is no one-size-fits-all solution.

This isn't something that can be applied by flashing a zip or replacing a line in your build.prop, the only reason I'm hesitant to make a guide is because that will probably mean me getting a thousand of requests. So I'm going to try to prove myself wrong, but I don't have high hopes...
[Android Themes] NegativeOne:
Sure - there's no one-size-fits-all solution, but that's no reason to be disdainful towards lowering the entry barrier. Everyone has to learn somehow. If someone is inspired to learn by following a guide, and then the next time this person already knows how to do some of the stuff, then I would say that is a learning experience.

I think the trouble with this right now is, there's not a consolidated guide explaining how to approach the differences between devices, etc. -- not to mention a reference to how to find the source for your ROM, the framework resources you need, etc, and whatnot to set up your workspace.

That said, I appreciate your work and respect your personal apprehension :).
[Android Themes] LudoGris:
What's stopping someone from building this idea into an app...

And before it is asked...I don't know how. I am just wondering why this couldn't be done with a lock screen replacement app.
[Android Themes] mingolianbeef:
Uuummm, why you are mad, idk and idc to be honest. I simply asked him to rephrase the question. Being on the dev side of the spectrum, ik how a question can come off, and ik that the WAY something is phrased can really insult a developer (first hand experience here), so go get a beer, take it to the head, and come back with a better attitude, cool.? :)
[Android Themes] DerTeufel1980:
Does one know about a way to handle changed dpi values? I got it working for different screen sizes, but changing dpi still screws it.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Android Themes] NegativeOne:
I apologize if my indignation is mistakable for anger. If you flip back though, this is not the only instance you will discover of the attitude I've described.
[Android Themes] BlackGodRaven:
can someone write me down in PM how to install this locker in stock kerner....

l don`t understand )

and can it be installed on stock kernel ?!
[Android Themes] car vs driver:
Did you not read the first post ... or any of this thread at all?
[Android Themes] DerTeufel1980:
What's in the rej file?

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Android Themes] car vs driver:
For CM10, you will need to manually make the changes to the source code.
[Android Themes] NegativeOne:
Until someone actually gets it working on CM10 and posts a patch specific for CM10
[Android Themes] Goldie:
I think this will work to replace the lock regardless of rom. At least its how i got it originally on stock samsung...

Decompile the framework.jar in the flashable zip and the framework-res and android.policy.jar as well as your own.

Take the waveview and copy it to your own framework.jar Search it for ids (0x10?????) and replace them with the matching ones from your public.xml.

Copy the keyguard_tab_unlocks and paste over yours.

Change the dimen mentioned in the patch from 42 to 126

Paste the four pngs over yours.

Make the small changes in android.policy.jar shown in patch to keyguardviewbase, keyguardviewmanager and lockscreen directly in the smali. They are small changes..i.e just a few characters.

Compile.

:)
[Android Themes] car vs driver:
Yep, I'm trying to do just that very thing. I have a clean compile at this point, but it simply doesn't work. I didn't have any time over the weekend to continue working on it, but my suspicion is that I need to make some changes in the XML and the layout positions.
[Android Themes] DerTeufel1980:
I already have it working. It even works for mdpi and xhdpi at the same time.

Didn't you try changing mRingRadius as suggested?

Gesendet von meinem GT-I9000 mit Tapatalk 2
[LG Optimus 2x] scorpio1991:
Hello, I new in this phone. I now I use camera Zoom fx for take a picture, its very good quality of pictures. :) But in stock camera I am able to film just a 30min in HD quality... I want to film more then that. Can Anyone suggest me good filming app that I would be able to film much longer? Like till my memory is full.
[LG Optimus 2x] Gjot:
Try modded original camera!

Inviato dal mio LG-P990
[LG Optimus 2x] poli7247:
The best camera app is the system application :) the quality of other app are lower
[LG Optimus 2x] Gjot:
Ehi don't edit your answer with mine! Thief XD

6 1 Bidone Poli
[LG Optimus 2x] poli7247:
The modified camera app may adds new features, but does not increase the quality