[MOD]Widgetlocker iphone Lockscreen[Come Share your PNGs! - Updated 01/11/10] - Android Themes

Ok guys here's my first contribution to the community I guess.
First of all thanks to;
frostman89 - for the iphone pngs
zHk3r - for the new iphone pngs
teslacoil - for the widgetlocker for sure!
others - those that contributed that i forgot.
I take no credit at all, i created this thread because many people have PM'ed me for the pngs and tutorial.
Ok lets start shall we? You will need;
- Widgetlocker(Buy it first cuz its not free)
- Root Explorer(Buy it too and this is optional if you dont know adb)
- the PNG files;
Original Post :
1) http://forum.xda-developers.com/showpost.php?p=8731533&postcount=31 >> Thanks frostman89!
2) http://forum.xda-developers.com/showpost.php?p=8933650&postcount=56 >>Thanks zHk3r! - check it out, its not as in my screenshot.
OR from my dropbox;
frostman89 :
slider - http://dl.dropbox.com/u/11246427/Android/Mod/Widgetlocker iphone mod/slider_iphone.png
background - http://dl.dropbox.com/u/11246427/Android/Mod/Widgetlocker iphone mod/slider_iphone_background.png
zHk3r :
slider - http://dl.dropbox.com/u/11246427/Android/Mod/Widgetlocker iphone mod/slider_iphone-1.png
background - http://dl.dropbox.com/u/11246427/Android/Mod/Widgetlocker iphone mod/slider_iphone_background-1.png
Here's some alternatives/goodies/pngs' contributed by other members;
- http://forum.xda-developers.com/showpost.php?p=8869261&postcount=59
- http://forum.xda-developers.com/showpost.php?p=8872442&postcount=61
- http://forum.xda-developers.com/showpost.php?p=8875029&postcount=28
- http://forum.xda-developers.com/showpost.php?p=8894543&postcount=30
Thanks guys!
Because you want this;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Got 2 steps on how to do this;
1) ADB
2) Root Explorer
3) My own steps(this is what i did to get it working!!)
4) Ninjamorph(S-OFF required)
5) Paypal buyer~~
6) Easier method - simple script
7) What if FC after applied the mod? Link to original post - http://forum.xda-developers.com/showpost.php?p=8928204&postcount=51
BEFORE THAT, NANDROID first!!!!!!!!!!!!!
-------------------------------------------------------------------------
1) ADB(google would help a lot)
*Btw make sure you have your widgetlocker completely removed/uninstalled before doing this.
a. You will need Android SDK installed (google for it will ya?).
b. "adb pull" your widgetlocker(anyone who did this can tell me please?)
c. Open your "pulled" apk using winrar.
d. Browse to /res/drawable-hdpi
e. Drop those 2 images you downloaded in there(make sure it is the exact name as the original so it will overwrite it.
f. Now for adb push part(make sure you in the recovery mode and make sure the widgetlocker.apk is put inside android-sdk-windows/tools folder - the default folder for adb);
Code:
adb remount
adb push com.teslacoilsw.widgetlocker-1.apk /system/app/com.teslacoilsw.widgetlocker-1.apk
adb reboot
g. Tada! Enjoy!
---------------------------------------------------------------------------
2) Root Explorer
*Btw make sure you have your widgetlocker completely removed/uninstalled before doing this.
a. Browse the app in data/app, it is called com.teslacoilsw.widgetlocker-1.apk
b. Copy it to your SD card.
c. Modify it(see step d and e above)
d. Put it back into system/app(you need to be in R/W mode)
e. After that, long click the app, select permissions, and do checkmarks like this: (the * represents a checkmark) - this is courtesy of frostman89
* . * . -
* . - . -
* . - . -
f. Reboot and voila!
==========================================================
3. My own steps!
Actually my steps is mixed between those 2 because, I can't pull using adb so i had to pull using Root Explorer. Then I cant push it using Root Explorer so i had to adb push them.
So there you go, if you have problems like me, just did what i did.
a. Browse the app in data/app, it is called com.teslacoilsw.widgetlocker-1.apk
b. Copy it to your SD card.
c. Modify it(see step d and e above)
f. adb push(make sure you in the recovery mode and make sure the widgetlocker.apk is put inside android-sdk-windows/tools folder - the default folder for adb);
Code:
adb remount
adb push com.teslacoilsw.widgetlocker-1.apk /system/app/com.teslacoilsw.widgetlocker-1.apk
adb reboot
I'll tell you guys too why i cant use adb pull and push using root explorer;
adb pull - easy, i dont know how to adb at that time...haha~~
paste using root explorer - i pasted it but nothing appeared? i was like wtf and that leads me to learn how to adb.
--------------------------------------------------------------------------------------
4) Ninjamorph(S-OFF required)
I'm not sure how but here is what faceqt told me;
Or, if you have S-OFF you can use Ninjamorph to replace the 2 .png's and reboot your phone.
Click to expand...
Click to collapse
-------------------------------------------------------------------------------------
5) Paypal buyer~~
Quoted from jayhan73;
For people who have purchaed WidgetLocker off paypal, the steps to do this only involves replacing the png files (i.e. opening the apk file sent to your email and adding the png files into the required directory). After that, reinstall the widgetlocker. You may also choose to push the apk via adb. Either way, it works.
Click to expand...
Click to collapse
But i believe once you mod it you can't install it normally, so its either adb or root explorer.
6)Easier method - Smple script as posted by brady;
brady1uk said:
There is a much easier way to get this on your phone using the files from the OP without faffing around on adb, rom manager etc...
download APK manager from here
http://forum.xda-developers.com/showthread.php?t=695701
put the apk file in the "place-apk-here-for-modding"
run the script.bat and extract it, (basically unzips it) drop the new PNG files in /res/drawable-hdpi (replace already existing) then run zip.apk from script and (select option 2 Regular apk) then use option 4 sign apk.
look in the pace-apk-here-for-modding folder will be a new file called 'something'-signed.apk. (this is the new edited Widgetlocker
This file you can put on your SD card and Install and Uninstall like a normal apk using ASTRO etc. no need for ADB and root explorer.
Takes literally 5 minutes to do with NO RISK to your phone
Click to expand...
Click to collapse
7) What if FC after applying the mod? - link to original post - http://forum.xda-developers.com/showpost.php?p=8928204&postcount=51
Is WidgetLocker Force Closing after you've applied the mod?
Quoted from zHK3r
Then try these steps:
Requirements:
Android SDK
HTC Sync Drivers
WidgetLocker
Two PNGs
7zip/WinRAR
1) ADB pull /data/app/com.teslacoilsw.widgetlocker-1.apk
2) Rename the .apk to .zip and open the folder - Drop the two PNGs in drawable-hdpi
3) Rename the .zip back to .apk
On your phone: Uninstall WidgetLocker and then re-install.
Start WidgetLocker, but once you've started it. Press home.
Don't apply any settings or continue the tutorial
4) ADB push com.teslacoilsw.widgetlocker-1.apk /data/app/teslacoilsw.widgetlocker-1-apk
On your phone: Start WidgetLocker > Menu > Settings > Look and Feel > Slider & Layout > iPhone
Code:
adb devices
adb remount
adb pull data/app/teslacoilsw.widgetlocker-1-apk
adb push com.teslacoilsw.widgetlocker-1.apk /data/app/teslacoilsw.widgetlocker-1-apk
Click to expand...
Click to collapse
Btw if you have any problems pushing an apk, try this;
Quoted from Zaphyr;
Ok, so I figured out the problem.
/system wasn't mounted. Even in recovery when I tried to push it over, I needed to go in the Clockwork settings and choose mount system before I could push it.
But now it works perfectly! YAY!!
Click to expand...
Click to collapse
*I'm pretty sure it'll work the same for other lockscreen you wanted as long as you have the needed files.
Feel free to comment and give feedbacks, and correct me if i got wrong in some part. Enjoy!

good what is the name of the clock?

^ That's Semicuda's TypoClock widget. Check out his creation here.
http://forum.xda-developers.com/showthread.php?t=814054

what am i doing wrong? i have pulled the apk, edited and pushed it back... but it does not get installed
ahh... never mind, got it done, at last

Miister-Ot said:
what am i doing wrong? i have pulled the apk, edited and pushed it back... but it does not get installed
ahh... never mind, got it done, at last
Click to expand...
Click to collapse
Nice. glad you got it working. Enjoy!

What about apkmanager to extract the apk from your phone and unbundle it for editing. Its alot easier in my opinion, and it easily re compresses the file and can push it back to the phone for you.
Sorry I don't have a link, but just do a search.
Sent from my HTC Magic using XDA App

It worked like a charm! Thanks, I LOVE IT!!

twigster said:
What about apkmanager to extract the apk from your phone and unbundle it for editing. Its alot easier in my opinion, and it easily re compresses the file and can push it back to the phone for you.
Sorry I don't have a link, but just do a search.
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
Will consider this when I confirm it is confirmed done by other members. cuz i'm not really sure how it works so better not include this yet. But thanks for the info!
qureshali said:
It worked like a charm! Thanks, I LOVE IT!!
Click to expand...
Click to collapse
Cool. Enjoy!

Worked brilliantly
Thanks .. worked very nicely ...
Btw got any plans for new mods ??

Hehe i learned this mod from other guys but i'll post/update this thread when i have another mod.
I'm just sharing as i'm not a dev/designer(yet). Still a student studying software engineering.

methodes with adb doesn work for me =( and either do Root Explorer trick, nothing happend

adb remount first or not? and you need to be inside the recovery.

Can anyone mod the custom slider to make it fit better with this? thanks

Hi
I am having trouble when pushing the apk in adb
I already managed to pull the apk and edited the png files
after that i uninstalled the widgetlocker
the adb remount gives me error "remount failed: Invalid argument" if i run it from recovery mode.
so i run it when the phone on.
then i go to recovery mode and run the push command, which is successful.
then i reboot the phone, but nothing happened.
no widget locker installed.
any idea?
thanks

bloody_mary said:
Hi
I am having trouble when pushing the apk in adb
I already managed to pull the apk and edited the png files
after that i uninstalled the widgetlocker
the adb remount gives me error "remount failed: Invalid argument" if i run it from recovery mode.
so i run it when the phone on.
then i go to recovery mode and run the push command, which is successful.
then i reboot the phone, but nothing happened.
no widget locker installed.
any idea?
thanks
Click to expand...
Click to collapse
Easy, go into the Clockwork settings and choose mount system. then adb remount, and adb push. Should be working 100%!

great, it works.
thanks a lot for your help

bloody_mary said:
great, it works.
thanks a lot for your help
Click to expand...
Click to collapse
cool, glad it worked out for you.

adb not found in Apk Manager
Im trying to run this for my Droid x but i keep getting "adb not found, you will not be able to manipulate the files on your phone" everytime i open it. Im in a man down situation. Lol. Please show me the way.

awesome work. Got this up and running on my droid1 in minutes using the root explorer method. Thanks OP.

ckeyes1106 said:
Im trying to run this for my Droid x but i keep getting "adb not found, you will not be able to manipulate the files on your phone" everytime i open it. Im in a man down situation. Lol. Please show me the way.
Click to expand...
Click to collapse
Do you have android sdk installed btw? And if you have, have u cd to the adb directory?
Sent by S-OFF International Postage

Related

[Tutorial] White Notification Bar [Updated 5/13/10]

Here is a pack of 3 files that, if pushed to your rom will give you the white task bar. This will change status icons and is just a work in progress "fill in the the gap" type of thing until I can write a proper update script for an update.zip. Currently this has only been tested to work 100% with:
Evil Eris 2.0.1 (It will, however, break the Sense launcher. So if you want the white bar, use another launcher)
Ic3Rom 2.0
It DOES NOT work on
TaintedVanilla 1.3.1
Or any rom that has it's System/Framework apk's and jar's odexed.
Please let me know if it works with any others.
Also, please not that this will change the status bar highlights to green.
http://www.multiupload.com/4YV5D61YRX
Click to expand...
Click to collapse
Just push the three files and reboot. Reboot will take about 5 min, so don't freak out if it takes forever. If you get into a boot loop, however, it didn't work.
DISCLAIMER: I'm not responsible if this bricks your phone. Please don't yell at me if it does. Also, be smart: do a nandroid backup before you try this.
Click to expand...
Click to collapse
This tutorial is for a white menu bar. It's still kind of a work in progress, but it works for the most part. When done, it looks like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok. Here is the extremely long way to do this, but it should work with any rom and will give you a full (date/time/notifications) white/vanilla task bar.
(Seriously, this may take 30 minutes or more if you're unfamiliar with some of these commands)
DOWNLOAD: http://www.multiupload.com/VZWCE0A0FN
Unzip the files and there should be 4 folders and 1 file: framework-res, com.htc.resources, PCSCII, Tools, and StatusBarIcon.smali.
Also included are the tools needed to crack open the .dex file from services.jar, smali.jar and backsmali.jar
First you'll need to pull the proper files to modify from whatever rom you're using. Open up your command line program of choice and do this:
cd [your tools folder in the android sdk]
adb remount
adb pull /system/framework/framework-res.apk framework-res.apk
adb pull /system/framework/com.htc.resources.apk com.htc.resources.apk
adb pull /system/app/PCSCII.apk PCSCII.apk
adb pull /system/framework/services.jar services.jar
Click to expand...
Click to collapse
Copy all these files into a new folder.
Things can get messy so name them whatever you'd like to keep things organized.
After all this you can start copying files. First we need to open up services.jar. Easiest way is to change the .jar ending to .zip and expand it with whatever program you'd like. Copy the classes.dex into a new folder. Keep the original folder of the expanded services.jar, it makes things easier in a few minutes.
Here is where things get a little complicated. You'll need to open up the classes.dex file with backsmali.jar. First, make sure Backsmali.jar is in the same folder as classes.dex. Next enter this command into the terminal:
cd [the folder with backsmali and classes.dex file]
java -Xmx512M -jar baksmali.jar -o classes/ classes.dex
Click to expand...
Click to collapse
This will expand classes.dex into a folder. Click through this folder until you find a folder called Status. Now drag the StatusBarIcon.smali into the Status folder. Allow the replacement.
Now we need to close the classes.dex file back up. Make sure smali.jar is in the same folder as the classes folder (make a new folder just to avoid a conflict with your original files) and use these commands:
cd [the folder with smali and the classes folder]
java -Xmx512M -jar smali.jar -o classes.dex classes/
Click to expand...
Click to collapse
You should have a fresh classes.dex file now. Now put this new classes.dex file into the original services.jar folder (that you expanded from a zip) and rezip that file. Then change the name from a .zip to .jar.
Step 1: done.
The next few parts are a lot easier, so stick with me here.
Now we need to open up the Framework-res.apk and replace all of the image files needed for a sexy white menu bar. All of the needed files are in the folder named (you guessed it) framework-res. First, you'll need to expand this .apk, do so by changing it into a .zip. After you expand it, copy the files from my folder to the matching folders. Don't drag and drop the folders, it won't work. Select all inside them and paste/drag/whatever over to the one from your phone. There should be a folder of image files, and a folder with two xml files. Once done return to the top folder of the framework-res.zip you expanded and re-zip the contents. Make sure you select the contents and zip them.
**DO NOT ZIP THE FRAMEWORK-RES FOLDER ITSELF, SELECT THE FILES INSIDE THE FOLDER AND RE-ZIP THEM**
You should now how have a new archive. Rename it to framework-res.apk and set it aside for later use.
The last parts are essentially the same things, but with the other two folders I've included: PCSCII and com.htc.resources. Copy the files, and re-zip them into .apk files.
Ok. Almost done.
Now it's time to send the files back to your phone. Place the new versions of these files into your Tools folder in the Android SDK.
Now let's push them back to your phone:
cd [your tools folder... again]
adb remount
adb push PCSCII.apk /system/app/PCSCII.apk
adb push framework-res.apk /system/framework/framework-res.apk
adb push com.htc.resources.apk /system/framework/com.htc.resources.apk
adb push services.jar /system/framework/services.jar
adb reboot
Click to expand...
Click to collapse
Reboot can take a while, so be patient. I'm thinking rebooting into recovery and clearing your dalvik cache may help, but haven't tried it.
If everything worked correctly, you should have a brand spankin' new notification bar.
Just a note, I have tested this on Evil Eris 2.0 and IceRom 2.0 and it works perfectly. However, it should work with whatever rom you're using. Also, this will change some of your icons to Vanilla ones. If you don't want them changed, don't copy the files that will change them. Those should be apparent when copying the image files from the folders I've included.
If you have any questions, feel free to ask.
Also, if anyone knows how to wrap this all up into a nice little update.zip, please do it or let me know how to do it. It would be greatly appreciated.
Hello, I appreciate the tutorial! I'm attempting to get this set up for my Tainted Vanilla rom and ran into a snag at the beginning. Our services.jar file contains no classes.dex file. All it contains is MANIFEST.MF. Any ideas about how I should proceed?
Ok, I think I've figured it out.
The .odex file is basically the .dex file in an uncompressed format. To break it open you do the same thing you would do with a dex file. Plug it into baksmali and it should yield you a Classes folder. You do have to reassemble it though, which requires you to first deodex it... and it's kind of a pain in the ass. I've figured out the first portion of it, but deodexing the file is decently complicated for a n00b like me. I'll continue to work on it and will hopefully have a solution tomorrow.
Here's where I'm stuck if anyone wants to figure it out:
$ java -Xmx512m -jar baksmali.jar -x services.odex
Error while disassembling method Lcom/android/server/ConnectivityService;-><init>(Landroid/content/ContextV. Continuing.
org.jf.dexlib.Code.Analysis.ValidationException: class Lcom/htc/connectivity/DummyStateTracker; cannot be resolved.
at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedValidationException(ClassPath.java:535)
at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getClassDepth(ClassPath.java:543)
at org.jf.dexlib.Code.Analysis.ClassPath.getCommonSuperclass(ClassPath.java:383)
at org.jf.dexlib.Code.Analysis.RegisterType.merge(RegisterType.java:274)
at org.jf.dexlib.Code.Analysis.AnalyzedInstruction.mergeRegister(AnalyzedInstruction.java:199)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.propagateRegisterToSuccessors(MethodAnalyzer.java:479)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setPostRegisterTypeAndPropagateChanges(MethodAnalyzer.java:459)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeDirectCommon(MethodAnalyzer.java:2968)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeDirectRange(MethodAnalyzer.java:2927)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:856)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:202)
at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:290)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:130)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefinition.java:291)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:135)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:187)
at org.jf.baksmali.main.main(main.java:277)
opcode: invoke-direct/range
CodeAddress: 811
Method: Lcom/android/server/ConnectivityService;-><init>(Landroid/content/ContextV
Click to expand...
Click to collapse
I know that in order for successfully deodex, all the file paths have to be correct. I, however, do not have them yet.
More info here for anyone interested: http://code.google.com/p/smali/wiki/DeodexInstructions
Good work, this should be an update.zip once we have confirmed it working successfully.....
stopxstart said:
Ok, I think I've figured it out.
The .odex file is basically the .dex file in an uncompressed format. To break it open you do the same thing you would do with a dex file. Plug it into baksmali and it should yield you a Classes folder. You do have to reassemble it though, which requires you to first deodex it... and it's kind of a pain in the ass. I've figured out the first portion of it, but deodexing the file is decently complicated for a n00b like me. I'll continue to work on it and will hopefully have a solution tomorrow.
Here's where I'm stuck if anyone wants to figure it out:
I know that in order for successfully deodex, all the file paths have to be correct. I, however, do not have them yet.
More info here for anyone interested: http://code.google.com/p/smali/wiki/DeodexInstructions
Click to expand...
Click to collapse
I get the same error. I posted a issue about this on the project page.
EDIT: Figured it out. Add -c :com.htc.resources.jar
You will need to deodex it first thou.
Can we see screenshots of this notification bar
If you look at the IC3 rom screenshots, this should be the same.
Also, stopxstart, thanks for the hard work! Really appreciate it. Should the phone be connected this whole time? Thanks!
gritts said:
If you look at the ICQ rom screenshots, this should be the same.
Also, stopxstart, thanks for the hard work! Really appreciate it. Should the phone be connected this whole time? Thanks!
Click to expand...
Click to collapse
ICQ ROM do you mean IC3 ROM?
Yes, thanks, I corrected it.
gritts said:
If you look at the IC3 rom screenshots, this should be the same.
Also, stopxstart, thanks for the hard work! Really appreciate it. Should the phone be connected this whole time? Thanks!
Click to expand...
Click to collapse
It's easy just to keep it connected but it's not required. Just make sure you adb remount before pushing and pulling the files.
Going to try out a workaround for all of this, I'll report back sometime tonight.
Also, if this works it will allow me to write a sufficient update.script for a standalone zip.
For those following the progress of this, I am currently testing some standalone files to push that should make this whole process easier.
So far works on: Evil Eris 2.0 and Ic3Rom 2.0 (well, fixes it).
Testing others now.
I'm looking forward to your testing on Tainted Vanilla
hoban_eris said:
Hello, I appreciate the tutorial! I'm attempting to get this set up for my Tainted Vanilla rom and ran into a snag at the beginning. Our services.jar file contains no classes.dex file. All it contains is MANIFEST.MF. Any ideas about how I should proceed?
Click to expand...
Click to collapse
I second that.
ok so these are the things i can't get
the verizon wireless text is white
and the clear button is black with white text
how can i fix these
Re: [Tutorial] White Notification Bar
Did you follow the tut
-------------------------------------
Sent via the XDA Tapatalk App
gritts said:
Did you follow the tut
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
ok ive tried several times and failed every time could someone put up the final zip I could flash
iloveandroid said:
ok so these are the things i can't get
the verizon wireless text is white
and the clear button is black with white text
how can i fix these
Click to expand...
Click to collapse
Let me double check the XML files in the Framework-res.apk to make sure I put the right ones in. I literally have 60 folders filed with the same file from different testing so I could have easily posted the wrong one.
Also, there isn't a zip to flash because I haven't written the update script for it. If you would like to, please do.
stopxstart said:
Let me double check the XML files in the Framework-res.apk to make sure I put the right ones in. I literally have 60 folders filed with the same file from different testing so I could have easily posted the wrong one.
Also, there isn't a zip to flash because I haven't written the update script for it. If you would like to, please do.
Click to expand...
Click to collapse
I would make a flashable but i dont know how
Ok, I fixed the button problem.
You're using Ic3Rom right? Pretty sure the files I have will work with it straight up but let me test it.
Also, I added screenshots to first page.

Changing battery meter?

ok so i like the android shaped battery meter thats in the froyo 2.2 cm6 extreme blue and vanilla rom,right, so my question is it possible to import that into the rom im running and change my regular battery to that one, is there a specific file i can swap
You have to pull your framework-res.apk file from your phone, extract the images from the original framework-res.apk (in this case the one in CM6 extreme), then add those files to your framework-res.apk and push it into the phone. It's 3:15 A.M. here and I'm not in conditions to explain that with detail, tomorrow if noone has explained it I'll tell you how to do it, you only need WinRAR or 7zip and the SDK to pull/push the modified file into your phone
well i do appreciate the lil bit of insight you provided me ill see if i can try to figure it out but i would like some help when you get a chance tomorrow if i cant figure it out
My girlfriend will kill me tonight...
Okay, excuse my bad english, I'll do what I can... Grab the ROM you want to take the battery icons from in the update.zip and download somewhere to your computer, then unzip it and in the folders you just have created navigate to /system/framework/
Here select the framework-res.apk file and open it with WinRAR (you can do that with 7zip I think but I use WinRAR), once opened navigate inside the zip to /res/drawable-mdpi/ folder and extract all the images there to a new empty folder.
Once extracted all the images, search for the images called
stat_sys_battery_0.png
stat_sys_battery_10.png
stat_sys_battery_20.png
stat_sys_battery_40.png
...
stat_sys_battery_charge_anim4.png
stat_sys_battery_charge_anim5.png
stat_sys_battery_unknown.png
There are 14 battery images in total, at least in my ROM. You can delete all the other images as they have nothing to do with battery status and it will be more easy to do the next step if you only have the battery images.
Connect your phone to your PC, boot your phone into recovery and select "USB-MS toggle". In your computer open a CMD (MS-Dos) prompt window, navigate to the 'tools' directory of your SDK folder (I recommend to unzip SDK in C:/AndroidSDK or something like that for easy access) and write
Code:
adb
adb pull /system/framework/framework-res.apk framework-res.apk
DON'T CLOSE THE CMD WINDOW, if you do, you will have to start ADB again for the "push" step.
That will take the framework-res.apk file from your phone and download it into your computer.
Next you have to do is to open the file you have pulled from your phone with WinRAR, navigate inside that file into /res/drawable-mdpi/ and drag&drop the battery images you have extracted from the original framework-res.apk to that folder.
Close the file, go back to the CMD prompt window and type
Code:
adb push framework-res.apk /system/framework
Once done, the only thing left to do is typing
Code:
adb reboot
And when your phone finishes rebooting you should see the new battery icons you just uploaded to the phone.
I think I've explained it well, as I said I'm kinda sleepy
I'll be back tomorrow, hope to read you have succeed on changing the battery icons
hells yeah, thank you that worked for me just like you explained it. now i just need to make it fit in with my black theme. but thanks again hope i didnt get cursed out by your girl
She didn't noticed, or so I hope Now I'm leaving to work but you have two options now, change all the rest of your icons and also your current statusbar background so the icons fits with the statusbar or edit the battery icons so it fits with your background.
Here's how my screen looks this morning (thanks UltraLinx for the walppaper) to give you an idea of the background bar thing, I changed mine to a full black bar, If I can help you with your customization I'll be back in like 6 hours or so
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Coming from the incredible I have a circle battery meter from the desire ported over and there are 100 ,pngs in the framework , 1 for each % as battery dies. But the phone is only showing only the 20% increments like the normal battery indicator shows. any idea how I can get it to show each percent as phone dies?
Sent from my Htc Incredible
lolingu said:
My girlfriend will kill me tonight...
Okay, excuse my bad english, I'll do what I can... Grab the ROM you want to take the battery icons from in the update.zip and download somewhere to your computer, then unzip it and in the folders you just have created navigate to /system/framework/
Here select the framework-res.apk file and open it with WinRAR (you can do that with 7zip I think but I use WinRAR), once opened navigate inside the zip to /res/drawable-mdpi/ folder and extract all the images there to a new empty folder.
Once extracted all the images, search for the images called
stat_sys_battery_0.png
stat_sys_battery_10.png
stat_sys_battery_20.png
stat_sys_battery_40.png
...
stat_sys_battery_charge_anim4.png
stat_sys_battery_charge_anim5.png
stat_sys_battery_unknown.png
There are 14 battery images in total, at least in my ROM. You can delete all the other images as they have nothing to do with battery status and it will be more easy to do the next step if you only have the battery images.
Connect your phone to your PC, boot your phone into recovery and select "USB-MS toggle". In your computer open a CMD (MS-Dos) prompt window, navigate to the 'tools' directory of your SDK folder (I recommend to unzip SDK in C:/AndroidSDK or something like that for easy access) and write
Code:
adb
adb pull /system/framework/framework-res.apk framework-res.apk
DON'T CLOSE THE CMD WINDOW, if you do, you will have to start ADB again for the "push" step.
That will take the framework-res.apk file from your phone and download it into your computer.
Next you have to do is to open the file you have pulled from your phone with WinRAR, navigate inside that file into /res/drawable-mdpi/ and drag&drop the battery images you have extracted from the original framework-res.apk to that folder.
Close the file, go back to the CMD prompt window and type
Code:
adb push framework-res.apk /system/framework
Once done, the only thing left to do is typing
Code:
adb reboot
And when your phone finishes rebooting you should see the new battery icons you just uploaded to the phone.
I think I've explained it well, as I said I'm kinda sleepy
I'll be back tomorrow, hope to read you have succeed on changing the battery icons
Click to expand...
Click to collapse
Im getting this error: device not found?
Anyone know why?
stifler05 said:
Im getting this error: device not found?
Anyone know why?
Click to expand...
Click to collapse
Have you installed the adb drivers for your phone?
Coolsaber57 said:
Have you installed the adb drivers for your phone?
Click to expand...
Click to collapse
Everything was installed, but there was some problem, fixed now.
Now Im getting new error: remote object /system/framework/framework-res.apk does not exist.
stifler05 said:
Everything was installed, but there was some problem, fixed now.
Now Im getting new error: remote object /system/framework/framework-res.apk does not exist.
Click to expand...
Click to collapse
How did you resolved the issue? Care to share?
JokerAce said:
How did you resolved the issue? Care to share?
Click to expand...
Click to collapse
Sure mate.
I uninstalled all Android drivers(cause mass storage) with USBDeview(Ill post this software if you want), connected the phone while it was running then manually installed drivers that you get with SDK. And everything is working. But cant fix second error now
I'm trying to do the same thing, but I get a different error:
Code:
C:\Users\Eric\Desktop\Android Dev\AndroidSDK\tools>adb push framework-res.apk /s
ystem/framework
failed to copy 'framework-res.apk' to '/system/framework/framework-res.apk': Per
mission denied
Fix? I'm rooted, what do I need to do to get permission? adb noob.
E_man5112 said:
I'm trying to do the same thing, but I get a different error:
Code:
C:\Users\Eric\Desktop\Android Dev\AndroidSDK\tools>adb push framework-res.apk /s
ystem/framework
failed to copy 'framework-res.apk' to '/system/framework/framework-res.apk': Per
mission denied
Fix? I'm rooted, what do I need to do to get permission? adb noob.
Click to expand...
Click to collapse
/system is mounted read-only. "adb shell mount" will show that.
Code:
adb remount
This will fix it. Note, no "shell" there, alternative:
Code:
adb shell mount -o remount,rw /system
I do use this one, instead, because I then do whatever and issue that command again, changing rw to ro, to clear write permission.

Got FONT??

Iv'e noticed alot of people looking for different fonts, such as myself. i dont know if this is a good idea but i would like to start this forum /archive for new and unique fonts that work on our android devices.
If your unsure of how to apply your new font here are a couple of links that can help.
http://www.gadgetsdna.com/custom-fonts-installation-on-rooted-android-device/696/#ixzz0z6f5nAjM
If you perfer script free and(or) have typefresh in your market, this should be helpful...http://forum.xda-developers.com/showthread.php?t=717548
The thing is that often these fonts aren't free, costing up to $200 a font.
So sharing them here on XDA wouldn't be to cool.
But yeah. I've found some sweet fonts in my time. Not particulary for Android - dafont has a lot of fonts.
zHk3R said:
The thing is that often these fonts aren't free, costing up to $200 a font.
So sharing them here on XDA wouldn't be to cool.
But yeah. I've found some sweet fonts in my time. Not particulary for Android - dafont has a lot of fonts.
Click to expand...
Click to collapse
i was afraid of that, copyrights and such...lol thats the last thing i need, a lawsuit for stolen font... thanks for the insight tho,just thought itd be nice to have archive onsite...
zHk3R said:
The thing is that often these fonts aren't free, costing up to $200 a font.
Click to expand...
Click to collapse
Most of the fonts I've found are free to use so not sure where you get that from. No doubt you do have to pay for some, but the majority are free.
In response to the OP, I've found 99% of .ttf fonts work however, not all look right. My preferred font is Sony Sketch which for the most part looks ok, but there are instances where it doesn't but I can live with it, so have found it to be trial and error with most fonts I have tried at getting the balance right when it comes to being workable and aesthetics.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
XperiaX10iUser said:
Most of the fonts I've found are free to use so not sure where you get that from. No doubt you do have to pay for some, but the majority are free.
Click to expand...
Click to collapse
You're right. Most fonts are free, but the ones you really fall in love with often cost a lot. I've been there, lol. But I agree. Some sort of collection of fonts that work on Android would be cool.
I use 'chinacatthin.ttf'
Works great on my x10. It's for free everywhere on the net.
Sent from my rooted x10i using tapatalk. Cheers, Arnold
zHk3R said:
You're right. Most fonts are free, but the ones you really fall in love with often cost a lot. I've been there, lol.
Click to expand...
Click to collapse
There are a ton of free ones I love, but stick them on the phone and they just don't look right.
Sent from my X10i using XDA App
well here is neutra font that i have fallen in love with...i hope im not stepping on toes but the thanks go to an unknown member and socal specialist for the assist.
frosteddroid said:
well here is neutra font that i have fallen in love with...i hope im not stepping on toes but the thanks go to an unknown member and socal specialist for the assist.
Click to expand...
Click to collapse
That would be Knyku sir
Still accepting PMs for those who want it.
But shhh don't tell
frosteddroid said:
well here is neutra font that i have fallen in love with
Click to expand...
Click to collapse
Not bad, it's removed the little boxes at least, but will stick with Sony Sketch I think.
how exactly do you change the fonts ?
I have a whole lot og fonts I would like to use, but I'm dumbstruck as to the way to change them...
jadephyre said:
how exactly do you change the fonts ?
I have a whole lot og fonts I would like to use, but I'm dumbstruck as to the way to change them...
Click to expand...
Click to collapse
just place on sd and flash away...
frosteddroid said:
just place on sd and flash away...
Click to expand...
Click to collapse
explain that for the newbs?
Using rootexplorer, I found "system/fonts". Is this where they go?
Knyku said:
That would be Knyku sir
Still accepting PMs for those who want it.
But shhh don't tell
Click to expand...
Click to collapse
thats awesome, thanks for the share boss, just felt bad i didnt know whom it originally came from...
OrganizedFellow said:
explain that for the newbs?
Using rootexplorer, I found "system/fonts". Is this where they go?
Click to expand...
Click to collapse
honestly i dont know if that'd work or not but if you plug phone into pc,click connect usb, drag and drop strait onto sd card,once font is on sd: powerdown & go into recovery, flash from sd just like you would a rom. after that you should be set...
jadephyre said:
how exactly do you change the fonts ?
Click to expand...
Click to collapse
By using TypeFresh & AndExplorer, have a read of this - Changing Fonts on X10, some have said just copy and pasting using RootExplorer works but not tried it myself.
So after reading the past few pages, I was left NOT KNOWING HOW TO INSTALL A FONT.
I KNEW IT HAS TO DO WITH ADB, so ... I'm gonna give it a shot.
These instructions are proven to work on my Nexus.
I followed these steps twice today, making sure they are accurate.
I even went to far as to UNDO, REDO, and grabbed some screenshots along the way
If these instuctions don't work for you, please don't hold me liable!
----- ----- ----- ----- ----- ----- ----- ----- ----- -----
Connect phone to PC with USB cable.
Run this code to locate your fonts folder:
Code:
adb devices
adb shell
cd system/fonts
ls
MINE DISPLAYS THIS:
DroidSerif-Regular.ttf
DroidSerif-Italic.ttf
DroidSerif-BoldItalic.ttf
DroidSerif-Bold.ttf
DroidSansThai.ttf
DroidSansMono.ttf
DroidSansHebrew.ttf
DroidSansFallback.ttf
DroidSansArabic.ttf
DroidSans.ttf
DroidSans-Bold.ttf
Clockopia.ttf
Your listing may be different.
Now let's back them up.
Exit shell to your android/tools folder
Code:
adb pull /system/fonts/DroidSerif-Regular.ttf ./_STUFF/fonts/DroidSerif-Regular.ttf.bak
adb pull /system/fonts/DroidSerif-Italic.ttf ./_STUFF/fonts/DroidSerif-Italic.ttf.bak
adb pull /system/fonts/DroidSerif-BoldItalic.ttf ./_STUFF/fonts/DroidSerif-BoldItalic.ttf.bak
adb pull /system/fonts/DroidSerif-Bold.ttf ./_STUFF/fonts/DroidSerif-Bold.ttf.bak
adb pull /system/fonts/DroidSansThai.ttf ./_STUFF/fonts/DroidSansThai.ttf.bak
adb pull /system/fonts/DroidSansMono.ttf ./_STUFF/fonts/DroidSansMono.ttf.bak
adb pull /system/fonts/DroidSansHebrew.ttf ./_STUFF/fonts/DroidSansHebrew.ttf.bak
adb pull /system/fonts/DroidSansFallback.ttf ./_STUFF/fonts/DroidSansFallback.ttf.bak
adb pull /system/fonts/DroidSansArabic.ttf ./_STUFF/fonts/DroidSansArabic.ttf.bak
adb pull /system/fonts/DroidSans.ttf ./_STUFF/fonts/DroidSans.ttf.bak
adb pull /system/fonts/DroidSans-Bold.ttf ./_STUFF/fonts/DroidSans-Bold.ttf.bak
adb pull /system/fonts/Clockopia.ttf ./_STUFF/fonts/Clockopia.ttf.bak
I guess since we'll be messing with a critical folder of the phone, we should stop shell and remount?! Then push new font(s) and reboot.
Now go find a font.ttf that you like. Put it in your tools folder.
I chose Comfortaa. The zip contains: Comfortaa Thin.ttf, Comfortaa Regular.ttf, and Comfortaa Bold.ttf
I only want (to try) Bold and Regular.
I FOUND that the font being pushed can NOT have any spaces, oops.
Code:
adb shell stop
adb remount
adb push ./_STUFF/fonts/Comfortaa-Regular.ttf. /system/fonts/DroidSans.ttf
adb push ./_STUFF/fonts/Comfortaa-Bold.ttf /system/fonts/DroidSans-Bold.ttf
adb shell start
adb reboot
You should have a new font now.
YA DONT LIKE IT?
Restore your original:
Code:
adb shell stop
adb remount
adb push ./_STUFF/fonts/DroidSans.ttf.bak /system/fonts/DroidSans.ttf
adb push ./_STUFF/fonts/DroidSans-Bold.ttf.bak /system/fonts/DroidSans-Bold.ttf
adb shell start
adb reboot
***** ***** ***** ***** ***** ***** ***** ***** ***** *****
As you've noticed, I keep all my STUFF here: D:/android/tools/_STUFF/fonts/
Feel free to keep yours elsewhere. As long as it's in the android/tools folder, you should be okay.
Instead of flashing a zip on your sdcard as mentioned earlier in this thread, I like doing it this way, so you can just as easily UNDO the font install. As long as you know how to ADB, you can install a font, and tons more!
SCREENSHOTS:
Settings
Notifications
SMS
OrganizedFellow said:
So after reading the past few pages, I was left NOT KNOWING HOW TO INSTALL A FONT.
I KNEW IT HAS TO DO WITH ADB, so ... I'm gonna give it a shot.
These instructions are proven to work on my Nexus.
I followed these steps twice today, making sure they are accurate.
I even went to far as to UNDO, REDO, and grabbed some screenshots along the way
If these instuctions don't work for you, please don't hold me liable!
----- ----- ----- ----- ----- ----- ----- ----- ----- -----
Connect phone to PC with USB cable.
Run this code to locate your fonts folder:
Code:
adb devices
adb shell
cd system/fonts
ls
MINE DISPLAYS THIS:
DroidSerif-Regular.ttf
DroidSerif-Italic.ttf
DroidSerif-BoldItalic.ttf
DroidSerif-Bold.ttf
DroidSansThai.ttf
DroidSansMono.ttf
DroidSansHebrew.ttf
DroidSansFallback.ttf
DroidSansArabic.ttf
DroidSans.ttf
DroidSans-Bold.ttf
Clockopia.ttf
Your listing may be different.
Now let's back them up.
Exit shell to your android/tools folder
Code:
adb pull /system/fonts/DroidSerif-Regular.ttf ./_STUFF/fonts/DroidSerif-Regular.ttf.bak
adb pull /system/fonts/DroidSerif-Italic.ttf ./_STUFF/fonts/DroidSerif-Italic.ttf.bak
adb pull /system/fonts/DroidSerif-BoldItalic.ttf ./_STUFF/fonts/DroidSerif-BoldItalic.ttf.bak
adb pull /system/fonts/DroidSerif-Bold.ttf ./_STUFF/fonts/DroidSerif-Bold.ttf.bak
adb pull /system/fonts/DroidSansThai.ttf ./_STUFF/fonts/DroidSansThai.ttf.bak
adb pull /system/fonts/DroidSansMono.ttf ./_STUFF/fonts/DroidSansMono.ttf.bak
adb pull /system/fonts/DroidSansHebrew.ttf ./_STUFF/fonts/DroidSansHebrew.ttf.bak
adb pull /system/fonts/DroidSansFallback.ttf ./_STUFF/fonts/DroidSansFallback.ttf.bak
adb pull /system/fonts/DroidSansArabic.ttf ./_STUFF/fonts/DroidSansArabic.ttf.bak
adb pull /system/fonts/DroidSans.ttf ./_STUFF/fonts/DroidSans.ttf.bak
adb pull /system/fonts/DroidSans-Bold.ttf ./_STUFF/fonts/DroidSans-Bold.ttf.bak
adb pull /system/fonts/Clockopia.ttf ./_STUFF/fonts/Clockopia.ttf.bak
I guess since we'll be messing with a critical folder of the phone, we should stop shell and remount?! Then push new font(s) and reboot.
Now go find a font.ttf that you like. Put it in your tools folder.
I chose Comfortaa. The zip contains: Comfortaa Thin.ttf, Comfortaa Regular.ttf, and Comfortaa Bold.ttf
I only want (to try) Bold and Regular.
I FOUND that the font being pushed can NOT have any spaces, oops.
Code:
adb shell stop
adb remount
adb push ./_STUFF/fonts/Comfortaa-Regular.ttf. /system/fonts/DroidSans.ttf
adb push ./_STUFF/fonts/Comfortaa-Bold.ttf /system/fonts/DroidSans-Bold.ttf
adb shell start
adb reboot
You should have a new font now.
YA DONT LIKE IT?
Restore your original:
Code:
adb shell stop
adb remount
adb push ./_STUFF/fonts/DroidSans.ttf.bak /system/fonts/DroidSans.ttf
adb push ./_STUFF/fonts/DroidSans-Bold.ttf.bak /system/fonts/DroidSans-Bold.ttf
adb shell start
adb reboot
***** ***** ***** ***** ***** ***** ***** ***** ***** *****
As you've noticed, I keep all my STUFF here: D:/android/tools/_STUFF/fonts/
Feel free to keep yours elsewhere. As long as it's in the android/tools folder, you should be okay.
Instead of flashing a zip on your sdcard as mentioned earlier in this thread, I like doing it this way, so you can just as easily UNDO the font install. As long as you know how to ADB, you can install a font, and tons more!
SCREENSHOTS:
Settings
Notifications
SMS
Click to expand...
Click to collapse
sweet thanks for that addition to the forum.. im not very command prompt oriented but thats really useful to know.im gonna have to try that on a few myself...
ps: sorry if i mislead you (anyone) on flashing font via sd.. neutra was the only font ive messed with honestly and it was just a simple flash from sd. ive tried alot of others that dont work when flashing, such as .ttf format they wont flash from sd ,atleastt not on my eris
OrganizedFellow said:
So after reading the past few pages, I was left NOT KNOWING HOW TO INSTALL A FONT.
Click to expand...
Click to collapse
Despite me posting a link to a thread with images showing how.
OrganizedFellow said:
So after reading the past few pages, I was left NOT KNOWING HOW TO INSTALL A FONT.
Click to expand...
Click to collapse
You should have a normal version and a bolded version - so 2 .ttf files.
1. adb pull /system/fonts/
2. copy the folder for backup then delete the .ttf's for clocktopia, droidsans, and droidsans-bold
3. make 2 copies of your new font's regular typeface ttf and rename them Clocktopia.ttf and DroidSans.ttf; obviously do the same with the bold typface .ttf and rename it to DroidSans-Bold.ttf (The folder you pulled should look identical but those 3 .ttf files should be the renamed files containing your new font.
4. adb push fonts /system/fonts and you win.
It's hard, I know. http://lmgtfy.com/?q=change+android+system+font

Restoring Samsung lock screen in Cognition

Hello, just wondering how I could restore the stock samsung lock screen (with the puzzle pieces). I'm on cognition beta 5. I have titanium backups that likely have samsung's stock lock screen (was running 2.2 leak previously) - any ideas?
Sent from my SAMSUNG-SGH-I897 using XDA App
i just searched for "lock screen" in the cognition thread and found it
http://forum.xda-developers.com/showpost.php?p=8537704&postcount=2356
bryman27 said:
i just searched for "lock screen" in the cognition thread and found it
http://forum.xda-developers.com/showpost.php?p=8537704&postcount=2356
Click to expand...
Click to collapse
Yep, I have done that twice and works great!!!
Sorry guys, I had searched the cognition thread but perhaps not as awesomely/thoroughly as you had.
I am not one to bother posting and waiting for an answer when I can find it through a simple search. Looks like I didn't use the system correctly this time. Thanks for humoring me anyway and including the relevant search result.
Yours in humble and eternal magisterial grace in the name of the LORD Zeus,
Elgo
Sent from my SAMSUNG-SGH-I897 using XDA App
Quick question--is that the Eclair or Froyo lockscreen? Let me rephrase that--do you have to pull the lockscreen one inch, or like 3 inches? Are there any other differences between the 2.1 and 2.2 lockscreens other than the increase in distance that you have to drag the screen?
j1mb34m said:
Quick question--is that the Eclair or Froyo lockscreen? Let me rephrase that--do you have to pull the lockscreen one inch, or like 3 inches? Are there any other differences between the 2.1 and 2.2 lockscreens other than the increase in distance that you have to drag the screen?
Click to expand...
Click to collapse
My guess is that it's the froyo one.
I don't know if it would cause issues or not but you could probably get the eclair version from the JH2/3/7 threads
Stock Lockscreen
pilot_xphile said:
Yep, I have done that twice and works great!!!
Click to expand...
Click to collapse
It says to put it in your /system/framework folder... anybody that can tell me where this is located would be greatly appreciatedd..
Nuqqets said:
It says to put it in your /system/framework folder... anybody that can tell me where this is located would be greatly appreciatedd..
Click to expand...
Click to collapse
It's on your phone
before you use adb you should read all of this
If you have the file on your computer, then you can use adb to push it to your phone.
In this particular case the commands would be: (replace path to android.policy.odex with the actual path to the android.policy.odex file on your computer)
adb push "path to android.policy.odex" /system/framework/android.policy.odex
chmod 644 /system/framework/android.policy.odex
Or you could just use root explorer.
bryman27 said:
It's on your phone
before you use adb you should read all of this
If you have the file on your computer, then you can use adb to push it to your phone.
In this particular case the commands would be: (replace path to android.policy.odex with the actual path to the android.policy.odex file on your computer)
adb push "path to android.policy.odex" /system/framework/android.policy.odex
chmod 644 /system/framework/android.policy.odex
Or you could just use root explorer.
Click to expand...
Click to collapse
Haha. I am so losst :\.
can yu please explain how to do it step by step ?
Nuqqets said:
Haha. I am so losst :\.
can yu please explain how to do it step by step ?
Click to expand...
Click to collapse
First, just to be extra sure you know exactly what this is, this will make your lockscreen look like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So, if your phone already looks like that, then don't mess with this.
Now, since you sound confused, I'm going to recommend you spend the $4 on "root explorer" (it's in the market, just search for it) and do this the easy way.
1. Normally this step would be to root your phone, but if you don't have this already then you are certainly already rooted. (if you are rooted there will be an app on your phone called "superuser")
1.5. download the android.policy.odex file to your phone, either through usb or just download it straight to your phone
2. download root explorer if you have not already
3. open root explorer
4. tap on "allow" when superuser pops up (if you have opened root explorer before then this will likely not happen, if you are not rooted a message will pop saying to restart the app)
5. scroll down to sdcard and choose it then look for the android.policy.odex file
6. tap and hold on that, then choose copy
7. press the back button and then scroll down to system and choose it
8. then choose framework
9. then choose "paste" at the bottom of the screen
10. then choose yes to overwrite the old file
11. then tap and hold on "android.policy.odex" and choose permissions
12. then check all the boxes in the left column (read) and only the first box in the middle column (write) and none of the boxes in the right column (execute)
13. choose ok
14. turn your phone off and then back on
15. enjoy
bryman27 said:
First, just to be extra sure you know exactly what this is, this will make your lockscreen look like this:
So, if your phone already looks like that, then don't mess with this.
Now, since you sound confused, I'm going to recommend you spend the $4 on "root explorer" (it's in the market, just search for it) and do this the easy way.
1. Normally this step would be to root your phone, but if you don't have this already then you are certainly already rooted. (if you are rooted there will be an app on your phone called "superuser")
1.5. download the android.policy.odex file to your phone, either through usb or just download it straight to your phone
2. download root explorer if you have not already
3. open root explorer
4. tap on "allow" when superuser pops up (if you have opened root explorer before then this will likely not happen, if you are not rooted a message will pop saying to restart the app)
5. scroll down to sdcard and choose it then look for the android.policy.odex file
6. tap and hold on that, then choose copy
7. press the back button and then scroll down to system and choose it
8. then choose framework
9. then choose "paste" at the bottom of the screen
10. then choose yes to overwrite the old file
11. then tap and hold on "android.policy.odex" and choose permissions
12. then check all the boxes in the left column (read) and only the first box in the middle column (write) and none of the boxes in the right column (execute)
13. choose ok
14. turn your phone off and then back on
15. enjoy
Click to expand...
Click to collapse
THANK YOU SO MUCHHHH!. Its people like you that make this site so great ! Willing to help a fellow android member out . I greatly appreciate the very detailed and accurate steps and instructions you gave me. Respect.
bryman27 said:
First, just to be extra sure you know exactly what this is, this will make your lockscreen look like this:
So, if your phone already looks like that, then don't mess with this.
Now, since you sound confused, I'm going to recommend you spend the $4 on "root explorer" (it's in the market, just search for it) and do this the easy way.
1. Normally this step would be to root your phone, but if you don't have this already then you are certainly already rooted. (if you are rooted there will be an app on your phone called "superuser")
1.5. download the android.policy.odex file to your phone, either through usb or just download it straight to your phone
2. download root explorer if you have not already
3. open root explorer
4. tap on "allow" when superuser pops up (if you have opened root explorer before then this will likely not happen, if you are not rooted a message will pop saying to restart the app)
5. scroll down to sdcard and choose it then look for the android.policy.odex file
6. tap and hold on that, then choose copy
7. press the back button and then scroll down to system and choose it
8. then choose framework
9. then choose "paste" at the bottom of the screen
10. then choose yes to overwrite the old file
11. then tap and hold on "android.policy.odex" and choose permissions
12. then check all the boxes in the left column (read) and only the first box in the middle column (write) and none of the boxes in the right column (execute)
13. choose ok
14. turn your phone off and then back on
15. enjoy
Click to expand...
Click to collapse
im using cognition b8 and in the framework folder their is no android.policy.odex but their is an android.policy.jar ? should i change the extension of the downloaded file to .jar or is their a different file available
Evan269 said:
im using cognition b8 and in the framework folder their is no android.policy.odex but their is an android.policy.jar ? should i change the extension of the downloaded file to .jar or is their a different file available
Click to expand...
Click to collapse
No, do not change the extension. You need a different file.
try this one: link removed, read below
it's from the I897UCJJ4-Optimized ROM.
Aww ..
I used Cognition 2.3B6
Changed the .jar file using root explorer as mentioned by bryman27.
Now phone stuck in a looping reboot ..
Few vibration den all the button not working .
Newbie here.
What to do ?
Nagashiro said:
Aww ..
I used Cognition 2.3B6
Changed the .jar file using root explorer as mentioned by bryman27.
Now phone stuck in a looping reboot ..
Few vibration den all the button not working .
Newbie here.
What to do ?
Click to expand...
Click to collapse
follow the instructions here:
http://forum.xda-developers.com/showthread.php?t=731989
this will take you back to how your phone was when you got it
bryman27 said:
No, do not change the extension. You need a different file.
try this one: http://dl.dropbox.com/u/4516127/android.policy.jar
it's from the I897UCJJ4-Optimized ROM.
Click to expand...
Click to collapse
yo that file messed up my device
Evan269 said:
yo that file messed up my device
Click to expand...
Click to collapse
Aw man!
So sorry I'll remove the link, try the one-click I linked to and ask someone in the Cognition thread about the samsung lock
bryman27 said:
Aw man!
So sorry I'll remove the link, try the one-click I linked to and ask someone in the Cognition thread about the samsung lock
Click to expand...
Click to collapse
yaah i restored through heimdall (im a mac user) its fine and yes please remove the link so people do not continue to try and mess up their devices
So is there a way to do this then? I really like b8, but would like it more with the samsung lock screen.
Last night I was able to get the launcher working but when I tried using a couple different sources for the lock screen I ended up stuck in a boot loop.
A solution for this would be greatly appreciated.
thanks to mdoctor for posting instructions in the Cog forum!
here's the Samsung lock screen for Cognition 2.3b8:
http://dl.dropbox.com/u/4516127/android.policy.jar
I tested it myself to make sure we don't have a repeat of the last incident.
For anyone who's interested, this file came from Cognition 2.3b4

[STICKY][HOW-TO] Google Apps - Update.zip installer w/ extras

Instructions for how to install Gapps on your Gtablet.
Install:
1) Download the latest gapps update.zip from here: http://wiki.cyanogenmod.com/index.php?title=Latest_Version
The link you are looking for is near the bottom, shown in the red rectangle:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Options A: Stock Recovery:
2a) Download this recovery file for your install location
--SDCARD: http://www.multiupload.com/LURU5RRYKI
--SDCARD2: http://www.multiupload.com/31HBVXHB19
3a) Unpack the recovery zip file to your sdcard or sdcard2.
You should see /sdcard/recovery/command
4a) Copy your gapps update.zip to /sdcard
5a) Hold volume + and power to boot into recovery
Install should start automatically and reboot
Option B: Clockworkmod Recovery:
2b) Copy download to SDCARD
3b) Hold volume + and power to boot into recovery
4b) Choose, choose zip from sdcard
5b) Choose the zip to be applied as an update
Market Fix(Enable Full Market):
Follow this post: http://forum.xda-developers.com/showthread.php?t=861044&highlight=market+fix
EXTRAS:
TnT KB Standalone: http://www.megaupload.com/?d=KUEXY5OA
Saved for additional growth.
rothnic said:
This is an update.zip that you can run from recovery. Meant to get you up and running with commonly added things over a base
After install, long press an input area to select the new input option.
TnT Kb: http://www.megaupload.com/?d=KUEXY5OA
TnT Kb + Live WP + Gapps: http://www.megaupload.com/?d=EJQP1OW5
Click to expand...
Click to collapse
Roth, Does this build include the standard e-mail app which I can sync with exchange and my contacts with the contacts app shown here as well or does this build only include g-mail and standtard TnT mail appliation which does not let you sync calendar and contacts?
Thanks for the great work!
insight3fl said:
Roth, Does this build include the standard e-mail app which I can sync with exchange and my contacts with the contacts app shown here as well or does this build only include g-mail and standtard TnT mail appliation which does not let you sync calendar and contacts?
Thanks for the great work!
Click to expand...
Click to collapse
This isn't a ROM, just an update.zip. What you see in that image is what is copied to /system/app
rothnic said:
This isn't a ROM, just an update.zip. What you see in that image is what is copied to /system/app
Click to expand...
Click to collapse
I made a copy of the TnT Kb + Live WP + Gapps zip, put it in /sdcard and rename it update.zip, turn off the unit and then press power+volume up, but nothing happens -- it does says recovery and I got that triangle with an "!". I'm on stock TnT with adw launcher.
Any suggestions and help are most appreciative!
case-sensitive said:
I made a copy of the TnT Kb + Live WP + Gapps zip, put it in /sdcard and rename it update.zip, turn off the unit and then press power+volume up, but nothing happens -- it does says recovery and I got that triangle with an "!". I'm on stock TnT with adw launcher.
Any suggestions and help are most appreciative!
Click to expand...
Click to collapse
You need to have clockworkmod recovery to just use the update.zip.
Otherwise you need to grab the /recover/command off of a different update. I think the clockworkmod recovery update.zip comes with it.
Using the stock recovery, it needs to see the command file to work.
case-sensitive said:
I made a copy of the TnT Kb + Live WP + Gapps zip, put it in /sdcard and rename it update.zip, turn off the unit and then press power+volume up, but nothing happens -- it does says recovery and I got that triangle with an "!". I'm on stock TnT with adw launcher.
Any suggestions and help are most appreciative!
Click to expand...
Click to collapse
rothnic said:
You need to have clockworkmod recovery to just use the update.zip.
Otherwise you need to grab the /recover/command off of a different update. I think the clockworkmod recovery update.zip comes with it.
Using the stock recovery, it needs to see the command file to work.
Click to expand...
Click to collapse
I get pretty much the same thing as case-sensitive. Except, after copying the recovery directory from the cwm update.zip to the sdcard root, I get an image of a box with a down arrow and an animated progress bar at the bottom and then the triangle ! after a couple seconds or so.
Any ideas?
The file appears to have disappeared.
Updated, changes in post.
Is there a way to uninstall the apps I'm not using? I was gunning just for Calendar and Contacts, which aren't picking up my Gmail accounts, and I'm not using the other apps, so would like to get them away from my OCD. But it's still way cool!
jacindc said:
Is there a way to uninstall the apps I'm not using? I was gunning just for Calendar and Contacts, which aren't picking up my Gmail accounts, and I'm not using the other apps, so would like to get them away from my OCD. But it's still way cool!
Click to expand...
Click to collapse
root explorer will do it. i think androotfile will do it to. just go into system/app and delete the but make sure its mounted as r/w
I can't get these to install. Running CM6.1 beta2. There are no errors during the install in CWM recovery but when the device boots, none of the programs are there.
Do I need to run clockworkmod inorder to put it in recovery?
foreverknight said:
Do I need to run clockworkmod inorder to put it in recovery?
Click to expand...
Click to collapse
No, but it would be easier for you to go ahead and get clockworkmod installed. I have a post that links to a v0.8 version update.zip that will apply clockwork from the stock recovery.
Thank you. I have 2 questions. 1. I have "androotfile" installed and cant seem to get it to mount as R/W in order to copy and paste the files needed to get the android market to work right I get "unable to chmod/system/framework:read only file system. 2. Now forgive me I am a newbie but how do you get the g tablet in recovery and why.
Thank you for all the help.
foreverknight said:
Thank you. I have 2 questions. 1. I have "androotfile" installed and cant seem to get it to mount as R/W in order to copy and paste the files needed to get the android market to work right I get "unable to chmod/system/framework:read only file system. 2. Now forgive me I am a newbie but how do you get the g tablet in recovery and why.
Thank you for all the help.
Click to expand...
Click to collapse
Follow this: http://forum.xda-developers.com/showthread.php?t=844088
Then follow the first post in this thread.
I'm unsure what you are trying to copy exactly. This post doesn't talk about manually copying anything.
I've tried this twice already with a factory reset in between each try, and it's worked both times!
Attached is a bunch of files you will need to make this work.
1.Download the attached Zip file and extrat the contents to your desktop
2.Mount your G and upload the "G Tablet" folder to your G's internal SD card
3.Using AndRootFile or any other file manager that supports root access, mount as R/W, and copy the contents of G Tablet\permissions to System\etc\permissions.
4.Copy the contents of G Tablet\framework to System\Framework
5.Copy the contents of G Tablet\lib to System\lib
6.Copy all the APK's found inside G Tablet\APK into your system\app folder.
7.Install them in this order:
1.GoogleServicesFramework.apk
2.OneTimeInitializer.apk
3.SetupWizard.apk
4.Talk.apk
5.Vending.apk
6.Gmail.apk
7.Maps.apk
8.Make sure you remount it as R/O when you're done!
9.Restart your G, Connect to Wifi, then launch Market.
10.Follow the standard Google Account setup procedure and enjoy your newly installed Market.
I got these instructions on another thread and all worked untill I got to the part about coping files to other directorys. Thats when I got that error in andfileroot.
foreverknight said:
I've tried this twice already with a factory reset in between each try, and it's worked both times!
Attached is a bunch of files you will need to make this work.
1.Download the attached Zip file and extrat the contents to your desktop
2.Mount your G and upload the "G Tablet" folder to your G's internal SD card
3.Using AndRootFile or any other file manager that supports root access, mount as R/W, and copy the contents of G Tablet\permissions to System\etc\permissions.
4.Copy the contents of G Tablet\framework to System\Framework
5.Copy the contents of G Tablet\lib to System\lib
6.Copy all the APK's found inside G Tablet\APK into your system\app folder.
7.Install them in this order:
1.GoogleServicesFramework.apk
2.OneTimeInitializer.apk
3.SetupWizard.apk
4.Talk.apk
5.Vending.apk
6.Gmail.apk
7.Maps.apk
8.Make sure you remount it as R/O when you're done!
9.Restart your G, Connect to Wifi, then launch Market.
10.Follow the standard Google Account setup procedure and enjoy your newly installed Market.
I got these instructions on another thread and all worked untill I got to the part about coping files to other directorys. Thats when I got that error in andfileroot.
Click to expand...
Click to collapse
You are mixing two separate guides. You do not have to manually copy anything.
The thread you copied those instructions from is very old, and will not work as well as the one from this thread. I put together an update.zip that copies everything that needs to be copied, so you don't have to do those step.
It is very very simple:
Load the gapps update.zip to sdcard, run update.zip.
Do i need clock work mod to run this .zip cause the only option is to extract and there is no run.
PS really, thank you for your time
foreverknight said:
Do i need clock work mod to run this .zip cause the only option is to extract and there is no run.
PS really, thank you for your time
Click to expand...
Click to collapse
The download here will have two files in the zip.
One file will be an update.zip, the other is a folder that looks like this: /recovery/command. The folder with command in it tells the stock recovery to flash the update.zip on the sdcard.
If you want to keep stock recovery, then rename the gapps update.zip to literally "update.zip" and put the folder /recovery/command on your SDCARD. Then you will hold volume + and power to run it.
If you want clockwork, just unzip the download here to your SDCARD. It will have the update.zip and /recovery folder to flash clockwork.

Categories

Resources