yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] dreamsforgotten:
Looks like you're stock source unless you've made edits in the hardware folder yourself then they aren't jiving
[Samsung Galaxy Nexus] cj360:
Parts of stock yes, but my msm7k is from here: https://github.com/androidarmv6/android_hardware_msm7k

I was previously getting [-Werror=strict-aliasing] warnings that were being treated as errors inside msm7k/librpc/ so I added -fno-strict-aliasing to it to skip over them. I'm guessing it would've been better to go back and fix what was causing the aliasing warnings?
[Samsung Galaxy Nexus] dreamsforgotten:
Definitely, it's never good to compile telling the compiler to skip errors they'll cause more downstream each time.
[Samsung Galaxy Nexus] cj360:
Should've figured

{
opaque_auth cred;
opaque_auth verf;
rpc_reply_header reply_header;
enum clnt_stat ret = RPC_SUCCESS;

[COLOR="Red"]xdr_s_type *xdr = client->xdr;[/COLOR]

pthread_mutex_lock(&client->lock);
if (client->in_reset) {
ret = RPC_SUBSYSTEM_RESTART;
goto out;
}

} /* clnt_call */

[COLOR="Red"]bool_t xdr_recv_auth (xdr_s_type *xdr, opaque_auth *auth)[/COLOR]
{
[COLOR="Red"]switch(sizeof(auth->oa_flavor)) {[/COLOR]
case 1:

Seem to be the culprits. Not sure how to correct them though.

edit- Apparently I was not placing the -fno correctly as there's a commit up for review http://review.cyanogenmod.org/#/c/26560/1 with the same thing and now it's building.
[Samsung Galaxy Nexus] IT_Blackbelt:
derp
[Samsung Galaxy Nexus] cj360:
edited- its stopping at this now and I'm not seeing anything via a google search

target StaticExecutable: adbd (/home/andrew/xylon/out/target/product/zeusc/obj/EXECUTABLES/adbd_intermediates/LINKED/adbd)
/home/andrew/xylon/out/target/product/zeusc/obj/lib/crtbegin_static.o:crtbrand.c:function atexit: error: undefined reference to '__dso_handle'
collect2: error: ld returned 1 exit status
make: *** [/home/andrew/xylon/out/target/product/zeusc/obj/EXECUTABLES/adbd_intermediates/LINKED/adbd] Error 1

Here's more of the build log, not all of it since that's too big for pastebin without spliting it up and I don't see anything that sticks out to me except what I posted in the code tags.

http://pastebin.com/qxXD9Ye4
[Samsung Galaxy Nexus] mani1999:
Hi this might sound like a really stupid question but I'll post it anyway since I have no clue....

How do I include a normal app into my rom? Cause some apps, like LMT Launcher, I get a force close one I just put them onto system/apps or

data/apps. I have to install them again so that they work. Is there any way to make them work before installing them (like making them install in the updater-script if that works)?

Thanks in advanced....:)
[Samsung Galaxy Nexus] IT_Blackbelt:
The best bet for you to see how its done is to look at the github account of a different ROM and look at their vendor folder, it will have prebuilt things in there (like SuperSu etc...) and just look through the .mk files and see how they get it included with the ROM.
[Samsung Galaxy Nexus] something15525:
+1 on this take a look at github.com/SomethingExplosive/android_vendor_SoMeX in the prebuilt folder. Sorry for the non full URL I'm on my phone
[Samsung Galaxy Nexus] dreamsforgotten:
You're building on multiple threads so when one quit the others kept t going. Run make minus the -jx to switch to single core compiling
[Samsung Galaxy Nexus] dreamsforgotten:
You have to Mount data and copy to data/app using the same syntax in the updater script as system does but point to data not system
[Samsung Galaxy Nexus] cj360:
Figured out my previous error was a conflict with xylons' bionic, using cm's and now it seems to have warnings about __dso_handle but it may still be there, not sure yet. Now I have a question about the toolchain, I have it set to use arm-eabi-4.4.3 in my device's boardconfig and I have the folder of said toolchain in with the others at /prebuilts/gcc/linux-x86/arm. Yet I'm seeing it use another toolchain anyways?

/home/andrew/xylon/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: /home/andrew/xylon/out/target/product/zeusc/obj/STATIC_LIBRARIES/libpixelflinger_static_intermediates/libpixelflinger_static.a(scanline.o): multiple definition of '__dso_handle'
/home/andrew/xylon/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: /home/andrew/xylon/out/target/product/zeusc/obj/lib/crtbegin_static.o: previous definition here
/home/andrew/xylon/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: /home/andrew/xylon/out/target/product/zeusc/obj/STATIC_LIBRARIES/libc_intermediates/libc.a(atexit.o): multiple definition of '__cxa_atexit'
[Samsung Galaxy Nexus] MBQ_:
How do you git push multiple folders with files in them to github all at once? I've tried but I keep getting errors, or the folders open, but the folders inside of the folder cant be opened :(
[Samsung Galaxy Nexus] IT_Blackbelt:
Lets say the repo is for an app, you would start off in packages/apps/appname on your computer.

On your github account, create a new repo to fit the name (ex. android_packages_apps_appname

Back on your computer, in the appname directory type git init.

Then follow the commands on the new repo web page to push.
[Samsung Galaxy Nexus] MBQ_:
Gotcha, thanks bro :)
[Samsung Galaxy Nexus] ÜBER™:
Are there recommended vendor and device files for toroplus for 4.2.2? Gunna see about updating rasbean today.

Sent from my Nexus 4
[Samsung Galaxy Nexus] IT_Blackbelt:
I would say mine(crossbones) if you don't want to include the radio fix, the 4.2.2 from google if you want to use the radio fix.
[Samsung Galaxy Nexus] ÜBER™:
Link? :) Device and Vendor correct?

Edit: okay so i grabbed android_device_samsung_toroplus & proprietary_vendor_samsung_toroplus. That correct?
[Samsung Galaxy Nexus] IT_Blackbelt:
Other vendor repos will have toroplus folders in them, youll want to grab thos as well.
[Samsung Galaxy Nexus] ÜBER™:
:confused: Dont have em all in one little bundle? :/ So where would i put those?
[Samsung Galaxy Nexus] IT_Blackbelt:
In the vendor folder like this:
[Samsung Galaxy Nexus] ÜBER™:
Oh well... Just snagged EOS's device and vendor files since I already had em. Building now :). Thanks anyways.

Sent from my Nexus 4
[Samsung Galaxy Nexus] ÜBER™:
Just built, no errors.. wont boot. Here is a logcat.

Wont go past the google screen :/

http://pastebin.com/7kLvh79t
[Samsung Galaxy Nexus] dreamsforgotten:
Thanks for posting 7k+ logs ass hole Lmao
[Samsung Galaxy Nexus] something15525:
Sv: Developers Support Thread

I'm sure somebody already said this, but you should check your proprietary binaries repos against themuppets repos. Let me know if you need help!

Skickat från min Galaxy Nexus via Tapatalk 2
[Samsung Galaxy Nexus] something15525:
Hey IT_BlackBelt or anyone who knows, I update to the 4.2.2 binaries for toroplus and now the radio isn't working...should I just roll back libsec-ril_lte and libsecril-client to the 4.2.1 versions? Is there anything else I need to roll back? I just updated from muppets to reflect their binaries since they seemed up to date.

Thanks!
[Samsung Galaxy Nexus] IT_Blackbelt:
You can roll back (we did with crossbones) or you can put the radio fix from bigrushdog back in, there was also a couple other binaries we rolled back because of GPS locks and a logcat that we got, but it wasnt causing any visual issues.

https://github.com/Crossbones/propr...mmit/34b707ae59128489399cad4e6fd3d892370a5a5a

https://github.com/Crossbones/propr...mmit/457abc0ef9faaa13ad874ca4f2f5d2ad112b7724

https://github.com/Crossbones/propr...mmit/1af5168436939791156b951ef7a15d3c51d846ad

These are the 3 commits we made in regards to rolled back binaries.
[Samsung Galaxy Nexus] something15525:
So basically the new binaries rebroke the stuff in frameworks? That's awesome :P lol
[Samsung Galaxy Nexus] IT_Blackbelt:
Lol, i look at it like the binaries are broke, since the official sprint ones work correctly without any fix, if google is going to release "experimental" binaires, they should have fixed that issue in between lol
[Samsung Galaxy Nexus] MBQ_:
Might be getting a desktop computer soon. Any recommendations on what kind of specs I should look for that will be beneficial to building android?

i7 processor and 16GB RAM, is that a good starting point? :)
[Samsung Galaxy Nexus] ÜBER™:
Lol noob.

Build your own. :)

Joking aside :

My build was around 800$ but was more GPU than CPU since I game. However if its strictly a build box get a real low end GPU and spend most the money on storage CPU and RAM.

NZXT Phantom 410 Mid Tower case

MSI ZH77A-G43

Intel i3 3220

EVGA GTX 660

Corsair Vengeance 8GB 1600Mhz

Etc.

Sent from my Nexus 7
[Samsung Galaxy Nexus] MBQ_:
Noted. Thanks! :)
[Samsung Galaxy Nexus] ÜBER™:
What are your plans? Building it? Or buying online... I'll tell you, building is cheaper and you get much more quality.

Sent from my Nexus 4
[Samsung Galaxy Nexus] MBQ_:
I wouldnt even know how to start building a computer.. hahaha
[Samsung Galaxy Nexus] dreamsforgotten:
Make sure to get plenty ram up to 8g, and plenty hdd.* I'm a huge fan of Dell they are easy to repay repair and cheap.* Great customer service and get the 4 year in home warranty they come to your house and fix it there or replace it
[Samsung Galaxy Nexus] ÜBER™:
Its as easy as putting a table together.. Honestly I knew squat about building... And did it. I have a few tutorials on YouTube if youre interested. I can even help you pick out components if ya like. :)

Sent from my Nexus 4
[Samsung Galaxy Nexus] MBQ_:
Yes please!

---------- Post added at 06:12 PM ---------- Previous post was at 06:12 PM ----------

Yeah, I like Dell as well. :highfive:
[Samsung Galaxy Nexus] ÜBER™:
You have a budget? Like the max amount you would like to spend?

Sent from my Nexus 4
[Samsung Galaxy Nexus] MBQ_:
400

;p
[Samsung Galaxy Nexus] ÜBER™:
Possible... I'll have to skimp on some things though. But I can cook up somewhere around that price point. Give me a a few, watching a show now.

Sent from my Nexus 4
[Samsung Galaxy Nexus] MBQ_:
Take your time.. Thanks a bunch dude
[Samsung Galaxy Nexus] ÜBER™:
Heres what i can find for around 400ish of course you can always choose different components. The gpu is optional since this CPU has integrated graphics but its always best to have at least a low end dedicated card.

http://pcpartpicker.com/p/JLOR
[Samsung Galaxy Nexus] MBQ_:
Awesome!! Thank you very much
[Samsung Galaxy Nexus] MBQ_:
CCACHE... y u no work? :(
[Samsung Galaxy Nexus] rascarlo:
##USE ccache. cd to working dir

prebuilts/misc/linux-x86/ccache/ccache -M XXXG

Where XXX is GB

##WATCH ccache. cd to working dir

watch -n1 -d prebuilts/misc/linux-x86/ccache/ccache -s
[Samsung Galaxy Nexus] MBQ_:
it says:

sh: prebuilts/misc/linux-x86/ccache/ccache: not found

edit: nevermind, forgot to cd back to my working directory

---------- Post added at 02:16 AM ---------- Previous post was at 02:02 AM ----------

Does everything look right?
[Samsung Galaxy Nexus] something15525:
Anyone have a Nexus 4 that wants to try this out for me?

EDIT: Nevermind
[Samsung Galaxy Nexus] IT_Blackbelt:
Can someone tell me why the cm Torch app FC's when I bring it into my rom from their source through the manifest.

http://pastebin.com/rNNtHSPC
[Samsung Galaxy Nexus] dreamsforgotten:
java.util.Timer$TimerImpl.run(Timer.java:284)

E/AndroidRuntime( 2246): Caused by: java.io.FileNotFoundException: /sys/class/leds/flashlight/brightness: open failed: ENOENT (No such file or directory)
[Samsung Galaxy Nexus] Anon9mouz:
Hey yalls is there a way to build a 4.1.2 version of aosp for the N4

____________________________________________
[Samsung Galaxy Nexus] ÜBER™:
:what: Why would you want to build an old version of android??? For a nexus... That's a sin against humanity. LOL

Sent from my Nexus 4
[Samsung Galaxy Nexus] Anon9mouz:
For Miui duh lol:p So is it possible and thanks dreams for siding with him I feel the love god lol

____________________________________________
[Samsung Galaxy Nexus] dreamsforgotten:
Lmao, just saying... You can sync any build you want of android and build against. When you set your environment up just do repo init ........ -b android-4.x.x
[Samsung Galaxy Nexus] Anon9mouz:
OK but how do I go about vendor and device files since this phone came no lower than 4.2

I know I can DL source but how do I actually build the ROM so I can have a 4.1.2 to work off of to port miui

____________________________________________
[Samsung Galaxy Nexus] dreamsforgotten:
copy both folders from what you got now
[Samsung Galaxy Nexus] Anon9mouz:
Huh so ur saying I can use 4.2 vendor and device files ??:confused:

____________________________________________
[Samsung Galaxy Nexus] dreamsforgotten:
Only one way to find out ;)
[Samsung Galaxy Nexus] Anon9mouz:
OK so I got to sync 4.2 first to get the vendor and device files and then sync 4.1 to try and build them together

____________________________________________

---------- Post added at 11:55 AM ---------- Previous post was at 11:48 AM ----------

I'm sure a lot would like to see miui on N4 even tho its 4.1.2, And also I'm trying to get a build of 4.1.2 out for the sprint lg optumis g so we can get miui on that too. Trying to get it across a lot of devices. But tough part is the device files and vendors. Just trying to get caught up in the class room since I skipped for a month or two

____________________________________________
[Samsung Galaxy Nexus] mygalaxynote2:
Right after 10-14 days I rooted my Galaxy Note 2, I also got these two text files:

domtree.text

rendertree.text

I viewed the files and they scared a crap out of me. they contained my bank, credit card apps, sites uernames, etc. How were these files created without my permission?

I never wanted to root my phone because I was afraid of the security issue. There I have it!
[Samsung Galaxy Nexus] dreamsforgotten:
Might not make you feel a whole lot safer, but that is part of android and it is used by the webkit to recreate what's in the page your viewing. http://www.trade-pals.com/node/37750. Look no farther than your browser creating these.
[Samsung Galaxy Nexus] mygalaxynote2:
The link says that IE (the web browser that comes with the phone), Firefox, Opera are not webkit browser. I have been using IE and Firefox, why did I still receive these files?
[Samsung Galaxy Nexus] dreamsforgotten:
That link was generic to give you some info on the web kit which is multi platform, pc and phones. Ie is internet explorer and not the default android browser however this is the actual code in android that tells the system to create each of those files as data for the default browser.

https://android.googlesource.com/pl...143ee0f08e338cf31/WebKit/android/AndroidLog.h
[Samsung Galaxy Nexus] mygalaxynote2:
Ahh you are very knowledgabke person. I had this phone for more than 3 months, but I did see these text files until I rooted my phone 10-14 days ago. Why werent these created back then?

Thank you very much.
[Samsung Galaxy Nexus] dreamsforgotten:
That I can't answer, both files were on my galaxy nexus yet neither are on my n4. Both phones are rooted so I'm guessing now either app updates or android version is playing a role. Anyone else know more detail chime in.
[Samsung Galaxy Nexus] MBQ_:
Rated this thread 5 stars. :D

---------- Post added at 02:21 AM ---------- Previous post was at 02:01 AM ----------

I also got CCACHE working. :)
[Samsung Galaxy Nexus] IT_Blackbelt:
Can you point me in the right direction to where I supposed to be looking, I havent been able to figure it out.
[Samsung Galaxy Nexus] dreamsforgotten:
A entire java file not found, sys class led brightness all that is the location I'm guessing that would be tucked away in framework
[Samsung Galaxy Nexus] IT_Blackbelt:
Just an update, I believe this was caused by commit missing out of the tuna directory, building now to confirm.
[Samsung Galaxy Nexus] dreamsforgotten:
Awesome glad you narrowed it down I want familiar with the commit you were using
[Samsung Galaxy Nexus] dreamsforgotten:
This thread is for any phone not just nexus, anyone can get some help. I'm confused on what exactly your question is tho.
[Samsung Galaxy Nexus] IT_Blackbelt:
Lol now Im getting a different error so idk if it works yet :eek:
[Samsung Galaxy Nexus] something15525:
Would anybody still be willing to try a mako build of my SoMeX ROM for me?

That's Nexus 4 for people who don't know the codename :)
[Samsung Galaxy Nexus] cj360:
Lol I keep forgetting that even though it's in the op.

My phone's RIL class is missing a lot of symbols, I'm not sure if I should look at the other device's RIL's to try and merge the new classes or add in the old ones that are no longer in 4.2.2.
[Samsung Galaxy Nexus] mygalaxynote2:
[/SIZE]

Does anyone have knowledge about these

Domtree.text

Rendertree.text

which contain my discover card app, bank, website usernames?

Are these files totally safe from hackers, keyloggers, or spywares?

Thanks alot
[Samsung Galaxy Nexus] IT_Blackbelt:
No, nothing is, if you want a piece of info totally safe, never put it on the web or any device that connects to it. Other than that, Dreams already told you the basic info on the files, hope you get more info.
[Samsung Galaxy Nexus] dreamsforgotten:
Most likely you'll have to compare source before 4.2.2 and add all that crap back in just like at first with the gnex.
[Samsung Galaxy Nexus] MBQ_:
Do you have a Nexus 4 now bro?
[Samsung Galaxy Nexus] something15525:
No, hopefully soon though (sometime in June or July) when my contract expires with Sprint. That's why I was hoping someone could test this for me so I don't release a non-working product...

:good:
[Samsung Galaxy Nexus] MBQ_:
Okay. Figured it was either that or you were too busy. :good:
[Samsung Galaxy Nexus] something15525:
Do you have one?
[Samsung Galaxy Nexus] dreamsforgotten:
When I clear up some time I'll test your work
[Samsung Galaxy Nexus] MBQ_:
I wish. Haha
[Samsung Galaxy Nexus] something15525:
Just let me know and I'll provide a link
[Samsung Galaxy Nexus] IT_Blackbelt:
I was able to get the cm torch to work finally lol :)
[Samsung Galaxy Nexus] Anon9mouz:
OK IMA actually going to try and sync source again. So last time I synced it was 4.2.1 so what's the best route delete old platform folder and init repo, resync with same folder? And did vendor and device files change from 4.2.1 to 4.2.2 I know it probably an obvious question of yes but I figure I would ask

________________________________________________

---------- Post added at 07:25 PM ---------- Previous post was at 07:22 PM ----------

Better yet hey something if u help me get back up and running I'll test whatever u need testing on the N4:D

________________________________________________
[Samsung Galaxy Nexus] Anon9mouz:
Hmm I guess when the weekend is done IMA need some help k yalls. I ain't even stressing right now so just lmk something sometime next week:)

________________________________________________
[Samsung Galaxy Nexus] Un1c0de:
I think you should be able to just do a repo init -b 4.2.2_r1 and then repo sync afterwards. No need to delete original platform folder. I'm not in front of my computer right now so am going off memory.
[Samsung Galaxy Nexus] Anon9mouz:
Hmm OK so no new vendor or device files from 4.2.1 to 4.2.2 OK then. I guess I'll be syncing source tonight

________________________________________________

---------- Post added at 12:03 AM ---------- Previous post was at 12:01 AM ----------

I love this class just wish I came more often:p

________________________________________________
[Samsung Galaxy Nexus] jjhiza:
Hey guys! This seems to be a really great resource and information thread, and I figured I'd ask a question or two.

I already have an AOSP Toro 4.2.2_r1 build compiled, with a few nice options that I've managed to include. I'm interested in learning how to do a few things, that would make my build really solid.

I'd like to add:

1) back to kill

2) notification LED options

3) a couple of init.d scripts to run at boot - specifically, a Flush script (to free up RAM on an interval of every 30 minutes)

I've rummaged through github pages and websites, and have come up with some information, but nothing that I can truly make heads or tails of. I'm hoping and wondering if you guys can help me out with these issues, or point me in the right direction? Thanks in advance, and thank you for this thread. :thumbup:
[Samsung Galaxy Nexus] something15525:
Hey guys, I was wondering if any of you knew how to build a kernel for the GNEX from AOSP source? I tried just building one without any modifications to the source and i'm getting bootlooped at the Google logo.

Thanks guys!
[Samsung Galaxy Nexus] jjhiza:
Did you check this guide? I haven't used it yet, personally, but it seems to be a decent resource. :)

http://xdaforums.com/showthread.php?t=1748297
[Samsung Galaxy Nexus] dreamsforgotten:
You need to locate a gerrit for a Rom that has those features, then find the commits for the mods. Incorporate the commit and re build. Dreamsforgotten.net check out the tutorials, get acquainted with git github and gerrit pages of popular roms, my website won't take you step by step but touch on each subject you need to research. After you learn it it gets quite painless. As far as your init.d scripts, that's not my skillset so perhaps another person will assist with that one.
[Samsung Galaxy Nexus] ÜBER™:
Anybody know where I can pull device and vendor files for tilapia (3G N7). Plan on building rasbean for it. :)

Sent from my Nexus 4
[Samsung Galaxy Nexus] jjhiza:
I appreciate the feedback, and I'll take a look at your site now. Hopefully I'll be able to make some progress this weekend, and get back to kill included at least. I'm thinking the script inclusion will require cron job tweaks... I'm just gathering information, and trying to get better acquainted with how cron works. :thumbup:
[Samsung Galaxy Nexus] something15525:
Device files:

https://github.com/SomethingExplosive/android_device_asus_tilapia

Props:

https://github.com/SomethingExplosive/proprietary_vendor_asus

https://github.com/SomethingExplosive/proprietary_vendor_broadcom

https://github.com/SomethingExplosive/proprietary_vendor_elan

https://github.com/SomethingExplosive/proprietary_vendor_invensense

https://github.com/SomethingExplosive/proprietary_vendor_nvidia

https://github.com/SomethingExplosive/proprietary_vendor_nxp

https://github.com/SomethingExplosive/proprietary_vendor_widevine
[Samsung Galaxy Nexus] electro`:
When I wipe the dalvik cache it seems useless because after doing it says skipping, path not found or something like that. lol

So my question is:

Should I be worried it skips that and cannot find the specific path?

(sorry for my n00b question, im not a genius.)
[Samsung Galaxy Nexus] jjhiza:
@dreams, followed your tutorial and git pulled back to kill, notification light, and swipe to switch from CM, ran meld to correct some commit errors, and I'm making clean now. Hopefully everything goes well. *fingers crossed* :)

Update: ran three builds, and all of them failed to compile - I was getting some kind of "recompile with -Xlint unchecked" error. back to the drawing board tomorrow. :(
[Samsung Galaxy Nexus] ÜBER™:
Run just make, no -j* and post the error. That -Xlint is nothing... I get that all the time. That's not the error. It'll say Make**: blah blah Error: blah blah. :)

Sent from my Nexus 4

---------- Post added at 10:04 AM ---------- Previous post was at 09:35 AM ----------

Okay so like the nvida, nxp, widevine etc those are their own folders in /platform/vendor and proprietary_vendor_asus that goes in /platform/vendor/asus and is just tilapia. Correct? :)