Camera Reboots

whitecloud93

Member
Apr 30, 2015
9
0
0
Hello all,
I've gotten a second-hand Oneplus One (my previous Oneplus One had a broken sim card reader) and was surprised to see that this device is having reboots.

The device only reboots itself only when:
1. Either the stock camera or a third-party camera app is launched
2. Flashlight is activated
Usually, after launching any camera app, the device will reboot a few seconds later. This occurs even from third-party apps like Whatsapp or Carousell.

What I've tried:
1. Tried factory resetting the phone itself, but the problem still persist.
2. Clean flashed all kinds of roms, from 6.0.1 to 5.1.1 roms, but the problem still persist. Even the stock rom, oxygenOS and CM12/CM13 have the same issue.
3. Tried changing both the battery and the rear camera module from my old Oneplus One, but the problem still persist.
4. Limiting to 4 processes, but the problem still persist.
5. Used system app remover to uninstall the stock camera app. The replaced stock camera app still have the same issue.
6. Tried playing the camera options too - such as disabling HDR mode, disable RAW formats, and all sorts of stuffs. Still the same.

Any ideas? :(
 

Mr hOaX

Senior Member
Jan 30, 2014
1,071
2,586
0
Hello all,
I've gotten a second-hand Oneplus One (my previous Oneplus One had a broken sim card reader) and was surprised to see that this device is having reboots.

The device only reboots itself only when:
1. Either the stock camera or a third-party camera app is launched
2. Flashlight is activated
Usually, after launching any camera app, the device will reboot a few seconds later. This occurs even from third-party apps like Whatsapp or Carousell.

What I've tried:
1. Tried factory resetting the phone itself, but the problem still persist.
2. Clean flashed all kinds of roms, from 6.0.1 to 5.1.1 roms, but the problem still persist. Even the stock rom, oxygenOS and CM12/CM13 have the same issue.
3. Tried changing both the battery and the rear camera module from my old Oneplus One, but the problem still persist.
4. Limiting to 4 processes, but the problem still persist.
5. Used system app remover to uninstall the stock camera app. The replaced stock camera app still have the same issue.
6. Tried playing the camera options too - such as disabling HDR mode, disable RAW formats, and all sorts of stuffs. Still the same.

Any ideas? :(
Did you try flashing factory images using fastboot?
Flash CM11 44S factory images using fastboot

Index #8 http://forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471

This is a weird issue.
 
  • Like
Reactions: whitecloud93

whitecloud93

Member
Apr 30, 2015
9
0
0
Did you try flashing factory images using fastboot?
Flash CM11 44S factory images using fastboot

Index #8 http://forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471

This is a weird issue.
I've flashed a 64gb version factory image using fastboot via the link below before, but it didn't help too:
http://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541

It is a weird issue huh :/ I do suspect the motherboard is faulty, but I couldn't cannibalize it from my old Oneplus One as its sim card reader is faulty too (unless I get someone to solder it). Kinda stuck atm ><
 

whitecloud93

Member
Apr 30, 2015
9
0
0
Have you checked last_kmsg or dmesg after the reboot happend?

Sent from my A0001 using XDA-Developers mobile app

Unfortunately, I'm not really adept in Android stuffs, so I'm not really sure what is last_kmsg or dmesg are :/
From what I've read, they are said to be kernel and last_kernel logs.

As such, I stimulated a reboot by launching the camera, and used Syslog (an app from Play Store) to get these two logs.
Those logs are attached in the following link below:

https://drive.google.com/open?id=0B_iRT-H2Va6BV2NXb1BqdnM3REk

Hope they are the right logs ><''
Thanks for helping out again! :)
 

DerRomtester

Senior Member
Aug 20, 2012
2,900
5,825
0
24
Neumarkt
Unfortunately, I'm not really adept in Android stuffs, so I'm not really sure what is last_kmsg or dmesg are :/
From what I've read, they are said to be kernel and last_kernel logs.

As such, I stimulated a reboot by launching the camera, and used Syslog (an app from Play Store) to get these two logs.
Those logs are attached in the following link below:

https://drive.google.com/open?id=0B_iRT-H2Va6BV2NXb1BqdnM3REk

Hope they are the right logs ><''
Thanks for helping out again! :)
Yes they are great but i am bad with reading logs. The camera driver trys to move the focus and than suddenly crashes with the following error. You tried already the cm13 nightlys ? Your kernel is some versios behind and maybe it is already fixed. It could be a hardware issue, too.

Code:
[117931.530603] [40000000] *pgd=00000000
[117931.530712] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[117931.530753] CPU: 0    Tainted: G        W     (3.4.110-cyanogenmod-g1babf5c #1)
[117931.530825] PC is at kmem_cache_alloc+0x74/0x1e4
[117931.530867] LR is at proc_self_follow_link+0x6c/0x94
[117931.530936] pc : [<c02af210>]    lr : [<c0309e48>]    psr: 20000013
[117931.530936] sp : c4bddda8  ip : 00000011  fp : 082452bc
[117931.531006] r10: c4bdc028  r9 : c0309e48  r8 : 0d651000
[117931.531043] r7 : c4bdc000  r6 : 000000d0  r5 : 40000000  r4 : ee002480
[117931.531111] r3 : 00000000  r2 : 00000000  r1 : 000000d0  r0 : ee002480
[117931.531149] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[117931.531218] Control: 10c5787d  Table: 2995006a  DAC: 00000015
[117931.531256] 
[117931.531256] PC: 0xc02af190:
[117931.531323] f190  ffe5103c ffe50fa4 ffe50f54 e16d42f4 e1a04000 e1cd60f8 e1a06001 e1cd81f0
[117931.531702] f1b0  e1a0900e e1cda1f8 e58de020 e24dd00c e1a0300d e3c3ad7f e3ca703f e5973004
[117931.532052] f1d0  e2833001 e5873004 e5945000 ee1d8f90 e0883005 e593b004 e5973004 e2433001
[117931.532436] f1f0  e5873004 e5973000 e3130002 1a00005c e7985005 e3550000 0a000020 e5943014
[117931.532819] f210  e795e003 e10fc000 f10c0080 e5942000 e3a01000 ee1d0f90 e1a03002 e7908003
[117931.533176] f230  e1550008 0a000042 e121f00c e3510000 0affffe1 e5943014 f7def003 e3160902
[117931.533563] f250  1a000018 e5947010 e59f311c e594800c e79f3003 e5932004 e3520000 1a000018
[117931.533949] f270  e1a00005 e28dd00c e1cd40d0 e1cd60d8 e1cd81d0 e1cda1d8 e28dd020 e49df004
[117931.534333] 
[117931.534333] LR: 0xc0309dc8:
[117931.534370] 9dc8  e3e00001 eafffff3 ebfadce9 ffdf62cc 00d59260 e16d41f0 e1a0300d e1a04001
[117931.534751] 9de8  e58d6008 e3c33d7f e58de00c e5902054 e3c3303f e593000c e59211e8 ebfb6501
[117931.535134] 9e08  e2506000 03e05001 1a000007 e594302c e3a00000 e283300c e7845103 e1cd40d0
[117931.535499] 9e28  e59d6008 e28dd00c e49df004 e59f302c e3a010d0 e79f3003 e5930000 ebfe94d4
[117931.535911] 9e48  e2505000 03e0500b 0affffef e59f1010 e1a02006 e08f1001 eb04fd74 eaffffea
[117931.536295] 9e68  ffdf6224 00d59188 e16d41fc e1a05003 e1cd81f0 e1a08001 e1a09002 e1cd60f8
[117931.536651] 9e88  e58de018 e24dd00c e590001c ebff127c e2504000 0a000025 ebff1231 e5840028
[117931.537036] 9ea8  e1a0000d ebfc2eff e1cd60d0 e1a00009 e3a01000 e1c464f4 e1c463f4 e1c463fc
[117931.537423] 
[117931.537423] SP: 0xc4bddd28:
[117931.537461] dd28  00001678 dafc74b0 c16a6ee4 dafc74b0 00040053 00000000 c02af210 20000013
[117931.537814] dd48  ffffffff c4bddd94 0d651000 c0309e48 c4bdc028 c0109718 ee002480 000000d0
[117931.538194] dd68  00000000 00000000 ee002480 40000000 000000d0 c4bdc000 0d651000 c0309e48
[117931.538579] dd88  c4bdc028 082452bc 00000011 c4bddda8 c0309e48 c02af210 20000013 ffffffff
[117931.538932] dda8  00000000 c01c954c 577a71c1 c4bddef8 ee021ac5 00000316 c4bdde04 c4bdc000
[117931.539317] ddc8  ecd8a280 00000000 c4bdddfc c0309e48 00000000 ee021ac5 c4bddef8 c02c0d28
[117931.539699] dde8  c4bdde54 c03d8794 c4bdde14 00000000 577a71c1 ed220310 ecd8a280 ed220310
[117931.540104] de08  ecd8a280 99cf910b 00000004 ee021ac0 00000000 00000000 d9b7400a c4bddef8
[117931.540492] 
[117931.540492] R0: 0xee002400:
[117931.540560] 2400  c140efc0 00000000 00000005 00000800 00000800 00000000 00000006 00030010
[117931.540907] 2420  00030010 00000002 00004000 00000002 00000000 00000800 00000040 00000000
[117931.541286] 2440  ee000180 ee0023c4 ee0024c4 eda6b7c0 ee0023d0 ee0024d0 eda1464c eda14640
[117931.541663] 2460  c14c9f90 eda6b840 00000001 00000007 ee001080 00001002 00000000 00000000
[117931.542042] 2480  c140efd8 00000000 00000006 00001000 00001000 00000000 00000002 00030008
[117931.542390] 24a0  00030008 00000001 00004000 00000004 00000000 00001000 00000040 00000000
[117931.542742] 24c0  ee0001c0 ee002444 ee002544 eda6b1c0 ee002450 ee002550 eda1464c eda14640
[117931.543126] 24e0  c14c9f90 eda6b240 00000001 00000007 ee001090 00000000 00002000 00000040
[117931.543479] 
[117931.543479] R4: 0xee002400:
[117931.543547] 2400  c140efc0 00000000 00000005 00000800 00000800 00000000 00000006 00030010
[117931.543935] 2420  00030010 00000002 00004000 00000002 00000000 00000800 00000040 00000000
[117931.544285] 2440  ee000180 ee0023c4 ee0024c4 eda6b7c0 ee0023d0 ee0024d0 eda1464c eda14640
[117931.544669] 2460  c14c9f90 eda6b840 00000001 00000007 ee001080 00001002 00000000 00000000
[117931.545023] 2480  c140efd8 00000000 00000006 00001000 00001000 00000000 00000002 00030008
[117931.545407] 24a0  00030008 00000001 00004000 00000004 00000000 00001000 00000040 00000000
[117931.545762] 24c0  ee0001c0 ee002444 ee002544 eda6b1c0 ee002450 ee002550 eda1464c eda14640
[117931.546148] 24e0  c14c9f90 eda6b240 00000001 00000007 ee001090 00000000 00002000 00000040
[117931.546534] 
[117931.546534] R7: 0xc4bdbf80:
[117931.546571] bf80  b5e868f8 b5e86930 00000001 c0109d44 c4bda000 00000000 b6bb7705 c01c83e4
[117931.546956] bfa0  b5e86930 c0109bc0 b5e86930 b5e868f8 00000000 000ff000 b5e868e0 00000008
[117931.547307] bfc0  b5e86930 b5e868f8 b5e86930 00000001 b5e86978 b6c25600 b67c4018 b6bb7705
[117931.547661] bfe0  00000078 b5e868f8 b6be309f b6bb2548 600f0010 00000000 00000000 00000000
[117931.548045] c000  00000002 00000002 00000000 e91ccb00 c14c5570 00000000 00000015 cea5f800
[117931.548429] c020  e91ccb00 ed0c0f00 c140e800 ed2bc300 00000000 c010225c c4bdde5c c4bdddb0
[117931.548813] c040  c0d5c434 00000000 00000000 00000000 00000000 00000000 01010000 00000000
[117931.549167] c060  937fe978 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[117931.549549] 
[117931.549549] R9: 0xc0309dc8:
[117931.549586] 9dc8  e3e00001 eafffff3 ebfadce9 ffdf62cc 00d59260 e16d41f0 e1a0300d e1a04001
[117931.549998] 9de8  e58d6008 e3c33d7f e58de00c e5902054 e3c3303f e593000c e59211e8 ebfb6501
[117931.550388] 9e08  e2506000 03e05001 1a000007 e594302c e3a00000 e283300c e7845103 e1cd40d0
[117931.550771] 9e28  e59d6008 e28dd00c e49df004 e59f302c e3a010d0 e79f3003 e5930000 ebfe94d4
[117931.551121] 9e48  e2505000 03e0500b 0affffef e59f1010 e1a02006 e08f1001 eb04fd74 eaffffea
[117931.551527] 9e68  ffdf6224 00d59188 e16d41fc e1a05003 e1cd81f0 e1a08001 e1a09002 e1cd60f8
[117931.551917] 9e88  e58de018 e24dd00c e590001c ebff127c e2504000 0a000025 ebff1231 e5840028
[117931.552268] 9ea8  e1a0000d ebfc2eff e1cd60d0 e1a00009 e3a01000 e1c464f4 e1c463f4 e1c463fc
[117931.552618] 
[117931.552618] R10: 0xc4bdbfa8:
[117931.552685] bfa8  b5e86930 b5e868f8 00000000 000ff000 b5e868e0 00000008 b5e86930 b5e868f8
[117931.553036] bfc8  b5e86930 00000001 b5e86978 b6c25600 b67c4018 b6bb7705 00000078 b5e868f8
[117931.553418] bfe8  b6be309f b6bb2548 600f0010 00000000 00000000 00000000 00000002 00000002
[117931.553799] c008  00000000 e91ccb00 c14c5570 00000000 00000015 cea5f800 e91ccb00 ed0c0f00
[117931.554176] c028  c140e800 ed2bc300 00000000 c010225c c4bdde5c c4bdddb0 c0d5c434 00000000
[117931.554527] c048  00000000 00000000 00000000 00000000 01010000 00000000 937fe978 00000000
[117931.554906] c068  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[117931.555289] c088  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[117931.555641] Process WifiStateMachin (pid: 2704, stack limit = 0xc4bdc2f0)
[117931.555680] Stack: (0xc4bddda8 to 0xc4bde000)
[117931.555749] dda0:                   00000000 c01c954c 577a71c1 c4bddef8 ee021ac5 00000316
[117931.555788] ddc0: c4bdde04 c4bdc000 ecd8a280 00000000 c4bdddfc c0309e48 00000000 ee021ac5
[117931.555857] dde0: c4bddef8 c02c0d28 c4bdde54 c03d8794 c4bdde14 00000000 577a71c1 ed220310
[117931.555927] de00: ecd8a280 ed220310 ecd8a280 99cf910b 00000004 ee021ac0 00000000 00000000
[117931.555966] de20: d9b7400a c4bddef8 c4bdde5c c4bdc000 00000000 00000000 c4bdde54 c02c0d78
[117931.556036] de40: 00000000 00000139 d8ccc3c0 c1419e38 c1412280 ed220310 c2e44280 ed220310
[117931.556105] de60: c2e44280 0074656e 00000003 d9b74006 c1419e38 00000000 c4bddf78 d9b74000
[117931.556174] de80: c4bdc000 ffffff9c c4bdc000 00000000 c4bddef8 c02c2a10 c4bddeb4 c02778c8
[117931.556214] dea0: 00000000 cd45e5e0 980b9000 00000000 cd45e5e0 00000000 00000000 c02797c8
[117931.556284] dec0: 00000000 00000400 00000000 00000001 c4bddf78 c4bddef8 d9b74000 ffffff9c
[117931.556354] dee0: c4bdc000 00000000 00000000 c02c2da0 00000041 c02f5434 ed220310 edc04180
[117931.556423] df00: dafc6204 dafc6198 dafc6198 e97883d0 edc04080 edc26020 00000011 00000002
[117931.556463] df20: 00000004 00000002 ea25ee80 ee021ac0 00000000 ffffff9c 0000011f e9d15e00
[117931.556531] df40: e18c5480 00000000 e9d15e40 00020000 00000000 d8ccc3c0 0000011f d9b74000
[117931.556601] df60: ffffff9c 00000001 c0109d44 c02b3f1c 00000000 d8cccc00 00020000 c02b0000
[117931.556670] df80: 00000024 00000100 e9d15e40 b6ca1d38 00000004 b6e23599 00000142 c0109d44
[117931.556709] dfa0: c4bdc000 c0109bc0 b6ca1d38 00000004 ffffff9c b6e23599 00020000 00000000
[117931.556779] dfc0: b6ca1d38 00000004 b6e23599 00000142 00000001 9eb3fcd8 000eb0ce 00000000
[117931.556849] dfe0: 13cbe820 937fe130 b6c2a095 b6c57530 600f0010 ffffff9c 00000000 00000000
[117931.556896] [<c02af210>] (kmem_cache_alloc+0x74/0x1e4) from [<c0309e48>] (proc_self_follow_link+0x6c/0x94)
[117931.556972] [<c0309e48>] (proc_self_follow_link+0x6c/0x94) from [<c02c0d28>] (link_path_walk+0x43c/0x8d8)
[117931.557045] [<c02c0d28>] (link_path_walk+0x43c/0x8d8) from [<c02c0d78>] (link_path_walk+0x48c/0x8d8)
[117931.557117] [<c02c0d78>] (link_path_walk+0x48c/0x8d8) from [<c02c2a10>] (path_openat+0xac/0x400)
[117931.557189] [<c02c2a10>] (path_openat+0xac/0x400) from [<c02c2da0>] (do_filp_open+0x3c/0xa4)
[117931.557261] [<c02c2da0>] (do_filp_open+0x3c/0xa4) from [<c02b3f1c>] (do_sys_open+0xf0/0x198)
[117931.557307] [<c02b3f1c>] (do_sys_open+0xf0/0x198) from [<c0109bc0>] (ret_fast_syscall+0x0/0x30)
[117931.557378] Code: e7985005 e3550000 0a000020 e5943014 (e795e003) 
[117931.563237] ---[ end trace d7316cdb6053180e ]---
[117931.563303] Kernel panic - not syncing: Fatal exception
[117931.563401] CPU3: stopping
[117931.563476] [<c0110ce8>] (unwind_backtrace+0x0/0x160) from [<c010fa1c>] (handle_IPI+0x1f8/0x234)
[117931.563577] [<c010fa1c>] (handle_IPI+0x1f8/0x234) from [<c0102950>] (gic_handle_irq+0xd0/0x134)
[117931.563638] [<c0102950>] (gic_handle_irq+0xd0/0x134) from [<c010995c>] (__irq_usr+0x3c/0x60)
[117931.563732] Exception stack(0xe84d9fb0 to 0xe84d9ff8)
[117931.563825] 9fa0:                                     aec236f4 aef39c88 00000003 00000000
[117931.563877] 9fc0: b3902a80 95a54900 aec236c0 aef39c88 aec236f4 aeeff694 aea97478 00000000
[117931.563968] 9fe0: b3623384 aeeff620 b362741f b3623380 80050010 ffffffff
[117931.564063] CPU2: stopping
[117931.564564] [<c0110ce8>] (unwind_backtrace+0x0/0x160) from [<c010fa1c>] (handle_IPI+0x1f8/0x234)
[117931.564688] [<c010fa1c>] (handle_IPI+0x1f8/0x234) from [<c0102950>] (gic_handle_irq+0xd0/0x134)
[117931.564747] [<c0102950>] (gic_handle_irq+0xd0/0x134) from [<c010995c>] (__irq_usr+0x3c/0x60)
[117931.564839] Exception stack(0xe863bfb0 to 0xe863bff8)
[117931.564929] bfa0:                                     00000000 b6c7288d b6c98600 00000040
[117931.564981] bfc0: 00000006 00000006 00002ed4 b4c56e40 1525f310 b4c76500 12c5c890 00000000
[117931.565072] bfe0: b6e7fe24 bef8fc38 b6e6eb5b b6c728ac 600f0030 ffffffff
[117932.565585] wcnss crash shutdown 0
[117932.565636] Rebooting in 5 seconds..
[117937.567241] Going down for restart now
[117937.567960] Calling SCM to disable SPMI PMIC arbiter
 
  • Like
Reactions: whitecloud93

whitecloud93

Member
Apr 30, 2015
9
0
0
Yes they are great but i am bad with reading logs. The camera driver trys to move the focus and than suddenly crashes with the following error. You tried already the cm13 nightlys ? Your kernel is some versios behind and maybe it is already fixed. It could be a hardware issue, too.

Code:
[117931.530603] [40000000] *pgd=00000000
[117931.530712] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[117931.530753] CPU: 0    Tainted: G        W     (3.4.110-cyanogenmod-g1babf5c #1)
[117931.530825] PC is at kmem_cache_alloc+0x74/0x1e4
[117931.530867] LR is at proc_self_follow_link+0x6c/0x94
[117931.530936] pc : [<c02af210>]    lr : [<c0309e48>]    psr: 20000013
[117931.530936] sp : c4bddda8  ip : 00000011  fp : 082452bc
[117931.531006] r10: c4bdc028  r9 : c0309e48  r8 : 0d651000
[117931.531043] r7 : c4bdc000  r6 : 000000d0  r5 : 40000000  r4 : ee002480
[117931.531111] r3 : 00000000  r2 : 00000000  r1 : 000000d0  r0 : ee002480
[117931.531149] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[117931.531218] Control: 10c5787d  Table: 2995006a  DAC: 00000015
[117931.531256] 
[117931.531256] PC: 0xc02af190:
[117931.531323] f190  ffe5103c ffe50fa4 ffe50f54 e16d42f4 e1a04000 e1cd60f8 e1a06001 e1cd81f0
[117931.531702] f1b0  e1a0900e e1cda1f8 e58de020 e24dd00c e1a0300d e3c3ad7f e3ca703f e5973004
[117931.532052] f1d0  e2833001 e5873004 e5945000 ee1d8f90 e0883005 e593b004 e5973004 e2433001
[117931.532436] f1f0  e5873004 e5973000 e3130002 1a00005c e7985005 e3550000 0a000020 e5943014
[117931.532819] f210  e795e003 e10fc000 f10c0080 e5942000 e3a01000 ee1d0f90 e1a03002 e7908003
[117931.533176] f230  e1550008 0a000042 e121f00c e3510000 0affffe1 e5943014 f7def003 e3160902
[117931.533563] f250  1a000018 e5947010 e59f311c e594800c e79f3003 e5932004 e3520000 1a000018
[117931.533949] f270  e1a00005 e28dd00c e1cd40d0 e1cd60d8 e1cd81d0 e1cda1d8 e28dd020 e49df004
[117931.534333] 
[117931.534333] LR: 0xc0309dc8:
[117931.534370] 9dc8  e3e00001 eafffff3 ebfadce9 ffdf62cc 00d59260 e16d41f0 e1a0300d e1a04001
[117931.534751] 9de8  e58d6008 e3c33d7f e58de00c e5902054 e3c3303f e593000c e59211e8 ebfb6501
[117931.535134] 9e08  e2506000 03e05001 1a000007 e594302c e3a00000 e283300c e7845103 e1cd40d0
[117931.535499] 9e28  e59d6008 e28dd00c e49df004 e59f302c e3a010d0 e79f3003 e5930000 ebfe94d4
[117931.535911] 9e48  e2505000 03e0500b 0affffef e59f1010 e1a02006 e08f1001 eb04fd74 eaffffea
[117931.536295] 9e68  ffdf6224 00d59188 e16d41fc e1a05003 e1cd81f0 e1a08001 e1a09002 e1cd60f8
[117931.536651] 9e88  e58de018 e24dd00c e590001c ebff127c e2504000 0a000025 ebff1231 e5840028
[117931.537036] 9ea8  e1a0000d ebfc2eff e1cd60d0 e1a00009 e3a01000 e1c464f4 e1c463f4 e1c463fc
[117931.537423] 
[117931.537423] SP: 0xc4bddd28:
[117931.537461] dd28  00001678 dafc74b0 c16a6ee4 dafc74b0 00040053 00000000 c02af210 20000013
[117931.537814] dd48  ffffffff c4bddd94 0d651000 c0309e48 c4bdc028 c0109718 ee002480 000000d0
[117931.538194] dd68  00000000 00000000 ee002480 40000000 000000d0 c4bdc000 0d651000 c0309e48
[117931.538579] dd88  c4bdc028 082452bc 00000011 c4bddda8 c0309e48 c02af210 20000013 ffffffff
[117931.538932] dda8  00000000 c01c954c 577a71c1 c4bddef8 ee021ac5 00000316 c4bdde04 c4bdc000
[117931.539317] ddc8  ecd8a280 00000000 c4bdddfc c0309e48 00000000 ee021ac5 c4bddef8 c02c0d28
[117931.539699] dde8  c4bdde54 c03d8794 c4bdde14 00000000 577a71c1 ed220310 ecd8a280 ed220310
[117931.540104] de08  ecd8a280 99cf910b 00000004 ee021ac0 00000000 00000000 d9b7400a c4bddef8
[117931.540492] 
[117931.540492] R0: 0xee002400:
[117931.540560] 2400  c140efc0 00000000 00000005 00000800 00000800 00000000 00000006 00030010
[117931.540907] 2420  00030010 00000002 00004000 00000002 00000000 00000800 00000040 00000000
[117931.541286] 2440  ee000180 ee0023c4 ee0024c4 eda6b7c0 ee0023d0 ee0024d0 eda1464c eda14640
[117931.541663] 2460  c14c9f90 eda6b840 00000001 00000007 ee001080 00001002 00000000 00000000
[117931.542042] 2480  c140efd8 00000000 00000006 00001000 00001000 00000000 00000002 00030008
[117931.542390] 24a0  00030008 00000001 00004000 00000004 00000000 00001000 00000040 00000000
[117931.542742] 24c0  ee0001c0 ee002444 ee002544 eda6b1c0 ee002450 ee002550 eda1464c eda14640
[117931.543126] 24e0  c14c9f90 eda6b240 00000001 00000007 ee001090 00000000 00002000 00000040
[117931.543479] 
[117931.543479] R4: 0xee002400:
[117931.543547] 2400  c140efc0 00000000 00000005 00000800 00000800 00000000 00000006 00030010
[117931.543935] 2420  00030010 00000002 00004000 00000002 00000000 00000800 00000040 00000000
[117931.544285] 2440  ee000180 ee0023c4 ee0024c4 eda6b7c0 ee0023d0 ee0024d0 eda1464c eda14640
[117931.544669] 2460  c14c9f90 eda6b840 00000001 00000007 ee001080 00001002 00000000 00000000
[117931.545023] 2480  c140efd8 00000000 00000006 00001000 00001000 00000000 00000002 00030008
[117931.545407] 24a0  00030008 00000001 00004000 00000004 00000000 00001000 00000040 00000000
[117931.545762] 24c0  ee0001c0 ee002444 ee002544 eda6b1c0 ee002450 ee002550 eda1464c eda14640
[117931.546148] 24e0  c14c9f90 eda6b240 00000001 00000007 ee001090 00000000 00002000 00000040
[117931.546534] 
[117931.546534] R7: 0xc4bdbf80:
[117931.546571] bf80  b5e868f8 b5e86930 00000001 c0109d44 c4bda000 00000000 b6bb7705 c01c83e4
[117931.546956] bfa0  b5e86930 c0109bc0 b5e86930 b5e868f8 00000000 000ff000 b5e868e0 00000008
[117931.547307] bfc0  b5e86930 b5e868f8 b5e86930 00000001 b5e86978 b6c25600 b67c4018 b6bb7705
[117931.547661] bfe0  00000078 b5e868f8 b6be309f b6bb2548 600f0010 00000000 00000000 00000000
[117931.548045] c000  00000002 00000002 00000000 e91ccb00 c14c5570 00000000 00000015 cea5f800
[117931.548429] c020  e91ccb00 ed0c0f00 c140e800 ed2bc300 00000000 c010225c c4bdde5c c4bdddb0
[117931.548813] c040  c0d5c434 00000000 00000000 00000000 00000000 00000000 01010000 00000000
[117931.549167] c060  937fe978 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[117931.549549] 
[117931.549549] R9: 0xc0309dc8:
[117931.549586] 9dc8  e3e00001 eafffff3 ebfadce9 ffdf62cc 00d59260 e16d41f0 e1a0300d e1a04001
[117931.549998] 9de8  e58d6008 e3c33d7f e58de00c e5902054 e3c3303f e593000c e59211e8 ebfb6501
[117931.550388] 9e08  e2506000 03e05001 1a000007 e594302c e3a00000 e283300c e7845103 e1cd40d0
[117931.550771] 9e28  e59d6008 e28dd00c e49df004 e59f302c e3a010d0 e79f3003 e5930000 ebfe94d4
[117931.551121] 9e48  e2505000 03e0500b 0affffef e59f1010 e1a02006 e08f1001 eb04fd74 eaffffea
[117931.551527] 9e68  ffdf6224 00d59188 e16d41fc e1a05003 e1cd81f0 e1a08001 e1a09002 e1cd60f8
[117931.551917] 9e88  e58de018 e24dd00c e590001c ebff127c e2504000 0a000025 ebff1231 e5840028
[117931.552268] 9ea8  e1a0000d ebfc2eff e1cd60d0 e1a00009 e3a01000 e1c464f4 e1c463f4 e1c463fc
[117931.552618] 
[117931.552618] R10: 0xc4bdbfa8:
[117931.552685] bfa8  b5e86930 b5e868f8 00000000 000ff000 b5e868e0 00000008 b5e86930 b5e868f8
[117931.553036] bfc8  b5e86930 00000001 b5e86978 b6c25600 b67c4018 b6bb7705 00000078 b5e868f8
[117931.553418] bfe8  b6be309f b6bb2548 600f0010 00000000 00000000 00000000 00000002 00000002
[117931.553799] c008  00000000 e91ccb00 c14c5570 00000000 00000015 cea5f800 e91ccb00 ed0c0f00
[117931.554176] c028  c140e800 ed2bc300 00000000 c010225c c4bdde5c c4bdddb0 c0d5c434 00000000
[117931.554527] c048  00000000 00000000 00000000 00000000 01010000 00000000 937fe978 00000000
[117931.554906] c068  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[117931.555289] c088  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[117931.555641] Process WifiStateMachin (pid: 2704, stack limit = 0xc4bdc2f0)
[117931.555680] Stack: (0xc4bddda8 to 0xc4bde000)
[117931.555749] dda0:                   00000000 c01c954c 577a71c1 c4bddef8 ee021ac5 00000316
[117931.555788] ddc0: c4bdde04 c4bdc000 ecd8a280 00000000 c4bdddfc c0309e48 00000000 ee021ac5
[117931.555857] dde0: c4bddef8 c02c0d28 c4bdde54 c03d8794 c4bdde14 00000000 577a71c1 ed220310
[117931.555927] de00: ecd8a280 ed220310 ecd8a280 99cf910b 00000004 ee021ac0 00000000 00000000
[117931.555966] de20: d9b7400a c4bddef8 c4bdde5c c4bdc000 00000000 00000000 c4bdde54 c02c0d78
[117931.556036] de40: 00000000 00000139 d8ccc3c0 c1419e38 c1412280 ed220310 c2e44280 ed220310
[117931.556105] de60: c2e44280 0074656e 00000003 d9b74006 c1419e38 00000000 c4bddf78 d9b74000
[117931.556174] de80: c4bdc000 ffffff9c c4bdc000 00000000 c4bddef8 c02c2a10 c4bddeb4 c02778c8
[117931.556214] dea0: 00000000 cd45e5e0 980b9000 00000000 cd45e5e0 00000000 00000000 c02797c8
[117931.556284] dec0: 00000000 00000400 00000000 00000001 c4bddf78 c4bddef8 d9b74000 ffffff9c
[117931.556354] dee0: c4bdc000 00000000 00000000 c02c2da0 00000041 c02f5434 ed220310 edc04180
[117931.556423] df00: dafc6204 dafc6198 dafc6198 e97883d0 edc04080 edc26020 00000011 00000002
[117931.556463] df20: 00000004 00000002 ea25ee80 ee021ac0 00000000 ffffff9c 0000011f e9d15e00
[117931.556531] df40: e18c5480 00000000 e9d15e40 00020000 00000000 d8ccc3c0 0000011f d9b74000
[117931.556601] df60: ffffff9c 00000001 c0109d44 c02b3f1c 00000000 d8cccc00 00020000 c02b0000
[117931.556670] df80: 00000024 00000100 e9d15e40 b6ca1d38 00000004 b6e23599 00000142 c0109d44
[117931.556709] dfa0: c4bdc000 c0109bc0 b6ca1d38 00000004 ffffff9c b6e23599 00020000 00000000
[117931.556779] dfc0: b6ca1d38 00000004 b6e23599 00000142 00000001 9eb3fcd8 000eb0ce 00000000
[117931.556849] dfe0: 13cbe820 937fe130 b6c2a095 b6c57530 600f0010 ffffff9c 00000000 00000000
[117931.556896] [<c02af210>] (kmem_cache_alloc+0x74/0x1e4) from [<c0309e48>] (proc_self_follow_link+0x6c/0x94)
[117931.556972] [<c0309e48>] (proc_self_follow_link+0x6c/0x94) from [<c02c0d28>] (link_path_walk+0x43c/0x8d8)
[117931.557045] [<c02c0d28>] (link_path_walk+0x43c/0x8d8) from [<c02c0d78>] (link_path_walk+0x48c/0x8d8)
[117931.557117] [<c02c0d78>] (link_path_walk+0x48c/0x8d8) from [<c02c2a10>] (path_openat+0xac/0x400)
[117931.557189] [<c02c2a10>] (path_openat+0xac/0x400) from [<c02c2da0>] (do_filp_open+0x3c/0xa4)
[117931.557261] [<c02c2da0>] (do_filp_open+0x3c/0xa4) from [<c02b3f1c>] (do_sys_open+0xf0/0x198)
[117931.557307] [<c02b3f1c>] (do_sys_open+0xf0/0x198) from [<c0109bc0>] (ret_fast_syscall+0x0/0x30)
[117931.557378] Code: e7985005 e3550000 0a000020 e5943014 (e795e003) 
[117931.563237] ---[ end trace d7316cdb6053180e ]---
[117931.563303] Kernel panic - not syncing: Fatal exception
[117931.563401] CPU3: stopping
[117931.563476] [<c0110ce8>] (unwind_backtrace+0x0/0x160) from [<c010fa1c>] (handle_IPI+0x1f8/0x234)
[117931.563577] [<c010fa1c>] (handle_IPI+0x1f8/0x234) from [<c0102950>] (gic_handle_irq+0xd0/0x134)
[117931.563638] [<c0102950>] (gic_handle_irq+0xd0/0x134) from [<c010995c>] (__irq_usr+0x3c/0x60)
[117931.563732] Exception stack(0xe84d9fb0 to 0xe84d9ff8)
[117931.563825] 9fa0:                                     aec236f4 aef39c88 00000003 00000000
[117931.563877] 9fc0: b3902a80 95a54900 aec236c0 aef39c88 aec236f4 aeeff694 aea97478 00000000
[117931.563968] 9fe0: b3623384 aeeff620 b362741f b3623380 80050010 ffffffff
[117931.564063] CPU2: stopping
[117931.564564] [<c0110ce8>] (unwind_backtrace+0x0/0x160) from [<c010fa1c>] (handle_IPI+0x1f8/0x234)
[117931.564688] [<c010fa1c>] (handle_IPI+0x1f8/0x234) from [<c0102950>] (gic_handle_irq+0xd0/0x134)
[117931.564747] [<c0102950>] (gic_handle_irq+0xd0/0x134) from [<c010995c>] (__irq_usr+0x3c/0x60)
[117931.564839] Exception stack(0xe863bfb0 to 0xe863bff8)
[117931.564929] bfa0:                                     00000000 b6c7288d b6c98600 00000040
[117931.564981] bfc0: 00000006 00000006 00002ed4 b4c56e40 1525f310 b4c76500 12c5c890 00000000
[117931.565072] bfe0: b6e7fe24 bef8fc38 b6e6eb5b b6c728ac 600f0030 ffffffff
[117932.565585] wcnss crash shutdown 0
[117932.565636] Rebooting in 5 seconds..
[117937.567241] Going down for restart now
[117937.567960] Calling SCM to disable SPMI PMIC arbiter
Sorry for the late reply :/ I've tried flashing other roms with updated kernels, such as the CM13 nightlies with kernel 3.4 from here:
http://forum.xda-developers.com/one...m-kernel-unofficial-cyanogenmod-13-0-t3242700

The camera still crashes the device after it is being activated ><
 

kamikaze666

Senior Member
Nov 9, 2010
97
24
28
Bucharest
Have you tried SultanXDA's build? From the looks of it, I'm 85-90% sure this is a software issue, not hardware (since you already changed the battery and camera) so try Sultan's build. He modded the camera HAL a lot so it might help.

Let us know how it works.

Sent from my OnePlus One using XDA Labs
 
  • Like
Reactions: whitecloud93

whitecloud93

Member
Apr 30, 2015
9
0
0
Have you tried SultanXDA's build? From the looks of it, I'm 85-90% sure this is a software issue, not hardware (since you already changed the battery and camera) so try Sultan's build. He modded the camera HAL a lot so it might help.

Let us know how it works.

Sent from my OnePlus One using XDA Labs

Thanks for the quick reply! :)
I've clean flashed SultanXDA's build from the link below, both the latest build and the stable build:
http://forum.xda-developers.com/one...m-kernel-unofficial-cyanogenmod-13-0-t3242700

In both builds, my OPO is able to launch the camera and took a few photos. However, after using the phone for awhile, the device will reboot itself again :/

One thing noticeable however, is that the time between the camera launch and the reboot is much longer in this Sultan rom (as compared to other roms like cm13).
 
Last edited:

whitecloud93

Member
Apr 30, 2015
9
0
0
I have done the following today, but the problem still persist:

1. Full wipe (includes data, cache, dalvik cache, system and internal memory)
2. Fastboot install stock image from the 'Oneplus One return to 100% stock' forum thread

Upon launching the camera, the device will reboot a few seconds later D:

Just curious - is it possible to uninstall the stock camera and install a third party camera app? It might be a possible workaround through this problem :eek:
 
Last edited: