Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
d297ab1059
|
|||
|
371e38dc2f
|
|||
|
1e850a2d1a
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.3] - 2025-03-11
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Fix default image dir to be /sdcard/isodroid instead of /sdcard/isodrive
|
||||||
|
|
||||||
## [1.2] - 2025-03-10
|
## [1.2] - 2025-03-10
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ Android app for mounting ISO/IMG files as USB mass storage or CD-ROM devices on
|
|||||||
1. Download the APK from the links above
|
1. Download the APK from the links above
|
||||||
2. Install the APK on your rooted Android device
|
2. Install the APK on your rooted Android device
|
||||||
3. Grant root access when prompted
|
3. Grant root access when prompted
|
||||||
4. Place your ISO/IMG files in `/sdcard/isodrive/` (or configure a different directory in settings)
|
4. Place your ISO/IMG files in `/sdcard/isodroid/` (or configure a different directory in settings)
|
||||||
|
|
||||||
> **Note**: The app includes a bundled `isodrive` binary. No additional setup required!
|
> **Note**: The app includes a bundled `isodrive` binary. No additional setup required!
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ android {
|
|||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 36
|
targetSdk = 36
|
||||||
versionCode = 1
|
versionCode = 1
|
||||||
versionName = "1.2"
|
versionName = "1.3"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ package sh.sar.isodroid.ui.screens
|
|||||||
import android.Manifest
|
import android.Manifest
|
||||||
import android.content.pm.PackageManager
|
import android.content.pm.PackageManager
|
||||||
import android.os.Build
|
import android.os.Build
|
||||||
|
import android.os.Environment
|
||||||
import androidx.core.content.ContextCompat
|
import androidx.core.content.ContextCompat
|
||||||
import androidx.activity.compose.rememberLauncherForActivityResult
|
import androidx.activity.compose.rememberLauncherForActivityResult
|
||||||
import androidx.activity.result.contract.ActivityResultContracts
|
import androidx.activity.result.contract.ActivityResultContracts
|
||||||
@@ -323,7 +324,7 @@ private fun CompleteStep(
|
|||||||
Spacer(modifier = Modifier.height(16.dp))
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
|
|
||||||
Text(
|
Text(
|
||||||
text = "ISO Droid is ready to use. Place your ISO or IMG files in the isodrive folder and start mounting.",
|
text = "ISO Droid is ready to use. Place your ISO or IMG files in the isodroid folder and start mounting.",
|
||||||
style = MaterialTheme.typography.bodyLarge,
|
style = MaterialTheme.typography.bodyLarge,
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center,
|
||||||
color = MaterialTheme.colorScheme.onSurfaceVariant
|
color = MaterialTheme.colorScheme.onSurfaceVariant
|
||||||
@@ -332,7 +333,7 @@ private fun CompleteStep(
|
|||||||
Spacer(modifier = Modifier.height(8.dp))
|
Spacer(modifier = Modifier.height(8.dp))
|
||||||
|
|
||||||
Text(
|
Text(
|
||||||
text = "Default directory: /sdcard/isodrive/",
|
text = "Default directory: ${Environment.getExternalStorageDirectory().absolutePath}/isodroid/",
|
||||||
style = MaterialTheme.typography.bodySmall,
|
style = MaterialTheme.typography.bodySmall,
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center,
|
||||||
color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.7f)
|
color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.7f)
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ class MainViewModel(application: Application) : AndroidViewModel(application) {
|
|||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private val KEY_ISO_DIRECTORY = stringPreferencesKey("iso_directory")
|
private val KEY_ISO_DIRECTORY = stringPreferencesKey("iso_directory")
|
||||||
private val DEFAULT_ISO_DIRECTORY = "${Environment.getExternalStorageDirectory().absolutePath}/isodrive"
|
private val DEFAULT_ISO_DIRECTORY = "${Environment.getExternalStorageDirectory().absolutePath}/isodroid"
|
||||||
}
|
}
|
||||||
|
|
||||||
private var initialized = false
|
private var initialized = false
|
||||||
|
|||||||
@@ -229,13 +229,13 @@ fun toCommandArgs(): List<String> {
|
|||||||
**Example commands:**
|
**Example commands:**
|
||||||
```bash
|
```bash
|
||||||
# Mount as read-only mass storage
|
# Mount as read-only mass storage
|
||||||
isodrive "/sdcard/isodrive/ubuntu.iso" -configfs
|
isodrive "/sdcard/isodroid/ubuntu.iso" -configfs
|
||||||
|
|
||||||
# Mount as writable drive
|
# Mount as writable drive
|
||||||
isodrive "/sdcard/isodrive/drive.img" -rw -configfs
|
isodrive "/sdcard/isodroid/drive.img" -rw -configfs
|
||||||
|
|
||||||
# Mount as CD-ROM
|
# Mount as CD-ROM
|
||||||
isodrive "/sdcard/isodrive/windows.iso" -cdrom -configfs
|
isodrive "/sdcard/isodroid/windows.iso" -cdrom -configfs
|
||||||
```
|
```
|
||||||
|
|
||||||
## Event System
|
## Event System
|
||||||
@@ -338,7 +338,7 @@ private val KEY_ISO_DIRECTORY = stringPreferencesKey("iso_directory")
|
|||||||
```
|
```
|
||||||
|
|
||||||
Stores:
|
Stores:
|
||||||
- Custom ISO directory path (default: `/sdcard/isodrive/`)
|
- Custom ISO directory path (default: `/sdcard/isodroid/`)
|
||||||
|
|
||||||
### SharedPreferences
|
### SharedPreferences
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Requirements:
|
|||||||
* Android 8.0+ (API 26)
|
* Android 8.0+ (API 26)
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
1. Place your ISO/IMG files in /sdcard/isodrive/
|
1. Place your ISO/IMG files in /sdcard/isodroid/
|
||||||
2. Select an ISO/IMG file from the list
|
2. Select an ISO/IMG file from the list
|
||||||
3. Choose mount options (Mass Storage or CD-ROM)
|
3. Choose mount options (Mass Storage or CD-ROM)
|
||||||
4. Tap Mount
|
4. Tap Mount
|
||||||
|
|||||||
Reference in New Issue
Block a user