Development Run Windows 11 VM on Pixel 6/7 - Google Pixel 7 Pro

Hi all,
I updated Limbo pKVM to 0.5.0. You can now run Windows 11 on ARM with KVM Virtualization now.
You need to flash a Magisk module to run unlocked KVM.
I need some testing & feedback on pixel 6/6a.
Need more tests on the Magisk module and more effective ways to add boot cmdlines!
A pre-build Tiny Windows 11 pro arm64 drive file below 5GB:
https://mega.nz/file/HVwniSZD#zAVXhhINBpMv3QQsg1iJ-y5gfPerscewu7MU5WV9Ov8
Here is the demo video:
Run Windows 11 đŸȘŸ on Google Pixel 7🚀
Run Windows 11 on Google Pixel 6/7 using limbo KVM See the project link: https://github.com/wasdwasd0105/limbo_tensor/
www.youtube.com
The project link:
GitHub - wasdwasd0105/limbo_tensor: Limbo for Tensor is a QEMU-based Hypervisor for Tensor-based Google Pixel devices such as Pixel 6 & 7 series.
Limbo for Tensor is a QEMU-based Hypervisor for Tensor-based Google Pixel devices such as Pixel 6 & 7 series. - GitHub - wasdwasd0105/limbo_tensor: Limbo for Tensor is a QEMU-based Hypervisor f...
github.com
Please read the Windows 11 installation guide first!
https://github.com/wasdwasd0105/limbo_tensor/blob/master/docs/windows11arm.md
Discord Group: https://discord.gg/qWK4tDvB
Special thanks to @coreycusick
View attachment 5890221
View attachment 5890217
View attachment 5890219
/* *** Disclaimer
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this app
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Troubleshooting​1. limbo return error:
xxxxxx D SHELLOUT: Could not access KVM kernel module: No such file or directory
0xxxxx SHELLOUT: qemu-system-aarch64: -accel kvm: failed to initialize kvm: No such file or directory
xxxxx D SHELLOUT: (exit code: 1)
xxxxx E MachineService: QEMU return error!
solution:
enable pkvm using fastboot:
"fastboot oem pkvm enable"
2. cannot run Windows and Unlocked UEFI:
solution:
flash the magisk pkvm unlock module.
If still not work, run "su -c cat /proc/cmdline" in the phone's terminal and check if the output contents "kvm-arm.mode=nvhe"
View attachment 5913047
If not try flash the module one more time.

Getting this going was a bit of a head scratcher cause the Magisk module didn't work the first time flashing it despite getting no errors, but after flashing it again I was able to see the Tianocore logo and my Windows image booted up.
I love that KVM is possible on these devices.
Thanks for the work!

What are the benefits to this?

rester555 said:
What are the benefits to this?
Click to expand...
Click to collapse
I would guess being able to run windows programs.

It would be nice if you could connect windows 11 and use wireless display to another device that doesn't require a Chromecast with this method.

Would be great if we could bake this into our AOSP ROMs too... Great Work!

I cannot get this to work. I'm just getting QEMU return error. I've installed the magisk file and Limbo, got the windows 11 insider thingy and followed all the recommended settings from the guide but nothing. QEMU error and the app hangs. Any tips?

Phoebus89 said:
I cannot get this to work. I'm just getting QEMU return error. I've installed the magisk file and Limbo, got the windows 11 insider thingy and followed all the recommended settings from the guide but nothing. QEMU error and the app hangs. Any tips?
Click to expand...
Click to collapse
Can u send a screenshot of error log?

wasdwasd0105 said:
Can u send a screenshot of error log?
Click to expand...
Click to collapse
Hello,
Same here , this is my log :
--------- beginning of main
04-23 09:17:15.604 13600 14646 D MachineService: Starting VM: windows
04-23 09:17:15.616 13600 14646 D VMExecutor: Params:
04-23 09:17:15.616 13600 14646 D VMExecutor: 0: -display
04-23 09:17:15.616 13600 14646 D VMExecutor: 1: vnc=:0
04-23 09:17:15.616 13600 14646 D VMExecutor: 2: -device
04-23 09:17:15.616 13600 14646 D VMExecutor: 3: qemu-xhci,id=usb-bus
04-23 09:17:15.616 13600 14646 D VMExecutor: 4: -device
04-23 09:17:15.616 13600 14646 D VMExecutor: 5: usb-tablet,bus=usb-bus.0
04-23 09:17:15.616 13600 14646 D VMExecutor: 6: -device
04-23 09:17:15.616 13600 14646 D VMExecutor: 7: usb-kbd,bus=usb-bus.0
04-23 09:17:15.616 13600 14646 D VMExecutor: 8: -L
04-23 09:17:15.616 13600 14646 D VMExecutor: 9: /data/user/0/com.limbo.emu.main.arm/cache/limbo/
04-23 09:17:15.616 13600 14646 D VMExecutor: 10: -smp
04-23 09:17:15.616 13600 14646 D VMExecutor: 11: 5
04-23 09:17:15.616 13600 14646 D VMExecutor: 12: -M
04-23 09:17:15.616 13600 14646 D VMExecutor: 13: virt
04-23 09:17:15.616 13600 14646 D VMExecutor: 14: -cpu
04-23 09:17:15.616 13600 14646 D VMExecutor: 15: host
04-23 09:17:15.617 13600 14646 D VMExecutor: 16: -m
04-23 09:17:15.617 13600 14646 D VMExecutor: 17: 5888
04-23 09:17:15.617 13600 14646 D VMExecutor: 18: -drive if=pflash,format=raw,unit=0,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_qemu_aarch64.fd,readonly=on
04-23 09:17:15.617 13600 14646 D VMExecutor: 19: -drive if=pflash,format=raw,unit=1,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_vars.fd
04-23 09:17:15.617 13600 14646 D VMExecutor: 20: -accel kvm
04-23 09:17:15.617 13600 14646 D VMExecutor: 21: -device nvme,drive=drive0,serial=drive0,bootindex=01
04-23 09:17:15.617 13600 14646 D VMExecutor: 22: -drive
04-23 09:17:15.617 13600 14646 D VMExecutor: 23: if=none,media=disk,id=drive0,file=/storage/emulated/0/Download/win11_raw.qcow2
04-23 09:17:15.617 13600 14646 D VMExecutor: 24: -device usb-storage,drive=cdrom0,removable=true,bootindex=0,bus=usb-bus.0
04-23 09:17:15.617 13600 14646 D VMExecutor: 25: -drive
04-23 09:17:15.617 13600 14646 D VMExecutor: 26: if=none,media=cdrom,id=cdrom0,file=/storage/emulated/0/Download/spice-guest-tools-0.164.4.iso
04-23 09:17:15.617 13600 14646 D VMExecutor: 27: -device
04-23 09:17:15.617 13600 14646 D VMExecutor: 28: virtio-ramfb
04-23 09:17:15.617 13600 14646 D VMExecutor: 29: -net
04-23 09:17:15.617 13600 14646 D VMExecutor: 30: user
04-23 09:17:15.617 13600 14646 D VMExecutor: 31: -net
04-23 09:17:15.617 13600 14646 D VMExecutor: 32: nic,model=virtio
04-23 09:17:15.620 13600 14646 D SHELL_IN: chmod 711 /data/user/0/com.limbo.emu.main.arm/cache/limbo//bin/qemu-system-aarch64
04-23 09:17:15.643 13600 14661 D SHELLOUT: (exit code: 0)
04-23 09:17:15.644 13600 14646 D SHELL_IN: pwd
04-23 09:17:15.644 13600 14661 D SHELLOUT: /
04-23 09:17:15.644 13600 14661 D SHELLOUT: (exit code: 0)
04-23 09:17:15.644 13600 14646 D VMExecutor: /data/user/0/com.limbo.emu.main.arm/cache/limbo//bin/qemu-system-aarch64 -display vnc=:0 -device qemu-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -L /data/user/0/com.limbo.emu.main.arm/cache/limbo/ -smp 5 -M virt -cpu host -m 5888 -drive if=pflash,format=raw,unit=0,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_qemu_aarch64.fd,readonly=on -drive if=pflash,format=raw,unit=1,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_vars.fd -accel kvm -device nvme,drive=drive0,serial=drive0,bootindex=01 -drive if=none,media=disk,id=drive0,file=/storage/emulated/0/Download/win11_raw.qcow2 -device usb-storage,drive=cdrom0,removable=true,bootindex=0,bus=usb-bus.0 -drive if=none,media=cdrom,id=cdrom0,file=/storage/emulated/0/Download/spice-guest-tools-0.164.4.iso -device virtio-ramfb -net user -net nic,model=virtio
04-23 09:17:15.644 13600 14646 D SHELL_IN: taskset f /data/user/0/com.limbo.emu.main.arm/cache/limbo//bin/qemu-system-aarch64 -display vnc=:0 -device qemu-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -L /data/user/0/com.limbo.emu.main.arm/cache/limbo/ -smp 5 -M virt -cpu host -m 5888 -drive if=pflash,format=raw,unit=0,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_qemu_aarch64.fd,readonly=on -drive if=pflash,format=raw,unit=1,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_vars.fd -accel kvm -device nvme,drive=drive0,serial=drive0,bootindex=01 -drive if=none,media=disk,id=drive0,file=/storage/emulated/0/Download/win11_raw.qcow2 -device usb-storage,drive=cdrom0,removable=true,bootindex=0,bus=usb-bus.0 -drive if=none,media=cdrom,id=cdrom0,file=/storage/emulated/0/Download/spice-guest-tools-0.164.4.iso -device virtio-ramfb -net user -net nic,model=virtio
04-23 09:17:15.702 13600 14662 D SHELLOUT: Could not access KVM kernel module: No such file or directory
04-23 09:17:15.702 13600 14662 D SHELLOUT: qemu-system-aarch64: -accel kvm: failed to initialize kvm: No such file or directory
04-23 09:17:15.709 13600 14661 D SHELLOUT: (exit code: 1)
04-23 09:17:15.709 13600 14646 E MachineService: QEMU return error!
04-23 09:17:17.715 13600 14646 D MachineService: Exiting Limbo

dookooo said:
Hello,
Same here , this is my log :
--------- beginning of main
04-23 09:17:15.604 13600 14646 D MachineService: Starting VM: windows
04-23 09:17:15.616 13600 14646 D VMExecutor: Params:
04-23 09:17:15.616 13600 14646 D VMExecutor: 0: -display
04-23 09:17:15.616 13600 14646 D VMExecutor: 1: vnc=:0
04-23 09:17:15.616 13600 14646 D VMExecutor: 2: -device
04-23 09:17:15.616 13600 14646 D VMExecutor: 3: qemu-xhci,id=usb-bus
04-23 09:17:15.616 13600 14646 D VMExecutor: 4: -device
04-23 09:17:15.616 13600 14646 D VMExecutor: 5: usb-tablet,bus=usb-bus.0
04-23 09:17:15.616 13600 14646 D VMExecutor: 6: -device
04-23 09:17:15.616 13600 14646 D VMExecutor: 7: usb-kbd,bus=usb-bus.0
04-23 09:17:15.616 13600 14646 D VMExecutor: 8: -L
04-23 09:17:15.616 13600 14646 D VMExecutor: 9: /data/user/0/com.limbo.emu.main.arm/cache/limbo/
04-23 09:17:15.616 13600 14646 D VMExecutor: 10: -smp
04-23 09:17:15.616 13600 14646 D VMExecutor: 11: 5
04-23 09:17:15.616 13600 14646 D VMExecutor: 12: -M
04-23 09:17:15.616 13600 14646 D VMExecutor: 13: virt
04-23 09:17:15.616 13600 14646 D VMExecutor: 14: -cpu
04-23 09:17:15.616 13600 14646 D VMExecutor: 15: host
04-23 09:17:15.617 13600 14646 D VMExecutor: 16: -m
04-23 09:17:15.617 13600 14646 D VMExecutor: 17: 5888
04-23 09:17:15.617 13600 14646 D VMExecutor: 18: -drive if=pflash,format=raw,unit=0,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_qemu_aarch64.fd,readonly=on
04-23 09:17:15.617 13600 14646 D VMExecutor: 19: -drive if=pflash,format=raw,unit=1,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_vars.fd
04-23 09:17:15.617 13600 14646 D VMExecutor: 20: -accel kvm
04-23 09:17:15.617 13600 14646 D VMExecutor: 21: -device nvme,drive=drive0,serial=drive0,bootindex=01
04-23 09:17:15.617 13600 14646 D VMExecutor: 22: -drive
04-23 09:17:15.617 13600 14646 D VMExecutor: 23: if=none,media=disk,id=drive0,file=/storage/emulated/0/Download/win11_raw.qcow2
04-23 09:17:15.617 13600 14646 D VMExecutor: 24: -device usb-storage,drive=cdrom0,removable=true,bootindex=0,bus=usb-bus.0
04-23 09:17:15.617 13600 14646 D VMExecutor: 25: -drive
04-23 09:17:15.617 13600 14646 D VMExecutor: 26: if=none,media=cdrom,id=cdrom0,file=/storage/emulated/0/Download/spice-guest-tools-0.164.4.iso
04-23 09:17:15.617 13600 14646 D VMExecutor: 27: -device
04-23 09:17:15.617 13600 14646 D VMExecutor: 28: virtio-ramfb
04-23 09:17:15.617 13600 14646 D VMExecutor: 29: -net
04-23 09:17:15.617 13600 14646 D VMExecutor: 30: user
04-23 09:17:15.617 13600 14646 D VMExecutor: 31: -net
04-23 09:17:15.617 13600 14646 D VMExecutor: 32: nic,model=virtio
04-23 09:17:15.620 13600 14646 D SHELL_IN: chmod 711 /data/user/0/com.limbo.emu.main.arm/cache/limbo//bin/qemu-system-aarch64
04-23 09:17:15.643 13600 14661 D SHELLOUT: (exit code: 0)
04-23 09:17:15.644 13600 14646 D SHELL_IN: pwd
04-23 09:17:15.644 13600 14661 D SHELLOUT: /
04-23 09:17:15.644 13600 14661 D SHELLOUT: (exit code: 0)
04-23 09:17:15.644 13600 14646 D VMExecutor: /data/user/0/com.limbo.emu.main.arm/cache/limbo//bin/qemu-system-aarch64 -display vnc=:0 -device qemu-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -L /data/user/0/com.limbo.emu.main.arm/cache/limbo/ -smp 5 -M virt -cpu host -m 5888 -drive if=pflash,format=raw,unit=0,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_qemu_aarch64.fd,readonly=on -drive if=pflash,format=raw,unit=1,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_vars.fd -accel kvm -device nvme,drive=drive0,serial=drive0,bootindex=01 -drive if=none,media=disk,id=drive0,file=/storage/emulated/0/Download/win11_raw.qcow2 -device usb-storage,drive=cdrom0,removable=true,bootindex=0,bus=usb-bus.0 -drive if=none,media=cdrom,id=cdrom0,file=/storage/emulated/0/Download/spice-guest-tools-0.164.4.iso -device virtio-ramfb -net user -net nic,model=virtio
04-23 09:17:15.644 13600 14646 D SHELL_IN: taskset f /data/user/0/com.limbo.emu.main.arm/cache/limbo//bin/qemu-system-aarch64 -display vnc=:0 -device qemu-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -L /data/user/0/com.limbo.emu.main.arm/cache/limbo/ -smp 5 -M virt -cpu host -m 5888 -drive if=pflash,format=raw,unit=0,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_qemu_aarch64.fd,readonly=on -drive if=pflash,format=raw,unit=1,file=/data/user/0/com.limbo.emu.main.arm/cache/limbo//edk2/edk2_vars.fd -accel kvm -device nvme,drive=drive0,serial=drive0,bootindex=01 -drive if=none,media=disk,id=drive0,file=/storage/emulated/0/Download/win11_raw.qcow2 -device usb-storage,drive=cdrom0,removable=true,bootindex=0,bus=usb-bus.0 -drive if=none,media=cdrom,id=cdrom0,file=/storage/emulated/0/Download/spice-guest-tools-0.164.4.iso -device virtio-ramfb -net user -net nic,model=virtio
04-23 09:17:15.702 13600 14662 D SHELLOUT: Could not access KVM kernel module: No such file or directory
04-23 09:17:15.702 13600 14662 D SHELLOUT: qemu-system-aarch64: -accel kvm: failed to initialize kvm: No such file or directory
04-23 09:17:15.709 13600 14661 D SHELLOUT: (exit code: 1)
04-23 09:17:15.709 13600 14646 E MachineService: QEMU return error!
04-23 09:17:17.715 13600 14646 D MachineService: Exiting Limbo
Click to expand...
Click to collapse
fastboot oem pkvm enable

Hi mate, files over 5GB on Mega require an upgrade to Pro Plan. So if possible, could you please upload the file to any other file-sharing service?

binary**# said:
Hi mate, files over 5GB on Mega require an upgrade to Pro Plan. So if possible, could you please upload the file to any other file-sharing service?
Click to expand...
Click to collapse
It is not required, they just advertise it there. Click "continue to download" and it will go through.

wangdaning said:
It is not required, they just advertise it there. Click "continue to download" and it will go through.
Click to expand...
Click to collapse
Well, it was an IP-based restriction, using VPN did the job...
But unfortunately, getting the same QEMU return error! as the rest of the users....

will it also work on the 6a?

I believe the Pixel 6/6a need paravirtualization enabled in fastboot.
fastboot oem pkvm enable

working for me on P7P. actually, I'm quite surprised with the performance of it. thanks for sharing

xxTECRAxx said:
working for me on P7P. actually, I'm quite surprised with the performance of it. thanks for sharing
Click to expand...
Click to collapse
Any chance of a quick step by step guide on what you did?

Related

[ROM][MM][LOS-13][m7] | 2018-02-22 | 9L5

These are cm13.0 builds for the international HTC One m7, build from CyanogenMod's sources with a few modifications and here and there a cherry-pick from unmerged commits.
Disclaimer: I AM NOT RESPONSIBLE IF YOU BREAK YOUR DEVICE OR DROP YOUR COFFEE !
---
Bugs (known):
- Bluetooth disables every few hours
- High battery consumption
- In energy saver there is no option to enable vibration
- Random reboots every few days
---
Download: Android File Host Folder
Archiv
open_gapps-arm-6.0-pico-20160717-9L5-modified.zip:
Be careful: This package is only (REALLY ONLY) for Play Store access.
Means, there are e.g. no Calendar&Contacts Sync adapter included, or anything. ONLY the things NEEDED for getting Play Store access.
source:
CyanogenMod Gerrit / GitHub
My Kernel Fork
Version Information
Status: abandoned
RC Release Date: 2016-09-17
last release: 2018-02-22
For changelogs have a look at the Gerrit. I filtered it with this link for only merged and cm13.0 related commits yet:
device
kernel
Apart from the official changes, I use a fork of the cm kernel as I changed a few things there:
Enabled SWAP option - it's not set by default, it will only create a SWAP if you set it with a kernel config app. cm merged it now official
undervolted CPU - see here
Initial GPU Overclock - thanks @ pattyboi : ) cherry-picked from his repo
pushed GPU to 545Mhz
undervolted GPU and later this oh and did I tell you about this yet
tbaldens fastcharge (if I read the changed code correct, it only forces the device to charge in AC mode, even if USB is recognized) - thanks @ pattyboi : ) cherry-picked from his repo
Added User Voltage Control for CPU (and therefore removed the default undervolt)
Added smartmax CPU-Governor
Since 2016-10-02 build:
reverted: 163000 - msm: HTC: m7: Enable static 802.11 regulatory database
Since 2016-10-22 build:
166184 - UPSTREAM: netfilter: x_tables: validate e->target_offset early - MERGED
166185 - msm: perf: Do not allocate new hw_event if event is duplicate - MERGED
166186 - ASoC: msm: audio-effects: misc fixes in h/w accelerated effect - MERGED
166187 - perf: duplicate deletion of perf event - MERGED
166188 - net: Fix use after free in the recvmmsg exit path - MERGED
166189 - binder: prevent kptr leak by using %pK format specifier - MERGED
166190 - fs: ext4: disable support for fallocate FALLOC_FL_PUNCH_HOLE - MERGED
166191 - Replace %p with %pK to prevent leaking kernel address - MERGED
166192 - fix infoleak in rtnetlink - MERGED
Since 2016-09-03 build:
160241 - Torch: Add legacy check for camera hardware - MERGED
Since 2016-07-31 build:
Fix GPS - thanks for finding the working lib @flab80 - fixed in cm's vendor-repo
Since 2016-07-17 build:
151062 - Revert "Revert "m7-common: fix broken rotation"" - MERGED
Since 2016-06-14 build:
148941 - m7-common: Remove HTC sound config - MERGED
148942 - m7-common: Clean up Android.mk - MERGED
148943 - m7-common: Remove deprecated vold flags - MERGED
148944 - m7-common: Organize boardconfig - MERGED
148945 - m7-common: Remove extra AAPT_CONFIG - MERGED
148946 - m7-common: Organize m7-common.mk - MERGED
140146 - PackageInstaller: Themes: Add Tint mode for custom icon - MERGED
149372 - frameworks_base: SysUI: Don't let rogue themes ruin notifications - MERGED
Since 2016-04-10 build:
135528 - frameworks_base: bootanimation: Reduce thread priority - cm did a great job with the new Android is updating screen
139192 - SettingsProvider : load region-specific settings - MERGED
138263 - Settings: Rework vibration intensity slider - MERGED
138571 - Settings: Save vibration intensity on close - MERGED
140103 - Global actions: fix airplane mode switch for MSIM - MERGED
139976 - SysUI: Deprecate collapseNotificationPanel [2/2] - MERGED
139975 - LLS: Deprecate collapseNotificationPanel [1/2] - MERGED
140184 - porting jpeg_mem_src() from jpeg lib v8c - MERGED
139886 - init: Increase coldboot timeout to 5 seconds - MERGED
131628 - frameworks_base: Barrier only messages shouldn't prevent the idle handlers from running - cm did a great job with the new Android is updating screen
131627 - frameworks_base: policy: Show a simple dialog about optimizing apps - cm did a great job with the new Android is updating screen
129343 - m7-common: Switch to Clang by default - MERGED
129345 - m7-common: use Snap camera app - MERGED
125274 - m7-common: Shim libhtc_symbols instead - MERGED
Used apps: No-Frills CPU for cpu settings, and Kernel Adiutor for everything else. Settings not mentioned, aren't touched.
Kernel Adiutor:
CPU-Voltage (set on boot):
- see attached screenshot
Battery (set on boot):
- USB Fast Charge
I/O Scheduler (set on boot):
- Scheduler: noop
- Read-Ahead 2048kB
Kernel Samepage Merging (set on boot):
- disabled 'Kernel Samepage Merging'
Low Memmory Killer (set on boot):
- Profile middle
virtual memmory (set on boot):
- swappiness 10
- Disksize 1000MB
No frills CPU (set on boot)
- CPU Govoner: smartmax
Two Questions:
1. What recovery is recommended for this to install?
2. What GAPP is best for this to install?
Thanx.
alammori said:
Two Questions:
1. What recovery is recommended for this to install?
2. What GAPP is best for this to install?
Thanx.
Click to expand...
Click to collapse
twrp 3.0 and open gapps pico
@9Lukas5 be careful with cpu/gpu undervolt by default (depending on device silicon strength of course) it can lead to major issues great job otherwise!
edit: and one thing,REMOVE CPUBOOST,trust me
So no official builds I think )
9Lukas5 said:
Bad News on this one: It seems our m7's camera has brought the dev a big headache and he gave up on it as he spent too much time on it yet. So it doesn't look like the camera will get fixed in the near future :/
Click to expand...
Click to collapse
This sounds bad.
So no MM for my M7
@Maik268 I guess no official one until this is fixed.
But if you can live with a 'only-one-shot-per-open' camera and (I think I read that) a buggy Bluetooth calling, this is a great daily driver. I use it since December
L
Gesendet von meinem HTC One m7
9Lukas5 said:
@Maik268 I guess no official one until this is fixed.
But if you can live with a 'only-one-shot-per-open' camera and (I think I read that) a buggy Bluetooth calling, this is a great daily driver. I use it since December
L
Gesendet von meinem HTC One m7
Click to expand...
Click to collapse
Unfortunately I can't live with that.
I need my camera really often at work. I already tried MM for a few day, it's running great, but without a fully working camera it's useless for me at the moment
pattyboi:) said:
@9Lukas5 be careful with cpu/gpu undervolt by default (depending on device silicon strength of course) it can lead to major issues great job otherwise!
edit: and one thing,REMOVE CPUBOOST,trust me
Click to expand...
Click to collapse
Thanks, could you tell me where I change that? I set it for me personally in kernel adiutor, but are those values in one central place, or are they all spread over the whole source code?
L
Gesendet von meinem HTC One m7
Hey
I was thinking about the camera issues. Do you think that this may have something to do with Sony libraries missing or being incompatible?
As cRDroid is also CM-based maybe we can mix things up if the camera is working on cRDroid or at least compare the proprietary files.
I don't have my HTC One M7 at the moment so I am unable to test it. I made a build myself from CM source using TheMuppets' prorpietary files.
Everything else is stock, so no undervolt, etc.
*EDIT*
Got back my HTC One, will do some testing.
*EDIT2*
Hm... I see they are struggling with the same issue.
delete - saw the edits after writing an answer^^
So far it looks like it has something to do with the mediaserver crashing:
Code:
03-29 17:32:37.245 3408 3408 V CAM_PhotoModule: old picture_size = 2688 x 1520
03-29 17:32:37.245 3408 3408 V CAM_PhotoModule: new picture_size = 2688 x 1520
03-29 17:32:37.246 3408 3408 E CAM_PhotoModule: Invalid preview resolution:
03-29 17:32:37.246 3408 3408 V CAM_PhotoModule: Preview size is 1920x1088
03-29 17:32:37.246 3408 3408 V CAM_PhotoModule: Thumbnail size is 0x0
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Picture format value =jpeg
03-29 17:32:37.247 3408 3408 D CameraSettings: Supported iso values: auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Color effect value =none
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Saturation value =5
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Contrast value =5
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Sharpness value =10
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: Face Recognition value = off
03-29 17:32:37.247 3408 3408 V CAM_PhotoModule: AE Bracketing value =Off
03-29 17:32:37.247 3408 3408 E CAM_PhotoModule: advancedFeature value =none
03-29 17:32:37.248 3408 3408 V CAM_PhotoModule: autoExposure value =frame-average
03-29 17:32:37.248 3408 3408 V CAM_PhotoModule: antiBanding value =auto
03-29 17:32:37.249 3408 3408 D Util : Parameters: [ae-bracket-hdr-values=Off,HDR,AE-Bracket, ae-bracket-hdr=Off, antibanding-values=off,50hz,60hz,auto, antibanding=auto, auto-exposure-lock-supported=true, auto-exposure-lock=false, auto-exposure-values=frame-average,center-weighted,spot-metering,smart-metering, auto-exposure=frame-average, auto-whitebalance-lock-supported=true, auto-whitebalance-lock=false, awb-calibration-check=success, camera-mode-values=0,1, camera-mode=1, capture-burst-captures-values=-1, capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12, capture-burst-exposures=, capture-burst-interval-max=10, capture-burst-interval-min=1, capture-burst-interval-supported=true, capture-burst-interval=1, capture-burst-retroactive-max=-1, capture-burst-retroactive=0, capture-burst-timeinterval-max=1000, capture-burst-timeinterval-min=0, capture-burst-timeinterval-supported=true, capture-burst-timeinterval=0, capture-mode-values=normal,contiburst,contiburst-one-shot,hdr,panorama,zoe,contizoe, capture-mode=normal, contiburst-type=unlimited, contrast-min=0, contrast=5, denoise-values=off, denoise=denoise-off, dual-camera-supported=false, effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua,emboss,sketch,neon, effect=none, exposure-compensation-step=0.166667, exposure-compensation=0, face-detection-values=off,on, face-detection=on, flash-calibration-check=success, flash-mode-values=off,auto,on,torch, flash-mode=auto, focal-length=3.82, focus-areas=(-198,-291,29,109,1), focus-distances=0.100000,0.150000,0.170000, focus-mode-values=auto,infinity,normal,macro,fixed,continuous-picture,continuous-video, focus-mode=auto, gps-timestamp=1459265556, hdr-need-1x=false, hdr-supported=true, hfr-size-values=800x480,640x480, histogram-values=enable,disable, histogram=disable, horizontal-view-angle=69.6, iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600, iso=auto, jpeg-quality=85, jpeg-thumbnail-height=0, jpeg-thumbnail-quality=90,
03-29 17:32:37.250 3408 3408 D Util : Parameters: jpeg-thumbnail-size-values=512x288,480x288,432x288,512x384,352x288,0x0, jpeg-thumbnail-width=0, lensshade-values=enable,disable, lensshade=enable, long-shot=off, lsc-calibration-check=success, luma-adaptation=3, max-contrast=10, max-exposure-compensation=12, max-longshot-snap=-1, max-num-detected-faces-hw=0, max-num-detected-faces-sw=0, max-num-focus-areas=1, max-num-metering-areas=1, max-saturation=10, max-sharpness=30, max-zoom=59, mce-values=enable,disable, mce=enable, metering-areas=(-255,-391,86,209,1), min-exposure-compensation=-12, no-display-mode=0, num-jpegs-per-shutter=1, num-queue-depth=2, num-snaps-per-shutter=1, ois-setting=true, ois_mode=off, ois_support=true, overlay-format=265, picture-format-values=jpeg,raw, picture-format=jpeg, picture-size-values=2688x1520,2592x1456,2048x1520,2048x1216,2048x1152,1920x1088,1600x1200,1600x896,1520x1520,1456x1088,1456x880,1456x832,1440x1088,1280x960,1280x768,1280x720,1024x768,1088x1088,800x600,800x480,720x720,640x480,640x384,640x368,480x480,352x288,320x240,176x144, picture-size=2688x1520, power-mode-supported=true, power-mode=Normal_Power, preview-format-values=yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12, preview-format=yuv420sp, preview-fps-range-values=(3,200000), preview-fps-range=10000,60000, preview-frame-rate-mode=frame-rate-fixed, preview-frame-rate-modes=frame-rate-auto,frame-rate-fixed, preview-frame-rate-values=5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120, preview-frame-rate=120, preview-size-values=1920x1088,1456x832,1440x1088,1280x720,1088x1088,960x720,960x544,800x480,768x464,768x432,720x720,720x480,640x480,640x384,640x368,576x432,544x544,480x480,480x320,384x288,352x288,320x240,240x160,176x144, preview-size=1920x1088,
03-29 17:32:37.250 3408 3408 D Util : Parameters: recording-hint=false, redeye-reduction-values=enable,disable, redeye-reduction=disable, rotation=90, saturation-min=0, saturation=5, scene-detect-values=off,on, scene-detect=off, scene-mode-values=off,auto,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,fireworks,sports,party,candlelight,backlight,flowers,AR,text,hdr, scene-mode=auto, selectable-zone-af-values=auto,spot-metering,center-weighted,frame-average, selectable-zone-af=auto, sharpness-min=0, sharpness=10, single-isp-output-enabled=false, skinToneEnhancement-values=enable,disable, skinToneEnhancement=0, slow-motion-res=768x432, slow-motion-x=4, smileinfo-byface-supported=1, strtextures=OFF, time-cons-post-processing=enable, touch-af-aec-values=touch-off,touch-on, touch-af-aec=touch-off, touchAfAec-dx=100, touchAfAec-dy=100, vertical-view-angle=43.0, video-720p60fps-supported=true, video-frame-format=yuv420sp, video-hdr-supported=true, video-hdr-values=off,on, video-hdr=off, video-hfr-values=off,60, video-hfr=off, video-mode=0, video-slow-motion-supported=true, video-snapshot-supported=true, video-stabilization-supported=true, video-stabilization=false, video-zoom-support=true, whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight, whitebalance=auto, zoe-supported=true, zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390, zoom-supported=true, zoom=0, zsl-values=off,on, zsl=on, zsl_mymode=on]
03-29 17:32:37.255 208 208 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-29 17:32:37.255 208 208 F DEBUG : Build fingerprint: 'htc/m7_google/m7:5.0.1/LRX22C.H3/434277:user/release-keys'
03-29 17:32:37.255 208 208 F DEBUG : Revision: '0'
03-29 17:32:37.255 208 208 F DEBUG : ABI: 'arm'
03-29 17:32:37.255 673 2379 W NativeCrashListener: Couldn't find ProcessRecord for pid 7959
03-29 17:32:37.255 208 208 F DEBUG : pid: 7959, tid: 10442, name: mm_camera_poll >>> /system/bin/mediaserver <<<
03-29 17:32:37.255 208 208 E DEBUG : AM write failed: Broken pipe
03-29 17:32:37.255 208 208 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x149
03-29 17:32:37.256 673 1148 W BackupManagerService: dataChanged but no participant pkg='org.cyanogenmod.snap' uid=10056
03-29 17:32:37.257 673 3532 W BackupManagerService: dataChanged but no participant pkg='org.cyanogenmod.snap' uid=10056
03-29 17:32:37.257 673 2769 W BackupManagerService: dataChanged but no participant pkg='org.cyanogenmod.snap' uid=10056
03-29 17:32:37.258 3408 3408 I CAM_PhotoModule: Using preview width = 1920& height = 1088
03-29 17:32:37.258 3408 3408 D CAM_UI : setAspectRatio() ratio[1.7647059] mAspectRatio[1.7647059]
03-29 17:32:37.259 3408 3408 V CAM_UI : setTransformMatrix: scaledTextureWidth = 1080.0, scaledTextureHeight = 1905.8823
03-29 17:32:37.262 3408 3408 D CAM_UI : setAspectRatio() ratio[1.7647059] mAspectRatio[1.7647059]
03-29 17:32:37.262 3408 3408 V CAM_UI : setTransformMatrix: scaledTextureWidth = 1080.0, scaledTextureHeight = 1905.8823
03-29 17:32:37.270 208 208 F DEBUG : r0 00000101 r1 ffffffff r2 b48802fc r3 80000000
03-29 17:32:37.271 208 208 F DEBUG : r4 b0ae2c00 r5 b39c8d40 r6 b39c8d4c r7 b39c8d44
03-29 17:32:37.271 208 208 F DEBUG : r8 b39c7400 r9 b456c024 sl b39c8d38 fp b0ae2c00
03-29 17:32:37.271 208 208 F DEBUG : ip b487fdb4 sp a40828d0 lr b485f735 pc b485ef36 cpsr 40070030
03-29 17:32:37.276 208 208 F DEBUG :
03-29 17:32:37.276 208 208 F DEBUG : backtrace:
03-29 17:32:37.276 208 208 F DEBUG : #00 pc 00049f36 /system/lib/hw/camera.vendor.msm8960.so (android::util_get_Hal_obj(camera_device*)+5)
03-29 17:32:37.276 208 208 F DEBUG : #01 pc 0004a731 /system/lib/hw/camera.vendor.msm8960.so (release+52)
03-29 17:32:37.276 208 208 F DEBUG : #02 pc 000046d5 /system/lib/libimage-jpeg-enc-omx-comp.so (handleMessage+164)
03-29 17:32:37.276 208 208 F DEBUG : #03 pc 0003f5f7 /system/lib/libc.so (__pthread_start(void*)+30)
03-29 17:32:37.276 208 208 F DEBUG : #04 pc 00019ccb /system/lib/libc.so (__start_thread+6)
03-29 17:32:37.729 673 2790 D QMI_FW : QCCI: QMUXD: xport_rx[1 <- 16]: 659 bytes on conn_id: 9
03-29 17:32:37.729 673 2790 D QMI_FW : QCCI: QMI_CCI_RX: cntl_flag - 04, txn_id - 0000, msg_id - 0025, msg_len - 028c
03-29 17:32:37.729 673 2790 E LocSvc_adapter: I/<--- void globalEventCb(locClientHandleType, uint32_t, locClientEventIndUnionType, void*) line 88 QMI_LOC_EVENT_GNSS_SV_INFO_IND_V02
03-29 17:32:37.729 673 2790 E LocSvc_utils_q: D/msg_q_snd: Sending message with handle = 0x9DD61300
03-29 17:32:37.729 673 2790 E LocSvc_utils_ll: D/linked_list_add: Adding to list data_obj = 0x9DD61300
03-29 17:32:37.729 673 2787 E LocSvc_utils_ll: D/linked_list_remove: Removing from list
03-29 17:32:37.729 673 2787 E LocSvc_utils_q: D/msg_q_rcv: Received message 0x9DD61300 rv = 0
03-29 17:32:37.729 673 2787 E LocSvc_eng: D/void loc_eng_deferred_action_thread(void*):1415] received msg_id = LOC_ENG_MSG_REPORT_SV context = 0xaec028d0
03-29 17:32:37.729 673 2787 E LocSvc_afw: I/<=== sv_status_cb - line 1127 23
03-29 17:32:37.729 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.729 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,1,23,04,00,000,24,02,14,118,,06,18,075,,10,00,000,*7E
03-29 17:32:37.729 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,2,23,12,78,333,,14,34,302,,15,12,180,,17,07,036,*7A
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,3,23,19,31,049,,22,00,000,,24,63,123,,25,46,264,*7C
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,4,23,29,09,199,,32,30,305,,78,23,300,,86,39,045,*75
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,5,23,77,67,002,,69,09,344,,88,14,175,,87,50,135,*76
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSV,6,6,23,85,00,000,,67,14,241,,68,24,295,*40
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGSA,A,1,,,,,,,,,,,,,,,*1E
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPVTG,,T,,M,,N,,K,N*2C
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPRMC,,V,,,,,,,,,,N*53
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: I/<=== nmea_cb line 59 0x93a7a734
03-29 17:32:37.730 673 2787 E LocSvc_eng_nmea: D/NMEA <$GPGGA,,,,,,0,,,,,,,,*66
03-29 17:32:37.730 673 2787 E LocSvc_eng: D/void loc_eng_deferred_action_thread(void*):1402] 134 listening ...
03-29 17:32:37.730 673 2787 E LocSvc_utils_q: D/msg_q_rcv: Waiting on message
03-29 17:32:37.730 673 2790 E LocSvc_utils_q: D/msg_q_snd: Finished Sending message with handle = 0x9DD61300
03-29 17:32:38.000 673 2790 D QMI_FW : QCCI: QMUXD: xport_rx[1 <- 16]: 146 bytes on conn_id: 9
03-29 17:32:38.000 673 2790 D QMI_FW : QCCI: QMI_CCI_RX: cntl_flag - 04, txn_id - 0000, msg_id - 0024, msg_len - 008b
03-29 17:32:38.000 673 2790 E LocSvc_adapter: I/<--- void globalEventCb(locClientHandleType, uint32_t, locClientEventIndUnionType, void*) line 88 QMI_LOC_EVENT_POSITION_REPORT_IND_V02
03-29 17:32:38.000 673 2790 E LocSvc_adapter: D/Reporting postion from V2 Adapter
03-29 17:32:38.000 673 2790 E LocSvc_utils_q: D/msg_q_snd: Sending message with handle = 0x9B5C4C30
03-29 17:32:38.000 673 2790 E LocSvc_utils_ll: D/linked_list_add: Adding to list data_obj = 0x9B5C4C30
03-29 17:32:38.000 673 2790 E LocSvc_utils_q: D/msg_q_snd: Finished Sending message with handle = 0x9B5C4C30
03-29 17:32:38.000 673 2787 E LocSvc_utils_ll: D/linked_list_remove: Removing from list
03-29 17:32:38.000 673 2787 E LocSvc_utils_q: D/msg_q_rcv: Received message 0x9B5C4C30 rv = 0
03-29 17:32:38.000 673 2787 E LocSvc_eng: D/void loc_eng_deferred_action_thread(void*):1415] received msg_id = LOC_ENG_MSG_REPORT_POSITION context = 0xaec028d0
03-29 17:32:38.000 673 2787 E LocSvc_eng: D/void loc_eng_deferred_action_thread(void*):1402] 135 listening ...
03-29 17:32:38.000 673 2787 E LocSvc_utils_q: D/msg_q_rcv: Waiting on message
03-29 17:32:38.048 208 208 F DEBUG :
03-29 17:32:38.048 208 208 F DEBUG : Tombstone written to: /data/tombstones/tombstone_03
03-29 17:32:38.049 673 760 I BootReceiver: Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
03-29 17:32:38.059 3408 5000 W CameraBase: mediaserver's remote binder Camera object died
03-29 17:32:38.059 3408 5000 W CameraBase: Camera service died!
*EDIT*
Ah, I missed that you have already added the logcat output for this error in the other thread.
Hey @9Lukas5 where are you getting the source from. Is there any guide to build the rom?
@aloknm I used this wiki guide from cm:
https://wiki.cyanogenmod.org/w/Build_for_m7
And additionally I had to add a link to the proprietary files I think in my local_manifest
When I'm at home I'll send you the content of the manifest in my build environment
L
Gesendet von meinem HTC One m7
As far as the camera issue goes this is what I figured out so far:
camera.vendor.msm8960.so is calling util_get_Hal_obj; camera.vendor.msm8960.so is prorietary, so nothing we can do here
util_get_Hal_obj is part of the QCOM HAL Wrapper:
android_hardware_qcom_camera/QCamera2/HAL/wrapper/QualcommCamera.cpp:
Code:
...
QCamera2HardwareInterface *util_get_Hal_obj( struct camera_device * device)
{
QCamera2HardwareInterface *hardware = NULL;
if(device && device->priv){
camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
hardware = camHal->hardware;
}
return hardware;
}
....
The address is extracted here: camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
hardware = camHal->hardware;
However, so far I could not find the struct definition of camera_device, which would be handy because we want to know what device->priv exactly is
Then we would have to figure out who or what is defining the original camera_device and why it is suddenly pointing to a wrong address
Yeah, it is pretty messed up. I don't know if I will be able to look into it more....
Does anyone happen to know where the struct camera_device is specified?
@sToRm1nG you seem much more a 'developer' than me . I'm more like, let's see what we can *easily* punch together and works atm^^
Edit: could you edit your post above with the long logcat output and make spoiler tag around the code tag? In tapatalk you have to scroll through the whole code :/
@aloknm I'm using the three xml's I attached in my ./.repo/local_manifests/ folder.
The roomservice.xml came from cm, I edited just to delete the kernel repo and created the other one for including my own fork of the kernel and the local_manifest.xml is also created from me after googling around, why my builds are too small and won't boot up. There I added the proprietary_vendor from the aicp github, what fixed my builds.
L
9Lukas5 said:
@sToRm1nG you seem much more a 'developer' than me . I'm more like, let's see what we can *easily* punch together and works atm^^
Edit: could you edit your post above with the long logcat output and make spoiler tag around the code tag? In tapatalk you have to scroll through the whole code :/
@aloknm I'm using the three xml's I attached in my ./.repo/local_manifests/ folder.
The roomservice.xml came from cm, I edited just to delete the kernel repo and created the other one for including my own fork of the kernel and the local_manifest.xml is also created from me after googling around, why my builds are too small and won't boot up. There I added the proprietary_vendor from the aicp github, what fixed my builds.
L
Click to expand...
Click to collapse
*HIDEON*
I will try and see if I can add some additional logging to QualcommCamera.cpp to see if the address actually changes (if not this would be even more confusing).
I had a lot of Java programming at university and a little C++ and even a little bit of C.
New build is online
Be aware of the following:
- I added user side Voltage Control for CPU, therefore I reverted the CPU undervolt back to stock values.
For those want to keep the undervolt like it was set before, please have a look to the commit here. Check the changed lines to find the voltage table shown in your kernel control app, and then set the values to the ones they were before :good:
- I added the cpu governor smartmax:
If someone has mindblowing governor settings for smartmax, please let me know
L

Help with CM13 boot loop - logcat included

Hi,
my oneplus one with CM13 (14_06 build) is stuck in a bootloop and I don't know how to solve.
Here's what I have tried to do:
Wipe cache
Flash a previous build
Delete the last apps I have installed via adb (pm uninstall APPNAME)
The last thing I have done before rebooting is installing the GMSCore from MicroG project (Yes, I don't have gapps).
http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
Then I have successfully removed the gsmcore via adb but the bootloop continued.
The phone reboots when "Prearing contacts storage" appears....
Here's my logcat (*:E)
Code:
06-14 14:46:46.384 3660 3660 E Minikin : addFont failed to create font /system/fonts/DroidSansFallback.ttf
06-14 14:46:46.384 3660 3660 E Minikin : addFont failed to create font /system/fonts/MTLmr3m.ttf
06-14 14:46:48.623 3654 3654 E installd: eof
06-14 14:46:48.623 3654 3654 E installd: failed to read size
06-14 14:46:49.304 4935 4935 E QCOM PowerHAL: Unable to open prefetcher: dlopen failed: library "libqti-iop-client.so" not found
06-14 14:46:49.304 4935 4935 E QCOM PowerHAL: Failed to get prefetcher handle.
06-14 14:46:49.305 4935 4935 E QCOM PowerHAL: Invalid hint ID.
06-14 14:46:49.894 4935 4935 E art : DexFile_getDexOptNeeded file '/system/framework/org.apache.http.legacy.jar' does not exist
06-14 14:46:51.356 3653 3653 E msm8974_platform: hw_util_open Opening device /dev/snd/hwC0D1000
06-14 14:46:51.356 3653 3653 E msm8974_platform: hw_util_open success
06-14 14:46:51.356 3653 3653 E msm8974_platform: send_codec_cal cal sent for anc_cal
06-14 14:46:51.356 3653 3653 E ACDB-LOADER: ACDB -> send_codec_cal
06-14 14:46:51.356 3653 3653 E msm8974_platform: send_codec_cal cal sent for mad_cal
06-14 14:46:51.357 3653 3653 E msm8974_platform: send_codec_cal cal sent for mbhc_cal
06-14 14:46:51.358 3653 3653 E audio_hw_primary: Amplifier initialization failed
06-14 14:46:51.358 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.358 3653 3653 E ACDB-LOADER: Error: ACDB AFE returned = -19
06-14 14:46:51.377 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.377 3653 3653 E ACDB-LOADER: Error: ACDB AFE returned = -19
06-14 14:46:51.386 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.397 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.430 3653 3653 E MonoPipe: Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
06-14 14:46:51.435 3653 5160 E AudioFlinger: no wake lock to update!
06-14 14:46:51.437 3653 5161 E AudioFlinger: no wake lock to update!
06-14 14:46:51.443 3653 5163 E AudioFlinger: no wake lock to update!
06-14 14:46:51.455 3653 3653 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
06-14 14:46:51.460 3653 3653 E RadioService: couldn't load radio module radio.primary (No such file or directory)
06-14 14:46:52.409 3649 3649 E Netd : netlink response contains error (File exists)
06-14 14:46:52.409 3649 3649 E Netd : Can't add IPv4 default route to dummy0: File exists
06-14 14:46:53.221 3657 5266 E QC-QMI : qmi_client [3657] 16: failed to locate client data
06-14 14:46:53.222 3656 3656 E QC-QMI : qmuxd: RX on fd=27 returned error=0 errno[11:Try again]
06-14 14:46:53.222 3656 3656 E QC-QMI : QMUX qmux_client_id=16 not found in qmux client list, unable to remove
06-14 14:46:53.228 3657 5272 E QC-QMI : qmi_client [3657] 17: failed to locate client data
06-14 14:46:53.229 3656 3656 E QC-QMI : qmuxd: RX on fd=27 returned error=0 errno[11:Try again]
06-14 14:46:53.229 3656 3656 E QC-QMI : QMUX qmux_client_id=17 not found in qmux client list, unable to remove
06-14 14:46:53.328 3656 3718 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:53.562 3656 3729 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:53.848 3656 3735 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.073 3656 3745 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.252 3656 3749 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.538 3656 3756 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.800 3656 3760 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:55.083 3656 3776 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:47:22.040 4935 4935 E PackageManager: updateAllSharedLibrariesLPw failed: Package com.android.dialer requires unavailable shared library com.qualcomm.qti.smartsearch; failing!
06-14 14:47:22.042 3654 3654 E installd: invalid apk path '/system/framework/org.cyanogenmod.platform-res.apk' (bad prefix)
06-14 14:47:22.225 4935 5987 E qti_sensors_hal: SensorsContext: Hal opened lib /system/lib/hw/sensors.oem.so failed!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle is -1 or error is true or mSensors[handle] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5987 E qti_sensors_hal: OEMAddSensors : The OEM_module is NULL!
06-14 14:47:22.350 4935 4935 E ConsumerIrService: Can't open consumer IR HW Module, error: -2
06-14 14:47:22.504 4935 6037 E EventHub: could not get driver version for /dev/input/mice, Not a typewriter
06-14 14:47:22.550 4935 6037 E filemap : mmap(0,4096) failed: No such device

[MIUI 8] [N900] Miui Build From Source

I Have Successfully Ported MIUI 8 From Galaxy S4 Exynos Variant 32bit
Started building from source instead
Bugs Need to be fixed
Code:
--------- beginning of crash
01-05 20:11:42.003 2664 2664 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2664 (main)
01-05 20:11:42.004 2438 2438 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
01-05 20:11:42.004 2438 2438 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
01-05 20:11:42.004 2438 2438 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
01-05 20:11:42.054 2438 2438 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-05 20:11:42.054 2438 2438 F DEBUG : CM Version: 'unknown'
01-05 20:11:42.054 2438 2438 F DEBUG : Build fingerprint: 'samsung/aicp_ha3g/ha3g:6.0.1/M4B30X/3c24405d17:userdebug/test-keys'
01-05 20:11:42.054 2438 2438 F DEBUG : Revision: '0'
01-05 20:11:42.055 2438 2438 F DEBUG : ABI: 'arm'
01-05 20:11:42.055 2438 2438 F DEBUG : pid: 2664, tid: 2664, name: main >>> /system/bin/dex2oat <<<
01-05 20:11:42.055 2438 2438 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-05 20:11:42.063 2438 2438 F DEBUG : Abort message: 'art/compiler/oat_writer.cc:627] java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available'
01-05 20:11:42.063 2438 2438 F DEBUG : r0 00000000 r1 00000a68 r2 00000006 r3 00000000
01-05 20:11:42.063 2438 2438 F DEBUG : r4 b6f6ab88 r5 00000006 r6 b6f6ab38 r7 0000010c
01-05 20:11:42.063 2438 2438 F DEBUG : r8 b6bf1d22 r9 bef67bb9 sl b6bf1d29 fp b6bf1d2b
01-05 20:11:42.063 2438 2438 F DEBUG : ip 00000000 sp bef67b10 lr b6763255 pc b67659b8 cpsr 20070010
01-05 20:11:42.096 2438 2438 F DEBUG :
01-05 20:11:42.096 2438 2438 F DEBUG : backtrace:
01-05 20:11:42.096 2438 2438 F DEBUG : #00 pc 0004a9b8 /system/lib/libc.so (tgkill+12)
01-05 20:11:42.096 2438 2438 F DEBUG : #01 pc 00048251 /system/lib/libc.so (pthread_kill+36)
01-05 20:11:42.096 2438 2438 F DEBUG : #02 pc 0001bfcb /system/lib/libc.so (raise+10)
01-05 20:11:42.096 2438 2438 F DEBUG : #03 pc 00018875 /system/lib/libc.so (__libc_android_abort+36)
01-05 20:11:42.096 2438 2438 F DEBUG : #04 pc 0001650c /system/lib/libc.so (abort+4)
01-05 20:11:42.096 2438 2438 F DEBUG : #05 pc 002a154f /system/lib/libart.so (_ZN3art7Runtime5AbortEv+274)
01-05 20:11:42.096 2438 2438 F DEBUG : #06 pc 0008f749 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+872)
01-05 20:11:42.096 2438 2438 F DEBUG : #07 pc 0008c1f3 /system/lib/libart.so (_ZN3art7BarrierD2Ev+366)
01-05 20:11:42.096 2438 2438 F DEBUG : #08 pc 002c671f /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+194)
01-05 20:11:42.097 2438 2438 F DEBUG : #09 pc 002abd67 /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+314)
01-05 20:11:42.097 2438 2438 F DEBUG : #10 pc 002a14a3 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+102)
01-05 20:11:42.097 2438 2438 F DEBUG : #11 pc 0008f749 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+872)
01-05 20:11:42.097 2438 2438 F DEBUG : #12 pc 00288a33 /system/lib/libart-compiler.so
01-05 20:11:42.097 2438 2438 F DEBUG : #13 pc 00284ff3 /system/lib/libart-compiler.so (_ZN3art9OatWriter15VisitDexMethodsEPNS0_16DexMethodVisitorE+254)
01-05 20:11:42.097 2438 2438 F DEBUG : #14 pc 00284c8d /system/lib/libart-compiler.so (_ZN3art9OatWriter19InitOatCodeDexFilesEj+240)
01-05 20:11:42.097 2438 2438 F DEBUG : #15 pc 00283d15 /system/lib/libart-compiler.so (_ZN3art9OatWriterC2ERKNSt3__16vectorIPKNS_7DexFileENS1_9allocatorIS5_EEEEjjiPKNS_14CompilerDriverEPNS_11ImageWriterEPNS_12TimingLoggerEPNS_7SafeMapINS1_12basic_stringIcNS1_11char_traitsIcEENS6_IcEEEESN_NS1_4lessISN_EENS_17TrackingAllocatorINS1_4pairIKSN_SN_EELNS_12AllocatorTagE6EEEEE+468)
01-05 20:11:42.097 2438 2438 F DEBUG : #16 pc 00011be5 /system/bin/dex2oat
01-05 20:11:42.097 2438 2438 F DEBUG : #17 pc 00007033 /system/bin/dex2oat (main+2026)
01-05 20:11:42.097 2438 2438 F DEBUG : #18 pc 00016335 /system/lib/libc.so (__libc_init+52)
01-05 20:11:42.097 2438 2438 F DEBUG : #19 pc 00006770 /system/bin/dex2oat
01-05 20:11:42.175 2664 2664 W main : type=1701 audit(0.0:136): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel reason="memory violation" sig=6
01-05 20:11:42.178 2438 2438 F DEBUG :
01-05 20:11:42.178 2438 2438 F DEBUG : Tombstone written to: /data/tombstones/tombstone_00
01-05 20:11:42.224 2453 2453 E art : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Failed to generate image '/data/dalvik-cache/arm/[email protected]@boot.art': Failed execv(/system/bin/dex2oat --image=/data/dalvik-cache/arm/[email protected]@boot.art --dex-file=/system/framework/core-libart.jar --dex-file=/system/framework/conscrypt.jar --dex-file=/system/framework/okhttp.jar --dex-file=/system/framework/core-junit.jar --dex-file=/system/framework/bouncycastle.jar --dex-file=/system/framework/ext.jar --dex-file=/system/framework/framework.jar --dex-file=/system/framework/telephony-common.jar --dex-file=/system/framework/voip-common.jar --dex-file=/system/framework/ims-common.jar --dex-file=/system/framework/apache-xml.jar --dex-file=/system/framework/org.apache.http.legacy.boot.jar --dex-file=/system/framework/org.dirtyunicorns.utils.jar --dex-file=/system/framework/patchrom-core.jar --dex-file=/system/app/miui/miui.apk --dex-file=/system/app/miuisystem/miuisys
01-05 20:11:43.887 2453 2453 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
01-05 20:11:44.137 2453 2453 I Radio-JNI: register_android_hardware_Radio DONE
01-05 20:11:44.220 2453 2453 I SamplingProfilerIntegration: Profiling disabled.
01-05 20:11:44.222 2453 2453 D Zygote : begin preload
01-05 20:11:44.224 2453 2453 I Zygote : Preloading classes...
01-05 20:11:45.197 2453 2453 E Minikin : addFont failed to create font /system/fonts/NanumGothic.ttf
01-05 20:11:45.199 2453 2453 E Minikin : addFont failed to create font /system/fonts/DroidSansFallback.ttf
01-05 20:11:45.199 2453 2453 E Minikin : addFont failed to create font /system/fonts/MTLmr3m.ttf
01-05 20:11:45.412 2453 2453 V DngCreator_JNI: DngCreator_nativeClassInit:
01-05 20:11:46.827 2453 2453 I art : Thread[1,tid=2453,Native,Thread*=0xb4c74400,peer=0x12e5be20,"main"] recursive attempt to load library "/system/lib/libmedia_jni.so"
01-05 20:11:46.827 2453 2453 D MtpDeviceJNI: register_android_mtp_MtpDevice
01-05 20:11:46.828 2453 2453 I art : Thread[1,tid=2453,Native,Thread*=0xb4c74400,peer=0x12e5be20,"main"] recursive attempt to load library "/system/lib/libmedia_jni.so"
01-05 20:11:46.829 2453 2453 I art : Thread[1,tid=2453,Native,Thread*=0xb4c74400,peer=0x12e5be20,"main"] recursive attempt to load library "/system/lib/libmedia_jni.so"
01-05 20:11:47.779 2453 2453 W System : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
01-05 20:11:48.391 2453 2453 I System : Loaded time zone names for "" in 32ms (27ms in ICU)
01-05 20:11:48.451 2453 2453 I System : Loaded time zone names for "en_US" in 60ms (18ms in ICU)
01-05 20:11:48.845 2453 2453 I Zygote : ...preloaded 3863 classes in 4621ms.
01-05 20:11:48.845 2453 2453 I art : VMRuntime.preloadDexCaches starting
01-05 20:11:48.913 2453 2453 I art : VMRuntime.preloadDexCaches strings total=317779 before=10521 after=10521
01-05 20:11:48.913 2453 2453 I art : VMRuntime.preloadDexCaches types total=28582 before=9344 after=13243
01-05 20:11:48.913 2453 2453 I art : VMRuntime.preloadDexCaches fields total=125182 before=38077 after=51510
01-05 20:11:48.913 2453 2453 I art : VMRuntime.preloadDexCaches methods total=214853 before=71519 after=88232
01-05 20:11:48.913 2453 2453 I art : VMRuntime.preloadDexCaches finished
01-05 20:11:48.945 2941 2941 D idmap : error: no read access to /vendor/overlay: No such file or directory
01-05 20:11:49.003 2453 2453 I Zygote : Preloading resources...
01-05 20:11:49.157 2453 2453 W Resources: Preloaded drawable resource #0x1080096 (android:drawable/toast_frame) that varies with configuration!!
01-05 20:11:49.202 2453 2453 I Zygote : ...preloaded 86 resources in 199ms.
01-05 20:11:49.202 2453 2453 I Zygote : ...preloaded 0 resources in 0ms.
01-05 20:11:49.234 2453 2453 D libEGL : loaded /vendor/lib/egl/libGLES_mali.so
01-05 20:11:49.243 2453 2453 I Zygote : Preloading shared libraries...
01-05 20:11:49.258 2453 2453 D Zygote : end preload
01-05 20:11:49.258 2453 2453 I art : Starting a blocking GC Explicit
01-05 20:11:49.269 2453 2453 I art : Explicit concurrent mark sweep GC freed 1010(49KB) AllocSpace objects, 0(0B) LOS objects, 40% free, 13MB/22MB, paused 100us total 11.220ms
01-05 20:11:49.273 2453 2453 I art : Starting a blocking GC Explicit
01-05 20:11:49.283 2453 2453 I art : Explicit concurrent mark sweep GC freed 388(15KB) AllocSpace objects, 1(28KB) LOS objects, 39% free, 13MB/22MB, paused 97us total 10.547ms
01-05 20:11:49.285 2453 2940 I art : Starting a blocking GC HeapTrim
01-05 20:11:49.286 2453 2453 I art : Starting a blocking GC Background
01-05 20:11:49.379 2453 2453 I Zygote : System server process 2942 has been created
01-05 20:11:49.383 2453 2453 I Zygote : Accepting command socket connections
01-05 20:11:49.390 2942 2942 I InstallerConnection: connecting...
01-05 20:11:49.391 2442 2442 I installd: new connection
01-05 20:11:49.419 2953 2953 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.419 2953 2953 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.421 2953 2953 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.425 2953 2953 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.425 2953 2953 E dex2oat : Failed to create runtime
01-05 20:11:49.426 2953 2953 I dex2oat : dex2oat took 8.203ms (threads: 4)
01-05 20:11:49.429 2442 2442 E installd: DexInv: --- END '/system/framework/org.cyanogenmod.platform.jar' --- status=0x0100, process failed
01-05 20:11:49.469 2955 2955 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.470 2955 2955 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.472 2955 2955 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.479 2955 2955 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.479 2955 2955 E dex2oat : Failed to create runtime
01-05 20:11:49.481 2955 2955 I dex2oat : dex2oat took 12.580ms (threads: 4)
01-05 20:11:49.484 2442 2442 E installd: DexInv: --- END '/system/framework/org.cyanogenmod.hardware.jar' --- status=0x0100, process failed
01-05 20:11:49.524 2957 2957 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.525 2957 2957 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.528 2957 2957 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.538 2957 2957 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.538 2957 2957 E dex2oat : Failed to create runtime
01-05 20:11:49.541 2957 2957 I dex2oat : dex2oat took 17.213ms (threads: 4)
01-05 20:11:49.545 2442 2442 E installd: DexInv: --- END '/system/framework/services.jar' --- status=0x0100, process failed
01-05 20:11:49.609 2959 2959 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.610 2959 2959 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.615 2959 2959 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.623 2959 2959 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.624 2959 2959 E dex2oat : Failed to create runtime
01-05 20:11:49.627 2959 2959 I dex2oat : dex2oat took 18.721ms (threads: 4)
01-05 20:11:49.631 2442 2442 E installd: DexInv: --- END '/system/framework/ethernet-service.jar' --- status=0x0100, process failed
01-05 20:11:49.700 2961 2961 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.701 2961 2961 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.706 2961 2961 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.716 2961 2961 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.716 2961 2961 E dex2oat : Failed to create runtime
01-05 20:11:49.719 2961 2961 I dex2oat : dex2oat took 19.602ms (threads: 4)
01-05 20:11:49.723 2442 2442 E installd: DexInv: --- END '/system/framework/wifi-service.jar' --- status=0x0100, process failed
01-05 20:11:49.786 2963 2963 I dex2oat : Adjusted thread count (for runtime dex2oat): 4, 4
01-05 20:11:49.788 2963 2963 I dex2oat : /system/bin/dex2oat --compiler-filter=speed
01-05 20:11:49.793 2963 2963 E dex2oat : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Only the zygote can create the global boot image.
01-05 20:11:49.801 2963 2963 E dex2oat : Dex file fallback disabled, cannot continue without image.
01-05 20:11:49.802 2963 2963 E dex2oat : Failed to create runtime
01-05 20:11:49.805 2963 2963 I dex2oat : dex2oat took 19.133ms (threads: 4)
01-05 20:11:49.809 2442 2442 E installd: DexInv: --- END '/system/framework/patchrom-server.jar' --- status=0x0100, process failed
01-05 20:11:49.810 2942 2942 I InstallerConnection: disconnecting...
01-05 20:11:49.811 2442 2442 E installd: eof
01-05 20:11:49.811 2442 2442 E installd: failed to read size
01-05 20:11:49.811 2442 2442 I installd: closing connection
01-05 20:11:49.813 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:49.882 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:49.888 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:50.355 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:50.357 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:50.456 2942 2942 W art : No image location found for Dex2Oat.
01-05 20:11:50.508 2942 2942 I SystemServer: Entered the Android system server!
01-05 20:11:50.561 2942 2942 I SystemServiceManager: Starting com.android.server.pm.Installer
01-05 20:11:50.564 2942 2942 I Installer: Waiting for installd to be ready.
01-05 20:11:50.564 2942 2942 I InstallerConnection: connecting...
01-05 20:11:50.564 2442 2442 I installd: new connection
01-05 20:11:50.564 2942 2942 I SystemServiceManager: Starting com.android.server.am.ActivityManagerService$Lifecycle
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.708 2942 2942 I ActivityManager: choosing minFree values for 32 Bit
01-05 20:11:50.721 2942 2942 I ActivityManager: Memory class: 288
01-05 20:11:50.836 2942 2942 D BatteryStatsImpl: Reading daily items from /data/system/batterystats-daily.xml
01-05 20:11:50.879 2942 2942 I AppOps : No existing app ops /data/system/appops.xml; starting empty
01-05 20:11:50.958 2942 2942 I IntentFirewall: Read new rules (A:0 B:0 S:0)
01-05 20:11:51.004 2942 2942 I FeatureParser: can't find ha3g.xml in assets/device_features/,it may be in /system/etc/device_features
01-05 20:11:51.009 2942 2942 D AppOps : AppOpsService published
01-05 20:11:51.010 2942 2942 I SystemServiceManager: Starting com.android.server.power.PowerManagerService
So in Need For Help to fix those bugs then the rom will be released immediately and This Rom is based on AICP by tincho5588
XDA:DevDB Information
MIUI 8 Port, ROM for the Samsung Galaxy Note 3
Contributors
omarilzz, tincho5588
ROM OS Version: 6.0.x Marshmallow
Version Information
Status: Testing
Created 2016-12-24
Last Updated 2016-12-24
Very thanks
Reserved
When your rom uploaded?
tnx for port rom. android LP or MM ?
ok i found this ( i dont know about port or fix bug , just find it with google , sorry if not help you i dont know a lot of Port and build Custom rom ) :
1- SystemUi Carsh : wrong permissions
2- Clear Cache and Dalvik Cache
maybe help :
http://forum.xda-developers.com/showthread.php?t=2759479
http://www.zopomobile.com/forum/thread-439-1-1.html
Mohamad313 said:
Very thanks
Reserved
When your rom uploaded?
Click to expand...
Click to collapse
after i fix those 2 bugs
rasoulia said:
tnx for port rom. android LP or MM ?
ok i found this ( i dont know about port or fix bug , just find it with google , sorry if not help you i dont know a lot of Port and build Custom rom ) :
1- SystemUi Carsh : wrong permissions
2- Clear Cache and Dalvik Cache
maybe help :
http://forum.xda-developers.com/showthread.php?t=2759479
http://www.zopomobile.com/forum/thread-439-1-1.html
Click to expand...
Click to collapse
my rom is 6.0.x MM
Screen shot please
Mohamad313 said:
Screen shot please
Click to expand...
Click to collapse
i cant mate it reboots directly after booting and showing force close
Ok we waiting
http://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
look at this i think u forgot sth to do
and i have question , we had miui 5 which fully worked with air command is it possible to add aircommand to this rom ?
Kernel LOG
@tincho5588 @deadman96385
Miui 8 is One step a head i posed a log from kernel to fix random reboot and the three apps FC
So Help please
RYAN SHAY said:
http://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
look at this i think u forgot sth to do
and i have question , we had miui 5 which fully worked with air command is it possible to add aircommand to this rom ?
Click to expand...
Click to collapse
i Will add all u want but i want to fix the kernel reboot issue and force close first so we can at least have a booted rom and i used this already while porting XD
RYAN SHAY said:
http://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
look at this i think u forgot sth to do
and i have question , we had miui 5 which fully worked with air command is it possible to add aircommand to this rom ?
Click to expand...
Click to collapse
It will be almost impossible to add aircommand to this ROM since it's not based on TW ROM
---------- Post added at 02:17 PM ---------- Previous post was at 02:16 PM ----------
Thanks a lot mate for your work I hope this will be our Christmas gift
Alexjudge999 said:
It will be almost impossible to add aircommand to this ROM since it's not based on TW ROM
---------- Post added at 02:17 PM ---------- Previous post was at 02:16 PM ----------
Thanks a lot mate for your work I hope this will be our Christmas gift
Click to expand...
Click to collapse
nothing is impossible and yes merry Christmas
It's for N9005? and this custom have multilanguage?
beepoff15 said:
It's for N9005? and this custom have multilanguage?
Click to expand...
Click to collapse
No. Its for exynos version
Sent from my SM-N900 using XDA-Developers mobile app
beepoff15 said:
It's for N9005? and this custom have multilanguage?
Click to expand...
Click to collapse
It's for SM-N900 but there is already a MIUI 8 ROM for SM-N9005
@omarilzz When will it come Miui v8. Waiting impatiently please send me pleaaaaassseee i said im waiting and we waiting
what the point of spending time port crappy ios ripped off os to beautiful great aicp
better if import features from oneplus phones or motorolla
Abandoned War Place said:
what the point of spending time port crappy ios ripped off os to beautiful great aicp
better if import features from oneplus phones or motorolla
Click to expand...
Click to collapse
If you think that the MIUI is just a copy paste from IOS then you know nothing about it
lordondi said:
@omarilzz When will it come Miui v8. Waiting impatiently please send me pleaaaaassseee i said im waiting and we waiting
Click to expand...
Click to collapse
if god wills it the rom will be bugless ^^ but the problem that all apps crash when rom boots and i cant find any dev to help i messaged them all and no help so am stuck at no point the rom boots but all apps crash and self reboots

Run shell command with root permissions from AOSP apk

I would like to ask for help with get root access for AOSP apk broadcast receiver.
I need receive event for change date/time and I need run my shell command for write system time to hardware RTC.
I have chosen follow principe:
- I wrote Android myBR.apk in AOSP with broadcast receiver for TIME_SET, TIMEZONE_CHANGED
- From myBR.apk I run my shell command (rtcclock -w)
- "rtcclock -w" shell command which is write system time from Android to RTC via /dev/rtc0 -> ioctl( i2c )
My problem is:
==============
I need run shell command rtcclock from AOSP myBR.apk as root.
My all attempts were unsuccessful.
I would like to ask for help from some experts how can I resolve this problem.
Environment info (everything in Android shell terminal)
=======================================================
Android device is not rooted
Permissions for su shell command
$ ls -lZ /system/xbin/su
-rwsr-x--- root shell ubject_r:su_exec:s0 su
SELinux status
$ getenforce
Disabled
Super user information
$ su
# id
uid=0(root) gid=0(root) groups=1007(log)
Android version
$ cat /system/build.prop | grep "ro.build.version.release"
ro.build.version.release=5.1.1
Kernel version
$ cat /proc/version
Linux version 3.4.39 .....
Permissions for rtcclock shell command
$ ls -l /system/bin/rtcclock
-rwxr-xr-x root shell 13672 2017-10-18 09:53 rtcclock
Example for try write system time from Android to RTC as user = shell from
$ rtcclock -w
rtcclock: can't open '/dev/misc/rtc': No such file or directory
Example for try write system time from Android to RTC as user = system
$ su system
$ rtcclock -w
rtcclock: ioctl 0x4024700a failed: Permission denied
Example for try write system time from Android to RTC as user = root
$ su
# rtcclock -w
successfull
My source code:
MyBroadcastReceiver.java
========================
package com.example.mybr;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
public class MyBroadcastReceiver extends BroadcastReceiver {
private static final String TAG = "MyBroadcastReceiver";
public MyBroadcastReceiver() {
super();
Log.i( TAG, "MyBroadcastReceiver - created" );
}
@override
public void onReceive( Context context, Intent intent )
{
final String intentAction = intent.getAction();
boolean bResult = false;
if( intentAction.equals( Intent.ACTION_TIME_CHANGED ) ||
intentAction.equals( Intent.ACTION_TIMEZONE_CHANGED ) )
{
bResult = runCmd( "sh", "id" );
Log.i( TAG, "bResult = " + bResult );
bResult = runCmd( "su", "id" );
Log.i( TAG, "bResult = " + bResult );
bResult = runCmd( "su", "rtcclock -w" );
Log.i( TAG, "bResult = " + bResult );
}
}
public static boolean runCmd( String...commands )
{
boolean bResult = false;
try
{
Process prcs = Runtime.getRuntime().exec( commands[ 0 ] );
DataOutputStream cmdStream = new DataOutputStream( prcs.getOutputStream() );
DataInputStream resStream = new DataInputStream( prcs.getInputStream() );
DataInputStream errStream = new DataInputStream( prcs.getErrorStream() );
if( cmdStream != null && resStream != null && errStream != null )
{
for( int n = 1; n < commands.length; n++ )
{
Log.d( TAG, "cmd: " + commands[ n ] );
cmdStream.writeBytes( commands[ n ] + "\n" );
cmdStream.flush();
do
{
String outputResult = resStream.readLine();
Log.d( TAG, "cmd result: " + outputResult );
} while( resStream.available() > 0 );
while( errStream.available() > 0 )
{
String outputResult = errStream.readLine();
Log.d( TAG, "cmd error: " + outputResult );
}
}
bResult = true;
cmdStream.writeBytes( "exit\n" );
cmdStream.flush();
try
{
prcs.waitFor();
} catch( InterruptedException e )
{
Log.i( TAG, "!!! EXCEPTION_1 !!!" );
e.printStackTrace();
}
}
if( cmdStream != null )
{
cmdStream.close();
}
if( resStream != null )
{
resStream.close();
}
if( errStream != null )
{
errStream.close();
}
}
catch( IOException e )
{
Log.i( TAG, "!!! EXCEPTION_2 !!!" );
e.printStackTrace();
}
return( bResult );
}
}
AndroidManifest.xml
===================
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="...schemas.android.com/apk/res/android"
package="com.example.mybr"
android:sharedUserId="android.uid.shell">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true">
<receiver
android:name=".MyBroadcastReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.TIME_SET"/>
<action android:name="android.intent.action.TIMEZONE_CHANGED"/>
</intent-filter>
</receiver>
</application>
</manifest>
Android.mk
==========
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
# Only compile source java files in this apk.
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := myBR
LOCAL_CERTIFICATE := platform
LOCAL_PRIVILEGED_MODULE := true
LOCAL_MODULE_PATH := $(TARGET_OUT)/priv-app
include $(BUILD_PACKAGE)
# Use the following include to make our test apk.
include $(call all-makefiles-under,$(LOCAL_PATH))
Listing from logcat (as you can see su always failed)
===================
10-28 14:08:28.821 455-455/system_process I/PackageManager: /system/priv-app/myBR changed; collecting certs
10-28 14:08:28.855 455-455/system_process I/art: DexFile_isDexOptNeeded file /system/priv-app/myBR/arm/myBR.odex needs to be relocated for /system/priv-app/myBR/myBR.apk
10-28 14:08:42.875 455-455/system_process I/art: DexFile_isDexOptNeeded file /system/priv-app/myBR/arm/myBR.odex needs to be relocated for /system/priv-app/myBR/myBR.apk
10-28 14:08:42.876 455-455/system_process I/PackageManager: Running patchoat on: com.example.mybr
10-28 14:08:42.878 631-631/? E/installd: Running /system/bin/patchoat isa=arm in-fd=5 (/system/priv-app/myBR/arm/myBR.odex) out-fd=6 (/data/dalvik-cache/arm/[email protected]@[email protected]@classes.dex)
10-03 14:11:47.001 455-501/system_process I/ActivityManager: Start proc 1795:com.example.mybr/2000 for broadcast com.example.mybr/.MyBroadcastReceiver
10-03 14:11:47.115 455-499/system_process W/InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
10-03 14:11:47.181 1795-1795/com.example.mybr I/MyBroadcastReceiver: MyBroadcastReceiver - created
10-03 14:11:47.214 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd: id (added my note: runCmd( "sh", "id" )
10-03 14:11:47.268 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd result: uid=2000(shell) gid=2000(shell) groups=1015(sdcard_rw),1023(media_rw),1028(sdcard_r),3002(net_bt),3008(net_bt_stack),9997(everybody),42000(u0_a32000)
10-03 14:11:47.275 1795-1795/com.example.mybr I/MyBroadcastReceiver: bResult = true
10-03 14:11:47.297 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd: id (added my note: runCmd( "su", "id" )
10-03 14:11:47.306 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd result: null
10-03 14:11:47.309 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd error: su: permission denied (added mine detection: call function setgidI() return -1 from su.c)
10-03 14:11:47.310 1795-1795/com.example.mybr I/MyBroadcastReceiver: !!! EXCEPTION_2 !!!
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: java.io.IOException: write failed: EPIPE (Broken pipe)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at libcore.io.IoBridge.write(IoBridge.java:502)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at java.io.FileOutputStream.write(FileOutputStream.java:186)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at java.iutputStream.write(OutputStream.java:82)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at java.io.DataOutputStream.writeBytes(DataOutputStream.java:156)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at com.example.mybr.MyBroadcastReceiver.runCmd(MyBroadcastReceiver.java:77)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at com.example.mybr.MyBroadcastReceiver.onReceive(MyBroadcastReceiver.java:33)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2609)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.access$1700(ActivityThread.java:151)
10-03 14:11:47.310 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1380)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at android.os.Looper.loop(Looper.java:135)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5254)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at java.lang.reflect.Method.invoke(Native Method)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: Caused by: android.system.ErrnoException: write failed: EPIPE (Broken pipe)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at libcore.io.Posix.writeBytes(Native Method)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at libcore.io.Posix.write(Posix.java:258)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at libcore.io.BlockGuardOs.write(BlockGuardOs.java:313)
10-03 14:11:47.311 1795-1795/com.example.mybr W/System.err: at libcore.io.IoBridge.write(IoBridge.java:497)
10-03 14:11:47.312 1795-1795/com.example.mybr W/System.err: ... 15 more
10-03 14:11:47.312 1795-1795/com.example.mybr I/MyBroadcastReceiver: bResult = true
10-03 14:11:47.337 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd: rtcclock -w (added my note: runCmd( "su", "rtcclock -w" )
10-03 14:11:47.340 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd result: null
10-03 14:11:47.342 1795-1795/com.example.mybr D/MyBroadcastReceiver: cmd error: su: permission denied (added mine detection: call function setgidI() return -1 from su.c)
10-03 14:11:47.342 1795-1795/com.example.mybr I/MyBroadcastReceiver: !!! EXCEPTION_2 !!!
10-03 14:11:47.342 1795-1795/com.example.mybr W/System.err: java.io.IOException: write failed: EPIPE (Broken pipe)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at libcore.io.IoBridge.write(IoBridge.java:502)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at java.io.FileOutputStream.write(FileOutputStream.java:186)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at java.iutputStream.write(OutputStream.java:82)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at java.io.DataOutputStream.writeBytes(DataOutputStream.java:156)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at com.example.mybr.MyBroadcastReceiver.runCmd(MyBroadcastReceiver.java:77)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at com.example.mybr.MyBroadcastReceiver.onReceive(MyBroadcastReceiver.java:36)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2609)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.access$1700(ActivityThread.java:151)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1380)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.os.Looper.loop(Looper.java:135)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5254)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at java.lang.reflect.Method.invoke(Native Method)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
10-03 14:11:47.343 1795-1795/com.example.mybr W/System.err: Caused by: android.system.ErrnoException: write failed: EPIPE (Broken pipe)
10-03 14:11:47.344 1795-1795/com.example.mybr W/System.err: at libcore.io.Posix.writeBytes(Native Method)
10-03 14:11:47.344 1795-1795/com.example.mybr W/System.err: at libcore.io.Posix.write(Posix.java:258)
10-03 14:11:47.344 1795-1795/com.example.mybr W/System.err: at libcore.io.BlockGuardOs.write(BlockGuardOs.java:313)
10-03 14:11:47.344 1795-1795/com.example.mybr W/System.err: at libcore.io.IoBridge.write(IoBridge.java:497)
10-03 14:11:47.344 1795-1795/com.example.mybr W/System.err: ... 15 more
10-03 14:11:47.344 1795-1795/com.example.mybr I/MyBroadcastReceiver: bResult = true
10-03 14:11:47.354 1388-1388/com.android.deskclock V/AlarmClock: AlarmInitReceiver android.intent.action.TIME_SET
10-03 14:11:47.384 1388-1647/com.android.deskclock V/AlarmClock: AlarmInitReceiver finished
10-03 14:11:47.395 455-498/system_process I/ActivityManager: Killing 1368:com.android.music/u0a33 (adj 15): empty #17
10-03 14:11:47.408 455-455/system_process W/MediaSessionRecord: Removing dead callback in pushEvent.
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:496)
at android.media.session.ISessionControllerCallback$Stub$Proxy.onSessionDestroyed(ISessionControllerCallback.java:189)
at com.android.server.media.MediaSessionRecord.pushSessionDestroyed(MediaSessionRecord.java:667)
at com.android.server.media.MediaSessionRecord.access$3800(MediaSessionRecord.java:67)
at com.android.server.media.MediaSessionRecord$MessageHandler.handleMessage(MediaSessionRecord.java:1286)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at com.android.server.SystemServer.run(SystemServer.java:269)
at com.android.server.SystemServer.main(SystemServer.java:170)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
Thank you very much for help.

Please help me!Thanks

When I build arom for my device ,Ihave aproblem that I can't slove :crying:
make_vars-mk_N939St.mk:362: warning: Soong: -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -fno-canonical-system-headers -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -fno-strict-volatile-bitfields -DNDEBUG -O2 -g -Wstrict-aliasing=2 -fgcse-after-reload -frerun-cse-after-loop -frename-registers -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -fdiagnostics-color -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -mcpu=cortex-a53
/home/jack/Mokee/O/out/soong/make_vars-mk_N939St.mk:810: error: Soong variable check failed.
18:19:38 ckati failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1

Categories

Resources