[WIP] Enable Smart Screen

Swizzle82

Senior Member
Dec 20, 2013
1,700
635
0
Texas
This is a work in progress for enabling smart screen!!

I've only tested this on the H811 so far. I know there aren't too many with an unlocked bootloader so please try at your own risk.

So far I have smart screen enabled under settings. You can check and uncheck it to activate. The issue I'm running into is it doesn't actually keep.the screen on. You'll get the face detecting notification in the status bar but the screen still times out. I would like any help in this if anyone has any to offer. I've tried installing the wise screen apk from the VZW G4, but I get force closes. The one from my gpad 8.0 is the same app and it also force closes. This one is from my Gpad 7.0 and I don't know for sure if it's the reason it doesn't work even though it installs and doesn't fc. My gpad is still on kitkat so there are no associated libs. I'm in the process of requesting the files from a G3 running LP to see if it makes a difference.. Just waiting on someone to send them.

So for now this is what I have..
Install the wise screen apk into system/priv-app and set permissions rw-r-r

Move lge framework-res to the system before moving it to the framework folder to avoid any fc issues. Set permissions rw-r-r before moving into system/framework/lge framework-res.

After doing so reboot

Upon reboot go to system/settings/display and scroll almost all the way to the bottom check smart screen. Test it out and rack your brain, let's see if we can get this fully functional.
 

Attachments

Last edited:

Swizzle82

Senior Member
Dec 20, 2013
1,700
635
0
Texas
So from my logs I'm seeing on the gpad when the notification comes up wise screen calls to the camera and the cameraa opens for face detection. On the G4 it does not call to the camera and/or the camera isn't responding to it. Smart lock will open the camera if you have facial recognition on. So we know the camera will/should respond when called. I'm thinking that there is something wrong with the odex file. The wisescreen apk from the Gpad 7 have a classes.dex inside and the one for the gpad 8 and vzw G4 do not. I don't know if it is irrelevant because the Gpad 8 works and the G4 doesn't.
 
Last edited:

Swizzle82

Senior Member
Dec 20, 2013
1,700
635
0
Texas
If someone from Vzw wants to send me their lge res apk so we can test it on theirs since it's the only model.in which wise screen is already installed(not active)
 

Swizzle82

Senior Member
Dec 20, 2013
1,700
635
0
Texas
Okay, so it is calling the camera. The thing is though, Lg upped the resolution on the front camera and every version of smart screen is looking for a smaller resolution than available so it doesn't open.. "Can not find". Might have to edit the resolution capabilities in smart screen, but I don't know about all that. Just brainstorming here.
 

Attachments

Last edited:

Swizzle82

Senior Member
Dec 20, 2013
1,700
635
0
Texas
Okay, well I've tried 3 different face detecting apps and none of them work on the G4. It seems none of them can tie into the camera. Currently I'm at a stalemate.
 

Nicolas Ifc

New member
Sep 18, 2016
1
2
0
One idea

Hi guys
In ROMS of LG G5 then the option/ app in 64 bit architecture,

If so that import to any Rom for LG G4 be will can run.

Anyone can try?? Me can't because not have idea only surget quest.u

Sorry for my English
 
  • Like
Reactions: marcinde and culot