5,595,815 Members 35,419 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL][Mar 10][b49] _motley kernel for the N4 (add faux sound control)

Tip us?
 
Kocai
Old
#2641  
Senior Member
Thanks Meter 639
Posts: 1,374
Join Date: Oct 2011
Default Re: [KERNEL][Mar 10][b49] _motley kernel for the N4 (add faux sound control)

Quote:
Originally Posted by chrone View Post
Could you try to run this code from terminal and set it the output in your init.d script as post #2 format?

Code:
# Show the current configuration and the checksum
echo "Verify that the values are written correctly..\n"
echo "RGB values:"
cat /sys/devices/platform/kcal_ctrl.0/kcal
echo "\nRed gamma values:"
cat /sys/devices/platform/mipi_lgit.1537/kgamma_red
echo "\nGreen gamma values:"
cat /sys/devices/platform/mipi_lgit.1537/kgamma_green
echo "\nBlue gamma values:"
cat /sys/devices/platform/mipi_lgit.1537/kgamma_blue
echo ""
I never got soft reboot using motley, but perhaps my cpu binning is faster and can handle the default undervolting.

Sent from my Nexus 4
Well I don't set my colors using a script in init.d but I'll give it a shot.
I never got soft reboot with the previous version as well (before b48). Don't know why it's started happening. It's not going to make go back to stock kernel though because my phone gets incredibly hot with stock kernel even though I only switch between WhatsApp and XDA and browser (light usage).
The Following User Says Thank You to Kocai For This Useful Post: [ Click to Expand ]
 
chrone
Old
#2642  
chrone's Avatar
Senior Member
Thanks Meter 383
Posts: 1,012
Join Date: May 2012
Location: Surabaya
Default Re: [KERNEL][Mar 10][b49] _motley kernel for the N4 (add faux sound control)

Quote:
Originally Posted by Kocai View Post
Well I don't set my colors using a script in init.d but I'll give it a shot.
I never got soft reboot with the previous version as well (before b48). Don't know why it's started happening. It's not going to make go back to stock kernel though because my phone gets incredibly hot with stock kernel even though I only switch between WhatsApp and XDA and browser (light usage).
Oh, xda can consume lots of cpu resources, especially when rendering long posting and scrolling through it. *sigh :/

Sent from my Nexus 4
LGE Nexus 5 16GB Black: Android KitKat.
efrant's Android 101 for Nexus 4
 
mundixx
Old
#2643  
mundixx's Avatar
Senior Member
Thanks Meter 240
Posts: 802
Join Date: May 2011
Location: Cebu City
Default Re: [KERNEL][Mar 10][b49] _motley kernel for the N4 (add faux sound control)

Quote:
Originally Posted by chrone View Post
Oh, xda can consume lots of cpu resources, especially when rendering long posting and scrolling through it. *sigh :/

Sent from my Nexus 4
Yeah. Even the latest and greatest phones will succumb to Tapatalk's bad coding :banghead:

Sent from my AOSPA Nexus 4
i9505
The Following 3 Users Say Thank You to mundixx For This Useful Post: [ Click to Expand ]
 
superleeds27
Old
#2644  
superleeds27's Avatar
Senior Member
Thanks Meter 535
Posts: 4,411
Join Date: Jun 2010
Location: Hull
Brilliant results so far!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-03-17-09-06-24.jpg
Views:	1638
Size:	26.4 KB
ID:	1811395   Click image for larger version

Name:	Screenshot_2013-03-17-09-06-41.jpg
Views:	1595
Size:	19.5 KB
ID:	1811396  
Phone: HTC One ROM: AICP 4.4.2 Nightlies Kernel: TeamSeven AICP

Tablet: Asus Nexus 7 2013 ROM: AICP 4.4.2 Kernel: Faux V13
The Following 2 Users Say Thank You to superleeds27 For This Useful Post: [ Click to Expand ]
 
chrone
Old
#2645  
chrone's Avatar
Senior Member
Thanks Meter 383
Posts: 1,012
Join Date: May 2012
Location: Surabaya
Default Re: [KERNEL][Mar 10][b49] _motley kernel for the N4 (add faux sound control)

This is me getting 6 hours screen on time using on demand, max 2 cores, and inert powerhal.

Sent from my Nexus 4
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1363520714297.jpg
Views:	1592
Size:	47.1 KB
ID:	1811683   Click image for larger version

Name:	uploadfromtaptalk1363520744378.jpg
Views:	1605
Size:	36.2 KB
ID:	1811684   Click image for larger version

Name:	uploadfromtaptalk1363520776517.jpg
Views:	1567
Size:	67.8 KB
ID:	1811685  
LGE Nexus 5 16GB Black: Android KitKat.
efrant's Android 101 for Nexus 4
The Following User Says Thank You to chrone For This Useful Post: [ Click to Expand ]
 
Kocai
Old
#2646  
Senior Member
Thanks Meter 639
Posts: 1,374
Join Date: Oct 2011
Default Re: [KERNEL][Mar 10][b49] _motley kernel for the N4 (add faux sound control)

Quote:
Originally Posted by chrone View Post
This is me getting 6 hours screen on time using on demand, max 2 cores, and inert powerhal.

Sent from my Nexus 4
If it's on 3G all the time then I'm very impressed. And shows us how good this kernel is.
 
chrone
Old
#2647  
chrone's Avatar
Senior Member
Thanks Meter 383
Posts: 1,012
Join Date: May 2012
Location: Surabaya
Quote:
Originally Posted by Kocai View Post
If it's on 3G all the time then I'm very impressed. And shows us how good this kernel is.
Unfortunately it was on 2G most of the time, as I recall I was on 3G for only more less 1 hour long. bad 3G signal in my room. :/
LGE Nexus 5 16GB Black: Android KitKat.
efrant's Android 101 for Nexus 4
 
kszaq
Old
(Last edited by kszaq; 4th April 2013 at 09:11 AM.) Reason: Removed attachment
#2648  
Senior Member
Thanks Meter 791
Posts: 289
Join Date: Apr 2011
Would anyone want to test yet another attempt to fix delayed notifications bug? Yesterday Qualcomm released Prima driver v3.2.2.2 on CAF's git, so I decided I would give it a try. The previous fixes we tested relied on merging only one patch from their git and I thought it wasn't enough, so I merged the whole driver. I tested it overnight and got promising results, so I thought you may also want to give it a try.

One thing you need to know is that the driver also needs new firmware which is on ROM side. There are also some new values in WiFi configuration file. Default values from CAF differ from what we have for our N4s, so I copied the ones that we had and left all new parameters to their default values, except for the one that allows controlling Power Saving mode from Android (I switched it on). I also changed McastBcastFilter value to 3.

I provide you a flashable anyKernel zip with new firmware included. All you need to do is to flash this one file (motley_anykernel_422_nexus_4_custom_build_prima_3. 2.2.2.zip) over any Motley's kernel and test away. It is based on b49 with some customizations to my taste (sorry, no OC, CIFS and NTFS!). You can find the source code on my GitHub.

If you want to go back to original Motley's kernel, you would need to flash original firmware (it's in prima_original_n4_firmware.zip) and then any kernel of your choice.

Please let me know about your battery life on this and what's your qcom_rx_wakelock, especially on busy networks.

Edit: You can download patched kernel from here.

Edit 2: I noticed that the "reset" zip was badly derped. If you want to go back to original WiFi firmware, please reflash your ROM (no wipe needed!).
The Following 27 Users Say Thank You to kszaq For This Useful Post: [ Click to Expand ]
 
AcmE85
Old
#2649  
Senior Member
Thanks Meter 137
Posts: 377
Join Date: Jan 2012
Pinging the device after 5min sleep was successful. So far nobody texted me any whatsapp messages.
I will test further.
 
thracemerin
Old
#2650  
thracemerin's Avatar
Recognized Contributor
Thanks Meter 5812
Posts: 5,458
Join Date: Oct 2011
Location: Toronto

 
DONATE TO ME
Quote:
Originally Posted by kszaq View Post
Would anyone want to test yet another attempt to fix delayed notifications bug? Yesterday Qualcomm released Prima driver v3.2.2.2 on CAF's git, so I decided I would give it a try. The previous fixes we tested relied on merging only one patch from their git and I thought it wasn't enough, so I merged the whole driver. I tested it overnight and got promising results, so I thought you may also want to give it a try.

One thing you need to know is that the driver also needs new firmware which is on ROM side. There are also some new values in WiFi configuration file. Default values from CAF differ from what we have for our N4s, so I copied the ones that we had and left all new parameters to their default values, except for the one that allows controlling Power Saving mode from Android (I switched it on). I also changed McastBcastFilter value to 3.

I provide you a flashable anyKernel zip with new firmware included. All you need to do is to flash this one file (motley_anykernel_422_nexus_4_custom_build_prima_3. 2.2.2.zip) over any Motley's kernel and test away. It is based on b49 with some customizations to my taste (sorry, no OC, CIFS and NTFS!). You can find the source code on my GitHub.

If you want to go back to original Motley's kernel, you would need to flash original firmware (it's in prima_original_n4_firmware.zip) and then any kernel of your choice.

Please let me know about your battery life on this and what's your qcom_rx_wakelock, especially on busy networks.
As with my previous test, if you leave the filters on the CAF defaults, qcom_rx_wakelock absolutely destroys the battery on most networks, even my extremely quiet home network it's burning through the battery like there is no tomorrow, 3G battery life is much much better than WiFi. With the filter set to anything but 0, the WiFi notification delay returns almost immediately.

Note: I have a motley 49 build with the CAF prima installed that I used for testing, not this specific build, but the same WLAN stuff is in both.



XDA New User Guide <--> XDA Forum Rules <--> Need a Moderators Help?
Problems with a CM nightly? PSA - Nightlies <--> Request from DvTonder <--> How to get Logs
Current Project: m_plus kernel for mako: [4.2.2] [4.3 (JS)] [4.4]


THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes