2 Commits

357 changed files with 11027 additions and 7752 deletions

View File

@@ -10,27 +10,34 @@ android {
applicationId "com.cbcren.vpn"
minSdkVersion 21
targetSdkVersion 33
versionCode 3
versionName "1.2-legacy"
versionCode 1
versionName "1.0-legacy"
multiDexEnabled true
// Forzar 32 bits (ARMv7)
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
abiFilters 'armeabi-v7a'
}
}
// Soporte para Java 8 (Desugaring)
compileOptions {
// Java 11 es el estándar actual, Android 7 lo soporta con D8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
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'
// UI Básica (Versiones estables)
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
// WireGuard (Versión 2021, probada en Android 5+)
implementation 'com.wireguard.android:tunnel:1.0.20211029'
implementation 'androidx.multidex:multidex:2.0.1'
}

View File

@@ -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 = 1;
public static final String VERSION_NAME = "1.0-legacy";
}

View File

@@ -1,2 +1,2 @@
appMetadataVersion=1.1
androidGradlePluginVersion=8.0.0
androidGradlePluginVersion=7.4.2

View File

@@ -1,4 +1,2 @@
#Mon Feb 09 22:46:31 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-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
#Mon Feb 09 23:46:22 CET 2026
com.cbcren.vpn.app-main-27\:/layout/activity_main.xml=/home/ren/androidtv/app/build/intermediates/merged_res/debug/layout_activity_main.xml.flat

File diff suppressed because one or more lines are too long

View File

@@ -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

View File

@@ -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:.*:&lt;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:.*:&lt;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:.*:&lt;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:.*:&lt;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:.*:&lt;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:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/build/generated/res/resValues/debug"/></dataSet><mergedItems/></merger>

View File

@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;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:.*:&lt;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:.*:&lt;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:.*:&lt;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:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/home/ren/androidtv/app/src/debug/assets"/></dataSet></merger>

View File

@@ -1,15 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cbcren.vpn"
android:versionCode="3"
android:versionName="1.2-legacy" >
android:versionCode="1"
android:versionName="1.0-legacy" >
<uses-sdk
android:minSdkVersion="21"
android:targetSdkVersion="33" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!-- Soporte TV -->
<uses-feature
android:name="android.software.leanback"
android:required="false" />
@@ -20,8 +22,8 @@
<application
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
android:debuggable="true"
android:label="Xuper VPN"
android:theme="@style/Theme.MaterialComponents.Light.NoActionBar" >
android:label="Xuper VPN Legacy"
android:theme="@style/Theme.AppCompat.Light.NoActionBar" >
<activity
android:name="com.cbcren.vpn.MainActivity"
android:exported="true" >
@@ -33,7 +35,7 @@
</intent-filter>
</activity>
<!-- Parche para librería WireGuard antigua -->
<!-- Parche para servicio VPN en Android 12+ -->
<service
android:name="com.wireguard.android.backend.GoBackend$VpnService"
android:exported="true"

View File

@@ -1,15 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cbcren.vpn"
android:versionCode="3"
android:versionName="1.2-legacy" >
android:versionCode="1"
android:versionName="1.0-legacy" >
<uses-sdk
android:minSdkVersion="21"
android:targetSdkVersion="33" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!-- Soporte TV -->
<uses-feature
android:name="android.software.leanback"
android:required="false" />
@@ -20,8 +22,8 @@
<application
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
android:debuggable="true"
android:label="Xuper VPN"
android:theme="@style/Theme.MaterialComponents.Light.NoActionBar" >
android:label="Xuper VPN Legacy"
android:theme="@style/Theme.AppCompat.Light.NoActionBar" >
<activity
android:name="com.cbcren.vpn.MainActivity"
android:exported="true" >
@@ -33,7 +35,7 @@
</intent-filter>
</activity>
<!-- Parche para librería WireGuard antigua -->
<!-- Parche para servicio VPN en Android 12+ -->
<service
android:name="com.wireguard.android.backend.GoBackend$VpnService"
android:exported="true"

View File

@@ -11,8 +11,8 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 3,
"versionName": "1.2-legacy",
"versionCode": 1,
"versionName": "1.0-legacy",
"outputFile": "AndroidManifest.xml"
}
],

Some files were not shown because too many files have changed in this diff Show More