Can anyone give me some help with this? I'm not sure on what I need to apply the patch with, and what else I would need.
BB10 Lockscreen Port
Started by
chrisvx930
, Feb 24 2013 04:30 PM
3 replies to this topic
#1
Posted 24 February 2013 - 04:30 PM
- zooyork0721 likes this
#3
Posted 24 February 2013 - 07:33 PM
Can anyone give me some help with this? I'm not sure on what I need to apply the patch with, and what else I would need.
It says on OP that i works in CM10 and its a flashable.zip so all you need is CM10 and flash this over... havent tested it because i dont run CM10. but if it runs in a Galaxy Nexus it should also on the Razm M. please someone confirm or correct mei would actually like to see this happen to try it. 1+
#4
Posted 24 February 2013 - 09:46 PM
It's not a flashable zip, you have to patch and then push some files in order for it to work. I think you need the Android Source code too, and I have no idea where to start :/ His instructions are to download the patch here:
And then this:
1) download android source code : there are so many great guides about this...
2) download my patch and put it to /frameworks/base
3) type this.
Code:
patch -p2 < (patchfile_name).patch
for example... (from my previous post)
Code:
root@evilisto-desktop:~/patch_test/frameworks/base# patch -p2 < Sense-4.0-Multitasking.patch
patching file core/res/res/values/dimens.xml
patching file packages/SystemUI/res/drawable/nyandroid_anim.xml
patching file packages/SystemUI/res/layout/status_bar_no_recent_apps.xml
patching file packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
patching file packages/SystemUI/res/layout-port/status_bar_recent_item.xml
patching file packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
patching file packages/SystemUI/res/values/colors.xml
patching file packages/SystemUI/res/values/strings.xml
patching file packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
root@evilisto-desktop:~/patch_test/frameworks/base#
4) download and extract resource files to destination folder.
- in this mod, /frameworks/base/core/res/res/drawable-xhdpi/
I'm kind of a beginner, so this stuff is just plain overwhelming. I really want the BB10 lockscreen on the M though.
5) then compile.. if you have compiled your current rom before, use mmm to compile each files.
In this mod, you have to compile framework-res.apk, framework.jar (include framework2.jar in CM10) and android.policy.jar.
6) after using patch, you'd better revert all changes for future use..
Code:
patch -p2 -R < (patchfile_name).patch
And then this:
1) download android source code : there are so many great guides about this...
2) download my patch and put it to /frameworks/base
3) type this.
Code:
patch -p2 < (patchfile_name).patch
for example... (from my previous post)
Code:
root@evilisto-desktop:~/patch_test/frameworks/base# patch -p2 < Sense-4.0-Multitasking.patch
patching file core/res/res/values/dimens.xml
patching file packages/SystemUI/res/drawable/nyandroid_anim.xml
patching file packages/SystemUI/res/layout/status_bar_no_recent_apps.xml
patching file packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
patching file packages/SystemUI/res/layout-port/status_bar_recent_item.xml
patching file packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
patching file packages/SystemUI/res/values/colors.xml
patching file packages/SystemUI/res/values/strings.xml
patching file packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
root@evilisto-desktop:~/patch_test/frameworks/base#
4) download and extract resource files to destination folder.
- in this mod, /frameworks/base/core/res/res/drawable-xhdpi/
I'm kind of a beginner, so this stuff is just plain overwhelming. I really want the BB10 lockscreen on the M though.
5) then compile.. if you have compiled your current rom before, use mmm to compile each files.
In this mod, you have to compile framework-res.apk, framework.jar (include framework2.jar in CM10) and android.policy.jar.
6) after using patch, you'd better revert all changes for future use..
Code:
patch -p2 -R < (patchfile_name).patch
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users