yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] sparksco:
Probably 30-45 min. would be my guess. You can enter time before make to log the time also. time make -j2
[Nexus 4 Original Android Development] yukkio:
Mmmm 12 minutes

LD [M] drivers/scsi/scsi_wait_scan.ko

LD [M] fs/cifs/cifs.ko

AS arch/arm/boot/compressed/piggy.gzip.o

LD arch/arm/boot/compressed/vmlinux

OBJCOPY arch/arm/boot/zImage

Kernel: arch/arm/boot/zImage is ready

I'll see how do a zip to flash the kernel.
[Nexus 4 Original Android Development] trillo69:
I think you can try it with fastboot boot boot.img command.
[Nexus 4 Original Android Development] yukkio:
I dont see any boot.img but i find this:

http://www.droidforums.net/forum/ko...troducing-any-kernel-update-zip-template.html

I will try to boot with that template.
[Nexus 4 Original Android Development] sparksco:
There's different ways and different versions of using koush's anykernel for different devices. Personally I'd just download another kernel that uses it and use that as a template instead. Then modify the updater-script to your liking for your kernel. Replace the zImage and modules in system/lib/modules, zip and flash :)

boot.img is only produced from the ROM not the kernel itself. Kernel only produces zImage and modules.
[Nexus 4 Original Android Development] yukkio:
Yes, I got a motley kernel and I replaced the zimage file, also I removed system files.

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] rustyjay:
Nice to see it back open. Stay high in mile high.
[Nexus 4 Original Android Development] sparksco:
Congrats on building STS :)

Maybe others would be interested in this since it works on all ROMs this way.

And you don't need to provide a source since it's stock STS which already has a source ;)

Also what theme is that?
[Nexus 4 Original Android Development] sparksco:
I'll put a updated kernel up tonight. ROM update won't probably be til tomorrow or next week if I get the charging animation bug figured out.
[Nexus 4 Original Android Development] torana355:
Thanks for reopening the thread [MENTION=2394329]sparksco[/MENTION]. This is my favorite rom due to it being the fastest :D
[Nexus 4 Original Android Development] sparksco:
Kernel update Linux 3.4.47

Here's the kernel update to Linux 3.4.47

This is the smallest update I've ever seen in a Linux kernel update. Very very minor.

and the changelog

https://github.com/SaberMod/lge-kernel-mako/compare/0f618dcbc3...d9778c9846
[Nexus 4 Original Android Development] sparksco:
Thanks! "Sorry, you are limited to 15 thanks per day"

Already used up all my thanks
[Nexus 4 Original Android Development] jarjar124:
Gotta love tapatalk and xda app as it's unlimited I believe :) thanked him for you
[Nexus 4 Original Android Development] torana355:
All good just keep developing the fastest Rom on the planet. :good: For some reason my phone matches really well to your roms, even RasSaber which uses your toolchain and optimizations is not as smooth for some reason.:confused:
[Nexus 4 Original Android Development] sparksco:
Huh weird your right.
[Nexus 4 Original Android Development] jarjar124:
It's always been like that :) surprised you didn't know that :p
[Nexus 4 Original Android Development] sparksco:
I always use tapatalk so never noticed...
[Nexus 4 Original Android Development] jarjar124:
You learn something new everyday :) don't worry I didn't know this till 6 months after I bought the app lol
[Nexus 4 Original Android Development] strapped365:
I had a deep today and just recently started a new repo sync. So if I start the build tonight would it be what your building to release?

Also I'm going to try building with Ubuntu 12.10 like the setup guide instructed :D. I guess I'll know sometime in the morning
[Nexus 4 Original Android Development] sparksco:
Yup same release. Eh, it shouldn't take too long. If you set up a swap partition when you installed Ubuntu it should help some.
[Nexus 4 Original Android Development] strapped365:
Yeah I setup with 8GB swap (cnexus said that was safe since it doubled ram ?) Who knows. I may try to build with -j3 since its dual core.

I also bought this odd lots special 7 doallr fan for the bottom of the laptop so I'll see how cool it stays.

For future reference what size is total repo?11GB?
[Nexus 4 Original Android Development] nycelitemaster:
Can someone confirm init script isn't enable in kernal, i don't have busybox installed. Universal init.d says init.d isnt enabled.

Sent via Google N4
[Nexus 4 Original Android Development] sparksco:
It's safe to double the amount of cores for -j. I have a 8 core AMD and I run -j16. And if it's a dual core Intel the threads are double anyways. So it's the same as a quad core AMD. That's the only reason Intel processors cost more. When you run bash sm-mako select 4 cores and it should be fine.

Yeah something like that. There's a hidden .repo folder that stores all the git repo history, then the working directory. So the size is double on disk than what it really is.
[Nexus 4 Original Android Development] paul89rulez:
Fastest rom ever, with a uber battery life! No problem so far, using 1.0.1 with faux kernel (after 2 weeks + with the stock saber kernel, when i had the best screen on time, 5:50h).
[Nexus 4 Original Android Development] jtwlbz:
Sparko any plan to add martins quick pin unlock? ;)
[Nexus 4 Original Android Development] sparksco:
[MENTION=4618260]jtwlbz[/MENTION] nope no plans, that's a [MENTION=4429892]Martin_Ro[/MENTION] thing..
[Nexus 4 Original Android Development] malson:
...

thanks a lot for your work

Confirmation number: 5EK36375DL588951A
[Nexus 4 Original Android Development] rascarlo:
Nice to see the thread open again. Woot
[Nexus 4 Original Android Development] Maibol:
welcome back spark:highfive:
[Nexus 4 Original Android Development] _frog hair:
Oh yes it's on again! Great to see you back in bidnezz \o/:beer:

Sent from the stars using a paranoid old Nexus 4.
[Nexus 4 Original Android Development] myzar:
after today repo sync i can't compile it anymore i'm getting this internal compiler error

external/aac/libSBRenc/src/env_est.cpp: In function 'void _ZL20calculateSbrEnvelopePPlS0_PiS1_PK14SBR_FRAME_INFOPaS5_P15SBR_CONFIG_DATAP11ENV_CHANNEL15SBR_STEREO_MODES1_i.constprop.5(FIXP_DBL**, FIXP_DBL**, int*, int*, const SBR_FRAME_INFO*, SCHAR*, SCHAR*, HANDLE_SBR_CONFIG_DATA, HANDLE_ENV_CHANNEL, INT*, int)':

external/aac/libSBRenc/src/env_est.cpp:570:1: error: definition in block 2 follows the use

calculateSbrEnvelope (FIXP_DBL **RESTRICT YBufferLeft, /*! energy buffer left */

^

for SSA_NAME: iftmp.6_377 in statement:

# DEBUG D#173 => MIN_EXPR <iftmp.6_377, _14>

external/aac/libSBRenc/src/env_est.cpp:570:1: internal compiler error: verify_ssa failed

target thumb C++: libFraunhoferAAC <= external/aac/libSBRenc/src/fram_gen.cpp

0xc2323c verify_ssa(bool)

../.././../gcc/gcc-SaberMod/gcc/tree-ssa.c:1046

0x9f66d2 execute_function_todo

../.././../gcc/gcc-SaberMod/gcc/passes.c:1970

0x9f703d execute_todo

../.././../gcc/gcc-SaberMod/gcc/passes.c:2002

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See <http://gcc.gnu.org/bugs.html> for instructions.

make: *** [/media/d/mako/out/mako/mako/target/product/mako/obj/STATIC_LIBRARIES/libFraunhoferAAC_intermediates/libSBRenc/src/env_est.o] Error 1

make: *** Waiting for unfinished jobs....
[Nexus 4 Original Android Development] jarjar124:
Check what GCC are you using and are you using the build script? To check do gcc --version
[Nexus 4 Original Android Development] myzar:
i'm using gcc (Ubuntu/Linaro 4.8.0-3ubuntu3~12.04) 4.8.0

and i'm using the sm-mako bash script
[Nexus 4 Original Android Development] ScumDroid:
[MENTION=2394329]sparksco[/MENTION] Great to have you back bro. :highfive:
[Nexus 4 Original Android Development] sparksco:
[MENTION=4046170]myzar[/MENTION] that's strange your building for mako and you did a clean build?

Edit: Don't build with -O3 on latest toolchain.
[Nexus 4 Original Android Development] yukkio:
:P

It's rassaber stock theme.
[Nexus 4 Original Android Development] Kespa76:
This rom has CM10.1 customization ?
[Nexus 4 Original Android Development] sparksco:
Just figured it out. Don't build with -O3 with the latest toolchain. Or it breaks for some reason. I don't use -O3 anyways. Hopefully gnu can get it figured out.
[Nexus 4 Original Android Development] miguepereira77:
You got all the customization that this ROM includes listed in the OP :p

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] strapped365:
Yay! Syncing source tree 90% lmao.

Can't wait to start a build man. But who knows how long it will take. That's the sad part. The other ROM I'm running is really starting to show alpha stages and I just can't have that.

Your kernel saved some of the hiccups but they were kernel related...lol.
[Nexus 4 Original Android Development] sparksco:
This is the weird thing. I've had people tell me my kernels run better on my ROMs on all the devices as far as performance and battery life. That's what I don't get. One guy asked me what my secret trick was to get the kernels to run better on my ROMs. I didn't know what to tell him lol. Maybe it has to do with the toolchains? I know they're built separately from each other but both use toolchains I built.

Happy building man!
[Nexus 4 Original Android Development] strapped365:
hey man i tried to build while working today and this is what i got......http://pastebin.com/sSPhgbUS...i know its a ton but im about to shut the lappy down for a few and didnt wanna lose it
[Nexus 4 Original Android Development] sparksco:
It looks like problem with gcc-4.8. If you selected host gcc-4.8 but you don't have it installed on your machine use 4.7. Also when you run the build script again let it repo sync. I had to fix a build error in settings. You shouldn't need to do a clean build either.
[Nexus 4 Original Android Development] strapped365:
That must have been like the 500KB file it had to download :p...I was thinking like man I just synced...twice. Lol.

The way I synced up first time was run repo sync and after 10 hours of downloading (slow data) I ran it again just to he sure. And I love how the script offers a fresh sync for each build.

Question though, since the kernel compiled fine, but the ROM failed could I go grab/flash at least the kernel
[Nexus 4 Original Android Development] sparksco:
Yeah new syncs will be easy and small. If you have out/mako/SaberMod/target/product/mako/boot.img you should be able to. Otherwise you have grab the zimage from kernel/lge/mako
[Nexus 4 Original Android Development] strapped365:
Alright I'll check when I get to this cookout.

I'm trying to get set to build so I could possible lend a hand, say if you don't have time to build or whatever and maybe I did I could lend a hand you know.*just a thought*
[Nexus 4 Original Android Development] kptnk:
Your kernel runs really well with your rom, but it runs perfectly as well with other roms : i used it with different roms with excellent results ( now on Carbon, it's a wonder with their dalvik optimizations).

Only with Vanir rom, where flashing your kernel will break wifi and data....why ? I couldn't tell....
[Nexus 4 Original Android Development] sparksco:
yes that would be awesome. updating git sometimes is a lot faster than doing a build :good:
[Nexus 4 Original Android Development] sparksco:
New build up. I don't have time to do a changelog right now. But there's a toggle now for Charging LED under user interface thanks to [MENTION=4429892]Martin_Ro[/MENTION] , disabled by default. Please test and report any bugs. If anything is weird blame me :p

-Built with latest 4.9 toolchain optimizations

-Latest kernel toolchain 4.7

-Dalvik from AOSP

http://developer.clockworkmod.com/downloads/293/4928/sm_mako-1.0.1-1369600729-0526.zip
[Nexus 4 Original Android Development] sparksco:
Ok so I'm going to end this Carbon dalvik thing once and for all. Yes Carbon ROM has added extra dalvik changes from AOSP master branch. They did not write the code for it. The same changes are in SaberMod now.
[Nexus 4 Original Android Development] dwang:
Didn't think it could get any faster, but this feels faster. :)
[Nexus 4 Original Android Development] jarjar124:
It's just getting started ;)
[Nexus 4 Original Android Development] .dan:
Does the charging animation work? Does the battery icon change to lightning bolt when charging? Thanks
[Nexus 4 Original Android Development] sparksco:
I didn't think it could get any faster
[Nexus 4 Original Android Development] sparksco:
It works on everything but the stock battery icons. Circle battery, and battery bar charging animation works. We're still looking into a fix for that.
[Nexus 4 Original Android Development] strapped365:
So I got it to build. Thanks a ton. Will report back if all went well.
[Nexus 4 Original Android Development] sparksco:
Nice. I'm going out for a bit so hope all went good :beer:
[Nexus 4 Original Android Development] sparksco:
Forgot a couple more things lol. I added the fix for force close when switching bands on the dialer and the Bluetooth audio fix.
[Nexus 4 Original Android Development] dwang:
This latest version is ridiculously fast.

I bought my wife a htc one and I was commenting on how fast that phone was, but this version makes the nexus 4 just as fast and smooth.

Facebook and tapatalk are all ultra smooth.

Only issue is I still get occasional random reboots. Crossing my fingers this kernel fixes it.

Great job!

Edit: noticed a bug. The enable charging led doesn't work. When you tick it on, it automatically unticks itself when you go back into the user interface menu.
[Nexus 4 Original Android Development] Dsmforlife92:
Have no issues with enabling charging led did you come from clean install or dirty and never had one reboot with this ROM. Weird
[Nexus 4 Original Android Development] dwang:
Are you using the latest 5/26 version?
[Nexus 4 Original Android Development] jarjar124:
Odd...+1 on this...
[Nexus 4 Original Android Development] Dsmforlife92:
Yea 5/26 just noticed it sticks tell I reboot then it unchecks it self weird
[Nexus 4 Original Android Development] dwang:
Hmm I may try a clean wipe and see if that resolves the issue. Thanks
[Nexus 4 Original Android Development] sparksco:
[MENTION=4429892]Martin_Ro[/MENTION] any way to solve this with the enable LED charging checkbox not sticking on reboot?
[Nexus 4 Original Android Development] sparksco:
You can also try clearing data for settings without a full wipe.
[Nexus 4 Original Android Development] trillo69:
Mine sticks. Showed marked by default, and it keeps that way after reboot. :confused:
[Nexus 4 Original Android Development] sparksco:
Yeah it was on by default before so it probably won't be disabled by default unless it's a clean install. Thanks for chiming in :thumbup:
[Nexus 4 Original Android Development] jarjar124:
Not for me...

Weird..tried clean install and same..
[Nexus 4 Original Android Development] trillo69:
Yeah I didn't do clean install but flashed over rassaber.

By the way, on the last version of your kernel, i notice that both gpu and cpu lower their freq during benchmark (to 320 and 1200 mhz respectively). It's strange, didn't happened before and I've been using sts kernels for nearly two months. And phone doesn't get too hot (both battery and cpu below 40°C right after bench), really strange.

PS: oh, and it's very smooth, so really not a major concern. :)
[Nexus 4 Original Android Development] strapped365:
hey just coming back to say got it built no issues. thanks a lot. i can try and build whenever as long as many builds wont hurt this laptop you know. only took about 4 hours maybe a bit longer so im happy.

man its one smooth ROM as always with your releases.
[Nexus 4 Original Android Development] torana355:
LOVING the latest Sabermod build. It is OMG fast lol. Thanks for your hard work Sparksco!!
[Nexus 4 Original Android Development] Dsmforlife92:
Didn't work try clearing data with no luck then I did a full wipe and battery led not sticking thanks still the best rom
[Nexus 4 Original Android Development] sparksco:
Hmm, maybe [MENTION=4429892]Martin_Ro[/MENTION] knows more, it should stick on boot, probably a easy fix. Thanks
[Nexus 4 Original Android Development] Martin_Ro:
Hm, as soon as I fixed my own build problems (maybe related to the same problem) I will have a look into it, as I'm sure it has worked on my last build (also dirty flashed so that shouldn't be the problem)

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] sparksco:
Thanks but I messed up cherry-picking your patch. Some how part of the settings patch got left out. I'll fix it tomorrow I'm not home around my PC ATM.
[Nexus 4 Original Android Development] dweekie:
You know your ROM is stable when you troubleshoot things like led lights sticking on reboot. Thanks for the continued updates. Loving every build.
[Nexus 4 Original Android Development] sparksco:
Collaboration is a great thing :)

One person implements something and another adds onto it like Martin_Ro did with the charging led toggle. Then I added the option to hide that feature for devices that don't have a led charging/notification light. This is what I love about android. And there are some really talented people around here to make the experience a lot better.

Some other examples. I've have dual pane settings in my tablet ROMs hard coded for a long time, then rascarlo made it a preference toggle. Same thing with device waking on plug unplug. I had it hard coded before. It takes time sometimes just to get one new feature working perfectly but it's worth it :)
[Nexus 4 Original Android Development] Martin_Ro:
Yep, that's what makes this things so intresting. To collaborate and bring things forward. I add this toggle because I wanted it for myself but love to see that it's use full for others :)

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] rascarlo:
And it's a lot of fun! I'm pushing something soon
[Nexus 4 Original Android Development] lowert:
Ras,spark why don't you merge the two threads?Or just separate things?

It's so awesome to see these roms built by users and of course you,but there are so much type of roms now,i don't know which is which.
[Nexus 4 Original Android Development] mackster248:
Wow this ROM is super fast. Great job and thank you!

Wish there was a GPS toggle though, but no biggie. Also, is there a way to turn off the red LED that goes off when battery reaches below 14%?

Thank you OP!!!
[Nexus 4 Original Android Development] apatal:
You can always just stick to the ones released by the original devs (Carlo/sparks) if you don't feel like flashing the "community builds". You can find the link to these in the OP of the official threads. :)
[Nexus 4 Original Android Development] Martin_Ro:
They don't merge because they have two complete different project:

RasBeanJelly is from rascarlo and has nothing to do with SaberMod from sparksco except some merges in the repository.

The only project they both work on is RasSaber, kind of "get best of both and put it together" :highfive:
[Nexus 4 Original Android Development] trillo69:
[MENTION=2394329]sparksco[/MENTION] by any chance is there any change in thermal temperature threshold? After several tests, even with thermald turned off in trickstermod, seems like my phone is throttling at 40°C.

By the way, is the boot.img on rom zip the same sts kernel as op? That would allow me to test previous kernels.

I'm thinking in switching back to May 11 build, there's something on newer builds that my phone really doesn't like, even battery drain is higher to me, almost 1h sot less.
[Nexus 4 Original Android Development] Ace42:
Then what about ending the individual ROMs and having only RasSaber?
[Nexus 4 Original Android Development] rascarlo:
Dude why should I end my precious?
[Nexus 4 Original Android Development] torana355:
You need to run a Kernel that supports turning off the throttle control like Trinity or Franco.
[Nexus 4 Original Android Development] Martin_Ro:
+1.000.000

RasBeanJelly and SaberMod are "Originals" they have to stay.

For instant :

RasBeanJelly has no Theme Stuff (also RasSaber), SaberMod has it

So if you would merge this to, you would have the problem that it wouldn't fit for one or the other group of "fans".

So leave them as they are. RasSaber is only kind of "bobW" (best of both worlds) and that's it...
[Nexus 4 Original Android Development] Ace42:
I figured you'd want to focus on RS and discontinue Rasbean anyway. And Martin, why don't people like the theme engine?
[Nexus 4 Original Android Development] chinthekng:
It's not that they don't like the theme engine. Rascarlo builds rasbeanjelly to suit his needs and he doesn't need theme engine simple as that
[Nexus 4 Original Android Development] vetzki:
You could adjust thresholds of thermald in /system/etc/theramld.conf. Thermald can't be disabled via trickster. Some custom kernel have a other thermal solution intergrated in the kernel but in my (limited) point of view it's not really necessary.
[Nexus 4 Original Android Development] sparksco:
We've worked way too hard to let our work go. It's like giving up our kids.
[Nexus 4 Original Android Development] sparksco:
New fixed build soon then I have to work on rassaber. I'll fix the led charging toggle and add torch tile back. My only concern is that torch tile won't match themes for theme chooser.
[Nexus 4 Original Android Development] strapped365:
Looking forward to the new build man. Everything has been smooth on my end.
[Nexus 4 Original Android Development] trueblueram:
Have been facing a peculiar problem. Battery drains from 100 to 84 overnight (over 5 hours). Also noticed The battery graph was flat till the time i got a missed call. Sound legit? (M testing codefirex today to check if it persists)
[Nexus 4 Original Android Development] -viper-:
U use touchcontrol app? Mine from morning till afternoon... 8pm - 6am....has been same... Not even 1% lost
[Nexus 4 Original Android Development] trueblueram:
I don't. No kernel control apps, used the kernel it came with. Been racking my brains about this.

On cfx I notice very less idle drain (less than 2 he's off usage) .
[Nexus 4 Original Android Development] -viper-:
Check ur apps again... Never happened with Saber... Try clean install...*use betterBatteryStats app to see ur wakelock-
[Nexus 4 Original Android Development] lowert:
First,happy birthday spark

After,sorry for the question again,but what is exatly the difference between rassaber and sabermod regarding for the performance?Same performance right?The same optimizations,or not?
[Nexus 4 Original Android Development] n2d551:
Happy birthday +1
[Nexus 4 Original Android Development] strapped365:
Oh snap happy birthday sparksco

Sent from my Nexus 4
[Nexus 4 Original Android Development] -viper-:
Happy birthday sparks. ;)
[Nexus 4 Original Android Development] Martin_Ro:
Oh. Happy Birthday, sparksco

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] vetzki:
Happy Birthday +1000000
[Nexus 4 Original Android Development] sparksco:
Thanks guys. My b-day is in a couple of days but since today is memorial day I'm celebrating today :good:

And on that note here's a memory day build with fixed LED charging option. I added back GPS and Torch tile's so let me know what you guys think.

http://developer.clockworkmod.com/downloads/293/4930/sm_mako-1.0.1-1369669834-0527.zip
[Nexus 4 Original Android Development] sparksco:
meh, I won't get into all the specific details of the optimizations. But for bionic rassaber uses stock cm bionic and sabermod is based on cm bionic with added linaro string handling routines. To view all the differences you'd have to compare github changes from both repos.
[Nexus 4 Original Android Development] lowert:
Thanks,there are more memory optimizations by linario strings right?

Cool new avatar by the way ;)

anyway,i hope that i can set up an ubuntu soon and start learning how to build,i can't wait :fingers-crossed: