yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] gabx:
Yes, I have been building it for weeks now. The rom is good, solid and fast. No fancies or bloats like in CM.

I just want to use a more dedicated toolchain, arm-cortexa9_neon-linux-gnueabihf, built by myself with some optimizations for nexus 4. Then, I build android with lots of optimization flags, so I guess I am far from the classic and usual way.
[Nexus 4 Android Development] trailblazerz11:
Afraid I can't help then. Looking back at git commits, when I came across the error I couldn't figure it out just put it aside and didn't build bash.

I usually just use toolchain supplied by linaro, arch Linux borks toolchain compilation. Need to fix that sometime.
[Nexus 4 Android Development] trailblazerz11:
Updated to linaro4.7 2013.05 in 6/4. 4.8 in the works, no eta. My upload speeds are crap now so may take awhile.
[Nexus 4 Android Development] gabx:
?? I am on Arch and using crosstool-ng I can build toolchain with no issues !

Weird
[Nexus 4 Android Development] trailblazerz11:
Tried to build the linaro toolchain, I think the new texinfo wasn't supported or something. Didn't really try to fix it, but now that I have time I take another look.
[Nexus 4 Android Development] apatal:
So you're moving the build to to 4.8.1?

EDIT: Nevermind. Saw your post above. Been holding off on trying your builds for awhile. I think it's a good time to jump the gun now. ;)
[Nexus 4 Android Development] tarroyo:
6/4 build feels a lot snappier then the last two builds. Mayb it's the new linaro?
[Nexus 4 Android Development] trailblazerz11:
Hmm that's the only change made recently. I didn't look at the toolchain changelog at all but I think they are now in maintenance for linaro 4.7 I'm not on this rom right now but if it feels faster then all the better :)
[Nexus 4 Android Development] instinctkiller:
Wow the last build is blazing fast !

Snappier than ever :)

I'm gonna check if the battery life is still good... I use FAUX kernel, I'd like to try a Linaro complize Kernel, but not sure if the franco works fine (On my Nexus 10, i didn't like it: random SOD and reboot everyday).

Thanks again for the ROM,, really smooth and stable !
[Nexus 4 Android Development] trailblazerz11:
:)

Franco concentrates mostly on nexus 4. Had Sod on nexus 7 with Franco too but Franco works great on nexus 4.
[Nexus 4 Android Development] tackleberry_crash:
Hey trail,

I can upload prebuilt 4.8.1 toolchain to my github if you wanna give a try.
[Nexus 4 Android Development] trailblazerz11:
Sure. I've only tried the linaro one thus far.
[Nexus 4 Android Development] tackleberry_crash:
I meant linaro 4.8.1

Did you try it?
[Nexus 4 Android Development] trailblazerz11:
Gave it a go once but errors didn't have time to fix will try later.

Hehe I just thought the one you would upload will have fixes, and meant that I was using the one downloaded off linaro.
[Nexus 4 Android Development] tackleberry_crash:
I have fixed that div mismatch in gold.c which is the same bug in 4.7 too.

Were errors you got related to linaro ?

Toolchain straight from launchpad should still have above bug, even in 4.8, so it should error out.

But there were lots of fixes I did in many other repos. I have them in my local dev branch.
[Nexus 4 Android Development] trailblazerz11:
That is fixed in 4.7 05 which I'm using now, guess not in 4.8. I still haven't fixed toolchain compilation.

Didn't even look at errors just hail Mary it would work, probably have time tomorrow to try again.
[Nexus 4 Android Development] trailblazerz11:
Just fyi, I 'm staying at a relatives now and uploads are pretty bad.... seems capped 80kb/s, Takes awhile to upload and it pretty much stops internet working on other devices. So builds are gonna come around this time when I go to sleep.
[Nexus 4 Android Development] ata1918:
No hurry mate! Really enjoying your builds :D
[Nexus 4 Android Development] Carlos_Manuel:
Hey trailblazerz11 I hope that you can help me.

So I am trying to build my ROM Dreams (CM10.1 based) with Linaro's toolchain 4.8.1 but I get error about bionic and I don' know how to fix it.

I sued your Bionic repository because it's forked from CyanogenMod and it has the fixes for Lianro tooclhain 4.7 and I don't know what I should edit myself to fix all the errors..

So here's the error:

http://xdaforums.com/showpost.php?p=42330580&postcount=266

Sorry it's as image because my PC went too slow to copy and paste the text

Because I wasn't able to fix that error I added CM's repository back and I added only these changes:

libm: Add a proper sincos() implementation

bionic:Add new header files for graphics

bionic: Add workarounds for current compilers

Now I just have to try build again but I think my PC will still show the same error and those aren't all needed commits for bionic to build with Linaro's gcc?

It seemed like CM's bionic already has the fix aliasing violations commit.

Do you know hoc can I build my ROM without that bionic error or any other errors caused by bionic..?

Thanks! :)
[Nexus 4 Android Development] trailblazerz11:
For that error in the screenshot, just revert the recent optimistic pow commit, it was mainly for mako and thats why it probably broke for maguro. It currently breaks for my grouper builds too but I was too lazy to add ifdefs, just using separate bionic for grouper
[Nexus 4 Android Development] Carlos_Manuel:
OK, Thank You! :)
[Nexus 4 Android Development] Carlos_Manuel:
Ok, so I was able to compile CM10.1 with Linaro's toolchain 4.8 but when I flashed it and booted it, it stack into upgrading Android.

Have you got CM10.1 to work with Linaro's 4.8 GCC or have you tried it yet? :)

I have no idea how I can fix it, I picked the commits from different repositories when I searched fixes for GCC 4.7 and 4.8 and I edited all the files manually so I didn't cherry pick anything.. Seems like I have to go back using Google's toolchain 4.6 :(
[Nexus 4 Android Development] trailblazerz11:
Try a different kernel not using 4.8 otherwise need some logs.
[Nexus 4 Android Development] Carlos_Manuel:
OK thanks. I'll build one more time my ROM. I started clean build and with some different flags.

The kernel may be the problem too because I didn't include some lines into makefile (arch/arm/booy/compressed/)

Because the lines didn't exist on CyanogenMod's Tuna kernel and when I include the lines then building fails
[Nexus 4 Android Development] thracemerin:
The 3.4 kernel won't boot with linaro 4.8.1 with the SLUB allocator, you need to switch it to SLAB, this may also be the case with the 3.0 kernel for tuna, I'm not sure as I haven't tested it personally.
[Nexus 4 Android Development] Carlos_Manuel:
Ok, well I can boot my ROM and I built again, with some another flags and clean build..

Now it stuck into Android is upgrading... 145 of 149 apps.

I also saw a lot of warnings on the terminal.

So I can't fix anything, I don't know how to make it work, so I switch to Linaro 4.7 because Google's GCC is a bit boring and I can't set up Google's 4.7 GCC with fixes to build with it successfully
[Nexus 4 Android Development] tackleberry_crash:
Did you try to analyze logcat for which app it gets stuck.
[Nexus 4 Android Development] Carlos_Manuel:
OTE=tackleberry_crash;42375408]Did you try to analyze logcat for which app it gets stuck.

Nope. I gota lot of errors and whenI fixed the the them then it showeda lot of warnings of breaking rules... So them must have made my ROM much more unstable..

I added every fixes to the files what was needed but still.. It showed a lot of warnings..

I know that it's hard to build stable ROM with libaro gcc 4.8.. So it's better to use gcc 4.7 for now..

I don't know what I wrote because I'm not at gone and I used my nexus. :D
[Nexus 4 Android Development] trailblazerz11:
Nope. I gota lot of errors and whenI fixed the the them then it showeda lot of warnings of breaking rules... So them must have made my ROM much more unstable..

I added every fixes to the files what was needed but still.. It showed a lot of warnings..

I know that it's hard to build stable ROM with libaro gcc 4.8.. So it's better to use gcc 4.7 for now..

I don't know what I wrote because I'm not at gone and I used my nexus. :D[/QUOTE]

Warnings are expected, especially with O3 and a new toolchain. The fact the it booted is good but need logs to to figure out what's getting stuck.
[Nexus 4 Android Development] Carlos_Manuel:
-----------------------------------------------------------------------------------------------------------

Ok, I also used stable flags, still the same warnings..

I used the flags for SM GCC 4.8 also flags that was in your android_build repository. :)

I have deleted all the files and downloaded everything again and now I'm going to set up Linaro's GCC 4.7 and later if possible I would try Google's GCC 4.7

I can't even find many CM based ROMs which are built with Lianro's GCC 4.8 so It's maybe better to wait when people gets CM to work well with Linaro's toolchain 4.8..

Anyway.. Thanks guys for helping me, I like more Google's toolchain than any other toolchains. :D

Off topic:

tackleberry_crash I like your avatar picture! Polie Academy.. :good:
[Nexus 4 Android Development] Carlos_Manuel:
How should I edit this file? : /hardware/qcom/qcom-display/libcobybit/cobybit_c2d.cpp ? When these lines doesn't exist?:

struct copybit_rect_t dr = { 0, 0, dst->w, dst->h }; struct copybit_rect_t sr = { 0, 0, src->w, src->h };

Instead of those in line 1422 there is similar ones:

struct copybit_rect_t dr = { 0, 0, (int)dst->w, (int)dst->h }; struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h };

And I should replace those first ones with this:

struct copybit_rect_t dr = { 0, 0, static_cast(dst->w), static_cast(dst->h) }; struct copybit_rect_t sr = { 0, 0, static_cast(src->w), static_cast(src->h) };

Hopefully someone can help me with that thing.. Thank You! ^_^
[Nexus 4 Android Development] mpdt:
When I updated to the 6-10 update this morning the CM cLock widget does not work. I can't run it form the systems/app folder, and the APF will not install.
[Nexus 4 Android Development] trailblazerz11:
Opps I remember that conflict, I don't remember exactly how off the top of my head but will update my git later
[Nexus 4 Android Development] trailblazerz11:
Try deleting from system/app then putting a new one from rom zip. System apk usually don't install

Btw what do you mean doesn't work? Fc?
[Nexus 4 Android Development] trailblazerz11:
Been compiling a local build of franco kernel for awhile now. Someone asked for it so it's up on my server now.

Just franco compiled with linaro and some additional cherry picks I made. Will be on git whenever my crap upload speed allows.

Boot.Img only, use Francos app, fastboot or make your own zip.
[Nexus 4 Android Development] Carlos_Manuel:
Ok, Thanks man! :)

Is Galaxy Nexus using that file too?

Sorry I don't know that and at least I'm able to build successfully my ROM for Galaxy Nexus, I haven't updated my ROM for Nexus 4 yet. I got few errors, related to ti/opap4xxxx and Kernel.. I also had to edit a lot more files than those which had your commits in your repository files to fix building. :D

Without you I wouldn't be able to build my ROM with Linaro toolchain.. so Thank You really much and ofc. I'll give credits of you. :)

But your repository.. android_device_lge_mako has your optimizations:

https://github.com/trailblazerz/and...mmit/289201bf524c383e6b7fef5247b43a1bcbedc458

Any of those aren't for Galaxy Nexus? Nexus has 1.20GHz TI OMAP 4460 (ARM Cortex A9 + PowerVR SGX540), so have you also made or included optimizations for Galaxy Nexus? :)

It would be great to get my Nexus even a bit more faster with the optimizations! :highfive:

Thank You! :)
[Nexus 4 Android Development] trailblazerz11:
Not sure on gnex, kernel may need some fixing by you. I'll update my git later tonight or tomorrow when I have time.

Use the grouper optimizations, it uses cortex a9 too.
[Nexus 4 Android Development] Carlos_Manuel:
Ok Thanks. :)

I used these commits to fix kernel building:

ARM: support XZ compressed kernels

to be able use this commit to fix building with gcc 4.7:

http://gitorious.org/shr/linux/commit/a8444fa9d19403e5ee88ab6c1a34ce377a2cbc4b

:)
[Nexus 4 Android Development] trailblazerz11:
my fix for display-caf conflict is on git now, forced update because I had to rebase. I know my cherry-pick script it outdated and will have broken cherry-picks :(
[Nexus 4 Android Development] Carlos_Manuel:
OK thanks :)

I don't use cherry picks I edit all files manually to make sure everything is correctly edited. ;)
[Nexus 4 Android Development] mpdt:
That did it, thanks.
[Nexus 4 Android Development] trailblazerz11:
Lol random guess, glad it fixed it
[Nexus 4 Android Development] darkbasic4:
Great news :laugh:
[Nexus 4 Android Development] hospital349:
Linaro + Bionic WIKI is now available. [MENTION=3908838]trailblazerz11[/MENTION] - consider it a gift. Enjoy! :good:

(For further information regarding recent WIKI features and site updates, see HERE.)
[Nexus 4 Android Development] trailblazerz11:
Why thank you :)
[Nexus 4 Android Development] tarroyo:
Is anyone else seeing apps disappear after reboot? thought this was a memory issue, then I reinstalled them from the play store with no issues.
[Nexus 4 Android Development] trailblazerz11:
Never had that happen :( Does it happen every reboot?
[Nexus 4 Android Development] markd0wn:
[MENTION=3908838]trailblazerz11[/MENTION], is a build coming today by any chance? I miss flashing :)
[Nexus 4 Android Development] trailblazerz11:
Yeah. Upload in about an hour. Upload takes over my Internet connection :( which I need right now.
[Nexus 4 Android Development] trailblazerz11:
It's up on my site now. It takes another 40 to upload to goo.....
[Nexus 4 Android Development] markd0wn:
Thanks, flashing :)

I always use the site to download btw... faster for me to download than goo as well
[Nexus 4 Android Development] trailblazerz11:
Good to know :) Surprised me $5 a month VPS is holding up so well. I had planned to add md5 sums, download counter and an actual web page but I know nothing about web design. Maybe time to try it out
[Nexus 4 Android Development] azrash:
download-able MD5 sum ala the ones in fitsnugly.Euroskank would be great, especially when flashing with TWRP, seeing the line 'MD5 matches' is reassuring :P

Flowed from my Nexus⁴
[Nexus 4 Android Development] Smallsmx3:
It's been a long time since I've flashed. Just curious what the kernels are in the folder? Modified cm kernels? Becoming. Franco kernel. Got it!
[Nexus 4 Android Development] tackleberry_crash:
I can share the php script I use just for that.
[Nexus 4 Android Development] tarroyo:
Not all times apps will disappear even w/o reboots, It's completely random. I have 5 gigs free space, I've run into this issue before even on a clean install wipe factory reset/deleting cache, dalvik etc.

I'll go a few hrs without using the app and the next time I do it'll force close then disappear from the app drawer, This has happened with 2 apps so far 'draw something' and 'amazon'

What's weird is the amazon apk file shows up under data/app 'draw something' apk file does not.

Running Franco's 153 build, this has happened on past linaro builds I thought it would be fixed in later builds.
[Nexus 4 Android Development] barome:
Wordpress is a good solution ! Look at my own site : http://geek-tube.comoj.com

If you wanna help i'm here.
[Nexus 4 Android Development] trailblazerz11:
Website will be down for a bit while I derp around. Thanks for the offers for help, think I'll try myself until I run into some massive fail
[Nexus 4 Android Development] Nark.GA60:
Hi,

cherrypick.sh fails on the last line for me:

$ git pull trail linaro
fatal: Couldn't find remote ref linaro
Unexpected end of command stream

Any ideas?
[Nexus 4 Android Development] trailblazerz11:
Should be git pull trail linaro-temp

The script hasn't been updated in awhile due to my laziness, so there may be other issues.
[Nexus 4 Android Development] richardddd:
LOVE your rom trailblazerz11! Any new build coming soon? :)
[Nexus 4 Android Development] trailblazerz11:
Compiling now, been quite busy over the weekend.
[Nexus 4 Android Development] sir*mez:
I just noticed you also compile franco Kernel with linaro, thank you for that. Trailblazer11.com is my one stop for all.

Thank you sir keep up the great work!
[Nexus 4 Android Development] trailblazerz11:
Thanks, sorry it looks so bad. Haven't had time to work in the site :(
[Nexus 4 Android Development] cobhc:
Pardon my ignorance on this, but is it the kernel that won't compile with 4.8 or higher without issues, or is it the actual rom?
[Nexus 4 Android Development] trailblazerz11:
Kernel needs to use slab allocator to boot. Rom may need some patches
[Nexus 4 Android Development] cobhc:
So the use of LaboDJ's version of Franco which is compiled with 4.8.1 might allow it to boot?
[Nexus 4 Android Development] trailblazerz11:
If he made the change to slab then it should boot
[Nexus 4 Android Development] Carlos_Manuel:
I think frameworks_av: fix aliasing violations commit may need updating: :confused:

I got this:

From git://github.com/CyanogenMod/android_hardware_qcom_display-caf
131ab8e..a4efdde cm-10.1 -> github/cm-10.1
Fetching projects: 100% (358/358), done.
Syncing work tree: 55% (197/358) Traceback (most recent call last):
File "/home/carlos/android/system/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/carlos/android/system/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/carlos/android/system/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/carlos/android/system/.repo/repo/subcmds/sync.py", line 630, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/carlos/android/system/.repo/repo/project.py", line 1086, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/carlos/android/system/.repo/repo/project.py", line 2006, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/carlos/android/system/.repo/repo/project.py", line 2155, in rev_list
p.stderr))
error.GitError: CyanogenMod/android_frameworks_av rev-list ('^1216ed8d00080619bb04c398bb0072945c58511b', 'HEAD', '--'): fatal: Not a git repository (or any of the parent directories): .git

Cuased by this commit for frameworks/av:

http://review.cyanogenmod.org/43568

:)
[Nexus 4 Android Development] trailblazerz11:
Sorry upload failed past couple nights not sure why.. Uploading now
[Nexus 4 Android Development] derekr44:
Working well here.
[Nexus 4 Android Development] trailblazerz11:
Working on site today, all files are off it currently. Use goo for now, gonna go to like starbucks to upload everything back. My 80 KBps upload would take all day
[Nexus 4 Android Development] trailblazerz11:
Well.. I did not expect starbucks to have 50KBps upload and no outlets so... looks like my laptop will be up all night uploading everything.

(Side note: I could really use a chromebook.. my battery lasts 1 hour now and laptop bulky as hell >_< With me being a cheapo can only dream of Macbook air 12 hours)

Good news, finished on the site for the most part, just need to implement download counters. Yeah... web design isn't my thing
[Nexus 4 Android Development] cobhc:
Looks good. Maybe implement some donation links? Might help you get a new laptop ;)
[Nexus 4 Android Development] trailblazerz11:
Thanks! I don't accept donations currently, maybe later when I feel like I am doing something original heh. Otherwise there's a donate link to CM in the the OP.

I am quite happy with my Laptop's performance, 2nd Gen i7 still quite good but the portability and battery life are bleh as i mentioned. Looked around at Ultrabooks but either specs are not what I want (would like to keep an i7 & 16gb ram maybe SSD) or out of my price range. So I plan to grab a cheap chromebook, hopefully a new ARM version will be released soon, and leave my current laptop at home as a desktop to remote access.

Later I'll build my own desktop with the specs I want for quite a bit cheaper.
[Nexus 4 Android Development] trailblazerz11:
Messing with the server, trying to speed it up. Gonna be down for 10-20 minutes then will have everything uploaded tonight

EDIT: Finished uploading to site, goo will have all the files reuploaded too due to some folder/structure changes
[Nexus 4 Android Development] :
Hi Trailblazers,

Just want to ask you a few things. Are you considering using Linaro 4.8.1? Will you consider building and uploading RC5 version?
[Nexus 4 Android Development] trailblazerz11:
I'd like to get Linaro 4.8 going but been busy :( my priority right now.

Honestly too lazy to deal with tags, the nightly closest to the RC build date should be very similar if not the same.
[Nexus 4 Android Development] pnut22r:
CM stable is being released, will this be updated with the stable build?
[Nexus 4 Android Development] trailblazerz11:
Yeah I'll released one labeled stable later.
[Nexus 4 Android Development] :
No pressure and no offense. I am not asking you to build RC or stable but want to clear that if we flash nightly closest to RC dates or stable dates, we are not getting what is advertised

The nightly closet to funda works on M releases not RC releases. So if we take nearest nightly to RC build date, its not same.

http://xdaforums.com/showthread.php?p=42934327
[Nexus 4 Android Development] trailblazerz11:
Thanks!

I haven't really been paying attention, didn't know RC branched off but makes sense. See if I can get the stable tag to build, had issues with building with earlier tags conflicting with my linaro branches so no guarantees.
[Nexus 4 Android Development] :
The real thanks goes to thracemerin. I didn't notice that either.
[Nexus 4 Android Development] thracemerin:
Its slightly more complicated than I thought unfortunately, it seems to be a combination of branches and tags which makes it annoying to compile :(
[Nexus 4 Android Development] jose13683:
So, just for clarification, the new rom that can be found at:

http://www.trailblazerz11.com/Roms/Mako/Stable/

is essentially a nightly compiled the same day of the stable version? Not complaining, just asking :D
[Nexus 4 Android Development] trailblazerz11:
Nightly
[Nexus 4 Android Development] SchmilK:
Thanks for the guide!! :D Not that I know what I am doing outside of following your directions, but its a satisfying feeling knowing my computer was able to build the rom that's on my phone and yield benchmark scores that are faster than the official cm10 builds :victory:

I see alot of [new tag] cm-10.1.0, but not sure if I need to do something to enable that 'tag' to be used for compiling.

What/if anything, would I need to change to compile the 10.1.0 that is now out, or will just a repo sync and make clean compile that as is?
[Nexus 4 Android Development] darkbasic4:
Any news on gcc 4.8?
[Nexus 4 Android Development] trailblazerz11:
Will try again when linaro releases 13.06, next few days

Create a new branch and checkout the RC tag then merge the fixes I suppose would be easiest.
[Nexus 4 Android Development] di3cbl:
Can I dirty flash cm10.1 over this? Don't get me wrong this ROM is great but I wanna check out the new camera quick settings tile in the latest nightly
[Nexus 4 Android Development] trailblazerz11:
I've done it several times with issues.

I forgot to upload last night. Working on linaro 4.8 but quite a number of errors so far.
[Nexus 4 Android Development] di3cbl:
In that case I think I'll wait for your builds then. thanks for your reply and hard work :)
[Nexus 4 Android Development] sir*mez:
Edit: Trail is Kernel_156-10 the same as up to date with M3 latest from franco?
[Nexus 4 Android Development] trailblazerz11:
12 should be. Uploading it now
[Nexus 4 Android Development] getaceres:
I've dirty flashed CM 10.1 stable over this one and so far it seems to go great. Just cleared cache and dalvik cache so I think nightlies should be the same.
[Nexus 4 Android Development] trailblazerz11:
Actually, build 19 now is. Franco made a local change to the GPU governor so it scales correctly now.
[Nexus 4 Android Development] sir*mez:
Awesome thanks again!
[Nexus 4 Android Development] djvoleur:
2013.06 is out :)