stuck in a bootloop with my Galaxy S4 GT-I9500 - Device Repair

Good day all, I am stuck in a bootloop with my Galaxy S4 GT-I9500 When i power on the phone the Samsung Logo flashes every 10 sec or so.
I am unable to get into recovery mode but i can get into Download/Odin mode, with that being said i dont think it is a power button issue
Because the phone stays on in Download/Odin mode.
Sorry for long post
What i Know and tried.
I do not know what firmware is on the phone or if there is a custom recovery on the phone.
(The Phone was given to me)
The only info Odin Mode shows me is
Product name: GT-I9500
Current Binary: Samsung Official
System Status: Custom
What i have tried
Tried flashing with Odin on multiple PC's and Multiple USB Cables and Multiple Odin versions (Win 10 and Win 7)
On odin (Without pit file)(Flashing twrp-3.1.0-0-jfltexx.img)
It does not matter what i try flashing it is always the same result
Odin Output
<ID:0/005> Added!!
<ID:0/005> Odin engine v(ID:3.1203)..
<ID:0/005> File analysis..
<ID:0/005> SetupConnection..
<ID:0/005> Initialzation..
<ID:0/005> Get PIT for mapping..
<ID:0/005>
<ID:0/005> There is no PIT partition.
<OSM> All threads completed. (succeed 0 / failed 1
On odin (With pit file)(Flashing twrp-3.1.0-0-jfltexx.img and adonis.pit)
Odin Output
<ID:0/005> Added!!
<ID:0/005> Odin engine v(ID:3.1203)..
<ID:0/005> File analysis..
<ID:0/005> SetupConnection..
<ID:0/005> Initialzation..
<ID:0/005> Set PIT file..
<ID:0/005> DO NOT TURN OFF TARGET!!
<ID:0/005> FAIL!
<ID:0/005>
<ID:0/005> Re-Partition operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)
On Heimdall (Linux, terminal)
Command: $heimdall detect
Heimdall Output
Device detected
On Heimdall (Linux, terminal Without pitfile)
Command: heimdall flash --RECOVERY twrp-3.1.0-0-odin.img
Heimdall Output
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
ERROR: Failed to receive PIT file size!
ERROR: Failed to download PIT file!
Ending session...
ERROR: Failed to send end session packet!
Releasing device interface...
On Heimdall (Linux, terminal With pitfile)
Command: $heimdall flash --repartition --pit adonis.pit --RECOVERY twrp-3.1.0-0-odin.img
Heimdall Output
Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Uploading PIT
ERROR: Failed to receive PIT file part response!
ERROR: PIT upload failed!
Ending session...
Rebooting device...
Releasing device interface...
Once again sorry for long post.
I have been on it for 6 days now and is out of options any help will be greatly appreciated

Some extra info
Extra Info
On Heimdall (Linux, terminal)
Command: heimdall print-pit --usb-log-level debug
Heimdall output
Initialising connection...
Detecting device...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.011152] [0000084d] libusb: debug [libusb_get_device_list]
[ 0.011172] [0000084d] libusb: debug [discovered_devs_append] need to increase capacity
[ 0.011181] [0000084d] libusb: debug [libusb_get_device_descriptor]
[ 0.011187] [0000084d] libusb: debug [libusb_get_device_descriptor]
[ 0.011198] [0000084d] libusb: debug [libusb_get_device_descriptor]
[ 0.011202] [0000084d] libusb: debug [libusb_get_device_descriptor]
[ 0.011204] [0000084d] libusb: debug [libusb_get_device_descriptor]
[ 0.011207] [0000084d] libusb: debug [libusb_get_device_descriptor]
[ 0.011213] [0000084d] libusb: debug [libusb_get_device_descriptor]
[ 0.011219] [0000084d] libusb: debug [libusb_open] open 1.6
[ 0.011238] [0000084d] libusb: debug [usbi_add_pollfd] add fd 9 events 4
[ 0.011244] [0000084d] libusb: debug [libusb_get_device_descriptor]
[ 0.011247] [0000084d] libusb: debug [libusb_get_config_descriptor] index 0
Claiming interface...
[ 0.011264] [0000084d] libusb: debug [libusb_claim_interface] interface 1
Setting up interface...
[ 0.011286] [0000084d] libusb: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0
Initialising protocol...
[ 0.011463] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c6cf28
[ 0.011470] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c6cf28
[ 0.011473] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.011482] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 4
[ 0.011496] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.011502] [0000084d] libusb: debug [handle_events] poll fds modified, reallocating
[ 0.011506] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.011570] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 0.011577] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=4
[ 0.011583] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.011590] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.011594] [0000084d] libusb: debug [disarm_timerfd]
[ 0.011601] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c6cf28 has callback 0x7f059fb11520
[ 0.011606] [0000084d] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.011615] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c6cf28
[ 0.011623] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c6cf28
[ 0.011628] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c6cf28
[ 0.011634] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.011642] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 7
[ 0.011650] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.011655] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.011695] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 0.011702] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=4
[ 0.011704] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.011710] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.011712] [0000084d] libusb: debug [disarm_timerfd]
[ 0.011718] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c6cf28 has callback 0x7f059fb11520
[ 0.011724] [0000084d] libusb: debug [sync_transfer_cb] actual_length=4
[ 0.011727] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c6cf28
Protocol initialisation successful.
Beginning session...
[ 0.011747] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 0.011752] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 0.011755] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 0.011761] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[ 0.011769] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.011776] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.011819] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 0.011825] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=1024
[ 0.011831] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.011836] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.011843] [0000084d] libusb: debug [disarm_timerfd]
[ 0.011849] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 0.011855] [0000084d] libusb: debug [sync_transfer_cb] actual_length=1024
[ 0.011858] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[ 0.011863] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 0.011866] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 0.011871] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 100ms (first in line)
[ 0.011874] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 0
[ 0.011881] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.011887] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.019073] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 0.019093] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=0
[ 0.019096] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.019099] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.019102] [0000084d] libusb: debug [disarm_timerfd]
[ 0.019105] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 0.019114] [0000084d] libusb: debug [sync_transfer_cb] actual_length=0
[ 0.019125] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[ 0.019130] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 0.019138] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 0.019141] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 0.019145] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[ 0.019157] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.019163] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 0.019194] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 0.019200] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=8
[ 0.019202] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 0.019207] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 0.019210] [0000084d] libusb: debug [disarm_timerfd]
[ 0.019215] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 0.019218] [0000084d] libusb: debug [sync_transfer_cb] actual_length=8
[ 0.019223] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
Some devices may take up to 2 minutes to respond.
Please be patient!
[ 3.019328] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 3.019372] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 3.019383] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 3.019411] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[ 3.019453] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 3.019466] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 3.019529] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 3.019547] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=1024
[ 3.019561] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 3.019574] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 3.019587] [0000084d] libusb: debug [disarm_timerfd]
[ 3.019601] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 3.019614] [0000084d] libusb: debug [sync_transfer_cb] actual_length=1024
[ 3.019629] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[ 3.019643] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 3.019654] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 3.019666] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 100ms (first in line)
[ 3.019681] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 0
[ 3.019698] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 3.019711] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 3.025923] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 3.025961] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=0
[ 3.025978] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 3.025993] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 3.026009] [0000084d] libusb: debug [disarm_timerfd]
[ 3.026024] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 3.026037] [0000084d] libusb: debug [sync_transfer_cb] actual_length=0
[ 3.026053] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[ 3.026071] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 3.026082] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 3.026095] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 3.026110] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[ 3.026137] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 3.026197] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 3.026265] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 3.026282] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=8
[ 3.026294] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 3.026307] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 3.026319] [0000084d] libusb: debug [disarm_timerfd]
[ 3.026331] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 3.026344] [0000084d] libusb: debug [sync_transfer_cb] actual_length=8
[ 3.026357] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
Session begun.
Downloading device's PIT file...
[ 3.026411] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 3.026424] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 3.026436] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 3.026450] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[ 3.026470] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 3.026484] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 3.026638] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 3.026654] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=1024
[ 3.026667] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 3.026680] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 3.026693] [0000084d] libusb: debug [disarm_timerfd]
[ 3.026706] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 3.026719] [0000084d] libusb: debug [sync_transfer_cb] actual_length=1024
[ 3.026732] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[ 3.026745] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 3.026756] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 3.026768] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 100ms (first in line)
[ 3.026783] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 0
[ 3.026802] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 3.026815] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 3.026887] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 3.026902] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=0
[ 3.026915] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 3.026927] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 3.026939] [0000084d] libusb: debug [disarm_timerfd]
[ 3.026951] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 3.026963] [0000084d] libusb: debug [sync_transfer_cb] actual_length=0
[ 3.026976] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[ 3.026993] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 3.027004] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 3.027016] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 3.027030] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 8
[ 3.027049] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 3.027061] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 3.043171] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 3.043210] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=0 transferred=8
[ 3.043226] [0000084d] libusb: debug [handle_bulk_completion] handling completion status 0 of bulk urb 1/1
[ 3.043257] [0000084d] libusb: debug [handle_bulk_completion] last URB in transfer --> complete!
[ 3.043273] [0000084d] libusb: debug [disarm_timerfd]
[ 3.043287] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 3.043300] [0000084d] libusb: debug [sync_transfer_cb] actual_length=8
[ 3.043315] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
ERROR: Failed to receive PIT file size!
ERROR: Failed to download PIT file!
Ending session...
[ 3.043382] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 3.043394] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 3.043407] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 3.043423] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[ 3.043450] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 3.043463] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 6.043452] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 6.043494] [0000084d] libusb: debug [handle_events] timerfd triggered
[ 6.043505] [0000084d] libusb: debug [libusb_cancel_transfer] transfer 0x1c4bab8
[ 6.043705] [0000084d] libusb: debug [disarm_timerfd]
[ 6.043722] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[ 6.043737] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 6.043753] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[ 6.043766] [0000084d] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[ 6.043780] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[ 6.043793] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[ 6.043807] [0000084d] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 6.043820] [0000084d] libusb: debug [disarm_timerfd]
[ 6.043831] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 6.043845] [0000084d] libusb: debug [sync_transfer_cb] actual_length=0
[ 6.043860] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[ 6.293971] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 6.294015] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 6.294027] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 6.294055] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[ 6.294099] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 6.294112] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 9.294069] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 9.294112] [0000084d] libusb: debug [handle_events] timerfd triggered
[ 9.294124] [0000084d] libusb: debug [libusb_cancel_transfer] transfer 0x1c4bab8
[ 9.294493] [0000084d] libusb: debug [disarm_timerfd]
[ 9.294512] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[ 9.294528] [0000084d] libusb: debug [handle_events] poll() returned 1
[ 9.294545] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[ 9.294559] [0000084d] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[ 9.294573] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[ 9.294585] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[ 9.294598] [0000084d] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 9.294611] [0000084d] libusb: debug [disarm_timerfd]
[ 9.294623] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[ 9.294638] [0000084d] libusb: debug [sync_transfer_cb] actual_length=0
[ 9.294653] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[ 9.794759] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[ 9.794806] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[ 9.794827] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[ 9.794848] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[ 9.794896] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 9.794910] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[12.794869] [0000084d] libusb: debug [handle_events] poll() returned 1
[12.794913] [0000084d] libusb: debug [handle_events] timerfd triggered
[12.794925] [0000084d] libusb: debug [libusb_cancel_transfer] transfer 0x1c4bab8
[12.795143] [0000084d] libusb: debug [disarm_timerfd]
[12.795161] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[12.795176] [0000084d] libusb: debug [handle_events] poll() returned 1
[12.795194] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[12.795208] [0000084d] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[12.795222] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[12.795235] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[12.795248] [0000084d] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[12.795261] [0000084d] libusb: debug [disarm_timerfd]
[12.795273] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[12.795287] [0000084d] libusb: debug [sync_transfer_cb] actual_length=0
[12.795302] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[13.545414] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[13.545456] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[13.545467] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[13.545493] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[13.545541] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[13.545555] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[16.545511] [0000084d] libusb: debug [handle_events] poll() returned 1
[16.545553] [0000084d] libusb: debug [handle_events] timerfd triggered
[16.545564] [0000084d] libusb: debug [libusb_cancel_transfer] transfer 0x1c4bab8
[16.545886] [0000084d] libusb: debug [disarm_timerfd]
[16.545903] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[16.545917] [0000084d] libusb: debug [handle_events] poll() returned 1
[16.545934] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[16.545948] [0000084d] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[16.545961] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[16.545973] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[16.545986] [0000084d] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[16.545999] [0000084d] libusb: debug [disarm_timerfd]
[16.546010] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[16.546023] [0000084d] libusb: debug [sync_transfer_cb] actual_length=0
[16.546038] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[17.546175] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[17.546217] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[17.546228] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[17.546258] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[17.546326] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[17.546340] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[20.546272] [0000084d] libusb: debug [handle_events] poll() returned 1
[20.546314] [0000084d] libusb: debug [handle_events] timerfd triggered
[20.546325] [0000084d] libusb: debug [libusb_cancel_transfer] transfer 0x1c4bab8
[20.546604] [0000084d] libusb: debug [disarm_timerfd]
[20.546620] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[20.546634] [0000084d] libusb: debug [handle_events] poll() returned 1
[20.546651] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[20.546664] [0000084d] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[20.546677] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[20.546689] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[20.546702] [0000084d] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[20.546715] [0000084d] libusb: debug [disarm_timerfd]
[20.546726] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[20.546739] [0000084d] libusb: debug [sync_transfer_cb] actual_length=0
[20.546754] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
[21.796867] [0000084d] libusb: debug [libusb_alloc_transfer] transfer 0x1c4bab8
[21.796908] [0000084d] libusb: debug [libusb_submit_transfer] transfer 0x1c4bab8
[21.796919] [0000084d] libusb: debug [add_to_flying_list] arm timerfd for timeout in 3000ms (first in line)
[21.796946] [0000084d] libusb: debug [submit_bulk_transfer] need 1 urbs for new transfer with length 1024
[21.796993] [0000084d] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[21.797007] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 60000ms
[24.796961] [0000084d] libusb: debug [handle_events] poll() returned 1
[24.797008] [0000084d] libusb: debug [handle_events] timerfd triggered
[24.797019] [0000084d] libusb: debug [libusb_cancel_transfer] transfer 0x1c4bab8
[24.797297] [0000084d] libusb: debug [disarm_timerfd]
[24.797316] [0000084d] libusb: debug [handle_events] poll() 3 fds with timeout in 0ms
[24.797331] [0000084d] libusb: debug [handle_events] poll() returned 1
[24.797349] [0000084d] libusb: debug [reap_for_handle] urb type=3 status=-2 transferred=0
[24.797363] [0000084d] libusb: debug [handle_bulk_completion] handling completion status -2 of bulk urb 1/1
[24.797377] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: urb status -2
[24.797389] [0000084d] libusb: debug [handle_bulk_completion] abnormal reap: last URB handled, reporting
[24.797402] [0000084d] libusb: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[24.797414] [0000084d] libusb: debug [disarm_timerfd]
[24.797426] [0000084d] libusb: debug [usbi_handle_transfer_completion] transfer 0x1c4bab8 has callback 0x7f059fb11520
[24.797440] [0000084d] libusb: debug [sync_transfer_cb] actual_length=0
[24.797455] [0000084d] libusb: debug [libusb_free_transfer] transfer 0x1c4bab8
ERROR: Failed to send end session packet!
Releasing device interface...
[24.797507] [0000084d] libusb: debug [libusb_release_interface] interface 1
[24.797553] [0000084d] libusb: debug [libusb_close]
[24.797574] [0000084d] libusb: debug [usbi_remove_pollfd] remove fd 9
[24.797602] [0000084d] libusb: debug [libusb_exit]
[24.797610] [0000084d] libusb: debug [libusb_exit] destroying default context

Anyone?

Have you tried to download a Stock Rom for your device and install it using Odin? Try to download a stock ROM if you haven't tried that.

Related

Android on HTC S730 Wings

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

[BUGREPORT] stock kernel 3.4.0-perf-g32ce454

Hi, i think that there is a network-related bug in stock kernel.
Phone reboots very often, when in stamina mode is on
Here is part oflast_kmsg:
Code:
[ 440.537078] active wake lock mmc1_detect
[ 440.537475] active wake lock msm_hsic_host
[ 440.537689] active wake lock alarm, time left 497
[ 440.589263] [B][COLOR="Red"]skb_under_panic: text:c04dd4e8 len:66 put:6 head:cd3af000 data:cd3aeffa tail:0xcd3af03c end:0xcd3af140 [U]dev:rmnet_usb0[/U][/COLOR][/B]
[ 440.589874] ------------[ cut here ]------------
[ 440.590332] kernel BUG at /home/hudsonslave/root/workspace/offbuild_lagan-1.3_android_matrix/HUDSON_PRODUCT/yuga/HUDSON_VARIANT/user/label/CM-12/kernel/net/core/skbuff.c:146!
[ 440.590789] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[ 440.591247] Modules linked in: wlan(O) texfat(PO) cfg80211
[ 440.592376] CPU: 0 Tainted: P W O (3.4.0-perf-g32ce454 #1)
[ 440.592803] PC is at skb_push+0x6c/0x80
[ 440.593017] LR is at skb_push+0x6c/0x80
"head:cd3af000 data:cd3aeffa" - data before head ??? What might cause that???

[KERNEL][MODULE][KEXEC][DEV] kexec for ford

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

WI-FI issues on MM

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

Can you enter eMMC download mode (9006/DLOAD) from EDL mode on Moto G5s Plus?

Hello,
After installing
various versions of QPST (2.7.437, 2.7.460)
HDDRawCopy 1.10
Qualcomm_Diag_QD_Loader_2016_driver
I can successfully boot the phone in emergency download mode (COM port in device manager) aka mode 9008
What I would like is access to the raw eMMC (mode 9006) to further nand backup it. So, I tried to switch to DLOAD in eMMC Software Download.
It either doesn't work (unending progress bar), or gives an error 0x80004005.
What I also tried is entering EDL again and sending firehose commands using CLI:
Code:
qboot -p COM5 blank-flash programmer.mbn prog_emmc_firehose_8953_ddr_lenovo.mbn --debug=1
I think I downloaded qboot.exe and the .mbn's on some github repos, MSM8953 is the codename for SD 625
It's not really better, but gives more verbose messages:
Code:
**** Log buffer [000001] 2018-09-22_17:04:40 ****
[ 0.001] Opening device: \\.\COM5
[ 0.001] Opening serial device: \\.\COM5
[ 0.003] Detecting device
[ 0.003] Switching to command mode
[ 0.003] Receiving HELLO packet
[ 0.003] ...protocol version: 2
[ 0.004] ...compatible with: 1
[ 0.004] ...max. packet size: 1024
[ 0.004] ...current mode: Image transfer pending
[ 0.004] Sending HELLO_RESP packet
[ 0.005] Receiving COMMAND_READY packet
[ 0.005] Identifying device
[ 0.005] Reading CPU serial number
[ 0.005] Sending CMD_EXEC packet, cmd=CMD_READ_SN
[ 0.006] Receiving CMD_EXEC_RESP packet
[ 0.006] ...payload: 4 byte(s)
[ 0.006] Receiving payload
[ 0.007] Reading CPU id
[ 0.007] Sending CMD_EXEC packet, cmd=CMD_READ_HWID
[ 0.007] Receiving CMD_EXEC_RESP packet
[ 0.011] ...payload: 24 byte(s)
[ 0.011] Receiving payload
[ 0.012] Reading SBL SV
[ 0.012] Sending CMD_EXEC packet, cmd=CMD_READ_SV_SBL
[ 0.012] Receiving CMD_EXEC_RESP packet
[ 0.012] ...payload: 4 byte(s)
[ 0.013] Receiving payload
[ 0.013] Reading debug data
[ 0.013] Sending CMD_EXEC packet, cmd=CMD_READ_DEBUG_DATA
[ 0.013] Receiving CMD_EXEC_RESP packet
[ 0.014] ...payload: 256 byte(s)
[ 0.014] Receiving payload
[ 0.015] Debug data dump follows
[ 0.015] 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
[ 0.015] *
[ 0.015] ...cpu.id = 70 (0x46)
[ 0.016] ...cpu.sn = 1066281865 (0x3f8e2b89)
[ 0.016] Opening singleimage
[ 0.018] ERROR: error opening singleimage
[ 0.018] Check qboot_log.txt for more details
[ 0.018] Total time: 0.018s
[ 0.018]
[ 0.018] qboot version 3.40
[ 0.018]
[ 0.018] DEVICE {
[ 0.018] name = "\\.\COM5",
[ 0.018] flags = "0x65",
[ 0.018] addr = "0x61FE5C",
[ 0.018] sahara.current_mode = "3",
[ 0.018] api.buffer = "0x31F6020",
[ 0.018] cpu.serial = "1066281865",
[ 0.018] cpu.id = "70",
[ 0.018] cpu.sv_sbl = "0",
[ 0.018] api.bnr = "0x2872FE8",
[ 0.018] }
[ 0.018]
[ 0.018]
[ 0.018] Backup & Restore {
[ 0.018] num_entries = 0,
[ 0.018] restoring = "false",
[ 0.018] backup_error = "not started",
[ 0.018] restore_error = "not started",
[ 0.018] }
[ 0.018]
So it complains about singleimage, but all I want is just the emmc block mode. Has anyone managed to make it work?
My OS is Windows 10 Pro x64 1709, if that matters.
TwoPointZero said:
Hello,
After installing
various versions of QPST (2.7.437, 2.7.460)
HDDRawCopy 1.10
Qualcomm_Diag_QD_Loader_2016_driver
I can successfully boot the phone in emergency download mode (COM port in device manager) aka mode 9008
What I would like is access to the raw eMMC (mode 9006) to further nand backup it. So, I tried to switch to DLOAD in eMMC Software Download.
It either doesn't work (unending progress bar), or gives an error 0x80004005.
What I also tried is entering EDL again and sending firehose commands using CLI:
I think I downloaded qboot.exe and the .mbn's on some github repos, MSM8953 is the codename for SD 625
It's not really better, but gives more verbose messages:
So it complains about singleimage, but all I want is just the emmc block mode. Has anyone managed to make it work?
My OS is Windows 10 Pro x64 1709, if that matters.
Click to expand...
Click to collapse
i have the same problem as you

Categories

Resources