yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] RKight:
Yeah, I'm not even sure at this point. Now, I'm thinking the one I was originally using may have been a little different, as I'm thinking I got it from the thread describing how to add the reboot option to the shutdown menu (http://xdaforums.com/showthread.php?t=812341). When I downloaded the one for b8.1, from this thread, I rebooted into Clockwork recovery and used ADB to push the file to the phone before issuing "adb reboot". Upon reboot, I still only had the shutdown menu. I had a bit of spare time at work last night, so I tried downloading the file again, from my phone, and using the terminal to cp the file to /system/framework. Reboot went fine but then a long press of the power button caused my screen to go black and my phone to completely lock up. I had to pull the battery to shut the phone down. I tried again with the same result. Thankfully, I had made a nandroid backup, so I just used CWM recovery to restore the system partition.
[Captivate Android Development] NiXXeD:
I'm not sure what it is that is different about your phone or build combo, but I am running 8.1 with my lock screen mod and it's working fine. You may want to just one click fresh and try again?
[Captivate Android Development] RKight:
I actually just flashed Cog Beta 9 and pushed your lock screen mod over. It's working perfectly. I'm going to push the version E circle battery mod over in a minute but I made sure to make a backup of the original framework-res.apk because I'm not expecting it to play nice. I'll post my results.

Edit: Okay. Just as I thought, the battery mod shows up perfectly and works great...until you do a long-press of the power button. At that point, I get the one-long three-short force-close vibration, followed by a soft reboot.
[Captivate Android Development] NiXXeD:
That is expected behavior considering the battery mods don't work with 8.1+ yet =)
[Captivate Android Development] RKight:
Oh, I figured as much. Lol. I was doing it for my own curiosity because I couldn't figure out what was going on before. The odd thing is, the battery mod was working perfectly with the lock screen that only included the shutdown option. My power menu would come up perfectly and the menu functioned normally. The only thing I can think is that when I pushed the 8.1 lock screen and didn't get any results, it must not have copied over. I don't know. I guess it's either keep the lock screen mod I have now and go without the circle battery, or put my previous lock screen back on there so I can use both...but then I lose my reboot options. The lock screen named "DEODEX.TAP.android.policy.jar" was the one that was functioning with the battery mod. I just checked my files. The "COGB81.TAPLOCK.android.policy" is the one that isn't playing nice. I'm sure you knew that already, though. Lol
[Captivate Android Development] NiXXeD:
I didn't remove any functionality when I cleaned up my dropbox. If you must know the exact details here you go, probably TMI though.

Pre b8, android.policy was only changed for the lock screen. DG then put out a version of cognition with the power button option (reboot). I made a specific version of the lock screen for that. However no framework changes were needed because the reboot string already existed.

Then I think for 8.1, DG added reboot download and reboot recovery options. Those strings did not already exist, so framework-res.apk was changed to add them.

The symptom(s) you are seeing are because of these changes. You have to have matching android.policy and framework-res.apk. If you install an OLD deodexed android.policy (with reboot only, or no reboot at all), then you can use a circle battery indicator from this thread. But for now, in cognition, Android.policy is changed to include the 3 reboot options, and I don't have the circle battery stuff updated with the new framework-res.apk yet because I get compile errors when attempting to fix them. I just have been really busy lately and haven't had time to look into fixing it.

Anyway, just use the cognition battery indicator for a day or two until I work this out. That's what I'm doing.
[Captivate Android Development] RKight:
Not too much info at all. I really appreciate the explanation, actually. That certainly clears things up for me, and I now understand why I had the two working together under B8.1. I appreciate the work you've done and am just glad to have the stock lock screen back. I like the circle battery mod a lot but it certainly isn't a deal-breaker. :-)
[Captivate Android Development] Demented71:
That's what I'm doing as well; waiting til you can get a working version. However, I may even stick with the cog battery indicator since I rarely see the modded one I used anyway. Just like being cool and having something different. ;)
[Captivate Android Development] mjriehl:
I have an andriod.policy.jar file not an android.policy.odx file. Can I just change the file extension or is there something else I need to do?
[Captivate Android Development] RKight:
You just need to download the right file. There are two lock screens: android.policy.odex and android.policy.jar (deodexed, for Cognition 8.1 and 9). If you mean that android.policy.jar is the one currently on your phone, then your ROM is deodexed. If you're running a deodexed ROM other than Cognition, I'm not sure if the lock screen will work or not. I don't see why it wouldn't...but I don't know enough about it to say for sure.
[Captivate Android Development] NiXXeD:
I'm finally getting to the 8.1+ battery indicators. I've removed the old download links. As they come back up, they'll be compatible.
[Captivate Android Development] chipsa964:
Are they compatible with b9?
[Captivate Android Development] JPS81:
Any chance of getting a mod that removes the notification bar clock entirely (not just invisible, as that would create an unsightly gap)?
[Captivate Android Development] NiXXeD:
The more permutations that get created with this type of thing make the maintenance of these mods near impossible. I will rehost/link to these if anyone else has the motivation to keep that kind of thing up, however I'm not going to take that on myself.
[Captivate Android Development] NiXXeD:
8.1+ so far, so yes, until DG modifies something else to break it.
[Captivate Android Development] Demented71:
SWEET!

Thanks!
[Captivate Android Development] crupp:
can not seem to download the Z gauges
[Captivate Android Development] NiXXeD:
>_> My post said I was working on them and as soon as the link is back up, it will be compatible. They're all done now.
[Captivate Android Development] crupp:
Sorry was on my phone and missed that. Thanks for all the hard work
[Captivate Android Development] chipsa964:
I was having an issue where it was messing up my contacts. Was that because it was not compatible with b9 before?
[Captivate Android Development] chipsa964:
Seems to still be doing it...all my custom contacts that had contact pictures, custom ringtones, and favorites are all missing. Any way to fix that?
[Captivate Android Development] evil5826:
Which one of the battery indicators is the stock battery with % accuracy?
[Captivate Android Development] NiXXeD:
I can't imagine anything related to this that would cause that.

These all have % accuracy. See the OP, there are links to every single 1-100 image of each of the different versions.
[Captivate Android Development] chipsa964:
Well I say that because with the stock framework-res.apk all my contacts are correct, but once I replace it with the one I download from the OP, all those contacts disappear and I'm left with only the ones on my sim card. After I put the original back, everything returns to normal
[Captivate Android Development] JayPhill89:
At your contacts app press menu button > more > display options > select Google or whatever account contacts you also want displayed.
[Captivate Android Development] chipsa964:
Yea I have everything checked and the only contacts it's displaying are the ones with the little sim icon next to them
[Captivate Android Development] rattarico:
Nixxed

Finally my battery mod Thanks for everything
[Captivate Android Development] NiXXeD:
My mod shouldn't have anything to do with that. I take the stock framework-res.apk (or in this case cognition one), and swap images. That's it.

Something else is causing this, what ROM(s) are you currently running?
[Captivate Android Development] chipsa964:
Currently running cog beta 9. nothing else is installed except for some simple apps like chomp sms, root explorer, tibu, etc.

Edit: figured it out... I had to sign back in to google through market and all of my other contacts came back
[Captivate Android Development] sinichi21:
has anyone tried the to use the bat mod on cognition 2.2 beta 9?
[Captivate Android Development] chipsa964:
Yes I have. Everything works great
[Captivate Android Development] Demented71:
Running Cognition 2.2beta9 here with the gauge battery mod working beautifully.
[Captivate Android Development] warri:
Okay, i have successfully applied a metamorph to make my lock screen look like this:

now i need to get the bars down on the bottom, so they can look like:

Any ideas on how to move the taplock bars?

from this thread here http://xdaforums.com/showthread.php?t=770315
[Captivate Android Development] NiXXeD:
Not 100% certain but if you decompile the apk, it looks like it's probably in this file (or maybe one of the similarily named ones):

framework-res.apk/res/layout/keyguard_screen_lock.xml

There are a bunch of files starting with keyguard_screen_* so if it's not that one, keep looking.
[Captivate Android Development] NiXXeD:
Posted some beta update.zip versions of the lock screen mods. If someone is brave and willing to try my first update zips (should work in 2e or CWM I think), let us all know if they work!

Make a backup, etc please. I don't want to feel guilty if it does actually break, lol.
[Captivate Android Development] YeaItsSlo:
cant get the update lock screen to work with cog 9.1 starts the install then says install aborted :(
[Captivate Android Development] NiXXeD:
Hmmm was that with 2e or cwm?
[Captivate Android Development] YeaItsSlo:
i had done the 2e kernal before i went to cog 9.1 do i need to reflash the 2e kernal again?

just tried to run the update.zip with cwm and got the same error.
[Captivate Android Development] nammyczc:
Just installed through CWM worked fine, but all my apps force close I have to reinstall apps not sure what happened
[Captivate Android Development] silverslotcar:
Anything from the OP compatable with 2.2 beta 7?
[Captivate Android Development] NiXXeD:
Pretty sure the ji6 standard worked then. I suggest just upgrading though.
[Captivate Android Development] laxwillsch:
I worked at this method forever and every time i used root explorer it borked my phone. After like 4 reflashes I tried the adb method and it worked flawlessly! Thanks
[Captivate Android Development] NiXXeD:
Ok I just upgraded to 9.1.3 myself, and these worked fine with clockwork recovery.
[Captivate Android Development] picklesnickles:
could someone please give me the file for the stock captivate glass lock screen?

I somehow lost my backup and all I have is the vanilla android unlock screen, I like to switch between the two sometimes

thanks a lot!
[Captivate Android Development] jdphilly:
Is this the correct file for cog 9.1.3 COG_TAP_Lockscreen
[Captivate Android Development] jdphilly:
Got lucky..tried it and it worked
[Captivate Android Development] NiXXeD:
LoL. Well it does say confirmed working for that version :)
[Captivate Android Development] chasesavestheday:
what the difference of the 2 lock screens?
[Captivate Android Development] NiXXeD:
The screenshot on the OP shows the AOSP/Tap lock screen.
[Captivate Android Development] chasesavestheday:
maybe im missing the point here. theres 1 scree nshot? so maybe there is only one lock screen, and a version that will work with cog?
[Captivate Android Development] zas0006:
Downloaded CWM cognition stock screen. Used Tom manager to select. Zip and kick off recovery. First boot took about 3-4 minutes but now it is up and running great. Awesome job!!! Thanks for the CWM versions.
[Captivate Android Development] NiXXeD:
Yes the only mod I have is for the AOSP lock screen. Cognition by default comes with touchwiz/glass (same as stock captivate). AOSP is from android stock.

The different versions are for different versions of JI6/froyo.
[Captivate Android Development] rainmanram:
Version Z - gauges breaks battery use on B9.1.3

I installed Version Z - gauges on B9.1.3 and get a needle gauge indicator in the notification bar, but now Settings.About phone.Battery use. doesn't populate and the title says I've been Unpluged for 0s.

Anyone been through this?

Thanks!
[Captivate Android Development] rainmanram:
Sorry, this wasn't the battery mod, it's like this after I flash 9.1.3.
[Captivate Android Development] NiXXeD:
Yea I don't think this would be related at all.
[Captivate Android Development] rainmanram:
Went back and reflashed 9.1.3 and installed version z but can't seem to find the settings for the image or colors. Can I get a clue?

Also, I get time on battery now but only system components, no apps. I remember reading something about this on the 9.1.3 thread but didn't see a resolution, maybe someone on this thread knows why?

Thanks again!
[Captivate Android Development] NiXXeD:
Technically "Version Z" is a web site that cooks these for you, except it doesn't work for us. The Version Z's you see here are "hard coded" to one of the themes.
[Captivate Android Development] NiXXeD:
New versions up for cog v2.3b, links will be invalid until I finish uploading. A-C done so far.
[Captivate Android Development] bkeaver:
just tried loading version A battery meter for Cog 2.3b and now I get a constant FC on phone...

had to reflash to resolve. I tried to just copy the original apk back but that didnt work
[Captivate Android Development] NiXXeD:
If copying back the original APK didn't fix it then I'd guess the framework wasn't the issue. Did you per chance restore system data with Titanium Backup?

Lots of FC issues like that are a result of TIBU restores.

I did get confirmations in IRC last night that the battery/lock screens were working.
[Captivate Android Development] fatttire:
New tap lockscreen version for 2.3b didn't work for me.

Hung at startup and had to adb remove it to be able to boot properly.

I've been fine with all your other versions.

thanks for the quick upload (same day fix!) but you might want to check it.
[Captivate Android Development] whitesedan:
Great Job NiXXeD!

1 request if this is possible, Is there any way to disable the power menu (airplane, data, and poweroff) from the lock screen?
[Captivate Android Development] bkeaver:
I only copied the files to the /system/framework folder. I didnt use Titanium this time around and when it started doing all the FC's I copied the original files back

oh and the lock screen worked fine it was only the battery meter
[Captivate Android Development] NiXXeD:
First boot always takes a while, you probably panicked. It's been confirmed working by several other people.
[Captivate Android Development] jdphilly:
It worked fine for me......NiXXeD do you have a working circle battery mod for cog 2.3b
[Captivate Android Development] NiXXeD:
They are labeled in the op. I made them specially last night.
[Captivate Android Development] jdphilly:
thank you for quick reply
[Captivate Android Development] fatttire:
I gave it 2 hours (I'm not that patient, I left and came back later in the day haha).

Thanks for letting me know it works as this tells me it was a wierd bug and I should try again....
[Captivate Android Development] jslee1020:
would cogv2.3b framework-res work for JJ4?
[Captivate Android Development] NiXXeD:
Cog v 2.3 is based off jj4. It should work fine.
[Captivate Android Development] neo_31591:
hey im a complete noob at this...can you please tell me how to put the mod lockscreen into my cog2.3b2 . . . .i have root explorer,astro......i don wanna use adb...i downloaded the zip file...now what?
[Captivate Android Development] dennka:
+1

is there any step by step instructions for lock screen as for battery thing?
[Captivate Android Development] NiXXeD:
The installation has changed. All the Cog v2.3+ versions are CWM install zips. Install using clockwork recovery. Since they're on the system folder, you don't need to disable voodoo unless you are using that universal lag fix that converted /system also.
[Captivate Android Development] dennka:
Just to make clear, I just upload that lock screen zip file to internal sd card and run CWm and use option as install rom from sd card?
[Captivate Android Development] neo_31591:
yea is that how we do it??
[Captivate Android Development] zelendel:
Yes just copy the zip to your internal memorey and load it threw clockwork.
[Captivate Android Development] dennka:
yep, worked on my side. is it same for Batt Meter as well, just run through CWm?
[Captivate Android Development] sairoland:
Stock lock screen is working great for me on Cog2.3b2.

My only question is: Is there a way to disable the sound it makes when you unlock it? It didn't used to do that for me and I find it annoying, especially when I'm in a meeting.
[Captivate Android Development] NiXXeD:
It's in your sound settings. There's an option for 'lock/unlock noise'. It's by default off, so you must have turned it on.
[Captivate Android Development] p4ranoid4ndroid:
is the cog2.3 version flashable on the optimized JJ4 mod? Im assuming so because it cog2.3 is based off that but just figured id ask before flashing

EDIT: I'm referring to the lock screen mod
[Captivate Android Development] NiXXeD:
The cog 2.3 lockscreen has the reboot options as well. If those are present in the ROM you're using, it's possible. Try it and report back.
[Captivate Android Development] The_Zodiac:
is the stock froyo lockscreen included here?

if so which one is it? a d can i install it by flashing it with clockworkmod?
[Captivate Android Development] cnewsgrp:
Waiting for the version that's compatible with Cog 2.3b3?
[Captivate Android Development] dalamchops:
Same here. It worked but market and power menu were screwed up bad
[Captivate Android Development] nizbot:
I am... patiently :D
[Captivate Android Development] matthebe:
COG 2.3v3 Compatible Stock Lockscreen

Posted in the COG thread too... but since i've seen these 3 requests for it, i'll put it here too. i found a version that works, i dunnno where it came from it was just chillin on my sd card. I used root explorer to overwrite the default one, it seems to be the quickest way to do it.
[Captivate Android Development] zelendel:
Did you notice any issues with it? Like the power menu or such?
[Captivate Android Development] matthebe:
Nope. Haven't noticed any issues... I think I saw a post bout market issues and the power menu, but I've tested both and they work fine.
[Captivate Android Development] nizbot:
Will dl and test. Thanks buddy.
[Captivate Android Development] cnewsgrp:
Can you provide instructions? How to install?
[Captivate Android Development] catman2005:
I can confirm that with this one everything is working ok.

Previous symptoms:

Home button didn't work anymore (kept vibrating a lot and kind of restarting)

Couldn't access the Power button anymore.
[Captivate Android Development] zelendel:
I use root explorer To copy the jar file to system/framework and reboot

Edit ok let me be more clear before something goes wrong.

Unzip the file and then copy the files to you phone and then use root explorer to overwrite the one in system/framework

Can also confirm it works. Seems to be the JI6 version from the first post but I could be wrong
[Captivate Android Development] cnewsgrp:
Can I rename .jar.zip to .jar
[Captivate Android Development] zelendel:
No just unzip it. But it was also posted in Cogs thread that it is confirmed that the JI6 version works so you can get the jar from the first post
[Captivate Android Development] cnewsgrp:
Thanks. I used Super Manager to copy and then unzip. Renamed original android.policy.jar to .old
[Captivate Android Development] NiXXeD:
Interesting. I did ask DG to let me know what changed before I made the mod again, but maybe android.policy had to go back to the JI6 version. If that's the case the JI6 version in the OP will work.

Once I get the info from DG though I'll make an "official" 2.3b3 version even if it is the same file.

Has anyone tested the battery mods to any success?
[Captivate Android Development] avengeryarr:
Haven't tried the battery mods, but the lock screen worked the first time but I had to reflash and when I tried to install the lock screen again, it really messed my phone up. Kept going back to the cognition boot screen, vibrated like an app was force closing, then went to my home screen, repeat. Never saw my lock screen. Scared to try it again.
[Captivate Android Development] NiXXeD:
Updated the lock screen mod for b3. I'll get working on the battery mods now, they'll be updated soon.

Ok all batteries added.
[Captivate Android Development] aite97:
do i need to rename it to update?
[Captivate Android Development] irtehun:
Nothing seems to work on the UCJJ4 build. i have tried multiple times. nothing working.
[Captivate Android Development] NiXXeD:
These are all Cog 2.3b3 versions (actually JI6). Stock JJ4 will not include the reboot options.

I could probably make one that adds reboot options or something to stock JJ4, but it seems that DG thinks the JI6 framework/android.policy are more stable than the JJ4 so I don't know if I'll bother at this point.

Once there is an official build this will all be much easier.
[Captivate Android Development] irtehun:
JI6 deodexed will not even work. or the cog versions
[Captivate Android Development] hrnzir:
using Battery D works great!!!

just used CWM and had no problems
[Captivate Android Development] chillum_99:
Using battery E, installed using Clockwork and the .zip file. Looks great, no probs so far.
[Captivate Android Development] chillum_99:
Update, this seems to kill my Data/3G.
[Captivate Android Development] NiXXeD:
This doesn't touch anything related to that. Must be another mod or something.
[Captivate Android Development] dominikano1:
can someone tell me how to install one of the lockscreens?
[Captivate Android Development] NiXXeD:
Install the zip with clockwork.
[Captivate Android Development] sojafri:
I was wondering how i would go about theming the stock lock screen
[Captivate Android Development] kaoticvisual:
its seems that stock lock screen doesnt work with cog 2.4. correct me if im wrong
[Captivate Android Development] NiXXeD:
It is not yet ready for 2.4. It's based on a vibrant build, so it's a lot different. There's also a developer that has the 4 lock screen + preferences mod on vibrant ROMs so I'm expecting that eventually.
[Captivate Android Development] aite97:
how do i install the lockscreen?
[Captivate Android Development] aite97:
will the batt indicators work with cog 2.4?
[Captivate Android Development] DJNgoma:
Find below the attachment for the AOSP/TapLock everybody.

http://dl.dropbox.com/u/4610937/android.policy.jar
[Captivate Android Development] NiXXeD:
I'm mostly waiting for untermensch to do his 4-lock screen for this version. That will be significantly better than my old AOSP hack. Since some of the other mods modify the framework as well, I'll wait to do the battery mods then too.
[Captivate Android Development] chasesavestheday:
not a fan of the circle battery, how can i get the battery from cognition. but not install cognition?
[Captivate Android Development] DJNgoma:
UPDATE: AOSP/Taplock compatible with Cognition 2.4+.
[Captivate Android Development] jdphilly:
All i get is reboot loops had to restore
[Captivate Android Development] Raleran:
Works fine with mine. It took a while on first boot after replacing the file. Thanks DJNgoma!
[Captivate Android Development] jdphilly:
do you have 2.4 or 2.41 i'm assuming the + means 2.41 also
[Captivate Android Development] crupp:
Where does this jar go?
[Captivate Android Development] techmik67:
It goes in /system/framework