Contributing to Paranoid Android - General Paranoid Android Discussion

Contributing to the project
All submissions must be made via gerrit
Prerequisites:
Sign up at gerrit.paranoidandroid.co
Create a username on gerrit (Account Settings -> HTTP Password)
Register your public ssh key (Account Settings -> SSH Keys)
Set your gerrit username on your local machine using:
git config --global review.gerrit.paranoidandroid.co.username “username” (no quotes)
Click to expand...
Click to collapse
There are two options available for uploading your changes to gerrit (Repo Upload or Git Push).
Note: Linux is case sensitive, the items below are written as they should be in terminal
Repo Upload
repo start <branch> <path to repo> | example repo start haloStuff frameworks/base
cd to your working folder | example cd frameworks/base
Make your changes¹ (manual edits or cherry-picked commit)
Stage your changes using: git add <path to files changed> | example
git add packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
Alternately, you could stage all changed files using: git add .
Commit your changes² using: git commit -a
repo upload <repo name>
Click to expand...
Click to collapse
Git Push
The same steps as above apply up to and including performing your local commit.
Replace the repo upload (final step) with the following:
git push ssh://(gerrit username)@gerrit.paranoidandroid.co:29418/AOSPA/(repo name) HEAD:refs/for/(branch)
git push ssh://[email protected]:29418/AOSPA/android_frameworks_base HEAD:refs/for/jb43
Click to expand...
Click to collapse
How to update commits in gerrit:
Ensure your previous commit submission or the commit you wish to update is at the head of the given repo tree
Make your updates/changes
git add -A
git commit --amend
Append your changes to the description (Do not remove the change-Id from the previous commit)
Use: git push ssh://(gerrit username)@gerrit.paranoidandroid.co:29418/AOSPA/(repo name) HEAD:refs/for/(branch)
Click to expand...
Click to collapse
** Before uploading anything, please build and test your changes.
1* - If you're cherry-picking a commit that has not gone through a change-Id process, you will not be able to upload it. Simply attempt to upload and when it errors, a change-id will be suggested. Add this Id to the bottom of your commit by amending your original commit statement and then proceed to upload.
git commit --amend
2* - The following format should be used when making your commit statement.
Single project commit example
Short descriptive summary (50 characters or less)
<blank line>
Followed by a more detailed explanation of what you changed and why it was changed.
Bullet points should be used where necessary.
* Denoted either by an asterisk (*)
- Or by hyphens (-)
Click to expand...
Click to collapse
Optional: Include a link to a screenshot, if your change has some visible impact.
Multi-project commit example - Each commit should be numbered [x/y]
[x/y] <Component> : Short descriptive summary (50 characters or less)
<blank line>
Followed by a more detailed explanation of what you changed and why it was changed.
Bullet points should be used where necessary.
* Denoted either by an asterisk (*)
- Or by hyphens (-)
Click to expand...
Click to collapse
Optional: Include a link to a screenshot, if your change has some visible impact.
Best Practice
It is good practice to retain original committer's credentials, such as making sure the commit author is directed to their github username. Also, documentation of where coding came from if cherry picked would be greatly appreciated (provide direct links where possible).
If your are aware of who the original author is but your cherry-pick does not contain this information, you can fill in the original author name by using
git commit --amend --author "FirstName LastName <[email protected]>"
Click to expand...
Click to collapse
Commit Examples
Single component:
https://gerrit.paranoidandroid.co/#/c/158/
Multiple components:
https://gerrit.paranoidandroid.co/#/c/233/
https://gerrit.paranoidandroid.co/#/c/232/
PA-Gerrit How To by @ayysir

*Reserved*

It should be noted that not all repos in AOSPA's Github are under Gerrit Code Review at the moment. If you do not see the repo in the project list please continue to submit as a pull request for the time being to AOSPA.

Whom should i contact if i want to change my username on gerrit?
As that particular option is disabled in profile.
Sent from my GT-P3100 using Tapatalk

Chirag_Galani said:
Whom should i contact if i want to change my username on gerrit?
As that particular option is disabled in profile.
Sent from my GT-P3100 using Tapatalk
Click to expand...
Click to collapse
I'm not quite sure if it can be changed

Anu6is said:
I'm not quite sure if it can be changed
Click to expand...
Click to collapse
Have a look here:-
https://groups.google.com/forum/#!topic/repo-discuss/DijhrjUnJyU

Chirag_Galani said:
Have a look here:-
https://groups.google.com/forum/#!topic/repo-discuss/DijhrjUnJyU
Click to expand...
Click to collapse
Requires an Admin with database access.
May be easier to update your local username...i'll try to contact Aaron

Anu6is said:
Requires an Admin with database access.
May be easier to update your local username...i'll try to contact Aaron
Click to expand...
Click to collapse
Thanks a lot @Anu6is Hoping for a positive reply
Sent from my GT-P3100 using Tapatalk

Anu6is said:
Requires an Admin with database access.
May be easier to update your local username...i'll try to contact Aaron
Click to expand...
Click to collapse
I'll look into it as soon as I can.
Sent from my LG-LS980 using Tapatalk

garwynn said:
I'll look into it as soon as I can.
Sent from my LG-LS980 using Tapatalk
Click to expand...
Click to collapse
Thanks

garwynn said:
I'll look into it as soon as I can.
Sent from my LG-LS980 using Tapatalk
Click to expand...
Click to collapse
Anu6is said:
Thanks
Click to expand...
Click to collapse
Any progress in the name change process???

Is there LG L7 paranoid android

Chirag_Galani said:
Any progress in the name change process???
Click to expand...
Click to collapse
Sorry, was digging around for an answer and the best explanation I can find as to why it cannot be changed was here:
https://code.google.com/p/gerrit/issues/detail?id=1217
Put bluntly, even if we do change it could break other things in Gerrit. Something I'm not a particular fan of doing.

garwynn said:
Sorry, was digging around for an answer and the best explanation I can find as to why it cannot be changed was here:
https://code.google.com/p/gerrit/issues/detail?id=1217
Put bluntly, even if we do change it could break other things in Gerrit. Something I'm not a particular fan of doing.
Click to expand...
Click to collapse
Ok no issues. thanks anyway.

@Anu6is I cherry-picked from the gerrit and made some changes in the files. I now want to upload the changes. When I give the command git commit --amend I make the necessary changes and when I push the change through git push it creates a new open commit. What should I do.
The changes are mere clean up according to the comments in the initial commit.

rksomayaji said:
@Anu6is I cherry-picked from the gerrit and made some changes in the files. I now want to upload the changes. When I give the command git commit --amend I make the necessary changes and when I push the change through git push it creates a new open commit. What should I do.
The changes are mere clean up according to the comments in the initial commit.
Click to expand...
Click to collapse
You need to place the Change ID of the commit on gerrit as the last line of your commit message in terminal.
You can simply copy the change id from gerrit. It's on the right side of the commit message

thanks
Chirag_Galani said:
Whom should i contact if i want to change my username on gerrit?
As that particular option is disabled in profile.
Sent from my GT-P3100 using Tapatalk
Click to expand...
Click to collapse
I am dying to try out your aosp rom thumbs up man nice work:good: :fingers-crossed:

Is there any guide how to build and test my changes?

rackajuh said:
Is there any guide how to build and test my changes?
Click to expand...
Click to collapse
make your changes locally and build it....you are supposed to build and test before submitting

Pirateghost said:
make your changes locally and build it....you are supposed to build and test before submitting
Click to expand...
Click to collapse
That was not my question. I asked how to build and test.

Related

Kernel Header File??

Hello
I want to add something in my header file, where is it located?
Do i need recompile my kernel? Any instructions/tutorial?
EDIT:
I may not only need edit header! Anyone could tell me how to add SysV IPC to my Kernel?
Thanks.
hopkinskong said:
Hello
I want to add something in my header file, where is it located?
Do i need recompile my kernel? Any instructions/tutorial?
EDIT:
I may not only need edit header! Anyone could tell me how to add SysV IPC to my Kernel?
Thanks.
Click to expand...
Click to collapse
look up htc-linux.org.
to get and install the headers (default is on the host /usr/src/kernel)
make ARCH=arm CROSS_COMPILE=/path-to-toolchain/bin/arm-linux-gnueabi- install_headers_all <path_to_install>
plopper
plopper said:
look up htc-linux.org.
to get and install the headers (default is on the host /usr/src/kernel)
make ARCH=arm CROSS_COMPILE=/path-to-toolchain/bin/arm-linux-gnueabi- install_headers_all <path_to_install>
plopper
Click to expand...
Click to collapse
DELETE...
I can download the sources by the phone(70-80 Kib/s), but computer is 1Kib/s lol
What toolchain should i use???
Also, will chromium-browser(arm) will work on hd2?
Thanks.
hopkinskong said:
What toolchain should i use???
Also, will chromium-browser(arm) will work on hd2?
Thanks.
Click to expand...
Click to collapse
toolchain info
chrome for arm
plopper
plopper said:
toolchain info
chrome for arm
plopper
Click to expand...
Click to collapse
lol.. think you have a bit misunderstand me...
ok, i think i'm wrong, i want to ask "which" toolchain should i use...
in the startguide:
CROSS_COMPILE= env var is important. read more about it on toolchain page.
Click to expand...
Click to collapse
i goto the toolchain page, and there are few toolchain(codesourcery, gentoo, etc.), which one should i use?
thanks.
Problem sloved, another question have posted...
**PS: i didn't open THIS post also because of the chrome browser, now, i didn't use your link(cuz it need to compile a new chromium browser), i have used the normal arm chrome browser release...

[Q] How to compile github java source?

Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
elesbb said:
Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
Click to expand...
Click to collapse
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Maybe you will need to add some external libraries like the supportv4 library.
dcsms said:
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Click to expand...
Click to collapse
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
dcsms said:
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
Click to expand...
Click to collapse
Thanks man!
I was able to use smali to do what I wanted and theo0so was able to help me sign it with CM keys to allow it to run
But there were a lot more things I wanted to mess around with, so when I get a day off I will follow all steps Thanks again!
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2

Update translate without gerrit

Hi, i want to download some translate update to Omnirom project, but i cant do this, coz gerrit say me this @! [remote rejected] HEAD -> refs/for/android-4.4 (missing Change-Id in commit message footer)@
Macbet said:
Hi, i want to download some translate update to Omnirom project, but i cant do this, coz gerrit say me this @! [remote rejected] HEAD -> refs/for/android-4.4 (missing Change-Id in commit message footer)@
Click to expand...
Click to collapse
The full error message is pretty self-explanatory in regards to how to fix it...
Eventually we hope to have an easier to use translation tool, but Gerrit is the way for now.
Entropy512 said:
The full error message is pretty self-explanatory in regards to how to fix it...
Eventually we hope to have an easier to use translation tool, but Gerrit is the way for now.
Click to expand...
Click to collapse
maybe u can use transifex.com to translate app, for opensouce project transifex free to use
Macbet said:
maybe u can use transifex.com to translate app, for opensouce project transifex free to use
Click to expand...
Click to collapse
I think CM looked at that a long time ago, and it was unsuitable... Can't remember why...

[SOURCES] [DevXchange] Android Sources Highly Compressed & Developer Exchange

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Project abandoned, please do not submit pull requests.
Disclaimer: The wordings in the thread are meant to be noob-friendly and for newer developers that have just dipped their feet into Android platform development. Hence, they won't be accurate in many places for the 'geek'. Also, we had started distributing shallow cloned sources with a depth of '1' instead of non-repo sources (as they are more or less of the same size). So this should not be a problem for the ROM developers in our opinion as they can be fetched by syncing.
Hello!
We, Android Developers, have many problems. One such of them is "SLOW INTERNET" or even "LOW BANDWIDTH".
Due to these problems, we are unable to sync the BIG chunk of Android source codes from the respective repositories.
Hence, most of the new and learning developers just fail at the first step: Downloading The Source Code!
So, here I present you with a thread, which contains links to download "HIGHLY COMPRESSED", untouched (unmodified) and full Android source codes of many different ROMs!
The links to the highly compressed source codes you will find here are not uploaded by me alone. There are many other people that have contributed.
Some of them are: @DigiGoon @MSF Jarvis and @regalstreak (me)
So, Let's begin!
First things first.
You should know what a repo is.
I quote XDA:
What is Repo?
Repo is a repository management tool built on top of Git.
It’s first purpose is to downloads files from multiple git repositories into your local working directory (aka the source tree). That means that you won’t have to manually download or fetch the latest changes from about 300+ projects (depending on if you are downloading AOSP, CM or AOKP for example), repo will do it for you.
The second purpose of repo is to made it easy to submit your code contributions for review to a Gerrit server.
Click to expand...
Click to collapse
When you download a source code with repo, you get a folder named .repo in your working directory. It contains all the compressed .git format files that need to be in the source code.
After the source has been downloaded, the repo tool decompresses the files from the ".repo" folder and you get the source code in the working directory itself!
This project will give you a highly compressed shallow cloned and full tarball of the sources (for those who can't download it via repo or have limited speeds on github/aosp servers). More information is given in the FAQ section. It is must-read. Without it, you won't understand how to use these.
Note: You cannot go from CM12 source to CM12.1 or going CM12 to CM13 as these are different branches on the CyanogenMod repo. No way doing that. You will have to manually download the new source.
So, We are done with the information!
Now, The interesting part. The sources!
Note: All links on this thread are tap friendly! They open in new tabs
I have divided this into several sections for ease of reading and getting the sources. They are:
Links Of All Source Currently Uploaded
How To Request For A Source
FAQ
Announcements and General Stuff
Reserved 2
As you know that we have been using the Skadoosh script recently, which is made by me (@regalstreak), @MSF Jarvis and @DigiGoon, all our sources are being uploaded to one common folder on AndroidFileHost.
This is an automated process in which you submit a Pull Request on the Skadoosh's git and the required source will be available to you soon after it.
More information regarding the process is on Post 3 by @MSF Jarvis
The link to the folder where all the sources are uploaded is Here.
The old upload afh folder can be found Here
If you have any other issues regarding the sources, please mention us here. We will be happy to help you. Please read the FAQ before doing stuff.
Originally, we have had a "Ask on the thread, we'll try" approach to how things work. This is changing now.
While this worked good enough for those asking for the sources, the people who did the actual work were overburdened. Frankly, the process was pretty sketchy. I personally faced the burden part when there were about 6 or 7 ROMs to do! I actually forgot about one guy who made the request earliest, which kinda sucked.
Going forward, this won't happen now. We have a script up on @regalstreak's Github. Updates to it are synced to my server and executed.
The process for requesting sources is now something like this :
Go to the Github repo and edit the compress.bash script
Start a Pull Request
Wait for it to be merged
Wait for even more time to let it upload and one of us to send the confirmation here.
Do whatever the heck you want with those sources!
NOTE: The compress.bash looks like this in a classic example of how to do it WRONG.
Code:
name=AOSP
manifest=[url]https://android.googlesource.com/platform/manifest[/url] -b android-4.0.1_r1
branch=android-6.0.1_r55
./skadoo.sh $name $manifest $branch
This was after This PR was merged and is being shown as the perfect way to mess it up. You are ALREADY passing the branch parameter separately, so adding '-b android-4.0.1_r1' looks like a shining example of blind copy paste. Don't do that. Change the name, manifest and branch with some general application of the faculty of common sense.
Interested users are also suggested to read this strongly worded post.
FAQ
Q1> How should I extract the source?
Ans:
First you will have to join the archive parts into one big archive. Download all the parts. Then put all parts in one folder. Verify md5sum by
Code:
md5sum -c *.md5sum
Then do
Code:
cat *.tar.* > yourbigarchivename.tar.xz
Just quote me if you don't understand this. I'll help you out.
If your archive is in .tar.xz format, do this:
Open Terminal
Now cd to the drive where you have downloaded the sources
Extract it
Code:
tar -xvJf (file name here).tar.xz
If your archive is in .tar.gz format, so do this:
Open Terminal
Now cd to the drive where you have downloaded the sources
Extract it
Code:
tar -xvzf (file name here).tar.gz
Now you have extracted the source.
Q2> I am not able to extract the source. What should I do?
Ans: You cannot extract source with GUI on the Archive Extractor. So, try the method I mentioned.
Q3> Is the size of all files 2GB? I saw the size 2GB on AndroidFileHost!
Ans: The mentioned size on AFH is incorrect. AndroidFileHost has some problems while showing file sizes for files above 2GB. You need to click on Download once to view the correct size!
Q4> How do you compress them? I mean, I need the command so that I can help you out!
Ans: Our script is open source. You can view it here: https://github.com/regalstreak/skadoosh
Q5> What are shallow and full sources?
Ans: Shallow sources are the ones that just have the latest or the HEAD commits in each subproject. You can read more about it from here. Full are the ones that have all the bits from the starting of the subprojects and hence the archives have a large file size.
Q6> How do I use these sources?
Ans: First, you will have to extract them as mentioned above. You should get a .repo folder. In the same folder itself (not inside .repo but the folder that contains .repo), you will have to update the local work tree. You can update it by using
Code:
repo sync -c -f --force-sync --no-clone-bundle --no-tags -j8
This command will help you to use minimum data/internet as it does not download extra tags or clone bundles.
If you do not want to use data at all, you can use this:
Code:
repo sync -c -f --force-sync --no-clone-bundle --no-tags -j8 --local-only
This will not fetch anything from the internet. Happy compiling!
Please press the "Thanks Button" if we helped you and quote us if you have a problem!
Announcements and General Stuff
Automation also has been made opensource now. You can view the source of the automation stuff at https://github.com/regalstreak/skadhook.git
All status of the sources is here: https://github.com/regalstreak/skadoosh/pulls?q=is:pr+is:closed
Reserved
Reserved for stuff.
Lovely
Thanks mate..... :laugh:
What if it's in tar.xz @regalstreak, most people including @DigiGoon use it for its extreme compression.
Sent from a Cool Phone stuck with crappy KingUser
Replies.. Replies only!
FireLord said:
Thanks mate..... :laugh:
Click to expand...
Click to collapse
No problemo bruh!
MSF Jarvis said:
What if it's in tar.xz @regalstreak, most people including @DigiGoon use it for its extreme compression.
Sent from a Cool Phone stuck with crappy KingUser
Click to expand...
Click to collapse
I have mentioned the steps in the FAQ! Please see it
Wow amazing work!
AsadP2013 said:
Wow amazing work!
Click to expand...
Click to collapse
Thanks!
Hope it helps!
MSF Jarvis said:
What if it's in tar.xz @regalstreak, most people including @DigiGoon use it for its extreme compression.
Sent from a Cool Phone stuck with crappy KingUser
Click to expand...
Click to collapse
Use tar -xJf file_name.tar.xz to extract *tar.xz....:good:
---------- Post added at 11:48 PM ---------- Previous post was at 11:44 PM ----------
regalstreak said:
FAQ
Q1> How should I extract the source?
Ans: If your archive is in .7z format, do this:
Open Terminal
Download 7zip if not done before (sudo apt-get install p7zip-full)
Now cd to the drive where you have downloaded the sources
7z x (file name here).7z
If your archive is in .tar.gz format, do this:
Open Terminal
Now cd to the drive where you have downloaded the sources
tar -xvzf (file name here).tar.gz
Now you have extracted the source.
Q2> I am not able to extract the source. What should I do?
Ans: You cannot extract source with GUI on the Archive Extractor. So, try the method I mentioned.
Q3> Is the size of all files 2GB? I saw the size 2GB on Androidfilehost!
Ans: The mentioned size on the thread is correct. AndroidFileHost has some problems while showing file sizes for files above 2GB.
Please press the "Thanks Button" if I helped you and quote me if you have a problem!
Click to expand...
Click to collapse
Hey, first of all....A BIG Thanks to you guys, you guys are awesome and keeping the spirit of xda to help your friends......
A request, Add the method to extract *.tar.xz as "tar -xJf file_name.tar.xz"
sumit yadav said:
Use tar -xJf file_name.tar.xz to extract *tar.xz....:good:
---------- Post added at 11:48 PM ---------- Previous post was at 11:44 PM ----------
Hey, first of all....A BIG Thanks to you guys, you guys are awesome and keeping the spirit of xda to help your friends......
A request, Add the method to extract *.tar.xz as "tar -xJf file_name.tar.xz"
Click to expand...
Click to collapse
Im glad that this index is helping youll alot! Yea sure.. Ill add that now!
Wow thanks man I'm really eager to get started but my internet speed had always let me down. But thanks to you guys I can finally start to build my own ROM. Thanks again guys much appreciated.
adil089 said:
Wow thanks man I'm really eager to get started but my internet speed had always let me down. But thanks to you guys I can finally start to build my own ROM. Thanks again guys much appreciated.
Click to expand...
Click to collapse
Me faced the same problems! But now i have managed to get a better isp [emoji14] happy this helped you!
(One req: Please spread this thread so people may know that highly compressed sources exist and they can even start with a bad internet connection!) [emoji1]
regalstreak said:
Me faced the same problems! But now i have managed to get a better isp [emoji14] happy this helped you!
(One req: Please spread this thread so people may know that highly compressed sources exist and they can even start with a bad internet connection!) [emoji1]
Click to expand...
Click to collapse
I will definitely spread this thread because I know a few people who may need it. It's the least that I can do. Thanks.
@Perseus should this thread be moved to Misc android development? So more people can see it? Or is it fine here...
The thread will be updated from nov6th.. Got exams [emoji14] Please hold on!
regalstreak said:
The thread will be updated from nov6th.. Got exams [emoji14] Please hold on!
Click to expand...
Click to collapse
Thanks man. Good look on your exams.
Thank you very much!
I always wanted to build a ROM but 18GB downloads always stopped me to do so. This is amazing!
However it could have been a little better if the archives were broken into parts so that they could be downloaded on two or more systems and on FAT32 SDcards (4GB max file limit).
Well done!

J700P CyanogenMod Dev Thread (NEW!)

Hey guys, after the recent collapse of the dev thread by messi, I've decided to try to build CM13 for myself. I've created a thread to post progress and such. My vendor and device trees will be updated periodically on Github until the first working build. In a comment below my post, I will post the current error I get when I try to build it.
CURRENT BUG:
Will not boot.
minz1 said:
CURRENT ERROR:
Code:
target SharedLib: libm (/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so)
Invalid context file found in /home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts
Install: /home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/system/lib64/libc.so
external/sepolicy/Android.mk:157: recipe for target '/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts' failed
make: *** [/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts] Error 5
make: *** Deleting file '/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts'
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/minz1/Desktop/CyanogenMod'
#### make failed to build some targets (04:54 (mm:ss)) ####
Click to expand...
Click to collapse
There are previous error , make clean and post the full error on pastebin
Then that means you and @Starchild2k will probably work down the middle to reach the goal.
SykkNyzz said:
Then that means you and @Starchild2k will probably work down the middle to reach the goal.
Click to expand...
Click to collapse
If he wishes to do so, then Starchild can contact me and I'll be 100% happy to work with him on that. Until then, I'm going solo.
messi2050 said:
There are previous error , make clean and post the full error on pastebin
Click to expand...
Click to collapse
http://pastebin.com/EQriaZXi
I don't know what I should do short of removing monkey from the vendor tree; I'm going to try that, though.
minz1 said:
If he wishes to do so, then Starchild can contact me and I'll be 100% happy to work with him on that. Until then, I'm going solo.
Click to expand...
Click to collapse
I am also willing to collaborate with anyone willing to reach the same goals as I am trying to do!
Starchild2k said:
I am also willing to collaborate with anyone willing to reach the same goals as I am trying to do!
Click to expand...
Click to collapse
Okay, that's good, then. You can post any errors you have in this thread. Currently, I'm stuck on this error. http://pastebin.com/mWikijrN
It'd be helpful if you gave me a link to your current vendor tree so I can compare.
I have been still working on that and i have been comparing with the other j7 vendor trees as well to get a successful build
My builds as if late seem to be getting more and more successful. I'm thinking I'm getting close to a complete build.
minz1 said:
My builds as if late seem to be getting more and more successful. I'm thinking I'm getting close to a complete build.
Click to expand...
Click to collapse
good luck bro
agriculture said:
good luck bro
Click to expand...
Click to collapse
He is building for j700p (usa model) not j700h ?
minz1 said:
Okay, that's good, then. You can post any errors you have in this thread. Currently, I'm stuck on this error. http://pastebin.com/mWikijrN
It'd be helpful if you gave me a link to your current vendor tree so I can compare.
Click to expand...
Click to collapse
your source seems to be corrupt , where is the tree u are using to build ? , i lost connection to hte pc that stores that vendor folder.
messi2050 said:
your source seems to be corrupt , where is the tree u are using to build ? , i lost connection to hte pc that stores that vendor folder.
Click to expand...
Click to collapse
GitHub under minz1
Did u ever get through ur errors yet i almost got a build done just need to add install-recovery.sh to my build that was the last error i delt with i had to do some tweaking on the kernel to get the errors to go bye bye im using the original kernel and vendor files and the brunch cm_j7ltespr-userdebug -j4 instead of just make -j4 i got the kernel and dtb built so very close indeed!
Starchild2k said:
Did u ever get through ur errors yet i almost got a build done just need to add install-recovery.sh to my build that was the last error i delt with i had to do some tweaking on the kernel to get the errors to go bye bye im using the original kernel and vendor files and the brunch cm_j7ltespr-userdebug -j4 instead of just make -j4 i got the kernel and dtb built so very close indeed!
Click to expand...
Click to collapse
yeah i'm working on cleaning up vendor right now. what did you have to do to kernel?
There was broken files and a suggestion you dont need the frameworks folder in the vendor folder it has the touchwiz framework and when ur building u must use the default framework folder or you will have errors
Starchild2k said:
There was broken files and a suggestion you dont need the frameworks folder in the vendor folder it has the touchwiz framework and when ur building u must use the default framework folder or you will have errors
Click to expand...
Click to collapse
ok i will make clean and build without these frameworks.
thanks for the suggestion. i will come back if i find anything that i think you should know about. i'm going to update the vendor files on github and start building on a remote server
Lol I wonder how u are able to build using this tree
https://github.com/minz1/android_device_samsung_j7ltespr/blob/master/BoardConfig.mk#L27
It looks for msm8939 config while the kernel source only have msm8929 config
https://github.com/minz1/android_ke...arch/arm/configs/msm8929_sec_j7_spr_defconfig
Also no lines for the used architecture or target cpu , it's better to use my tree to save your time and get past many errors.
messi2050 said:
Lol I wonder how u are able to build using this tree
https://github.com/minz1/android_device_samsung_j7ltespr/blob/master/BoardConfig.mk#L27
It looks for msm8939 config while the kernel source only have msm8929 config
https://github.com/minz1/android_ke...arch/arm/configs/msm8929_sec_j7_spr_defconfig
Also no lines for the used architecture or target cpu , it's better to use my tree to save your time and get past many errors.
Click to expand...
Click to collapse
ugh, okay. i'm curious about samsung's marketing of this device- they claim it's a 615 but it's more likely a 415. i will use your tree instead.

Categories

Resources