LAZY TWEAKS
Another Optimzer. Transparent, No BS, carefully picked from Redhat,Github,Suse,Linux documentations and Android researches, Adjusted and tested to Android
HAS 4 MODES GAMING-MULTITASKING-LAZY-POWERSAVER
FEATURESALL IN ONE KERNEL OPTIMIZATIONS
what it modifies?
proc/sys/kernel
proc/sys/vm
sys/module/
sys/block/*/queue,iosched
task process affinity, renice, nice
for qcom devices: kgsl/gpu driver
sets hwui.renderer to skiagl
sqlite (uses system's binary)
more (everything changed is logged at lazy.log)
changelogs:
updated ram management
updated to latest ktweak kernel config
new scheduler tunables
may give better latency even under heavy load
note: returned to v3 to sync changes with the universal version
credits:
@tytydraco for his knowledge and script
matt yang
xda
if i forgot to mention someone pls tell me. thank you
akira (for making the script neat and for the new lazy feature)
requirements:
ndk busybox magisk/brutal busybox
join our telegram for support and inquiries
https://t.me/lazytweak
downloads:
see attachment
Not working to me
i dont see any swift logs in /data
Im on bliss arm64-ab, 11.0.3 fw
daizu said:
Not working to me
i dont see any swift logs in /data
Im on bliss arm64-ab, 11.0.3 fw
Click to expand...
Click to collapse
pls install busybox magisk or brutal busybox. sorry i forgot about it
I've Busybox NDK and sqlite3 installed and init.qcom.sh is 755, but zipalign and sqlite3 aren't there. The logs are not created, neither.
jmo707 said:
I've Busybox NDK and sqlite3 installed and init.qcom.sh is 755, but zipalign and sqlite3 aren't there. The logs are not created, neither.
Click to expand...
Click to collapse
try copying them manually maybe there something wrong in the zips script
vendor/bin/init.qcom.sh
vendor/bin/zipalign
vendor/bin/sqlite3
vendor/bit/init.qcom.post_boot.sh
vendor/etc/init/init.qcom.rc
give them chmod 755 permission
if it didnt work then smthing wrong with ur rom
Testing the new Swift Ops 2.01. Thanks!
jmo707 said:
Testing the new Swift Ops 2.01. Thanks!
Click to expand...
Click to collapse
thanks for trying swift! hope you get better experience.
The phone works great, silky smooth, but I had to reinstall my vendor and ROM, because the background tasks are killed too aggresively, and notifications where reaching only when each app was open in the foreground. I would suggest 2 things: an uninstaller, and unifying the logs in only 1 file.
Anyway, great work! I'll keep track on Swift Ops =)
jmo707 said:
The phone works great, silky smooth, but I had to reinstall my vendor and ROM, because the background tasks are killed too aggresively, and notifications where reaching only when each app was open in the foreground. I would suggest 2 things: an uninstaller, and unifying the logs in only 1 file.
Anyway, great work! I'll keep track on Swift Ops =)
Click to expand...
Click to collapse
thanks for the feedback!. about the uninstaller you dont have to reflash vendor anymore. just uninstall like a normal magisk module-remove at magisk manager. will definitely unify logs after test builds
can it be installed on arm64bit?
I installed SwiftOps 4.2, and everything seems to be working nice and smooth, but for a strange reason, the wifi internet connection is down. I've tested the network and the connection on other devices, so I tried stopping the VPN on the phone and rebooting, but the problem persists. Any idea of what can it be?
EDIT: If mobile data is deactivated, on reboot, the wifi connects fine.
jmo707 said:
I installed SwiftOps 4.2, and everything seems to be working nice and smooth, but for a strange reason, the wifi internet connection is down. I've tested the network and the connection on other devices, so I tried stopping the VPN on the phone and rebooting, but the problem persists. Any idea of what can it be?
EDIT: If mobile data is deactivated, on reboot, the wifi connects fine.
Click to expand...
Click to collapse
glad everything is working now! thanks for trying swift!
niceProg said:
can it be installed on arm64bit?
Click to expand...
Click to collapse
afaik any rom will do aslong as your phone is redmi 7a -, using it at 64bit havoc.
it lowers my max screen brightness and i dnt like it
daizu said:
it lowers my max screen brightness and i dnt like it
Click to expand...
Click to collapse
use 5.1 hotfix everything is fixed on that version even brightness
Benchmarks from jankbenchx and antutu lite
BENCHMARKS FROM JANKBENCHX AND ANTUTU LITE
lower on jankbench means better
Great! I'm testing it right now. About the tag in the OP title: this isn't really a kernel, isn't it?
jmo707 said:
Great! I'm testing it right now. About the tag in the OP title: this isn't really a kernel, isn't it?
Click to expand...
Click to collapse
yes sir. thanks for trying it. have a great day.
Related
All,
I've rebuild this rom from scratch over the past few weeks.
IMAGES COMING SOON
So, to the ROM:
As of now, the rom uses the Nexus One style Launcher 2, which runs incredibly quickly.
First of all, the battery should be better with this rom. I've modified some settings (such as scan intervals, etc) which should help the battery life. Please feed back on this.
WORKING LIST:
Gmail PUSH
Google NAV (Inside & Outside of the US)
Calls – perfectly
OpenGL 3D
Launcher 2 (Select Launcher instead of HOME on boot)
2G, 3G & HSDPA (inc. indicators)
Wifi
Bluetooth file transfer (yup!)
Network location
Accelerometer
Trackball & lighting of
LED indicator
GPS & AGPS
SOME Live wallpapers - Very few though
Gallery 3D
Market (all apps, inc protected)
Camera at 2-3mp
Keyboard with (accurate) Voice Search
Known Issues:
Camera above 3mp
Bluetooth Audio during calls
Facebook contact sync doesn’t work – as will all AOSP builds (there are plenty of apps on the market that’ll do this)
INSTRUCTIONS:
1. Run a Nandroid backup
2. FULL WIPE
3. Flash Vanillain1.1
4. Flash Update1.1b (ESSENTIAL, AS IT INCLUDED GOOGLE STUFF!!!)
DOWNLOAD LINKS:
Vanillain 1.1 (4Shared)
Vanillain 1.1b Incremental
I work incredibly long hours on these roms. If you like my work, please consider making a small donation. Thank you for your support!
As I have neglected Vanillain dev quite a lot recently, I'd like to thank QR for his mini-update. Please see the quote below:
QuantumRand said:
I've put together a bit of an update for the Vanillain 1.1b ROM. It's in the form of an update.zip, and a wipe should not be necessary. You can update it on top of the current 11b-signed.zip, or in place of it on a fresh wipe of Vanillain 1.1.
Changes:
-Facebook Contact Sync Now Works (you might have to wait a few seconds for the account setup to launch)
-Camera Works at 5MP
-Tried to fix lag when recieving a call
-New Facebook widget
Bugs:
-Camera might cause Launcher2 to crash when exiting
-Other normal bugs in Vanillain 1.1
You can download the new update here: http://quantumrand.net/xda/vanillain/Vanillain_1.1c_update-signed.zip
Click to expand...
Click to collapse
Is it possible to get A2SD on this one?
Apps2SD is supported. I haven't tested it though, as I don't use it.
Please test and feedback!
nprussell said:
Apps2SD is supported. I haven't tested it though, as I don't use it.
Please test and feedback!
Click to expand...
Click to collapse
I'll give it a shot Btw, is it supposed to be auto-enabled or do I have to turn it on in terminal?
nprussell said:
Apps2SD is supported. I haven't tested it though, as I don't use it.
Please test and feedback!
Click to expand...
Click to collapse
DOwnloading!!!!!
shelnes said:
I'll give it a shot Btw, is it supposed to be auto-enabled or do I have to turn it on in terminal?
Click to expand...
Click to collapse
I just enabled via terminal, not sure if it was auto enabled anyway.
For those who need the commands
adb remount
adb shell apps2sd on
adb reboot
13oots2 said:
I just enabled via terminal, not sure if it was auto enabled anyway.
For those who need the commands
adb remount
adb shell apps2sd on
adb reboot
Click to expand...
Click to collapse
Sorry - you have to enable in the terminal. Missed your question!
must the overclock widget always on my screen or do i need it just to set the settings?
in operation jo can check "Auto start on boot", has this to be enabled?
nprussell said:
Apps2SD is supported. I haven't tested it though, as I don't use it.
Please test and feedback!
Click to expand...
Click to collapse
Downloading...
Donwloading here too, I think this one's a keeper!
Just downloaded and installed this. Nice boot animation Been using your Villainrom a bit (recently switched back to MoDaCo), and now eagerly testing this one. Which clock widget you have on the screenshot?
tsyvanpe said:
Just downloaded and installed this. Nice boot animation Been using your Villainrom a bit (recently switched back to MoDaCo), and now eagerly testing this one. Which clock widget you have on the screenshot?
Click to expand...
Click to collapse
Digital Clock Widget - Free from the market
Awesome! Nice to see some progress on the 2.1 Vanilla front...
Feels like ages since the last update from either of the competing 2.1 ROMs here.
Will post my feedback here after some tests.
Sync to Exchange 2010 fine, but without callendar. This is for me the most important !!! (task too)
Hey Nathan, will you be only updating this ROM's graphics or will you also be updating it for bugs, fixes, and perhaps the camera problems too?
nprussell said:
Apps2SD is supported. I haven't tested it though, as I don't use it.
Please test and feedback!
Click to expand...
Click to collapse
The ROM seems quick and stable. But after enabling A2SD and rebooting, it seems like the apps keep installing on phone.
Good one Nathan, no issues so far
nprussell said:
Digital Clock Widget - Free from the market
Click to expand...
Click to collapse
Ummm. Which one? There's a ton of those named "Digital Clock"
good work nice bootscreen ROM very nice 2!!!
whats so special about this bootscreen then? Is it a custom made one?
Hello.
After many many tinkering and a small hint from @rovo89, finally i can present you the first stable version of the grorkmod.
Added v1.7 LineageOS-Version
Fix for bluetooth
Updated Audio_policy.conf will be copied. Result is a working audio.
Click to expand...
Click to collapse
Added v1.0 LineageOS-Version
Until the fix is integrated in the Rom, you can use the LOS-Version for a working fm-radio.
The Fix will add the following rights to selinux:
system_app fm_device:chr_file {write, read, open, ioctl}
This is a quick'n'dirty way.
Click to expand...
Click to collapse
Added v1.1 lite
In this version the fix is the same, but the script dont need an installed superuser. Also it will leave the system untouched.
Ive tested this version with Eragon v4.0 (With Gravitybox as testmodule, guess what... its working. Ive NOT tested if magisks will work properly with banking apps. please do it for me.
Click to expand...
Click to collapse
Review betaversions
In the past versions i have tried to workaround the problem.
At projectstart i have seen many audit denies. I tried to eliminate them with injecting allows to the sepolicy.
This was a part of the little success i had with the first versions. The other part was to set the classes internally to permissive.
These two components and the "bootprocesshack", in which i changed the sepolicy-binary in root, made the beta versions working.
The problem in the beta version was always, that in some cases the workaround didn't worked.
Click to expand...
Click to collapse
Stable
After an hint that @rovo89 gave me, i saw the problem in seconds, and.... *FACEPALM*
I've saw the problem and didn't saw it anyway.....
For a reason i don't know (maybe it's just a fault from Elephone or mediathek?) they "forget" to setup the contexts files not correctly.
With this mod i fix the entries in the seapp_contexts and file_contexts.
This is the whole magic.
Click to expand...
Click to collapse
Installation
Wipe Dalvik/Cache
Install ROM
Install SuperSU
Install grorkmod
Install xposed
then boot to system
Click to expand...
Click to collapse
Have fun with a fully working ROM!
greetings
vsrookie
CREDIT / INSPIRATION
@Chainfire - for his overwhelming work. @rovo89 - for making apps bend like metal
@skeleton1911 - for making his rom and his work
@Mikos - for his setools for android
@Deepflex - for all the work done to our device
Click to expand...
Click to collapse
Download mod LOS-Version v1.7
Download mod v1.1 lite
Download mod v1.0
Alternative Download
alternative Download mod v1.0
older Versions:
Download mod LOS-Version v1.5
Download mod LOS-Version v1.0
Download mod v0.94
Mirror v0.94
Download mod v0.8
Download mod v0.7
Download mod v0.6
Download mod v0.5
old Projectdescription:
About
This is a solution to get the xposed framework running in enforcing mode AND keep it running after a reboot, dalvik cache wipe and installation of any app.
The main goal is for sure the working xposed framework in enforcing mode, but as we all noticed there are several issues that come with a script that only set the selinuxmode to permissive. That's the second part of this project, trying to not change the behaviour of apps like on stockrom.
Click to expand...
Click to collapse
Background
As i get the p9000 and installed eragon the first time, i installed the xposed framework as fast as i can and.... everything works? Installed modules and... nothing worked!? I tried some things to get it working, but with everything i tried, i had to take a smear.
Pretty annoying, isn't it?
I took a deeper look into selinux and tinkered.... and tinkered ... and tinkered!
Now i think it's time to share my stuff with this great community and i hope that i will help with my mod.
Click to expand...
Click to collapse
BEWARE/Disclaimer
If you don't know what selinux is, then i think you have to read a "little bit" about it. (pure linux stuff; non Android)
If you google it, then you find everything you need, to learn more about it. If you don't know what rooting is, then play Angrybirds instead.
Understand this:
SELinux is a abbreviation for Security Enhanced Linux. That isn't just a name, it's the programm.
With this mod you will loose the S in the name.
Please be sure you have made a backup from everything that's important for you.
I've done this mod in all conscience, but I'm not responsable for bricked devices. Realize it!
You have been warned! :good:
Click to expand...
Click to collapse
The idea behind
This mod installs setools binaries to /su/bin, so you use them on terminal with this mod. We need them to inject permissions to the sepolicy binary. The next problem is, that the original sepolicy is compiled into the kernel (rootfs). Thats why it will be overwritten on boot. If you inject permissions manually, they are gone with every reboot. So i wrote a script that injects permissions on boot to a patched (with superkernel) sepolicy binary and copy it to root.
Click to expand...
Click to collapse
Installing
Now the funny part! :highfive:
What you need
I tested this mod on Eragon v2.8 and Aerom V3.
So you need one of these Roms (i think it will also work on rooted stockrom and Darksense, cause the two three other based on stockrom)
superSu 2.74
xposed framework v85
and of course my mod (see the attachement).
How to
Download everything to your SDCard.
Make sure you have wiped your device, so you can start fresh. (I don't have tried, only to flash this mod.)
Dont reboot. If you reboot, then reboot into recovery again!
Install the rom of your choice. (If you install Eragon v2.8, then be sure to delete the script inside /system/etc/init.d)
Install SuperSu 2.74
Install XposedFramework v85
Install Grorkmod
After this step just reboot. And check if everything is fine.
If not then let me know!
Click to expand...
Click to collapse
XDA:DevDB Information
Grorkmod, Tool/Utility for the Elephone P9000
Contributors
vsrookie
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2016-09-17
Current Beta Version: 0.94
Beta Release Date: 2016-06-09
Created 2016-06-09
Last Updated 2017-02-17
Reserved
LineageOS-Versions
v1.7
- FIX for not working audio over Bluetooth.
LineageOS-Versions
v1.0
- FIX for not working FM-Radio
Stockrom-Versions
v1.1 (lite version; systemless)
- reworked the script, so it will run systemless
- init.d support don't implemented in this version
- old grorkmods wil NOT be removed. So you have to install this one from scratch.
v1.0 (STABLE RELEASE!)
- live patching seapp_contexts and file_contexts
- live patching sepolicy binary at flashing time, add some allows were missing
- add init.d support as supposed to be
- disabling old grorkmod versions at flashin time.
v0.94
- live patching sepolicy binary at flashing time.
- works on all stockbased Roms
- Add init.d support, if it is not implemented already (For Stockrom; busybox EXCLUDED; it has to be installed afterwards to /system/xbin).
Minor changes are:
- cleared out Installer
Current issues:
- sometimes it's lost on reboot. Workaround: just reboot another time, or shutdown phone and reboot again.
v0.8
tidied up scripts
changed hook for injecting sepolicy
v0.7
simplified script
fixed an issue if phone shutdown
v0.6
fixed logcat support in scripts.
v0.5
Beta release
What exactly does your mod do then?
Sent from my P9000 using Tapatalk
mrbubba999 said:
What exactly does your mod do then?
Sent from my P9000 using Tapatalk
Click to expand...
Click to collapse
Hi.
Thank you. Didn't noticed!
I've added "the idea behind" to the first post.
greetings
vsrookie
Sent from my P9000 using XDA-Developers mobile app
do you need the xposed app?
Hi.
What do you mean?
You have to install it for installing xposed modules. Just install it after boot.
Greetings
Vsrookie
Sent from my P9000 using XDA-Developers mobile app
ok, thanks. did a quick test with AeromV3. At first gravitybox, app settings, flat color keyboard* worked after a soft reboot. Ebay app also worked.
Then on next soft reboot there was 2 loops of optimizing apps and only gravity worked.
Shut off the phone and restarted, none worked. After what I have read that was expected.
Did a soft reboot in xposed,then loops of android is starting- optimizing app . after third loop i shutdown the phone and restarted. Then xposed did not work. Tried another soft reboot, this time no loop and xposed modules are working and ebay app works.
mangoman said:
ok, thanks. did a quick test with AeromV3. At first gravitybox, app settings, flat color keyboard* worked after a soft reboot. Ebay app also worked.
Then on next soft reboot there was 2 loops of optimizing apps and only gravity worked.
Shut off the phone and restarted, none worked. After what I have read that was expected.
Did a soft reboot in xposed,then loops of android is starting- optimizing app . after third loop i shutdown the phone and restarted. Then xposed did not work. Tried another soft reboot, this time no loop and xposed modules are working and ebay app works.
Click to expand...
Click to collapse
Hi.
Never tried to softreboot the phone. I will try and report back as fast as i can.
Did you made a clean install? Or dirty flashed the mod?
greetings
vsrookie
clean AeromV3 install. normal reboots do not work
Good I have 3 sim cards on same number the way I mess with my phones.
Hi.
Tried to softreboot the phone from xposed installer. That don't work, that's sure.
On Eragon normal reboots work. I will test with Aerom soon.
greeting
vsrookie
Sent from my P9000 using XDA-Developers mobile app
ok, will test eragon. It stopped working altogether now on AeromV3 after several soft reboots, shutdowns and normal reboots.
gravitybox seemed to work, but other modules seemed to stop. Disabled gravity but that did not seem to work.
Also the android starting, optimizing app message loops seems random.
Seems better on eragon. Works after normal reboot, and from powered off. Ebay also works.
edit2..
so after installing same apps and some reboots, xposed modules will not function sometimes. A few reboots and this time they came back working.
one app that does not work is amplify, maybe just coincidence but that one seems to brake the other when selected.
mangoman said:
ok, will test eragon. It stopped working altogether now on AeromV3 after several soft reboots, shutdowns and normal reboots.
gravitybox seemed to work, but other modules seemed to stop. Disabled gravity but that did not seem to work.
Also the android starting, optimizing app message loops seems random.
Seems better on eragon. Works after normal reboot, and from powered off. Ebay also works.
edit2..
so after installing same apps and some reboots, xposed modules will not function sometimes. A few reboots and this time they came back working.
one app that does not work is amplify, maybe just coincidence but that one seems to brake the other when selected.
Click to expand...
Click to collapse
Is your edit 2 referring to eragon 2.8?
yes.
3-4 reboots, and not working. 1 soft reboot and they came back.
so seems a luck of the draw when it works after a reboot.
mangoman said:
yes.
3-4 reboots, and not working. 1 soft reboot and they came back.
so seems a luck of the draw when it works after a reboot.
Click to expand...
Click to collapse
Thanks, I'll leave it for now.
I made a backup of my eragon before I did any xsposed stuff, I can install that for eBay etc ...
PS - so I can't install this with xposed already running?
mangoman said:
yes.
3-4 reboots, and not working. 1 soft reboot and they came back.
so seems a luck of the draw when it works after a reboot.
Click to expand...
Click to collapse
That s not true.... sorry.
I am on aeromv3 right now rebooted around 5 times (normal, not over xposedinstaller).
Everything works as expected. Even with amplify.
Do you use backuped Apps?
Greetings
Vsrookie
Sent from my P9000 using XDA-Developers mobile app
arlrb said:
Thanks, I'll leave it for now.
I made a backup of my eragon before I did any xsposed stuff, I can install that for eBay etc ...
PS - so I can't install this with xposed already running?
Click to expand...
Click to collapse
Hi.
You have to do a clean install of the Rom of your choice. Install newest supersu and xposed, install this mod.
Everything should work fine.
If it is not so, there is another Problem. Maybe backuped Apps?
Greetings
Vsrookie
PS: if you install Eragon, don't forget ti delete the initd Script.
Sent from my P9000 using XDA-Developers mobile app
yes, strange. At first on eragon it worked with reboots, but after a few of them not so much. Then soft reboots seemed to do the trick.
Right now got amplify working. This time did not enable it in xposed first, but rather ran the app then enabled it in xposed when it asked.
vsrookie said:
Hi.
You have to do a clean install of the Rom of your choice. Install newest supersu and xposed, install this mod.
Everything should work fine.
If it is not so, there is another Problem. Maybe backuped Apps?
Greetings
Vsrookie
PS: if you install Eragon, don't forget ti delete the initd Script.
Sent from my P9000 using XDA-Developers mobile app
Click to expand...
Click to collapse
They say you should flash the framework before installing the installer & modules.
So should I install this after framework but before installer, or after framework & installer?
mangoman said:
yes, strange. At first on eragon it worked with reboots, but after a few of them not so much. Then soft reboots seemed to do the trick.
Right now got amplify working. This time did not enable it in xposed first, but rather ran the app then enabled it in xposed when it asked.
Click to expand...
Click to collapse
Hi.
Can you give the new version 0.7 a shot?
I had issues if the phone shut down completely. At this point i had also no running xposed anymore.
Fixed this.
Now i can reboot also out of xposed installer.
Greetings
vsrookie
Sent from my P9000 using XDA-Developers mobile app
arlrb said:
They say you should flash the framework before installing the installer & modules.
So should I install this after framework but before installer, or after framework & installer?
Click to expand...
Click to collapse
Hi.
This order:
wipe
install rom
install supersu
install xposed franework
install mod
boot
install xposed installer
install modules
activate them
restart phone
greetings
vsrookie
Sent from my P9000 using XDA-Developers mobile app
XenonHD ROM for Xiaomi Mi Mix 2
A Team Horizon ROM
Based on AOSP r36 7.1.2
This ROM has all the features XenonHD has to offer.
All hardware functions including:
NFC
Bluetooth Audio
Fingerprint Scanner
Doze & Wake-up Gestures (dtw works after the first reboot)
And...many more things.
Magisk is no longer built in, so you'll need to flash it when first installing, and after every dirty flash.
VoLTE doesn't work (at least on T-Mobile). I believe most of the pieces are in place, but there may be something in the firmware that's preventing it? If I could figure out how to tap into the stock cust files, I might be able to figure out how to get it working.
Proximity Sensor is working:
Notification Light:
I have slowed down the notification light so it isn't all amped up. To make it completely usable, go to:
Fixed default notification blinks for built-in apps so they are slowed down without needing to go to settings.
For use-installed apps, add them to custom notification list in settings > notifications > gear icon > notification light > + in upper right corner > select app. Apps added to that list will have slow notification blinks.
I simply cannot find a way to make user-installed app notifications behave the same as built-in apps. Grrr!!
I have also made the light sensor wait longer before dimming the screen. This helps with left-handed activities blocking the light sensor and almost immediately dimming the screen.
Reduced time to go back from dim to bright. Screen will dim after 5 seconds, returns to bright after 2 seconds.
I've remove configpanel & pocketmode...they did little to nothing, and may have caused more battery drain than I care for.
Required prior to installing:
Unlock Bootloader
Install custom recovery: https://www.androidfilehost.com/?fid=962021903579490303
HUGE thanks to IceMan for bringing this to Mix 2!
A quirk with this TWRP: This one looks for backups in TWRP/BACKUPS/MIX_2 folder. Normally, the MIX_2 folder is named after serial number of your device.
So, you existing backups won't be found until you rename the folder in BACKUPS to MIX_2.
Installation Instructions:
Dirty flash is now available with the above TWRP and 10-26-2017 rom.
Download the most recent build: https://www.androidfilehost.com/?fid=673791459329071426
Download Gapps (I use Open Gapps Mini) --> http://opengapps.org/
All versions from 10-24-2017 are now encryptable.
From TWRP Recovery:
IF COMING FROM MIUI-BASED ROM: FULL WIPE AND FORMAT DATA!!
If you encounter ERROR 7, during XenonHD install, install Global MIUI ROM, then do full wipe and data format again, then install XenonHD rom.
If coming from AOSP-based ROM:
- Full wipe (Cache, Davlik/ART Cache, System & Data)
- Flash ROM zip
- Flash Gapps zip
Huge thanks to Mokee for bringing this device up and making a great place to start.
Also a very HUGE thanks to @Arasthel for his work on proximity sensor and figuring out the bluetooth reboot stuff and other hints, suggestions and incalculable work.
I'd also like to thank all of you folks here for trying this ROM and providing constructive feedback.
In addition, I appreciate your patience when issues come up that need to be fixed. I am not a developer, and I have a full time job and a wife that takes precedence most of the time
Sources:
Vendor:
https://github.com/hondajohn88/android_vendor_xiaomi_msm8998-common
https://github.com/hondajohn88/android_vendor_xiaomi_chiron/tree/xenonhd
Kernel:
https://github.com/hondajohn88/android_kernel_xiaomi_msm8998/tree/xenonhd
Device:
https://github.com/hondajohn88/android_device_xiaomi_chiron/tree/xenonhd
https://github.com/hondajohn88/android_device_xiaomi_msm8998-common/tree/xenonhd
reserved
reserved 2
Does safety net pass with or without magisk?
subashchandran said:
Does safety net pass with or without magisk?
Click to expand...
Click to collapse
With magisk its working
Gesendet von meinem MI Mix 2 mit Tapatalk
THX for the ROM @hondajohn88 ,very much appreciated. :good:
Is this 1st release identical to the beta?
Just curious,as I tried to dirty flash over the beta & got the same errors as if coming from another ROM (wouldn't flash).
Is a full wipe (less formatting data) necessary if updating ?
I don't mind setting up from new again,even if just updating from the beta build.
However,wondering if incremental updates are going to be an option on future builds.
THX.
Sent from my MI Mix 2 using XDA Labs
Bluetooth seems to be working fine for audio/calls. Need to try video/youtube audio output on car (will do it on the drive back home)
ROM is slick, its been good so far (2 hours since i have set everything up)
KOLIOSIS said:
THX for the ROM @hondajohn88 ,very much appreciated. :good:
Is this 1st release identical to the beta?
Just curious,as I tried to dirty flash over the beta & got the same errors as if coming from another ROM (wouldn't flash).
Is a full wipe (less formatting data) necessary if updating ?
I don't mind setting up from new again,even if just updating from the beta build.
However,wondering if incremental updates are going to be an option on future builds.
THX.
Sent from my MI Mix 2 using XDA Labs
Click to expand...
Click to collapse
Oh yeah...I need to add that to the OP, for some reason, dirty flash won't work. There's a couple weird things with this build, one is I can't make a dirty build or it breaks Wi-Fi, and can't dirty flash. I don't know the reasons, but if I figure it out, I'll be sure to let everyone here know. It's an extreme pain in the ass.
subashchandran said:
Bluetooth seems to be working fine for audio/calls. Need to try video/youtube audio output on car (will do it on the drive back home)
ROM is slick, its been good so far (2 hours since i have set everything up)
Click to expand...
Click to collapse
Glad everything is working for you so far. Bluetooth audio in car should work (it does on mine), but I found the volume on the car set to zero so needed to turn that up. That was a brief "oh crap" moment that I thought it wasn't working lol
subashchandran said:
Does safety net pass with or without magisk?
Click to expand...
Click to collapse
I think it fails without it, but magisk is built in, so if have to remove it to find out for sure.
hondajohn88 said:
Oh yeah...I need to add that to the OP, for some reason, dirty flash won't work. There's a couple weird things with this build, one is I can't make a dirty build or it breaks Wi-Fi, and can't dirty flash. I don't know the reasons, but if I figure it out, I'll be sure to let everyone here know. It's an extreme pain in the ass.
Click to expand...
Click to collapse
IT'S ALL GOOD @hondajohn88 . :good:
This ROM is daily-driver material,every update from here on out is a bonus & very much appreciated. :good:
hondajohn88 said:
Oh yeah...I need to add that to the OP, for some reason, dirty flash won't work. There's a couple weird things with this build, one is I can't make a dirty build or it breaks Wi-Fi, and can't dirty flash. I don't know the reasons, but if I figure it out, I'll be sure to let everyone here know. It's an extreme pain in the ass.
Click to expand...
Click to collapse
It seems that we both have faced this issue. I just got A2DP working yesterday on Resurrection Remix by using sagit as base - without msm-8998 common and all that -, imagine my surprise when I saw you also did .
Anyway, I think the WiFi bug may be related to something going wrong in the build. When you build the ROM, kernel sources are used and you can see that the wlan.ko module is built. The problem is, wlan.ko is also a binary blob found in vendor. I believe that on the 2nd build, if dirty, one of these modules overwrites the other - which worked. Maybe you can test this idea, I will be doing it too on the next days.
Arasthel said:
It seems that we both have faced this issue. I just got A2DP working yesterday on Resurrection Remix by using sagit as base - without msm-8998 common and all that -, imagine my surprise when I saw you also did .
Anyway, I think the WiFi bug may be related to something going wrong in the build. When you build the ROM, kernel sources are used and you can see that the wlan.ko module is built. The problem is, wlan.ko is also a binary blob found in vendor. I believe that on the 2nd build, if dirty, one of these modules overwrites the other - which worked. Maybe you can test this idea, I will be doing it too on the next days.
Click to expand...
Click to collapse
That's cool you got the Bluetooth working on RR, knocking little things out one by one ?
Thanks for the idea on the Wi-Fi, I'll look into that this evening. Maybe there's a file I can delete before dirtybuilding. That would make testing things a lot faster! ??
By the way, does android auto work on your rr?
Everything except proximity sensor works and works as good as stock. I have installed custom font, black swift substratum OMS theme without any hiccups. The rom is buttery smooth and I've been getting a better battery drain trend on this compared to resurrection/mokee. I have naptime doze installed to see if i can ooze out more battery goodness to the levels of epic Rom(miui 9)
Overall this is super encouraging to see a daily driver rom this early for mi mix 2.
There is one edge case which might be a bug, when connected on car Bluetooth and watching something on YouTube.. And then you get a call, i pressed answer on the car knobs/buttons.. I couldn't hear the person talking.. Car was displaying "audio disabled message ”. But talking/call and video/music in isolation works just fine.
Android auto works for me. I'm on RR now. Might come to this if we can get Android auto working. How did you guys fix your Bluetooth audio on RR (we can move this to the RR thread if you prefer) @Arasthel
slyyke said:
Android auto works for me. I'm on RR now. Might come to this if we can get Android auto working. How did you guys fix your Bluetooth audio on RR (we can move this to the RR thread if you prefer) @Arasthel
Click to expand...
Click to collapse
Thanks for the info about android auto on RR. I'll take a look at their repo and see if I messed up a USB setting somehow.
As far as I'm concerned, other ROMs can be discussed here.
Open source should be crowd sourced for maximum problem resolution.
RR probably (?) Did the same as me... Mokee made a commit in qcom/audio that did the trick.
hondajohn88 said:
That's cool you got the Bluetooth working on RR, knocking little things out one by one
Thanks for the idea on the Wi-Fi, I'll look into that this evening. Maybe there's a file I can delete before dirtybuilding. That would make testing things a lot faster! ?
By the way, does android auto work on your rr?
Click to expand...
Click to collapse
Hi... Thank you again for the wlan.ko tip. I deleted all instances of that in my out folder, dirty built and it's all good. Sped up my test time considerably! Woohoo! :good:
Thanks op for adding this to to the mix. Much appreciated. I am not sure if I can leave Resurrection due to all the customization options. Does this room offer as many customization options? Thanks so much!
stu5797 said:
Thanks op for adding this to to the mix. Much appreciated. I am not sure if I can leave Resurrection due to all the customization options. Does this room offer as many customization options? Thanks so much!
Click to expand...
Click to collapse
I haven't used rr for this phone, but I think at this point rr probably has more options. This one has quite a few, and as son as I get most of this ROM straightened out, I'll try adding more options.
I'll add some screen shots of the settings to help people decide.
Thanks ?
Great work by a great Dev,
Thanks for putting in the work, smoothhhh rom~
Disclaimer:
* You flash this ROM at your own risk and responsibility.
* This ROM is provided without ANY WARRANTY WHATSOEVER, not even the warranty that it works.
* None of the developers of this ROM will be held accountable for any damages, complaints or anything.
This rom is pre pre pre pre alpha, almost nothing is working! Just for everybody who want see Oreo look. I'm out of free time but I will update each time when I get some free time. Whats working, whats not working...etc? You tell me! You fix something, you tell me! You found something, you tell me! Adb somehow is not working, you need to change ro.build.type from userdebug to eng and adb will start working. If you have idea about whats going on with adb, you tell me! Somehow managed to boot this rom, a lot of work and time I spent to get Oreo boot, got also credentials working but somehow camera is fail to work, probably we must use Snap camera instead of the Camera2? You can try snap camera and tell me. You can try other cameras too and tell me!
Enjoy!
Source code && how to build:
https://forum.xda-developers.com/showpost.php?p=74724831&postcount=1008
Download:
https://mega.nz/#!ZB4ilbrL!nI_YV54IMBmKpA1BE4L9VYcwm3nsuLXAGKOu35NJdyQ
Can you post some screenshoots? Whats working? Whats not working? Etc? I'm so lazy
risk
while it is very risky to put this firmware.
munjeni said:
Can you post some screenshoots I'm so lazy Whats working? Whats not working? Etc?
Click to expand...
Click to collapse
Not a risky, just some more things is not working! Bugs need to be identified and fixed one by one.
Mobile data and camera are not working.
Viktor245 said:
Mobile data and camera are not working.
Click to expand...
Click to collapse
Wifi ok?
munjeni said:
Wifi ok?
Click to expand...
Click to collapse
Do not have the opportunity to check it out.
munjeni said:
Wifi ok?
Click to expand...
Click to collapse
Wifi can't be opened
Waoo, I changed my phone, now I can use my z1c to test all lol
In the afternoon I'm going to install it!
i will wait for working mobile data and wifi build
omkarmahananda said:
i will wait for working mobile data and wifi build
Click to expand...
Click to collapse
Me too I'm opened source code ppublic, everybody if free to use it and try fix something.
munjeni said:
Me too I'm opened source code ppublic, everybody if free to use it and try fix something.
Click to expand...
Click to collapse
actually i have no idea how this thing work.
but can you help learning ?!
any thread or any website or anything?
thank you
Did you have think include magisk for this version?
Sorry for being late:
Audio doesn't work
Wifi doesn't work
I'm not able to test cell data
Camera doesn't work, neither footej
ADB doesn't work, no usb at all, the device isn't listed neither with adb devices and devices control panel in windows
Bluetooth yes
Vibrating yes
@hackintosh5 here
Heyho. I just tested building from @munjeni 's sources. Unfortunately TWRP throwed an error 6. I checked the updater script and found some strange lines. With them removed I was able to install and boot
I'm really up for doing some fixes, but for me it's learning by doing which can be a time intensive process.
BTW: USB transfer works by disabling ADB in developer options... I just copied the screenshots off the device.
115ek said:
Heyho. I just tested building from @munjeni 's sources. Unfortunately TWRP throwed an error 6. I checked the updater script and found some strange lines. With them removed I was able to install and boot
I'm really up for doing some fixes, but for me it's learning by doing which can be a time intensive process.
BTW: USB transfer works by disabling ADB in developer options... I just copied the screenshots off the device.
Click to expand...
Click to collapse
But ADB works to you? Can you see the phone if you do adb devices?
@munjeni can I try to replace the libs just like as porting a custom rom from the N builds? Or it is wasted time?
-totonio- said:
But ADB works to you? Can you see the phone if you do adb devices?
Click to expand...
Click to collapse
Yes, adb works. But only if you revert this commit https://github.com/munjeni/android_device_sony_amami/commit/e0cde4386d51ad2b45d7700f495a85fdb75dc8d2.
Adb from the 8.0 tree seems to be broken, but maybe it's a problem with our devicetree.
Nevertheles, as Munjeni already did, replacing the adbd with a prebuilt one (I used one from an Android 7 tree i had lying around) works quite fine.
@munjeni : Is adb built from 8.0 source working for you? Or is it a permission problem?
Hey. I've got some news. Wifi was working for me. I just installed a new build and was able to connect
I can't test data connection - the sim reader is broken in my test device.
I think we should move ahead to lineage 15.1 (android 8.1) because support for lineage 15.0 was already dropped.
Unfortunately there are several build issues - let's see what the time brings.
*Edit: adb is fixed now
Booted 15.1 some minutes ago.
Working
adb
MTP
brightness slider
not working
wifi
automatic brightness
audio
camera
LEDs
everything else...
Latest rom : lineage-19.1-20220928-UNOFFICIAL-clover.zip, see this link :
Changelog :
- Sept Security Patch
- Update cam HAL to LA.UM.10.2.1.r1-03300-sdm660.0.
- Switch to 4.19 Nyx kernel
Installation instructions :
- Perform a backup of your current ROM (optional)
- Use latest 4.19 twrp created by pix106: https://androidfilehost.com/?fid=15664248565197205779)
- Reboot into recovery/twrp, format data, then reboot into recovery/twrp again.
- Flash ROM.
- Flash GApps is optional.
What's not working:
Let me know.
Known issues :
- Disabled Encryption
Please post the bug along with log (use syslog).
Source :
Kernel : clover
Device tree : sdm660
Update : latest version lineage-19.0-20211105-UNOFFICIAL-clover-new.zip pass safetynet.
Tried already in a mi pad 4 (8") and everything working so far.
Great work!
Does it support Monet theming?
Everything works OK, except I cannot change battery indicator (to circle, it just stays battery-shaped) and also can't show battery's %
Just nothing happens when i try to change these
redcord said:
Everything works OK, except I cannot change battery indicator (to circle, it just stays battery-shaped) and also can't show battery's %
Just nothing happens when i try to change these
Click to expand...
Click to collapse
Yes...some features are still not working as it depends on lineage source.
Installed Ok and runs - but with a few issues. Playstore not certified. Android system intelligence crashes regularly. It insisted on formatting my SD card so I let it but now I will have to put back all my music and books. Never mind. I will keep using it and updating for now.
Plus: I just tried my Bluetooth earbuds. They paired fine and are working with aptX
Plus: USB PD charger gives Charging rapidly
Everything works OK, except stop working Android System intelligence
Mi pad 4 (8") Wifi
GregEden said:
Installed Ok and runs - but with a few issues. Playstore not certified. Android system intelligence crashes regularly. It insisted on formatting my SD card so I let it but now I will have to put back all my music and books. Never mind. I will keep using it and updating for now.
Plus: I just tried my Bluetooth earbuds. They paired fine and are working with aptX
Plus: USB PD charger gives Charging rapidly
Click to expand...
Click to collapse
Playstore is certfied using patched boot.img by magisk and magisk hide. I didn't test using android system inteligence...will check later.
It's beautiful and quite stable, but with some minor issues.
1. Android System Intelligence keeps stop working. There's already a workaround by installing "ExtraPixel" module from this channel https://t.me/randomfilezz, but I suggest to make a fix inside the ROM.
2. Yep, Monet theming engine, ported by @kdrag0n , is open-sourced, so maybe consider adding it and makes it a better ROM. https://www.xda-developers.com/android-12-material-you-theming-system-recreated/
3. Always on display feature missing. Maybe you forgot to add it.
And the clock position and size on lock screen without notification is not accurate, compared to other devices.
Ralph Chen said:
And the clock position and size on lock screen without notification is not accurate, compared to other devices.
Click to expand...
Click to collapse
Did you compared to other device that running with lineageos 19.0?
Ralph Chen said:
It's beautiful and quite stable, but with some minor issues.
1. Android System Intelligence keeps stop working. There's already a workaround by installing "ExtraPixel" module from this channel https://t.me/randomfilezz, but I suggest to make a fix inside the ROM.
2. Yep, Monet theming engine, ported by @kdrag0n , is open-sourced, so maybe consider adding it and makes it a better ROM. https://www.xda-developers.com/android-12-material-you-theming-system-recreated/
3. Always on display feature missing. Maybe you forgot to add it.
Click to expand...
Click to collapse
Those features will be on this device once it is available in lineage source.
sabar_op said:
Did you compared to other device that running with lineageos 19.0?
Click to expand...
Click to collapse
I compared with other ROMs such as pixel experience.
Maybe it has to be in the center of the screen.
Ralph Chen said:
I compared with other ROMs such as pixel experience.
Maybe it has to be in the center of the screen.
Click to expand...
Click to collapse
Not sure about that, perhaps it is new style of lineageos 19..or lineage source not implemented yet to center the clock in the lockscreen...
My microphones are not working, via wired or bluetooth connections.
And the internal mic is dead too.
GregEden said:
My microphones are not working, via wired or bluetooth connections.
And the internal mic is dead too.
Click to expand...
Click to collapse
Are you sure? I am test it using mictest...and it works properly.
sabar_op said:
Are you sure? I am test it using mictest...and it works properly.
Click to expand...
Click to collapse
OK it works now. I did a reboot, and that did not help. I went into the recorder settings and toggled autodetect off then back on. And now it is working. I will test again tomorrow with my Duolingo lesson.
Dear all, may I ask for help please? I just manager to load 19.0 by following the above steps. However when it comes to the initial set up page, where it says checking for updates, it goes blank. How do I resolve this?
Btayyyy said:
Dear all, may I ask for help please? I just manager to load 19.0 by following the above steps. However when it comes to the initial set up page, where it says checking for updates, it goes blank. How do I resolve this?
Click to expand...
Click to collapse
I had that issue but I do not remember how I resolved it. I think I just kept swiping up until I could select next and it move on.