yashsingh1/xdaforums huggingface dataset:
[XDA-University] gaganbajwa:
Plz help me sir. I port j2 prime rom for j7. Its marshmallow rom but porblem file stoped in 0 kb without this file my rom not booted so plz help me sir
[XDA-University] Stryke_the_Orc:
You'll need to flash back to something that worked.If your ROM didn't flash and you can't use adb, that's your only recourse.
[XDA-University] Stryke_the_Orc:
I would try to find older versions of those apps (before the crashes started). It sounds like something changed in them that your ROM doesn't support or know how to handle.
[XDA-University] Stryke_the_Orc:
Was the original error preventing you from booting, or causing any actual problems? I've gotten so entrenched in building before that I have found errors that honestly meant nothing and wasted time trying to fix. Ultimately, it ended up looking like bits of test code, or abandoned methods that were never removed.
[XDA-University] gaganbajwa:
Sir now i retry this all and now problem file create 199kb and stoped. Make problem file 2 or 3 mb to boot my rom but stopped in 199kb plz help me sir
[XDA-University] Stryke_the_Orc:
Unfortunately, I can't help you if you're unable to grab any logs. You'd need to be able to capture the boot process to see where it's failing.

Try flashing a ROM that works, allow and, and then try this ROM again. See if you're able to capture any logs during the boot.
[XDA-University] PS-DEV:
hi [MENTION=3053298]Stryke_the_Orc[/MENTION]

Can you help me with this LOGCAT ?

https://haste.blamealexcruz.com/dPQX2xC3VK.vbs

When i trying to booting Android Oreo fot Wileyfox Storm, Getting bootloop issue " stuck at bootanimation" ...
[XDA-University] kmdangi:
Hello [MENTION=3053298]Stryke_the_Orc[/MENTION] ,

I get following logcat message when I try to edit any photo on my Note 5, using note 8 ROM.

can you please help me to understand related file on my phone for this message ?

Thanks in advance !
[XDA-University] avirk:
[MENTION=3053298]Stryke_the_Orc[/MENTION]

Sir I have compiled the Du for my device and it stuck at boot-animation and I have grab the logs but I don't know what I need to do to fix it. Please help me to understand them what I need to fix them.

https://gist.github.com/avirk/5f8577004c6e5eadbec1dfe2ae36776a
[XDA-University] miffymiffy:
Wondering if someone can see if there is anything obvious in the logs as to why U11 dual SIM is crashing calls. Were still in alpha so it may be something else but I have no idea on these things. I can see a Java error re a null in the telephone app but not sure if that's the issue. Calls work fine on single sim. Any assistance would be appreciated
[XDA-University] sourav143:
Anyone here can read my logcat? Pls solve my problem, when i open paytm app my phone getting rebooted, pls check this, if u found any solution pls tell me

There is two logcats of same thing, if u find any common error pls tell
[XDA-University] Jitheshwar:
You need to take logs at the time of occurring of error, other logs won't help in solving the bug.
[XDA-University] sourav143:
I am opening the catlog app, its start capturing logs, then open that app, paytm then phone rebooted, these are collected if u found any thing then tell pls
[XDA-University] Jitheshwar:
What ROM you're using and which version, have you installed Xposed and any other mods?
[XDA-University] sourav143:
J7 15, On8 v2 port, xposed not installed, many mods installed but can u say pls this error occurs from which then i remove that?
[XDA-University] Jitheshwar:
The logs are too lengthy anyway I tried to look at the last lines of logs (as mostly error will be recorded at last before booting) but didn't seem to find any error apart from touch inputs and tz data errors. Will this random reboot happening with paytm only or with other apps too? Try reverting recently done changes also uninstall and reinstall paytm.
[XDA-University] Stryke_the_Orc:
Based on your logs from 12-02-2017, paytm is trying to get broadcast permissions that are being denied. This is then causing the application to hang, which cascades into the android system and eventually causes a reboot because processes are getting hung. One problem you have in trying to diagnose this is that you're using the catlog app. Don't get me wrong, the app is great for problems that don't send you into a bootloop or cause your phone to reboot, but this is like trying to diagnose a problem at boot on your PC with software installed on the OS. You just don't see everything you need to. Get a set of clean logs using adb, it'll be much easier for others to see the actual start/stop of the system.

FWIW - I took the "lengthy" logs and ran a simple search for paytm. Once I started seeing errors (denoted by the E/ in the log) surrounding the application, I simply read what was happening during that timeframe. Below are the most frequent entries surrounding the app.

[COLOR="Red"]I/InputDispatcher( 2824): Application is not responding: 13166 It has been 20004.9ms since event, 20004.6ms since wait started. Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 48. Wait queue head age: 20462.2ms.
12-02 10:27:15.839 I/WindowManager( 2824): Input event dispatching timed out sending to net.one97.paytm/net.one97.paytm.landingpage.activity.AJRMainActivity. Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 48. Wait queue head age: 20462.2ms.
E/d (13166): readAppPrivateFile() com.paytm.xEngage.props.json
D/ActivityManager(26894): resumeTopActivityInnerLocked() : #1 prevTask=TaskRecord{a46fcded0 #283 A=net.one97.paytm U=0 StackId=1 sz=1} next=ActivityRecord{af8d992d0 u0 net.one97.paytm/.AJRJarvisSplash t283} mFocusedStack=ActivityStack{6e0831dd0 stackId=1, 1 tasks}
12-01 23:18:30.453 D/ActivityTrigger(26894): ActivityTrigger activityPauseTrigger
12-01 23:18:30.462 V/Launcher(27938): Launcher.onPause()
12-01 23:18:30.462 W/BroadcastQueue(26894): Permission Denial: broadcasting Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } (has extras) } from com.sec.android.app.launcher (pid=27938, uid=10069) requires com.google.android.launcher.permission.RECEIVE_LAUNCH_BROADCASTS due to receiver com.google.android.gms/.icing.proxy.ApplicationLauncherReceiver[/COLOR]

Because it looks to be calling the Samsung launcher, your ROM simply may not be compatible with this app (I don't know, I don't know anything about the ROM you're running)

Hope that gets you on the right path :highfive:
[XDA-University] sourav143:
Thanks sir for your effort, for giving some time to read my logs, now tell pls what to do for paytm app running? & if u dont get the error then pls tell how i get accurate log file?

Matter- After opening the paytm app, its not working, hanged, if i touched 3-4times after some time its got rebooted & if i not touch after opening the app, when it is in hang, after 30-35sec its working

But want to solve this? Why this is not working & rebooted?
[XDA-University] sourav143:
Sir i followed ur method, i captured logs via adb, this is with filter "adb logcat ActivityManager:I Paytm:D *:S"

Please look once
[XDA-University] Stryke_the_Orc:
Grab a complete log using adb, then search for paytm. If you see errors immediately after the app launches that should indicate your problem. From the logs I saw before, it was related to Samsung Home.
[XDA-University] sourav143:
Bro please check this once

I taken again logs, this is only paytm app logs in that file, if any error comes, why that app not responding?
[XDA-University] Ribin Manuel:
Deleted
[XDA-University] sourav143:
E/AndroidRuntime(13932): Process: com.sec.android.app.camera, PID: 13932

E/AndroidRuntime(13932): java.lang.RuntimeException: setParameters failed

E/AndroidRuntime(13932): at com.samsung.android.camera.core.SemCamera.native_setParameters(Native Method)

E/AndroidRuntime(13932): at com.samsung.android.camera.core.SemCamera.setParameters(SemCamera.java)

E/AndroidRuntime(13932): at com.sec.android.app.camera.engine.CommonEngine.setParameters(CommonEngine.java:8936)

E/AndroidRuntime(13932): at com.sec.android.app.camera.engine.CommonEngine.setAllParameters(CommonEngine.java:5633)

E/AndroidRuntime(13932): at com.sec.android.app.camera.engine.CeStateInitialized.handleRequest(CeStateInitialized.java:117)

E/AndroidRuntime(13932): at com.sec.android.app.camera.engine.CeRequestQueue$RunFirstRequest.run(CeRequestQueue.java:353)

E/AndroidRuntime(13932): at android.os.Handler.handleCallback(Handler.java)

E/AndroidRuntime(13932): at android.os.Handler.dispatchMessage(Handler.java)

E/AndroidRuntime(13932): at android.os.Looper.loop(Looper.java)

E/AndroidRuntime(13932): at android.os.HandlerThread.run(HandlerThread.java)

This is logcat error from camera stopped working. Please tell how to solve this problem. What to change & where?
[XDA-University] nachordez:
Hi!

I'm having random (and often) reboots in my andoid Lenovo Yota Book (atom processor, BTW, and android 7.1) that I cannot trace to where they come from...

Here is the end of the last:kmsg (or better to say, the kernel oops file that substitutes it now). ¿Could you take a look and tell me if you see something there?

https://pastebin.com/JdnUs7rN

Thanks a lot!!
[XDA-University] gaganbajwa:
Plz any one help me i already fix this log but take second log its same how to fix this

This is my stock and port debug smali debug smali fixed plz check and help me

Already fixed but take second log its same
[XDA-University] androiabledroid:
01-01 09:37:57.595 8159 8159 F DEBUG : #00 pc 00025428 /system/lib/hw/camera.msm8916.so (_ZN7qcamera25QCamera2HardwareInterface10openCameraEv+207)

what does this line mean and how to fix it in sources
[XDA-University] joshi1:
[MENTION=3053298]Stryke_the_Orc[/MENTION] am trying 8.1.0 for mt6795 device ...bluetooth force closing so ril wifi gps and bt not wotking ..can u please tell what shall i do ..am providing logcat https://hastebin.com/etupuhemid.makefile
[XDA-University] akinis09:
Help analyze logcat

Can someone plz help read and analyze this logs
[XDA-University] Yogesh1969:
I am not able to locate what is stopping the device to boot ( I'm porting a rom ). The attached log.txt is the error log which is small. The second log1.txt is the full one. Please , if possible ,can you have a cursory look. Thanks.
[XDA-University] CuRs3d_As5a5s1n:
my instagram started crashing suddenly, don't know why, took logcat. Anyone can analyze it and explain? thanks!

I use xposed, but i tried many things, wiping dalvik, uninstalling xposed but the app still crashing on launch. Can't launch the app at all.

pastebin.com (/) RNcQ4ZAr
[XDA-University] ktmom:
If you look at the log, it is clearly complaining about Xposed. I would start with a dirty flash of your ROM and if there are still crashes with xposed references, I would then clean flash.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[XDA-University] CuRs3d_As5a5s1n:
I uninstalled xposed with their uninstaller, it still crashed. I clean flashed RR rom still the issue XD No idea what's causing it now
[XDA-University] ktmom:
Define clean flashed. Exactly what steps did you take?

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[XDA-University] CuRs3d_As5a5s1n:
backed up internal storage then wiped system, data, cache, dalvik, internal in recovery, then flashed the rom, supersu copied the internal storage data and installed my apps from playstore. Wanted to do a clean install from months but never got a good enough reason to. Sadly it didn't fix it. so probably not xposed as I never installed that in this. That's why uninstalling xposed didn't work. Bcuz I have been using the same xposed same app version for a long time. crashes started happening out of the blue, didn't even update instagram, cuz i have stopped auto updates. And i guess xposed is mentioned in logcat cuz i use Xinsta for instagram to download images. maybe xinsta is trying to hook into the app but even that's failing. and yes before checking i uninstalled xinsta and xposed. Never installed them in the clean though.
[XDA-University] ktmom:
Post a new log please.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[XDA-University] Stryke_the_Orc:
There's a reference call to a resource that is missing. If you keep reading that error, you'll find where the null pointer reference is and what it's pointing to.
[XDA-University] tcpcd:
i get this error any sollution??
[XDA-University] Xplorer4x4:
Very informative information!

I am trying to track down a bug in the logcat regarding Bluetooth on my device. I have a Moto G6+ and when LOS15.1 ROM (ROM Link - Sources) is flashed, we lose all calling via Bluetooth. We can not hear the person, and they can not hear us. We can, however, listen to music via Bluetooth. Here is my logcat: https://paste.ee/p/AQZqz

The times of the 4 phone calls are as follows:

22:58 (10:58 PM)

23:34 (11:34 PM)

23:37 (11:37 PM)

23:45 (11:45 PM)

Our devs don't see anything relevant in logcat but maybe an extra set of eyes can point out the problem for us.
[XDA-University] ktmom:
Here is his link from another thread where he posted: https://paste.ee/p/AQZqz

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[XDA-University] BLACK★ROCK SHOOTER:
https://drive.google.com/file/d/1OtjAbfbQIEvoDnQ6SDaMlL3Guv7n-0Ks/view?usp=sharing

I'm in trouble

The headphones and many of the Settings don't work

can you help me?
[XDA-University] Darth Bidder:
I need help with saving the logcat into a txt file.

It's just stuck there and it's been already 30 minutes and it doesn't save it.

Nvm. It was already stored on system32 folder.
[XDA-University] yazar rafi:
Anyone help me pls. Here is my logcat(level is error and format is time)

My issue is i turn on Bluetooth and pair it with car's audio. After successful pair i try to go settings>connection. When i tap connection the settings get force closed. Am using nemesis reborn v5.5 touchwiz rom in my galaxy s5 g900f. I can go to connection after turn off Bluetooth.

Here is a tip to easily track force close in logcat: settings force close happen after 21:0:0 time in logcat. So just consider comments after 21:0:0.

Thx in advance...
[XDA-University] luigge:
can someone help me? I'm trying to help someone providing a logcat from a rom that doesn't boot. lenovo k4 note.

he wants the logcat to fix this problem.

the problem is that as the room doesnt boot gets stuck on the lenovo logo I cant activate usb debugging. what to do? just downloaded android studio I will install and see if can make it to work
[XDA-University] Babile:
You can enable it in build.prop to be default. Grab it with adb and push it back i think.
[XDA-University] luigge:
the problem is that I can't fint build.prop it is not on the system folder

how I do this?

---------- Post added at 05:08 PM ---------- Previous post was at 05:02 PM ----------

can I activate from default.props? this archive I can find
[XDA-University] Babile:
Is that custom rom or stock? If its custom just unzip rom edit it and push. I dont think it will work in default
[XDA-University] JavixKGD:
Well, I see that you have a null point exception meaning that something is trying to grab something that is currently not there at the present time. For example, a method is trying to edit the text size of a text, but there is another method controling the visibility of the same text. If that switch for visibility is set to off, then the other method is trying to find something that is not presently there. What are you trting to accomplish? Is this still an issue? If it is, PM and I will try to help

Sent from my TWIZtd N8
[XDA-University] GeorgeChilian:
Hello, long story short I am trying to fix the camera for a LineageOS build for the Galaxy S8 and I with understanding the log cat. The paste bin is here: https://pastebin.com/2x6UjMZy

I am greatful for any help. Thank you
[XDA-University] ktmom:
Your log is full of: E exynos-libhwjpeg: Failed to open '/dev/video12' [Permission denied]

See if this helps.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[XDA-University] Weathered:
It would be very helpful if someone can help me with my problem. I am running LineageOS 15.1 on my Nexus 5X. My phone lags and freezes during charge if the battery is low. I managed to get a logcat.
[XDA-University] Simon1511:
Can anyone help me?

I used to install magisk, but for magisk hide I need logcat enabled.

Its disabled in the ROM I use (RR Pie on A5 2017).

How can I enable it?
[XDA-University] icxj1:
If you are rooted you can download any logcat app or kernel aduitor has logcat features. Or you can use logcat flasher zip from this thread.

https://xdaforums.com/general/xda-university/universal-test-rom-build-didnt-boot-t3258818

Flash zip, reboot, then reboot to recovery & open terminal. Then type cd /proc/last_kmsg /sdcard/kernellog.txt

Then logcat will be in internal storage.
[XDA-University] Simon1511:
I dont need to save the logcat as a file, it just needs to be enabled.

Magisk hide only works with logcat enabled, and for me its disabled but I dont know how to re-enable
[XDA-University] icxj1:
RR should have it in there settings, its enabled when you root. Probably should ask on the ROM thread, there isn't much action here now days.
[XDA-University] snekkill:
Hello People. can here than help, in general there is omnirom where bluetooth works incorrectly i. A2DP profile does not connect .

E BluetoothRemoteDevices: devicePropertyChangedCallback: bdDevice: 1C:52:16:88;D2:76, value is empty for type: 10
E bt_btif : btif_hf_upstreams_evt: Invalid index 26995
E BluetoothAvrcpController: Could not bind to Bluetooth AVRCP Controller Service with Intent { act=android.bluetooth.IBluetoothAvrcpController }
E BluetoothAvrcpController: Could not bind to Bluetooth AVRCP Controller Service with Intent { act=android.bluetooth.IBluetoothAvrcpController }
W bt_btif : BTHF: btif_hf_check_if_slc_connected: No SLC connection up
E BluetoothHeadsetServiceJni: Failed report phone state change, status: 2
W BluetoothAdapter: getBluetoothService() called with no BluetoothManagerCallback
E bt_btif : reset flags
E bt_rfcomm: PORT_DataInd, p_port:0xd7e1abdc, p_data_co_callback is null
E bt_rfcomm: PORT_DataInd, p_port:0xd7e1abdc, p_data_co_callback is null
E bt_rfcomm: PORT_DataInd, p_port:0xd7e1abdc, p_data_co_callback is null
E HeadsetStateMachine: processVendorSpecificAt: unsupported command: +XAPL=0000-0000-0100,7
E bt_rfcomm: PORT_DataInd, p_port:0xd7e1abdc, p_data_co_callback is null
E HeadsetStateMachine: processVendorSpecificAt: unsupported command: +IPHONEACCEV=2,1,7,2,0
E bt_rfcomm: PORT_DataInd, p_port:0xd7e1abdc, p_data_co_callback is null
E bt_rfcomm: PORT_DataInd, p_port:0xd7e1abdc, p_data_co_callback is null
E bt_btm : tBTM_SEC_DEV:0xd6d93008 rs_disc_pending=0
W bt_btif : bta_dm_check_av:0
W bt_btif : btif_dm_cback : unhandled event (14)

Here is the error log, here is the usual log

here is logcat.logc

I tried to replace bluetooth.default.so and Bluetooth.apk (the difference in weight of the apk is almost 5 mb) falls with an error even if they are thrown away separately.

and the rest of the bluetooth files were casting on effect 0. borrowed from aosp.

maybe who faced it?
[XDA-University] mahmmoud1231:
Hi guys I really need help here if possible I can't hear any voice when calling nether the one who am calling I made a log for the calling process I saw errors and warning but didn't know what to do here is the call log:

https://hastebin.com/uboricekuh.rb

Thank you for your time.
[XDA-University] dedq:
Does error or fatal error produce random reboots i am experiencing?
[XDA-University] ShaDisNX255:
It could, yes.

You can also look for "Shutting down VM" or "runtime abort"
[XDA-University] dedq:
Thank you, could that be found in LogCat Reader on Android?
[XDA-University] andreas123lb:
im new to this, can someone explain how to take kernel log after random reboot?
[XDA-University] ktmom:
It matters what version android we're talking about. Stack Overflow link discusses a couple of different ways.
[XDA-University] andreas123lb:
thanks ,according to your link soo the comand is cat/proc/last_kmsg, and to write the comand in terminal emulator sir?
[XDA-University] jcmm11:
if you're running a newer version of Android/kernel that location has changed as mentioned further down the linked thread).

So if that file doesn't exist then use:

cat /sys/fs/pstore/console-ramoops-0

Note that the files won't exist unless you had a kernel panic causing an unexpected shutdown.

If you're rooted with Magisk the linked post contains a Magisk Module which will automatically retrieve the ramoops file and copy it to /sdcard

https://xdaforums.com/pixel-3-xl/de...ra-1-0-0-pixel-3-xl-aka-t3864563/post79933175

If you're creating last_kmsg instead then you'll have to modify the service.sh script. Exact location is in the post.
[XDA-University] ktmom:
Again, it depends on Android version. at least three different locations are discussed in that thread.
[XDA-University] pawar21:
freshly compiled havoc os not passing havoc boot animation

Here is logcat att plz help
[XDA-University] BeeJ1109:
Is there Concise guide for Matlog that explains all functions in a logical order.

1. To setup all parameters first.

2. Record a log.

3. Get application that has errors started.

4. Get errors from the mishaving app. ie cannot login to server. "User name or password incorrect" message.

5. Stop recording and save log.

6. Open the log and display it. Using log, search keywords, to isolate errors within log.

7. Open log and use log levels to reduce no. Lines of text to display the problem, using search again to use keywords. To further reduce no of lines appropriate to the issue.

Methods include using Matlog app. or ADB commands on PC. Which is best method.

Cheers
[XDA-University] ParanoidNemo:
clean built POSP that get stuck on bootanimation. I cannot really understand what's the problem even reading the log output. I've took it from adb while trying to boot for more or less 10 minutes.

Someone have the time to help me understand it?

https://del.dog/irimenucys

Thanks a lot.
[XDA-University] Stryke_the_Orc:
Thank you for the app, I will add it when I get out of work. I'll reformat the OP as well.

Slithering from the nether regions of a twisted mind and tarnished soul now Free
[XDA-University] Stryke_the_Orc:
I'll take a look at this later today when I'm home

Slithering from the nether regions of a twisted mind and tarnished soul now Free
[XDA-University] Ghostfreak NB:
Congrats on making it to the Portal.. :)

Will link it in my Help thread as soon as possible..
[XDA-University] shoman94:
Nice job on the guide.... I will link from my OP's for sure.

--Your fellow Mainer.....
[XDA-University] Stryke_the_Orc:
No kidding? Where about in Maine?

Slithering from the nether regions of a twisted mind and tarnished soul now Free
[XDA-University] gs.strider:
Thanks for the nice tutorial
[XDA-University] Stryke_the_Orc:
Hi, sorry for the quick skim over your post earlier, I was at work.

It sounds to me like you're being disconnected when you force close, or clear logs. I have had it happen to me on multiple occasions when attempting adb on wifi, as well as other issues. Now normally I'm not one for giving up, but the level of frustration with attempting to do this over the network was more than I could stand. As long as you're able to get your logs via adb using a cable, I'd chalk this issue up to a bug Google hasn't fixed. Sorry that I couldn't be more helpful, perhaps someone else will come through and have an answer for us both :D
[XDA-University] shoman94:
I live in Saco and work in Kittery... but I'm from the County. ;)
[XDA-University] Stryke_the_Orc:
I hear that. I live in Central Maine, work in Western but grew up Down East LOL.

Slithering from the nether regions of a twisted mind and tarnished soul now Free