{HELP} Interactive Help Forum!{TUTORIALS} Where questions are encouraged!

Search This thread

il Duce

Inactive Recognized Developer / Retired Forum Mod
Feb 25, 2009
16,727
16,454
Twin Cities, MN
sense 3.0+ lockscreen stuff

another m10 lockscreen tutorial.

this one is cool (I guess I think all my mods are cool lol)

STRAIGHT SHORTCUT ICONS AND TEXT.

I don't use the navbar so straight icon shortcuts is cool to me. I also don't use the shortcut label text BUT if you do and you're gonna make the icons straight, you also need to know how to make the text match :)

so with m10 editor:

1. load Idlescreen_Base.apk.

2. click decode images and decompile shortcut.m10

3. expand 0x0dc105ce/Lockscreen_Shortcut/

4. click /timeline.shortcuticon01

5. on the right side click the "position" (stock is 473:582:-0)

6. edit the middle number (582) to 570 (should match icon02 and 03)

7. repeat steps 5 and 6 for "timeline.shortcuticon04"

8. click /textcomp.shortcut.name4

9. on the right side click "position" (stock is 475:643:0)

10. edit the middle number (643) to 638 (should match name2 and 3)

11. repeat steps 9 and 10 for "textcommp.shortcut.name1"

12. save file, push to phone

winning.
 

Robobob1221

Senior Member
Feb 4, 2012
1,351
515
取手市。日本
Well, here's my little contribution to the thread... this was actually done by fernando, but i didn't see it listed on the OP so, i thought i'd write it up. All credit for this mod to fernando sor.

A SIMPLE WAY TO DO TRANSPARENCY THROUGHOUT MOST OF THE SYSTEM.

Decompile com.htc.resources and open res/values/styles.xml

Change this code (on line 401)

<style name="Htc" parent="@android:style/Theme">

to this code:

style name="Htc" parent="@android:style/Theme.Wallpaper">

Then add this item:

<item name="android:windowBackground">@color/transparent</item>

recompile and enjoy transparent goodness.

This mod will effect several system apps as well as many other user installed apps (xda, tapatalk, gtalk, ect...)

EDIT: I followed this, pushed it back and it worked but a few of my system apps FC'd so I rebooted but it went into a bootloop.
I dunno what's up. I'm thinking the KDDI rom must be too different from the Sprint version. I've had issues with most of the transparency mods:confused: I should say that com.htc.resources apk I have only has 242 lines.
Does anyone have a stock Sprint com.htc.resources.apk so I can compare them please, if possible? TIA.
Also I'm using an EVO 4G.
 
Last edited:

antny

Senior Member
Dec 10, 2008
280
43
Portland
OnePlus 6T
Google Pixel 6
does one have the android sdk installed.?
if not
link to it

do you have adb set to your paths.
if not .
im on windows 7 so this may /will be different on other operating software.
i installed the sdk in the root of c:/ as sdk

if/once installed locate the position of your adb.exe.
usualy found in platform tools folder of sdk.

if win 7 like me .in the folder containing adb ,tap the address bar and copy the address.
scrren%201.png

right click computer
select properties
on the left select advanced system settings.
then on the "environment variables" button
screen%202.png

screen%203.png

in the bottom box scroll to paths.
edit
nav to the end line .
add ";" without the quotes to the end of the line .
then enter the path to adb that you should have in clipboard.
mine is C:\SDK\platform-tools so entering that into paths would be
;C:\SDK\platform-tools
for what its worth i added the path to both boxes .but dont think its needed.
also while in there add the paths to java and apktool of choice also . "save you getting java errors later"
now test adb
open cmd prompt windows key +r or hold shift right click a folder open a cmd prompt here .saves you typing an address to a folder.
adb remount
adb devices
adb whatever you want really

hope that helps mate .
bit extreme a post i know but hopefully helps out others.
you should be able to use adb from anywhere on pc.

You sir, are a prince. Thanks a ton, I have no problems starting up APK Manager now. Now lets see if I'll be able to do anything useful with it.
 

jeffsanace

Senior Member
May 5, 2010
2,798
2,824
Wilmington, De.
All links added to the OP, even duce's. LOL Thanks everyone for your participation, XDA is a better place for it! I can feel our image getting better with each person we help.
 
  • Like
Reactions: il Duce

jeffsanace

Senior Member
May 5, 2010
2,798
2,824
Wilmington, De.
Ok so if I recolored them and in the process changed the border a lighter shade black I can just recolor the border in PhotoShop and recompile right? No need to redraw in draw9patch

Sent from my PC36100 using XDA

Just make sure the patch lines don't change in shade or color. The black lines around the image. Those lines are the patch, so altering them in any way will break the patch.
box_launcher_top_pressed.9.png
 
  • Like
Reactions: jboyer0000

silverxbv2

Inactive Recognized Themer
Jun 28, 2010
1,946
999
Ok so if I recolored them and in the process changed the border a lighter shade black I can just recolor the border in PhotoShop and recompile right? No need to redraw in draw9patch

Sent from my PC36100 using XDA

I use gimp. But I'm sure its similar in Photoshop. I trace the image just inside the border with the select rectangle tool before I edit 9pngs. That way you can recolor, change hue, saturation, whatever and all of your changes are inside the patch. I've never broken a 9png with this method.

Sent from my ADR6425LVW
 

Top Liked Posts