Compare commits
3 Commits
v1.1-legac
...
legacy
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b9fc1ece9 | ||
|
|
5ac07009bb | ||
|
|
c97f5c909f |
@@ -10,27 +10,37 @@ android {
|
|||||||
applicationId "com.cbcren.vpn"
|
applicationId "com.cbcren.vpn"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 33
|
targetSdkVersion 33
|
||||||
versionCode 3
|
versionCode 5
|
||||||
versionName "1.2-legacy"
|
versionName "2.1-legacy-auto"
|
||||||
|
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
|
||||||
|
// Forzar 32 bits (ARMv7) para TV Boxes viejas
|
||||||
ndk {
|
ndk {
|
||||||
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
|
abiFilters 'armeabi-v7a'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Soporte para Java 8 (Desugaring)
|
||||||
compileOptions {
|
compileOptions {
|
||||||
// Java 11 es el estándar actual, Android 7 lo soporta con D8
|
coreLibraryDesugaringEnabled true
|
||||||
sourceCompatibility JavaVersion.VERSION_11
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_11
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// Desugaring para soportar Java moderno en Android viejo
|
// Desugaring (Magia para que código nuevo corra en Android viejo)
|
||||||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
||||||
|
|
||||||
|
// UI Básica (Versiones estables)
|
||||||
implementation 'androidx.appcompat:appcompat:1.4.0'
|
implementation 'androidx.appcompat:appcompat:1.4.0'
|
||||||
implementation 'com.google.android.material:material:1.5.0'
|
implementation 'com.google.android.material:material:1.5.0'
|
||||||
implementation 'com.wireguard.android:tunnel:1.0.20211029'
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
||||||
|
|
||||||
|
// MultiDex (Crucial para que no crashee al inicio en Android 7)
|
||||||
implementation 'androidx.multidex:multidex:2.0.1'
|
implementation 'androidx.multidex:multidex:2.0.1'
|
||||||
|
|
||||||
|
// WireGuard (Versión 2021, probada en Android 5+)
|
||||||
|
implementation 'com.wireguard.android:tunnel:1.0.20211029'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* Automatically generated file. DO NOT MODIFY
|
||||||
|
*/
|
||||||
|
package com.cbcren.vpn;
|
||||||
|
|
||||||
|
public final class BuildConfig {
|
||||||
|
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
||||||
|
public static final String APPLICATION_ID = "com.cbcren.vpn";
|
||||||
|
public static final String BUILD_TYPE = "debug";
|
||||||
|
public static final int VERSION_CODE = 5;
|
||||||
|
public static final String VERSION_NAME = "2.1-legacy-auto";
|
||||||
|
}
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
appMetadataVersion=1.1
|
appMetadataVersion=1.1
|
||||||
androidGradlePluginVersion=8.0.0
|
androidGradlePluginVersion=7.4.2
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
app/build/intermediates/desugar_lib_dex/debug/classes1000.dex
Normal file
BIN
app/build/intermediates/desugar_lib_dex/debug/classes1000.dex
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,2 @@
|
|||||||
#Mon Feb 09 22:46:31 CET 2026
|
#Tue Feb 10 14:25:52 CET 2026
|
||||||
com.cbcren.vpn.app-main-26\:/drawable/ic_launcher_foreground.xml=/home/ren/androidtv/app/build/intermediates/merged_res/debug/drawable_ic_launcher_foreground.xml.flat
|
com.cbcren.vpn.app-main-27\:/layout/activity_main.xml=/home/ren/androidtv/app/build/intermediates/merged_res/debug/layout_activity_main.xml.flat
|
||||||
com.cbcren.vpn.app-main-26\:/layout/activity_main.xml=/home/ren/androidtv/app/build/intermediates/merged_res/debug/layout_activity_main.xml.flat
|
|
||||||
com.cbcren.vpn.app-main-26\:/mipmap-anydpi-v26/ic_launcher.xml=/home/ren/androidtv/app/build/intermediates/merged_res/debug/mipmap-anydpi-v26_ic_launcher.xml.flat
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,4 +0,0 @@
|
|||||||
#Mon Feb 09 22:46:31 CET 2026
|
|
||||||
com.cbcren.vpn.app-main-5\:/drawable/ic_launcher_foreground.xml=/home/ren/androidtv/app/build/intermediates/packaged_res/debug/drawable/ic_launcher_foreground.xml
|
|
||||||
com.cbcren.vpn.app-main-5\:/layout/activity_main.xml=/home/ren/androidtv/app/build/intermediates/packaged_res/debug/layout/activity_main.xml
|
|
||||||
com.cbcren.vpn.app-main-5\:/mipmap-anydpi-v26/ic_launcher.xml=/home/ren/androidtv/app/build/intermediates/packaged_res/debug/mipmap-anydpi-v26/ic_launcher.xml
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/src/main/res"><file name="activity_main" path="/home/ren/androidtv/app/src/main/res/layout/activity_main.xml" qualifiers="" type="layout"/><file name="ic_launcher" path="/home/ren/androidtv/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" qualifiers="anydpi-v26" type="mipmap"/><file name="ic_launcher_foreground" path="/home/ren/androidtv/app/src/main/res/drawable/ic_launcher_foreground.xml" qualifiers="" type="drawable"/></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/build/generated/res/resValues/debug"/></dataSet><mergedItems/></merger>
|
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/src/main/assets"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/src/debug/assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/build/intermediates/shader_assets/debug/out"/></dataSet></merger>
|
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/src/main/assets"/><source path="/home/ren/androidtv/app/build/intermediates/shader_assets/debug/out"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/src/debug/assets"/></dataSet></merger>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,14 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.cbcren.vpn"
|
package="com.cbcren.vpn"
|
||||||
android:versionCode="3"
|
android:versionCode="5"
|
||||||
android:versionName="1.2-legacy" >
|
android:versionName="2.1-legacy-auto" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="21"
|
android:minSdkVersion="21"
|
||||||
android:targetSdkVersion="33" />
|
android:targetSdkVersion="33" />
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||||
|
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
|
||||||
|
|
||||||
<uses-feature
|
<uses-feature
|
||||||
android:name="android.software.leanback"
|
android:name="android.software.leanback"
|
||||||
@@ -18,10 +20,11 @@
|
|||||||
android:required="false" />
|
android:required="false" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
|
android:name="androidx.multidex.MultiDexApplication"
|
||||||
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
|
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
|
||||||
android:debuggable="true"
|
android:debuggable="true"
|
||||||
android:label="Xuper VPN"
|
android:label="Xuper VPN Auto (Legacy)"
|
||||||
android:theme="@style/Theme.MaterialComponents.Light.NoActionBar" >
|
android:theme="@style/Theme.AppCompat.Light.NoActionBar" >
|
||||||
<activity
|
<activity
|
||||||
android:name="com.cbcren.vpn.MainActivity"
|
android:name="com.cbcren.vpn.MainActivity"
|
||||||
android:exported="true" >
|
android:exported="true" >
|
||||||
@@ -33,7 +36,6 @@
|
|||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<!-- Parche para librería WireGuard antigua -->
|
|
||||||
<service
|
<service
|
||||||
android:name="com.wireguard.android.backend.GoBackend$VpnService"
|
android:name="com.wireguard.android.backend.GoBackend$VpnService"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.cbcren.vpn"
|
package="com.cbcren.vpn"
|
||||||
android:versionCode="3"
|
android:versionCode="5"
|
||||||
android:versionName="1.2-legacy" >
|
android:versionName="2.1-legacy-auto" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="21"
|
android:minSdkVersion="21"
|
||||||
android:targetSdkVersion="33" />
|
android:targetSdkVersion="33" />
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||||
|
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
|
||||||
|
|
||||||
<uses-feature
|
<uses-feature
|
||||||
android:name="android.software.leanback"
|
android:name="android.software.leanback"
|
||||||
@@ -18,10 +20,11 @@
|
|||||||
android:required="false" />
|
android:required="false" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
|
android:name="androidx.multidex.MultiDexApplication"
|
||||||
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
|
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
|
||||||
android:debuggable="true"
|
android:debuggable="true"
|
||||||
android:label="Xuper VPN"
|
android:label="Xuper VPN Auto (Legacy)"
|
||||||
android:theme="@style/Theme.MaterialComponents.Light.NoActionBar" >
|
android:theme="@style/Theme.AppCompat.Light.NoActionBar" >
|
||||||
<activity
|
<activity
|
||||||
android:name="com.cbcren.vpn.MainActivity"
|
android:name="com.cbcren.vpn.MainActivity"
|
||||||
android:exported="true" >
|
android:exported="true" >
|
||||||
@@ -33,7 +36,6 @@
|
|||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<!-- Parche para librería WireGuard antigua -->
|
|
||||||
<service
|
<service
|
||||||
android:name="com.wireguard.android.backend.GoBackend$VpnService"
|
android:name="com.wireguard.android.backend.GoBackend$VpnService"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
"type": "SINGLE",
|
"type": "SINGLE",
|
||||||
"filters": [],
|
"filters": [],
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"versionCode": 3,
|
"versionCode": 5,
|
||||||
"versionName": "1.2-legacy",
|
"versionName": "2.1-legacy-auto",
|
||||||
"outputFile": "AndroidManifest.xml"
|
"outputFile": "AndroidManifest.xml"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user