Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE] How-To Cherry-Pick Features for your ROM (both GitHub and Gerrit)

OP jabza

9th November 2014, 10:24 PM   |  #71  
katinatez's Avatar
Senior Member
Flag Arizona
Thanks Meter: 1,923
 
1,180 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by AnimusVoxx

hey guys im building aokp for my htc one m8 and im trying to add two cherry picks from paranoid android, well i guess technically three but here they are
Change I3bc7102b: https://gerrit.paranoidandroid.co/4787
Change Id2b105df: https://gerrit.paranoidandroid.co/4788
Change I47a021df:https://gerrit.paranoidandroid.co/4790/

but whenever i do i can succesfuly add them, i can remove the errors from the files and then git add but whenever i do something pops up that says "untracked files" and list the files i just altered in red, i try to git add those files again but nothing happens, then when i try and build i get errors, can anyone shed some light on this "untracked files" thing and how to possibly fix it?

After git add files, type git status it will show you the untracked files in red if everything comes up green it's ready to be pushed to remote, you probably missed one file. If your getting errors building, check to see if you have conflicts in files.

---------- Post added at 01:24 PM ---------- Previous post was at 01:09 PM ----------

Quote:
Originally Posted by AnimusVoxx

Anyone know how to add your own boot animation successfully with no errors and also how to add your rom name into your repo so that when you build and flash the rom when you go into the about phone menu it says aosp version or aokp rom version "NAME OF MY ROM" I can't figure it out

I can help you, if you want your name on flashable zip file like this " cm-11-20141007-UNOFFICIAL-temasek-bacon-V146.zip" look at line 34 & 35 here https://github.com/katinatez/android.../cm-11.0/cm.mk


If you want name and version of build look at line 5-8 here https://github.com/temasek/android_p...cr_strings.xml

I dont know about bootanimation, maybe someone smarter can tell us.
Last edited by katinatez; 9th November 2014 at 10:14 PM.
18th November 2014, 08:37 AM   |  #72  
jonathanxx1's Avatar
Senior Member
Thanks Meter: 179
 
482 posts
Join Date:Joined: Jan 2013
Im trying to cherry pick something from github but thats what i get :
HEAD detached from c482a9d
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)

deleted: core/res/res/values/config.xml~
Post Reply Subscribe to Thread

Tags
cherry pick, cherry picks, cherry-pick, gerrit, github
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes