http://forum.xda-developers.com/xposed/modules/mod-knock-code-screen-t2768502
Anyway to add this to rom? this module doesnt work for this device
Related
Hi!
I would like to know if I can disable a device-driver within init.rc or something.
The reason is, that I would like to totally switch off the touchkey-buttons (the function and the backlight). They are not active in bootloader-mode, but switch on when the device is booting the kernel, so I guess they could be switched off by deleting or at least disabling the driver.
Any ideas on how to do that without having to recompile the whole kernel?
Thanks
McDV
Is there any way too disable the hall sensor ?
I work in a high magnetic field environment and it constantly turns the screen on/off as i move around.
Can you make a Faraday case or do you want to retain mobile phone signal?
I want to retain phone signal
Anyone?
Could it be done by editing the build.prop? Just a thought.
Actually this thread has a few solutions. It mentions building the on off into the kernel, but page two has a link to an exposed module that might work better.
http://forum.xda-developers.com/showthread.php?t=2086959
There is an xposed module that will prevent screen from turning on if proximity sensor is covered. Need root of course.
-------------------------------------------------------------------------
[ DEVICE : N5 ] [ ROM : L DEV PREVIEW ] [ KERNEL : ELEMENTALX ]
dEris said:
There is an xposed module that will prevent screen from turning on if proximity sensor is covered. Need root of course.
-------------------------------------------------------------------------
[ DEVICE : N5 ] [ ROM : L DEV PREVIEW ] [ KERNEL : ELEMENTALX ]
Click to expand...
Click to collapse
There is any way to disable it in the recovery over adb? cause I cant use the cellphone after bootscreen, it turns off screen everytime.
I search in build.prob, not
I know if I install xposed and magnetoff will solve, but i cant use the phone after boot screen, any ideas?
Hertz23 said:
There is any way to disable it in the recovery over adb? cause I cant use the cellphone after bootscreen, it turns off screen everytime.
I search in build.prob, not
I know if I install xposed and magnetoff will solve, but i cant use the phone after boot screen, any ideas?
Click to expand...
Click to collapse
i dont know if this problem persists but you can install the module via adb (don't know actually how to enable this). but you helped me finding a module that disables the sensor because it interacts badly with my car mount
I wanna know that can we make selinux mod to permissive for specific app through terminal or my using any other method I read about selinux in wiki but didn't got much details to do some tweaks and I am also not developer so that I don't know all codes used for this and that processes also I wanna set that specific permissive mod for "viper4android" app I want to use that app and also don't want to break out all doors of security by setting mod on permissive for all apps can anyone help me here plz !?
ChintanVyas said:
I wanna know that can we make selinux mod to permissive for specific app through terminal or my using any other method I read about selinux in wiki but didn't got much details to do some tweaks and I am also not developer so that I don't know all codes used for this and that processes also I wanna set that specific permissive mod for "viper4android" app
Click to expand...
Click to collapse
Sorry, you cannot do it for specific app..
SE Linux Enforcement has to be disabled universally throughout the system..
ChintanVyas said:
I want to use that app and also I don't want to break out all doors of security by setting mod on permissive for all apps can anyone help me here plz !?
Click to expand...
Click to collapse
Once your phone is rooted, it means it is vulnerable to all risks..
It just takes a single command (setenforce 0) for a malware app to set SE Linux to 'Permissive' if granted root permission.
So, it's just in your hands to select the right trustable apps.
Go ahead, and set it to 'Permissive'.
Nothing will happen..
I've searched but the answers seem mixed.
Does Mate 9/Mate 9 Pro have device encryption out of the box? I'm not talking about the fingerprint or PIN lock but the real device encryption in case you lost your phone and the person picked it up tries to bypass locks to get your data.
Have anyone done some serious science to test or verify this?
supposedly all android >= 6.0 are encrypted. Just trust google & huawei
The german Huawei Support say it isnt. You also cant change the decryption Type in the developer section. There is no Option. Any Experts can answer?
Nexus-Nerd said:
The german Huawei Support say it isnt. You also cant change the decryption Type in the developer section. There is no Option. Any Experts can answer?
Click to expand...
Click to collapse
This made me curious since the device can be used without any password or pattern lock, what would be encryption key it uses if there is any?
It uses file-based encryption on /data by default.
https://source.android.com/security/encryption/file-based.html
However, the flag in Mate 9's kernel is fileencryptioninline.
Might be something Huawei changed.
The other thing protecting the partitions is DM-Verity.
Both encryption and verity can be disabled.
The stock image of huawei doesn't use the default android encryption method. However, if you flash a so-called "decrypted" image from https://forum.xda-developers.com/mate-9/development/boot-force-encryption-boot-images-t3558679 , you get all the standard android encryption tools.
I want fake build prop with source android but when I try to fake or change it, it forces me to reboot, so I can fake it without rebooting the system or not. (like hook API) ? Please help me , thanks all