[Q] How to disable logcat service? - Galaxy Note 3 Neo Q&A, Help & Troubleshooting

Anyone know how to disable logcat? Don't need the logging. Tq
Sent from my SM-N750 using XDA Free mobile app

fylim said:
Anyone know how to disable logcat? Don't need the logging. Tq
Sent from my SM-N750 using XDA Free mobile app
Click to expand...
Click to collapse
bro logcat and kmsg u cnt turn it off its for debugging stuffs like it stores all the info aba os live but don't worry it dose not use any system resources btw logcat keeps a track of your all java VM activities like apps loading crash connection etc and kmsg keeps the debug msgs from ur kernel like cache oom and many but u can force turn it off there is a way if ur rooted than only try make a small script for deleting file logs r always stays inside your emulated drive where kernel is loaded u can find it inside root directory /dev/log there u can c 4 files radio system etc if u del all u will find logcat stopped working i mean this is the only way 2 turn logcat off bt on everyboot those files will come so u need to make a script on boot using script manager or boot shell etc put commands like
Code:
busybox rm /dev/log/system
like that :highfive::good:

Related

Deleting system apps after root?? (Root Explorer won't do it)

I used to use "Root Explorer" on my hero to delete system apps before..doesn't seem to work anymore..
solution??
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
did you mount /system in rw mode? (it's ro by default)
U dont have write access to system partition in normal use if i read the tutorial right. U have to do it with an update.zip (editing the update script) or with adb both u have to do in recovery menu from modaco i think. Tell me if i am wrong.
Sry for my bad english
@cezarL yes I did
@xtcislove I wish u were wrong..seems like pain.. anyway to do it without a pc?
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Damn, you're right. Previously, I had deleted an .apk just to check if it's working, then reinstalled the app right away.
But I just tested now, it looks like after a reboot, the .apk magically reappears, and the application is running as usual
Damn, you're right. Previously, I had deleted an .apk just to check if it's working, then reinstalled the app right away.
But I just tested now, it looks like after a reboot, the .apk magically reappears, and the application is running as usual
Click to expand...
Click to collapse
ye..I'm sure it has something to do with the root limitations Paul mentioned in his rooting guide. hope it'll be fixed soon.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Try this: Boot in recovery menu and try the following commands:
adb remount
adb shell rm /system/app/APP.apk
adb shell rm /data/app/APP.apk
where APP.apk is the filename of the apk with the .apk extention, remember case-sensitive!
for example:
adb remount
adb shell rm /system/app/FriendStream.apk
adb shell rm /system/app/FriendStream.odex
take a look before if your app has a odex or try this: (here u need only one command)
adb remount
adb shell rm /system/app/*FriendStream*
Good luck and have fun =)
Edit: Just find a topic =)
hxxp://android.modaco.com/content/htc-hero-hero-modaco-com/297207/removal-of-apps-via-adb/#entry1124362
(replace hxxp with http)
I'm trying to do these things in windows at the moment. No issues getting in the recovery with the windows scripts. But when I try to open a ADB Shell after I've gone to recovery I can't really do anything with it and the recovery hangs (not controllable with the track pad).
Anyone can tell me what I'm doing wrong?
You're not doing anything wrong, from what I've seen opening a new adb instance on Windows will kill the server created by the .bat file used for recovery... which means the connection to the device is lost. I haven't looked into it further, but it might be fixeable somehow.
Ah I see, so basicly you undo the patched recovery by opening a new session. It does work properly under Linux then? I run ubuntu on my netbook so It's not a big issue anyway. Thanks for the tip, gonna try under linux now!
I'm having the same problems as:
http://android.modaco.com/content/h...co-com/307401/removing-sys-apps/#entry1256015
I removed a load of HTC widgets but I get strange entries on the widget menu. Anyone know how to get rid of these?
Also, I removed Stocks (.apk and .odex), now I get a force close on 'Accounts & sync'. Anyone know how to remove Stocks properly?
Cheers.
After running the bat file to get into recovery, start a new cmd prompt in windows and use again adb-nilezon for shell commands instead of ordinary adb, and it wont be killed.
This has worked for me atleast
blackadder1000 said:
Anyone know how to remove Stocks properly?
Click to expand...
Click to collapse
The best, foolproof, failsafe way is to remove them from the rom before installing it... and remember that some services are still required, weather you use them or not.
But, if a system app is already installed you need to remove:
the apk from /system/app
the data from /data/data/appname
the cache from /cache/dalvik-cache
Do not remove Accounts & Sync...
Thanks for the answer.
I guess now is a good time to bake my own ROM!
blackadder1000 said:
Thanks for the answer.
I guess now is a good time to bake my own ROM!
Click to expand...
Click to collapse
Yep, that's what I do... see my sig...

[GUIDE]How to provide a logcat ![ATUALIZED]

Helping developers!
Learn how to provide a logcat the devs .....
By phone ...
Open the terminal emulator
type
Code:
su
# logcat > /sdcard/logcat.txt
The log will be on your sdcard.
By the computer (Windows) ....
Download the Qtabd
Link: http://motyczko.pl/qtadb/QtADB_0.8.1_windows.zip
Open qtabd, select where you extracted the package adb.
Connect the phone to the pc.
In qtabd select logcat.
Select all (ctrl + a)
Save to PC
continues
Provide logcat on Ubuntu
Qtabd 32 bits :http://motyczko.pl/qtadb/QtADB_0.8.1_linux32.tar.gz
Qtabd 64bits :http://motyczko.pl/qtadb/QtADB_0.8.1_linux64.tar.gz
Binaries ADB : http://motyczko.pl/qtadb/linux_binaries.tar.gz
Open terminal:
Code:
sudo apt-get install libqtgui4 libqt4-network libqt4-declarative
32 bits :
Code:
$ cd Downloads/linux_binaries/
$ sudo cp adb aapt /usr/bin/
$ cd /usr/bin/
$ sudo chmod +x adb aapt
New terminal
Code:
$ cd Downloads/QtADB_0.8.1_linux32
$ sudo cp QtADB /usr/bin/
$ cd /usr/bin/
$ sudo chmod +x QtADB
Now
Code:
$ sudo QTABD
Tell where are the binaries and enjoy!
Thnx sir
Very useful
sent using repencis 3.5 wid a2sd
press thnxxx
very nice guide......... also post about how to provide logcat using Android SDK ...........its good to know all new user how to use SDK
Sent from my GT-S6102 using Tapatalk 2
Sir i hope u upload the Terminal Emulator too....
Sent from my GT-S5360 using xda premium
it works well in my device.
Sent from my GT-S5360 using xda app-developers app
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Sent from my GT-S5360 using xda premium
thirdzcee said:
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
using part Windows
using qtabd !!
Nice work, this should be good for the community. Sticked so that everyone will see it and learn how to do it.
whitexp said:
using part Windows
using qtabd !!
Click to expand...
Click to collapse
How about ubuntu? Cause im on ubuntu although i do have windows running from virtualbox but thats only for the rest of my family here cause they prefer windows and i prefer ubuntu ... its 64 bit ubuntu by the way.,. How to get logcat then?
Sent from my GT-S5360 using xda premium
atualized
whitexp said:
atualized
Click to expand...
Click to collapse
nice
its helpfull!
thirdzcee said:
How do you provide logcat if phone dont boot??? For example you just flashed a fresh custom rom and it wont boot, how do you get logcat cause you cant even open terminal in phone to input those commands
Click to expand...
Click to collapse
here is a method that worked for me.
1. Turn off your phone (if stuck, just remove the battery).
2. At your command prompt, do "adb logcat > logresult.txt".
3. Plug your phone to your usb and power it.
4. After at least 1-2 minutes or until the phone has fully booted up, terminate your logcat session (ctrl+c)
Click to expand...
Click to collapse
Can op or anyone add info how to read and analyst error from logcat??
Love You man...
whitexp said:
Helping developers!
Learn how to provide a logcat the devs .....
By phone ...
Open the terminal emulator
type
Code:
su
# logcat > /sdcard/logcat.txt
The log will be on your sdcard.
By the computer (Windows) ....
Download the Qtabd
Link: http://motyczko.pl/qtadb/QtADB_0.8.1_windows.zip
Open qtabd, select where you extracted the package adb.
Connect the phone to the pc.
In qtabd select logcat.
Select all (ctrl + a)
Save to PC
continues
Click to expand...
Click to collapse
Hey... Nice job... thanked already...
---------- Post added at 12:14 AM ---------- Previous post was at 12:03 AM ----------
Just wondering, can you also upload some tutorials on identifying common issues through logcat?
that would be great for me as i am not of comp sc background, yet want to positively help the devs and possibly someday dev some... B)
[I think some others are also thinking just what i am thinking... LOL]
hey man working great! thanks :good:
very useful thread, thank you
I might be wrong but cwm can generate logcat.....
Sent from my GT-S5360 using xda premium
alkesh95 said:
I might be wrong but cwm can generate logcat.....
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Yes I think you are wrong.. It can show log generated during installation.. That too if the dev has written any "echo" commands.. It also generates some info like about any problem occurred while installation.. In advanced section has show log option..
hit thanks button! if above post helps u..
Sent from my GT-S6102
nitubhaskar said:
Yes I think you are wrong.. It can show log generated during installation.. That too if the dev has written any "echo" commands.. It also generates some info like about any problem occurred while installation.. In advanced section has show log option..
hit thanks button! if above post helps u..
Sent from my GT-S6102
Click to expand...
Click to collapse
Thanks buddy....
Sent from my GT-S5360 using xda premium

[TUT]NooP-Frindly- Easiest way to create logcat

Hi
If u wana to logcat u can open treminal(on device)
Type
Code:
Su
Code:
logcat > /sdcard/logcat.txt
U will find ur log in root of sd
but for problems with boot this is no good
its best to do a full logcat in adb
http://forum.xda-developers.com/showthread.php?t=2141817
Ohhh I did'nt knew that!!!!
Sent from my GT-S5360 using Tapatalk 2
Thanks

[Q] smali 2.0 parameter supplement?

I'm trying to give my note 2 the 4-way boot options. stock/rooted. My problem occurs with recompiling i get
Code:
...\Decompiled_jar\android.policy\com\android\internal\policy\impl\GlobalActions$99$1.smali[29,4] missing REGISTER at '.prologue'
..\Decompiled_jar\android.policy\com\android\internal\policy\impl\GlobalActions$99$1.smali[42,11] mismatched input '"dialog"' expecting REGISTER
..\Decompiled_jar\android.policy\com\android\internal\policy\impl\GlobalActions$99$1.smali[43,11] mismatched input '"whichButton"' expecting REGISTER
i chaneged .parameter with .param and now im having the errors above.
TheStart101 said:
I'm trying to give my note 2 the 4-way boot options. stock/rooted. My problem occurs with recompiling i get
Code:
...\Decompiled_jar\android.policy\com\android\internal\policy\impl\GlobalActions$99$1.smali[29,4] missing REGISTER at '.prologue'
..\Decompiled_jar\android.policy\com\android\internal\policy\impl\GlobalActions$99$1.smali[42,11] mismatched input '"dialog"' expecting REGISTER
..\Decompiled_jar\android.policy\com\android\internal\policy\impl\GlobalActions$99$1.smali[43,11] mismatched input '"whichButton"' expecting REGISTER
i chaneged .parameter with .param and now im having the errors above.
Click to expand...
Click to collapse
Just erase it..
".param"
Should solve your problem..you might run into more if your following an old guide..you might want to consider using apktool 1.5.2
Sent from my SCH-I605 using XDA Free mobile app
I will try this when I get home. I tried 1.5.2 but then my global actions came up with hundreds of errors. I believe I tried to delete the errors too, but with everything goes ng on it hard to recall 100%. Ill let you know later. Thank you for the adviceI hope it works!
Sent from my SGH-T889 using XDA Free mobile app
lacoursiere18 said:
Just erase it..
".param"
Should solve your problem..you might run into more if your following an old guide..you might want to consider using apktool 1.5.2
Sent from my SCH-I605 using XDA Free mobile app
Click to expand...
Click to collapse
Apktool 1.5.2 compiled without a problem. Now i have to figure out why it only hotboots and i dont get my power menu -_- every problem is a just a new roadblock to smash. I will figure it out eventually
TheStart101 said:
Apktool 1.5.2 compiled without a problem. Now i have to figure out why it only hotboots and i dont get my power menu -_- every problem is a just a new roadblock to smash. I will figure it out eventually
Click to expand...
Click to collapse
Pull a log when it hot boots let's take a look. .
Another set of eyes always helps me
Sent from my SCH-I605 using XDA Free mobile app
lacoursiere18 said:
Pull a log when it hot boots let's take a look. .
Another set of eyes always helps me
Sent from my SCH-I605 using XDA Free mobile app
Click to expand...
Click to collapse
The any log i ever used was the built in log for compile/decompile. Anysuggestiopns on what to use?
TheStart101 said:
The any log i ever used was the built in log for compile/decompile. Anysuggestiopns on what to use?
Click to expand...
Click to collapse
Yes. If you have adb on your desktop that is the best way to do it for a hot boot.. SDK also has it in the tools section if you have that..
Anyway if you adb go to that directory on your desktop and open a cmd prompt there.. make sure you have USB debugging enabled..and grant the computer access to it if it asks..
Type in cmd prompt:
adb start-server(press enter)
adb devices (press enter)
You should see like a serial number, that is your devices. You should be good to run a log now.
So get ready to press the button that makes you hot boot..then type in cmd prompt:
adb logcat -d > hotboot.txt
Don't hit enter until you hit the button that hot boots your phone.. then once it hot boots hit enter
Also there are plenty of guides on the forums..If you have a problem. Or just post back here and I'll help..
P.S The log will be in the same folder adb is
Sent from my SCH-I605 using XDA Free mobile app

Engineering Firmware?

Saw this posted on Reddit. Seems to be a full system image but I'm not brave enough to flash it
https://mobile.twitter.com/MotoFirmware/status/522902016763633665?s=09
Slack3r said:
Saw this posted on Reddit. Seems to be a full system image but I'm not brave enough to flash it
https://mobile.twitter.com/MotoFirmware/status/522902016763633665?s=09
Click to expand...
Click to collapse
I think no problem.You can try it.
You can mount it as loop and explore it, I suppose.
Sent from my GT-N7100 using XDA Free mobile app
There are some wifi config files and binaries, the factory test packages, etc..
I found this app, that can be installed in the current system with adb: (motoCompass.apk)
https://drive.google.com/file/d/0BxTLcy78OveNRjZkYzJaRmJ4S0U/view?usp=sharing
More goodies:
Moto 360 gears boot animation: http://youtu.be/Rje-O0P6PJo
Sent from my GT-N7100 using XDA Free mobile app
Here's a dump of the system partition, lots of interesting things!
https://drive.google.com/file/d/0BxTLcy78OveNSmJrdTM2SkxEYVE/view?usp=sharing
Enjoy and share your findings
dproldan said:
There are some wifi config files and binaries, the factory test packages, etc..
I found this app, that can be installed in the current system with adb: (motoCompass.apk)
https://drive.google.com/file/d/0BxTLcy78OveNRjZkYzJaRmJ4S0U/view?usp=sharing
Click to expand...
Click to collapse
I installed the compass app, it's hardly what I would call accurate but it does seem to get the right direction for the most part. Good find!
dproldan said:
More goodies:
Moto 360 gears boot animation: http://youtu.be/Rje-O0P6PJo
Sent from my GT-N7100 using XDA Free mobile app
Click to expand...
Click to collapse
Maybe I'm missing something trying to get the gears animation in my watch. I set up Bluetooth debugging and then tried
adb -e push bootanimation.zip /data/local
I'm a little rusty on adb commands and would appreciate any assistance. Thanks!
neilrl79 said:
Maybe I'm missing something trying to get the gears animation in my watch. I set up Bluetooth debugging and then tried
adb -e push bootanimation.zip /data/local
I'm a little rusty on adb commands and would appreciate any assistance. Thanks!
Click to expand...
Click to collapse
You may need to just give it some time, it took a good 10 minutes or so for it to finish anything for me over bluetooth. It just sat at the prompt without giving me status information or anything.
dproldan said:
There are some wifi config files and binaries, the factory test packages, etc..
I found this app, that can be installed in the current system with adb: (motoCompass.apk)
https://drive.google.com/file/d/0BxTLcy78OveNRjZkYzJaRmJ4S0U/view?usp=sharing
Click to expand...
Click to collapse
WiFi config files for the watch? Interesting..!
neilrl79 said:
Maybe I'm missing something trying to get the gears animation in my watch. I set up Bluetooth debugging and then tried
adb -e push bootanimation.zip /data/local
I'm a little rusty on adb commands and would appreciate any assistance. Thanks!
Click to expand...
Click to collapse
abd won't let you put anything in /data or /system, as it's not running in root mode.
You have to push it to /storage/sdcard0/ then enter an adb shell, get root with su, remount /system and copy the zip from /storage/sdcard0/ to /system/media/
So what can we do with this
Anyone wanna mirror this? It seems they took it down...
r3pwn said:
Anyone wanna mirror this? It seems they took it down...
Click to expand...
Click to collapse
Found it
Here
https://www.androidfilehost.com/?fid=95916177934554712

Categories

Resources