[SOURCE CODE][CM-13.0]Nexus-fy libra and aqua

awaaas

Senior Member
Jun 25, 2010
760
452
93
Pasuruan
Could you please send me all files from /proc/asound/card2 when your DAC is connected and music is playing? I want to compare it with mine.

Now my stream0 file looks like this:
SMSL Inc. SMSL iDol DAC at usb-xhci-hcd.0.auto-1, full speed : USB Audio

Playback:
Status: Stop
Interface 1
Altset 1
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000, 44100
Interface 1
Altset 2
Format: S24_3LE
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000, 44100
Interface 1
Altset 3
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 88200, 96000
Interface 1
Altset 4
Format: S24_3LE
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 88200, 96000
Interface 1
Altset 5
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 176400, 192000
Can't do that right now, my relatives is bringing the phone with her to the next city for a day. Maybe on the weekend.
 

dla5244

Retired Recognized Developer
Apr 20, 2011
236
1,299
0
Incheon
Bug 161117

I am using CM13 161117 and found some bug

1.WIFI connection is disconnected occasionally

2.Failed to install application(apk file) because of permission denied
Temporary solution
1.Copy apk file to data/local/tmp
2.Change file permission to 644(rw-rw-r)
3.Install apk file(don't forget to remove apk file after install application)

11-18 19:46:06.900 922 4388 I ActivityManager: START u0 {act=android.intent.action.VIEW dat=file:///storage/emulated/0/Download/M55_161118.apk typ=application/vnd.android.package-archive cmp=com.android.packageinstaller/.PackageInstallerActivity} from uid 10146 on display 0
11-18 19:46:06.947 922 4354 I ActivityManager: Start proc 9492:com.android.packageinstaller/u0a116 for activity com.android.packageinstaller/.PackageInstallerActivity
11-18 19:46:07.010 9492 9492 W System : ClassLoader referenced unknown path: /system/priv-app/PackageInstaller/lib/arm64
11-18 19:46:07.246 9492 9492 W : Unable to open '/storage/emulated/0/Download/M55_161118.apk': Permission denied
11-18 19:46:07.246 9492 9492 W zipro : Error opening archive /storage/emulated/0/Download/M55_161118.apk: I/O Error
11-18 19:46:07.246 9492 9492 D asset : failed to open Zip archive '/storage/emulated/0/Download/M55_161118.apk'
11-18 19:46:07.247 9492 9492 W PackageInstaller: Parse error when parsing manifest. Discontinuing installation
3. Cpu core doesn't turn on correctly
It causes low performance :(
screenshot attached
 

Attachments

Last edited:

saor11

Senior Member
Jun 26, 2014
177
24
0
I am using CM13 161117 and found some bug

1.WIFI connection is disconnected occasionally

2.Failed to install application(apk file) because of permission denied
Temporary solution
1.Copy apk file to data/local/tmp
2.Change file permission to 644(rw-rw-r)
3.Install apk file(don't forget to remove apk file after install application)



3. Cpu core doesn't turn on correctly
It causes low performance :(
screenshot attached
Also audio fx not working
 

dla5244

Retired Recognized Developer
Apr 20, 2011
236
1,299
0
Incheon
I found solution about some problem

1.Failed to install apk
Give storage permission to package install manager(Setting-Application)

2.Low WIFI performance
3.CPU core doesn't turn on correctly
Turnning off little core is associated with core_ctl(core control) function
also WIFI RPS(receive packet steering) function is associated with cpu core(litte core)
maybe we need to prevent core_ctl from stopping little core.

Download and place init.libra.power.sh to /system/bin and give 755 permission to it

@ketut.kumajava

I recommend you to review pull request in your branch(android_device_xiaomi_libra)
I pulled request a solution about this issue to you

Thanks for your effort :)
 

Attachments

Last edited:

dla5244

Retired Recognized Developer
Apr 20, 2011
236
1,299
0
Incheon
I should add the script is smooth... But that's because all cores are online at max freq. Battery life with screen on is... not ideal

Sent from my Mi-4c using XDA-Developers mobile app
I don't know why this problem is happened
But i fouund a solution

Use adb instead of application(root explorer)

Place init.power.libra.sh file to internal storage root

Adb shell
Su
Mount -o remount,rw /system
Cp /sdcard/init.power.libra.sh /system/bin/init.power.libra.sh
Chmod 755 /system/bin/init.power.libra.sh
Reboot
 

Attachments

Last edited:

kairi_zeroblade

Senior Member
Feb 10, 2011
2,322
12,710
113
My own Nightlies

Out of my respect to the OP/Lead Dev here, I'm building the latest CM13.0 branch based purely on his sources to relieve the issues I have been seeing lately.

these builds are tested by me and my team..

Again, this is PURELY based on OP's sources..I'll be posting a kernel project based on this soon..80k scores guaranteed all the time and ultimately the power savings.. :D

Grab it from here: AFH

I'll try my best to provide you with nightlies or whenever there are major changes/updates to CM..same goes with security updates..

Thanks to OP!!
 

ridman31

Member
Oct 5, 2016
5
6
0
Out of my respect to the OP/Lead Dev here, I'm building the latest CM13.0 branch based purely on his sources to relieve the issues I have been seeing lately.

these builds are tested by me and my team..

Again, this is PURELY based on OP's sources..I'll be posting a kernel project based on this soon..80k scores guaranteed all the time and ultimately the power savings.. :D

Grab it from here: AFH

I'll try my best to provide you with nightlies or whenever there are major changes/updates to CM..same goes with security updates..

Thanks to OP!!
Thanks to all devs who got participated in this remarkable work .... you guys rocks!!
 

Attachments

Last edited:

gothed

Senior Member
Dec 24, 2013
571
101
0
33
Yogyakarta
Out of my respect to the OP/Lead Dev here, I'm building the latest CM13.0 branch based purely on his sources to relieve the issues I have been seeing lately.

these builds are tested by me and my team..

Again, this is PURELY based on OP's sources..I'll be posting a kernel project based on this soon..80k scores guaranteed all the time and ultimately the power savings.. :D

Grab it from here: AFH

I'll try my best to provide you with nightlies or whenever there are major changes/updates to CM..same goes with security updates..

Thanks to OP!!
nice one sir, i think it is better for you to create separated thread ;)

so you can maintain your build properly
 

Edgrr000

Senior Member
Feb 8, 2013
140
98
0
cmiiw aqua uses FPC1035 instead of FPC1020 ?
Yes, it uses fpc1035. So does the Moto G4 plus, I was looking through their source and they use fpc1020 driver as well.

http://corporate.fingerprints.com/e...n-motorolas-4th-generation-moto-g-smartphone/

https://bitbucket.org/sileshn/andro...tee.c?at=cm-14.1&fileviewer=file-view-default


The Xiaomi mi5 has fpc1245 but they still use the fpc1020 driver.

http://corporate.fingerprints.com/e...rint-sensor-fpc1245-in-xiaomi-smartphone-mi5/

I guess it's worth a shot.
 
Last edited:
  • Like
Reactions: BlackXhorneT

looker_cia

Member
Nov 7, 2009
14
8
0
Out of my respect to the OP/Lead Dev here, I'm building the latest CM13.0 branch based purely on his sources to relieve the issues I have been seeing lately.

these builds are tested by me and my team..

Again, this is PURELY based on OP's sources..I'll be posting a kernel project based on this soon..80k scores guaranteed all the time and ultimately the power savings.. :D

Grab it from here: AFH

I'll try my best to provide you with nightlies or whenever there are major changes/updates to CM..same goes with security updates..

Thanks to OP!!
Camera and Adaptive Brightness not working.
 
  • Like
Reactions: philipnzw
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone