Disable logcat script - Sprint HTC One (M7)

I want to disable logcat, tried editing build.prop logcat.live=disable, it still runs. Any advice?
Sent from my HTC One using Tapatalk

elvisypi said:
I want to disable logcat, tried editing build.prop logcat.live=disable, it still runs. Any advice?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Hi I came across your post when looking how to do so, they are generated in /dev/log.
So if you want to remove logs set an init.d script to remove them on boot for example:
To remove all logs
Code:
#!/system/bin/sh
#Disable Logs
rm /dev/log/*

Related

(Req) module nls-utf8?. Ko for atrix

Any one can build utf8 kernel for atrix?
Or tell me how to build it?
Sent from my MB860 using XDA App
heyhi said:
Any one can build utf8 kernel for atrix?
Or tell me how to build it?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Also looking for this module as well. Need an nls_utf8.ko for stock 1.8.3 Did a search in the forum, doesn't seem to be able to find one. CIFS now works, however, without utf8 module, I cannot access folders named as Chinese.
Anyone has it?
+1 here.........!
http://gititbit.ch/aOw3 - kernel source
simply edit the .config
look for the line
Code:
# CONFIG_NLS_UTF8 is not set
change it to
Code:
CONFIG_NLS_UTF8=y
dasmoover said:
http://gititbit.ch/aOw3 - kernel source
simply edit the .config
look for the line
Code:
# CONFIG_NLS_UTF8 is not set
change it to
Code:
CONFIG_NLS_UTF8=y
Click to expand...
Click to collapse
Thanks, downloading source now...
Y'all boys working y'all ass off good work
Sent from my MB860 using XDA Premium App
http://forum.xda-developers.com/showthread.php?t=1112405
already posted
http://forum.xda-developers.com/showthread.php?t=1112405

[Q] please guide me for having dualtouch

Guys would you give me some instructions for my xperia x8, because i change my touchscreen for now and its not the original one. My problem is i cannot back my dualtouch anymore, even i install any rom,kernel,x8gesture in my phone. Would you please help me what can i do now to work it again?
Sorry for my bad English.
Sent from my E15i using xda premium
joezel said:
Guys would you give me some instructions for my xperia x8, because i change my touchscreen for now and its not the original one. My problem is i cannot back my dualtouch anymore, even i install any rom,kernel,x8gesture in my phone. Would you please help me what can i do now to work it again?
Sorry for my bad English.
Sent from my E15i using xda premium
Click to expand...
Click to collapse
OKAY lets get started.
As u said that u have changed ur touchscreen so now i assume that u have a cypress one.
Now download the file attatched below , extract it and move it to
\system\lib\modules\"place the file here"
now open terminal emmulator
and type there
Code:
su
dmesg | grep ax8mt
now reboot ur phone.
LOL!!!
its done.
Download x8toolbox, plug in your phone, open toolbox,go to modules find dual touch,done
Sent from my X8 using xda premium
I did both of your suggested but not work to me. Please give me other suggestion.
Sent from my E15i using xda premium
joezel said:
I did both of your suggested but not work to me. Please give me other suggestion.
Sent from my E15i using xda premium
Click to expand...
Click to collapse
I dont know much about it.Maybe this thread can help u http://forum.xda-developers.com/showthread.php?t=1135965
Actually there is another method, search at youtube and you will find it,it will may work
Sent from my X8 using xda premium
joezel said:
Guys would you give me some instructions for my xperia x8, because i change my touchscreen for now and its not the original one. My problem is i cannot back my dualtouch anymore, even i install any rom,kernel,x8gesture in my phone. Would you please help me what can i do now to work it again?
Sorry for my bad English.
Sent from my E15i using xda premium
Click to expand...
Click to collapse
Ok, here's what you have to do.
1. Go into terminal emulator.
2. Type in:
Code:
su
dmesg | grep "cyttsp-i2c"
3. if you get something like this output:
Code:
<6>[ 4.185259] cyttsp_i2c_probe: Successful registration cyttsp-i2c
you have cypress and should use AX8MT.ko
If you did not have that output, you have synaptics and you should use X8gesture.ko.
4. Now that you know which digitizer you have, if you are not using a custom kernel or ROM with the modules auto-insmodded in, do this:
Add the correct module to /system/lib/modules
Enter in the following lines to terminal emulator:
Code:
su
chmod 644 /system/lib/modules/*module name*.ko
chown 0.0 /system/lib/modules/*module name*.ko
insmod /system/lib/modules/*module name*.ko
Then check in Multitouch visualiser if the module is loaded and working.
If working, add this line to /system/etc/hw_config.sh
Code:
# DT
insmod /system/lib/modules/*module name*.ko
Done! (hopefully)

editing build prop

hi, can anyone give me a TUT of how to create a flashable zip to add lines into the build.prop. i kept trying but i dont see any new lines in my buildprop. can anyone also give me the command to add lines into the build.prop in the updater-script file.
RayQ1223 said:
hi, can anyone give me a TUT of how to create a flashable zip to add lines into the build.prop. i kept trying but i dont see any new lines in my buildprop. can anyone also give me the command to add lines into the build.prop in the updater-script file.
Click to expand...
Click to collapse
Why do you even want to build a flashable zip only to modify BUILD.PROP file? Just use Root Explorer and edit the file, save it and reboot. You'll see the changes.
The Scientist95 said:
Why do you even want to build a flashable zip only to modify BUILD.PROP file? Just use Root Explorer and edit the file, save it and reboot. You'll see the changes.
Click to expand...
Click to collapse
I'm learning how to do this so I can make a zip file that contains everything
please tell what is the benefits of creating 2 accounts
I forgotened my password.
Sent from my GT-S5570 using xda premium
Someone report him I can't report him right now
Sent from my GT-S5570 using Tapatalk 2
Messi10 said:
Someone report him I can't report him right now
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
what to report for
dheeraj (dhlalit11) said:
what to report for
Click to expand...
Click to collapse
2 account u said
he should himself ask the mod to remove his previous account i had indicated him before about this
How am I suppose to remove it?
Sent from my GT-S5570 using xda premium
just talk to the mod about it
RayQXX said:
How am I suppose to remove it?
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Let me help you with that one.
THREAD CLOSED.

[MOD][GUIDE]disable backlight and touch of HW button

hi,
this little guide explain how to disable completely ( brightness and touch) of hardware buttons.
PRE-REQUISITES:
-ROOT
-file manager with root permission
-terminal emulator
HOW TO:
-DISABLE SOFT KEYS
-with file manager open
/system/build.prop
and add this line at the end of file
Code:
qemu.hw.mainkeys=0
(when you want to restore change 0 to 1)
-create a copy of
/system/usr/keylayout/touch_dev.kl
on you sdcard (for restore)
-with your file manager open
/system/usr/keylayout/touch_dev.kl
go to the end of file and under:
Code:
#x3 synaptics touch
delete the line incoming with:
Code:
key158
key139
key102
and save the file!
!!WARNING!! this disable the keys!
- DISABLE SOFT KEYS BACKLIGHT
-on terminal emulator with root permission insert this code:
Code:
echo 0 >/sys/devices/platform/button-backlight/leds/button-backlight/brightness
and
Code:
echo 0 >/sys/devices/platform/button-backlight/leds/button-backlight/max_brightness
-YOU ARE DONE!!
sometimes the brightness are restored but you can do a script to do this 2 lines of code at startup with Rom toolbox
if i help you click thanks )
Inviato dal mio LG-P880 usando XDA Premium HD app
just a suggestion, you should add a line to build.prop that enables the virtual buttons then
'cause if people do this without having a "backup plan", they can be doomed
IMO it has no sense for me navbar just takes screen space and our touch buttons are just perfect.
Sent from my LG-P880 using xda app-developers app
laufersteppenwolf said:
just a suggestion, you should add a line to build.prop that enables the virtual buttons then
'cause if people do this without having a "backup plan", they can be doomed
Click to expand...
Click to collapse
Yes i think you have a good idea xD
Inviato dal mio LG-P880 usando XDA Premium HD app
FunkyRasta said:
IMO it has no sense for me navbar just takes screen space and our touch buttons are just perfect.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
One use would be for gaming, as it eliminates kicking yourself to home screen with the buttons and getting disconnected. I do this often when I try to throw a grenade on mc4 software buttons and adequate warnings should indeed be added to this guide, but thanks!
Sent from my rooted P880
If u go one step further (like me ^^) you can use the home button to go to standby... Waking it doesnt work, cause its touchscreen...
Sent from my LG P880
if u go another step u can use xposed framework module for remap this three buttons for what u want
you can do this on MIUI without any mod/3rd party tools. i don't know why such options is not available CM/AOSP based roms.
Can't seem to do this, no permission to edit in the build prop file, can't change permission either :s
baxtex said:
Can't seem to do this, no permission to edit in the build prop file, can't change permission either :s
Click to expand...
Click to collapse
What file manager are you using and if check if the the file manager has permission to read and write to /system partition
Sent from my LG-P880 using xda app-developers app
abhi08638 said:
What file manager are you using and if check if the the file manager has permission to read and write to /system partition
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Rom toolbox and im quite sure it around do the job. :s
baxtex said:
Rom toolbox and im quite sure it around do the job. :s
Click to expand...
Click to collapse
Not sure about that one
1.try es file explorer and report back
Or
2. If you're on kitkat you might need to switch to supersu and not superuser
Sent from my LG-P880 using xda app-developers app
abhi08638 said:
Not sure about that one
1.try es file explorer and report back
Or
2. If you're on kitkat you might need to switch to supersu and not superuser
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Tried es, same thing. Im on KK but Superuser is built in.. Downloaded Supersu but it can't update.
baxtex said:
Tried es, same thing. Im on KK but Superuser is built in.. Downloaded Supersu but it can't update.
Click to expand...
Click to collapse
If all you wish to do is disabling the backlight of the buttons, look for 'Backlight' under Buttons in the Settings menu, or, if you can't find it, try this.
baxtex said:
Tried es, same thing. Im on KK but Superuser is built in.. Downloaded Supersu but it can't update.
Click to expand...
Click to collapse
Try flashing the supersu update zip. You can Google it.
Also do you want to completely disable the buttons?
Sent from my LG-P880 using xda app-developers app
try this. didn't made this, just found an xda thread with all the files, so downloded it and modded it to work on our phones. just changed the files list inside the script, didn't do much. the bad news is, i only changed the file to enable virtual keys and disable capacitive keys, didn't changed the files to do the opposite. try it.
http://forum.xda-developers.com/showthread.php?p=31552585#post31552585
- DISABLE SOFT KEYS BACKLIGHT
-on terminal emulator with root permission insert this code:
Code:
echo 0 >/sys/devices/platform/button-backlight/leds/button-backlight/brightness
and
Code:
echo 0 >/sys/devices/platform/button-backlight/leds/button-backlight/max_brightness
-YOU ARE DONE!!
Can you explain that more detailed? What does it mean 'on terminal emulator'?
In which file do I need to insert the above code?
I just want to turn of the lights of the softkeys, to save battery. Thanks
gingerboy92 said:
try this. didn't made this, just found an xda thread with all the files, so downloded it and modded it to work on our phones. just changed the files list inside the script, didn't do much. the bad news is, i only changed the file to enable virtual keys and disable capacitive keys, didn't changed the files to do the opposite. try it.
http://forum.xda-developers.com/showthread.php?p=31552585#post31552585
Click to expand...
Click to collapse
Thank you very much, this really helped me. But it will be perfect if the backlight of the touch buttons was turned off and also the vibration of the virtual buttons was turned off. But anyway, thank you again. :good:

How to hide NFC icon from statusbar?

I don't want it there, how can I remove it?
You need root. Edit your build.prop.
The easiest way is to use Build Prop Editor - https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
Look for this entry -
ro.nfc.icon.enable
Select it, change the value from true to false and reboot when asked.
Sent from my C6603 using Tapatalk
What other things I can do with this editor?
royalchild said:
What other things I can do with this editor?
Click to expand...
Click to collapse
I would advise against editing anything else in your build.prop unless you know what you're doing, as you can stop your phone booting if you mess with the wrong thing.
Sent from my C6603 using Tapatalk

Categories

Resources