[ROM][LINUX][LAVENDER] Droidian Bookworm - Xiaomi Redmi Note 7 ROMs, Kernels, Recoveries, & O

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​Droidian is a GNU/Linux distribution based on top of Mobian, a Debian-based distribution for mobile devices. The goal of Droidian is to be able to run Mobian on Android phones. This is accomplished by using well-known technologies such as libhybris and Halium.​Requirements​
Android 9 firmware for your device:
Redmi Note 7 lavender: LINK
Files​
Download the latest fastbootable image: droidian-UNOFFICIAL-phosh-phone-xiaomi_lavender-api28-arm64-nightly_XXXXXXXX.zip
Installation:​
Extract the archive
run the flash_all script
Boot to fastboot and let the script flash everything.
UBports Installer
Alternatively the UBports installer can also be used to install Droidian.
Notes​Default password​The default password is 1234.
List of working things can be found at https://github.com/droidian-lavender/device-page
APN​Mobile data needs an APN to be set up from Settings -> Mobile Network -> Access Point Names.
Broken mobile data after calls​Data connection might break after receiving and making calls. Switch it off and on from Settings -> Mobile Network to fix it. Be careful to not turn off the mobile modem or a device restart might be required.
Out of storage​By default when flashing Droidian it allocates 8GB of storage to the system. This might not be enough and luckily you can allocate more storage with ADB by running (while in recovery): adb shell e2fsck -fy /data/rootfs.img and adb shell resize2fs -f /data/rootfs.img xG where x is the amount of GB to allocate (eg: 50G for 50 GB).
SSH access​connect your phone to your computer and type ssh [email protected], the password is 1234 (on Windows, you may need PuTTY)
Applications​You can find a list of mobile-friendly Linux applications at LinuxPhoneApps
What Works
Manual brightness, Notification LED, Torchlight, Vibration, Carrier info, Data connection, Calls, Pin unlock, SMS, Audio routing, Voice calls, Volume control, Battery percentage, Online charging, RTC time, SDcard, Shutdown, Reboot, Bluetooth, Flight mode, Hotspot, WIFI, Auto brightness, Proximity, Rotation, Touch screen, Earphones, Loud speaker, Microphone, Waydroid
What partially works
Camera works fine in Waydroid but in system itself its slow and requires some technical work.
What doesn't work
GPS, Fingerprint, Offline charging, Dual SIM, Encryption
Waydroid​Waydroid is an Android container which lets Android apps run on Linux phones with GPU acceleration with full speed.
Waydroid works fine on Lavender.
Final Notes​
I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Support​
Device specific telegram group: @Barrys_crib.
Droidian telegram group: @DroidianLinux.
Thanks to the Droidian team, erfanoabdi, Danct12 and Sergio for all helping out to make this happen.
All the sources are available at
https://github.com/droidian-lavender/
Attached images are from different devices but the interface looks and acts the same.

pretty cool, I guess it's nice to have an option if I ever want to turn this old device into a server or maybe run pihole. Nice work!

ghst7 said:
pretty cool, I guess it's nice to have an option if I ever want to turn this old device into a server or maybe run pihole. Nice work!
Click to expand...
Click to collapse
It can actually be used as a daily driver. I have been using Droidian on another device as a daily driver for a long time now.
Because we can run both Linux apps and Android apps it is a good option as a portable computer.

How should I update?

I followed the steps below, but the logo was black after I started
1. adb slideload .\Desktop\droidian-OFFICIAL-phosh-phone-rootfs-api28-arm64-nightly_20230109_4.zip
2. adb sideload .\Desktop\adaptation-droidian-lavender.zip
3. reboot

gas0324 said:
How should I update?
Click to expand...
Click to collapse
sudo apt update and sudo apt upgrade when you're in the OS

gas0324 said:
I followed the steps below, but the logo was black after I started
1. adb slideload .\Desktop\droidian-OFFICIAL-phosh-phone-rootfs-api28-arm64-nightly_20230109_4.zip
2. adb sideload .\Desktop\adaptation-droidian-lavender.zip
3. reboot
Click to expand...
Click to collapse
what is the issue you're having? did it flash everything correctly?
when you flash the adaptation package and reboot it boot up but not to the UI. it will apply the adaptation to the rootfs then reboot itself once and you should be in the OS
if in the first boot you force shutdown or reboot it the installation will fail
you can wipe data and start again
after install then reboot and don't touch your device

FakeShell said:
what is the issue you're having? did it flash everything correctly?
when you flash the adaptation package and reboot it boot up but not to the UI. it will apply the adaptation to the rootfs then reboot itself once and you should be in the OS
if in the first boot you force shutdown or reboot it the installation will fail
you can wipe data and start again
after install then reboot and don't touch your device
Click to expand...
Click to collapse
After Debian's logo appears again, the mobile phone screen is very colored and has no content

gas0324 said:
After Debian's logo appears again, the mobile phone screen is very colored and has no content
Click to expand...
Click to collapse
join the device specific group to debug this

FakeShell said:
join the device specific group to debug this
Click to expand...
Click to collapse
I don't understand

gas0324 said:
I don't understand
Click to expand...
Click to collapse
join me in telegram to debug this issue
Barry's crib
Barry's crib. when we mess with things, stuff go here. don't spam and keep it english thats it
t.me

FakeShell said:
join me in telegram to debug this issue
Barry's crib
Barry's crib. when we mess with things, stuff go here. don't spam and keep it english thats it
t.me
Click to expand...
Click to collapse
OK, I'm downloading telegram

FakeShell said:
join me in telegram to debug this issue
Barry's crib
Barry's crib. when we mess with things, stuff go here. don't spam and keep it english thats it
t.me
Click to expand...
Click to collapse
Sorry, I can't receive the SMS verification code from Telegram now. I'm solving this problem, and I will contact you later

User forgot to downgrade to miui android 9
It's in the requirements guys you need to downgrade to android 9 first!

It works well at present

droidian-OFFICIAL-phosh-phone-rootfs-api28-arm64-nightly_XXXXXXXX.zip
Click to expand...
Click to collapse
There is not a matching file on the nightly released 30 minutes ago, and cant seem to find previous releases. Which one do i download?

rodrimax10 said:
There is not a matching file on the nightly released 30 minutes ago, and cant seem to find previous releases. Which one do i download?
Click to expand...
Click to collapse
if you can't find it there download this
https://github.com/droidian-images/rootfs-api28gsi-all/releases/download/nightly/droidian-rootfs-api28gsi-arm64_20230126.zip
Release nightly · droidian-images/rootfs-api28gsi-all
Deprecated, use https://github.com/droidian-images/droidian/releases - Release nightly · droidian-images/rootfs-api28gsi-all
github.com
droidian-rootfs-api28gsi-arm64_xxxxxxxx.zip

This is the closest system I have used to real Linux, but I still hope it can support Docker. Why can't I run Docker?

FakeShell said:
UBports Installer
Alternatively the UBports installer can also be used to install Droidian.
Click to expand...
Click to collapse
What's the procedure to do that? Thought UBports installer can only install Ubuntu Touch

Sithhy™ said:
What's the procedure to do that? Thought UBports installer can only install Ubuntu Touch
Click to expand...
Click to collapse
Same way you install UT druring os selection select droidian

Related

Sailfish OS for the Samsung Galaxy Note 4 (SM-N910C) - (treltexx)

Code:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Everything you do, !!
!! you do at your own peril and risk. !!
!! !!
!! I do not bear any responsibility !!
!! for your faulty devices. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! !!
!! THIS ROM IS ONLY FOR THE EXYNOS VERSION !!
!! !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
First I would like to thank NoKit, monich, elros34 and all the Sailfish OS porter guys who helped me to make this port.
Thank you very much guys!
News 05/03/2023: OTA to SFOS 4.5.0.18
26/10/2022: OTA to SFOS 4.4.0.72
14/07/2022: OTA to SFOS 4.4.0.68
08/06/2022: OTA to SFOS 4.4.0.64
30/05/2022: OTA to SFOS 4.3 & 4.4
22/02/2022: OTA to SFOS 4.2
16/10/2021: Waydroid on Galaxy Note4 (SFOS 4.1)
03/09/2021: OTA to SFOS 4.1
23/03/2021: OTA to SFOS 4.0
Requirements:
Before you start to download anything, please read all this through carefully.
The first requirement is your device must be rooted and you should be able to install a custom recovery (preferably TWRP) onto it.
Installation instructions:
1. Download all files, LOS14.1 zip, Sailfish OS zip and twrp2.8.7.img to the external SD card on the phone
2. Reboot into TWRP (Hold buttons: Power on + Home + Volume up)
At this point you should install TWRP 2.8.7 as the installation work the best with this recovery.​
Once you flashed TWRP 2.8.7, please reboot into recovery and continue the process.​
​3. Do a factory reset
4. Still in recovery, flash the LOS14.1 image
5. Still in recovery, flash Sailfish Os image
8. Reboot
9. Enjoy the latest (3.3.0.16) Sailfish OS on your Note 4 (treltexx).
You will need patience as the first boot will take for a while. Then you can go through the initial Sailfish OS set up.
This Sailfish OS Android HAL based on LOS 14.1.
Downloads:
twrp2.8.7.img for Note 4 (treltexx)
LOS14.1 for Note 4 (treltexx)
Sailfish OS 4.5.0.18 for Note 4 (treltexx) - 05/03/2023
Sailfish OS 4.4.0.72 for Note 4 (treltexx) - 26/10/2022
Sailfish OS 4.4.0.68 for Note 4 (treltexx) - 13/07/2022
Sailfish OS 4.1.0.24 for Note 4 (treltexx) - 09/09/2021
Sailfish OS 3.3.0.16 for Note 4 (treltexx) - 09/10/2020
Boot logo updater for Note4 (treltexx)
kernel for lxc support (this kernel is only for sfos 3.3, the newer OTA updates all have this support!)
fix for 'Private number' calls
Problems/Solutions:
Problem: LXC container doesn't start on any of these two builds.
Solution: In TWRP install the kernel for lxc support. (This will be included into a later build.)
Problem: Incoming calls are not displaying the number only the 'Private call' text.
Solution: Install the fix for 'Private number' calls rpm. (This will be included into a later build.)
Some useful patches:
Patchmanager 3.0
More folder icons
Operator name at bottom (Stopped working on 3.3.0.16)
Silica mail (transparent background) - Well documented here
Apps from Openrepos
Apart from the Jolla store there are plenty of other, community made apps in Openrepos. There is a user-friendly app to install/remove apps from this source called Storeman. It can be downloaded and install from this location: Storeman
Debug/login/troubleshooting:
In Ubuntu, connect USB cable. telnet 192.168.2.15 2323 or SSH [email protected].
Notes:
On Sailfish OS, as it is a Linux system, you cannot install/run any android apps.
How to make a backup/restore with TWRP:
You can boot into TWRP with the usual button combination (Hold buttons: Power on + Home + Volume up) and can make backup/restore.
Battery life
In my experience this build gives a very good battery life (I've tested with a new battery and it drops beteen 5% - 10% overnight with wifi on)
Changelog:
10.10.2020
=========
Custom (Sailfish OS) boot logo
09.10.2020
=========
Sound fix is included, it works out of the box
GPS fixed!
S-Pen works as a mouse! To make the cursor visible (thanks for elros34!) you need to install:
Patchmanager 3 from openrepos
mousetracker
amend '/var/lib/environment/compositor/droid-hal-device.conf' file, add the -plugin evdevmouse:abs:/dev/input/event3 to the end of LIPSTICK_OPTIONS. (That line should look like this:
Code:
LIPSTICK_OPTIONS=-plugin evdevtouch -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap -plugin evdevmouse:abs:/dev/input/event3
as final step apply the moustracker patch in Settings/Patchmanager, then restart the services (pulley menu in Patchmanager) or reboot, then pull out the S-Pen and use it as a stylus/mouse.
(Note: As patchmanager doesn't yet work when the default user is defaultuser, the instruction above works only on sfos 3.3.0.16 or the OTA updated 4.0.1.48. On fresh sfos 4.0.1.48 install you need to install mousetracker and manually apply the patch from it.)
28.09.2020
=========
Work:
Screen
Touch
IMEI number is detected
Sensors (Rotation, Acceleration, Gyroscope, Magnetometer, Light & Proximity)
GPS (The permanent solution will be included in a future build. Now, the workaround is (do it only once): as root delete the folder /data/system/gps and then reboot. GPS should start working)
Notification LEDs (white, green, blue, red)
Wifi
MTP
Bluetooth
Calls incoming/outgoing
Messages incoming/outgoing
Mobile data
External SD card detected and mounted to /run/media/nemo/_sdcard_name_ (where _sdcard_name_ is the name of the sd card when it was formatted like 4B93-785B)
Home button and the Back soft button
Vibra
Pixel ratio and icons set to 2.00
Audio is routed to headphone if that presents
Camera front/rear
Video recording (only on the rear camera)
Jolla store (please skip the account creating/adding in the initial setup)
findutils is installed by default (updatedb and locate commands work out of the box)
Torch
can boot into TWRP recovery with the usual button combination (hold buttons: Power on + Home + Volume up)
Low Power Mode (AKA "sneak peek" or "ambient display") works (install instruction is in this post)
Sound - Please download the 'Sound fix script for Note4 (treltexx)' and save it into /home/nemo/Download, then give it executable permission and run as root or do the following:
Download the 'Sound fix script for Note4 (treltexx)' and save it into /home/nemo/Download
goto Settings/Developer tools, enter a Password and save it
start the Fingerterm app and within, issue the following commands
devel-su (press enter, then enter the password you set)
chmod +x /home/nemo/Download/soundfix-treltexx.sh
/home/nemo/Download/./soundfix-treltexx.sh
Do not work:
USB mode selection from Settings (workaround: as root run 'systemctl restart usb-moded' command)
Video recording on the front camera
Video playback in Gallery app (You can use Kodi for playing videos)
Internal SD card is not mounted to /android
S-Pen WIP
Extra 1: Change boot logo, Download warning image, Charring image and Download image for Sailfish OS like.
Simply download the Note4-Boot-Logo-Updater_by_edp17.zip from the download section and flash it with TWRP.
Important!: Once the zip is flashed, boot into recovery again, then you can boot into Sailfish OS.
To revert these images back to original:
Download the original param.bin and flash it with heimdal:
Code:
heimdall flash --PARAM param.bin
Inspired by this post
Extra 2: Desktop Linux distro install/run on the Note 4!
1. First flash the kernel from the Downloads section (in a later build this kernel will be included)
2. Install all the following packages:
lxc
lxc-templates
nemo-qml-plugin-dbus-qt5
sailfish-polkit-agent
python3-base
python3-gobject
dbus-python3
lxc-templates-desktop
qxdisplay
harbour-containers
mouse cursor support for SFOS and LXC
3. Once the packages are installed, fire up the LXC and install a distro into it (e.g. Debian SID)
On the Note 4 the harbour-containers GUI doesn't work properly. Fortunately the desktop distro installation can be done from a command line. Here are the steps:
sudo lxc-create -t sfos-download -n mycontainer
follow the instruction and set the distribution (e.g. debian) then the version (e.g. sid) then the architecture (armhf)
example command: sudo lxc-create -t sfos-download -n mycontainer -- --arch armhf --dist debian --release sid
sudo lxc-start -n mycontainer
sudo lxc-attach -n mycontainer
then within the container:
/mnt/guest/setup_desktop.sh
/mnt/guest/setups/debian.sh
4. Once the Desktop distro is installed you can start:
I recommend to use one of these scripts as they save a little time. (Note: You need sudo installed and configured for these scripts!)
Start LXC and desktop in landscape mode with mouse support: debian-mouse-landscape.sh
Start LXC and desktop in portrait mode with mouse support: debian-mouse-portrait.sh
Start LXC and desktop without mouse support: debian.sh
5. Enjoy.
6. More info about the Full linux distros on Sailfish OS.
Pictures:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Custom boot logo and other pictures:
Looks really good, have you posted the source on github or anywhere? I made a port of UT for the snapdragon note 4 and would like to make one for the exynos variant
tigerpro357 said:
Looks really good, have you posted the source on github or anywhere? I made a port of UT for the snapdragon note 4 and would like to make one for the exynos variant
Click to expand...
Click to collapse
Yes, all sources are available on github: here
Please let me know when the UT is available for this device! I'd like to try it.
calls not work
Oh, it's you again dude That is AWESOME
lee.wp14 said:
Oh, it's you again dude That is AWESOME
Click to expand...
Click to collapse
I am still chasing my n7000. Once I got that I will complete that port too. Will let you know.
usaman65 said:
calls not work
Click to expand...
Click to collapse
What variant of Note 4 is that? This port is for the European Exynos version (SM-N910C).
edp17 said:
What variant of Note 4 is that? This port is for the European Exynos version (SM-N910C).
Click to expand...
Click to collapse
test on n910c .sound also not work
usaman65 said:
test on n910c .sound also not work
Click to expand...
Click to collapse
Yeah, I installed the build again and tested these. I can confirm these do not work. Hmm, all those worked fine on all previous builds, so I am not sure why the stopped working. It seems permission issue to me. I double check and will come back with a solution. Thanks for reporting!
edp17 said:
Yeah, I installed the build again and tested these. I can confirm these do not work. Hmm, all those worked fine on all previous builds, so I am not sure why the stopped working. It seems permission issue to me. I double check and will come back with a solution. Thanks for reporting!
Click to expand...
Click to collapse
any patch possible for android apps ?
usaman65 said:
test on n910c .sound also not work
Click to expand...
Click to collapse
I have figured out a solution to the sound issue. It was me forgot to include this into this build. I will add it into a later one. Until then, please follow the instruction from the main post. (I added a script into the Download section and a comment how to apply it.)
For me, this fix solved the issues with calls and torch too.
edp17 said:
I have figured out a solution to the sound issue. It was me forgot to include this into this build. I will add it into a later one. Until then, please follow the instruction from the main post. (I added a script into the Download section and a comment how to apply it.)
For me, this fix solved the issues with calls and torch too.
Click to expand...
Click to collapse
thanks its fix now .tuch missing some time while tipping
who to install lxc for desktop linux .nothing find on google
usaman65 said:
who to install lxc for desktop linux .nothing find on google
Click to expand...
Click to collapse
How do you mean? There is instruction in the first post and there is a link to the main post of lxc (option 5).
edp17 said:
How do you mean? There is insttuction in the first post and there is a link to the main post of lxc (option 5).
Click to expand...
Click to collapse
there is a link but cannot find all required files .and how to fire lxc ...? cannot find harbour-containers .there is a link but cannot instaled it
usaman65 said:
any patch possible for android apps ?
Click to expand...
Click to collapse
No, none of the community ports have support for android apps. However you can install a desktop linux and can run desktop apps. (Although very few is touch control friendly.) Instruction for how to install a desktop distro on this device is available in the main post.
usaman65 said:
there is a link but cannot find all required files .and how to fire lxc ...? cannot find harbour-containers .there is a link but cannot instaled it
Click to expand...
Click to collapse
The link to the harbour-container is in the 'Extra: Desktop Linux distro install/run on the Note 4!' section (main post).
Although, here is how to install it, follow these steps:
download the 'harbour-containers-0.4-1.armv7hl.rpm' from this link.
open a terminal (Fingerterm)
type: devel-su (then press enter, then type your password and press enter again)
go to the library where you downloaded the rpm file
type: pkcon install-local harbour-containers-0.4-1.armv7hl.rpm (then press enter)
!Note: Before installing the harbour-container, you need to install ALL the other packages that are listed in the 'Extra: Desktop Linux distro install/run on the Note 4!' section (main post).
There is a full topic about all of this (also provided in the main post) here.
Does it work on note 4 n910v verizon?
Hola117 said:
Does it work on note 4 n910v verizon?
Click to expand...
Click to collapse
I think the N910V is not an Exynos but a Snapdragon device. This means, no, this port won't work on that. Sorry.
edp17 said:
I think the N910V is not an Exynos but a Snapdragon device. This means, no, this port won't work on that. Sorry.
Click to expand...
Click to collapse
you are correct, the 910V is a snapdragon device, its actually what I used to do my Ubuntu Touch port, BTW, I am still going to do a exynos note 4 UT port, just been busy

Windows ARM64 on fajita

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
oneplus 6/6t 都可用
警告!不当操作可能会导致手机变砖!
-
20210822 updata
-
project address : https://github.com/edk2-porting
and
Tool download :https://drive.google.com/drive/folders/1GrX9JTVpKwo3WNshqIljPRc9Q6dPJDJJ?usp=sharing
boot download : https://github.com/edk2-porting/edk2-sdm845/releases/tag/v1.0.2
drives download : https://github.com/edk2-porting/WOA-Drivers/archive/refs/heads/main.zip
-
Installation tutorial
new tutorial!(English) https://forum.renegade-project.org/t/faq/95
-
article(Chinese) : https://forum.renegade-project.org/t/6-windows/194
-
Device support status
Renegade Project
Renegade Project
renegade-project.org
-
The drive is gradually improving
有问题我会不定期来看的,欢迎提问。
Questions are welcome
How are you doing with the driver ports. Nice work tho!
Keno_I said:
How are you doing with the driver ports. Nice work tho!
Click to expand...
Click to collapse
The driver is currently only basic
Such as wifi, GPU, battery, etc. are all unavailable
But this will gradually improve in the future!
-
驱动目前只有基础的
比如wifi,GPU,电池等都是不可用的
但这会在之后慢慢完善!
Nice. Good work on that, I'm assuming this port will be easier when windows arm devices get more widespread and supported
Good work. This is really great.
Will try that out the next days.
One thing I am just wondering.
How is it handled to boot Windows and Android?
So when you boot up the phone will it boot to Windows or to Android?
Or will it boot to Android and to boot to Windows you will need to fastboot the boot-fajita.img again?
Thanks!
Given it a go, it's not going bad is it? Very nice.
It took a while to set up so I wrote some scripts to partition and boot to recovery, along with scripts within recovery to deal with bootloader config. The only thing that wasn't automatic at this point was running DISM++
Good work. This is really great.
Wishmasterflo said:
Will try that out the next days.
One thing I am just wondering.
How is it handled to boot Windows and Android?
So when you boot up the phone will it boot to Windows or to Android?
Or will it boot to Android and to boot to Windows you will need to fastboot the boot-fajita.img again?
Thanks!
Click to expand...
Click to collapse
By default it will boot Android, unless you flash the windows bootloader img to boot.
I cannot recommend flashing the windows bootloader img at the moment- it worked and windows boots by default but from this point on I was unable to start TWRP, even via fastboot boot, so I'll have to MSM tool it to restore, which *does* wipe windows.
Other thoughts: This is almost usable, however, battery drain is through the roof and the touch screen driver is misconfigured for the display, so touch events are in the wrong place.
Keep going guys!
damiensturdy said:
Given it a go, it's not going bad is it? Very nice.
It took a while to set up so I wrote some scripts to partition and boot to recovery, along with scripts within recovery to deal with bootloader config. The only thing that wasn't automatic at this point was running DISM++
Good work. This is really great.
By default it will boot Android, unless you flash the windows bootloader img to boot.
I cannot recommend flashing the windows bootloader img at the moment- it worked and windows boots by default but from this point on I was unable to start TWRP, even via fastboot boot, so I'll have to MSM tool it to restore, which *does* wipe windows.
Other thoughts: This is almost usable, however, battery drain is through the roof and the touch screen driver is misconfigured for the display, so touch events are in the wrong place.
Keep going guys!
Click to expand...
Click to collapse
Great. Thanks for the answers. I will try that out as well.
I saw in the Tools folder there is a file "TouchScreen.reg" . Does that not fix the touchscreen issues or what does that do?
Wishmasterflo said:
Great. Thanks for the answers. I will try that out as well.
I saw in the Tools folder there is a file "TouchScreen.reg" . Does that not fix the touchscreen issues or what does that do?
Click to expand...
Click to collapse
Actually, the last time I did it I didn't have any touchscreen issues- I must have skipped the reg file!
I just bought a USB-c HUB to connect Mouse, keyboard, USB stick to my phone when setting this up.
So if I see this correct now and the boot file can only be booted via Fastboot and flashing it to boot is not recommended due to issues to boot TWRP afterwards there is no way now to boot that without having the phone connected to a Computer or?
OK I gave that a try now. I could boot to the EFI environment and tried to apply the Windows 11 arm64 image in Dism++.
After done the steps to select the ISO file and target C: it starts to copy files and after like 1 minute I get an error Message but all the text in the message is in Chinese letters so I dont know what the error means.
How can I set the language in Dism++ to english?
Thanks!
Wishmasterflo said:
我刚买了一个 Usb - c Hub 来连接鼠标, 键盘, Usb 粘在我的手机上, 当设置这个。
因此,如果我现在看到这个正确的启动文件,并且引导文件只能通过 Fastboot 启动,并且由于启动 TWRP 的问题而不建议将其闪烁到启动,那么现在没有办法启动该启动,而没有将手机连接到计算机或?
好吧, 我现在试了一下。我可以启动到 EFI 环境,并试图应用 Windows 11 手臂 64 图像在 Dism+.
完成选择 ISO 文件和目标 C 的步骤后:它开始复制文件,1 分钟后我收到一条错误消息,但邮件中的所有文本都以中文字母表示,因此我不知道错误是什么意思。
如何将 Dism+中的语言设置为英语?
谢谢!
Click to expand...
Click to collapse
Sorry for taking so long to reply you But this software seems to be only in Chinese
hehedi233 said:
View attachment 5390973Sorry for taking so long to reply you But this software seems to be only in Chinese
Click to expand...
Click to collapse
Thanks for the reply.
I guess Dism++ is taking the language settings from the Windows PE or boot.img and therefor it is set to Chinese.
I see when booting up the img file that that is set to Chinese. So if that can be changed to English I guess the Dism tool will be english aa well.
Wishmasterflo said:
Thanks for the reply.
I guess Dism++ is taking the language settings from the Windows PE or boot.img and therefor it is set to Chinese.
I see when booting up the img file that that is set to Chinese. So if that can be changed to English I guess the Dism tool will be english aa well.
Click to expand...
Click to collapse
you can go online to find the English version of Dism++, and then pass it in via USB disk
hehedi233 said:
you can go online to find the English version of Dism++, and then pass it in via USB disk
Click to expand...
Click to collapse
I already did that but it is in Chinese as well after launching it when booted the boot.img file therefor I guess it it fetching the language setting from the booted IMG or WinPE already.
Wishmasterflo said:
I already did that but it is in Chinese as well after launching it when booted the boot.img file therefor I guess it it fetching the language setting from the booted IMG or WinPE already.
Click to expand...
Click to collapse
If you downloaded the windows that I uploaded, it is the Chinese version, you can go to uupdump to download the corresponding version of windows. Note that it is arm64
hehedi233 said:
If you downloaded the windows that I uploaded, it is the Chinese version, you can go to uupdump to download the corresponding version of windows. Note that it is arm64
Click to expand...
Click to collapse
Yes that I already did. Its more the WinPE which is in Chinese causing that Dism++ is launching in Chinese as well.
So I assume when I push the English WinPE files/Version to my phone I will have everything in english then and Dism++ will launch in English as well.
Can you provide WinPE in english?
Wishmasterflo said:
Yes that I already did. Its more the WinPE which is in Chinese causing that Dism++ is launching in Chinese as well.
So I assume when I push the English WinPE files/Version to my phone I will have everything in english then and Dism++ will launch in English as well.
Can you provide WinPE in english?
Click to expand...
Click to collapse
winpe-EN.7z
drive.google.com
I laughed when I saw the BSOD
---
当我看到死亡的蓝屏时,我笑了。

[ROM][A5 2017][Unofficial] Sailfish OS 4.4 (testers needed for A7)

​Unofficial Sailfish OS port for the Samsung Galaxy A5 2017​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
Your warranty is now void. I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it!
Source code:​
Spoiler: Source code
Kernel: https://github.com/aymanrgab/kernel-samsung-exynos7880
Hybris-boot fork: https://github.com/aymanrgab/hybris-boot
droid-config: https://github.com/aymanrgab/droid-config-a5y17lte
droid-hal: https://github.com/aymanrgab/droid-hal-a5y17lte
yamuisplash (boot screen) fork: https://github.com/aymanrgab/yamuisplash
waydroid custom image: https://github.com/Exynos7880-Linux/waydroid
Installation:​Flash the ZIP through recovery. Additionally, you may backup your current android installation's boot partition for dualbooting.
What works:​Pretty much everything unless stated below.
What doesn't work:​
Saving videos from the camera app after recording
Bluetooth works but you need to go to Settings>Utilities and restart the Bluetooth service.
Others ??
Untested:​
A7 Support. We need help in this regard, please visit the A5/A7 2017 ROMs telegram group to help https://t.me/joinchat/IJCE2UV-5IO4CO9LiVgIag
Extras:​If you want to enable double tap to wake, you can run this command inside the terminal mcetool --set-doubletap-wakeup=always
Waydroid:​
Make sure to set a root password, this can be done from Settings under Developer tools
Go to the terminal and be root (this can be done using devel-su
Install git and unzip # zypper in git unzip
Clone the repo containing the install script and other fixes git clone https://github.com/Exynos7880-Linux/waydroid
cd waydroid
Run the install script (it will reboot the phone at the end) ./waydroid.sh
That's it, launch the Waydroid app, as an extra, install Sailfish Connect from Storeman and KDE Connect on your Waydroid install and pair them up to receive notifications
Credits:​Ayman_sp24 - Main developer (github profile)
Sailfish OS Team and Sailfish OS HADK porting telegram
Screenshots:​
Spoiler: Screenshots
Downloads:​A5:​v1.2 (4.4.0.72) https://gitlab.com/sailfishos-porte...-a5y17lte-release-4.4.0.72-devel-20221021.zip
(Upgrading will wipe data)
10/8/2022 Changelog:
Added initial Waydroid support, a custom waydroid image is required, but a script that installs it automatically is provided
Upgraded to 4.4.0.72 Sailfish OS release
6/11/2022 Changelog:
Added update for OTA support
Testers for A7 are still needed
Thank you for the SFOS support of Samsung Galaxy A5 2017!
By using 2 files, I tried to clean flush and failed.
When flushing, the error message was appeared "mount: Failed to mount..." as the red line of the attached photo. The flushing process was worked and the system booting was holded with the Sailfish booting logo.
Can you help me?
For reference, the bootloader of my phone is version 8.
onroad59 said:
Thank you for the SFOS support of Samsung Galaxy A5 2017!
By using 2 files, I tried to clean flush and failed.
When flushing, the error message was appeared "mount: Failed to mount..." as the red line of the attached photo. The flushing process was worked and the system booting was holded with the Sailfish booting logo.
Can you help me?
For reference, the bootloader of my phone is version 8.
Click to expand...
Click to collapse
about this mount error it's normal because /data is already mounted
and use this version of sfos https://gitlab.com/sailfishos-porte...-a5y17lte-release-4.4.0.72-devel-20221021.zip *don't flash anything else just this and reboot
Ayman_sp24 said:
about this mount error it's normal because /data is already mounted
and use this version of sfos https://gitlab.com/sailfishos-porte...-a5y17lte-release-4.4.0.72-devel-20221021.zip *don't flash anything else just this and reboot
Click to expand...
Click to collapse
Thank you for the fast responce and answer.
Well flushed as following the pictutres.
I will check the fuctions. First, USB connection don't operate. So I insatlled Korean language by the indirect method.
Once more thank you very much.
onroad59 said:
Thank you for the fast responce and answer.
Well flushed as following the pictutres.
I will check the fuctions. First, USB connection don't operate. So I insatlled Korean language by the indirect method.
Once more thank you very much.
Click to expand...
Click to collapse
nice
first usb mtp didn't work you can use ssh instead first you must set a password for ssh from developer tools
after that you can connect to it from pc using winscp if you're on Windows like this
ssh server : 192.168.2.15
ssh port : 22
username : defaultuser
password : < your password >
if you're using Linux from nautilus > other locations > connect to server then put this server click connect it will ask you for your password
sftp://[email protected]
Ayman_sp24 said:
nice
first usb mtp didn't work you can use ssh instead first you must set a password for ssh from developer toolsView attachment 5748765 after that you can connect to it from pc using winscp if you're on Windows like this
ssh server : 192.168.2.15
ssh port : 22
username : defaultuser
password : < your password >
if you're using Linux from nautilus > other locations > connect to server then put this server click connect it will ask you for your password
sftp://[email protected]
View attachment 5748761
Click to expand...
Click to collapse
Thanks. I will try how to connect USB or SSH.
onroad59 said:
Thanks. I will try how to connect USB or SSH.
Click to expand...
Click to collapse
MTP fixed now just run `zypper ref` and `zypper dup`
Ayman_sp24 said:
MTP fixed now just run `zypper ref` and `zypper dup`
Click to expand...
Click to collapse
I have updated my Samsung galaxy a5 2017 as your recommandation.
I'm sorry. Unfortunenately do not work as following pictures.
onroad59 said:
I have updated my Samsung galaxy a5 2017 as your recommandation.
I'm sorry. Unfortunenately do not work as following pictures.
Click to expand...
Click to collapse
I couldn't read that, but try this
devel-su
rpm --rebuilddb
zypper clean -a
zypper ref
zypper dup
Excuse my ignorance, which Android version is this?
None, it is linux
eried1 said:
Excuse my ignorance, which Android version is this?
Click to expand...
Click to collapse
It's not android, but you can have a full android 10 inside of it.
Ayman_sp24 said:
I couldn't read that, but try this
devel-su
rpm --rebuilddb
zypper clean -a
zypper ref
zypper dup
Click to expand...
Click to collapse
Sorry. Same situation for my machine.
The USB connection was fixed the Developer mode and can't change another mode.
onroad59 said:
Sorry. Same situation for my machine.
The USB connection was fixed the Developer mode and can't change another mode.
Click to expand...
Click to collapse
Set mode to Always Ask, then run
systemctl restart usb-moded
Ayman_sp24 said:
Set mode to Always Ask, then run
systemctl restart usb-moded
Click to expand...
Click to collapse
Thanks for rapid answer.
Software connection is ok! But Hareware(machine vs PC) connection is Not.
After re-install zip file which you uploaded, the ssh server connection with PC have happened the trouble.
The error message is "Host identification has changed"
Inform me for the trouble solution of the ssh server connection.
onroad59 said:
Thanks for rapid answer.
Software connection is ok! But Hareware(machine vs PC) connection is Not.
After re-install zip file which you uploaded, ssh server connection with PC happend the trouble.
Inform me for the trouble solution ssh server connection.
Click to expand...
Click to collapse
Select MTP from the menu
Ayman_sp24 said:
Select MTP from the menu
Click to expand...
Click to collapse
Inform me of the changed Host sever identification.
USB issue fix already pushed to OTA, just update.
Hey! Waydroid is stuck when installing, it's just showing waiting for android ui or something like that.. any fixes?

[ROM][LINUX][ONCLITE] Droidian Bookworm

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​Droidian is a GNU/Linux distribution based on top of Mobian, a Debian-based distribution for mobile devices. The goal of Droidian is to be able to run Mobian on Android phones. This is accomplished by using well-known technologies such as libhybris and Halium.​Requirements​
Android 9 firmware for your device:
Redmi 7 onclite: LINK
Files​
Download the latest fastbootable image: droidian-UNOFFICIAL-phosh-phone-xiaomi_onclite-api28-arm64-nightly_XXXXXXXX.zip
Installation​
Extract the archive
run the flash_all script
Boot to fastboot and let the script flash everything.
Alternative installation
Alternatively the UBports installer can also be used to install Droidian
Notes​The default password is 1234.
List of working things can be found at https://github.com/droidian-onclite/device-page
APN​Mobile data needs an APN to be set up from Settings -> Mobile Network -> Access Point Names.
Broken mobile data after calls​Data connection might break after receiving and making calls. Switch it off and on from Settings -> Mobile Network to fix it. Be careful to not turn off the mobile modem or a device restart might be required.
Out of storage​By default when flashing Droidian it allocates 8GB of storage to the system. This might not be enough and luckily you can allocate more storage with ADB by running (while in recovery): adb shell e2fsck -fy /data/rootfs.img and adb shell resize2fs -f /data/rootfs.img xG where x is the amount of GB to allocate (eg: 50G for 50 GB).
SSH access​connect your phone to your computer and type ssh [email protected], the password is 1234 (on Windows, you may need PuTTY)
Applications​You can find a list of mobile-friendly Linux applications at LinuxPhoneApps
What Works
Notification LED, Torchlight, Vibration, Carrier info, Data connection, Calls, Pin unlock, SMS, Audio routing, Voice calls, Volume control, Battery percentage, Online charging, RTC time, SDcard, Shutdown, Reboot, Bluetooth, Flight mode, Hotspot, WIFI, Proximity, Rotation, Touch screen, Earphones, Loud speaker, Microphone, Waydroid, Brightness, Encryption
What partially works
Camera works fine in Waydroid but in system itself its slow and requires some technical work.
What doesn't work
GPS, Fingerprint, Offline charging, Dual SIM, Auto brightness
Waydroid​Waydroid is an Android container which lets Android apps run on Linux phones with GPU acceleration with full speed.
Waydroid works fine on onclite.
Final Notes​
I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Support​
Device specific telegram group: @Barrys_crib.
Droidian telegram group: @DroidianLinux.
Thanks to the Droidian Team, bibarub, supirlelik96 and TheKit for helping out to make this happen.
All the sources are available at
https://github.com/droidian-onclite/
Attached images are from different devices but the interface looks and acts the same.
How long does first boot take, cause mine has been stuck on boot for the last hour or so. Is this normal or is my phone bootlooping?
SolomoEudor143 said:
How long does first boot take, cause mine has been stuck on boot for the last hour or so. Is this normal or is my phone bootlooping?
Click to expand...
Click to collapse
Have you downgraded to Android 9
FakeShell said:
Redmi 7 onclite: LINK
Click to expand...
Click to collapse
Link here should be onclite not lavender. (wrong in the other thread as well)
Eskander said:
Link here should be onclite not lavender. (wrong in the other thread as well)
Click to expand...
Click to collapse
ah my bad i forgot to change it
will update now
FakeShell said:
ah my bad i forgot to change it
will update now
Click to expand...
Click to collapse
Sry for late reply but I was eventually able to get it to work. Originally I had installed Android 9 via fastboot and booted into it. Then I went back into twrp, wiped system and data and installed the custom rom and adaptation package. This time it got stuck.
For my next go I wiped the phone entirely and installed the Android 9 rom via twrp this time. I wiped the system and data and directly flashed the droidian rom and adaptation package without booting into Android 9. This time it had worked.

[ROM][LINUX][ONCLITE][EXPERIMENTAL] Manjaro libhybris

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​Manjaro is a GNU/Linux distribution utilizing technologies like libybris and Halium to run a Linux distribution on Android devices.​Before starting the installation I should add that Manjaro libhybris is very experimental and it might break at any time so its more of a toy. If you want a smooth and more stable experience that can be daily driven, take a look at Droidian. Droidian on onclite
Requirements​
Android 9 firmware for your device:
Redmi 7 onclite: LINK
Files​
Download the latest rootfs: Manjaro-ARM-phosh-google-sargo-XXXXXXXX.zip. (Yes my work is based on google sargo and i used that as a base mostly because i also own a sargo so i experimented with that first then based my work off of that)
Download the adaptation package: adaptation-manjaro-onclite.zip.
Download TWRP or any recovvery: TWRP.img
Installation:​
Boot into fastboot and run: fastboot flash recovery TWRP.img
Reboot into recovery: fastboot reboot recovery
in recovery wipe data and system.
Go into sideload mode and run: adb sideload Manjaro-ARM-phosh-google-sargo-XXXXXXXX.zip
After it's done go back into sideload mode and run: adb sideload adaptation-manjaro-onclite.zip
Now reboot.
The first boot will take a while.
Notes​Default password​The default password is 123456.
APN​Mobile data needs an APN to be set up from Settings -> Mobile Network -> Access Point Names.
Broken mobile data after calls​Data connection might break after receiving and making calls. Switch it off and on from Settings -> Mobile Network to fix it. Be careful to not turn off the mobile modem or a device restart might be required.
Out of storage​By default when flashing Manjaro it allocates 8GB of storage to the system. This might not be enough and luckily you can allocate more storage with ADB by running (while in recovery): adb shell e2fsck -fy /data/rootfs.img and adb shell resize2fs -f /data/rootfs.img xG where x is the amount of GB to allocate (eg: 50G for 50 GB).
SSH access​connect your phone to your computer and type ssh [email protected], the password is 1234 (on Windows, you may need PuTTY)
Applications​You can find a list of mobile-friendly Linux applications at LinuxPhoneApps
What Works
Notification LED, Vibration, Carrier info, Data connection, Pin unlock, SMS, Battery percentage, Online charging, RTC time, SDcard, Shutdown, Reboot, Bluetooth, Flight mode, Hotspot, WIFI, Proximity, Rotation, Touch screen, Waydroid, Brightness
What doesn't work
GPS, Fingerprint, Offline charging, Dual SIM, Auto brightness, Torchlight, Audio, Calls, Audio routing, Voice calls, Volume control, Earphones, Loud speaker, Microphone,
Notes
Settings app does not open from the app drawer. If it has been opened from the app drawer it must be killed from the terminal.
To open the settings app run: GSK_RENDERER=cairo gnome-control-center
The fingerprint sensor acts as Enter keyboard key.
Final Notes​
I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Support​
Device specific telegram group: @Barrys_crib.
Thanks to the Manjaro team, Droidian Team, bibarub, supirlelik96 and TheKit for helping out to make this happen.
All the sources are available at
https://github.com/droidian-onclite/
Bry
But I want to know what is adaption package and how it works
Bry
But I want to know what is adaption package and how it works
Bro
But I want to know what is adaptation package and how it works
Sorry i sent it actually one time i dont know why it gone 3 times maybe the issue with network
the_arxyn said:
Bry
But I want to know what is adaption package and how it works
Click to expand...
Click to collapse
adaptation package is a sideloadable package containing all the binaires, scripts, configurations and other files needed to get the device to a working state. users flash the adaptation package once and that adaptation package installs a package as an example a deb package in debian which contains all the fixes and a repository for the user to update over the air via the package manager. so they do not have to flash anything else later they can just use the package manager and update and system will update just fine.

Categories

Resources