yashsingh1/xdaforums huggingface dataset:
[Android Themes] LfcFan1977:
[Solved] Transparent drag/draw line

Big thanks to Pendo for pointing me right to the correct spot.

Superb, thanks Pendo.

I could only get black 0x0 or white -0x1 until I changed it to the following:

.line 266
iget-object v2, p0, Lcom/android/internal/widget/LockPatternView;->mPathPaint:Landroid/graphics/Paint;

const/4 v3, [COLOR="Red"]0x0[/COLOR]

invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setColor(I)V

.line 267
iget-object v2, p0, Lcom/android/internal/widget/LockPatternView;->mPathPaint:Landroid/graphics/Paint;

const/16 v3, [COLOR="Red"]0x0[/COLOR]

invoke-virtual {v2, v3}, Landroid/graphics/Paint;->setAlpha(I)V

Which gave me full transparency. :D

Need to have a play around with is some more because I could not get different colours to either show or even compile most times.

Again, that you very much for the help.
[Android Themes] jeems:
Got the pattern lock color change to work in a theme for my droid X. Thanks for this!
[Android Themes] LfcFan1977:
Helpful guide to changing the text displayed [MOD] Pattern Lock screen - remove/add information

New one

patternlock_background.png - 480x762

btn_code_lock_default.png - Transparent

btn_code_lock_touched.png - Fingerprint

indicator_code_lock_point_area_default.png - Transparent

indicator_code_lock_point_area_green.png - Transparent

indicator_code_lock_point_area_red.png - Transparent

indicator_code_lock_drag_direction_green_up.png - Semi transparent small white blurred dot

indicator_code_lock_drag_direction_red_up.png - Semi transparent small white blurred dot

ic_emergency.png - white

The drag/draw line described in post #9 is transparent.

Anybody know what the emergency call button is named?

On screen it is a semi transparent rectangle. To change its appearance I have added a red retangle to the patternlock_background.png but I would like to edit the actual button to match the other red parts of the screen.
[Android Themes] LfcFan1977:
Request from manishdev

I was asked to shared the imaged I used to create my patternlock screens.

It is a bit of a jumbled zip file but it should help recreate what I've done.

It contains two xml files but the are just added as a guide, they are in no way to be used as a straight swap with the ones in your framework-res.

Hope it is of use.

download zip
[Android Themes] claimui:
It's been a while since I visited this thread, but I updated the earlier posts with pendo and LfcFan's updates on the pattern lock path color, and also byrong's reference to the pattern lock text. Thanks to everybody for their great work and contributions!
[Android Themes] BRIMS7ON3:
I have been looking forever for this info...THANKS!!

Question though...When I open keyguard_screen_unlock_portrait.xml, no matter whether I use Notepad++, UltraEdit, and Dreamweaver, they all open with partial text and mostly jumbled code/images..etc.

Also, line 4 does have a little text, but it's not related. The closest text I can find to "android:background=..." is line 16 but it has the above jumbled code and an http address.

I'm on Skyrocket i727 4.0.3..

Am I just not opening/viewing the xml correctly?

I changed it to txt and uploaded in case anyone can take a look..
[Android Themes] LfcFan1977:
@BRIMS7ON3

You need to decompile framework-res to be able to edit an xml file.

Search for decompile or apktool. It takes a bit of work to set it all up but well worth the effort.
[Android Themes] BRIMS7ON3:
I opened it in 7-zip, then extracted the xml. I take it neither doing that nor unzipping it get the same results?
[Android Themes] LfcFan1977:
@BRIMS7ON3

No, unzipping/extracting is ok for .png edits but for .9.png images, xml files and smali files, the only option is to decompile.
[Android Themes] GuestK0079:
well aint that cute :D

thank you

p.s. do you maybe know how to change the pattern lock path size ? To make it thinner.
[Android Themes] LfcFan1977:
All I know is that will be in smali/com/android/internal/widget/LockPatternView.smali
[Android Themes] Max_one:
Hi guys, i have two questions

- how do you decompile framework.jar ? I have tried by opening it with winrar but i have found only a preloaded-classes file and a meta-inf directory with a manifest.mf file. Nothing about the path you describe to change the color of the line you drag when unlock the screen

- how do you modify the png with the green and red circles ? With adobe photoshop i have to change the settings to rgb color but after that i obtain a very ugly image with black background.

Thanks for the help
[Android Themes] papabubadio:
There are few programs for decompiling .apk files:

- APK Manager

- APK Tool

- etc.

For images I'm using Gimp. It's almost same powerful as PhotoShop and easier to use (I rarely use PhotoShop <- dunno why :)). So I can't help you about that problem. It could be software if it's not original.
[Android Themes] RedSkyRoad:
Can I use this procedure on CyanogenMod 10? http://xdaforums.com/showthread.php?t=1786696&page=284
[Android Themes] aosimon:
Thanks for the awesome guide! Was able to modify the pattern lock dots to make it transparent for the wallpaper to show through. Fantastic!
[Android Themes] RedSkyRoad:
Can someone point me in the correct direction? I want to make the lines wider... Not sure what to edit...

Thanx
[Android Themes] LfcFan1977:
In my GB 2.3.5, I have a feeling it is in framework.jar\smali\com\android\internal\widget\LockPatternView.smali but something like that is beyond me.

If you find the answer, please enlighten us.
[Android Themes] iTK:
hi, i wonder if someone can help me, i wanted to make my pattern lock transparent so i can see my live wallpaper

my framework-res.apk\res\layout xml's are different, i attached a decompiled framework-res

anyone know how to make it transparent?
[Android Themes] LfcFan1977:
That phone/rom/theme is rather different to anything I've seen before but I am going to take guess at it.

In framework-res\res\layout-sw600dp\keyguard_screen_unlock_portrait.xml

Change
<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
To
<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient android:orientation="vertical" [COLOR="Red"]android:background="#00000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="fill_parent"
Or
<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient android:orientation="vertical" [COLOR="Red"]android:background="@drawable/patternlock_background"[/COLOR] android:layout_width="fill_parent" android:layout_height="fill_parent"

The second option requires you to add a patternlock_background.png to res\drawable\hdpi folder before you decompile.

Failing that, I would contact the rom/theme dev/creater for assistance.
[Android Themes] iTK:
thanks for trying, its a stock touchwiz ics 4.0.3 xwlpg rom for i9100 :/ didn't work

i found this and it didn't work either :

http://xdaforums.com/showthread.php?t=1874435

i will ask for help in i9100 q&a, again thanks for trying
[Android Themes] AmmarGitham:
Hi. This may be late but I thought I better share this here. I figured out how to change the width of the white path made while dragging the finger over the pattern.

Head into \framework.jar\smali\com\android\internal\widget\LockPatternView.smali

Search for this line:

iput v2, p0, Lcom/android/internal/widget/LockPatternView;->mDiameterFactor:F

Just above it must be something like:

const/high16 v2, 0x3f00

or

const v2, 0x3dcccccd

The HEX value could be anything. That is what to be changed. Now the first one was the default value for the my Gingerbread Stock ROM. The other one is from CM10. As I was making the JellyBean Theme for my ROM. I used the CM10 value. You can try different values to suit you. Make sure you know the difference between const and const/high16.

Here's the screenshot of the result:

​
[Android Themes] japanimation:
Hey guys, I've got the Galaxy s3 running Android 4.1.1 and I'm trying to make the Lock Path Color transparent, but to no luck.

I decompiled the framework.jar file, but there is no smali/com/android/internal/widget/LockPatternView.smali.

Is there a PNG file that is used for the lock path? I couldn't seem to find that either.

I've also tried editing the keyguard_screen_unlock_portrait.xml file, but nothing seems to effect the Lock Path Color.....

Any suggestions or advice? Thanks in advance
[Android Themes] LfcFan1977:
In my 4.1.1 version (for Htc Desire) it is underneath LockPatternView$SavedState.smali in smali/com/android/internal/widget/.

Run a search in the entire smali folder for "LockPatternView"

If you succeed, please let us know if anything has changed within
[Android Themes] japanimation:
Thanks for the tip LfcFan1977, but after a lot of searching and research, it looks like there are NO dex files OR smali files in the framework.jar for my version of Android (I'm in Korea with the SHV-E210L phone Droid 4.1.1 Build JRO03C.E210LKLJLK3). There's only a META-INF folder and a preloaded-classes file in the framework.jar :crying:

What I did find was all the smali files are in framework.odex, but there's no smali/com/android/internal/widget/ OR LockPatternView$SavedState.smali :confused:

I will keep working on this and keep you posted on my progress.

If anyone else has some useful tips or advice, it would be much appreciated.

Peace...

UPDATE:

Good news

found LockPatternView.smali, LockPatternView$SavedState.smali and LockPatternView$SavedState$1.smali files in framework2.odex not framework.odex

Bad news

There is no mPathPaint:Landroid/graphics/Paint; that was in your code LfcFan1977.

I even searched for -0x1 (white) but not there.

Now I just have to find out what to edit to get what I want.

If I can't find it, I may have to post the code and ask for some help.
[Android Themes] LfcFan1977:
@japanimation

Perhaps it is because your rom is not deodexed.

I have just editted the red highlighted part in smali/com/android/internal/widget/LockPatternView.smali. and changed the draw line to black.

.line 264
iget-object v7, p0, Lcom/android/internal/widget/LockPatternView;->mPathPaint:Landroid/graphics/Paint;

const/4 v8, [COLOR="Red"]-0x0[/COLOR]

invoke-virtual {v7, v8}, Landroid/graphics/Paint;->setColor(I)V

.line 265
iget-object v7, p0, Lcom/android/internal/widget/LockPatternView;->mPathPaint:Landroid/graphics/Paint;

const/16 v8, [COLOR="Lime"]0x80[/COLOR]

invoke-virtual {v7, v8}, Landroid/graphics/Paint;->setAlpha(I)V

I am assuming that if I edit the green highlighted part, that will change the level of opacity.
[Android Themes] RustyShackleford1950:
How do I paste my new framework file in when it keeps saying the system is read-only?

*edit* never mind, got it. be very careful renaming the file before replacing it in system/framework

it causes some... issues...
[Android Themes] kopfspalter:
Hey guys I tried to change the pattern lockscreen color from the green dots to blue dots. I changed in frameworks-res.apk the green lockscreen image to blue ones.

But when I reboot my device ... its green again.

Is there an xml file that I have to edit ??? to change the color
[Android Themes] AmmarGitham:
No. They are images only. You must have made a mistake somewhere. Check again.
[Android Themes] kopfspalter:
hmm thats curios i have tried it 5 times now. it won´t work

the images are png the image picture seize is the same. the names are the same.

under frameworks-res.apk in the folder drawable-hdpi

I am confused :X. I tried it with ninjamorph and even with apktool :/

Iam using a htc One S with a custom Rom and Android 4.1.1
[Android Themes] AmmarGitham:
This guide was for 2.3 and below. With ICS, everything changed to holo. So find similar names which end with holo.
[Android Themes] kid1519:
Help me, Can you show me and help me???
[Android Themes] oneders65:
Have you ever tried using Virtuous Ten to decompile and compile framewirk-res.apk?
[Android Themes] kid1519:
ok. thanks you so much.

i try and successful
[Android Themes] cameron213:
I have unzipped framework.jar and used baksmali to extract to dex folder. However, there is no widget folder under dex\com\android\internal. I am trying to locate the LockPatternView.smali so I can make the patch of the incorrect try transparent. I am using custom Rom Jedi-X 16 on a Note 2. Any ideas?
[Android Themes] LfcFan1977:
Had a failed attempt at decompiling a note 2 rom, probably not the right rom anyway.

However, have you tried searching for the LockPatternView.smali? It may be located in a different place to the references here. I think this was first writen for GB.

Looked at a JB for my Desire and at a glance it looks the same there as GB.
[Android Themes] cameron213:
Looks as if there is a framework.jar and framework2.jar. It's located in framework2.jar. Any ideas on adjusting the brightness on the lockscreen? Is this a backlight setting or is there a filter laid over the wallpaper? I looked at the first posts of this thread and it refers to keyguard_screen_unlock_portrait. The only portion of that file that has "android:background is the following, and I don't believe it has anything to do with it.

<RelativeLayout android:layout_gravity="fill" android:id="@id/faceLockAreaView" android:background="@drawable/intro_bg" android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginBottom="4.0dip" android:layout_column="0" android:layout_row="4" android:layout_rowSpan="1" android:layout_columnSpan="1">
<View android:id="@id/spotlightMask" android:background="@color/facelock_spotlight_mask" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<ImageView android:id="@id/cancel_button" android:padding="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_facial_backup" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
</RelativeLayout>

Could I put something in Gridlayout?
[Android Themes] LfcFan1977:
Sorry , got very little experience themeing JB but it is very unlikely to be a backlight setting.

It appears to me that it could be android:background="@drawable/intro_bg".

Easiest thing would be to edit intro_bg.png found in framework-res.apk\res\drawable-xhdpi\, just make it transparent or change its colour.

If it is that then you could probably remove the png completely by changing

android:background="@drawable/intro_bg"
to
android:background="#00000000"

EDIT

Had a look at a intro_bg.png and I don't think it is that image, it's not transparent at all. Sorry

I'll have another look around the framework

EDIT

Without your exact rom or the decompiling the JB note 2 rom I have here (to examine the xml's), I found screen_overlay_bg_layer.png in framework-res.apk\res\drawable-hdpi which looks quite promising. It indexed at the moment, which makes it look completely transparent when firsted opened with Gimp but changing it to RGB gives it the opacity like the pulldown notification background seen in GB roms.

But I think I am plucking at straws without a decompiled framework-res.apk
[Android Themes] cameron213:
It's not a big deal really. It would be nice to have it brighter so I can unlock it in the sunlight.

That .png you mention is only referenced once that I can find. It is used as a background in \res\layout\keyguard_help_overlay_landscape.xml.

I have uploaded framework-res.apk here:

http://www.filedropper.com/framework-res_1
[Android Themes] LfcFan1977:
Sorry, I'm all out of random ideas.

Can't see anything related to it.

If you do ever find the answer, please enlighten us
[Android Themes] Robsworth:
Can i increase number of dots to make it more secure?
[Android Themes] neeraj797:
please someone give me gingerbread pattern lock
[Android Themes] Jay_SEAN:
sir can i ask a question how to center the clock and the draw pattern text?:confused:
[Android Themes] LfcFan1977:
Posted a reply here
[Android Themes] amk19:
Please Help.

As you can see in Screen shot, my System time is overlapping with statusbar in lockscreen.

please tell me how can i change the layout and how o edit it, which files need to be edited. thanx.
[Android Themes] LfcFan1977:
I really like that. Fancy sharing the dial pad style images?

In keyguard_screen_unlock_portrait.xml

Under android:id="@id/time, you could try playing with the sizes of android:layout_marginTop= and/or clock font.
[Android Themes] midhunbhayi:
Anyone provide help to disable the red pattern trail when wrong pattern is entered in lockscreen. Please help
[Android Themes] Harsh.gundecha:
hey bro!!

any idea on how to reduce minimum dots required for using pattern lock-screen i.e., from 4 to custom??

thanks in advance ☺
[Android Themes] DamBliCK:
¡Hey man! can you say me, how to increase a dots grid?

Thanks in advance.
[Verizon Droid Incredible 2] ifwillems:
Tried to dial *228, option 2 to update my roaming table (Verizon, DINC2, CM7 #118). After dialing *228 my keyboard disappears. No way to get it back. The only 2 buttons I see are "back" and "speaker". There is space for the numbers keyboard, it is just not there. Only way to dial *228 option 2 is by programming *228,,,2 in my contacts.

Anyone else having this problem of a disappearing dial pad?
[Verizon Droid Incredible 2] knipp21:
Try long pressing the menu button

sent...ah whatever its on there now..
[Verizon Droid Incredible 2] ifwillems:
Yes, that works! Thanks! However, one caveat: The long press makes the original keyboard pop up (from which you can select numbers and then type the numbers). It does not pop up the dialing pad. But nevertheless, this is a work around.
[Verizon Droid Incredible 2] knipp21:
Its not a "workaround" its the way it works with aosp programs. That's the only keyboard that will come up there.

sent...ah whatever its on there now..
[Xperia Play Q&A, Help & Troubleshooting] pelly_jelly:
i saw that xplay will get hd, 720dpi video recording on 2.3.4 update... i just updated via pc companion but how the heck i'm supposed to switch to 720dpi?

I can only choose between high and low resolution, and neither of those looks like it's 720dpi...
[Xperia Play Q&A, Help & Troubleshooting] thomassafca:
It is, just check with Windows Explorer :)
[Xperia Play Q&A, Help & Troubleshooting] TLRtheory:
It's definitely there - high quality option.

Think I'll make a video of it in action sometime soon.
[Xperia Play Q&A, Help & Troubleshooting] pelly_jelly:
all right, just checked a random video from the pc and it's 720dpi. All right i'm an idiot :D

But still i'd say it's pretty unclear. With stock sony ericsson camera (or heck i remember with some x10 custom roms having stock android camera recording too) you can select various pixel quality of the video, here with the play is just "high, low" quality but it doesn'e explicitly say what kind of quality is it.
[Xperia Play Q&A, Help & Troubleshooting] Clienterror:
Yea man the XP camera software is pretty craptastic.
[Xperia Play Q&A, Help & Troubleshooting] dsswoosh:
In my opinion it's not even true 720p.

It's exactlyt the same resolution as it was before, but simply upscaled and output to a 720 resolution.

Making it a larger file for exact same quality.
[Xperia Play Q&A, Help & Troubleshooting] TheCraig:
Yeah, The Quality is the same as before, And you can render as 720p in Camtasia Studio or After Effects, etc, Wish SE loved us as much as they love Arc customers.
[Focus General] tatotiburon:
Hello,

I just got a brand new focus unlocked and i updated it to mango, everything works fime, wifi works fine but when i try to use only 3g conection the only thing that works is the IE and the rest doesn't work, i can't connect to windows live, to whatsapp, to facebook, anything only web browsing.

I reset all my data, without using the wifi, only 3g, i can't even log in to windows live, i can use ie withou any issue, i entered my facebook profile without any problem but when i try to log in to windows live i can't.

i also tried using another carrier sim card, the same problem

anyone else have the same problem?

Thanks
[Focus General] vames86:
I have this problem with one particular carrier, really frustrating. I'm wondering if all Windows Phones act like this or only Samsung. This would help in my decision when buying another phone.
[Focus General] tatotiburon:
i changed my carrier and problem solved
[Nexus S Q&A, Help & Troubleshooting] mokflurry:
Currently running miui with matrix kernel and I'm looking into flashing a stock gingerbread ROM to receive ics when it is released. I've flashed customs ROMs before but have never gone back to stock. How do I go about doing this? Will I need to reroot my phone? And will I be able to flash a kernel on the stock ROM? Thanks
[Nexus S Q&A, Help & Troubleshooting] bedalus:
I wouldn't worry about it. Someone kind will post it here in a zip file soon after release i would imagine!

Sent from my obnoxious finger using Swype
[Nexus S Q&A, Help & Troubleshooting] Some_Person:
This is not necessary; somebody will almost certainly post a zip of it here you can flash.

Flash it just like any other ROM.

No. As long as you have CWM, you're all set.

If someone makes one, sure.
[Nexus S Q&A, Help & Troubleshooting] Petarsson:
sorry for abusing you thread, mokflurry, but i also have a question regarding requirements for the upcoming ota-update.

i am running stock rom, rooted, with cwm and custom kernel.

regarding the recovery, i already read, that this shouldn't be a problem. can anybody confirm that?

and what about the kernel? will i have to return to complete stock for ota?

thanks in advance!

yours

n00b ;-)
[Nexus S Q&A, Help & Troubleshooting] saranyan:
You can be rooted with another recovery, But need stock rom and kernel.
[Nexus S Q&A, Help & Troubleshooting] suhas_sm:
Until and unless you believe that you will be the first one to get the OTA, you need not worry about the OTA. It will be up on XDA as soon as OTA is rolled and you be flashing it even before the OTA is actually is pushed to you :)
[Galaxy Note GT-N7000 General] xAnimal5:
Wondering when this amazing device is coming to the US. Also, how smooth does that 1.4ghz Exynos run?
[Galaxy Note GT-N7000 General] eallan:
No telling. Our carriers ruin everything. Could take six months. Mine is on the way to Texas!!
[Galaxy Note GT-N7000 General] olliesshop:
U.S. looks like it's coming to AT&T, according to FCC documents

According to FCC documents filed, it appears Samsung has at least applied for approval for AT&T ... http://www.slashgear.com/samsung-galaxy-note-headed-to-usa-on-att-says-fcc-30184411/

My hope is it will be here 1st or 2nd quarter of next year with AT&T, since that's who our family plan is with.

Has anyone heard any updates to this, since that was back on September 30th.

I have a 2 year old iPhone 3GS that I would love to replace with this.

All the best !!!
[Galaxy Note GT-N7000 General] n25philly:
How to tell when a Samsung phone will be coming out in the US:

Start with the European launch date and add the number of days you can reasonable wait for a launch. Add 6-8 months and they might be ready to release it.
[Galaxy Note GT-N7000 General] olliesshop:
So it sounds more reasonable to expect a 2nd quarter U.S. launch since it was announced in September in Europe. I sure hope it's sooner though. It clearly blows away every device I've ever had, including the hyped-up iPhone !!!
[Galaxy Note GT-N7000 General] Spartan2x:
I'm going to try and wait till May at the latest, since the warranty on my iPhone 4 is up on June. I hate not being protected...So I'll get the Note from the UK if it's not released by then, then just get a square trade warranty on it.