[Q] Lockscreen modding Question Thread (smali m10,...) - Desire Q&A, Help & Troubleshooting

Hi,
I'm looking to make some changes on the Sense Lockscreen. My only problem is, that i never made this before. So i need some help from you to get it working.
First of all i know a bit of programing, so i'm not a 100% noob. I know c, c++, matlab, assambler.
I looked at the smali code at the idlebase.apk. For me it looks a bit like assambler. When i tryed to remove the ring bouncing the whole lockscreen had still all weather animations, but doesn't react on touch (removed my changes again)
What i'm looking for is:
1. change unlockposition from the shortcuts,
2. change the moving direction from the shortcuts,
3. make the weatherbackground taking the image from homescreen (like stock lockscreen),
4. remove the moving clock when touching somewhere at screen.
I found some functions like unlock(), or unlock(I). But there are only variables v1 p1, v2 p2,...
So where are the positions declared??
I really hope some devs are willing to share their experience with me.
HandyBesitzer

Related

Themes Ala Carte???

I haven't gotten into zip signing and all that yet. But I was wondering if it's possible or would even make sense to ala carte themes?
I saw a thread on fonts that sort of addressed this, but would it work of the clock and icons or other select things? Where instead of installing the whole theme, you could mix and match which ever you want?
I'm not sure what you mean but I'm guessing you wanna pull some icons from one theme and put it in another, yes that is possible and you MIGHT have to resign the zip and apk's.
You can just put the /system/apps or /framework folder by itself, with the updated apks in it, in an update zip and just flash it.
No that isnt what he means, he wants to know if you can just flash a specific set, such as just the fonts or just the clock or just the notification bar. Right?
While it does seem possible through a couple unrelated threads, the more you brake up the flashes, the more "ugly" the strucure gets/ That is not the correcr word, but it would probably be safer and cleaner to build a theme. But, I believe it is possible. Someone with a better understanding of the entire process, such as Stericson, could address your question with a little more certainty.
i took this as you like a clock that is held in theme A and the fonts in theme B and the icons in theme C and you want to flash those three components, if that is not right then please tell me and try to explain a little better what you meant by this. if you wanted that you would have to either extract those such items from the themes they are apart of(with the devs' permission of course) and then put them all into one zip and resign it, which isn't that hard at all, especially easy if you have windows and you download the auto-signer app. or if you do not want to make the sip and sign it you would have to ask the theme dev to extract the files for you and sign them for you and give them to you.
personally as a theme dev i would probably tell you to figure it out if you wanted parts of my theme, and if in a few days you decided to ask again i would be willing to help you. i certainly wouldn't just take the file you wanted and zip and sign them. i like to help people learn, that would be spoon feeding and i am really against that
My question is about the structure / theory of themes. Right now a theme consists of many things; a clock, icons, background, menu button….. and whatever a dev decides to put in that one update.zip is what you’re stuck with.
I’m wondering if you could have an update.zip that just does the clock without changing the other icons. And visa versa, and update.zip that just does the menu button without changing the clock…. And so on.
So as a theme creator can I create a bunch of clock update.zips.. or a series on menu buttons.. so themes become more like skins, where you can skin just the clock, or just skin the icons.
Can I install an update.zip for the clock. Then immediately after, install an update.zip for the menu button without messing up the install of the clock.
I’m not thinking of anyone’s themes in particular… and I’m not talking about a single update.zip that does the clock and icons.. I’m thinking of multiple update.zips that are either the clock or the icons or the font.. where it’s more ala carte.
theDante said:
My question is about the structure / theory of themes. Right now a theme consists of many things; a clock, icons, background, menu button….. and whatever a dev decides to put in that one update.zip is what you’re stuck with.
I’m wondering if you could have an update.zip that just does the clock without changing the other icons. And visa versa, and update.zip that just does the menu button without changing the clock…. And so on.
So as a theme creator can I create a bunch of clock update.zips.. or a series on menu buttons.. so themes become more like skins, where you can skin just the clock, or just skin the icons.
Can I install an update.zip for the clock. Then immediately after, install an update.zip for the menu button without messing up the install of the clock.
I’m not thinking of anyone’s themes in particular… and I’m not talking about a single update.zip that does the clock and icons.. I’m thinking of multiple update.zips that are either the clock or the icons or the font.. where it’s more ala carte.
Click to expand...
Click to collapse
Yes, that is very much possible. You WILL have to resign everything you edit though.
This can be done but certain apks contain multiple features (the Launcher.apk contains the clock and the programs drawer).
90% of all graphics, save for icons, are located in just three or four apk's, so you can't really mix and match all that much.
mannyb said:
90% of all graphics, save for icons, are located in just three or four apk's, so you can't really mix and match all that much.
Click to expand...
Click to collapse
Unless you are willing to dive deep into the waters, and learn what images are for what aspect and where they reside. Then, you can mix/match/replace as you see fit. My phone has a few icons from Blue Star 5, most from Fade to Blue, most elements are from Fade to Blue, some status icons from Code Name Ninja, a custom status bar & tray handle, a custom designed clock, and some custom text on the lock screen.
But it definitely involves some time and work, figuring out which elements I want, where to put them (or get them from if not creating my own files), resigning each APK, repackaging into an update.zip (or multiple updates, as I do incremental changes often flashing only the modified file over) resigning that, and crossing your fingers that you did everything right. Of course nandroid nandroid nandroid!!!
daveid said:
Unless you are willing to dive deep into the waters, and learn what images are for what aspect and where they reside. Then, you can mix/match/replace as you see fit. My phone has a few icons from Blue Star 5, most from Fade to Blue, most elements are from Fade to Blue, some status icons from Code Name Ninja, a custom status bar & tray handle, a custom designed clock, and some custom text on the lock screen.
Click to expand...
Click to collapse
Definitely. Though that is almost as much work as making your own theme from scratch
mannyb said:
Definitely. Though that is almost as much work as making your own theme from scratch
Click to expand...
Click to collapse
Except for designing the icons, and all the painful work that Damnitpud put into the .9.pngs for FadetoBlue. It surely wasn't as easy at copy and paste to get it the way I wanted it. But, I gotta say, it is nice to have a theme that I know is unique and holds some really cool elements.
I took some of my friends complex line drawings, used one for the status bar, and three different ones for the launcher drawer. I also used a photo I had taken for the clock, while placing the minute/hour hands outside of the numbers - keeping the rest transparent so it would work on any background.
But, yeah, to the OP - anything is possible. But it can turn into you creating your own theme for the most part.
Cute girl too!
mannyb said:
Cute girl too!
Click to expand...
Click to collapse
That's my wife, I get to keep her forever now. We got married just under 7 months back. on a supposedly very lucky day 8/8/8. And, yeah, she is very cute!

[Q] Custom theme help (myn/riptide combo)

Hopefully someone can help me. a little background. I love a lot of the icons Riptide uses and the color menus. I also love a lot of the custom ui elements of myns.
In the past i have been able to "combine" the elements by editing the theme and have done a pretty good job doing the new riptide v9 and Myns rom (rls 4). I have everything almost exactly how i want it except for 1 part. This is what i am hoping someone can help with. As a warning i am not a developer just someone who has played around with changing themes etc to get the effect that i want.
In warm 2.2 when you pull down the notification bar you have a switch toggle. For some reason i cant seem to get it to show all the icons when i use riptide. it only shows 4. (see picture below.) I wouldn't mind the icons going back to the original ones in Myns if by changing them would still leave the icons on the notification bar itself as is. Anyone have any ideas on what i can tweak to try to get all of the toggles back on the screen? Is this something i would have to edit the .jars for? (havent had to edited them so far)
as an update i still can not get this working hopefully someone with more theme experience then me will be able to help. I have tried going .png by .png to find the gray boxes that show up. I believe i found them as the myn framework does not have that .png and it looks to be the box however i cant just remove the .png without bootloop. I am guessing i will have to adjust a .xml file or .jar to get this working as well

lockscreen and answerscreen

Hello, I'd like to know if it's possible to change the lockscreen to something like htc's theme : sense - slate
and I'd also like to change my answer screen to the same style
drag down the slider to answer, or up to decline
I'm using litening rom 1.4 and I avoided the market lockscreens, I feel like they don't integrate that well with the system.
thanks
Try widgetlocker.hI
WidgetLocker worked perfectly for me. Big THANKS! Even let me remove the default lockscreen completely. As result it runs actively all the time so that it can activate the widget locker when needed but it has barely made use of the battery which is good.
The only issue I've seen is a slight flicker when unlocking (hardware key) the phone where you see a frame or two of the screen for a split second after which the lockscreen comes up but this issue has also been on and off.
Definitely recommend it.
-AndroidFreud.

[Request] Can Somebody Make/Help me Make a Very Blue ICS Theme?

I am looking for a relatively simple theme for stock ICS, all I want are things like the app circle, (if possible) the google bar at the top, text, and everythingelse possible in ICS Blue/black and if it isn't a pain, have the home screen horizontal scroll bar black with a blue curser like in the app menu. I have tried changing some of the .png files but don't know the location of all the files nor know how to edit .9.png files. It should be easy for anyone with half a brain, maybe time consuming though with all the files to change. If anyone can give me a detailed tutorial (haven't found a really easy-to-follow one yet) or make it for me, it would be appreciated. Thanks.
(This is technically a question, however I think it best fits this section. If this is the wrong section I'll report it to a mod.)
Bump also forgot to add I'm running the newest AOKP (26).

[REQ]Help centering TouchWiz Launcher's all apps icon

I know everyone has their own preferences and reasons for using a particular launcher, but I love the smoothness of the stock launcher and have modded mine enough that to me it is just as good as any other launcher. My only issue now is the placement of the all apps icon. I've been working for about a week and a half trying to find the code that forces the icon to the far right and have come so close to pinning it down but still haven't found a solution. I know that it could easily be fixed in the ICS seclauncher, but the JB one seems to use a completely different method of putting that icon in a foreign layout position.
I've been reading the actual java code in eclipse on one screen, and making my smali edits on another. Logcatting has been the most help, but now I'm totally stumped. If anyone else has attempted this, please share any info you might have.

Categories

Resources