Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 2.74 KB

README.mkdn

File metadata and controls

43 lines (29 loc) · 2.74 KB

OpenPdroid v1.0.1 for Android 4.3

These are the current build patches for Android 4.3 and should generally reflect the current state of the jb-mr2-release-openpdroid branch. The latest commits are not always reflected in the build patches, bleeding-edge development is in the -devel branches.

There are apply and remove patch scripts available that I use personally over at my personal github page. A couple of those scripts also create auto-patcher patches, but the apply/remove scripts could be helpful to anyone reading this.

These build patches should work for most roms. As of their creation (1/17/13) they applied cleanly to AOKP, AOSP, Cyanogenmod, ParanoidAndroid and others.

To Apply

cd ~/android/system/build; git checkout -b openpdroid; patch -p1 < ~/openpdroid_4.3_build.patch
cd ~/android/system/libcore; git checkout -b openpdroid; patch -p1 < ~/openpdroid_4.3_libcore.patch
cd ~/android/system/packages/apps/Mms; git checkout -b openpdroid; patch -p1 < ~/openpdroid_4.3_packages_apps_Mms.patch
cd ~/android/system/frameworks/base; git checkout -b openpdroid; patch -p1 < ~/openpdroid_4.3_frameworks_base.patch
cd ~/android/system/frameworks/opt/telephony; git checkout -b openpdroid; patch -p1 < ~/openpdroid_4.3_frameworks_opt_telephony.patch
cd ~/android/system; . build/envsetup.sh; brunch <DEVICE_TARGET>

To Remove

cd ~/android/system; rm -rf out/target/common/obj/JAVA_LIBRARIES/framework_intermediates out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates out/target/common/obj/APPS/Mms_intermediates out/target/common/obj/JAVA_LIBRARIES/services_intermediates

[OR] cd ~/android; make clobber

and to reset your source tree**

cd ~/android/system/build; git checkout . ; git clean -df
cd ~/android/system/libcore; git checkout . ; git clean -df
cd ~/android/system/frameworks/base; git checkout . ; git clean -df
cd ~/android/system/frameworks/opt/telephony; git checkout . ; git clean -df
cd ~/android/system/packages/apps/Mms; git checkout . ; git clean -df
cd ~/android/system; repo abandon openpdroid

If OpenPDroid intrigues you, yet the thought of applying all these patches gives you pause, there is a tool that can attempt to patch the framework of an already compiled rom called The Auto-Patcher.

OpenPDroid is an open source fork of the PDroid framework, as written by Svyat and expanded by CollegeDev. We are always looking for contributors, come see us on XDA or submit a pull request.