Trying to get kexec working on Fire, to bypass locked bootloader.
XDA:DevDB Information
KEXEC, Kernel for the Amazon Fire
Contributors
k4y0z
Source Code: https://github.com/chaosmaster
Kernel Special Features: kexec, atags
Version Information
Status: Alpha
Created 2015-12-13
Last Updated 2015-12-13
I have successfully compiled kexec for the ford, however booting a kernel doesn't completely work.
It seems like the cpu-cores aren't shut down completely, hopefully someone here has an Idea how to get that going.
This is what it currently looks like trying to boot a kernel using kexec:
Code:
[ 0.000000]-(0)[0:swapper]Linux version 3.10.54+ ([email protected]) (gcc version 4.8 (GCC) ) #17 SMP PREEMPT Sun Dec 13 18:00:30 CET 2015
[ 0.000000]-(0)[0:swapper]CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[ 0.000000]-(0)[0:swapper]CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000]-(0)[0:swapper]Machine: MT8117
[ 0.000000]-(0)[0:swapper]Load default dfo data...
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MTK_MD5_SUPPORT:0x00000005
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MTK_ENABLE_MD5:0x00000000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MD5_SIZE:0x01600000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MTK_MD5_SUPPORT:0x00000005
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MTK_ENABLE_MD5:0x00000000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MD5_SIZE:0x01600000
[ 0.000000]-(0)[0:swapper]tag_devinfo_data_rid, index[12]:0xd7b56d97
[ 0.000000]-(0)[0:swapper]tag_devinfo_data size:26
[ 0.000000]-(0)[0:swapper]Get MD inf from META
[ 0.000000]-(0)[0:swapper]md_inf[0]=0
[ 0.000000]-(0)[0:swapper]md_inf[1]=0
[ 0.000000]-(0)[0:swapper]md_inf[2]=0
[ 0.000000]-(0)[0:swapper]md_inf[3]=0
[ 0.000000]-(0)[0:swapper][LCM Auto Detect], we have 1 lcm drivers built in
[ 0.000000]-(0)[0:swapper][LCM Auto Detect], try to find driver for [hx8282_a01_lvds_dpi_vdo]
[ 0.000000]-(0)[0:swapper][LCM Specified] [hx8282_a01_lvds_dpi_vdo]
[ 0.000000]-(0)[0:swapper][PHY layout]avaiable DRAM size (lk) = 0x37a00000
[ 0.000000][PHY layout]avaiable DRAM size = 0x37a00000
[ 0.000000][PHY layout]FB : 0xb6a00000 - 0xb79fffff (0x1000000)
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000802
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000804
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x54410008
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000806
[ 0.000000]-(0)[0:swapper][memblock]mt_reserve: 0x83f00000 - 0x83ffffff (0x00100000)
[ 0.000000]-(0)[0:swapper][PHY layout]mtk_wcn_consys_memory_reserve : 0xb6900000 - 0xb69fffff (0x00100000)
[ 0.000000]-(0)[0:swapper][WMT-CONSYS-HW][I]mtk_wcn_consys_memory_reserve:memblock done: 0xb6900000
[ 0.000000]-(0)[0:swapper]Memory policy: ECC disabled, Data cache writealloc
[ 0.000000]-(0)[0:swapper][PHY layout]kernel : 0x80000000 - 0xb68fffff (0x36900000)
[ 0.000000]-(0)[0:swapper]creating mapping start pa: 0x80000000 @ 0xc0000000 , end pa: 0xa0000000 @ 0xe0000000
[ 0.000000]-(0)[0:swapper][CORE] num:4
[ 0.000000]-(0)[0:swapper]Built 1 zonelists in Zone order, mobility grouping on. Total pages: 222464
[ 0.000000]-(0)[0:swapper][cpu_ntf] <00>c01241a0 (page_alloc_cpu_notify)
[ 0.000000]-(0)[0:swapper]Kernel command line: console=tty0 console=ttyMT3,921600n1 root=/dev/ram vmalloc=496M slub_max_order=0 slub_debug=O coherent_pool=3240K androidboot.unlocked_kernel=false androidboot.rpmb_state=1 androidboot.prod=1 lcm=1-hx8282_a01_lvds_dpi_vdo fps=5962 vram=16777216 bootprof.pl_t=1981 bootprof.lk_t=1571 printk.disable_uart=0 boot_reason=4 androidboot.serialno=################ androidboot.bootreason=wdt_by_pass_pwk kexec
[ 0.000000]-(0)[0:swapper]Memory: 868192k/868192k available, 26784k reserved, 369664K highmem
[ 0.000000]-(0)[0:swapper]Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0ad2e0c (11052 kB)
[ 0.000000] .init : 0xc0ad3000 - 0xc0b2d480 ( 362 kB)
[ 0.000000] .data : 0xc0b2e000 - 0xc0bf0c28 ( 780 kB)
[ 0.000000] .bss : 0xc0bf0c28 - 0xc0d884c4 (1631 kB)
[ 0.000000]-(0)[0:swapper][cpu_ntf] <01>c07f40b8 (slab_cpuup_callback)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <02>c07f3418 (sched_ilb_notifier)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <03>c07f3ed0 (perf_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <04>c07f36ec (rcu_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <05>c02b803c (radix_tree_callback)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <06>c07f2638 (timer_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <07>c07f2cf8 (hrtimer_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <08>c07f23f8 (remote_softirq_cpu_notify)
[ 0.000000]-(0)[0:swapper/0]GPT1_CMP = 130000, HZ = 100
[ 0.000000]-(0)[0:swapper/0]fwq sysc count
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <09>c00d3c68 (hotplug_cfd)
[ 0.000000].(0)[0:swapper/0]ram_console: buffer start: 0xe0800000, size: 0x100000
[ 0.000000].(0)[0:swapper/0]ram_console: log size 0xffc80, start 0x49da8, off_console 0x380, buffer_size 0x100000
[ 0.000000].(0)[0:swapper/0]ram_console: lk[0], linux[200], console[380]
[ 0.000000].(0)[0:swapper/0]ram_console: old_header[df806000], buffer[e0800000], header_size[380]
[ 0.000000].(0)[0:swapper/0]ram_console:bin_log_count[190]
[ 0.000000].(0)[0:swapper/0][UART] mtk console setup : co->index 3 options:921600n1
[ 0.000000]-(0)[0:swapper/0]No Flow Control
[ 0.000000].(0)[0:swapper/0][UART] mtk console setup : uart_set_option port(3) baud(921600) parity(n) bits(1) flow(n) - ret(0)
[ 0.000000].(0)[0:swapper/0][UART] mtk setting: (0, 0, 0, 0, 128)
[ 0.122572].(0)[0:swapper/0][cpu_ntf] <10>c018c618 (buffer_cpu_notify)
[ 0.123957].(0)[0:swapper/0][cpu_ntf] <11>c07f3f1c (ratelimit_handler)
[ 0.125373]Calibrating local timer... 13.01MHz.
[ 0.183230].(0)[1:swapper/0][init] f(c0ad567c)
[ 0.184007].(0)[1:swapper/0] s:183221461 e:183222923 d:1462
[ 0.184781].(0)[1:swapper/0][init] f(c0ad5658)
[ 0.185558].(0)[1:swapper/0] s:184776230 e:184776615 d:385
[ 0.186368].(0)[1:swapper/0][init] f(c0ad803c)
[ 0.187148].(0)[1:swapper/0] s:186327846 e:186358615 d:30769
[ 0.187931].(0)[1:swapper/0][cpu_ntf] <12>c07f24c0 (cpu_callback)
[ 0.203282].(0)[1:swapper/0][init] f(c0adbdcc)
[ 0.204063].(0)[1:swapper/0] s:187918461 e:203274923 d:15356462
[ 0.204850].(0)[1:swapper/0][cpu_ntf] <13>c07f290c (workqueue_cpu_up_callback)
[ 0.205628].(0)[1:swapper/0][cpu_ntf] <14>c07f2c50 (workqueue_cpu_down_callback)
[ 0.206782].(0)[1:swapper/0][init] f(c0add0ac)
[ 0.207560].(0)[1:swapper/0] s:204833076 e:206774076 d:1941000
[ 0.208337].(0)[1:swapper/0][init] f(c0add608)
[ 0.209115].(0)[1:swapper/0] s:208331153 e:208332615 d:1462
[ 0.209897].(0)[1:swapper/0][cpu_ntf] <15>c07f3028 (migration_call)
[ 0.210676].(0)[1:swapper/0][cpu_ntf] <16>c07f2fa4 (sched_cpu_active)
[ 0.211454].(0)[1:swapper/0][cpu_ntf] <17>c07f2fd8 (sched_cpu_inactive)
[ 0.212230].(0)[1:swapper/0][init] f(c0adefbc)
[ 0.213007].(0)[1:swapper/0] s:209884461 e:212225230 d:2340769
[ 0.233863].(0)[1:swapper/0][init] f(c0ae2094)
[ 0.234643].(0)[1:swapper/0] s:213814692 e:233855923 d:20041231
[ 0.235419].(0)[1:swapper/0][init] f(c0ae25d8)
[ 0.236196].(0)[1:swapper/0] s:235413923 e:235414692 d:769
[ 0.237161].(0)[1:swapper/0][init] f(c0ae25fc)
[ 0.237940].(0)[1:swapper/0] s:236965000 e:237153384 d:188384
[ 0.238783].(0)[1:swapper/0][cpu_ntf] <18>c00fb0a0 (rb_cpu_notify)
[ 0.239619].(0)[1:swapper/0][init] f(c0ae2fb4)
[ 0.240397].(0)[1:swapper/0] s:238710846 e:239613615 d:902769
[ 0.241180].(0)[1:swapper/0][init] f(c0ae3188)
[ 0.241955].(0)[1:swapper/0] s:241166923 e:241175461 d:8538
[ 0.242731].(0)[1:swapper/0][init] f(c0ae3244)
[ 0.243507].(0)[1:swapper/0] s:242724692 e:242726153 d:1461
[ 0.244322].(0)[1:swapper/0][init] f(c0ae32a4)
[ 0.245101].(0)[1:swapper/0] s:244310307 e:244315230 d:4923
[ 0.245877].(0)[1:swapper/0][init] f(c0afe5a4)
[ 0.246652].(0)[1:swapper/0] s:245871384 e:245872076 d:692
[ 0.264649].(0)[1:swapper/0]Boot slave CPU
[ 0.265425].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 1
[ 0.266202].(0)[1:swapper/0][Power/hotplug] SLAVE1_MAGIC_NUM:534c4131
[ 0.266977].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(1)
[ 1.265757].(0)[1:swapper/0]CPU1, debug event: 0x00000009, debug monitor: 0x00000000
[ 1.266531]Backtrace:
[ 1.268103]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 1.268878] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 1.272771]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 1.273563]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 1.274337] r7:c0b330c0 r6:ffff8b4e r5:c0b71278 r4:c0bee0fc
[ 1.278201]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 1.278991]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 1.279781]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 1.280555] r6:00000000 r5:c0b43944 r4:00000001 r3:00000000
[ 1.284417]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 1.285207]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 1.285981] r4:00000001 r3:00000001
[ 1.288310]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 1.289100]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 1.289890]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 1.290664] r5:c07ee3c8 r4:00000000
[ 2.294354].(0)[1:swapper/0]CPU1: failed to come online
[ 2.314673].(0)[1:swapper/0]Boot slave CPU
[ 2.315449].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 2
[ 2.316226].(0)[1:swapper/0][Power/hotplug] SLAVE2_MAGIC_NUM:4c415332
[ 2.317000].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(2)
[ 3.315794].(0)[1:swapper/0]CPU2, debug event: 0x0000000a, debug monitor: 0x00000000
[ 3.316568]Backtrace:
[ 3.318131]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 3.318905] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 3.322791]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 3.323582]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 3.324355] r7:c0b330c0 r6:ffff8c19 r5:c0b71278 r4:c0bee0fc
[ 3.328234]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 3.329024]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 3.329814]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 3.330587] r6:00000000 r5:c0b43944 r4:00000002 r3:00000000
[ 3.334459]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 3.335247]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 3.336020] r4:00000002 r3:00000001
[ 3.338347]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 3.339137]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 3.339926]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 3.340700] r5:c07ee3c8 r4:00000000
[ 4.344395].(0)[1:swapper/0]CPU2: failed to come online
[ 4.364721].(0)[1:swapper/0]Boot slave CPU
[ 4.365497].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 3
[ 4.366273].(0)[1:swapper/0][Power/hotplug] SLAVE3_MAGIC_NUM:41534c33
[ 4.367047].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(3)
[ 5.365829].(0)[1:swapper/0]CPU3, debug event: 0x0000000b, debug monitor: 0x00000000
[ 5.366603]Backtrace:
[ 5.368167]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 5.368941] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 5.372834]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 5.373626]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 5.374400] r7:c0b330c0 r6:ffff8ce4 r5:c0b71278 r4:c0bee0fc
[ 5.378286]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 5.379075]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 5.379863]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 5.380637] r6:00000000 r5:c0b43944 r4:00000003 r3:00000000
[ 5.384511]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 5.385298]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 5.386070] r4:00000003 r3:00000001
[ 5.388398]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 5.389187]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 5.389974]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 5.390747] r5:c07ee3c8 r4:00000000
[ 6.394433].(0)[1:swapper/0]CPU3: failed to come online
[ 6.395403].(0)[1:swapper/0][cpu_ntf] <19>c00855d0 (sched_domains_numa_masks_update)
[ 6.396186].(0)[1:swapper/0][cpu_ntf] <20>c008ed1c (cpuset_cpu_active)
[ 6.396966].(0)[1:swapper/0][cpu_ntf] <21>c008edc0 (cpuset_cpu_inactive)
[ 6.397747].(0)[1:swapper/0][cpu_ntf] <22>c009bd70 (update_runtime)
[ 6.398525].(0)[1:swapper/0][cpu_ntf] <23>c0088a1c (hotplug_hrtick)
[ 6.405437].(0)[1:swapper/0][init] f(c0af4a6c)
[ 6.406219].(0)[1:swapper/0] s:6405422923 e:6405425000 d:2077
[ 6.406994].(0)[1:swapper/0][init] f(c0af4b04)
[ 6.407771].(0)[1:swapper/0] s:6406988692 e:6406989384 d:692
[ 6.408561].(0)[1:swapper/0][init] f(c0b047b0)
[ 6.409337].(0)[1:swapper/0] s:6408541461 e:6408555615 d:14154
[ 6.410120].(0)[1:swapper/0][init] f(c0b06668)
[ 6.410898].(0)[1:swapper/0] s:6410105846 e:6410115308 d:9462
[ 6.412218].(0)[1:swapper/0][init] f(c0ad56a0)
[ 6.412995].(0)[1:swapper/0] s:6412210538 e:6412212538 d:2000
[ 6.413772].(0)[1:swapper/0][init] f(c0ad6a64)
[ 6.414604].(0)[1:swapper/0] s:6413765538 e:6413767384 d:1846
[ 6.415382].(0)[1:swapper/0][init] f(c0ad9618)
[ 6.416158].(0)[1:swapper/0] s:6415376231 e:6415376846 d:615
[ 6.416933].(0)[1:swapper/0][init] f(c0adbd68)
[ 6.417709].(0)[1:swapper/0] s:6416926769 e:6416928308 d:1539
[ 6.418485].(0)[1:swapper/0][init] f(c0adbd54)
[ 6.419261].(0)[1:swapper/0] s:6418479769 e:6418480154 d:385
[ 6.420097].(0)[1:swapper/0][init] f(c0adcf04)
[ 6.420876].(0)[1:swapper/0] s:6420029538 e:6420091154 d:61616
[ 6.421683].(0)[1:swapper/0][init] f(c0addd44)
[ 6.422460].(0)[1:swapper/0] s:6421645923 e:6421677461 d:31538
[ 6.423293].(0)[1:swapper/0][init] f(c0adfaa8)
[ 6.424073].(0)[1:swapper/0] s:6423229538 e:6423286692 d:57154
[ 6.424899].(0)[1:swapper/0][init] f(c0adfdbc)
[ 6.425677].(0)[1:swapper/0] s:6424881769 e:6424892154 d:10385
[ 6.426455].(0)[1:swapper/0][init] f(c00bf528)
[ 6.427231].(0)[1:swapper/0] s:6426448384 e:6426450384 d:2000
[ 6.428209].(0)[1:swapper/0][init] f(c0ae0060)
[ 6.428987].(0)[1:swapper/0] s:6428000077 e:6428201384 d:201307
[ 6.429768].(0)[1:swapper/0][init] f(c0ae02e0)
[ 6.430545].(0)[1:swapper/0] s:6429757538 e:6429762538 d:5000
[ 6.431322].(0)[1:swapper/0][init] f(c0ae0738)
[ 6.432097].(0)[1:swapper/0] s:6431315308 e:6431317615 d:2307
[ 6.432964].(0)[1:swapper/0][init] f(c0ae1bd0)
[ 6.433742].(0)[1:swapper/0] s:6432866384 e:6432957308 d:90924
[ 6.435605].(0)[1:swapper/0][init] f(c0ae3548)
[ 6.436386].(0)[1:swapper/0] s:6434513538 e:6435595846 d:1082308
[ 6.437164].(0)[1:swapper/0][init] f(c01102e0)
[ 6.437940].(0)[1:swapper/0] s:6437157692 e:6437159231 d:1539
[ 6.438715].(0)[1:swapper/0][init] f(c0ae7994)
[ 6.439492].(0)[1:swapper/0] s:6438709308 e:6438710077 d:769
[ 6.440280].(0)[1:swapper/0][init] f(c0aeb2d0)
[ 6.441056].(0)[1:swapper/0] s:6440261692 e:6440275308 d:13616
[ 6.441852].(0)[1:swapper/0][init] f(c0aeb6f8)
[ 6.442628].(0)[1:swapper/0] s:6441825154 e:6441846231 d:21077
[ 6.443404].(0)[1:swapper/0][init] f(c0aeb740)
[ 6.444181].(0)[1:swapper/0] s:6443397846 e:6443399384 d:1538
[ 6.444978].(0)[1:swapper/0][init] f(c0aeb764)
[ 6.445756].(0)[1:swapper/0] s:6444971692 e:6444972615 d:923
[ 6.446544].(0)[1:swapper/0][init] f(c0af4890)
[ 6.447320].(0)[1:swapper/0] s:6446524461 e:6446539000 d:14539
[ 6.448097].(0)[1:swapper/0][init] f(c0af7ecc)
[ 6.448874].(0)[1:swapper/0] s:6448090308 e:6448092461 d:2153
[ 6.449666].(0)[1:swapper/0][init] f(c0afbadc)
[ 6.450442].(0)[1:swapper/0] s:6449643308 e:6449661231 d:17923
[ 6.451314].(0)[1:swapper/0][init] f(c0afe39c)
[ 6.452092].(0)[1:swapper/0] s:6451211692 e:6451307769 d:96077
[ 6.452874].(0)[1:swapper/0][init] f(c0b047dc)
[ 6.453651].(0)[1:swapper/0] s:6452862692 e:6452869538 d:6846
[ 6.454577].(0)[1:swapper/0][init] f(c0b064e4)
[ 6.455377].(0)[1:swapper/0] s:6454420461 e:6454569692 d:149231
[ 6.456205].(0)[1:swapper/0][init] f(c0b07da0)
[ 6.456982].(0)[1:swapper/0] s:6456148461 e:6456198461 d:50000
[ 6.459952].(0)[1:swapper/0][init] f(c0ad70b8)
[ 6.460729].(0)[1:swapper/0] s:6458310538 e:6459946769 d:1636231
[ 6.461636].(0)[1:swapper/0][init] f(c0ae63d8)
[ 6.462415].(0)[1:swapper/0] s:6461497923 e:6461627615 d:129692
[ 6.463202].(0)[1:swapper/0][init] f(c0af7e18)
[ 6.463978].(0)[1:swapper/0] s:6463184923 e:6463196769 d:11846
[ 6.464788].(0)[1:swapper/0][init] f(c0af8478)
[ 6.465589].(0)[1:swapper/0] s:6464749000 e:6464782231 d:33231
[ 6.466382].(0)[1:swapper/0][init] f(c0af8494)
[ 6.467159].(0)[1:swapper/0] s:6466360154 e:6466376692 d:16538
[ 6.467949].(0)[1:swapper/0][init] f(c0afb534)
[ 6.468727].(0)[1:swapper/0] s:6467930154 e:6467942769 d:12615
[ 6.469502].(0)[1:swapper/0][PWRAP] common driver init, version $Revision$
[ 6.470305].(0)[1:swapper/0][init] f(c0afeb34)
[ 6.471082].(0)[1:swapper/0] s:6469496846 e:6470300538 d:803692
[ 6.471856].(0)[1:swapper/0][PWRAP] HAL init: version $Revision$
[ 6.472650].(0)[1:swapper/0][init] f(c0afebac)
[ 6.473427].(0)[1:swapper/0] s:6471851846 e:6472644231 d:792385
[ 6.474244].(0)[1:swapper/0][init] f(c0b01a80)
[ 6.475022].(0)[1:swapper/0] s:6474197308 e:6474238769 d:41461
[ 6.475875].(0)[1:swapper/0][init] f(c0b03324)
[ 6.476652].(0)[1:swapper/0] s:6475806077 e:6475868692 d:62615
[ 6.477979].(0)[1:swapper/0][init] f(c0ad5628)
[ 6.478757].(0)[1:swapper/0] s:6477972769 e:6477973461 d:692
[ 6.479534].(0)[1:swapper/0][init] f(c0ad57d8)
[ 6.480310].(0)[1:swapper/0] s:6479527692 e:6479529308 d:1616
[ 6.481104].(0)[1:swapper/0][init] f(c0ad6870)
[ 6.481880].(0)[1:swapper/0] s:6481079231 e:6481098461 d:19230
[ 6.482664]-(0)[1:swapper/0]hw-breakpoint: Failed to enable monitor mode on CPU 0.
[ 6.483441].(0)[1:swapper/0][init] f(c0ad6d24)
[ 6.484217].(0)[1:swapper/0] s:6482650692 e:6483436538 d:785846
[ 6.484992].(0)[1:swapper/0][init] f(c0ad7318)
[ 6.485768].(0)[1:swapper/0] s:6484986231 e:6484987538 d:1307
[ 6.486608].(0)[1:swapper/0][pdev] dbg_reg_dump
[ 6.487386].(0)[1:swapper/0] s:6486555538 e:6486602615 d:47077
[ 6.488160].(0)[1:swapper/0][init] f(c0ada494)
[ 6.488938].(0)[1:swapper/0] s:6486554615 e:6488155923 d:1601308
[ 6.489718].(0)[1:swapper/0][Power/PM_INIT] Bus Frequency = 273000 KHz
[ 6.491727].(0)[1:swapper/0][SPM] PWAKE_EN:1, PCMWDT_EN:1, BYPASS_SYSPWREQ:0
[ 6.492505].(0)[1:swapper/0][SLP] SLEEP_DPIDLE_EN:1, REPLACE_DEF_WAKESRC:0, SUSPEND_LOG_EN:1
Reserved #2
Reserved #3
@k4y0z This looks promising. Thanks for being such a great help to the community. Devs like you are the reason I am on XDA. Also a shout out to @csolanol for being such a cool dude and ignoring the haters because I'm loving SlimLP on this bad boy.
Not too much knowledge about this stuff here but assuming that you are building your own kernel and boot image maybe CPU cores can't go up because of system permissions on /proc stuff.
Just an idea.
Ty for sharing your awesome work.
csolanol said:
Not too much knowledge about this stuff here but assuming that you are building your own kernel and boot image maybe CPU cores can't go up because of system permissions on /proc stuff.
Just an idea.
Ty for sharing your awesome work.
Click to expand...
Click to collapse
The kernel boots fine when I load it via fastboot.
I believe the problem is SMP-related.
It seems kexec doesn't reset the cpu-cores properly and when it jumps to the new kernel, the initialization fails.
k4y0z said:
I have successfully compiled kexec for the ford, however booting a kernel doesn't completely work.
It seems like the cpu-cores aren't shut down completely, hopefully someone here has an Idea how to get that going.
This is what it currently looks like trying to boot a kernel using kexec:
Code:
[ 0.000000]-(0)[0:swapper]Linux version 3.10.54+ ([email protected]) (gcc version 4.8 (GCC) ) #17 SMP PREEMPT Sun Dec 13 18:00:30 CET 2015
[ 0.000000]-(0)[0:swapper]CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[ 0.000000]-(0)[0:swapper]CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000]-(0)[0:swapper]Machine: MT8117
[ 0.000000]-(0)[0:swapper]Load default dfo data...
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MTK_MD5_SUPPORT:0x00000005
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MTK_ENABLE_MD5:0x00000000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] DFO:MD5_SIZE:0x01600000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MTK_MD5_SUPPORT:0x00000005
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MTK_ENABLE_MD5:0x00000000
[ 0.000000]-(0)[0:swapper][EEMCS/PLAT] Get DFO:MD5_SIZE:0x01600000
[ 0.000000]-(0)[0:swapper]tag_devinfo_data_rid, index[12]:0xd7b56d97
[ 0.000000]-(0)[0:swapper]tag_devinfo_data size:26
[ 0.000000]-(0)[0:swapper]Get MD inf from META
[ 0.000000]-(0)[0:swapper]md_inf[0]=0
[ 0.000000]-(0)[0:swapper]md_inf[1]=0
[ 0.000000]-(0)[0:swapper]md_inf[2]=0
[ 0.000000]-(0)[0:swapper]md_inf[3]=0
[ 0.000000]-(0)[0:swapper][LCM Auto Detect], we have 1 lcm drivers built in
[ 0.000000]-(0)[0:swapper][LCM Auto Detect], try to find driver for [hx8282_a01_lvds_dpi_vdo]
[ 0.000000]-(0)[0:swapper][LCM Specified] [hx8282_a01_lvds_dpi_vdo]
[ 0.000000]-(0)[0:swapper][PHY layout]avaiable DRAM size (lk) = 0x37a00000
[ 0.000000][PHY layout]avaiable DRAM size = 0x37a00000
[ 0.000000][PHY layout]FB : 0xb6a00000 - 0xb79fffff (0x1000000)
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000802
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000804
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x54410008
[ 0.000000]-(0)[0:swapper]Ignoring unrecognised tag 0x41000806
[ 0.000000]-(0)[0:swapper][memblock]mt_reserve: 0x83f00000 - 0x83ffffff (0x00100000)
[ 0.000000]-(0)[0:swapper][PHY layout]mtk_wcn_consys_memory_reserve : 0xb6900000 - 0xb69fffff (0x00100000)
[ 0.000000]-(0)[0:swapper][WMT-CONSYS-HW][I]mtk_wcn_consys_memory_reserve:memblock done: 0xb6900000
[ 0.000000]-(0)[0:swapper]Memory policy: ECC disabled, Data cache writealloc
[ 0.000000]-(0)[0:swapper][PHY layout]kernel : 0x80000000 - 0xb68fffff (0x36900000)
[ 0.000000]-(0)[0:swapper]creating mapping start pa: 0x80000000 @ 0xc0000000 , end pa: 0xa0000000 @ 0xe0000000
[ 0.000000]-(0)[0:swapper][CORE] num:4
[ 0.000000]-(0)[0:swapper]Built 1 zonelists in Zone order, mobility grouping on. Total pages: 222464
[ 0.000000]-(0)[0:swapper][cpu_ntf] <00>c01241a0 (page_alloc_cpu_notify)
[ 0.000000]-(0)[0:swapper]Kernel command line: console=tty0 console=ttyMT3,921600n1 root=/dev/ram vmalloc=496M slub_max_order=0 slub_debug=O coherent_pool=3240K androidboot.unlocked_kernel=false androidboot.rpmb_state=1 androidboot.prod=1 lcm=1-hx8282_a01_lvds_dpi_vdo fps=5962 vram=16777216 bootprof.pl_t=1981 bootprof.lk_t=1571 printk.disable_uart=0 boot_reason=4 androidboot.serialno=################ androidboot.bootreason=wdt_by_pass_pwk kexec
[ 0.000000]-(0)[0:swapper]Memory: 868192k/868192k available, 26784k reserved, 369664K highmem
[ 0.000000]-(0)[0:swapper]Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0ad2e0c (11052 kB)
[ 0.000000] .init : 0xc0ad3000 - 0xc0b2d480 ( 362 kB)
[ 0.000000] .data : 0xc0b2e000 - 0xc0bf0c28 ( 780 kB)
[ 0.000000] .bss : 0xc0bf0c28 - 0xc0d884c4 (1631 kB)
[ 0.000000]-(0)[0:swapper][cpu_ntf] <01>c07f40b8 (slab_cpuup_callback)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <02>c07f3418 (sched_ilb_notifier)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <03>c07f3ed0 (perf_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <04>c07f36ec (rcu_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <05>c02b803c (radix_tree_callback)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <06>c07f2638 (timer_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <07>c07f2cf8 (hrtimer_cpu_notify)
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <08>c07f23f8 (remote_softirq_cpu_notify)
[ 0.000000]-(0)[0:swapper/0]GPT1_CMP = 130000, HZ = 100
[ 0.000000]-(0)[0:swapper/0]fwq sysc count
[ 0.000000]-(0)[0:swapper/0][cpu_ntf] <09>c00d3c68 (hotplug_cfd)
[ 0.000000].(0)[0:swapper/0]ram_console: buffer start: 0xe0800000, size: 0x100000
[ 0.000000].(0)[0:swapper/0]ram_console: log size 0xffc80, start 0x49da8, off_console 0x380, buffer_size 0x100000
[ 0.000000].(0)[0:swapper/0]ram_console: lk[0], linux[200], console[380]
[ 0.000000].(0)[0:swapper/0]ram_console: old_header[df806000], buffer[e0800000], header_size[380]
[ 0.000000].(0)[0:swapper/0]ram_console:bin_log_count[190]
[ 0.000000].(0)[0:swapper/0][UART] mtk console setup : co->index 3 options:921600n1
[ 0.000000]-(0)[0:swapper/0]No Flow Control
[ 0.000000].(0)[0:swapper/0][UART] mtk console setup : uart_set_option port(3) baud(921600) parity(n) bits(1) flow(n) - ret(0)
[ 0.000000].(0)[0:swapper/0][UART] mtk setting: (0, 0, 0, 0, 128)
[ 0.122572].(0)[0:swapper/0][cpu_ntf] <10>c018c618 (buffer_cpu_notify)
[ 0.123957].(0)[0:swapper/0][cpu_ntf] <11>c07f3f1c (ratelimit_handler)
[ 0.125373]Calibrating local timer... 13.01MHz.
[ 0.183230].(0)[1:swapper/0][init] f(c0ad567c)
[ 0.184007].(0)[1:swapper/0] s:183221461 e:183222923 d:1462
[ 0.184781].(0)[1:swapper/0][init] f(c0ad5658)
[ 0.185558].(0)[1:swapper/0] s:184776230 e:184776615 d:385
[ 0.186368].(0)[1:swapper/0][init] f(c0ad803c)
[ 0.187148].(0)[1:swapper/0] s:186327846 e:186358615 d:30769
[ 0.187931].(0)[1:swapper/0][cpu_ntf] <12>c07f24c0 (cpu_callback)
[ 0.203282].(0)[1:swapper/0][init] f(c0adbdcc)
[ 0.204063].(0)[1:swapper/0] s:187918461 e:203274923 d:15356462
[ 0.204850].(0)[1:swapper/0][cpu_ntf] <13>c07f290c (workqueue_cpu_up_callback)
[ 0.205628].(0)[1:swapper/0][cpu_ntf] <14>c07f2c50 (workqueue_cpu_down_callback)
[ 0.206782].(0)[1:swapper/0][init] f(c0add0ac)
[ 0.207560].(0)[1:swapper/0] s:204833076 e:206774076 d:1941000
[ 0.208337].(0)[1:swapper/0][init] f(c0add608)
[ 0.209115].(0)[1:swapper/0] s:208331153 e:208332615 d:1462
[ 0.209897].(0)[1:swapper/0][cpu_ntf] <15>c07f3028 (migration_call)
[ 0.210676].(0)[1:swapper/0][cpu_ntf] <16>c07f2fa4 (sched_cpu_active)
[ 0.211454].(0)[1:swapper/0][cpu_ntf] <17>c07f2fd8 (sched_cpu_inactive)
[ 0.212230].(0)[1:swapper/0][init] f(c0adefbc)
[ 0.213007].(0)[1:swapper/0] s:209884461 e:212225230 d:2340769
[ 0.233863].(0)[1:swapper/0][init] f(c0ae2094)
[ 0.234643].(0)[1:swapper/0] s:213814692 e:233855923 d:20041231
[ 0.235419].(0)[1:swapper/0][init] f(c0ae25d8)
[ 0.236196].(0)[1:swapper/0] s:235413923 e:235414692 d:769
[ 0.237161].(0)[1:swapper/0][init] f(c0ae25fc)
[ 0.237940].(0)[1:swapper/0] s:236965000 e:237153384 d:188384
[ 0.238783].(0)[1:swapper/0][cpu_ntf] <18>c00fb0a0 (rb_cpu_notify)
[ 0.239619].(0)[1:swapper/0][init] f(c0ae2fb4)
[ 0.240397].(0)[1:swapper/0] s:238710846 e:239613615 d:902769
[ 0.241180].(0)[1:swapper/0][init] f(c0ae3188)
[ 0.241955].(0)[1:swapper/0] s:241166923 e:241175461 d:8538
[ 0.242731].(0)[1:swapper/0][init] f(c0ae3244)
[ 0.243507].(0)[1:swapper/0] s:242724692 e:242726153 d:1461
[ 0.244322].(0)[1:swapper/0][init] f(c0ae32a4)
[ 0.245101].(0)[1:swapper/0] s:244310307 e:244315230 d:4923
[ 0.245877].(0)[1:swapper/0][init] f(c0afe5a4)
[ 0.246652].(0)[1:swapper/0] s:245871384 e:245872076 d:692
[ 0.264649].(0)[1:swapper/0]Boot slave CPU
[ 0.265425].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 1
[ 0.266202].(0)[1:swapper/0][Power/hotplug] SLAVE1_MAGIC_NUM:534c4131
[ 0.266977].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(1)
[ 1.265757].(0)[1:swapper/0]CPU1, debug event: 0x00000009, debug monitor: 0x00000000
[ 1.266531]Backtrace:
[ 1.268103]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 1.268878] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 1.272771]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 1.273563]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 1.274337] r7:c0b330c0 r6:ffff8b4e r5:c0b71278 r4:c0bee0fc
[ 1.278201]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 1.278991]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 1.279781]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 1.280555] r6:00000000 r5:c0b43944 r4:00000001 r3:00000000
[ 1.284417]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 1.285207]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 1.285981] r4:00000001 r3:00000001
[ 1.288310]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 1.289100]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 1.289890]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 1.290664] r5:c07ee3c8 r4:00000000
[ 2.294354].(0)[1:swapper/0]CPU1: failed to come online
[ 2.314673].(0)[1:swapper/0]Boot slave CPU
[ 2.315449].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 2
[ 2.316226].(0)[1:swapper/0][Power/hotplug] SLAVE2_MAGIC_NUM:4c415332
[ 2.317000].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(2)
[ 3.315794].(0)[1:swapper/0]CPU2, debug event: 0x0000000a, debug monitor: 0x00000000
[ 3.316568]Backtrace:
[ 3.318131]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 3.318905] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 3.322791]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 3.323582]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 3.324355] r7:c0b330c0 r6:ffff8c19 r5:c0b71278 r4:c0bee0fc
[ 3.328234]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 3.329024]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 3.329814]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 3.330587] r6:00000000 r5:c0b43944 r4:00000002 r3:00000000
[ 3.334459]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 3.335247]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 3.336020] r4:00000002 r3:00000001
[ 3.338347]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 3.339137]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 3.339926]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 3.340700] r5:c07ee3c8 r4:00000000
[ 4.344395].(0)[1:swapper/0]CPU2: failed to come online
[ 4.364721].(0)[1:swapper/0]Boot slave CPU
[ 4.365497].(0)[1:swapper/0][Power/hotplug] boot_secondary, cpu: 3
[ 4.366273].(0)[1:swapper/0][Power/hotplug] SLAVE3_MAGIC_NUM:41534c33
[ 4.367047].(0)[1:swapper/0]mt_wakeup_cpu: first boot!(3)
[ 5.365829].(0)[1:swapper/0]CPU3, debug event: 0x0000000b, debug monitor: 0x00000000
[ 5.366603]Backtrace:
[ 5.368167]-(0)[1:swapper/0][<c00129c8>] (dump_backtrace+0x0/0x110) from [<c07f4ac0>] (dump_stack+0x18/0x1c)
[ 5.368941] r6:400e0113 r5:00000000 r4:c07f4aa8 r3:df828000
[ 5.372834]-(0)[1:swapper/0][<c07f4aa8>] (dump_stack+0x0/0x1c) from [<c00d442c>] (on_each_cpu+0x44/0x78)
[ 5.373626]-(0)[1:swapper/0][<c00d43e8>] (on_each_cpu+0x0/0x78) from [<c07f202c>] (mt_boot_secondary+0x228/0x244)
[ 5.374400] r7:c0b330c0 r6:ffff8ce4 r5:c0b71278 r4:c0bee0fc
[ 5.378286]-(0)[1:swapper/0][<c07f1e04>] (mt_boot_secondary+0x0/0x244) from [<c07f1518>] (boot_secondary+0x24/0x30)
[ 5.379075]-(0)[1:swapper/0][<c07f14f4>] (boot_secondary+0x0/0x30) from [<c07f1588>] (__cpu_up+0x64/0xf8)
[ 5.379863]-(0)[1:swapper/0][<c07f1524>] (__cpu_up+0x0/0xf8) from [<c07f22a4>] (_cpu_up+0xf8/0x160)
[ 5.380637] r6:00000000 r5:c0b43944 r4:00000003 r3:00000000
[ 5.384511]-(0)[1:swapper/0][<c07f21ac>] (_cpu_up+0x0/0x160) from [<c07f2384>] (cpu_up+0x78/0x94)
[ 5.385298]-(0)[1:swapper/0][<c07f230c>] (cpu_up+0x0/0x94) from [<c0ae0ff4>] (smp_init+0xe8/0xec)
[ 5.386070] r4:00000003 r3:00000001
[ 5.388398]-(0)[1:swapper/0][<c0ae0f0c>] (smp_init+0x0/0xec) from [<c0ad3c1c>] (kernel_init_freeable+0x94/0x1e8)
[ 5.389187]-(0)[1:swapper/0][<c0ad3b88>] (kernel_init_freeable+0x0/0x1e8) from [<c07ee3d8>] (kernel_init+0x10/0x170)
[ 5.389974]-(0)[1:swapper/0][<c07ee3c8>] (kernel_init+0x0/0x170) from [<c000e6d8>] (ret_from_fork+0x14/0x3c)
[ 5.390747] r5:c07ee3c8 r4:00000000
[ 6.394433].(0)[1:swapper/0]CPU3: failed to come online
[ 6.395403].(0)[1:swapper/0][cpu_ntf] <19>c00855d0 (sched_domains_numa_masks_update)
[ 6.396186].(0)[1:swapper/0][cpu_ntf] <20>c008ed1c (cpuset_cpu_active)
[ 6.396966].(0)[1:swapper/0][cpu_ntf] <21>c008edc0 (cpuset_cpu_inactive)
[ 6.397747].(0)[1:swapper/0][cpu_ntf] <22>c009bd70 (update_runtime)
[ 6.398525].(0)[1:swapper/0][cpu_ntf] <23>c0088a1c (hotplug_hrtick)
[ 6.405437].(0)[1:swapper/0][init] f(c0af4a6c)
[ 6.406219].(0)[1:swapper/0] s:6405422923 e:6405425000 d:2077
[ 6.406994].(0)[1:swapper/0][init] f(c0af4b04)
[ 6.407771].(0)[1:swapper/0] s:6406988692 e:6406989384 d:692
[ 6.408561].(0)[1:swapper/0][init] f(c0b047b0)
[ 6.409337].(0)[1:swapper/0] s:6408541461 e:6408555615 d:14154
[ 6.410120].(0)[1:swapper/0][init] f(c0b06668)
[ 6.410898].(0)[1:swapper/0] s:6410105846 e:6410115308 d:9462
[ 6.412218].(0)[1:swapper/0][init] f(c0ad56a0)
[ 6.412995].(0)[1:swapper/0] s:6412210538 e:6412212538 d:2000
[ 6.413772].(0)[1:swapper/0][init] f(c0ad6a64)
[ 6.414604].(0)[1:swapper/0] s:6413765538 e:6413767384 d:1846
[ 6.415382].(0)[1:swapper/0][init] f(c0ad9618)
[ 6.416158].(0)[1:swapper/0] s:6415376231 e:6415376846 d:615
[ 6.416933].(0)[1:swapper/0][init] f(c0adbd68)
[ 6.417709].(0)[1:swapper/0] s:6416926769 e:6416928308 d:1539
[ 6.418485].(0)[1:swapper/0][init] f(c0adbd54)
[ 6.419261].(0)[1:swapper/0] s:6418479769 e:6418480154 d:385
[ 6.420097].(0)[1:swapper/0][init] f(c0adcf04)
[ 6.420876].(0)[1:swapper/0] s:6420029538 e:6420091154 d:61616
[ 6.421683].(0)[1:swapper/0][init] f(c0addd44)
[ 6.422460].(0)[1:swapper/0] s:6421645923 e:6421677461 d:31538
[ 6.423293].(0)[1:swapper/0][init] f(c0adfaa8)
[ 6.424073].(0)[1:swapper/0] s:6423229538 e:6423286692 d:57154
[ 6.424899].(0)[1:swapper/0][init] f(c0adfdbc)
[ 6.425677].(0)[1:swapper/0] s:6424881769 e:6424892154 d:10385
[ 6.426455].(0)[1:swapper/0][init] f(c00bf528)
[ 6.427231].(0)[1:swapper/0] s:6426448384 e:6426450384 d:2000
[ 6.428209].(0)[1:swapper/0][init] f(c0ae0060)
[ 6.428987].(0)[1:swapper/0] s:6428000077 e:6428201384 d:201307
[ 6.429768].(0)[1:swapper/0][init] f(c0ae02e0)
[ 6.430545].(0)[1:swapper/0] s:6429757538 e:6429762538 d:5000
[ 6.431322].(0)[1:swapper/0][init] f(c0ae0738)
[ 6.432097].(0)[1:swapper/0] s:6431315308 e:6431317615 d:2307
[ 6.432964].(0)[1:swapper/0][init] f(c0ae1bd0)
[ 6.433742].(0)[1:swapper/0] s:6432866384 e:6432957308 d:90924
[ 6.435605].(0)[1:swapper/0][init] f(c0ae3548)
[ 6.436386].(0)[1:swapper/0] s:6434513538 e:6435595846 d:1082308
[ 6.437164].(0)[1:swapper/0][init] f(c01102e0)
[ 6.437940].(0)[1:swapper/0] s:6437157692 e:6437159231 d:1539
[ 6.438715].(0)[1:swapper/0][init] f(c0ae7994)
[ 6.439492].(0)[1:swapper/0] s:6438709308 e:6438710077 d:769
[ 6.440280].(0)[1:swapper/0][init] f(c0aeb2d0)
[ 6.441056].(0)[1:swapper/0] s:6440261692 e:6440275308 d:13616
[ 6.441852].(0)[1:swapper/0][init] f(c0aeb6f8)
[ 6.442628].(0)[1:swapper/0] s:6441825154 e:6441846231 d:21077
[ 6.443404].(0)[1:swapper/0][init] f(c0aeb740)
[ 6.444181].(0)[1:swapper/0] s:6443397846 e:6443399384 d:1538
[ 6.444978].(0)[1:swapper/0][init] f(c0aeb764)
[ 6.445756].(0)[1:swapper/0] s:6444971692 e:6444972615 d:923
[ 6.446544].(0)[1:swapper/0][init] f(c0af4890)
[ 6.447320].(0)[1:swapper/0] s:6446524461 e:6446539000 d:14539
[ 6.448097].(0)[1:swapper/0][init] f(c0af7ecc)
[ 6.448874].(0)[1:swapper/0] s:6448090308 e:6448092461 d:2153
[ 6.449666].(0)[1:swapper/0][init] f(c0afbadc)
[ 6.450442].(0)[1:swapper/0] s:6449643308 e:6449661231 d:17923
[ 6.451314].(0)[1:swapper/0][init] f(c0afe39c)
[ 6.452092].(0)[1:swapper/0] s:6451211692 e:6451307769 d:96077
[ 6.452874].(0)[1:swapper/0][init] f(c0b047dc)
[ 6.453651].(0)[1:swapper/0] s:6452862692 e:6452869538 d:6846
[ 6.454577].(0)[1:swapper/0][init] f(c0b064e4)
[ 6.455377].(0)[1:swapper/0] s:6454420461 e:6454569692 d:149231
[ 6.456205].(0)[1:swapper/0][init] f(c0b07da0)
[ 6.456982].(0)[1:swapper/0] s:6456148461 e:6456198461 d:50000
[ 6.459952].(0)[1:swapper/0][init] f(c0ad70b8)
[ 6.460729].(0)[1:swapper/0] s:6458310538 e:6459946769 d:1636231
[ 6.461636].(0)[1:swapper/0][init] f(c0ae63d8)
[ 6.462415].(0)[1:swapper/0] s:6461497923 e:6461627615 d:129692
[ 6.463202].(0)[1:swapper/0][init] f(c0af7e18)
[ 6.463978].(0)[1:swapper/0] s:6463184923 e:6463196769 d:11846
[ 6.464788].(0)[1:swapper/0][init] f(c0af8478)
[ 6.465589].(0)[1:swapper/0] s:6464749000 e:6464782231 d:33231
[ 6.466382].(0)[1:swapper/0][init] f(c0af8494)
[ 6.467159].(0)[1:swapper/0] s:6466360154 e:6466376692 d:16538
[ 6.467949].(0)[1:swapper/0][init] f(c0afb534)
[ 6.468727].(0)[1:swapper/0] s:6467930154 e:6467942769 d:12615
[ 6.469502].(0)[1:swapper/0][PWRAP] common driver init, version $Revision$
[ 6.470305].(0)[1:swapper/0][init] f(c0afeb34)
[ 6.471082].(0)[1:swapper/0] s:6469496846 e:6470300538 d:803692
[ 6.471856].(0)[1:swapper/0][PWRAP] HAL init: version $Revision$
[ 6.472650].(0)[1:swapper/0][init] f(c0afebac)
[ 6.473427].(0)[1:swapper/0] s:6471851846 e:6472644231 d:792385
[ 6.474244].(0)[1:swapper/0][init] f(c0b01a80)
[ 6.475022].(0)[1:swapper/0] s:6474197308 e:6474238769 d:41461
[ 6.475875].(0)[1:swapper/0][init] f(c0b03324)
[ 6.476652].(0)[1:swapper/0] s:6475806077 e:6475868692 d:62615
[ 6.477979].(0)[1:swapper/0][init] f(c0ad5628)
[ 6.478757].(0)[1:swapper/0] s:6477972769 e:6477973461 d:692
[ 6.479534].(0)[1:swapper/0][init] f(c0ad57d8)
[ 6.480310].(0)[1:swapper/0] s:6479527692 e:6479529308 d:1616
[ 6.481104].(0)[1:swapper/0][init] f(c0ad6870)
[ 6.481880].(0)[1:swapper/0] s:6481079231 e:6481098461 d:19230
[ 6.482664]-(0)[1:swapper/0]hw-breakpoint: Failed to enable monitor mode on CPU 0.
[ 6.483441].(0)[1:swapper/0][init] f(c0ad6d24)
[ 6.484217].(0)[1:swapper/0] s:6482650692 e:6483436538 d:785846
[ 6.484992].(0)[1:swapper/0][init] f(c0ad7318)
[ 6.485768].(0)[1:swapper/0] s:6484986231 e:6484987538 d:1307
[ 6.486608].(0)[1:swapper/0][pdev] dbg_reg_dump
[ 6.487386].(0)[1:swapper/0] s:6486555538 e:6486602615 d:47077
[ 6.488160].(0)[1:swapper/0][init] f(c0ada494)
[ 6.488938].(0)[1:swapper/0] s:6486554615 e:6488155923 d:1601308
[ 6.489718].(0)[1:swapper/0][Power/PM_INIT] Bus Frequency = 273000 KHz
[ 6.491727].(0)[1:swapper/0][SPM] PWAKE_EN:1, PCMWDT_EN:1, BYPASS_SYSPWREQ:0
[ 6.492505].(0)[1:swapper/0][SLP] SLEEP_DPIDLE_EN:1, REPLACE_DEF_WAKESRC:0, SUSPEND_LOG_EN:1
Click to expand...
Click to collapse
- Had similiar issues when booting a kernel via kexec on the Kindle HDX
- Using plain kexec some of the hardware regsiters etc was not in the correct state for the kexec kernel to bring the hardware up correctly
- I was able to solve some of the problems by implementing Hardboot Patch
- If it's applicable don't know if you can do something similiar in the module.
- Here's the patch I implemented: https://bitbucket.org/slimlphdx/and...a063c7415bd4b157ece9c8c1438fb0524ac?at=master
ggow said:
- Had similiar issues when booting a kernel via kexec on the Kindle HDX
- Using plain kexec some of the hardware regsiters etc was not in the correct state for the kexec kernel to bring the hardware up correctly
- I was able to solve some of the problems by implementing Hardboot Patch
- If it's applicable don't know if you can do something similiar in the module.
- Here's the patch I implemented: https://bitbucket.org/slimlphdx/and...a063c7415bd4b157ece9c8c1438fb0524ac?at=master
Click to expand...
Click to collapse
I have looked into hardboot, as I understand it, this won't be possible to implement in a module,
since it modifies the startup-code of the original kernel (head.S), to jump to the new kernel way before initialization takes place.
If we where able to boot a custom-kernel with hardboot (untethered) we wouldn't need kexec in the first place
k4y0z said:
I have looked into hardboot, as I understand it, this won't be possible to implement in a module,
since it modifies the startup-code of the original kernel (head.S), to jump to the new kernel way before initialization takes place.
If we where able to boot a custom-kernel with hardboot (untethered) we wouldn't need kexec in the first place
Click to expand...
Click to collapse
So you could compare this to a semi-untethered jailbreak for an iPhone in a way?
If we got kexec working, we would still install custom roms like we do now.
I guess you could call this semi-untethered.
But we could then load a custom kernel or even a recovery.
ATM I haven't looked much deeper into this, but haven't given up completely yet either.
k4y0z said:
If we got kexec working, we would still install custom roms like we do now.
I guess you could call this semi-untethered.
But we could then load a custom kernel or even a recovery.
ATM I haven't looked much deeper into this, but haven't given up completely yet either.
Click to expand...
Click to collapse
Agreed. At the current state though it is much better than a semi-untethered jailbroken iPhone tbh.
Glad you agree!
I'd be interested in seeing kexec take off for the KKFOWI since it would allow you to boot a recovery directly from the tablet versus having to push *insert your favorite recovery* via fastboot each time you wanted to enter recovery mode. It wouldn't be as bulletproof as being able to unlock the bootloader, but it's like this over in the land of iOS...you get what you can take. Being able to make complete and restore nandroid backups without using a computer would be enough for me with this tablet considering just how freaking cheap this thing is.
bmurphr1 said:
I'd be interested in seeing kexec take off for the KKFOWI since it would allow you to boot a recovery directly from the tablet versus having to push *insert your favorite recovery* via fastboot each time you wanted to enter recovery mode. It wouldn't be as bulletproof as being able to unlock the bootloader, but it's like this over in the land of iOS...you get what you can take. Being able to make complete and restore nandroid backups without using a computer would be enough for me with this tablet considering just how freaking cheap this thing is.
Click to expand...
Click to collapse
I agree completely. Just being able to boot into a recovery of sorts without the need for my PC or laptop would be awesome. Even if it was just for nandroid backups and restoring. Out of the 3 tablets that I purchased I kept this one on the stock 5.0.2 and did not update it so I could use TWRP as apposed to Flashfire. But I am happy that we have what we do. For the price of this tablet it was well worth all 3 purchases.
Sent from my KFFOWI using XDA Premium HD app
Personally I've owned several Kindle tablets (at least 3-4 that I can remember), and I always purchased them because the models I chose had micro-SD expansion and the ability to completely ditch FireOS as I think it's a dreadful implementation of Android. I used what I believe was a second gen Kindle with 16GB of internal RAM running CM10 that I used at the gym for over a year just for watching movies and connecting to my gym's WiFi so that I could watch cable TV using my home NextPVR server and Kodi (beats the crap out of anything Sling has to offer or anybody else for that matter). These days though I tend to use my Dell Venue 8 Pro 5830 (2GB of RAM, 32GB eMMC, and a 128GB Samsung EVO micro-SD card for movie storage - also running Win10) since I actually prefer Windows tablets over Android - except for anything Metro UI based. People have asked me how I tolerate using the tablet in normal desktop mode and honestly I have no problems tapping or typing on anything with it particularly since I use the Dell pen with it, and it comes in handy. When it comes to smartphones, I'd rather have a jailbroken iOS device though...just boils down to personal preference. Anyways, off of my tangent...
For $35 there isn't any other tablet that you can buy on the market even in China that is as high quality as this tablet is. Granted it's not what you'd expect from a high end Samsung Galaxy Tab, but for $35 shipped and being able to run the latest version of CyanogenMod, for me it was a no-brainer. Somebody could even steal it from me and I'd probably just laugh and forget all about it. Right now mine is used for reading books very occasionally, and at night I prop it up next to my bedside and use it as my alarm clock - just installed a free clock app that takes up the entire screen, keep the screen on 24/7, and run a script that auto-dims the screen at 10pm every night and goes back to normal brightness at 8am. It's literally the ultimate alarm clock in my opinion.
k4y0z said:
I have successfully compiled kexec for the ford, however booting a kernel doesn't completely work.
It seems like the cpu-cores aren't shut down completely, hopefully someone here has an Idea how to get that going.
This is what it currently looks like trying to boot a kernel using kexec:
<log cut>
Click to expand...
Click to collapse
Could you try disabling SMP – therefore stopping the kernel from trying to spin up the first, second, and third cores?
You can do this by appending 'nosmp' or 'maxcpus=0' to the kernel command line.
OR
You can try and 'hotplug' the CPUs manually before running kexec:
You can disable CPU cores manually if you wish in Linux by editing some files under /sys, @k4y0z: http://unix.stackexchange.com/a/145815/102769
Click to expand...
Click to collapse
Secondary CPU cores not coming online is a known kexec bug on ARM processor platforms.
Yes! I've just tried it, and now I've got the first working custom kernel on my Fire!
HOWEVER, it's pretty much useless. I can't get some devices to work. This includes the display.
gwhite5 said:
Yes! I've just tried it, and now I've got the first working custom kernel on my Fire!
I repeat:
FIRST CUSTOM KERNEL WHICH BOOTS ON THE AMAZON FIRE 5th GENERATION, FIREOS 5.1.1!
Expect a screenshot soon.
Click to expand...
Click to collapse
Great, this is awesome news!
Is this with or without SMP now?
I've actually tried playing arround with the bringup code (is_secondary_cpu_first_boot) but didn't get anywhere.
the value is read from the atags, so if your hack works we could update the atag-module to set the correct value there.
Even without SMP this would mean a custom recovery for 5.1.1 :good:
k4y0z said:
Great, this is awesome news!
Is this with or without SMP now?
I've actually tried playing arround with the bringup code (is_secondary_cpu_first_boot) but didn't get anywhere.
the value is read from the atags, so if your hack works we could update the atag-module to set the correct value there.
Even without SMP this would mean a custom recovery for 5.1.1 :good:
Click to expand...
Click to collapse
The kernel works with nosmp and maxcpus=0 kernel command line arguments. To be honest I haven't tried to patch because disabling SMP worked and I'm not at my computer anymore.
Sent from my D816w using Tapatalk
How can i get a wallpaper daily from walloid automatically using tasker???
Code:
Wallppr (154)
A1: List Files [ Dir:backgrnds Match: Include Hidden Files:eek:ff Use Root:eek:ff Variable:%files ]
A2: Variable Set [ Name:%max To:%files(#) Do Maths:eek:ff Append:eek:ff ]
A3: Variable Randomize [ Name:%index Min:1 Max:%max ]
A4: Variable Set [ Name:%Wallppr To:%files(%index) Do Maths:eek:ff Append:eek:ff ]
A5: Variable Split [ Name:%Wallppr Splitter:/ Delete Base:eek:ff ]
A6: Flash [ Text:%Wallppr5/%Wallppr6 Long:eek:n ]
A7: Set Wallpaper [ Image:%Wallppr5/%Wallppr6 Scale:eek:n Crop:eek:ff ]
Just for fun, here are a few others:
NoiseChng3 (373)
A1: If [ %GuestNet ~ True ]
A2: Variable Set [ Name:%RingDir To:rINGS_nOTIFS/work Do Maths:eek:ff Append:eek:ff ]
A3: Else
A4: Variable Set [ Name:%RingDir To:rINGS_nOTIFS/off Do Maths:eek:ff Append:eek:ff ]
A5: End If
A6: List Files [ Dir:%RingDir Match: Include Hidden Files:eek:n Use Root:eek:n Variable:%files ]
A7: Variable Set [ Name:%max To:%files(#) Do Maths:eek:ff Append:eek:ff ]
A8: Variable Randomize [ Name:%index Min:1 Max:%max ]
A9: Variable Set [ Name:%Index To:%index Do Maths:eek:n Append:eek:ff ]
A10: Variable Set [ Name:%Notif To:%files(%index) Do Maths:eek:ff Append:eek:ff ]
A11: Variable Split [ Name:%Notif Splitter:/ Delete Base:eek:ff ]
A12: Variable Split [ Name:%Notif7 Splitter:. Delete Base:eek:ff ]
A13: Flash [ Text:%Notif71 Long:eek:ff ]
A14: If [ %Noise ~ Phone ]
A15: Default Ringtone [ Type:Ringer Sound:%Notif71 ]
A16: Variable Set [ Name:%Ringername To:%Notif71 Do Maths:eek:ff Append:eek:ff ]
A17: Zooper Widget Pro Variable [ Configuration:#TRing# = %Ringername Timeout (Seconds):0 ]
A18: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A19: Perform Task [ Name:RingerQuery1 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:n ]
A20: Else
A21: Default Ringtone [ Type:Notification Sound:%Notif71 ]
A22: Variable Set [ Name:%Notifname To:%Notif71 Do Maths:eek:ff Append:eek:ff ]
A23: Zooper Widget Pro Variable [ Configuration:#TNotif# = %Notifname Timeout (Seconds):0 ]
A24: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A25: Perform Task [ Name:NotifQuery1 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:n ]
A26: End If
NotifQuery1 (375)
A1: If [ %Index eq %Index1 | %Index eq %Index2 | %Index eq %Index3 | %Index eq %Index4 | %Index eq %Index5 | %Notif71 ~ *unknown ringtone* ]
A2: Write File [ File:Notif.txt Text:Notif: %DATE %TIME
Dedupe: %Index
%Index1
%Index2
%Index3
%Index4
%Index5 Append:eek:n Add Newline:eek:n ]
A3: Flash [ Text:Damn it! I'll try again... Long:eek:n ]
A4: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A5: Else
A6: Write File [ File:Notif.txt Text:Notif: %DATE %TIME: %Index
%Index1
%Index2
%Index3
%Index4
%Index5 Append:eek:n Add Newline:eek:n ]
RingerQuery1 (376)
A1: If [ %Index eq %Index1 | %Index eq %Index2 | %Index eq %Index3 | %Index eq %Index4 | %Index ~ %Index5 | %Notif71 ~ *unknown ringtone" ]
A2: Write File [ File:Notif.txt Text:Phone: %DATE %TIME
Dedupe: %Index
%Index1
%Index2
%Index3
%Index4
%Index5 Append:eek:n Add Newline:eek:n ]
A3: Flash [ Text:Damn it! I'll try again... Long:eek:n ]
A4: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A5: Else
A6: Write File [ File:Notif.txt Text:Phone: %DATE %TIME: %Index
%Index1
%Index2
%Index3
%Index4
%Index5 Append:eek:n Add Newline:eek:n ]
---------- Post added at 01:10 PM ---------- Previous post was at 01:05 PM ----------
Code:
Cal (320)
A1: Perform Task [ Name:NotifLauncher Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A2: Variable Clear [ Name:%Noise Pattern Matching:eek:ff ]
A3: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A7: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A8: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A9: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Phone (318)
A1: Variable Set [ Name:%Noise To:Phone Do Maths:eek:ff Append:eek:ff ]
A2: Destroy Scene [ Name:%PopUp Continue Task After Error:eek:n ]
A3: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A7: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A8: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A9: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Txt (319)
A1: Variable Clear [ Name:%Noise Pattern Matching:eek:ff ]
A2: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A3: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A7: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A8: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Profiles:
Code:
Profile: Calengoo1 (199)
Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
Notification Type: Only Created Notifications
Notification App: CalenGoo
Package Name: com.calengoo.android ]
Enter: Cal (320)
A1: Perform Task [ Name:NotifLauncher Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A2: Variable Clear [ Name:%Noise Pattern Matching:eek:ff ]
A3: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A7: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A8: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A9: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Profile: FunNotifTxt (24)
Event: Received Text [ Type:Any Sender:* Content:* ]
Enter: Txt (319)
A1: Variable Clear [ Name:%Noise Pattern Matching:eek:ff ]
A2: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A3: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A7: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A8: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Profile: PhoneCall (153)
State: Call [ Type:Incoming Number:* ]
Enter: Phone (318)
A1: Variable Set [ Name:%Noise To:Phone Do Maths:eek:ff Append:eek:ff ]
A2: Destroy Scene [ Name:%PopUp Continue Task After Error:eek:n ]
A3: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A7: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A8: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A9: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
nijohnson said:
Code:
Wallppr (154)
A1: List Files [ Dir:backgrnds Match: Include Hidden Files:eek:ff Use Root:eek:ff Variable:%files ]
A2: Variable Set [ Name:%max To:%files(#) Do Maths:eek:ff Append:eek:ff ]
A3: Variable Randomize [ Name:%index Min:1 Max:%max ]
A4: Variable Set [ Name:%Wallppr To:%files(%index) Do Maths:eek:ff Append:eek:ff ]
A5: Variable Split [ Name:%Wallppr Splitter:/ Delete Base:eek:ff ]
A6: Flash [ Text:%Wallppr5/%Wallppr6 Long:eek:n ]
A7: Set Wallpaper [ Image:%Wallppr5/%Wallppr6 Scale:eek:n Crop:eek:ff ]
Just for fun, here are a few others:
NoiseChng3 (373)
A1: If [ %GuestNet ~ True ]
A2: Variable Set [ Name:%RingDir To:rINGS_nOTIFS/work Do Maths:eek:ff Append:eek:ff ]
A3: Else
A4: Variable Set [ Name:%RingDir To:rINGS_nOTIFS/off Do Maths:eek:ff Append:eek:ff ]
A5: End If
A6: List Files [ Dir:%RingDir Match: Include Hidden Files:eek:n Use Root:eek:n Variable:%files ]
A7: Variable Set [ Name:%max To:%files(#) Do Maths:eek:ff Append:eek:ff ]
A8: Variable Randomize [ Name:%index Min:1 Max:%max ]
A9: Variable Set [ Name:%Index To:%index Do Maths:eek:n Append:eek:ff ]
A10: Variable Set [ Name:%Notif To:%files(%index) Do Maths:eek:ff Append:eek:ff ]
A11: Variable Split [ Name:%Notif Splitter:/ Delete Base:eek:ff ]
A12: Variable Split [ Name:%Notif7 Splitter:. Delete Base:eek:ff ]
A13: Flash [ Text:%Notif71 Long:eek:ff ]
A14: If [ %Noise ~ Phone ]
A15: Default Ringtone [ Type:Ringer Sound:%Notif71 ]
A16: Variable Set [ Name:%Ringername To:%Notif71 Do Maths:eek:ff Append:eek:ff ]
A17: Zooper Widget Pro Variable [ Configuration:#TRing# = %Ringername Timeout (Seconds):0 ]
A18: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A19: Perform Task [ Name:RingerQuery1 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:n ]
A20: Else
A21: Default Ringtone [ Type:Notification Sound:%Notif71 ]
A22: Variable Set [ Name:%Notifname To:%Notif71 Do Maths:eek:ff Append:eek:ff ]
A23: Zooper Widget Pro Variable [ Configuration:#TNotif# = %Notifname Timeout (Seconds):0 ]
A24: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A25: Perform Task [ Name:NotifQuery1 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:n ]
A26: End If
NotifQuery1 (375)
A1: If [ %Index eq %Index1 | %Index eq %Index2 | %Index eq %Index3 | %Index eq %Index4 | %Index eq %Index5 | %Notif71 ~ *unknown ringtone* ]
A2: Write File [ File:Notif.txt Text:Notif: %DATE %TIME
Dedupe: %Index
%Index1
%Index2
%Index3
%Index4
%Index5 Append:eek:n Add Newline:eek:n ]
A3: Flash [ Text:Damn it! I'll try again... Long:eek:n ]
A4: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A5: Else
A6: Write File [ File:Notif.txt Text:Notif: %DATE %TIME: %Index
%Index1
%Index2
%Index3
%Index4
%Index5 Append:eek:n Add Newline:eek:n ]
RingerQuery1 (376)
A1: If [ %Index eq %Index1 | %Index eq %Index2 | %Index eq %Index3 | %Index eq %Index4 | %Index ~ %Index5 | %Notif71 ~ *unknown ringtone" ]
A2: Write File [ File:Notif.txt Text:Phone: %DATE %TIME
Dedupe: %Index
%Index1
%Index2
%Index3
%Index4
%Index5 Append:eek:n Add Newline:eek:n ]
A3: Flash [ Text:Damn it! I'll try again... Long:eek:n ]
A4: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A5: Else
A6: Write File [ File:Notif.txt Text:Phone: %DATE %TIME: %Index
%Index1
%Index2
%Index3
%Index4
%Index5 Append:eek:n Add Newline:eek:n ]
---------- Post added at 01:10 PM ---------- Previous post was at 01:05 PM ----------
Code:
Cal (320)
A1: Perform Task [ Name:NotifLauncher Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A2: Variable Clear [ Name:%Noise Pattern Matching:eek:ff ]
A3: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A7: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A8: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A9: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Phone (318)
A1: Variable Set [ Name:%Noise To:Phone Do Maths:eek:ff Append:eek:ff ]
A2: Destroy Scene [ Name:%PopUp Continue Task After Error:eek:n ]
A3: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A7: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A8: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A9: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Txt (319)
A1: Variable Clear [ Name:%Noise Pattern Matching:eek:ff ]
A2: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A3: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A7: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A8: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Profiles:
Code:
Profile: Calengoo1 (199)
Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
Notification Type: Only Created Notifications
Notification App: CalenGoo
Package Name: com.calengoo.android ]
Enter: Cal (320)
A1: Perform Task [ Name:NotifLauncher Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A2: Variable Clear [ Name:%Noise Pattern Matching:eek:ff ]
A3: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A7: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A8: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A9: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Profile: FunNotifTxt (24)
Event: Received Text [ Type:Any Sender:* Content:* ]
Enter: Txt (319)
A1: Variable Clear [ Name:%Noise Pattern Matching:eek:ff ]
A2: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A3: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A7: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A8: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Profile: PhoneCall (153)
State: Call [ Type:Incoming Number:* ]
Enter: Phone (318)
A1: Variable Set [ Name:%Noise To:Phone Do Maths:eek:ff Append:eek:ff ]
A2: Destroy Scene [ Name:%PopUp Continue Task After Error:eek:n ]
A3: Variable Set [ Name:%Index5 To:%Index4 Do Maths:eek:n Append:eek:ff ]
A4: Variable Set [ Name:%Index4 To:%Index3 Do Maths:eek:n Append:eek:ff ]
A5: Variable Set [ Name:%Index3 To:%Index2 Do Maths:eek:n Append:eek:ff ]
A6: Variable Set [ Name:%Index2 To:%Index1 Do Maths:eek:n Append:eek:ff ]
A7: Variable Set [ Name:%Index1 To:%Index Do Maths:eek:ff Append:eek:ff ]
A8: Flash [ Text:Right! Let's see what we come up with... Long:eek:ff ]
A9: Perform Task [ Name:NoiseChng3 Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
Click to expand...
Click to collapse
Thanks.... But can you explain it. I dont know anything about coding.
What should I do to get it working?
LOL! Sorry. So if you use Tasker, this is what it looks like when you export a task or profile to your clipboard as a description. You do this by long-tapping the task, and selecting "export" from the drop down menu.
I'll walk you through the Wallpaper switcher.
First, create a new task. Name it whatever you like
In that task, add an action with the + button. The action you're looking for is in the "List Files" in the "File" catagory
A1: List Files [ Dir:backgrnds Match: Include Hidden Files: Use Root: Variable:%files ]
Action: List files
Directory: (whereever your wall papers are stored. Mine are in a folder called" backgrnds")
Match: (skip)
Include Hidden Files: (skip)
Use Root: (Yes if you have root)
Variable: This is where you're going to save all the file names you list. enter :%files"
Next action: Variable Set - in the Vaiables catagory
A2: Variable Set [ Name:%max To:%files(#) Do Maths: Append: ]
Variable Name:"%max"
To: (This is what you want "%max" to be) %files(#) - which means the number of files
Do Maths: Yes, check this
Append: no. You want a new list each time
Next Action Variable Randomize
A3: Variable Randomize [ Name:%index Min:1 Max:%max ]
Name: (this is where you want to put the random number you're generating)
Min: 1
Max: %max
Next Action Variable Set
A4: Variable Set [ Name:%Wallppr To:%files(%index) Do Maths: Append: off ]
Name: %Wallppr
To: %files(%index) (This is the file name associated with your random number)
Do Maths: no
Append: no.
Next Action Variable Split (This chopps up a variable into manageable bits so the phone can read it)
A5: Variable Split [ Name:%Wallppr Splitter:/ Delete Base: off ]
Name: %Wallppr
Splitter: / (This is the character that tasker looks for. When it finds it, it chopps the variable into two parts - %Wallppr1 is to the left of the splitter and %Wallppr2 is to the right)
Next Action (optional)
A6: Flash [ Text:%Wallppr5/%Wallppr6 ]
Flash is found in the alerts catagory. Its just a way to check to see if everytthing is working. Flash just flashes whatever on the screen. In this case %Wallppr1 and %Wallppr2
Next Action:
A7: Set Wallpaper [ Image:%Wallppr5/%Wallppr6 Scale: Crop: ]
Pretty self expanitory. Found in Display catagory.
nijohnson said:
LOL! Sorry. So if you use Tasker, this is what it looks like when you export a task or profile to your clipboard as a description. You do this by long-tapping the task, and selecting "export" from the drop down menu.
I'll walk you through the Wallpaper switcher.
First, create a new task. Name it whatever you like
In that task, add an action with the + button. The action you're looking for is in the "List Files" in the "File" catagory
A1: List Files [ Dir:backgrnds Match: Include Hidden Files: Use Root: Variable:%files ]
Action: List files
Directory: (whereever your wall papers are stored. Mine are in a folder called" backgrnds")
Match: (skip)
Include Hidden Files: (skip)
Use Root: (Yes if you have root)
Variable: This is where you're going to save all the file names you list. enter :%files"
Next action: Variable Set - in the Vaiables catagory
A2: Variable Set [ Name:%max To:%files(#) Do Maths: Append: ]
Variable Name:"%max"
To: (This is what you want "%max" to be) %files(#) - which means the number of files
Do Maths: Yes, check this
Append: no. You want a new list each time
Next Action Variable Randomize
A3: Variable Randomize [ Name:%index Min:1 Max:%max ]
Name: (this is where you want to put the random number you're generating)
Min: 1
Max: %max
Next Action Variable Set
A4: Variable Set [ Name:%Wallppr To:%files(%index) Do Maths: Append: off ]
Name: %Wallppr
To: %files(%index) (This is the file name associated with your random number)
Do Maths: no
Append: no.
Next Action Variable Split (This chopps up a variable into manageable bits so the phone can read it)
A5: Variable Split [ Name:%Wallppr Splitter:/ Delete Base: off ]
Name: %Wallppr
Splitter: / (This is the character that tasker looks for. When it finds it, it chopps the variable into two parts - %Wallppr1 is to the left of the splitter and %Wallppr2 is to the right)
Next Action (optional)
A6: Flash [ Text:%Wallppr5/%Wallppr6 ]
Flash is found in the alerts catagory. Its just a way to check to see if everytthing is working. Flash just flashes whatever on the screen. In this case %Wallppr1 and %Wallppr2
Next Action:
A7: Set Wallpaper [ Image:%Wallppr5/%Wallppr6 Scale: Crop: ]
Pretty self expanitory. Found in Display catagory.
Click to expand...
Click to collapse
Thanks! I got it.
You're the best
Cool! Have fun!
I have a Motorola e5 play XT1921-6 hardbricked, and when I run the blankflash it returns the following error:
Motorola qboot utility version 3.40
[ 0.000] Opening device: \\.\COM7
[ 0.001] Detecting device
[ 0.003] ...cpu.id = 86 (0x56)
[ 0.004] ...cpu.sn = 3091640600 (0xb846b118)
[ 0.004] Opening singleimage
[ 0.119] Loading package
[ 0.129] ...filename = singleimage.pkg.xml
[ 0.133] Loading programmer
[ 0.135] ...filename = programmer.mbn
[ 0.136] Sending programmer
[ 0.216] ReadFile() failed, GetLastError()=0
[ 0.216] ERROR: sahara_download()->IO error
[ 0.217] Check qboot_log.txt for more details
[ 0.224] Total time: 0.226s
FAILED: qb_flash_singleimage()->sahara_download()->IO error
I check the qboot_log.txt and what I find is the following:
**** Log buffer [000001] 2020-07-01_12:16:19 ****
[ -0.000] Opening device: \\.\COM7
[ 0.001] Detecting device
[ 0.003] ...cpu.id = 86 (0x56)
[ 0.003] ...cpu.sn = 3091640600 (0xb846b118)
[ 0.003] Opening singleimage
[ 0.012] Loading package
[ 0.017] ...filename = singleimage.pkg.xml
[ 0.019] Loading programmer
[ 0.019] ...filename = programmer.mbn
[ 0.019] Sending programmer
[ 0.099] ReadFile() failed, GetLastError()=0
[ 0.099] ERROR: sahara_download()->IO error
[ 0.100] Check qboot_log.txt for more details
[ 0.105] Total time: 0.106s
[ 0.106]
[ 0.106] qboot version 3.40
[ 0.106]
[ 0.106] DEVICE {
[ 0.106] name = "\\.\COM7",
[ 0.106] flags = "0x64",
[ 0.106] addr = "0x61FE4C",
[ 0.106] sahara.current_mode = "0",
[ 0.106] api.buffer = "0x1558020",
[ 0.106] cpu.serial = "3091640600",
[ 0.106] cpu.id = "86",
[ 0.106] cpu.sv_sbl = "0",
[ 0.106] cpu.name = "MSM8917",
[ 0.106] storage.type = "eMMC",
[ 0.106] sahara.programmer = "programmer.mbn",
[ 0.106] api.bnr = "0x1055E00",
[ 0.106] }
[ 0.106]
[ 0.106]
[ 0.106] Backup & Restore {
[ 0.106] num_entries = 0,
[ 0.106] restoring = "false",
[ 0.106] backup_error = "not started",
[ 0.106] restore_error = "not started",
[ 0.106] }
[ 0.106]
can someone tell me what is the problem? what should I do? is there any solution for my phone?
someone help me please...
try this https://mirrors.lolinet.com/firmware/moto/james/blankflash/
Hallo Moto Users
Last few days, it was a nightmare to find some ready and working solution on hardbricked Motorola. After 5 or 6 days finally bootloader screen appeared
Just to mention - until one week ago I was just and only Samsung user for last 6-7 years. So I clearly admit I am a n00b regarding other brands/systems. (probably someone who is PRO user for ages, would solve that 'at the fly', however I digged whole entire Internet and found only ONE TIP how-to).
To be clear - below I share a link to the orginal poster of the method which resurrected my Moto - all I have done was to read, understand and follow...
https://www.reddit.com/r/MotoG/comments/k73n66
I am pretty sure this could also be a way for many Motorola models. Hope it will help someone in the future to save some valuable time (and money as the local worshops have 99% predictions that it is DEAD MOTHERBOARD signs and evidence!).
Enjoy the New Started Year Ladies and Gents!
my moto g52 is not starting (hardbrick), I tried the method informed but the flahs always gives an error
my model is xt2221-2 RETBR
LOG qboot:
*** Log buffer [000001] 2022-09-05_22:21:13 ****
[ 0.000] Opening device: \\.\COM3
[ 0.002] Detecting device
[ 0.004] ...cpu.id = 440 (0x1b8)
[ 0.004] ...cpu.sn = 233431865 (0xde9e339)
[ 0.004] Opening singleimage
[ 0.004] Loading package
[ 0.007] ...filename = pkg.xml
[ 0.008] Loading programmer
[ 0.008] ...filename = programmer.elf
[ 0.009] Sending programmer
[ 11.192] ERROR: sahara_download()->IO error
[ 11.193] Check qboot_log.txt for more details
[ 11.194] Total time: 11.195s
[ 11.194]
[ 11.194] qboot version 3.86
[ 11.194]
[ 11.194] DEVICE {
[ 11.194] name = "\\.\COM3",
[ 11.194] flags = "0x64",
[ 11.194] addr = "0x62FD54",
[ 11.194] sahara.current_mode = "0",
[ 11.194] api.buffer = "0x2BD9020",
[ 11.194] cpu.serial = "233431865",
[ 11.194] cpu.id = "440",
[ 11.194] cpu.sv_sbl = "0",
[ 11.194] cpu.name = "SM_DIVAR",
[ 11.194] storage.type = "UFS",
[ 11.194] sahara.programmer = "programmer.elf",
[ 11.194] api.bnr = "0xFF1E50",
[ 11.194] }
[ 11.194]
[ 11.194]
[ 11.194] Backup & Restore {
[ 11.194] num_entries = 0,
[ 11.194] restoring = "false",
[ 11.194] backup_error = "not started",
[ 11.194] restore_error = "not started",
[ 11.194] }
[ 11.194]
cmd message
[ 0.000] Opening device: \\.\COM3
[ 0.002] Detecting device
[ 0.004] ...cpu.id = 440 (0x1b8)
[ 0.004] ...cpu.sn = 233431865 (0xde9e339)
[ 0.004] Opening singleimage
[ 0.004] Loading package
[ 0.007] ...filename = pkg.xml
[ 0.008] Loading programmer
[ 0.008] ...filename = programmer.elf
[ 0.009] Sending programmer
[ 11.192] ERROR: sahara_download()->IO error
[ 11.193] Check qboot_log.txt for more details
[ 11.194] Total time: 11.195s
FAILED: qb_flash_singleimage()->sahara_download()->IO error