[Q] Disable Hardware Overlay - General Questions and Answers

i want to disable hardware overlay and i'm on my micromax a110 stock ics rom 4.0.4. but the disable hardware overlay option is missing under developer options. i want to use software called screencast thats why i need to enable this option.

Have you tried to add this code to build.prop?
debug.composition.type=gpu
Click to expand...
Click to collapse
For your reference, I use several codes like this in my phone :
debug.sf.hw=1
video.accelerate.hw=1
debug.egl.profiler=1
debug.performance.tuning=1
debug.egl.hw=1
debug.composition.type=gpu
Click to expand...
Click to collapse
But I don't know how do i know that it's works...

triwira said:
Have you tried to add this code to build.prop?
For your reference, I use several codes like this in my phone :
But I don't know how do i know that it's works...
Click to expand...
Click to collapse
thanks my ui performing smooth but screencast still recording black screen.

anyone please answer...

any alternate way to record screen video?

Jeet Chowdhury said:
any alternate way to record screen video?
Click to expand...
Click to collapse
I was interested in this too, and found this line:
system_init.startsurfaceflinger=0
which is written to settings when i tick the option. But it does nothing, 'disable hw overlays' was still off at reboot.
I got the answer that settings app passes the command directly to surfaceflinger, so setting stays only untill reboot because of that (seems it's intended behavior).
Now i don't know what command that is, but if i did, then i could make init.d script.
Now there is a plugin for tasker (smart settings) that has this option, but tasker is not free, and neither is this plugin. I am surely not gonna buy these 2 apps just for this one setting (tasker might come handy someday though).
So if someone finds out about command that needs to be passed to surfaceflinger bin, please post it.:good:

Related

[APP] PerApp -- change a few per-app settings

Official release is in Google Play.
PerApp is a simple open source app that lets you set a few settings for individual apps. Specifically as of 1.03:
- orientation
- volume boost (Android 2.3+)
- screen timeout time
- CPU speed [root]
- font size
- input method [root]
I have a pre-release version here, with source code in the repository.
I wrote it because there is one app that I wanted to be able to lock the screen orientation for. I knew there is an app in the Market that does that, but I didn't like a recent review of it, so I wrote my own.
I am sure Tasker does all of this and more, but I prefer to use a simple, small and cheap app.
Only the CPU settings use root.
I posted 0.03 which should work better with the never show notification icon option.
Nice this is exactly what i searched changing the volume of one app.
i dowloadet the version PerApp003.apk start the program and after aktivating it and caling the programm again, my screen rests black and i get after +- 10sec the message: Unfortunately, PerApp has stopped.
any posibility to find a error log that can help to find the problem ?
the error coms on a Samsung Galaxy S 2 on 4.03
sorry for bad english
GreenDevil69 said:
Nice this is exactly what i searched changing the volume of one app.
i dowloadet the version PerApp003.apk start the program and after aktivating it and caling the programm again, my screen rests black and i get after +- 10sec the message: Unfortunately, PerApp has stopped.
any posibility to find a error log that can help to find the problem ?
Click to expand...
Click to collapse
Yeah, install Android Log Collector, run Per App, and right after the crash go to Log Collector and email me (arpruss at gmail dot com) your log. I have yet to see private stuff in a log, but if you're really careful you can email the log to yourself first, look through it, and then forward it to me.
arpruss said:
Yeah, install Android Log Collector, run Per App, and right after the crash go to Log Collector and email me (arpruss at gmail dot com) your log. I have yet to see private stuff in a log, but if you're really careful you can email the log to yourself first, look through it, and then forward it to me.
Click to expand...
Click to collapse
ok its done, hope you can find the problem
EDIT: Works great now on gs2 4.0.3 big thx to arpruss
ICS problem fixed, confirmed with user.
I recommend everyone switch to 0.04 as it does stuff The Right Way.
I posted 0.06 which improves an audio boost issue.
I just added:
- CPU min/max speed changing on a per app basis (needs root); you need to go to Menu | Settings to activate it, though.
- Jelly Bean support (needs root, as in JB one doesn't get the READ_LOGS permission without root; on ICS and below root is not needed).
Just put out 0.08, fixing bug in CPU speed adjust.
Can you add per-app GPS setting?
trenje said:
Can you add per-app GPS setting?
Click to expand...
Click to collapse
Great idea!
I made some UI improvements in 0.09. Now in the apps list it shows some info about how apps were customized. Moreover, if you edit defaults, you get an option to reset all apps to default in respect of one of the settings.
Great work!
I suggest separating apps that had their settings changed from the ones with the default settings or puting them on top for easy access...
A change log in the OP would be appreciated as well.
Thanks!
color me impressed. I've been using tasker to do such things but I'd like it in a seperate app, especially if I can export those settings later (apply them to other phones maybe?)
It would be very usefull if you can set DPI perapp.
Thx.
mdalacu said:
It would be very usefull if you can set DPI perapp.
Thx.
Click to expand...
Click to collapse
ParanoidAndroid would be your choice then.
mdalacu said:
It would be very usefull if you can set DPI perapp.
Thx.
Click to expand...
Click to collapse
...and a function to switch between smartphone- and tablet-mode
slow23 said:
ParanoidAndroid would be your choice then.
Click to expand...
Click to collapse
But not all everyone likes CyanogenMod based roms
Does the volume boost work the other way around and can you use it on system apps? I'd really like to lower the volume of incoming facebook messages and the camera shutter since it doesn't seem to be affected by changing any sounds except for silent mode.
nice app
:good:
Great app. Any plans for releasing it in Play store?

Help for Atomods with CRT Animation

After flashing Atomods Sucessfully i tried to enable CRT animation ( Mentioned in note that : have to edit the Built.prop to enable animation) as follow
Add # before the line <debug.sf.hw=1>
Like this < #debug.sf.hw=1 >
After doing this CRT animation works fine but i cant able to see my bootanimation only it sounds..
Any ideas/helps..
Sry fr my BAd englisH
amtra said:
After flashing Atomods Sucessfully i tried to enable CRT animation ( Mentioned in note that : have to edit the Built.prop to enable animation) as follow
Add # before the line <debug.sf.hw=1>
Like this < #debug.sf.hw=1 >
After doing this CRT animation works fine but i cant able to see my bootanimation only it sounds..
Any ideas/helps..
Sry fr my BAd englisH
Click to expand...
Click to collapse
This line forces GPU to render graphics. In the early gingerbread roms, debug.sf.hw=1 is the source of a pain for all users, slowing ALL popup animations and lagging them badly, and also rendering the screenoff animation inexistent.
The solution is deleting that line or put a # behind, so its not being read by the system.​So, doing that has this problem but your system will work much smoother.
This is just my opinion!​
ShadowsDie said:
This line forces GPU to render graphics. In the early gingerbread roms, debug.sf.hw=1 is the source of a pain for all users, slowing ALL popup animations and lagging them badly, and also rendering the screenoff animation inexistent.
The solution is deleting that line or put a # behind, so its not being read by the system.​So, doing that has this problem but your system will work much smoother.
This is just my opinion!​
Click to expand...
Click to collapse
Thanks for your Opinion So i have to sacrifice any one of them..
amtra said:
Thanks for your Opinion So i have to sacrifice any one of them..
Click to expand...
Click to collapse
You are welcome, wait a second opinion or direct answer but from my experience here i knew this is the reason.
ShadowsDie said:
You are welcome, wait a second opinion or direct answer but from my experience here i knew this is the reason.
Click to expand...
Click to collapse
I jus take it as a opinion and disabled debug.sw.hw=1 coz there's no use of bootanimation for me..
Thanks again..
ShadowsDie said:
This line forces GPU to render graphics. In the early gingerbread roms, debug.sf.hw=1 is the source of a pain for all users, slowing ALL popup animations and lagging them badly, and also rendering the screenoff animation inexistent.
The solution is deleting that line or put a # behind, so its not being read by the system.​So, doing that has this problem but your system will work much smoother.
This is just my opinion!​
Click to expand...
Click to collapse
So when my system works smoother debug.sf.hw=1 Enabled or Disabled
amtra said:
So when my system works smoother debug.sf.hw=1 Enabled or Disabled
Click to expand...
Click to collapse
well its a tweak, you can add 16 bit transparency as well and as i said that tweak is the same thing as this
debug.sf.hw=1
debug.composition.type=gpu
if you add both the system should run smoother but i guess its not battery friendly
also if you want ultimate smoothness but a less battery life you can add this in build.prop
debug.sf.hw=1
debug.composition.type=gpu
debug.composition.type=cpu
this will force both gpu and cpu to work the graphics
i gave it a try and added the 16bit transparency and well it really works better
so yea, enable all these
ShadowsDie said:
well its a tweak, you can add 16 bit transparency as well and as i said that tweak is the same thing as this
debug.sf.hw=1
debug.composition.type=gpu
if you add both the system should run smoother but i guess its not battery friendly
also if you want ultimate smoothness but a less battery life you can add this in build.prop
debug.sf.hw=1
debug.composition.type=gpu
debug.composition.type=cpu
this will force both gpu and cpu to work the graphics
i gave it a try and added the 16bit transparency and well it really works better
so yea, enable all these
Click to expand...
Click to collapse
Wooa..
Sounds good wen looking for performance but already my SGAP hunts my battery bit high so i will try it for some time..
ShadowsDie said:
well its a tweak, you can add 16 bit transparency as well and as i said that tweak is the same thing as this
debug.sf.hw=1
debug.composition.type=gpu
if you add both the system should run smoother but i guess its not battery friendly
also if you want ultimate smoothness but a less battery life you can add this in build.prop
debug.sf.hw=1
debug.composition.type=gpu
debug.composition.type=cpu
this will force both gpu and cpu to work the graphics
i gave it a try and added the 16bit transparency and well it really works better
so yea, enable all these
Click to expand...
Click to collapse
So i cant conclude to stick to a rom.. Now still on stock..?
amtra said:
So i cant conclude to stick to a rom.. Now still on stock..?
Click to expand...
Click to collapse
if you are asking me if im on stock, no. im now on inspiration as it has no bugs.
you should stay on any gb rom for now as the most of jb roms have a lot of bugs.
the only i like is techkang's cm + kernel 3 but it has the usb charging bug and that is the way i charge my phone nowadays
ShadowsDie said:
if you are asking me if im on stock, no. im now on inspiration as it has no bugs.
you should stay on any gb rom for now as the most of jb roms have a lot of bugs.
the only i like is techkang's cm + kernel 3 but it has the usb charging bug and that is the way i charge my phone nowadays
Click to expand...
Click to collapse
Ya i also tried CM10.2 all r working fine Except USB charging.. Lets try Inspiration..

Keep video playing in background when switching app

Hi there,:laugh:
Apologies for the Noob question, but can anybody please tell me how to enable it so that my video will continues to play in the background if I open another application like the equalizer or amplifier application?
it is a little annoying when you would like to set the equalizer but the playback stops as soon as you open the eq application.
Thanks in advance
Ernest
Found it. Never mind. Lol
Need to change an entry in Build.prop
Change "ro.product.backgroundvideo" from false to true
br4t said:
Found it. Never mind. Lol
Need to change an entry in Build.prop
Change "ro.product.backgroundvideo" from false to true
Click to expand...
Click to collapse
Try to change, but don't have: ro.product.backgroundvideo
any idea?

Ghost Touch Fix (Not Entirely) - FTS Panel

Since most of us are pulling their hair out trying to fix this issue. I'd like to share what I did to my Poco F1.
Believe me, I tried everything and nothing works with the FTS panel. So I found a workaround and this is more of blocking the area where ghost touch occurs. It's like creating a DEAD ZONE.
UPDATE: Here's what I use.
- MIUI 10.3.7.0
- POCOF1Global_9.5.25-ven-firm.zip
- kernel-beryllium_global_9.5.25-ak2.zip
- FDE.AI Module from Magisk (search and install it directly in Magisk)
- Build.prop
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
ro.ril.enable.a52=1
ro.ril.enable.a53=0
debug.sf.hw=1
video.accelerate.hw=1
debug.egl.profiler=1
debug.egl.hw=1
persist.sys.ui.hw=1
view.scroll_friction=10
debug.composition.type=gpu
debug.performance.tuning=1
touch.deviceType=touchScreen
touch.orientationAware=1
touch.size.calibration=diameter
touch.size.scale=100
touch.size.bias=0
touch.size.isSummed=0
touch.pressure.calibration=physical
touch.pressure.scale=0.001
touch.orientation.calibration=none
touch.distance.calibration=none
touch.distance.scale=0
touch.coverage.calibration=box
touch.gestureMode=spots
MultitouchSettleInterval=1ms
MultitouchMinDistance=1px
TapInterval=1ms
TapSlop=1px
Click to expand...
Click to collapse
*Much better build. I even forgot to apply my dead zone and still played flawlessly.
How to create a DEAD ZONE:
1. Install Partial Screen PRO (it's a touch blocker). You can find it on play store. There's a free one but expires within 3 days.
2. Download the Notch Killer v2 module and install it in your Magisk. Reboot.
3. Go to developers options, simulate a display cutout and select 'Notch Killer'. (Why notch killer? Partial Screen doesn't use the notch space where ghost touch occurs. Notch killer will force it to use the space.)
4. Open Partial Screen, Apply permissions (You can cancel the auto analysis by pressing double back.)
5. Add Manual Region and create an area on your Notch. You can adjust it as you like, change color, or make it transparent at Area Manager.
6. Start Manual Service
7. PROFIT.
Click to expand...
Click to collapse
*Please take note that this build and workaround will NOT FIX the ghost touches entirely but will minimize it greatly.
Use it free!
PPPon said:
Since most of us is pulling their hair out trying to fix this issue. I'd like to share what I did to my PocoF1.
Believe me, I tried everything and nothing really works with FTS panel. So, this is more of a blocking the area where ghost touch occurs. It's like creating a DEAD ZONE.
I'm using the latest Global MIUI with Latest Optimus Drunk Kernel (use this to minimize the ghost touch and will make it occur only at the notch) and Magisk installed.
1. Install Partial Screen (it's a touch blocker). You can find this on play store and it's not free. (Believe me, it's more worth it than buying a new display panel)
2. Download the Notch Killer v2 module and install it in your Magisk. Reboot.
3. Go to developers options, simulate a display cutout and select 'Notch Killer'. (Why notch killer? Partial Screen doesn't use the notch space where ghost touch occurs. Notch killer will force it to use the space.)
4. Open Partial Screen, Apply permissions (You can cancel the auto analysis by pressing double back.)
5. Add Manual Region and create an area on your Notch. You can adjust it as you like, change color, or make it transparent at Area Manager.
6. Start Manual Service
7. PROFIT.
There you go. That's how I enjoy my games now. And it's pretty amazing that Notification is still accessible through notch even tho I blocked it.
Click to expand...
Click to collapse
I am using your guide. It seems my problem is solved 80℅. I will update my post after some day and experience
But there is no need to buy this app. The free version can be useful as well.
Yeah sometimes it drops my controls when there's too much ghost touch happening that's why it will not entirely fix the issue but it will improve your gameplay alot.
There's a free one but it will expire in 3 days after using. There's a hidden subscription somewhere in the settings.
Thanks for the tutorial. This has been bugging me for a month. It's a good work around for now.
Glad it works for you. It's really a bummer with our fts panel. At least now you can try and experiment with other roms or kernels and see what's best for your phone.
What's weird is that it hasn't been a problem before which points the finger at a software issue. This gives me hope that it could be resolved through a new release of touch drivers for fts panels but I fear xiaomi is not going to spend time on that. Poco is going out of production.
I feel you. I never had problems before for 3 months after buying this unit. After so many updates and still not fixing the issue, I lost faith to POCO F1 devs.
Heads up! I updated my current build. You can try that and tell me if it works better for you too.
fix FTs_ts only devloper
thanks to many brother best friends, we are both on the FTs screen. I'm also looking for this bug fix.
Why is devloper xioami pocohone f1 so slow? I am disappointed with all this
---------- Post added at 08:41 AM ---------- Previous post was at 08:31 AM ----------
brother, which type of global version are you using MIUi for? thank you by replying to save FTs_ts only
Going back to arter kernel r6 solves it for me, showing that it is an issue with touch drivers. I'll try to find out exactly which driver that is.
mandala04 said:
thanks to many brother best friends, we are both on the FTs screen. I'm also looking for this bug fix.
Why is devloper xioami pocohone f1 so slow? I am disappointed with all this
---------- Post added at 08:41 AM ---------- Previous post was at 08:31 AM ----------
brother, which type of global version are you using MIUi for? thank you by replying to save FTs_ts only
Click to expand...
Click to collapse
I'm using the MIUI 10.3.7.
jackiass said:
Going back to arter kernel r6 solves it for me, showing that it is an issue with touch drivers. I'll try to find out exactly which driver that is.
Click to expand...
Click to collapse
I'll test that later and see if it fix mine. Thanks for letting me know!
Edit: The kernel lags too much on my phone when sending a 5 or more touches and then restart itself. What ROM are you using?
PPPon said:
I'm using the MIUI 10.3.7.
I'll test that later and see if it fix mine. Thanks for letting me know!
Edit: The kernel lags too much on my phone when sending a 5 or more touches and then restart itself. What ROM are you using?
Click to expand...
Click to collapse
Havoc
Try Optimus_Drunk_Beryllium-20190826_2.
jackiass said:
Havoc
Try Optimus_Drunk_Beryllium-20190826_2.
Click to expand...
Click to collapse
does havoc split mode works the same way as from miui? im playing an mmorpg too using 2 accs on split, all of the rom i tried cannot play 2 games at the same time. one will always be paused.
i tried that too, but 20190820 works better for my phone.
I don't know if it would be a thing for you, but hiding notch solves it without needing to install third party apps.
For me, I'm using franco latest kernel, reloaded-caf and notch is enabled. I'm getting ghost touches but only a few per day, because it seems the below build prop add-ins does something close from what OP reports
Code:
********************
touch.presure.scale=0.001
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
ro.ril.enable.a52=1
ro.ril.enable.a53=0
persist.sys.ui.hw=1
view.scroll_friction=10
debug.composition.type=gpu
debug.performance.tuning=1
# advanced touch settings
touch.deviceType=touchScreen
touch.orientationAware=1
touch.size.calibration=diameter
touch.size.scale=1
touch.size.bias=0
touch.size.isSummed=0
touch.pressure.calibration=physical
touch.pressure.scale=0.001
touch.orientation.calibration=none
touch.distance.calibration=none
touch.distance.scale=0
touch.coverage.calibration=box
touch.gestureMode=spots
MultitouchSettleInterval=1ms
MultitouchMinDistance=1px
TapInterval=1ms
TapSlop=1px
Vinnom said:
I don't know if it would be a thing for you, but hiding notch solves it without needing to install third party apps.
For me, I'm using franco latest kernel, reloaded-caf and notch is enabled. I'm getting ghost touches but only a few per day, because it seems the below build prop add-ins does something close from what OP reports
Click to expand...
Click to collapse
Thanks for the advice. I already found this solution but was hoping to keep the notch. The first work around from OP is still giving me issues so I'll guess I'll be notchless until xiaomi solves this (if ever).
latest rom fixed the touch problems for me
Which Rom?
jackiass said:
Which Rom?
Click to expand...
Click to collapse
10.3.7.0
UltraSphinx said:
latest rom fixed the touch problems for me
Click to expand...
Click to collapse
fts panel?
Well, I don't like miui so using it is not a thing to me. Tbh, I think that this fix may only come via Android 10 as I'm quite skeptical about then releasing another pie update
Just tried Twisted-F1-NVT8.12.10-V7.0-B531. It's only been 5 minutes but so far no issues.
PPPon said:
Yeah sometimes it drops my controls when there's too much ghost touch happening that's why it will not entirely fix the issue but it will improve your gameplay alot.
There's a free one but it will expire in 3 days after using. There's a hidden subscription somewhere in the settings.
Click to expand...
Click to collapse
I am using free version. And at day 5 its still working fine
jackiass said:
Just tried Twisted-F1-NVT8.12.10-V7.0-B531. It's only been 5 minutes but so far no issues.
Click to expand...
Click to collapse
I flash it. Didn't worked for me

Question Any way to stop gallery app suggestions?

Can't find setting to disable it. Anyone know if there is a package spesific for that function so I can disable it?
1) tell your brain to miss that icon ( work for me )
2) close your eyes and click any icons ( u can get it after 20 attempts )
3) install OnePlus Gallery ( almost the same as Samsung Gallery )
rroyy said:
Can't find setting to disable it. Anyone know if there is a package spesific for that function so I can disable it?
Click to expand...
Click to collapse
Just click the items, they will disappear.
donkeyman1234 said:
Just click the items, they will disappear.
Click to expand...
Click to collapse
keeps coming with new suggstions...
rroyy said:
Can't find setting to disable it. Anyone know if there is a package spesific for that function so I can disable it?
Click to expand...
Click to collapse
Why do you want to disable this function? It's good functionality to enhance the picture's quality....
haifish9999 said:
Why do you want to disable this function? It's good functionality to enhance the picture's quality....
Click to expand...
Click to collapse
You can use same function for photos manually. I don't need it.
rroyy said:
keeps coming with new suggstions...
Click to expand...
Click to collapse
Yes, it does, just repeat the clicking.
rroyy said:
You can use same function for photos manually. I don't need it.
Click to expand...
Click to collapse
You can try to disable the Smart Suggestion application on the App section( Show System Apps: Enable) and see how is going....

Categories

Resources