yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] mikeysteele:
Nice work, might have a play with this over the weekend, although my skills are pretty limited.
[Miscellaneous Android Development] Qidamin:
Hi! Any news? seems that there no new step forward :(
[Miscellaneous Android Development] akrukau:
Hi, anyone here who want to sell his IUNI U3?

I like it very much but left sim Slot for 4G is not

working and no one can repair.
[Miscellaneous Android Development] Zewius21:
Hello. That there on the kernel?
[Miscellaneous Android Development] Qidamin:
I thought the release of the code source would boost developers but it seems nobody wants to work on the U3 anymore, too bad :(
[Miscellaneous Android Development] Abdess76:
Hi,

Sorry for not giving any news for a long time, I sorely missed free time.

The kernel is now 100% functional on Android N. There are still some small issues and optimisations to fixes before everything is perfect.

It remains to complete the device tree and blobs to be finally ready.

The project was able to move forward with the help and support of several developers who generously gave their time to help and answer questions:

- [MENTION=4800121]Sultanxda[/MENTION] : The kernel is entirely based on his work, and moreover he helped me with all questions and technical problems.

- [MENTION=4216622]feroxxx[/MENTION] : It is thanks to him that LineageOS 14.1 is almost fully working on IUNI U3

- [MENTION=6842057]nathanchance[/MENTION] : Thanks to his documentation and availability to answer to the questions on the forum he has expanded my knowledge and awareness of security.

- [MENTION=359497]jerpelea[/MENTION] and [MENTION=6175749]GalaticStryder[/MENTION] : They helped me to understand some technical and theoretical aspects of the kernel.

And of course also to all those who contributed to all these open-source projects without whom this project would never have emerged.
[Miscellaneous Android Development] Qidamin:
Thanks, thanks and thanks and thanks again!!!!!
[Miscellaneous Android Development] Abdess76:
:highfive:

I'll have to update the thread with more details and more regularly, like a log. The goal is to highlight the path used in the development of the kernel. The mistakes made, by which means they were solved.

The intention is to provide answers to questions that a person might ask if he wants to undertake a similar project.

When starting a project for the first time, there is often this famous stage of vast questioning and gray area. With a large amount of documentations, wondering where to start, where to go. Reading the practical experience of others could be a shortcut in the learning journey and have an idea where to start and where to go.
[Miscellaneous Android Development] Zewius21:
Soon there will be a key to the surprise that IUNI was talking about.)))
[Miscellaneous Android Development] Zewius21:
Hi, Abdess. When to expect firmware release?
[Miscellaneous Android Development] mikeysteele:
Most likely when it's ready.
[Miscellaneous Android Development] Abdess76:
Hi, Zewius21. I am sorely lacking time to work on it.

It may take time, unless someone wants to join me in the development.

They released their surprise and a secret message.

Haha, exactly. :p
[Miscellaneous Android Development] Abdess76:
Ok the kernel source code for LOS 15.1 is available here: https://github.com/Abdess/android_kernel_iuni_msm8974/tree/lineage-15.1

There's a weird issue, everythings looks to works fine (adb, storage, brightness)... into the log... However the display doesn't works but it's acting like working.

It looks like I've to check the MDSS drivers and device tree.
[Miscellaneous Android Development] mikeysteele:
Hi [MENTION=7203420]Abdess76[/MENTION], I just tried building Lineage 14.1 off your sources. It built OK but it doesn't boot . It appears ADB isn't running despite building with user-debug and I can't seem to find any logs in /proc/last_kmesg. Any suggestions as to what I'm doing wrong?
[Miscellaneous Android Development] 蝴蝶剑:
Thank you for adding me to contributors,but how do you find my id in xda?Besides,How is the kernel going?
[Miscellaneous Android Development] Abdess76:
Good question, we can see this together on hangout.

I do not remember how I did to find you. lol

I had to make another break because of the work. Everything works however there is always this display bug. I must find the cause.

https://github.com/Abdess/android_k...mmit/3e0db6ef96f5beac8504d6b8bf157b1c38248425
[Miscellaneous Android Development] mikeysteele:
Ok sounds good, although we'll have to find a time which works coz I'm on the other side of the world to you!
[Miscellaneous Android Development] Qidamin:
Any news? did you progress a bit with the build? thanks :)
[Miscellaneous Android Development] Abdess76:
It progresses slowly because I can not spend more than 2 days a week on the project. :/

BTW I had a booting android 8.0. :)

For Android 8.1 it's more complicated, for example I can not have a battery charging animation for the moment.

To avoid wasting time, I think I will focus on LOS14.1 instead of LOS15.1.

For those interested, I noticed that it was possible to port MIUI9 from the Xiaomi Mi3 to the IUNI U3.
[Miscellaneous Android Development] Qidamin:
Wow! still very good news! Thumbs up!!!!
[Miscellaneous Android Development] Zewius21:
How's the progress, Abdess? Can try to replace libraries already assembled by LOS14.1, but I can not do it, because this is my main phone, if I use another one, then I have one, but even the call / receive function does not work very well
[Miscellaneous Android Development] Zewius21:
I'm not strong in the assembly of the android kernel. The source code that was published by IUNI, can be used to build the firmware, or is it a bad idea?

P.S. If the IUNI source code is perfect for compiling cm11, if there is time, compile it, there will be a normally working custom firmware
[Miscellaneous Android Development] Qidamin:
Hi all, except Abdess76, is there anyone else working on the project? should be nice if some others could join. Unfortunately I don't have any skills in programming or building roms :(
[Miscellaneous Android Development] Zewius21:
There is no hope for the revival of this phone. Abdess is silent. 4PDA forum too (in the context of firmware).
[Miscellaneous Android Development] Roletna:
lets hope that he did not give up. Plenty of people are waiting for this, they just cant be arsed to log into the forum
[Miscellaneous Android Development] Qidamin:
Did someone shared anything about this topic with the 4PDA forum? Abdess seems to lack in free time to progress quickly, sadly
[Miscellaneous Android Development] Zewius21:
Those who are interested in this topic know. Angel666, a forum member from 4PDA, also tried to raise the theme with firmware, but also time is not enough. The only suggestion from Angel666 is to change the libraries of the already ready LOS14.1. Personally, I would do it, but as I said earlier, I can not.
[Miscellaneous Android Development] Roletna:
come on dudes, make the firmware
[Miscellaneous Android Development] Roletna:
Guys? Any progress? It sounded almost complete, now nothing is happening.

pleeeeease make it :)
[Miscellaneous Android Development] Qidamin:
Yeah, seems to be dead :( I hope Abdess76 can come back with something.
[Miscellaneous Android Development] Angel_666:
https://xdaforums.com/showpost.php?p=77750296&postcount=250
[Miscellaneous Android Development] aster66:
Good work!!!:good::good::good: Keep trying
[Miscellaneous Android Development] ltuxer:
hi ,Any progress?:eek:
[LG V20 Questions & Answers] HD2FORNICK:
I am using a Sprint unlocked phone on AT&T and works perfectly. Last night I tried my friends Verizon SIM card and it read everything perfectly. It recognized his phone number, network state well. Does this mean I can use it on Verizon? But when I check the IMEI with Verizon it says incompatible! Any input?
[LG V20 Questions & Answers] jesmann:
My guess is they don't officially support it but since it supports the right lte bands it will work on 4g but maybe not 3g.... Out of curiosity because I may need to do the same thing in the future how did you get the Sprint V20 unlocked
[LG V20 Questions & Answers] HD2FORNICK:
I used a remote unlock service through ebay.
[LG V20 Questions & Answers] joeminati:
What version of the software did you have when you unlocked it ?
[Lenovo Vibe K4 Note Questions & Answers] tjoshi03:
can somebody please make a rom which look like asus zenui the gives looks amd feel of asus zenui now asus come with zenui 4.0 please dev team make a rom like zenui
[Lenovo Vibe K4 Note Questions & Answers] joedeng:
Search google Asus Pegasus 3 rom for Lenovo a7010a48 in websie lenovo-forums.ru.

It have.... Good luck
[K3 Note Q&A, Help & Troubleshooting] sahshivam:
I'm unable to get past Lenovo K3's {K50a40} BSOD... I've tried flashing stock firmware from Android 5-6 and also tried the checksum ticked and unticked....And also it was earlier grey with some black lines... Can anyone help me with this situation... I've tried Format All+ Update,Update Only and Download mode...and nothing seems to work I'm on Win 10 ... Thanks
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
This kernel was built originally only for private use, but some of you have asked for it so I've decide to share.

I'm not responsible: You use at your own risk.

This kernel is based on latest LineageOS source code, with only a few tweaks in config file and maybe any external commit. It's more a "proof of concept" than a development by itself. My philosofy is "keep it simple"... I don't look for a "overloaded super-kernel with steroids"... if you want many features (exotic governors, OC, etc...) and "bleeding edge" functionalities there are some good alternatives made by good devs here so this kernel is not for you. Maybe other kernels can benefit by this approach in the future.

The approach for BitO-K is a light and stable kernel optimized via some basic params in kernel config and built with latest Toolchain (TC) to get a very optimized code for our device's architecture.

Fronts attacked: Task scheduling (SMT enabled), task efficiency (CleanCache/FrontSwap and other minor tweaks) and IO optimization (the only commit you can see ATM in my source branch) and, depending on version, latest Toolchains from Linaro or UBER. ATM no more "magic"...

*In my personal device I'm also testing with /data and /cache partitions on F2FS instead of EXT4 (this also helps...). Maybe new thread in the future about this...

Download

You can get latest version here.

Installation

Make backup

Install via TWRP

Wipe Dalvik/Cache

Reboot and profit

Notes

You can disable thermal control bins from xiaomi to avoid some lag if you get your CPU hot... Revise your config to be sure you don't get a brick...

You can install on any ROM, but if MIUI based, then you can get some features not to work, like WIFI, etc... If you want to test on MIUI, you have info here, thx to [MENTION=4910648]Hen Ry[/MENTION]

How to delete thermal control binaries by Xiaomi

You need root permissions (I suggest Magisk 13.6+)

Go to /vendor/bin

Delete (I suggest to move to a backup folder into /vendor/bin or rename files, not delete):

perfd

thermal-engine

Additonally you can delete (or move/rename to *.bak) file:

/etc/thermal-engine-8996.conf

My Kernel Settings (Kernel Adiutor)

Not necessary the best ones, only the ones I usually set (battery/performance balanced, smooth behaviour, almost total lag free):

CPU BIG MAX: 1900 MHz

CPU LITTLE MAX: 1440 MHz

GPU MX: 560 MHz

Governor: Interactive

Other minor tweaks (sometimes I set them):

IO: Disabled statistics

...

Source Code

https://github.com/BitOBSessiOn/android_kernel_xiaomi_msm8996
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
How to convert FS's from EXT4 to F2FS (IO performance improvement)

Be prepared to break it all... Again: at your own risk

Your TWRP must support F2FS (look for my latest TWRP-MROM )

Your kernel (on primary or secondary) must support F2FS (usual if LineageOS based)

Your system (on primary or secondary) must support F2FS mounting (fstab.qcom file updated with F2FS entries for /cache and /data ) (usual if LineageOS based)

Make a backup of ALL your data you want to keep (/data partition via TWRP backup + DCIM, WhatsApp folder, etc... ) (I suggest copying/backup via USB from TWRP)

In TWRP go to: Wipe / Advanced Wipe / Change or repair file system / Change file system for /cache and /data and select F2FS

Restore your /data partition from TWRP backup and manually copy your extra folders (DCIM, Whatsapp, etc...)

Reboot and profit
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] marchetto96:
Testing! :highfive:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] albertoduqe:
Behaving awesomely both on RR and AICP, the two roms I've tested it so far with some minor kernel auditor tweaks.

Thanks dev!!!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] chediak:
Awesome with [MENTION=7366109]marchetto96[/MENTION] ViperOS!!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Veruca5alt:
Testing with LOS. So far so good. Thanks Dev
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] VerucaSalt:
Hello Mate. May I please ask if you can share the tweaks / config in Kernal Audiutor ?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] blinksilver:
It's all placebo or its doing its job very well and very quietly. Either way, its not breaking anything or making anything worse, so bravo.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] albertoduqe:
Governors to interactive. CPU max to 1900 and 1440, GPU max to 560. Thermal bins deleted.

It's not my idea though, I just learnt and copied from the boss :)

Happy tweaking!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
How to delete thermal bin?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
OP updated with little howto.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
How to jump from EXT4 to F2FS

Second post updated with a little guide: How to convert FS's from EXT4 to F2FS (IO performance improvement)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Cheers. I'm going to try this F2FS mod out but it's going to take forever just to copy everything off my phone (256GB model, almost full). If I switch data to F2FS will it kill the encryption (I don't want it to be encrypted anyway)? If not, I may as well get rid of it now when all my personal files are backed up to my PC.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
Ummhhh.. I always assume an unencrypted scenario... but indeed you lose encryption when reformatting to another FS, you must re-encrypt after formatting (target FS must be encryptable).
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I copied everything off, took a backup of data in TWRP and copied it to the PC too. Wiped data/cache, changed both to F2FS and rebooted into recovery. Copied the data backup back to the phone and restored (gave a warning about it being from an EXT4 source but it restored ok). Rebooted into Resurrection Remix and in the settings it still says it's encrypted. To get it decrypted I had to use the 'Format Data' option in TWRP (as opposed to ticking data and wiping it).

Between the new kernel, some tweaks in EX Kernel Manager (mainly ondemand governor for CPU and performance for GPU), and decryption, I'm getting the highest Antutu scores I have for months. Just got 156k (60477/53925/31252/10475). Now I just have to wait while it copies 200GB+ of stuff back to the device.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
Battery? Stability? Smoothness...? Thx for feedback
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I always found ondemand to give the smoothest experience and that's exactly what I'm getting here. It feels like being back on MIUI (that's a good thing).

I can't give any input battery-wise as I'm rarely away from a charger and don't care about battery life (within reason obviously), so I never monitor it.

As for stability, I did temporarily lose WiFi connectivity (other network devices were fine), and when that dropped out I lost mobile data too. This happened when I was transferring the last batch of files I forgot to restore via USB. I've been using RR for weeks and it has never happened before, but it could just be a one-off. It took a reboot to resolve.

I have noticed the device can get very warm when transferring a large number of files over WiFi. It has always been like that regardless of kernel. I had the case on when I lost connectivity so I couldn't feel if it was that warm, but maybe that sustained high temp buggered the WiFi. If it happens again I'll let you know.

I should note that I had the thermal files removed (I've always deleted them from I first got the device). I also usually run the OC'd DragonXia kernel so my device is no stranger to a little extra heat.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] acasmc:
I'm using it for a day now. so far so good. Latest Mokke rom, working flawlessly. using ondemand governor with stock clocks, CFQ and I/O Scheduler with 2Mb read ahead value.

only odd thing I have noticed so far is that WiFi signal seems to be a bit weaker. In places that I had connectivity before, now I'm not in range.

Otherwise all good! Keep up the good work, and thanks man!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] 315602494:
my rom is aicp,after converted，i can not mount the data,but the speed is really fast
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
Weird... seems that AICP does not include F2FS entries in fstab.qcom file...

If I have time I will try to make a zip to inject updated fstab.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
BitO-K-004

Available to download here.

Notes:

Merged latest code from LineageOS (including latest CAF), including some fixes for SDCardFS support... and it seems to fix FC issue in secondary ROMs when using MultiROM (More testing and feedback needed... You can test flashing your secondary ROM and BitO-K-004 WITHOUT multiromfix.zip,etc... ).

Added updated fstab.qcom file to include F2FS support for /cache and /data partitions.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
This kernel (K-004) replaces fstab.qcom file to properly support F2FS:

https://xdaforums.com/showthread.php?p=73770020

Maybe you wanna test.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] 315602494:
I am living in school dormitory without computer,I will try if i have spare time

thanks anyway:good:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
Hi bito..ive seen your latest cooked PA rom 7.3.. And it works.why dont you create a thread for that? It seems you have several builds for that.thanks a lot
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
Latest 7.3 in testing folder has screen bright issues... It gets broken when you slide control in manual bright mode (and also some WiFi issue). I've fixed them but still not uploaded because low screen bright by default. If I get at least usable levels I will upload it a new 7.3 version and if you think it worths we can create a thread for it but I will need help to maintain it because my permanent lack of time...

Apart bright issue, it seems very very fast and smooth...

I'm also preparing BitO-K-005 (latest code merged), included by default in my latest unofficial RR, FYI.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] tidschi:
What's your personal opinion about RR and PA?

What would you prefer and why?

Another question: Are the merges of LOS also implemented to RR / PA?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
RR is LOS based (heavily modded to extend features from other ROMs), PA is CAF based (AOSP optimized for qualcom). RR is customization, PA is speed and smpothness.. I personally prefer the "keep it simple" approach, and even PA has only a few basic customization options I don't really need more... But most importamt is that when you taste PA, if you don't miss any special or exotic feature, maybe you don't wanna change... You must try it to know what I mean...

They are very different options for different public, both of them great ROMs.

Latest RR has almost all latest LOS code merged.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] tidschi:
Thanks! Like it simple, too. That's why I'm on LOS instead of RR, even it's a great ROM, too.

If you don't mind, I would appreciate if you create the PA thread for further development, as mentioned before me.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
Yes i think you can open a thread for that. A lot of testers will help you further test the rom. So far right night ive been using your PA rom and i liked it. So simple yet smooth. I loved the themed engine of PA. Great work bito...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
Ok, we will open the new thread for PA, but I'd need help to maintain the thread (update thread info, support people...).

If anyone is interested, send me a PM, please. Thx.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bennzl:
Using F2FS instead of EXT4 for data and cache twrp is slow to boot? I'm using TWRP_3.1.1-3_multirom_lithium_20170828-03

Edit: fixed by decrypting
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] tidschi:
005 still on pending?^^
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
BitO-K-005

Available here.

*Latest code merged.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] tidschi:
Seems snappier than 004. :)

006 up? Changes?

Would you recommend F2FS?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
I guess so.. I use F2FS as default...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] tidschi:
Without issues? Noticable performance?

Just backup data partition and restore after formatting to F2FS or clean install recommended?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
BitO-K-006 (KRACK fixed)

Available here.

*KRACK (WPA2 vulnerability) fixed.

PS: Sorry, I had 005 ready and met the fix just after upload.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
No issues. More performance because more efficient FS than EXT4 (less IO overload, etc...), but... tbh... Probably device global performance is more than enough to be a "big noticeable" improvement... maybe less lag... you must try to decide.

Most of improvement in OP3T over OP3 is because F2FS instead EXT4:

https://www.xda-developers.com/clea...-and-op3t-storage-speed-differences-and-f2fs/

(... maybe I might put this in OP)

To switch FSs I usually make a full backup in external USB, format F2FS and restore. You should be able to make a TWRP backup and restore but I recommend Titanium and clean install.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] jr313:
I read the op and it states that this is a minimal kernel, but I have one question. Does this kernel include sound control by chance?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
can you share a step by step procedure on how to use f2fs? sounds promising...thanks for the latest update on your kernel
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] BitOBSessiOn:
Second post:

https://xdaforums.com/showthread.php?p=73614081
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
thanks..but since im on 4/128gb model i cant try f2fs yet?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bennzl:
Use these files https://androidfilehost.com/?w=files&flid=210563
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
sorry i think im already on that twrp and multirom.im just confused with this procedure on How to convert FS's from EXT4 to F2FS " Your TWRP must support F2FS (look for my latest TWRP-MROM ) -- perha ps 4/128GB pending, WIP --"