FORUMS
Remove All Ads from XDA

[Universal] [Flashable] [Logcat] [Guide] So your test ROM build didn't boot

569 posts
Thanks Meter: 1,640
 
By USA-RedDragon, Senior Member on 28th November 2015, 05:43 AM
Post Reply Email Thread
17th June 2016, 09:26 PM |#11  
Senior Member
Flag Sion
Thanks Meter: 240
 
Donate to Me
More
Quote:
Originally Posted by Sun Shower

But the adb via usb need an authorization to enable,how to get pass when bootloop?

Sent from my MI 2C using XDA-Developers mobile app

use adbd
19th June 2016, 02:50 AM |#12  
Member
Thanks Meter: 7
 
More
Quote:
Originally Posted by Gayos24

use adbd

Thank you to answer me,is there any thread or guide can help me,I don't know how to use it.
19th June 2016, 10:52 AM |#13  
Senior Member
Flag Sion
Thanks Meter: 240
 
Donate to Me
More
Quote:
Originally Posted by Sun Shower

Thank you to answer me,is there any thread or guide can help me,I don't know how to use it.

just donwload the file and extract adbd in system/xbin (rom)

and the command is the same as normal logcat

sorry for my english
Attached Files
File Type: zip adbd.zip - [Click for QR Code] (172.8 KB, 416 views)
The Following User Says Thank You to Gayos24 For This Useful Post: [ View ] Gift Gayos24 Ad-Free
20th January 2017, 07:41 PM |#14  
agriculture's Avatar
Senior Member
Flag Telangana
Thanks Meter: 337
 
More
awsome, just awsome
21st January 2017, 09:39 AM |#15  
Junior Member
Flag Surabaya
Thanks Meter: 2
 
More
what command did you type?
11th August 2018, 03:59 PM |#16  
HACK3DANDR0ID's Avatar
Senior Member
Flag New Jersey
Thanks Meter: 325
 
More
I am currently testing out Custom ROMs for DEVs and I cannot find how to take a Log if I cannot Boot the device or get into TWRP. With newer devices, for example, I am currently working on a OnePlus 6, with A/B Partitions. If the device does not boot on A, it is supposed to Boot on B, so with this application, how to take a Log before the device switches Partitions and Boots on the Partition that CAN Boot?
13th October 2018, 06:59 PM |#17  
Member
Thanks Meter: 17
 
More
I tried the adbd archive but there is no xbin folder for me, I just put in sbin folder. I cant get a logcat from boot because it says waiting for device the code i'm trying is this one adb logcat > logcat.txt
12th October 2019, 04:55 PM |#18  
Sutan99's Avatar
Junior Member
Flag Brebes
Thanks Meter: 1
 
More
Quote:
Originally Posted by USA-RedDragon

So your kernel didn't boot. Well dang. This can be one of the worst problems. So, I'm going to HOPE you have TWRP, since CWM is pretty much dead.

This is more advanced, because you have to use Terminal command in TWRP.

Now, don't be daunted by this, since it's terminal commands, it's quite easy.

As a general rule of thumb(there are different devices with different kernel logs, though), 3.10 kernels(pretty much anything in the last 2 years) have a log in /sys/fs/pstore/console-ramoops and 3.4 and prior kernels have /proc/last_kmsg.

You can see kernel version in Settings -> About Phone

So to pull these logs, you need to be in TWRP DIRECTLY after a failed boot.

Go to Advanced->Terminal Command and type these commands in. One will fail the other will work. Should both of them fail, restart and try to boot again, then go back to TWRP.

Code:
cp /proc/last_kmsg /sdcard/kernellog.txt
Code:
cp /sys/fs/pstore/console-ramoops /sdcard/kernellog.txt
Now you can restore your backup and boot normally. Once you've booted up, you can either share the files with Google Drive or Dropbox or whatever in Android, or you can pull them to your computer with these Terminal commands:
On Linux:
Code:
adb pull /sdcard/kernellog.txt ~/kernellog.txt
That will store log into your home folder.
On Windows:
Code:
adb pull /sdcard/kernellog.txt %UserProfile%/Desktop/kernellog.txt
That will store log onto your Desktop.

Then share log like you would in the above post

sorry but in my device wasn't have this "/sys/fs/pstore/console-ramoops" I was browse, and did not found it... only have "sys/fs/..." if I try, still work it or not?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes