[APP] [ROOT] [4.0+] Andy Log: Spare Yourself Logging Scenarios - Android Apps and Games

Description:
Andy Log is a small tool that dumps necessary logs for bug reporting without hassle.
Just choose what you'd like to include in your log file and click on LOG.
Supported (so far):
1. Logcat
2. Buildprop
3. CPU info
4. Sysctl
5. Kmsg
6. Last kmsg
7. Dmesg
8. Uptime
Logs are saved to /{MAIN STORAGE}/Android/data/{PACKAGE NAME}/Logs folder.
Download:
Andy Log (ROOT)

Change log
Reserved for change log:
v2.0
Fixed crashes on Android 6+
v1.4
Android N support (please work)
Fixed log folder chooser on Android 6
v1.3
Added:
Last crash option, useful for extracting the minimum required data for crash reporting.
(PRO) Logcat:
radio & events buffers.
Formating.
Filtering ( tag:level ex: AndroidRuntime:E )
v1.2
Fixed:
1. Problem with Italian date format.
Added:
1. Confirm and show log files' names before clearing them.
2. Share log option.
3. An option to change default logs folder.
v1.1
Fixed:
1. CLEAR LOGS bug.
2. Force close when no option is checked.
3. Force close during dumping logs due to DOCUMENTS field being undeclared in some devices' framework.
v1.0
Initial release.

@deeplyyoung try out this app bro , its just awesome. @Bassel Bakr good handy app which saves time. It also helps a lot of noobs around here to provide proper logs

Great work. :good:

Great!!! This is the most awaited app for newbies.

Nice, I'll have to try this out. I currently have SysLog & Logcat Extreme installed for their various functions. This might be a replacement for SysLog.
EDIT: Trying it now, it's been sitting on "Dumping KMSG" for about 5 minutes. I checked them all, by the way. Shall I use one of the aforementioned apps I use to record a logcat while it happens? Seems a bit ironic, I know.

yochananmarqos said:
Nice, I'll have to try this out. I currently have SysLog & Logcat Extreme installed for their various functions. This might be a replacement for SysLog.
EDIT: Trying it now, it's been sitting on "Dumping KMSG" for about 5 minutes. I checked them all, by the way. Shall I use one of the aforementioned apps I use to record a logcat while it happens? Seems a bit ironic, I know.
Click to expand...
Click to collapse
I'd be grateful if you did. ?
I'll make sure next update less prone to this problem.

Bassel Bakr said:
I'd be grateful if you did. ?
I'll make sure next update less prone to this problem.
Click to expand...
Click to collapse
I let it sit for about 5 minutes, so it's almost 10 thousand lines.
https://dl.dropboxusercontent.com/u/67194527/Log_2014-10-19_23-46-59.txt

Great app. Command lines made handy. Now users can easily submit logs to respective developers and contribute in smoother development :good:

@Bassel Bakr Could you add Dmesg feature?

Great, thank you, logs have always baffled me - this has made them much easier for me to understand.
Problem I'm facing is that I can't find the logs in the file path /0/android/data/com.bassel.andylog/files/documents/.....
When I get to documents there is nothing in that file.
I can see them when I first take the log and open it though?

Great app, just one thing. After taking a Logcat the log says “
Unable to open log device '/dev/log/main': No such file or directory ”. All other logs seem to work fine.

Bassel Bakr said:
Description:
Andy Log is a small tool that dumps necessary logs for bug reporting without hassle.
Just choose what you'd like to include in your log file and click on LOG.
Supported (so far):
1. Logcat
2. Buildprop
3. CPU info
4. Sysctl
5. Kmsg
6. Last kmsg
7. Uptime
Logs are saved to /{MAIN STORAGE}/Android/data/{PACKAGE NAME}/Documents folder.
Download:
Andy Log (ROOT)
Click to expand...
Click to collapse
I couldn't find this app on F-Droid. Is there a github repo or other link to the source?

@Bassel Bakr very useful app thanks but i think you should change the Default directory or add an option let us to choose saving directory.

iko11 said:
@Bassel Bakr very useful app thanks but i think you should change the Default directory or add an option let us to choose saving directory.
Click to expand...
Click to collapse
+1
I was thinking the exact same thing

Nice!
Cool App. Could You please include radio log dump (adb logcat -b radio -v time -d)?

filters possible for specific app?

Thanks everyone for your feedback. ?
New update v1.1 check second post change log.
yochananmarqos said:
I let it sit for about 5 minutes, so it's almost 10 thousand lines.
https://dl.dropboxusercontent.com/u/67194527/Log_2014-10-19_23-46-59.txt
Click to expand...
Click to collapse
Check v1.1
Al Arsyadi said:
@Bassel Bakr Could you add Dmesg feature?
Click to expand...
Click to collapse
It's already there but i forgot to include it in the description, sorry. ?
Jimsilver73 said:
Great, thank you, logs have always baffled me - this has made them much easier for me to understand.
Problem I'm facing is that I can't find the logs in the file path /0/android/data/com.bassel.andylog/files/documents/.....
When I get to documents there is nothing in that file.
I can see them when I first take the log and open it though?
Click to expand...
Click to collapse
Strange! Log file can't be opened unless it is already there! ?
Anyway, I'll look into it. ?
p1eter said:
Great app, just one thing. After taking a Logcat the log says “
Unable to open log device '/dev/log/main': No such file or directory ”. All other logs seem to work fine.
Click to expand...
Click to collapse
Do you get the same thing if you executed logcat command in a terminal emulator?
MiyagiSan said:
I couldn't find this app on F-Droid. Is there a github repo or other link to the source?
Click to expand...
Click to collapse
No, it's closed source.
iko11 said:
@Bassel Bakr very useful app thanks but i think you should change the Default directory or add an option let us to choose saving directory.
Click to expand...
Click to collapse
Thanks for your suggestion, I'll work on it.
ArdnoS75 said:
Cool App. Could You please include radio log dump (adb logcat -b radio -v time -d)?
Click to expand...
Click to collapse
Thanks for your suggestion, I'll work on it.
starbase64 said:
filters possible for specific app?
Click to expand...
Click to collapse
Thanks for your suggestion, I'll work on it.

Bassel Bakr said:
Thanks everyone for your feedback. ?
New update v1.1 check second post change log.
Check v1.1
Click to expand...
Click to collapse
It successfully saves the logs now. However, I noticed it saves them all to one file when selecting multiple. Also, if different logs are chosen using the default filename choice, there's no way to tell which one is which without opening them. Would it be possible to automatically generate the first part of the filename based on the type of log? i.e., kmsg--(Date)--(Time).txt, etc? Thanks!

Bassel Bakr said:
Do you get the same thing if you executed logcat command in a terminal emulator?
Click to expand...
Click to collapse
Logcat command gives me “Unable to open log device '/dev/log/main': No such file or directory ”
When I tried to create the folders /log/main terminal returned “logcat read: Is a directory”

Related

[App] SD-Booster v 1.0.2 released

Hello,
i released version 1.0.2 of my SD-Booster app on the market right now.
Changelog:
This version fix a root permission bug found by Andreas and include tweaks for some devices (e.g LG Optimus Speed, Motorola Milestone).
Coming soon: New features will be released with version 2.0.
Market-Link: https://market.android.com/details?id=de.mehrmann.sdbooster
AppBrain-Link: http://www.appbrain.com/app/sd-booster/de.mehrmann.sdbooster
App description:
SD-Booster speeds up your SD-Card (external memory-card) up to 40 times! Enjoy a new feeling of speed on your Android smartphone anytime and everywhere you are. Starting apps, listing to your favorite music or just swapping data with your PC ? Whatever you do, the SD-Booster improve your phone speed!
SD-Booster needs root permission to run, otherwhise SD-Booster can't do anything!
For experts only: App works with read_ahead_kb value
Regards
Akusari
Hi, Y am looking for a program o this caracteristics, but first y would like to know how it works.. what does it change?
thanks..!
spawns said:
Hi, Y am looking for a program o this caracteristics, but first y would like to know how it works.. what does it change?
thanks..!
Click to expand...
Click to collapse
I would also like to know how this works
Working! Got about 1-2 mb/s more.
Sent from my HTC Desire using XDA Premium App
correct me if i'm wrong, but this app changes your read_ahead_kb value in your sys/devices/virtual/bdi/179:0 right? what values does it sets it to? 2048 or 3069?
All it does is increase how fast it reads your SD card. so yes, it can speed up a lot of your casual activity's. harmless also.
Yes all it does is change your read ahead cache. You can also use this script. Place it in your system\etc\init.d folder and change permissions to rwxr-x--
You can change the value to what ever you want by editing the ''768'' Ive found 768 to be best balance. anything above 1028 is overkill, it may speed up your Really large files but will slow down small ones and most files you want fast access to are relatively small. IE. music, pic's, text files ect. after you change values and reboot you can check to see if your changes have stuck, simply go to sys/devices/virtual/bdi/179:0\read ahead cache and open file as text and it will display the running value. You can also change the value directly from there and test your phones performance with each change untill you find the best for you. You will loose your settings after reboot if you just change values from here: sys/devices/virtual/bdi/179:0/read ahead cache. This is not intended to knock this cool app in no way. just trying to help ppl understand who didnt and to the people who would like this mod but dont want to have another app running in the background.
*** You will have to remove the ".txt" extension before using this file****
Shoulon said:
All it does is increase how fast it reads your SD card. so yes, it can speed up a lot of your casual activity's. harmless also.
Click to expand...
Click to collapse
exactly
Regards
Akusari
dandiar said:
correct me if i'm wrong, but this app changes your read_ahead_kb value in your sys/devices/virtual/bdi/179:0 right? what values does it sets it to? 2048 or 3069?
Click to expand...
Click to collapse
Well, you're right with this path, but there are some more possibilities to set the values (diffferent paths). It depends on the hardware. However, the app set the value received by the GUI.
I have tried it but nothing happend. I have Samsung Galaxy 3 and a 8GB class 4 SD.
Is there any recomendations?
Thanks in advance.
thetak said:
I have tried it but nothing happend. I have Samsung Galaxy 3 and a 8GB class 4 SD.
Is there any recomendations?
Thanks in advance.
Click to expand...
Click to collapse
Do you get any error message from my app ?
Could you provide a logcat after using SD-Booster ?
Thanks
Regards
Akusari
Akusari said:
Do you get any error message from my app ?
Could you provide a logcat after using SD-Booster ?
Thanks
Regards
Akusari
Click to expand...
Click to collapse
I get nothing. No error message.
I did a benchmark before and after the use of your program but the results was the same.
What exactly do you mean by providing a logcat. If you could be more specific it would be very helpfull.
thetak said:
I get nothing. No error message.
I did a benchmark before and after the use of your program but the results was the same.
What exactly do you mean by providing a logcat. If you could be more specific it would be very helpfull.
Click to expand...
Click to collapse
Connect your phone via USB to your PC and start a shell with the command: "adb logcat > output.txt" and post this file here.
(Android SDK must be installed)
Best
Akusari
Akusari said:
Connect your phone via USB to your PC and start a shell with the command: "adb logcat > output.txt" and post this file here.
Best
Akusari
Click to expand...
Click to collapse
OK, I will do it later in the afternoon. Thank you for your time.
Thanks! Increased my Quadrant score from 1762 to 1806. I changed the value to 768. I will see if I notice any increase in user experience but it didn't hurt to try
Samsung Galaxy S running Insanity 7.2 (Android 2.2.1) with latest Hardcore Speedmod Kernel - no overclocking.
Hi folks,
for all german users: The famous webpage C-Net tested my App (App of the week section): http://bit.ly/lwQf1P
Akusari said:
Connect your phone via USB to your PC and start a shell with the command: "adb logcat > output.txt" and post this file here.
(Android SDK must be installed)
Best
Akusari
Click to expand...
Click to collapse
Which part of the txt file do you want to see?
Akusari said:
Well, you're right with this path, but there are some more possibilities to set the values (diffferent paths). It depends on the hardware. However, the app set the value received by the GUI.
Click to expand...
Click to collapse
i have a moto backflip and i know its kinda slow.....so now i've cranked it up to 2048 and found that my phone lags even worse and that I/O speed went down. maybe @nickmcminn60 was right, more than 1028 is overkill. so i decided to go with 1000, and now it's working great. will test it out for a couple of days.
Everything with the content "(SD-Booster)" is needed. But it would be better if you could can post everything you have, because sometimes the Android OS gives me usefull informations as well.
Best,
Akusari
Akusari said:
Everything with the content "(SD-Booster)" is needed. But it would be better if you could can post everything you have, because sometimes the Android OS gives me usefull informations as well.
Best,
Akusari
Click to expand...
Click to collapse
My friend Akusari,
The output.txt has no record containing SD-Booster. I would like to send soy the file but I see that it contains data that it's not for publication. I'll try to get another output.txt file again later this afternoon and I'll get back.
Thanks.

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".

[Q] Keyboard Dropping/Missing Keystrokes?

Since I've gotten my Sidekick, I've noticed on most ROMs a horrible tendency to not register key-presses on the physical keyboard. There was one ROM early on that didn't do this (or very little) and one of the versions of RAGE was very good. I'm running GOV3.2 Bulky right now and it's not horrible, but it's noticeable. Does anyone have an idea of what might cause this? Thanks.
ged92781 said:
Since I've gotten my Sidekick, I've noticed on most ROMs a horrible tendency to not register key-presses on the physical keyboard. There was one ROM early on that didn't do this (or very little) and one of the versions of RAGE was very good. I'm running GOV3.2 Bulky right now and it's not horrible, but it's noticeable. Does anyone have an idea of what might cause this? Thanks.
Click to expand...
Click to collapse
I thought my keyboard was going bad or i just did not press the key all the way, now im on stock and i have not had that issue, hope someone finds the rom
ultraprimeomega said:
I thought my keyboard was going bad or i just did not press the key all the way, now im on stock and i have not had that issue, hope someone finds the rom
Click to expand...
Click to collapse
I wonder what the issue is that's causing it to show up on custom ROMs. Though, I've had it on the stock ROMs as well.
Have you tried this version of the kernel? Along with the removal of the keystroke logger, it also contains a patch that allows you to lower the keystroke timer delays... If you are experiencing dropped keystrokes, this could help, as the patch was designed for tht very issue.
http://forum.xda-developers.com/showthread.php?t=1663622
yogi2010 said:
Have you tried this version of the kernel? Along with the removal of the keystroke logger, it also contains a patch that allows you to lower the keystroke timer delays... If you are experiencing dropped keystrokes, this could help, as the patch was designed for tht very issue.
http://forum.xda-developers.com/showthread.php?t=1663622
Click to expand...
Click to collapse
Thank you!!!!!!!! I went ahead and dug into that thread. I do have that kernel already on my phone. I looked at the thread linked in that thread that gives a patch to adjust the timer delay and column delay in the kernel. HOWEVER, I'm not knowledgeable enough to apply that patch to my phone as it's given. Elsewhere in that thread, someone gave the commands to edit the settings manually through a terminal which I did through Android Commander on my PC and it worked wonders! Being the suspicious type, I guessed that the settings might not keep after a reboot. Unfortunately, that is the case and I had to reapply the settings after my phone finished restarting. So, I'll have to play with this a bit more to get it to keep, but thank you for showing me this!
You're welcome! That patch was made just for this issue. And yeah, it doesn't stick after a reboot, so we could either compile the kernel with chosen settings added in, or make a simple init.d script. I never did either one lol, was too lazy to try editing and building the kernel from source, and was on the stock ROM so I thought maybe it had no init.d support. You could probably create a file with those same commands used in Terminal, and throw it in your init.d folder to change the settings at boot.
yogi2010 said:
You're welcome! That patch was made just for this issue. And yeah, it doesn't stick after a reboot, so we could either compile the kernel with chosen settings added in, or make a simple init.d script. I never did either one lol, was too lazy to try editing and building the kernel from source, and was on the stock ROM so I thought maybe it had no init.d support. You could probably create a file with those same commands used in Terminal, and throw it in your init.d folder to change the settings at boot.
Click to expand...
Click to collapse
I set my column delay to 30 and my timer delay to 1 and it now feels like I'm typing on a Sidekick again! I wouldn't know how to correctly compile the kernel myself with these settings changed. So, are there any devs out there willing to make a zip that can be flashed in CWM so these settings will become permanent?
ged92781 said:
I set my column delay to 30 and my timer delay to 1 and it now feels like I'm typing on a Sidekick again! I wouldn't know how to correctly compile the kernel myself with these settings changed. So, are there any devs out there willing to make a zip that can be flashed in CWM so these settings will become permanent?
Click to expand...
Click to collapse
+1
I've noticed this problem and thought it was just me :$
I've had this happen as well as my screen thinking I was pressing it in one location when I wasn't even touching the phone. :s Had me at my wits end.
Sent from my SGH-T839 using xda premium
To those interested in the commands I used to fix the keyboard, see below. If you reboot your phone, these settings will go away and you will need to input these commands again. For a permanent fix, someone will need to add them to a kernel that can be flashed. To use these commands, your phone must be rooted. I've successfully used Android Commander to enter these commands from my PC while my phone is connected via USB.
The current timer delay may be read with:
cat /sys/devices/platform/s3c-keypad/timer_delay
The default is 5 if I remember correctly.
A new timer delay may be set with:
echo 1 > /sys/devices/platform/s3c-keypad/timer_delay
The default 300 µs column delay value may be read with:
cat /sys/devices/platform/s3c-keypad/column_delay
A new delay may be set with:
echo 30 > /sys/devices/platform/s3c-keypad/column_delay
In either command, you may experiment with different values by changing the 1 or the 30 in either command to what you want. I believe the lowest is 1 and the max is 256 for the timer delay. If you damage your phone running these commands, that's on you. I'm just telling you what I did and feel worked for me. YMMV. Also, if you don't want to connect your rooted phone to your PC and want to use Terminal Emulator from the Play store, that will work too. You need to enter 'su' prior to running the above commands and grant the terminal super user permissions for the commands to take.
ged92781 said:
I set my column delay to 30 and my timer delay to 1 and it now feels like I'm typing on a Sidekick again! I wouldn't know how to correctly compile the kernel myself with these settings changed. So, are there any devs out there willing to make a zip that can be flashed in CWM so these settings will become permanent?
Click to expand...
Click to collapse
I'll work on it for the next releases of the Bi-Winning roms and also try to attach flashable zips.
RicAndroid said:
I'll work on it for the next releases of the Bi-Winning roms and also try to attach flashable zips.
Click to expand...
Click to collapse
Thank you!
ged92781 said:
Thank you!
Click to expand...
Click to collapse
You are very welcome! All done, BTW. Posting my updates now.
Permanent Fix(Manual way)
Taking the timer_delay and column_delay tricks shown above...I was able to make an init.d script(pretty easy, tbh) but don't feel it merits an update.zip since it's so easy. What I did was:
1. go to /etc/init.d
2. find the last script(In GOV3.3 it's 18complete) and rename it - adding one to the sequence(In my case I renamed it to 19complete)
3. make a new file name 18keyboardfix(The number depends on your rom, really...like if you renamed the above file to some thing like 33complete, you'd call this 32keyboardfix. Easy? right?)
4. Open the file you just created and put:
Code:
!#/system/bin/sh
echo 1 > /sys/devices/platform/s3c-keypad/timer_delay
echo 30 > /sys/devices/platform/s3c-keypad/column_delay
5. Set the permissions to rwxr-xr-x or whatever the numeric equivalent is. (0755, iirc)
6. Reboot
7. (Optional) Recheck the values with the following commands:
Code:
cat /sys/devices/platform/s3c-keypad/timer_delay
Code:
cat /sys/devices/platform/s3c-keypad/column_delay
I take no credit for this fix. Really, it was all ged92781 for providing the commands. All I did was find a way to make it permanent(Well, it's just reset when the devices is turned off and the init.d scripts set it back to you desired values, but that's debatable on whether it's permanent or not...either way...it works and is a simple fix)
SammaelAkuma said:
Taking the timer_delay and column_delay tricks shown above...I was able to make an init.d script(pretty easy, tbh) but don't feel it merits an update.zip since it's so easy. What I did was:
1. go to /etc/init.d
2. find the last script(In GOV3.3 it's 18complete) and rename it - adding one to the sequence(In my case I renamed it to 19complete)
3. make a new file name 18keyboardfix(The number depends on your rom, really...like if you renamed the above file to some thing like 33complete, you'd call this 32keyboardfix. Easy? right?)
4. Open the file you just created and put:
Code:
!#/system/bin/sh
echo 1 > /sys/devices/platform/s3c-keypad/timer_delay
echo 30 > /sys/devices/platform/s3c-keypad/column_delay
5. Set the permissions to rwxr-xr-x or whatever the numeric equivalent is. (0755, iirc)
6. Reboot
7. (Optional) Recheck the values with the following commands:
Code:
cat /sys/devices/platform/s3c-keypad/timer_delay
Code:
cat /sys/devices/platform/s3c-keypad/column_delay
I take no credit for this fix. Really, it was all ged92781 for providing the commands. All I did was find a way to make it permanent(Well, it's just reset when the devices is turned off and the init.d scripts set it back to you desired values, but that's debatable on whether it's permanent or not...either way...it works and is a simple fix)
Click to expand...
Click to collapse
Uh, oh....I used echo "number" /proc/sys/devices/platform/s3c-keypad in my script. Will I have to change it?
RicAndroid said:
Uh, oh....I used echo "number" /proc/sys/devices/platform/s3c-keypad in my script. Will I have to change it?
Click to expand...
Click to collapse
Idk, honestly. Try and see if your script works first, if not, then use the one I made using the commands ged92781 provided. Now...to find a way to fix the spaztic touch screen...that'll be tricky.
SammaelAkuma said:
Idk, honestly. Try and see if your script works first, if not, then use the one I made using the commands ged92781 provided. Now...to find a way to fix the spaztic touch screen...that'll be tricky.
Click to expand...
Click to collapse
I'm using your commands, dude. I'm very into details....so thanks!
RicAndroid said:
I'm using your commands, dude. I'm very into details....so thanks!
Click to expand...
Click to collapse
Lol. No problem. And good luck with the custom rom cooking.

How to remove logcat files? (Not Samsung)

This problem has been bothering me all day. My phone is always out of memory and I've found out that it's the logcat files that are causing this. I've managed to root my phone and connect it to the adb shell on my PC but I have no idea how to remove the logcat files. I would appreciate if you could help me!
Zablas said:
This problem has been bothering me all day. My phone is always out of memory and I've found out that it's the logcat files that are causing this. I've managed to root my phone and connect it to the adb shell on my PC but I have no idea how to remove the logcat files. I would appreciate if you could help me!
Click to expand...
Click to collapse
Check out this article. There's an app linked in it as well.
http://www.androidpolice.com/2014/0...r-enhanced-privacy-and-performance-root-only/
Thank You for your time but I've managed to find an older version of the App since it's no longer on the Play store. It only blocked the Main logs. But how do I delete the old logs which take up gigabytes? Anyway to do it through the ADB shell?
Zablas said:
Thank You for your time but I've managed to find an older version of the App since it's no longer on the Play store. It only blocked the Main logs. But how do I delete the old logs which take up gigabytes? Anyway to do it through the ADB shell?
Click to expand...
Click to collapse
Logs taking up Gigabytes
Are those tree logs?
What device are you using? IIRC some MTK devices have an engineering mode. I've used it to disable logging before.
If you just want to clear them, download 3C System Tuner from the Playstore. It'll give you that option.
Freewander10 said:
Logs taking up Gigabytes
Are those tree logs?
What device are you using? IIRC some MTK devices have an engineering mode. I've used it to disable logging before.
If you just want to clear them, download 3C System Tuner from the Playstore. It'll give you that option.
Click to expand...
Click to collapse
Additionally, if you can locate the folder in which they're stored, you can just go ahead and delete them manually.
Not sure if this will work on android's shell, but it works on the linux's. You can do this via adb.
Adb shell
Then su to get root access
find / (make sure to add a space!) and then .log I guess
RAZERZDAHACKER said:
Not sure if this will work on android's shell, but it works on the linux's. You can do this via adb.
Adb shell
Then su to get root access
find / (make sure to add a space!) and then .log I guess
Click to expand...
Click to collapse
The commands didn't work sorry :/ it said "not found" for them
Freewander10 said:
Logs taking up Gigabytes
Are those tree logs?
What device are you using? IIRC some MTK devices have an engineering mode. I've used it to disable logging before.
If you just want to clear them, download 3C System Tuner from the Playstore. It'll give you that option.
Click to expand...
Click to collapse
I'm using LG G2 Mini running Android 5.0.2

[Mod-Request] HAL1/HAL3 Swichter

Hi,
I saw now days few ROM has HAL switch. Which is fantastic to use any camera apps in our favourite ROM.
As that feature is not available in all ROM and if i want to try a ROM which has good battery life or good performance but that ROM lacks with that HAL switch feature, so i can't use my favourite cam app there.
Can anyone please make a TWRP flashable zip for
"HAL swichter - switch between hal1 and hal3"
So i can use or anyone can use Oxygen OS port Cam with Google Camera or Sultan's cam.
Thanks & Regards,
Normas Interruptor said:
Hi,
I saw now days few ROM has HAL switch. Which is fantastic to use any camera apps in our favourite ROM.
As that feature is not available in all ROM and if i want to try a ROM which has good battery life or good performance but that ROM lacks with that HAL switch feature, so i can't use my favourite cam app there.
Can anyone please make a TWRP flashable zip for
"HAL swichter - switch between hal1 and hal3"
So i can use or anyone can use Oxygen OS port Cam with Google Camera or Sultan's cam.
Thanks & Regards,
Click to expand...
Click to collapse
its just a shell command. do it in terminal. make a .txt right down the command to remember it, open shell execute it.
app ? heh..... make 2 .sh scripts. one with each command. Thats easy for the most amateur user.
For a more advanced user make a .sh script with an if command to getprop and if = {command1} true -> then {command2}.
Then this script in sd, link it on homescreen and single press it to execute. Voila. Here is your app.
kessaras said:
its just a shell command. do it in terminal. make a .txt right down the command to remember it, open shell execute it.
app ? heh..... make 2 .sh scripts. one with each command. Thats easy for the most amateur user.
For a more advanced user make a .sh script with an if command to getprop and if = {command1} true -> then {command2}.
Then this script in sd, link it on homescreen and single press it to execute. Voila. Here is your app.
Click to expand...
Click to collapse
Well, thank you for your reply ?.
But I'm kind of noob here who don't know how to make that script or .sh script. That's why i asked to someone to make a flashable zip so i can flash this via TWRP recovery and after that I don't need to do anything with emulator or other step.
Normas Interruptor said:
Well, thank you for your reply .
But I'm kind of noob here who don't know how to make that script or .sh script. That's why i asked to someone to make a flashable zip so i can flash this via TWRP recovery and after that I don't need to do anything with emulator or other step.
Click to expand...
Click to collapse
ok, but
i don't think anyone is interested in this.
for example me. i don't care changing hals to use different camera apps.
but the idea of how to do it is just like i said in the previous post. so someone that uses it and has a few script knowledge will do it
kessaras said:
ok, but
i don't think anyone is interested in this.
for example me. i don't care changing hals to use different camera apps.
but the idea of how to do it is just like i said in the previous post. so someone that uses it and has a few script knowledge will do it
Click to expand...
Click to collapse
I hope so
setprop presist.camera.HAL3.enabled=1
cpt.macp said:
setprop presist.camera.HAL3.enabled=1
Click to expand...
Click to collapse
Where i need to do that?
Please elaborate the full steps... As I'm using RR ROM unofficial by "niceash_soni"
Deleted
Normas Interruptor said:
Where i need to do that?
Please elaborate the full steps... As I'm using RR ROM unofficial by "niceash_soni"
Click to expand...
Click to collapse
Still haven't solved it ?
You just need to make a .sh script with just 2 if commands.
One will check for hal1 and one will check for hal3.
You don't need app and it's boring to open terminal and write a whole line every time you need to toggle that.
Try it and if you can't do it I'll write it for you when I'm back.
Or simply make 2 scripts with the setprop commands if you can't make it with the if command to check.
Tapping one script will do hal1=0 and hal3=1.
Tapping the other will do hal1=1 and hal3=0.
kessaras said:
Still haven't solved it ?
You just need to make a .sh script with just 2 if commands.
One will check for hal1 and one will check for hal3.
You don't need app and it's boring to open terminal and write a whole line every time you need to toggle that.
Try it and if you can't do it I'll write it for you when I'm back.
Click to expand...
Click to collapse
Thank you for your reply.
I'm noob bro.
I don't know how to do it...
If you can write down all the steps so i can try with it but with the above short note I can't understand what I need to do with script.
Please make a flashable zip if you can or any best thing.
Regards,
Normas Interruptor said:
Thank you for your reply.
I'm noob bro.
I don't know how to do it...
If you can write down all the steps so i can try with it but with the above short note I can't understand what I need to do with script.
Please make a flashable zip if you can or any best thing.
Regards,
Click to expand...
Click to collapse
pfffffffffffffffffff why nobody answers to him ?
2 scripts. +install app from play store to press and execute them.
Code:
#!/system/bin/sh
#Enable HAL3
setprop persist.camera.HAL1.enabled=0
setprop persist.camera.HAL3.enabled=1
echo "HAL3 Enabled"
Code:
#!/system/bin/sh
#Enable HAL1
setprop persist.camera.HAL3.enabled=0
setprop persist.camera.HAL1.enabled=1
echo "HAL1 Enabled"
Otherwise use if to check prop. getprop ........... > x if x=1 then ............
Use the 1st way for now. Going to bed cause im drunk xD
kessaras said:
pfffffffffffffffffff why nobody answers to him ?
2 scripts. +install app from play store to press and execute them.
Otherwise use if to check prop. getprop ........... > x if x=1 then ............
Use the 1st way for now. Going to bed cause im drunk xD
Click to expand...
Click to collapse
Thank you for your time.
But still I don't know how to use this ?...
Need more guidance.
Normas Interruptor said:
Thank you for your time.
But still I don't know how to use this ...
Need more guidance.
Click to expand...
Click to collapse
decompress at sdcard. search google , find app to easy press execute scripts, link scripts to homescreen , thats it.
Use local terminal for those command with root access , don't expect spoon feeding , use Google.
kessaras said:
pfffffffffffffffffff why nobody answers to him ?
2 scripts. +install app from play store to press and execute them.
Otherwise use if to check prop. getprop ........... > x if x=1 then ............
Use the 1st way for now. Going to bed cause im drunk xD
Click to expand...
Click to collapse
Here is my build.prop file... Can you please tell me which code do i need to use?
Or
If it is possible to you? Can you please add these codes in that build.prop file and share with me?
https://drive.google.com/file/d/0B5c0qxNUWHOkcFBYSmNpaE1xSFU/view?usp=drivesdk
Thanks
Normas Interruptor said:
Here is my build.prop file... Can you please tell me which code do i need to use?
Or
If it is possible to you? Can you please add these codes in that build.prop file and share with me?
https://drive.google.com/file/d/0B5c0qxNUWHOkcFBYSmNpaE1xSFU/view?usp=drivesdk
Thanks
Click to expand...
Click to collapse
its not a prop in build.prop. its a prop in the kernel, at another file, depending the kernel.
i think it was missing su permission. try those with an app that can execute scripts.
kessaras said:
its not a prop in build.prop. its a prop in the kernel, at another file, depending the kernel.
i think it was missing su permission. try those with an app that can execute scripts.
Click to expand...
Click to collapse
So, i have to flash the attached your Camera HAL zip that's it. Right?
Normas Interruptor said:
So, i have to flash the attached your Camera HAL zip that's it. Right?
Click to expand...
Click to collapse
No... In there , there are only 2 scripts. Want to enable hal1 ? You tap execute the hal1 script. Want to enable hal3? Execute hal3 script.
I didn't make any app or module.
But if this goes on for long I will make it.
I believe soon the maintainers will do something about that because many people ask for this now. If they don't do it, I'll do it in the end even if I don't care about hal -_-
Anyway. Search Google play for app that can execute scripts on tap and you are good with those 2 scripts for now. Easy tap the one you want.
kessaras said:
No... In there , there are only 2 scripts. Want to enable hal1 ? You tap execute the hal1 script. Want to enable hal3? Execute hal3 script.
I didn't make any app or module.
But if this goes on for long I will make it.
I believe soon the maintainers will do something about that because many people ask for this now. If they don't do it, I'll do it in the end even if I don't care about hal -_-
Anyway. Search Google play for app that can execute scripts on tap and you are good with those 2 scripts for now. Easy tap the one you want.
Click to expand...
Click to collapse
Well, i have tried two script apps... Script manager and shscript... Can't understand how to make these two command executable on one touch... People are smart who actually know that how to do that, even i have tried to watching YT videos as well, so i can understand how to make those scripts executable... But no luck...
You are the only one who help me alot here...
Heartiest thanks to you.
------------------------------------------
Now closing this thread as I'm so dumb to understand these methods, i know that would be very easy one for those who know how to do that... That's why people calling me here "spoon feeding" and all...
Now going to switching from RR ROM unofficial build by "Niceash_soni" to APEX ROM, however I don't feel comfortable on that, because that ROM has EAS kernel, that is very laggy all the time to me (using OP3). Don't know the reason behind that. So i would have to use that ROM with EXkernel for custom ROM V12 (latest one).
Though i love the RR ROM by "Niceash_soni" but he will not adding these method and sometimes he was very rude to me as i have request him twice. It's okay as i can understand he could be frustrating with so many requests or repeated requests.
__________________
Thank buddy, helping me so much here.
Normas Interruptor said:
Well, i have tried two script apps... Script manager and shscript... Can't understand how to make these two command executable on one touch... People are smart who actually know that how to do that, even i have tried to watching YT videos as well, so i can understand how to make those scripts executable... But no luck...
You are the only one who help me alot here...
Heartiest thanks to you.
------------------------------------------
Now closing this thread as I'm so dumb to understand these methods, i know that would be very easy one for those who know how to do that... That's why people calling me here "spoon feeding" and all...
Now going to switching from RR ROM unofficial build by "Niceash_soni" to APEX ROM, however I don't feel comfortable on that, because that ROM has EAS kernel, that is very laggy all the time to me (using OP3). Don't know the reason behind that. So i would have to use that ROM with EXkernel for custom ROM V12 (latest one).
Though i love the RR ROM by "Niceash_soni" but he will not adding these method and sometimes he was very rude to me as i have request him twice. It's okay as i can understand he could be frustrating with so many requests or repeated requests.
__________________
Thank buddy, helping me so much here.
Click to expand...
Click to collapse
Other people also ask in other roms. It's the same in the official rr. No worries. Soon someone that needs it, will do something. Otherwise me or some other guy will do. Since more people ask for it , it will definitely come.
Don't close the thread. It seems it's only you but there are hundreds more hidden behind this
It's just that our free time is always little as we work for more than 8 hours. Sometimes 12 hours. Anyway. Leave it as it is . Soon a maintainer or a senior will do something.

Categories

Resources