How to fix these issues on the SmokeR 21.5 kernel - Xiaomi Mi Pad Questions & Answers

I use these source code
kernel: https://github.com/Insei/SmokeR21.5-kernel
Device tree: https://github.com/arttttt/android_device_xiaomi_mocha/tree/cm-14.1
Vendor: https://github.com/arttttt/android_vendor_xiaomi_mocha/tree/cm-14.1-nexus9
But there are several questions:
1.AudioFX error and unusable, bilibili APP can not play the sound normally
2.camera can not be used
3.The larger memory footprint
How to fix them? Please tell me, thank you

ADFXHZ said:
I use these source code
kernel: https://github.com/Insei/SmokeR21.5-kernel
Device tree: https://github.com/arttttt/android_device_xiaomi_mocha/tree/cm-14.1
Vendor: https://github.com/arttttt/android_vendor_xiaomi_mocha/tree/cm-14.1-nexus9
But there are several questions:
1.AudioFX error and unusable, bilibili APP can not play the sound normally
2.camera can not be used
3.The larger memory footprint
How to fix them? Please tell me, thank you
Click to expand...
Click to collapse
1) AudioFX works fine.
2) camera will work only with stock blobs

Related

LineageOS 13.1

​
Lineage OS is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow), which is designed to increase performance and reliability over stock Android for your device.
Code:
[SIZE="2"]* 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 features included in 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.
[/SIZE]
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. Linked below is a package that has come from another Android project that restore the Google parts.
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 out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Install instructions:
Reboot into recovery (latest official TWRP recommended).
Wipe Data, System and Cache if it's a fresh install.
No wipes required if you're updating from a previous version of CM 13.0 (Wipe Cache and Dalvik Cache recommended).
Flash ROM + Gapps.
Reboot.
Read post 2 before reporting bugs.
KitKat is required, before you flash cm13.[/B]
Download links:
ROM: Click Here
Gapps: http://opengapps.org/
Credits :Huge thanks to @aapav01 for bringing up Cm13 fo our device @adityaupreti for new device sources and help
@SoUnd001 for front cam fix
@[email protected] and @Vladi4ik94 for testing and help
XDA:DevDB Information
CM13 for Grand 2, ROM for the Samsung Galaxy Grand 2
Contributors
Shujath
Source Code Common: https://github.com/ms013g-common
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Kitkat
Based On: CyanogenMod
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2016-05-03
Created 2016-05-03
Last Updated 2016-05-03
Bug reports:[/SIZE][/B]
LineageOS 13 is in development and has several small bugs and missing translations, so in this thread we'll try to focus on device-specific bugs. Complaints/demands/bug reports without logs will be ignored.
Explain how to reproduce the bug and attach logcat and dmesg (if you had a random reboot, also attach last_kmsg). If you don't know how to get those, you can use this app. Please, do not report bugs if you use any kind of mods (like xposed) or third party kernel.
Known bugs:
Buggy Live Display
Buggy GPS but it works
Frequently Asked Questions:
Q) How can I unlock Developer options?
A) Go to Settings > About phone, and press five times on Build number.
Q) How can I enable root access?
A) Go to Settings > Developer options > Root access, and enable it for apps, adb or both.
Q) How can I set '3G only' network mode?
A) Open dialer, dial *#*#4636#*#* , open first option "Phone Information", there you can set your preferred network mode.
Q) Why there's a small delay when I wake up the phone?
A) Go to Settings > Display & lights and disable prevent accidental wake-up.
Q) Why is wifi always on in battery stats, even when it was disabled?
A) Go to Settings > Location, press on the 3 dots (top right) > scanning > disable wifi.
Q) How do I update Gapps? (Also useful if you have Gapps related problems).
A) Reboot into recovery. Wipe System, Cache and Dalvik Cache. Install ROM + Gapps. Reboot.
Change Log 13th May:-
Fixed Autorotation bug
Fixed Rear Cam
FIxed Auto Brightness Flickering
Fixed Graphic glitches
Lot more to come
Change Log 19 September:-
Rear cam fix
Added Gello browser
Security patch level updated to September
Updated theme manager with new UI
New optimizing apps view
Upstream Merge
Change Log 19 September 2nd build:-
Fixed GPS
Change Log: 02 OCtober :-
Updated Kernel Configuration
Added Z Cache
Updated Power Profile for better performance
Upsteam Merge
Change 03rd OCtober :-
Updated Kernel Configuration
Updated audio accelerator in kernel
Enabled Zcache and added Zram
Updated battery capacity to 2600mah in the power profile.
Updated Auto Brightness levels from 4 to 10
Autobrightness backlight update
Updated media profiles of the device which was outdated
Added custom power hal to increase battery life
Change 27th Jan :-
Good Bye CyanogenMod
Welcome LineageOS
Applied Front Cam fix by @SoUnd001
Removed Zcache as it was causing Offline Charge bug
No Need to flash multiple files from now, Just flash ROM and Gapps
Thanks bro for CM13 :good::good::good:....this is the ROM I'm waiting for
Please Fix the Credits
The Source which You have mention in the Thread is all mine
Shujath said:
Change Log :-
Fixed Autorotation bug
Fixed Rear Cam
FIxed Auto Brightness Flickering
Fixed Graphic glitches
Lot more to come
Click to expand...
Click to collapse
CM13 getting better day by day ...... Thanks Mr. Shujath :good:
was waiting for this!thanks buddy!
EDIT:link the correct(new)device and vendor tree.
Invalid response from the server: 502
can`t download :/
Igor2906 said:
Invalid response from the server: 502
can`t download :/
Click to expand...
Click to collapse
Some AFH servers are down atm,wait for sometime.
praveensingh569 said:
Thanks bro for CM13 :good::good::good:....this is the ROM I'm waiting for
Click to expand...
Click to collapse
You are welcome
aapav01 said:
Please Fix the Credits
The Source which You have mention in the Thread is all mine
Click to expand...
Click to collapse
Ive used msm common and kernel from Msm8226 and device, vendor from aditya
[email protected] said:
CM13 getting better day by day ...... Thanks Mr. Shujath :good:
Click to expand...
Click to collapse
You are wecome, Enmjoy the ROM
neonkat said:
was waiting for this!thanks buddy!
EDIT:link the correct(new)device and vendor tree.
Click to expand...
Click to collapse
Yup fixed now, thanks
Igor2906 said:
Invalid response from the server: 502
can`t download :/
Click to expand...
Click to collapse
Yes AFH Is down
Bro, i flashed infected kernel but im some momemt my screen become black ,phone rebooted and again black screen i cant do anything with my phone
Flashed again all cm same trouble ,maybe some app doing this?
Igor2906 said:
Bro, i flashed infected kernel but im some momemt my screen become black ,phone rebooted and again black screen i cant do anything with my phone
Flashed again all cm same trouble ,maybe some app doing this?
Click to expand...
Click to collapse
Do a clean install
Sent from my SM-G7102 using XDA-Developers mobile app
anyway
how about pull request fix rotation to msm8226-samsung repo?
to ms01-common
Hi, thanks for your update.
"Go to Settings > Display & lights and disable prevent accidental wake-up."
but i couldn't find "prevent accidental wake-up" option in settings, please help on this
Shujath said:
Ive used msm common and kernel from Msm8226 and device, vendor from aditya
Click to expand...
Click to collapse
Aditya have remove my Commit history there nothing changed in vendor bcoz if he change anything in vendor it may break things like RIL, :good:
faizauthar12 said:
anyway
how about pull request fix rotation to msm8226-samsung repo?
to ms01-common
Click to expand...
Click to collapse
I did
@Shujath after 1day of use, the Rom is very good..Thanks you very much bro.. i found only 2 issues,
- frontCam
- SDcard Name showing 'sdcard1'
grupix said:
do a clean install
sent from my sm-g7102 using xda-developers mobile app
Click to expand...
Click to collapse
\
Вас зрозумів!
igor2906 said:
\
Вас зрозумів!
Click to expand...
Click to collapse
СЛАВА УКРАЇНІ!!!
Good day. I'm really grateful for this ROM. It is nice, but i have an issue. I can't seem to access the internet on my phone, even though i can see the network. But i can access it through mobile hotspot. I don't understand why.

[WIP] AOSP 7.1.1 (Nougat)

What's up guys, even though this Nexus 4 is 4 years old, (pun not intended XD) it's still holding up strong and in time for some Nougat treatment. [emoji14]
Note: Most of the components are working and I believe that it is enough for daily tasks. However, YOU see whether it fits your needs or not.
Working:
- Audio
- Wi-Fi
- Bluetooth
- RIL
- H/W Acceleration
- USB
- GPS
- NFC
- Sensors
Semi-Working:
- Camera (Video recording stutters sometimes with some apps)
Not Working:
How to Flash:
1. Download Zip
2. Flash zip
3. Flash GApps
4. Wipe Data (If coming from anything other than 7.0)
4. Flash SuperSU (Optionnal, Uses systemless as a root method)
5. Profit
Note: You will see Fc's all along the setup, just skip them if shown. Also if Google Play Services is crashing, grant it the location permission in the settings.
Download:
AOSP 7.0 download folder
Mirror
Quanta:
Quanta V19 Test
GApps:
OpenGApps
Banks GApps
SuperSU: SuperSU Stable
Sources:
Device Tree
Kernel Source
Changelog, other stuff
Code:
V10 (18/12/16):
- Updated to Android 7.1.1
- Patched kernel with the latest security fixes.
V9: (14/10/16)
- Video recording on Camera2 partially fixed (Video shakes sometimes)
- Fixed stack trace for native processes
- Updated to October's Security patches
- Misc fixes
V8: (18/09/16)
- Kernel patched accordingly to September security fixes (Patches all Quadrooter exploits up to now)
- Fixed Torch
V7: (11/09/16)
- Updated to September security fixes (For real this time)
- Enabled H/W encoding for video recording
- Re-enabled navigation bar tweaks and night mode in SystemUI
- Fixed Google Play Services FC's using OpenGApps (For real also)
- Add possibility to change WebView provider
V6: (09/09/16)
- Updated to September security patches
- Fixed freezing while watching YouTube
- Attempt to enable LTE
- Hidden misc battery drain as it causes some misinterpretations
V5: (05/09/16)
- Enabled Doze for real this time
- Reverted a change that may have broke Camera
V4: (02/09/16)
- Fixed H/W video decoding for the most part
- Kernel: SDCard FS enabled
- Attempt to fix permissions for GApps
- Enabled Navigation Bar tweaks and Night mode in SystemUI Tuner.
V3: (30/08/16)
- Fixed Sensors
- Semi-Fixed camera
- Fixed MPDecision
- Enabled Doze
- Used Flo's developper preview N GPU drivers
V2: (28/08/16)
- Fixed audio
- Fixed GPS
- Fixed data connectivity
- Disabled the power toggle widget which caused Settings to crash on every boot
V1 (26/08/16):
- Initial release
Here's a video showing how to install the ROM. (Thanks @Swapnil Soni)
Here's another one with a little overview of it. (Thanks @DaKoin)
Build instructions:
Since some of you guys asked me how to build from scratch, I will give a walkthrough of what I mostly did.
Note that this is in no way a walkthrough in how to compile (there are several guides for that on XDA) but more a guide
on how I did my setup so you can replicate the AOSP builds on your device.
Here's what I did:
1. Download the latest AOSP revision for android-7.1 which is r6 at the time of this writing (replace with whatever required branch necessary)
Code:
repo init -u https://android.googlesource.com/platform/manifest -b refs/tags/android-7.1.1_r6
repo sync
2. Download the kernel source used for the build:
Code:
git clone https://github.com/zaclimon/android_kernel_google_msm -b mako_nougat
3. Once both sources has been downloaded, compile the kernel. Note that AOSP do have a kernel toolchain that you can use to compile
Code:
export CROSS_COMPILE "/path/to/aosp/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-"
make mako_defconfig
make -j$(grep -c processor /proc/cpuinfo)
4. Copy the arch/arm/boot/zImage file to the Android source into device/lge/mako-kernel
Note: You must create the said directories if they don't exist. You also must rename the file to kernel after copy.
5. Go back to the AOSP source, and download/update/replace the following repositories for each component (relative path):
Code:
device/lge:
git clone https://github.com/zaclimon/android_device_lge_mako mako
hardware/qcom:
git clone https://github.com/zaclimon/android_hardware_qcom_audio audio
git clone https://github.com/zaclimon/android_hardware_qcom_display display
git clone https://github.com/zaclimon/android_hardware_qcom_gps gps
git clone https://github.com/zaclimon/android_hardware_qcom_media media
vendor:
git clone https://github.com/zaclimon/android_vendor_lge lge
6. Apply the following patches to each of their respective repositories:
Code:
bionic:
https://github.com/LineageOS/android_bionic/commit/81af26a3a033723fb34ddf280e33a9d4a6ce82c4.patch
frameworks/base:
https://gist.github.com/zaclimon/bb39d7f5059b63e3add3b5cad15e87db
https://android-review.googlesource.com/#/c/147266/
system/sepolicy:
https://github.com/LineageOS/android_system_sepolicy/commit/10dd0402ab62aa1a6416d7ea549a6a3eea1c6ae4.patch
7. Increase RAM usage for Jack (Only if you have 6/8GB of RAM in your system)
Code:
export ANDROID_JACK_VM_ARGS="-Xmx4g -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
8. Once all the patches have been applied, we can now proceed to compile the system.
Code:
. build/envsetup.sh && lunch aosp_mako-userdebug
make -j$(grep -c processor /proc/cpuinfo) otapackage
9. The build should be in out/target/product/mako
10. Flash and enjoy!!
You're the king, buddy! ?
P.
[sntfrmnxs⁴]
first
oops, second
Thanks @zaclimon and BTW wiping data is needed?
Nitin
nitin.chobhe said:
first
Nitin
Click to expand...
Click to collapse
Ha ha ! Almost.
Sent from my Nexus 4 using Tapatalk
You're great!!
nitin.chobhe said:
first
oops, second
Thanks @zaclimon and BTW wiping data is needed?
Nitin
Click to expand...
Click to collapse
It's not necessary per se because it should boot fine. That said, as always, it's recommended to wipe so random issues are less prone to happen.
Merci infiniement !!!
Just downloaded, and works, I think we need to changes the permission so that google play service not crashing
Its people like you who make this world a better place, thank you very much!
zaclimon said:
It's not necessary per se because it should boot fine. That said, as always, it's recommended to wipe so random issues are less prone to happen.
Click to expand...
Click to collapse
Thanks man! One last question - I need N gapps for this, right?
Open gapps should be fine?
@cqloveqc what gapps did you use? And what permissions need to be modified?
Nitin
funthomasz said:
Its people like you who make this world a better place, thank you very much!
Click to expand...
Click to collapse
nitin.chobhe said:
Thanks man! One last question - I need N gapps for this, right?
Open gapps should be fine?
@cqloveqc what gapps did you use? And what permissions need to be modified?
Nitin
Click to expand...
Click to collapse
Please everybody read the note (I should make it bold so people can see it)
"Note:You will see Fc's all along the setup, just skip them if shown. Also if Google Play Services is crashing, grant it the location permission in the settings. I'm also surprised to say that even with your data not wiped, it's working."
I am coming from the fake Nexus Rom aka I do not have a custom bootloader yet. What bootloader is the best to go with?
Could someone write me a quick instruction how to get started with my situation. I bet there are a lot coming from fake nexus.
Thanks for the great work!!
wow! cool zaclimon, so quanta is now N compatible i guess? haha, gj, if i'll find any kind of fix for something, i'll pull request, and thanks alot!
aabuk said:
wow! cool zaclimon, so quanta is now N compatible i guess? haha, gj, if i'll find any kind of fix for something, i'll pull request, and thanks alot!
Click to expand...
Click to collapse
I compiled a stock kernel as I wanted to start off a fresh base if ever others wanted to use a custom kernel. (Including myself with Quanta) It is patched with Google's latest updates.
I could compile a build of Quanta and incorporate the patches required to boot Nougat but it wouldn't be fair lool.
zaclimon said:
Please everybody read the note (I should make it bold so people can see it)
"Note:You will see Fc's all along the setup, just skip them if shown. Also if Google Play Services is crashing, grant it the location permission in the settings. I'm also surprised to say that even with your data not wiped, it's working."
Click to expand...
Click to collapse
I'm using the open gapps 7.0 arm version, and after change the app permission, all is good so far
And another sergestion, can we change the original LCD density to 240 instead of the default 320 ?
This change make the desktop more attractive.
zaclimon said:
I compiled a stock kernel as I wanted to start off a fresh base if ever others wanted to use a custom kernel. (Including myself with Quanta) It is patched with Google's latest updates.
I could compile a build of Quanta and incorporate the patches required to boot Nougat but it wouldn't be fair lool.
Click to expand...
Click to collapse
hahaha, okie, atleast i got some space to look at dem kernelzz, thanks for echo
cqloveqc said:
I'm using the open gapps 7.0 arm version, and after change the app permission, all is good so far
And another sergestion, can we change the original LCD density to 240 instead of the default 320 ?
This change make the desktop more attractive.
Click to expand...
Click to collapse
This has been allowed always from build.prop, did you try that?
P.
[sntfrmnxs⁴]
Gu$houn* said:
This has been allowed always from build.prop, did you try that?
P.
[sntfrmnxs⁴]
Click to expand...
Click to collapse
Yes, I've tried that by using a es file manager, but if we can make the 240 default, we don't need to make change anymore
Damn I'm late to the party, downloading now !
And thanks a ton @zaclimon for keeping mako alive, you're the man !
@zaclimon nice work.. keep it clean please

[KERNEL] Linux Kernel Version 4.9

Linux Kernel 4.9 for Moto G5​
As you guys already know, our Moto G5 has an ancient linux kernel (3.18.x) which is now EOL (end of life) from support from actual Linux Foundation. It's pretty much stuck there with no probable updates to it (can use the android 3.18 for updates, but I think that's pretty much soon to be deprecated).
I have been working on this kernel since the past one year and finally managed to boot it on our Cedric!​
WARNING: THIS KERNEL IS STILL ALPHA AND MOST OF THE BUGS HAVE STILL NOT BEEN FIXED​.
I just wanted to share this kernel with the community!
What works:
Boots
Display
Touch
Storage
Charger
Battery Indication
Bugs:
Pretty much every basic thing
RIL (Calls, mobile data, etc.)
Vibrations (Weird and too strong)
Camera
Flashlight
Only Oreo boots so far.
Want to try for yourself?
Click Here to download link LineageOS 15.1 with Linux Kernel 4.9
Huge Thanks to @wiktorek140 for helping me out with bugs and congratulations to him for booting 4.9 on Montana
Leave a thanks if you like my work!
Buy me a Cup of Coffee or Beer here​
XDA:DevDB Information
Linux Kernel 4.9, Kernel for the Moto G5
Contributors
m_vaisakh, wiktorek140
Source Code: [url]https://github.com/mvaisakh/msm-4.9[/URL]
Kernel Special Features: Linux Kernel 4.9.x
Version Information
Status: Alpha
Created 2020-03-30
Last Updated 2020-03-30
Reserved
You can find screenshots here:
https://m.imgur.com/a/OWEhM3b
NOTE: The screenshots are from 2 different builds and hence the difference in kernel version.
Cheers!
Update:
I've been working to fix display and audio on for us.
You can check the progress in my kernel repository. I hope to fix it soon!
Nice! Simply nice. This will hopefully get more attention :good:
Update:
Indian variant finally boots now!!
Thanks to Neosight from Mido community for the fix!
It was because of the bootloader not accept the arm IOMMU of cedric (atleast in indian variant). Instead the kernel sent a full aarch64 (or arm64) iommu tz cb, which wasn't getting a secure pass from bootloader through qseecom interface, which apparently states that motorola still uses older (nougat) bootloader in XT1677 (or the Indian variant).
m_vaisakh said:
Update:
Indian variant finally boots now!!
Thanks to Neosight from Mido community for the fix!
It was because of the bootloader not accept the arm IOMMU of cedric (atleast in indian variant). Instead the kernel sent a full aarch64 (or arm64) iommu tz cb, which wasn't getting a secure pass from bootloader through qseecom interface, which apparently states that motorola still uses older (nougat) bootloader in XT1677 (or the Indian variant).
Click to expand...
Click to collapse
Ig edit the op then :angel:
nift4 said:
Ig edit the op then :angel:
Click to expand...
Click to collapse
Updated OP.
m_vaisakh said:
Updated OP.
Click to expand...
Click to collapse
bro how did u update from v3.18 to v4.9 ? Pls I wanna know where can I study about this?
devvikram said:
bro how did u update from v3.18 to v4.9 ? Pls I wanna know where can I study about this?
Click to expand...
Click to collapse
CAF had added support for msm8937 for 4.9 with Android Oreo, I just used their base and added moto g5 specific changes. It may sound easy, but it's not.
m_vaisakh said:
CAF had added support for msm8937 for 4.9 with Android Oreo, I just used their base and added moto g5 specific changes. It may sound easy, but it's not.
Click to expand...
Click to collapse
where to study on this??I want to do with my Snapdragon 625 . It's v3.18 which I have to upgrade to v 4.9
devvikram said:
where to study on this??I want to do with my Snapdragon 625 . It's v3.18 which I have to upgrade to v 4.9
Click to expand...
Click to collapse
There's no specific documentation for this. It was all trial and error. Have you read the OP? I've clearly stated it took me 1 year to get it to work.
To start, you should know your way around linux kernel and for reference you can use my source and well there are many other devices that were 3.18 and now run 4.9
m_vaisakh said:
There's no specific documentation for this. It was all trial and error. Have you read the OP? I've clearly stated it took me 1 year to get it to work.
To start, you should know your way around linux kernel and for reference you can use my source and well there are many other devices that were 3.18 and now run 4.9
Click to expand...
Click to collapse
thanks alot
I overtook the development and got a few quite nice results. Current bug list:
Boots -
Bt -
Wifi -
Camera -
Vibration -
Gps -
Audio -
Ril - (no call audio)
Fp -
Light Sensors -
Accelerometer -
Proximity -
Gyro -
Mic -
Usb Tethering -
MTP & ADB -
Headphones -
Offline Charging -
Flashlight -
SD Card -
FM Radio -
Issues:
Rebooting to recovery boots to system.
Random reboots.
(that is on Android 10)
my source is at https://github.com/n4experiments/
and thanks to wiktorek140 and his 4.9 montana port because without him I would never be able to get so far

libmmcamera2_mct crash

Hello eveyone! I have been trying to port LineageOS 17.1 for my device for a few weeks and it has been going very well until now. But I just hit a roadblock and need some help from some more experienced modders. Whatever I try, libmmcamera_mct is always crashing the camera service which means no camera is working . I tried to use libmmcamera_mct.so from other phones too but that makes the camera service unavailable. Here are my kernel, device, vendor tree:
Device tree common: https://github.com/GPUCode/android_device_nokia_msm8998-common
Device tree: https://github.com/GPUCode/android_device_nokia_nb1
Vendor tree: https://github.com/GPUCode/proprietery_vendor_nokia
Kernel: https://github.com/resident-nokia/umbrella
There is also an attachment of the full boot log

[ROM] [UNOFFICIAL] [12.1] LineageOS 19.1

/*
* 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.
*
Click to expand...
Click to collapse
LineageOS is a free, community built, aftermarket firmware distribution of Android 12 (S), 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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Based on the Exynos7420 source code.
What's working:
Audio
Bluetooth
Telephony (Calls, SMS, Mobile Data)
WiFi/Hotspot
NFC
Camera
Fingerprint
HWC
GPS
What's not working:
VoLTE and other proprietary Samsung stuff
SELinux Permissive
You tell me
Download Link:
LineageOS Releases on my GitHub
Source Code:
https://github.com/samsungexynos7420/local_manifests/tree/lineage-19.1https://github.com/samsungexynos7420/android_kernel_samsung_universal7420/tree/lineage-19.1
ROM OS Version: 12.x S
ROM Kernel: Linux 3.10.108
Based On: LineageOS
Version Information:
Beta/Testing
ROM creation date: 23/08/2022
Last release: 07/05/2023
If you would like to support me, visit my donation page.
Thanks to:
TALU - various kernel patches used
html6405 and rinando - various lineageos patches used
enesuzun2002 - original exynos7420 source code, without him and his work, none of this would really be possible
Exynos7420/universal7420 contributors
Armash - help with fingerprint issues
Supported Devices:
G920F
G925F
FAQ:
I have echo in phone calls!
Echoing in calls has been a problem for Samsung devices for a long time. Not aware of a fix, but using some old mixer_paths tweaks, the problem can be mitigated somewhat
My banking/other apps arent working!
You need Magisk modules to pass safetynet. Some apps dont like to work if safetynet fails.
My camera wont flash properly when taking a picture
The native AOSP camera app does not properly sync the flash on a lot of Samsung devices. However, you can use third party camera applications, which do not exhibit this behaviour. GCam Go has been reported to work fine.
I have a problem not on this list!
Describe your problem in detail and steps to reproduce it. Take a logcat, kmesg, dmsg using syslog or other method and post here, or preferably an issue on GitHub. If you were able to fix the problem, please post how you were able to resolve it.
Changelog
Spoiler: Click for Changelog
07.05.2023
Synced with LineageOS sources (May '23 security patch)
Swapped to linaro BSP for some HWC components
Provides updated code for our device (better UI/performance)
Update precompiled OMX blobs (linaro ones dont work currently), modified to work in vendor/
Move most stuff to /vendor (finally)
Set minimum clock speed in non-power saver mode to 400MHz for A53 cores
GPU now looks for hi-speed load
Other misc kernel improvements
Update seccomp policies
Memfd legacy patches added (as we arent on kernel 3.18 or newer)
LPM kanged from 8890q
Misc changes to props
12.04.2023
You must perform a clean flash. Backup your data using your preferred method, or else you wont be able to unlock your device.​Synced with LineageOS source (April 2023 security)
Reworked the HWC implementation - noticeable improvement to smoothness
All 7 layers are now working
More HWC components built from BSP source + extra flags
Using A810F Gatekeeper blobs - MDFPP implementation from software
Less random errors in logcat
Build fingerprints overridden to latest stock nougat ones
L3 widevine DRM support, some DRM content should work now
Zswap no longer built in the kernel. We don't need it.
In kernel low memory killer is no longer built
Fixed FIPS compilation
Default voltage offset of -37.5mV on the CPU
Upped sustained clock speeds hint in powerhints.json
22.02.2023
Synced with LineageOS sources (March 2023 security updates)
Fixed regression where bluetooth audio crackles when screen is off (core hotplugging is disabled for now)
Fixed VP9 video decoding in apps. We now have more quality options on YouTube. Our hardware can't do 4K60, so only 4K30
ZRAM settings kanged from exynos 7580 (75% of RAM is ZRAM now). This should be better for general usability
Thanks to enesuzun2002 releasing the BSP, we can now build HWC components from source. Shouldn't change too much for now, but its nice
25.02.2023
GPS works now
Fixed regression where mobile data wouldn't work (need different patches for netd/bpf for some reason)
HRM/SPO2 works semi-properly now due to a missing SPO2 permission (taken from universal5433).
ZRAM reduced to 800mb for now
15.02.2023
Synced with LineageOS sources (Feb 2023 security update)
Back on Nougat kernel for now
So edge models should be able to disable hw buttons without issue
Added FB notifier for touchscreen and touchkey - touchkeys no longer vibrate when screen is off
Added CPU/GPU voltage control. Use hkTweaks to undervolt. (at your own risk)
Added BFQ i/o scheduler
Added Dynamic F-Sync (from anans cronos kernel)
Wireguard VPN support
Battery store_mode support
Hwbinder for sensors, memtrack, renderscript, GNSS
uprev BT audio hal to 2.1
Fixed headphone jack being too loud
AdvancedDisplay added
Logs no longer spammed with errors about CPUs being online. Moved to a less jank way of disabling cores on power saver. You can control amount of cores online by editing the value in /sys/power/cpucore_max_num_limit (8 = all cores online, 4 = all big cores disabled etc)
Misc changes:
Source code moved to samsungexynos7420. Please build from there.
7420_patches cleaned up, a lot werent needed.
Using protobuf 2.6 now instead of 2.4 - precompiled and included in vendor
Newer aptX from crosshatch
secril blobs from latest official nougat
ZRAM settings changed a bit, nothing big
12.12.2022
Synced with lineage sources - android december security update
Removed AudioFX as a test
22.11.2022
Synced with LineageOS sources, we have novemeber security updates
UI performance dramatically improved due to prebuilt HWC components
Bluetooth audio fixed, we were building 64bit HAL for some reason
ZRAM values tweaked
Added experimental aptX
Added experimental freeform windows
Core hotplugging disabled, causes issue with BT audio when screen is off
Swapped to LE video codecs for now
New power saver mode - 4 small cores, 2 big cores, tweaked frequencies (jank implementation lol)
OpenCL fixed
Fixed GPS rollover bug
08.10.2022
Fixed S6 Edge not booting (weird kernel glitch)
Modified powerhints.json
07.10.2022
Synced with LineageOS sources
Swapped to EQ1 kernel based on S6 Nougat firmware. However due to last minute issues, only necessary features were added.
Added and enabled ZRAM with lz4, improves general usability
Graphics should be slightly smoother
AOD now has acceptable brightness, better implementation later
Added Heart Rate Monitor permission
Switched to new Pixel Power HAL from hw/samsung
Fingerprint reader fixed (ty @ArmashOnXDA for the help)
Added basic vibration intensity control
Overall system responsiveness improved
G925F touch key disabler should work properly now
USB tethering fixed
28.08.2022
Initial G925F release
AOD enabled
Keydisabler is working, meaning on-screen buttons and gestural navigation can be selected
Reduced default display density to compensate for A12's new UI
23.08.2022
Initial Release for flat models
wow great work!!! Will try it soon, my S6 is not with me yet. Wish I can try it now :cheers:. Also thanks for bringing this old phone up to-date.
WOAHHHHHHHH :OOOOOOOOOOOOOOOO
Will it be available for the S6 Edge soon? zeroltexx/SM-G925
ArmashWasTaken said:
:OOOOOOOOOOOOOOOO
Will it be available for the S6 Edge soon? (G925F/I)
Click to expand...
Click to collapse
yes. but for now while its a bit buggy, focusing on 1 device
Good news, I just have a bootloop on my S6 so I did a factory reset so there's nothing on my phone right now (Nothing to worry because I backed up all my data into laptop already). Might try it in tommorow. This phone is my main phone currently so I'll test on it
mine is G920F so hoping that everything is fine
fakemanoan said:
LineageOS is a free, community built, aftermarket firmware distribution of Android 12 (S), 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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
After a long wait, here is Android 12L for the Samsung Galaxy S6! Though it is a beta with some issues, I figure I release it.
Based on the Exynos7420 source code.
What's working:
Bluetooth
Telephony (Calls, SMS, Mobile Data)
WiFi/Hotspot
NFC
GPS
Camera
HWC
What's not working:
VoLTE and other proprietary Samsung stuff
Fingerprint
You tell me
Download Link:
LineageOS Releases on my GitHub
Source Code:
GitHub - fakemanoan/local_manifests
Contribute to fakemanoan/local_manifests development by creating an account on GitHub.
github.com
GitHub - fakemanoan/android_kernel_samsung_universal7420
Contribute to fakemanoan/android_kernel_samsung_universal7420 development by creating an account on GitHub.
github.com
ROM OS Version: 12.x S
ROM Kernel: Linux 3.10.x
Based On: LineageOS
Version Information:
Beta/Testing
ROM creation date: 23/08/2022
Last release: 23/08/2022
Thanks to:
Talu(atgithub) - various patches used
html6405 and rinando - various lineageos patches used
enezusun2002 - original exynos7420 source code, without him and his work, none of this would really be possible
All Exynos7420/universal7420 contributors
Click to expand...
Click to collapse
Congratulations !1 You are the man !
fakemanoan said:
Will the Edge models be supported? (G925)
Yes, but for the moment just flat models whilst everything gets sorted.
I have echo in phone calls!
Echoing in calls has been a problem for Samsung devices for a long time. Not aware of a fix as of yet.
I have a problem!
Post relevant problem and debugging information (ie logcat, last_kmesg etc) here or on github
If you want to see the project improve , help by contributing code!
Changelog:
23.08.2022
Initial Release for flat models
Click to expand...
Click to collapse
Paypal link?
Concept48 said:
Congratulations !1 You are the man !
Click to expand...
Click to collapse
I,m installing now /sucess/ Reboot /after 18 cycles booted up / setting up /and I,m inn . waw I waited sooo long for this to happen .
You don't wanna know how happy we are ,,The S6 is making it's comeback - THANK YOU !!
Concept48 said:
I,m installing now /sucess/ Reboot /after 18 cycles booted up / setting up /and I,m inn . waw I waited sooo long for this to happen .
You don't wanna know how happy we are ,,The S6 is making it's comeback - THANK YOU !!
Click to expand...
Click to collapse
Glad to hear it works for you. I'll be working on some other releases soon (tm), probably crdroid, pixel experience and others (any suggestions?).
Concept48 said:
Paypal link?
Click to expand...
Click to collapse
Check the OP
fakemanoan said:
Glad to hear it works for you. I'll be working on some other releases soon (tm), probably crdroid, pixel experience and others (any suggestions?).
One suggestion , don't leave us and stay !
Click to expand...
Click to collapse
thanks lot for your time and work man ♥
please will you update this room later ?
Just installed it 20 mins ago, everything until now is smooth and no over heat. Good work!!
adelbouzi said:
thanks lot for your time and work man ♥
please will you update this room later ?
Click to expand...
Click to collapse
He just started and said in chat he will do allot more
Concept48 said:
He just started and said in chat he will do allot more
Click to expand...
Click to collapse
When are you making the review of the ROM?
ArmashWasTaken said:
When are you making the review of the ROM?
Click to expand...
Click to collapse
I was so tired when I came home so I Shot the video , fell a sleep while making it , but just posted it , it's up my friend I must just finish some text and links !! So Right Now !
ROM works like a charm for now uptime 12 hrs Plus no RR (random Reboots) etc here a promotional video
Damnnnnnnnnn that's so coolllll!!!! I can't wait for S6 edge (zeroltexx) to get the update. Any estimate as to when will G925 get the update?
Concept48 said:
ROM works like a charm for now uptime 12 hrs Plus no RR (random Reboots) etc here a promotional video
Click to expand...
Click to collapse
appreciate the support!
ArmashWasTaken said:
Damnnnnnnnnn that's so coolllll!!!! I can't wait for S6 edge (zeroltexx) to get the update. Any estimate as to when will G925 get the update?
Click to expand...
Click to collapse
dont hold me to this, but (hopefully) i plan to have all s6 variants with an A12L release by the end of the week, including W8 variants.
I still can't get the fingerprint sensor working properly. I don't want to keep the releases back if that doesn't work though, as everything else appears to work fine.
After I release the new builds, i'll try get SELinux to enforcing, DT2W and the new pixel power HAL working. We'll see how that goes lol

Categories

Resources