After manually update my D5833 phone to MM from LP, using stock rom and flashtool my W-FI start to disconnect many times, is boring but when this occurs I simply restart phone and everything back to normal. The worse problem start yesterday when I use Ultra Stamina mode, the WI-FI no longer works even after restart.
I already read many topics on this and other forums but can't find a solution. When I enable/disable airplane mode WI-FI works for few seconds, also I can confirm the WI-FI is working since I receive many WhatsApp messages in this time but the connection drops, all networks simply vanish and phone keep looking for networks without a result.
I already try:
verify MAC address (seems to be ok);
reset network configuration;
use legacy DHCP on developer mode;
root using russel5 method;
add a WCNSS_qcom_cfg.ini file to "etc/firmware/wlan" folder;
change files or delete "/persist/wifi" folder (can't find that folder);
update to latest stock FW 391 from 375;
wipe data with TWRP and from system;
advanced wipe and format internal storage with TWRP;
install Slimm Rom 3.1
None of those solutions helps. The only thing I not try yet is revert to LP rom.
Any suggestions?
I do not record this video but my problem is exactly the same.
https://www.youtube.com/watch?v=XqlYI3CO9Tk
I still have the problem, now my mac address is gone and wi-fi no longer works...
Looking for a solution I brick my phone and get stuck on sony first logo before boot. To recover from this disaster I use the PC Companion that install lastest MM 6.01 but wi-fi still bugged...
It is always recommended to factory reset your phone after an OTA update that changes your firmware version. But since you used the PC Companion to fix it (don't know if you wiped your data, if you didn't you still might have a chance) I believe it might be hardware related.
marshalpear said:
It is always recommended to factory reset your phone after an OTA update that changes your firmware version. But since you used the PC Companion to fix it (don't know if you wiped your data, if you didn't you still might have a chance) I believe it might be hardware related.
Click to expand...
Click to collapse
When WI-FI work it works perfect. But now after try many solutions over the internet android no longer assign a mac address to wi-fi. Even if I replace the internal wi-fi antenna I will need to resolve this new problem.
Same thing started happening to me last week. I have tried different roms with no effect. WiFi connects for a couple of seconds then disconnects over and over. Be sure to post if you make any progress. I'll do the same.
Same thing is happening to me.
At first my phone started disconnecting from any wifi network every few seconds.
I tried to install different roms, factory reset and wipes included.
Now I'm on stock firmware and the wifi (and bluetooth) are not working at all.
When trying to turn on wifi from settings, the button stays on for a few seconds (during this time it finds no networks) then it goes back to off.
I noticed that in the About phone -> Status window it shows 02:00:00:00:00:00 as the wifi mac address....
Another strange thing is that the Diagnostics wifi test shows passed.
Please see the attached screenshots.
any ideas? could it really be a hardware problem?
I have never dropped my phone and I have always used a rubber bumper.
ovk8 said:
Same thing is happening to me.
At first my phone started disconnecting from any wifi network every few seconds.
I tried to install different roms, factory reset and wipes included.
Now I'm on stock firmware and the wifi (and bluetooth) are not working at all.
When trying to turn on wifi from settings, the button stays on for a few seconds (during this time it finds no networks) then it goes back to off.
I noticed that in the About phone -> Status window it shows 02:00:00:00:00:00 as the wifi mac address....
Another strange thing is that the Diagnostics wifi test shows passed.
Please see the attached screenshots.
any ideas? could it really be a hardware problem?
I have never dropped my phone and I have always used a rubber bumper.
Click to expand...
Click to collapse
In my case bluetooth is working but disconnect frequently. In diagnostics WI-FI test is ok too.
I found another thread about it...
http://forum.xda-developers.com/z3-compact/help/xperia-z3-compact-wifi-wont-t3307225
Still with the same problem.
Now bluetooth is gone...
Hey there,
got a similar problem:
my wifi wouldn start properly even after reboot (sometimes it does, but if the device sleeps a little longer, wifi disconnects and wouldnt turn on) it regularly hangs.
Like a state between on and off.
In the logs i get messages that the driver could not be loaded or something. Even WifiFixer, rom flash, wipe etc. did not work.
Here some dmesg output, im not experienced enough to understand whats happening:
Code:
[ 3509.600821] wl_android_wifi_on in
[ 3509.600827] wifi_platform_set_power = 1
[ 3509.894785] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
[ 3509.897792] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 3510.029325] somc_get_ppr_5g_subband_type: key not found: ppr_flags
[ 3510.029329] somc_txpower_calibrate: 5G subband type of ppr: 0
[ 3510.029886] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_2_4g),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
50:50:50:0:0:0:0
[ 3510.030155] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_low),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3510.030478] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_mid),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3510.030741] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_high),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3510.030814] somc_read_file: file open error: /data/etc/wlan_rssi_cal_2_4g
[ 3510.030827] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w52
[ 3510.030841] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w53
[ 3510.030855] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w56
[ 3510.030867] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w58
[ 3510.031737] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 3510.279805] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 3515.281199] dhd_bus_rxctl: resumed on timeout, INT status=0x208000C0
[ 3515.283147] dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0
[ 3515.283182] dhd_check_hang: Event HANG send up due to re=1 te=0 e=-110 s=2
[ 3515.283293] dhd_open : wl_android_wifi_on failed (-14)
[ 3515.283333] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3515.283367] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3515.283370] 'cfg bss -C 0' failed: -1
[ 3515.283396] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3515.283399] NOTE: this ioctl error is normal when the BSS has not been created yet.
[ 3515.283425] wl_android_wifi_off in
[ 3515.283443] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3515.283903] wifi_platform_set_power = 0
[ 3515.284067] CFG80211-ERROR) wl_cfg80211_hang :
[ 3515.284071] In : chip crash eventing
[ 3515.309155] type=1400 audit(1478516861.532:666): avc: denied { read write } for pid=639 comm="ssrapp" name="main" dev="tmpfs" ino=8889 scontext=u:r:ssrapp:s0 tcontext=u:object_r:log_device:s0 tclass=chr_file permissive=1 ppid=1 pcomm="init" tgid=1 tgcomm="init"
[ 3515.374898] type=1400 audit(1478516861.532:667): avc: denied { open } for pid=639 comm="ssrapp" name="main" dev="tmpfs" ino=8889 scontext=u:r:ssrapp:s0 tcontext=u:object_r:log_device:s0 tclass=chr_file permissive=1 ppid=1 pcomm="init" tgid=1 tgcomm="init"
[ 3519.325632] hdmi_tx_hpd_on: HDMI HW version = 0x30000001
[ 3519.413534] leds rgb: rgbcommon_sync_state_store turn off force. state changed
[ 3519.589864] mdss_dsi_panel_disp_on: ctrl=f2f15810 ndx=0
[ 3519.605685] clearpad clearpad: clearpad_set_power: state=running
[ 3519.607350] clearpad clearpad: clearpad_vreg_suspend: vdd: set mode (HPM) ok, new mode=2
[ 3519.630049] clearpad clearpad: normal mode OK
[ 3525.298903]
Dongle Host Driver, version 1.141.67.19 (r)
Compiled in ../vendor/broadcom/wlan on Jul 24 2016 at 19:14:43
[ 3525.298911] wl_android_wifi_on in
[ 3525.298921] wifi_platform_set_power = 1
[ 3525.598977] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
[ 3525.608599] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 3525.803955] somc_get_ppr_5g_subband_type: key not found: ppr_flags
[ 3525.803959] somc_txpower_calibrate: 5G subband type of ppr: 0
[ 3525.804004] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_2_4g),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
50:50:50:0:0:0:0
[ 3525.804024] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_low),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3525.804041] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_mid),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3525.804059] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_high),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3525.804123] somc_read_file: file open error: /data/etc/wlan_rssi_cal_2_4g
[ 3525.804130] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w52
[ 3525.804136] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w53
[ 3525.804143] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w56
[ 3525.804150] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w58
[ 3525.804998] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 3526.059324] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 3531.059081] dhd_bus_rxctl: resumed on timeout, INT status=0x208000C0
[ 3531.060804] dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0
[ 3531.060815] dhd_check_hang: Event HANG send up due to re=1 te=0 e=-110 s=2
[ 3531.060836] dhd_open : wl_android_wifi_on failed (-14)
[ 3531.060849] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3531.060861] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3531.060861] 'cfg bss -C 0' failed: -1
[ 3531.060869] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3531.060870] NOTE: this ioctl error is normal when the BSS has not been created yet.
[ 3531.060879] wl_android_wifi_off in
[ 3531.060885] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3531.061101] wifi_platform_set_power = 0
[ 3531.062083] CFG80211-ERROR) wl_cfg80211_hang :
[ 3531.062084] In : chip crash eventing
[ 3548.255504] healthd: battery l=100 v=4349 t=29.8 h=2 st=2 c=-45 chg=u 2016-11-07 11:08:14.489291558 UTC
[ 3548.313802] healthd: battery l=100 v=4319 t=29.9 h=2 st=2 c=-45 chg=u 2016-11-07 11:08:14.547646766 UTC
[ 3566.002725] clearpad clearpad: clearpad_set_power: state=running
[ 3566.014790] clearpad clearpad: clearpad_vreg_suspend: vdd: set mode (LPM) ok, new mode=4
[ 3566.014794] clearpad clearpad: suspend mode OK
[ 3568.063807] mdss_dsi_panel_off: ctrl=f2f15810 ndx=0
[ 3571.140434] leds rgb: rgbcommon_sync_state_store turn off force. state changed
[ 3571.816053] hdmi_tx_hpd_on: HDMI HW version = 0x30000001
[ 3571.891959] leds rgb: rgbcommon_sync_state_store turn off force. state changed
[ 3572.077925] mdss_dsi_panel_disp_on: ctrl=f2f15810 ndx=0
[ 3572.102385] clearpad clearpad: clearpad_set_power: state=running
[ 3572.102782] clearpad clearpad: clearpad_vreg_suspend: vdd: set mode (HPM) ok, new mode=2
[ 3572.126399] clearpad clearpad: normal mode OK
[ 3579.042349]
Dongle Host Driver, version 1.141.67.19 (r)
Compiled in ../vendor/broadcom/wlan on Jul 24 2016 at 19:14:43
[ 3579.042359] wl_android_wifi_on in
[ 3579.042366] wifi_platform_set_power = 1
[ 3579.322887] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
[ 3579.324631] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 3579.457393] somc_get_ppr_5g_subband_type: key not found: ppr_flags
[ 3579.457398] somc_txpower_calibrate: 5G subband type of ppr: 0
[ 3579.457494] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_2_4g),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
50:50:50:0:0:0:0
[ 3579.457520] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_low),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3579.457546] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_mid),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3579.457568] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_high),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3579.457634] somc_read_file: file open error: /data/etc/wlan_rssi_cal_2_4g
[ 3579.457643] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w52
[ 3579.457654] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w53
[ 3579.457664] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w56
[ 3579.457674] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w58
[ 3579.458751] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 3579.707175] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 3584.712072] dhd_bus_rxctl: resumed on timeout, INT status=0x208000C0
[ 3584.714130] dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0
[ 3584.714166] dhd_check_hang: Event HANG send up due to re=1 te=0 e=-110 s=2
[ 3584.714283] dhd_open : wl_android_wifi_on failed (-14)
[ 3584.714320] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3584.714356] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3584.714359] 'cfg bss -C 0' failed: -1
[ 3584.714386] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3584.714389] NOTE: this ioctl error is normal when the BSS has not been created yet.
[ 3584.714415] wl_android_wifi_off in
[ 3584.714433] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3584.714919] wifi_platform_set_power = 0
[ 3584.715050] CFG80211-ERROR) wl_cfg80211_hang :
[ 3584.715053] In : chip crash eventing
[ 3612.261268] healthd: battery l=100 v=4320 t=30.4 h=2 st=2 c=-186 chg=u 2016-11-07 11:09:18.495062210 UTC
[ 3612.300992] healthd: battery l=100 v=4319 t=30.4 h=2 st=2 c=-186 chg=u 2016-11-07 11:09:18.534819294 UTC
[ 3615.394375] healthd: battery l=100 v=4352 t=30.3 h=2 st=2 c=240 chg=u 2016-11-07 11:09:21.628108198 UTC
[ 3615.433355] healthd: battery l=100 v=4336 t=30.4 h=2 st=2 c=240 chg=u 2016-11-07 11:09:21.667164760 UTC
[ 3623.695880] type=1400 audit(1478516969.912:668): avc: denied { call } for pid=25061 comm="main" scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1 ppid=25056 pcomm="tmp-mksh" tgid=25056 tgcomm="tmp-mksh"
[ 3623.696061] type=1400 audit(1478516969.912:669): avc: denied { transfer } for pid=25061 comm="main" scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1 ppid=25056 pcomm="tmp-mksh" tgid=25056 tgcomm="tmp-mksh"
[ 3623.744815] type=1400 audit(1478516969.962:670): avc: denied { call } for pid=4183 comm="Binder_3" scontext=u:r:system_server:s0 tcontext=u:r:zygote:s0 tclass=binder permissive=1 ppid=683 pcomm="main" tgid=3507 tgcomm="system_server"
[ 3623.748781] init: Untracked pid 25055 exited with status 107
[ 3623.998035] init: Untracked pid 25061 exited with status 0
[ 3624.514861] type=1400 audit(1478516970.732:671): avc: denied { call } for pid=25100 comm="main" scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1 ppid=25091 pcomm="tmp-mksh" tgid=25091 tgcomm="tmp-mksh"
[ 3624.514981] type=1400 audit(1478516970.732:672): avc: denied { transfer } for pid=25100 comm="main" scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1 ppid=25091 pcomm="tmp-mksh" tgid=25091 tgcomm="tmp-mksh"
[ 3624.526662] audit: audit_lost=531 audit_rate_limit=5 audit_backlog_limit=64
[ 3624.531277] audit: rate limit exceeded
[ 3624.535698] init: Untracked pid 25090 exited with status 71
[ 3624.758636] init: Untracked pid 25100 exited with status 0
[ 3624.963034] init: Untracked pid 25114 exited with status 37
[ 3625.207978] init: Untracked pid 25120 exited with status 0
[ 3625.321246] init: Untracked pid 25142 exited with status 26
[ 3625.559425] init: Untracked pid 25152 exited with status 0
[ 3668.267954] healthd: battery l=100 v=4328 t=30.7 h=2 st=2 c=161 chg=u 2016-11-07 11:10:14.501755315 UTC
[ 3668.306486] healthd: battery l=100 v=4333 t=30.7 h=2 st=2 c=161 chg=u 2016-11-07 11:10:14.540327346 UTC
[ 3670.167031]
Dongle Host Driver, version 1.141.67.19 (r)
Compiled in ../vendor/broadcom/wlan on Jul 24 2016 at 19:14:43
[ 3670.167038] wl_android_wifi_on in
[ 3670.167045] wifi_platform_set_power = 1
[ 3670.450265] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
[ 3670.451866] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 3670.585497] somc_get_ppr_5g_subband_type: key not found: ppr_flags
[ 3670.585501] somc_txpower_calibrate: 5G subband type of ppr: 0
[ 3670.585586] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_2_4g),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
50:50:50:0:0:0:0
[ 3670.585608] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_low),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3670.585627] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_mid),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3670.585645] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_high),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3670.585709] somc_read_file: file open error: /data/etc/wlan_rssi_cal_2_4g
[ 3670.585716] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w52
[ 3670.585723] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w53
[ 3670.585730] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w56
[ 3670.585737] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w58
[ 3670.586716] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 3670.834848] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 3675.831112] dhd_bus_rxctl: resumed on timeout, INT status=0x208000C0
[ 3675.836883] dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0
[ 3675.836895] dhd_check_hang: Event HANG send up due to re=1 te=0 e=-110 s=2
[ 3675.836933] dhd_open : wl_android_wifi_on failed (-14)
[ 3675.836947] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3675.836957] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3675.836958] 'cfg bss -C 0' failed: -1
[ 3675.836966] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3675.836967] NOTE: this ioctl error is normal when the BSS has not been created yet.
[ 3675.837072] wl_android_wifi_off in
[ 3675.837079] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3675.839911] wifi_platform_set_power = 0
[ 3675.840534] CFG80211-ERROR) wl_cfg80211_hang :
[ 3675.840535] In : chip crash eventing
[ 3675.842838] type=1400 audit(1478517022.062:674): avc: denied { read write } for pid=639 comm="ssrapp" name="main" dev="tmpfs" ino=8889 scontext=u:r:ssrapp:s0 tcontext=u:object_r:log_device:s0 tclass=chr_file permissive=1 ppid=1 pcomm="init" tgid=1 tgcomm="init"
[ 3675.876740] type=1400 audit(1478517022.062:675): avc: denied { open } for pid=639 comm="ssrapp" name="main" dev="tmpfs" ino=8889 scontext=u:r:ssrapp:s0 tcontext=u:object_r:log_device:s0 tclass=chr_file permissive=1 ppid=1 pcomm="init" tgid=1 tgcomm="init"
[ 3685.853636]
Dongle Host Driver, version 1.141.67.19 (r)
Compiled in ../vendor/broadcom/wlan on Jul 24 2016 at 19:14:43
[ 3685.853658] wl_android_wifi_on in
[ 3685.853682] wifi_platform_set_power = 1
[ 3686.136684] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
[ 3686.138479] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 3686.268332] somc_get_ppr_5g_subband_type: key not found: ppr_flags
[ 3686.268336] somc_txpower_calibrate: 5G subband type of ppr: 0
[ 3686.268382] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_2_4g),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
50:50:50:0:0:0:0
[ 3686.268403] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_low),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3686.268423] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_mid),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3686.268442] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_high),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3686.268508] somc_read_file: file open error: /data/etc/wlan_rssi_cal_2_4g
[ 3686.268515] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w52
[ 3686.268523] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w53
[ 3686.268530] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w56
[ 3686.268537] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w58
[ 3686.269566] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 3686.518031] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 3691.520403] dhd_bus_rxctl: resumed on timeout, INT status=0x208000C0
[ 3691.522522] dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0
[ 3691.522560] dhd_check_hang: Event HANG send up due to re=1 te=0 e=-110 s=2
[ 3691.522681] dhd_open : wl_android_wifi_on failed (-14)
[ 3691.522723] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3691.522760] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3691.522762] 'cfg bss -C 0' failed: -1
[ 3691.522790] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3691.522794] NOTE: this ioctl error is normal when the BSS has not been created yet.
[ 3691.522823] wl_android_wifi_off in
[ 3691.522843] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3691.523358] wifi_platform_set_power = 0
[ 3691.523499] CFG80211-ERROR) wl_cfg80211_hang :
[ 3691.523503] In : chip crash eventing
[ 3701.540289]
Dongle Host Driver, version 1.141.67.19 (r)
Compiled in ../vendor/broadcom/wlan on Jul 24 2016 at 19:14:43
[ 3701.540308] wl_android_wifi_on in
[ 3701.540330] wifi_platform_set_power = 1
[ 3701.823836] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
[ 3701.825773] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 3701.968428] somc_get_ppr_5g_subband_type: key not found: ppr_flags
[ 3701.968433] somc_txpower_calibrate: 5G subband type of ppr: 0
[ 3701.968467] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_2_4g),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
50:50:50:0:0:0:0
[ 3701.968495] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_low),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3701.968521] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_mid),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3701.968546] somc_read_ta: tx power in miscTA(/data/etc/wlan_txpower_5g_high),
11b:11a:11n(20MHz):11n(40MHz):11ac(20MHz):11ac(40MHz):11ac(80MHz)=,
0:0:0:0:0:0:50
[ 3701.968613] somc_read_file: file open error: /data/etc/wlan_rssi_cal_2_4g
[ 3701.968623] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w52
[ 3701.968633] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w53
[ 3701.968644] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w56
[ 3701.968655] somc_read_file: file open error: /data/etc/wlan_rssi_cal_5g_w58
[ 3701.969807] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 3702.218451] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 3707.220342] dhd_bus_rxctl: resumed on timeout, INT status=0x208000C0
[ 3707.222447] dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0
[ 3707.222485] dhd_check_hang: Event HANG send up due to re=1 te=0 e=-110 s=2
[ 3707.222607] dhd_open : wl_android_wifi_on failed (-14)
[ 3707.222648] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3707.222685] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3707.222689] 'cfg bss -C 0' failed: -1
[ 3707.222717] CFGP2P-ERROR) wl_cfgp2p_bss_isup :
[ 3707.222720] NOTE: this ioctl error is normal when the BSS has not been created yet.
[ 3707.222749] wl_android_wifi_off in
[ 3707.222768] dhd_prot_ioctl : bus is down. we have nothing to do
[ 3707.223278] wifi_platform_set_power = 0
[ 3707.223418] CFG80211-ERROR) wl_cfg80211_hang :
[ 3707.223422] In : chip crash eventing
Anyone can tell me what it might be?
Sydnelson said:
Now bluetooth is gone...
Click to expand...
Click to collapse
Your device has hardware problem. It may be that it has received some water in the past. In that case, there is no warranty. But it also can be that the WiFi-Bluetooth chip was just bad. In that case the warranty would replace the board. In Europe Sony warranty is 2 years, so in Europe you would just go to the service if you are sure that there was no water accident in the past (rain, heavy moisture - eg hot summer day and phone in the hands/pocket, etc). Yes, I know, this little bugger should be water proof. But it isn't and it is difficult to prove your innocence sometimes.
I would start looking for new phone instead of repairing the old one, if the repairs would cost money.
---------- Post added at 02:47 PM ---------- Previous post was at 02:44 PM ----------
Apo14 said:
Hey there,
got a similar problem:
my wifi wouldn start properly even after reboot (sometimes it does, but if the device sleeps a little longer, wifi disconnects and wouldnt turn on) it regularly hangs.
Like a state between on and off.
Anyone can tell me what it might be?
Click to expand...
Click to collapse
Your phone is cooked, that's what it is. Water, bending, whatever has damaged the WiFI-Bluetooth chip or its connection to PCB or the antennas. Or it was just a bad chip from the beginning.
The solution: go to work, buy new phone, forget the pain with the old one. Buy Sony if you are a masochist - or buy Motorola or iPhone, if you need a reliable phone.
Ok so if your car brakes down you just buy a new one right?
Thanks for your useless answer.
Atm the wifi is working just fine since reboot so your "cooked" theory is bs. Just waiting till it drops again...
Any people here with a more reasonable approach?
Gesendet von meinem D5803 mit Tapatalk
Related
Hello All,
I would like to run Android on my HTC S730.
Tried to run the Kaiser optimised kernel as the hardware is somewhat similar.
I am using haret.exe and the kernel does start running, however there is nothing shown on the screen and the process gets stuck always at the same point.
The only proof of it running is that there is a dmesg file created on the SD.
I will put the contents of the file and the default.txt in a separate post.
Any idea what to change, I am hoping that by playing with the kernel parameters it would be possible to get further ahead.
Thanks and all the best,
dmesg on HTC S730
[ 0.000000] Linux version 2.6.25-01025-g3c90f25 ([email protected]) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #4505 PREEMPT Fri Mar 26 13:36:25 NZDT 2010
[ 0.000000] CPU: ARMv6-compatible processor [4107b364] revision 4 (ARMv6TEJ), cr=00c5387f
[ 0.000000] Machine: HTC Kaiser
[ 0.000000] Ignoring unrecognised tag 0x00000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 24576
[ 0.000000] DMA zone: 208 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 24368 pages, LIFO batch:3
[ 0.000000] Normal zone: 0 pages used for memmap
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] CPU0: D VIPT write-back cache
[ 0.000000] CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
[ 0.000000] CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24368
[ 0.000000] Kernel command line: ppp.nostart=0 pm.sleep_mode=1 mddi.width=240 mddi.height=320 no_console_suspend board-kaiser-keypad.atttilt=0
[ 0.000000] Unknown boot option `ppp.nostart=0': ignoring
[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[ 0.000000] Console: colour dummy device 80x30
[ 0.000040] console [tty0] enabled
[ 0.000941] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.001693] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.013030] Memory: 56MB 40MB = 96MB total
[ 0.013130] Memory: 91964KB available (2772K code, 1263K data, 120K init)
[ 0.014561] Calibrating delay loop... 383.38 BogoMIPS (lpj=1916928)
[ 0.230795] Mount-cache hash table entries: 512
[ 0.232220] CPU: Testing write buffer coherency: ok
[ 0.235221] net_namespace: 440 bytes
[ 0.237593] NET: Registered protocol family 16
[ 0.239481] set gpio 21 wakeup 40000000
[ 0.249781] msm_i2c_probe
[ 0.249945] msm_i2c_probe: clk_ctl 35d, 100000 Hz
[ 0.280248] Bluetooth: Core ver 2.11
[ 0.281433] NET: Registered protocol family 31
[ 0.281560] Bluetooth: HCI device and connection manager initialized
[ 0.281651] Bluetooth: HCI socket layer initialized
[ 0.284658] NET: Registered protocol family 2
[ 0.290096] Switched to high resolution mode on CPU 0
[ 0.370686] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.372900] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.373320] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.373571] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.373651] TCP reno registered
[ 0.401651] Unpacking initramfs... done
[ 0.944525] Freeing initrd memory: 1193K
[ 0.945080] kaiser i2c touch screen
[ 0.945691] input: kaiser-ts as /devices/virtual/input/input0
[ 0.945821] No IRQF_TRIGGER set_type function for IRQ 190 (kaisergpio)
[ 0.946703] msm7200: Copying audio table 0 to fd000
[ 0.946838] msm7200: Copying audio table 1 to fd080
[ 0.946908] msm7200: Copying audio table 2 to fd100
[ 0.946975] msm7200: Copying audio table 3 to fd180
[ 0.947040] msm7200: Copying audio table 4 to fd200
[ 0.947103] msm7200: Copying audio table 5 to fd280
[ 0.947166] msm7200: Copying audio table 6 to fd300
[ 0.947231] msm7200: Copying audio table 7 to fd380
[ 0.947295] msm7200: Copying audio table 8 to fd400
[ 0.947360] msm7200: Copying audio table 9 to fd480
[ 0.947423] msm7200: Copying audio table 10 to fd500
[ 0.947488] msm7200: Copying audio table 11 to fd580
[ 0.947553] msm7200: Copying audio table 12 to fd600
[ 0.947618] msm7200: Copying audio table 13 to fd680
[ 0.947683] msm7200: Copying audio table 14 to fd700
[ 0.947748] msm7200: Copying audio table 15 to fd780
[ 0.947813] msm7200: Copying audio table 16 to fd800
[ 0.947878] msm7200: Copying audio table 17 to fd880
[ 0.947943] msm7200: Copying audio table 18 to fd900
[ 0.948008] msm7200: Copying audio table 19 to fd980
[ 0.948073] msm7200: Copying audio table 20 to fda00
[ 0.948138] msm7200: Copying audio table 21 to fda80
[ 0.948203] msm7200: Copying audio table 22 to fdb00
[ 0.948268] msm7200: Copying audio table 23 to fdb80
[ 0.949003] Registered led device: lcd-backlight
[ 0.949365] Registered led device: button-backlight
[ 0.949645] Registered led device: keyboard-backlight
[ 0.949893] Registered led device: green
[ 0.950305] Registered led device: red
[ 0.950586] Registered led device: amber
[ 0.950865] Registered led device: blue
[ 0.951123] Registered led device: wifi
[ 0.951373] Registered led device: gps
[ 0.956066] titan ts_init
[ 0.956570] Modem Status:
[ 0.956731] <SM 00000929 00010929>
[ 1.002071] input: kaiser_kbd as /devices/virtual/input/input1
[ 1.002481] DS-2746 Probe
[ 1.002815] Initialise htc_rfkill for Bluetooth
[ 1.002911] Bluetooth 0
[ 1.021578] clk_get grp_clk
[ 1.021721] clk_get imem_clk
[ 1.021836] hw3d: 0 init
[ 1.022263] PMEM:hw3d a0000000 100000 at c7000000
[ 1.022533] clk_get acpu_clk
[ 1.025585] ashmem: initialized
[ 1.027053] squashfs: version 3.4 (2008/08/26) Phillip Lougher
[ 1.027365] yaffs Mar 4 2010 10:36:01 Installing.
[ 1.028015] io scheduler noop registered (default)
[ 1.028100] io scheduler deadline registered
[ 1.029040] logger: created 64K log 'log_main'
[ 1.029360] logger: created 256K log 'log_events'
[ 1.029671] logger: created 64K log 'log_radio'
[ 1.029850] ram_console: got buffer at e0000, size 20000
[ 1.030160] ram_console: no valid data in buffer (sig = 0xffffffff)
[ 1.030340] console [ram-1] enabled
[ 1.035103] pmem: 1 init
[ 1.035678] PMEMmem 16800000 800000 at c8000000
[ 1.036055] pmem_adsp: 0 init
[ 1.036710] PMEMmem_adsp 17000000 800000 at c9000000
[ 1.037163] pmem_gpu0: 0 init
[ 1.038060] PMEMmem_gpu0 100000 700000 at c7800000
[ 1.038440] pmem_gpu1: 0 init
[ 1.039093] PMEMmem_gpu1 17800000 800000 at ca000000
[ 1.039496] pmem_camera: 1 init
[ 1.040400] PMEMmem_camera 17800000 800000 at cb000000
[ 1.041256] clk_get mdp_clk
[ 1.041916] mddi_pmdh: init() base=0xe000b000 irq=16
[ 1.042035] clk_get pmdh_clk
[ 1.042400] mddi_pmdh: unsupported version 0x19
[ 1.042628] mddi cmd send rtd: int 23a000, stat 808063, rtd val d
[ 1.042941] mddi_pmdh: publish: mddi_c_0000_0000
[ 1.043973] vsync on gpio 97 now 0
[ 1.044100] mddi_pmdh: mddi_add_panel(c040ccf0, c0312628)
[ 1.044176] mddi_pmdh: publish: mddi_panel
[ 1.044580] msmfb_probe() installing 240 x 320 panel
[ 1.050000] fus
[ 1.050000] fake_vsync_int for update
[ 1.050000] mddi0_panel_power(1) type=0
[ 1.050788] Console: switching to colour frame buffer device 40x29
[ 1.100915] set gpio 20 wakeup 40000000
[ 1.105701] No IRQF_TRIGGER set_type function for IRQ 186 (kaisergpio)
[ 1.110223] No IRQF_TRIGGER set_type function for IRQ 187 (kaisergpio)
[ 1.115476] No IRQF_TRIGGER set_type function for IRQ 188 (kaisergpio)
[ 1.121208] clk_get uart1dm_clk
[ 1.123966] clk_set_rate 34:1843200
[ 1.126686] msm_serial_hs.0: ttyMSM0 at MMIO 0xa0200000 (irq = 45) is a MSM HS UART
[ 1.133160] loop: module loaded
[ 1.140258] PPP generic driver version 2.4.2
[ 1.146556] PPP Deflate Compression module registered
[ 1.150061] PPP BSD Compression module registered
[ 1.162623] allocated dma buffer at ffc7b000, dma_addr 15cc1000
[ 1.168583] read CFG0 = aad400c0, CFG1 = 4747c
[ 1.170165] CFG0 = a8d408c0, CFG1 = 4745c
[ 1.180156] CFG0: cw/page=3 ud_sz=516 ecc_sz=10 spare_sz=1 num_addr_cycles=5
[ 1.185925] NAND_READ_ID = 15c1aaec
[ 1.188931] status: e03020
[ 1.190050] nandid: 15c1aaec maker ec device aa
[ 1.195780] CFG0: cw/page=3 ud_sz=512 ecc_sz=10 spare_sz=5
[ 1.200223] DEV_CMD1: f00f3000
[ 1.203695] <6>NAND_EBI2_ECC_BUF_CFG: 0
[ 1.210138] flash_id: 15c1aaec size 5580ba2c10000000
[ 1.220481] usb_probe() io=c7106000, irq=15, dma=ffc7c000(15cc6000)
[ 1.226401] clk_get usb_hs_clk
[ 1.229231] clk_get usb_hs_pclk
[ 1.230726] usb_function_register() 'adb'
[ 1.236900] usb_function_register() 'usb_mass_storage'
[ 1.240070] msm_hsusb: functions bound. starting.
[ 1.250306] usb_mass_storage usb_mass_storage: Number of LUNs=1
[ 1.256563] hsusb: IDLE -> ONLINE
[ 1.259478] hsusb: reset controller c5cc5c00
[ 1.285320] usb: notify offline
[ 1.288195] hsusb: ONLINE -> OFFLINE
[ 1.290870] usb_ether_setup()
[ 1.295711] usb_function_register() 'ether'
[ 1.360338] GPIO Event Driver
[ 1.363418] MSM RTC init
[ 1.366105] RTC probe
[ 1.369483] msm_rtc msm_rtc.0: rtc core: registered msm_rtc as rtc0
[ 1.370275] MSM RTC started
[ 1.373880] s5k3c1fx: probe
[ 1.380523] Bluetooth: HCI UART driver ver 2.2
[ 1.385413] Bluetooth: HCI H4 protocol initialized
[ 1.390095] Bluetooth: HCILL protocol initialized
[ 1.395555] clk_get sdc1_pclk
[ 1.398186] clk_get_rate 20:66000000
[ 1.400210] clk_get sdc1_clk
[ 1.403218] clk_set_rate 19:144000
[ 1.407681] set sd clock - 0 1
[ 1.513335] clk_get_rate 19:144000
[ 1.516431] mmc0: Qualcomm MSM SDCC at 0x00000000e1000000 irq 24,0 dma 8
[ 1.520215] mmc0: 4 bit data mode enabled
[ 1.525160] mmc0: MMC clock 144000 -> 32000000 Hz, PCLK 66000000 Hz
[ 1.530045] mmc0: Slot eject status = 1
[ 1.535388] mmc0: Power save feature enable = 1
[ 1.540081] mmc0: DM non-cached buffer at ffc7e000, dma_addr 0x15cdd000
[ 1.545468] mmc0: DM cmd busaddr 0x15cdd000, cmdptr busaddr 0x15cdd300
[ 1.550468] clk_get sdc2_pclk
[ 1.553311] clk_get_rate 22:66000000
[ 1.556043] clk_get sdc2_clk
[ 1.560068] clk_set_rate 21:144000
[ 1.564816] set sd clock - 0 1
[ 1.670560] clk_get_rate 21:144000
[ 1.674050] mmc1: Qualcomm MSM SDCC at 0x00000000e1001000 irq 26,0 dma 8
[ 1.679563] mmc1: 4 bit data mode enabled
[ 1.680385] mmc1: MMC clock 144000 -> 32000000 Hz, PCLK 66000000 Hz
[ 1.690193] mmc1: Slot eject status = 0
[ 1.695496] mmc1: Power save feature enable = 1
[ 1.700093] mmc1: DM non-cached buffer at ffc7f000, dma_addr 0x15ce0000
[ 1.705535] mmc1: DM cmd busaddr 0x15ce0000, cmdptr busaddr 0x15ce0300
[ 1.710370] mmc1: Polling status mode enabled
[ 1.720261] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 1.732728] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.739298] ClusterIP Version 0.8 loaded successfully
[ 1.740293] arp_tables: (C) 2002 David S. Miller
[ 1.750320] TCP cubic registered
[ 1.753566] NET: Registered protocol family 1
[ 1.760316] NET: Registered protocol family 17
[ 1.766313] Bluetooth: L2CAP ver 2.9
[ 1.770183] Bluetooth: L2CAP socket layer initialized
[ 1.776468] Bluetooth: SCO (Voice Link) ver 0.6
[ 1.780045] Bluetooth: SCO socket layer initialized
[ 1.786118] Bluetooth: RFCOMM socket layer initialized
[ 1.790150] Bluetooth: RFCOMM TTY layer initialized
[ 1.800348] Bluetooth: RFCOMM ver 1.9
[ 1.803741] Bluetooth: BNEP (Ethernet Emulation) ver 1.2
[ 1.809265] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.811738] msm_rtc msm_rtc.0: setting system clock to 2007-11-13 21:10:55 UTC (1194988255)
[ 1.820211] Freeing init memory: 120K
[ 2.119216] mmc1: Command timeout
[ 2.120000] mmc1: Command timeout
[ 2.120000] mmc1: Command timeout
[ 2.120000] mmc1: Command timeout
[ 2.120000] SD Init
[ 2.148356] mmc_sd_init_card: Delay 250 ms
[ 2.409845] clk_set_rate 21:25000000
[ 2.412045] set sd clock - 0 1
[ 2.517448] mmc1: host does not support reading read-only switch. assuming write-enable.
[ 2.520031] SD Init Retry
[ 2.522411] mmc1: new SD card at address b7b8
[ 2.531265] mmcblk0: mmc1:b7b8 SU02G 1985024KiB
[ 2.536631] mmcblk0: p1
default.txt kernel parameters HTC S730 Android
#alloctest 0x2000
set RAMSIZE 0x04000000
set RAMADDR 0x10000000
set FBDURINGBOOT 0
set MTYPE 1553
set KERNEL zImage-26-03-10
set initrd initrd.gz
#
# The following kernel parameters are useful
# ppp.nostart - Set ppp.nostart=1 to disable starting the ppp connection on boot
# msm_sdcc.msmsdcc_fmax - The maximum frequency (in Hz) used by the SD controller
# pm.sleep_mode - The mode used when the phone is off
# 0=Power Collapse Suspend, 1=Power Collapse, 2=Apps Sleep,
# 3=Slow Clock and Wait for Interrupt 4=Wait for Interrupt
# Default is 1, use 1 for best power savings
# board-htckaiser.panel_type - Panel type used to power the panel off and on
# 0=Don't power off the panel (Default)
# 1=Sony 2=Topoly 3=Topoly (probably just the same as 2)
# lcd.density - Defaults to 160, 128 shows more on screen
#
set cmdline "ppp.nostart=0 pm.sleep_mode=1 mddi.width=240 mddi.height=320 no_console_suspend board-kaiser-keypad.atttilt=0"
boot
Hello.
You really think it's possible to run Android on the Wings?
Good luck then!
Happily waiting your progress on this!
correct me if i'm wrong be doesn't android need touchscreen ?
Not the original android. Like the one from google's test device
Using trusty branch of ubuntutouch with teamhydra kernel from https://github.com/Team-Hydra/android_kernel_htc_msm8660
No problems during compiling but whilst booting i get direct panic after mounting /data
Code:
[ 2.373443] Warning: unable to open an initial console.
[ 2.373657] Freeing init memory: 208K
[ 2.553283] systemd-udevd[132]: starting version 204
[ 4.405456] [USBH] ac_detect_expired: count = 0, connect_type = -1
[ 4.709136] initrd: mounting /dev/mmcblk0p23
[ 4.723815] EXT4-fs (mmcblk0p23): couldn't mount as ext3 due to feature incompatibilities
[ 4.758453] EXT4-fs (mmcblk0p23): couldn't mount as ext2 due to feature incompatibilities
[ 4.823120] EXT4-fs (mmcblk0p23): recovery complete
[ 4.823852] EXT4-fs (mmcblk0p23): mounted filesystem with ordered data mode. Opts: discard
[ 5.081878] [K] Kernel panic - not syncing: Attempted to kill init!
[ 5.082061] [<c010bf14>] (unwind_backtrace+0x0/0xf8) from [<c076cd2c>] (panic+0x74/0x1a4)
[ 5.082244] [<c076cd2c>] (panic+0x74/0x1a4) from [<c018e26c>] (do_exit+0x804/0x8a4)
[ 5.082336] [<c018e26c>] (do_exit+0x804/0x8a4) from [<c018e374>] (do_group_exit+0x3c/0xb0)
[ 5.082489] [<c018e374>] (do_group_exit+0x3c/0xb0) from [<c018e3f8>] (__wake_up_parent+0x0/0x18)
[ 5.082672] CPU1: stopping
[ 5.083099] [<c010bf14>] (unwind_backtrace+0x0/0xf8) from [<c010ae60>] (handle_IPI+0x128/0x154)
[ 5.083801] [<c010ae60>] (handle_IPI+0x128/0x154) from [<c01063cc>] (__irq_svc+0x4c/0xe4)
[ 5.084472] [<c01063cc>] (__irq_svc+0x4c/0xe4) from [<c0107500>] (cpu_idle+0x88/0xfc)
[ 5.084869] [<c0107500>] (cpu_idle+0x88/0xfc) from [<48768c14>] (0x48768c14)
[ 5.185821] subsystem-fatal-8x60: Q6 NMI was sent.
[ 5.190948] [K] Rebooting in 5 seconds..
[ 9.415405] [USBH] ac_detect_expired: count = 1, connect_type = -1
[ 10.198364] [K] Going down for restart now
[ 10.198516] [K] arch_reset: mode 104
[ 10.198608] [K] arch_reset: no command restart.
[ 10.198699] [K] from arch_reset
[ 10.198852] [K] back arch_reset
[ 10.299224] subsystem-fatal-8x60: Q6 NMI was sent.
[ 10.299346] [K] arch_reset: wait for modem flushing caches.
[ 19.435424] [USBH] ac_detect_expired: count = 2, connect_type = -1
[ 19.445404] [USBH] ac_detect_expired: count = 3, connect_type = -1
[ 20.314056] [K] arch_reset: modem flushes cache timeout.
[ 20.314117]
[ 20.314270] [K] Restarting Linux version 3.0.101-UbuntuTouch-Sensation-g886cfa4 ([email protected]) (gcc version 4.7.4 20131207 (prerelease) (Linaro GCC 4.7-2013.12) ) #3 SMP PREEMPT Sat Jan 25 16:55:58 EST 2014
[ 20.314300]
[ 20.364593] [K] restart: Console was locked!
Kernel config:
https://gist.github.com/cwxda/8624363
Someone can help me on this?
Try to disable VT_CONSOLE. I had a similar issue and that fixed it.
Sent from my TF300T using Tapatalk
Tried different combinations with VT_CONSOLE and HW_CONSOLE stuff, all didn't help :c
CoreWolf said:
Tried different combinations with VT_CONSOLE and HW_CONSOLE stuff, all didn't help :c
Click to expand...
Click to collapse
You need to turn all those CONSOLE settings off, did you try that?
Do you have console= in the command line? Remove that too.
Seems Ubuntu Touch does not like a console; I have not yet investigated deeper. Possible reason is that tty0 is used to communicate with the Android container. Then it might help to define a different tty for the kernel console, but I have not tried. Disabling all CONSOLE configs "N" fixed it for me and I have more urgent issues.
Sent from my TF300T using Tapatalk
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
Hello,
I bricked my moto G6, only white LED has blinking everytime i push power button combination and plugged in. Samething goes when i release the battery connector and plugged in, but it blinks more faster than if battery attached. Can anyone help me? What should I do? Does blank flash will make my phone back to life?
72k said:
Hello,
I bricked my moto G6, only white LED has blinking everytime i push power button combination and plugged in. Samething goes when i release the battery connector and plugged in, but it blinks more faster than if battery attached. Can anyone help me? What should I do? Does blank flash will make my phone back to life?
Click to expand...
Click to collapse
i have same problem anyone knoiw what to do ive tried the xiomi qualcomm tricks and things and a blank flash for the e4 to no avail
ChefGeoff said:
i have same problem anyone knoiw what to do ive tried the xiomi qualcomm tricks and things and a blank flash for the e4 to no avail
Click to expand...
Click to collapse
Why any of developer or user are not responding in moto g6 questions. I am also having same problem and searching blank flash file for over a month. I find one in https://mirrors.lolinet.com/firmware/moto/ali/blankflash/ but it gave me error. Also i am searching mmcblk0.img so that i will give a shot to boot using sd card. If i find any of solution than i will provide you as well.
blankflash xt 1925-6
guys who don’t get nashol blankflash? Help please
I had a similar issue about a month ago. With the mirrors lollinet you are on the right track but you need to go to official builds page on lollinet and find the image that matches *your carrier* (or at least the carrier the phone is as intended to be used with). As far as I know, only the official builds for your specific carrier is going to sign and install on your device, any other build will not boot correctly.
---------- Post added at 05:00 AM ---------- Previous post was at 04:28 AM ----------
I had a similar issue about a month ago. You need to go to the official builds page at lolinet /firmware/moto/ali/official/ and find the image that matches *your carrier*
In my case, I have the xt-1925-6 I bought on the motorola site. I looked in each carrier folder on lollinet. I narrowed it down to the official builds in the folders labeled "AMZ, FI, RETUS" because they were the only ones with 1925-6 in their name. From there I downloaded all three and flashed them one by one until I had installed *the one* intended for my phone and then it booted fine. Can't remember if it was RETUS or FI that worked on my device. Either way, take a guess and flash each partition one at a time if the carrier you chose dosn't get signed and boot try another carrier image (Google "flash stock moto g6 xda" if your not sure how to flash the partitions.)
AlexUlrich99 said:
I had a similar issue about a month ago. With the mirrors lollinet you are on the right track but you need to go to official builds page on lollinet and find the image that matches *your carrier* (or at least the carrier the phone is as intended to be used with). As far as I know, only the official builds for your specific carrier is going to sign and install on your device, any other build will not boot correctly.
---------- Post added at 05:00 AM ---------- Previous post was at 04:28 AM ----------
I had a similar issue about a month ago. You need to go to the official builds page at lolinet /firmware/moto/ali/official/ and find the image that matches *your carrier*
In my case, I have the xt-1925-6 I bought on the motorola site. I looked in each carrier folder on lollinet. I narrowed it down to the official builds in the folders labeled "AMZ, FI, RETUS" because they were the only ones with 1925-6 in their name. From there I downloaded all three and flashed them one by one until I had installed *the one* intended for my phone and then it booted fine. Can't remember if it was RETUS or FI that worked on my device. Either way, take a guess and flash each partition one at a time if the carrier you chose dosn't get signed and boot try another carrier image (Google "flash stock moto g6 xda" if your not sure how to flash the partitions.)
Click to expand...
Click to collapse
How EXACTLY did you flashed your phone? Don't tell me "Google" I know how to flash partitions with fastboot, but as was mentioned, no fastboot is available, phone only blinking white, its not possible to get into bootloader to flash any partition. So how did you flashed it?
qdload mode
72k said:
Hello,
I bricked my moto G6, only white LED has blinking everytime i push power button combination and plugged in. Samething goes when i release the battery connector and plugged in, but it blinks more faster than if battery attached. Can anyone help me? What should I do? Does blank flash will make my phone back to life?
Click to expand...
Click to collapse
Are you able to get into qdload mode?
See: https://forum.xda-developers.com/moto-g6/help/hard-brick-caused-incorrect-flashing-t3901407
recovery
72k said:
Hello,
I bricked my moto G6, only white LED has blinking everytime i push power button combination and plugged in. Samething goes when i release the battery connector and plugged in, but it blinks more faster than if battery attached. Can anyone help me? What should I do? Does blank flash will make my phone back to life?
Click to expand...
Click to collapse
how did you achieve this result?
I have mmcblk0.img for this XT1925-6 and XT1925-2 device, I need one for my XT1925-3.
Ambrosio71 said:
how did you achieve this result?
I have mmcblk0.img for this XT1925-6 and XT1925-2 device, I need one for my XT1925-3.
Click to expand...
Click to collapse
I've already managed to solve it, thanks a lot to no one who helped me.
This blankflash worked for me: forums.lenovo.com/download/219011
Moto G6 ALI XT1925-3
viniciusantonioli said:
This blankflash worked for me: forums.lenovo.com/download/219011
Moto G6 ALI XT1925-3
Click to expand...
Click to collapse
It's the blankflash file from mirrors.lolinet.com
viniciusantonioli said:
This blankflash worked for me: forums.lenovo.com/download/219011
Moto G6 ALI XT1925-3
Click to expand...
Click to collapse
When I try towrite this file, I always get these errors
Without Battery
Code:
< waiting for device >
Motorola qboot utility version 3.40
[ 0.000] Opening device: \\.\COM330
[ 0.003] Detecting device
[ 0.006] ...cpu.id = 154 (0x9a)
[ 0.006] ...cpu.sn = 620430478 (0x24fb048e)
[ 0.006] Opening singleimage
[ 0.057] Loading package
[ 0.060] ...filename = singleimage.pkg.xml
[ 0.061] Loading programmer
[ 0.068] ...filename = programmer.mbn
[ 0.068] Sending programmer
[ 0.316] Handling things over to programmer
[ 0.317] Identifying CPU version
[ 0.319] Waiting for firehose to get ready
[ 3.396] ...MSM8953 1.1
[ 3.396] Determining target secure state
[ 3.398] ...secure = yes
[ 3.410] Configuring device...
[ 3.416] Flashing GPT...
[ 3.416] Flashing partition:0 with gpt_main0.bin
[ 3.417] Initializing storage
[ 3.436] ...blksz = 512
[ 3.577] ReadFile() failed, GetLastError()=0
[ 3.627] ReadFile() failed, GetLastError()=0
[ 3.677] ReadFile() failed, GetLastError()=0
[ 3.858] ReadFile() failed, GetLastError()=0
[ 7.897] ERROR: do_package()->do_recipe()->do_flash()->gpt_flash()->lun_write()->storage_write()->firehose_do_fmt()->do_recipe()->do_program()->fh_send()
ponse()->buffer_read()->device_read()->IO error
[ 7.897] Check qboot_log.txt for more details
[ 7.897] Total time: 7.898s
FAILED: qb_flash_singleimage()->do_package()->do_recipe()->do_flash()->gpt_flash()->lun_write()->storage_write()->firehose_do_fmt()->do_recipe()->do_progr
and()->read_response()->buffer_read()->device_read()->IO error
And with battery
Code:
B:\flash\Motorola\ANDROID\moto g6 xt1925-\blankflash_from_PDS29.118-15-11-14>.\qboot.exe blank-flash
< waiting for device >
Motorola qboot utility version 3.40
[ 0.000] Opening device: \\.\COM330
[ 0.003] Detecting device
[ 0.006] ...cpu.id = 154 (0x9a)
[ 0.006] ...cpu.sn = 620430478 (0x24fb048e)
[ 0.007] Opening singleimage
[ 0.007] Loading package
[ 0.010] ...filename = singleimage.pkg.xml
[ 0.011] Loading programmer
[ 0.012] ...filename = programmer.mbn
[ 0.012] Sending programmer
[ 0.440] Handling things over to programmer
[ 0.441] Identifying CPU version
[ 0.443] Waiting for firehose to get ready
[ 3.482] ...MSM8953 1.1
[ 3.482] Determining target secure state
[ 3.491] ...secure = yes
[ 3.504] Configuring device...
[ 3.509] Flashing GPT...
[ 3.509] Flashing partition:0 with gpt_main0.bin
[ 3.510] Initializing storage
[ 3.528] ...blksz = 512
[ 3.612] Target NAK!
[ 3.613] ...Write failed Sector 61071327, Errno 1
[ 3.613] ...Finished sector address 61071327
[ 3.613] ERROR: do_package()->do_recipe()->do_flash()->gpt_flash()->lun_write()->storage_write()->firehose_do_fmt()->do_recipe()->NAK
[ 3.613] Check qboot_log.txt for more details
[ 3.613] Total time: 3.614s
FAILED: qb_flash_singleimage()->do_package()->do_recipe()->do_flash()->gpt_flash()->lun_write()->storage_write()->firehose_do_fmt()->do_recipe()->NAK
any suggestion ?
yurais said:
any suggestion ?
Click to expand...
Click to collapse
1. Why do you need a blank flash? What happened?
2. Could you provide this log file?
Code:
[ 7.897] Check qboot_log.txt for more details
Brick
Qualcomm 9008 mode after wrong flash
Enviado desde mi SM-G975U1 mediante Tapatalk
WoKoschekk said:
1. Why do you need a blank flash? What happened?
2. Could you provide this log file?
Code:
[ 7.897] Check qboot_log.txt for more details
Click to expand...
Click to collapse
I didnt see request number 2.
Here you are
Code:
**** Log buffer [000001] 2020-10-07_15:47:05 ****
[ -0.000] Opening device: \\.\COM330
[ 0.005] Detecting device
[ 4.108] ERROR: sahara_greet_device()->change_mode()->do_hello()->IO error
[ 4.108] Check qboot_log.txt for more details
[ 4.108] Total time: 4.752s
[ 4.121]
[ 4.121] qboot version 3.40
[ 4.121]
[ 4.121] DEVICE {
[ 4.121] name = "\\.\COM330",
[ 4.121] flags = "0x64",
[ 4.121] addr = "0x28FE6C",
[ 4.121] api.bnr = "0x3F2FE8",
[ 4.121] }
[ 4.121]
[ 4.121]
[ 4.121] Backup & Restore {
[ 4.121] num_entries = 0,
[ 4.121] restoring = "false",
[ 4.121] backup_error = "not started",
[ 4.121] restore_error = "not started",
[ 4.121] }
[ 4.121]
**** Log buffer [000001] 2020-10-07_15:47:57 ****
[ 0.000] Opening device: \\.\COM330
[ 0.003] Detecting device
[ 0.006] ...cpu.id = 154 (0x9a)
[ 0.006] ...cpu.sn = 620430478 (0x24fb048e)
[ 0.006] Opening singleimage
[ 0.057] Loading package
[ 0.060] ...filename = singleimage.pkg.xml
[ 0.061] Loading programmer
[ 0.068] ...filename = programmer.mbn
[ 0.068] Sending programmer
[ 0.316] Handling things over to programmer
[ 0.317] Identifying CPU version
[ 0.319] Waiting for firehose to get ready
[ 3.396] ...MSM8953 1.1
[ 3.396] Determining target secure state
[ 3.398] ...secure = yes
[ 3.410] Configuring device...
[ 3.416] Flashing GPT...
[ 3.416] Flashing partition:0 with gpt_main0.bin
[ 3.417] Initializing storage
[ 3.436] ...blksz = 512
[ 3.577] ReadFile() failed, GetLastError()=0
[ 3.627] ReadFile() failed, GetLastError()=0
[ 3.677] ReadFile() failed, GetLastError()=0
[ 3.858] ReadFile() failed, GetLastError()=0
[ 7.897] ERROR: do_package()->do_recipe()->do_flash()->gpt_flash()->lun_write()->storage_write()->firehose_do_fmt()->do_recipe()->do_program()->fh_send()->send_command()->read_response()->buffer_read()->device_read()->IO error
[ 7.897] Check qboot_log.txt for more details
[ 7.897] Total time: 7.898s
[ 7.897]
[ 7.897] qboot version 3.40
[ 7.897]
[ 7.897] DEVICE {
[ 7.897] name = "\\.\COM330",
[ 7.897] flags = "0x144",
[ 7.897] addr = "0x28FE6C",
[ 7.897] sahara.current_mode = "0",
[ 7.897] api.buffer = "0x24D0020",
[ 7.897] cpu.serial = "620430478",
[ 7.897] cpu.id = "154",
[ 7.897] cpu.sv_sbl = "0",
[ 7.897] cpu.name = "MSM8953",
[ 7.897] storage.type = "eMMC",
[ 7.897] sahara.programmer = "programmer.mbn",
[ 7.897] module.firehose = "0x2424828",
[ 7.897] api.firehose = "0x3CDD78",
[ 7.897] cpu.ver = "257",
[ 7.897] cpu.vername = "1.1",
[ 7.897] fh.max_packet_sz = "1048576",
[ 7.897] fh.storage_inited = "1",
[ 7.897] api.storage = "0x3C9B60",
[ 7.897] }
[ 7.897]
[ 7.897]
[ 7.897] STORAGE {
[ 7.897] type = "eMMC",
[ 7.897] part = "(null)",
[ 7.897] blksz = 512 (0x200),
[ 7.897] num_luns = 3,
[ 7.897] luns[00] = {
[ 7.897] size = 29820M,
[ 7.897] }
[ 7.897] luns[01] = {
[ 7.897] size = 4M,
[ 7.897] }
[ 7.897] luns[02] = {
[ 7.897] size = 4M,
[ 7.897] }
[ 7.897] }
[ 7.897]
**** Log buffer [000001] 2020-10-07_15:49:16 ****
[ 0.000] Opening device: \\.\COM330
[ 0.003] Detecting device
[ 0.006] ...cpu.id = 154 (0x9a)
[ 0.006] ...cpu.sn = 620430478 (0x24fb048e)
[ 0.007] Opening singleimage
[ 0.007] Loading package
[ 0.010] ...filename = singleimage.pkg.xml
[ 0.011] Loading programmer
[ 0.012] ...filename = programmer.mbn
[ 0.012] Sending programmer
[ 0.440] Handling things over to programmer
[ 0.441] Identifying CPU version
[ 0.443] Waiting for firehose to get ready
[ 3.482] ...MSM8953 1.1
[ 3.482] Determining target secure state
[ 3.491] ...secure = yes
[ 3.504] Configuring device...
[ 3.509] Flashing GPT...
[ 3.509] Flashing partition:0 with gpt_main0.bin
[ 3.510] Initializing storage
[ 3.528] ...blksz = 512
[ 3.612] Target NAK!
[ 3.613] ...Write failed Sector 61071327, Errno 1
[ 3.613] ...Finished sector address 61071327
[ 3.613] ERROR: do_package()->do_recipe()->do_flash()->gpt_flash()->lun_write()->storage_write()->firehose_do_fmt()->do_recipe()->NAK
[ 3.613] Check qboot_log.txt for more details
[ 3.613] Total time: 3.614s
[ 3.613]
[ 3.613] qboot version 3.40
[ 3.613]
[ 3.613] DEVICE {
[ 3.613] name = "\\.\COM330",
[ 3.613] flags = "0x144",
[ 3.613] addr = "0x28FE6C",
[ 3.613] sahara.current_mode = "0",
[ 3.613] api.buffer = "0x5C0020",
[ 3.613] cpu.serial = "620430478",
[ 3.613] cpu.id = "154",
[ 3.613] cpu.sv_sbl = "0",
[ 3.613] cpu.name = "MSM8953",
[ 3.613] storage.type = "eMMC",
[ 3.613] sahara.programmer = "programmer.mbn",
[ 3.613] module.firehose = "0x474828",
[ 3.613] api.firehose = "0x39DD70",
[ 3.613] cpu.ver = "257",
[ 3.613] cpu.vername = "1.1",
[ 3.613] fh.max_packet_sz = "1048576",
[ 3.613] fh.storage_inited = "1",
[ 3.613] api.storage = "0x47ED98",
[ 3.613] }
[ 3.613]
[ 3.613]
[ 3.613] STORAGE {
[ 3.613] type = "eMMC",
[ 3.613] part = "(null)",
[ 3.613] blksz = 512 (0x200),
[ 3.613] num_luns = 3,
[ 3.613] luns[00] = {
[ 3.613] size = 29820M,
[ 3.613] }
[ 3.613] luns[01] = {
[ 3.613] size = 4M,
[ 3.613] }
[ 3.613] luns[02] = {
[ 3.613] size = 4M,
[ 3.613] }
[ 3.613] }
[ 3.613]
yurais said:
I didnt see request number 2.
Click to expand...
Click to collapse
As I can see in your log file
**** Log buffer [000001] 2020-10-07_15:47:05 ****
[ -0.000] Opening device: \\.\COM330
[ 0.005] Detecting device
[ 4.108] ERROR: sahara_greet_device()->change_mode()->do_hello()->IO error
[ 4.108] Check qboot_log.txt for more details
[ 4.108] Total time: 4.752s
[ 4.121]
[ 4.121] qboot version 3.40
[ 4.121]
[ 4.121] DEVICE {
[ 4.121] name = "\\.\COM330",
[ 4.121] flags = "0x64",
[ 4.121] addr = "0x28FE6C",
[ 4.121] api.bnr = "0x3F2FE8",
[ 4.121] }
[ 4.121]
[ 4.121]
[ 4.121] Backup & Restore {
[ 4.121] num_entries = 0,
[ 4.121] restoring = "false",
[ 4.121] backup_error = "not started",
[ 4.121] restore_error = "not started",
[ 4.121] }
[ 4.121]
**** Log buffer [000001] 2020-10-07_15:47:57 ****
[ 0.000] Opening device: \\.\COM330
[ 0.003] Detecting device
[ 0.006] ...cpu.id = 154 (0x9a)
[ 0.006] ...cpu.sn = 620430478 (0x24fb048e)
[ 0.006] Opening singleimage
[ 0.057] Loading package
[ 0.060] ...filename = singleimage.pkg.xml
[ 0.061] Loading programmer
[ 0.068] ...filename = programmer.mbn
[ 0.068] Sending programmer
[ 0.316] Handling things over to programmer
[ 0.317] Identifying CPU version
[ 0.319] Waiting for firehose to get ready
[ 3.396] ...MSM8953 1.1
[ 3.396] Determining target secure state
[ 3.398] ...secure = yes
[ 3.410] Configuring device...
[ 3.416] Flashing GPT...
[ 3.416] Flashing partition:0 with gpt_main0.bin
[ 3.417] Initializing storage
[ 3.436] ...blksz = 512
[ 3.577] ReadFile() failed, GetLastError()=0
[ 3.627] ReadFile() failed, GetLastError()=0
[ 3.677] ReadFile() failed, GetLastError()=0
[ 3.858] ReadFile() failed, GetLastError()=0
[ 7.897] ERROR: do_package()->do_recipe()->do_flash()->gpt_flash()->lun_write()->storage_write()->firehose_do_fmt()->do_recipe()->do_program()->fh_send()->send_command()->read_response()->buffer_read()->device_read()->IO error
[ 7.897] Check qboot_log.txt for more details
[ 7.897] Total time: 7.898s
[ 7.897]
[ 7.897] qboot version 3.40
[ 7.897]
[ 7.897] DEVICE {
[ 7.897] name = "\\.\COM330",
[ 7.897] flags = "0x144",
[ 7.897] addr = "0x28FE6C",
[ 7.897] sahara.current_mode = "0",
[ 7.897] api.buffer = "0x24D0020",
[ 7.897] cpu.serial = "620430478",
[ 7.897] cpu.id = "154",
[ 7.897] cpu.sv_sbl = "0",
[ 7.897] cpu.name = "MSM8953",
[ 7.897] storage.type = "eMMC",
[ 7.897] sahara.programmer = "programmer.mbn",
[ 7.897] module.firehose = "0x2424828",
[ 7.897] api.firehose = "0x3CDD78",
[ 7.897] cpu.ver = "257",
[ 7.897] cpu.vername = "1.1",
[ 7.897] fh.max_packet_sz = "1048576",
[ 7.897] fh.storage_inited = "1",
[ 7.897] api.storage = "0x3C9B60",
[ 7.897] }
[ 7.897]
[ 7.897]
[ 7.897] STORAGE {
[ 7.897] type = "eMMC",
[ 7.897] part = "(null)",
[ 7.897] blksz = 512 (0x200),
[ 7.897] num_luns = 3,
[ 7.897] luns[00] = {
[ 7.897] size = 29820M,
[ 7.897] }
[ 7.897] luns[01] = {
[ 7.897] size = 4M,
[ 7.897] }
[ 7.897] luns[02] = {
[ 7.897] size = 4M,
[ 7.897] }
[ 7.897] }
[ 7.897]
**** Log buffer [000001] 2020-10-07_15:49:16 ****
[ 0.000] Opening device: \\.\COM330
[ 0.003] Detecting device
[ 0.006] ...cpu.id = 154 (0x9a)
[ 0.006] ...cpu.sn = 620430478 (0x24fb048e)
[ 0.007] Opening singleimage
[ 0.007] Loading package
[ 0.010] ...filename = singleimage.pkg.xml
[ 0.011] Loading programmer
[ 0.012] ...filename = programmer.mbn
[ 0.012] Sending programmer
[ 0.440] Handling things over to programmer
[ 0.441] Identifying CPU version
[ 0.443] Waiting for firehose to get ready
[ 3.482] ...MSM8953 1.1
[ 3.482] Determining target secure state
[ 3.491] ...secure = yes
[ 3.504] Configuring device...
[ 3.509] Flashing GPT...
[ 3.509] Flashing partition:0 with gpt_main0.bin
[ 3.510] Initializing storage
[ 3.528] ...blksz = 512
[ 3.612] Target NAK!
[ 3.613] ...Write failed Sector 61071327, Errno 1
[ 3.613] ...Finished sector address 61071327
[ 3.613] ERROR: do_package()->do_recipe()->do_flash()->gpt_flash()->lun_write()->storage_write()->firehose_do_fmt()->do_recipe()->NAK
[ 3.613] Check qboot_log.txt for more details
[ 3.613] Total time: 3.614s
[ 3.613]
[ 3.613] qboot version 3.40
[ 3.613]
[ 3.613] DEVICE {
[ 3.613] name = "\\.\COM330",
[ 3.613] flags = "0x144",
[ 3.613] addr = "0x28FE6C",
[ 3.613] sahara.current_mode = "0",
[ 3.613] api.buffer = "0x5C0020",
[ 3.613] cpu.serial = "620430478",
[ 3.613] cpu.id = "154",
[ 3.613] cpu.sv_sbl = "0",
[ 3.613] cpu.name = "MSM8953",
[ 3.613] storage.type = "eMMC",
[ 3.613] sahara.programmer = "programmer.mbn",
[ 3.613] module.firehose = "0x474828",
[ 3.613] api.firehose = "0x39DD70",
[ 3.613] cpu.ver = "257",
[ 3.613] cpu.vername = "1.1",
[ 3.613] fh.max_packet_sz = "1048576",
[ 3.613] fh.storage_inited = "1",
[ 3.613] api.storage = "0x47ED98",
[ 3.613] }
[ 3.613]
[ 3.613]
[ 3.613] STORAGE {
[ 3.613] type = "eMMC",
[ 3.613] part = "(null)",
[ 3.613] blksz = 512 (0x200),
[ 3.613] num_luns = 3,
[ 3.613] luns[00] = {
[ 3.613] size = 29820M,
[ 3.613] }
[ 3.613] luns[01] = {
[ 3.613] size = 4M,
[ 3.613] }
[ 3.613] luns[02] = {
[ 3.613] size = 4M,
[ 3.613] }
[ 3.613] }
your device/bootloader seems to be locked (secure=yes)?
I'm not an expert in blank flash procedures but it's not possible for the programm to flash any data (marked red in log file).
I din't know how to fix this. Maybe the reason is a locked bootloader?
Did you try the LMSA tool?
WoKoschekk said:
As I can see in your log file
**** Log buffer [000001] 2020-10-07_15:47:05 ****
[ -0.000] Opening device: \\.\COM330
[ 0.005] Detecting device
[ 4.108] ERROR: sahara_greet_device()->change_mode()->do_hello()->IO error
[ 4.108] Check qboot_log.txt for more details
[ 4.108] Total time: 4.752s
[ 4.121]
[ 4.121] qboot version 3.40
[ 4.121]
[ 4.121] DEVICE {
[ 4.121] name = "\\.\COM330",
[ 4.121] flags = "0x64",
[ 4.121] addr = "0x28FE6C",
[ 4.121] api.bnr = "0x3F2FE8",
[ 4.121] }
[ 4.121]
[ 4.121]
[ 4.121] Backup & Restore {
[ 4.121] num_entries = 0,
[ 4.121] restoring = "false",
[ 4.121] backup_error = "not started",
[ 4.121] restore_error = "not started",
[ 4.121] }
[ 4.121]
**** Log buffer [000001] 2020-10-07_15:47:57 ****
[ 0.000] Opening device: \\.\COM330
[ 0.003] Detecting device
[ 0.006] ...cpu.id = 154 (0x9a)
[ 0.006] ...cpu.sn = 620430478 (0x24fb048e)
[ 0.006] Opening singleimage
[ 0.057] Loading package
[ 0.060] ...filename = singleimage.pkg.xml
[ 0.061] Loading programmer
[ 0.068] ...filename = programmer.mbn
[ 0.068] Sending programmer
[ 0.316] Handling things over to programmer
[ 0.317] Identifying CPU version
[ 0.319] Waiting for firehose to get ready
[ 3.396] ...MSM8953 1.1
[ 3.396] Determining target secure state
[ 3.398] ...secure = yes
[ 3.410] Configuring device...
[ 3.416] Flashing GPT...
[ 3.416] Flashing partition:0 with gpt_main0.bin
[ 3.417] Initializing storage
[ 3.436] ...blksz = 512
[ 3.577] ReadFile() failed, GetLastError()=0
[ 3.627] ReadFile() failed, GetLastError()=0
[ 3.677] ReadFile() failed, GetLastError()=0
[ 3.858] ReadFile() failed, GetLastError()=0
[ 7.897] ERROR: do_package()->do_recipe()->do_flash()->gpt_flash()->lun_write()->storage_write()->firehose_do_fmt()->do_recipe()->do_program()->fh_send()->send_command()->read_response()->buffer_read()->device_read()->IO error
[ 7.897] Check qboot_log.txt for more details
[ 7.897] Total time: 7.898s
[ 7.897]
[ 7.897] qboot version 3.40
[ 7.897]
[ 7.897] DEVICE {
[ 7.897] name = "\\.\COM330",
[ 7.897] flags = "0x144",
[ 7.897] addr = "0x28FE6C",
[ 7.897] sahara.current_mode = "0",
[ 7.897] api.buffer = "0x24D0020",
[ 7.897] cpu.serial = "620430478",
[ 7.897] cpu.id = "154",
[ 7.897] cpu.sv_sbl = "0",
[ 7.897] cpu.name = "MSM8953",
[ 7.897] storage.type = "eMMC",
[ 7.897] sahara.programmer = "programmer.mbn",
[ 7.897] module.firehose = "0x2424828",
[ 7.897] api.firehose = "0x3CDD78",
[ 7.897] cpu.ver = "257",
[ 7.897] cpu.vername = "1.1",
[ 7.897] fh.max_packet_sz = "1048576",
[ 7.897] fh.storage_inited = "1",
[ 7.897] api.storage = "0x3C9B60",
[ 7.897] }
[ 7.897]
[ 7.897]
[ 7.897] STORAGE {
[ 7.897] type = "eMMC",
[ 7.897] part = "(null)",
[ 7.897] blksz = 512 (0x200),
[ 7.897] num_luns = 3,
[ 7.897] luns[00] = {
[ 7.897] size = 29820M,
[ 7.897] }
[ 7.897] luns[01] = {
[ 7.897] size = 4M,
[ 7.897] }
[ 7.897] luns[02] = {
[ 7.897] size = 4M,
[ 7.897] }
[ 7.897] }
[ 7.897]
**** Log buffer [000001] 2020-10-07_15:49:16 ****
[ 0.000] Opening device: \\.\COM330
[ 0.003] Detecting device
[ 0.006] ...cpu.id = 154 (0x9a)
[ 0.006] ...cpu.sn = 620430478 (0x24fb048e)
[ 0.007] Opening singleimage
[ 0.007] Loading package
[ 0.010] ...filename = singleimage.pkg.xml
[ 0.011] Loading programmer
[ 0.012] ...filename = programmer.mbn
[ 0.012] Sending programmer
[ 0.440] Handling things over to programmer
[ 0.441] Identifying CPU version
[ 0.443] Waiting for firehose to get ready
[ 3.482] ...MSM8953 1.1
[ 3.482] Determining target secure state
[ 3.491] ...secure = yes
[ 3.504] Configuring device...
[ 3.509] Flashing GPT...
[ 3.509] Flashing partition:0 with gpt_main0.bin
[ 3.510] Initializing storage
[ 3.528] ...blksz = 512
[ 3.612] Target NAK!
[ 3.613] ...Write failed Sector 61071327, Errno 1
[ 3.613] ...Finished sector address 61071327
[ 3.613] ERROR: do_package()->do_recipe()->do_flash()->gpt_flash()->lun_write()->storage_write()->firehose_do_fmt()->do_recipe()->NAK
[ 3.613] Check qboot_log.txt for more details
[ 3.613] Total time: 3.614s
[ 3.613]
[ 3.613] qboot version 3.40
[ 3.613]
[ 3.613] DEVICE {
[ 3.613] name = "\\.\COM330",
[ 3.613] flags = "0x144",
[ 3.613] addr = "0x28FE6C",
[ 3.613] sahara.current_mode = "0",
[ 3.613] api.buffer = "0x5C0020",
[ 3.613] cpu.serial = "620430478",
[ 3.613] cpu.id = "154",
[ 3.613] cpu.sv_sbl = "0",
[ 3.613] cpu.name = "MSM8953",
[ 3.613] storage.type = "eMMC",
[ 3.613] sahara.programmer = "programmer.mbn",
[ 3.613] module.firehose = "0x474828",
[ 3.613] api.firehose = "0x39DD70",
[ 3.613] cpu.ver = "257",
[ 3.613] cpu.vername = "1.1",
[ 3.613] fh.max_packet_sz = "1048576",
[ 3.613] fh.storage_inited = "1",
[ 3.613] api.storage = "0x47ED98",
[ 3.613] }
[ 3.613]
[ 3.613]
[ 3.613] STORAGE {
[ 3.613] type = "eMMC",
[ 3.613] part = "(null)",
[ 3.613] blksz = 512 (0x200),
[ 3.613] num_luns = 3,
[ 3.613] luns[00] = {
[ 3.613] size = 29820M,
[ 3.613] }
[ 3.613] luns[01] = {
[ 3.613] size = 4M,
[ 3.613] }
[ 3.613] luns[02] = {
[ 3.613] size = 4M,
[ 3.613] }
[ 3.613] }
your device/bootloader seems to be locked (secure=yes)?
I'm not an expert in blank flash procedures but it's not possible for the programm to flash any data (marked red in log file).
I din't know how to fix this. Maybe the reason is a locked bootloader?
Did you try the LMSA tool?
Click to expand...
Click to collapse
No idea what LMSA is
But any tool operating on EDL mode require the firehose loader and seems like qboot has this built-in
Enviado desde mi SM-G975U1 mediante Tapatalk
my Redmi k20 pro flash to 11.0.5.0 china rom but it goes into recovery bootloop.
I tried to uninstall magisk, wipe data and cache, and even flash back to 11.0.2.0 china rom.
but all of them failed.
I want to how can I fix this issue without data loss.
please help me.
here is the part of the boot log
[ 85.074425] type=1400 audit(14304436.589:43): avc: denied { search } for comm="BootMonitorThre" name="android_usb" dev="sysfs" ino=60499 scontext=u:r:mqsasd:s0 tcontext=ubject_r:sysfs_android_usb:s0 tclass=dir permissive=0
[ 85.074431] type=1400 audit(14304496.589:44): avc: denied { kill } for comm="CaptureServerTh" capability=5 scontext=u:r:mqsasd:s0 tcontext=u:r:mqsasd:s0 tclass=capability permissive=0
[ 85.857251] init: Command 'mkdir /data/bootchart 0755 shell shell' action=post-fs-data (/init.rc:455) took 81665ms and succeeded
[ 85.857437] init: starting service 'vendor.ipacm'...
[ 85.858455] init: Service 'dumpstate' (pid 609) exited with status 0
[ 85.858579] init: Clear action queue and start shutdown trigger
[ 85.858645] init: processing action (shutdown_done) from (<Builtin Action>:0)
[ 85.858651] init: Reboot start, reason: reboot,recovery, rebootTarget: recovery
[ 85.859424] init: Shutdown timeout: 6000 ms
[ 85.859554] init: starting service 'vendor.rmt_storage'...
[ 85.860582] init: starting service 'apexd'...
[ 85.861582] init: starting service 'blank_screen'...
[ 85.869583] rmt_storage:INFO:check_support_using_libmdm: Modem subsystem found on target!
[ 85.869970] rmt_storage:INFO:main: Done with init now waiting for messages!
[ 85.877540] binder_alloc: 583: binder_alloc_buf, no vma
[ 85.877547] binder: 769:769 transaction failed 29189/-3, size 48-0 line 3255
[ 85.877704] apexd: Failed to check if filesystem checkpoints are supported: Status(-129, EX_TRANSACTION_FAILED): '-32: '
[ 85.877717] apexd: Marking APEXd as starting
[ 85.879003] logd.auditd: 47 output lines suppressed due to ratelimiting
[ 86.002414] sd 0:0:0:4: [sde] Synchronizing SCSI cache
[ 86.003459] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 86.010649] pm8150b_charger: smblib_masked_write: set 0x1544 mask:0x7,val:0x2
[ 86.010689] QNOVO_NOT_OK: current vote is now 1 voted by user_voter,2, previous voted 0
[ 86.011332] reboot: Restarting system with command 'recovery'
[ 86.011349] Going down for restart now
use mi flash. and rip your data.