I would like to develop a new lockscreen for the my Vibrant. I've looked at some of the app versions. I like the concepts, but it seems like a lot of people complain about battery life and lag of the screen. I would like to make an actual lockscreen, not an overlay.
I am currently running Bionix 1.2.1. I would like to either add the lockscreen as an option on the menu provided in the Bionix Rom or flash the lockscreen in clockwork.
My first questions is, is this possible? Second question is how, or where is there somewhere i can look to get started?
I've looked around in the forums and I haven't seen any guides or any good info on this.
This would be my first jump into development for Android, but I'm willing to put in the time and effort as long as I can find a starting point in this area or get some help.
If this is built deep into the ROM and a difficult process I can find a different project, but I'm always up for a challenge. Any help would be appreciated.
MechDan said:
I would like to develop a new lockscreen for the my Vibrant. I've looked at some of the app versions. I like the concepts, but it seems like a lot of people complain about battery life and lag of the screen. I would like to make an actual lockscreen, not an overlay.
I am currently running Bionix 1.2.1. I would like to either add the lockscreen as an option on the menu provided in the Bionix Rom or flash the lockscreen in clockwork.
My first questions is, is this possible? Second question is how, or where is there somewhere i can look to get started?
I've looked around in the forums and I haven't seen any guides or any good info on this.
This would be my first jump into development for Android, but I'm willing to put in the time and effort as long as I can find a starting point in this area or get some help.
If this is built deep into the ROM and a difficult process I can find a different project, but I'm always up for a challenge. Any help would be appreciated.
Click to expand...
Click to collapse
It's built-in quite deep, a lot of files need to be edited. Whitehawkx actually PMed me on how to do this the other day, and it sounds quite complicated.
You'll first obviously need to create your .png's to dictate the lockscreens appearance. Then you will have to have coding knowledge, along with knowledge of smali/baksmali and editing .xmls. Thats a VERY brief overview until someone more knowledgable jumps in.
I can do some programming. I've done C++ and I have done some visual basic for work. I just haven't done any Java. I think with all the information here and on Google's developers page I could work my way though it. I would just need a general guideline. I can edit the .png's. I don't think that would be much of a problem.
It might be easier if I could edit an existing one. I like the concept of the puzzle lock. I just think it is kind of hokey. It would also be nice to have a little be more info on the screen and to have emails show up.
Would you be willing to send me what Whitehawkx sent to you? I'm not sure if that is ok.
I don't mind researching my way through it and learning as I go, I was just hoping someone had done something similar.
MechDan said:
I can do some programming. I've done C++ and I have done some visual basic for work. I just haven't done any Java. I think with all the information here and on Google's developers page I could work my way though it. I would just need a general guideline. I can edit the .png's. I don't think that would be much of a problem.
It might be easier if I could edit an existing one. I like the concept of the puzzle lock. I just think it is kind of hokey. It would also be nice to have a little be more info on the screen and to have emails show up.
Would you be willing to send me what Whitehawkx sent to you? I'm not sure if that is ok.
I don't mind researching my way through it and learning as I go, I was just hoping someone had done something similar.
Click to expand...
Click to collapse
modifying would be the way to go... and unfortunately it has nothing to do with java coding, but dalvik bytecode (which is a major pain... untermensch & whitehawk are heroes with that bytecode).
Anyways, I believe it's in services.jar. You'd have to pull out classes.dex from it and decompile. check this post on how to decompile. and you're going to need the smali & baksmali jars...
anyways after you decompile you're stuck with lots of .smali files which contains the bytecode you would need to modify... it's really difficult to understand it heh
Whitehawkx said:
So you are using the other four lockscreens but want to get the rotary to work as well and are looking for what files are necessary for that to happen, correct?
The files I changed to get the rotary working on KB1 are as follows
Framework-res.apk
~public.xml
~strings.xml [I think one change here]
~Images are already in stock frameworks and already in place
android.policy.jar
~New smali used for rotary. All have "rotary" in their title
~changes to LockPatternKeyGuardView.smali
Settings.apk
~Changes to DisplaySettings.smali
~Changes to arrays.xml
I believe these are all the files I had to modify to get the rotary working.
Click to expand...
Click to collapse
heres what he said when i inquired. unfortunately he didnt go into much detail, i did send him another PM....but keep in mind these are the steps to simply inject an outside lockscreen into your current ROM, not necessarily how to build one from scratch
hopefully these steps may still give you an idea of where everything is located
I always wanted one that opens from the middle of the screen like a matinee curtain. That would be awesome.
Sent from my SGH-T959 using XDA App
Thanks guys! I'll start working with that and see what I can come up with. It looks like I have a lot to learn about it.
I'll try working through it and hopefully I will come up with some more specific questions that may be easier to answer.
Also, if you think of something that may help, let me know. I would appreciate it very much.
With the starting points already given i would build the lockscreen using aosp then port it to your rom. Once compiled you can decompile then different it
Sent from my Incredible using Tapatalk
Firstly, I am using Mik's rom.. with pngs modified to my liking.. I have also searched around quite extensively for getting my questions answered.. but without any success.
I have been trying to mod the rosie launcher and am running into a few issues.
1. I can mod the icons pretty easily.. no problems there.. I can also remove the text "Phone" from the center icon.. but phone image is a little off center plus it is vertically offset (shifted a little up). I was told I can play around with the png image file and get that fixed.. however.. I am wondering if there is an xml file in particular that defines the x and y co-ordinates of the launcher icons. So yea.. I am verse with adb, decompiling, recompiling etc.
2. I am looking for a way to get the phone on the left and app drawer in the center.. any guidance with regards to this will be of great help to me. I am guessing this is somewhere in the smali files in Rosie.odex. I have decompiled it resulting in a bunch of smali files.. can someone tell me which particular one I am supposed to edit?
3. Wanting to know if there is any way to add a 4th button to the rosie launcher instead of the usual 3.
Again, I am looking for the know-how... NOT just a mod that I can apply via flashing.
I appreciate anyone who can direct me to a tutorial or a guide.
Thanks.
wow.. not a single reply!... I guess I would have gotten at least a few responses if I had posted this in the development section.
Grab one of my Rosie mods on theMikMik. It has the phone on the left and app drawer in the middle. grab one of those and mod it to your liking
chingy51o said:
Grab one of my Rosie mods on theMikMik. It has the phone on the left and app drawer in the middle. grab one of those and mod it to your liking
Click to expand...
Click to collapse
Thanks.. but like I said "Again, I am looking for the know-how... NOT just a mod that I can apply via flashing.""
I want to know which xml files require the editing etc. I am surprised there are no Rosie Guides anywhere that explain which xml/smali files are commonly involved the typical mods.
hey guys. is it possible to hide the status bar from the lockscreen? I'm good with .xml, .smali or any other kind of edit. i just need to be pointed to where I would need to go.
I tried searching and came up empty handed. i'm trying hard to like the lock screen. i already changed the backgrounds (much better now), currently working on a custom lockring, last thing would be to hide that ugly status bar...it's only showing me what the lockscreen already shows anyways.
thanks for the info.
Download the app Widget Locker...U can remove taskbar and also a lot of customization to your style
I'm a big WidgetLocker fan, with my own custom themes made and all that when i was on the Evo 3D. i'm trying to move on with the times and use this nifty sense lockscreen. just has a few kinks to work out.
but if i dont end up fixing it to my liking soon enough i'll download widgetlocker again.
anyone else have any ideas as to how to get this done?
If you go into titanium backup, and freeze statusbar, it will do what you want, it will also remove in regular screen, possibly decompile lockscreen.apk and see if you can do it there.
life64x said:
If you go into titanium backup, and freeze statusbar, it will do what you want, it will also remove in regular screen, possibly decompile lockscreen.apk and see if you can do it there.
Click to expand...
Click to collapse
that is not what I want to do at all. I don't want to make the status bar unavailable everywhere in the system. just within the lockscreen.
if I knew where to go, I can make .xml and .smali edits or whatever else. I just don't know how to search for things from scratch :-(
Max_Pain said:
that is not what I want to do at all. I don't want to make the status bar unavailable everywhere in the system. just within the lockscreen.
if I knew where to go, I can make .xml and .smali edits or whatever else. I just don't know how to search for things from scratch :-(
Click to expand...
Click to collapse
I'm just guessing, so this could be a useless thought, but... I think checking in idlescreen base would be a good start. You wouldn't probably want to mess with this in system UI because that would likely just hose the whole bar. Team d3rp seems to have maybe figured out making the bar transparent, which would leave the icons and if course be clear everywhere else too... but it's still finicky across the roms, so not quite done yet. pstevep is the man, and maybe could help? See what you can find and then maybe send him a pm.
bumpity bumb
bump, bump, bumpity bump.
any way to do this?
i would say edit lockscreen.apk (decompile and fish around) and also look in a androidpolicy.jar probably some lines of code your could remove/add to make it happen.
clever idea by the way. i am still trying to resolve issues with my idea of clearing notifications from the lockscreen by double tapping the home key. had it figured out for a little bit but it was causing apps to force close :/
again i like your idea... i probably wouldn't use it myself simply because i wouldnt be able to see important details or notifications etc without unlocking the phone
Bump
Hello, excuse me if I post this in the wrong section I am new to this forum.
I would like to know some things about the advanced modifying of GoLauncher themes, or basically android themes in general.
Is there any way to edit the dock on the home screen of a theme to place it somewhere else on the screen and have the ability to make it slide out or pop up from somewhere? I know how to do the graphical side of this but I need a little push in the right way for the programming bit. I do know how to decompile, compile and sign apk files.
Thanks in advance,
Qab
(Might as well ask it here since I did not recieve any reply in the theme section).
Hey anyone out there good at themeing some things, got any ideas on what i (a TOTAL 100% Noob) would have to do to edit some of the things in sense 5? possibly create a theme?
I dont need like a super long drawn out tutorial on EVERYTHING id have to do, unless youd be so kind as to provide one.
Just general bits and pieces and ill put together something from a collab of information given here ive been thinking about making a theme for a while but TOTALLY lack the skills lol
any information you can give as to what might work, what worked in sense 4.5, and what will very likely work in sense 5.0 id love to hear it. Even if its just somethin small my ears and eyes are WIDE open.
Ok so luckily for you skins have been removed in Sense 5, so the theming process is a bit easier (no need to extract m10 files and such). Basically though, you'd take the apk you want to edit, and decompile (extract) it. This can be done using apktool. To get that working, use these tools and this guide. Once your done editing your apk file, recompile (compress) it using "apktool b decompiled_folder_name" (or by reading the guide). Once it has successfully been compiled, sign it with this (copy the PPC Geeks folder to the /Program Files directory on your c: drive, and create a shortcut of the .exe file on your desktop) or you can alternitavely use this tool, which includes an option to zipalign (optimize?) the apk as well as sign it. However, if you use the latter, make sure to sign with test, not private keys.
Also I should mention that the majority of the images you will be editing within the apks are located in /res/drawable-xxhdpi, and the color of most of the text in the apk will probably be located in either /res/values/colors.xml, or /res/values/styles.xml. You may stumble upon a few ".9" images, which are special images that will only stretch along the places that are overlapped by the 1px tall border surrounding them. I recommend using this program to create your own .9 images, or you can edit pre-existing .9s in an image editor progam like photoshop or gimp, just make sure that you do not touch the black 1px border (9patch).
That's all! Good luck, have fun, and you're welcome
ssojyeti2 said:
Ok so luckily for you skins have been removed in Sense 5, so the theming process is a bit easier (no need to extract m10 files and such). Basically though, you'd take the apk you want to edit, and decompile (extract) it. This can be done using apktool. To get that working, use these tools and this guide. Once your done editing your apk file, recompile (compress) it using "apktool b decompiled_folder_name" (or by reading the guide). Once it has successfully been compiled, sign it with this (copy the PPC Geeks folder to the /Program Files directory on your c: drive, and create a shortcut of the .exe file on your desktop) or you can alternitavely use this tool, which includes an option to zipalign (optimize?) the apk as well as sign it. However, if you use the latter, make sure to sign with test, not private keys.
Also I should mention that the majority of the images you will be editing within the apks are located in /res/drawable-xxhdpi, and the color of most of the text in the apk will probably be located in either /res/values/colors.xml, or /res/values/styles.xml. You may stumble upon a few ".9" images, which are special images that will only stretch along the places that are overlapped by the 1px tall border surrounding them. I recommend using this program to create your own .9 images, or you can edit pre-existing .9s in an image editor progam like photoshop or gimp, just make sure that you do not touch the black 1px border (9patch).
That's all! Good luck, have fun, and you're welcome
Click to expand...
Click to collapse
Hey thanks alot i will definitly check this out, looking to add some transparency throughout the rom. Does anyone know what blinkfeeds apk is named o.o
Prizm something
Sent From My Sweet Ass EVO LTE
dased14 said:
Prizm something
Sent From My Sweet Ass EVO LTE
Click to expand...
Click to collapse
guys if i wasnt outta thanks today id throw you both one (EDIT: Aparantly xda thinks that the middle of the day is the time for renewing thanks -_-) thanks a bunch. Not too sure how to edit XML files now, all im trying to do at the moment is make blinkfeed's background transparent, however i am lost as to how to even read XML files at the moment, dont have a program on my computer that displays it correctly.. I found how to do the new weatherclock, and steal25 is working on the App drawer, and Sysui pull down.
Well theres vts(can decompile and recompile)and has a notepad++ type thing built in and notepad++ is a must for any themer to read xmls, smali (but need apktool, or something like it to decompile and recompile)
Sent From My Sweet Ass EVO LTE
dased14 said:
Well theres vts(can decompile and recompile)and has a notepad++ type thing built in and notepad++ is a must for any themer to read xmls, smali (but need apktool, or something like it to decompile and recompile)
Sent From My Sweet Ass EVO LTE
Click to expand...
Click to collapse
What he said Notepad++ is the best.
And Prism.apk is what you're looking for.
Gumby63 said:
What he said Notepad++ is the best.
And Prism.apk is what you're looking for.
Click to expand...
Click to collapse
Downloading it now, thanks for the responses guys i really appreciate it especially coming from all of you recognized themers with 1000+ thanks. Wow i feel like im going to do good here.
and yeah i found the prism, and the XML file i need to edit for blinkfeed to be transparent, and i actually got some config from someone in the general thread too! ill try to have blinkfeed and some other stuff transparent by the end of the day tomorrow. (like thats gonna happen right?)
igotlostintampa said:
Downloading it now, thanks for the responses guys i really appreciate it especially coming from all of you recognized themers with 1000+ thanks. Wow i feel like im going to do good here.
and yeah i found the prism, and the XML file i need to edit for blinkfeed to be transparent, and i actually got some config from someone in the general thread too! ill try to have blinkfeed and some other stuff transparent by the end of the day tomorrow. (like thats gonna happen right?)
Click to expand...
Click to collapse
Keep in mind that when you're editing colors, the first two digits in the hex code control transparency...also don't be surprised if edits need to be made in multiple places...sometimes both an image and a color need to be set to transparent
Sent from my EVO using Tapatalk 2
ssojyeti2 said:
Keep in mind that when you're editing colors, the first two digits in the hex code control transparency...also don't be surprised if edits need to be made in multiple places...sometimes both an image and a color need to be set to transparent
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Oh man, if i started off thinking it was going to be easy for me, i would think you guys have it easy, and i dont. I knew this would be a difficult task when i jumped ship on this transparency thing and hope i can get it out soon because sense 5.0 is amazing as it is now, and i wanna add that touch of beauty its missing.
Feel free though guys, if anyone wants to get this going without me go for it. Ill be on it for like 3-4 days (possibly straight) figuring this stuff out before i have a even possibly close version of this looking right is my guess.
igotlostintampa said:
Oh man, if i started off thinking it was going to be easy for me, i would think you guys have it easy, and i dont. I knew this would be a difficult task when i jumped ship on this transparency thing and hope i can get it out soon because sense 5.0 is amazing as it is now, and i wanna add that touch of beauty its missing.
Feel free though guys, if anyone wants to get this going without me go for it. Ill be on it for like 3-4 days (possibly straight) figuring this stuff out before i have a even possibly close version of this looking right is my guess.
Click to expand...
Click to collapse
Would love to help but pc crashed about a week ago so im sidelined until i save enough for new one, but good luck
Sent from my Xoom using Tapatalk HD
igotlostintampa said:
Oh man, if i started off thinking it was going to be easy for me, i would think you guys have it easy, and i dont. I knew this would be a difficult task when i jumped ship on this transparency thing and hope i can get it out soon because sense 5.0 is amazing as it is now, and i wanna add that touch of beauty its missing.
Feel free though guys, if anyone wants to get this going without me go for it. Ill be on it for like 3-4 days (possibly straight) figuring this stuff out before i have a even possibly close version of this looking right is my guess.
Click to expand...
Click to collapse
I'm in the same boat as you. I want to get into learning this stuff too. Hopefully after this week is over, I will have a little more free time to learn.
Sent from my EVO using xda app-developers app
Its so good to see people want to learn. Keep it up bro. We need all the contributors we can get.
Only if everyone was like this
Thumbs up
Sent from my EVO using Tapatalk 2
igotlostintampa said:
Feel free though guys, if anyone wants to get this going without me go for it. Ill be on it for like 3-4 days (possibly straight) figuring this stuff out before i have a even possibly close version of this looking right is my guess.
Click to expand...
Click to collapse
Well if you need any help just ask away
Actually I haven't been able to start just yet as I've been a bit busy with errands and when I get on xda the forum is packed with things I needs throw in the sense 5.0 q/a thread. I'll start working on it soon and if I need any help I'll definitely post back here. Thanks a lot for your help and support guys
Sent from my EVO using xda app-developers app
igotlostintampa said:
Actually I haven't been able to start just yet as I've been a bit busy with errands and when I get on xda the forum is packed with things I needs throw in the sense 5.0 q/a thread. I'll start working on it soon and if I need any help I'll definitely post back here. Thanks a lot for your help and support guys
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
The intro to themeing thread in evo 3d themes and apps is a great place to start.
Sent from my EVO using Tapatalk 2