[Halium] Halium port for Cheryl (Android 9 Vendor) - Razer Phone ROMs, Kernels, Recoveries, & Other Dev

{
"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! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What is Ubuntu Touch?
Ubuntu Touch is the touch-friendly mobile version of Ubuntu.
This operating system is developed and maintained by UBports: An international community of passionate volunteers.
This means Ubuntu Touch is 100% community driven and independent.
What is Halium?
Halium is the collaborative project to unify the Hardware Abstraction Layer for projects which run GNU/Linux on mobile devices with pre-installed Android.
How it is a GSI?
First of all, I should mention ubports GSI definition is different from android, but both are generic.
ubports root file system was always generic and works for most cases, but devs were porting halium system image to add device-specific (HALs and configs) support to ubports Android container.
But after project treble which introduced in android 8, all device-specific parts of android system image moved to vendor partition and we can use "Generic system images" over one vendor partition.
In halium version 9, we use this adventure and have a totally generic system image + root file system.
Requirements:
The only Requirement of booting this GSI is having Halium patched kernel.
Keep in mind having android 9 firmware installed on the device as GSI base is mandatory (GSI can be used on android 8.0 and 8.1 vendors but experimental and not supported yet)
How to install?
Step 1 : Install TWRP Recovery
Step 3 : Wipe DATA / Factory Reset
Step 2 : Flash the halium-boot.img to your boot partition
Step 4 : Flash the ubports_GSI_installer_v10.zip via TWRP
Step 5 : Enjoy Ubuntu Toutch
Downloads:
HALIUM BOOT : https://github.com/Freehorn-GNU-Linux/cheryl_releases/releases/
GSI INSTALLER : https://mirrors.lolinet.com/firmware/halium/GSI/
Known bugs?
Bugs are very device specific and mostly should blame device kernel.
Possibly Wifi Issues
Report Bugs:
Please report bugs bellow with as much details as you can.
The following commands can be used to provide logs. You can also provide logs from recovery.
Code:
dmesg
cat /var/log/syslog
sudo -s
LD_LIBRARY_PATH=/system/lib64 lxc-attach -e -n android -- /system/bin/logcat
Sources:
ubports: https://github.com/ubports
Halium: https://github.com/Freehorn-GNU-Linux/kernel_dragon
GSI device tree: https://github.com/erfanoabdi/android_device_halium_ubport

As soon as I get my other phone fixed I'm installing this. I've been wanting to try a real Linux os on a phone for some time now. Thanks for posting this. Super excited.

numbawon said:
As soon as I get my other phone fixed I'm installing this. I've been wanting to try a real Linux os on a phone for some time now. Thanks for posting this. Super excited.
Click to expand...
Click to collapse
Super excited to know if you like it I'm working on Evolution X right now

I'm having trouble getting this to even boot on my device. - flashed boot.img through TWRP and Fastboot, but the device goes into a bootloop (flashed the ubports-gsi-installer through twrp as per instructions too)

Justice™ said:
I'm having trouble getting this to even boot on my device. - flashed boot.img through TWRP and Fastboot, but the device goes into a bootloop (flashed the ubports-gsi-installer through twrp as per instructions too)
Click to expand...
Click to collapse
I just tried the one i posted and it seems to be working in SSH its not working on my other cheryl I might take down the link.

Here are some screenshots from Razer Phone (Cheryl)

Related

[TWRP][v3.2][UNOFFICIAL][SC8830]TeamWin Recovery Project For Walton Primo EF4+

{
"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:
#include <std_disclaimer.h>
/*
* 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! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
About TWRP
TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point. We also have a large support community with many people who are willing to answer questions and help people with their devices either through our IRC channel.
Team Win was originally formed to work on porting WiMAX to CM7 for the HTC EVO 4G. After our work on the EVO 4G we wanted to work on a project that would work on more devices than just the EVO 4G and we settled on working on a recovery. Today TWRP is the leading custom recovery for Android phones.
A custom recovery is used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom "ROM" like OmniROM.
Bug
None (post below if you find one)
How To Install
Via Custom Recovery
Download twrp.img from download section.
Boot into a old twrp then goto install and press on install images.
Find and select your downloaded twrp.img then click on recovery and swipe.
Now reboot recovery & enjoy
Via Rashr {Need Root for this method}
Download and install Rashr app From Play Store Or Download Rashr From Here
Download twrp.img file from download section and Put It In your Sdcard
Now Open Rashr And Grant For Root permission
Click on Recovery from storage and Select twrp.img file
then click Yes To Flash Recovery.
If You Get Sucsess then Hit Yes on the popup To Go in Recovery.
Downloads
TWRP-3.2.0-0 # Initial Release
TWRP-3.2.1-0 # Changelog
Thanks to
Md. Naimur Rahman
muralivijay
Device Model : Walton Primo EF4+(ef4x)
Kernel : 3.10.65 Stock Marshmallow
Device Tree- https://github.com/Parthib24/android_device_walton_ef4x
TWRP Source Code(Modified to work with our device)- https://github.com/Parthib24/android_bootable_recovery-sprd
Original TWRP Source Code- https://github.com/omnirom/android_bootable_recovery
Porting Guide for TWRP 3.xx .!
Replace From Stock recovery.img or boot.img>>
Full Split-image folder.
bug fix
Waiting for output color fix.
Edit: Nice. Bug is fixed !..
TWRP 3.2.1-0 Changelog
Fixed wrong GGL format detection(aka invert_color) #9c71ed2
Minui fixes (cryptomilk)
Better android-8.0 compatibility in ROM trees (Dees_Troy)
Fix missing library in android-8.0 (nkk71)
Fix inconsistent SDCard naming (DevUt)
Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)

[ROM][ALPHA][NON-ANDROID][A530F/A730F]Ubuntu Touch (ubports) for A8/A8+

Code:
#include <std_disclaimer.h>
/*
* 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 patch
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
We finally have something other than Android!
Let me introduce: Ubuntu Touch for our phone!
Using @prashantp01's Vendor Dumpster V1.1.
This ROM is very much not ready for daily use, and probably never will, but it's still cool!
Ubuntu Touch is the touch/mobile friendly version of the popular Linux distribution, Ubuntu.
Using the steps listed below, you can boot it on your A8/A8+.
Bugs:
Y E S
What works:
Usually boots (unreliable)
Display works!
OpenGL Works!
WiFi usually works (unreliable, if you turn it off, you can't turn it back on)
Rotation works!
Brightness works!
Vibration works! (takes a minute or two to start working)
Installation:
Follow the instructions to install Vendor Dumpster V1.1.
Install the SaR Patch following the instructions.
Flash GlES_Updater.zip provided in downloads using TWRP.
Install the correct Halium boot image for your model. (TWRP -> Install -> Install Image -> Select your boot.img -> Select Boot from the list -> Swipe to flash)
(optional) Format data! (Not just simply wipe!) (This sometimes is required, sometimes isn't. If you can't boot, Try formatting then continuing from here!).
Flash the provided Ubuntu Touch ARM64 Rootfs GSI using TWRP.
Reboot to system
If you can't boot, do a hard reset a few times! (Vol Down + Power for 7 seconds)
Credits:
@MIDHUN.V.NADH For his work on getting the Galaxy Tab A 10.1 (2019) to run Ubuntu Touch. This is based on his work, and wouldn't have been possible without him!
@prashantp01 For his Vendor Dumpster.
Download
Google Drive
Screenshots
Coming soon!
Source code: https://github.com/VDavid003/universal7885_halium_jackpotlte
Awesome job! This is perfect.
Goodjob friend
I would like to boot it off external sdcard though, since it would be dualbooting just like that Arch Linux ARM in another thread. (searching for a OS to move on, away from Android, Ubuntu Touch is very well suited for this, pmOS too, but Unity8/mir has that look to it...)
It's working, but what the passphrase? I think i didn't set it
Spoiler: image
{
"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"
}
Hi your work is awesome but please make stable twrp based rom because my phone not able to mount and wipe or format vendor partition. My phone just twrp based rom can flash succesfully.

[GSI][arm64][A/AB] Ubuntu Touch MI PAD 4 /PLUS

{
"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"
}
/*
* 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! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What is Ubuntu Touch?
Ubuntu Touch is the touch-friendly mobile version of Ubuntu.
This operating system is developed and maintained by UBports: An international community of passionate volunteers.
This means Ubuntu Touch is 100% community driven and independent.
What is Halium?
Halium is the collaborative project to unify the Hardware Abstraction Layer for projects which run GNU/Linux on mobile devices with pre-installed Android.
How it is a GSI?
First of all, I should mention ubports GSI definition is different from android, but both are generic.
ubports root file system was always generic and works for most cases, but devs were porting halium system image to add device-specific (HALs and configs) support to ubports Android container.
But after project treble which introduced in android 8, all device-specific parts of android system image moved to vendor partition and we can use "Generic system images" over one vendor partition.
In halium version 9, we use this adventure and have a totally generic system image + root file system.
Requirements:
The only Requirement of booting this GSI is having Halium patched kernel.
Keep in mind having android 9 firmware installed on the device as GSI base is mandatory (GSI can be used on android 8.0 and 8.1 vendors but experimental and not supported yet)
How to install?
For installation guide and kernel patchings details check ubports wiki page: Click Here
Generic System image (GSI)
A repo to keep in-progress device ports information and information useful to porters that is not in official docs yet - ubports/porting-notes
github.com
Download link:​https://mirrors.lolinet.com/firmware/halium/GSI/
required device files:
https://github.com/ubuntu-touch-clover/Droidian4Clover/releases/tag/first
halium-boot.img
lineage-16.0-20190910-UNOFFICIAL-clover.zip
thanks for HandsomeYingyan
Tutorial
Enter twrp recovery https://twrp.me/xiaomi/xiaomimipad4.html
Clear the boot system vendor userdata partition and ensure that the format of the last three partitions is ext4.
flash lineage-16.0-20190910-UNOFFICIAL-clover.zip
Flash Halium Kernel V1
Flash into the hbports_GSI_installer_v10.zip and halium-ramdisk.zip
(optional) tools
Flash the halium-boot.img to the boot partition. (TWRP)
reboot system and enjoy
special thanks for @erfanoabdi GSI Ubuntu touch
I'm not a developer, I'm just sharing a tutorial.... help the dev responsible for the halium kernel for improvements and operation thanks
source: https://github.com/ubuntu-touch-clover
Where link halium-ramdisk.zip?
Zirafa said:
Where link halium-ramdisk.zip?
Click to expand...
Click to collapse
lolinet mirrors - firmware, software, iso etc.
lolinet mirrors - powered by h5ai
mirrors.lolinet.com
Auto-rotate does not work, but everything seems to work like that. Thanks!
为什么我进去登录后 在重启就需要登录密码 我并不记得我设置过密码
It doesn't boot and I followed the tutorial steps exactly to the word. I have the Plus version of the tablet, does it not work on Mi Pad 4 Plus?
I use the Mi 4 tablet. It works normally and has a power on password of phablet. You can try several times to follow the tutorial. Remember to clear the partition
0kanenas0 said:
It doesn't boot and I followed the tutorial steps exactly to the word. I have the Plus version of the tablet, does it not work on Mi Pad 4 Plus?
Click to expand...
Click to collapse
Power button doesn't work to lock/unlock the screen; the tablet also fails to add external storage. Does anyone know how to fix these issues?
Hero2457 said:
Power button doesn't work to lock/unlock the screen; the tablet also fails to add external storage. Does anyone know how to fix these issues?
Click to expand...
Click to collapse
I had the same problem. I installed the droidian(other distro) image from the same github-repo. It is not perfekt, but it works for me. I like the real linux feeling and after installing qtwayland5, my linux-tools are working.
Cam dont work and settings have loading issues.
It is not based on the newes debian and some repos does not work.

Development [RECOVERY] Unofficial OrangeFox Recovery Project Stable for Samsung Galaxy A73 5G [SM-A736B]

OrangeFox Recovery Project
{
"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.
*
* We're 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 recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
OrangeFox is FREE SOFTWARE​
Supports Treble, Miui, Custom Roms
Supports Both Dynamic and Non-Dynamic Partitions
Downloads: HERE
INSTALLATION WITH TWRP
0. Backup your ROM, your data, your internal storage, and your settings/apps, to an External storage medium [OPTIONAL]
1. Download the OrangeFox zip file to your device
2. Reboot to your Custom Recovery
3. Flash the OrangeFox zip file as a normal zip
4. The device will automatically reboot into OrangeFox recovery after installation (allow this to happen)
5. Enjoy!
INSTALLATION WITH ODIN
0. Download Odin3, Samsung's Android USB Drivers, extract file zip and only use file tar and a disabled vbmeta image.
1. Connect your phone to your PC and boot in Download Mode (power off your device and hold both volume up and volume down buttons).
2. Open Odin3, select the recovery tar by clicking the "AP" button and the patched vbmeta tar by clicking "USERDATA", then press the Start button.
3 .Reboot your phone in recovery mode: while it still plugged in your PC, hold both the power and volume up buttons.
4 .Once has booted you need to format again your data partition in order to be able to boot in system again. To do so touch Wipe>Format Data and follow the instructions in screen.
Guides; Frequently Asked Questions; Installation; Troubleshooting; Sundry Information:
* See https://wiki.orangefox.tech/en/guides
Credits
* TeamWin - for TWRP
* The OrangeFox Team - for your hard work
* All our testers - for your patience and help
* - @BlackMesa123 for device tree for a52s
* Nguyenhung9xdev
Version Information
Status: Stable
Current Beta Version: R11.1_1
Latest Beta Release Date: 12/05/2023
Source Code: https://gitlab.com/OrangeFox
Device Tree: https://github.com/nguyenhung9xdev2022/android_device_samsung_a73xq/tree/fox-12.1
Changelog: 12/05/2023
Code:
- Intial release
hi, i have some questions:
- does this recovery supports gsi installing like twrp? can i flash gsi.iso into system?
- gsi's are working well on a73?
- ril are fixed? i saw a few weeks ago that trebledroid added something in a march release about qcom in-call audio (didn't know if it's related)
sorry if there isn't the correct place to ask this, but i just registered to xda to ask this questions and i didn't know how it works.
tysm
NGDPL Nk said:
hi, i have some questions:
- does this recovery supports gsi installing like twrp? can i flash gsi.iso into system?
- gsi's are working well on a73?
- ril are fixed? i saw a few weeks ago that trebledroid added something in a march release about qcom in-call audio (didn't know if it's related)
sorry if there isn't the correct place to ask this, but i just registered to xda to ask this questions and i didn't know how it works.
tysm
Click to expand...
Click to collapse
[UNOFFICIAL][ROM][13.0][ENCRYPTION] LineageOS 20 for A73 5G
LineageOS is a free, community built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra...
forum.xda-developers.com

Development [ROM][OFFICIAL] [OOS CAM] Black Iron ROM V3.1 Android 13.0 [Lemonade]

{
"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"
}
Black Iron-Project for OnePlus 9
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
​A Small Description of the Iron V3 (V1 is IRON Los & V2 IronOS Project)​This ROM is a based on Pixel Experience for this Android Version (A13), so it will follow all its developments. I just added the features that I think are useful for my use of the device. In this case it is very similar to the other rom that I follow with many of my friends which is the PEX (Pixel Extended), by Aryan Gupta I just added something extra and to have fun in my spare time Since I worked on it, I thought I'd share the work with those who make the same use of the device as me !! Good building.
Telegram: Group
Github: Black Iron-Project
PayPal: Buy me a coffee
BLKI Team: @ralf979 Only me ? No, not!! there's @GioKas93, Andrea UZ (proud husband, father, bassist and android lover) and the shy one....he doesn't want to be seen!!
EXTRAFEATURE
Click here to see
SCREENSHOTS
Spoiler: Click here
Black Iron Update
t.me
WHAT WORKS?
Almost everything
WHAT DOESN'T WORK?
You tell me
DOWNLOADS
Click here to Download
Android OS version: 13
Security patch level: May 2023
Build author/Device Maintainer: @Ralf979
Source code: https://github.com/Black-Iron-Project
Prebuilt kernel: https://github.com/ralf979/kernel_oneplus_sm8350
NOTES:
* Gapps included.
* FLASH GUIDE in this post, after the changelog or in device changelog
Changelog:
07/05/2023 (V5.8 - A13.0)
Source:
- HERE
Device:
- Initial Release
FLASH INSTRUCTIONS:
Before flashing any rom, make a backup of your data!
Pre-requisites : Brain and ability to READ !
NOTE:
IF YOU HAVE PROBLEMS WITH TOUCH OR SENSORS, FLASH THE F18 FIRMWARE
you can find it in the "lemonade/p" folder in sourceforge
Clean Flash:
1. Download boot.img, dtbo.img and vendor_boot.img from "A13.0 Flash-utility" folder in SourceForge.
2. Reboot phone to bootloader.
3. fastboot flash boot boot.img
4. fastboot flash dtbo dtbo.img
5. fastboot flash vendor_boot vendor_boot.img
6. Reboot phone to recovery and FORMAT DATA.
7. ADB sideload BlackIron-3.x_lemonade/p-xxxxxxxxxxx.zip (lemonade for op9 or lemonadep for op9p
8. Reboot system. Profit.
Dirty Flash :
1. Reboot phone to recovery.
2. ADB sideload BlackIron-3.x_lemonade/p-xxxxxxxxxxx.zip (lemonade for op9 or lemonadep for op9p
3. Reboot system. Profit.
Rooting:
1. Download Magisk.zip
2. Reboot phone to recovery.
3. adb sideload Magisk_xxx.zip
4. Reboot system. Profit!
Thanks for this nice rom.
Many thanks great Rom and is smooth ...but phone is red hot to the touch on the screen...not joking!!!

Categories

Resources