How do I merge HALO into my ROM? I'm a little lost here lol
Device: Nexus 5 16GB Black
ROM: PABETA3 (ZacksBuild) w/ Franco r32
Device: Nexus 5 16GB Black
ROM: PABETA3 (ZacksBuild) w/ Franco r32
cd packages/apps/Settings
git fetch https://gerrit.paranoidandroid.co/AOSPA/android_packages_apps_Settings refs/changes/39/239/13 && git cherry-pick FETCH_HEAD
cd ../../..
cd frameworks/base
git fetch https://gerrit.paranoidandroid.co/AOSPA/android_frameworks_base refs/changes/44/244/21 && git cherry-pick FETCH_HEAD
git status
gedit packages/SystemUI/res/values/pa_strings.xml
git add packages/SystemUI/res/values/pa_strings.xml
git status
git commit
cd ../..
./rom-build.sh hammerhead
repo sync
jabza is a great guy,maybe the best one i have meet here.
Thanks for your help pal.
@jabza, sorry but I am trying to add to my PA whitout success...are there new tricks to do??
Well it depends. What are the errors you're getting?
Sent from my Nexus 5
@jabza
target R.java/Manifest.java: SystemUI (/home/crostantin/AOSPA/out/target/common/obj/APPS/SystemUI_intermediates/src/R.stamp)
frameworks/base/packages/SystemUI/res/values/pa_strings.xml:74: error: Error parsing XML: not well-formed (invalid token)
frameworks/base/packages/SystemUI/res/layout/status_bar_expanded_header.xml:91: error: Error: No resource found that matches the given name (at 'contentDescription' with value '@string/accessibility_halo').
make: *** [/home/crostantin/AOSPA/out/target/common/obj/APPS/SystemUI_intermediates/src/R.stamp] Errore 1
That doesn't look too hard to fix. Edit frameworks/base/packages/SystemUI/res/values/pa_strings.xml
The terminal says there's an error at line 74 of pa_strings.xml, so I'd start there. Chances are it's something as simple as a missing "/ >". If you can't figure it out just by looking at it, you can check it with the pa_strings.xml listed under the android_frameworks_base gerrit entry and see what's different.
Edit: Also, the error you're getting about status_bar_expanded_header.xml is because of an error in the pa_strings.xml, so you don't have to worry about that.
Sent from my Nexus 5
thanks a million for the tips, jabza.
along with gedit, i use diffuse to compare files when merging:
http://sourceforge.net/projects/diffuse/files/diffuse/
it highlights differences between files, which makes merging and resolving conflicts a bit easier.
cd packages/apps/Settings
git fetch https://gerrit.paranoidandroid.co/AOSPA/android_packages_apps_Settings refs/changes/39/239/13 && git cherry-pick FETCH_HEAD
cd ../../..
cd frameworks/base
git fetch https://gerrit.paranoidandroid.co/AOSPA/android_frameworks_base refs/changes/44/244/21 && git cherry-pick FETCH_HEAD
git status
gedit packages/SystemUI/res/values/pa_strings.xml
git add packages/SystemUI/res/values/pa_strings.xml
git status
git commit
cd ../..
./rom-build.sh hammerhead
repo sync
jabza is a great guy,maybe the best one i have meet here.
Thanks for your help pal.
That doesn't look too hard to fix. Edit frameworks/base/packages/SystemUI/res/values/pa_strings.xml
The terminal says there's an error at line 74 of pa_strings.xml, so I'd start there. Chances are it's something as simple as a missing "/ >". If you can't figure it out just by looking at it, you can check it with the pa_strings.xml listed under the android_frameworks_base gerrit entry and see what's different.
Edit: Also, the error you're getting about status_bar_expanded_header.xml is because of an error in the pa_strings.xml, so you don't have to worry about that.
Sent from my Nexus 5