[Q] How to make a flashable zip of screenlock - Android Q&A, Help & Troubleshooting

Hey,
I want to replace my stock screenlock on CM7 to Widgetlocker.
I've read multiple topics, but I haven't find what i want to.
I know that I have to make a flashable zip and install it under the recovery.
But for Gods sake, I don't know how to make this flashable zip with Widgetlocker.
Anybody?

Not entirely sure what it is you are looking to do that requires you to have a flash-able zip,
But for widgetlocker to work all you need to do is install it from market or where ever then disable your lock screen (Original) will be in Settings>Security (something along those lines) then to your application drawer open widgetlocker and set your desired lock screen, if you are downloading extra lock screens simply mount your SDCard and place the .wltheme.zip files you download in SDCard>Data>Widgetlocker un-mount and open up widgetlocker again and choose your theme

I want to completly remove the stock lockscreen from Android and it that place move the Widgetlocker.

Just do what i have mentioned above and disable it, just noticed you are using cm7, you can do this in..
Settings>Cyanogen Mod>Tablet Tweaks>Disable Lock Screen
I do not know of any other way unless it can be done by taking apart settings.apk or cyanogen mod.apk (if their is such a thing) on a desktop computer and removing the necessary code and then copying it back over to your phone, but that is way beyond my level of knowledge.

Related

Call Lock Screen

Is there anyway to change the call lock screen from what I have below?
Certain ROMs will change the call screen. Do you have root on your phone?
Yep (10chars).
would there be any way to change the way you answer the phone without root? my phone keeps answering itself in my pocket
delivery_dragon said:
would there be any way to change the way you answer the phone without root? my phone keeps answering itself in my pocket
Click to expand...
Click to collapse
You have to find the apk files to replace the HTClockscreen.apk (do not remove it until you have a replacement lockscreen.apk file. technically you could probably pull one off from another ROM that you like and copy it onto your /system/app location and that might work... but be careful and do a nandbackup before you start experimenting.
Izeltokatl said:
You have to find the apk files to replace the HTClockscreen.apk (do not remove it until you have a replacement lockscreen.apk file. technically you could probably pull one off from another ROM that you like and copy it onto your /system/app location and that might work... but be careful and do a nandbackup before you start experimenting.
Click to expand...
Click to collapse
While it is true that you can replace your lockscreen, the call lockscreen is in the phone.apk, and you either choose between the HTC screen (on Sense roms) or the Android lockscreen (on CM and AOSP roms).
One solution that I have adapted is to put the phone "top-down" in my pocket (the usb plug points up) that way, even if it does rub during extraction, it's going opposite direction to answer the call.
what exactly are you trying to change? i have mine setup like Senseable's... the screen shot you posted is the sense call-lock screen.
the actual files are located in the com.htc.resources.apk (in the \res\drawable-mdpi folder)
you can change the files in the apk... and push it back over your current file.
the lock arc screen files are named:
lockscreen_arc.png
lockscreen_arcglass_bottom.png
lockscreen_arcglass_top.9.png
i'm pretty sure you can find a flashable version around here somewhere too.

[Requests/Collection/Tool] Sense 3.0 Lock Rings [Lock Ring Kit] - Update 10/18/11

My laptop was stolen recently so I won't be able to help anyone out until I can get a new one. Thanks for stopping by though.
This is no longer a tutorial, just a simple user friendly Lock Ring Kit.
Please download the updated kit at the bottom of this post.
I will also take requests here for anyone who doesn't want to mess with it.
Since people are still rocking 2.3.3 ROMs, please specify if your ROM is 2.3.3 or 2.3.4 when making a request. There are subtle differences.
Also you have a few rosies to choose from, let me know which one you want. If you don't request something specific, I'll just make the default rosie. Rosie choices attached at the bottom of this post. If you would like a rosie I don't have here, let me know and I'll see what I can do to add it to the kit. Also, I've played around a little with themes enough to feel comfortable to help out wherever I can. So if you have a request that is not related to my kit, I still may be able to help you out.
All 2.3.3 requests I've done are posted on Post# 3 and Post# 4
2.3.4 version requests are posted on Post# 125 and Post# 126
Thumbnail gallery of all the Lock Rings I've made HERE
Links to my Lock Ring folders on Box.net
2.3.3 Lock Rings
2.3.4 Lock Rings
2.3.4 Lock Rings - Transparent Rosie
2.3.4 Lock Rings - Red Outline Rosie​
First of all, this is intented for Deodexed ROMs on the EVO 3D. Other qHD devices may work as well but I cannot guarantee. For devices such as the EVO 4G (WVGA), use one of the tutorials below . While these mods have been working flawless on several ROMs, there is the occasional error. Just to be safe MAKE A NANDROID to go back to if something goes wrong. If you don't read up and just flash something, lock ring mods or any other, and something should screw up, you can't be mad at anyone but yourself if you've got nothing to go back to.
With this method, your ring will only show up on the default skin or the HTC supplied skins, Burgundy and BlueSky. Every custom skin has its own lock ring which overwrites the default. If you have a custom skin installed and would like a custom lock ring, go to my second post for a mini tutorial on editing custom skins.
---------------------------------------------------------------------------------------------------​
I originally learned how to make these from this thread: [Tutorial] Sense 3.0 Custom Lock Ring Kit so big thanks to jmaher1023 for that.
Another thread to check out is [TUTORIAL] User-Friendly Custom Lock-Rings for Sense 3.0 (EVO 4G) by gamendorf. *Thanks gamendorf for the help with the batch file.
Also, you should stop by this thread [DEV-TOOLS] [MODE10] Mode10Tools now released ! and give thanks to Flemmard and Diamondback2010, the devs of the m10 tools that make all this possible.
---------------------------------------------------------------------------------------------------​
As Posted by Diamondback2010 in the m10 tools thread:
System-Requirements
You need a working .NET 4 Framework installation to run the M10Editor.
m10decoder and m10encoder should run in console-version without anything special.
Click to expand...
Click to collapse
---------------------------------------------------------------------------------------------------​
Instructions
1. Unzip the attached Lock_Ring_Kit_2.3.3.zip or Lock_Ring_Kit_2.3.4.zip to your C drive (C:\Lock_Ring_Kit_2.3.3) or (C:\Lock_Ring_Kit_2.3.4)
2. Pick your image and resize it to 271x270. For the image to show up correctly you have to rotate it 180 degrees and mirror it. Your image must be saved as a .png
3. Save your edited image as LockRing.png and move it to the root of your Lock Ring Kit
4. Run the batch file for the Rosie you want (look in "Rosie Screenshots" folder to decide)
5. A flashble zip file will be created at the root of your Lock Ring Kit. Rename it, sign it if you want, move it to your SD Card and flash in recovery
E3D_Lock_Ring_Kit_2.3.3.zip
Dropbox Mirror
E3D_Lock_Ring_Kit_2.3.4.zip
Dropbox Mirror
Recent Changes:
Added in Red Outline to the rosie choices
*Not that anyone actually reads the entire first post, but just for your information, making Lock Rings for GSM and Sense 3.5 is not possible yet. As of right now m10 tools is unable to decompile these m10 files. Until we get a m10 tools update for these we have no way to edit.
The above comment was really nothing more than a speculation. I went ahead and asked the devs of the m10 tools if they could confirm what I thought and this was his answer...
Diamondback2010 said:
Well yea, I have to leave you here without hope
This fusion apk uses the new type 14 images. There is no way atm to decode them
You just have to wait as well as the sense 3.5 crowd
Click to expand...
Click to collapse
Big Thanks to Donators:
-NascarKid
-nuggyunlimited
-Foxworth
This is a quick tutorial for anyone who wants to edit just the lock ring of a custom skin. Honestly it's more to get you playing with M10Editor.exe.
Again, pick your image, resize it to 271x270, rotate 180 degrees, and mirror.
Inside the M10_Tools folder there is M10Editor.exe.
1. Open M10Editor.exe.
2. Click the Load File button and choose the skin.apk you want to edit.
3. Go to the m10 files tab and highlight the only m10 file shown (usually shared.m10)
4. Check the Decode Images check box.
6. Click the Decompile/Show button.
7. Once clicked, you'll be moved to the Editor tab.
8. Expand by clicking the arrow next to shared.m10.
9. Continue to expand until you expand Textures.
10. Scroll through Textures until you see the default (or sometimes modified) lock ring image.
11. Right click the image and choose Show in Explorer.
12. The image will already be highlighted when the explorer opens, copy the name of the highlighted file.
13. Change the name of your image to the one you just copied and drag or copy your image inside to replace it.
14. Close the explorer and go back to the Start tab in M10Editor.exe.
15. Click the Save File button. If you want to change the name of the apk when prompted, go ahead.
16. Sign the apk and install through a file explorer.
Sometimes you have to reboot for the lock ring to show.
Personally when I edit a skin, I also edit my ROMs fusion.apk and Idlescreen_Base.apk in order to remove traces of the default ring. Some ROM creators mod these apks for their ROM. If you know for sure that your ROM does not have a modded fusion.apk and Idlescreen_Base.apk you can simply use my lock ring kit to make your lock ring. If your ROM does have a modded fusion.apk and Idlescreen_Base.apk you should pull those files from the ROM and use M10Editor.exe to edit those files directly. The only m10 files you need to edit are the Default shared.m10 in fusion.apk and Lock_ring_motion.m10 in Idlescreen_Base.apk.
Requests
For 2.3.3 ROMs. If your on 2.3.4 and see something you like, post or PM me to get it converted. Or read the tutorial and attempt it yourself.
For 2.3.3 ROMs. If your on 2.3.4 and see something you like, post or PM me to get it converted. Or read the tutorial and attempt it yourself.
same here...
aannd another
And Ill join if thats ok with you guys!
And one more since Im on a role!
Does decompiling m10 files multiple times decrease the quality of the images in them?
triscuit1983 said:
Here's a quick tutorial of how to make lock rings for those who want to learn.
First of all, this is intented for Deodexed ROMs only. Also, with this method, your ring will only show up on the default skin. If you have a custom skin installed and would like a custom lock ring, go to my second post for a mini tutorial on editing custom skins.
I originally learned how to make these from this thread: [Tutorial] Sense 3.0 Custom Lock Ring Kit so big thanks to jmaher1023 for that.
If you want to, watch the video tutorial to get an idea of what to do.
DO NOT download the Lock Ring Kit attached in that thread, because the files included are not for qHD.
I've included a modified Lock Ring Kit for E3D here: E3D_Lock_Ring_Kit.zip
The E3D Lock Ring Kit and tutorial are about the same as jmaher1023's tutorial, but I changed the process and folder organization a little to hopefully simplify things.
Also, you should stop by this thread [DEV-TOOLS] [MODE10] Mode10Tools now released ! and give thanks to Flemmard and Diamondback2010, the devs of the m10 tools that make all this possible.
If you don't already have one, download an archiver like 7zip or WinRAR. I use 7zip.
To keep things simple, unzip the attached E3D_Lock_Ring_Kit.zip to your C drive (C:\Lock_Ring_Kit)
Inside the Lock_Ring_Kit you will see 3 folders (Copy Contents to Working, M10_Tools, Working), a zip file (Base_Lock_Ring.zip), and a doc file (Names & Commands.doc).
Now pick your image and resize it to 271x270. For the image to show up correctly you have to rotate it 180 degrees and mirror it. Save the edited image to a place of your choosing.
Now your ready to start creating the lock ring.
This is my method, step by step:
1. Open your Lock_Ring_Kit folder and (obviously) copy the contents of the Copy Contents to Working folder to the Working folder.
2. Open your Working folder and copy your edited image to the following folders - BlueSky1,Burgundy1,Default1, and Lock_ring_motion1.
3. Open the Names & Commands.doc and rename your copied images to the PNG Names. After renaming the images, move them into the inner folder and replace the existing image (eg. move the BlueSky png into BlueSky1\shared).
4. Open command prompt and change directory to C:\Lock_Ring_Kit\M10_Tools.
5. Go back to the Names & Commands.doc and copy and paste each of the m10 Commands into comand prompt and hit enter. This will compile new m10 files with your image inside.
6. Now you have to copy the newly compiled m10 files to their correct location within the Base_Lock_Ring.zip. The newly compiled m10 files are
in folders BlueSky(shared.m10), Burgundy(shared.m10), Default(shared.m10), and Lock_ring_motion(Lock_ring_motion.m10).
7. Copy the Base_Lock_Ring.zip to the Desktop or anywhere else you'd like.
7. Use 7zip (or WinRAR) to open Base_Lock_Ring.zip (eg. Right click>7-Zip>Open Archive)
8. Navigate to \system\app\fusion.apk\assests\BlueSky\drawable and drag your newly compiled shared.m10 file inside to replace the existing shared.m10. Do the same for Burgundy and Default. Use the back or folder up button to update the apk. A prompt will come up asking if you want to continue.
9. For Idlescreen_Base.apk, navigate to \assests\scenes\base and drag your newly compiled Lock_ring_motion.m10 inside to replace the existing Lock_ring_motion.m10. Back out to update the apk, and close the archiver.
That should be about it. You can rename the Base_Lock_Ring.zip to whatever you like. I'd say go ahead and sign the zip, but thats up to you. Put the zip on your SD Card, go into recovery and flash.
Click to expand...
Click to collapse
When doing step 3, if using Vista or Windows 7, make sure to omit the .png extension when renaming your edited image from the word document. You will end up with a .png.png and nothing will have changed.
Rydah805 said:
Does decompiling m10 files multiple times decrease the quality of the images in them?
Click to expand...
Click to collapse
Not that I've seen so far. But with the files I've provided in the E3D Lock Ring Kit, your only compiling. I've included the decompiled files for you to add your image and compile. Unless your talking about m10 files in general and not specifically the files I've included?
ducky1131 said:
When doing step 3, if using Vista or Windows 7, make sure to omit the .png extension when renaming your edited image from the word document. You will end up with a .png.png and nothing will have changed.
Click to expand...
Click to collapse
In that case, you can simply delete the .png part in your Names & Commands.doc. I show all file extensions on my computer and I copy and overwrite the whole name, extension and all. If you want to show file extensions to be able to see .png on your image name, go to Folder Options in your explorer, go to the View tab, scroll down and uncheck "Hide extensions for known file types".
Here is a black Chevy logo I made for a friend using your lock ring kit, thought I'd share
Black Chevy Logo Lock Ring
Is there a way to edit the rest of the lock screen? Like the bar at the bottom where the lock ring sits on? I see what looks like the png for it in the images in the default, bluesky, and burgandy folders. I tried editing them and compiled them back to shared.m10 and ten flashing the zip but it didn't work. I was able to edit the background of the clock on the home screen this way and it worked but again I was unable to get the same result for the stuff at the bottom (the bar and soft buttons). Is there another place where these are edited or am I doing something wrong?
mikeaveli007 said:
Is there a way to edit the rest of the lock screen? Like the bar at the bottom where the lock ring sits on? I see what looks like the png for it in the images in the default, bluesky, and burgandy folders. I tried editing them and compiled them back to shared.m10 and ten flashing the zip but it didn't work. I was able to edit the background of the clock on the home screen this way and it worked but again I was unable to get the same result for the stuff at the bottom (the bar and soft buttons). Is there another place where these are edited or am I doing something wrong?
Click to expand...
Click to collapse
I'm thinking that is probably within Rosie.apk but I don't really know. This m10 file stuff is new to me and I'm slowly learning. m10 files are reminiscent of cab files on windows mobile to me. I'm hope someone who has been doing full themes can comment on this.
triscuit1983 said:
I'm thinking that is probably within Rosie.apk but I don't really know. This m10 file stuff is new to me and I'm slowly learning. m10 files are reminiscent of cab files on windows mobile to me. I'm hope someone who has been doing full themes can comment on this.
Click to expand...
Click to collapse
Ahhh thanks, i'm poking around in there and that looks more like what I was looking for. Hmm so I wonder what all those png files in the m10 files in fusion are for.... Thanks for pointing me in the right direction though hopefully thats all I need.
Can one of you guys make an Indianapolis Colts lockring? Everything I make comes out looking like ass.
ducky1131 said:
Can one of you guys make an Indianapolis Colts lockring? Everything I make comes out looking like ass.
Click to expand...
Click to collapse
Will this work?
Colts_Lock_Ring-signed.zip
thanks.....
Thanks a bunch for the tutorial! I made one for the guys...its a singe upper female anatomy part so I wont post it here...but it is pretty fully to drag it out into the screen If anyone is interested pm with your email. Not sure if im permited to host it here somehow so I wont. Working on other ones so I will update when I make some cool ones.
triscuit1983 said:
Not that I've seen so far. But with the files I've provided in the E3D Lock Ring Kit, your only compiling. I've included the decompiled files for you to add your image and compile. Unless your talking about m10 files in general and not specifically the files I've included?
Click to expand...
Click to collapse
Sorry, I'm speaking in general...?

[Q] How to remove old shortcut icons from homescreen during custom ROM installation

Greetings XDA First time poster (long-time visitor) here...
I'm having a minor - but annoying - issue with a custom ROM I've been playing around with in an attempt at customizing it to meet my personal needs.
Basically, the custom ROM installation removes old, unwanted .apk's from the stock image it is replacing. This is done by a script/command in the META-INF->com->google->android->updater-script file. Here's an excerpt as an example:
Code:
run_program("/sbin/busybox", "mount", "/system");
show_progress(1, 100);
package_extract_dir("system", "/system");delete("/system/app/Launcher2.apk");
However, while the script works perfectly to remove the actual apk's/apps from the device, once the custom ROM is loaded, the old shortcuts (to some of the apps that were uninstalled) remain on the homescreen (these shortcuts are placed there by default by the stock ROM). If you try to tap the shortcut, it simply states something to the effect of "this application is not installed on your device". While these "dead" shortcuts can be moved to the trash bin and deleted from the homescreen, it'd be nice if I could make it so the custom ROM installation automatically does this.
I've tried modifying the Launcher2.apk to reflect the changes I am looking for; but to no avail. In the Launcher2/res/xml/default_workspace.xml file, I am easily able to specify which apps I do want shortcuts placed on the homescreen for during the installation. But - there doesn't seem to be a way for me to issue a command to remove the old, unwanted shortcuts and these "dead" shortcuts are present nonetheless, despite whatever changes I make to the default_workspace.xml (it does add my "new" shortcuts, though).
Would anyone know of a way that this could be done during the actual custom ROM installation process? And where would I add it to (default_workspace.xml, Android Manifest.xml, framework-res.apk, boot.img... I really have no idea )?
My humble thanks in advance to anyone that may be kind enough and willing to offer some much needed insight
Kaiyo Droid said:
Basically, the custom ROM installation removes old, unwanted .apk's from the stock image it is replacing. This is done by a script/command in the META-INF->com->google->android->updater-script file.
Click to expand...
Click to collapse
Hello from 2013
well your problem is as following:
your are removing the apps that are shortcuts/favorites on your homescreen within the stock launcher apk. These settings are written into a database on the data partition and are not updated if you replace the launcher apk with a new one that has your wished settings. What you have to do in order to achieve your goal: do a full data wipe(you know your user data will be lost) or try to remove the database by hand it is located somewhere in /data/data/something_with_launcher2. Removing the whole folder will lead into a new entry with your current launcher apk settings written --> success?
greets

Change pattern lock dots?

Hello,
I own a ZTE Crescent- Rooted/CWM recovery running CM7.
I was messing around with using CM9 and I like it but it isn't up for the kind of usage I'd like to use it for so I went back to CM7. One thing I really liked about CM9 was the pattern lock dots- On ICS they are a lot thinner and look slicker, whilst on GB they are thick and bulky and I dislike them.
So my question is; Would it be possible to flash a zip in CWM to change the pattern lock dots on my device? Or any other method?
Thanks,
Curtis.
It's certainly possible. You need to edit framework-res.apk. Within the apk, the images you want to edit I think are in /res/drawable-hdpi/(possibly in other drawable-XXXX folders as well). You need to edit/replace the following files I believe:
btn_code_lock_default.png
btn_code_lock_touched.png
indicator_code_lock_drag_direction_green_up.png
indicator_code_lock_drag_direction_red_up.png
indicator_code_lock_point_area_default.png
indicator_code_lock_point_area_green.png
indicator_code_lock_point_area_red.png
Not completely sure, you might be able to do it fairly easily with UOT Kitchen: http://uot.dakra.lt/kitchen/ (I can't check now as the kitchen is full, so I'm not sure if it supports theming the unlock pattern or not). If not, you can use apktool to unpack the APK, then edit the images you want changed, then repack it with apktool.
The other option is to use MetaMorph. It's an app you install on your phone for theming. Then download a lock pattern theme like this one: http://droidpirate.com/2011/01/15/metamorph-lock-pattern-liberty/, unzip it and replace the images inside with your own, then re-zip and use MetaMorph to install it. (Probably simpler than using apktool to manually edit the APK).
Thanks for the reply, I appreciate it!
I've gone with the metamorph option, seems much easier to do and I've used it once or twice in the past so I have a general idea on how to use it!
Thanks again
I couldn't find a theme for what I wanted- None even came close for Metamorph, so I decided to try and make my own. Unfortunately; I'm now stuck.
I copied the files you mentioned from the CM9 rom to the CM7 framework apk. I have the original CM7 framework app with the new icons in and a zip version of the framework with the files also in there. Now what should I do?
If anyone with more experience wants to take over then here are the files.
APK:
https://docs.google.com/open?id=0B5IQUxhoTn2XVVJiek01OGRNek0
ZIP:
https://docs.google.com/open?id=0B5IQUxhoTn2XWnRGVDhIdzRsa0k
I'd say the easiest way is to grab the metamorph theme I linked above, unzip it and replace the images inside with the ones you took from CM9. Then zip it back up and install using metamorph.
Trying it now, phone has just rebooted, time to check lock screen.
Edit-
Nothing has changed.
Hmm. I have no idea then, sorry.

[Q] How to change slide effect when closing apps?

Hi,
since my last Nightly Update, i get weird slide effect when i close the apps with home or back button. Normally the apps just decrease their size until i see my homescreen, but now they "slide" to the homescreen... sorry i dont know how to describe it hopefully anyone can understand me
push
Check out the theme section, there is some transition MODs.
Also, I don't know what ROM you use,
Extract a /system/framework/framework-res.apk from your system and the ROM you used before or some "normal "ROM
Open it up by winRAR or anything similar
Go to /Res/animation of normal ROM , extract all XML files and replace it into the framework-Res.apk that you are currently using, and then put it back into system, remember to set permission properly or use flashable zip via recovery.
Do backup first before you do anything
Sent from my GT-I9300 using xda premium

Categories

Resources