yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] genkralyz:
nope, coz right now I'm running on latest brickexd 9-20, since I'm using a jwr rom there's a graphic glitch, and the only way to solve it is by disabling hw overlays, that's why I asked it here ;)

Sent from my N⁴
[Nexus 4 Original Android Development] senthilrameshjv:
So, i wanted to check if s2w had battery drain.. I usually check that by idle battery drain.. During night, i them off data, sync everything and put my phone in aeroplane mode.. With semaphore, Franco, bcm kernels which dont have s2w, my battery drain during sleep was zero. But last night i tried the same setup with bricked and i lost three percent. Pls note, i used same apps n rom, and the place also same just not to suspect the network coverage. I'm just letting you know. Tonight, I'm gonna turn off s2w n see what the results would be.

Edit : i can see the phone was on deep sleep all that time. So it's probably cos of 2g3g nw

Edit :jus now checked my network was in 2g/3g mode, rather than only 2g with other tests. That could be the reason as well.. I'll check it tonight with s2w and let know
[Nexus 4 Original Android Development] snak3ater:
0% discharge is not possible.. even if using conservative gov, dual core,airplanemode & all other possible things to save battery... Still there'll be battery drain. even if there was a 0% during night, 3-4% would fall after secs when the screen is turned on..

Ps: if really want too keep an eye on how much s2w causes battery drain, just look at the wakelocks ie suspend_backoff... it increases 'Android OS' as well
[Nexus 4 Original Android Development] senthilrameshjv:
No it was zero per cent.. If you're sure is not possible then my battery indicator would be lying.. I see the same percent that i had when i slept, when i woke up.. Attached is the pic with semaphore kernel

That straight line is what i meant.. I dint touch cpu.. Just turn off mobile data n sync n put aeroplane mode.

Earlier I've made changes to cpu but had discharges. But just keeping on plane mode got this.. Of course there was lower suspend frequency when the screen is off
[Nexus 4 Original Android Development] snak3ater:
It happened to me once... No discharge at all for many hours. But then as soon as i started using my phone, 5% fell down in a few secs only. that's when my battery stats went mad all of a sudden.. showing 0% for a long time & then a sudden dip after a few secs ohs usage.. we all want 0% discharge but that's not possible.. what I'm trying to prove is that s2w does not stop the device going into deep sleep. Nothing to worry about.. A few mins of wakelocks & that's it..
[Nexus 4 Original Android Development] show-p1984:
Then your rom isn't full JWR, but a hybrid. Try the JSS kernel version and see if glitches are gone. Otherwise ask your rom maintainer.

#####

To the battery hysteresis:

0% drain is impossible. We can't bent physics here.

Why it shows 0% nevertheless: The battery indicator is completely inaccurate. It's basically a guessing game and that's also why stock android has no battery % indicator but some rather vast gaps between the battery animations. Mostly this is caused by hardware limitations, but also some part of the kernel code could be optimized with a few algorithms to smooth out those 'jumps'. Apple does that, additionally to using higher quality batteries that have (I'm sad to say this) vastly superior power monitoring capabilities.

So why am I not implementing this in my kernel? - Easy: 99,99% of the users would see this as "worse battery life since the device actually USES POWER OVER NIGHT!!11eleven". (even though it would be using it either way, just the display would be corrected)

So for now: Either it's accurate or it isn't. Live with it.

To show the vast inaccuracy of this: Sometimes my grouper shuts down with 20% battery remaining, according to the indicator. If I hook it up to power and boot into recovery it shows 0%. (The grouper is an extreme example, as it has the worst battery management I have ever seen. It even won't stay powered off if the battery voltage is too low, but instead shows some weird static screen, probably caused by too low voltage.)
[Nexus 4 Original Android Development] senthilrameshjv:
I dont have even beginner knowledge in kernels nor in battery consumption of phones. So, I will be accepting the knowledge you guys provided here. I am just wondering this has happened with three different kernels - Franco linaro, BCM and semaphore. May be my battery indicator is having some issue.

Thanks for the information :)
[Nexus 4 Original Android Development] snak3ater:
Yes..That's the reason sometimes we see a straight line & it makes us really happy.But it does not mean the battery is not draining at all.It's just inaccurate result we see in the battery graph.End of the day i find these 2 scenerios more or less the same..

A) 0% Battery Drain but 5-6% falls down after a few secs of device usage (This dip would happen no matter what because 0% drain is impossible)

B) 1% drain/hour

Both of these are the same.The difference is inaccurate battery stats showing no drainage at all

---------- Post added at 04:03 PM ---------- Previous post was at 04:02 PM ----------

Oops..Quoted wrong person..It was meant for [MENTION=4334467]senthilrameshjv[/MENTION] :)
[Nexus 4 Original Android Development] senthilrameshjv:
Speaking of our battery theory, my phone stayed in 97% for three hours. It made me wonder if the indicator is broken :D
[Nexus 4 Original Android Development] snak3ater:
Wow..If all goes like that,i guess this phone wont die till 12 full days..May be 13..

If the device is used normally then stats like (4hrs sot & 1 week standby) is not a dream any more :p

I am so jealous that i did not get this special Nexus 4 with 'super battery' :D
[Nexus 4 Original Android Development] senthilrameshjv:
Nah, its not super battery ;) It suddenly dropped 14-18% percent during night sleep hour (with AP mode :P). So ,i better wish for a regular drain, rather than stay like this long time and lose in few secs..
[Nexus 4 Original Android Development] snak3ater:
Normal drain is always better than having no drain at all & then boom..suddenly 5-6% drop
[Nexus 4 Original Android Development] passlogin:
show-p1894, may I ask where are the FauxSpeaker commits?
[Nexus 4 Original Android Development] show-p1984:
On github? Like every commit?
[Nexus 4 Original Android Development] shaviraghu:
How to use msm_mpdecision?

Hello,

I built the bricked-mako for the purpose of using msm_mpdecision. Flashed it on the phone and ls /sys/kernel/. No msm_mpdecision found to tweak. I instead flashed the latest stable build

and after reboot the screen never switched on. I used the shell and saw there is /sys/kernel/msm_mpdecision. After many reboots i couldnt get the screen on.

Before i reset to factory settings any help would be great.

And also i need to know how to use msm_mpdecision from my buid of bricked-mako.

thanks all.

shavi
[Nexus 4 Original Android Development] haget83:
Wi fi doesn t work for me uhmm

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] stark_br:
Read WLAN section in this post.

http://xdaforums.com/showthread.php?p=35667484
[Nexus 4 Original Android Development] passlogin:
Sorry for being undetail.

I was like half awake that time.

Did you include fauxspeaker tweak in your kernel?

Since there is no fauxspeaker tunables in your kernel.
[Nexus 4 Original Android Development] montbazon:
May you are saying JWR kernel right?

If you are, just flashing latest test jwr one.

Then its gonna be alright.
[Nexus 4 Original Android Development] show-p1984:
How did you manage to get a boot-sod? Did you use the wrong kernel? (jwr/jss, 4.22/4.3)

When you build from my sources, check out the appropriate branch (for jss the latest stuff is on exp) and use my defconfig. So all in all: (assuming you have a proper build setup)

git clone git@github.com:showp1984/bricked-mako.git
cd bricked-mako
make bricked_defconfig
make -j8

I will merge those changes over to master_jwr today, currently they are only available on the jwr beta kernel (exp_jwr).

second post.
[Nexus 4 Original Android Development] show-p1984:
My mako code builds perfectly fine with Google's gcc and linaros gcc4.7. Otherwise my buildserver would not be able to build it (it builds from my local sources which are mirrored to github).

If you have added ifdefs to the code you probably broke something, which led to the sod. BTW: It would only complain about it being undefined if you have not used my defconfig. I suggest you revisit my guidelines on how to build my kernel with my defconfig.

-o3 is an optimization setting the compiler uses when interpreting the C# code.

I already told you the exact steps on how to build bricked. There is literally not more involved than this, providing your build environment is properly set up.
[Nexus 4 Original Android Development] shaviraghu:
Thank you again. Now i am confident of moving ahead without the fear of what holds ahead.
[Nexus 4 Original Android Development] shaviraghu:
bricked-mako-master: So many warnings compiling kernel

The number of warnings is making me stop suppressing the warnings and continue.

github is also not establishing connection.

would wait for some good news.

thanks

shavi
[Nexus 4 Original Android Development] show-p1984:
The build log is practically clean: http://buildmachine.zapto.org:88/projects/1/builds/fb8a2907ed4c70474ab870ebdf912c86c1318c3a (there are no gcc warnings)

Apart from the Kconfig warnings and the good old gold warnings for unwinding. (EXIDX, which can be ignored)
[Nexus 4 Original Android Development] shaviraghu:
I am unable to clone. am i doing something wrong.

[/COLOR]

git clone git@github.com:showp1984/bricked-mako.git

Cloning into 'bricked-mako'...

The authenticity of host 'github.com (192.30.252.130)' can't be established.

RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.

Are you sure you want to continue connecting (yes/no)?

Host key verification failed.

fatal: The remote end hung up unexpectedly

---------- Post added at 01:20 AM ---------- Previous post was at 12:41 AM ----------

My ignorance. I added ssh keys and am cloning now. will compile and check it.
[Nexus 4 Original Android Development] passlogin:
Waiting for JSS merge then.
[Nexus 4 Original Android Development] shaviraghu:
I am able to compile but by suppressing some warnings

-Wno-sizeof-pointer-memaccess\

-Wno-maybe-uninitialized\

-Wno-array-bounds

I have another question which i would like to explain in steps as below,

1) I have flashed bricked_mako_20130917_031505_master_jwr66v-981d820.zip successfully.

2) In order have extra cpufreq governors i have downloaded bricked-mako-master_jwr66v kernel source and added them and compiled.

3) Now what does work,

a) directly fastboot flash zImage or

b) copy zImage in unzipped bricked_mako_20130917_031505_master_jwr66v-981d820.zip kernel folder zip it and flash the rom.

4) If any of the above dont work what is the best way to achieve what i want to

5) what problems are expected?
[Nexus 4 Original Android Development] shaviraghu:
anyone please a short answer ....
[Nexus 4 Original Android Development] show-p1984:
Already done at the time of your post:

http://bricked.de/index.php?action=kdownload&device=mako&release=stable_jwr66v&type=aosp

If you need to suppress warnings you clearly didn't care to read my recommendations for toolchains. Re-read that.

Copying the zImage into the zip will work (if you copy the modules too), otherwise use abootimg (ubuntu) or mkbootimg to create a bootimg out of an initrd and the zImage and push the modules by hand.

I tolerated this off-topic how-to-build-a-kernel-please-spoonfeed-me conversation long enough now, especially if you demand an answer in 1 hour instead of trying to fix your mistakes yourself.
[Nexus 4 Original Android Development] genkralyz:
thanks for the update, this is the 1st time I tried OCed kernel ;)

Q: how can I change the lcd preset to LG by default?... is it possible to change it without using trickster?, tia

Sent from my N⁴
[Nexus 4 Original Android Development] IAmAN00bie:
Hey show, did you manage to get your hands on the Nexus 5?
[Nexus 4 Original Android Development] show-p1984:
over sysfs, or use: https://play.google.com/store/apps/details?id=de.bricked.kcontrol

Yes, I first had the 16gb version then canceled and got a 32gb xD (actually I still have a black 32gb waiting which I ordered with an old card so it would get 'reserved'. When my friend finally makes his decision if he wants one or not it will be there for him.)
[Nexus 4 Original Android Development] genkralyz:
where can I find that system file? sysfs?

Sent from my N⁴
[Nexus 4 Original Android Development] show-p1984:
There are 6 relevant files:

/sys/devices/platform/kcal_ctrl.0/kcal
/sys/devices/platform/kcal_ctrl.0/kcal_ctrl
/sys/devices/platform/mipi_lgit.1537/kgamma_r
/sys/devices/platform/mipi_lgit.1537/kgamma_g
/sys/devices/platform/mipi_lgit.1537/kgamma_b
/sys/devices/platform/mipi_lgit.1537/kgamma_apply
[Nexus 4 Original Android Development] womanizerzz:
have it supported callrecord?
[Nexus 4 Original Android Development] guru_shastri:
Does this kernel still relevant to 4.4 kit kat?
[Nexus 4 Original Android Development] show-p1984:
There is no new source out yet and I didn't have the time to try it on kitkat (yet).

You may do so. Chances are that it works fine since the changes seem to be minimal on the kernel side.
[Nexus 4 Original Android Development] guru_shastri:
i'll give it a try. thanks!!
[Nexus 4 Original Android Development] evdrmr:
Any news from your experiment?

...NVM I've deciced to give it a try for myself but I am unable to get the wifi adapter to work. I guess I am missing init.d support but when i try to load the wlan module manually as described in the second post I receive this error:

Or may be I have done something wrong with the rooting of the ROM? :confused:

Oh, and I have BusyBox 1.21.1 installed to /system/xbin...
[Nexus 4 Original Android Development] snak3ater:
JSS kernels are working in Kit kat..

Everything is working except wifi which is broken..

Tried Bricked,Faux & Semaphore Kernel..wifi broken in all..Anyways Sources are not out yet so we should wait
[Nexus 4 Original Android Development] evdrmr:
Hm, with anarkia1976's kernel the wifi works... Is it because he is using the New Prima wlan drivers: v3.2.3.185++ or something else?
[Nexus 4 Original Android Development] guru_shastri:
I got cold feet - didn't do it. i'll wait a while longer.
[Nexus 4 Original Android Development] barome:
Yes, new Prima drivers work wifi on KitKat. I try to compile a kernel with it but i had some build errors
[Nexus 4 Original Android Development] show-p1984:
will be there soon(tm)
[Nexus 4 Original Android Development] shaviraghu:
I could build the kernel with linaro toolchain as you suggested and was successfully able to integrate different governors and carry out my tests. The KControl app in combination with the bricked-mako kernel was a great asset for my tests.

I am sorry that i had asked to be spoonfed. That was mainly because i was running out of time for my academic reasons and it took me some time to understand the nature of this forum. I am actually happy that you still helped me.

Thank you very much again.

raghu
[Nexus 4 Original Android Development] nokiagye:
Hi the latest jwr? For 4.3.1?

And for 4.4 any news?

Thanks

---------- Post added at 11:15 AM ---------- Previous post was at 11:15 AM ----------

Hi the latest jwr? For 4.3.1?

And for 4.4 any news?

Thanks
[Nexus 4 Original Android Development] TheNerd:]:
Is there any app to monitor PAST CPU core usage and frequencies? I have reason to believe that when I set max and min cores to 2 the other cores are being used

---------- Post added at 07:36 PM ---------- Previous post was at 07:32 PM ----------

By fazing quickly in and out of trickster mod and system monitor I see the other cores get lit up..... Weirdly when system moniter says offline there is very light usage in the graph
[Nexus 4 Original Android Development] show-p1984:
Setting that option in mpdecision will just ensure that mpdecision itself isn't plugging those cores based on load. Any other app is free to do so by onlining it over sysfs. Most apps do that to get those CPUs frequencies, etc.
[Nexus 4 Original Android Development] OsSkates1996:
So I'm running purity kernel right now do I HAVE to flash that boot.img? What happens if I don't and what exactly is it?
[Nexus 4 Original Android Development] show-p1984:
You don't

HAVE

to flash it. If you experience problems when switching kernels flash either your roms boot.img or if you are on stock JB flash the linked file.

Your house burns down, old ladies hit you, you go bankrupt, oh and thermonuclear war right in your garden.

I don't think that the links name leaves any room for speculation on that. It's a boot.img.
[Nexus 4 Original Android Development] OsSkates1996:
Hahahah I appreciate the humor and alright thanks I'm gonna try it out

---------- Post added at 11:51 PM ---------- Previous post was at 11:43 PM ----------

Alright I flashed it everything seems good so far I'm running slimbean btw anyways what's the recommended app for the kernel? Trickster mod?
[Nexus 4 Original Android Development] show-p1984:
Look at my signature :)
[Nexus 4 Original Android Development] montbazon:
AKA Kcontrol
[Nexus 4 Original Android Development] nokiagye:
I have problem with the tempeture and I can't edit the thermal files
[Nexus 4 Original Android Development] Sir_gpm:
I see a post that the user flash bkm to a cm10.2 rom how could I?

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] mnhs1010:
is this compatible with cm10.2??
[Nexus 4 Original Android Development] show-p1984:
https://plus.google.com/u/1/108262968419038009038/posts/FBTTvqT4Yjs

Beta updated to Kitkat with all backports from my hammerhead work, this means:

Fixed touchscreen i2c read, which caused some inconsistency in the past.

S2W is now reacting 100% from deepsleep.

DoubleTap2Wake added.

Sweep2wake and Doubletap2Wake got completely rewritten on the s2w2 template. This means they are now less code invasive and easier to port, ever.

my msm_mpdecision got updates regarding efficiency (cpu cycles), code readability and upstream compatibility as well as linux coding guidelines (especially the spacing part :)) and arch dependency

thermal and mpdecision got adapted so they don't get in the way of each other. Ofc all was outfitted with ifdefs, so that one can be used without the other.

http://bricked.de/index.php?action=kdownload&device=mako&release=beta&type=aosp

Oh, and that:

fixed.

There will be another beta before the next stable, changing mostly zip related stuff:

removing AROMA

getting rid of the busybox dependency by adding module support to the ramdisk directly
[Nexus 4 Original Android Development] snak3ater:
Master :highfive:
[Nexus 4 Original Android Development] J000rg:
Even if I won't understand: what exactly was causing the unresponsive edges bug? I'm asking, because it seems to have been sth fundamental, as it occurred on every t2w kernel I tried...

But great, that it's fixed, thanks !!
[Nexus 4 Original Android Development] snak3ater:
It's fixed now and also screen freeze problem is gone for good
[Nexus 4 Original Android Development] show-p1984:
The way the touch screen was kept online in sleep, in short. The long version is probably to technical.

Since sweep2wake was rewritten, the touch driver suspend had to be adapted too and a lot of (now) useless code flew out of there. In that process I also edited the sleep/resume functions.

#######

Btw:

Kitkat Stable is out! :)

*WE ARE NO LONGER DEPENDENT ON BUSYBOX*

+ there is now an uninstaller in the 1st post. Happy flashing :)

http://bricked.de/index.php?action=kdownload&device=mako&release=stable&type=aosp
[Nexus 4 Original Android Development] J000rg:
oke thx :D

is "20131205_135645_master-32f1701.zip" the stable kernel for kit-kat?
[Nexus 4 Original Android Development] snak3ater:
Yes...It's the stable one :)

---------- Post added at 06:41 PM ---------- Previous post was at 06:37 PM ----------

Ohh wait a sec...I have flashed this one '/bricked_mako_20131205_120451_master-537d5b7.zip'

So another Stable got uploaded after that :)

It would be my 3rd Bricked kernel Flash for today...First the exp,then stable & now another stable showed up :)
[Nexus 4 Original Android Development] J000rg:
Ohh ok, can I just flash bricked_mako_20131205_120451_master-537d5b7.zip over 20131205_135645_master-32f1701.zip ? xD

edit: btw 20131205_135645_master-32f1701.zip is the latest one, as 135645 is supposed to mean: 13:56 o' clock and 45 seconds upload time :D
[Nexus 4 Original Android Development] snak3ater:
No no wait...I think you are going in opposite direction..You are trying to Flash old version over the new one...

20131205_135645_master-32f1701.zip is the latest version with 2 new Commits...
[Nexus 4 Original Android Development] J000rg:
Yeah I realised, that the second number is the upload hour, minute and seconds... :cyclops: just in time :good:
[Nexus 4 Original Android Development] snak3ater:
Yup..These are the changes in latest version

bricked_mako_20131205_135645_master-32f1701
[Nexus 4 Original Android Development] hardwareadictos:
Overclock capabilities?
[Nexus 4 Original Android Development] snak3ater:
GPU OC=No

CPU OC=1.8Ghz
[Nexus 4 Original Android Development] hardwareadictos:
Awesome!
[Nexus 4 Original Android Development] show-p1984:
Wrong.

It has GPU OC capability :)

Check KControl :)
[Nexus 4 Original Android Development] snak3ater:
Strange..Trickster showing 400Mhz as max gpu freq..
[Nexus 4 Original Android Development] show-p1984:
Well trickster doesn't know how to use the KControl gpu module. KControl does. :)
[Nexus 4 Original Android Development] apatal:
Looks like all the harassing paid off. Congrats on the stable release. :)
[Nexus 4 Original Android Development] hardwareadictos:
[MENTION=4195844]show-p1984[/MENTION] can you make it compatible with trickster mod? I have no credit card to pay kcontrol
[Nexus 4 Original Android Development] show-p1984:
Its rather the other way around. Trickster has to add module insertion + sysfs handling for it.
[Nexus 4 Original Android Development] snak3ater:
It's compatible with Trickster..It's just Gpu overclock which cannot be done in..

If had no idea about Gpu oc until show-p told me..It's because Trickster shows max Gpu Freq of 400Mhz :angel:
[Nexus 4 Original Android Development] ak:
You have make a great job with s2w dt2w, i have bought your app for support your project.

thanks a lot [MENTION=358990]show[/MENTION]p1984
[Nexus 4 Original Android Development] show-p1984:
Since it uses the original ramdisk, sure.
[Nexus 4 Original Android Development] humba80:
I just flashed the lastest stable onto the CM11-M1 from today, and now I got those crazy blueish coulors... :(

Any help? I need the awesome Bricked-Kernel to work... :good:
[Nexus 4 Original Android Development] show-p1984:
Then CM is incompatible to aosp and stock. Which is something the whole team always swore never to do (ever) and they rejected about half a million very nice patches with that reasoning.

I suggest you approach them with their own philosophy.

To be honest: I am not even using CM anymore. Mostly because they went down 'that' road. (without starting a discussion here what 'that' means)
[Nexus 4 Original Android Development] humba80:
Guess I have to find a new rom. If I have to chose: CM or Bricked. Bricked it is!
[Nexus 4 Original Android Development] apatal:
There's a Bricked ROM?! :)
[Nexus 4 Original Android Development] show-p1984:
on 4.3, where aosp and stock factory had diverged there was indeed. Stockified.

But I am no longer certain that it will be needed since Google seems to have rectified this issue with 4.4.

I updated Stockified to 4.4, but I guess that's what it will be at.

I am rather going to start a new project, without boundaries to be "close to stock".
[Nexus 4 Original Android Development] snak3ater:
In 4.3..People were confused between JSS & JWR...Always asking which kernel to flash...

That thing is over in kit kat but now there's another headache thanks to CM