why my cat /proc/kmsg gets killed? - General Questions and Answers

Is it another way to follow what's going on?
Dmesg hasn't a "-f" option like Tail...

fbs said:
Is it another way to follow what's going on?
Dmesg hasn't a "-f" option like Tail...
Click to expand...
Click to collapse
Anyone?

Related

Question: How do i check if swap on mmc is enabled?

like the title says....
Killadude said:
like the title says....
Click to expand...
Click to collapse
in shell
cat /proc/swaps

How to save a logcat?

Because a problem with an app and supersu right after entering the Sim pin, I'd need to post a logcat dump, but honestly I never did it.
How can I do that?
Does logcat contains private information like imei, tel numbers contact and so on?
zooster said:
Because a problem with an app and supersu right after entering the Sim pin, I'd need to post a logcat dump, but honestly I never did it.
How can I do that?
Does logcat contains private information like imei, tel numbers contact and so on?
Click to expand...
Click to collapse
Logcat doesnt give any private information away and it is done via the adb command:
adb logcat > log.txt
This will save the logcat to log.txt file. Or there is a tool in the Sensation Themes and Apps section that gets logcats easyily - search for it
zooster said:
Because a problem with an app and supersu right after entering the Sim pin, I'd need to post a logcat dump, but honestly I never did it.
How can I do that?
Does logcat contains private information like imei, tel numbers contact and so on?
Click to expand...
Click to collapse
i found it for you man http://forum.xda-developers.com/showthread.php?t=1838323
But it's always needed a computer... Isn't there a way to save it directly on the phone?
zooster said:
But it's always needed a computer... Isn't there a way to save it directly on the phone?
Click to expand...
Click to collapse
Download alogcat from Play Store
zooster said:
But it's always needed a computer... Isn't there a way to save it directly on the phone?
Click to expand...
Click to collapse
You could run "logcat > log.txt" (ignoring the quotes) from a terminal on the phone.
Make sure you go to a sensible directory first so you know where it's been saved. I'd suggest "cd /sdcard".

Linux problem! (SOLVED)

Could any linux experts or guru help me with this? I was using "make clean" in the ubuntu terminal and after that I had this error measage: "bin/sh: command not found". I use the "make clean" cmd many times before without any problem. This error message happened right after using the make clean cmd... I am totally new to linux and android and trying to learning them. Could someonepoint me to the right direction please? Thanks.
LetMeKnow said:
Could any linux experts or guru help me with this? I was using "make clean" in the ubuntu terminal and after that I had this error measage: "bin/sh: command not found". I use the "make clean" cmd many times before without any problem. This error message happened right after using the make clean cmd... I am totally new to linux and android and trying to learning them. Could someonepoint me to the right direction please? Thanks.
Click to expand...
Click to collapse
Your building a kernel??
Try this in the root of your kernel directory
Code:
make mrproper
lj50036 said:
Your building a kernel??
Try this in the root of your kernel directory
Code:
make mrproper
Click to expand...
Click to collapse
Yes, I am trying to learn.... I will try your cmd, thanks.. Do you know what cause that error message?
LetMeKnow said:
Yes, I am trying to learn.... I will try your cmd, thanks.. Do you know what cause that error message?
Click to expand...
Click to collapse
_that would know better then I :silly:
lj50036 said:
_that would know better then I :silly:
Click to expand...
Click to collapse
Thanks lj... A double troubles...:crying: I am trying to learn two environments at the same time,, haha...
LetMeKnow said:
Could any linux experts or guru help me with this? I was using "make clean" in the ubuntu terminal and after that I had this error measage: "bin/sh: command not found". I use the "make clean" cmd many times before without any problem. This error message happened right after using the make clean cmd....
Click to expand...
Click to collapse
Never seen this error when running "make clean". Were you in the correct directory?
(btw, I asked a moderator to move this question out of my kernel thread, as it is unrelated)
lj50036 said:
Your building a kernel??
Try this in the root of your kernel directory
Code:
make mrproper
Click to expand...
Click to collapse
Thanks lj. make mrproper did not solve my issue... I am ended up with a hard way to resolve my issue, hehe...
_that said:
Never seen this error when running "make clean". Were you in the correct directory?
Click to expand...
Click to collapse
Yes, I was in the right directory when I executed the cmd...
_that said:
(btw, I asked a moderator to move this question out of my kernel thread, as it is unrelated)
Click to expand...
Click to collapse
I should not ask the question on your thread from the beginning with any way, sorry. I thought that I could keep all the kernel related information in one place so if someone would like to learn how to build the kernel can access to all the information even with the issues. I am sorry. It is my bad but it is a good intended purpose...

[SOLVED][Q] Can't turn on WIFI on CM12

as topic - It's only me having problem to turn wifi on on cm12 nightlies? Yes, I know it's nightly, but this is just question
srsly? No answers?
hexen88 said:
srsly? No answers?
Click to expand...
Click to collapse
FWIW, I also don't get a connection. I restored my APs using a titanium backup taken from stock lollipop. All APs appeared to have been restored ok, and I did see the list of available APs in the vicinity including my router, but I just didn't get a connect.
Edit: I've done some more research and it seems that those issues are related to the Fritzboxes AVM, though I have no idea what makes them special. Maybe some detail about the DHCP implementation or so.
in my case i just can't turn it on...
hexen88 said:
in my case i just can't turn it on...
Click to expand...
Click to collapse
SOLVED by repairing permissions, but if any of user have same problem can simply do this:
The solution was to simply change ownership back to system:wifi
$ adb root
$ adb -d shell
# cd /data/misc/wifi
# chown system.wifi wpa_supplicant.conf
# reboot
how to do that?
i have same problem, cant turn on wifi
and I dont understand much that changing permision so could any1 of you post guide for nubs = me?
martinad said:
i have same problem, cant turn on wifi
and I dont understand much that changing permision so could any1 of you post guide for nubs = me?
Click to expand...
Click to collapse
follow all steps from post #5
You need adb on your PC and root access. All guides are available in the sticky threads.
Primokorn said:
follow all steps from post #5
You need adb on your PC and root access. All guides are available in the sticky threads.
Click to expand...
Click to collapse
how is the command for BT please? coz it doesnt work neither
martinad said:
how is the command for BT please? coz it doesnt work neither
Click to expand...
Click to collapse
BT?
Do you have ADB on your PC? Do you have root access on your device?
First off, use the command adb devices to check if the device is correctly connected & recognized.
Primokorn said:
BT?
Do you have ADB on your PC? Do you have root access on your device?
First off, use the command adb devices to check if the device is correctly connected & recognized.
Click to expand...
Click to collapse
i meant Bluetooth, same prob as with wifi. Cant turn it on
martinad said:
i meant Bluetooth, same prob as with wifi. Cant turn it on
Click to expand...
Click to collapse
Flash the factory images but I think you'll have to send it to a repair shop. Several threads have been opened on this topic like this one: http://forum.xda-developers.com/google-nexus-5/help/wifi-stuck-t2721643
Good luck.
hexen88 said:
SOLVED by repairing permissions, but if any of user have same problem can simply do this:
The solution was to simply change ownership back to system:wifi
$ adb root
$ adb -d shell
# cd /data/misc/wifi
# chown system.wifi wpa_supplicant.conf
# reboot
Click to expand...
Click to collapse
I have a rooted One X (Evita) and I can't get the wifi to work pass any cm11 nightly released after June of last year. When I install any of the nigthlies after that date the wifi won't turn on and the problem has transitioned to cm12.
I know it's not a hardware problem because the wifi works with an older cm11 nigthly. Can anyone please tell me what to do because I tried almost everything including the solution posted in this thread.
hexen88 said:
SOLVED by repairing permissions, but if any of user have same problem can simply do this:
The solution was to simply change ownership back to system:wifi
$ adb root
$ adb -d shell
# cd /data/misc/wifi
# chown system.wifi wpa_supplicant.conf
# reboot
Click to expand...
Click to collapse
Hi @hexen88, i tried the above and it worked perfectly for a while now. and since yesterday i am having same problem, and by using the above trick it works for a while then again my wifi stops working. Can any thing else be done?
hexen88 said:
SOLVED by repairing permissions, but if any of user have same problem can simply do this:
The solution was to simply change ownership back to system:wifi
$ adb root
$ adb -d shell
# cd /data/misc/wifi
# chown system.wifi wpa_supplicant.conf
# reboot
Click to expand...
Click to collapse
Hi @hexen88, I've trying your solution but it doesn't work on my nexus5 :s. Actually I don't have any system.wifi file :/. I have tried a lot of things but nothing works.

Someone helped me stop auto updates...now want to turn back on...

I was told to run the following command to stop auto updates:
adb shell pm uninstall -k --user 0 com.huawei.android.hwouc
Click to expand...
Click to collapse
If I want to turn them back on, does anyone know how would I do that?
Also, I presume that Oreo is the latest version for the L29 (I'm on US version). No Pie. IS that correct?
ewingr said:
I was told to run the following command to stop auto updates:
If I want to turn them back on, does anyone know how would I do that?
Also, I presume that Oreo is the latest version for the L29 (I'm on US version). No Pie. IS that correct?
Click to expand...
Click to collapse
Would doing a factory reset accomplish what I want?
That command uninstalled the system updates apk, but didn't permanently remove it.
Use: adb shell cmd package install-existing <name of package>
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
Thanks. I really appreciate the help.
I ran the command like this:
adb shell cmd package install-existing com.huawei.android.hwouccls
Click to expand...
Click to collapse
I get the following reply:
Unknown command: install-existing
Click to expand...
Click to collapse
I do see my device when I enter "adb devices".
Try without a hyphen.
robogo1982 said:
Try without a hyphen.
Click to expand...
Click to collapse
That was it, but of course, still another catch. JFYI...I did enter the command this way:
adb shell cmd package install existing com.huawei.android.hwouccls
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Then I got this message:
Error: must specify a APK size
Click to expand...
Click to collapse
I thought that interesting. Anyway, I tried a search for com.huawei.android.hwouccls on my phone from what was listed as \ and found nothing. So I have no idea what to list as the size. And then there will be the syntax to do so.
I hate having to be so needy. Since I stopped rooting and using custom ROMS, my skills have seriously rusted.
I should add that I searched for com.huawei.android.hwouccls with App Inspector as mentioned in your link, and don't find it. My phone is not rooted...maybe that has something to do with that.

Categories

Resources