New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
dreamsforgotten
Old
(Last edited by dreamsforgotten; 19th July 2011 at 04:05 AM.)
#1  
dreamsforgotten's Avatar
Senior Member - OP
Thanks Meter 2487
Posts: 4,934
Join Date: May 2010
Location: Louisiana

 
DONATE TO ME
Default [MOD][acs][alpha]tsm lockscreen port music controls

DREAMSFORGOTTEN
and ACS SYNDICATE
PRESENT

TSM-LockscreenParts Port 3 Lockscreens for the Nexus S

Original thread
http://forum.xda-developers.com/show....php?t=1030028

Please take a second to visit and thank teamsbrissen for their hard work on creating this app plus supporting me and maddoggin during the port. Thanks to maddoggin for getting me started and sharing the epic source. Thanks to dagr8 in irc for answering questions.




This is my progress so far porting the lockscreen parts mod to the Nexus S. Once you install this mod, you settings.apk will be modded as well. When you hit the soft menu, and choose settings, below the about phone option will now be a choice called Locksreen Parts. Then choose Lockscreen Settings. First thing first, there is a choice at the bottom called Custom App. This is very important. Choose an app for that before you do anything else. What this assigns is an app to open when you use the 4tab lockscreen the top tab on the right is labeled TSM. When you slide that tab if you do not have an app selected, you'll reboot. Once you set that then open the app and choose between the first 3 choices, AOSP, 4Tab, and Rotary. All three lockscreens have the music controls on them. They work with the native Google music app I'm not sure about many aftermarket ones because I don't use them.

If you choose a lockscreen that isn't available nothing bad will happen, it will simply revert to AOSP. I'm calling this an alpha because it's unpolished, and it's merely a stopping point on me getting more to work. I would post the source but I can't see hosting it. The source is smali and it's available by going to google, finding smali and baksmali, once you download both those jar files, place them in a folder. Place my android.policy.jar into that same folder. Now with java installed on your machine (win/linux) run the following command to decompile the file:

java -Xmx512m -jar baksmali.jar classes.dex -o classout/

to Recompile the classes.dex if you were to make an edit run this

java -Xmx512m -jar smali.jar classout/ -o classes.dex

Then you will be able to see all the files that I have edited. Eventually I'll get around to posting the output from a diff compare to make it easier on anyone wanting to get into this.



INSTALL INSTRUCTIONS:

Rom Base Stock GJR22 Deodex
(Means if your on a built from source rom I can't promise anything)
Download zip file
Place on SD card
Flash Nexuslockscreen.zip in CWM
Erase dalvik-cache
Enjoy


WARNING: This will de-Theme your phone. It contains a modded framework-res.apk.


DOWNLOAD
HERE
**Link to home site this is to track traffic and stats on downloads, no hoops to jump or payments necessary.


****NOTE: Nexus S owners (GSM) I don't know if this will work on you guys phone, its an edit to android.policy.jar and framework.jar. I'm not sure how they correspond between 2.3.4 on our phone and yours. Feel free to nandroid and become a Guinea pig for the sake of others





Follow Me:
Twitter @Dreamsforgott3n
Facebook

If you feel like donating you can here:

I quit school because of recess...they play too much
"I find it kinda funny....Find it kinda sad....That the dreams in which im dying...Are the best I've ever had..."
-Gary Jules
If you want to learn to develop, check out http://www.dreamsforgotten.net.

Fixed lol..Fixed for real this time!
Look out for your devs PayPal is appreciated.

Learn to Theme: Includes links to the next guide at bottom
The Following 3 Users Say Thank You to dreamsforgotten For This Useful Post: [ Click to Expand ]
 
dreamsforgotten
Old
#2  
dreamsforgotten's Avatar
Senior Member - OP
Thanks Meter 2487
Posts: 4,934
Join Date: May 2010
Location: Louisiana

 
DONATE TO ME
Reserved for changelog
I quit school because of recess...they play too much
"I find it kinda funny....Find it kinda sad....That the dreams in which im dying...Are the best I've ever had..."
-Gary Jules
If you want to learn to develop, check out http://www.dreamsforgotten.net.

Fixed lol..Fixed for real this time!
Look out for your devs PayPal is appreciated.

Learn to Theme: Includes links to the next guide at bottom
 
luckylui
Old
#3  
luckylui's Avatar
Senior Member
Thanks Meter 303
Posts: 3,802
Join Date: Aug 2010
Location: Chi-Town
Im liking this!!! You sir are a genious along w those who took part on this project! Thank you for the hardwork, i will d/l and put it up n see.

NS4G°
Current: HTC One 32GB
T-Mobile/AT&T

Past: LG N4 8GB
T-Mobile/AT&T

Past: Samsung Galaxy Nexus HSPA+
T-Mobile/AT&T
Hardware 9

Tablet: ASUS N7 8GB

Sent from my shuttle to mars!
 
dreamsforgotten
Old
(Last edited by dreamsforgotten; 16th July 2011 at 05:35 AM.)
#4  
dreamsforgotten's Avatar
Senior Member - OP
Thanks Meter 2487
Posts: 4,934
Join Date: May 2010
Location: Louisiana

 
DONATE TO ME
Quote:
Originally Posted by luckylui View Post
Im liking this!!! You sir are a genious along w those who took part on this project! Thank you for the hardwork, i will d/l and put it up n see.

NS4G°
Thanks, one more thing clear your dalvik cache after flashing

Sent from my Nexus S 4G using Tapatalk
I quit school because of recess...they play too much
"I find it kinda funny....Find it kinda sad....That the dreams in which im dying...Are the best I've ever had..."
-Gary Jules
If you want to learn to develop, check out http://www.dreamsforgotten.net.

Fixed lol..Fixed for real this time!
Look out for your devs PayPal is appreciated.

Learn to Theme: Includes links to the next guide at bottom
 
luckylui
Old
#5  
luckylui's Avatar
Senior Member
Thanks Meter 303
Posts: 3,802
Join Date: Aug 2010
Location: Chi-Town
Quote:
Originally Posted by dreamsforgotten View Post
Thanks, one more thing clear your davlik cache after flashing

Sent from my Nexus S 4G using Tapatalk
Thank you

NS4G°
Current: HTC One 32GB
T-Mobile/AT&T

Past: LG N4 8GB
T-Mobile/AT&T

Past: Samsung Galaxy Nexus HSPA+
T-Mobile/AT&T
Hardware 9

Tablet: ASUS N7 8GB

Sent from my shuttle to mars!
 
dreamsforgotten
Old
#6  
dreamsforgotten's Avatar
Senior Member - OP
Thanks Meter 2487
Posts: 4,934
Join Date: May 2010
Location: Louisiana

 
DONATE TO ME
Quote:
Originally Posted by luckylui View Post
Thank you

NS4G°
your welcome

Sent from my Nexus S 4G using Tapatalk
I quit school because of recess...they play too much
"I find it kinda funny....Find it kinda sad....That the dreams in which im dying...Are the best I've ever had..."
-Gary Jules
If you want to learn to develop, check out http://www.dreamsforgotten.net.

Fixed lol..Fixed for real this time!
Look out for your devs PayPal is appreciated.

Learn to Theme: Includes links to the next guide at bottom
 
shabbypenguin
Old
#7  
shabbypenguin's Avatar
Recognized Developer
Thanks Meter 3679
Posts: 3,565
Join Date: May 2010
Location: St. Petersburg FL

 
DONATE TO ME
brilliant as always man
If you enjoy my work, you can always feel free to buy me a coke
 
dreamsforgotten
Old
#8  
dreamsforgotten's Avatar
Senior Member - OP
Thanks Meter 2487
Posts: 4,934
Join Date: May 2010
Location: Louisiana

 
DONATE TO ME
Quote:
Originally Posted by shabbypenguin View Post
brilliant as always man
Thanks shabby!

Sent from my Nexus S 4G using Tapatalk
I quit school because of recess...they play too much
"I find it kinda funny....Find it kinda sad....That the dreams in which im dying...Are the best I've ever had..."
-Gary Jules
If you want to learn to develop, check out http://www.dreamsforgotten.net.

Fixed lol..Fixed for real this time!
Look out for your devs PayPal is appreciated.

Learn to Theme: Includes links to the next guide at bottom
 
Paleryder
Old
#9  
Paleryder's Avatar
Senior Member
Thanks Meter 106
Posts: 803
Join Date: Apr 2011
Location: Chicago

 
DONATE TO ME
Thanks Dreams looks awesome, flashing now.

Sent from my Nexus S 4G using XDA Premium App
 
dreamsforgotten
Old
#10  
dreamsforgotten's Avatar
Senior Member - OP
Thanks Meter 2487
Posts: 4,934
Join Date: May 2010
Location: Louisiana

 
DONATE TO ME
Np, report back any issues I'm going to try to add in battery as percent to it tomorrow

Sent from my Nexus S 4G using Tapatalk
I quit school because of recess...they play too much
"I find it kinda funny....Find it kinda sad....That the dreams in which im dying...Are the best I've ever had..."
-Gary Jules
If you want to learn to develop, check out http://www.dreamsforgotten.net.

Fixed lol..Fixed for real this time!
Look out for your devs PayPal is appreciated.

Learn to Theme: Includes links to the next guide at bottom


XDA PORTAL POSTS

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more