[DISCONTINUED][KERNEL][TOCO] Experimentum - Xiaomi Mi Note 10 Lite ROMs, Kernels, Recoveries,

Code:
* I'm 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 the products you find here before flashing it!
* YOU are choosing to make these modifications.
* Your warranty will be void if you tamper with any part of your device/software.
* Same statement for XDA.
Experimentum kernel is -as the name suggests- an experiment for me.
So I don't guarantee any updates, any new features, or any fixes at all.
Features:
Compiled with the latest Proton Clang/LLVM + O3 + ThinLTO + LLD Linker + Polly
Should feel snappier
Wireguard
TCP Fast Open
Power Efficient Workqueues
300 HZ Timer Frequency
Swap is disabled (We don't need swap on a 6/8 GB device. Considering building a separate image with swap enabled though. Let me know if you'd want that.)
Bunch of file system, memory management, and scheduler related optimizations
Planned features:
Support tucana
SimpleLMK
Cpu and gpu undervolt
A better scheduler
Known issues:
Slow charging
Credits:
Thanks @Disty0, I was too lazy for pulling the toco source code from the Xiaomi repo.
Source:
https://github.com/iakindev/experimentum_kernel_toco/
Downloads:
https://github.com/iakindev/experimentum_kernel_toco/releases
LICENSE:
You are permitted to do anything with my part of the code and compiled binary. You can include it in your rom, sell it, put it in terminator robots, send it to the moon, I don't care. (As long as you comply with GPLv2 which is Linux kernel license).

Thanks a lot, we desperately need custom kernels.

Good luck!
What is swap?

Alex2017Germany said:
Good luck!
What is swap?
Click to expand...
Click to collapse
Storing part of the ram memory on the internal storage. See here for more info.

anyone tried 12.0.3 xiaomi.eu version, a10 ?

Alex2017Germany said:
Good luck!
What is swap?
Click to expand...
Click to collapse
Thank you,
It's just like @lqvd said. But devices often do this when they are low on memory. This prevents low memory killer to act when necessary sometimes and memory pressure goes up until your device becomes laggy for 2-3 seconds due to high I/O activity caused by swapping memory (this is usually the time that low memory killer is triggered).
So by disabling swap, we are making low memory killer act early and start to kill some processes.

Good job, works on Eu miui 12.1.4.0 and i have a question, does anyone else have a problem with root? filesystem is read-only, so i can't modify any system file and can't use adb as root. It says it works on userdebug builds. I found i have to change ro.debuggable from 0 to 1 in default.prop to make adb root work for disabling dm-verity and remounting system. I thought this kernel will solve this issue, but the value in default.prop is still set to 0. Any advice? I would decompile and change it, but i'm noob in these things....thanks.

After flash this kernel anything goes wrong how can i back to stock kernel

Mi note 10 lite User 😭😭 said:
After flash this kernel anything goes wrong how can i back to stock kernel
Click to expand...
Click to collapse
Backup your 'boot' partition on the 'backup' section on TWRP then flash this kernel. If anything goes wrong you can restore it on 'restore'.

Ashnwor said:
Backup your 'boot' partition on the 'backup' section on TWRP then flash this kernel. If anything goes wrong you can restore it on 'restore'.
Click to expand...
Click to collapse
Bro mi note 10 lite twrp not have a option for system file backup

Mi note 10 lite User 😭😭 said:
Bro mi note 10 lite twrp not have a option for system file backup
Click to expand...
Click to collapse
another way to get back to your kernel from your installed rom ..
STEP 1: unzip the boot.img file from the zip of the rom you flashed.
STEP 2: flash the boot.img via boatloader and you will have the initial kernel again

Thanks
jeremysz1 said:
another way to get back to your kernel from your installed rom ..
STEP 1: unzip the boot.img file from the zip of the rom you flashed.
STEP 2: flash the boot.img via boatloader and you will have the initial kernel thanks
Click to expand...
Click to collapse

jeremysz1 said:
another way to get back to your kernel from your installed rom ..
STEP 1: unzip the boot.img file from the zip of the rom you flashed.
STEP 2: flash the boot.img via boatloader and you will have the initial kernel again
Click to expand...
Click to collapse
when it says that the boot.img file should be unzipped, and then flash it through cmd with the cell phone in boatloader, and then reboot. so it is or I am wrong in the process.

Which commend i will run in cmd
Jcyeici said:
when it says that the boot.img file should be unzipped, and then flash it through cmd with the cell phone in boatloader, and then reboot. so it is or I am wrong in the proces
Click to expand...
Click to collapse

Mi note 10 lite User 😭😭 said:
Which commend i will run in cmd
Click to expand...
Click to collapse
fastboot flash boot boot.img

MiRw³b said:
fastboot flash boot boot.img
Click to expand...
Click to collapse
Thanks Buddy

Jcyeici said:
when it says that the boot.img file should be unzipped, and then flash it through cmd with the cell phone in boatloader, and then reboot. so it is or I am wrong in the process.
Click to expand...
Click to collapse
Yes.. you are right.. it's very easy.. try it!

I would like to know if you can provide me with how much real load with this kernel

Jcyeici said:
I would like to know if you can provide me with how much real load with this kernel
Click to expand...
Click to collapse
Sorry, I couldn't understand what you have said. Can you explain what do you mean?

Ashnwor said:
Sorry, I couldn't understand what you have said. Can you explain what do you mean?
Click to expand...
Click to collapse
with the kernel, at what speed of w charges the battery, since it is slow charge

Related

[Repartition][Flashable Zips] Increase GT-I9082/L Storage

Code:
#include
/*
* 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 File
* 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.
*/
Flashable Zips to increase Storage For GT-I9082
Important Notes :
This will delete all your data [ Including your ROM ] BACK THEM UP FIRST
You can't flash any stock-based ROM after re-partitioning unless you go back to stock-partition table ( see post #4 )
Instructions
1. Backup Your EFS , Read More Here
2. Copy <Partition-Size>.Zip and Ex2-Ex4 To your SD card
3. Boot to Recovery [Don't use TWRP] [ CWM 6.0.5.0 Recommened ]
4. Flash <Partition-Size>.Zip [ The Recovery Should Reboot Automatically ]
5. Flash Ex2-Ex4.Zip
6. Flash your ROM / Restore Your ROM Backup (Nandroid)
7. Flash GApps [Optional]
8. Reboot
MUST READ
1. You won't be able to install Lollipop and above ROMs after you flash 6.475GB ( But You will be able to flash Kitkat and lower normally )
2. Don't use Ex2-F2FS.zip unless you know what is F2FS [See The FAQ], And you know a Kernel / Rom That Supports it [K2wl's Cosmic4.4.4 ROM For Example], If you know a kernel then flash it after flashing the ROM immediately otherwise you will get stuck in a bootloop ( or on Samsung Galaxy grand Logo )
Downloads
5.975GB
6.175GB
6.275GB
6.375GB
Ex2-Ex4
Use this one with Caution:
6.475GB
Changelog
20-7-2015 :
Re-added Ex2-Ex4 [ Because Partitions didn't get converted correctly after the merge ]
Cleaned Ex2-Ex4 Code
18-7-2015 :
Re-named The Zips to : 5.975GB, 6.175GB, 6.275GB, 6.375GB And 6.475GB .
Merged Ex2-Ex4.Zip with 5.975GB, 6.175GB, 6.275GB, 6.375GB And 6.475GB ( Now You don't need to Flash EX2-Ex4 )
Cleaned The Code
Removed Ex2-F2FS
30-5-2015:
Named the partitions
29-5-2015:
Added Ex2-F2FS.zip
25-5-2015
Fixed Error (status 127) while Flashing Ex2-Ex4.Zip file
24-5-2015:
Added:
GT-I9082-IncreaseStorage-6.18GB.Zip
GT-I9082-IncreaseStorage-6.28GB.Zip
GT-I9082-IncreaseStorage-6.38GB.Zip
GT-I9082-IncreaseStorage-6.48GB.Zip
24-5-2015:
Initial Release
Frequently Asked Questions
1. Can i use this on Stock android ?
Yes but all your data will be deleted anyway [Including the Stock/Custom ROM] so you'll need to flash a Custom ROM after applying this file and you can't go back to stock android unless you Reset partition Table
2. I want to reset partitions table and go back to stock android
Refer to http://forum.xda-developers.com/showpost.php?p=60931021&postcount=4
3. After i flashed <Partition-Size>.Zip my phone Stuck at Galaxy grand Duos Logo
A. Remove the Battery
B. Put it in the phone again
C. Boot to recovery and Flash Ex2-Ex4 and then flash your ROM
4. I'm getting insufficient storage when i try to install Gapps, what should i do ?
Try to install a Gapps that doesn't use much Space in System Partition
5. Why are there different Files ?
Every file is different in how much it increase the Storage and every file's name is the Final Data Partition Size ( E.g. <Partition Size>.Zip )
6. Why don't i get the Right Storage Size [ E.g when i flash 6.375 i get 5.84 ]
> ROM and GApps take some space from data partition So it appears as 5.84
7. What is F2FS ?
> F2FS (Flash-Friendly File System) is a flash file system created by Kim Jaegeuk at Samsung for the Linux operating system kernel. The motive for F2FS was to build a file system that from the start takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.
More interesting improvment by f2fs described here [Must Read]
8. After i flashed Ex2-F2FS.Zip Nothing Happens, Why ?
> You Can't use any Recovery Except Phliz by @k2wl because he Modified it to flash the Zip correctly
9. Why can't i use TWRP to flash this Zip ?
> Because TWRP lacks of “parted” binary required for repartitioning.
Credits
@k2wl For His Guide
@Irwenzhao For His Zip
XDA:DevDB Information
Increase GT-I9082/L Storage, Tool/Utility for the Samsung Galaxy Grand Duos i9082
Contributors
ym123, k2wl, irwenzhao
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2015-05-29
Beta Release Date: 2015-05-24
Created 2015-05-24
Last Updated 2015-07-20
Reserved
Reserved
How to restore a bricked device or how to restore the device if something goes wrong?
FILES REQUIRED : baffin.pit https://basketbuild.com/filedl/devs?dev=rutvikrvr&dl=rutvikrvr/i9082/restore/baffin.pit
Any stock ROM (link for mk3) : https://docs.google.com/file/d/0B80jsFgYZGOhRHJoY200Zktyekk/edit
ODIN: http://forum.xda-developers.com/attachment.php?attachmentid=1751204&d=1361535462
STEP 1 : In the PIT option add .. the baffin.pit AND IN THE PDA OPTION PUT THE FIRMWARE
STEP 2 : HIT START AND ONCE ITS COMPLETE YOUR PHONE SHOULD WORK FINE ...THEN YOU CAN ROOT YOUR DEVICE AND TRY THIS PROCEDURE AGAIN
Not working.Error(status 2)
billclinton70 said:
Not working.Error(status 2)
Click to expand...
Click to collapse
Ext2-Ext4 or GT-I9082-IncreaseStorage ?
Yousef Mohamed said:
Ext2-Ext4 or GT-I9082-IncreaseStorage ?
Click to expand...
Click to collapse
GT-I9082-IncreaseStorage
billclinton70 said:
GT-I9082-IncreaseStorage
Click to expand...
Click to collapse
Did you try the recommended recovery ?
if you didn't please try it and tell me the result
Yousef Mohamed said:
Did you try the recommended recovery ?
if you didn't please try it and tell me the result
Click to expand...
Click to collapse
Yes I did.
I followed the steps 1 to 4
billclinton70 said:
Yes I did.
I followed the steps 1 to 4
Click to expand...
Click to collapse
OP Updated Sorry for making you wait
you might face error status 127 after "done" in Ex2-Ex4
don't freak out its nothing
Yousef Mohamed said:
OP Updated Sorry for making you wait
you might face error status 127 after "done" in Ex2-Ex4
don't freak out its nothing
Click to expand...
Click to collapse
It's working fine now.Increased storage to 5.48GB
Thanks
billclinton70 said:
It's working fine now.Increased storage to 5.48GB
Thanks
Click to expand...
Click to collapse
Its 5.9 originally but ROM and GAPPs take some space from data partition so it appears as 5.48 , anyway I will upload 2 new Zip files one will be 6.1 and the other will be 6.2 or bigger
Yousef Mohamed said:
Its 5.9 originally but ROM and GAPPs take some space from data partition so it appears as 5.48 , anyway I will upload 2 new Zip files one will be 6.1 and the other will be 6.2 or bigger
Click to expand...
Click to collapse
Yes ,I know that.
Will try the other two files:good:
After flashing ur 2 zip files can I restore my back from recovery??
Mehul.S said:
After flashing ur 2 zip files can I restore my back from recovery??
Click to expand...
Click to collapse
Yes you can,that's what I did
billclinton70 said:
Yes you can,that's what I did
Click to expand...
Click to collapse
Ok.. Back up means nandroid back right??
Sent from my GT-I9082 on Resurrection Remix Rom
Mehul.S said:
Ok.. Back up means nandroid back right??
Sent from my GT-I9082 on Resurrection Remix Rom
Click to expand...
Click to collapse
Yes
billclinton70 said:
Yes
Click to expand...
Click to collapse
Well thanks for the help and quick answers.. Sorry to irritate you if I did.. [emoji14]
Sent from my GT-I9082 on Resurrection Remix Rom
Mehul.S said:
Well thanks for the help and quick answers.. Sorry to irritate you if I did.. [emoji14]
Sent from my GT-I9082 on Resurrection Remix Rom
Click to expand...
Click to collapse
It's OK.No problem
Mehul.S said:
Ok.. Back up means nandroid back right??
Sent from my GT-I9082 on
Resurrection Remix Rom
Click to expand...
Click to collapse
You can Make an Nandroid
Or backup them with Titanium Backup
Making Nandroid is better for those who don't want much fuss after flashing Repartition Zip ( if they don't have an Nandroid they will need to set up their phones again and then restore apps from TB/Google Play store which take long time )

[Utility] Android boot Manager APK

Android Boot Manager (ABM), my goal is to make the procedure (Backup, Unpack, Edit, Repack and Flashe boot.img or recovery.img) so easy and accessible to all users without resorting to the command prompt , only a single click to get a quick and successful outcome at the same time .
This is the third version of the program.
Source (GITHUB SOURCE https://github.com/aToxyD/android_boot_image_manager_apk).
WHAT'S NEW
- Some optimization.
- Add new Text Editor with high syntax.
THANKS
* xiaolu, original author of boot.img tool(GITHUB SOURCE https://github.com/xiaolu/mkbootimg_tools).
* Modding.MyMind, for his heavily modification of boot.img tool.
* Tah Wei Hoon, for TextWarrior.
* Dmytro Tarianyk, for Android Floating Action Button.
* Anthony Restaino, for Grant.
IMPORTANT
- Root is only necessary for Unpacking boot patched by "superSu or Magisk" and Backup/Flash Operations, so if you want to unpack stock boot or you have your favorite flasher apk like "Rachr", if so you dont need to check "Root Access" in settings menu.
- Please uninstall any previous version of ABM before installing the newer.
I do not like people to coming here and take what they wanted and leave like a thief , at least leave a comment. . .
This work is for all, so help your self.
atoxyd said:
Android Boot Manager (ABM), my goal is to make the procedure (Backup, Unpack, Edit, Repack and Flashe boot.img or recovery.img) so easy and accessible to all users without resorting to the command prompt , only a single click to get a quick and successful outcome at the same time .
This is the second version of the program.
WHAT'S NEW
- Corrected some bugs related to compatibility with Android 6.
- Use xiaolu mkbootimg tools (GITHUB SOURCE https://github.com/xiaolu/mkbootimg_tools)
TODO
- add support to x86, mips arch.
- add support to put files to unpacked folder.
- add support to combinedboot , in Xperia device recovery ramdisk is combined with system ramdisk.
IMPORTANT
- The apk need root access to work.
- Note that make change by adding files to unpacked folder with root explorer, the owner will be root and the apk will not work, if you do this you must change the owner to ABM apk.
THANKS
* xiaolu, original author of boot.img tool(GITHUB SOURCE https://github.com/xiaolu/mkbootimg_tools).
* modding.MyMind, for his heavily modification of boot.img tool.
* @bigsupersquid for his support and motivate from the beginning.
Click to expand...
Click to collapse
mtk support?
lixia1998 said:
mtk support?
Click to expand...
Click to collapse
Certainly I am working on this , but you should help me.
New version won't install on Kit Kat
PiggyFlooper said:
New version won't install on Kit Kat
Click to expand...
Click to collapse
Okay my friend, try to uninstall the old version, and tell me.
atoxyd said:
Okay my friend, try to uninstall the old version, and tell me.
Click to expand...
Click to collapse
You were right, I'll start project tonight editing ramdisk on my LG Volt
Are extracted files accessible in file system? I can't find them
levone1 said:
Are extracted files accessible in file system? I can't find them
Click to expand...
Click to collapse
Unpacked to /data/local/ABM
PiggyFlooper said:
Unpacked to /data/local/ABM
Click to expand...
Click to collapse
But beware when you add new files to the unpacked folder , you must take into account that owner will be. root , so you must set owner to ABM apk.
atoxyd said:
But beware when you add new files to the unpacked folder , you must take into account that owner will be. root , so you must set owner to ABM apk.
Click to expand...
Click to collapse
So I tested with twrp IMG, and successful unpack to /data/local. Then I tried with my current kernel, and nothing's happening. I get a message that's not clear to me, (screenshot 2), and no output. Any ideas?
levone1 said:
So I tested with twrp IMG, and successful unpack to /data/local. Then I tried with my current kernel, and nothing's happening. I get a message that's not clear to me, (screenshot 2), and no output. Any ideas?
Click to expand...
Click to collapse
It seems that you delete the directory /data/local/ABM, So close the apk and open it again or wipe apk data and try again, if any problems tell me please :thumbup:
atoxyd said:
It seems that you delete the directory /data/local/ABM, So close the apk and open it again or wipe apk data and try again, if any problems tell me please :thumbup:
Click to expand...
Click to collapse
That was my original thought, so I wiped data and tries again, but no different... I'll just uninstall and reinstall, and probably be fine. Thanks
atoxyd said:
It seems that you delete the directory /data/local/ABM, So close the apk and open it again or wipe apk data and try again, if any problems tell me please :thumbup:
Click to expand...
Click to collapse
Same thing after reinstall. I tried with twrp file again, and works fine, but with kernel file, error msg...
It seems that the image you want to unpack it is not an android image.
atoxyd said:
It seems that the image you want to unpack it is not an android image.
Click to expand...
Click to collapse
It's the AOSP kernel from the ROM I'm currently using.
https://mega.nz/#!do51zAZS!QG5jTdpynPjNs7jrbERsdwRKjdac9tz-0SxUX6HyJsk
Try to edit devices.xml in /sdcard/ABM directory and backup kernel using ABM app, after try to unpack boo.img backed up, you find it in /sdcard/ABM/backup directory.
levone1 said:
It's the AOSP kernel from the ROM I'm currently using.
https://mega.nz/#!do51zAZS!QG5jTdpynPjNs7jrbERsdwRKjdac9tz-0SxUX6HyJsk
Click to expand...
Click to collapse
Well my friend, try to delete space in the name of image.
Linux ..........img will be
Linix_..........img
levone1 said:
It's the AOSP kernel from the ROM I'm currently using.
https://mega.nz/#!do51zAZS!QG5jTdpynPjNs7jrbERsdwRKjdac9tz-0SxUX6HyJsk
Click to expand...
Click to collapse
Well my friend, delete space in the name of the image.
Linux 3.10....img
will be
Linux_3.10....img
Well my friend @levone1, delete space in the name of the image.
Linux 3.10....img
will be
Linux_3.10....img

4/20/2017 [] 7.1.1 UPDATE [] One Plus 3 (msm 8996) [] CPU, VM, RAM, IO "Tune"

4/20/2017 [] 7.1.1 UPDATE [] One Plus 3 (msm 8996) [] CPU, VM, RAM, IO "Tune"
ORIGINAL THREAD HERE: https://forum.xda-developers.com/axon-7/development/2-15-2017-axon-7-msm-8996-cpu-vm-ram-t3557392
This mod was originally created for the Axon 7, but due to several requests, I've modified a version for the One Plus 3, please see below, and post questions or comments in the original thread above. Please state you are a One Plus 3 user if you have feedback in that thread, to consolidate user feedback and speed up response time.
Custom tuning for a device is always a necessity. "Canned" settings will get you by, but they are certainly never optimized for a specific device. In fact, Linux typically takes a general approach to find harmonic balance in default settings that will, for the most part, work in an acceptable manner for just about any device. There are a lot of resources available on this device, so we should utilize it in a manner appropriate to squeeze out as much battery life and performance as possible without sacrificing much of those outputs, don't you think? This is going to fix that for you.
Here is what is required of you before you begin:
1. Must be rooted
2. Must have the One Plus 3 OR a device running the Snapdragon 820, as this modification is not so much device specific, but hardware specific. The important aspect being the snapdragon 820 and the RAM disk size.
3. Must have write protection disabled. If the One Plus 3 requires write protection to be disabled, see the code and instruction below:
Using adb shell:
Code:
adb reboot disemmcwp
Using Linux terminal (from your phone, for example):
Code:
reboot disemmcwp
Let's begin.
Getting right to it, here's what I've done:
- modified parameters of the interactive governor, and quite extensively at that (search some of my threads if you want a little bit of a breakdown of the general approach I take)
- reconfigured input_boost parameters
- reconfigured vm parameters (again, the device has a lot of RAM resource, this will utilize it and give you a far better user experience. Basically, I've adjusted dirty_ratio, dirty_background_ratio, swappiness, and other parameters of the virtual machine.)
- disabled zRAM for 6 GB variants (RAM compression, again, not needed on this device really, this mod will save you CPU cycles and power) this will not apply to 4 GB devices, you will still have zRAM enabled.
- remapped minfree parameters for LMK (low memory killer) again only for 6 GB variants
- Tuned CFQ scheduler for flash storage devices
- Tuned "core_ctl" module (needs kernel support, I recommend freeza's latest version of BeastMode. For those wondering, yes, you can still use this mod with the stock kernel. It won't break anything.) again this will only apply to devices that support core_ctl at the kernel.
In a nutshell, that's what we're looking at here. I can guarantee you this will have a significantly positive impact on your device. Turbo time, homies.
How to install????
Easy. First, the file we are replacing is found in /system/etc... it is the "init.qcom.post_boot.sh" file - this file is basically shell scripts, which are applied at boot via this particular shell file.
All you have to do is download the file to your device, open up a file explorer (must have root capability), navigate to the /system/etc folder with said file explorer, mount your /system as RW (read write), delete your stock "init.qcom.post_boot.sh" file, and replace it with mine.
After you've successfully done this, change the new file's permissions to rw-r--r-- (0644), and then reboot!
Or, if you are brave, you can do it manually via a terminal app and get your fingers wet... if you choose to do that, see below:
Make sure the file is located on the root of your internal sdcard in /sdcard, open your terminal app (again, must have root) and type the following commands, hitting enter after each one (be careful to pay attention to the spacing).
Code:
su
Code:
cd /
Code:
mount -o remount,rw /system
Code:
cd /system/etc
Code:
rm init.qcom.post_boot.sh
Code:
cd /sdcard
Code:
mv init.qcom.post_boot.sh /system/etc
Code:
chmod 0644 /system/etc/init.qcom.post_boot.sh
I don't want credit, don't need you to give or offer donations, this is purely for the community in the spirit of Linux ideology. All I ask is for you to hit the thanks button :good:
That's pretty much it, guys. Enjoy!
DOWNLOAD
I'm willing to give it a go...
File attached ?
Downloaded
warBeard_actual said:
ORIGINAL THREAD HERE: https://forum.xda-developers.com/axon-7/development/2-15-2017-axon-7-msm-8996-cpu-vm-ram-t3557392
Hello, everyone. I would like to provide this modification for this device, as it uses the same SoC as the Axon 7, V10, HTC 10... and a few other devices.
If anybody is interested, please provide me with the STOCK init.qcom.post_boot.sh file, which is found in /system/etc and I will post the modified file and instructions on how to install it.
:good:
Click to expand...
Click to collapse
Ok see immediately improvement! Thanks !
Going to test it a couple of days!
danny b. said:
Ok see immediately improvement! Thanks !
Going to test it a couple of days!
Click to expand...
Click to collapse
I haven't posted the one for your device yet, but I am uploading now.
op updated****
Axon7
warBeard_actual said:
I haven't posted the one for your device yet, but I am uploading now.
op updated****
Click to expand...
Click to collapse
This op3 is my daily phone
The axon 7 is my girlfriend phone also mine?but tested it on the 7 sorry for the confusion. Great work going to test it tomorrow on op3
Read through your entire other thread, you have been updating pretty tirelessly. I installed it on Open Beta 14, ran cat /proc to ensure swappiness was good and it shows 1 just like the config file so the tweaks are up and running on my device. I'm running the beta with the stock kernel so I'll do some testing and see how it does with general performance over the next few days.
I don't know who asked to you share this with us, but we definitely appreciate it :good:
will test it for a couple of days and report...
Heads Up...
the adb command doesn't work for me on OB13, it reboots the phone and doesn't disable Write protection, i went around that by deleting and replacing the file from TWRP...
Thank you I could see some battery improvements.i copied that file through twrp ..Using 4g and got 2.40 hours sot still 50 percent battery remaining.phone doesn't slow down or heat up it's a must try
If i change the kernel like blue spark then its worth it ?
And orignel file is about 122 k and youe file is only 22k.
Facebooook said:
If i change the kernel like blue spark then its worth it ?
And orignel file is about 122 k and youe file is only 22k.
Click to expand...
Click to collapse
He addresses this in the original thread and it is the same size difference on the axon 7. He removed the generic options and put in modified and tuned optimizations for our specific hardware build instead of every MSM device. It definitely provides a more responsive system overall, but I haven't had it running long enough to see the battery impact on the device.
How to check if it works?
Will it work on custom ROMs (AICP etc?)
Day 2 hotter than normal. In keep on testing
Edit: back to normal
Problem was new app
Plz ignore. Problem solved
Will definitely try this thanx a bunch???
Sn0wFl4keZ said:
How to check if it works?
Will it work on custom ROMs (AICP etc?)
Click to expand...
Click to collapse
Definitely no for custom ROMs. Using AICP with latest ElementalX, the file mentioned by OP is not even present in our /system/etc.
Anyway, pretty sure that kernel devs have already tweaked most of the parameters changed by this sh script, so I don't see any need for it for anyone except stock ROM and stock kernel users.
P.S. Still, a lot of work was done by OP, it definitely deserves a big Thank you.
Nezorflame said:
Definitely no for custom ROMs. Using AICP with latest ElementalX, the file mentioned by OP is not even present in our /system/etc.
Anyway, pretty sure that kernel devs have already tweaked most of the parameters changed by this sh script, so I don't see any need for it for anyone except stock ROM and stock kernel users.
P.S. Still, a lot of work was done by OP, it definitely deserves a big Thank you.
Click to expand...
Click to collapse
Thanks for the nod. And while I can't speak to the changes implemented by kernel compilers on this forum, I would be willing to give you guys a comparison of the custom ROMs/combos you're running on your op3.
It might shed some light on whether or not you'd benefit from using it if you're using a CM type set up.
Here's what you do... Go into /sys/devices/system/cpu/cpu0/cpufreq/interactive ...
There will be a bunch of files in there for above_hispeed_freq, hispeed_load... A bunch of others. Open them up with a file explorer, snap a screen shot, post it here so I can see the values of your CM-based ROMs.
Is there I way to confirm that it is working properly because I think it is but it feels like a placebo effect. Thanks for the mod :good:
Thanks
warBeard_actual said:
Thanks for the nod. And while I can't speak to the changes implemented by kernel compilers on this forum, I would be willing to give you guys a comparison of the custom ROMs/combos you're running on your op3.
It might shed some light on whether or not you'd benefit from using it if you're using a CM type set up.
Here's what you do... Go into /sys/devices/system/cpu/cpu0/cpufreq/interactive ...
There will be a bunch of files in there for above_hispeed_freq, hispeed_load... A bunch of others. Open them up with a file explorer, snap a screen shot, post it here so I can see the values of your CM-based ROMs.
Click to expand...
Click to collapse
Here are the contents of the .../interactive folder (everything except boostpulse - got 'Permision denied' on that).
That's for the AICP (based on LOS).
Hello.. Thanks for your mod.
I'm using freedomOS OB13 with francos kernel with his app. Already did all the steps in this thread.
Now, I Just wanted to know if it's just for stock phones or will it improve for everyone?
And how to check if everything is as it should?
Thanks in advance!
---------- Post added at 10:27 AM ---------- Previous post was at 10:22 AM ----------
theduke7 said:
will test it for a couple of days and report...
Heads Up...
the adb command doesn't work for me on OB13, it reboots the phone and doesn't disable Write protection, i went around that by deleting and replacing the file from TWRP...
Click to expand...
Click to collapse
Hey.. How did you check if the write protection is still disabled?
I'm on OB13 as well and my phone just restarted after the command and I thought that's it!

Decrypt - Tweaks - & more

I thought id put together a thread with all my main tweaks and modifications to allow our device to perform better
lets start!
Decrypt
this ones an easy one - flash noverity and decrypt and you're on your way right?
i took this a step further and modified the boot.img for 4.7.6 to remove encryption and verity and added some mount flags
the flags ive added are:
noatime - noauto_da_alloc - nodiratime - data=writeback - barrier=0 - nobh
you can google to find out more information about these flags, but they all deliver top performance with minimal risk (possible risk: sudden power off may result in data loss)
How to
easy! *required /data to be formatted if you are not already decrypted
flash the modified boot image: https://drive.google.com/open?id=1WItoR1ifuCRYXwBvzBdis3hUnCftlUd-
format /data
flash supersu / magisk if you were rooted otherwise stay stock
if you want to flash a kernel you need to replace the fstab.qcom with the modified version (to do this open the kernel zip and paste over the fstab.qcom)
kernel fstab.qcom: https://drive.google.com/open?id=1XRI5EWwREnvxCVWrjY4FFu1PQs1bbUje
Disable journaling completely
my favourite tweak - disables journaling
How to
i like doing this before first boot but you can do it whenever really
ideally in TWRP
first, explorer /dev/block/
for every file you see in /dev/block you add tune2fs -O ^has_journal before it
so for example, if /dev/block has a file called sdd01
you will type: tune2fs -O ^has_journal /dev/block/sdd01 in TWRP terminal
and so on for sdd02 etc etc (or you can create a script to do this for you) it will not succeed on all blocks as some dont have this features.
DOES NOT WORK ON 5T FOR SOME REASON WILL NOT BOOT INTO OS AFTER THIS IS DONE
Misc tweaks
some other tweaks i have not tested to see if they're working on the 5T
but here they are
How to
Scripts (you can run on boot or on demand):
fstrim (requires busybox): https://drive.google.com/open?id=1MSqvVlOr59Y8y-3DiJ3Snms_rEvJWVzX
sqlite vaccum and reindex database: https://drive.google.com/open?id=1NcW33rvoInQPSx9w8RcQ__GC_5Vhv-6a
also requires this file in xbin: https://drive.google.com/open?id=1p2COCUjhiAaIjyZjV84EmvUgntp0_bdi
zipalign: https://drive.google.com/open?id=1wWyfoy6QuVCtwUUkI9TVrobNbv7Kset8
also requires this file in xbin: https://drive.google.com/open?id=1K25bOrA7eVUacHEVrHNN2At6D-Dnfgmi
mark disk as non-rotational,disable iostats, simple iomerges no hash lookup, rq_Affinity set to 2 - best for multitasking uses all cores to complete request instead of cpu 'group' : https://drive.google.com/open?id=1YJ5GHGqwl8tzxvRyEGYINPIp4zdHUgTd
Stock Boot 4-7-6
https://drive.google.com/open?id=1OQKJB9gRj2SG7WS9J-ucuUaWmqPn1gMl
Stock Boot 4-7-6 no flags, decrypt no verity
https://drive.google.com/open?id=1gXYYw7E2fzSRkh2J-1hZIS4EH34zeBPT
if anyone has any other tweaks they'd like to share ill be sure to add them in!
THIS WORK IS OPEN TO ANYONE FOR USE
FREE KNOWLEDGE FOR ALL​
Thank for the tips, could you post the boot img for 4.7.6 with out the flags being set.
freegame619 said:
Thank for the tips, could you post the boot img for 4.7.6 with out the flags being set.
Click to expand...
Click to collapse
updated OP
Hi @virtyx
I'm sorry I'm hijacking this thread but I can't find answers to my questions anywhere.
Why would you decrypt the phone ? Why is useful ? Does TWRP can't read from the sdcard partition if the phone is encrypted ? What can't you do with an encrypted phone ?
Everybody is talking about decrypting the phone but nobody says why is it for.
raptor2003 said:
Hi @virtyx
I'm sorry I'm hijacking this thread but I can't find answers to my questions anywhere.
Why would you decrypt the phone ? Why is useful ? Does TWRP can't read from the sdcard partition if the phone is encrypted ? What can't you do with an encrypted phone ?
Everybody is talking about decrypting the phone but nobody says why is it for.
Click to expand...
Click to collapse
in my experience decrypting makes the phone perform better (people will argue it makes no difference) but every time ive done it i notice improvement.
twrp is fine for reading the sdcard, decrpytion has its benefits but also drawbacks (easier to hack, etc) you can do the research yourself, but there are benchmarks showing the differences (mainly reads are affected)
if you're smart with your phone (i.e dont download suspicious stuff) you should be fine without encryption.
ive never had it on, except when i cant turn it off
raptor2003 said:
Hi @virtyx
I'm sorry I'm hijacking this thread but I can't find answers to my questions anywhere.
Why would you decrypt the phone ? Why is useful ? Does TWRP can't read from the sdcard partition if the phone is encrypted ? What can't you do with an encrypted phone ?
Everybody is talking about decrypting the phone but nobody says why is it for.
Click to expand...
Click to collapse
To run decrypted ROMs mainly. I see no other reason but im curious too
Since some ROMs can only boot if you are decrypted i guess it's that
Did a very quick lookup of that journaling business and it sounds interesting. Have you noticed much of a difference in performance on vs disabled?
virtyx said:
updated OP
Click to expand...
Click to collapse
I was mentioning about the boot img without the flags being set not the one without the encryption turned off.
freegame619 said:
I was mentioning about the boot img without the flags being set not the one without the encryption turned off.
Click to expand...
Click to collapse
oh ok sorry i thought you meant stock boot.img
updated.
showofdeth said:
Did a very quick lookup of that journaling business and it sounds interesting. Have you noticed much of a difference in performance on vs disabled?
Click to expand...
Click to collapse
definitely found better responsiveness with it disabled, and multitasking is much better
Can u help me to create script for disabling journal? I had 100 files on block folder ?
Oh and also, can I flash ur modified boot.img on 4.7.5? Because I haven't got system update to 4.7.6. it would be troubling me if I had to reflash the whole 4.7.6 rom since I had around 300 apps installed. Thanks before btw
andrizmitnick said:
Can u help me to create script for disabling journal? I had 100 files on block folder
Oh and also, can I flash ur modified boot.img on 4.7.5? Because I haven't got system update to 4.7.6. it would be troubling me if I had to reflash the whole 4.7.6 rom since I had around 300 apps installed. Thanks before btw
Click to expand...
Click to collapse
Shouldn't have a problem booting 476 on 475 but you need to test
virtyx said:
oh ok sorry i thought you meant stock boot.img
I am on OB1 oreo, encrypted, oreo compatible twrp, rooted with magisk 15.2, the boot image available here are for nougat, is it possible you can do it for oreo, or any help towards this, thanks for your help, Regards.
Click to expand...
Click to collapse
vtec303 said:
virtyx said:
oh ok sorry i thought you meant stock boot.img
I am on OB1 oreo, encrypted, oreo compatible twrp, rooted with magisk 15.2, the boot image available here are for nougat, is it possible you can do it for oreo, or any help towards this, thanks for your help, Regards.
Click to expand...
Click to collapse
when I get time I'll look for the oreo boot img
Click to expand...
Click to collapse
virtyx said:
vtec303 said:
when I get time I'll look for the oreo boot img
Click to expand...
Click to collapse
ok thanks mate, cheers.
Click to expand...
Click to collapse

October update available ! Official

Hello !
October update is available.
Lets talk about it?
Confirmed, October patch rolling! Downloading!
prannoytambe said:
Confirmed, October patch rolling! Downloading!
Click to expand...
Click to collapse
That was news yesterday?
Someone could corroborate this news .. according to the aptx function has been included "Streaming: Qualcomm aptX audio"
Souce: http://en.miui.com/thread-4235944-1-1.html
jcunltd said:
Someone could corroborate this news .. according to the aptx function has been included "Streaming: Qualcomm aptX audio"
Souce: http://en.miui.com/thread-4235944-1-1.html
Click to expand...
Click to collapse
I can confirm this:
aptx and aptX HD are now working with my MI A2 and Sony WH-1000XM2
Letitflow said:
I can confirm this:
aptx and aptX HD are now working with my MI A2 and Sony WH-1000XM2
Click to expand...
Click to collapse
anyone knows why the update size is so much smaller than the beta testers got? thanks
installations fails on my phone.
Voniaak said:
Hello !
October update is available.
Lets talk about it?
Click to expand...
Click to collapse
I noticed, when scrolling, I rarely get accidental taps. I used to get them a lot with September update.
bavmouse said:
installations fails on my phone.
Click to expand...
Click to collapse
Did you restore stock boot image and not modify the system partition?
Benjamin_L said:
Did you restore stock boot image and not modify the system partition?
Click to expand...
Click to collapse
that's possible. how can i modify ? thanks.
bavmouse said:
that's possible. how can i modify ? thanks.
Click to expand...
Click to collapse
First I need to know what you did? did you flash the patched boot image? Other apps that modify system like adblock? Did you modify build.prop?
Benjamin_L said:
First I need to know what you did? did you flash the patched boot image? Other apps that modify system like adblock? Did you modify build.prop?
Click to expand...
Click to collapse
i bricked my device and restored it with fastboot flash.
CPU frequency stuck at 100% bug still exist. Work fine for 10 mins after reboot, after that stuck at 100% again.
yes. I can confirm, that after using FP sensor, CPU stuck at 100% load. :/
Why do we need to repeat this in this thread. Everything has already been mentioned before in other threads.. Doesn't help when someone is looking for information
Benjamin_L said:
First I need to know what you did? did you flash the patched boot image? Other apps that modify system like adblock? Did you modify build.prop?
Click to expand...
Click to collapse
Installation also fails in my phone
The things I reverted are:
Changes made by adblock
Magisk mods: emojiOne and Mi A2 Camera app (I thought it was an enhanced version)
I flashed the original boot.img
But after these steps the installation doesn't work.
Other root apps I use:
Greenify, but not for system apps
Uptodown, but it has root privileges denied always
SD Maid. I think I didn't delete anything but maybe I compacted some databases
Any ideas? Is there any way to get more detailed info about the installation error?
Thanks!
ccbz said:
Installation also fails in my phone
The things I reverted are:
Changes made by adblock
Magisk mods: emojiOne and Mi A2 Camera app (I thought it was an enhanced version)
I flashed the original boot.img
But after these steps the installation doesn't work.
Other root apps I use:
Greenify, but not for system apps
Uptodown, but it has root privileges denied always
SD Maid. I think I didn't delete anything but maybe I compacted some databases
Any ideas? Is there any way to get more detailed info about the installation error?
Thanks!
Click to expand...
Click to collapse
Before trying this, I suggest you to backup your files.
Verify the system version in Settings > System > About the device > Version number and download the same version installed in your device:
V9.6.10.0.ODIMIFE
V9.6.13.0.ODIMIFE
V9.6.13.0.ODIMIFE
V9.6.14.0.ODIMIFE
V9.6.15.0.ODIMIFE
Unzip the package (7zip works perfectly to this job) and copy the files boot.img and system.img
1) Copy system.img and boot.img into adb folder
2) go to "settings > system > developer ... > USB deployment and enable it
3) plug you device on your computer, turn it off and turn it on again while holding power + volume down until your screen shows the Xiaomi bunny and "Fastboot".
4) in Fastboot, type "fastboot devices" and make sure your device is listed.
5) in Fastboot, type "fastboot flash system system.img" (without quotes) and wait it finishes.
6) in Fastboot, type "fastboot flash boot_b boot.img" (without quotes) and wait it finishes.
7) in Fastboot, type "fastboot flash boot_a boot.img" (without quotes) and wait it finishes.
8) in Fastboot, type "fastboot reboot" and unplug your device.
This works for me, maybe works for you.
ccbz said:
Installation also fails in my phone
The things I reverted are:
Changes made by adblock
Magisk mods: emojiOne and Mi A2 Camera app (I thought it was an enhanced version)
I flashed the original boot.img
But after these steps the installation doesn't work.
Other root apps I use:
Greenify, but not for system apps
Uptodown, but it has root privileges denied always
SD Maid. I think I didn't delete anything but maybe I compacted some databases
Any ideas? Is there any way to get more detailed info about the installation error?
Thanks!
Click to expand...
Click to collapse
Mounting system makes otas impossible already so follow the instructions before my post
New update today...
After yesterday an update was delivered, I am now offered a new update. The installation is now running. I noticed after yesterday's update that there were significant "memory / processing delays", which had previously not occurred on my device. The update is 203 mb, yesterday only 103.5mb were delivered.

Categories

Resources