Hi,
is there a way so i can set the behavior of the Backlight from Back and Home Button myself or just turn it on all the time?
Im an TrickDroid Rom.
Thanks for your help :good:
Make a file and name it "99backlight" (no extension), and paste the following into it:
Code:
#!/system/bin/sh
echo "1" > /sys/class/leds/button-backlight/brightness;
chmod 444 /sys/class/leds/button-backlight/brightness;
Then save that file and copy it to /system/etc/init.d
Sorry for being a noob, but presumably this requires root?
I installed ES file explorer but couldn't see the system folder to paste it in.
RostokMcSpoons said:
Sorry for being a noob, but presumably this requires root?
I installed ES file explorer but couldn't see the system folder to paste it in.
Click to expand...
Click to collapse
I don't think i'd need it on all the time but perhaps make it a little less sensitive with light. It seems to go off very easily even in a dark room with a TV on is enough to make the Back and Home buttons backlight go off.
I also find this feature annoying. OK normally guess where they are but as you only need them lit when the main screen is on surely extra battery drain must be negligible.
So please HTC either option to have permanently on (with screen on) or ability to adjust sensitivity to personal preference.
Incidentally is there an official HTC blog to log such minor requests (not complaints)?
RostokMcSpoons said:
Sorry for being a noob, but presumably this requires root?
I installed ES file explorer but couldn't see the system folder to paste it in.
Click to expand...
Click to collapse
Yes, this does require root, sorry
Also for anyone trying to use that mod, you have to reboot after adding that file for the OS to read it
CNexus said:
Make a file and name it "99backlight" (no extension), and paste the following into it:
Code:
#!/system/bin/sh
echo "1" > /sys/class/leds/button-backlight/brightness;
chmod 444 /sys/class/leds/button-backlight/brightness;
Then save that file and copy it to /system/etc/init.d
Click to expand...
Click to collapse
just tried it and it doesn´t work.
i also rebootet after saving the file.
any advises?
MrShibby said:
just tried it and it doesn´t work.
i also rebootet after saving the file.
any advises?
Click to expand...
Click to collapse
i just noticed the file is gone after rebooting...
i also tried to change the permission but that didn´t help
MrShibby said:
i just noticed the file is gone after rebooting...
i also tried to change the permission but that didn´t help
Click to expand...
Click to collapse
Sorry but I had installed 2.4 now I am on 3.5 and the file stays but the light settings are still not changed
MrShibby said:
Sorry but I had installed 2.4 now I am on 3.5 and the file stays but the light settings are still not changed
Click to expand...
Click to collapse
Try changing the "1" to "255"
Shows how people are different. The lights not timing out is one of the things I hate about HTC devices. I wish I could permanently turn them off.
Sent from my LG-E970 using Tapatalk 2
americasteam said:
Shows how people are different. The lights not timing out is one of the things I hate about HTC devices. I wish I could permanently turn them off.
Sent from my LG-E970 using Tapatalk 2
Click to expand...
Click to collapse
Make a file called 99noLEDs in /system/etc/init.d and put the following into it:
Code:
#!/system/bin/sh
echo "0" > /sys/class/leds/button-backlight/brightness;
chmod 444 /sys/class/leds/button-backlight/brightness;
This one definitely works. I use it on my phone. The other one was just kinda testing because 0 is to disable and 1 is to enable...
https://play.google.com/store/apps/details?id=com.deskangel.adjbrightness&hl=en
adding these to my init.d didn't work for me
However I have found an app that does the job:
https://play.google.com/store/apps/details?id=com.deskangel.adjbrightness&hl=en
jagnet said:
adding these to my init.d didn't work for me
However I have found an app that does the job:
https://play.google.com/store/apps/details?id=com.deskangel.adjbrightness&hl=en
Click to expand...
Click to collapse
Ok, the only I know works for sure is the disable one 2 posts above.
CNexus said:
Try changing the "1" to "255"
Click to expand...
Click to collapse
Now the lights will come on earlier but not permanently.... We are almost there
MrShibby said:
Now the lights will come on earlier but not permanently.... We are almost there
Click to expand...
Click to collapse
does anybody know a solution?
Related
is it possible to change the resolution of htc legend..........i tried lcd density but no use ...i am using azure cyanogen mod 6.....
i tried to edit the build pro..but no use
some one help me.......
Change Your Screen Resolution on HTC Evo 4g
I have successfully done this now. Remember that we don't have root in the same way that the EVO 4G does.
So:
Using any file manager that can read the / partition of your phone find and copy "/system/build.prop" onto your SD card.
Now copy the file to your desktop, and take a backup of that file too.
Open notepad and make sure word wrap is on, then open build.prop in notepad
Edit the required value (I chose 120), save and copy the file to your ADB/tools directory
Reboot your phone into clockworkMOD recovery, and connect your phone to the PC. Also go into the partitions menu of ClockworkMOD and click "mount system"
Open up ADB, and run "adb devices" to make sure the phone is connected and everything is working
Run these commands in this order:
adb push build.prop /sdcard/build.prop
adb shell
mount -o remount,rw /dev/block/system /system
cp /sdcard/build.prop /system/build.prop
Then reboot your phone.
Let me know if this helps
Also, for other readers:
Make sure you read the post that is linked to in the above post, otherwise my instructions might not make sense... I might edit it later when I have time
@TheGrammarFreak
What is the resoultion of your screen now?
qzem said:
@TheGrammarFreak
What is the resoultion of your screen now?
Click to expand...
Click to collapse
I dunno how I'd work it out, sorry.
Ah...
I think I've found the first of many flaws with this, and it was mentioned in the EVO 4G post. Some apps ignore this and use the old resolution, and thus don't fill the screen (see attachment)
As you can the the status bar goes a lot wider than the app. The status bar is the full width of the screen.
Other problems arise too, a reinstall of the app doesn't help, and some apps just end up completely screwed...
qzem said:
@TheGrammarFreak
What is the resoultion of your screen now?
Click to expand...
Click to collapse
The resolution is the same - HVGA (pixels are hardware). You only change the dpi value which means that more things will fit to your screen but it will appear coarser than before.
grandioso said:
The resolution is the same - HVGA (pixels are hardware). You only change the dpi value which means that more things will fit to your screen but it will appear coarser than before.
Click to expand...
Click to collapse
Cool, thanks grandioso
On a slightly different note I've found that changing the value to 130, and using the 5 icon rows feature of launcher pro, is quite nice.
grandioso said:
The resolution is the same - HVGA (pixels are hardware). You only change the dpi value which means that more things will fit to your screen but it will appear coarser than before.
Click to expand...
Click to collapse
Thanks for clearing that .
There are some problems, but if you want to try it out, you can flash the update.zip I've just made.
160lcd.zip takes you back to default and 120lcd.zip makes your screen resolution higher.
@Briix
Can you make update for 130, like TheGrammarFreak suggested
I'd make one but I'm currently struggling to sign my .zip
EDIT:
Done it, just testing then I'll upload. I also notice that ROM Manager is one of the apps that ends up being screwed by this mod...
EDIT 2:
Wow, lots of edits. Anyhoo, 130lcd right here:
really nice
TheGrammarFreak said:
I have successfully done this now. Remember that we don't have root in the same way that the EVO 4G does.
So:
Using any file manager that can read the / partition of your phone find and copy "/system/build.prop" onto your SD card.
Now copy the file to your desktop, and take a backup of that file too.
Open notepad and make sure word wrap is on, then open build.prop in notepad
Edit the required value (I chose 120), save and copy the file to your ADB/tools directory
Reboot your phone into clockworkMOD recovery, and connect your phone to the PC. Also go into the partitions menu of ClockworkMOD and click "mount system"
Open up ADB, and run "adb devices" to make sure the phone is connected and everything is working
Run these commands in this order:
adb push build.prop /sdcard/build.prop
adb shell
mount -o remount,rw /dev/block/system /system
cp /sdcard/build.prop /system/build.prop
Then reboot your phone.
Let me know if this helps
Also, for other readers:
Make sure you read the post that is linked to in the above post, otherwise my instructions might not make sense... I might edit it later when I have time
Click to expand...
Click to collapse
thanks man its working...........
Has anyone tried GrammarFreak's zip ?
Are there any problems with it ? Is it worth the effort ?
Do I have to wipe for this to work ?
Explicitly my zip? Or any of the zip's in this thread?
No wipe is needed.
Also, this method is inherently flawed. Some apps just don't use the edited resolution. Unless a way can be found to force these apps to scale up then there will always be ugly moments.
One of the things that I've found to not work is the HTC-IME mod. So is it worth it? That for you to decide... Lol
Sent from my Legend using XDA App
I mean yours or Briix' - are there any others ?
I don't want to edit the file manually if I don't have to
grandioso said:
Has anyone tried GrammarFreak's zip ?
Are there any problems with it ? Is it worth the effort ?
Do I have to wipe for this to work ?
Click to expand...
Click to collapse
Yup.. Tried.. working like a charm..
-------------------------------------------------------------------
Could you make a 140 and a 110 .. Just to try and see the result!?
I'll gladly test them both..
whitetigerdk said:
Yup.. Tried.. working like a charm..
-------------------------------------------------------------------
Could you make a 140 and a 110 .. Just to try and see the result!?
I'll gladly test them both..
Click to expand...
Click to collapse
I'd love to, but I can't at the moment, I'm at school and didn't bring my laptop. Unless someone beats me to it I'll make one in about an hour and a half; when I'm home.
I did try 140 myself but I didn't think it was worth it. I use 5 icon rows in launcher pro and the widgets started overlapping again. Like they did in the default resolution.
Sent from my Legend using XDA App
I'll wait..
Would be great though if WF & Clock Widget (The Sense look Clock) would adapt to new screen and fill it out..
Totally sweet indeed..
Yeah, if I knew more about android I'd look into forcing apps to scale up. I'm not sure if it's even possible, but hey.
Sent from my Legend using XDA App
There are some kernels that let you do this, but I'm using glitch which doesn't and I don't want to change.
I can set the vibration intensity by going to /sys/class/timed_output/vibrator/duty and changing the value to about 25000
Only problem is that this is set back to device default after reboot. Is there a way to manually set it permanently?
Cheers
Pete
Sent from my GT-I9000 using xda app-developers app
If you wanted you could make an init.d file to execute on each boot. Use a file manager and create a file called 99VibeIntensity and enter the code below. Paste it in /system/etc/init.d. Then change the permissions to -r-
Try this code here;
#!/system/bin/sh
#Changing Vibration Intensity...
echo 25000 > /sys/class/timed_output/vibrator/duty
Sent from my GT-I9000 using xda app-developers app
AlwaysDroid said:
If you wanted you could make an init.d file to execute on each boot. Use a file manager and create a file called 99VibeIntensity and enter the code below. Paste it in /system/etc/init.d. Then change the permissions to -r-
Try this code here;
#!/system/bin/sh
#Changing Vibration Intensity...
echo 25000 > /sys/class/timed_output/vibrator/duty
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
Thanks very much for the reply!
My script says exactly this:
Code:
#!/system/bin/sh
#Changing Vibration Intensity...
echo 25000 > /sys/class/timed_output/vibrator/duty
is that right? doesn't seem to work, but i am pretty noobish. The system has created a file called 99VibeIntensity.bak, if that is telling at all.
Cheers
peterpandemic said:
Thanks very much for the reply!
My script says exactly this:
Code:
#!/system/bin/sh
#Changing Vibration Intensity...
echo 25000 > /sys/class/timed_output/vibrator/duty
is that right? doesn't seem to work, but i am pretty noobish. The system has created a file called 99VibeIntensity.bak, if that is telling at all.
Cheers
Click to expand...
Click to collapse
No worries man we all are at one point. Also it doesnt HAVE to be called 99VibeIntensity. the number at the beginning just tells the system in which order to execute the scripts. so make sure there isnt another one with 99 as the prefix. Just to be sure, call the script "S99VibeIntesity. Also make sure the file has no extension like .txt etc.
EDIT: Im sorry i told you the wrong permissions. After placing the file try this from terminal emulator.
chmod 644 /system/etc/init.d/NameOfOurScriptHere or use file manager to set permissions to -rw-r--r--
then do a reboot and see if the value in the file has changed.
AlwaysDroid said:
No worries man we all are at one point. Also it doesnt HAVE to be called 99VibeIntensity. the number at the beginning just tells the system in which order to execute the scripts. so make sure there isnt another one with 99 as the prefix. Just to be sure, call the script "S99VibeIntesity. Also make sure the file has no extension like .txt etc.
EDIT: Im sorry i told you the wrong permissions. After placing the file try this from terminal emulator.
chmod 644 /system/etc/init.d/NameOfOurScriptHere or use file manager to set permissions to -rw-r--r--
then do a reboot and see if the value in the file has changed.
Click to expand...
Click to collapse
i just cant seem to get it! i found some more info here: http://forum.xda-developers.com/showthread.php?t=1626756
whatever i do doesn't seem to work. i tried setting the permissions to rx-rx-rx because the other scripts in init.d have those permissions. i tried changing the script a little to match the attachment in that other thread, but no dice. im still googling hard - cheers for tips so far
Try full permissions. My script in init.d to activate swap at boot has full permissions. Also remove the space from in between /system/bin/sh line and between our next line #changing vibe intensity.
Sent from my GT-I9000 using xda premium
tried a few format changes and full permissions. got this now in filename "99VibeIntensity"
Code:
#!/system/bin/sh#VIBRATIONINTENSITY#echo "25000" > /sys/class/timed_output/vibrator/duty
all permissions set. maybe i should stop punching above my weight and just use devil or midnight!
peterpandemic said:
tried a few format changes and full permissions. got this now in filename "99VibeIntensity"
Code:
#!/system/bin/sh#VIBRATIONINTENSITY#echo "25000" > /sys/class/timed_output/vibrator/duty
all permissions set. maybe i should stop punching above my weight and just use devil or midnight!
Click to expand...
Click to collapse
You should use devil, it is amazing. The options are endless. So many options for performance. I get exactly a day worth of battery life keeping 3g on only when I need it. Also I am going to make you a new script that I want you to try out for me. Will upload in a bit.
Sent from my GT-I9000 using xda premium
Sounds good! :beer:
Sent from my GT-I9000 using xda app-developers app
Uploading to dropbow now... be available in a few min
Edit: here is the link http://db.tt/ADr1qScP
Reboot a few times and then go to the file and see if it is changing. What is the stock value BTW?
Also I am on devil kernel and have vibration at max. Goes up to like 43000 just FYI!
Sent from my GT-I9000 using xda premium
default is 40140. i tried your script and no good. im probably missing something massive here... bawlz to it, im thinking of trying jellybean anyway! is it this rom you're using? http://forum.xda-developers.com/showthread.php?t=1778526 might take the plunge!
Yes I do use that, with devil kernel. I have vibration on Max and it works well. Its very smooth, not very many random reboots, temple run okays smooth to. Good ROM :]
Sent from my GT-I9000 using xda premium
I'm not really from this forum but someone linked here from mine, anyway in case your writing your script on windows use notepad++ because the regular one doesn't work well.
second try this script:
Code:
#!/system/bin/sh
sleep 60
echo 25000 > /sys/class/timed_output/vibrator/duty
Permission should be set rwxr-xr-x
You might want to name it S1XXXX to make sure it runs amongst the first scripts to eliminate any endless loop scripts that may be running and blocking the initiation of later scripts.
Make sure your kernel supports init.d scripts.
The script will run approx 1-2 minutes after boot to make sure any other startup script that changes the value did it's stuff already.
If all else fails you could use this script without script manager and set run as su and on boot.
which romis best for jelly beans for captivate....plz post the link
kishke said:
I'm not really from this forum but someone linked here from mine, anyway in case your writing your script on windows use notepad++ because the regular one doesn't work well.
second try this script:
Code:
#!/system/bin/sh
sleep 60
echo 25000 > /sys/class/timed_output/vibrator/duty
Permission should be set rwxr-xr-x
You might want to name it S1XXXX to make sure it runs amongst the first scripts to eliminate any endless loop scripts that may be running and blocking the initiation of later scripts.
Make sure your kernel supports init.d scripts.
The script will run approx 1-2 minutes after boot to make sure any other startup script that changes the value did it's stuff already.
If all else fails you could use this script without script manager and set run as su and on boot.
Click to expand...
Click to collapse
Very good point, i never thought of the loop scripts. Good call my friend! So maybe he should try to make it execute first.
OK, I got it to work.
I used Root Explorer and used the same permissions as the files that where inside the folder.
Here is what you have to use:
User: Root
Group: Shell
Permissions: rwxr-xr-x
First off apologies if it's not OK to bump and old thread and then go off topic a bit.
I was just wondering if anyone knew if its possible to increase the vibration intensity of the S2 (I9100)? I tried to see if i could just do the same as in this thread (im a total noob) but when trying to navigate to the correct directory there appears to be no 'duty' folder and so i couldn't find the correct thing to alter.
I have tried asking in the S2 forums about vibrator intensity but the most help i got was a link to this thread.
Thanks
Goooober said:
First off apologies if it's not OK to bump and old thread and then go off topic a bit.
I was just wondering if anyone knew if its possible to increase the vibration intensity of the S2 (I9100)? I tried to see if i could just do the same as in this thread (im a total noob) but when trying to navigate to the correct directory there appears to be no 'duty' folder and so i couldn't find the correct thing to alter.
I have tried asking in the S2 forums about vibrator intensity but the most help i got was a link to this thread.
Thanks
Click to expand...
Click to collapse
I apologise for bumping either.
I've almost solved the problem by using STweaks app with DorimanX Kernel (I have old 7.4.2 with very old ROM on Android 4.1.2)
I set Vibration Force to 100%. Look at the attachment.
I'm sure this will get figured out but does anyone know if there's a way to move/change/disable files on a rooted HD7 to disable these god forsaken ads without giving Amazon $15 bucks?
Try disabling dtcp_apk.apk in system/app. Its icon says Kindle Special Offers so I think its the ad service, but it may cause issues if you delete it so rename it to .bak to be safe.
Awesome...can anyone confirm this works?
hope not. a sure way to be sure they will do everything they can to patch and lock up as tight as possible.
zeeebs said:
Awesome...can anyone confirm this works?
Click to expand...
Click to collapse
It does seem to work! The screensaver now shows random book/letters/etc type backgrounds, no ads. I still get the "customers also bought" in carousel view, but otherwise I haven't spotted any ads.
Here's the steps I did:
Code:
# adb shell
[INDENT]
# su
# mount -o remount,rw /system
# cd /system/app
# mv dtcp_apk.apk dtcp_apk.apk.orig
[/INDENT]
# adb reboot
I'm attaching a couple pictures I took of the lock screen. Thanks for the tip!!
UPDATE: As a side note, I tried putting these back and it seems to have disabled them permanently. If I move the apk back to its original name and reboot, it still has the ads disabled.
UPDATE2: Just wanted to comment that my ads decided to come back...took a week or so but they eventually showed up again. I moved the file again as above, and they are gone again (no harm no foul).
nvrmore100 said:
It does seem to work! The screensaver now shows random book/letters/etc type backgrounds, no ads. I still get the "customers also bought" in carousel view, but otherwise I haven't spotted any ads.
Here's the steps I did:
Code:
# adb shell
[INDENT]
# su
# mount -o remount,rw /system
# cd /system/app
# mv dtcp_apk.apk dtcp_apk.apk.orig
# reboot
[/INDENT]
I'm attaching a couple pictures I took of the lock screen. Thanks for the tip!!
Click to expand...
Click to collapse
Thanks for your sharing!
I can also confirm this works...thanks!
nvrmore100 said:
It does seem to work! The screensaver now shows random book/letters/etc type backgrounds, no ads. I still get the "customers also bought" in carousel view, but otherwise I haven't spotted any ads.
Here's the steps I did:
I'm attaching a couple pictures I took of the lock screen. Thanks for the tip!!
Click to expand...
Click to collapse
Thanks..
Worked like a charm thanks
spunker88 said:
Try disabling dtcp_apk.apk in system/app. Its icon says Kindle Special Offers so I think its the ad service, but it may cause issues if you delete it so rename it to .bak to be safe.
Click to expand...
Click to collapse
I just went into properties of this apk and unchecked all permisions. I can confirm that this worked as well. Still have the random pics, but it also disabled the shop unlock slide with date and time in its place. Will post again in a week to see if this is permanent or if it has caused any adverse effects
RE: Well so far I have not had any problems with the method i took for disabling the ads. They have not returned. And this seemed to be much easier and safer than using adb.
onemeila said:
I just went into properties of this apk and unchecked all permisions. I can confirm that this worked as well. Still have the random pics, but it also disabled the shop unlock slide with date and time in its place. Will post again in a week to see if this is permanent or if it has caused any adverse effects
Click to expand...
Click to collapse
I tried this and it worked great. The ads started this morning after an automatic "Upgrade". The weird thing is that I had to re-root my KF HD because both ES File Explorer and File Manager were both saying that it wasn't rooted. I wasn't getting the option to change permissions on either
app, but I was able to see system files. I was finally able to change permission after a quick re-root.
Thanks for sharing the info. It's been about a week for you. Is the mod still working fine?
Archangel1183 said:
I tried this and it worked great. The ads started this morning after an automatic "Upgrade". The weird thing is that I had to re-root my KF HD because both ES File Explorer and File Manager were both saying that it wasn't rooted. I wasn't getting the option to change permissions on either
app, but I was able to see system files. I was finally able to change permission after a quick re-root.
Thanks for sharing the info. It's been about a week for you. Is the mod still working fine?
Click to expand...
Click to collapse
Added to my previous post, but incase you didnt see yes its still working great. Did you just get your device? If so I'm guessing you got the upgrade from 7.1.3 to 7.1.5, correct? When amazon does an ota like that it removes root.
onemeila said:
Added to my previous post, but incase you didnt see yes its still working great. Did you just get your device? If so I'm guessing you got the upgrade from 7.1.3 to 7.1.5, correct? When amazon does an ota like that it removes root.
Click to expand...
Click to collapse
I actually replied before you updated your post, so I didn't see it. I bought it 3 days ago. I just checked it and yes, it's currently on 7.1.5.
Glad to hear it's still working. I hope they don't come out with an update that changes the mod. Thanks for the update.
Does anyone have the reverse process of this? As in to turn the Ads back on?
zeeebs said:
Does anyone have the reverse process of this? As in to turn the Ads back on?
Click to expand...
Click to collapse
Does anyone know the location of the lockscreen wallpapers that show up on the lockscreen once you have disabled the lockscreen ads? I want to put my own wallpapers in there instead.
It's not that easy. Wallpapers are located in the framework-res.apk under /system/framework
Google search editing the framework-res for more answers. It isn't that difficult but you need to be very careful and make sure you know what you are doing because you can potentially brick your device. Without a custom recovery, you won't have very many options if that happens.
soupmagnet said:
It's not that easy. Wallpapers are located in the framework-res.apk under /system/framework
Google search editing the framework-res for more answers. It isn't that difficult but you need to be very careful and make sure you know what you are doing because you can potentially brick your device. Without a custom recovery, you won't have very many options if that happens.
Click to expand...
Click to collapse
Thanks for the heads up, I will hold off then.
zeeebs said:
Does anyone have the reverse process of this? As in to turn the Ads back on?
Click to expand...
Click to collapse
You simply do the reverse of what you did to turn them off. Either rename the file back from dtcp_apk.apk.orig to dtcp_apk.apk, or turn on the permissions to what they were before you modified them. I will say that it took a few days (upwards of a week actually) before it re-enabled the ads. Not really sure what it took for it to re-read that file, but it might have been some combination of me powering down entirely, or an OTA update check that eventually kicked it back in.
onemeila said:
I just went into properties of this apk and unchecked all permisions. I can confirm that this worked as well. Still have the random pics, but it also disabled the shop unlock slide with date and time in its place. Will post again in a week to see if this is permanent or if it has caused any adverse effects
RE: Well so far I have not had any problems with the method i took for disabling the ads. They have not returned. And this seemed to be much easier and safer than using adb.
Click to expand...
Click to collapse
This does work. A little research goes a long way haha. Thanks +1 to you, sir.
nvrmore100 said:
It does seem to work! The screensaver now shows random book/letters/etc type backgrounds, no ads. I still get the "customers also bought" in carousel view, but otherwise I haven't spotted any ads.
Here's the steps I did:
Code:
# adb shell
[INDENT]
# su
# mount -o remount,rw /system
# cd /system/app
# mv dtcp_apk.apk dtcp_apk.apk.orig
[/INDENT]
# adb reboot
I'm attaching a couple pictures I took of the lock screen. Thanks for the tip!!
UPDATE: As a side note, I tried putting these back and it seems to have disabled them permanently. If I move the apk back to its original name and reboot, it still has the ads disabled.
UPDATE2: Just wanted to comment that my ads decided to come back...took a week or so but they eventually showed up again. I moved the file again as above, and they are gone again (no harm no foul).
Click to expand...
Click to collapse
It works.. thanks so much... you rock!!:good:
This tweak worked on the stock T-Mobile OCG ROM, and will likely work for other stock based ROM's.
I used the "SQLite Editor" app to do this tweak. Other SQLite editors should work as well.
1.Launch SQLite Editor and select "Files" and drill down into /data/data/com.android.providers.settings/databases/settings.db
2. Select "system"
3. Press the "+" option
4. Leave _id set to auto
5. Add in the name field "notification_panel_brightness_adjustment" (without the quotes)
6. Add in the value field "0" (number zero without the quotes)
7. Press save
8. Exit and reboot
If you decide at a later time you want it back, just change the value of that field to a 1 then save and reboot.
guyd said:
This tweak worked on the stock T-Mobile OCG ROM, and will likely work for other stock based ROM's.
I used the "SQLite Editor" app to do this tweak. Other SQLite editors should work as well.
1.Launch SQLite Editor and select "Files" and drill down into /data/data/com.android.providers.settings/databases/settings.db
2. Select "system"
3. Press the "+" option
4. Leave _id set to auto
5. Add in the name field "notification_panel_brightness_adjustment" (without the quotes)
6. Add in the value field "0" (number zero without the quotes)
7. Press save
8. Exit and reboot
If you decide at a later time you want it back, just change the value of that field to a 1 then save and reboot.
Click to expand...
Click to collapse
Nice find! However since I actually use the brightness slider daily, I won't be getting rid of it. Now we just need to find a way to get rid of the S Finder/Quick Connect from the notification panel.
Yoshi910 said:
Nice find! However since I actually use the brightness slider daily, I won't be getting rid of it. Now we just need to find a way to get rid of the S Finder/Quick Connect from the notification panel.
Click to expand...
Click to collapse
I can mod systemui.apk to remove them, if you want it.
mikeyinid said:
I can mod systemui.apk to remove them, if you want it.
Click to expand...
Click to collapse
Yes please
And if you could possibly look into having 6 toggles that would be greatly appreciated. Using your rom got it before the pull lol
guaneet said:
Yes please
And if you could possibly look into having 6 toggles that would be greatly appreciated. Using your rom got it before the pull lol
Click to expand...
Click to collapse
haha, yea im not a fan of having a ton of threads all with mostly the same thing. ill see what i can do about the toggles, i can for sure get rid of the other stuff.
You can also simply install Lux and turn off its persistent notification
Could this be used to do other tweaks like remove icons/clock from the status bar?
mikeyinid said:
I can mod systemui.apk to remove them, if you want it.
Click to expand...
Click to collapse
That'd be awesome. I was looking through the xml but was having trouble finding an obvious section to cut for this bar--res/layout/status_bar_expanded doesn't even appear to contain a reference to the sfinder_qconnect stuff.
teiglin said:
That'd be awesome. I was looking through the xml but was having trouble finding an obvious section to cut for this bar--res/layout/status_bar_expanded doesn't even appear to contain a reference to the sfinder_qconnect stuff.
Click to expand...
Click to collapse
its in res/values/dimens.xml. if you google it theres a few tuts how to do it.
mikeyinid said:
its in res/values/dimens.xml. if you google it theres a few tuts how to do it.
Click to expand...
Click to collapse
Thanks, I had been looking at another tutorial involving cutting a few lines from status_bar_extended, but it hadn't occurred to me simply to change its size to zero in dimens. >.<
This doesn't seem worth a whole new thread, so I've attached a systemui whose only change is the removal of the sfinder/qconnect bar. I believe you also have to delete the arm64/SystemUI.odex.art.xz file for things to work properly.
Edit for basic instructions:
Use a root-enabled file manager or console to replace /system/priv-app/SystemUI/SystemUI.apk with the attached file, and delete /system/priv-app/SystemUI/arm64/SystemUI.odex.art.xz. Make sure the permissions of the new SystemUI.apk are rw-r--r-- (chmod 644 /system/priv-app/SystemUI/SystemUI.apk at the console). Reboot and enjoy.
Caveat: you may not be able to swipe away notifications from within the region previously taken up by the sfinder/qconnect bar.
Great! Can also be done via adb:
Code:
adb shell settings put system notification_panel_brightness_adjustment 0
teiglin said:
Thanks, I had been looking at another tutorial involving cutting a few lines from status_bar_extended, but it hadn't occurred to me simply to change its size to zero in dimens. >.<
This doesn't seem worth a whole new thread, so I've attached a systemui whose only change is the removal of the sfinder/qconnect bar. I believe you also have to delete the arm64/SystemUI.odex.art.xz file for things to work properly.
Click to expand...
Click to collapse
Thanks! Works great.
teiglin said:
Thanks, I had been looking at another tutorial involving cutting a few lines from status_bar_extended, but it hadn't occurred to me simply to change its size to zero in dimens. >.<
This doesn't seem worth a whole new thread, so I've attached a systemui whose only change is the removal of the sfinder/qconnect bar. I believe you also have to delete the arm64/SystemUI.odex.art.xz file for things to work properly.
Click to expand...
Click to collapse
How would you get it to work, I tried to install it but it won't install.
teiglin said:
Thanks, I had been looking at another tutorial involving cutting a few lines from status_bar_extended, but it hadn't occurred to me simply to change its size to zero in dimens. >.<
This doesn't seem worth a whole new thread, so I've attached a systemui whose only change is the removal of the sfinder/qconnect bar. I believe you also have to delete the arm64/SystemUI.odex.art.xz file for things to work properly.
Click to expand...
Click to collapse
Worked fine, thanks !
EvoYas said:
How would you get it to work, I tried to install it but it won't install.
Click to expand...
Click to collapse
Also wondering the same. And I don't see the system ui file in arm64. Can't wait to find out though lol I despise those two buttons
EvoYas said:
How would you get it to work, I tried to install it but it won't install.
Click to expand...
Click to collapse
v2.2v said:
Also wondering the same. And I don't see the system ui file in arm64. Can't wait to find out though lol I despise those two buttons
Click to expand...
Click to collapse
You either need a root-enabled file manager or su at a console, and replace /system/priv-app/SystemUI/SystemUI.apk with the file I provided, and delete /system/priv-app/SystemUI/arm64/SystemUI.odex.art.xz, then reboot. As always, I strongly recommend making backups and of course, I can provide no guarantees, yadda yadda.
teiglin said:
You either need a root-enabled file manager or su at a console, and replace /system/priv-app/SystemUI/SystemUI.apk with the file I provided, and delete /system/priv-app/SystemUI/arm64/SystemUI.odex.art.xz, then reboot. As always, I strongly recommend making backups and of course, I can provide no guarantees, yadda yadda.
Click to expand...
Click to collapse
That worked flawlessly, thank you.
teiglin said:
You either need a root-enabled file manager or su at a console, and replace /system/priv-app/SystemUI/SystemUI.apk with the file I provided, and delete /system/priv-app/SystemUI/arm64/SystemUI.odex.art.xz, then reboot. As always, I strongly recommend making backups and of course, I can provide no guarantees, yadda yadda.
Click to expand...
Click to collapse
perfect! thank you so much
teiglin said:
Thanks, I had been looking at another tutorial involving cutting a few lines from status_bar_extended, but it hadn't occurred to me simply to change its size to zero in dimens. >.<
This doesn't seem worth a whole new thread, so I've attached a systemui whose only change is the removal of the sfinder/qconnect bar. I believe you also have to delete the arm64/SystemUI.odex.art.xz file for things to work properly.
Click to expand...
Click to collapse
Awesome! Works perfectly! Thanks so much. Just a reminder to relative noobs like myself to change the appropriate permissions in the new SystemUI file to -rw-r--r--. I forgot to do so first try, and lost both the status bar and the lockscreen. Fixed now, but had a moment or two of panic...
Painless001 said:
Awesome! Works perfectly! Thanks so much. Just a reminder to relative noobs like myself to change the appropriate permissions in the new SystemUI file to -rw-r--r--. I forgot to do so first try, and lost both the status bar and the lockscreen. Fixed now, but had a moment or two of panic...
Click to expand...
Click to collapse
BINGO. Yea i forgot to mention that in my response, as well. Always fix permissions
Hey all. Other day i look around floating_feature.xml in system/etc and i found the line for config nav bar:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
I think if theres an option "SupportLightNavigationBar" lets see if "SupporrDarkNavigationBar" works. And it worked
Don't know if anyone have dicover that but i wann share it with you.
Final code:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView|SupportDarkNavigationBar</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
marquelito said:
Hey all. Other day i look around floating_feature.xml in system/etc and i found the line for config nav bar:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
I think if theres an option "SupportLightNavigationBar" lets see if "SupporrDarkNavigationBar" works. And it worked
Don't know if anyone have dicover that but i wann share it with you.
Final code:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView|SupportDarkNavigationBar</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
Click to expand...
Click to collapse
It works only for rooted S9?
Meknes23 said:
It works only for rooted S9?
Click to expand...
Click to collapse
I think you can push it via adb. If anyone could help with it
marquelito said:
I think you can push it via adb. If anyone could help with it
Click to expand...
Click to collapse
Fairly sure you need to be rooted to mod system files even with ADB, or at least have TWRP installed, in which case you might as well root too as you have already tripped KNOX
or you can just use this app:
https://play.google.com/store/apps/details?id=by4a.setedit22
set
need_dark_navigationbar to 1
need_dark_statusbar to 1
then go switch it to black..
you might need adb initially to get the app permission but its only needed to do once.. actually, you dont need permission for that as its in system settings.. if u want to change secure or global settings you need to set the adb perms
*Detection* said:
Fairly sure you need to be rooted to mod system files even with ADB, or at least have TWRP installed, in which case you might as well root too as you have already tripped KNOX
Click to expand...
Click to collapse
not true in this case.. those values are in settings.. you can do it in adb also if you use the settings binary similar to what i just posted.. the app is probably the easiest tho plus u can edit pretty much any setting with the app
elliwigy said:
or you can just use this app:
https://play.google.com/store/apps/details?id=by4a.setedit22
set
need_dark_navigationbar to 1
need_dark_statusbar to 1
then go switch it to black..
you might need adb initially to get the app permission but its only needed to do once.. actually, you dont need permission for that as its in system settings.. if u want to change secure or global settings you need to set the adb perms
Click to expand...
Click to collapse
Just changed those lines both to 1, but no black has appeared
Also I have a problem with low notification / ringtone sounds, I see there are level settings for that too
What is the adb command to get the full permissions for the app to edit everything? The values are reset back to 0 after a reboot
*Detection* said:
Just changed those lines both to 1, but no black has appeared
Also I have a problem with low notification / ringtone sounds, I see there are level settings for that too
What is the adb command to get the full permissions for the app to edit everything? The values are reset back to 0 after a reboot
Click to expand...
Click to collapse
Did you have any luck figuring this out? The settings don't seem to stick on reboot.
knoxjon said:
Did you have any luck figuring this out? The settings don't seem to stick on reboot.
Click to expand...
Click to collapse
Not with this method, I use this now instead, works flawlessly
https://play.google.com/store/apps/details?id=org.inteks.samtweak2&hl=en
Exclude the app from power saving though or you'll need to open it again to reapply some of the tweaks
knoxjon said:
Did you have any luck figuring this out? The settings don't seem to stick on reboot.
Click to expand...
Click to collapse
not sure why u guys have a hard time lol.. i change the value to 1 then wait a few mins then when i go to navbar settings its black..
works every time for me