• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Changing Pattern Lock (For CM7)

BrandonOptimus

Android Enthusiast
Before we get started. I'd like to say I found these icons. I used certain things such as apkmanager framework flasher to get it working but with no success.. I take no credit for taking the icons, I did however do the instructions on how to change it by myself after experimenting.

Alright Lets get started on how to change your simple green lockscreen to a nice elegant ICS TYPE OF LOCKSCREEN :D(PatternLock that is:rolleyes:)

YOU WILL NEED Ninjamorph from the market, also will need These ICS patternlock icons
Link to the icons are found here(Sorry if its not a direct download :()ICS Icons
After you have those set up. MAKE A NANDROID BACKUP :D I'm not responsible if you're willing enough to go and try this and brick your phone :D now that we have this settled. Let the screenshots and guide to help you change your theme. Begin :)

We first enter ninjamorph on a screen like this.
1r216c.png


Then we click on new project and navigate to /system/framework/framework-res.apk :D which looks like this
2j3kxue.png


Now that this is settled it should extract the certain files. As if it were loading. (EX: 100/1208)
It takes maybe about a minute or two. After thats dont you'll notice you are now in the folder called /mnt/sdcard/androidthemes/workspace/ which looks like this
35kmtn9.png


Once that is done click on res and click drawable-mdpi. Scroll down to you see a certain icon named indicator_code_lock_point_area_green.png or point-area_red.png (Mine is already changed!!! thats why mine are purple and blueish!!!
34929f7.png


Now before you start saying Ninjamorph can't find my icons. Is this a bad download? is something wrong with this? Make sure its extracted :D Ninjamorph won't find any zip files. So use a file manager like root explorer :) Make sure your icons are found. then proceed with vvvvvvvvvvvvvvvvvvv

One you are 100% its extracted and you have the files. Go back to Ninjamorph and navigate to your extracted folder or where ever you have the icons extracted. Once it is done you will see your icons are here :)
2aikktc.png

(Note: It Must Be The Same Name (Mine says ics-pattern-84x .... Yours shall say ics-pattern w.e I named it lol :D)
t9k5ua.png


If you are in a hurry to taste the ics lockscreen pattern you can always just go straight to the extracted folder with the icons :P Copy all the PNG images :D Go straight to the /mnt/sdcard/AndroidThemes/workspace/framework-resapk/drawable-mdpi/ and paste it right in there through a file explorer :D (I recommend this way if you want it easier and quickly done.

Once that is done click on finish project :D It will start saying system apk overwrite you click yes :D Asks for zipalign (Up to you, I usually click no and it works right away, when clicking yes it sometimes fails) Once that is done it'll ask to save your project or delete it. Delete it if you know your not going to get confused doing all these steps again lol :D

Once your done it shall reboot.. If it does not don't worry, reboot yourself through holding down the power button or going into terminal emulator and typing su then reboot. Or just reboot itself idk I can't recall lol :D

And this ends this little tutorial... Someone can maybe help see if this method works for a non cm7 rom? :D Thanks :D

If it doesnt work at first, keep trying. Did it with zipalign and it failed? Do it without zipalign now :D Its basically Trial and Error :)
 
Are you comfortable editing XML files? Its really just decompiling the .apk editing and recompiling
 
I can help you if you need help. I'm going to start being real active back on the forums.


Id just need to find out where the pattern lock icons could be found and the ics pattern lock icons. Or any other just for a test. I know its in framework-res but have no clue which folder its located in the apk lol, or what to use to switch em up.. I was thinking something like apk manager? and then using something like a framework flasher? Since everytime when i try doing the framework myself it always fails lol.
 
I would think its in both ......settings is to set it, and the framework-res has what is used...I'm probably wrong though.

it is located in framework-res then res then layout than drawer mdpi. I successfully changed it after a good hour of looking around and a good 1 hour of getting the files and changing it lol. It actually worked. BUT! it ended up freezing after a while. Ninjamorph actually had my hopes up lol. I actually got so far. GAHHHHH <3 I miss doing these type of things back on the forum :'( lol. Also if this zip im making actually works. Ill upload it. and ill give the zip for the icons and instructions on how to use it lol. I thought it would be a walk in the park, but it's just time consuming. Patience :D
 
Alright I keep getting a status 0 error when flashing. Anyone know how to fix this?? Error status 0 installation aborted. In recovery for both the cwm recovery and the gnm
 
are you trying to flash it in. Zip file if so can you upload it to here and ill help fix it. Did you sign the apk. If you did. Don't sign it. When I get home ill get the images and make the apk for you :)
 
are you trying to flash it in. Zip file if so can you upload it to here and ill help fix it. Did you sign the apk. If you did. Don't sign it. When I get home ill get the images and make the apk for you :)


I will upload the zip in a while. really odd thing just happened now. I tried ninjamorph one more time. And it worked.. But. Big problem that will cause the whole rom to freeze up is using apps that have lots of memory or cache. Such as 1000 photos in gallery. Not saying to uninstall it but using quickpic is better IMO.

Screenshot of it working
zm19ae.png


Will upload the icons that will be needed. With a handy screenshot tutorial as well.

As for the zip I was trying to flash. I used something called framework flasher. Decompiles the APK made it easier to swap out the PNG files(supports PNG only I heard) really simple now that I'm re-doing it. Its just the darn status 0 then the installing update then the installation aborted.
 
What is your gtalk account name. I will help you on that. the way to get them not so close together is just edit the XML width and height :)
 
Here is the unsigned framework with the modded icons
UnsignedFramework

All it really needs to be done is signed and able to flash through cwm or the old recovery.

Will also update the first post to show instructions how to do this through Ninjamorph.
 
Back
Top Bottom