micode / patchrom_build Goto Github PK
View Code? Open in Web Editor NEWThe build system for patchrom
The build system for patchrom
Hello, the BarcodeScanner is written in the jellybean.mk, but the BarcodeScanner.apk is not present in patchrom_miui/(X)HDPI/system/app/BarcodeScanner.apk
Now because of this I get this error:
make: *** No rule to make target /root/dev/patchrom/miui/HDPI/system/app/BarcodeScanner.apk', needed by
out/BarcodeScanner.apk-tozip'. Stop.
line 41 -44
MIUI_OVERLAY_RES_DIR:=$(MIUI_SRC_DIR)/frameworks/miui/overlay/frameworks/base/core/res/res
MIUI_RES_DIR:=$(MIUI_SRC_DIR)/frameworks/miui/core/res/res
OVERLAY_RES_DIR:=overlay/framework-res/res
OVERLAY_MIUI_RES_DIR:=overlay/framework-miui-res/res
you commented this lines out but without these lines, nothing works :)
Today (friday, june 8) i made a "repo sync" and tried to build, like i usually do..
But i get this error now:
<<< install framework resources completed!
unzip >/dev/null Beta_0.8.1.zip system/framework/services.jar -d out
/root/patchrom/tools/apktool --quiet d -f out/system/framework/services.jar services.jar.out
unzip >/dev/null Beta_0.8.1.zip system/framework/android.policy.jar -d out
/root/patchrom/tools/apktool --quiet d -f out/system/framework/android.policy.jar android.policy.jar.out
unzip >/dev/null Beta_0.8.1.zip system/framework/framework.jar -d out
/root/patchrom/tools/apktool --quiet d -f out/system/framework/framework.jar framework.jar.out
if unzip >/dev/null Beta_0.8.1.zip system/framework/framework-res.apk -d out >/dev/null; then /root/patchrom/tools/apktool --quiet d -f out/system/framework/framework-res.apk framework-res ; else echo system/framework/framework-res.apk does not exist, ignored!; fi
fix the apktool multiple position substitution bug
/root/patchrom/tools/fix_plurals.sh >/dev/null framework-res
Prepare workspace completed!
Beta_0.8.1.zip is my base rom zip.
patchrom is installed to root/patchrom
How can i fix this?
Yes when?
just asking.
on jellybean42 branch on porting.mk when build out/framework-res.apk
it added miui overlay resources too.
but on kitkat branch, when build out/framework-res.apk it's just call for customize_framework-res.sh and my framework-res.apk not be patched. still same with the stockrom framework-res.apk.
is this necessary? because i think framework-res.apk should be patched to make this things work good.
then when i make out/framework-res.apk
i got this error
nothing matches overlay file ab_bottom_solid_light_holo.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file ab_bottom_transparent_dark_holo.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file ab_solid_light_holo.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file ab_solid_shadow_holo.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file ab_stacked_solid_light_holo.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file ab_stacked_transparent_dark_holo.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file ab_transparent_dark_holo.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file ab_transparent_light_holo.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file btn_cab_done_default_holo_light.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file btn_cab_done_focused_holo_dark.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file btn_cab_done_focused_holo_light.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file btn_cab_done_pressed_holo_dark.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file btn_cab_done_pressed_holo_light.9.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file btn_check_off_disabled_focused_holo_dark.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file btn_check_off_disabled_focused_holo_light.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file btn_check_off_disabled_holo_dark.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
nothing matches overlay file btn_check_off_disabled_holo_light.png, for flavor ,,,,,,,,,,,,hdpi,,,,,,,
then it's can be fixed only while i MANUALLY copied file on miui overlay res directory ini miui/src/framework/.........................................
please fix this things.
CMIIW
同步jellybean的时候,我使用 repo init -u git://github.com/MiCode/patchrom.git -b jellybean
但是却提示报错,error: revision jellybean in manifests not found
提示我分支无法找到,请问这个应该怎么解决
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.