yashsingh1/xdaforums huggingface dataset:
[Android Themes] memnoc:
is what i'm trying to explain, what you want to do is in timeline.tracing, cause uncommenting it the ring actually stop its movements but this value also controls the whole area where the unlocking is possible, so if you go out of that area changing shorcuts movement, you'll achieve what you want but then the stuff won't be unlockable..that movement towards the shorcut is partly coded in smali, we have just part of it to work on, got it?
[Android Themes] xcesco89:
yeah, got it. :P
[Android Themes] memnoc:
We'll do this in smali :angel:

Inviato dal mio HTC Sensation XE with Beats Audio Z715e con Tapatalk 2
[Android Themes] xcesco89:
i've looked at the smali code some days ago and my reaction was something like this:

so i think i will continue only with M10 code :P
[Android Themes] egren58:
No help?..

Okay thanks
[Android Themes] xcesco89:
i think that your problem is the same as i/all have.

you can hide the music lockscreen widget but you can't see the notification widget because the first it's not closed/inactive but only invisible.
[Android Themes] egren58:
Exactly is it possible to actually close it or delete it!..
[Android Themes] il Duce:
Yes, or at least if I understand you correctly. Why don't you explain exactly what you want your end result to be.
[Android Themes] Gumby63:
He wants the notification on the lockscreen to show up while music is being played. Simply hiding lockscreen_music did not work.

Tonight ill play around with it some
[Android Themes] il Duce:
What notification?

And again, this is about explaining the process and sharing info, not handing out cookies ;)
[Android Themes] Gumby63:
Okay try this:

Move the same property that you hid (lockscreen_music) to the left or right by 700 or some big number by using "offset"

If that doesn't work then it's probably smali or something annoyingly difficult to do.
[Android Themes] xcesco89:
Or he can try to modify the idlescreen_music.apk .

it's just a theory :P

Inviato dal mio HTC One X con Tapatalk 2
[Android Themes] egren58:
Lol Im confused
[Android Themes] memnoc:
Idlescreen music is not related to the music widget you see normally in lockscreen...but I'm not sure what it's the point here..is having both music widget in lock+notifications (like SMS lost calls, etc..) or having just one of them?

Inviato dal mio HTC Sensation XE with Beats Audio Z715e con Tapatalk 2
[Android Themes] xcesco89:
yeah, i know that's not "the cure", but eventually you can change the music controls with the notification widget :P

( another mad theory)

anyway, he is thinking to have both of them, with the music widget hidden.

the following probably is a stupid idea : delete the idlescreen_music.x10 can be a workaround??
[Android Themes] il Duce:
Try it and see what happens?
[Android Themes] xcesco89:
Yep, i'm going to try some of these mad things ;)

Inviato dal mio HTC One X con Tapatalk 2
[Android Themes] egren58:
Way out of my league :'(
[Android Themes] egren58:
But idk how to even edit smalis what you just said got my mind going.nuts! :( I'm a noob
[Android Themes] egren58:
Can someone atemp this for me plz
[Android Themes] xcesco89:
i think you need to do this by yourself , this is not a request thread :P

play with values and see what happens ;)
[Android Themes] il Duce:
As you WELL know, this is NOT a request thread. You've been disciplined by a senior moderator for this behavior already. If you wish to learn and try new things, we're here to share ideas. If you're here for handouts, please leave for good.
[Android Themes] xcesco89:
this is my little work on lockscreen. Nothing special, i've just moved some stuff up and some down :P

simple but effective :D
[Android Themes] xcesco89:
hi guys!

i've modified the HtcClockWidget.apk for move the lockscreen clock widget, but, when i push it to the device, the clock app disappear. i've tried to fix permissions manually and through recovery but nothing happened. this thing is going to make me mad D:

edit: solved. i've recompiled with the old signature :P

Merry Xmas guys :D
[Android Themes] egren58:
Not a request I'm ready to learn n try it my self.. I want to make my lockscreen Luke this but with the ting and icons lower not that high.. the problem is idk ANYTHING bout this kind of stuff :(
[Android Themes] Gumby63:
That's why I linked you to my post in this thread when you asked in my lockscreen thread. So you can learn to do it because you don't know how..
[Android Themes] il Duce:
Look through the tuts on the vts site, another good place to start.
[Android Themes] orkorolev:
Hi all, need some help. After adding transparency file strip_panel_center_btn.png(м10 fusion.apk) and subsequent Assembly, transparency no! i.e. if you re-fusion.apk and look at strip_panel_center_btn.png, transparency no.

Sence_4+

http://db.tt/4hfvO0Ni
[Android Themes] lex_is300:
Unfortunately in sense 4 HTC made that image so it cannot be made transparent. They like to mess with us apparently.
[Android Themes] metaphysical_calamity:
They study our threads carefully and and plan accordingly lmao
[Android Themes] egren58:
Damm I Got tired of plugging and unplugging the phone to try each change.

I gave up thanks for the help thou.
[Android Themes] metaphysical_calamity:
Yes it can be quite a process but pays off in the end

(((team420)))
[Android Themes] il Duce:
have you looked in resources for that?
[Android Themes] orkorolev:
The issue is that transparency is on 5 of 6 pictures
[Android Themes] xcesco89:
you can try to bypass this problem ( i've encountered it too on skin editing) by set the transparency in the widget.apk :)

for settings widgets you need to edit:

HtcDataRoamingWidget.apk

HtcDataStripWidget.apk

HtcAutoRotateWidget.apk

HtcPowerStripWidget.apk

HtcProfilesWidget.apk

HtcRingtoneWidget.apk

HtcScreenBrightnessWidget.apk

HtcScreenTimeoutWidget.apk

HtcSettingsWidgets.apk

HtcSyncWidget.apk

in these you have 2 options:

1 - Set complete Transparency:

Example:

decompile HtcSettingsWidgets.apk

navigate to assets/Port/setting_airplane_single/setting_airplane_single.x10

go to:

edit the value "Visible" from true to false

now go to:

and edit the string "Visible" trom true to false

repeat for other widgets and apks ( the name can be different but in the 99% of the cases you find these values at the end of the x10 file

output:

2 - Set the transparency value:

go to the strings mentioned above and edit the "Opacity" Value from 1 to 0.5 ( this will set the opacity to 50% ).

the "Visible" value must be true

Output:

If you are planning to make your own skin, i think the better solution is the second ;)
[Android Themes] orkorolev:
Thank you for solutions. But I wanted to know why after the collection of fusion.apk transparency on the file strip_panel_center_btn.png is lost.
[Android Themes] xcesco89:
sincerely i don't know if it's a source/smali bug or htc that want make us crazy!

a friend have made a skin for his One-s, with transparency on widgets and doesen't have this problem.

this is weird:eek::eek:
[Android Themes] InflatedTitan:
Ok I modified the clock as in the same manner the op did in second post. Binary successfully built!

When I try to push to device, ADB: failed to copy

ADB'-d push, pushing akp failed!

What am I doing wrong?
[Android Themes] Gumby63:
The only time ive gotten that is when I didnt have my device plugged in.

Make sure you have the drivers installed for your phone and that your pc recognizes it. Other than that I don't know what else would cause that.
[Android Themes] InflatedTitan:
I found the problem man. Its the stupid write protection HTC did! I flashed a kernel for our device that allows system write, and it successfully pushed and it worked!! Now its time to get my hands dirty!!!

---------- Post added at 06:20 AM ---------- Previous post was at 05:37 AM ----------

Can anyone share which files to edit to get the icons to move? I've successfully moved the clock and lock ring... Also can't figure out how to slide ring left instead of up.. any advice?

As of now it doesnt really matter if the icons drag correctly, if I can move them ill try to tweak them to work right myself
[Android Themes] Gumby63:
You mess with the icons in lockscreen_shorcut.x10

Find the properties:

"drag.shortcuticon01"

"drag.shortcuticon02"

"drag.shortcuticon03"

"drag.shortcuticon04"

Those are your four shortcuts.

Making the lockring slide left to unlock might be a little challenging. Try messing around in lockscreen_ringcontainers.x10

The property "drop.unlock_area"

Try moving that to the left and see what happens.
[Android Themes] InflatedTitan:
You are one sick a$$ mofo! Thanks bro!
[Android Themes] InflatedTitan:
Alright I got the icons, ring and clock about where I want them, and killed the "pull ring to unlock" text. Now we're getting somewhere!

Still can't figure out how to elimnate the icon text,and can't find how to drag LEFT to unlock. I've tried "drop.unlock_area" and also "drop unlock_area hitbox" both inside lockscreen_ringcontainers..

This is getting tricky.. any advice from some of the titans of this code?
[Android Themes] il Duce:
Not sure about the ring drag.

Shortcut text is in shortcut.x10, near the bottom look for shortcuttext01,02,etc, set visible bool to false.
[Android Themes] Gumby63:
Do you mind posting or pming me the apk? I'd like to see if I can get it going.

I have one similar to yours that I can drag left to unlock. See here.
[Android Themes] InflatedTitan:
Awesome.. thanks man. I've been wrecking my brain trying to figure it out. If I move the values, I can no longer unlock my screen, so I know its moving just can't figure out where. Ill keep working lol

Edit.. not seeing shortcuttext01...

Only strings i see with text is textlabel.notification_num

---------- Post added at 06:01 PM ---------- Previous post was at 05:27 PM ----------

Sure how would I extract it from my phone? Or snatch it from my computer? Sorry I'm a noob at this stuff

And the one you posted is EXACTLY what I'm looking to do!
[Android Themes] Gumby63:
Try textcomp_shortcut01 or something like that near the bottom of lockscreen_shortcut.x10

And right click the project in vts and select open in explorer. Now go to the binary folder and upload the apk within it.
[Android Themes] InflatedTitan:
want to try that?
[Android Themes] Gumby63:
Alright I fixed it so you drag left to unlock and fixed the animation so it's not off centered anymore. Also got rid of the text labels :)

Let me know how it works!
[Android Themes] InflatedTitan:
I'm in love with this.. you can change icons with vts?
[Android Themes] il Duce:
Tell him HOW you did it please :) remember this is a teaching thread.
[Android Themes] InflatedTitan:
So what if I play with the lockscreen_notification and lockscreen_incomingcall, would I be able to shrink them a little so its not in the way of the ring and icons? I'm getting this right now
[Android Themes] shubhamchamaria:
Before today M10 was just something I thought I would never understand but after spending 1 hour with it I like it a lot....I have made a few edits

Kudos to you guys for teaching us....

Hope to learn to customize the lock rings in the future....

Jobless on 31st night as I'm down with a fever!(:() but enjoyed the m10 learning time
[Android Themes] Gumby63:
To fix the ring drag, I changed the offset values of drop.unlock_area in lockscreen_ringcontainers.x10, and I did the same thing to scenecontainer_anim.ring_unlock to fix the animation.

To get rid of text labels, go in lockscreen_shortcut.x10

Near the bottom there are 4 properties called:

textcomp.shortcut_name1

textcomp.shortcut_name2

textcomp.shortcut_name3

textcomp.shortcut_name4

Set "hidden" to say true instead of false.

You can either move that box around in the appropriate x10 or if you want to shrink it, there is a value called "centerscale" that is set to 1:1:1 by default. Change them to anything between 0 and 1 to shrink it. For example 0.7 or 0.3.
[Android Themes] shubhamchamaria:
How can I remove the album art of the song because it interferes with my new ring placement....I tried memnocs explanation about it but it only removes the outside thing not the album art....so please help me....

Gumby thanks for the latest tutorial I'll try one with reversed animation for unlock
[Android Themes] xcesco89:
You need to change the Centerscale value, from 1:1:1 to something like 0.5:0.5:0.5 if you want the notification smaller . With 0.5 for all three values you will get a notification 50% smaller. When you scale an object you probably will se that the obj was not in the same place as with 1:1:1 scale so you need to change a little the offset values to center the objet to the screen. Remember to change the offset of the notification buttons ( accept/refuse incoming call etc etc etc)

Inviato dal mio HTC One X con Tapatalk 2
[Android Themes] il Duce:
Use my link for minimal music, iirc there's 2 you need to set visible to false for. Dy_albumcover and the other one that says cover, should be right next to the first one.
[Android Themes] shubhamchamaria:
For sense 4 I tried this but it doesn't work....

You have to set the second property which is "visible" to false instead...
[Android Themes] InflatedTitan:
Hey bro I got the notifications and calls where I need them with your help! Now there's two last things. The icons and buttons won't drag into the ring. Its like they push the ring away. Im pretty lost with that. If I can get those 2 things right I want to release an alpha lockscreen mod in our OneX forums. Any help please? This is where I'm at now ;)
[Android Themes] xcesco89:
with these layouts , unlock the screen is always a little tricky.

you need to play with lockscreen_ringontainers.x10 ;)

try this:

in

<FxTimeLine Name="timeline.ring_tracing" Header="0x7c89ba8b" Type="0x19930c9c">

change the offset and the Size values. The size value, as i saw, will make smaller the animation area. You need also to play with the offset value to center the animation area with the ring

You also can try to change the values of:

<FxTimeLine Name="scenecontainer.Lockscreen_Ring" Header="0x7c89ba8b" Type="0x19930c9c">

If you set the Offset value to 0:0:0 the ring will not move when you grab a shortcut. In your screens you have placed the shortcuts close to the ring, so i think you can solve your problem by playing with these values.

Unfortunately, as i learned in this thread, this problem is also related to smali code, so, at the moment, we can do only these tricky things :D
[Android Themes] InflatedTitan:
I set the above mentioned codes as prompted, but the ring still moves away when i touch a shortcut icon. im about to give up :(

EDIT: didnt give up, im trying some serious code combinations and now im able to get my notifications, 1st and 2nd shortcuts to drag inside the ring to unlock phone.. very proud of myself indeed haha.... but the bottom two shortcut icons make the lockring move wayyyyyyy over, no matter what i change... can anyone give me any hints?

EDIT 2 : for a better understanding I've included screens of what I'm talking about.
[Android Themes] Rampage:
My work till now on the one s. Very simple ones.

http://xdaforums.com/showthread.php?t=2058851

Thanks to this thread guys.

Gesendet von meinem Nexus 7 mit Tapatalk 2
[Android Themes] Gumby63:
To fix the alarm/incoming call buttons, open lockscreen_container.x10

Find "scenecontainer.Lockscreen_Butto" (That's not a typo)

Try changing <Float3 Name="Offset" Header="239748898" IDC="true">-360:-510:0</Float3>

To: <Float3 Name="Offset" Header="239748898" IDC="true">-360:-910:0</Float3>

Essentially what that does is move where you drag the buttons to answer/dismiss etc. And since your ring is on the right that moves it over 400 to the right. Try and let me know :)

We have a very similar lockscreen and that works for me.

Also, revert anything you might have done to the buttons first before you try that, this way is much simpler :)
[Android Themes] shubhamchamaria:
I started learning M10 a few days ago and here is my work: http://xdaforums.com/showthread.php?t=2076432 for DHD (Viper, Sabsa Prime)

Not much but yes something in the world of theming ......
[Android Themes] shubhamchamaria:
[GUIDE] How to change your lockring

I could have made a guide which is for lockscreens but I dont have so much time right now so will do it later.....This is a simple mod which helps you change your lockring....

1.) Download a lockscreen_ring.png from somewhere or make your own.....

2.) Vertically flip it if you are on sense 3.6 and below....

3.) Use Vts to decompile m10 images of fusion.apk from /system/app

4.) Open the project in Windows Explorer and navigate to Data/assets/Default/drawable/shared/Images and replace the image

5.) Recompile and push to phone.

6.) Enjoy!
[Android Themes] InflatedTitan:
How would I know what is stock button values? Beings I have a better understanding of it, I may just start a fresh one.. and no ideas on the bottom 2 shortcuts? lol
[Android Themes] Gumby63:
To get the stock values just decompile an untouched idlescreen shortcut.

And for the those shortcuts, pretty much everything xcesco said is what you need to do.
[Android Themes] shubhamchamaria:
Reserved for a post for a guide for the lockscreen by Gumby63 in the screenshots in the 4th post.....I will make a guide soon....
[Android Themes] xcesco89:
On our Italian forum I've made a guide for VTS and I've made a simple sketch to explain how various values works.

This is the sketch:

The center cross explain where the objects move when you change the offset values,

The cross at the left bottom corner explain where the objects move when you change the position values.

"Sc-x" labels are the shortcuts

It's only a simple sketch but I think this can help some users understanding how it works.:D:D

And I hope I've made it correctly :thumbup:

A little tip: for some HTC apps you need to recompile these with the old signature or they won't work! (Example: Rosie.apk and lockscreen themes like idlescreen_productivity.apk ) :)

Inviato dal mio HTC One X con Tapatalk 2
[Android Themes] orkorolev:
Help

Hello everyone! Ever, you need to remove the black square around the photo of the contact. I assume that this is the background to 10 pixels more than the size of the photos, the schedule did not find him.
[Android Themes] xcesco89:
seems to be a 9patch error :P that border it's not "natural". did you have modified some images to be completely transparent in the /assets folder or in /res folder??

have you tried to set the value "visible" to "false" under lockscreen_squarepanel.png located in lockscreen_incomingcall.x10 ?
[Android Themes] Dunc001:
Or maybe even to "false"... ;)
[Android Themes] xcesco89:
oops! typing error :P
[Android Themes] il Duce:
His border is not the square panel. The square panel is the large widget bg. It's likely this border is either generated by another apk like contacts, or fusion. I'll see if I can find it.
[Android Themes] il Duce:
Try this:

In lockscreen_incomingcall.x10

"incomingcall_border" set to false
[Android Themes] orkorolev:
I changed *png in different *apk, including in fusion.apk :p

---------- Post added at 10:18 PM ---------- Previous post was at 10:17 PM ----------

Thanks, I'll check....:D
[Android Themes] orkorolev:
I really don't know much about the text, more in the chart.....:D

that's what we have, tell me exactly what change you need. Sence 4+, the parsed file Idlescreen_Base
[Android Themes] Gumby63:
Set visible to "false" instead of "true"
[Android Themes] egren58:
Hey can someone help me I'm tryi to move my clock all the way to the top right corner and remove the swipe to unlock text pleaser help! :/
[Android Themes] Gumby63:
In lockscreen_time.x10 find "textcomp.pull_unlock" and set visible to false
[Android Themes] egren58:
I did this and set the numbers to 220 since I want it to the right not the left and nothing changed.. :/ why is that
[Android Themes] il Duce:
If you set visible to false you can't see it, so positional values don't matter.
[Android Themes] egren58:
I'm taking about the clock nothing changed I want to move it to the right I changed the offset values to 220.0.0 and still centered nothing changed at all
[Android Themes] il Duce:
What property name?
[Android Themes] egren58:
Lockscreentime
[Android Themes] egren58:
See here
[Android Themes] il Duce:
Can you paste the lines? Also you pushed and rebooted or how you applied?
[Android Themes] egren58:
I build apk than put it on my scared than replaced with root explorer I have no idea how to use adb push
[Android Themes] Gumby63:
Did the Rezound recently get an OTA?
[Android Themes] egren58:
Updated the Rom I'm using.. don't do OTA's

---------- Post added at 05:56 PM ---------- Previous post was at 05:42 PM ----------

Any ideas..?
[Android Themes] egren58:
Ok got the clock now how would I go about removing the animation when I tap the screen the clock disappear I want the clock always there
[Android Themes] il Duce:
I've never tried, it's probably smali. Any properties look promising?
[Android Themes] egren58:
Nope.. damm anyways to move the shortcuts.. and also make the ring not move when wanting to drag a shortcut saw somethign bout setting offset value to 0.0.0 but wasn't very specific..
[Android Themes] orkorolev:
It worked thanks:rolleyes:
[Android Themes] egren58:
Anything on moving around shortcuts?... :/
[Android Themes] Gumby63:
In lockscreen_shortcut.x10 find

"drag.shortcuticon01"

"drag.shortcuticon02"

"drag.shortcuticon03"

"drag.shortcuticon04"

And the same applies to these as did the time. Like using offset, visible etc
[Android Themes] lex_is300:
Check out the shortcuts info guide on the bottom of the 1st post. Explains what needs to be edited to move them.
[Android Themes] egren58:
Does it go from left to right?..
[Android Themes] egren58:
Moved shortcuts now the name is too close
[Android Themes] il Duce:
You have to move the shortcut name too
[Android Themes] Gumby63:
"textcomp_shortcutname01"

Or something like that
[Android Themes] egren58:
okay got it now im moving lockscreen to the right but when i actually grab the lockscreen nothing happens i have to unlock from the center as if the lockscreen was never moved.. so i need to edit the location where i actually start to drag to unlock..

---------- Post added at 03:53 PM ---------- Previous post was at 03:11 PM ----------

?? Anyone...
[Android Themes] il Duce:
You have to edit the container, not the lockring itself. I think it's explained in the first page?
[Android Themes] egren58:
So I should move the ring ba k to where it was or just go ahead an edit container I got this so far.. but I still have to drag from middle and phone icon don't work cuz that's where the drag location is.. what property in Lockscreen container?..
[Android Themes] InflatedTitan:
Got it thanks to you guys! Everything works except that funky phone icon.. (but its really close;)
[Android Themes] egren58:
Wow we have very similar ones want Gove me a hand? Lol
[Android Themes] il Duce:
Yeah move the ring back, then edit ringcontainer_c
[Android Themes] egren58:
Ok thank to you guts I got the ring to where I want it n icons n clock now is it possible to set the ring not to move when I want to drag an icon I just want it to stay there so I can drag into the ring I saw something bout setting values to 0 but idk to what properties..
[Android Themes] il Duce:
Yeah there's a way but i cant remember who posted it, I think it was posted in this thread recently
[Android Themes] egren58:
This is but I'm so confused idk what it is that I need to set to 0
[Android Themes] Dunc001:
Have any of you geniuses (genii?) worked out how to change the text colour for the lockscreen clock (and date and carrier) yet?
[Android Themes] memnoc:
Hm...i think it's more xml here...not sure if it's fusion stylesheet or idlescreen values..did not try yet

Inviato dal mio HTC Sensation XE with Beats Audio Z715e con Tapatalk 2
[Android Themes] xcesco89:
Maybe in the colours.xml ?? (Decompiling the project as "apk project")

I'm busy these days and I can't try it out! :P

Inviato dal mio HTC One X con Tapatalk 2
[Android Themes] il Duce:
I'd bet money on smali