[NX563J+NX595J][9.0][EAS] kernel(unofficial) - ZTE Nubia Z17 ROMs, Kernels, Recoveries, & Other

[NX563J+NX595J][9.0][]EAS kernel(unofficial)
this kernel base on https://github.com/android-linux-stable/msm-4.4
import nubia driver and small part of nubia modification
Features
default fiops i/o scheduler
default EAS cpu scheduler
nx563j:charging maximum current modify to 4A(The measured official charging head can reach 3800+mA)
nx595j:charging maximum current modify to 4.5A
Built in qcacld-3.0
Anti-missing width modification (default 20)
20 is the width (px) size to be modified
Code:
echo 20 > /sys/class/input/input1/anti_missing_dp
build.prop(If adb is not available)
Code:
sys.usb.ffs.aio_compat=1
source:https://gitlab.com/xiayesuifeng/android_kernel_nubia_msm8998
z17(nx563j)
TARGET_KERNEL_CONFIG use xiayesuifeng_nx563j_defconfig
z17s(nx595j)
TARGET_KERNEL_CONFIG use xiayesuifeng_nx595j_defconfig
flash patch
z17:
https://mega.nz/#!flQjBIKD!os080WurqI_Y4i_zG1EtjfMWUeVJK5XqrL4Oo-hjlg8
z17s:
https://mega.nz/#!K5QBUYLa!xJBLFZIQV0yPS922zEtUksrJdZx1ZJwQqmzV4siawNw
sign boot
https://forum.xda-developers.com/an...signing-boot-images-android-verified-t3600606
edit /vendor/bin/init.qcom.post_boot.sh
remove this
Code:
# online CPU0
echo 1 > /sys/devices/system/cpu/cpu0/online
# configure governor settings for little cluster
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif
echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay
echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
echo 20000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate
echo 1171200 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy
echo "83 1804800:95" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads
echo 19000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time
echo 79000 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis
echo 518400 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif
# online CPU4
echo 1 > /sys/devices/system/cpu/cpu4/online
# configure governor settings for big cluster
echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load
echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif
echo 19000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay
echo 90 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load
echo 20000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/timer_rate
echo 1536000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/hispeed_freq
echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/io_is_busy
echo "83 1939200:90 2016000:95" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/target_loads
echo 19000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/min_sample_time
echo 79000 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/max_freq_hysteresis
echo 806400 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/ignore_hispeed_on_notif

aljoscha81 said:
How to download ?
Can you make a flashable zip. like you done with caf kernel?
Click to expand...
Click to collapse
I will send it when I have time in a few days, but now you can only compile it yourself.

niu bi :good:

any help.... my device is z17s, how to flash , error 1 in twrp, unsupported device

Jeff88malaquias said:
any help.... my device is z17s, how to flash , error 1 in twrp, unsupported device
Click to expand...
Click to collapse
Send twrp error screenshot

xiayesuifeng said:
Send twrp error screenshot
Click to expand...
Click to collapse
Sorry, I want to upload a screenshot, but it failed.

Hi, could you make a somehow detail tutorial?
Is this kernel compatible with, and what's the order should I flash it with 1. NFound treble base pack, 2. Havoc os gsi, 3. Opengapps and 4. Magisk?
Should this been flashed after all those things? What files should I modifying after flash the kernel?

xiayesuifeng said:
Send twrp error screenshot
Click to expand...
Click to collapse

xiayesuifeng said:
I will send it when I have time in a few days, but now you can only compile it yourself.
Click to expand...
Click to collapse
Hello i have delete all post i have made in this thread to prevent confusing cause i found out that most of the problems i had was caused by the rom i use but i have a question does the kernel have f2fs support?
Cause mokee 90 uses this file system i think and if the kernel can not handle f2fs is it possible to build it in?
Would be great cause i use the vendor since april 20th build cause since this build treble support is back on mokee 90 rom and it is using f2fs it is a massive speed increase but i miss the awesome fast charge of your kernel so much
Edit:i found out f2fs is also remember .... recovery thing but another question i found a configuration your kernel run bugfree ...but one issue
Notification of led any idea ?
Notice before but anyway your source is updated will you compile a newer file to download or will it wrong?

aljoscha81 said:
Hello i have delete all post i have made in this thread to prevent confusing cause i found out that most of the problems i had was caused by the rom i use but i have a question does the kernel have f2fs support?
Cause mokee 90 uses this file system i think and if the kernel can not handle f2fs is it possible to build it in?
Would be great cause i use the vendor since april 20th build cause since this build treble support is back on mokee 90 rom and it is using f2fs it is a massive speed increase but i miss the awesome fast charge of your kernel so much
Click to expand...
Click to collapse
Could you share the steps you took to install treble gsi and most recent vendor? I'm curious and willing to give it a try...

MrBlubke said:
Could you share the steps you took to install treble gsi and most recent vendor? I'm curious and willing to give it a try...
Click to expand...
Click to collapse
First install mokee twrp
2 wipe everything otherwise you will get no f2fs formate data factory reset etc.
3 install mokee 90 and before boot do root
4 boot
5 same as 2
6 install gsi
7boot if it dosent do wipe cache and dalvic and try again
8 factory reset and install gapps
9 now patch up the vendor as needed
10 done:good:

aljoscha81 said:
First install mokee twrp
2 wipe everything otherwise you will get no f2fs formate data factory reset etc.
3 install mokee 90 and before boot do root
4 boot
5 same as 2
6 install gsi
7boot if it dosent do wipe cache and dalvic and try again
8 factory reset and install gapps
9 now patch up the vendor as needed
10 done:good:
Click to expand...
Click to collapse
So have you extracted the 610 vendor yourself? If so could you share? If not, where can I download the flashable vendor? Which gsi's have you tried, and which one is your prefered one?

MrBlubke said:
So have you extracted the 610 vendor yourself? If so could you share? If not, where can I download the flashable vendor? Which gsi's have you tried, and which one is your prefered one?
Click to expand...
Click to collapse
No i use mokee 90 vendor

aljoscha81 said:
3 install mokee 90 and before boot do root
Click to expand...
Click to collapse
when you say root, that's installing magisk?

MrBlubke said:
when you say root, that's installing magisk?
Click to expand...
Click to collapse
I answered you i am sure but can't see that ... for reading here in thread ....
For the question root... Mean yes install magisk su .. you know some virtual engines have to use this power of control

aljoscha81 said:
Hello i have delete all post i have made in this thread to prevent confusing cause i found out that most of the problems i had was caused by the rom i use but i have a question does the kernel have f2fs support?
Cause mokee 90 uses this file system i think and if the kernel can not handle f2fs is it possible to build it in?
Would be great cause i use the vendor since april 20th build cause since this build treble support is back on mokee 90 rom and it is using f2fs it is a massive speed increase but i miss the awesome fast charge of your kernel so much
Edit:i found out f2fs is also remember .... recovery thing but another question i found a configuration your kernel run bugfree ...but one issue
Notification of led any idea ?
Notice before but anyway your source is updated will you compile a newer file to download or will it wrong?
Click to expand...
Click to collapse
My kernel support for f2fs is theoretically no problem, because my cache partition is now f2fs, and there is no problem.

xiayesuifeng said:
My kernel support for f2fs is theoretically no problem, because my cache partition is now f2fs, and there is no problem.
Click to expand...
Click to collapse
Yes i think also it has support for the file system i use mokee 90 rom as base and as it install it formates every partion as f2fs but some users report that a app they use to check partition info got all partitions shown as ext4 is the file system but i also don't think the app showes right

aljoscha81 said:
Yes i think also it has support for the file system i use mokee 90 rom as base and as it install it formates every partion as f2fs but some users report that a app they use to check partition info got all partitions shown as ext4 is the file system but i also don't think the app showes right
Click to expand...
Click to collapse
Have you tried to see what the app shows for you?

MrBlubke said:
Have you tried to see what the app shows for you?
Click to expand...
Click to collapse
Yes for me the same it shows ext4 but i dont think it is right i have fead long time ago that ufs memory cant use this file system or it is bad for the memory but i dont think it is right the new smartphone from zte or nubia i have read a few days ago also use this file system and i dont think that they will have build in emmc 5.1 memory

aljoscha81 said:
Yes i think also it has support for the file system i use mokee 90 rom as base and as it install it formates every partion as f2fs but some users report that a app they use to check partition info got all partitions shown as ext4 is the file system but i also don't think the app showes right
Click to expand...
Click to collapse
can you modify the fstab?

Related

[6.0] Omni nightlies for Find 7a/7s

Download:
http://dl.omnirom.org/find7
Kernel source:
https://github.com/omnirom/android_kernel_oppo_msm8974
Google space:
https://goo.gl/spaces/TdBgFFTWcbqDHNRYA
XDA:DevDB Information
Omni nightlies for Find 7a/7s, ROM for the Oppo Find 7
Contributors
maxwen
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
Version Information
Status: Nightly
Current Stable Version: 6.0
Created 2015-10-30
Last Updated 2016-02-04
Oppo Firmware package 2.1.5
You must run firmware 2.1.5 BEFORE flashing this ROM
If you come from ColorOS 2.1.5 you dont need to to anything else
flash this in recovery
https://drive.google.com/file/d/0B4vRAhHheUkxeUZuSFR3WGVxOE0/view?usp=sharing
md5sum f60e482f29cd238d9e2a5b5bcf682139
3rd party camera apps
For better camera experience using oppo camera apk is possible e. g.
http://www.xda-developers.com/coloros-camera-on-opo-great-port-great-option/
http://forum.xda-developers.com/oneplus-one/themes-apps/port-coloros-camera-cm11s-t3030369
BUT using a non standard camera app is not supported in any way so if you have issues you are on your own.
Known issues
-NFC beam not working
FAQ
How to get root?
Install SuperSU >=2.68 from recovery http://forum.xda-developers.com/apps/supersu
I cant access my internal storage after converting to LVM?
Run the following command in a terminal (you need to install SuperSU before)
Code:
su
restorecon -RF /data/media/0
Is LVM supported?
Yes - actually at the moment only LVM is tested
Non-LVM setup might work but is untested from me
How to setup LVM?
Here is one tutorial http://forum.xda-developers.com/showpost.php?p=64266122&postcount=2035
Backup link for setuplvm https://drive.google.com/file/d/0B4vRAhHheUkxLTZRMlhaRXdKS0U/view?usp=sharing
Can I upgrade from 5 to 6 by dirty flashing?
No - 6 must be flashed clean with proper gapps
I have problems with xposed,viper4android - can you help?
GTFO
Why is encrypt phone is not working?
Most prolly reason is that the /data partiton is missing the needed footer to store encryption keys
If that is the case you can run a resize partiton in TWRP
Use Wipe -> Advanced Wipe -> check Data -> press "Repair or Change ..." -> press Resize
This will resize the partition and free that little space
This is in general save and can be done without loosing data
BUT just to be sure make a backup of ALL in /data - including /sdcard
Does this ROM support Android Pay
Nope
Does this ROM support f2fs
Nope - If for whatever reason you have f2fs partitions you must convert them to ext4 BEFORE flashing
How to encrypt the device
Best do after factory reset before flashing ANYTHING - especially before xposed and SuperSU
gapps:
http://download.dirtyunicorns.com/files/gapps/banks_gapps/
Wow!!! Exciting!!!!!
I can't wait!
wow i will waiting you
..
You're on fire.
Gapps downloaded, now waiting for the best part
In case you guys didn't notice @maxwen already uploaded a test build on 2nd post. Downloading now.
Minor bug. Distance between battery and network indicator.
Edit: new bug encounter. When switching from front camera to back it FC.
Thanks Maxwen, this is impressively stable for an early test! A lot of force closes start when adding GAPPS, but some of these can be mitigated by granting all permissions to them in Settings > Apps.
Pojiku said:
Thanks Maxwen, this is impressively stable for an early test! A lot of force closes start when adding GAPPS, but some of these can be mitigated by granting all permissions to them in Settings > Apps.
Click to expand...
Click to collapse
I didnt face any fc for any gapps. Do you use gapps provided in 2nd post?
Right now im exploring it and notice battery optimization is not there yet? Whenever i enable it for all apps it will revert back.
Oh ****... until this afternoon I can't install it
javier.pc said:
Oh ****... until this afternoon I can't install it
Click to expand...
Click to collapse
Why? For flashaholic this is something new and fun.
why am i getting different colors?
Bookmarking this
Is it LVM compatible ?
StormTrooper89 said:
Edit: new bug encounter. When switching from front camera to back it FC.
Click to expand...
Click to collapse
known: it also FCs sometimes when you exit camera
benoita74 said:
Bookmarking this
Is it LVM compatible ?
Click to expand...
Click to collapse
ONLY lvm since I wont test anything else
Pojiku said:
Thanks Maxwen, this is impressively stable for an early test! A lot of force closes start when adding GAPPS, but some of these can be mitigated by granting all permissions to them in Settings > Apps.
Click to expand...
Click to collapse
gapps are a PITA with 6
make sure you do a factory reset before flashing gapps
StormTrooper89 said:
Right now im exploring it and notice battery optimization is not there yet? Whenever i enable it for all apps it will revert back.
Click to expand...
Click to collapse
details please
i can switch that voodoo setting on and off

[OUTDATED] [RECOVERY][F2FS][H815/H811] UNOFFICIAL F2FS-ready TWRP +α

Code:
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in these MODS 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.
F2FS-ready TWRP info: post #2
minamo-g4-kernel(outdated, no update) info:
note: all minamo-g4-kernel's features are included in LlamaSweet Kernel
https://github.com/genesixx/LlamaSweet-msm8992/commits/cm-13.0?author=lindwurm
minamo-g4-kernel (OUTDATED, NO UPDATE)
Source
https://github.com/mordiford/minamo-g4-kernel
Features
https://github.com/mordiford/minamo-g4-kernel/wiki#features
Downloads
https://github.com/mordiford/minamo-g4-kernel/wiki/Download
Thanks
@genesixxbf3 - minamo-g4-kernel is based on https://github.com/genesixx/Llamasweet-msm8992 R4 release
CyanogenMod devs - kernel's update cherry-picked from https://github.com/CyanogenMod/android_kernel_lge_msm8992
@alucard_24 - imported alucard CPU Governor
UNOFFCIAL F2FS-ready TWRP for LG G4 (H815/H811)
1. What is F2FS?
F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux 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.
from: https://en.wikipedia.org/wiki/F2FS
Click to expand...
Click to collapse
It has higher random-write performance than others.
2. Download F2FS-Ready TWRP
Official TWRP can't mount f2fs. please use my TWRP.
H815: https://www.androidfilehost.com/?fid=24549084345926305
H811: https://www.androidfilehost.com/?fid=24566382913912854
3. How to use F2FS on Your G4!
Note: Change Data Partition to F2FS will DELETE ALL DATA include Internal Storage!!
and you can't mount /system as F2FS. ONLY /data and /cache are supported.
Reboot to TWRP,
Wipe -> Advanced Wipe -> Data, [Repair or Change File System] -> Change File System -> F2FS -> (Swipe to Change)
Wipe -> Advanced Wipe -> Cache, [Repair or Change File System] -> Change File System -> F2FS -> (Swipe to Change)
Reboot -> Recovery
Wipe -> Advanced Wipe -> System -> (Swipe to Wipe)
Install -> 1. ROM, 2. minamo-g4-kernel, 3. GApps, 4. extra -> Reboot system
I recommend clean install if you change File System.
4. Known Issues
plz tell me
5. FAQ
later
6. Thanks
TeamWin
omnirom
jakew02
codeworkx
7. Codes
https://github.com/mordiford-old/omni_device_lge_h815
https://github.com/mordiford-old/omni_device_lge_g4-common
https://github.com/mordiford-old/omni_kernel_lge_msm8992
@1indwurm
This is awesome! I'm going to be trying this some time this weekend probably, after a few people have reviewed the kernel. I'm especially glad that someone has taken over genesixxbf3's kernel- thank you!
Also, have you experienced any issues with the new F2FS file system? I've heard many good things about it, but this phone is my daily driver and I want it to be as stable as possible/
This kernel provides awesome battery life! I'm so amazed about it. Unplugged my phone 14 hours ago and still have 80% battery (I gotta admit I didn't use it much today). This is crazy!
Amazing! :highfive:
Sent from my LG-H815 using XDA Labs
1indwurm said:
Optional: Use F2FS on your G4
Official TWRP can't mount f2fs. please use my TWRP.
https://www.androidfilehost.com/?fid=24549084345926305
Note: Change Data Partition to F2FS will DELETE ALL DATA include Internal Storage!!
Reboot to TWRP,
Wipe -> Advanced Wipe -> Data, [Repair or Change File System] -> Change File System -> F2FS -> (Swipe to Change)
Wipe -> Advanced Wipe -> Cache, [Repair or Change File System] -> Change File System -> F2FS -> (Swipe to Change)
Reboot -> Recovery
Wipe -> Advanced Wipe -> System -> (Swipe to Wipe)
Install -> 1. ROM, 2. minamo-g4-kernel, 3. GApps, 4. extra -> Reboot system
I recommend clean install if you change File System.
Click to expand...
Click to collapse
are you gonna make a twrp with f2fs for the h811
Hi guys, I want to use this F2fs because it made wonders in my OPO so I think It can do the same here.
So my question is, what rom can be used with this kernel?
Thank you all
vlc_marcos said:
Hi guys, I want to use this F2fs because it made wonders in my OPO so I think It can do the same here.
So my question is, what rom can be used with this kernel?
Thank you all
Click to expand...
Click to collapse
Use the Resurrection Remix Or CM
vlc_marcos said:
Hi guys, I want to use this F2fs because it made wonders in my OPO so I think It can do the same here.
So my question is, what rom can be used with this kernel?
Thank you all
Click to expand...
Click to collapse
I'm using tipsy ROM with it
Follow_and_Feel said:
This kernel provides awesome battery life! I'm so amazed about it. Unplugged my phone 14 hours ago and still have 80% battery (I gotta admit I didn't use it much today). This is crazy!
Amazing! :highfive:
Sent from my LG-H815 using XDA Labs
Click to expand...
Click to collapse
What Governor you using?
Spaceboy60 said:
What Governor you using?
Click to expand...
Click to collapse
Intelliactive when the screen is on and Zzmoove when the screen is turned off
Sent from my LG-H815 using XDA Labs
Follow_and_Feel said:
Intelliactive when the screen is on and Zzmoove when the screen is turned off
Sent from my LG-H815 using XDA Labs
Click to expand...
Click to collapse
Ok, thanks. What program are you using to set that cause kernel aduitor doesn't have screen on /off settings I don't think.
gillim74 said:
I'm using tipsy ROM with it
Click to expand...
Click to collapse
What the hell is tipsy?
Follow_and_Feel said:
Intelliactive when the screen is on and Zzmoove when the screen is turned off
Sent from my LG-H815 using XDA Labs
Click to expand...
Click to collapse
How can I set thi? With tasker? And if yes, how to do that with tasker?
RogerF81 said:
What the hell is tipsy?
How can I set thi? With tasker? And if yes, how to do that with tasker?
Click to expand...
Click to collapse
Its a ROM by ground zero projects.which version g4 do you have
gillim74 said:
Its a ROM by ground zero projects.which version g4 do you have
Click to expand...
Click to collapse
Ah thank you. I just googled it. It's only for h811?? I have the h815 version. How many ROMs are out there which I don't know? I have the impression that on xda there are only 50% of ROMs listed...:crying:
I am a little bit confused. Can i flash this kernel over CandySix?
dd0s said:
I am a little bit confused. Can i flash this kernel over CandySix?
Click to expand...
Click to collapse
You should be able too
is the heating issue solved ? when i installed your first release my device gets mega hot while charging
Spaceboy60 said:
Ok, thanks. What program are you using to set that cause kernel aduitor doesn't have screen on /off settings I don't think.
Click to expand...
Click to collapse
No it hasn't. A simple profile in the app "tasker" is triggered when the screen is on/off and changes the governor accordingly
Is there or will there be an H811 TWRP to change file systems?
castkel said:
Is there or will there be an H811 TWRP to change file systems?
Click to expand...
Click to collapse
I asked that too but got no reply

[UNOFFICIAL][13.0][6.0.1][2017-04-18] LineageOS 13.0 for Xiaomi MiPad (mocha)

Here is one more ROM for Mi PAD. This one I consider as stable daily driver.
What working:
audio
sensors (autorotation)
wifi
3D graphics
hardware accelerated video playback
camera
SD card and USB mounting
gapps
Known problems:
not enough space to install gapps in /system
microphone doesnt work
you have to merge 2 system partitions in one to install 2017-02-25 and newer builds
2017-02-21
Initial release
download: lineage-13.0-20170221-UNOFFICIAL-mocha.zip
2017-02-25
changelog:
whole new audio based on opensource tinyhal (microphone should work both builtin and headset). Please report any regression.
new libwvm means widevine drm should work now
big system partition (1.2Gb). You have to install it on merged system1 and system2, if you have already merged just install.
SD card mount fix included (previosly avaliable as boot.img)
Wifi uses unique device MAC addres from /BKB partition
cleaned some useless blobs like powerservice daemon
download:lineage-13.0-20170225-UNOFFICIAL-mocha.zip
2017-03-07
changelog::
Added settings for enable Navigation bar ( check in Settings -> Buttons). Hardware keys disables when nav bar switched on.
Vibration intensity setting (check in Settings -> Sound)
Settings for notification and battery LED (color, intensity)
Settings for buttons backlight intensity
Added ffmpeg codecs for format unsupported by hardware or google, like flac
Download: lineage-13.0-20170307-UNOFFICIAL-mocha.zip
2017-04-18
battery animation on offline charging
userspace cpquiet governor by default (resolves all lags in video)
updated hwui props in build.prop (improve screen stability, less black pixels in chrome)
bigger shader cache (seems to little improved graphic perfomance)
updated wifi driver and firmware
hope finally resolved wifi disconnection issue by disabling IpReachability monitor
Download: lineage-13.0-20170418-UNOFFICIAL-mocha.zip
Fix for 2017-04-18 build
fixed boot.imgboot-20170420.img
MAC address loading fixed
Resolved issue with wifi Switch On
Added hardboot exec patch for work as main rom for MultiROM
gihub source code links:
Device tree (cm-13.0 branch)
Kernel (cm-13.0 branch)
Vendor blobs (cm-13.0 branch)
Thanks for author of this repository for building custom webview.apk manumanfred/android_external_chromium-webview
Merge partitions
Mi Pad by default has 2 /syetm partition, each 640Mb. It is not enogh to install LineageOS and Gapps. To install 2017-02-25 build and newer you have to merge 2 system partition in one 1.2Gb system partition. To dod this follow instruction http://en.miui.com/thread-118294-1-1.html
Root Access
If you want root acces flash SuperSU zip https://forum.xda-developers.com/apps/supersu
XDA:DevDB Information
LineageOS 13.0 for Xiaomi MiPad (mocha), ROM for the Xiaomi Mi Pad
Contributors
highwaystar_ru
Source Code: https://github.com/HighwayStar/android_device_xiaomi_mocha
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod, LineageOS
Version Information
Status: Beta
Created 2017-02-21
Last Updated 2017-04-20
Reserved
so no way to flash gapps via twrp ? how to do this merge thing ? pls make a tutorial...
love this rom, better than cm12.1.
smooth as butter! highly recommended!
thank you highwaystar
OoSTARTERoO said:
love this rom, better than cm12.1.
smooth as butter! highly recommended!
thank you highwaystar
Click to expand...
Click to collapse
Any bugs u encountered so far. Video playback/some lags/restarts?
I have no words to describe except what @OoSTARTERoO said.
I am starting to really love my mipad.
Kudos to @highwaystar_ru
Camera is working fine.
I will check with Antutu after some time.
Anyway, I cannot seem to use sd card as internal storage .. is this a bug ?
@highwaystar_ru omg i cant believe this ur literally One Man Army
Thanks a lot Highwaystar.. Real thanks for keeping the MiPad alive.
darryl1234 said:
@highwaystar_ru omg i cant believe this ur literally One Man Army
Click to expand...
Click to collapse
HighwayStar is one-man army:good:
hell1134 said:
I have no words to describe except what @OoSTARTERoO said.
I am starting to really love my mipad.
Kudos to @highwaystar_ru
Camera is working fine.
I will check with Antutu after some time.
Anyway, I cannot seem to use sd card as internal storage .. is this a bug ?
Click to expand...
Click to collapse
This from myfriend
AnKiT ([email protected]):For all who were searching for Extsdcard... its in /mnt/media_rw/9016-4EF8Go to the directory and from options add shortcut to Desktop.. and access External Sdcard from desktop... ?
Click to expand...
Click to collapse
thanks @highwaystar_ru!!! You are the best one!!
VALRCIEL said:
This from myfriend
Click to expand...
Click to collapse
I think I mis-explained. I can access SD card from file manager, but, I cannot set it as Internal Storage - adoptable storage feature of MM roms.
---------- Post added at 08:51 PM ---------- Previous post was at 08:33 PM ----------
OK ... found a solution to gapps installation.
1) Install the rom
2) Boot
3) Reboot to recovery
4) Backup the ROM in SD Card (internal will be erased)
5) Wipe - advanced - select all except SD card & OTG
6) Reboot to recovery
7) Restore the backup from SD card
8) Reboot to recovery (again)
9) Install gapps (I use pico)
10) Reboot.
I used this ROM and almost everything is OK except HW decoding in MX Player / VLC.
There're some lags when I watch movie with MX / VLC.
Otherwise, very good ROM, thx.
Here's an easier and quicker way to install gapps:
-> Repartition /system
-> Install the ROM
-> From the TWRP main menu, select Wipe -> Select Advanced -> Select the system partition and click on Repair or change file system
-> Click on resize
-> After the process is done, flash gapps.
This would mean no waiting for twrp to backup and restore the entire partition. Fair warning though, I have tested this on one of my other devices, not the Mi Pad. Though I am pretty sure it'll work, it'll help if someone tried it and reported so that it can be added to the OP.
As is said before. saver and god of mipad(MOCHA) @highwaystar_ru.
Is this really good for daily use?
@highwaystar_ru can't we install gapps pico version without merging the memory.
Navin9 said:
@highwaystar_ru can't we install gapps pico version without merging the memory.
Click to expand...
Click to collapse
Nope. Partition is too small and free space after installing ROM is about 73mb. Pico gapps requires about 140 mb.
(Guide) How to merge system1 & system2. And how to flash CM13.
1. Download the bin file from : here
2. Place it in /sbin folder in root using any root file explorer, set permissions 755 (check image in attachments)
3. Download Repartition zip from : here
4. Reboot into recovery.
5. Flash Repartition zip (downloaded in step 3). After flashing this recovery will reboot automatically.
6. Now Wipe everything except internal and external storage. (Create backup of your current ROM just in case, if you want.)
7. Flash latest Lineage OS 13 zip.
8. Go to Wipe > Advance > Select 'System' > Repair and Resize Filesystem > Resize file system.
9. Go back and flash gapps zip + superuser zip.
10. Reboot now
Guys you won't believe it this ROM is amazing. This is smoothest ROM on mi pad . I'm sharing some screen shots . Thisron worth a shot folks.

[kernel][u/b] jaguar kernel for custom roms

This is an attempt to make kernel from my Jaguar rom work on most other custom roms.
1. Nightmare and Impulse governors
2. Overclock to 2304 and 1766 (big/little) is available: settings will hold if set in Kernel Adiutor
3. Voltage control
4. Zenmode Hotplug
5. Intellithermal
6. Seccomp (secure computing)
7. Yama security
8. Several Pax security features
9. Several Grsecurity features
10. Default entropy bumped up to 1024 read and 896 write
Warning. During installation, a script will unpack your existent kernel to replace zImage , install appropriate modules to your system and preserve your ramdisk files. Data partition won't be touched. Keep in mind, there is still a chance that kernel wouldn't work with your rom., because Jaguar has a heavily modified bionic, which also requires kernel changes. That's why I call this an attempt. Forget it: kernel works fine on several roms, as confirmed by users. But do backup everything and be ready to reflash your existing rom. Again, data from your rom won't be touched...
Instructions: Just flash the zip in TWRP
Credit: Anykernel team, as well as those who contributed to regular kernel sources, which is the whole world And special credit to DD3Boch, as I have used a part of his script, which he took from anykernel and modified. And I have modified his script. I have removed that useless backup language. So, there is nothing here related to DD3boh.
__________________________________________________________________________________________________________
December 7. Kernel updated to include December security patches and Westwood tcp algorithm.
Download December release: https://forum.xda-developers.com/devdb/project/dl/?id=27585
November 6. Kernel updated to include November security patches, as well as the latest Code Aurora security patches. Also, you will probably have offline charging working with percentage showing (maybe), but not the animation.
Download Jaguar Kernel November 6: https://forum.xda-developers.com/devdb/project/dl/?id=27209
October 3. Kernel updated to include October security patches plus more. See github for commits.
Download Jaguar Kernel October 3: https://forum.xda-developers.com/devdb/project/dl/?id=26868
September 15. Kernel updated to include September security patches, fixed leds, increase vibration and more
Download Jaguar Kernel September 15: https://www.androidfilehost.com/?fid=817550096634799803
________________________________________________________________________________________
August 14. Want to have cpu voltage control feature on any custom rom? Here is Jaguar Kernel with it. Just flash in TWRP, apply Magisk/Supersu and reboot. Be careful, as undervolting could result in instability and even random reboots.
Download Jaguar Kernel with voltage control Aug 14: https://www.androidfilehost.com/?fid=673368273298978710
__________________________________________________________________________________________
August 13: New release which includes new camera driver, as well as August security patches. No EAS...
Download August 13 release: https://forum.xda-developers.com/devdb/project/dl/?id=26145
____________________________________________________________________________________________________
July 22: New release with vibration max increased:
Download: https://forum.xda-developers.com/devdb/project/dl/?id=25756
________________________________________________________________________________________________________
Download:https://forum.xda-developers.com/devdb/project/dl/?id=25531
XDA:DevDB Information
Jaguar Kernel Universal, Kernel for the Lenovo ZUK Z2 (Plus)
Contributors
optimumpro
Source Code: https://github.com/AOSP-Jaguar/android_kernel_zuk_z2_plus
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2017-07-09
Created 2017-07-09
Last Updated 2017-11-06
Reserved
Reserved...
Mine...
Thank you ! Any bugs ?
---------- Post added at 05:20 PM ---------- Previous post was at 05:17 PM ----------
And how much kinds of the governors ?(poor English, sorry )
xzw2000 said:
Thank you ! Any bugs ?
---------- Post added at 05:20 PM ---------- Previous post was at 05:17 PM ----------
And how much kinds of the governors ?(poor English, sorry )
Click to expand...
Click to collapse
Nougat is pretty stable now. As for governors, hotplug and thermal, read the description. It's all there...
About Thanks not given
@optimumpro You should add even my name between the thanks: you used my Anykernel2 repo located here
This is easily recognizable thanks to my backup modules script, just download your kernel and at the file update-binary into META-INF/com/google/android, line 44 and after... now compare it with this
You will notice that it's exactly the same. I would also presume that you didn't even know that this script is there because you didn't write about it in this thread.
You can also see that you're using my repo from looking at the anykernel.sh script where there are some lines like "add custom tuning to init.rc" or "add spectrum support" that you forgot to remove lol
It's actually even funny that after you said that I know a very little about the development and that I should learn the real programming you use a repo with my edits and without even giving credits.
And that's who usually calls me "fake dev"...
DD3Boh said:
@optimumpro You should add even my name between the thanks: you used my Anykernel2 repo located here
This is easily recognizable thanks to my backup modules script, just download your kernel and at the file update-binary into META-INF/com/google/android, line 44 and after... now compare it with this
You will notice that it's exactly the same. I would also presume that you didn't even know that this script is there because you didn't write about it in this thread.
You can also see that you're using my repo from looking at the anykernel.sh script where there are some lines like "add custom tuning to init.rc" or "add spectrum support" that you forgot to remove lol
It's actually even funny that after you said that I know a very little about the development and that I should learn the real programming you use a repo with my edits and without even giving credits.
And that's who usually calls me "fake dev"...
Click to expand...
Click to collapse
I never called you a fake dev. I only said you didn't have a clue about kernels and roms. And I said nothing about scripts. Your repo?! LOL. And where did you clone it from? Well, there is nothing in the install script that I used that came from you. But anyway, my big thanks.
Now, go away in peace, until they delete you...
.
optimumpro said:
I never called you a fake dev. I only said you didn't have a clue about kernels and roms. And I said nothing about scripts. Your repo?! LOL. And when did you clone it from?
Now, go away in peace, until they delete you...
.
Click to expand...
Click to collapse
1. This script is related to kernels
2. This script has been made by myself editing anykernel and all the history is properly commited is on my github account, it seems that the person that "hasn't clue about kernels and roms" isn't me but another one
DD3Boh said:
1. This script is related to kernels
2. This script has been made by myself editing anykernel and all the history is properly commited is on my github account, it seems that the person that "hasn't clue about kernels and roms" isn't me but another one
Click to expand...
Click to collapse
All right. Now leave. I have no interest in talking to you. Cheers...
optimumpro said:
All right. Now leave. I have no interest in talking to you. Cheers...
Click to expand...
Click to collapse
lol, sometimes you make me even laugh.
DD3Boh said:
lol, sometimes you make me even laugh.
Click to expand...
Click to collapse
I will add your name to credits, just because I am in a good mood... But if you come back to one of my threads with nonsense again, I will remove that.
I also want to thank you for putting this in your DarkMoon install script:
Code:
# Abort on Jaguar
build_type="$(mount /system; grep "^ro.build.flavor" /system/build.prop | cut -d= -f2)";
if [ $build_type == "jaguar_z2_plus-userdebug" ];
then
abort "This ROM isn't supported by the DarkMoon Kernel";
I certainly don't want Jaguar users to use DarkMoon kernel...
optimumpro said:
I will add your name to credits, just because I am in a good mood... But if you come back to one of my threads with nonsense again, I will remove that.
I also want to thank you for putting this in your DarkMoon install script:
I certainly don't want Jaguar users to use DarkMoon kernel...
Click to expand...
Click to collapse
I don't want this too, I added that line because I don't want my kernel to be installed in such ROMs.
And about the credits, you used a script created by me....
DD3Boh said:
I don't want this too, I added that line because I don't want my kernel to be installed in such ROMs.
And about the credits, you used a script created by me....
Click to expand...
Click to collapse
You, my "friend" have created big NOTHING. Here is the script from anykernel:
Code:
# AnyKernel2 Ramdisk Mod Script
# osm0sis @ xda-developers
## AnyKernel setup
# begin properties
properties() {
kernel.string=DirtyV by bsmitty83 @ xda-developers
do.devicecheck=1
do.modules=0
do.cleanup=1
do.cleanuponabort=0
device.name1=maguro
device.name2=toro
device.name3=toroplus
device.name4=
device.name5=
} # end properties
# shell variables
block=/dev/block/platform/omap/omap_hsmmc.0/by-name/boot;
is_slot_device=0;
## AnyKernel methods (DO NOT CHANGE)
# import patching functions/variables - see for reference
. /tmp/anykernel/tools/ak2-core.sh;
## AnyKernel permissions
# set permissions for included ramdisk files
chmod -R 755 $ramdisk
chmod 644 $ramdisk/sbin/media_profiles.xml
## AnyKernel install
dump_boot;
# begin ramdisk changes
# init.rc
backup_file init.rc;
replace_string init.rc "cpuctl cpu,timer_slack" "mount cgroup none /dev/cpuctl cpu" "mount cgroup none /dev/cpuctl cpu,timer_slack";
append_file init.rc "run-parts" init;
# init.tuna.rc
backup_file init.tuna.rc;
insert_line init.tuna.rc "nodiratime barrier=0" after "mount_all /fstab.tuna" "\tmount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data remount nosuid nodev noatime nodiratime barrier=0";
append_file init.tuna.rc "dvbootscript" init.tuna;
# init.superuser.rc
if [ -f init.superuser.rc ]; then
backup_file init.superuser.rc;
replace_string init.superuser.rc "Superuser su_daemon" "# su daemon" "\n# Superuser su_daemon";
prepend_file init.superuser.rc "SuperSU daemonsu" init.superuser;
else
replace_file init.superuser.rc 750 init.superuser.rc;
insert_line init.rc "init.superuser.rc" after "on post-fs-data" " import /init.superuser.rc";
fi;
# fstab.tuna
backup_file fstab.tuna;
patch_fstab fstab.tuna /system ext4 options "nodiratime,barrier=0" "nodev,noatime,nodiratime,barrier=0,data=writeback,noauto_da_alloc,discard";
patch_fstab fstab.tuna /cache ext4 options "barrier=0,nomblk_io_submit" "nosuid,nodev,noatime,nodiratime,errors=panic,barrier=0,nomblk_io_submit,data=writeback,noauto_da_alloc";
patch_fstab fstab.tuna /data ext4 options "nomblk_io_submit,data=writeback" "nosuid,nodev,noatime,errors=panic,nomblk_io_submit,data=writeback,noauto_da_alloc";
append_file fstab.tuna "usbdisk" fstab;
# end ramdisk changes
write_boot;
## end install
that anyone is free to use. Just because you put there Z2_131 doesn't make it yours. Nothing here gives you the right to claim it is "yours". I understand this is what you think development is, but it is not. Remember, I never called you a fake developer. I just said you had no clue about developing roms or kernels.
So, leave, because I am going to remove credit that I gave you in the OP. You don't deserve it anyway. So, leave...
Has anyone been able to boot this kernel on a different rom?
optimumpro said:
You, my "friend" have created big NOTHING. Here is the script from anykernel:
that anyone is free to use. Just because you put there Z2_131 doesn't make it yours. Nothing here gives you the right to claim it is "yours". I understand this is what you think development is, but it is not. Remember, I never called you a fake developer. I just said you had no clue about developing roms or kernels.
So, leave, because I am going to remove credit that I gave you in the OP. You don't deserve it anyway. So, leave...
Click to expand...
Click to collapse
After this comment I can say that YOU UNDERSTOOD NOTHING ABOUT WHAT I SAID
What is mine and that I have created and literally developed is the script to backup the modules and the boot.img, I spent time doing it, and it's funny how another developer that said "I know nothing about the development" and that I should "start doing real development" took it and used my source... LOL (and without even knowing that it was there, this part is the funniest one )
DD3Boh said:
After this comment I can say that YOU UNDERSTOOD NOTHING ABOUT WHAT I SAID
What is mine and that I have created and literally developed is the script to backup the modules and the boot.img, I spent time doing it, and it's funny how another developer that said "I know nothing about the development" and that I should "start doing real development" took it and used my source... LOL (and without even knowing that it was there, this part is the funniest one )
Click to expand...
Click to collapse
As I have said before: nothing that is being used here has come from you.
But it is good that we agree on one thing: we don't want Jaguar rom to have anything to do with your kernel. Cheers. And get lost...
optimumpro said:
Has anyone been able to boot this kernel on a different rom?
Click to expand...
Click to collapse
Yes booting in AEX
benplay64 said:
Yes booting in AEX
Click to expand...
Click to collapse
So, it works. Good to know...
optimumpro said:
As I have said before: nothing that is being used here has come from you.
But it is good that we agree on one thing: we don't want Jaguar rom to have anything to do with your kernel. Cheers. And get lost...
Click to expand...
Click to collapse
You known that just because is your thread you can't tell to people to get out from there just because you don't like what they are writing?
This script has been made by ME, you can't say that this isn't the truth because I spent hours on it and fixing it.
It's like if I would say that you didn't fix the encryption but just copied and pasted from other parts completely randomly... But I'm not saying that simply because I don't think this is the truth.
I would suggest you to look better at the code the next time, because this time you missed something
DD3Boh said:
You known that just because is your thread you can't tell to people to get out from there just because you don't like what they are writing?
This script has been made by ME, you can't say that this isn't the truth because I spent hours on it and fixing it.
It's like if I would say that you didn't fix the encryption but just copied and pasted from other parts completely randomly... But I'm not saying that simply because I don't think this is the truth.
I would suggest you to look better at the code the next time, because this time you missed something
Click to expand...
Click to collapse
I am telling you to get out, because you are spamming and trolling here. It is simple. It is not even about your cluelessness.. If you don't leave on your own, you will be deleted like everyone else who came here trolling and spamming...

Overclocking

I have been using this file to overclock(2.3GHz) my zuk in every rom without any problems. But with latest ViperOS I am facing a lag in fingerprint scanning.
Can anyone help me with understanding how this file (init.qcom.post_boot.sh) works?
And is it possible to overclock to 2.4GHz as I have read everyline of this file but there is nowhere the maximum clock is mentioned.
Thanks In advance.
Kuch_Bhi said:
I have been using this file to overclock(2.3GHz) my zuk in every rom without any problems. But with latest ViperOS I am facing a lag in fingerprint scanning.
Can anyone help me with understanding how this file (init.qcom.post_boot.sh) works?
And is it possible to overclock to 2.4GHz as I have read everyline of this file but there is nowhere the maximum clock is mentioned.
Thanks In advance.
Click to expand...
Click to collapse
that is because the purpose of the file is to enable the "overfreq" feature present in the original ZUI rom, which is through this command
"echo 1 > /sys/module/msm_performance/parameters/overfreq"
now because it's a set feature, and zuk had 1.7ghz & 2.3ghz already in the kernel, that we are able to "overclock" the phone. other cpu frequencies need to be manually added via the kernel sources.
as for how the file works, I think it just execute a bunch of command at boot. It might cause conflict with the one currently using by viper, so instead of replacing the whole file, you can simply insert the required command so that it would looks like this
Code:
# input boost configuration
echo "0:1324800 2:1324800" > /sys/module/cpu_boost/parameters/input_boost_freq
echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms
echo "0:4294967295 1:4294967295 2:4294967295 3:4294967295" > /sys/module/msm_performance/parameters/cpu_max_freq;chmod 444 /sys/module/msm_performance/parameters/cpu_max_freq
echo 1 > /sys/module/msm_performance/parameters/overfreq
echo 1 > /sys/devices/system/cpu/cpu0/rq-stats/mpctl
Im not sure if it works, but you can give it a try, just backup before editing
ViperOS has no such file, I simply copied the modified one without replacing anything. As for the code you suggested it is not working, that is if I replace everything in the file with this code alone.
Kuch_Bhi said:
ViperOS has no such file, I simply copied the modified one without replacing anything. As for the code you suggested it is not working, that is if I replace everything in the file with this code alone.
Click to expand...
Click to collapse
Then it doesnt work with viper's kernel. That file only works on roms that dont heavily modified the kernel source from zui stock. Some dev even outright remove overclock like in EAS AEX 4.6
pipyakas said:
Then it doesnt work with viper's kernel. That file only works on roms that dont heavily modified the kernel source from zui stock. Some dev even outright remove overclock like in EAS AEX 4.6
Click to expand...
Click to collapse
Ok. Thanks for helping.

Categories

Resources