yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] TheEscapist:
Does the AOSP lockscreen work on a JI2(Stock Rogers+ATT?) build? I have had so many problems flashing today, I'm gonna stick on this for awhile, but I hate the glass lock.
[Captivate Android Development] DJNgoma:
Flash with CWM

http://dl.dropbox.com/u/4610937/COG2.4.1_TAP_Lockscreen.zip
[Captivate Android Development] jdphilly:
That was perfect thanks alot! No more of that crazy animation from the vibrant forums
[Captivate Android Development] wilsongis:
Worked great on cog 2.4.1 for me. First boot took a couple. Thanks.
[Captivate Android Development] The_Zodiac:
the customer battery doesnt work on cognition 2.41. system keep crashing while trying to boot up... bummer
[Captivate Android Development] Misled3k:
Cognition 2.4.1 is based on a Vibrant ROM, so these won't work on it.

The newer version of Cognition is based on Captivate ROMs again, so it should work if you get 2.3b4 (yes, the new version went down a number... go figure!)
[Captivate Android Development] avgjoegeek:
So confused... will the stock lock work with 2.3b4?
[Captivate Android Development] NiXXeD:
Yes. Op is updated.
[Captivate Android Development] android158:
Would you be so kind to convert the android mascot battery icon please?
[Captivate Android Development] laoban:
After I downloaded that zip file, how can I install or apply to my phone? Please advice. Thanks
[Captivate Android Development] avgjoegeek:
You should be able to.use clockwork mod to install it
[Captivate Android Development] KewlRobD:
I installed the stock lock from the OP and now when my phone boots all I get is the cognition splash screen. The phone seems to randomly vibrate but never moves past that screen.
[Captivate Android Development] iamcombat:
Keep getting "Installation aborted" when trying to install the Tap lock screen

Anyone else??? How can I fix this?
[Captivate Android Development] chasesavestheday:
instead of the circle battery, how can i install the one that comes with cognition?
[Captivate Android Development] avgjoegeek:
w00t! Thanks for ths stock lock screen. Hate that stupid glass.. always took a few attempts due to the bulky case I have to move it out of the way.

Oh.. and it works over here :)
[Captivate Android Development] pinballLooking:
I have 2.3b4

I installed the stock lock and now when my phone boots all I get boot animation screen. The phone seems to randomly vibrate but never moves past that screen.

Any suggestions on how to fix this?

Never mind I just flashed to stock and applied the latest rom it has the stock lock screen.
[Captivate Android Development] jorge_moran_jams:
Cognition 2.4.1

Hey is there a way to make circle battery mod work for my phone running Cognition 2.4.1, please don't burn me alive if that's a silly question...?

Thanks
[Captivate Android Development] aleadam:
I'd like to install the gauge mod. I have cog 2.3b6 with the reefermattness darkness theme applied (through metamorph). Can I still install the battery mod or it would remove all the other customization? Should I instead get my framework-res.apk and modify it myself using apk-manager? I tried to use the uot but I get the shtf error.
[Captivate Android Development] ewingr:
Does anyone know if the files on the OP page will work with COG 2.3b2?

I was on 2.3b6, and went to the UOT site, uploaded the framwork-res.apk file, and had one made, and it hosed my phone. Lots of FCs, and couldn't even get booted. Needed to reload.

I'm wondering if it is because I needed to first uninstall the lagfix.

At any rate, I am skittish now.

If anyone has any idea what may have caused that, I may try again. In the meantime if I can come up wiht one for 2.3b2, I have dropped back to that for now.
[Captivate Android Development] DJNgoma:
Flashable Taplock for Perception Build 2

http://dl.dropbox.com/u/4610937/PER_B2_TAP_Lockscreen.zip

File to push with ADB or Root Explorer to "/system/framework"

http://dl.dropbox.com/u/4610937/PER_B2_Taplock/android.policy.jar
[Captivate Android Development] granbosteron:
work in Cog v2.4 ? What would be the installation for my version? Please, link :)
[Captivate Android Development] bts0uth:
Does this include extended power menu?

Posted from my Captivate running Perception build 1 with SetiroN's SuperOptimized kernel
[Captivate Android Development] Niche1319:
Can anyone tell me how to install this on my rooted 2.2 Captivate please?
[Captivate Android Development] sparker366:
Flash with clockwork. Do not rename
[Captivate Android Development] DJNgoma:
Yes it does, did the edit after seeing I was going to wait quite sometime for somebody to post it ;).
[Captivate Android Development] NiXXeD:
Yea I pretty much got tired of doing the mod every few days or whatever, and since I've been on CM6.1 since it came out for Captivates, it's hard to test it and stuff.

Also the CM lock screen / reboot menu is pretty nice =0 I have the phone/text sliders on too now. Much much better.
[Captivate Android Development] DJNgoma:
Used CM for a while, still buggy but pretty smooth and that power menu is way better than the Galaxy S ROM options. I could take over the battery mods. Would you have the Metamorphs on hand (if you made any)? Would make my life a but easier :p.
[Captivate Android Development] NiXXeD:
They are all on the fightspits thread.
[Captivate Android Development] DJNgoma:
Cool, will try to be on the job ASAP is possible.
[Captivate Android Development] NiXXeD:
I zipped these up quick to make it easier, I did have them laying around.
[Captivate Android Development] iflip87:
how did you do it? i have the same setup(just running froyo 2.2 beta) when i go to my system folder i dont see framework folder?

sorry im a newbie. thanks in advance.
[Captivate Android Development] DJNgoma:
Thank you for letting me know they were just "laying around" ;). Right now I just need to rest, will look at doing the job later.
[Captivate Android Development] cebb:
anyone try these with the perception rom yet?? hopefully these get updated soon to be compatible with jk3...i love the look of the battery icons
[Captivate Android Development] NiXXeD:
I'm no longer maintaining these mods, so this thread can probably be closed.
[Captivate Android Development] pmd5700:
Will the battery indicators work on Cog 2.3b6?
[Captivate Android Development] darkangel9685:
tried installing on designgears stock froyo build that leaked out. getting the following error when in system recovery:

E:signature verification failed

installation aborted.

what should i do? Tried with version I
[Captivate Android Development] novalovr66:
I am wondering the same thing. Asked on another forum also. Still wondering, anyone? Haven't tried this myself, still new to Android and finally had the courage to root, and install Cog 2.3b6.
[Captivate Android Development] sinichi21:
aw the files cannot be found :( will there be another alternative to dl those indicators?
[Captivate Android Development] evoic:
Want to find a way to locate and download the lock screen file!

Can anyone offer an alternative location for the file?
[Captivate Android Development] CuriousTech:
Sorry if this is in the wrong place as I'm just finding my way around here. I'm trying to figure out a small issue in stat_sys_battery_charge.xml and I'm stumped. All the png files are there and work with the normal 1-20 charge_anim scripts.

I intended this to show the same images as when discharging, which it does fine up to 100%, but when it's full there's no animation. I'm assuming either it all has to be animated to get just the last one, or I made a mistake. Can anyone see anything wrong?

<?xml version="1.0" encoding="UTF-8"?>
<level-list
xmlns:android="http.//schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
.... 2-99 removed for space...
<item android:drawable="@drawable/stat_sys_battery_100" android:maxLevel="100" />
<item android:maxLevel="101">
<animation-list android:oneshot="false"
xmlns:android="http.//schemas.android.com/apk/res/android">
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_animfull" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_100" />
</animation-list>
</item>
</level-list>

Had to modify the http colon because I can't post URLs yet.

Edit: Nevermind, I got it. I had to remove the 100% entry, so now it's 0-99, 101. Strangely enough, it actually shows the 100% icon until it's full which then animates 100/full when it hits. That must be coded in the framework to look at the 2nd image in 101 when it's at 100.
[Captivate Android Development] jennyngo24:
the links are dead. Anyone please re-upload the files for me?

Many thanks
[Captivate Android Development] samsungenn:
If i dont feel like using it anymore. Will i be able to return it back the way it was?? Galaxy s captivate
[Captivate Android Development] Rhiannon224:
I'm doing it right now, will report back in a few.
[Captivate Android Development] thumper_1151:
Make sure to reboot after! works great just what froyo was missing
[Captivate Android Development] lpsi2000:
Nice, this worked well for me.

Thanks.
[Captivate Android Development] whitenerj:
No dice for me. keeps saying "ADB not found" when trying to "adb push android.policy.odex /system/framework/android.policy.odex"

I've done this before using 2.1

Edit: NM I got it!!! Works great
[Captivate Android Development] Rhiannon224:
I am still a noob and learning, I can't locate my framework when looking in my root. Reading the original thread it appears I nned to be in recovery mode using adb, is this correct?
[Captivate Android Development] DOAlaboratories:
Get into the root directory (not sdcard) with root explorer or similar program and navigate to system/framework

Sent from my Cappy using mental telepathy, *****ezz.
[Captivate Android Development] Rhiannon224:
Thanks, I will grab it will Astro and back up.
[Captivate Android Development] whitenerj:
Now if I could just get a battery percentage meter I would be set.
[Captivate Android Development] brandonb81:
Excellent. Worked perfectly, replacing the file with root explorer. Thanks again!
[Captivate Android Development] jokerier:
I'm using the Cognition 2.2 Beta Froyo (OCLF not enabled) and applied this using root explorer. No problems, works great.
[Captivate Android Development] Inzombie:
woow great! it works in my cappy :D
[Captivate Android Development] Rhiannon224:
Tried with adb and got permission denied, wtf. Tried to copy and paste file with root explorer and it says not enough diskspace. Any suggestions?

nvm I screwed something up and soft bricked, lol, I just flashed back to 2.1 with Odin and getting ready to reflash with Froyo and redo everything. I have to reroot and everything, damn it. LOL
[Captivate Android Development] NiXXeD:
I personally used terminal emulator, and just had to do "su" first to get rights to /system.

For adb you should be able to do the same thing.

Also for the record, if you get issues with this, you can push your old copy of the file back in and it should fix any issue you run into, without having to reflash everything.
[Captivate Android Development] wyvex:
Smooth as butta!
[Captivate Android Development] r.iqbal87:
how do i push the old file back, I saved the back up on the phone itself (pretty dumb i know). I know the path, but when using adb i cant access as root. my phone is not starting up, its not getting past the att screen.
[Captivate Android Development] Rhiannon224:
I couldn't put anything back because I couldn't get into the phone at all, it was bricked, no boubt about it. It's fine, just restoring apps now. Not my first brick and probably at the rate I flash **** not the last. Odin is my best friend.
[Captivate Android Development] Rhiannon224:
Haha, same here, I just flashed Odin back to 2.1 and then Odin with 2.2 beta.
[Captivate Android Development] autocorrelation:
in terminal emulator, navigate to where the file is located on your file system. Then type these commands:

su

cat android.policy.odex > /system/framework/android.policy.odex

Just as a disclaimer, I'm just some random guy on the internet and it worked for me so if you somehow mess things up - don't blame me.
[Captivate Android Development] NiXXeD:
I had this file go wrong a few times while playing with it and the worst symptom was soft reboot loop. During the boots I could access adb so I guess I was luckier.

So did you try it again or was something wrong with the odex? It should work for any ji6.
[Captivate Android Development] Whipon:
Nice

It works perfectly.

Thanks a lot for sharing it ^^.

I done it through Root Explorer. My experience when replacing files under /system is that you must set the permissions of the new file to the ones of the file you will replace. If you don't do that, you may brick your phone. Obviously you must do this before replacing it.

Maybe some of you have bricked your phones because of a permission issue.
[Captivate Android Development] olahoz:
I have a problem with the keyboard is not correct in Spanish, in English only.
[Captivate Android Development] AtariBorn:
Any chance we will see a version for Cog 3.xx?
[Captivate Android Development] nolabowler:
Gold Circle Battery mod

i have tried everything but i just cant get it to work.....can someone help all i want is this gold circle battery modded for my stock captivate that is rooted PLEASE and THANKS!!!
[Captivate Android Development] uiskibum:
you could go get the cog2.2 beta and pull the stock odex from it. as for not being able to su in adb shell during the boot loop, well i don't know. If you didn't give adb shell su rights while your phone was working i don't think it can get them when it's not working.
[Captivate Android Development] Kizzmiazz:
I just used root explorer. Downloaded file , extracted zip , copied odex file , navigated to original file in root explorer, renamed original file .bac at the end, pasted new one, rebooted and whamo.

I'm new to root explorer, sorry for noob terminology, but get it learn to use it and you will love it lol. Adb I'm learning to, still a noob there to. Learning root explorer though I was able to install this at work in about 5 minutes.

Cognition Froyo 2.2 Rooted-Sideloaded-RyanZA's OCLF and Screaming Fast
[Captivate Android Development] xfernand:
I've been looking for this since yesterday! Thanks!
[Captivate Android Development] flashman2002:
Works perfectly. Thanks for posting this.
[Captivate Android Development] oh5srt4:
Works great just wish you could add widgets. Was running widget locker but got tired of occasionally seeing puzzle lock screen. Did this with root explorer, was really easy!
[Captivate Android Development] skinien:
In terminal emulator, I get "cp not found".

Any ideas?
[Captivate Android Development] alphadog00:
sounds like you are missing busybox
[Captivate Android Development] Rhiannon224:
Problem was I didn't save the framework to the pc, I saved it to a folder in Root Manager. ADB does have su permission so I don't know whay it didn't work, unless the phone asked for permission and I didn't see it. I'm not sure, everything is reset, I think I accidentally clicked and pasted the file in the wrong place in root explorer and I wasn't sure which file a accidently clicked.

i haven't tried again. I can't find the Framework folder in my root when I browse it from my pc. I have reset everything and it's running but I haven't messed with the framework again yet.
[Captivate Android Development] EGBTMagus:
Thanks a ton! Works great!
[Captivate Android Development] LamboDroid19:
When I try to use adb i get permission denied and when I try to use terminal emulator I get cp not found......a more detailed how to would be great.
[Captivate Android Development] rkorzuch:
It seems to switch back to the Samsung Touchwiz Lock Screen when you receive a text or a missed Call
[Captivate Android Development] whitenerj:
Not for me.
[Captivate Android Development] Fate0n3:
Mine is doing the exact same thing... how did you fix it???
[Captivate Android Development] uiskibum:
there is a chance this will bork your phone and you'll need to put the backed up android.policy.odex file back.

1. you have to be running a JI6 variant and you MUST BE ROOTED

2. copy the downloaded odex to your sdcard

3. adb commands (yes you'll need to get adb):

adb shell
su - wait for prompt on phone, so it must be awake, and screen unlocked
cp /system/framework/android.policy.odex /sdcard/android.policy.odex.bak
cp /sdcard/android.policy.odex /system/framework/android.policy.odex
reboot

obviously you'll need to point the cp commands to wherever you copied the downloaded odex file to
[Captivate Android Development] uiskibum:
ummm....get the android sdk...

in the command prompt you need to cd to the directory that you placed the sdk in and then the tools directory, i.e. c:\android-sdk\tools

if you use this a lot you'll need to add it to the command path variable in windows so you can call it from any where
[Captivate Android Development] Fate0n3:
I do have the SDK I am, i get into SU and then when I try to push the file it says this... Here is what i am entering

adb shell

su

adb push android.policy.odex /system/framework/android.policy.odex

Then it says adb:not found.....
[Captivate Android Development] uiskibum:
mine is doing this too....may have to rebuild that odex in the morning

strange, if the phone is locked and you miss a call/sms you see aosp lock screen, if the phone is unlocked and you miss/ignore a call/sms and let it relock you get samsung glass notification lock screen
[Captivate Android Development] uiskibum:
adb push is a command that is ran outside of shell

adb push [download location]android.policy.odex /sdcard/android.policy.odex
adb shell
su
cp /system/framework/android.policy.odex /sdcard/android.policy.odex.bak
cp /sdcard/android.policy.odex /system/framework/android.policy.odex
reboot
[Captivate Android Development] LamboDroid19:
I have tried all of these options and none of them work....help plz!!!
[Captivate Android Development] uiskibum:
ummm....the method i've outlined twice should work if you have adb, and you are running JI6 and it's rooted

can you elaborate on "not working" what method are you using, and what errors does it throw?
[Captivate Android Development] Fate0n3:
THANKS MAN that was my mess up was going into shell before copying it... Your way worked perfect!!!! THANK YOU
[Captivate Android Development] LamboDroid19:
i have tried all methods(execpt root explorer cuz i dont have it)..in adb it says permission denied when trying to push directly and cp not found when doing it in adb shell.
[Captivate Android Development] uiskibum:
glad to hear.
[Captivate Android Development] Kizzmiazz:
I just tried missing a few calls had my wife and kid text me, rebooted a few times, hasn't reverted back to touch wiz lock screen. I've been running it all day no problems. Again I installed through root explorer.

Again thanks to OP for this. I'm loving froyo. Imagine if final version of froyo has no lag or issues (yeah right) with xda devs and the people here there will be no end.

Cognition Froyo 2.2 Rooted-Sideloaded-RyanZA's OCLF and Screaming Fast
[Captivate Android Development] uiskibum:
try it with the phone awake and unlocked, then let it goto sleep on its own
[Captivate Android Development] LamboDroid19:
a very detailed step by step how to would be great......seems i am missing something or doing something wrong
[Captivate Android Development] whitenerj:
interesting, your right.
[Captivate Android Development] uiskibum:
the code i've posted twice works. if you can't get adb push to work, then just mount your phone, and copy the file over using windows explorer. then run the adb shell and subsequent commands.
[Captivate Android Development] LamboDroid19:
it still not working....what could i be doing wrong?
[Captivate Android Development] PRS_Player:
I was having the same problems with cp not found and permission errors.

Installing the latest version of busybox did the trick for me.

Just head to the market and grab the latest installer.
[Captivate Android Development] Kizzmiazz:
Damn your right. Not to bad though kinda best of two worlds lol you get the puzzle when you miss stuff lol . But yeah at least it doesn't go away forever.

Hopefully op can fix that part .

Cognition Froyo 2.2 Rooted-Sideloaded-RyanZA's OCLF and Screaming Fast
[Captivate Android Development] Rhiannon224:
well I got the lockscreen working so far, I am going to put it to sleep and see if I get calls and notifications. Will keep you posted.

update I put it to sleep and I got calls, let it sleep on it's own and got calls. Thanks for the guide and patience. You guys are awsome, I am gonna go let them know in the irc Cognition chatroom about this they were all wanting the lockscreen.
[Captivate Android Development] JimmehDean:
So much better than stock bs. Thank you for this

Sent from Samsung Captivate running XDA.
[Captivate Android Development] autocorrelation:
I posted this earlier in the thread, but I had the same problem and I ended up using the cat command.

So the commands were as follows in terminal emulator

First go to the directory where you have placed the new file.

su

cat android.policy.odex > /system/framework/android.policy.odex

then restart the phone
[Captivate Android Development] Rhiannon224:
Get root explorer, it was simple, took two minutes to do.
[Captivate Android Development] NiXXeD:
I have the fixed version, just want to test it out before I upload.
[Captivate Android Development] domin8:
worked like a charm :) my phone is complete now!
[Captivate Android Development] NiXXeD:
Ok v2 is up, fixes the puzzle bug mentioned above.
[Captivate Android Development] shizomou:
Thanks! The tWiz lockscreen doesnt work right on 2.2
[Captivate Android Development] kinggheedora:
How is this compared to swype?
[Captivate Android Development] kinggheedora:
Can anyone post pics of the lock screens before and after? I don't know what the stock lock screen looks like so not sure if I wan to apply this change.

Also, is there any functionality difference?
[Captivate Android Development] justflorin:
after a TON of heartache...doing this worked flawlessly!
[Captivate Android Development] NiXXeD:
The link of the original thread has a screenshot.

New functionality is you can turn sound on and off with a left swipe. Also no more puzzle dragging or glass.
[Captivate Android Development] erezak:
Great post.

I like the Samsung lock screen, but it's nice that we can have options.
[Captivate Android Development] outlawxi:
The instructions can't be any easier than this! :D
[Captivate Android Development] wyvex:
I just installed Cog 2.2 Beta 2. It is running well, but it is a deodexed ROM now. How can stock lock be installed on it?
[Captivate Android Development] whitenerj:
Thanks for the fixed version!
[Captivate Android Development] uiskibum:
a deodexed version will need to be created
[Captivate Android Development] ptc62:
Qiuick question.. How does the media player function while locked? in samsungs lock u are still able to change tracks pause/play etc.. Is this the case with androids stock lock?
[Captivate Android Development] terrigan:
The stock lockscreen should have the media player pulldown at the top. I don't think it works if you use the pattern lockscreen, haven't checked the pin lock however.

Also +1 to a Deodexed version of the lockscreen, running Cog 2.2 Beta 2 now so the odex is kinda useless.
[Captivate Android Development] GuitsBoy:
LOL!!! No wonder! I totally missed that 2.2 still had odex files and 2.2v2 was deodexed. Ive been beating my head against the wall for a half hour! :)
[Captivate Android Development] NiXXeD:
Updated with Deodexed version. See OP.
[Captivate Android Development] wyvex:
Thank you!!!! Working great!!!
[Captivate Android Development] terrigan:
Deodexed one works perfectly with Cognition 2.2 Beta 2! Thanks OP!
[Captivate Android Development] A.VOID:
Thanks for this. for some reason, froyo requires a fullscreen finger drag vs. 2.1's half screen

This was a nice improvement for me.