Development [ROM][OneUI 3.1] RayOS v2.0 for Galaxy A52 [SM-A525G/F] - Samsung Galaxy A52 4G

RayOS v2.0 for Samsung Galaxy A52​Pretty straight forward, I took OneUI 3.1 firmware, debloated it and added a few features. But I mean very FEW features. Samsung didn't really disable a lot of things on the A52, I'm actually impressed.
I didn't really put a lot of effort into this, I don't think I'll keep it up to date because I am a very lazy person but who knows, stuff happens.
I will include the stock kernel for the newest security patches in the thread, because Samsung obviously tinkers with it and may include some improvements brought by Samsung themselves. Doubt you'll see custom kernels based on it until Samsung releases the source code (which sometimes takes up to 2 weeks).
Anyway, enjoy.
Code:
Your warranty is now void.
* We are 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 flashing this ROM
* 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. HARD!
Supported variants!​
SM-A525F
SM-A525M
Features!​
Based on October 2021 update (A525FXXU4AUI3)
Debloated
Edge Lighting fully enabled
Smart View fixed
S21 default wallpapers
Higher audio quality (Disabled DRC, which deeply compresses audio)
Disabled Samsung Marketing
High-End Animations (though I don't think this makes a lot of difference)
Enhanced pocessing (this also probably doesn't do anything, but give it a try)
CSC Features like:
Stock call recording
Speed meter on statusbar
Spam call blocker
App Lock
Outdoor mode
Multiple users in settings
Secure flag disabled
Probably more I can't remember...
Sources!​I decided to show my work so to speak on GitHub. You can see the list of all the apps I removed and all the lines that were added to camera and floating features. Feel free to take a look and make pull requests if you want me to add something on potential future releases.
https://github.com/ShaDisNX255/RayOS-for-Galaxy-A52
Bugs!​
You tell me
Changelog!​
03/November/2021:
Release based on October security patch (A525FXXU4AUI3)
Added CSC features (call recording, speed meter in status bar, etc...)
Compressed everything into a single zip (Dynamic Installer)
Added Outdoor Mode and multiple users in settings
Optional debloat and modify fp icon from installer
Samsung added features (RAM plus) and added October kernel (with improvements to camera, according to Samsung)
01/August/2021: Release based on August security patch (A525FXXU3AUG4)
Links!​
RayOS v2.0 by ShaDisNX255.zip
Spoiler: Links to older versions
[*]RayOS v1.0 by ShaDisNX255.img.xz
[*]August stock kernel
[*]Multidisabler is uploaded on this thread
Prequisites​
TWRP or OrangeFox for Android 11 installed
Being unencrypted (recommended)
Instructions!​
Add zip to either internal memory or SD card
Flash via custom recovery
Wait a few minutes, pay attention to the screen after 5 minutes, because it will ask you if you want to delete extra apps
(Recommended) Wipe data so you can begin with a clean installation
When installation is finished, just reboot to system
Total installation time can take up to 10 minutes
Spoiler: Instructions to install older versions
Extract RayOS ROM (in .xz format) with an unzip program and copy to internal or external SD card. (Warning: Do this step before even booting to custom recovery. This super img is about 6 GB of size and I believe custom recoveries have a size limit on files you can copy over MTP.)
Reboot to custom recovery
Install extracted ROM as "super" image in TWRP
Install stock kernel as boot (optional)
Reboot to Recovery
Format data if you are coming from Stock ROM.
Flash multidisabler (this is required always)
Flash Magisk v23.0+ zip or apk (required)
Reboot and wait patiently
Credits!​@SuperR. For his Super R's Kitchen which you can find here: https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
@topjohnwu for Magisk
@geekmaster21 for compiling, updating and maintaining OrangeFox for A52
@BlassGO for dynamic installer, which makes this installation easy. You can find dynamic installer here: https://forum.xda-developers.com/t/...ler-stable-3-5-android-10-or-earlier.4279541/
@kirbynx for allowing me to use some aspects of her setup of Dynamic Installer.
@ Samsung for the firmware
@ To users like you!
If you feel I missed you, please give me a PM so I can add you

Join our Telegram groups
Code:
Check out the latest projects on our Telegram group, where we share our advancement on new things and try to help as best as we can.
For anything already released, please ask here in XDA
Galaxy A52 Development Group
Galaxy A52 General Group
Galaxy A52 Gcam Group
Join our Spanish Telegram group
Grupo en español​

-reserved 2-

Great! good to see development on this phone, Does it work for SM-A525M? I suppose it does because that's your current phone, but it's not specified on the tittle nor the description.

tobiascarrizo said:
Great! good to see development on this phone, Does it work for SM-A525M? I suppose it does because that's your current phone, but it's not specified on the tittle nor the description.
Click to expand...
Click to collapse
Thanks for pointing that out, I will update the thread to show that it works on both SM-A525F and SM-A525M.
The [F] variant gets updated first, so I took it as a base. My phone is actually SM-A525M (I think this is the latin america variant) and the firmware and kernel work excellent, so there should not be any problem

big big work! ole your balls

ShaDisNX255 said:
RayOS v1.0 for Samsung Galaxy A52​Pretty straight forward, I took OneUI 3.1 firmware, debloated it and added a few features. But I mean very FEW features. Samsung didn't really disable a lot of things on the A52, I'm actually impressed.
I didn't really put a lot of effort into this, I don't think I'll keep it up to date because I am a very lazy person but who knows, stuff hapens.
I will include in the thread the stock A52 August security patch kernel, because Samsung obviously tinkers with it and may include some improvements brought by Samsung themselves. Doubt you'll see custom kernels based on it until Samsung releases the source code (which sometimes takes up to 2 weeks).
Anyway, enjoy.
Code:
Your warranty is now void.
* We are 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 flashing this ROM
* 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. HARD!
Supported variants!​
SM-A525F
SM-A525M
Features!​
Based on August 2021 update (A525FXXU3AUG4)
Debloated
Edge Lighting fully enabled
Smart View fixed
Theme Store patched for unlimited paid theme trials (thanks to @BlassGO)
S21 default wallpapers
Higher audio quality (Disabled DRC, which deeply compresses audio)
Disabled Samsung Marketing
High-End Animations (though I don't think this makes a lot of difference)
Enhanced pocessing (this also probably doesn't do anything, but give it a try)
Sources!​I decided to show my work so to speak on GitHub. You can see the list of all the apps I removed and all the lines that were added to camera and floating features. Feel free to take a look and make pull requests if you want me to add something on potential future releases.
https://github.com/ShaDisNX255/RayOS-for-Galaxy-A52
Bugs!​
You tell me
Changelog!​
01/August/2021: Release based on August security patch (A525FXXU3AUG4)
Links!​
RayOS v1.0 by ShaDisNX255.img.xz
August stock kernel
Multidisabler is uploaded on this thread
Prequisites​
TWRP or OrangeFox for Android 11 installed
Being unencrypted (recommended)
Instructions!​
Extract RayOS ROM (in .xz format) with an unzip program and copy to internal or external SD card. (Warning: Do this step before even booting to custom recovery. This super img is about 6 GB of size and I believe custom recoveries have a size limit on files you can copy over MTP.)
Reboot to custom recovery
Install extracted ROM as "super" image in TWRP
Install stock kernel as boot (optional)
Reboot to Recovery
Format data if you are coming from Stock ROM.
Flash multidisabler (this is required always)
Flash Magisk zip or apk (optional)
Reboot and wait patiently
Credits!​@SuperR. For his Super R's Kitchen which you can find here: https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
@topjohnwu for Magisk
@geekmaster21 for compiling, updating and maintaining OrangeFox for A52
@BlassGO for his patched theme store
@ Samsung for the firmware
@ To users like you!
If you feel I missed you, please give me a PM so I can add you
Click to expand...
Click to collapse
First Custom rom for A52, Nice Jobs!

I have tested this rom, it may be not better than previous, there are still many bloatware and marketing ads. bug: adb die

So uh... is anybody even using this besides me? LOL.
I haven't updated it to latest security patch because well, there really isn't anything added other than "the security of your device has been improved".
I think I'll wait until something significant gets added.

ShaDisNX255 said:
So uh... is anybody ...
Click to expand...
Click to collapse
Yes! Thanks.

Ya this is great thank you!!

Please Update ROM to latest September Security Patch and add These features:
Samsung App Lock
Secure Folder
Custom Fonts
Show LTE instead of 4G
Show only LTE Menu
Patched settings to show status Official
Dual Messenger patched for all user apps
Add some csc features (extra toggles, call record, statusbar network speed etc.)

Mohd Masab said:
Please Update ROM to latest September Security Patch and add These features:
Samsung App Lock
Secure Folder
Custom Fonts
Show LTE instead of 4G
Show only LTE Menu
Patched settings to show status Official
Dual Messenger patched for all user apps
Add some csc features (extra toggles, call record, statusbar network speed etc.)
Click to expand...
Click to collapse
No thanks, too much work xD

Are banking-apps working with this ROM?

New version is live, v2.0 is now released!

Привет, хорошая работа

ShaDisNX255 said:
RayOS v2.0 for Samsung Galaxy A52​Pretty straight forward, I took OneUI 3.1 firmware, debloated it and added a few features. But I mean very FEW features. Samsung didn't really disable a lot of things on the A52, I'm actually impressed.
I didn't really put a lot of effort into this, I don't think I'll keep it up to date because I am a very lazy person but who knows, stuff happens.
I will include the stock kernel for the newest security patches in the thread, because Samsung obviously tinkers with it and may include some improvements brought by Samsung themselves. Doubt you'll see custom kernels based on it until Samsung releases the source code (which sometimes takes up to 2 weeks).
Anyway, enjoy.
Code:
Your warranty is now void.
* We are 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 flashing this ROM
* 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. HARD!
Supported variants!​
SM-A525F
SM-A525M
Features!​
Based on October 2021 update (A525FXXU4AUI3)
Debloated
Edge Lighting fully enabled
Smart View fixed
S21 default wallpapers
Higher audio quality (Disabled DRC, which deeply compresses audio)
Disabled Samsung Marketing
High-End Animations (though I don't think this makes a lot of difference)
Enhanced pocessing (this also probably doesn't do anything, but give it a try)
CSC Features like:
Stock call recording
Speed meter on statusbar
Spam call blocker
App Lock
Outdoor mode
Multiple users in settings
Secure flag disabled
Probably more I can't remember...
Sources!​I decided to show my work so to speak on GitHub. You can see the list of all the apps I removed and all the lines that were added to camera and floating features. Feel free to take a look and make pull requests if you want me to add something on potential future releases.
https://github.com/ShaDisNX255/RayOS-for-Galaxy-A52
Bugs!​
You tell me
Changelog!​
03/November/2021:
Release based on October security patch (A525FXXU4AUI3)
Added CSC features (call recording, speed meter in status bar, etc...)
Compressed everything into a single zip (Dynamic Installer)
Added Outdoor Mode and multiple users in settings
Optional debloat and modify fp icon from installer
Samsung added features (RAM plus) and added October kernel (with improvements to camera, according to Samsung)
01/August/2021: Release based on August security patch (A525FXXU3AUG4)
Links!​
RayOS v2.0 by ShaDisNX255.zip
Spoiler: Links to older versions
[*]RayOS v1.0 by ShaDisNX255.img.xz
[*]August stock kernel
[*]Multidisabler is uploaded on this thread
Prequisites​
TWRP or OrangeFox for Android 11 installed
Being unencrypted (recommended)
Instructions!​
Add zip to either internal memory or SD card
Flash via custom recovery
Wait a few minutes, pay attention to the screen after 5 minutes, because it will ask you if you want to delete extra apps
(Recommended) Wipe data so you can begin with a clean installation
When installation is finished, just reboot to system
Total installation time can take up to 10 minutes
Spoiler: Instructions to install older versions
Extract RayOS ROM (in .xz format) with an unzip program and copy to internal or external SD card. (Warning: Do this step before even booting to custom recovery. This super img is about 6 GB of size and I believe custom recoveries have a size limit on files you can copy over MTP.)
Reboot to custom recovery
Install extracted ROM as "super" image in TWRP
Install stock kernel as boot (optional)
Reboot to Recovery
Format data if you are coming from Stock ROM.
Flash multidisabler (this is required always)
Flash Magisk v23.0+ zip or apk (required)
Reboot and wait patiently
Credits!​@SuperR. For his Super R's Kitchen which you can find here: https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
@topjohnwu for Magisk
@geekmaster21 for compiling, updating and maintaining OrangeFox for A52
@BlassGO for dynamic installer, which makes this installation easy. You can find dynamic installer here: https://forum.xda-developers.com/t/...ler-stable-3-5-android-10-or-earlier.4279541/
@kirbynx for allowing me to use some aspects of her setup of Dynamic Installer.
@ Samsung for the firmware
@ To users like you!
If you feel I missed you, please give me a PM so I can add you
Click to expand...
Click to collapse
Can you do for a72 please?

alinisra said:
Can you do for a72 please?
Click to expand...
Click to collapse
No, I don't have a72

If someone can help me, install "LineageOS 18.1 for A52 4G" and now I want to go back to RayOS v2.0, but when installing no boot, it locks up and only goes to recovery. I have to reinstall LineageOS, can someone help me what will be the problem?
In one place I see that they say install stock kernel, I don't know if that will be the problem, someone help me, thanks

diegobenti said:
If someone can help me, install "LineageOS 18.1 for A52 4G" and now I want to go back to RayOS v2.0, but when installing no boot, it locks up and only goes to recovery. I have to reinstall LineageOS, can someone help me what will be the problem?
In one place I see that they say install stock kernel, I don't know if that will be the problem, someone help me, thanks
Click to expand...
Click to collapse
You gotta go back to full stock first through Odin, then repeat the process to install RayOS.

Related

[ROM] Epic ROM 9.1.4.0 -MIUI- GLOBAL for Mi Note 3 (By Epic Team)

Greetings MIUI-ers!!!​
Jamflux, Pocarropa, and MrRaines (MrTomatico on en.miui), creators of Épic ROM, we are glad to present Épic ROM for Xiaomi Mi MIX, who was born thanks to the hard work of these guys. Epic ROM is a Custom ROM based on MIUI, but with some mods and improvements that you can see below on features chapter.
The focus of this ROM is improve MIUI official stock on many devices making many mods and improve Xiaomi sellers to get a bigger MIUI-ers family!
**IMPORTANT ADVISE : Install at your own risk on your device (Mi MIX in this case). We are not responsible of any damage on your device. Read carefully instructions before install.
Requirements:
-Xiaomi Mi Note 3 (Jason)
-Unlocked Bootloader (official unlock to prevent issues)
-Custom Recovery (TWRP Recovery is highly recommended)
-Read all thread before proceed
-Love for technology and most important: Love for Xiaomi!
Newest Features
Changelog:
* Latest base with all changes (visit en.miui.com/forum to check all)
* FACE UNLOCK
* New Settings configuration
* A-GPS
* New security patches
* Improved a lot battery life and RAM management
* Disabled antispam by default but you can enable it from OTA and addons
* Added dolby atmos in the launcher screen (same as OTA)
* NOTE: Telegram notification won't work due official base build issues
* Thanks to @raulmp for testing tasks!
The rest of features are in quote below:
HTML:
* Icons has been changed, now in Limitless theme we have STOCK AOSP/MIUI icons
* Many bugfixes and RAM improvements
* Now settings will have a notification when update is available!
* Many other bugfixes like WPA/WPA2 Connection security bug.
* New GRID for Launcher and Folders (Thanks to Tomhenson and MrRaines) and new Epic THEME
* New GRID selector in Settings/home and recents (Thanks to Tomhenson and MrRaines)
* New Ringtones and Notifications sounds
* New gallery options and OTA service with addons
* New mods for Icons, Grid, Reflected Icons, and more in OTA and ADDONS
* Safety net and android pay only works without ROOT (Payments will work as HCE protocol)
Multilanguage
Fixed SafetyNet and NFC Payments!
DOZE enabled
New screen recorder and redesigned UI animations/clock
New icons on status bar and improved MODs
LockScreen icon now is White
Zipaligned
Intelligent CPU management
DocumentsUI never auto-disable from settings again :P
DPI Changer in Ota and MODs (settings app)
Fingerprint gestures (you can now lock your phone using your fingerprint, if you long press fp, it will show you power menu!, to revert this feature, please visit EPIC OTA app on Settings)
New Nice Icons in settings and launcher
Gapps Pico pre-installed (Google Play Store and Google Services... you can choose what Google app's are you going to install later :P)
Épic OTA Service Added on Settings
Epic Mods on OTA app
Music App Improved
Icons on Settings re-orderer (now you'll have Dolby and SuperSU, and dolby icon from launcher has been removed, you can hide supersu icon from supersu app and only have supersu icon in settings) (New!)
Root SuperSU updated and adapted to Xiaomi Mi MIX (2.79)
Init.d support
Busybox pre-installed
Kernel tweaks (very little changes on boot.img)
Build.prop improved
miuisystem.apk improved to get better RAM management (usually 3GB of free RAM once you power ON your MIX 128/4 model :P)
Services and frameworks improvements (more battery and system performance)
MIUI Launcher improvements
Camera MODs (better image quality)
Adway integrated on system (you can see also on Settings)
All Chinese app's and Google app's (bloatware) removed
Advanced Reboot Menú (PowerMenu improved)
DolbyAtmos Updated to latest version
Support Xposed but Xposed is not pre-installed (I am not going to pre-install Xposed on this ROM never to prevent System Issues, but I bring you the posibility of install it thanks to init.d, root, and busybox... use Xposed at your own risk).
Better support for some Xposed Modules
Some Nice Wallpapers added
More Languajes and Spanish Updated (thanks to [user=5863451]@JamFlux[/user])
Assistant Touch Updated Like Epic Team Style :P
Animations on SystemUI (lockscreen), thanks to xiaomi.eu but we now add some optimizations to this
Epic Bootanimation
Better Battery and Performance/RAM management thanks also to many patches that we built for JBart
Added Xiaomi Package installer with antivirus
Languages Supported:
Global Build (as base), so, ALL LANGUAGES from Official Xiaomi Company!
How to install first time
* First of all, make a complete backup of all your photos and internal data in the computer, since the first installation requires to eliminate ALL the sdcard content, given the encryption of Android Nougat and later; the one that warns you is not a traitor, you are going to lose all the data (just as it happens if you install other ROMS). This is due to (in turn) that if we have not formatted the sdcard, it will not boot for security protection data of the cited encryption,
* With TWRP Recovery (read tutorials on how to install it) we will make another backup, but this time System, Data, Cache, Boot, and especially the EFS (important).
* Download the ZIP flasheable and pass it to the internal memory of the phone (no matter if we have already formatted it or not).
* Restart on TWRP recovery
* Make Wipes: System, Data, Dalvik, Cache.
* Install from Recovery the EpicROM ZIP flasheable and wait for it to appear okay (If you get error 7 the TWRP in the step of "formating system / extracting system", restart in recovery immediately, and reinstall it, this is due that in Nougat you must re-generate the system partition for encryption topics, so it will install you, it should work like the rest of us )
* We reboot in fastboot mode once the rom has been installed correctly. To do this, we can do it from TWRP in REBOOT / Fastboot or by holding down the power button and the volume down button until FASTBOOT and Mitu appear by soldering an Android robot. In this step, we connect the mobile to the computer, and in the same folder that can be downloaded from en.miui.com/unlock (to unblock the bootloader) click inside that folder in a blank space in the right mouse click while holding the SHIFT key on the keyboard; a window will appear and the "open command window" option should appear. We tapped on that window. When it opens, if you open powershell (blue screen) from windows 10, type cmd and press enter. If you open the classic cmd of all life (BLACK SCREEN) we are already where we want.
* Type in the cmd (be powershell or cmd) fastboot format userdata and press enter. There will be formatted all our mobile, and restarting it will work everything.
* Restart normally and configure. Remember that the first start takes a little longer, from there, it will always light fast. In the following versions, it will NOT BE MISSING to do all this, just install without wipes and to run. I already adapt it so that I clean what I have to clean with each update EXCEPT that I expressly say something else in that UPDATE.
* Enjoy (and re-pass all data previously backed up to the internal memory).
How to install UPDATE from Epic ROM 6.X.XX / 7.X.XX
Download Epic OTA with OTA app from Settings (No MIUI Updater, use EPIC OTA!)
You can also download update manually from en.miui forum or htcmania spanish forum
Install update from Epic OTA or from TWRP Recovery manually
You don't need to wipe anything if we don't say it on update! If you have to do some special, we will let you know
Reboot
Enjoy
Download Center
9.1.4.0 Global for Xiaomi Mi Note 3 (Jason)
Download ROM: https://androidfilehost.com/?fid=962021903579499661
Known bugs: You tell me. Full tested and works fine. If you have issues with your TWRP, change of recovery.
Current Status: Tested 100%; ROM Stable
If you like my work please consider to make me a little donation in this paypal link
Note: If you want to use Google Assistant please set as default assistant Google Aplication in settings/installed aplications/default/assistant and enable Google in home button in settings/aditional settings/buttons.
Obviously, you need to install Google App .
Follow me on Twitter: @PaulDhoul
Screenshoots:
You can see it below
Mini Video Review (in spanish hehe):
Thanks to:
Xiaomi (and Xiaomi official developers for bring to us this amazing SO)
Google
Xiaomi Eu Team
MultiROM Team
Epic Team Founder Members @JamFlux, @pocaropa, @MrRaines (MrTomatico on en.miui))
All MIUI DEVICE TEAM
All Admins/Mods/SMods from En.MIUI for all support
HTCManía (Spanish Forum)
Official Website: www.epicrom.pro
Enjoy and Remember: Keep loving Xiaomi!
My installation gave "Error 3"
I wiped as follow but no success!

[AOSP][9.0][GSI] AOSP Treble A750FN

This guide is based on information posted here:
GUIDE
A8 GSI by prashantp01
All credits for ozontec, and for prashantp01 for creating GSI for A8+
AOSP PIE GSI on A750FN
I'm not responsible for whatever damage this can cause to your device
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.
*/
How to:
Update to latest official firmware (tested on ARIC and ARL4)
Make full boot at least once
Make sure you have a TWRP installed, follow *click me for TWRP*
Boot once after installing TWRP
Download the latest AOSP GSI
Boot into recovery
Perform a Factory Reset, don't touch System or any other partitions
Flash Magisk
Flash AOSP image as System
Flash Camera Fix *click me for fix*
First boot may take up to 10 minutes
Download:
AOSP GSI - Pick arm64 one with "aonly", rest is up to you!
If anything went wrong, flash stock firmware with ODIN!
What is working:
-Calls
-Wifi, Bluetooth, NFC
-Camera
-SD Card
-Dual Sim
-Vibrations, Speaker, Microphone, Sensors
-Everything but...
What is not working:
-USB to PC
-VoLTE / VoWiFi
-NFC menu is laggy, very laggy...
Remember to say "thank you" to those people:
Credits:
@ozontec for creating raw guide
@prashantp01 for creating GSI for A8/A8+
@ashyx for TWRP
Screenshots soon
compatibility
does it work for A750FNXXU1ARK2/ARK4?
Which file do I need to flash, vanilla, floss or gapps?
NickDeveloper said:
does it work for A750FNXXU1ARK2/ARK4?
Which file do I need to flash, vanilla, floss or gapps?
Click to expand...
Click to collapse
It should work with EVERY firmware on FN, but I simply was not able to try it out this way. Vanilla don't have gapps, use gapps imo.
This is awesome, thanks. Would there be a way to use stock camera app for wide lens support?
hhadi said:
This is awesome, thanks. Would there be a way to use stock camera app for wide lens support?
Click to expand...
Click to collapse
Only way to do it would be porting default camera app together with libs/drivers :c
Finger print option is not there in the settings for me. Is this a /vendor problem?
It sucks to be a a750gn user right now
Bootloop after flashing (help)
Erecik said:
This guide is based on information posted here:
GUIDE
A8 GSI by prashantp01
All credits for ozontec, and for prashantp01 for creating GSI for A8+
AOSP PIE GSI on A750FN
I'm not responsible for whatever damage this can cause to your device
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.
*/
How to:
Update to latest official firmware (tested on ARIC and ARL4)
Make full boot at least once
Make sure you have a TWRP installed, follow *click me for TWRP*
Boot once after installing TWRP
Download the latest AOSP GSI
Boot into recovery
Perform a Factory Reset, don't touch System or any other partitions
Flash Magisk
Flash AOSP image as System
Flash Camera Fix *click me for fix*
First boot may take up to 10 minutes
Download:
AOSP GSI - Pick arm64 one with "aonly", rest is up to you!
If anything went wrong, flash stock firmware with ODIN!
What is working:
-Calls
-Wifi, Bluetooth, NFC
-Camera
-SD Card
-Dual Sim
-Vibrations, Speaker, Microphone, Sensors
-Everything but...
What is not working:
-USB to PC
-VoLTE / VoWiFi
-NFC menu is laggy, very laggy...
Remember to say "thank you" to those people:
Credits:
@ozontec for creating raw guide
@prashantp01 for creating GSI for A8/A8+
@ashyx for TWRP
Screenshots soon
Click to expand...
Click to collapse
Am I the only one who is having a bootloop after flashing? (I did everything exactly like in the instructions.) Can anyone help me?
limeswift said:
This guide is based on information posted here:
GUIDE
A8 GSI by prashantp01
All credits for ozontec, and for prashantp01 for creating GSI for A8+
AOSP PIE GSI on A750FN
I'm not responsible for whatever damage this can cause to your device
Am I the only one who is having a bootloop after flashing? (I did everything exactly like in the instructions.) Can anyone help me?
Click to expand...
Click to collapse
Same here, I spent whole day on this thing and tried it 5+ times and lo luck. Maybe because I was trying it on A750F varient
I try to install 4 times. SM-A750FN
2 times got boot without network, ROM detects 2 SIM cards but unknown, cant search for networks, no phone numbers, only WiFi works.
Erecik said:
This guide is based on information posted here:
GUIDE
A8 GSI by prashantp01
All credits for ozontec, and for prashantp01 for creating GSI for A8+
AOSP PIE GSI on A750FN
I'm not responsible for whatever damage this can cause to your device
How to:
Update to latest official firmware (tested on ARIC and ARL4)
Make full boot at least once
Make sure you have a TWRP installed, follow *click me for TWRP*
Boot once after installing TWRP
Download the latest AOSP GSI
Boot into recovery
Perform a Factory Reset, don't touch System or any other partitions
Flash Magisk
Flash AOSP image as System
Flash Camera Fix*click me for fix*
First boot may take up to 10 minutes
Download:
AOSP GSI - Pick arm64 one with "aonly", rest is up to you!
If anything went wrong, flash stock firmware with ODIN!
What is working:
-Calls
-Wifi, Bluetooth, NFC
-Camera
-SD Card
-Dual Sim
-Vibrations, Speaker, Microphone, Sensors
-Everything but...
What is not working:
-USB to PC
-VoLTE / VoWiFi
-NFC menu is laggy, very laggy...
Remember to say "thank you" to those people:
Credits:
@ozontec for creating raw guide
@prashantp01 for creating GSI for A8/A8+
@ashyx for TWRP
Screenshots soon
Click to expand...
Click to collapse
A7 2018 is released with Oreo,So It's support A/B Partition
a750fn android pie
in my a750fn with this firmware A750FNPUU1BSC4, the aosp gsi rom not work. The only custom rom work for me is Android P (PR1) sGSI that is unofficial rom and it is google pixel rom but data not work! please can you help me?
I followed all the instructions.... Bootloop on SM-A750GN.
This Havoc OS version is working on my 750FN
https://forum.xda-developers.com/showthread.php?p=79267026
I've updated to newest Pie One UI Firmware first.
I had Havoc OS at my Xperia XZ and its a very light rom.
And I like the customization features.
With GApps aroma you can pixelfy it very well.
Camera is also working.
In my opinion the battery drain is more less than Stock Samsung ROM (and i installed a lot Google stuff with GApps aroma).
There are two annoying bugs;
-In windows no Drives appaer with usb connection (MTP device is present in device manager)
-No auto brightness.
Maybe someone could help with this two bugs.
It dose not work on my A750F Pie version. The build number is A750FNPUU1BSC4. I tried this rom to flash but I faced with bootloop every time, I tried other versions of GSI also but not worked yet!
Is there any solition? Plz help me!
As you can see in my post, it's for A750FN!
Erecik said:
As you can see in my post, it's for A750FN!
Click to expand...
Click to collapse
Can you tell me why it will work only for A750FN and not other firmware version like GN etc.
blazzer12 said:
Can you tell me why it will work only for A750FN and not other firmware version like GN etc.
Click to expand...
Click to collapse
It's not firmware difference. GN, FN, F, G, etc are different HARDWARE versions, so some minor changes are present in every version of phone. That makes it works only on FN
Erecik said:
It's not firmware difference. GN, FN, F, G, etc are different HARDWARE versions, so some minor changes are present in every version of phone. That makes it works only on FN
Click to expand...
Click to collapse
Thank you for clearing that up for me.
Hijacks said:
This Havoc OS version is working on my 750FN
https://forum.xda-developers.com/showthread.php?p=79267026
I've updated to newest Pie One UI Firmware first.
I had Havoc OS at my Xperia XZ and its a very light rom.
And I like the customization features.
With GApps aroma you can pixelfy it very well.
Camera is also working.
Click to expand...
Click to collapse
Sorry to ask that annoying question, but do you know if VoLTE and or WiFi Calling are working on any of the GSI ROMs?

[ROM][11.0][UNOFFICIAL] LineageOS 18.1 for Unihertz Atom L and XL [Alpha] [2023-05-14]

{
"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.
This is a LineageOS 18.1 ROM for the Helios P60 based Atom L (Atom_L) and Atom XL (Atom_XL), two rugged Android phones released by Unihertz in July 2020.
This ROM supports both devices as well as both regional variants!
You need to make sure which device and variant you need!
LineageOS is a free, community built, aftermarket firmware distribution of Android 10.0 (Q), 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 contributions from many people within the Android community. It can be used without any need to have any Google application installed. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. You can also view the changelog for a full list of changes & features.
Working (but not as one would expect)
VoLTE has some issus with SELinux in enforcing mode
DMR needs "USB audio routing" deactivated in the developer settings
Bluetooth audio channel is set to use the fallback instead of A2DP
Not Working
LiveDisplay is not working (and probably never will)
You tell me
Releases
Atom L EEA (european union)
Atom XL EEA (european union)
Atom L TEE (non-european union)
Atom XL TEE (non-european union)
How to install
How to update
How to upgrade
Links
TWRP
Common device tree
Device tree Atom L (model)
Device tree Atom XL (model)
Device tree Atom L EEA (european union)
Device tree Atom XL EEA (european union)
Device tree Atom L TEE (non-european union)
Device tree Atom XL TEE (non-european union)
Bug reporting
Spoiler: Changelog
2023-05-14
* May security updates included
* Updated HardwareKeyMapper to only rely on AccessibilityService
2023-04-20
* April security updates included
2023-03-23
* March security updates included
2023-02-18
* February security updates included
2023-01-12
* January security updates included
2022-12-12
* December security updates included
2022-11-14
* November security updates included
2022-10-09
* October security updates included
* Workaround for bluetooth audio not working with A2DP
2022-09-22
* September security updates included
2022-08-22
* August security updates included
* Switched from NavButtonRemap to HardwareKeyMapper for PTT integration
2022-07-15
* Switched to LOS 18.1
* July 2021 vendor updates included (needs vendor to be upgraded manually)
* July security updates included
2022-04-21
* April security updates included
* Extended apn list included
2022-03-27
* March security updates included
2022-02-16
* February security updates included
* Updated apns-conf.xml with stock entries
2022-01-31 (Only for Atom L TEE)
* Fixing a mixup of the prebuilt kernel
2022-01-22
* January security updates included
2021-12-16
* December security updates included
2021-11-14
* November security updates included
2021-10-10
* October security updates included
2021-09-16
* New icon for NavButtonRemap
* LineageOS OTA updates enabled
* September security updates included
2021-08-10
* August security updates included
2021-07-14
* July security updates included
2021-06-16
* May vendor updates included (needs vendor to be upgraded manually)
* June security updates included
* FMRadio is working now
* Nav Button Remap included
2021-05-10
* May security updates included
2021-04-15 2021-04-21
* April security updates included
* FMRadio is working now, without sound
* Raised the size of the system and product partition to support bigger gapps installs
* Combining the work for the Atom L and XL
2021-03-09
* March security patches included
* Built for the first time using a combined Atom L/XL device tree
2021-02-11
* February security patches included
* Notification LED is working now
* Included FMRadio app (but not working)
2021-01-24
* Intercom DMR is working now
* Audio Jack fixed
* Wifi Hotspot and USB Tethering are enabled
2021-01-16
* January security patches included
* Switched to TWRP recovery
2020-12-19
* December security patches included
* Updated for stock release 2020-11-04 (announced 2020-12-03), needs vendor to be updated separately
* !!! untested (for now) !!!
2020-11-10
* Rom build variant is "user" and is signed with release keys
* Recovery is still build variant "userdebug" and signed with test keys
* November security patches included
* Intercom doesn't crash anymore (but still doesn't work either)
* Some apps and sepolicies included from stock rom
2020-10-01
* Initial Alpha build released
Help from other developers is certainly welcome. Currently only myself is working on this ROM.
Credit and Thanks
LineageOS team
@PeterCxy for starting the work on the Atom L
Enjoy!
XDA:DevDB Information
LineageOS 18.1 for Unihertz Atom L and XL, ROM for the Android General
Contributors
a-dead-trousers
Source Code: https://github.com/ADeadTrousers/android_device_Unihertz_Atom_LXL
ROM OS Version: Android 11
ROM Kernel: Linux 4.x
Based On: LineageOS
Version Information
Status: Alpha
Created 2020-10-02
Last Updated 2023-05-14
Thanks for taking this up. I look forward to future developments. I'm not yet ready to try it in its current state since my XL is my daily driver and music player, but if the radio information is something I can grab for you without too much trouble, I'm willing to try. I'll need clear instructions though, as I'm not deeply familiar with Android development. I managed to root the old Atom and install Magisk, etc. after a day's effort, at least, so I'm not entirely incompetent :silly:
SepticFuddy said:
Thanks for taking this up. I look forward to future developments. I'm not yet ready to try it in its current state since my XL is my daily driver and music player, but if the radio information is something I can grab for you without too much trouble, I'm willing to try. I'll need clear instructions though, as I'm not deeply familiar with Android development. I managed to root the old Atom and install Magisk, etc. after a day's effort, at least, so I'm not entirely incompetent :silly:
Click to expand...
Click to collapse
That's great news that I'm not alone on this
I understand that you don't want to give it a try yet.
There are quite some issues still present: https://github.com/ADeadTrousers/android_device_Unihertz_Atom_XL/issues
But maybe you could help me figure out at least one of them:
The phone is also my daily driver so I don't have the patients to go back and forth between Stock and Lineage multiple times, just to find out that I'm still missing some bits and pieces.
So I need someone with Stock to look up some information, so I can integrate it into Lineage.
Just for clarification because I never really used it and switched to Lineage right away: "Intercom" is in fact the app used for the amateur radio, or is it not?
If it is indeed then I need to know what service is running on port 9980 in Stock.
See also https://github.com/ADeadTrousers/android_device_Unihertz_Atom_XL/issues/1
wkr ADT
a-dead-trousers said:
Just for clarification because I never really used it and switched to Lineage right away: "Intercom" is in fact the app used for the amateur radio, or is it not?
If it is indeed then I need to know what service is running on port 9980 in Stock.
See also {GitHub URL}
Click to expand...
Click to collapse
"Intercom" is indeed the radio app. There's another stock app called "Toolbox" which is also handy, since it has levels, protractors, heart rate monitor, underwater camera, and a bunch of other things. May be worthwhile to try to port that over as well.
Check GitHub, I tried getting that info on 9980 but ran into a hitch.
SepticFuddy said:
Check GitHub, I tried getting that info on 9980 but ran into a hitch.
Click to expand...
Click to collapse
Thanks. I already did and also replied there.
SepticFuddy said:
There's another stock app called "Toolbox" which is also handy, since it has levels, protractors, heart rate monitor, underwater camera, and a bunch of other things. May be worthwhile to try to port that over as well.
Click to expand...
Click to collapse
During my research of the downloadable stock rom I found various mentions of the built-in sensors. The problem is that these informations are spread out quite heavily all over the rom: one init here, one sepolicy there, some so-drivers in another place. I will look into this a little bit late but it could take me some time to figure everything out. Currently I want to fix the problems that trouble me the most: gapps integration, intercom, the audio jack not working and doing a signed user build.
The last one actually broke my current build (boot loop) and I had to revert to a previous state so I need to figure out what I did wrong.
Hello, a-dead-trousers,
I am not really into LineageOS but I came across this thread while searching for a stock ROM.
Did you extract the stock ROM from your own device? If so, how?
I tried to readback using SP Flash Tool v5.2036, but only get an error saying "memory is HW_STORAGE_UFS, not HW_STORAGE_EMMC". I made an empty scatter using Wwr MTK tool v2.51, but only choices are either EMMC or NAND and there is no UFS option.
Or, did you download the stock ROM from somewhere? If so, where?
I found couple links online and downloaded one so far, but the downloaded scatter indicates that the memory is of the type HW_STORAGE_EMMC, which SP Flash Tool told me my device is not. So, I am not certain of the authenticity of the downloaded file.
My AXL is still on the stock ROM, obviously, and I can help you with what you questions.
Can you help me with backing up my stock ROM or show me a link to a known authentic stock?
Another question to anyone who might know:
Does Atom XL lose any functionality by unlocking bootloader?
Like those licensed image-enhancing engines on Sony Xperia devices?
I have been trying to root the device by flashing a magisk_patched boot image using SP Flash Tool.
It flashes OK but goes into boot loop every time.
None of the MTK devices I played with in the past required unlocking bootloader for flashing anything (magisk boot, twrp) as long as using SP tool and I was hoping that's the case again.
I don't mind unlocking at all if I am not losing anything, but I thought I check with other users first.
Thanks in advance for any info!
tapa_t said:
Hello, a-dead-trousers,
I am not really into LineageOS but I came across this thread while searching for a stock ROM.
Did you extract the stock ROM from your own device? If so, how?
Click to expand...
Click to collapse
This is the official download link for Unihertz stock roms:
https://drive.google.com/drive/folders/0By1nhWOmuw2KdDhTUlFOZHpXQjg?sort=13&direction=a
tapa_t said:
Another question to anyone who might know:
Does Atom XL lose any functionality by unlocking bootloader?
Like those licensed image-enhancing engines on Sony Xperia devices?
I have been trying to root the device by flashing a magisk_patched boot image using SP Flash Tool.
It flashes OK but goes into boot loop every time.
None of the MTK devices I played with in the past required unlocking bootloader for flashing anything (magisk boot, twrp) as long as using SP tool and I was hoping that's the case again.
I don't mind unlocking at all if I am not losing anything, but I thought I check with other users first.
Thanks in advance for any info!
Click to expand...
Click to collapse
I'm not sure, but I think you will definitely loose SafetyNet credibility amongst other security related checks (banking apps and so on).
The SPFlash flashing should work though. Unless the "new" super partition layout is not supported by magisk or there is a problem with the checksums and avb. Best to ask the developers of magisk. They should know the pitfalls.
It seems that they are currently working on the avb (dm-verity) problem:
https://github.com/topjohnwu/Magisk/commit/d0b6318b90dc8f1c315b1a2a0eda03d1f9e38027
a-dead-trousers said:
I'm not sure, but I think you will definitely loose SafetyNet credibility amongst other security related checks (banking apps and so on).
The SPFlash flashing should work though. Unless the "new" super partition layout is not supported by magisk or there is a problem with the checksums and avb. Best to ask the developers of magisk. They should know the pitfalls.
Click to expand...
Click to collapse
Thank you for the info.
I unlocked the bootloader, but flashing the magisk boot either by SP tool or by fastboot still gives a boot loop, which can easily be fixed by flashing back the stock boot.
Both unlocking and relocking bootloader "factory data resets" the device (that's what the device says in the process).
I don't find any loss in functionality by unlocking, but the process is probably still unnecessary if using SP tool.
I head over to the magisk support thread to see if there's anything to solve it.
Thanks again!
SepticFuddy said:
There's another stock app called "Toolbox" which is also handy, since it has levels, protractors, heart rate monitor, underwater camera, and a bunch of other things. May be worthwhile to try to port that over as well.
Click to expand...
Click to collapse
The "toolbox" I found in the rom is an internal service and part of LineageOS itself. So I tried to find an "apk" with that name but had no luck either. There are several possible candidates but to figure out the right one I need the package name (e.g. com.agold. ...).
a-dead-trousers said:
The "toolbox" I found in the rom is an internal service and part of LineageOS itself. So I tried to find an "apk" with that name but had no luck either. There are several possible candidates but to figure out the right one I need the package name (e.g. com.agold. ...).
Click to expand...
Click to collapse
Opening up the app starts com.agui.toolbox. Since it feels like a shorcut launcher, I tried starting some of the functions inside it to see if I could catch any other app names in the log, but nothing came up. So I think it's all contained within Toolbox, despite that one or two of the functions is broken for me.
EDIT: In the same vein, there are a few other baked-in apps, should you choose to port them over. Some may be standard in Android 10 and/or covered by LineageOS, I wouldn't know-
com.tiqiaa.remote - ZazaRemote, for the IR emitter
com.agui.newsos - SOS app
com.agui.studentmodel - "Student Mode"
com.agui.nfc - NFC Emulator
com.mediatek.notebook - Notebook app... for notes
com.mediatek.cellbroadcastreceiver - Emergency Alert app
com.android.soundrecorder - Sound Recorder
com.android.fmradio - FM Radio
com.google.android.apps.wellbeing - Digital Wellbeing
SepticFuddy said:
Opening up the app starts com.agui.toolbox. Since it feels like a shorcut launcher, I tried starting some of the functions inside it to see if I could catch any other app names in the log, but nothing came up. So I think it's all contained within Toolbox, despite that one or two of the functions is broken for me.
EDIT: In the same vein, there are a few other baked-in apps, should you choose to port them over. Some may be standard in Android 10 and/or covered by LineageOS, I wouldn't know-
com.tiqiaa.remote - ZazaRemote, for the IR emitter
com.agui.newsos - SOS app
com.agui.studentmodel - "Student Mode"
com.agui.nfc - NFC Emulator
com.mediatek.notebook - Notebook app... for notes
com.mediatek.cellbroadcastreceiver - Emergency Alert app
com.android.soundrecorder - Sound Recorder
com.android.fmradio - FM Radio
com.google.android.apps.wellbeing - Digital Wellbeing
Click to expand...
Click to collapse
I can't find com.agui.toolbox. I decompiled every apk on "system" and "vendor" but none of them has this package name. I'm at my wits end.
com.tiqiaa.remote is on "vendor" but doesn't get automatically installed. Without "su" I get a permission denied, so that's maybe the reason why. Need to figure out a way to get past this. I always wanted a universial remote.
com.agui.newsos could be handy, will look into it.
com.agui.studentmodel what's that for?
com.agui.nfc could be handy, will look into it.
com.mediatek.notebook This looks like a copy of google notes to get the AOSP "sign of approval". I prefer to use the original not a cloned version with potential security issues. Sorry no inclusion.
com.mediatek.cellbroadcastreceiver honestly, the cell broadcasts I received with my old phone where quite useless, but maybe that's dependent of your carrier. So that's a big maybe.
com.android.soundrecorder this is the AOSP version, lineage brings it's own built-in. So no need for a inclusion from stock.
com.android.fmradio should be the AOSP version, found no source but a fairly recent apk on apkmirrors. A Maybe for inclusion.
com.google.android.apps.wellbeing that's part of gapps. So no need for a inclusion from stock.
Generally:
com.agui. looks like to be an local chinese manufacturer of addon chips (thermal, barometric, nfc and stuff)
com.mediateki. is of course the manufacturer of the board. They are using AOSP mostly but some things they need to "clone" when legally necessary (like the trump-us-ban on technology)
com.android. is AOSP, so mostly open source.
com.google.android. is Google itself, so mostly closed source or "rebranded" open source. (like "Firefox" is a trademark and can't be changed, but the sourcecode is available for everyone to use and alter you re not allowed to name it "Firefox" though)
Found it! Some of the apps were on "product".
a-dead-trousers said:
I can't find com.agui.toolbox. I decompiled every apk on "system" and "vendor" but none of them has this package name. I'm at my wits end.
com.tiqiaa.remote is on "vendor" but doesn't get automatically installed. Without "su" I get a permission denied, so that's maybe the reason why. Need to figure out a way to get past this. I always wanted a universial remote.
com.agui.newsos could be handy, will look into it.
com.agui.studentmodel what's that for?
com.agui.nfc could be handy, will look into it.
com.mediatek.notebook This looks like a copy of google notes to get the AOSP "sign of approval". I prefer to use the original not a cloned version with potential security issues. Sorry no inclusion.
com.mediatek.cellbroadcastreceiver honestly, the cell broadcasts I received with my old phone where quite useless, but maybe that's dependent of your carrier. So that's a big maybe.
com.android.soundrecorder this is the AOSP version, lineage brings it's own built-in. So no need for a inclusion from stock.
com.android.fmradio should be the AOSP version, found no source but a fairly recent apk on apkmirrors. A Maybe for inclusion.
com.google.android.apps.wellbeing that's part of gapps. So no need for a inclusion from stock.
Generally:
com.agui. looks like to be an local chinese manufacturer of addon chips (thermal, barometric, nfc and stuff)
com.mediateki. is of course the manufacturer of the board. They are using AOSP mostly but some things they need to "clone" when legally necessary (like the trump-us-ban on technology)
com.android. is AOSP, so mostly open source.
com.google.android. is Google itself, so mostly closed source or "rebranded" open source. (like "Firefox" is a trademark and can't be changed, but the sourcecode is available for everyone to use and alter you re not allowed to name it "Firefox" though)
Click to expand...
Click to collapse
That's about what I figured. Nice job on finding it.
I personally couldn't care less about WEAS alerts, but they are legally mandated in the US... not that I care about that either. People who want storm warnings, kidnapping alerts, and/or Presidential alerts would.
Student Mode appears to be a restricted mode for the device. So it's PIN locked, has an application whitelist/scheduler, network disabler and site restrictions. Useful for parental controls I suppose, but probably not high on the priority list for a LOS device.
Hey OP, I have the XL with the stock ROM. Don't need a lot of handholding with app or firmware extraction, but I'm very interested in fixing the few broken items on LOS. The stock ROM is on the March 2020 security update (way too old) and has a bunch of bloatware and unremovable old apps, not to mention possible spyware. The manufacturer's lack of support or security updates is inexcusable, obviously, but this phone is frankly a miracle and I can't find anything that comes close to competing, so I'm down to help bring it up on LOS.
The radio is the primary peripheral I care about preserving. IR blaster and VoLTE are also important. As I understand it, the radio is essentially a 400-480MHz SDR wired directly to the main USB2 (or USB3?) bus. What do you need to proceed?
hi @magnetosphere.
Currently I'm struggeling with configuring LineageOS to best cooperate with the stock vendor partition. In my opinion Unihertz (or Mediatek) did a very poor job in seperating system and vendor which is essential for project treble (main focus of Android 10 and 11) to work. Many parts that are clearly vendor specific (extmodule for intercom, various logging tools) should have been put into the vendor partition from the start. Therefore there are quite a few problems with SELinux which forces you to separate. Of course if you know the bits and pieces you could manipulate it but it's not my intention to heavily change LineageOS's internals.
I'm more or less a bloody beginner in Android development (it feels more like configuring than programming to me) and my only source of information right now are other device trees and how they solved the various problems. So I need to do many things on a trial and error basis.
So, yeah I appreciate every help I can get, but I cannot give many advices on how to do things. Essentially in the current state I would need someone who knows his or her way around in a device tree and can give me good advices on how best to do things.
One little bit on the the security situation:
The vendor patch lavel cannot be raised for now because it is essentialy the version of the kernel, which is currently at 4.14.141. To change this we would need the source code of the kernel and the modifications done by Mediatek which are essentially closed source (you need to pay to get them).
A little update on my progress:
I tried to reverse engineer the whole stock system.img into the lineage system.img to rule out any missing system libraries, binaries or sepolicies but that resulted in various bootloops and bootcrashes.
Now I'm waiting for the latest stock rom to be released on Google Drive because in the release notes unihertz mentioned that they cleand out not used libraries. Maybe that will reduce my modification footprint and helps me figuring out what is REALLY missing and what is just bloatware that's not needed.
If that's not working I'm fearing that I also need to rebuild the vendor.img but that's a last resort.
The problem here is (I think) that the vendor.img needs some tinkering and additions to work with lineage which also has some parts (libraries, apps, binaries) that normally would go in there.
tapa_t said:
Thank you for the info.
I unlocked the bootloader, but flashing the magisk boot either by SP tool or by fastboot still gives a boot loop, which can easily be fixed by flashing back the stock boot.
Both unlocking and relocking bootloader "factory data resets" the device (that's what the device says in the process).
I don't find any loss in functionality by unlocking, but the process is probably still unnecessary if using SP tool.
I head over to the magisk support thread to see if there's anything to solve it.
Thanks again!
Click to expand...
Click to collapse
Do you have any advice on how to flash after a botched boot partition flash? When I try to boot into bootloader/fastboot/recovery by holding power and volume up, it just reboots endlessly.
a-dead-trousers said:
hi @magnetosphere.
Currently I'm struggeling with configuring LineageOS to best cooperate with the stock vendor partition. In my opinion Unihertz (or Mediatek) did a very poor job in seperating system and vendor which is essential for project treble (main focus of Android 10 and 11) to work. Many parts that are clearly vendor specific (extmodule for intercom, various logging tools) should have been put into the vendor partition from the start. Therefore there are quite a few problems with SELinux which forces you to separate. Of course if you know the bits and pieces you could manipulate it but it's not my intention to heavily change LineageOS's internals.
I'm more or less a bloody beginner in Android development (it feels more like configuring than programming to me) and my only source of information right now are other device trees and how they solved the various problems. So I need to do many things on a trial and error basis.
So, yeah I appreciate every help I can get, but I cannot give many advices on how to do things. Essentially in the current state I would need someone who knows his or her way around in a device tree and can give me good advices on how best to do things.
One little bit on the the security situation:
The vendor patch lavel cannot be raised for now because it is essentialy the version of the kernel, which is currently at 4.14.141. To change this we would need the source code of the kernel and the modifications done by Mediatek which are essentially closed source (you need to pay to get them).
Click to expand...
Click to collapse
Finally this thread is back on the forums. I will have to look around the SELinux parameters for the default OS.

Development [ROM][OFFICIAL] Lineage Modded 18.1 [DISCONTINUED]

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.
*/
LineageOS Modded is a free, community built, aftermarket firmware distribution of Android 11 (R), which is designed to increase performance and reliability over stock Android for your device.
LineageOS Modded is based on the Android Open Source Project and LineageOS with extra contributions from many people within the Android community.
All the source code for LineageOS Modded is available in the LineageOS Modded Github repo.
Flashing Instructions:-
TinyFastbootScript:-
Make sure to wipe userdata
1. Download TinyFastbootScript
2. Download the ROM named *Images*
3. Unpack TinyFastbootScript and the ROM into the same directory
4. Run the bat file for TinyFastbootScript
5. Choose latest fastboot version
6. Place device in bootloader mode
7. Run the command for flashing custom firmware
8. Done!
Lineage Recovery:-
Make sure to wipe userdata, ensure you have at least taken one stock OTA!
1. Download LOS Recovery image
2.
Code:
fastboot flash boot LOSrecovery.img
3.
Code:
fastboot reboot recovery
4. Touch Apply Update -> Apply from ADB
5.
Code:
adb sideload lineage-18.1-20210712-HOMEMADE-nio.zip
6. Reboot and Done!
Bugs :
YOU TELL ME
* Drop a comment down below if you need any help, you can also Join https://t.me/electimonrel on telegram if you need any help.
Downloads:
Lineage-Modded:
https://build.lolinet.com/file/lineage/nio/
Lineage-Modded Recovery:
https://build.lolinet.com/file/lineage/nio/LOSrecovery.img
Contributors
@Electimon, @erfanoabdi
Source Code: moto-sm8250
Version Information
Status: Stable
Updated: June 21 2021: Fixed safetynet, and June Patch
June 25: Fix some audio issues and readd pixel live walls
July 7: ↓ Build: 131
Updated Vendor Blobs to May Security Patch
Updated GPS/Location to LA.UM.9.12.r1-11500-SMxx50.0
Enabled Touch in LineageOS Recovery
Allow for unsigned packages to be flashed in LineageOS Recovery (e.g. Magisk)
Updated GPS Configuration files
Merged Latest CAF Tag to kernel
Upstream Sched / Improved Performance
Add SIM Switch Tile
Enabled Notification and Battery LED
July 12: ↓ Build: 138
Improved Memory Management
Misc Kernel Improvements
July Security Update
October -2: ↓ Build: 156
• Hopefully fixed Android Auto
• Updated blobs to pstar
• Added Assistant key remapping and double tap fingerprint gestures
• Added my new VoidKramel Venus kernel built with clang 12 and fully upstreamed
• Switched to source built DTB/DTBO
• Improved refresh rate timers
• ModSettings has a brand new adaptive icon
• Switched ZRAM sizes per ram variant
• Lastly, updated security patches
Excited to hear this~ have been using Lineage in my old OP X & OP 3T
Amazing news, the first ROM for our G100/EdgeS arrived, I will test 4 sure , thanks dev !
If anyone succeeds at rooting with this ROM can you provide instructions? TIA
Timmons said:
If anyone succeeds at rooting with this ROM can you provide instructions? TIA
Click to expand...
Click to collapse
Just to know, I guess this rom will remove support for the "Ready For" platform for games and app and also other moto specific modules?
draxema said:
Just to know, I guess this rom will remove support for the "Ready For" platform for games and app and also other moto specific modules?
Click to expand...
Click to collapse
It will retain gestures and moto camera
June patch read post
-130 build, read post
may I ask: Does the ROM come without Google dependencies / GApps?
Hiajen said:
may I ask: Does the ROM come without Google dependencies / GApps?
Click to expand...
Click to collapse
Comes with
Electimon said:
Comes with
Click to expand...
Click to collapse
Hello, keep the motorcycle camera? but I will lose some functions of series I have in moto edge s 5g chinese version but I like to fiddle I already have my motorcycle unlocked and I want to test the rom thank you very much for working but I have to do memory to reinstall the chinese rom that I have as standard I suppose I want the boot img there will be root in lineage thank you very much
• Improved Memory Management
• Misc Kernel Improvements
• July Security Update
Updated, please reread post
Hello
Please tell me what is the difference between
lineage-18.1-2021xxxx-HOMEMADE-nio.zip
and
Lineage-images-18-2021xxxx-xxxx-nio-1xx.zip?
There is a 300M difference in size.
dfert said:
Hello
Please tell me what is the difference between
lineage-18.1-2021xxxx-HOMEMADE-nio.zip
and
Lineage-images-18-2021xxxx-xxxx-nio-1xx.zip?
There is a 300M difference in size.
Click to expand...
Click to collapse
One is most obviously a set of images and the other a OTA package.
Hello, 2 more questions:
1, "July 7: ↓ Build: 131 Enabled Notification and Battery LED"
my Edge S do not have a LED, how it show after flash this ROM?
2, How large the GApps it has? Only google service and google play or have a lot of google apps like gmail/youtube/maps/driver/assistant etc?
dfert said:
Hello, 2 more questions:
1, "July 7: ↓ Build: 131 Enabled Notification and Battery LED"
my Edge S do not have a LED, how it show after flash this ROM?
2, How large the GApps it has? Only google service and google play or have a lot of google apps like gmail/youtube/maps/driver/assistant etc?
Click to expand...
Click to collapse
It does have a LED, it just isn't enabled by default.
The GApps is a standard package you will find on stock.
Electimon said:
It does have a LED, it just isn't enabled by default.
The GApps is a standard package you will find on stock.
Click to expand...
Click to collapse
Nice, LED is very useful!
But I hate youtube/assistant/one, etc, could you please only contain google service and google play in the new release ROM? Thanks!
dfert said:
Nice, LED is very useful!
But I hate youtube/assistant/one, etc, could you please only contain google service and google play in the new release ROM? Thanks!
Click to expand...
Click to collapse
Unfortunately not. You can uninstall the apps with magisk.
Touch screen fixed???

Development [EOL][ROM][OneUI 4.1] RayOS v4.1.3 for Galaxy A52 [SM-A525G/F]

RayOS v4.1.3 for Samsung Galaxy A52​OneUI 4.1 is released and so is RayOS. Not gonna lie, OneUI 4.1 seems pretty smooth. Good job Samsung.
Added a few things/fixes. Can't think of what to add next, will probably focus on better installation process.
Note: I will shift my focus to my S21 FE port from now on. Therefore, this ROM is now EOL
You can check out my S21FE port here: RayOS S21 FE Port
Code:
Your warranty is now void.
* We are 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 flashing this ROM
* 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. HARD!
Supported variants!​
SM-A525F
SM-A525M
Features!​
Based on January 2022 update (A525FXXS4BVA2)
Based on March 2022 update (A525FXXU4BVC2)
Allow screenshots on secure apps
Fixed Private Share and Secure Wifi
Secure Folder fixed
Outdoor mode added
Smart Widgets
Object, reflection and shadow eraser
Debloated
Edge Lighting fully enabled
Smart View fixed
Higher audio quality (Disabled DRC, which deeply compresses audio)
Disabled Samsung Marketing
High-End Animations (though I don't think this makes a lot of difference) (turns out, there actually is a slight difference in app opening/closing animation)
Enhanced pocessing (this also probably doesn't do anything, but give it a try)
CSC Features like:
Stock call recording
Speed meter on statusbar
Spam call blocker
Multiple users in settings
Added camera privacy toggle to remove camera access across apps
Added HDR10+ lines (improves effect in HDR content)
Added controlling watch (probably won't work)
Added optional AOD to clock animation. Avoid using it with FOD. You can disable it in the installer.
Sources!​I decided to show my work so to speak on GitHub. You can see the list of all the apps I removed and all the lines that were added to camera and floating features. Feel free to take a look and make pull requests if you want me to add something on potential future releases.
https://github.com/ShaDisNX255/RayOS-for-Galaxy-A52
Kernel source: Samsung Open Source
Bugs!​
Samsung Health is also not working. The tima=0 fix doesn't work in Android 12. Some older versions have been reported to be working. You can download the working version of Samsung Health from here: https://adil.hanney.org/SamsungAppsPatcher/ (thanks to @SkylinesHD for pointing to this on his repo)
I included the March kernel in the installer. This is causing some problems with AOD. If you have this problem, install a custom kernel like riseKernel and you should be good. This is an interesting bug. Found out this bug only happens when you install any stock kernels from February and onward without flashing the whole firmware. It seems Samsung added changes to AOD outside of kernel and system. The reason riseKernel works in this case is because it's based on OneUI 4.0 (January) and does not depend on the extra changes Samsung added. So if you're facing this problem with stock kernel, either fully update your phone via Odin (Feb or March patch) or just install riseKernel
You tell me
Changelog!​
10/May/2022:
Fixed missing features when selecting no aod clock transition
Removed secure flag (allow screenshots on secure apps)
Fixed Private Share and Secure Wifi
Added a standard and advanced installation option
24/April/2022:
Fixed Smart Widgets (thanks to @SkylinesHD )
Fixed Secure Folder (thanks to @ricci206 for posting the fix here: https://forum.xda-developers.com/t/...-mods-collection-exynos.3772017/post-86770885)
Added OutDoor mode (extra step, see explanation in installation instructions)
Removed useless options from SecSettings (extra step, see explanation in installation instructions)
Removed Smart Widgets from Ultra debloat mode per requests
05/March/2022:
Release based on March OneUI 4.1 (A525FXXU4BVC2)
Added Smart Widgets
Added object, shadow and reflection eraser
Added extra options in installer
Samsung's full changelog for OneUI 4.1 can be taken from https://doc.samsungmobile.com/SM-A525F/SER/doc.html
08/February/2022: Release based on January security patch (A525FXXS4BVA2)
Links!​
RayOS v4.1.3 by ShaDisNX255
SecSettings Magisk Module (see explanation in install instructions)
OrangeFox 11.1_2
Spoiler: Older versions
RayOS v3.0 by ShaDisNX255.zip
RayOS v4.1 by ShaDisNX255
RayOS v4.1.2 by ShaDisNX255
Prequisites​
Update your phone to Android 12. This ROM doesn't work with Android 11 bootloader as of now.
OrangeFox build 11.1_2 for Android 12 installed
Being unencrypted (recommended)
Instructions!​
Add zip to either internal memory or SD card
OPTIONAL but recommended: Format data. This will erase media too.
Flash zip via custom recovery
Be sure to select the option to install OneUI 4.1 first
After it's finished, reboot your phone to recovery and flash the zip again
This time in the installation, select the option to install RayOS 4.1
Follow instructions and make the selections based on your preference
REQUIRED: After the ROM installation is complete, flash Services_disabler_v1.3.zip
OPTIONAL: Flash riseKernel and Magisk
EXTRA STEP: After the ROM is booted for the first time, install the SecSettings Magisk Module. This includes edits to add Outdoor mode and removing a few useless options from it. Without it, you will not have these features
Why was it done this way? I don't know the specifics of it, but some edits mess with the app's signature (what does this mean? I don't care enough to know lol). All you need to know is that on some essential apps like SecSettings and SystemUI you can't just mess with its signature and expect Android to be ok with it so they die when you use these apps with modified signatures after you clean wipe your phone. This can be fixed by disabling signature check, but as of right now I don't have any guide on how to disable it on Android 12 xd. So for now, just use this Magisk module. After SecSettings runs for the first time, replacing it with a SecSettings with modified signature works, that's why it was done this way. Lazy? Yes.
Spoiler: Older version instructions
Add zip to either internal memory or SD card
OPTIONAL: Format data. This will erase media too.
Flash via custom recovery. If you get an error "can't get OMC path" during your installation just reboot to recovery and try again. This is a small bug with Dynamic Installer.
Wait a few minutes, pay attention to the screen after 5 minutes, because it will ask you if you want to install AOD to lockscreen clock animation.
Flash Services Disabler v1.3
(Recommended) Wipe data so you can begin with a clean installation
When installation is finished, just reboot to system
Total installation time can take up to 10 minutes
Credits!​@SuperR. For his Super R's Kitchen which you can find here: https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
@topjohnwu for Magisk
@geekmaster21 for compiling, updating and maintaining OrangeFox for A52
@BlassGO for dynamic installer, which makes this installation easy. You can find dynamic installer here: https://forum.xda-developers.com/t/...ler-stable-3-5-android-10-or-earlier.4279541/
@kirbynx for allowing me to use some aspects of her setup of Dynamic Installer and for the Samsung Services disabler.
@SkylinesHD for his continued work in the A72 scene and continuing to share his knowledge
@Doubt™ for doubting
@sameepkambli__ for creating the RayOS logo
@ricci206 for various fixes and mods posted here: https://forum.xda-developers.com/t/mods-samsung-not-android-mods-collection-exynos.3772017/
@ Samsung for the firmware
@ To users like you!
If you feel I missed you, please give me a PM so I can add you
--reserved--
--reserved 2--
Thanks
great work pro
I keep getting the error can't get OMC path. continually...
halil7106 said:
I keep getting the error can't get OMC path. continually...
Click to expand...
Click to collapse
Use the recovery in this post please
I'll upload it to XDA in a bit.
ShaDisNX255 said:
Use the recovery in this post please
I'll upload it to XDA in a bit.
Click to expand...
Click to collapse
Does this work with Odin?
ShaDisNX255 said:
Use the recovery in this post please
I'll upload it to XDA in a bit.
Click to expand...
Click to collapse
how do i download this?
ShaDisNX255 said:
Use the recovery in this post please
I'll upload it to XDA in a bit.
Click to expand...
Click to collapse
that doesn't work either.
halil7106 said:
это тоже не работает.
Click to expand...
Click to collapse
It all worked out for me
as always great work ShaDisNX255 !!
dnsvoronkov said:
It all worked out for me
Click to expand...
Click to collapse
how did you do it, can you tell me? RayOS 2.0 works, but 3.0 doesn't.

			
				
ShaDisNX255 said:
Use the recovery in this post please
I'll upload it to XDA in a bit.
Click to expand...
Click to collapse
Thank you. fixed with this image
Keep the great work dude!
Someone can tell me how flash recovery.img pls
Does bank apps work with this ROM?
Could someone show pics of the rom.
What would I need to be able to install, since I have a stock rom? thanks!!
Casper1982 said:
Could someone show pics of the rom.
What would I need to be able to install, since I have a stock rom? thanks!!
Click to expand...
Click to collapse
it's the stock rom but better, you don't need screen shots as it's the same as stock just with added features and bloat removed

Categories

Resources