yashsingh1/xdaforums huggingface dataset:
[Motorola Atrix 2] alteredlikeness:
It's two different lockscreens, controlled by two diff xmls... see the "Edit" note at the bottom of this post: http://xdaforums.com/showpost.php?p=28399251&postcount=20

Or, to switch between the two lockscreens, one could edit the bools.xml in framework-res.apk/values folder.. look for the line like config_sliding_door_lockscreen (or something like that), and switch the value to false for the AOSP lock, and true for the Moto door... I think. Sorry, not at my computer to confirm...

Note: I think the original AOSP jog tab images are messed up a little in the res folder - they didn't line up right, so I re-did the 9patch files to straighten things out...

Sent from my phone's mind
[Motorola Atrix 2] A2Trip:
Oh ****, I got it!!! Only took three tries lol!

Sent From My DROID That DOES Not My APPLE That DIDN'T.
[Motorola Atrix 2] alteredlikeness:
Another text color edit... The date and clear all button in the pulldown menu..

These are in the status_bar_expanded.xml in SystemUI.apk/res/layout, just edit the existing textColor line..

Sent from my phone's mind

Edit: and the notifications text..

That's further down in the file.. and you need to add the "android:textColor=" line in 4 of the TextView lines.
[Motorola Atrix 2] alteredlikeness:
This one is still a work in progress, I moved the toggles, but lost the function of them... oops. Back to the drawing board...

Sent from my phone's mind
[Motorola Atrix 2] A2Trip:
Damn, I'm having a major issue. Idk if its from messing with the framework or system but when I connect my phone USB mass storage it doesnt mount anymore...man...looks like a backup is in order again. Unless its my laptop...my girls inc2 hasnt been able to mount either but my X2 does no problem...very odd. And I been messing with the X2's framework and system the last two dayd as well...so I wanna lean more towards my laptop...hope not though...

EDIT: Cache Wipe and Dav wipe took care of it.

Sent From MY DROID That DOES Not YOUR APPLE That DIDN'T.

---------- Post added at 03:12 PM ---------- Previous post was at 02:36 PM ----------

is this the LAST 4 Textview lines? And where in the lines do you add it? I tried and it didnt work. Maybe pasted in wrong spots? Got everything else though, man this is AWESOME!
[Motorola Atrix 2] chrisn91:
thats where i added it at everything worked for me except the clear button
[Motorola Atrix 2] chrisn91:
Nice great job love ur work
[Motorola Atrix 2] alteredlikeness:
Clear button is in this line: android:id="@id/clear_all_button"

Notifications are in the 4 TextView lines under this heading: <com.android.systemui.statusbar.NotificationLinearLayout
[Motorola Atrix 2] chrisn91:
So I was reading Taine0's method that u (alteredlikeness) posted and tried centering my clock but it didn't work out. On the other hand I got it moved to the left with the other icons but I lost my running (on going ) notifications

Any suggestions on how to get my icons back and moved to the right my knowledge is limited :)
[Motorola Atrix 2] fix-this!:
will this mod work for ics based roms for the droid razr? if soo what xml's do i need to edit to change the color of my lockscreen date & time?
[Motorola Atrix 2] alteredlikeness:
Yes, it will work. You just need to find the right file. I have not attempted it yet on ICS, but my guess would be to look in framework-res.apk/res/layout, and try one or all of these files:

keyguard_screen_tab_unlock.xml

keyguard_screen_unlock_portait.xml

If your lockscreen rotates, you'll probably need to edit both or one of these too:

keyguard_screen_tab_unlock_land.xml

keyguard_screen_unlock_landscape.xml

Be sure to let us know what you find!

Oh, but you do know the trick for ICS framework-res.apk, right? Use apktool v1.4.2 for decompiling, and v1.4.3 for compiling...
[Motorola Atrix 2] fix-this!:
yeah ive tried to change the values in the keygaurds with no luck. do you actually put the #ff... color hex there or something else? thats where im lost. some say to change the color values in the color.xml as well. ive been messing with this all morning.

---------- Post added at 03:35 PM ---------- Previous post was at 03:05 PM ----------

Any help or advice would be appreciated.
[Motorola Atrix 2] alteredlikeness:
Yes. The easiest is to enter a direct hex, but you could also point it to an existing color name or theme. Look at this section:

<com.android.internal.widget.DigitalClock android:layout_gravity="left" android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/secured_lockscreen_status_side_margin">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/moto_keyguard_lockscreen_clock_font_size" android:typeface="sans" [COLOR="Blue"]android:textColor=[/COLOR][COLOR="Red"]"?textColorPrimary"[/COLOR] android:ellipsize="none" android:id="@id/timeDisplayBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:typefaceFileName="Chulho_Neue.ttf" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/moto_keyguard_lockscreen_clock_font_size" android:typeface="sans" [COLOR="Blue"]android:textColor=[/COLOR][COLOR="Red"]"?textColorPrimary"[/COLOR] android:ellipsize="none" android:id="@id/timeDisplayForeground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" android:typefaceFileName="Chulho_Neue.ttf" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" [COLOR="Blue"]android:textColor=[/COLOR][COLOR="Red"]"@color/lockscreen_clock_foreground"[/COLOR] android:ellipsize="none" android:id="@id/am_pm" android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_marginLeft="8.0dip" android:singleLine="true" android:layout_toRightOf="@id/timeDisplayForeground" android:layout_alignBaseline="@id/timeDisplayForeground" />
</com.android.internal.widget.DigitalClock>

In general, look for lines that begin with <TextView, if you want to edit the text properties. Also, look down those lines for android:id=, that should kind of give you an idea of what that line controls..

For your case, change the highlighted red text to "#ff------" (with your 6 figure alpha-numeric hex code) in the three lines shown above for the clock and am/pm text (hopefully).

Then, look further down for another <TextView line with this android:id="@id/date", and do the same.

You could probably do that for almost all of the <TextView lines that already have the android:textColor= included. If not, then you can add it.

Again, I have no idea if that will accomplish what you want to do.. but, that's probably where I would start looking if I were on ICS and wouldn't have to bug someone to test every little thing that I would like to.. :D

---------------------------

Mid-type Edit: Just re-read your question, and yes, there are multiple ways to accomplish the same effect.. sometimes. And, you are right.. you could probably just mess around with the colors.xml in /values, there are a bunch of lockscreen color names there in ICS.. Or, maybe through the styles.xml also..? Good luck either way!
[Motorola Atrix 2] fix-this!:
Thanks man ill give it a try tonight.
[Motorola Atrix 2] fix-this!:
no luck soo far, ive made changes to all the keygaurd.xml's and to styles.xml & colors.xml... im not sure what the issue is but the text stays white on the lockscreen. :silly:
[Motorola Atrix 2] alteredlikeness:
Well then, it's gotta be in one of the zz_moto_keyguard xmls... That's what I originally thought, but I didn't see the same file names as from GB. The ones that you edited are for the native AOSP lockscreen, which a couple of us are still trying to figure out how to turn on in ICS..

For the clock & date, try this file: zz_moto_keyguard_screen_password_portrait.xml

For the lock widget text, try this: zz_moto_keyguard_unlock_widget.xml

That's the best I got...

I'll give it try a little later on my friend's razr.
[Motorola Atrix 2] fix-this!:
i think my framework.res is not compiling correctly and that's why nothing is changing. is there a version of apktool that is confirmed working on on ics?
[Motorola Atrix 2] alteredlikeness:
Yes. For framework-res.apk on ICS, you need to decompile it with apktool 1.4.2, and compile it with apktool 1.4.3 (so far, that has worked for me, and others).

Also, remember to install the ICS framework dependencies with apktool if framework-res.apk, and so on for the same four apks as in GB (blur-res, moto-res, SysUI, and frame-res apks).

And, make sure that your resources.arsc is not compressed inside of the final modded apk (meaning the two file sizes listed for it in 7-zip are the same). This can be done by taking the compressed one out of the apk, rename the .apk to .zip, then use 7-zip to add the resources.arsc with no compression ("Store" mode) to the framework-res.zip that you now have. Then rename it back to .apk

Doesn't it give you errors on compiling? If not, then maybe you are not copying over the files that you edited.. To avoid a lot of issues, you can compile, then move the new edited and compiled files over to the old apk with 7-zip. If you edited anything in the /values folder, then you need to copy the resources.arsc
[Motorola Atrix 2] fix-this!:
finally got it the way i want it, i had to install a custom ics apktool to recompile, looks awesome. thanks for all of your help man.
[Motorola Atrix 2] alteredlikeness:
Wait... no screenshots? or tell us which edits you made? Very cool that you got it though...
[Motorola Atrix 2] fix-this!:
ill try to get some screenshots later.

i used these two guides:

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

http://localhostr.com/files/iMKW4UH/09-07-2012_093643.jpg use the figure on the left hand side to change the text to ics blue, use notepad+ to edit.

everything was in the keyguard_screen_tab_unlock.xml. i was able to change the clock, am/pm, date, text & carrier label.

im pretty proud of myself as i was about to give up, did alot of google searching today.
[Motorola Atrix 2] alteredlikeness:
The links are busted..

Did you edit the colors.xml or some files in /layout?
[Motorola Atrix 2] fix-this!:
sorry check my post again, i fixed them.
[Motorola Atrix 2] alteredlikeness:
Cool. Thanks for sharing!

Also, to change the thin line on the lockscreen under the time & date, check: zz_moto_horizontal_divider.xml

And, to change the text under the app choices on the lock widget, check: zz_moto_keyguard_unlock_widget.xml (you could also remove that text by using the method for carrier name removal: http://xdaforums.com/showthread.php?t=1773879&highlight=remove+carrier+name)
[Motorola Atrix 2] theRIPer:
Yeah it worked, but gotta some Question

Well done guys, it's crazy, for the first i killed the f.... Carrier Name in the Status Bar :D

But before there were big problems for me .... I tried to replace the SystemUI.apk with Root Explorer, but didn't know to set the Permissons before. The Second Try worked for me by setting the right permissions :)

But ....... Here's my big question for you, good working guys, how to replace the App on another way, without so big risks .... I don't like the Root Explorer Version for things like this ....

Please a manual for Beginner, like me ^^

Thanks theRIPer
[Motorola Atrix 2] alteredlikeness:
Yea, I plan on extensively re-doing the OP's and will include zip and adb methods for installing files.. when I get a chance, that is..

Or, you could tear apart one of my zips to have a look, or re-use it completely. But, it's basically getting the folder structure and the updater-script right, then sign it (or don't, but then you need to toggle some sig options in recovery). On Windows, I use Sign+ to sign my zip packages - super easy - drag, drop, and click..

Sent from my phone's mind
[Motorola Atrix 2] souljaboy:
i know im gonna sound like a massive noob, but, does adb pushing set proper permissions ?
[Motorola Atrix 2] alteredlikeness:
That's not a noobish question.. but, no I don't believe the "adb push" command sets proper permissions in all situations... (need to adb shell to set the permissions - but another way is to push it, then switch permissions using root explorer - there you can also see what permissions it was pushed over as). Then, reboot, obviously..
[Motorola Atrix 2] alteredlikeness:
Updated OP with more and different material... umm.. so comments and questions are welcome..
[Motorola Atrix 2] alteredlikeness:
Here's a link to an ICS Center Lockscreen Clock mod: http://xdaforums.com/showthread.php?t=1815052

EDIT: Only for AOSP (not Moto) lockscreen... and I think you can accomplish similar effects by editing the keyguard_tab_unlock.xml (or something like that).. I moved my asop gb lock clock around, with the keyguard xml...
[Motorola Atrix 2] alteredlikeness:
Any volunteers for a test?

Must be on ODEXED ICS, and have Windows... It's very safe... not really a chance for bootloops or bricks (but, with some people, who knows what could happen :p)

PM me, or hop on freenode #atrix2_qa for details...
[Motorola Atrix 2] A2Trip:
Sent ya a PM...I'll test anything. Awlays willing to flash and check everything out. When one of you dev's ask for help I'll jump to the rescue anytime I can help. :thumbup:

Sent From My Rooted Motorola Atrix 2/MB865 Runing SuperCharged V7-Speed Boosted-OC'd at 1.2 GHz (ICS, 4.0.4)
[Motorola Atrix 2] A2Trip:
Hey I did what ya said, System.UI is on root of SD. Ran the ICS.bat and everything seemed to work. Did put the new.odex on root of SD. Now I read the readme.txt but couldnt really follow what to rename the new.odex and where to place in System.UI and place where. Was a bit brief. Any suggestions?

Sent From My Delicious Ice Cream Sandwich, Not Your Disgusting Apple Pie!
[Motorola Atrix 2] alteredlikeness:
Nope. That's it. I just wanted to see if it created the new.odex file on the sdcard.. so, looks like it works! Thank you!

And, DO NOT push those files to your phone... it was just a test run.. i'm not sure if the signatures on the apk will match up. You can just delete the new.odex file..

Thanks again, man!!

EDIT: So, in short, what you just did was create a new SystemUI.odex file from the deodexed apk on your sdcard and copied the sigs from your existing SystemUI.odex on your phone. I am trying to automate the process for that.. this is still alpha, and I would like to add more features.. but looks like it works so far..
[Motorola Atrix 2] A2Trip:
Alright, sounds good. Np man...like I said before, glad I can help our fellow devs out anytime I can. Whenever ya need a test done, can always count me in! :thumbup: And thanks for clarifying what it was. Makes sense now. And thanks alot for all you have taught me, back when I was on Romulus! Still was great GB ROM. (Best for the A2 on that build IMHO) and if I was still on GB I would be on it. Keep it up bro n I hope to help in any further development you come up with!

Sent From My Delicious Ice Cream Sandwich, Not Your Disgusting Apple Pie!
[Motorola Atrix 2] alteredlikeness:
Alright.. dusting off this thread too..

I updated OP#2 with the mod to remove the Moto lockscreen to reveal the aosp one (which is typically the first step for us in trying any of the other cool lockscreen mods based on aosp) - still a WIP...

And I plan on revising/updating the OP soon too.

Sent from my phone's mind
[Motorola Atrix 2] A2Trip:
Ultimate bump! Awesome man, always had fun theming Romulus! Keep on Rollin man... This is great news for us A2 owners! :cool:
[Motorola Atrix 2] alteredlikeness:
Well, I got evilisto's Honeycomb lockscreen mod working... kinda

Needs some work still - the waves are too big I think.. or the transport control needs to be edited (the waves get cut off by the space for the music player).. and

there is only an option to unlock - no camera or other widgets

.

These files below are from AT&T final ICS - they will not work directly on other versions of the A2.

***WIPE DALVIK CACHE***

Here is a flashable zip for ODEXED AT&T systems only: HC_Lock_ODEXED_ATT_ICS_signed.zip

To restore stock ODEXED Moto lockscreen and files, flash this: StockMoto_Lock_ODEXED_ATT_ICS_signed.zip

-----------------------------

Here is a flashable zip for DEODEXED AT&T ROMs/systems: HC_Lock_DEODEXED_ATT_ICS_signed.zip

I trust you know how to restore your preferred lockscreen (if anything, look at the files in the zip and copy those from your current system before installing these).

----------------------------

Also, here is a zip with DEODEXED reference files - DO NOT FLASH: https://dl.dropbox.com/u/69594991/HCLock-A2ReferenceFiles.zip

Inside are copies of the un-modded and modded files for comparison to see what I did.

EDIT: I changed the layout height for the widget (shrinking the music control area), so that the waves don't get cut-off by the player space.. if you use the reference files, edit /res/layout/keyguard_screen_tab_unlock.xml to look like this snippet:

<RelativeLayout android:layout_width="fill_parent" android:layout_height="[COLOR="Blue"]540.0dip[/COLOR]">
<com.android.internal.widget.multiwaveview.MultiWaveView android:orientation="horizontal" android:id="@id/unlock_widget"...

Also, the previews on the recent apps screen may be screwed up a bit (they are sized for a different mod) - to fix it, change thumbnail width and height in framework-res.apk/res/values/dimens.xml:

<dimen name="thumbnail_height">[COLOR="Blue"]120.0dip[/COLOR]</dimen>
<dimen name="thumbnail_width">[COLOR="Blue"]120.0dip[/COLOR]</dimen>
[Motorola Atrix 2] alteredlikeness:
Updated the above post^ with flashable zips for all :D (well, at&t ics only...)

So, feel free to try out the Honeycomb lockscreen if you're curious! (Ummm... I actually haven't tested any of the updated flashable zips above, but.. should be ok - let me know of any problems)
[Motorola Atrix 2] triloger:
Excellent mate, so only flashable on ics or can i give it a try on CM10? whay do u say? this lockscreen reminds me of my iconia lol
[Motorola Atrix 2] A2Trip:
Works great on NUMA bro, thanks! Changed the boot animation to the word Android now instead of numa but I actually like it. Multicolors aren't me lol :p Thanks allot for your hard work man!
[Motorola Atrix 2] triloger:
Beautiful mate
[Motorola Atrix 2] alteredlikeness:
No.. don't flash these on cm10. Totally different system... but, I gots plans ;)

Sent from my phone's mind
[Motorola Atrix 2] alteredlikeness:
BB10 Lockscreen for CM10

Only for jim's v0.4 testers...

I made this for cm10-10082012-jb-rda-build-v0.4 - not sure about cross-version compatibility but

I highly doubt it will work on any other version of CM10

.

Download BB10 lockscreen mod: BB10Lock_CM10_v0.4_signed.zip

***Wipe dalvik and cache

To restore to the default CM10 lockscreen, flash this: RESTORE_CM10_Lock_signed.zip

Notes

-This has not been fine-tuned. I just did the main edits for the mod by evilisto

-Flick up to unlock (if you slide all the way and touch the status bar, the shade opens and puts you in lockscreen limbo - I don't recall this on ICS)

-Still has that rectangular expansion from the top-left corner sometimes when you wake the screen (like the ICS one)
[Motorola Atrix 2] sunnytse1:
Man,this is GREAT!!!
[Motorola Atrix 2] Maribou:
Thank you for this alteredlikeness! This was EXACTLY what I needed. :cool:
[Motorola Atrix 2] alteredlikeness:
Added a short adb guide in OP#2... Seems like it's becoming a lost art with all of the automated tools...

Sent from my paranoid phone's mind
[Motorola Atrix 2] M4ST3R-V:
a query

First of all thank you for this wonderful guide. I was editing some themes for the mobile. After decompiling the apk I changed the values in xml files which was placed in res>values. And after that i re-compiled it (while doing that i deleted that recources.arsc, since i edited the xml files) there was no error while recompiling but using the recompiled file for testing i couldn't find the changes i made in it. Also i couldnt find the values folder in the res (while recompiling inside keep folder).

Am using apk multitool :confused:

Thank you in advance
[Motorola Atrix 2] alteredlikeness:
Your /values folder and files are all tucked inside the resources.arsc when you recompile. That is why you can't see them in the 'keep' folder - just delete the resources.arsc from there. (You really only need to delete the resources.arsc when you edit xmls in the /values folder, or you are adding completely new resources).

Then, when you have a new unsignedsomething.apk, open it with 7-zip and copy the resources.arsc outside of the apk (in same folder works well), then add it back to the apk with no compression - "store" mode. With 7-zip you can right-click on the resources.arsc and choose Add to archive.., then Store for the compression level.

Sent from my paranoid phone's mind
[Motorola Atrix 2] M4ST3R-V:
Thank you for the reply. I tried this method by adding back the resources.arsc with Store compression level still its not working :confused: the theme is applied with errors like :confused:
[Motorola Atrix 2] alteredlikeness:
What is that screenshot of? What edits are you making? Are making an apk for the CM/T-Mobile Theme Chooser, or just editing the individual apks of your ROM?

Sent from my paranoid phone's mind
[Motorola Atrix 2] M4ST3R-V:
Actually i was editing the themes for my ROM. and modding the resources.arsc wasnt successful even after the method you mentioned. So now it seems to be working the hard way round editing the binaries... Thank you for the support :)
[Motorola Atrix 2] 1BadWolf:
Does anyone know what needs to be modified to change the color of the blue line and words in this screenshot? I've been trying to figure it out for days but I must be overlooking something.

Brought to you by time and relative dimensions in space.
[Motorola Atrix 2] brianmoyano:
That might be a themed Cyanogenmod. If not, you'll have to decompile system apk's
[Motorola Atrix 2] 1BadWolf:
No, this is a theme I am working on. I have changed nearly everything except for those two things.

Edit: this is on NUMA 3.0 in case that makes a difference.

Edit#2: of course after asking for help i find it on my own. I edited a few lines in

/system/framework/framework-res.apk/res/values/colors.XML

And it changed not only that, but a couple other things on my to do list.

Brought to you by time and relative dimensions in space.
[Motorola Atrix 2] 1BadWolf:
It wouldn't let me add the updated screen shot to my last post:

Brought to you by time and relative dimensions in space.
[Motorola Atrix 2] neelz369:
Thanks for the post !!

I was wondering if you could let me know if there is any possible solution for installing Theme chooser onto Atrix 2 running JB Leak 3..

If there is a way let me guide through it. Sorry if this a wrong section to ask this question.
[Nexus S Q&A, Help & Troubleshooting] vxZach:
I have stock ICS 4.0.4 on my Nexus S (i9020a) and whenever I use a voice command app likes those listed in the title, the voice sounds very depressed and just doesn't sound right. Is there anyway to fix this?
[Nexus S Q&A, Help & Troubleshooting] urko95:
Yes, you can wait to Jelly Bean to improve the Voice Search ;)

Regards,

Urko
[Nexus S Q&A, Help & Troubleshooting] vxZach:
Oh, thank you. :D
[Nexus S Q&A, Help & Troubleshooting] tehkraft:
I personally want my robot voice to sound as much like marvin as possible, however if that doesn't float your boat, here's a great alternative to the inbuilt voice synthesizer!
[Nexus S Q&A, Help & Troubleshooting] vxZach:
Thank you very much for recommending the alternative, Ivona Text-to-Speech HQ. I installed it and downloaded a voice and it sounds way better then the depressed robot. Haha!(:
[Defy Q&A, Help & Troubleshooting] nikolas60:
i ask a samsung developer to make sense 4 for defy and says <<I don’t know, but if yes, then only if the ROM is fully functional>>
[Defy Q&A, Help & Troubleshooting] merhans:
Why you asked an samsung developer about htc sense stuff?

Does he mean cm9 full working as a base?

And why did you tell us this?