Skip to content

Commit 095b18c

Browse files
authored
update installable apps, add login instructions for spotify/reddit in readme (#23)
1 parent b1566ec commit 095b18c

File tree

5 files changed

+66
-19
lines changed

5 files changed

+66
-19
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,13 @@ Wolf Launcher - [https://www.techdoctoruk.com/tutorials/block-android-tv-adverts
7979
<br>
8080

8181
## Mobile Apps (phone/tables)
82-
Spotube - [https://github.com/KRTirtho/spotube/blob/master/README.md](https://github.com/KRTirtho/spotube/blob/master/README.md)
82+
> Note: Delete the original play store app before installing
8383
8484
Revanced - [https://revanced.app/](https://revanced.app/)
85+
86+
Simply click the button to download and install the app directly on your device.
87+
88+
For spotify/reddit you may need to login with your username and password if signing in with google doesn't work. Youtube and Youtube Music need MicroG installed to login to your google account.
8589

8690
<br>
8791

@@ -95,6 +99,8 @@ To enable links to open in Youtube ReVanced, go to settings > apps > Youtube ReV
9599

96100
> NOTE: On my pixel device it seems any youtube links from google chrome will try to open in the stock youtube app, or take you to the play store to install/enable it. This doesn't seem to happen from the google app.
97101
102+
Prebuilt apks - [Revanced APKs](https://github.com/revanced-apks/build-apps/releases)
103+
98104
<br>
99105

100106
# FireTV Tools

release/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "android-toolkit",
3-
"version": "1.5.15",
3+
"version": "1.5.16",
44
"description": "Universal app with gui for simple adb connection",
55
"main": "./dist/main/main.js",
66
"author": {

src/main/api/ipcHandler.ts

Lines changed: 47 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import path from 'path';
22
import { app, ipcMain } from 'electron';
3-
import { LAUNCHER_MANAGER_URL, POWERSHELL_CMD, REVANCED_URL,SMART_TUBE_URL,
4-
SPOTUBE_URL, TERMINAL_CMD,WOLF_LAUNCHER_URL, APK_PATH, ADB_PATH, MICRO_G_URL, REVANCED_MANAGER_URL, YOUTUBE_URL, REDDIT_URL, REVANCED_REDDIT_URL
3+
import { LAUNCHER_MANAGER_URL, POWERSHELL_CMD, REVANCED_YOUTUBE_URL,SMART_TUBE_URL,
4+
REVANCED_SPOTIFY_URL, TERMINAL_CMD,WOLF_LAUNCHER_URL, APK_PATH, ADB_PATH, MICRO_G_URL, REVANCED_MANAGER_URL, YOUTUBE_URL, REDDIT_URL, REVANCED_REDDIT_URL, REVANCED_YTMUSIC_URL, REVANCED_TIKTOK_URL
55
} from '../constants';
66
import { executeCmd, batchInstall } from '../utils';
77
import { startUpdate } from '../utils/appUpdater';
@@ -73,11 +73,11 @@ export const routeHandler = () => {
7373
});
7474
break;
7575

76-
case 'spotube':
77-
console.log('install spotube');
78-
downloadFile(SPOTUBE_URL, path.join(APK_PATH, 'spotube.apk')).then(async () => {
79-
await execPromise(`${ADB_PATH}adb install -r -d "${APK_PATH}spotube.apk"`);
80-
event.reply('adbResponse', 'Installed Spotube');
76+
case 'revanced-spotify':
77+
console.log('install revanced-spotify');
78+
downloadFile(REVANCED_SPOTIFY_URL, path.join(APK_PATH, 'revanced-spotify.apk')).then(async () => {
79+
await execPromise(`${ADB_PATH}adb install -r -d "${APK_PATH}revanced-spotify.apk"`);
80+
event.reply('adbResponse', 'Installed Spotify Revanced');
8181
}).catch((error) => {
8282
event.reply('adbResponse', error.message);
8383
console.log(error.message);
@@ -106,16 +106,38 @@ export const routeHandler = () => {
106106
});
107107
break;
108108

109-
case 'revanced':
109+
case 'revanced-youtube':
110110
console.log('install revanced');
111111

112112
downloadFile(MICRO_G_URL, path.join(APK_PATH, 'microg.apk')).then(async () => {
113113
await execPromise(`${ADB_PATH}adb install -r -d "${APK_PATH}microg.apk"`);
114114
event.reply('adbResponse', 'Installed microg (for login), please wait for revanced...');
115115

116-
downloadFile(REVANCED_URL, path.join(APK_PATH, 'revanced.apk')).then(async () => {
117-
await execPromise(`${ADB_PATH}adb install -r -d "${APK_PATH}revanced.apk"`);
118-
event.reply('adbResponse', 'Installed Revanced');
116+
downloadFile(REVANCED_YOUTUBE_URL, path.join(APK_PATH, 'revanced-youtube.apk')).then(async () => {
117+
await execPromise(`${ADB_PATH}adb install -r -d "${APK_PATH}revanced-youtube.apk"`);
118+
event.reply('adbResponse', 'Installed Youtube Revanced');
119+
}).catch((error) => {
120+
event.reply('adbResponse', error.message);
121+
console.log(error.message);
122+
});
123+
124+
}).catch((error) => {
125+
event.reply('adbResponse', error.message);
126+
console.log(error.message);
127+
});
128+
129+
break;
130+
131+
case 'revanced-ytmusic':
132+
console.log('install ytmusic');
133+
134+
downloadFile(MICRO_G_URL, path.join(APK_PATH, 'microg.apk')).then(async () => {
135+
await execPromise(`${ADB_PATH}adb install -r -d "${APK_PATH}microg.apk"`);
136+
event.reply('adbResponse', 'Installed microg (for login), please wait for revanced...');
137+
138+
downloadFile(REVANCED_YTMUSIC_URL, path.join(APK_PATH, 'revanced-ytmusic.apk')).then(async () => {
139+
await execPromise(`${ADB_PATH}adb install -r -d "${APK_PATH}revanced-ytmusic.apk"`);
140+
event.reply('adbResponse', 'Installed Youtube Music Revanced');
119141
}).catch((error) => {
120142
event.reply('adbResponse', error.message);
121143
console.log(error.message);
@@ -142,6 +164,20 @@ export const routeHandler = () => {
142164

143165
break;
144166

167+
case 'revanced-tiktok':
168+
console.log('install revanced reddit');
169+
170+
downloadFile(REVANCED_TIKTOK_URL, path.join(APK_PATH, 'revanced-tiktok.apk')).then(async () => {
171+
await execPromise(`${ADB_PATH}adb install -r -d "${APK_PATH}revanced-tiktok.apk"`);
172+
event.reply('adbResponse', 'Installed revanced-tiktok');
173+
174+
}).catch((error) => {
175+
event.reply('adbResponse', error.message);
176+
console.log(error.message);
177+
});
178+
179+
break;
180+
145181
case 'revanced-manager':
146182
console.log('revanced');
147183
downloadFile(REVANCED_MANAGER_URL, path.join(APK_PATH, 'revanced-manager.apk')).then(async () => {

src/main/constants/index.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ export const TERMINAL_CMD = 'open -a Terminal /Applications/"Android Toolkit.app
44

55
export const SMART_TUBE_URL = 'https://github.com/yuliskov/SmartTubeNext/releases/download/18.28s/STube_ststable_v18.28_r_armeabi-v7a.apk';
66

7-
export const SPOTUBE_URL = 'https://github.com/KRTirtho/spotube/releases/download/v3.0.0/Spotube-android-all-arch.apk';
7+
export const REVANCED_SPOTIFY_URL = 'https://github.com/revanced-apks/build-apps/releases/download/147/spotify-revanced-v8.8.50.466-all.apk';
8+
9+
export const REVANCED_TIKTOK_URL = 'https://github.com/revanced-apks/build-apps/releases/download/147/tiktok-revanced-v30.3.4-all.apk';
10+
11+
export const REVANCED_YTMUSIC_URL = 'https://github.com/revanced-apks/build-apps/releases/download/147/music-revanced-v6.10.51-arm64-v8a.apk';
812

913
export const YOUTUBE_URL = 'https://d.apkpure.com/b/APK/com.google.android.youtube?versionCode=1538252224';
1014

@@ -17,11 +21,10 @@ export const MICRO_G_URL ='https://github.com/inotia00/VancedMicroG/releases/dow
1721
const BUFF = Buffer.from('aHR0cHM6Ly9kb3dubG9hZDkzOS5tZWRpYWZpcmUuY29tL2Z0NHh6Yno2cThkZ1M4ajl1V2s5dktkRTdyQ3llWU1ydjJyaW1ueUN5UzVYemY2SFJ2MHVTOUlrOTJqQ3ZUTXpFWWVOclI5OFFvSWJpdjlZTmJ0NDVNUTBhQzNMRFUzVXo3SWRiNXM4NlRORm1EVlROZVRZUjJPMDlfYjdzTHV0Z0dnbzJEYVZFOFlEZG5Uc1hkU3RnbnhEdW5EOThrd0pjd2J3RTYyQm1nL3Frd3luZjhpM2Q4ZGRlNi9ydi10eS5hcGs=', 'base64');
1822

1923
export const REVANCED_MANAGER_URL = 'https://github.com/revanced/revanced-manager/releases/download/v1.4.0/revanced-manager-v1.4.0.apk';
20-
export const REVANCED_URL = BUFF.toString('ascii');
2124

22-
const BUFF2 = Buffer.from('aHR0cHM6Ly9kb3dubG9hZDk0NC5tZWRpYWZpcmUuY29tL3RnbmU2NmlxNHltZ0Z6NHFqN2RzSUFIbFlvMk5xU1VIS0FBYkJ1ejFpQVVmQWl4S0pDblkwaEQ5eTNXazVMekUtdFV1NHp6NGtlNW0tMUZLSFJvR0F1R2hkNkJSOEF4czRmQWNHNTFwSnRCZnZoSHlhN0pmRS0wMWZOT2hXLXFfNVVWYzN6ci0wcEc0ZGFYUGRPc0dqNDJ5eGlPNVlzSGpVQWxkTEt4VFhIcy9xa2lqMXlpdTRvN2tydmIvcnYtcmR0LmFwaw==', 'base64');
25+
export const REVANCED_YOUTUBE_URL = BUFF.toString('ascii');
2326

24-
export const REVANCED_REDDIT_URL = BUFF2.toString('ascii');
27+
export const REVANCED_REDDIT_URL = 'https://github.com/revanced-apks/build-apps/releases/download/147/reddit-revanced-v2023.26.0-all.apk';
2528

2629
export const REDDIT_URL = 'https://d.apkpure.com/b/APK/com.reddit.frontpage?version=latest';
2730

src/renderer/components/ApkActions.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@ export const ApkActions = () => {
113113
<Box>
114114
<Box sx={{ display: 'flex', flexDirection:{ xs: 'column', sm: 'column', md: 'column', lg: 'row' }, justifyContent: 'center' }}>
115115
<Box className='vcenter' gap={2}>
116-
<FixedWidthBtn adb={adbCommand} command={'revanced'} title='YouTube Revanced'/>
117-
<FixedWidthBtn adb={adbCommand} command={'spotube'} title='Spotube (Spotify)'/>
116+
<FixedWidthBtn adb={adbCommand} command={'revanced-youtube'} title='YouTube Revanced'/>
117+
<FixedWidthBtn adb={adbCommand} command={'revanced-spotify'} title='Spotify Revanced'/>
118118
<FixedWidthBtn adb={adbCommand} command={'revanced-reddit'} title='Reddit Revanced'/>
119+
<FixedWidthBtn adb={adbCommand} command={'revanced-tiktok'} title='TikTok Revanced'/>
120+
<FixedWidthBtn adb={adbCommand} command={'revanced-ytmusic'} title='Youtube Music Revanced'/>
119121

120122
</Box>
121123
</Box>

0 commit comments

Comments
 (0)