Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,949 Members 43,563 Now Online
XDA Developers Android and Mobile Development Forum

[MOD][XPOSED] DirectAPKInstall

Tip us?
 
Matsca09
Old
(Last edited by Matsca09; 3rd September 2014 at 09:48 PM.)
#1  
Member - OP
Thanks Meter 116
Posts: 37
Join Date: Feb 2013

 
DONATE TO ME
Default [MOD][XPOSED] DirectAPKInstall

Hi everyone,

I'm glad to present my first xposed module: DirectAPKInstall


[What it is]

DirectAPKInstall is a PackageInstaller mod which avoid enabling and disabling "Unknown sources" every single time you need to manually install an APK.

Usually, when you try to install an apk without having "Unknown sources" enabled, an alert stops the installation; this mod replace that alert showing you an alternative pop-up which permits you to install anyway the package without enabling "Unknown sources".

It's an alternative to the "Get in the settings, enable unknown sources, install the package and disable unknown sources" procedure

[Screenshots]
 
Before:

After:


[Downloads]

The module was tested on a Galaxy S3 with CM11; I'm pretty sure it will work on any device with Android OS 4.0+.
If it does not work on your device or it works on a version of Android prior to 4.0 let me know in the comments!
Code:
Plugin: http://repo.xposed.info/module/it.ma...rectapkinstall
Source code: it will be available soon
Hope you like it
Matsca09
My devices:
-> Samsung Galaxy S3 - CM11
-> Asus Nexus 7 (2012) - Stock 4.4 + Multirom (CM11, Ubuntu)
-> Google Nexus S - Died (hardbricked - gone)

Projects:
-> DirectAPKInstall (Xposed Mod) -> Here
-> Ubuntu Touch on Nexus S - Discontinued (lack of time - phone unusable )
The Following 7 Users Say Thank You to Matsca09 For This Useful Post: [ Click to Expand ]
 
PeppeBove
Old
#2  
PeppeBove's Avatar
Member
Thanks Meter 4
Posts: 54
Join Date: Feb 2011
Ehm... OK, good work,
but, is it not better to enable unknow sources by default?
why use it instead?
 
Matsca09
Old
#3  
Member - OP
Thanks Meter 116
Posts: 37
Join Date: Feb 2013

 
DONATE TO ME
Quote:
Originally Posted by PeppeBove View Post
Ehm... OK, good work,
but, is it not better to enable unknow sources by default?
why use it instead?
Sure you can enable "Unknown sources", but there are some people (like me) who don't like leaving it always enabled for various reasons (it's a possible security issue in my opinion).
So I've developed this mod in order to avoid the "Get in the settings, enable unknown sources, install the package and disable unknown sources" procedure I had to do every time I installed an apk.

Matsca09
My devices:
-> Samsung Galaxy S3 - CM11
-> Asus Nexus 7 (2012) - Stock 4.4 + Multirom (CM11, Ubuntu)
-> Google Nexus S - Died (hardbricked - gone)

Projects:
-> DirectAPKInstall (Xposed Mod) -> Here
-> Ubuntu Touch on Nexus S - Discontinued (lack of time - phone unusable )
 
chw9999
Old
(Last edited by chw9999; 4th September 2014 at 09:56 AM.)
#4  
Senior Member
Thanks Meter 70
Posts: 358
Join Date: Dec 2006
Location: Bensheim
For Xposed installations I have set up a tasker profile allowing me to install modules and updates right away, and switching off when I leave the xposed installer. But if I install them from my browser,I get the"nag screen"

Thanks, this is exactly what I need
 
hamzahrmalik
Old
#5  
hamzahrmalik's Avatar
Senior Member
Thanks Meter 1,252
Posts: 1,059
Join Date: May 2013
I don't see how its a security issue to just leave unknown sources enabled

Sent from my amazingly awesome OnePlus One using Tapatalk
 
chw9999
Old
(Last edited by chw9999; 4th September 2014 at 10:01 PM.)
#6  
Senior Member
Thanks Meter 70
Posts: 358
Join Date: Dec 2006
Location: Bensheim
hi, on ICS I found it opens the install screen in Xposed installer, but doesn't do anything... stays black but the top row with the application's name ...

Disabled, and installation works again.

Done with "unknown sourced" enabled.
 
ZareliMan
Old
#7  
ZareliMan's Avatar
Senior Member
Thanks Meter 16
Posts: 127
Join Date: Sep 2013
I think the only added security of this module is that by leaving unknown sources on, you will get a prompt every time you try to install such on the device so you know when the source is unknown.
 
hamzahrmalik
Old
#8  
hamzahrmalik's Avatar
Senior Member
Thanks Meter 1,252
Posts: 1,059
Join Date: May 2013
Quote:
Originally Posted by ZareliMan View Post
I think the only added security of this module is that by leaving unknown sources on, you will get a prompt every time you try to install such on the device so you know when the source is unknown.
But the source is *always* unknown

Sent from my amazingly awesome OnePlus One using Tapatalk

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes