yashsingh1/xdaforums huggingface dataset:
[Android Themes] il Duce:
Hello fellow themers and modders!

This thread will be STRICTLY for the sharing and discovery of m10 code modifications.

This is NOT a request thread (for now) - it's possible at some point this could happen...

To contribute to this thread, and to jump in and learn something new, you'll need some basics.

- a sense 3.0+ device or ROM

- Virtuous Ten Studio (VTS) - this is where ALL the code edits happen

- apktool (maybe)

- sdk/jdk (maybe)

- an open mind

I have been modding this code since sense 3.0 in various apks, as have some others I know. Here's their info:

me - mostly lockscreen mods and rosie mods

mayfield103 - mostly clock widget mods

gumby63 - lockscreen mods

jeffsanace - mostly rosie mods

dased14 - general tinkering

ajthescot - general tinkering

^ more can be added! ^ these are just the guys I know personally. My hope is that we will get a HUGE gathering of m10 code modders so we can all make sense more fun.

Stuff I know can be done:

- lock shortcuts

*can be moved anywhere on the screen (literally - also applies to switching them around R-L)

*can be removed or individually removed (i.e. 3 instead of 4)

*can be removed entirely (leaving the text)

*text can be removed

*lots more

- lockring

*same as above

*can be made to unlock in reverse (pull down instead of up)

- lock widgets

*backgrounds can be removed

*can be moved anywhere on the screen

- lock music

*art can be removed

*text can be removed

*buttons can be removed

- lock time

*can be moved anywhere on the screen

*can be removed

*can be individually customized (i.e. remove carrier and time, leave date, etc.)

- rosie navbar

*can be removed

*button highlights can be removed

*workspace grid changes (5x4, 5x5, ad infinitum - requires mods in .arsc)

- rosie widgets

*backgrounds can be removed

*any spacing probably

*transparent clock tiles

There's a lot more that's just what I can think of that I've done or that others listed above have done. Essentially any location changes or size changes, and zillions of other things.

My hope is that we will all post what we have done or can do, along with screens, and tutorials (not n00b proof tutorials, just the pertinent code modifications).

HUGE THANKS TO:

diamondback, vaelek, flemmard, and cypis! - the dev team who brought us VTS

the guys I listed above who have played with these things and helped me along the way!

I'm sure I'll add more info and people to this as the thread progresses :)

Here's some relevant tutorials (mostly sense 3.0 but almost identical logic applies to the newer versions)

rosie workspace mod

remove "phone" text

remove icon labels

remove widget labels

LOTS of lockscreen edits

minimal music

shortcuts info
[Android Themes] il Duce:
reserve
[Android Themes] il Duce:
reserved
[Android Themes] il Duce:
reserved again
[Android Themes] dased14:
Guess i'll squat here

( squaters rights duce you can no evict me haha)
[Android Themes] whiterider13:
Very nice! I look forward to learning some stuff from you guys.

Also, I think fdb8231 would be good to get in on this. I know he did a lot of work on the og and the 3d.

Sent from my EVO using Xparent Blue Tapatalk 2
[Android Themes] hockeyfamily737:
Hi.....Don't mind me. I'm just here for the food. Although if someone ever makes an m10 decompiler for Linux, I might even be able to contribute :)
[Android Themes] dased14:
sorry we cut off his fingers and pulled out his tongue so he can no play :crying:
[Android Themes] whiterider13:
:eek: ouch!

Sent from my EVO using Xparent Blue Tapatalk 2
[Android Themes] jeffsanace:
I'm here because Duce promised me a new "used" car. LOL! But seriously, where is it Duce?
[Android Themes] il Duce:
added some tutorials to the OP
[Android Themes] invasion2:
Those are awesome. I'm getting into m10 as we speak. Hope I can do something like that soon..
[Android Themes] Gumby63:
Pretty easy to do once you get the hang of it!
[Android Themes] il Duce:
We'll post some apks I'm sure for people to diff.

And of course ask questions about stuff, it's how we learn :)
[Android Themes] invasion2:
So this thread can also be used to ask questions?

Sent from my HTC One S running ViperOneS!
[Android Themes] il Duce:
Indeed, sharing is caring.
[Android Themes] mayfield103:
Great idea ducey!

I have no idea what's goin on?
[Android Themes] il Duce:
Your clock skills are welcome here, I can't wait to see your first tutorial, nobody will understand it lol.

Fyi gumby and I are making new discoveries daily.

The latest awesome is you can change the size of almost anything. Like anything, seriously, images (like lockring), the whole lock clock/date/carrier, either individually or all at once.

Fun stuff :)
[Android Themes] malybru:
:D
[Android Themes] -pixelfreak-:
yeeeeees thats is it

many many thanks
[Android Themes] -pixelfreak-:
re

can i make the dock from sense 3.5 to sense 4.0 ?

from to

does what need(require) I here for and what I must change?

many thanks pixelfreak
[Android Themes] ssojyeti2:
Which part of the dock are you talking about? The dock background or how many icons it can hold?
[Android Themes] -pixelfreak-:
re

the background is no problem. i mean the 5 icons on the dock. sense 3.5 has 3 icons for apps, phone and personilize. the sense 4 has 5 icons for phone, mail, apps, message and cam

Pixelfreak
[Android Themes] Max128:
I try now integrate the dock Sense 4.. but it does not work I have no dock now .. An idea?
[Android Themes] fisha21:
Ah man. Spent the last 3 days getting the full page Widgets to work with 4x5 Rosie mod, finally post it this afternoon... and only then do I find this thread! Would have saved me a few hours work!

Thanks for sharing your methods guys....look forward to hopefully contributing here
[Android Themes] il Duce:
Lmao, hello stranger ;)
[Android Themes] -pixelfreak-:
re

no idea for the sense 4.0 dock in sense 3.5 ?

many thanks pixelfreak
[Android Themes] il Duce:
You would need to port tons of code from rosie, homepersonalize, idle base, some jars, and a few more apks... I honestly doubt it would even work.
[Android Themes] -pixelfreak-:
re

okay thanks

pixelfreak
[Android Themes] Flashalot:
Do you think the lockscreen mods

Will work for 4.1 I got some thing I'm working on for 3d
[Android Themes] il Duce:
Yes, I've done a zillion lock mods, as have others, what you up to?
[Android Themes] Flashalot:
Porting darksense to evo got it all most working just adding aroma then was going to add some lockscreens mods so here I am that's why senseative 4.0 was never updates
[Android Themes] il Duce:
If you need any x10 help just ask
[Android Themes] Flashalot:
Ok thank you :):):):):):):)
[Android Themes] Flashalot:
oooo mighty one i need your m10 help with lock screens lol
[Android Themes] il Duce:
post your question, I'm not a mind reader lol
[Android Themes] Bebida:
U should be :p
[Android Themes] Flashalot:
I well I need help with making lock screens like a senseless one, in the middle, and to the side

I tried but m10 tools where not working. For me
[Android Themes] Gumby63:
Are you in Idlescreen_Base.apk ? What exactly isn't working?
[Android Themes] Flashalot:
Yes I'm running a it with administration privileges to

But won't let me decompile it

Uggggggg

Sent from my DarkSense3D
[Android Themes] Gumby63:
Did you select is as an m10 project, did you choose the correct version of sense, and can you post the error?
[Android Themes] Flashalot:
Found my answer old version of m10 tools did not work got the new one and works

Sent from my DarkSense3D
[Android Themes] Dunc001:
Why aren't you using VTS?
[Android Themes] Flashalot:
I am now I just need to learn how to make lock screen mods

Sent from my DarkSense3D
[Android Themes] liamstears:
Trying to edit m10 for sense 4.1 lockscreen (idlescreen_base) but it seems no matter how I change it the 4 lockscreen shortcuts have to be pulled down lower than it is to be able to open up that up

Can I somehow change it so that it will unlock and open the app if I move the icon up?
[Android Themes] il Duce:
You have to modify lockscreen container, the ring tracing.
[Android Themes] liamstears:
I have modified this a bit to get the ring to line up better but I can't find how to do what I want

Can you explain a bit more the values to edit to get what I want...
[Android Themes] il Duce:
I haven't done it myself yet, only gumby and memnoc have. It's going to be a different value for each lockscreen so nobody would be able to give you exact numbers, but one of them would be able to explain better.
[Android Themes] Tarpe:
I'm sorry guys, but I need some help, last time I was able to take off the label's in navibar for all apps and personalise but now I can't manage on my own,I need guidance, last time i use m10 tools,please help :D
[Android Themes] il Duce:
What version of sense? Screen shot?
[Android Themes] Tarpe:
3.5,I found solution,thanks for reply,it is in rosienavibar.m10/timeline.navbar_phone_content/personalize- opacity=0

And

all_apps- opacity=0

Setting opacity to 0 remove label on personalize and all apps in navbar.
[Android Themes] Tarpe:
Hey guys I have a question, all you have managed to move lock ring and shortcuts to the left or right or... but in sense 3.5 Idlescreen_Base in lockscreen_container.x10 I dont have this (scenecontainer.Lockscreen_RingC) is there any tip how to move to the left side lock ring???? I moved shortcuts to the left but need more alignment :o
[Android Themes] il Duce:
Look in any x10 that references the lockring, report back.
[Android Themes] Tarpe:
no luck :rolleyes: here is screen shot of Lockscreen_container.m10
[Android Themes] autogeek:
Try looking in lock ring motion. That's where your shortcut ring lives, or at least it did on sense. 3.0. It may also control the ring position.

Sent from my EVO
[Android Themes] Tarpe:
Ok I will check it again when I come home thanks

EDIT : ok i found where is it,yes it is in lock ring motion m10 "drag.lockscreen_ring" offset -140:-125:0 need more adjustment, but i have another question for wave and bounce how to adjust to be on new place of lock ring,and how to move second lock ring that appears when you drag shortcut?
[Android Themes] autogeek:
Hmm, I'm not really sure. I would have to look through the m10 myself but I would guess either in lockring motion, lock screen container or lockscreen shortcut.

I'm not sure if this trick will help you but I used to just make the second lockring transparent so you would never see it. This would make making additional rings easier. But I'm not sure how it will work if they are in separate places. Glad you found the main ring though.

PS. Mind sharing that wallpaper?

Sent from my EVO
[Android Themes] Tarpe:
hmm,think i will use this code for lock ring (right,left) for next build :rolleyes::( it is very complicated for now,and will report here of my progress for full move lock ring with all FX , and for wallpaper it is main wall picture on my build,so i can give but only for personal use if you understand me,it is part of main theme of rom,if you want i will pm you but only for personal use please :)
[Android Themes] Ex Inferis:
friends,

I can change the position of the Ring, the icons, all OK ...

I can not make the ring follow the icons when they are pressed.

Anyone know where are the positions of the 4 icons to the ring the following?

I'm in the latest version of Sense. Rom ARHD 17

thanks a lot!!
[Android Themes] il Duce:
You need to modify ring tracing to match your ring position, it takes a bunch of trial and error.
[Android Themes] Bebida:
Lol I am such a child. Duce telling people to match up there rings. :cool:
[Android Themes] Ex Inferis:
...

ok ... I imagined it.

but where?

what values​​?

I can not find amounts related to each icon.

Values ​​are for icons (targets) or area?

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

<Properties>

<String Name="Name" Header="239748898" IDC="true">timeline.ring_tracing</String>

<Bool Name="Visible" Header="239748898" IDC="true">true</Bool>

<Unknown Name="0x7ce54727" Header="239748898" IDC="true">00000000</Unknown>

<Unknown Name="0x7c9663eb" Header="239748898" IDC="true">0000FA43</Unknown>

<Int Name="ID" Header="239748898" IDC="true">1</Int>

<Unknown Name="0x58e2438c" Header="239748898" IDC="true">FFFFFFFF</Unknown>

<Unknown Name="0x7c85fe0e" Header="239748898" IDC="true">EB8E031C6556A24CA59DDAE30E55815B</Unknown>

<Unknown Name="0x5591ff82" Header="239748898" IDC="true">00000000</Unknown>

<Float3 Name="Position" Header="239748898" IDC="true">360:510:0</Float3>

<Unknown Name="0x1efcecf5" Header="239748898" IDC="true">0000000000000000000000000000803F</Unknown>

<Float3 Name="CenterScale" Header="239748898" IDC="true">1:1:1</Float3>

<Float Name="Opacity" Header="239748898" IDC="true">1</Float>

<Unknown Name="0x5d19f533" Header="239748898" IDC="true">01</Unknown>

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

<Unknown Name="0x39653585" Header="239748898" IDC="true">00</Unknown>

<Unknown Name="0xf41447d" Header="239748898" IDC="true">00000000000000000000000000000000</Unknown>

<Unknown Name="0x3d70eede" Header="239748898" IDC="true">00000000</Unknown>

<Unknown Name="0x4e970282" Header="239748898" IDC="true">0100FA43</Unknown>

<Unknown Name="0x3388757d" Header="239748898" IDC="true">0000803F</Unknown>

<Unknown Name="0x94e6751" Header="239748898" IDC="true">01000000</Unknown>

<Unknown Name="0x277e51e6" Header="239748898" IDC="true">90C2EF41</Unknown>

<Unknown Name="0x338a97ed" Header="239748898" IDC="true">01000000</Unknown>

<Unknown Name="0x5410a570" Header="239748898" IDC="true">01</Unknown>

<Int2 Name="Size" Header="239748898" IDC="true">720:1020</Int2>

<Unknown Name="0x15939b3a" Header="239748898" IDC="true">0400000000000000000000000500000070006F0073005F00310078000000000000000500000070006F0073005F003200F0000000000000000500000070006F0073005F00330068010000000000000500000070006F0073005F003400</Unknown>

<Unknown Name="0x5cbe4a3a" Header="239748898" IDC="true">FFFFFFFF</Unknown>

<Unknown Name="0x5cbde842" Header="239748898" IDC="true">00</Unknown>

<Unknown Name="0x273c0d7a" Header="239748898" IDC="true">00000000</Unknown>

<Bool Name="Hidden" Header="239748898" IDC="true">false</Bool>

----------edit -----------

the ring follows the pressed icons by XY target or some area?
[Android Themes] il Duce:
The ring path to the icons is code in smali. The x10 value you'll need to mess with is the position and offset. The first value is left/right, the second is up/down.
[Android Themes] Ex Inferis:
then the ring looking for the 4 icons based on an area.

is it?

ok ... I will try!

Thank you! ;)
[Android Themes] Ex Inferis:
this complicated ...

or ring follows all the icons up or all down ...

I need that ring follow two icons that are above, and two icons that

are down ...

complicated.

I'm trying ...
[Android Themes] Tarpe:
try to edit hitbox.shortcuticon 01,02,03,04

example, it is not setting!

<Float3 Name="Position" Header="239748898" IDC="true">-15:-30:0</Float3>

only here are different variables maybe this will work
[Android Themes] Ex Inferis:
Thank you ^^

I will try :)
[Android Themes] Tarpe:
here is a little tutorial i made on my thread if you all good with it i will update from time to time, and if you want to remove i will ....

1. For remove names on shortcuts:

In solution explorer open assets/Port/base/ and find folder named Lockscreen_shortcut and open Lockscreen_shortcut.x10

For all shortcut's is one setting, find textlabel.shortcut_name and expand <Properties>

change this :

<Bool Name="Visible" Header="239748898" IDC="true">true</Bool>

to

<Bool Name="Visible" Header="239748898" IDC="true">false</Bool>

2. For changing the place of shortcuts:

Find this in Lockscreen_shortcut.m10

change "Offset" numbers -49:-53:0 the first number is horizontal left with (-) negative and right without ,and second is vertical with (-) negative is down without is up,and for third is best to stay 0

for each shortcut need to specifically enter settings ,my tip is to do one at a time push to phone try ADB and reboot,after boot you will see your change

3. For move lock ring:

Find this in Lock_ring_motion.m10

change only the first two numbers, same function first number is horizontal left with (-) negative and right without ,and second is vertical with (-) negative is down without is up,and for third is best to stay 0

more to come, stay tuned ;)
[Android Themes] Ex Inferis:
Thank you!

I'll search for your topic.

I've got to do everything:

- Change position of icons

- Change the size of the ring

- Make the ring follow the icons for directions equal

- Make the ring decrease or increase while moving

Just could not do the same so far Ring

follow the icons in opposite positions, as explained,

two above and two below.

That's all I'm trying to learn.

--------

I'm using Virtuous Ten Studio.

And to test the lockscreen, I use the command "am force-stop com.htc.idlescreen.shortcut" in ADB Shell :)

Yesterday I created an interface on the lockscreen (Still not what I want to do) :P

I'll show in a moment :)
[Android Themes] memnoc:
It's possible, all you have to do is edit the timeline.tracing in its middle values (top/bottom) so for ex. You need to unlock shorcuts 2 and 3 when both are on the half-bottom part compared to the ring position..so if you edit that value accordingly, you need to lower the ring-towards-shortcuts movement editing that middle value, and you'll notice that the whole animation is dropped down..the result is that shorcuts 1 and 4 will follow the same stock movement, but less inclined, while shortcuts 2 and 3 will follow the stock movement as well but this time in the opposite direction allowing the unlock movement

Inviato dal mio HTC Sensation XE with Beats Audio Z715e con Tapatalk 2
[Android Themes] xcesco89:
hi guys!

this is the work i've done until now:

Now i'm playing with lockscreen_ringscontainer.x10 values to try to stop the movement of the ring when the shortcuts are pressed.

i've read the whole thread searching a solution.

with these values , when i press the shortcuts , the lockring moves only orizontally ( and this is a little step ahead). i've tryed to change all the positioning values ( offset, position, size) but with no results.

Can anyone point me to a possible solution? :)

Edit:

reading previous posts i've figured out my error :P

i've not stopped the vertical movement, i've simply shifted down the animation area and the lock ring now runs on it's upper edge :P

damn me
[Android Themes] egren58:
Jw is it possible to remove the music controls from lock screen and still get the messages notifications?.. I removed the controls but I still font get messages notification preview on lockscreen while playing music.
[Android Themes] Ex Inferis:
thank you!

I will try :good:
[Android Themes] memnoc:
This is StarGate lockscreen Dougi's version LOL

Inviato dal mio HTC Sensation XE with Beats Audio Z715e con Tapatalk 2
[Android Themes] memnoc:
it couldn't work, hitbox values control the area where the actual touch in that portion of pixel ends up with the activation of method in smali to move the shorcut itself towards a specific path, and most of all, to let to the system knows that this specific portion of the hitbox area own to the first,second,third or fourth shortcut without room for errors..so for ex, you can left the icon-shorcut in the same position, but moving the hitbox area you can call it in whatever part of the screen, but it wouldn't unlock cause the movement of shorcuts towards ring and the movement of the ring towards shortcuts are 2 different things..since we don't have any official documentation about how m10 works, we can just assume that the first movement is locked in smali-method, while the second one is editable via m10, but only in the 3 dimensions and in size and most of all only editing the whole movement, not the single shorcut..but theoretically i found a solution for this problem too
[Android Themes] xcesco89:
I've made this lockscreen without using any modded base. I've made it from the stock and if you take a look at the resolution of the image, you will notice that this is the One-X lockscreen from Sense 4.5, not the Desire HD version.

I'm here for learn about M10 mods, and not for steal other user works.

yours is a meaningless accusal
[Android Themes] memnoc:
wow, what a bad reaction! LOL it wasn't meant to be offensive, i was just pointing out cause it's exactly the same mod dougi did for One X and Sense 4+ (dunno why you said dhd lol) so, not my problem, and anyway i don't care you can reproduce/copy whatever you want, we publish and explain hacks in thread like this exactly for this purpose, so let's back on topic:angel:

ps. here's a screen of Dougi's lock...
[Android Themes] xcesco89:
i've mentioned Dhd because i've used Google for find "stargate lockscreen", and the first result was the DHD thread.

So please, explain me why in your answer, the first thing you said sounded like "you are copying someone or you are stealing other user works"

Sorry all for this OT:rolleyes:
[Android Themes] il Duce:
Don't worry about memnoc, all is well here. This is about editing x10 learning.

Nobody owns a copyright on the lockscreen (except htc).
[Android Themes] memnoc:
i've never use the word steal man, nor hidden meaning in my post, i already told you it wasn't meant to be hurtful, and you can do whatever you want here (like @duce and I just told you) cause thread like these are being created for this specific purpose, ofc to learn and share..i also give you this advice, if you want to make your work public in the future, and this work looks really similar to someone else's one like in the screen you posted, you can still publish all of it, but a pm and a credit at least for the original idea and its author would be nice and fair enough, but still not mandatory, so it's up to you
[Android Themes] xcesco89:
'til now i don't want to publish nothing ( publish a work that was already made is senseless :P ). Sorry for this stupid OT, today was a f******g bad day . :eek:

Now back on topic :D

i wish to stop the animation of the lock ring when shortcuts where pressed. it's possible? :)
[Android Themes] memnoc:
you mean the jumping effect?
[Android Themes] xcesco89:
no, i'm trying to stop the animation when you press and hold a shortcut. As you know, when you drag a shortcut, the lock ring will follow your movement on the screen, i wish to lock this animation and drag the shortcut in the ring :P

i've already tryied to set the size of the area to 0:0 but with no succes and changing all the positioning values does nothing.
[Android Themes] memnoc:
What you'd like to do is possible and I did it once, but I remember there are issues with that, shortcuts won't be unlockable anymore..BTW, do not change dimens value, if you want to stop it comment it "false"

Also, disable that is not the way to unlock, editing timeline-ring.tracing is the way, even if you put the ring and shorcuts perfectly together so they exactly moved or not moved as you wish, you still have to deal with ring.tracing, cause it's the value which determines the perimeter of the unlockable area regardless from the actual shortcuts position..in few words, you can realise this keeping all unlockable and with fast unlock mode also

Inviato dal mio HTC Sensation XE with Beats Audio Z715e con Tapatalk 2
[Android Themes] xcesco89:
i think i've found a "possible"solution :P

setting this values to 0:0:0 the lock ring no longer moves, but, when i try to drag the shortcut in the ring, this runs away from the shortcut ( something like benny hill films LOL ).

( now, i've restarted the project and i've moved the ring to the lower right corner and the shortcuts are close to the left edge of the screen, vertically
[Android Themes] memnoc:
ofc it is so, you need to edit timeline:tracing not that value or at least both of them..btw i think i found it
[Android Themes] xcesco89:
i've already tried to edit all the values in timeline.ring_tracing but the ring still move :P

Editing that line, you can set how much the ring can move in the tracing area, but if you try to drag shortcut the ring still run away