Skip to content

Commit

Permalink
devices: drop unmaintained devices and move to potential
Browse files Browse the repository at this point in the history
Signed-off-by: Bardia Moshiri <[email protected]>
  • Loading branch information
FakeShell committed Apr 4, 2024
1 parent f1bb9c3 commit bbef8ea
Show file tree
Hide file tree
Showing 10 changed files with 105 additions and 1,466 deletions.
230 changes: 20 additions & 210 deletions src/devices/angelica.json
Original file line number Diff line number Diff line change
@@ -1,210 +1,20 @@
{
"name": "Xiaomi Redmi 9C (angelica)",
"category": "official",
"code": "angelica",
"features": {
"Camera": {
"working": [
"Photo",
"Video",
"Switch camera",
"Flashlight"
]
},
"Sound": {
"working": [
"Speaker",
"Microphone",
"Headphones",
"Volume control"
]
},
"Sensors": {
"working": [
"Brightness control",
"Rotation",
"Fingerprint",
"Auto brightness",
"Proximity",
"Vibration"
]
},
"Network": {
"working": [
"WiFi",
"Bluetooth"
],
"notWorking": [
"Hotspot"
]
},
"Cellular": {
"working": [
"Calls",
"Data",
"SMS",
"Carrier info"
],
"notWorking": [
"Dual sim",
"MMS"
]
},
"Others": {
"working": [
"SD card",
"MTP",
"GPS"
],
"notWorking": [
"Waydroid",
"Encryption"
]
}
},
"Notes": {
"Before you proceed": [
{
"type": "string",
"data": "Device has to be downgraded to stock Android 10 before installation"
}
],
"Device preparation": [
{
"type": "header",
"data": "Save your APN"
},
{
"type": "list",
"links": [
{
"to": "http://apn.how/",
"text": "apn.how",
"id": 1
}
],
"data": [
"The Access Point Name or APN can be found in the Settings menu of Android",
"Take a piece of paper or a text editor, and write down everything that you see on that screen",
"These are likely to include a URL (e. g., internet.carrier.net), a username, and possibly a password",
"APN settings can also be found at #{1}"
]
},
{
"type": "header",
"data": "Unlock the bootloader"
},
{
"type": "list",
"links": [
{
"to": "https://wiki.lineageos.org/devices/",
"text": "LineageOS wiki",
"id": 1
},
{
"to": "https://forum.xda-developers.com/",
"text": "xda-developers",
"id": 2
}
],
"data": [
"Refer to the instructions provided by the device manufacturer",
"Other useful sources include the #{1} and #{2}"
]
}
],
"Droidian installation": [
{
"type": "header",
"data": "Droidian Installer"
},
{
"type": "list",
"links": [
{
"to": "https://github.com/droidian-releng/droidian-installer/releases/tag/0.0.5",
"text": "Droidian's installer",
"id": 1
}
],
"data": [
"Download and run #{1}",
"Boot to fastboot and wait for the installer to detect your device.",
"In case the device does not get recognized correctly, you can select your device from the list manually.",
"Select your desktop environment and wait for the installer to finish.",
"Reboot."
]
},
{
"type": "header",
"data": "Manual Installation"
},
{
"type": "list",
"links": [
{
"to": "https://images.droidian.org/droidian/nightly/armhf/xiaomi/image-fastboot-angelica.zip",
"text": "Droidian's image",
"id": 1
}
],
"data": [
"Download and extract #{1}",
"Boot to fastboot and run flash_all.sh to flash the image to your device. To flash each partition manually",
{
"type": "list",
"data": [
"Check the list of images in data/ and flash each image manually like so: fastboot flash partition_name partition_name.img",
"The following images might be included: boot.img, dtbo.img, vbmeta.img, userdata.img."
]
},
"Reboot."
]
}
],
"Default password": [
{
"type": "string",
"data": "The default password is 1234."
}
],
"APN": [
{
"type": "string",
"data": "Mobile data needs an APN to be set up from Settings -> Mobile Network -> Access Point Names."
}
],
"Applications": [
{
"type": "string",
"links": [
{
"to": "https://linuxphoneapps.org",
"text": "LinuxPhoneApps",
"id": 1
}
],
"data": "You can find a list of mobile-friendly Linux applications at #{1}"
}
],
"Credits": [
{
"type": "string",
"data": "#{1}, #{2}",
"links": [
{
"to": "https://github.com/fakeshell",
"text": "FakeShell (Bardia Moshiri)",
"id": 1
},
{
"to": "http://droidian.org/",
"text": "Droidian project",
"id": 2
}
]
}
]
}
}
{
"name": "Xiaomi Redmi 9C (angelica)",
"category": "Potential",
"code": "angelica",
"Notes": {
"Notes": [
{
"links": [
{
"to": "https://t.me/DroidianLinux",
"text": "our Telegram group",
"id": 1
}
],
"type": "string",
"data": "This device is currently unsupported. If you are interested in maintaining the device or contributing to its progress, please reach out to #{1} to get information about the status."
}
]
}
}
16 changes: 8 additions & 8 deletions src/devices/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,29 +34,29 @@ import violet from './violet.json';
const getDevices = (): { devices: IDevice[] } => {
return {
devices: [
starqlte,
miatoll,
pro1,
pro1x,
bahamut,
sargo,
onclite,
lavender,
angelica,
oneplus3,
yggdrasil,
mimameid,
griffin,
sofia,
enchilada,
starlte,
star2lte,
crownlte,
X01BD,
beryllium,
jasmine,
davinci,
wayne,
starqlte,
starlte,
star2lte,
crownlte,
onclite,
lavender,
angelica,
oneplus3,
karna,
surya,
perseus,
Expand Down
Loading

0 comments on commit bbef8ea

Please sign in to comment.