Sudden Shutdown (N900) - Galaxy Note 3 Q&A, Help & Troubleshooting

Hello there,
I own a Samsung Note 3 N900. Right now I'm using the unofficial Cyanogenmod 13.1 (lastest version). The phone works amazing with that rom, but from time to time it shutdowns and the only way to power it on again is connecting it to the charger. 99% of the times this issue happened to me I was using a camera app (B612). I do not remember if this happened with any other app.
Last time this happened the battery was about 55%.
Here is the last_kmsg.
Code:
[ 0.000000] [B0: swapper: 0] clkout: bad source 0
[ 0.000000] [B0: swapper: 0] s3c_register_clksrc: clock sclk_hsic_12m has no registers set
[ 0.000000] [B0: swapper: 0] clkout: bad source 0
[ 0.000000] [B0: swapper: 0] (sec_debug_set_upload_magic) 66262564
[ 0.000000] [B0: swapper: 0] (sec_debug_set_upload_cause) cafebabe
[ 0.115919] [B0: swapper/0: 1] gpio: GPZ has no PM function
[ 0.141673] [B0: swapper/0: 1] synaptics_verify_panel_revision: panel_revision: 4, lcdtype: 0x404024, touch_type: 4, el_type: M4, h_sync: OK, ddi_type: SDC, charger_noti_type: GPIO
[ 0.141792] [B0: swapper/0: 1] synaptics_tsp_init: disable TSP for lpm
[ 0.152001] [B0: swapper/0: 1] [exynos5_universal5420_fpga_init] initialization start!
[ 0.152370] [B0: swapper/0: 1] irda_device_init called!
[ 0.152434] [B0: swapper/0: 1] irda_device_init complete
[ 0.160401] [B0: swapper/0: 1] PM DOMAIN : cant find clock, to add power domain
[ 0.161700] [B0: swapper/0: 1] PM DOMAIN : platform_device has not platform bus
[ 0.167184] [B0: swapper/0: 1] Exynos5420 ASV : invalid IDS value
[ 0.931278] [B0: swapper/0: 1] s3c-i2c s3c2440-i2c.0: no platform data
[ 0.957632] [B0: swapper/0: 1] exynos5-i2c exynos5-hs-i2c.4: no platform data
[ 1.100436] I[B0: swapper/0: 1] gps_host_wake_isr GPS pin level[Low]
[ 1.100888] [B0: swapper/0: 1] s3c-adc samsung-adc-v5: operating without regulator "vdd" .
[ 1.342723] [B2: swapper/0: 1] s5p-hdmi exynos5-hdmi: Set HDMI phy power off
[ 1.364742] [B2: swapper/0: 1] exynos5-jpeg-hx exynos5-jpeg-hx.0: jpeg-hx.0 registered successfully
[ 1.366459] [B2: swapper/0: 1] exynos5-jpeg-hx exynos5-jpeg-hx.1: jpeg-hx.1 registered successfully
[ 1.371667] [B2: swapper/0: 1] w1_uevent master_dev name = w1_bus_master1
[ 1.410415] [B0: swapper/0: 1] max77803_led_setup: leds-sec1, 0x3d
[ 1.415644] [B0: swapper/0: 1] max77803_led_setup: torch-sec1, 0x6
[ 1.456784] [B1: swapper/0: 1] sec_hal_fg_get_property: Fail to get psy (battery)
[ 1.456930] [B1: swapper/0: 1] max17048_get_current: Fail to get psy (sec-charger)
[ 1.457136] [B1: swapper/0: 1] max17048_get_current_average: Fail to get psy (sec-charger)
[ 1.457340] [B1: swapper/0: 1] max17048_get_current_average: Fail to get psy (battery)
[ 1.459937] [B1: swapper/0: 1] sec-fuelgauge 18-0036: sec_fg_get_atomic_capacity: capacity (old 0 : new 55)
[ 1.461324] [B1: kworker/1:1: 1058] sec_hal_fg_get_property: Fail to get psy (battery)
[ 1.461528] [B1: kworker/1:1: 1058] max17048_get_current: Fail to get psy (sec-charger)
[ 1.461670] [B1: kworker/1:1: 1058] max17048_get_current_average: Fail to get psy (sec-charger)
[ 1.461876] [B1: kworker/1:1: 1058] max17048_get_current_average: Fail to get psy (battery)
[ 1.464472] [B1: kworker/1:1: 1058] sec-fuelgauge 18-0036: sec_fg_get_atomic_capacity: capacity (old 0 : new 55)
[ 1.488637] [B2: swapper/0: 1] max77803_get_health_state: Fail to get psy (battery)
[ 1.494548] [B2: kworker/2:1: 1100] max77803_get_health_state: Fail to get psy (battery)
[ 1.615659] [B0: swapper/0: 1] mif: modem_probe: mif_sipc5
[ 1.617839] [B0: swapper/0: 1] mif: modem_probe: link created: usb
[ 1.621492] [B0: swapper/0: 1] mif: sipc5_init_io_device: dm_state : umts_dm0, sucess
[ 3.068267] [B0: kworker/0:2: 1402] max77803_muic_charger_cb: fail to get battery/ps psy
[ 3.342529] [B3: swapper/0: 1] sec-battery sec-battery: sec_battery_probe: Failed to Enable Wakeup Source(-6)
[ 3.347229] [B0: swapper/0: 1] [brcm_wlan_power] Bluetooth Power On.
[ 3.506013] [B3: swapper/0: 1] [brcm_wlan_power] Bluetooth Power Off.
[ 3.721253] [B0: swapper/0: 1] mmc_force_presence_change: called for device exynos5_device_dwmci1
[ 4.041973] I[B0: kworker/u:1: 21] dw_mmc dw_mmc.1: Start bit error (status=00002004)
[ 4.042526] I[B0: kworker/u:1: 21] dw_mmc dw_mmc.1: data CRC error
[ 4.483147] [B0: init: 1] init: waitpid failed: No child processes
[ 4.494174] [B0: init: 1] init: SELinux: Could not get canonical path /adb_keys restorecon: No such file or directory.
[ 4.592668] [B0: ueventd: 1529] w1_uevent master_dev name = w1_bus_master1
[ 5.387178] [B1: init: 1] init: /dev/hw_random not found
[ 5.510084] [B1: init: 1] init: /dev/hw_random not found
[ 5.514444] [B1: init: 1] init: service 'console' requires console
[ 5.753476] [B3: healthd: 2247] healthd: wakealarm_init: timerfd_create failed
[ 5.764657] [B3: healthd: 2247] charger: Could not open blink file
[ 9.882116] [B1: healthd: 2247] SysRq : Emergency Remount R/O
[ 9.882897] [B1: healthd: 2247] (sec_debug_set_upload_magic) 0
[ 10.165225] [B0: healthd: 2247] Restarting system.
[ 10.165442] [B0: healthd: 2247] sec_reboot (104, (null))
No errors detected
Last reset was reset (RST_STAT=0x800)

I have the same issue with my n900
It's an issue with the cpu
You should change the ROM and go back to a TouchWiz ROM because the cm is tiring up your cpu
If the problem still there you have to change the battery but do not use cm again otherwise you will face the same problem again
I think our note 3 has had enough and we must change it but right now I can't afford a new device
I hope somebody will develope a TouchWiz based marshmallow ROM soon

Related

Phone Bricked Itself?

This is really weird. I am not sure what to do at this point. Here is the rundown on what happened:
I used the phone today, made phone calls, everything was fine. It was just sitting on my desk and then I got a call so I went to go answer it. When I tried to press answer, nothing happened. None of my other buttons would work either. I powered the phone off and rebooted it. It booted to the recovery image and is still stuck there.
I was running RC29 1.0 just followed the tutorial here http://forum.xda-developers.com/showthread.php?t=442480 to root it when I first got it and stopped installing the SPL. I had been thinking about upgrading to JF1.51 anyway so I thought this would be a good opportunity to force me to do it. I downloaded the new radio and the ROM. I installed both and the updates said they completed correctly. It still boots to the recovery image every time I turn it on.
For some more info, the phone will not reboot by pressing Home+Back like the recovery image says it should, I have to pull the battery to get it to turn off. Also, I can use adb to run commands on the phone.
Does anyone have any advice on where to go from here?? I've done a crap-ton of searching on here and across the internet and haven't been able to find much. If you need any more information on the situation please let me know. I would REALLY appreciate the help.
Your phone isn't bricked, so don't worry. Start over fresh from rooting, installing the DREAMIMG.nbh and the SPL. Follow the instruction carefully, and remember, Nandroid is your friend, so use it often.
Thanks for the look. I tried to do the process over again but holding down the camera button while powering on the phone will not bring me to the bootloader menu. It boots into the recovery utility every time.
Any other suggestions?
I still can't get anywhere with it? Does anyone have an idea on how I can get it into the bootloader?
Sorry for the huge post, but here is the dmesg output:
Code:
/ # dmesg
dmesg
[ 0.000000] Linux version 2.6.25-01843-gfea26b0 ([email protected]) (gc
c version 4.2.1) #5 PREEMPT Sun Nov 16 03:48:59 UTC 2008
[ 0.000000] CPU: ARMv6-compatible processor [4117b362] revision 2 (ARMv6TEJ),
cr=00c5387f
[ 0.000000] Machine: trout
[ 0.000000] AKM Data size = 1018 , 0x89768976, size = 4064
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 25856
[ 0.000000] DMA zone: 202 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 25654 pages, LIFO batch:7
[ 0.000000] Normal zone: 0 pages used for memmap
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] trout_init_map_io()
[ 0.000000] clock_init()
[ 0.000000] ACPU running at 384000 KHz
[ 0.000000] WARNING - Bad VDD (0 != 3) for this freq
[ 0.000000] CPU0: D VIPT write-back cache
[ 0.000000] CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 s
ets
[ 0.000000] CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 s
ets
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 25654
[ 0.000000] Kernel command line: board_trout.disable_uart3=0 board_trout.usb_
h2w_sw=0 board_trout.disable_sdcard=0 board_trout.smisize=64 androidboot.baseba
nd=1.22.12.29 androidboot.bootloader=0.95.3000 androidboot.carrier=TMUS board_tr
out.keycaps=qwerty androidboot.mode=recovery androidboot.serialno=HT842GZ02076
[ 0.000000] Unknown boot option `board_trout.smisize=64': ignoring
[ 0.000000] Unknown boot option `androidboot.baseband=1.22.12.29': ignoring
[ 0.000000] Unknown boot option `androidboot.bootloader=0.95.3000': ignoring
[ 0.000000] Unknown boot option `androidboot.carrier=TMUS': ignoring
[ 0.000000] Unknown boot option `androidboot.mode=recovery': ignoring
[ 0.000000] trout_init_irq()
[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.010000] Memory: 101MB = 101MB total
[ 0.010000] Memory: 97536KB available (2608K code, 760K data, 100K init)
[ 0.010000] Calibrating delay loop... 383.38 BogoMIPS (lpj=1916928)
[ 0.230000] Mount-cache hash table entries: 512
[ 0.230000] CPU: Testing write buffer coherency: ok
[ 0.230000] net_namespace: 440 bytes
[ 0.230000] NET: Registered protocol family 16
[ 0.230000] trout_init() revision=128
[ 0.240000] trout_init: cpld_usb_hw2_sw = 0
[ 0.240000] trout_gpio_irq_handler: got masked interrupt: 0:84
[ 0.340000] msm_i2c_probe
[ 0.340000] msm_i2c_probe: clk_ctl 35d, 100000 Hz
[ 0.380000] Bluetooth: Core ver 2.11
[ 0.380000] NET: Registered protocol family 31
[ 0.380000] Bluetooth: HCI device and connection manager initialized
[ 0.380000] Bluetooth: HCI socket layer initialized
[ 0.380000] NET: Registered protocol family 2
[ 0.390091] Switched to high resolution mode on CPU 0
[ 0.470671] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.472838] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.473326] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.473601] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.473662] TCP reno registered
[ 0.501586] Unpacking initramfs... done
[ 1.052929] Freeing initrd memory: 1305K
[ 1.055554] Registered led device: lcd-backlight
[ 1.056195] smd_init()
[ 1.056286] smd_core_init()
[ 1.056530] smd_alloc_channel() 'SMD_RPCCALL' cid=2, shared=e010d9a0
[ 1.056927] smd_alloc_channel() 'SMD_DATA5' cid=11, shared=e0119a18
[ 1.057263] smd_alloc_channel() 'SMD_DATA6' cid=12, shared=e011da40
[ 1.057568] smd_alloc_channel() 'SMD_DATA7' cid=13, shared=e0121a68
[ 1.057873] smd_alloc_channel() 'SMD_DATA11' cid=17, shared=e01119c8
[ 1.058178] smd_alloc_channel() 'SMD_GPSNMEA' cid=27, shared=e0131b08
[ 1.058483] smd_alloc_channel() 'SMD_CS_A2M' cid=33, shared=e01159f0
[ 1.058758] smd_alloc_channel() 'SMD_DATA5_CNTL' cid=38, shared=e0125a90
[ 1.059063] smd_alloc_channel() 'SMD_DATA6_CNTL' cid=39, shared=e0129ab8
[ 1.059338] smd_alloc_channel() 'SMD_DATA7_CNTL' cid=40, shared=e012dae0
[ 1.059674] smd_core_init() done
[ 1.062441] SMD: ch 2 OPENING -> OPENED
[ 1.064241] hw3d: 0 init
[ 1.064760] msm_perf_init():
[ 1.066469] H2W: Registering H2W (headset) driver
[ 1.069033] input: h2w headset as /class/input/input0
[ 1.082502] RPC_TIME_TOD_SET_APPS_BASES:
[ 1.082532] tick = 343159
[ 1.082532] stamp = 3858764230
[ 1.084577] ashmem: initialized
[ 1.086134] yaffs Nov 16 2008 03:47:51 Installing.
[ 1.086317] io scheduler noop registered
[ 1.086408] io scheduler anticipatory registered (default)
[ 1.087324] logger: created 64K log 'log_main'
[ 1.087598] logger: created 256K log 'log_events'
[ 1.087873] logger: created 64K log 'log_radio'
[ 1.088087] ram_console: got buffer at 16d00000, size 20000
[ 1.088697] ram_console: uncorrectable error in header
[ 1.088880] ram_console: no valid data in buffer (sig = 0xffffffff)
[ 1.088941] console [ram-1] enabled
[ 1.091739] pmem: 1 init
[ 1.092807] pmem_adsp: 0 init
[ 1.094028] pmem_gpu0: 0 init
[ 1.095676] pmem_gpu1: 0 init
[ 1.100915] pmem_camera: 0 init
[ 1.102777] mddi_pmdh: init() base=0xe000b000 irq=16
[ 1.109307] get_smem_clock: state 10429 clock 0
[ 1.130000] smd_alloc_channel() 'SMD_DS' cid=0, shared=e0135b38
[ 1.130457] smd_alloc_channel() cid 7 does not exist
[ 1.131373] smd_alloc_channel() 'SMD_DATA2' cid=8, shared=e013db88
[ 1.132258] smd_alloc_channel() 'SMD_DATA3' cid=9, shared=e0141bb0
[ 1.133356] smd_alloc_channel() 'SMD_DATA4' cid=10, shared=e0145bd8
[ 1.140305] mddi cmd send rtd: int 3a000, stat 8063, rtd val d
[ 1.160793] mddi_pmdh: publish: mddi_c_d263_0000
[ 1.162960] vsync on gpio 97 now 0
[ 1.163601] mddi_pmdh: mddi_add_panel(c035f5e0, c02c2660)
[ 1.163967] mddi_pmdh: publish: mddi_panel
[ 1.164974] msmfb_probe() installing 320 x 480 panel
[ 1.200976] msm_serial: detected port #0
[ 1.201586] msm_serial.0: ttyMSM0 at MMIO 0xa9a00000 (irq = 9) is a MSM
[ 1.203051] msm_serial: driver initialized
[ 1.205340] loop: module loaded
[ 1.206011] PPP generic driver version 2.4.2
[ 1.206622] PPP Deflate Compression module registered
[ 1.207019] PPP BSD Compression module registered
[ 1.217568] allocated dma buffer at ffc01000, dma_addr 163db000
[ 1.218178] read CFG0 = aad400c0, CFG1 = 4745c
[ 1.218789] CFG0 = e8d408c0, CFG1 = 4745c
[ 1.219124] CFG0: cw/page=3 ud_sz=516 ecc_sz=10 spare_sz=1 num_addr_cycles=5
[ 1.219765] NAND_READ_ID = 1500aaec
[ 1.220152] status: c03120
[ 1.220518] nandid: 1500aaec maker ec device aa
[ 1.221129] CFG0: cw/page=3 ud_sz=512 ecc_sz=10 spare_sz=5
[ 1.221525] DEV_CMD1: f00f3000
[ 1.221861] NAND_EBI2_ECC_BUF_CFG: 1ff
[ 1.222441] flash_id: 1500aaec size 10000000
[ 1.222777] Creating 6 MTD partitions on "msm_nand":
[ 1.223387] 0x024c0000-0x02500000 : "misc"
[ 1.224608] 0x026c0000-0x02bc0000 : "recovery"
[ 1.225798] 0x02bc0000-0x02e40000 : "boot"
[ 1.227141] 0x02e40000-0x071c0000 : "system"
[ 1.228392] 0x071c0000-0x0b540000 : "cache"
[ 1.229643] 0x0b540000-0x10000000 : "userdata"
[ 1.231586] usb_probe() io=c6806000, irq=47, dma=ffc02000(163e5000)
[ 1.232929] usb_function_register() 'adb'
[ 1.233845] usb_function_register() 'usb_mass_storage'
[ 1.234211] msm_hsusb: functions bound. starting.
[ 1.234791] usb_bind_func() 'usb_mass_storage'
[ 1.235645] usb_mass_storage usb_mass_storage: Number of LUNs=1
[ 1.236042] usb_bind_func() 'adb'
[ 1.236622] adb_bind() c63d7874, c63d7a34
[ 1.237049] adb_bind() allocated 4 rx and 4 tx requests
[ 1.238453] usb_function_register() 'diag'
[ 1.239399] mice: PS/2 mouse device common for all mice
[ 1.240122] hsusb: IDLE -> ONLINE
[ 1.240793] hsusb: reset controller
[ 1.290122] ulpi: write 0x40 to 0x31
[ 1.290518] ulpi: write 0x1d to 0x0d
/ #
Looking at the Kernel Command Line message at the top makes it look like the phone doesn't know what any of the android.boot commands do so it defaults to recovery. Why would it be doing this?
the last post was too long to fix everything. here is the rest:
Code:
[ 1.291068] ulpi: write 0x1d to 0x10
[ 1.291403] ept #0 out max:64 head:ffc02000 bit:0
[ 1.291739] ept #1 out max:512 head:ffc02080 bit:1
[ 1.292288] ept #2 out max:512 head:ffc02100 bit:2
[ 1.292624] ept #0 in max:64 head:ffc02040 bit:16
[ 1.293204] ept #1 in max:512 head:ffc020c0 bit:17
[ 1.293540] ept #2 in max:512 head:ffc02140 bit:18
[ 1.293997] usb: notify offline
[ 1.294669] hsusb: ONLINE -> OFFLINE
[ 1.300610] msm_i2c msm_i2c.0: Error during data xfer (-5)
[ 1.311373] synaptics_ts_probe: Product Major Version 1
[ 1.313021] synaptics_ts_probe: Product Minor Version c
[ 1.314669] synaptics_ts_probe: product property 2
[ 1.316469] synaptics_ts_probe: device control 81
[ 1.318026] synaptics_ts_probe: interrupt enable 3
[ 1.320000] synaptics_ts_probe: 0xe0: 1 1 1 2 1 c 0 0
[ 1.320000] synaptics_ts_probe: max_x 3480, max_y 5368
[ 1.320000] synaptics_ts_probe: inactive_x -80 -80, inactive_y -32 -32
[ 1.320000] synaptics_ts_probe: snap_x 240-248 240-248, snap_y 80-88 80-88
[ 1.320000] input: synaptics-rmi-touchscreen as /class/input/input1
[ 1.370854] synaptics_ts_probe: Start touchscreen synaptics-rmi-touchscreen i
n interrupt mode
[ 1.371770] GPIO Event Driver
[ 1.372716] GPIO Keypad Driver: Start keypad matrix for trout-keypad-v3 in in
terrupt mode
[ 1.373692] No IRQF_TRIGGER set_type function for IRQ 191 (troutgpio)
[ 1.374364] No IRQF_TRIGGER set_type function for IRQ 192 (troutgpio)
[ 1.374852] GPIO Input Driver: Start gpio inputs for trout-keypad-v3 in inter
rupt mode
[ 1.375584] No IRQF_TRIGGER set_type function for IRQ 188 (troutgpio)
[ 1.376103] GPIO Input Driver: Start gpio inputs for trout-keypad-v3 in inter
rupt mode
[ 1.377476] input: trout-keypad-v3 as /class/input/input2
[ 1.430946] No IRQF_TRIGGER set_type function for IRQ 186 (troutgpio)
[ 1.431434] GPIO Input Driver: Start gpio inputs for trout-nav in interrupt m
ode
[ 1.432716] input: trout-nav as /class/input/input3
[ 1.491831] rs30000048:0da5b528 rs30000048:0da5b528: rtc core: registered msm
_rtc as rtc0
[ 1.496103] Registered led device: blue
[ 1.496897] Registered led device: green
[ 1.497782] Registered led device: red
[ 1.498361] AKM8976A compass driver: init
[ 1.498880] No IRQF_TRIGGER set_type function for IRQ 187 (troutgpio)
[ 1.500000] input: compass as /class/input/input4
[ 1.531129] pdev->dev.platform_data is not NULL
[ 1.531861] mt9t013: probe
[ 1.532197] mt9t013: init
[ 1.532502] mt9t013: mt9t013_register_init
[ 1.533082] mt9t013: camera sensor_reset set as 1
[ 1.535432] mt9t013: clk_get(vfe_mdc_clk): c02b2cd4
[ 1.535828] mt9t013: clk_get(mdc_clk): c02b2954
[ 1.536439] mt9t013: clk select 1
[ 1.536744] mt9t013: clk_get(vfe_clk): c02b2cb4
[ 1.537385] mt9t013: enable vfe_clk
[ 1.560091] mt9t013: clk select 0
[ 1.569277] mt9t013: camera sensor init sequence done
[ 1.569857] mt9t013: camera sensor suspend sequence
[ 1.570091] mt9t013: disabling vfe_clk
[ 1.570457] mt9t013: clk_put(vfe_clk): c02b2cb4
[ 1.571281] mt9t013: camera sensor suspend sequence done
[ 1.572258] Bluetooth: HCI UART driver ver 2.2
[ 1.572899] Bluetooth: HCI H4 protocol initialized
[ 1.573204] Bluetooth: HCILL protocol initialized
[ 1.574577] mmc0: Qualcomm MSM SDCC at 0x00000000e1000000 irq 24,0 dma -1
[ 1.575218] mmc0: 4 bit data mode enabled
[ 1.575554] mmc0: MMC clock 144000 -> 20000000 Hz, PCLK 64000000 Hz
[ 1.576134] mmc0: Slot eject status = 1
[ 1.576439] mmc0: Power save feature enable = 0
[ 1.577019] mmc0: PIO transfer enabled
[ 1.578392] mmc1: Qualcomm MSM SDCC at 0x00000000e1001000 irq 26,194 dma 8
[ 1.579002] mmc1: 4 bit data mode enabled
[ 1.579369] mmc1: MMC clock 144000 -> 20000000 Hz, PCLK 64000000 Hz
[ 1.580061] mmc1: Slot eject status = 0
[ 1.580396] mmc1: Power save feature enable = 0
[ 1.580732] mmc1: DM non-cached buffer at ffc04000, dma_addr 0x15805000
[ 1.581312] mmc1: DM cmd busaddr 360730624, cmdptr busaddr 360731392
[ 1.582472] Registered led device: spotlight
[ 1.583326] Registered led device: keyboard-backlight
[ 1.583967] Registered led device: button-backlight
[ 1.585188] No IRQF_TRIGGER set_type function for IRQ 190 (troutgpio)
[ 1.586683] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 1.595432] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.596103] TCP cubic registered
[ 1.596622] NET: Registered protocol family 1
[ 1.597415] NET: Registered protocol family 17
[ 1.597843] Bluetooth: L2CAP ver 2.9
[ 1.598422] Bluetooth: L2CAP socket layer initialized
[ 1.598789] Bluetooth: SCO (Voice Link) ver 0.6
[ 1.599124] Bluetooth: SCO socket layer initialized
[ 1.600274] Bluetooth: RFCOMM socket layer initialized
[ 1.600732] Bluetooth: RFCOMM TTY layer initialized
[ 1.601312] Bluetooth: RFCOMM ver 1.9
[ 1.602105] clock_late_init() disabled 20 unused clocks
[ 1.604547] rs30000048:0da5b528 rs30000048:0da5b528: setting system clock to
2009-06-22 14:22:20 UTC (1245680540)
[ 1.605127] Freeing init memory: 100K
[ 1.833296] init: cannot open '/initlogo.rle'
[ 1.836988] init: Unable to open persistent property directory /data/property
errno: 2
[ 1.854486] enabling adb function
[ 1.857080] init: cannot find '/system/bin/akmd', disabling 'akmd'
[ 2.151251] init sharp panel
[ 2.205005] yaffs: dev is 32505860 name is "mtdblock4"
[ 2.205401] yaffs: passed flags ""
[ 2.205981] yaffs: Attempting MTD mount on 31.4, "mtdblock4"
[ 2.210763] yaffs: restored from checkpoint
[ 2.211404] yaffs_read_super: isCheckpointed 1
[ 2.568758] mmc_sd_init_card: Delay 250 ms
[ 2.682685] save exit: isCheckpointed 1
[ 2.910061] mmc1: host does not support reading read-only switch. assuming wr
ite-enable.
[ 2.910427] mmc1: new SD card at address b368
[ 2.912197] mmcblk0: mmc1:b368 SD01G 999936KiB
[ 2.912960] mmcblk0: p1
[ 3.040006] hsusb: OFFLINE -> ONLINE
[ 3.040006] hsusb: reset controller
[ 3.070128] ulpi: write 0x40 to 0x31
[ 3.070433] ulpi: write 0x1d to 0x0d
[ 3.070983] ulpi: write 0x1d to 0x10
[ 3.071288] ept #0 out max:64 head:ffc02000 bit:0
[ 3.071563] ept #1 out max:512 head:ffc02080 bit:1
[ 3.072112] ept #2 out max:512 head:ffc02100 bit:2
[ 3.072417] ept #0 in max:64 head:ffc02040 bit:16
[ 3.072936] ept #1 in max:512 head:ffc020c0 bit:17
[ 3.073241] ept #2 in max:512 head:ffc02140 bit:18
[ 3.073638] usb: notify offline
[ 3.078856] usb: suspend
[ 3.130006] usb: reset
[ 3.130006] usb: portchange
[ 3.130006] usb: reset
[ 3.130006] usb: portchange
[ 3.140006] usb_mass_storage usb_mass_storage: config #1
[ 7.352186] init: untracked pid 44 exited
[ 14.633174] init: untracked pid 57 exited
/ #
I didnt look through the dmesg out put but it sounds like your home key is stuck down.
Thats what I thought at first too but I still had full range of motion of the button when clicking it.
Anyway, I switched my SIM out to an older phone so I at least had something to use. Got back home and decided to try booting the phone without a SIM, booted to the setup screen. Powered off and put the SIM back in and it started up fine. Not positive that the SIM removal fixed it but its working! w00t!
can you describe the screen that it boots too? is it black with yellow text, grey backgound, rainbow, etc...
mm0
Now that it is working I would recommend to restart the whole process of Rooting and flashing your rom so that nothing is messed up.
Crap, its doing it again. I am pretty dang sure that the Home button is not stuck down, it clicks like normal, like it always has.
It boots up into the recovery screen, no matter if I try to boot into Bootloader mode (holding the camera button down) or not. It is the screen with the ! in the triangle and the picture of the phone. I have normal control while inside of it, can wipe and update, but I cannot restart by pressing Home+Back.
Is maybe the circuitry the handles the buttons bad? I really hope not, but does anyone have any other advice?
shameful bump.... I have tried everything I know how to do and I am really at a loss.
How good are you at taking things apart?
Is the phone under warranty or did you buy it used? If Its from tmobile then id call them up and explain what its doing. Run through everything they tell you to try and Im sure they will send out a replacement.
If its not under warranty then Id try taking it apart to see if the home button contacts are stuck.
I'm not too bad at it, just really paranoid of screwing something up. Ive taken apart my Tytn2 successfully before to change a digitzer. I bought the G1 used on eBay so I have no warranty whatsoever.
I'm almost convinced now it is the button, though. It started working again. My goal is to be just to not let the battery run dead .

[Solved] Android Lollipop doesn't boot

ROM available here: http://forum.xda-developers.com/showthread.php?t=2943934
Hello, I built AOSP 5 and CM12 (even if it's still more AOSP-like atm) for i9505 but don't boot.
This is the last_kmsg:
Code:
[ 0.000000] Truncating memory at 0xc0000000 to fit in 32-bit physical address space
[ 0.000000] sec_tsp_mode: LCD_ID = 0x408047, val: 0X408047, ret1: 0x8
[ 0.030853] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[ 0.052886] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.052917] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.052947] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.052947] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.052978] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053009] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053009] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053039] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.124511] sensor_power_on_vdd: done
[ 0.177917] i2c i2c-4: Failed to register i2c client imx135 at 0x10 (-16)
[ 0.178100] i2c i2c-4: Can't create device at 0x10
[ 0.178497] i2c i2c-4: Failed to register i2c client s5k3l1yx at 0x34 (-16)
[ 0.178710] i2c i2c-4: Can't create device at 0x34
[ 0.210174] ion_heap_create: Invalid heap type 3
[ 0.214752] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:3 report inf element:0x0
[ 0.214904] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.215484] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:4 report inf element:0x400
[ 0.215759] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.291564] Error-Bad Function Input
[ 0.292449] Error-Bad Function Input
[ 0.399383] smd_channel_probe_worker: allocation table not initialized
[ 0.408843] dma_test_init, minor number 37
[ 0.416992] mdm_modem_probe: registered mdm id 0
[ 0.417114] mdm_do_first_power_on:id 0: Powering on modem for the first time
[ 0.672729] cont_splash_clk_ctrl: dsi_esc_clk - clk_set_rate failed
[ 0.681335] [mdnie lite] start!
[ 0.681518] [mdnie lite] end!
[ 0.682952] hdmi_msm hdmi_msm.1: external_common_state_create: sysfs group df046e08
[ 0.683319] Inside writeback_driver_init
[ 0.683563] Inside writeback_probe
[ 0.876434] wcd9xxx_slim_probe: failed to get slimbus tabla-slim logical address: -6
[ 0.944671] msm_otg msm_otg: failed to get phy_clk
[ 1.115600] couldn't get usb power supply
[ 1.135345] [jc_spi_init:336] Entered
[ 1.135437] [jc_spi_probe:301] Entered
[ 1.135528] [jc_spi_probe:311] jc_spi successfully probed
[ 1.135681] jc_config_isp_irq~~~~~~~~~~
[ 1.135833] msm_eeprom_probe probe_fail
[ 1.139526] msm_sensor_i2c_probe s5k6b2yx probe succeeded
[ 1.139648] msm_eeprom_probe probe_fail
[ 1.173065] mmc0: No card detect facilities available
[ 1.297515] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 1.297637] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 1.314422] max77693_get_health_state: Fail to get psy (battery)
[ 1.317077] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 1.318664] max77693_get_health_state: Fail to get psy (battery)
[ 1.321289] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 1.358367] mmc0: msmsdcc_execute_tuning: found good phase = 0
[ 1.358489] mmc0: msmsdcc_execute_tuning: found good phase = 1
[ 1.358703] mmc0: msmsdcc_execute_tuning: found good phase = 2
[ 1.358825] mmc0: msmsdcc_execute_tuning: found good phase = 3
[ 1.359008] mmc0: msmsdcc_execute_tuning: found good phase = 4
[ 1.359130] mmc0: msmsdcc_execute_tuning: found good phase = 5
[ 1.359313] mmc0: msmsdcc_execute_tuning: found good phase = 6
[ 1.359466] mmc0: msmsdcc_execute_tuning: found good phase = 7
[ 1.359649] mmc0: msmsdcc_execute_tuning: found good phase = 8
[ 1.359771] mmc0: msmsdcc_execute_tuning: found good phase = 9
[ 1.359954] mmc0: msmsdcc_execute_tuning: found good phase = 10
[ 1.360107] mmc0: msmsdcc_execute_tuning: found good phase = 11
[ 1.360290] mmc0: msmsdcc_execute_tuning: found good phase = 12
[ 1.360412] mmc0: msmsdcc_execute_tuning: found good phase = 13
[ 1.360595] mmc0: msmsdcc_execute_tuning: found good phase = 14
[ 1.360717] mmc0: msmsdcc_execute_tuning: found good phase = 15
[ 1.360839] mmc0: msmsdcc_execute_tuning: finally setting the tuning phase to 11
[ 1.540985] qup_i2c qup_i2c.2: QUP: I2C status flags :0x11143c8, irq:228
[ 1.541076] qup_i2c qup_i2c.2: I2C slave addr:0x26 not connected
[ 1.618560] msm_audio_init: Not the right machine type
[ 1.903472] sec-battery sec-battery: sec_battery_probe: Failed to Enable Wakeup Source(-6)
[ 1.908355] irda_device_init called!
[ 1.908782] barcode_emul_ice4: probe complete barcode_emul_probe
[ 1.909179] brcm_wlan_power: WL_REG_ON failed to pull up
[ 1.909271] brcm_wlan_power: WL_REG_ON failed to pull down
[ 3.720855] synaptics_rmi4_i2c 3-0020: synaptics_ta_cb: device is in suspend state or reflash.
[ 3.922607] brcm_wlan_power: WL_REG_ON failed to pull up
[ 3.922698] brcm_wlan_power: WL_REG_ON failed to pull down
[ 5.932617] brcm_wlan_power: WL_REG_ON failed to pull up
[ 5.932708] brcm_wlan_power: WL_REG_ON failed to pull down
[ 8.317565] mmc1: msmsdcc_execute_tuning: found good phase = 0
[ 8.317687] mmc1: msmsdcc_execute_tuning: found good phase = 1
[ 8.317871] mmc1: msmsdcc_execute_tuning: found good phase = 2
[ 8.318023] mmc1: msmsdcc_execute_tuning: found good phase = 3
[ 8.318206] mmc1: msmsdcc_execute_tuning: found good phase = 4
[ 8.318328] mmc1: msmsdcc_execute_tuning: found good phase = 5
[ 8.319091] mmc1: msmsdcc_execute_tuning: found good phase = 8
[ 8.319213] mmc1: msmsdcc_execute_tuning: found good phase = 9
[ 8.319396] mmc1: msmsdcc_execute_tuning: found good phase = 10
[ 8.319549] mmc1: msmsdcc_execute_tuning: found good phase = 11
[ 8.319702] mmc1: msmsdcc_execute_tuning: found good phase = 12
[ 8.319854] mmc1: msmsdcc_execute_tuning: found good phase = 13
[ 8.320037] mmc1: msmsdcc_execute_tuning: found good phase = 14
[ 8.320159] mmc1: msmsdcc_execute_tuning: found good phase = 15
[ 8.320281] mmc1: msmsdcc_execute_tuning: finally setting the tuning phase to 1
[ 9.098876] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 9.104797] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[B][ 9.240478] init: cannot find '/system/bin/sysinit', disabling 'sysinit'
[ 9.240692] init: Unable to open persistent property directory /data/property errno: 2
[ 9.245391] init: cannot find '/system/bin/logd', disabling 'logd'
[ 9.245880] init: cannot find '/system/bin/lmkd', disabling 'lmkd'
[ 9.246002] init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
[ 9.246124] init: cannot find '/system/bin/vold', disabling 'vold'
[ 9.246276] init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger'
[ 9.246398] init: cannot find '/system/bin/sh', disabling 'config_bluetooth'
[ 9.256835] init: cannot find '/system/bin/sh', disabling 'console'
[ 9.256958] init: cannot find '/system/bin/rmt_storage', disabling 'rmt_storage'[/B]
[ 10.383392] synaptics_rmi4_i2c 3-0020: synaptics_ta_cb: device is in suspend state or reflash.
[ 38.952606] [TouchKey]press=1, code=0
[ 39.171752] [TouchKey]press=0, code=0
[ 45.726440] PMIC Initiated shutdown cpu_power_off cpu=0
[ 45.726440] PMIC Initiated shutdown cpu_power_off cpu=3
[ 45.726470] PMIC Initiated shutdown cpu_power_off cpu=1
[ 45.726470] PMIC Initiated shutdown cpu_power_off cpu=2
[ 45.726745] Powering off the SoC
[ 45.726867] Calling scm to disable arbiter
[ 45.726959] SCM returned even when asked to busy loop rc=-4
[ 45.727020] waiting on pmic to shut msm down
1 Corrected bytes, 0 unrecoverable blocks
First critical error is: [ 9.240478] init: cannot find '/system/bin/sysinit', disabling 'sysinit'
Seems like if /system partition isn't mounted, but fstab is okay. After flashing ZIP, those binaries are present in /system/bin. Device stays on Samsung bootsplash and ADB is working since I built with eng so ro.adb.secure is 0, but if I try to open shell I get /system/bin/sh: not found. Kernel source is CM11 one.
If anyone has an idea, any help would be appreciated.
EDIT: I modified init.rc and now last_kmsg:
Code:
[ 0.000000] Truncating memory at 0xc0000000 to fit in 32-bit physical address space
[ 0.000000] sec_tsp_mode: LCD_ID = 0x408047, val: 0X408047, ret1: 0x8
[ 0.031494] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[ 0.053710] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053741] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053741] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053771] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053802] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053802] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053833] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053863] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.122497] sensor_power_on_vdd: done
[ 0.175933] i2c i2c-4: Failed to register i2c client imx135 at 0x10 (-16)
[ 0.176116] i2c i2c-4: Can't create device at 0x10
[ 0.176513] i2c i2c-4: Failed to register i2c client s5k3l1yx at 0x34 (-16)
[ 0.176696] i2c i2c-4: Can't create device at 0x34
[ 0.209106] ion_heap_create: Invalid heap type 3
[ 0.213653] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:3 report inf element:0x0
[ 0.213806] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.214172] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:4 report inf element:0x400
[ 0.214660] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.289825] Error-Bad Function Input
[ 0.290771] Error-Bad Function Input
[ 0.526214] smd_channel_probe_worker: allocation table not initialized
[ 0.535797] dma_test_init, minor number 37
[ 0.543884] mdm_modem_probe: registered mdm id 0
[ 0.544128] mdm_do_first_power_on:id 0: Powering on modem for the first time
[ 0.851287] cont_splash_clk_ctrl: dsi_esc_clk - clk_set_rate failed
[ 0.859802] [mdnie lite] start!
[ 0.859954] [mdnie lite] end!
[ 0.861450] hdmi_msm hdmi_msm.1: external_common_state_create: sysfs group df04cc08
[ 0.861816] Inside writeback_driver_init
[ 0.862030] Inside writeback_probe
[ 1.055023] wcd9xxx_slim_probe: failed to get slimbus tabla-slim logical address: -6
[ 1.123413] msm_otg msm_otg: failed to get phy_clk
[ 1.294342] couldn't get usb power supply
[ 1.314239] [jc_spi_init:336] Entered
[ 1.314331] [jc_spi_probe:301] Entered
[ 1.314422] [jc_spi_probe:311] jc_spi successfully probed
[ 1.314544] jc_config_isp_irq~~~~~~~~~~
[ 1.314666] msm_eeprom_probe probe_fail
[ 1.318389] msm_sensor_i2c_probe s5k6b2yx probe succeeded
[ 1.318481] msm_eeprom_probe probe_fail
[ 1.352172] mmc0: No card detect facilities available
[ 1.475433] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 1.475555] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 1.492126] max77693_get_health_state: Fail to get psy (battery)
[ 1.494750] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 1.496337] max77693_get_health_state: Fail to get psy (battery)
[ 1.498901] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 1.537536] mmc0: msmsdcc_execute_tuning: found good phase = 0
[ 1.537689] mmc0: msmsdcc_execute_tuning: found good phase = 1
[ 1.537841] mmc0: msmsdcc_execute_tuning: found good phase = 2
[ 1.537994] mmc0: msmsdcc_execute_tuning: found good phase = 3
[ 1.538146] mmc0: msmsdcc_execute_tuning: found good phase = 4
[ 1.538269] mmc0: msmsdcc_execute_tuning: found good phase = 5
[ 1.538452] mmc0: msmsdcc_execute_tuning: found good phase = 6
[ 1.538574] mmc0: msmsdcc_execute_tuning: found good phase = 7
[ 1.538757] mmc0: msmsdcc_execute_tuning: found good phase = 8
[ 1.538879] mmc0: msmsdcc_execute_tuning: found good phase = 9
[ 1.539062] mmc0: msmsdcc_execute_tuning: found good phase = 10
[ 1.539184] mmc0: msmsdcc_execute_tuning: found good phase = 11
[ 1.539642] mmc0: msmsdcc_execute_tuning: found good phase = 13
[ 1.539794] mmc0: msmsdcc_execute_tuning: found good phase = 14
[ 1.539947] mmc0: msmsdcc_execute_tuning: found good phase = 15
[ 1.540039] mmc0: msmsdcc_execute_tuning: finally setting the tuning phase to 7
[ 1.540802] qup_i2c qup_i2c.2: QUP: I2C status flags :0x11143c8, irq:228
[ 1.540924] qup_i2c qup_i2c.2: I2C slave addr:0x26 not connected
[ 1.617065] msm_audio_init: Not the right machine type
[ 1.922241] sec-battery sec-battery: sec_battery_probe: Failed to Enable Wakeup Source(-6)
[ 1.936584] irda_device_init called!
[ 1.937042] barcode_emul_ice4: probe complete barcode_emul_probe
[ 1.937377] brcm_wlan_power: WL_REG_ON failed to pull up
[ 1.937530] brcm_wlan_power: WL_REG_ON failed to pull down
[ 3.896179] synaptics_rmi4_i2c 3-0020: synaptics_ta_cb: device is in suspend state or reflash.
[ 3.951263] brcm_wlan_power: WL_REG_ON failed to pull up
[ 3.951416] brcm_wlan_power: WL_REG_ON failed to pull down
[ 5.961273] brcm_wlan_power: WL_REG_ON failed to pull up
[ 5.961364] brcm_wlan_power: WL_REG_ON failed to pull down
[ 8.018737] hostwake line change [BT]
[ 8.586364] mmc1: msmsdcc_execute_tuning: found good phase = 0
[ 8.586547] mmc1: msmsdcc_execute_tuning: found good phase = 1
[ 8.586669] mmc1: msmsdcc_execute_tuning: found good phase = 2
[ 8.586853] mmc1: msmsdcc_execute_tuning: found good phase = 3
[ 8.586975] mmc1: msmsdcc_execute_tuning: found good phase = 4
[ 8.587158] mmc1: msmsdcc_execute_tuning: found good phase = 5
[ 8.587860] mmc1: msmsdcc_execute_tuning: found good phase = 8
[ 8.588043] mmc1: msmsdcc_execute_tuning: found good phase = 9
[ 8.588165] mmc1: msmsdcc_execute_tuning: found good phase = 10
[ 8.588348] mmc1: msmsdcc_execute_tuning: found good phase = 11
[ 8.588470] mmc1: msmsdcc_execute_tuning: found good phase = 12
[ 8.588653] mmc1: msmsdcc_execute_tuning: found good phase = 13
[ 8.588836] mmc1: msmsdcc_execute_tuning: found good phase = 14
[ 8.588958] mmc1: msmsdcc_execute_tuning: found good phase = 15
[ 8.589080] mmc1: msmsdcc_execute_tuning: finally setting the tuning phase to 1
[ 10.129394] healthd: wakealarm_init: timerfd_create failed
[ 10.365814] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 10.370635] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 10.478942] init: property 'ro.product.model' doesn't exist while expanding '${ro.product.model}'
[ 10.479064] init: cannot expand '${ro.product.model}' while writing to '/sys/class/android_usb/android0/iProduct'
[ 10.479766] init: Unable to open persistent property directory /data/property errno: 2
[ 10.480194] init: Found bootloader id I9505XXUGNG8 setting build properties for jfltexx device
[ 10.482574] healthd: wakealarm_init: timerfd_create failed
[ 12.240692] [mdnie lite] is negative Mode On = 0
[ 12.240692] [mdnie lite] negative off when resume, tuning again!
[ 12.240722] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(1)
[ 12.240722] [mdnie lite] = UI MODE =
[ 12.240753] [mdnie lite] = STANDARD MODE =
[ 12.240753] [mdnie lite] send tuning cmd!!
[ 12.290435] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(1)
[ 12.962921] [mdnie lite] is negative Mode On = 0
[ 12.962921] [mdnie lite] negative off when resume, tuning again!
[ 12.962951] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(1)
[ 12.962951] [mdnie lite] = UI MODE =
[ 12.962982] [mdnie lite] = STANDARD MODE =
[ 12.962982] [mdnie lite] send tuning cmd!!
[ 13.012664] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(1)
[ 408.649932] [mdnie lite] is negative Mode On = 0
[ 408.649932] [mdnie lite] negative off when resume, tuning again!
[ 408.649963] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(1)
[ 408.649963] [mdnie lite] = UI MODE =
[ 408.649963] [mdnie lite] = STANDARD MODE =
[ 408.649993] [mdnie lite] send tuning cmd!!
[ 408.699676] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(1)
[ 1123.502899] [mdnie lite] is negative Mode On = 0
[ 1123.502929] [mdnie lite] negative off when resume, tuning again!
[ 1123.502929] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(1)
[ 1123.502960] [mdnie lite] = UI MODE =
[ 1123.502960] [mdnie lite] = STANDARD MODE =
[ 1123.502960] [mdnie lite] send tuning cmd!!
[ 1123.552642] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(1)
[ 1125.997711] SysRq : Emergency Remount R/O
[ 1126.825103] qup_i2c qup_i2c.2: QUP: I2C status flags :0x1343c8, irq:228
[ 1126.825164] qup_i2c qup_i2c.2: I2C slave addr:0x26 not connected
[ 1126.825317] MFD is Null
[ 1126.857635] Restarting system with command ''.
No errors detected
AntaresOne said:
Hello, I built AOSP 5 and CM12 (even if it's still more AOSP-like atm) for i9505 but don't boot.
This is the last_kmsg:
Code:
[ 0.000000] Truncating memory at 0xc0000000 to fit in 32-bit physical address space
[ 0.000000] sec_tsp_mode: LCD_ID = 0x408047, val: 0X408047, ret1: 0x8
[ 0.030853] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[ 0.052886] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.052917] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.052947] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.052947] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.052978] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053009] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053009] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053039] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.124511] sensor_power_on_vdd: done
[ 0.177917] i2c i2c-4: Failed to register i2c client imx135 at 0x10 (-16)
[ 0.178100] i2c i2c-4: Can't create device at 0x10
[ 0.178497] i2c i2c-4: Failed to register i2c client s5k3l1yx at 0x34 (-16)
[ 0.178710] i2c i2c-4: Can't create device at 0x34
[ 0.210174] ion_heap_create: Invalid heap type 3
[ 0.214752] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:3 report inf element:0x0
[ 0.214904] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.215484] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:4 report inf element:0x400
[ 0.215759] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.291564] Error-Bad Function Input
[ 0.292449] Error-Bad Function Input
[ 0.399383] smd_channel_probe_worker: allocation table not initialized
[ 0.408843] dma_test_init, minor number 37
[ 0.416992] mdm_modem_probe: registered mdm id 0
[ 0.417114] mdm_do_first_power_on:id 0: Powering on modem for the first time
[ 0.672729] cont_splash_clk_ctrl: dsi_esc_clk - clk_set_rate failed
[ 0.681335] [mdnie lite] start!
[ 0.681518] [mdnie lite] end!
[ 0.682952] hdmi_msm hdmi_msm.1: external_common_state_create: sysfs group df046e08
[ 0.683319] Inside writeback_driver_init
[ 0.683563] Inside writeback_probe
[ 0.876434] wcd9xxx_slim_probe: failed to get slimbus tabla-slim logical address: -6
[ 0.944671] msm_otg msm_otg: failed to get phy_clk
[ 1.115600] couldn't get usb power supply
[ 1.135345] [jc_spi_init:336] Entered
[ 1.135437] [jc_spi_probe:301] Entered
[ 1.135528] [jc_spi_probe:311] jc_spi successfully probed
[ 1.135681] jc_config_isp_irq~~~~~~~~~~
[ 1.135833] msm_eeprom_probe probe_fail
[ 1.139526] msm_sensor_i2c_probe s5k6b2yx probe succeeded
[ 1.139648] msm_eeprom_probe probe_fail
[ 1.173065] mmc0: No card detect facilities available
[ 1.297515] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 1.297637] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 1.314422] max77693_get_health_state: Fail to get psy (battery)
[ 1.317077] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 1.318664] max77693_get_health_state: Fail to get psy (battery)
[ 1.321289] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 1.358367] mmc0: msmsdcc_execute_tuning: found good phase = 0
[ 1.358489] mmc0: msmsdcc_execute_tuning: found good phase = 1
[ 1.358703] mmc0: msmsdcc_execute_tuning: found good phase = 2
[ 1.358825] mmc0: msmsdcc_execute_tuning: found good phase = 3
[ 1.359008] mmc0: msmsdcc_execute_tuning: found good phase = 4
[ 1.359130] mmc0: msmsdcc_execute_tuning: found good phase = 5
[ 1.359313] mmc0: msmsdcc_execute_tuning: found good phase = 6
[ 1.359466] mmc0: msmsdcc_execute_tuning: found good phase = 7
[ 1.359649] mmc0: msmsdcc_execute_tuning: found good phase = 8
[ 1.359771] mmc0: msmsdcc_execute_tuning: found good phase = 9
[ 1.359954] mmc0: msmsdcc_execute_tuning: found good phase = 10
[ 1.360107] mmc0: msmsdcc_execute_tuning: found good phase = 11
[ 1.360290] mmc0: msmsdcc_execute_tuning: found good phase = 12
[ 1.360412] mmc0: msmsdcc_execute_tuning: found good phase = 13
[ 1.360595] mmc0: msmsdcc_execute_tuning: found good phase = 14
[ 1.360717] mmc0: msmsdcc_execute_tuning: found good phase = 15
[ 1.360839] mmc0: msmsdcc_execute_tuning: finally setting the tuning phase to 11
[ 1.540985] qup_i2c qup_i2c.2: QUP: I2C status flags :0x11143c8, irq:228
[ 1.541076] qup_i2c qup_i2c.2: I2C slave addr:0x26 not connected
[ 1.618560] msm_audio_init: Not the right machine type
[ 1.903472] sec-battery sec-battery: sec_battery_probe: Failed to Enable Wakeup Source(-6)
[ 1.908355] irda_device_init called!
[ 1.908782] barcode_emul_ice4: probe complete barcode_emul_probe
[ 1.909179] brcm_wlan_power: WL_REG_ON failed to pull up
[ 1.909271] brcm_wlan_power: WL_REG_ON failed to pull down
[ 3.720855] synaptics_rmi4_i2c 3-0020: synaptics_ta_cb: device is in suspend state or reflash.
[ 3.922607] brcm_wlan_power: WL_REG_ON failed to pull up
[ 3.922698] brcm_wlan_power: WL_REG_ON failed to pull down
[ 5.932617] brcm_wlan_power: WL_REG_ON failed to pull up
[ 5.932708] brcm_wlan_power: WL_REG_ON failed to pull down
[ 8.317565] mmc1: msmsdcc_execute_tuning: found good phase = 0
[ 8.317687] mmc1: msmsdcc_execute_tuning: found good phase = 1
[ 8.317871] mmc1: msmsdcc_execute_tuning: found good phase = 2
[ 8.318023] mmc1: msmsdcc_execute_tuning: found good phase = 3
[ 8.318206] mmc1: msmsdcc_execute_tuning: found good phase = 4
[ 8.318328] mmc1: msmsdcc_execute_tuning: found good phase = 5
[ 8.319091] mmc1: msmsdcc_execute_tuning: found good phase = 8
[ 8.319213] mmc1: msmsdcc_execute_tuning: found good phase = 9
[ 8.319396] mmc1: msmsdcc_execute_tuning: found good phase = 10
[ 8.319549] mmc1: msmsdcc_execute_tuning: found good phase = 11
[ 8.319702] mmc1: msmsdcc_execute_tuning: found good phase = 12
[ 8.319854] mmc1: msmsdcc_execute_tuning: found good phase = 13
[ 8.320037] mmc1: msmsdcc_execute_tuning: found good phase = 14
[ 8.320159] mmc1: msmsdcc_execute_tuning: found good phase = 15
[ 8.320281] mmc1: msmsdcc_execute_tuning: finally setting the tuning phase to 1
[ 9.098876] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 9.104797] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[B][ 9.240478] init: cannot find '/system/bin/sysinit', disabling 'sysinit'
[ 9.240692] init: Unable to open persistent property directory /data/property errno: 2
[ 9.245391] init: cannot find '/system/bin/logd', disabling 'logd'
[ 9.245880] init: cannot find '/system/bin/lmkd', disabling 'lmkd'
[ 9.246002] init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
[ 9.246124] init: cannot find '/system/bin/vold', disabling 'vold'
[ 9.246276] init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger'
[ 9.246398] init: cannot find '/system/bin/sh', disabling 'config_bluetooth'
[ 9.256835] init: cannot find '/system/bin/sh', disabling 'console'
[ 9.256958] init: cannot find '/system/bin/rmt_storage', disabling 'rmt_storage'[/B]
[ 10.383392] synaptics_rmi4_i2c 3-0020: synaptics_ta_cb: device is in suspend state or reflash.
[ 38.952606] [TouchKey]press=1, code=0
[ 39.171752] [TouchKey]press=0, code=0
[ 45.726440] PMIC Initiated shutdown cpu_power_off cpu=0
[ 45.726440] PMIC Initiated shutdown cpu_power_off cpu=3
[ 45.726470] PMIC Initiated shutdown cpu_power_off cpu=1
[ 45.726470] PMIC Initiated shutdown cpu_power_off cpu=2
[ 45.726745] Powering off the SoC
[ 45.726867] Calling scm to disable arbiter
[ 45.726959] SCM returned even when asked to busy loop rc=-4
[ 45.727020] waiting on pmic to shut msm down
1 Corrected bytes, 0 unrecoverable blocks
First critical error is: [ 9.240478] init: cannot find '/system/bin/sysinit', disabling 'sysinit'
Seems like if /system partition isn't mounted, but fstab is okay. After flashing ZIP, those binaries are present in /system/bin. Device stays on Samsung bootsplash and ADB is working since I built with eng so ro.adb.secure is 0, but if I try to open shell I get /system/bin/sh: not found. Kernel source is CM11 one.
If anyone has an idea, any help would be appreciated.
EDIT: I modified init.rc and now last_kmsg:
Code:
[ 0.000000] Truncating memory at 0xc0000000 to fit in 32-bit physical address space
[ 0.000000] sec_tsp_mode: LCD_ID = 0x408047, val: 0X408047, ret1: 0x8
[ 0.031494] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[ 0.053710] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053741] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053741] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053771] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053802] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053802] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053833] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053863] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.122497] sensor_power_on_vdd: done
[ 0.175933] i2c i2c-4: Failed to register i2c client imx135 at 0x10 (-16)
[ 0.176116] i2c i2c-4: Can't create device at 0x10
[ 0.176513] i2c i2c-4: Failed to register i2c client s5k3l1yx at 0x34 (-16)
[ 0.176696] i2c i2c-4: Can't create device at 0x34
[ 0.209106] ion_heap_create: Invalid heap type 3
[ 0.213653] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:3 report inf element:0x0
[ 0.213806] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.214172] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:4 report inf element:0x400
[ 0.214660] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.289825] Error-Bad Function Input
[ 0.290771] Error-Bad Function Input
[ 0.526214] smd_channel_probe_worker: allocation table not initialized
[ 0.535797] dma_test_init, minor number 37
[ 0.543884] mdm_modem_probe: registered mdm id 0
[ 0.544128] mdm_do_first_power_on:id 0: Powering on modem for the first time
[ 0.851287] cont_splash_clk_ctrl: dsi_esc_clk - clk_set_rate failed
[ 0.859802] [mdnie lite] start!
[ 0.859954] [mdnie lite] end!
[ 0.861450] hdmi_msm hdmi_msm.1: external_common_state_create: sysfs group df04cc08
[ 0.861816] Inside writeback_driver_init
[ 0.862030] Inside writeback_probe
[ 1.055023] wcd9xxx_slim_probe: failed to get slimbus tabla-slim logical address: -6
[ 1.123413] msm_otg msm_otg: failed to get phy_clk
[ 1.294342] couldn't get usb power supply
[ 1.314239] [jc_spi_init:336] Entered
[ 1.314331] [jc_spi_probe:301] Entered
[ 1.314422] [jc_spi_probe:311] jc_spi successfully probed
[ 1.314544] jc_config_isp_irq~~~~~~~~~~
[ 1.314666] msm_eeprom_probe probe_fail
[ 1.318389] msm_sensor_i2c_probe s5k6b2yx probe succeeded
[ 1.318481] msm_eeprom_probe probe_fail
[ 1.352172] mmc0: No card detect facilities available
[ 1.475433] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 1.475555] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 1.492126] max77693_get_health_state: Fail to get psy (battery)
[ 1.494750] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 1.496337] max77693_get_health_state: Fail to get psy (battery)
[ 1.498901] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 1.537536] mmc0: msmsdcc_execute_tuning: found good phase = 0
[ 1.537689] mmc0: msmsdcc_execute_tuning: found good phase = 1
[ 1.537841] mmc0: msmsdcc_execute_tuning: found good phase = 2
[ 1.537994] mmc0: msmsdcc_execute_tuning: found good phase = 3
[ 1.538146] mmc0: msmsdcc_execute_tuning: found good phase = 4
[ 1.538269] mmc0: msmsdcc_execute_tuning: found good phase = 5
[ 1.538452] mmc0: msmsdcc_execute_tuning: found good phase = 6
[ 1.538574] mmc0: msmsdcc_execute_tuning: found good phase = 7
[ 1.538757] mmc0: msmsdcc_execute_tuning: found good phase = 8
[ 1.538879] mmc0: msmsdcc_execute_tuning: found good phase = 9
[ 1.539062] mmc0: msmsdcc_execute_tuning: found good phase = 10
[ 1.539184] mmc0: msmsdcc_execute_tuning: found good phase = 11
[ 1.539642] mmc0: msmsdcc_execute_tuning: found good phase = 13
[ 1.539794] mmc0: msmsdcc_execute_tuning: found good phase = 14
[ 1.539947] mmc0: msmsdcc_execute_tuning: found good phase = 15
[ 1.540039] mmc0: msmsdcc_execute_tuning: finally setting the tuning phase to 7
[ 1.540802] qup_i2c qup_i2c.2: QUP: I2C status flags :0x11143c8, irq:228
[ 1.540924] qup_i2c qup_i2c.2: I2C slave addr:0x26 not connected
[ 1.617065] msm_audio_init: Not the right machine type
[ 1.922241] sec-battery sec-battery: sec_battery_probe: Failed to Enable Wakeup Source(-6)
[ 1.936584] irda_device_init called!
[ 1.937042] barcode_emul_ice4: probe complete barcode_emul_probe
[ 1.937377] brcm_wlan_power: WL_REG_ON failed to pull up
[ 1.937530] brcm_wlan_power: WL_REG_ON failed to pull down
[ 3.896179] synaptics_rmi4_i2c 3-0020: synaptics_ta_cb: device is in suspend state or reflash.
[ 3.951263] brcm_wlan_power: WL_REG_ON failed to pull up
[ 3.951416] brcm_wlan_power: WL_REG_ON failed to pull down
[ 5.961273] brcm_wlan_power: WL_REG_ON failed to pull up
[ 5.961364] brcm_wlan_power: WL_REG_ON failed to pull down
[ 8.018737] hostwake line change [BT]
[ 8.586364] mmc1: msmsdcc_execute_tuning: found good phase = 0
[ 8.586547] mmc1: msmsdcc_execute_tuning: found good phase = 1
[ 8.586669] mmc1: msmsdcc_execute_tuning: found good phase = 2
[ 8.586853] mmc1: msmsdcc_execute_tuning: found good phase = 3
[ 8.586975] mmc1: msmsdcc_execute_tuning: found good phase = 4
[ 8.587158] mmc1: msmsdcc_execute_tuning: found good phase = 5
[ 8.587860] mmc1: msmsdcc_execute_tuning: found good phase = 8
[ 8.588043] mmc1: msmsdcc_execute_tuning: found good phase = 9
[ 8.588165] mmc1: msmsdcc_execute_tuning: found good phase = 10
[ 8.588348] mmc1: msmsdcc_execute_tuning: found good phase = 11
[ 8.588470] mmc1: msmsdcc_execute_tuning: found good phase = 12
[ 8.588653] mmc1: msmsdcc_execute_tuning: found good phase = 13
[ 8.588836] mmc1: msmsdcc_execute_tuning: found good phase = 14
[ 8.588958] mmc1: msmsdcc_execute_tuning: found good phase = 15
[ 8.589080] mmc1: msmsdcc_execute_tuning: finally setting the tuning phase to 1
[ 10.129394] healthd: wakealarm_init: timerfd_create failed
[ 10.365814] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 10.370635] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 10.478942] init: property 'ro.product.model' doesn't exist while expanding '${ro.product.model}'
[ 10.479064] init: cannot expand '${ro.product.model}' while writing to '/sys/class/android_usb/android0/iProduct'
[ 10.479766] init: Unable to open persistent property directory /data/property errno: 2
[ 10.480194] init: Found bootloader id I9505XXUGNG8 setting build properties for jfltexx device
[ 10.482574] healthd: wakealarm_init: timerfd_create failed
[ 12.240692] [mdnie lite] is negative Mode On = 0
[ 12.240692] [mdnie lite] negative off when resume, tuning again!
[ 12.240722] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(1)
[ 12.240722] [mdnie lite] = UI MODE =
[ 12.240753] [mdnie lite] = STANDARD MODE =
[ 12.240753] [mdnie lite] send tuning cmd!!
[ 12.290435] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(1)
[ 12.962921] [mdnie lite] is negative Mode On = 0
[ 12.962921] [mdnie lite] negative off when resume, tuning again!
[ 12.962951] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(1)
[ 12.962951] [mdnie lite] = UI MODE =
[ 12.962982] [mdnie lite] = STANDARD MODE =
[ 12.962982] [mdnie lite] send tuning cmd!!
[ 13.012664] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(1)
[ 408.649932] [mdnie lite] is negative Mode On = 0
[ 408.649932] [mdnie lite] negative off when resume, tuning again!
[ 408.649963] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(1)
[ 408.649963] [mdnie lite] = UI MODE =
[ 408.649963] [mdnie lite] = STANDARD MODE =
[ 408.649993] [mdnie lite] send tuning cmd!!
[ 408.699676] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(1)
[ 1123.502899] [mdnie lite] is negative Mode On = 0
[ 1123.502929] [mdnie lite] negative off when resume, tuning again!
[ 1123.502929] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(1)
[ 1123.502960] [mdnie lite] = UI MODE =
[ 1123.502960] [mdnie lite] = STANDARD MODE =
[ 1123.502960] [mdnie lite] send tuning cmd!!
[ 1123.552642] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(1)
[ 1125.997711] SysRq : Emergency Remount R/O
[ 1126.825103] qup_i2c qup_i2c.2: QUP: I2C status flags :0x1343c8, irq:228
[ 1126.825164] qup_i2c qup_i2c.2: I2C slave addr:0x26 not connected
[ 1126.825317] MFD is Null
[ 1126.857635] Restarting system with command ''.
No errors detected
Click to expand...
Click to collapse
for brcm_wlan_power errors try to disable governator for screen off: try ondemand or interactive
for i2c-msm.c error check the file delay.h and check if never had void.... for usleep_range

Nougat on any Nexus device?

will we be able to install on Nexus 10?????
ScottBroker said:
will we be able to install on Nexus 10?????
Click to expand...
Click to collapse
If there's a developer that is willing to make a build for us. There's not many devs left for the Nexus 10 but hopefully someone will work on it.
Perhaps...
jsgraphicart said:
If there's a developer that is willing to make a build for us. There's not many devs left for the Nexus 10 but hopefully someone will work on it.
Click to expand...
Click to collapse
I really hope so. Perhaps CM will come through for us.
if it hasn't happened in a month or so, bug me - i'll do it
dmitrygr said:
if it hasn't happened in a month or so, bug me - i'll do it
Click to expand...
Click to collapse
dmitrygr, alreqdy got a build without errors, but not yet booting
scanno said:
dmitrygr, alreqdy got a build without errors, but not yet booting
Click to expand...
Click to collapse
How far did you get?
Got the build to succeed but it bootloops with the Google logo.
I have no idea how I can debug this... :'(
aHcVolle said:
How far did you get?
Got the build to succeed but it bootloops with the Google logo.
I have no idea how I can debug this... :'(
Click to expand...
Click to collapse
I have the same. The bootloop is caused by the failure of selinux to load:
Code:
[ 2.951989] init: init first stage started!
[ 2.959452] SELinux: avtab: invalid type or class
[ 2.963067] init: SELinux: Could not load policy: Invalid argument
[ 2.963314] init: failed to load policy: Invalid argument
[ 2.963400] init: Security failure; rebooting into recovery mode...
[ 2.963960] SysRq : Emergency Remount R/O
[ 2.964150] Emergency Remount complete
[ 4.762034] manta_otg manta_otg_work: UNDEFINED -> b_peripheral
[ 7.174875] manta_otg manta_otg_work: b_peripheral -> b_idle
[ 7.387529] manta_bat_sync_charge_enable: charger changed enable state to 1
[ 7.393069] battery: charge source type was changed: usb
[ 7.406743] manta_otg manta_otg_work: b_idle -> b_peripheral
[ 20.751453] INFO: task init:1 blocked for more than 10 seconds.
[ 20.751594] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 20.751670] init D c066e294 0 1 0 0x00000000
scanno said:
I have the same. The bootloop is caused by the failure of selinux to load:
Code:
[ 2.951989] init: init first stage started!
[ 2.959452] SELinux: avtab: invalid type or class
[ 2.963067] init: SELinux: Could not load policy: Invalid argument
[ 2.963314] init: failed to load policy: Invalid argument
[ 2.963400] init: Security failure; rebooting into recovery mode...
[ 2.963960] SysRq : Emergency Remount R/O
[ 2.964150] Emergency Remount complete
[ 4.762034] manta_otg manta_otg_work: UNDEFINED -> b_peripheral
[ 7.174875] manta_otg manta_otg_work: b_peripheral -> b_idle
[ 7.387529] manta_bat_sync_charge_enable: charger changed enable state to 1
[ 7.393069] battery: charge source type was changed: usb
[ 7.406743] manta_otg manta_otg_work: b_idle -> b_peripheral
[ 20.751453] INFO: task init:1 blocked for more than 10 seconds.
[ 20.751594] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 20.751670] init D c066e294 0 1 0 0x00000000
Click to expand...
Click to collapse
Who did you get this log?
Sorry for this noob question
aHcVolle said:
Who did you get this log?
Sorry for this noob question
Click to expand...
Click to collapse
Boot into TWRP, adb shell, cat /proc/last_kmsg
Seems like google upgraded policydb and the kernel has an old one that is not compatible with the selinux in android 7
Thanks!
Ugh this kernel needs a lot of work. @dmitrygr guess you do not have a list of commits you used for the M bringup. That squashed commit does not help to pinpoint the selinux problems. A clean merge with the 3.4 kernel from google / linux.org is not possible with the squashed commit, after reverting it, it was almost a clean merge.
Code:
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.4.67 ([email protected]) (gcc version 4.9 20150123 (prerelease) (GCC) ) #4 SMP PREEMPT Thu Sep 8 22:17:17 CEST 2016
[ 0.000000] CPU: ARMv7 Processor [410fc0f4] revision 4 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine: Manta
[ 0.000000] Initialized persistent memory from a0000000-a01fffff
[ 0.000000] ion_reserve: ion_chunk_heap reserved base 90000000 size 268435456
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] CPU EXYNOS5250 (id 0x43520210)
[ 0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[ 0.000000] clkout: bad source 0
[ 0.000000] EXYNOS5: PLL settings, A=1000000000, B=1333090909, C=333000000
[ 0.000000] M=1600000000, E=96000000, V=300000000, G=533000000
[ 0.000000] EXYNOS5: ARMCLK=1000000000, CDREX=800000000, ACLK400=533000000
[ 0.000000] ACLK333=333000000, ACLK266=266666666, ACLK200=200000000
[ 0.000000] ACLK166=166500000, ACLK66=66666666
[ 0.000000] sclk_fimd: source is ext_xtal (0), rate is 24000000
[ 0.000000] sclk_g3d: source is mout_mpll_user (0), rate is 800000000
[ 0.000000] sclk_gscl_wrap0: source is ext_xtal (0), rate is 24000000
[ 0.000000] sclk_gscl_wrap1: source is ext_xtal (0), rate is 24000000
[ 0.000000] sclk_bayer: source is ext_xtal (0), rate is 24000000
[ 0.000000] sclk_cam0: source is ext_xtal (0), rate is 24000000
[ 0.000000] sclk_cam1: source is ext_xtal (0), rate is 24000000
[ 0.000000] sclk_jpeg: source is ext_xtal (0), rate is 24000000
[ 0.000000] sclk_usbdrd30: source is mout_mpll (0), rate is 66666666
[ 0.000000] PERCPU: Embedded 7 pages/cpu @c1abe000 s12480 r0 d16192 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 519938
[ 0.000000] Kernel command line: vmalloc=512M debug_core.break_on_panic=0 debug_core.break_on_exception=0 no_console_suspend s3c2410-wdt.tmr_atboot=1 s3c2410-wdt.tmr_margin=30 wire.search_count=5 androidboot.hardware=manta s3cfb.bootloaderfb=0x60000000 androidboot.bootloader=MANTALJ09 androidboot.serialno=R32CB0185CM androidboot.wifimacaddr=BC:20:A4:79:C4:6E androidboot.btmacaddr=BC:20:A4:79:C4:6D
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] allocated 4192256 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 2047MB = 2047MB total
[ 0.000000] Memory: 1123232k/1123232k available, 972896k reserved, 648576K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xdf800000 - 0xff000000 ( 504 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdf000000 ( 496 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08ca000 (8968 kB)
[ 0.000000] .init : 0xc08ca000 - 0xc09140c0 ( 297 kB)
[ 0.000000] .data : 0xc0916000 - 0xc09672e0 ( 325 kB)
[ 0.000000] .bss : 0xc09df668 - 0xc0ab0d48 ( 838 kB)
[ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:597
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000048] Calibrating delay loop... 997.78 BogoMIPS (lpj=2494464)
[ 0.030034] pid_max: default: 32768 minimum: 301
[ 0.030149] Security Framework initialized
[ 0.030173] SELinux: Initializing.
[ 0.030351] Mount-cache hash table entries: 512
[ 0.031044] Initializing cgroup subsys debug
[ 0.031056] Initializing cgroup subsys cpuacct
[ 0.031065] Initializing cgroup subsys memory
[ 0.031095] Initializing cgroup subsys freezer
[ 0.031132] CPU: Testing write buffer coherency: ok
[ 0.031262] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.031293] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available
[ 0.031333] Setting up static identity map for 0x4071ba90 - 0x4071bae8
[ 0.093884] CPU1: Booted secondary processor
[ 0.121280] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.121319] CPU1: Unknown IPI message 0x1
[ 0.121446] Brought up 2 CPUs
[ 0.121458] SMP: Total of 2 processors activated (1995.57 BogoMIPS).
[ 0.133124] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.133321] gpiochip_add: registered GPIOs 0 to 7 on device: GPA0
[ 0.133333] gpiochip_add: registered GPIOs 9 to 14 on device: GPA1
[ 0.133344] gpiochip_add: registered GPIOs 16 to 23 on device: GPA2
[ 0.133355] gpiochip_add: registered GPIOs 25 to 29 on device: GPB0
[ 0.133364] gpiochip_add: registered GPIOs 31 to 35 on device: GPB1
[ 0.133374] gpiochip_add: registered GPIOs 37 to 40 on device: GPB2
[ 0.133383] gpiochip_add: registered GPIOs 42 to 45 on device: GPB3
[ 0.133393] gpiochip_add: registered GPIOs 47 to 53 on device: GPC0
[ 0.133403] gpiochip_add: registered GPIOs 55 to 58 on device: GPC1
[ 0.133412] gpiochip_add: registered GPIOs 60 to 66 on device: GPC2
[ 0.133421] gpiochip_add: registered GPIOs 68 to 74 on device: GPC3
[ 0.133431] gpiochip_add: registered GPIOs 76 to 79 on device: GPD0
[ 0.133440] gpiochip_add: registered GPIOs 81 to 88 on device: GPD1
[ 0.133450] gpiochip_add: registered GPIOs 90 to 95 on device: GPY0
[ 0.133459] gpiochip_add: registered GPIOs 97 to 100 on device: GPY1
[ 0.133468] gpiochip_add: registered GPIOs 102 to 107 on device: GPY2
[ 0.133478] gpiochip_add: registered GPIOs 109 to 116 on device: GPY3
[ 0.133487] gpiochip_add: registered GPIOs 118 to 125 on device: GPY4
[ 0.133497] gpiochip_add: registered GPIOs 127 to 134 on device: GPY5
[ 0.133506] gpiochip_add: registered GPIOs 136 to 143 on device: GPY6
[ 0.133515] gpiochip_add: registered GPIOs 145 to 151 on device: GPC4
[ 0.133525] gpiochip_add: registered GPIOs 153 to 160 on device: GPX0
[ 0.133534] gpiochip_add: registered GPIOs 162 to 169 on device: GPX1
[ 0.133543] gpiochip_add: registered GPIOs 171 to 178 on device: GPX2
[ 0.133553] gpiochip_add: registered GPIOs 180 to 187 on device: GPX3
[ 0.133567] gpiochip_add: registered GPIOs 189 to 196 on device: GPE0
[ 0.133577] gpiochip_add: registered GPIOs 198 to 199 on device: GPE1
[ 0.133586] gpiochip_add: registered GPIOs 201 to 204 on device: GPF0
[ 0.133595] gpiochip_add: registered GPIOs 206 to 209 on device: GPF1
[ 0.133604] gpiochip_add: registered GPIOs 211 to 218 on device: GPG0
[ 0.133613] gpiochip_add: registered GPIOs 220 to 227 on device: GPG1
[ 0.133623] gpiochip_add: registered GPIOs 229 to 230 on device: GPG2
[ 0.133632] gpiochip_add: registered GPIOs 232 to 235 on device: GPH0
[ 0.133641] gpiochip_add: registered GPIOs 237 to 244 on device: GPH1
[ 0.133655] gpiochip_add: registered GPIOs 246 to 253 on device: GPV0
[ 0.133665] gpiochip_add: registered GPIOs 255 to 262 on device: GPV1
[ 0.133674] gpiochip_add: registered GPIOs 264 to 271 on device: GPV2
[ 0.133683] gpiochip_add: registered GPIOs 273 to 280 on device: GPV3
[ 0.133692] gpiochip_add: registered GPIOs 282 to 283 on device: GPV4
[ 0.133704] gpio: GPZ has no PM function
[ 0.133713] gpiochip_add: registered GPIOs 285 to 291 on device: GPZ
[ 0.133928] dummy:
[ 0.134144] NET: Registered protocol family 16
[ 0.134479] Registered FIQ tty driver
[ 0.134514] Last reset was XnRESET pin reset (RST_STAT=0x10000)
[ 0.136730] Manta HW revision: 8, CPU EXYNOS5250 Rev1.0
[ 0.140206] console [ttyFIQ2] enabled
[ 0.140301] Registered fiq debugger ttyFIQ2
[ 0.140586] persistent_ram: found existing buffer, size 24788, start 24788
[ 0.203296] console [ram-1] enabled
[ 0.204992] bootloader fb located at 60000000-60F9FFFF
[ 0.205111] Registered chained gpio int handler for interrupt 77.
[ 0.205195] Registered interrupt support for gpio group 19.
[ 0.207404] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.207523] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.207708] S3C Power Management, Copyright 2004 Simtec Electronics
[ 0.208057] EXYNOS5250 PMU Initialize
[ 0.208950] EXYNOS: Initializing architecture
[ 0.209368] s3c24xx-pwm s3c24xx-pwm.0: tin at 33333333, tdiv at 33333333, tin=divclk, base 0
[ 0.209550] s3c24xx-pwm s3c24xx-pwm.1: tin at 16666666, tdiv at 16666666, tin=divclk, base 8
[ 0.216848] bio: create slab <bio-0> at 0
[ 0.217244] MXT_BOOSTER:
[ 0.217421] MXT_XVDD:
[ 0.217535] MXT_XVDD: supplied by MXT_BOOSTER
[ 0.217772] VBATT: 3700 mV
[ 0.615102] ion_chunk_heap_create: base 2415919104 size 268435456 align 1048576
[ 0.615680] SCSI subsystem initialized
[ 0.616518] usbcore: registered new interface driver usbfs
[ 0.616675] usbcore: registered new interface driver hub
[ 0.616820] usbcore: registered new device driver usb
[ 0.617124] wake enabled for irq 439
[ 0.617235] wake enabled for irq 432
[ 0.617345] wake enabled for irq 433
[ 0.617454] GPIO Input Driver: Start gpio inputs for manta-keypad... in interrupt mode
[ 0.617575] wake enabled for irq 427
[ 0.617683] GPIO Input Driver: Start gpio inputs for manta-keypad... in interrupt mode
[ 0.617873] input: manta-keypad as /devices/virtual/input/input0
[ 0.618085] input: manta-switch as /devices/virtual/input/input1
[ 0.618614] s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
[ 0.618726] s3c-i2c s3c2440-i2c.0: slave address 0x10
[ 0.618789] s3c-i2c s3c2440-i2c.0: bus frequency set to 65 KHz
[ 0.619183] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[ 0.619249] s3c-i2c s3c2440-i2c.1: slave address 0x10
[ 0.619357] s3c-i2c s3c2440-i2c.1: bus frequency set to 378 KHz
[ 0.619716] s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
[ 0.619827] s3c-i2c s3c2440-i2c.2: slave address 0x10
[ 0.619890] s3c-i2c s3c2440-i2c.2: bus frequency set to 378 KHz
[ 0.620185] s3c-i2c s3c2440-i2c.3: i2c-3: S3C I2C adapter
[ 0.620251] s3c-i2c s3c2440-i2c.3: slave address 0x10
[ 0.620359] s3c-i2c s3c2440-i2c.3: bus frequency set to 378 KHz
[ 0.620664] s3c-i2c s3c2440-i2c.4: i2c-4: S3C I2C adapter
[ 0.620776] s3c-i2c s3c2440-i2c.4: slave address 0x10
[ 0.620839] s3c-i2c s3c2440-i2c.4: bus frequency set to 378 KHz
[ 0.621325] max77686 5-0009: device found
[ 0.628204] max77686_pmic_probe: Device ID=0x09, (version:1, chip_rev:1)
[ 0.628466] max77686-pmic max77686-pmic: Power on triggered by PWRON=High
[ 0.628532] max77686-pmic max77686-pmic: Power on triggered by Manual Reset Event
[ 0.631785] vdd_mif range: 850 <--> 1200 mV at 1037 mV
[ 0.632529] vdd_arm range: 850 <--> 1500 mV at 1075 mV
[ 0.633316] vdd_int range: 850 <--> 1300 mV at 1037 mV
[ 0.634059] vdd_g3d range: 850 <--> 1250 mV at 1200 mV
[ 0.635087] VCC_1.8V_AP: 1800 mV
[ 0.636067] VMIPI_1.0V: 1000 mV
[ 0.636841] TOUCH_VDD_1.8V: 1800 mV
[ 0.637871] VMIPI_1.8V: 1800 mV
[ 0.638839] VUOTG_3.0V: 3000 mV
[ 0.639810] VHSIC_1.0V: 1000 mV
[ 0.640787] VHSIC_1.8V: 1800 mV
[ 0.641577] 5M_CORE_1.5V: 1500 mV
[ 0.642294] CAM_IO_1.8V: 1800 mV
[ 0.643021] VT_CAM_1.8V: 1800 mV
[ 0.643790] TA_CHECK_1.35V: 1350 mV
[ 0.644516] TSP_AVDD_2.8V: 2800 mV
[ 0.645231] CAM_AF_2.8V: 2800 mV
[ 0.646202] VADC_3.3V: 3300 mV
[ 0.646850] 32KHZ_PMIC:
[ 0.647063] s3c-i2c s3c2440-i2c.5: i2c-5: S3C I2C adapter
[ 0.647128] s3c-i2c s3c2440-i2c.5: slave address 0x10
[ 0.647238] s3c-i2c s3c2440-i2c.5: bus frequency set to 378 KHz
[ 0.647508] s3c-i2c s3c2440-i2c.7: i2c-7: S3C I2C adapter
[ 0.647620] s3c-i2c s3c2440-i2c.7: slave address 0x10
[ 0.647682] s3c-i2c s3c2440-i2c.7: bus frequency set to 378 KHz
[ 0.647936] s3c-i2c s3c2440-i2c.8: i2c-8: S3C I2C adapter
[ 0.648001] s3c-i2c s3c2440-i2c.8: slave address 0x10
[ 0.648109] s3c-i2c s3c2440-i2c.8: bus frequency set to 378 KHz
[ 0.648228] Linux media interface: v0.10
[ 0.648372] Linux video capture interface: v2.00
[ 0.649822] Advanced Linux Sound Architecture Driver Version 1.0.25.
[ 0.650310] Bluetooth: Core ver 2.16
[ 0.650408] NET: Registered protocol family 31
[ 0.650471] Bluetooth: HCI device and connection manager initialized
[ 0.650584] Bluetooth: HCI socket layer initialized
[ 0.650646] Bluetooth: L2CAP socket layer initialized
[ 0.650773] Bluetooth: SCO socket layer initialized
[ 0.651126] cfg80211: Calling CRDA to update world regulatory domain
[ 0.651502] wake enabled for irq 421
[ 0.651634] wake enabled for irq 422
[ 0.652025] Switching to clocksource mct-frc
[ 0.668456] NET: Registered protocol family 2
[ 0.668686] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.669141] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.670183] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[ 0.671278] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.671388] TCP: reno registered
[ 0.671453] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.671529] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.671810] NET: Registered protocol family 1
[ 0.672078] Trying to unpack rootfs image as initramfs...
[ 0.729783] Freeing initrd memory: 1244K
[ 0.731326] Exynos5 : ARM Clock down on idle mode is enabled
[ 0.731484] EXYNOS5250 ASV(ARM : 6 MIF : 2) using fused group
[ 0.731879] [BT] bcm_bt_lpm_init
[ 0.732110] wake enabled for irq 438
[ 0.732592] exynos_tmu exynos_tmu: Current auto refresh interval(3875 nsec), Normal auto refresh interval(3875 nsec), memory throttle auto refresh internal(1937 nsec)
[ 0.733745] exynos_tmu exynos_tmu: Tmu Initialization is sucessful...!
[ 0.733964] s3c-adc samsung-adc-v4: operating without regulator "vdd" .
[ 0.734095] s3c-adc samsung-adc-v4: attached adc driver
[ 0.734639] audit: initializing netlink socket (disabled)
[ 0.734730] type=2000 audit(0.725:1): initialized
[ 0.735542] highmem bounce pool size: 64 pages
[ 0.741211] fuse init (API version 7.18)
[ 0.741464] msgmni has been set to 929
[ 0.743146] io scheduler noop registered
[ 0.743214] io scheduler deadline registered
[ 0.743289] io scheduler row registered
[ 0.743417] io scheduler cfq registered (default)
[ 0.945979] dma-pl330 dma-pl330.0: Loaded driver for PL330 DMAC-267056
[ 0.946098] dma-pl330 dma-pl330.0: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 0.948258] dma-pl330 dma-pl330.1: Loaded driver for PL330 DMAC-267056
[ 0.948377] dma-pl330 dma-pl330.1: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 0.949085] dma-pl330 dma-pl330.2: Loaded driver for PL330 DMAC-267056
[ 0.949154] dma-pl330 dma-pl330.2: DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32
[ 0.949379] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.950120] exynos4210-uart.0: ttySAC0 at MMIO 0x12c00000 (irq = 83) is a S3C6400/10
[ 0.950312] exynos4210-uart.1: ttySAC1 at MMIO 0x12c10000 (irq = 84) is a S3C6400/10
[ 0.950546] exynos4210-uart.3: ttySAC3 at MMIO 0x12c30000 (irq = 86) is a S3C6400/10
[ 0.950886] mali mali.0: Continuing without Mali clock control
[ 0.951998] mali mali.0: GPU identified as 0x6956 r0p0 status 1
[ 1.088187] mali mali.0: Probed as mali0
[ 1.088423] mali mali.0: start latency exceeded, new value 958 ns
[ 1.089362] mali mali.0: state restore latency exceeded, new value 822666 ns
[ 1.089434] mali mali.0: stop latency exceeded, new value 875 ns
[ 1.094319] brd: module loaded
[ 1.096675] loop: module loaded
[ 1.097558] WM1811 LDO1:
[ 1.098053] WM1811 LDO2:
[ 1.102571] wm8994 7-001a: WM1811 revision D CUST_ID 00
[ 1.106510] bcm2079x-spi spi2.0: bcmspinfc_probe, probing bcmspinfc driver
[ 1.106700] bcm2079x-spi spi2.0: requesting IRQ 430
[ 1.106821] bcm2079x-spi spi2.0: bcmspinfc_probe, probing bcmspinfc driver exited successfully
[ 1.107088] tun: Universal TUN/TAP device driver, 1.6
[ 1.107151] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[ 1.107370] PPP generic driver version 2.4.2
[ 1.107532] PPP BSD Compression module registered
[ 1.107644] PPP Deflate Compression module registered
[ 1.107975] PPP MPPE Compression module registered
[ 1.108089] NET: Registered protocol family 24
[ 1.108188] usbcore: registered new interface driver asix
[ 1.108282] usbcore: registered new interface driver cdc_ether
[ 1.108417] usbcore: registered new interface driver net1080
[ 1.108505] usbcore: registered new interface driver cdc_subset
[ 1.108638] usbcore: registered new interface driver zaurus
[ 1.108789] usbcore: registered new interface driver cdc_ncm
[ 1.108981] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.109363] s5p-ehci s5p-ehci: S5P EHCI Host Controller
[ 1.109543] s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1
[ 1.109714] s5p-ehci s5p-ehci: irq 103, io mem 0x12110000
[ 1.117202] s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00
[ 1.117381] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.117447] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.117557] usb usb1: Product: S5P EHCI Host Controller
[ 1.117619] usb usb1: Manufacturer: Linux 3.4.67 ehci_hcd
[ 1.117727] usb usb1: SerialNumber: s5p-ehci
[ 1.118103] hub 1-0:1.0: USB hub found
[ 1.118226] hub 1-0:1.0: 3 ports detected
[ 1.118505] s5p-ehci s5p-ehci: remove, state 1
[ 1.118577] usb usb1: USB disconnect, device number 1
[ 1.119856] s5p-ehci s5p-ehci: USB bus 1 deregistered
[ 1.120123] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.120447] exynos-ohci exynos-ohci: EXYNOS OHCI Host Controller
[ 1.120633] exynos-ohci exynos-ohci: new USB bus registered, assigned bus number 1
[ 1.120777] exynos-ohci exynos-ohci: irq 103, io mem 0x12120000
[ 1.176284] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.176399] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.176510] usb usb1: Product: EXYNOS OHCI Host Controller
[ 1.176572] usb usb1: Manufacturer: Linux 3.4.67 ohci_hcd
[ 1.176680] usb usb1: SerialNumber: exynos-ohci
[ 1.177025] hub 1-0:1.0: USB hub found
[ 1.177100] hub 1-0:1.0: 3 ports detected
[ 1.177431] exynos-ohci exynos-ohci: remove, state 1
[ 1.177502] usb usb1: USB disconnect, device number 1
[ 1.178015] exynos-ohci exynos-ohci: USB bus 1 deregistered
[ 1.178292] usbcore: registered new interface driver usblp
[ 1.178402] Initializing USB Mass Storage driver...
[ 1.178493] usbcore: registered new interface driver usb-storage
[ 1.178602] USB Mass Storage support registered.
[ 1.178936] s3c-hsotg : S3C HS USB OTG Device Driver,(c) 2008-2009 Samsung Electronics
[ 1.178943] s3c-hsotg : version 15 March 2009
[ 1.179261] file system registered
[ 1.180162] gadget: Mass Storage Function, version: 2009/09/11
[ 1.180277] gadget: Number of LUNs=1
[ 1.180341] lun0: LUN: removable file: (no medium)
[ 1.180674] gadget: android_usb ready
[ 1.180738] bound driver 'android_usb'
[ 1.180921] mousedev: PS/2 mouse device common for all mice
[ 1.181226] usbcore: registered new interface driver xpad
[ 1.181319] usbcore: registered new interface driver usb_acecad
[ 1.181455] usbcore: registered new interface driver aiptek
[ 1.181541] usbcore: registered new interface driver gtco
[ 1.181674] usbcore: registered new interface driver hanwang
[ 1.181760] usbcore: registered new interface driver kbtab
[ 1.181893] usbcore: registered new interface driver wacom
[ 1.182388] input: Atmel maXTouch Touchscreen as /devices/platform/s3c2440-i2c.3/i2c-3/3-004a/input/input2
[ 1.192364] mali mali.0: stop latency exceeded, new value 959 ns
[ 1.192496] mali mali.0: state save latency exceeded, new value 8375 ns
[ 1.192851] pd-g3d: Power-off latency exceeded, new value 286958 ns
[ 1.292779] max77686-rtc max77686-rtc: max77686_rtc_enable_wtsr_smpl: WTSR: enable, SMPL: enable
[ 1.392693] max77686-rtc max77686-rtc: rtc core: registered max77686-rtc as rtc0
[ 1.393279] i2c /dev entries driver
[ 1.393982] exynos-mdev.0: Media0[0xde147800] was registered successfully
[ 1.394177] exynos-mdev.1: Media1[0xde147c00] was registered successfully
[ 1.394369] exynos-mdev.2: Media2[0xde19c000] was registered successfully
[ 1.394947] [INFO]gsc_probe:1450: gsc-0 registered successfully
[ 1.395461] [INFO]gsc_probe:1450: gsc-1 registered successfully
[ 1.395921] [INFO]gsc_probe:1450: gsc-2 registered successfully
[ 1.396419] [INFO]gsc_probe:1450: gsc-3 registered successfully
[ 1.396533] Initialize JPEG driver
[ 1.396807] s5p-jpeg s5p-jpeg: JPEG driver is registered to /dev/video12
[ 1.396938] s5p-jpeg s5p-jpeg: JPEG driver is registered to /dev/video11
[ 1.397382] Samsung Graphics 2D driver, (c) 2011 Samsung Electronics
[ 1.397489] EXYNOS MFC V4L2 Driver, (c) 2010 Samsung Electronics
[ 1.397926] s5p-mfc s5p-mfc: decoder registered as /dev/video6
[ 1.398059] s5p-mfc s5p-mfc: encoder registered as /dev/video7
[ 1.398621] i2c i2c-0: attached exynos hdcp into i2c adapter successfully
[ 1.398764] i2c-core: driver [exynos_hdcp] using legacy suspend method
[ 1.398827] i2c-core: driver [exynos_hdcp] using legacy resume method
[ 1.398946] Samsung HDMI output driver, (c) 2010-2011 Samsung Electronics Co., Ltd.
[ 1.399158] s5p-hdmi exynos5-hdmi: hdmiphy i2c bus number = 8
[ 1.399348] s5p-hdmiphy 8-0038: hdmiphy_probe start
[ 1.399414] s5p-hdmiphy 8-0038: probe successful
[ 1.425083] s5p-hdmi exynos5-hdmi: probe sucessful
[ 1.425258] i2c i2c-0: probed exynos edid
[ 1.425365] Samsung TV Mixer driver, (c) 2010-2011 Samsung Electronics Co., Ltd.
[ 1.425519] s5p-mixer s5p-mixer: probe start
[ 1.425802] s5p-mixer s5p-mixer: resources acquired
[ 1.425890] s5p-mixer s5p-mixer: added output 'S5P HDMI connector' from module 's5p-hdmi'
[ 1.426106] s5p-mixer s5p-mixer: registered layer mxr0_graph0 as /dev/video16
[ 1.426245] s5p-mixer s5p-mixer: registered layer mxr0_graph1 as /dev/video17
[ 1.426436] s5p-mixer s5p-mixer: registered layer mxr1_graph2 as /dev/video18
[ 1.426616] s5p-mixer s5p-mixer: registered layer mxr1_graph3 as /dev/video19
[ 1.426682] s5p-mixer s5p-mixer: mixer0 create links
[ 1.426801] s5p-mixer s5p-mixer: mixer1 create links
[ 1.426871] s5p-mixer s5p-mixer: mixer links are created successfully
[ 1.426995] s5p-mixer s5p-mixer: probe successful
[ 1.428101] fimc_is_spi successfully probed
[ 1.428187] Driver for 1-wire Dallas network protocol.
[ 1.500042] wake enabled for irq 420
[ 1.500412] s3c2410_wdt: S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
[ 1.500665] s3c2410-wdt s3c2410-wdt: starting watchdog timer
[ 1.500735] s3c2410-wdt s3c2410-wdt: watchdog active, reset enabled, irq disabled
[ 1.501243] device-mapper: uevent: version 1.0.3
[ 1.501481] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: [email protected]
[ 1.501897] Bluetooth: HCI UART driver ver 2.2
[ 1.502010] Bluetooth: HCI H4 protocol initialized
[ 1.502210] cpuidle: using governor ladder
[ 1.502414] cpuidle: using governor menu
[ 1.502548] sdhci: Secure Digital Host Controller Interface driver
[ 1.502611] sdhci: Copyright(c) Pierre Ossman
[ 1.502798] Synopsys Designware Multimedia Card Interface Driver
[ 1.502964] dw_mmc dw_mmc.0: Using internal DMA controller.
[ 1.503389] mmc0: no vmmc regulator found
[ 1.505370] dw_mmc dw_mmc.0: Version ID is 241a
[ 1.505449] dw_mmc dw_mmc.0: DW MMC controller at irq 107, 32 bit host data width, 128 deep fifo
[ 1.505664] dw_mmc dw_mmc.1: Using internal DMA controller.
[ 1.506044] mmc1: no vmmc regulator found
[ 1.507344] dw_mmc dw_mmc.1: Version ID is 241a
[ 1.507412] dw_mmc dw_mmc.1: DW MMC controller at irq 108, 32 bit host data width, 128 deep fifo
[ 1.507523] dw_mmc dw_mmc.1: Internal DMAC interrupt fix enabled.
[ 1.517567] usbcore: registered new interface driver usbhid
[ 1.517691] usbhid: USB HID core driver
[ 1.532218] mmc_host mmc0: device is being hw reset
[ 1.692231] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
52 Corrected bytes, 0 unrecoverable blocks
Last reset was software reset (RST_STAT=0x20000000)
I have no idea what is missing but the display doesn't show anything when booting with a self compiled permissive kernel....
Just to let you all know
scanno said:
Just to let you all know
Click to expand...
Click to collapse
Nice. Looking forward to seeing how far this goes. How's it running?
jsgraphicart said:
Nice. Looking forward to seeing how far this goes. How's it running?
Click to expand...
Click to collapse
Too early to tell. Just got it booting. Wifi is working. Camera and gps not yet. BT and NFC not tried yet.
scanno said:
Too early to tell. Just got it booting. Wifi is working. Camera and gps not yet. BT and NFC not tried yet.
Click to expand...
Click to collapse
Well it's exciting to actually see it being done. I was afraid we wouldn't get anything for our Nexus 10
scanno said:
Too early to tell. Just got it booting. Wifi is working.
Click to expand...
Click to collapse
Don't need anything else!
scanno said:
Too early to tell. Just got it booting. Wifi is working. Camera and gps not yet. BT and NFC not tried yet.
Click to expand...
Click to collapse
Which kernel did you use?
aHcVolle said:
Which kernel did you use?
Click to expand...
Click to collapse
I used my own kernel (well the omnirom kernel and selinux patches).
This weekend i will sort out the patches and commit them.
You can check https://gerrit.omnirom.org/#/q/stat...anta+branch:android-7.0+topic:manta-n-bringup
I have most of them there already, but not yet verified by a new build.
---------- Post added at 10:36 AM ---------- Previous post was at 10:35 AM ----------
peachpuff said:
Don't need anything else!
Click to expand...
Click to collapse
Will upload the boot.img and system.img tonight.
But ut is a first booting build,expect problems and at your own risk. Only flashable by fastboot.
---------- Post added at 11:36 AM ---------- Previous post was at 10:36 AM ----------
https://www.androidfilehost.com/?w=files&flid=109935
Completely at your own risk
Wipe in twrp
Reboot into bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot reboot
And cross your fingers
Flashing system.img will give a signature failure, but it boots fine for me

Debugging issues with OmniROM build for Galaxy Tab Active 2

Hi,
I've been working on the Galaxy Tab Active 2 for some time now.
Managed to successfully build TWRP recovery for the device using the Omni sources (Big thanks to TWRP dev team).
I'm trying to build the entire rom now and flash it using TWRP.
Right now, I have successful builds giving me a ZIP file which I'm able to flash. Problem is that after the flash I get a solid frozen black screen and nothing happens.
The installation process was as follows:
1. Installed stock rom
2. Installed TWRP
3. got to recovery and wiped/formatted device
4. moved ZIP file to internal storage using adb
5. installed ZIP file
6. Wiped cache + Dalvik
Ideas?
Shedaim said:
Hi,
I've been working on the Galaxy Tab Active 2 for some time now.
Managed to successfully build TWRP recovery for the device using the Omni sources (Big thanks to TWRP dev team).
I'm trying to build the entire rom now and flash it using TWRP.
Right now, I have successful builds giving me a ZIP file which I'm able to flash. Problem is that after the flash I get a solid frozen black screen and nothing happens.
The installation process was as follows:
1. Installed stock rom
2. Installed TWRP
3. got to recovery and wiped/formatted device
4. moved ZIP file to internal storage using adb
5. installed ZIP file
6. Wiped cache + Dalvik
Ideas?
Click to expand...
Click to collapse
Could be kernel or ROM related. Try first to read kernel logs from /sys/fs/pstore after direct reboot to recovery.
golden-guy said:
Could be kernel or ROM related. Try first to read kernel logs from /sys/fs/pstore after direct reboot to recovery.
Click to expand...
Click to collapse
I have two files on pstore, one of them is encrypted and the other has two lines:
Code:
/sbin/recovery Failed to get encryption policy for /efs/recovery: Not a typewriter
I pooled dmesg through twrp recovery "Copy logs" option and got some disturbing errors, but I'm not sure they are related:
Code:
<13>[ 2.482250] [1: init: 1] init: (Initializing SELinux enforcing took 0.07s.)
<13>[ 2.485142] [5: init: 1] init: init second stage started!
<13>[ 2.490138] [5: init: 1] init: Running restorecon...
<11>[ 2.555696] [5: init: 1] init: waitpid failed: No child processes
<11>[ 2.556399] [5: init: 1] init: property_set("ro.ril.hsxpa", "1") failed
<11>[ 2.556422] [5: init: 1] init: property_set("ro.ril.gprsclass", "10") failed
<13>[ 2.556512] [5: init: 1] init: (Loading properties from /default.prop took 0.00s.)
<11>[ 2.557046] [5: init: 1] init: /init.rc: 13: invalid keyword 'setcon'
<11>[ 2.557197] [5: init: 1] init: /init.rc: 63: invalid keyword 'load_all_props'
<11>[ 2.557397] [5: init: 1] init: could not import file '/init.recovery.logd.rc' from '/init.rc': No such file or directory
<13>[ 2.557594] [5: init: 1] init: (Parsing /init.recovery.usb.rc took 0.00s.)
<13>[ 2.557660] [5: init: 1] init: (Parsing /init.recovery.service.rc took 0.00s.)
<11>[ 2.557696] [5: init: 1] init: could not import file '/init.recovery.vold_decrypt.rc' from '/init.rc': No such file or directory
<11>[ 2.557730] [5: init: 1] init: could not import file '/init.recovery.samsungexynos7870.rc' from '/init.rc': No such file or directory
<13>[ 2.557753] [5: init: 1] init: (Parsing /init.rc took 0.00s.)
<13>[ 2.557893] [5: init: 1] init: write_file: Unable to write to '/sys/fs/selinux/checkreqprot': Permission denied
<13>[ 2.557963] [5: init: 1] init: Starting service 'ueventd'...
<13>[ 2.558331] [5: init: 1] init: Starting service 'healthd'...
<13>[ 2.558659] [5: init: 1] init: Waiting for /dev/.coldboot_done...
I'll try fixing those errors, but I don't believe it'll fix my main problem.
Shedaim said:
I have two files on pstore, one of them is encrypted and the other has two lines:
Code:
/sbin/recovery Failed to get encryption policy for /efs/recovery: Not a typewriter
I pooled dmesg through twrp recovery "Copy logs" option and got some disturbing errors, but I'm not sure they are related:
Code:
<13>[ 2.482250] [1: init: 1] init: (Initializing SELinux enforcing took 0.07s.)
<13>[ 2.485142] [5: init: 1] init: init second stage started!
<13>[ 2.490138] [5: init: 1] init: Running restorecon...
<11>[ 2.555696] [5: init: 1] init: waitpid failed: No child processes
<11>[ 2.556399] [5: init: 1] init: property_set("ro.ril.hsxpa", "1") failed
<11>[ 2.556422] [5: init: 1] init: property_set("ro.ril.gprsclass", "10") failed
<13>[ 2.556512] [5: init: 1] init: (Loading properties from /default.prop took 0.00s.)
<11>[ 2.557046] [5: init: 1] init: /init.rc: 13: invalid keyword 'setcon'
<11>[ 2.557197] [5: init: 1] init: /init.rc: 63: invalid keyword 'load_all_props'
<11>[ 2.557397] [5: init: 1] init: could not import file '/init.recovery.logd.rc' from '/init.rc': No such file or directory
<13>[ 2.557594] [5: init: 1] init: (Parsing /init.recovery.usb.rc took 0.00s.)
<13>[ 2.557660] [5: init: 1] init: (Parsing /init.recovery.service.rc took 0.00s.)
<11>[ 2.557696] [5: init: 1] init: could not import file '/init.recovery.vold_decrypt.rc' from '/init.rc': No such file or directory
<11>[ 2.557730] [5: init: 1] init: could not import file '/init.recovery.samsungexynos7870.rc' from '/init.rc': No such file or directory
<13>[ 2.557753] [5: init: 1] init: (Parsing /init.rc took 0.00s.)
<13>[ 2.557893] [5: init: 1] init: write_file: Unable to write to '/sys/fs/selinux/checkreqprot': Permission denied
<13>[ 2.557963] [5: init: 1] init: Starting service 'ueventd'...
<13>[ 2.558331] [5: init: 1] init: Starting service 'healthd'...
<13>[ 2.558659] [5: init: 1] init: Waiting for /dev/.coldboot_done...
I'll try fixing those errors, but I don't believe it'll fix my main problem.
Click to expand...
Click to collapse
You should definitely do your bringup with permissive selinux. Just when everything is working, fix all remaining denials and switch to enforcing.
Ah, this is just recovery logs. Still, worth to check for your build.
golden-guy said:
You should definitely do your bringup with permissive selinux. Just when everything is working, fix all remaining denials and switch to enforcing.
Ah, this is just recovery logs. Still, worth to check for your build.
Click to expand...
Click to collapse
Do you have a good guide to boot with permissive mode? I've tried some flags in the device's kernel config, but all get overwritten at boot.
Well, those are the kernel logs taken from the recovery.
EDIT: tried changing selinux flags in kernel config file + changed EXTRA_CFLAGS += -DCONFIG_ALWAYS_ENFORCE to false in kernel/security/selinux/Makefile.
problem is that if I do that, TWRP get's stuck in a bootloop.
Shedaim said:
Do you have a good guide to boot with permissive mode? I've tried some flags in the device's kernel config, but all get overwritten at boot.
Well, those are the kernel logs taken from the recovery.
EDIT: tried changing selinux flags in kernel config file + changed EXTRA_CFLAGS += -DCONFIG_ALWAYS_ENFORCE to false in kernel/security/selinux/Makefile.
problem is that if I do that, TWRP get's stuck in a bootloop.
Click to expand...
Click to collapse
Normally, you set this in BOARD_KERNEL_CMDLINE in your BoardConfig.mk and it does apply. Best check some other (Samsung) device trees and kernel configs.
golden-guy said:
Normally, you set this in BOARD_KERNEL_CMDLINE in your BoardConfig.mk and it does apply. Best check some other (Samsung) device trees and kernel configs.
Click to expand...
Click to collapse
can't put anything on the BOARD_KERNEL_CMDLINE for exynos devices.
@golden-guy
Care to take a look at my github? I may be missing something. https://github.com/Shedaim/gtactive2lte.git
The kernel's configuration I'm using is in the following path: /kernel/arch/arm64/configs/exynos7870-gtactive2lte_eur_open_defconfig
I tried creating only the kernel and put inside stock boot.img replacing stock zImage, but it automatically boots to recovery after failed boot.
If I try to build the rom with version 1 recovery.fstab, I successfully get the zip file, but I got these warnings/prints:
Code:
Package OTA: /home/roni/Full_Omni/out/target/product/gtactive2lte/omni_gtactive2lte-ota-eng.root.zip
/efs: unknown option "flags=display=EFS;backup=1"
/data: unknown option "flags=encryptable=footer;length=-20480"
/modem: unknown option "flags=display=MODEM"
/preload: unknown option "flags=display="Preload";wipeingui;backup=1"
/external_sdcard: unknown option "flags=display="Micro"
/usb-otg: unknown option "flags=display="USB-OTG";storage;wipeingui;removable"
unzipping target target-files...
running: unzip -o -q /home/roni/Full_Omni/out/target/product/gtactive2lte/obj/PACKAGING/target_files_intermediates/omni_gtactive2lte-target_files-eng.root.zip -d /tmp/targetfiles-5NhyYa
/efs: unknown option "flags=display=EFS;backup=1"
/data: unknown option "flags=encryptable=footer;length=-20480"
/modem: unknown option "flags=display=MODEM"
/preload: unknown option "flags=display="Preload";wipeingui;backup=1"
/external_sdcard: unknown option "flags=display="Micro"
/usb-otg: unknown option "flags=display="USB-OTG";storage;wipeingui;removable"
Shedaim said:
@golden-guy
Care to take a look at my github? I may be missing something. https://github.com/Shedaim/gtactive2lte.git
The kernel's configuration I'm using is in the following path: /kernel/arch/arm64/configs/exynos7870-gtactive2lte_eur_open_defconfig
I tried creating only the kernel and put inside stock boot.img replacing stock zImage, but it automatically boots to recovery after failed boot.
If I try to build the rom with version 1 recovery.fstab, I successfully get the zip file, but I got these warnings/prints:
Click to expand...
Click to collapse
You got to find out how to make a permissive kernel for Sammy devices, I won't do that research for you. Also if pstore is empty, you might need to enable this in defconfig first.
Btw, kernel repo need to be seperate from device tree.
golden-guy said:
You got to find out how to make a permissive kernel for Sammy devices, I won't do that research for you. Also if pstore is empty, you might need to enable this in defconfig first.
Btw, kernel repo need to be seperate from device tree.
Click to expand...
Click to collapse
It may be best practice to have it separated, but I see no wrong in linking the TARGET_KERNEL_SOURCE to the device tree. I mean, it's just a path.
Hmm, I think it is loading in permissive mode (see last line). This is a log taken from recovery, which was built using the same tree and kernel configuration.
Code:
MODEL_NAME:{{SM-T395}}
eMMC_SERIAL_NUMBER:{{150100414A5444345200DB205BCAC461}}
[Debug Info.]
S-BOOT : VERSION_-+J0
SecureOS : 32 (MB)
blk_bread: MMC mode
- read_bl1
blk_bread_bootsector: MMC mode
Verify_Signature_With_Signingtype 0x45820130 [email protected], [email protected]
pit_check_signature (PIT) valid.
blk_bread: MMC mode
PARAM ENV VERSION: v1.0..
RECOVERY IS NOT SEANDROID ENFORCING
RECOVERY IS NOT SEANDROID ENFORCING
ATAG_CMDLINE: 103 54410009 'console=ram loglevel=4 bootmode=2 sec_debug.level=0 sec_watchdog.sec_pet=5 androidboot.debug_level=0x4f4c ess_setup=0x46000000 [email protected] [email protected] s3cfb.bootloaderfb=0x67000000 sysscope=0xee000000 lcdtype=812552 consoleblank=0 vmalloc=384m sec_debug.reset_reason=6 sec_reset.reset_reason=6 ehci_hcd.park=3 oops=panic pmic_info=27 ccic_info=1 cordon=eeeb5ced9430d2cfe0bf16a079f70608 connie=SM-T395_OPEN_EUR_63e3f4ca8271d4c7e2d2c3239cb7fb2e androidboot.emmc_checksum=3 androidboot.sales.param.offset=7340572 sales_code=ILO androidboot.odin_download=1 androidboot.bootloader=T395JXU1AQJ2 androidboot.selinux=enforcing androidboot.security_mode=1526595585 androidboot.ucs_mode=0 androidboot.hw_rev=4 androidboot.hardware=samsungexynos7870 androidboot.warranty_bit=1 androidboot.hmac_mismatch=0 androidboot.sec_atd.tty=/dev/ttySAC2 androidboot.serialno=5200db205bcac461 snd_soc_core.pmdown_time=1000 androidboot.verifiedbootstate=orange reserve-fimc=0 firmware_class.path=/vendor/firmware'
param logs:
<6>[ 0.000000] [0: swapper: 0] Initializing cgroup subsys cpu
<6>[ 0.000000] [0: swapper: 0] Initializing cgroup subsys cpuacct
<5>[ 0.000000] [0: swapper: 0] Linux version 3.18.14 ([email protected]) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Jul 29 16:36:16 IDT 2018
<4>[ 0.000000] [0: swapper: 0] CPU: AArch64 Processor [410fd034] revision 4
<6>[ 0.000000] [0: swapper: 0] Detected VIPT I-cache on CPU0
<6>[ 0.000000] [0: swapper: 0] alternative: enabling workaround for ARM erratum 845719
<6>[ 0.000000] [0: swapper: 0] [ECT] Address 90000000, Size 14000setup_bootmode: boot_mode is 0
<4>[ 0.000000] [0: swapper: 0] setup_bootmode: boot_mode is 2
<6>[ 0.000000] [0: swapper: 0] dsim: --- Parse LCD TYPE ---
<6>[ 0.000000] [0: swapper: 0] dsim: LCDTYPE : 000c6608
<4>[ 0.000000] [0: swapper: 0] val = 49
<6>[ 0.000000] [0: swapper: 0] Security Boot Mode
<3>[ 0.000000] [0: swapper: 0] modem_if_reserved_mem_setup: memory reserved: paddr=4026531840, t_size=125829120
<6>[ 0.000000] [0: swapper: 0] Reserved memory: initialized node modem_if, compatible id exynos7870,modem_if
<3>[ 0.000000] [0: swapper: 0] deliver_cp_reserved_mem_setup: memory reserved: paddr=4026527744, t_size=4096
<6>[ 0.000000] [0: swapper: 0] Reserved memory: initialized node dram_init, compatible id exynos7870,deliver_cp
<6>[ 0.000000] [0: swapper: 0] cma: CMA: reserved 8 MiB at 80000000
<6>[ 0.000000] [0: swapper: 0] CMA memory[1]: crypto:0x800000
<6>[ 0.000000] [0: swapper: 0] Reserved memory: initialized node crypto, compatible id exynos8890-ion,crypto
<6>[ 0.000000] [0: swapper: 0] cma: CMA: reserved 4 MiB at 80800000
<6>[ 0.000000] [0: swapper: 0] CMA memory[2]: video_fw:0x400000
<6>[ 0.000000] [0: swapper: 0] Reserved memory: initialized node video_fw, compatible id exynos8890-ion,vfw
<6>[ 0.000000] [0: swapper: 0] cma: CMA: reserved 4 MiB at 80c00000
<6>[ 0.000000] [0: swapper: 0] CMA memory[7]: video_nfw:0x400000
<6>[ 0.000000] [0: swapper: 0] Reserved memory: initialized node video_nfw, compatible id exynos8890-ion,vnfw
<6>[ 0.000000] [0: swapper: 0] cma: CMA: reserved 16 MiB at 81000000
<6>[ 0.000000] [0: swapper: 0] CMA memory[3]: video_stream:0x1000000
<6>[ 0.000000] [0: swapper: 0] Reserved memory: initialized node video_stream, compatible id exynos8890-ion,vstream
<6>[ 0.000000] [0: swapper: 0] cma: CMA: reserved 84 MiB at 82000000
<6>[ 0.000000] [0: swapper: 0] CMA memory[5]: video_frame:0x5400000
<6>[ 0.000000] [0: swapper: 0] Reserved memory: initialized node video_frame, compatible id exynos8890-ion,vframe
<6>[ 0.000000] [0: swapper: 0] cma: CMA: reserved 28 MiB at 87400000
<6>[ 0.000000] [0: swapper: 0] CMA memory[6]: video_scaler:0x1c00000
<6>[ 0.000000] [0: swapper: 0] Reserved memory: initialized node video_scaler, compatible id exynos8890-ion,vscaler
<6>[ 0.000000] [0: swapper: 0] cma: CMA: reserved 16 MiB at ff000000
<7>[ 0.000000] [0: swapper: 0] On node 0 totalpages: 776192
<7>[ 0.000000] [0: swapper: 0] DMA zone: 10752 pages used for memmap
<7>[ 0.000000] [0: swapper: 0] DMA zone: 0 pages reserved
<7>[ 0.000000] [0: swapper: 0] DMA zone: 776192 pages, LIFO batch:31
<6>[ 0.000000] [0: swapper: 0] psci: probing for conduit method from DT.
<6>[ 0.000000] [0: swapper: 0] psci: Using PSCI v0.1 Function IDs from DT
<6>[ 0.000000] [0: swapper: 0] PERCPU: Embedded 14 pages/cpu @ffffffc0beed1000 s18752 r8192 d30400 u57344
<7>[ 0.000000] [0: swapper: 0] pcpu-alloc: s18752 r8192 d30400 u57344 alloc=14*4096
<7>[ 0.000000] [0: swapper: 0] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
<4>[ 0.000000] [0: swapper: 0] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 765440
Kernel command line: console=ram loglevel=4 bootmode=2 sec_debug.level=0 sec_watchdog.sec_pet=5 androidboot.debug_level=0x4f4c ess_setup=0x46000000 [email protected] [email protected] s3cfb.bootloaderfb=0x67000000 sysscope=0xee000000 lcdtype=812552 consoleblank=0 vmalloc=384m sec_debug.reset_reason=6 sec_reset.reset_reason=6 ehci_hcd.park=3 oops=panic pmic_info=27 ccic_info=1 cordon=eeeb5ced9430d2cfe0bf16a079f70608 connie=SM-T395_OPEN_EUR_63e3f4ca8271d4c7e2d2c3239cb7fb2e androidboot.emmc_checksum=3 androidboot.sales.param.offset=7340572 sales_code=ILO androidboot.odin_download=1 androidboot.bootloader=T395JXU1AQJ2 androidboot.selinux=enforcing androidboot.security_mode=1526595585 androidboot.ucs_mode=0 androidboot.hw_rev=4 androidboot.hardware=samsungexynos7870 androidboot.warranty_bit=1 androidboot.hmac_mismatch=0 androidboot.sec_atd.tty=/dev/ttySAC2 androidboot.serialno=5200db205bcac461 snd_soc_core.pmdown_time=1000 androidboot.v<6>[ 0.000000] [0: swapper: 0] ../../../../../../device/samsung/gtactive2lte/kernel/drivers/staging/samsung/sec_debug.c: Reserved Mem(0x40000000, 0x1000) - Success
<0>[ 0.000000] [0: swapper: 0] sec_debug: set magic code (0x66262564)
<6>[ 0.000000] [0: swapper: 0] exynos-snapshot: try to reserve dedicated memory : 0x46000000, 0x1000000
<6>[ 0.000000] [0: swapper: 0] exynos-snapshot: memory reserved complete : 0x46000000, 0x1000000
<6>[ 0.000000] [0: swapper: 0] sec_debug: GetLog support (mark:0xffffffc000f25938, klog: 0xffffffc006800000)
<6>[ 0.000000] [0: swapper: 0] tima :sec_tima_log_setup, base:47002000, size:200000
<6>[ 0.000000] [0: swapper: 0] RKP :tima_setup_rkp_mem, base:52300000, size:40000
<6>[ 0.000000] [0: swapper: 0] RKP :tima_setup_rkp_mem, base:52400000, size:7000
<6>[ 0.000000] [0: swapper: 0] RKP :tima_setup_rkp_mem, base:4da00000, size:300000
<6>[ 0.000000] [0: swapper: 0] RKP :tima_setup_rkp_mem, base:52407000, size:1000
<6>[ 0.000000] [0: swapper: 0] RKP :tima_setup_rkp_mem, base:52408000, size:5f8000
<6>[ 0.000000] [0: swapper: 0] RKP :tima_setup_rkp_mem, base:4dd00000, size:100000
<6>[ 0.000000] [0: swapper: 0] sec_avc_log_setup: *sec_avc_log_ptr:5cc8 sec_avc_log_buf:ffffffc007204000 sec_log_size:0x40000
<6>[ 0.000000] [0: swapper: 0] sec_avc_log_setup: no old log found
<6>[ 0.000000] [0: swapper: 0] set_switch_sel: switch_sel: 0x01b
<6>[ 0.000000] [0: swapper: 0] set_ccic_info: ccic_info: 0x0001
<1>[ 0.000000] [0: swapper: 0] vmm_init
<1>[ 0.000000] [0: swapper: 0] bin 0xffffffc000da4000, 0x4a808
<1>[ 0.000000] [0: swapper: 0] ram 0xffffffc00dd00000, 0x100000
<1>[ 0.000000] [0: swapper: 0] vmm, 312176
<1>[ 0.000000] [0: swapper: 0] vmm_translate
<1>[ 0.000000] [0: swapper: 0] vmm_translate
<1>[ 0.000000] [0: swapper: 0] vmm_entry
<1>[ 0.000000] [0: swapper: 0] vmm entry point: 000000004dd01290
<1>[ 0.000000] [0: swapper: 0] vmm(000000004dd00000, 0x100000): 0
<6>[ 0.000000] [0: swapper: 0] PID hash table entries: 4096 (order: 3, 32768 bytes)
<6>[ 0.000000] [0: swapper: 0] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
<6>[ 0.000000] [0: swapper: 0] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
<4>[ 0.000000] [0: swapper: 0] Memory: 2693600K/3104768K available (9152K kernel code, 1037K rwdata, 4616K rodata, 408K init, 2885K bss, 411168K reserved)
<5>[ 0.000000] [0: swapper: 0] Virtual kernel memory layout:
<5>[ 0.000000] [0: swapper: 0] vmalloc : 0xffffff8000000000 - 0xffffffbdffff0000 ( 247 GB)
<5>[ 0.000000] [0: swapper: 0] vmemmap : 0xffffffbe00000000 - 0xffffffbfc0000000 ( 7 GB maximum)
<5>[ 0.000000] [0: swapper: 0] 0xffffffbe00e00000 - 0xffffffbe03800000 ( 42 MB actual)
<5>[ 0.000000] [0: swapper: 0] PCI I/O : 0xffffffbffa000000 - 0xffffffbffb000000 ( 16 MB)
<5>[ 0.000000] [0: swapper: 0] fixed : 0xffffffbffbdfe000 - 0xffffffbffbdff000 ( 4 KB)
<5>[ 0.000000] [0: swapper: 0] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
<5>[ 0.000000] [0: swapper: 0] memory : 0xffffffc000000000 - 0xffffffc0c0000000 ( 3072 MB)
<5>[ 0.000000] [0: swapper: 0] .init : 0xffffffc000df3000 - 0xffffffc000e59000 ( 408 KB)
<6>[ 0.000000] [0: swapper: 0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
<6>[ 0.000000] [0: swapper/0: 0] Preemptible hierarchical RCU implementation.
<6>[ 0.000000] [0: swapper/0: 0] NR_IRQS:64 nr_irqs:64 0
<6>[ 0.000000] [0: swapper/0: 0] ========================================
<6>[ 0.000000] [0: swapper/0: 0] =
<6>[ 0.000000] [0: swapper/0: 0] = [ECT] current version is TEST VERSION!!
<6>[ 0.000000] [0: swapper/0: 0] = Please be aware that error can be happen.
<6>[ 0.000000] [0: swapper/0: 0] = [VERSION] : 1001
<6>[ 0.000000] [0: swapper/0: 0] =
<6>[ 0.000000] [0: swapper/0: 0] ========================================
<6>[ 0.000000] [0: swapper/0: 0] asv_table_ver : 5
<6>[ 0.000000] [0: swapper/0: 0] fused_grp : 1
<6>[ 0.000000] [0: swapper/0: 0] cpucl0_asv_group : 7
<6>[ 0.000000] [0: swapper/0: 0] cpucl1_asv_group : 7
<6>[ 0.000000] [0: swapper/0: 0] g3d_asv_group : 7
<6>[ 0.000000] [0: swapper/0: 0] mif_asv_group : 7
<6>[ 0.000000] [0: swapper/0: 0] int_asv_group : 7
<6>[ 0.000000] [0: swapper/0: 0] disp_asv_group : 5
<3>[ 0.000000] [0: swapper/0: 0] cal_dfs_get_rate : dvfs_cam reference count is zero
<3>[ 0.000000] [0: swapper/0: 0] cal_dfs_get_rate : dvfs_disp reference count is zero
<6>[ 0.000000] [0: swapper/0: 0] EXYNOS7870: Clock setup completed
<6>[ 0.000000] [0: swapper/0: 0] Exynos: pwm: clock setup completed
<6>[ 0.000000] [0: swapper/0: 0] arch_timer_init: arch_timer is used only clocksource
<6>[ 0.000000] [0: swapper/0: 0] Architected cp15 timer(s) running at 26.00MHz (virt).
<6>[ 0.000004] [0: swapper/0: 0] sched_clock: 56 bits at 26MHz, resolution 38ns, wraps every 2643056787456ns
<6>[ 0.002320] [0: swapper/0: 0] Enable console clock to add reference count
<6>[ 0.002352] [0: swapper/0: 0] Calibrating delay loop (skipped), value calculated using timer frequency.. 52.00 BogoMIPS (lpj=260000)
<6>[ 0.002364] [0: swapper/0: 0] pid_max: default: 32768 minimum: 301
<6>[ 0.005573] [0: swapper/0: 0] Security Framework initialized
<6>[ 0.005590] [0: swapper/0: 0] SELinux: Initializing.
<7>[ 0.005628] [0: swapper/0: 0] SELinux: Starting in [B]permissive [/B]mode
Shedaim said:
It may be best practice to have it separated, but I see no wrong in linking the TARGET_KERNEL_SOURCE to the device tree. I mean, it's just a path.
Hmm, I think it is loading in permissive mode (see last line). This is a log taken from recovery, which was built using the same tree and kernel configuration.
Click to expand...
Click to collapse
Enable this first: https://github.com/Shedaim/gtactive...nos7870-gtactive2lte_eur_open_defconfig#L4189
Then grab console logs via twrp.
Seriously, you definitely should split up your repos. There's good reason to keep that modular. Make it right from the beginning, or don't do it at all.

Samsung J7 Pro Touch Screen unresponsive after Oreo Update: reason (non OEM screen)

As many around, the touch screen of my J7 Pro (SM-J730GM/DS) stopped working after the Oreo Update.
After some debugging, I believe I now understand why: a non OEM screen assembly.
Here is what I did and what I found:
- As the screen was not working, I used an USB On The Go adapter to connect an external mouse to get to the phone
- After getting into the phone, I connected a Bluetooth mouse & keyboard, to keep access to the phone without anything on the USB
- Using them, I enabled debugging and connected a computer with adb, getting a shell (non root)
- Looking around, I finally found some interesting logs in `/data/log/prev_dump.log` (repeating lines replaces with [...]):
<3>[ 1.257220] [5: swapper/0: 1] mms_ts 10-0048: mms_probe [START]
<6>[ 1.257256] [5: swapper/0: 1] mms_ts 10-0048: mms_parse_devicetree [START]
<3>[ 1.257346] [5: swapper/0: 1] mms_ts 10-0048: Failed to get regulator_avdd name property
<3>[ 1.257373] [5: swapper/0: 1] mms_ts 10-0048: Failed to get factory_item_version property
<6>[ 1.257400] [5: swapper/0: 1] mms_ts 10-0048: mms_parse_devicetree: fw_name tsp_melfas/mms438_j7y17.fw max_x:1080 max_y:1920 int:15 irq:9 sda:79 scl:80 support_LPM:1
<6>[ 1.257778] [5: swapper/0: 1] mms_ts 10-0048: mms_power_control [START on]
<6>[ 1.316892] [0: swapper/0: 1] mms_ts 10-0048: mms_power_control [DONE on]
<6>[ 1.316918] [0: swapper/0: 1] mms_ts 10-0048: mms_fw_update_from_kernel [START]
<6>[ 1.317383] [0: swapper/0: 1] mms_ts 10-0048: mms_get_fw_version: boot:0.0 core:0.0 custom:0.0 parameter:0.0
<6>[ 1.317413] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Chip firmware version [0x0000 0x0000 0x0000 0x0000]
<6>[ 1.317441] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Firmware file info : Sections[4] Offset[0x00000060] Length[0x0000C000]
<3>[ 1.317475] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[0] IC: 0000 / BIN: EEEE
<6>[ 1.317499] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[0] is need to be updated.
<3>[ 1.317531] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[1] IC: 0000 / BIN: 0601
<6>[ 1.317555] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[1] is need to be updated.
<3>[ 1.317587] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[2] IC: 0000 / BIN: 0119
<6>[ 1.317611] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[2] is need to be updated.
<3>[ 1.317643] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[3] IC: 0000 / BIN: 0119
<6>[ 1.317667] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[3] is need to be updated.
<6>[ 1.317768] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Erase first page : Offset[0x0000]
<3>[ 1.318341] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
[...]
<3>[ 3.297180] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
<3>[ 3.316884] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] count overflow - cnt [0] status [0x00]
<3>[ 3.317454] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
[...]
<3>[ 5.297178] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
<3>[ 5.316883] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] count overflow - cnt [0] status [0x00]
<3>[ 5.317447] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
[...]
<3>[ 7.297178] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
<3>[ 7.316883] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] count overflow - cnt [0] status [0x00]
<3>[ 7.316909] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw [ERROR] clear first page failed
<3>[ 7.316931] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw [ERROR]
<6>[ 7.317360] [0: swapper/0: 1] mms_ts 10-0048: mms_get_fw_version: boot:ee.ee core:6.1 custom:1.22 parameter:1.16
<6>[ 7.317391] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Chip firmware version [0xEEEE 0x0601 0x0116 0x0116]
<6>[ 7.317418] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Firmware file info : Sections[4] Offset[0x00000060] Length[0x0000C000]
<3>[ 7.317453] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[0] IC: EEEE / BIN: EEEE
<3>[ 7.317486] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[1] IC: 0601 / BIN: 0601
<3>[ 7.317519] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[2] IC: 0116 / BIN: 0119
<6>[ 7.317543] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[2] is need to be updated.
<3>[ 7.317575] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[3] IC: 0116 / BIN: 0119
<6>[ 7.317599] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[3] is need to be updated.
<6>[ 7.317689] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Erase first page : Offset[0x0000]
<3>[ 7.318254] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
[...]
<3>[ 9.297180] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
<3>[ 9.316886] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] count overflow - cnt [0] status [0x00]
<3>[ 9.317456] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
[...]
<3>[ 11.297177] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
<3>[ 11.316883] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] count overflow - cnt [0] status [0x00]
<3>[ 11.317448] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
[...]
<3>[ 13.297178] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
<3>[ 13.316882] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] count overflow - cnt [0] status [0x00]
<3>[ 13.316908] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw [ERROR] clear first page failed
<3>[ 13.316931] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw [ERROR]
<6>[ 13.317354] [0: swapper/0: 1] mms_ts 10-0048: mms_get_fw_version: boot:ee.ee core:6.1 custom:1.22 parameter:1.16
<6>[ 13.317385] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Chip firmware version [0xEEEE 0x0601 0x0116 0x0116]
<6>[ 13.317412] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Firmware file info : Sections[4] Offset[0x00000060] Length[0x0000C000]
<3>[ 13.317447] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[0] IC: EEEE / BIN: EEEE
<3>[ 13.317480] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[1] IC: 0601 / BIN: 0601
<3>[ 13.317513] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[2] IC: 0116 / BIN: 0119
<6>[ 13.317538] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[2] is need to be updated.
<3>[ 13.317570] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[3] IC: 0116 / BIN: 0119
<6>[ 13.317594] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Section[3] is need to be updated.
<6>[ 13.317659] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw - Erase first page : Offset[0x0000]
<3>[ 13.318222] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
[...]
<3>[ 15.297180] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
<3>[ 15.316883] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] count overflow - cnt [0] status [0x00]
<3>[ 15.317453] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
[...]
<3>[ 17.297179] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
<3>[ 17.316882] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] count overflow - cnt [0] status [0x00]
<3>[ 17.317447] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
[....]
<3>[ 19.297177] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] wrong value [0x00]
<3>[ 19.316882] [0: swapper/0: 1] mms_ts 10-0048: mms_isc_read_status [ERROR] count overflow - cnt [0] status [0x00]
<3>[ 19.316908] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw [ERROR] clear first page failed
<3>[ 19.316931] [0: swapper/0: 1] mms_ts 10-0048: mms_flash_fw [ERROR]
<3>[ 19.316961] [0: swapper/0: 1] mms_ts 10-0048: mms_fw_update_from_kernel [ERROR] mms_flash_fw failed
<3>[ 19.316986] [0: swapper/0: 1] mms_ts 10-0048: mms_fw_update_from_kernel [ERROR]
<3>[ 19.317009] [0: swapper/0: 1] mms_ts 10-0048: mms_probe [ERROR] mms_fw_update_from_kernel
<6>[ 19.317033] [0: swapper/0: 1] mms_ts 10-0048: mms_power_control [START off]
<6>[ 19.328405] [0: swapper/0: 1] mms_ts 10-0048: mms_power_control [DONE off]
<4>[ 19.377034] [5: swapper/0: 1] mms_ts: probe of 10-0048 failed with error -1
It seems to me that the Oreo update contained a firmware update for the touch screen controller (mms_ts).
It seems that my controller, coming from a cheap TFT screen assembly from China does not support this update...
If anyone is interesting in getting mode information on this, let me know and I'll try to see if I can get it.
Please note that I'm not looking for a tutorial for how to flash my phone, this is not the topic of this thread.
I didn't find any resource on the root cause of the issue, so here I am, trying to understanding the problem (and maybe push back the knowledge to the cheap screen assembly manufacturer so that they fix their chip).
So please do not answer with "here is my fix, flash it with WYZ", but if you have any idea about that mms_ts firmware update, be my guest!
Every version that fits the following format: 8.x.x contains Oreo and has been equipped with this new patch or whatever, which seems to distinguish fake chinese/russian screens from official screens. It disables the touchscreen from the display and makes it completely unresponsive except for the 3 buttons (application, home and return) at the bottom of the phone.
Unfortunately it looks like the only solution at the moment is to flash the entire firmware of the phone to a lower version that doesn't contain traces of this patch. I used Clean_Nouga_V2.7 (A8 version) which works fine but any lower custom or stock firmware should work as well. Any 'fixes' out there I found are basically just telling you to do the same but with more vague steps.
I have the same problem and mine too is a replacement LCD, not OEM.
In addition to the above error messages, I have:
1]MELFAS MMS438 Touchscreen initilization failed.
mms_ts: probe of 10-0048 failed with error -1
I agree this is an issue with the new update trying to install a particular driver for the touchscreen and the same not being compatible with the replacement screen we have installed.
Is there a way we can somehow load the old drivers?
And, I have a question, if I downgrade, will Samsung know that I did and will I lose warranty?
I am going to their service center and will check with them, but they will be uncooperative I am sure...
marard said:
I have the same problem and mine too is a replacement LCD, not OEM.
In addition to the above error messages, I have:
1]MELFAS MMS438 Touchscreen initilization failed.
mms_ts: probe of 10-0048 failed with error -1
I agree this is an issue with the new update trying to install a particular driver for the touchscreen and the same not being compatible with the replacement screen we have installed.
Is there a way we can somehow load the old drivers?
And, I have a question, if I downgrade, will Samsung know that I did and will I lose warranty?
I am going to their service center and will check with them, but they will be uncooperative I am sure...
Click to expand...
Click to collapse
You will NOT lose your warranty if downgrade to a official firmware, but you should asked their help before replacing that screen
marard said:
I have the same problem and mine too is a replacement LCD, not OEM.
In addition to the above error messages, I have:
1]MELFAS MMS438 Touchscreen initilization failed.
mms_ts: probe of 10-0048 failed with error -1
I agree this is an issue with the new update trying to install a particular driver for the touchscreen and the same not being compatible with the replacement screen we have installed.
Is there a way we can somehow load the old drivers?
And, I have a question, if I downgrade, will Samsung know that I did and will I lose warranty?
I am going to their service center and will check with them, but they will be uncooperative I am sure...
Click to expand...
Click to collapse
The touchscreen drivers from the nougat firmware may work with the Oreo kernel and firmware.
Just need to be extracted from the stock firmware and repacked then flashed with odin.
ashyx said:
The touchscreen drivers from the nougat firmware may work with the Oreo kernel and firmware.
Just need to be extracted from the stock firmware and repacked then flashed with odin.
Click to expand...
Click to collapse
How do we do that?
I have about 3/4, 7.0 Stock firmwares that I downloaded from SamMobiles, but the phone refuses to flash any of them as I suppose the bootloader dosent allow it.
I get the following on the phone immediately when I click start in Odin:
KERNEL REV. CHECK FAIL. DEVICE:2, BINARY:1
So How do we repack the drivers from old ROM to new?
Appreciate all help...
Thanks.
marard said:
How do we do that?
I have about 3/4, 7.0 Stock firmwares that I downloaded from SamMobiles, but the phone refuses to flash any of them as I suppose the bootloader dosent allow it.
I get the following on the phone immediately when I click start in Odin:
KERNEL REV. CHECK FAIL. DEVICE:2, BINARY:1
So How do we repack the drivers from old ROM to new?
Appreciate all help...
Thanks.
Click to expand...
Click to collapse
Looking at the firmware update it seems there's is no touchscreen firmware update image included, so the issue must be the kernel.
Also your device is telling you your kernel is revision 2, but the binary you are attempting to flash from the firmware is revision 1. You cannot downgrade so will not flash.
However this can be done with TWRP.
I will compare the Oreo and nougat sources to see what changed in the kernel source.
Do you know the manufacturer name of the replacement touchscreen?
Do you know the manufacturer name of the replacement touchscreen?[/QUOTE]
No, I dont...this was done by a local store in Singapore.
The logs on the phone mention a couple of lines about the touchscreen.
Shall I upload the logs?
Also, please instruct me how to extract the logs we see on the phone...the ones we see when we go into recovery mode.
The previous version of Android did not complain about the screen and Samsung's screen test app gave it an all clear.
What I gathered from the logs is, the system is probing the hardware for the manufacturer's name, failing which it doesn't initialize the touchscreen.(I could be wrong, this is an assumption reading the logs).
Thanks for your offer to help.

Categories

Resources