yashsingh1/xdaforums huggingface dataset:
[XDA-University] and2:
Thanks mate and i've got it. I had to delete the method "com.samsung.android.app.cocktailbarservice.settings.SettingsSearchReceiver.setStyledClockSettingsVisibleInSFinder" and some links to it.
[XDA-University] haseogu:
Hi., I have redmi note 2, I restore my BBM with TiB from redmi note 4g. And I get force closed message.. I can't paste it in paste bin, I hope you will look this log https://www.dropbox.com/s/fpjtfd12y0civms/2013-09-27_17-19-34.log?dl=0

Sent from my Find7
[XDA-University] shivbagdi:
How to Filter your Logcat can you explain this guide in easy way with some pic example its very help for newbie on xda
[XDA-University] DutchMan_1990:
Can anyone help me to hunt down this error. Here is log .

Camera apps is rebooting device.
[XDA-University] vuvkar:
Hi, friends, I am trying to build MM for HTC incredible s, so in short, after succesful building, I get error with camera, the phone doesn't boot, after deleting libcamera.so it boots, don't know what to do, Hope you would help

logcat -- http://pastebin.com/VLEby3b8

dmesg -- http://pastebin.com/hCrdAZ7h
[XDA-University] blackhawk_LA:
I'm having a very annoying FC in email app, and seeing the logcat I'm not able to identify the problem. Any help? Thanks in advance
[XDA-University] Mokin:
I have my gapps crash, my settings crash, my facebook, my instagram, my messenger crash, i even have my network crash, my alarm crash, my launcher crash and i am crazy... I wish someone can help me, thanks
[XDA-University] Sam Nakamura:
Is this normal, catlog shows only errors after boot but phone behavior is normal, smooth and unlaggy?
[XDA-University] MAG314159:
Can someone please help me with this logcat?What do MediaPlayerFactory,audio_route and the other errors mean?Thanks in advance! :D
[XDA-University] lalith24:
How to filter only particular type of errors ?
[XDA-University] ktmom:
From post 3 in this thread:

What relevance was quoting the post you did?
[XDA-University] matrixex:
Thanks for awesome guide sir
[XDA-University] Sczar:
Help Please

I ported Darklord S7E rom to Verizon wireless. Everything is going well except. If I am on a phone call and the other person hang up first I get (unfortunately com.android.phone has stopped) FC. and will lose all connections. the only way to get it back is to restart the phone or activate then deactivate Airplane mode.

But if i hang up first everything is ok I dont get FC.

To make things more clearer. Users on gsm dont have that problem. But users on CDMA have that problem.

I attached a E/ Logcat. Ive been searching for more than a month with no luck so far. Any help would be appreciated.

Thanks in advance.
[XDA-University] Dvalin21:
Much help is needed. All I'm trying to do is create a zip installable stock rom for my phone (Cube T7) and I constantly get the following errors

E/POAD ( 256): boot_mode = 0

E/POAD ( 256): update boot reason = 0

i've posted my logcat. Thanks in advance.

Logcat
[XDA-University] mdmaher:
Hi

Thanks for the tutorial. But I got an error in log cat.

Please

Can you help me with that.
[XDA-University] tdunham:
That shows problem with floating feature xml you can look there to see if something is missing if you are porting an app or something.

By itself, a screenshot it isn't enough to go by. You would need to provide a full log and explanation of what you are trying to do as well that is causing the problem.
[XDA-University] mdmaher:
Thanks

I was trying to port samsung music
[XDA-University] akinis09:
plz help me analyze this camera & wifi logcat error

I successfully ported miui ROM from leeco le2 to Coolpad cool1 after fixing many bugs but find it very difficult to fix both wifi & camera bug. Please I need someone to please help me analyze this logcat. Thanks in advance.
[XDA-University] FREEZDROID:
very informative
[XDA-University] jaklm:
After a lot of searching for a way to solve the problem the device is still stuck on the rom logo please help me fix it

i ported cm12.1 using cm11 as a base

thank you in advance

about the logcat how can i get it from TWRP?
[XDA-University] azzikaran:
Tysm Bro :D:fingers-crossed:
[XDA-University] Sam Nakamura:
It's not possible from twrp, you'll need a pc for that, you can easily Google which setup you'll need on the pc to get logs from bootloop...
[XDA-University] kos25k:
hello and thanks for the app.I have the worst bug ever and I hope someone from here can help me.I have a moto x play stock rooted with xposed v87 arm sdk 23 with many mods.my problem is that they call me,they hear the call-beep sound but my phone does nothing!no ring,no wake up,no missed call notif. nothing but ghost call!it wakes up only if I manually open the screen and then rings.I have lost many important calls.yestersay I was lucky enough to catch a log with your app.I called from another phone to mine.it rung about 9 times (at this point,phone was dead-sleeping)then I opened the screen and it rang for a sec. and closed.the call was made to my phone at about 20:45.I asked in many forums but noone is willy to help me.so I ask here.any help from what is causing this,would be highly appreciated..thanks. https://www.dropbox.com/s/w6xrz84rk3u62aj/calldelay2045.txt?dl=0
[XDA-University] jcmm11:
Does it still happen if you remove exposed?
[XDA-University] kos25k:
I havent tryied dude cause I have many xposed module's.today I noticed that with freezing root call blocker (but was inactive already) and uninstalling device id changer xposed module,my phone seems to ring normally.in the logcat I provided I saw about 20 times a specific same line which says : E/Xposed (8043): java.lang.NoSuchMethodError: com.android.internal.telephony.PhoneSubInfo#getDeviceId()#exact.as I saw this module was active but not set to ranfomize phone id etc..don't know really ehat happens...
[XDA-University] jaklm:
can u please help me and give a link for that.
[XDA-University] ktmom:
Read posts #1-4 in this thread. All the info you need is there.
[XDA-University] jaklm:
Thank you
[XDA-University] Ashish.akc:
Am using op3 with Freedom OS 2.10 CE build. My phone sometimes acts like it's dead. No response to buttons, touchscreen or the charger. I have to hold down the power button for a couple of seconds in order to forcefully reboot it.

Am not sue if the first log would have capured anything important as i don't remember if the app was running while the phone acted wired but am damn sure with the second one.

Update: i faced two of these hiccups back to back. Also my alarm did not rang because of this. Adding two more logs.
[XDA-University] foudroid:
Need help reading this logcat.and find fix. Stuck in bootanimation.
[XDA-University] ktmom:
If you're still looking for help, you need to supply more information.

The "log file" is corrupt. It looks like a grab of a terminal window that is smaller than the line's length. The end of every line is truncated. Please read through the beginning of this thread and pipe the output of your a ADB log straight into a file.

Additionally, knowing your device, ROM, modifications (e.g. Root method, exposed ...) and what triggered the bootloop would hep -just updated ROM? Installed root? A theme? Something else?
[XDA-University] foudroid:
Yes ! I just copy and past the output of an adb terminal logcat. Can'export the log cause there is no key ">" in my keyboard and don't know how to do. Can't use the command "adb logcat >logcat.txt".

And about the rom : i'running CM12.1 mtk6753chips try to port xenonhd android 7.2.1 from other device which have same spec., dtuck in bootanimation with that log !
[XDA-University] jcmm11:
If you have the | key then try this

adb logcat | tee logcat.txt

That will write output to both terminal and file.
[XDA-University] tobi/:
help !

hv been trying to port a samsung keyboard rest of the errors were easyto fix but unable to decipher this one.what file should i edit n where i can find it....lend some assistance thnk u

#logcat

07-07 14:33:31.923 11306 11465 I ActivityManager: Start proc com.sec.android.inputmethod for service com.sec.android.inputmethod/.SamsungKeypad: pid=12601 uid=1000 gids={41000, 3003, 3002, 3001, 1028, 1015, 1023, 1007, 1001, 2001, 1024}

07-07 14:33:32.033 12601 12601 E AndroidRuntime: Process: com.sec.android.inputmethod, PID: 12601

07-07 14:33:33.585 11306 11465 I ActivityManager: Process com.sec.android.inputmethod (pid 12601) (adj 0) has died.(11,134)

07-07 14:33:33.585 11306 11465 W ActivityManager: Scheduling restart of crashed service com.sec.android.inputmethod/.SamsungKeypad in 1000ms
[XDA-University] Limon_Brownlee-LHHRI:
Please Help

---------- Post added at 11:13 AM ---------- Previous post was at 11:04 AM ----------

@Stryke_the_Orc

Builded Miui 8 from patchrom source but stuck in bootanimation help please

Here logcat miui.txt ??? please someone check and help me to get it boot please

https://www.androidfilehost.com/?fid=817550096634784872
[XDA-University] foudroid:
Here is the correct logcat. Try to port xenonhd android 7.1.2 to my elephone p6000 pro.stuck in boot animation.please need help to find fix !!!!!
[XDA-University] Slimegod:
The pastebin link, yeah.
[XDA-University] Stryke_the_Orc:
You should be all set except for the fatal error. Google that one to find our what it is.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Slimegod:
Ok thanks. Will keep you updated on the progress.
[XDA-University] Myrder:
I'm helping as him as well. I noticed you're unfamiliar with that ast error, so I decided to inform that way you could help more people out.

any time a system_server FATAL error shows up, the person is missing a lib, binary, or executable binary(/lib, /bin, /xbin).

as for the dalvik error, my hunch is he is missing a method.
[XDA-University] Slimegod:
Ok cool...listen I was thinking the ROM I'm running now is the exact port from what I'm trying to port from, just wanted a fresh port. The only difference is the base. So do you want the original ROM from where I got the port from or the port I'm running now?
[XDA-University] Stryke_the_Orc:
Added a poll to the thread. I figured it would be interesting to see how this guide is being used.

Poll is multiple choice, Publicly viewable, and will help me determine what else may need to be included in the guide.

Thank you for taking the poll:D
[XDA-University] Stryke_the_Orc:
Not really sure I understand what you're asking. If you look at the original ROM you're trying to port, and compare the libs, etc. with yours, you should see whats missing to help fix the fatal error.

Also, just so I understand, you're porting a port? As in porting this to your device, using a ROM that was already ported to that device, from another device? If this is the case, why not just port the original ROM from the original device?
[XDA-University] Slimegod:
Yeah I'm doing a port from a port. The whole thing is it's a Chinese ROM converted to a U.S. version I think. So this is my 1st time porting. And porting international ROMs can brick your phone plus is extremely hard so I'd figure go this route and learn this way 1st
[XDA-University] Stryke_the_Orc:
That makes a bit more sense now.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Slimegod:
Wasn't able to send this via PM Stryke my bad foot posting it here. But this is the error I get. I have a class.dex but I don't see the new apk that I did changes on.
[XDA-University] Stryke_the_Orc:
That's quite alright. I'm having a hard time reading the errors in the images, is there any way you might be able to grab an actual screen shot? (Jing is great for this ;) )

It appears that some of the text is cut off in the image as well. I'll try to clean it up a bit, and if I can make it out I'll post back here:good:

EDIT - Your resources aren't in the directory being specified.
[XDA-University] Slimegod:
That's from my computer, did the best I can do. If you view it from your phone you can zoom in and see it better, sorry about that.
[XDA-University] Stryke_the_Orc:
On the off chance that it's the tool giving you trouble, try this. It's really the only tool I use.
[XDA-University] Sloth:
There is an extension for chrome that allows you to make screenshots

Sent from my ElipticNexus7 :p
[XDA-University] Stryke_the_Orc:
Bump it back to the top. :p
[XDA-University] Stryke_the_Orc:
Updated OP to include the Advanced Logcat Viewer tool by [MENTION=2295247]Diamondback[/MENTION] , be sure to thank him for this amazing program and his other works Virtuous Ten Studio :highfive:
[XDA-University] Robbie P:
Congratulations on making the Portal.:highfive:

Excellent job:cool:
[XDA-University] ranf:
One more useful app: sendlog (id=org.l6n.sendlog)

And please remove this centering. Close to unreadable now.
[XDA-University] junang:
Logcat over wireless network

Sorry for this noob question and please kindly lead me to the right place if I misplaced this kind of question.

i wanna know why if i'm using adb over network(wifi) the logcat provided in eclipse IDE showing the log without problem both filtered and all messages, but at some occasion (like program i'm testing being forced closed or i click the clean log list button) the logcat mysteriously stopped working, it won't show any log anymore. even by forcing the output using System.out.print().

is there anyone facing this kind of problem? i tried to find the solution in google but so far nothing very helpful.

My development environment:

Windows 7 professional 32bit

Eclipse Kepler

latest android SDK

Adb over network(provided by pac man ROM 10.2)

Device: HTC one S villec2

note: pushing apk to device is ok, but only the log is showing odd response, is it normal or random bug? while using usb cable debugging mode, i did not encounter this problem.

thanks for the helps :)
[XDA-University] Stryke_the_Orc:
Sweet! I didn't know I had...

Slithering from the nether regions of a twisted mind and tarnished soul now Free
[XDA-University] jcmm11:
No logcat attached ?
[XDA-University] foudroid:
Sorry !file was too large for .txt !i zip and reupload.here it is !
[XDA-University] gauravbhakuni90:
Hello, I wanted to ask that I flashed new rom with clean flash (data,system,caache,artcache) and then flashed the new rom. Now the rom gets stuck at bootanimation and stays there . Since rom hasn't booted once enabling usb debugging goes out of the question and when it was booting after the bootlogo i tried to take logcat while boot animation was going on but all I was getting was waiting for device message . I even tried kmesg,and dmesg and It says device/emulator not found. What should i do now ??

Many thanks.
[XDA-University] ktmom:
Pull the battery or whatever you have to do to kill the process and boot to recovery.

You could try again or flash a different ROM or stock.

You could ask in the ROM forum -the one that's bootlooping - to make sure you followed the correct procedure for that ROM.
[XDA-University] gauravbhakuni90:
I know that i can flash the other rom but i really wanted to help the developer and try the rom . And in the process learn new things . Flashing another rom is always an option but currently i don't want that i want to have a solution . I want to learn that . [MENTION=3053298]Stryke_the_Orc[/MENTION] can you help me dear.

Thanks.
[XDA-University] ktmom:
From the first post:

I'd have thought you grasped the concept that if your not getting far enough in the boot process to be recognized by adb, then your not going to get a log "to help the developer". The issue with capturing a logcat during a bootloop is that the boot process has to be far enough along to have started the adb daemon.

Have you saved a copy of the log made during flashing? You should be able to pull that off your device in recovery, right after flashing. At this stage, it's most likely that log will give a clue.

It sounds like there is something more fundamental going on. Go back to the ROM thread and make sure things like flash order, bootloader and recovery versions, additional packages that are/not required are all being followed. Make sure you check md5 (if available) for all downloads packages or that zip verification is turned on prior to flashing. I'm not saying that this is the problem, but it happens to people (more often than you'd think) that the ROM they downloaded wasn't actually for the device they're putting it on. You'll have to figure out what fundamental thing is stopping the boot process.
[XDA-University] tdunham:
Additionally, on many of the newer android builds, it is very difficult to establish an adb connection due to the integrated RSA security that is built in (that authorization popup to allow secure adb connection the first time). So it is a catch 22... if the rom wont boot at least once, you cant get that RSA key established for adb troubleshooting.

Also, bootanimation bootloops are frequently framework related issues.
[XDA-University] gauravbhakuni90:
[MENTION=6617276]ktmom[/MENTION] double checked every thing . With all due respect whatever you said i do check that every single time with every single device i have . I am just asking if is there a way to get logs when it is stuck at bootanimation . Recovery logs yes i have but it shows nothing wrong. And if i download wrong file for wrong device i should get twrp error 7 or else , don't you think ??

[MENTION=1042140]tdunham[/MENTION] that is the thing . That is why i said since rom is not booted once . Jab debugging and RSA keys goes out of the question .

Edit - found two threads where i can get logs at bootanimation gonna try that.
[XDA-University] Yogesh1969:
I have to say that for getting adb and logcat, please try the following as I had a very good experience while porting roms.

I felt irritated that I couldn't get adb and logcat, so I experimented. Getting adb was necessary to boot to recovery too as I didn't like pressing the buttons every time .

In boot.img

1. Editing the default.prop with addition / modification of those lines if you know persist.xxx. enable, ro.debugging.xx etc.

These values were enough for me, but exceptions may be there

ro.adb.secure=0

persist.sys.usb.config=mtp,adb

persist.service.acm.enable=0

ro.secure=0

ro.debuggable=1

persist.service.adb.enable=1

persist.service.debuggable=1

2. Replacing those files fstab.mt6xxx.rc, init.mt6xxx.rc, and init.mt6xxx.usb.rc
[XDA-University] Limon_Brownlee-LHHRI:
Please help me

Here is logcat

http://cloud.tapatalk.com/s/5948eb6fc78d0/2017-06-20-14-54-10.txt

Problem is my when I turn on data connection my Sim get disconnect and after 10 sec it get connected and then again it get disconnect

Until I turn off My data connection it gonna act like that

So please check logcat and help me please
[XDA-University] oriped:
android starts crashing every app after some time

hey guys,

I'm running a good old oneplus one with CM Version: '13.0-ZNH5Y-20170430-STABLE-Sultan-bacon', rooted (supersu) and xposed module installed.

one day apps started crashing when I wanted to open them ("unfortunately, app1 has stopped"), so i flashed my phone with the same rom and re-installed the apps using titanium backup. everything was fine for around 5 days but then the same problems returned.

the thing is, it doesn't happen in the first hours after reboot and it gets worse if I'm connected to a wifi.

Could someone please take a look at the logcat and tell me what to do? I'm getting crazy :eek:

thanks a lot
[XDA-University] nophyan:
Very confusing to find the error code, please help what should i do

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
at com.android.systemui.statusbar.phone.KeyguardStatusBarView.onBatteryLevelChanged(KeyguardStatusBarView.java)
at com.android.systemui.statusbar.policy.BatteryController.addStateChangedCallback(BatteryController.java)
at com.android.systemui.statusbar.phone.KeyguardStatusBarView.setListening(KeyguardStatusBarView.java)

This is the smali

.method public onBatteryLevelChanged(IZZ)V
.locals 8

invoke-static {}, Ljava/text/NumberFormat;->getPercentInstance()Ljava/text/NumberFormat;

move-result-object v2

int-to-double v4, p1

const-wide/high16 v6, 0x4059000000000000L # 100.0

div-double/2addr v4, v6

invoke-virtual {v2, v4, v5}, Ljava/text/NumberFormat;->format(D)Ljava/lang/String;

move-result-object v1

iget-object v2, p0, Lcom/android/systemui/statusbar/phone/KeyguardStatusBarView;->mBatteryLevel:Landroid/widget/TextView;

invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

iget-boolean v2, p0, Lcom/android/systemui/statusbar/phone/KeyguardStatusBarView;->mBatteryCharging:Z

if-eq v2, p3, :cond_1

const/4 v0, 0x1

:goto_0
iput-boolean p3, p0, Lcom/android/systemui/statusbar/phone/KeyguardStatusBarView;->mBatteryCharging:Z

if-eqz v0, :cond_0

invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/KeyguardStatusBarView;->updateVisibilities()V

:cond_0
return-void

:cond_1
const/4 v0, 0x0

goto :goto_0
.end method
[XDA-University] ballerd:
.

On reading your logcat I would need further information like the log from xposed I'd say it could be a xposed module that's the issue without the log am just guessing try disabling all modules then turn on one at a time and see if u can find the culprit and also are u restoreing data with titanium backup some times this can cause issues try just restoring apps with no data also try different ROM or update are you using custom kernel etc etc also if its a google app that's crashing then you can try different version of opengapps also if u have reboot issues I couldent help without a last_kmsg log or dmesg I'd try kernel auditor it has built in feature to save a kmsg and dmesg to sdcard with out having to use adb or a terminal hope I helped you would be glad to assist you in future if u can provide the logs I asked for if not unfortunately I won't be much use with out them :)
[XDA-University] Stryke_the_Orc:
The first line is your error. It's trying to set the text value of something that doesn't exist.
[XDA-University] nophyan:
This line?

invoke-static {}, Ljava/text/NumberFormat;->getPercentInstance()Ljava/text/NumberFormat;
[XDA-University] Stryke_the_Orc:
"java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference

at"

The lines following that show you where the values are (trying to be) being written. Follow the paths in the error to find the appropriate functions/methods being called.
[XDA-University] nophyan:
Yes i know it, but i dont understand with "Attempt to invoke virtual method " i checked on line android/widget/TextView.setText(java that calls on framework.jar, then i decompile framework to view the code is there. And the method is present
[XDA-University] Stryke_the_Orc:
Correct. Where you're experiencing the error is in the two methods trying to set the widget text.

Lol for these lines "invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V"
[XDA-University] nophyan:
Should i delete these line?
[XDA-University] Stryke_the_Orc:
You can try commenting them out, but I wouldn't delete them.
[XDA-University] nophyan:
Can you give me an example to commenting out, i'm bad on coding ?
[XDA-University] Stryke_the_Orc:
You just put # in front of the line you want to comment out.
[XDA-University] nophyan:
I've got new error when commenting out that line

java.lang.IllegalArgumentException: SlidingChallengeLayout must be measured with an exact size
[XDA-University] CuRs3d_As5a5s1n:
Hi guys, since a few weeks I have been getting crashes whenever I launch either CM Applock or ES File Explorer. I have tried a lot of things, I use xposed so i reflashed my rom without it and still it crashes, I tried using different kernel still it crashes, tried different SuperSU still same. My device is Redmi note 3 Pro and I use a custom rom Resurrection Remix 5.7.4 marshmallow. I reflashed three time but the issue still comes up. Note that the apps are fine when I flash it, but after I install all my apps, either directly through playstore or Titanium Backup, the crashes start. I have the logcat here, i started the logcat then clicked CM Applock then it crashed and then i stopped the logcat. Thanks.

pastebin (dot) com (/) awDC4KV9