Is it possible/how to enable [user partition] encryption in stock firmware? - Lenovo Zuk Z2 Pro Questions & Answers

I wonder how on Earth Lenovo got their Zuk's certified. Android >=6.0 certification stipulates that the phone/ROM must support encryption.
No ZUK device comes with encryption support. That's madness.

Related

[ROM] NUBIA UI V3.9.8 Stable for yureka [2016-mar-30]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am not responsible for anything that may happen to your phone as a result of installing custom roms and/or kernels. you do so at your own risk and take the responsibility upon yourself.
ZTE Corporation is a global leader in telecommunications and information technology. As part of ZTE’s M-ICT strategy, the company is committed to provide integrated end-to-end innovations to deliver excellence and value to consumers, carriers, businesses and public sector customers around the world, enabling increased connectivity and productivity to unlock the power of technology for society. Founded in 1985, ZTE is listed on both the Hong Kong and Shenzhen Stock Exchanges and is China’s largest-listed telecommunications equipment company.
With the industry’s most comprehensive product range and end-to-end solutions, ZTE offers cutting-edge wireless, access & bearer, value-added services, terminals and managed services to telecommunications carriers, in addition to ICT solutions for enterprises and government agencies. ZTE’s advanced capabilities enable leading telecommunications operators and Fortune 500 enterprises in more than 160 countries to achieve business objectives and attain increased competitiveness. In addition, ZTE’s acclaimed AXON, Blade, and SPRO series of smartphones and mobile devices are preferred and trusted by consumers around the world.
ZTE believes in technology innovation as a core value of the company, investing more than 10% of annual revenue in R&D. The company has established 20 state-of-the-art R&D centers in Asia, North America and Europe and employs over 30,000 research professionals in the development of next-generation technologies including 5G, the Internet of Things, NFV, SDN, Cloud Computing, Big Data and Smart City. ZTE has filed applications for more than 66,000 patents, with over 24,000 granted. Since 2010, ZTE has been ranked among the world’s Top-3 for patent applications under the Patent Cooperation Treaty (PCT) each year, according to the World Intellectual Property Organization.
As a member of the UN Global Compact, ZTE is committed to a vision of balanced, sustainable development in the social, environmental and economic arenas. Promoting freedom of communications around the world, the company has incorporated innovation, technological convergence and the concept of "going green" into the product life cycle. This includes R&D, production, logistics and customer service. The company also is committed to maximizing energy efficiency and minimizing carbon emissions.
With Corporate Social Responsibility (CSR) a key priority for the company, ZTE played an active role in relief efforts following events such as the 2015 earthquake in Nepal. ZTE also established the ZTE Special Children Care Fund, the largest charity fund of its kind in China.
Looking forward, ZTE is committed to pursue the company’s M-ICT strategy together with our customers and partners, and drive innovations in telecommunications and ICT globally as the business and technology needs of the industry continue to evolve. 
Update [Recommended]
early adopters of the new version UI4.0 visual effects, multiple systems comprehensive application skinning, animation details new design, waiting for you to experience!
Screenshot feature new upgrades, new growth and Rules theme screenshot make screenshot more freedom!
Applications avatar early experience, a mobile phone can log on the two micro-channel account!
Test water depth theme line, the first step module-level skinning!
UI3.9 public beta Experience Tour,
a comprehensive transformation efforts before the show,
thanks to accompany all the way,
please look forward to with a butterfly moment!
[Screenshots] Super
new: Super screenshots applications, support fast shots, long shots, rules and freedom theme screenshot
[avatar] application
to add: Applications avatar function
[Topic]
New: Deep theme, supports desktop, communications and setup peeling effect type applications, subsequent growing
currently only offer a depth theme pack "love tree", will continue to follow the line more depth the theme package
] [Desktop
optimization: interface layout pull down the notifications bar and status bar of
optimization: notification Center arrangement rule messages are displayed in the
[system update]
added: in the WLAN environment to automatically download the upgrade package function
optimization: new visual effects
[schedule]
new: in view of the features
added: calendar alarm reminder mode
optimization: a new visual effects
[calculation device]
optimization: how outgoing scientific calculator dynamic efficiency
[Notepad]
optimization: new visual effects
FIX: You can not cancel the current recording Notepad issue
[system]
FIX: Double-click the bright screen failure problem
fixes: breathing lights flash chaos problem
fixes: background music, the application is to clean up the problem of abnormal
optimization includes, but is not limited to the items listed above.
Go to TWRP
Wipe cache / dalvik cache / data / system......
flash rom ( Gapp's included in rom )
Reboot
After first boot is completed REBOOT you are device ( Important )
for those who has WIFI issue do this process
After first boot is completed then try to turn ON WIFI...... (Importeant)
Then flash WIFI patch
MultiRom works
Custom kernels supported
New rom
Nubia rom V3.9.8 Stable : Link
Lcd patch for yureka plus : Link
Here is another method for wifi issue
For those who has WIFI issue do this process
Method-1 ( using TWRP )
I am Using MultiRom TWRP
After first boot & setup is completed then try to turn ON WIFI...... (Importeant)
Then flash WIFI patch
WIFI patch : Link ( For stable edition )
Method-2
Wifi wlan files : Link
root your device
install ES File explorer and grant SU & R/W permissions
Download the above files
extract it and copy files and replace them in " system / etc / firmware / wlan / prima "
reboot
Old roms
Nubia rom V3.9.2 : Link
Nubia rom : Link
Lcd patch for yureka plus : Link
Base rom : Link
YU Televentures.....................for Device
Cyanogen team.......................for cos 12 & cos 12.1
ZTE......................................................for Nubia rom
Annabathina............................for Porting
jinx...................................................for Nubia rom
YU YUREKA
YU YUREKA PLUS​
XDA:DevDB Information
[ROM] NUBIA UI V3.9.8 Stable [2016-mar-30], ROM for the YU Yureka
Contributors
Annabathina
Source Code: http://bbs.nubia.cn/forum.php?mod=viewthread&tid=622684&extra=page%3D1%26filter%3Dtypeid%26typeid%3D370
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Newest 5.1.xModem and Bootloader for your device
Based On: nubia
Version Information
Status: Testing
Current Stable Version: 3.9.8
Stable Release Date: 2016-03-30
Current Beta Version: 3.7
Beta Release Date: 2015-09-11
Created 2016-03-03
Last Updated 2016-04-11
Reserved
Nubia Stable rom
Original ROM update:​
[Update] Recommended
New phone Butler function, realize Niu Dun and electricians merger, security and more peace of mind!
Optimization 37 system response time, allowing the system to experience more smooth!
Optimization streamline third-party applications pre-installed, continue upgrade package thin lighter!
[Phone] Butler
New: mobile phone housekeeper, Niu Dun and achieve electrician merger
【system】
Optimization: streamline third-party applications preinstalled
Optimization: WLAN reconnecting, start the application system response time, etc. 37
【call】
Optimization: Search for a contact list automatically match the display is too slow problem
FIX: No reminder calls serious fault
FIX: Call loud sound problem
【the weather】
Fix: Click the Auto flash back problems when positioned in the weather
[Backup]
FIX: Backup flash back problems caused by disabling the browser, notepad caused
Personal Update Log:
1. sim detect automatically to INDIAN bandwidth...( No need of manual work )
2. Mobile data fix
3. 4g/3g/2g works & you can change what you want
4. WIFI fix
5. NO low volume during calls
6. NO disturbance while playing AUDIO & VIDEO files
7. Mount to PC fix
8. All Sensors work
9. Lights & LED'S fix
10. [New] breathing light switch
11. [New] battery icon, signal icon switch
12.[ new ] status bar style
13.[ New ] button at the bottom of the trigger function
14. [ New ] on the console LOGO
15. NO lag
16. NO heating
17.Fast charging added
18. Custom kernels supported
19. MultiRom supported
20. Many more....​
Reserved
For those who has WIFI issue do this process
After first boot is completed then try to turn ON WIFI...... (Importeant)
Then flash WIFI patch
WIFI patch : Link
Hello Anna,
I am getting the error :- updater process ended with error 7 when i flash the ROM.
Same for me too. Not working ...
#reserved for review
not working wifi and mobile data
Mobile data and wifi not working ??? How to fix???
error
using multirom when i fleshed i got these error
failed to mount fake partition
failed to change mountpoints
failed to restore boot partition , dev/block/mmcblk0p21-orig not exist
erasing incomplete rom
i used it as multirom install on external memory
can u give me any suggestion i have already rr rom as my primary rom on internal storage
WiFi patch not working
WiFi still don't work after flashing the WiFi patch pls fix this
Hi dev, i dont use multi rom app, steps for installation... ?
Its look like flyme os
Swsultan said:
Hello Anna,
I am getting the error :- updater process ended with error 7 when i flash the ROM.
Click to expand...
Click to collapse
try using twrp recovery rather than cwm or phllz. however if you still don't want transfer, then unzip your rom, then go to meta-inf -> com -> google ->android -> updater script. open it through notepad ++ and then delete the line
assert......(to wherever the line ends with semicolon). then zip it and flash it
bro status 7 error showing.
Here is a quick review:
1. The ROM boots fine. and the UI is very pretty!
2. The ROM is butter smooth.
3. All the sensors, LED, Torch everything is working
4. There is a problem with wifi. Flashing the wifi fix doesn't make any change but the second method (Replacing file using third party FileManager) worked perfectly. Hence, No wifi bug!
5. 4G of Relience Jio is working (If it does not, reset APN settings)
6. Since I'm on Yureka (AO5510), can not verify whether the VoLTE works or not!
7. There are some Chinese texts here and there. (In statusbar, lockscreen and Reboot menu)
8. There is an Entry "@2131365363" in Settings > Features which is causing Reboot
9. Error in creating a Nubia account in Settings > Account. No option to add a Google account!
Congratulations Dev for your awesome work! Keep porting
Update:
Your VoLTE Modem patch works with this ROM and AO5510 gets VoLTE too! Great Man

[ROM] [7.1.1] [UNOFFICIAL] CyanogenMod 14.1 [Dec 25, 2016]

​
Disclaimer:
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 this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
Tags:
To avoid confusion with the OFFICIAL CyanogenMod build tags that include Nightly/Developement (every 24 hours, experimental, newest features, unstable) and Snapshot/Release (every 1-2 months, suitable for daily use, devices signed-off by maintainers for inclusion), these UNOFFICIAL builds have three tags:
STABLE: include tested changes and confirmed bug fixes;
are suitable for daily use.
TESTING: include experimental changes to be evaluated and to possibly fix some issues;
may be used as daily driver only if they don't break functionality or introduce new issues.
VZW-ONLY: same as TESTING builds, but support Verizon variant (VZW SM-N910V) only.
​​
Click to expand...
Click to collapse
Changelog:
For the latest changes and bug fixes, check the 2nd post!
Click to expand...
Click to collapse
Status:
This ROM supports all Snapdragon variants, especially US variants (Verizon / VZW SM-N910V, T-Mobile/TMO SM-N910T, Sprint / SPR SM-N910P, and US Cellular / USC SM-N910R4) and Canadian variant (SM-N910W8). This is only possible because I made major changes to the kernel, init, and frameworks/telephony overlays. Moreoever, the vendor proprietary blobs for VZW variant support both CDMA and GSM networks. So, the device name/model and related properties will reflect the VZW base/blobs.
Check the ROM status in the 3rd post!
Click to expand...
Click to collapse
Kernel:
For stability, this ROM uses ~pure Samsung source code for the kernel with carefully cherry-picked commits from CAF MSM 3.10 source code for APQ8084. A few patches are merged to implement some CMHW features. Moreover, driver updates are integrated from the latest Samsung releases.
Base Source Code: SM-N910V_NA_MM_Opensource_N910VVRU2CPD1.zip
Latest Source Code: SM-N910T_NA_MM_Opensource_N910TUVU2EPJ2.zip
Click to expand...
Click to collapse
I'm also contributing to this kernel repo that will be shipped in some builds for extra features.
Click to expand...
Click to collapse
instructions:
Hit THANKS
Make backup
Do a full factory reset
You should wipe the system partition!
Flash ROM + Gapps ARM 7.1
Gapps nano package is recommended!
Enjoy!
Only for international variants (SM-N910F/G):
>>> Flash RIL/QMI fix from the 3rd post, before flashing Gapps.
Click to expand...
Click to collapse
Notes:
Clean flash (wipe system/data/cache/dalvik) is required.
You need to install nano Gapps for ARM SDK 25 (Android 7.1.1 Nougat) .
You may also need to set default Apps and grant special access/permissions.
In Settings/Apps, click the Settings icon and select "Show system" from the 3-dot menu, as needed.
Make sure that your preferred APNs are selected in Settings/Cellular networks.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads:
UNOFFICIAL CyanogenMod 14.1 Builds for Samsung Galaxy Note 4
Click to expand...
Click to collapse
Support:
A voluntary work consumes resources and more importantly time!
If you'd like to support the development, you may donate here:
It's fine to just click THANKS or enjoy without saying anything.
A donation is to show appreciation of the work I have done already.
A donation is not by any means in expectation of future work.
A donation doesn't entitle for preferred/private support/requests.
A donation is meant as a gift - always appreciated, never required.
Click to expand...
Click to collapse
If you couldn't donate, you can hit THANKS :good:​
Click to expand...
Click to collapse
XDA:DevDB Information
CyanogenMod 14.1, ROM for the Verizon Samsung Galaxy Note 4
Contributors
hsbadr
Source Code: https://github.com/CyanogenMod
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: N910VVRU2CPJ2
Based On: CyanogenMod
Version Information
Status: Stable
Current Stable Version: 14.1-20161225
Stable Release Date: 2016-12-25
Created 2016-11-06
Last Updated 2016-12-25
Changelog
Green dates are for STABLE builds, blue dates are for TESTING builds, and red dates are for VZW-ONLY builds. To learn more about build tags, check OP!
You may find a WIP section on top, for what to expect in the coming build. You could vote for a newer build by hitting THANKS to the announcement post of the latest build. For more details, check ROM status in the 3rd post!
All builds include the upstream CyanogenMod changes.
END OF DEVELOPMENT​
25.12.2016:
Cleaned up and updated audio configs
Disabled ERI operator string for non-VZW variants
Enabled TTY mode in Telecomm service
Increased gain for camcorder microphone
Increased gain for other mixer paths
Made time daemon MLS trusted subject
Restored contexts for directories during init
Set proper WiFi and bluetooth power configs
Updated operator info for CDMA variants
Updated SELinux policy and addressed denials
23.12.2016:
Added missing camera parameters
Addressed SELinux denials
Created missing init directories
Enabled gesture settings
Falling back to L3 by removing liboemcrypto
Re-enabled fingerprint wake-and-unlock
Updated init and kernel ramdisk
Updated RIL SHIM library
20.12.2016:
Cleaned up and updated media codecs
Created missing log directories
Defined actions to be executed during/after boot
Disabled camera CPP duplication
Disabled nonexistent media decoders
Disabled unsupported Qualcomm's flags
Enabled telephony IPv6 capability
Enabled the setgid bit on directories created by init
Fixed nandroid restores due to telephony data
GPS: Added android_runtime dependency
GPS: Cleaned up and updated GPS/location configs
GPS: Fixed missing Samsung sec-GPS configs
GPS: Fixed "Use of memory after it is freed" warning
Handled framebuffer hint for Ambient Display
Reverted "Allow Flashlight service to use wakelock"
Moved camera service to run on late start
Set appropriate permissions for time data
Toned down VM BMS logging level
Tuned system properties for graphics performance
Updated camera parameters and sysfs permissions
Updated and cleaned up SHIM libraries
Updated audio features and board flags
Updated graphics framebuffers permissions
Updated kernel cmdline for debugging
Updated QMUX daemon socket permissions
Updated Qualcomm's time services
Updated SELinux policy and addressed denials
Used the default number of surface buffers
15.12.2016:
Addressed SELinux denials
Allowed Flashlight service to use wakelock
Built OMX libraries from source code
Cleaned up media codecs from white spaces
Disabled fingerprint wake-and-unlock
Enabled Qualcomm's DivX video decoders
Enabled Qualcomm's MPEG video decoders
Fixed fingerprint/home wake conflict
Fixed Google Home app crashing
Fixed Google Fit app crashing
Fixed graphics and media configs
Moved qcamerasvr service to main class
Re-configured radio access family
Reduced bootanimation resolution to speed up boot
Restricted ERI for CDMA carriers
Updated init services GIDs
Updated media codecs and profiles
Updated/Restored trlteRIL java class
13.12.2016:
Added support for Substratum theme engine
Added system properties for Perf
Allowed all display rotation angles
Allowed interfaces to get v6 address for tethering
Cleaned up and organized system properties
Cleaned up and updated kernel ramdisk
Cleaned up CellBroadcastReceiver overlays
Cleaned up framework base overlays
Cleaned up SELinux contexts and escaped '.' character
Configured VSYNC phase offsets
Created Telephony Provider symlinks for legacy RIL
CyanogenMod 14.1 (Android 7.1.1 Nougat)
Disabled bluetooth by default
Disabled Qualcomm's location stack
Enabled extended video features
Enabled install non-market apps by default
Enabled IPv4 defrag and rpfilter support
Enabled IPv6 defrag and rpfilter support
Enabled PCM audio offload by default
Enabled SAP sensors for GPS use
Fixed MMS sending failure
Fixed offline charging animation
Fixed unknown phone number
Fixed unknown network / operator
Fixed Widevine DRM SHIM library
Forced reading operator-string from ERI XML
Increased maximum readahead to 512 KB
Increased media volume to 30 steps
Increased voice call volume to 15 steps
Moved ERI configuration files to CarrierConfig
Moved time_daemon service to main class
Removed duplicated system properties
Removed obsolete system properties
Removed old-apns-conf.xml APN list
Removed QTI telephony extension
Removed TelephonyProvider APN overlays
Removed unneeded Contacts overlays
Removed unneeded Keyguard overlays
Removed unneeded Messaging overlays
Removed unneeded Telephony overlays
Restored Samsung proprietary boot classes
Restored Graphics/HWC system properties
Reverted the custom bootanimation
Set correct permissions for tombstones
Set device provisioned by default
Set P2P preferred channel list
Set SELinux label for wifiloader service
Switched to CM charger libhealthd
Switched to unified LED capabilities overlay
Use 3 surface buffers to avoid timing issues
Used alternate ERI XML via init
Used HTTPS for GPS/XTRA2 download
Updated blobs (MMB29M.N910VVRU2CPJ2)
Updated all GPS/location configs
Updated and unified MMS configs
Updated build info from N910VVRU2CPJ2
Updated CarrierConfig overlay for all variants
Updated consumer IR HAL
Updated charging thresholds in uW
Updated doze and ambient display configs
Updated eMBMS configuration parameters
Updated media codecs and profiles
Updated Qualcomm's Adreno GPU drivers
Updated IMS/VoLTE proprietary blobs
Updated IMS/VoLTE system properties
Updated NFCEE access for Android 7.x Nougat
Updated servcies GIDs and SELinux labels
Updated SELinux policy and addressed denials
Updated system properties for audio
Updated system properties for media
Updated thermal-engine SHIM library
Updated vibrator/vibetonz sysfs permissions
26.11.2016:
Enabled proximity check on screen wake
Enabled suspend when screen is off due to proximity
Increased the maximum size for MMS message
Reset MMS user agent string and profile URL
Updated AAPT/DPI configs and system properties
Updated security configs for Android 7.x Nougat
Updated SELinux and addressed denials
kernel: Addressed eMMC 5.0 spec violation
kernel: Disabled MSM DMA test module
kernel: Updated filesystem drivers
kernel: Updated EXT4 driver
kernel: Updated ecryptFS driver
kernel: Updated sdcardFS driver
kernel: Updated MSM camera driver
kernel: Updated MSM GPU driver
kernel: Updated MSM IPA driver
kernel: Updated MSM SoC sound codecs
kernel: Updated MSM SoC sound driver
kernel: Updated network drivers
kernel: Updated QSEECOM driver
kernel: Updated Qualcomm SoC driver
kernel: Updates from the latest source code
25.11.2016:
Added custom telephony plugin
Added support for trltedt (SM-N910G)
Cleaned up CarrierConfig overlays
Cleaned up framework and boot class path
Customized telephony network values
Ported updates from Pixel XL images
Re-added custom bootanimation
Updated Android filesystem config
Updated ramdisk services groups
Updated SELinux policy and addressed denials
Updated SELinux rules for camera
Updated SELinux rules for CMHW/vibrator
21.11.2016:
Disabled Samsung MTP
Fixed unexpected app crashes
Updated CarrierConfig overlays
Updated telephony overlays
Updated vendor proprietary blobs
19.11.2016:
Fixed first/clean boot issues
Fixed media/Youtube audio issues
Fixed speaker and mic for voice calls
Optimized and cleaned up kernel ramdisk
Removed unused CM NFC feature
Reverted the custom bootanimation
Updated SELinux rules for the kernel
Updated filesystem mount options
Updated filesystem manager flags
Updated firmware GID and mount masks
18.11.2016:
Added support for all Snapdragon variants
Added fs_config support for custom binary
Added custom permissions for pm, camera, and IMS
Applied a fix for emergency calls
Enabled reschedule/delay service restarts
Restored audio configs from Touchwiz
Updated media codecs for Nougat
Updated media profiles for Nougat
Updated RIL java class for Nougat
Updated WiFi configs for Nougat
Updated SELinux and addressed denials
Updated SELinux rules for media hacks
Used set_prop to replace deprecated rules
Custom bootanimation by @Creeper36
14.11.2016:
Enabled audio features
Enabled Cell Broadcast settings
Enabled VoLTE bools
Hacked media for legacy blobs
Unified build for all variants
Updated SELinux policy
13.11.2016:
Addressed SELinux denials
Fixed some errors/exceptions
Updated proprietary blobs
12.11.2016:
Addressed SELinux denials
Fixed Widevine DRM
Restored audio effects
Updated media codecs
Updated bluetooth overlays
Updated telephony overlays
10.11.2016:
Preliminary support for other variants
Updated audio configs
Updated bluetooth configs
Updated SELinux policy
Updated kernel source code
November security patches
06.11.2016:
CyanogenMod 14.1 (Android 7.1 Nougat)
[/QUOTE]
ROM Status
Release Date:
No ETA, but you could vote for a newer build by hitting THANKS to the announcement post of the latest build.
END OF DEVELOPMENT​
Click to expand...
Click to collapse
Supported Variants:
This ROM fully support US variants:
Verizon / VZW (SM-N910V)
T-Mobile / TMO (SM-N910T)
Sprint / SPR (SM-N910P)
US Cellular / USC (SM-N910R4)
and
Canadian variant (SM-N910W8)
International Snapdragon variants (SM-N910F and SM-N910G) need RIL/QMI fix. This can be done by flashing blobs from the latest firmware (cm-14.1-trltexx-fix_v3.zip) before flashing Gapps.
Nandroid Backup/Restore:
To fix nandroid restores (No SIM and Phone FCs) due to TelephonyProvider data/symlinks for using legacy RIL blobs on newer versions of Android 7.x+, you may wipe TelephonyProvider data by flashing this ZIP directly after restore and before rebooting to system.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Required Firmware:
The latest Android 6.0.1 Marshmallow firmware is required for all variants. Check your device/variant forum for firmware upgrade!
VZW-ONLY:
ROM Firmware Required: N910VVRU2CPJ2
If you're already on unlocked Android 6.0.1 Marshmallow bootloader, you can extract and flash the DevEd partial fimware via Odin to upgrade:
N910VVRU2CPJ2_PartialFirmware_DevEd.tar.md5.7z​
This will upgrade the base firmware (NON-HLOS, modem, rpm, sbl1, sdi, and tz) to N910VVRU2CPJ2.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Bug Reports:
All bug reports should be posted here. I'll ignore the posts that don't include appropriate logs. Unfortunately, I don't have the time to respond to the PMs.
Click to expand...
Click to collapse
Q&A:
There's a linked thread for Q&A, general discussions, and pre-/post-installation chat. Please keep this thread clean and post there all your personal issues that are not related to the development such as Xposed, themes, extra mods, other stuff, ... etc.
This thread is only for development, including bug reports with logs. All other topics should be moved to the new thread.
Thank you for collaboration! That's how users could contribute to the development.
Click to expand...
Click to collapse
It's finally here! I'm so excited! Lol as always @hsbadr, thank you so much for all your hard work and dedication for the community! I will be downloading sometime tonight and report back
@hsbadr Thank you for your continued support with our Note 4.
StayingSober said:
It's finally here! I'm so excited! Lol as always @hsbadr, thank you so much for all your hard work and dedication for the community! I will be downloading sometime tonight and report back
Click to expand...
Click to collapse
Extra Virgin said:
@hsbadr Thank you for your continued support with our Note 4.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
The 1st build is now available for download:
http://forum.xda-developers.com/devdb/project/?id=17713#downloads​
I have a Note 4 DE - Not Retail
running CyanogenMod Version 13.0-20150525 UNOFICCIAL -trltevzw
Baseband N910VVRU2BOK3
Can I simply flash this from recovery?
THank you for your time!
Definitely be downloading this as it becomes more of a Stable release!
---------- Post added at 04:35 PM ---------- Previous post was at 04:17 PM ----------
plainbum said:
I have a Note 4 DE - Not Retail
running CyanogenMod Version 13.0-20150525 UNOFICCIAL -trltevzw
Baseband N910VVRU2BOK3
Can I simply flash this from recovery?
THank you for your time!
Click to expand...
Click to collapse
I could be wrong, but it does say this:
ROM Firmware Required: N910VVRU2CPG2
Click to expand...
Click to collapse
JOSHSKORN said:
Definitely be downloading this as it becomes more of a Stable release!
---------- Post added at 04:35 PM ---------- Previous post was at 04:17 PM ----------
I could be wrong, but it does say this:
Click to expand...
Click to collapse
I've looked quite a bit and can't seem to find anything on a safe upgrade to CPG2. Do you happen to know where I could find any info on that? Thanks
plainbum said:
I have a Note 4 DE - Not Retail
running CyanogenMod Version 13.0-20150525 UNOFICCIAL -trltevzw
Baseband N910VVRU2BOK3
Can I simply flash this from recovery?
THank you for your time!
Click to expand...
Click to collapse
dhplap said:
I've looked quite a bit and can't seem to find anything on a safe upgrade to CPG2. Do you happen to know where I could find any info on that? Thanks
Click to expand...
Click to collapse
Click to expand...
Click to collapse
ROM Firmware Required: N910VVRU2CPD1/N910VVRU2CPF3/N910VVRU2CPG2
hsbadr said:
ROM Firmware Required: N910VVRU2CPD1/N910VVRU2CPF3/N910VVRU2CPG2
Click to expand...
Click to collapse
Thanks hsbadr! And I also want to say thank you for your continued support on our phones. So after I flash this it would be ok to restore my other marshmallow roms and vise versa? Didn't know since this is Nougat. Really appreciate your time and help.
Oh my god! This is extremely exciting!
I'm going to wait to see how stable it is, since my Note is my daily driver, but I can't wait to flash this.
(Does it support Dual Boot?)
Zacharee1 said:
(Does it support Dual Boot?)
Click to expand...
Click to collapse
I think that'd require the dual partitioning
Bicknasty said:
I think that'd require the dual partitioning
Click to expand...
Click to collapse
Well there's Dual Boot Patcher. If it works with that, I could try it out of without breaking CM13.
@hsbadr, amazing job on the build sir! Everything seems to be running smoothly, first boot took about 10 minutes, and after that I breezed through the setup. Found that the old trick of quickly running your finger over the fingerprint sensor to set up prints worked beautifully. Going to try flashing Xposed here in a bit. I will report any and all FC's, or issues, while also running @chevyrhoads Note 7 port. Thank you!
Zacharee1 said:
Well there's Dual Boot Patcher. If it works with that, I could try it out of without breaking CM13.
Click to expand...
Click to collapse
Ohhh, I misunderstood. I thought you were asking about the Nougat seamless updates thing, and how some had been speculating that the dual-partitioning could be repurposed by developers for a dual-boot paradigm.
bertmag said:
@hsbadr, amazing job on the build sir! Everything seems to be running smoothly, first boot took about 10 minutes, and after that I breezed through the setup. Found that the old trick of quickly running your finger over the fingerprint sensor to set up prints worked beautifully. Going to try flashing Xposed here in a bit. I will report any and all FC's, or issues, while also running @chevyrhoads Note 7 port. Thank you!
Click to expand...
Click to collapse
I'm pretty sure Xposed doesn't work on Nougat http://www.xda-developers.com/rovo89-updates-on-current-status-of-xposed-for-android-nougat/
Get this error when trying to install, upgrading from cm 13
GeoHogan said:
Get this error when trying to install, upgrading from cm 13
Click to expand...
Click to collapse
I'm fairly certain you need to clean flash.
Thanks for making this HS.. Just curious if anyone is using this on TING? It installed fine for me.. but i have no cell connection, And when i goto APN settings it says no settings available for this user. Anyone run into this yet?
Actually it isn't seeing my Sim at all.

[KERNEL] [Q] [G9650] [G9600] klabit kernel

As most of you guys know Magisk will not work for us on the international snapdragon S9 and S9+
So, I have made a custom kernel that will allow us to have root on stock pie firmware.
You will need to format data unless you want to stay encrypted. If you wish to stay encrypted you can.
Files needed:
klabit kernel V6.5
FK Manager g9650 kernel download configuration link
FK Manager g9600 kernel download configuration link
FK Manager g9650 GSI kernel download configuration link
FK Manager g9600 GSI kernel download configuration link
Copy the g96x0_q_vx.zip to your external sd card.
Make sure you have TWRP installed
Flash the g96x0_q_vx.zip
Flash Magisk
Reboot to system.
If you currently do not have a working lockscreen/pin/fingerprint setup, you will need to restore your stock boot.img either via backup or extract your boot.img from the official firmware and flash the img then flash my kernel.
Changelog:
Code:
V6.5
[LIST]
Merge OSRC: N9600ZHU5FTK1
[/LIST]
V6.4
[LIST]
Merge OSRC: G9650ZHS6DTG2
Merge OSRC: G9650ZHS7ETH1
Remove additinal SafetyNet flags from /proc/cmdline
Proc: Fake CMDline
Merge OSRC: G9650ZHU7ETI3
Merge OSRC: G9650ZHU7ETJ2
Expanded GSI kernel compatibility for Android 11 support
[/LIST]
V6.3
[LIST]
Merge OSRC: G9650ZHS6DTF1
Merge OSRC: G9650ZCU6ETF6
[/LIST]
V6.2
[LIST]
Merge OSRC: G9650ZCS6DTD5
[/LIST]
V6.1
[LIST]
Add powersave governor
Add conservative governor
Add ondemand governor
[/LIST]
V6.0
[LIST]
[*]7e123dad108c Import crownqlte && starqlte defconfigs
[*]824f70f8d070 Add .gitignore
[*]7d3612a88cbf Import G9600 and N9600 defconfig && initialize
[*]c1e7a35e59a7 Import G9600 and N9600 dts with verity removed
[*]0a587fae1745 Add option for gsi mtp driver
[*]10b851dfaa03 star2qlte: Initialize defconfig
[*]5f38f4cc0d99 Remove verity
[*]101dedaf7aec scripts: remove localversion + from kernel version strings
[*]c1b726584344 selinux: enable selinux faking
[*]70ed91e9c15a star2qltechn: Enable Samsung MTP driver
[*]9c88019d96fd drivers: usb: add separated Samsung MTP option
[*]6c54f88a648b star2qltechn: Update defconfig
[*]13a223ea3ed9 dts: disable avb,verify
[*]5c36fed8d37b Regen configs
[*]9a37c1921037 (osrc) OSRC: G9650ZCU6DTA9
[/LIST]
V5.9
- Small version bump to 5.9.
- Integrate auto patch of security patch date since Samsung slow af. (Credit to [user=4280397]@djb77[/user])
- Better GSI compatibility.
- Better OneUI compatibility for recent/most up-to-date firmwares.
V5.8
- Fix compilation issue for n9600
- Version update to V5.8
- Add changelog
- Update crownqlte defconfig
- OSRC: G9650ZCU6CSJ2
- Merge SM-N9600 defconfig and dts
V5.7
- Merge G9650ZHU5CSH6 source which includes fix for the recent zero day on android binder driver
- Prevents potential wake-lock while on wireless charger
- Merge G9650ZCU5CSI3 source which includes some Note9 camera integrations
- Adds support for wireless adapters based on Broadcom 43436 chipset
- Increased wifi security
- Increased wifi hotspot security
- DHD 100.13.36.1 - 2019.07.31
Security Patch
- CS8424803(By Choi Hyeonu) SI-14869: Moved the length check routine for the nlioc variable before accessing it in the wl_cfgvendor_priv_string_handler() function
DHD 100.13.36 - 2019.05.24
New Feature
- CS5350346(By Jung Junyeop) Fake AP - Fixed to provide correct channel information for beacon receive result
- Enable to support Fake AP
(This patch should be sync up with FW 13.38.60(4361B0), FW 13.50.10(4361B2) or higher version)
- WIPS attack warning reporting
(This patch should be sync up with FW 13.38.60(4361B0), FW 13.50.10(4361B2) or higher version)
Security Patch
- CS8069399(By Kang Hyung Wook) SI-13926 Fixed use-after-free in the wl_cfg80211_set_mgmt_vndr_ies function
Others
- CS7939107(By Kim Tae-Yong) Included memdump value prints in the dump information
- Added missing options into the Kconfig file
DHD 100.13.32 - 2019.04.26
Kernel Panic
- CS7696936(By Min SungBin) Fix misspelling of CUSTOMER_HW4_DEBUG definition
- CS7706946(By Min SungBin) Fixed to avoid kernel panic due to race condition of cfg->scan_request
Security Patch
- CS7860687(By Kang Hyung Wook) SI-12455: Fixed use-after-free write in dhd_set_monitor() function
- CS7949699(By Choi Hyeonu) SI-14074: Fixed Security issue, Potential stack-based buffer overflow in dhd_pktfilter_offload_set
- CS7956197(By Choi Hyeonu) SI-14130: Fixed the multiple NULL pointer dereference in wl_cfgvendor.c
Others
- CS6844193(By MinSoo Kim) Changed log level of LQCM report
- CS7099653(By Nitesh Suthar) Enabled frameburst to enhance throughput for BCM43436 projects
- CS7362375(By Gu Ja Heon) Added Private command in order to receive every beacon in Suspend
- CS7526157(By Suthar Nitesh) Fixed DualBandConcurrency field in .softap.info
- CS7765577(By Park Heebae) Wifi-on time reduction by reading necessary CIS information
- CS7827257(By Choi Hyeonu) Fixed kernel panic caused by invalid memory access
- CS7834653(By Kang MinHo) Removed redundant TX error prints during suspend in SDIO
- CS7884436(By Beom Jip Kim) Fixed to cancel p2p listen offloading by framework scan request
- CS7892037(By Sun Yinghan) Fixed to support W2018/KELLY Android P OS upgrade
DHD 100.13.31.1 - 2019.04.19
Others
- CS4726130(By Min Hyun-Ki) Added User priority to AC mapping in case of various DSCP types that may not compatible with RFC8325
- CS6951980(By Min Hyun-Ki) Changed the UP to AC mapping of CS6 based on the RFC8325
DHD 100.13.31 - 2019.02.15
Others
- CS7241767(By LEE EONJI) Added more logs for the DPC schedule error debugging
- CS7299641(By Kim MinSoo) Enabled LB_TXP for MSM8998 Platform
- CS7323375(By kwon Jaecheol) Enabled the softap.info file support in BCM4359 platform
- CS7362527(By Hyeonu Choi) Cancel P2P listen offloading operation when SoftAP brings up
- CS7363197(By Junhak Lim) Fixed prevent issues
- CS7386068(By Lee Gibum) Disabled frameburst for "2.4Ghz + SoftAP" (Drame & Great projects)
- Fixed the scan failure when p2p listen offload is triggered
- Fixed to abort scan when connection/disconnection requested
- Prevented the bus suspend by the PCIe Runtime PM from abnormal ISR status
V5.5
- Merge G9650ZHU5CSG8 source which includes some stock Samsung debugging sanity checks and increase of stability
- Prevent possible IO/wake-locks when accessing sdcard
V5.4
- Merge G9650ZCU5CSFB source which includes additional ethernet support and additional battery stats support
- Removed more verity from the appended dtb
- Finally fixed FK Manager compatibility!! (ie no longer need to reflash Magisk)
V5.3
- Added Conservative gov for G9600 (sorry I could have sworn I included this in V5.2)
- Fix stability issues
- Remove Interactive governor
V5
- Removed Defex
- Removed Samsung rooting protections
- Removed RKP (Realtime Kernel Protection)
- Added Conservative cpu governor
- Sanity checks for video drivers and the power share feature
- Added support for broadcom 43456 wireless cards
- Added ddhd random mac scanning
- Added more security to wifi hotspot to protect from ARP attacks,
- CS7111512(By LEE EONJI) Detect turn on failure in factory binary
- CS7299329(By Kim Yu-Kyoung) Fixed SoftAP CTS fail due to interface creation failure
- Blocked WLC_E_ROAM event to fix wakes-up frequently under weak signal AP
- Changed error results of GETSTAINFO private command to BCME_UNSUPPORTED if the BIGDATA_SOFTAP is not supported
- Fixed kernel panic during mfg mode interface creation
- CS7091164(By Kang Hyung Wook) SI-13561: Fixed kernel heap overflow security issue at dhdpcie_downloadvars
- CS7091371(By Kang Hyung Wook) SI-13584: Fixed kernel panic due to access to not allocated memory
- CS6785460(By Jeong Min Cheol) Send HANG event to the framework for the sequential private command failure
- CS7003600(By Kang MinHo) Support android private command for restoring roam/scan parameters
- CS7094302(By Yoon YeJi) Fixed connect failure caused by connection information not initialized
- CS7103552(By LEE EONJI) Fixed the recovery routine to fix the D3_ACK timeout issue
- CS7119174(By Kim Seong Hwan) Avoid HANG event indication due to sequential private command failures in case of unsupported error
- CS7137399(By Yoon YeJi) Fixed connect failure caused by connection information not initialized
- CS7141596(By Suthar Nitesh) Fixed MHS operates with STA mac address
- Control HANG report for consecutive Android private command failure by sysfs
- Increased the NUMBER_SEQUENTIAL_PRIVCMD_ERRORS from 4 to 7
- Taking a SOCRAM dump in the sequential private command error case
- CS6935603(By Hong Min Whoa) SI-13638: Fixed Kernel warning message by restructuring the DMA_LOCK and DMA_UNLOCK
- CS7091347(By Kang Hyung Wook) SI-13585: Fixed kernel panic due to write buffer exceeds the size
- CS6650676(YeJi Yoon) Fixed mismatch connect status between framework and DHD
- CS6678972(By Hwang MinSik) Fixed TIS/TRP test failure and high current issue from sysfs change
- CS6715508(By Choi Hyeonu) Exported sysfs for ADPS bad AP list
- CS6744438(By Yoon Jae Ho) Fixed duplicated roaming notification to WPA supplicant during FT roaming
- CS6769798(By Kim Beom Jip) Fixed for GraceR/4359c0 P OS P2P connection failure issue
- CS6856753(By kwon Jaecheol) Added the dual interface capability filed in the SoftAP info file (.softap.info)
- CS6870793(By Tae-Yong Kim) Fixed prevent issues
- CS6871138(By Lee Gibum) Configure AER registers to debug PCIE ERROR ATTN issues
- CS6880409(By Sung-gi Choi) Fixed prevent issues
- CS6887298(By Min Whoa Hong) Fixed prevent issues
- CS6928243(By Sung-gi Choi) Fixed prevent issues
- CS6935678(By Hwang MinSik) Fixed array out of bound issue from sysfs mac address
- CS6984743(By Min SungBin) Print DPC schedule request timestamp for ROT issue
- CS6985032(By LEE EONJI) Enabled DHD_RECOVER_TIMEOUT for D3_ACK missing case on 4359C0 and 4361B0
- CS6993967(By Jeong Min Cheol) Added last_d3_inform_timestamp to check root cause of ROT
- CS7042030(By Min SungBin) Implemented the new API to sync up the status between RC and EP to avoid unwanted L1ss configuration
- Changed the DHD_COMMON_DUMP_PATH for non-BCM4375 Android P OS projects
- DHD driven random mac enable by default for 4361B0
- Enable frameburst for standalone 2.4GHz SoftAP on Dream and Great project
- Wi-Fi Sharing-Lite feature support for Android P OS
- CS6461136(By Min SungBin) Fixed for kernel panic due to stack overflow at get_roamscan_channel_list()
- CS6302259(By Kang Hyung Wook) Supported DHD driven Random MAC feature
- CS6324532(By Choi Hyeonu) Port files under /data/vendor/conn to sysfs after Android P OS
- CS6396705(By Min SungBin) Added additional timestamp log to debug resumed on timeout issue
- CS6398346(By Hyeonu Choi) Fixed prevent issues
- CS6516071(By Choi Hyeonu) Fixed for corner case of schedule_timeout() API at dhd_timeout_expired()
- CS6536174(By Choi Hyeonu) CS6433018(By Choi Hyeonu) Fixed prevent issues
- CS6594869(By Min SungBin) Triggering Kernel panic for the scheduling problem only if the memdump mode is enabled
- CS6600348(By LEE EONJI) Implemented 4359c0/GraceR P OS Wi-Fi sharing feature
- CS6658253(By Choi Hyeonu) Fixed random mac setting issue instead of otp mac
- CS6678972(By Hwang MinSik) Fixed TIS/TRP test failure and high current issue from sysfs change
- CS6713692(By Kim MinSoo) Fixed NET_RX delay issue
- CS6769798(By Kim Beom Jip) Fixed for GraceR/4359c0 P OS P2P connection failure issue
- CS6791516(By Lee Gibum) Fixed the unexpected frameburst enable on standalone SoftAP in 2GHz
- CS6791556(By Hwang MinSik) Removed CR/LF character at .cid.info including sysfs
- CS6809444(By Hwang MinSik) Unified DHD_COMMON_DUMP_PATH for the Android P OS project of all chips
- Changed the timestamp value to Kernel local time to debug resumed on timeout and scan timeout issues
- Defer RxBuf post size based on the rxbufpost_sz iovar return value for monitor mode
- Disabled DHD_LB_IRQSET for Exynos8890 platform
- Dump AER HeaderLog registers in configuration space for PCIe debugging
- Dumping PCIe registers for PCIe debugging enhancement
- Fixed VHT features enable issue from GraceR project
- Fixed unexpected RSDB mode configuration for legacy RSDB chip
- Implemented the debug code to check if the scan timeout or resumed on timeout happens due to the DPC scheduling problem
- Refined TDLS initialization code
Kernel source: https://github.com/klabit87/android_kernel_samsung_sdm845
Thanks to @tylerhole and the @stang5litre test group for testing anything I throw at them!
Thanks to @djb77 for the ramdisk patches
You guys are the best!
Hell yeah bro! Kickin ass and takin names as per usual! Killer job! Thanks!
very good, I has test it,OK, work fine.
I want to know how to modify the kernel configuration file.
.
Oh God! Thank you teacher, really thank you, you have taken our terminal to another level, God bless. I hope you will continue with us a lot longer. Greetings.
i loaded TWRP from Travis82 , got stuck un a bootloop screen from twrp.
franc33s said:
i loaded TWRP from Travis82 , got stuck un a bootloop screen from twrp.
Click to expand...
Click to collapse
How long did you wait? You will need to wait for 10-12 minutes and it will boot. I tested this multiple times myself and others as well before I released it here.
Sent from my Pixel 2 XL using Tapatalk
tomatolei said:
very good, I has test it,OK, work fine.
I want to know how to modify the kernel configuration file.
.
Click to expand...
Click to collapse
Check my GitHub. The source is linked at the bottom of the op. I'm working on updating sources for TWRP as well.
Sent from my Pixel 2 XL using Tapatalk
franc33s said:
i loaded TWRP from Travis82 , got stuck un a bootloop screen from twrp.
Click to expand...
Click to collapse
I bet your phone was connected to the computer. Travis TWRP causes reboots when plugged in which is why we dont use it.
stang5litre 5.0 Edition Roms
klabit87 said:
How long did you wait? You will need to wait for 10-12 minutes and it will boot. I tested this multiple times myself and others as well before I released it here.
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
ohh so the bootloop should be normal for 10 to 12 minutes? tough it would be stuck on the samsung bootscreen for those minutes, im goint to try again then.
---------- Post added at 04:13 PM ---------- Previous post was at 04:12 PM ----------
stang5litre said:
I bet your phone was connected to the computer. Travis TWRP causes reboots when plugged in which is why we dont use it.
stang5litre 5.0 Edition Roms
Click to expand...
Click to collapse
with one should i use then?
I did the steps as you indicated them and when restarting (for the second time) in TRWP I can not access the internal storage and I have encryption, what do you suggest doing? by others it works normally, I have a successful ROOT.
NOTE: the steps that I followed were the following:
1 flash zip root foot, from external memory
2.- format data (yes)
3.- reboot
4.- Again reboot
5.- again restart, but now in twrp.
franc33s said:
ohh so the bootloop should be normal for 10 to 12 minutes? tough it would be stuck on the samsung bootscreen for those minutes, im goint to try again then.
---------- Post added at 04:13 PM ---------- Previous post was at 04:12 PM ----------
with one should i use then?
Click to expand...
Click to collapse
I would use @klabit87 TWRP as it doesn't have that issue. Its posted in his thread
stang5litre said:
I would use @klabit87 TWRP as it doesn't have that issue. Its posted in his thread
Click to expand...
Click to collapse
the problem with the twrp of klabit87 is that it does not recognize mtp, and that option is very useful when the device does not turn on and you want to extract your data and thus format the system, or is it already working?
stang5litre said:
I would use @klabit87 TWRP as it doesn't have that issue. Its posted in his thread
Click to expand...
Click to collapse
so the one he did for the note 9? should work without any problems?
chalofito said:
the problem with the twrp of klabit87 is that it does not recognize mtp, and that option is very useful when the device does not turn on and you want to extract your data and thus format the system, or is it already working?
Click to expand...
Click to collapse
Travis doesn't either. His reboots with computer connected to phone klabits doesnt, so not sure what your missing ?
stang5litre 5.0 Edition Roms
stang5litre said:
Travis doesn't either. His reboots with computer connected to phone klabits doesnt, so not sure what your missing ?
stang5litre 5.0 Edition Roms
Click to expand...
Click to collapse
travis twrp does it, you just have to deactivate and activate mtp and connect without problem, but that's not the problem, my problem is that I can not access internal storage, and I can not flash anything, it tells me that it has not been mounted data , and create me I do the steps that klabit mentions for the root on android pie. please help me.
franc33s said:
so the one he did for the note 9? should work without any problems?
Click to expand...
Click to collapse
No. do not use the one for Note 9.
I have a twrp on my afh. I didnt make it public because it is not complete since mtp doesnt work. But others found it so whatever.
chalofito said:
travis twrp does it, you just have to deactivate and activate mtp and connect without problem, but that's not the problem, my problem is that I can not access internal storage, and I can not flash anything, it tells me that it has not been mounted data , and create me I do the steps that klabit mentions for the root on android pie. please help me.
Click to expand...
Click to collapse
Your internal storage is encrypted currently. I will work on decryption in a bit. but until then use your microsdcard and be patient.
I plan to update twrp with pie sources and make sure that mtp and adb are working properly.
klabit87 said:
Your internal storage is encrypted currently. I will work on decryption in a bit. but until then use your microsdcard and be patient.
I plan to update twrp with pie sources and make sure that mtp and adb are working properly.
Click to expand...
Click to collapse
Thanks was all I wanted to know, gladly I hope, for the moment I will install the firmware more root, since I thought that the problem was me and I was doing something wrong. Greetings.:highfive:
klabit87 said:
No. do not use the one for Note 9.
I have a twrp on my afh. I didnt make it public because it is not complete since mtp doesnt work. But others found it so whatever.
can you send me it?
Click to expand...
Click to collapse
franc33s said:
klabit87 said:
No. do not use the one for Note 9.
I have a twrp on my afh. I didnt make it public because it is not complete since mtp doesnt work. But others found it so whatever.
can you send me it?
Click to expand...
Click to collapse
As i believe it was stated before, mtp does not work on this one but adb does and it does not reboot instantly if you are plugged into your pc.
https://forum.xda-developers.com/showpost.php?p=78571048&postcount=143
Click to expand...
Click to collapse
stang5litre said:
I would use @klabit87 TWRP as it doesn't have that issue. Its posted in his thread
Click to expand...
Click to collapse
Isn't his twrp only for g9650?

[Kernel][ANDROID 10][20.02.2021][4.14.220] Kirisakura 1.0.1_R Asus Zenfone 6 aka Kirin

Kirisakura-Kernel for the Asus Zenfone 6
Hello everyone,
After rising to the most popular Kernel on Pixel 3/XL, here it is for the Asus Zenfone 6!
Kirisakura - Kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!
This project aims to keep most of the subsystems updated, way ahead of the stock kernel, thereby improving security and performance, while keeping stability as the foucs during testing! This includes Linux-Stable, CAF-Upstream and kernel/common.
Kernel Control Flow Integrity (Kernel-CFI), which is achieved by linking the kernel with LLD and Link Time Optimization (LTO), more precisely ThinLTO, are quite unique security features. In fact this, alongside Kirisakura-Kernel for the OnePlus 8 Pro, may be (and probably is) the first 4.19 msm kernel with a fully working Kernel-CFI implementation and CFI-Violations fixed on a smartphone.
The only kernels made by OEMs offering this security feature are the ones for the Pixel 3, 4 and 5 devices.
The recently released Kirisakura-Kernel for the OnePlus 8 Pro was featured on the XDA-Portal due to the inclusion of CFI. The featured article explains CFI in great details, is easy to understand and definitely worth to read.
Another security feature is Shadow Call Stack (SCS). Similar to CFI, only the Pixel 3, 4 and 5 kernels use this security feature.
SCS is another security patchset that is aimed at preventing attacks via return oriented programming (ROP).
ROP is a technique where the attacker gains control of the kernel stack to overwrite function return addresses and redirect execution to carefully selected parts of existing kernel code.
If you´re interested here are a few good links:
Google Security Blog explaining SCS.
LLVM doc about SCS
Android DOCs documenting SCS
If reading about upstream in the paragraph above got you curious,have a read about Linux-Stable and why it is important here. The stable-process is not the same for every subsystem, but the general idea, rule of thumb and benefits are applicable for other subsystems as well.
Quick explanation of CAF-Upstream. CAF is short for Codeaurora-Forums. This is the place where development from Qualcomm for their SoCs happens. This includes the Snapdragon 855/+ that´s built into the different SKUs of the Zenfone 6.
The kernel-bases available on the Codeaurora-Forums, are basically the foundations OEMs use, to build their own kernel additions on top for devices featuring Qualcomm SoCs.
The Qualcomm developers push regular updates to the bases of the different SoCs, a bit similar to how Linux-Upstream works. OEMs usually stop updating the initial base after the phone is released.
This kernel focuses amongst the other features to provide the latest CAF-Updates merged in a regular manner, to provide updates, improvements and enhancements for SoC specific drivers and subsystems! This might take a while, because a lot of device specific testing is done on my end to ensure stability.
The kernel includes a lot of improvements and contributions from other developers as well. Without this kernel would not exist.
Many of the improvements originate from @arter97´s, @kdrag0n´s and @Sultanxda´s work. Many others contributed in some way or another to this kernel.
A big thanks to all of them at this place!
Now lets continue with a list of features in the next paragraph!
Main Features:
- Based on latest kernel sources from Asus for Android 11
- Upstreamed against latest CAF
- Linux-Stable-Upstream included to latest 4.14.220
- compiled with Clang 11.0.1 prebuilt from Google
- Link-Time-Optimization (LTO)
- Kernel Control-Flow-Integration (CFI) and Link-Time-Optimization (LTO) ported from 4.19 kernel/common
- Shadow Call Stack (SCS) Security-Feature
- Use ThinLTO which was first used in the Pixel 4 XL Android R-Preview Kernel instead of full LTO for full program visibility (needed by CFI)
- fix CFI-Violations found in various subsystems like Asus/device specific drivers and qualcomm drivers
- Link the kernel with LLD and use RELR-Relocation
- include important fixes/improvements from kernel/common
- Flashing the kernel will keep root!
- Anykernel zip is based on the all new Anykernel3 release from @osm0sis
- include vDSO 32 patches to improve 32-bit performance
- disable various debugging configs, that are not needed in a perf build kernel according to google.
- disable selinux auditing (we don´t have to adress selinux denials running a stock rom)
EAS related features:
- backported scheduler from sd865
- disable autogroups and use cgroups for more efficient task placement!
- disable core_ctl for improved task placement and load balancing
- updates from kernel/common
- scheduler updates from Googles Pixel kernel
CPU related features:
- Power saving workingqueues enabled by default (toggleable in EXKM)
have a read here: https://lwn.net/Articles/731052/
this complements EAS in general
- Change various drivers ( MM, audio) to user power efficient workingqueues. This should work well in conjunction with EAS
- include cpuidle patches from CAF
- improvements to cpufreq/times/stats
- improve memory allocations in binder driver
- vdso32 patches as found on Google Pixel devices (brief documentation here)
File System related features:
- Set the bio REQ_NOENCRYPT flag (When lower layers such as dm-crypt observe the REQ_NOENCRYPT flag, it helps the I/O stack avoid redundant encryption, improving performance and power utilization. ) (CAF default)
- improve memory allocations in sdcardfs
- improve eventpoll logging to stop indicting timerfd (improves kernel wakelock readability)
- improve memory allocations in kernfs
- writeback: hardcode dirty_expire_centisecs=3000 based on this commit
- ufs improvements from pixel 4/ pixel 5 kernel
GPU related features:
- KCAL to control the display
- KLAPSE integrated
- KCAL/KLAPSE: changes safety measures -> allow completely disabling two RGB values (this was requested to, for example, only have red values on night dimming)
Network related features:
- Wireguard Support (Details)
- advanced TCP algorithms enabled
- includes new bbr and bbrv2
Memory related features:
- Memory Management patches from mainline kernel
- Speculative Page Faults (1. 2)
- Fix various memory leaks in different subsystems
- Reap memory of a task that receives sigkill
- enabled per process reclaim
- allow ZRAM to use higher swappiness values than 100
- possibility to use lzo-rle as default ZRAM compression algorithm (more information here and there )
Security related features:
- Control-Flow-Integration (CFI) and Link-Time-Optimization (LTO) ported from 4.19 kernel/common and Pixel 4/XL Kernel
- Use ThinLTO which was first used in the Pixel 4 XL Android R-Kernel instead of full LTO
- Shadow Call Stack (SCS) Security-Feature
- fix various CFI-Violations found in various subsystems like Asus/device specific drivers and qualcomm drivers
- enable init_on_alloc for even more security, more information can be found in the commit message
WLAN Driver
- use CAF wlan driver and compile it inline, the only way to ensure working wlan with this kernel
- the kernel cannot even force load prebuild WLAN module as the kernel base is way to far from stock!
- do no longer rely on the pre compiled wlan driver module
- completely removed qcom_rx wakelock in the wlan driver
- removed debugging from wlan driver
- removed logging from wlan driver
Magisk Companion Module
- set kernel settings like I intend them to be
Misc Features:
Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- please read [URL="https://arstechnica.com/gadgets/2018/08/p-is-for-power-how-google-tests-tracks-and-improves-android-battery-life/"]this for further info
- blocking a kernel wakelock should only be done in case of firmware incompatabilities (WiFi network at work (can´t be changed) causes deep sleep to not work on the phone.) That´s the only use case I see for this feature. The kernel does not features this to improve battery life!
Other features:
- disable logging to make the kernel more lightweight in various places
- fix several coding issues detected by newer Clang-Toolchains
- add support for steam controller
- add support for nintendo switch controller
- ufs improvements from pixel 4/ pixel 5 kernel
- gpu/kgsl improvements from pixel 4/pixel 5 kernel
Feature section for the "non visible" but perceptible improvements:
- updated binder section (responsible for interprocess communication)
- updated sdcardfs ; have a read about it here:
Requirements
- unlocked Bootloader
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
- magisk root
How to flash the Kernel:
1. Download the latest kernel.zip
1a. Optional: While it may not be necessary all times, you may want to restore stock boot.img, re-root with magisk and optionally install twrp.zip if coming from another kernel. Before reporting issues make sure you do that! Thank you!
2. Make sure to use latest Magisk stable. (not the latest canary!)
3. Flash the kernel.zip via latest EXKM or FKM app. Alternatively via TWRP.
4. Reboot and profit.
DOWNLOAD:
Download is located always in this folder:
Downloads for : -Android- Generic Device/Other | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
Android 9/Pie
1.0.0 Initial Release
1.3.0 https://forum.xda-developers.com/showpost.php?p=79852192&postcount=21
1.5.0 https://forum.xda-developers.com/showpost.php?p=79948337&postcount=36
1.6.0 https://forum.xda-developers.com/showpost.php?p=80037776&postcount=46
1.8.1 https://forum.xda-developers.com/showpost.php?p=80275065&postcount=58
3.0.0 https://forum.xda-developers.com/showpost.php?p=80712703&postcount=66
Android 10/Q
1.0.0_Q https://forum.xda-developers.com/showpost.php?p=81368413&postcount=73
1.0.3_Q https://forum.xda-developers.com/showpost.php?p=82387237&postcount=86
1.2.0_Q https://forum.xda-developers.com/showpost.php?p=83920653&postcount=92
Android 11/R
1.0.1_R https://forum.xda-developers.com/t/...sus-zenfone-6-aka-kirin.3940178/post-84526765
Donations:
Donations are not mandatory but very welcome if you want to support development or just buy me a coffee
If you like my work: http://paypal.me/freak07
Credits:
Asus for the Zenfone 6!
@osm0sis for all his work, including the ak2 installer!
@tbalden for being the best HTC wingman!
@LeeDroid for his awesome roms!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for helping me out
@flar2 for all his work
@joshuous for all the help he provided to me in the past!
@arter97 for giving me advice
@topjohnwu for magisk!
@osm0sis for anykernel!
XDA:DevDB Information
Kirisakura-Kernel, Kernel for the ASUS ZenFone 6 (2019)
Contributors
Freak07
Source Code: https://github.com/freak07/Kirisakura_Kirin
Version Information
Status: Stable
Mine for FAQ
Too
And too
Flashed it today and no problems so far.
Everything seems to work as intended
Freak07 said:
Mine for FAQ
Click to expand...
Click to collapse
Which RAM version do you have please?
Is the kernel for both?
EMJI79 said:
Which RAM version do you have please?
Is the kernel for both?
Click to expand...
Click to collapse
The 8GB version. RAM variant shouldn´t matter.
1. Does it have to be magisk stable or is canary (dev version) ok? I am asking because i need to use canary so my stupid pay app will not detect root.
2. This might sound stupid but what is magisk companion and where do i get it? I can not find it in the magisk modules repository or on xda and neither google.
2. This might sound stupid but what is magisk companion and where do i get it? I can not find it in the magisk modules repository or on xda and neither google.[/QUOTE]
It's in the downloads folder at the end of the afh link in the OP
isthisadagger said:
1. Does it have to be magisk stable or is canary (dev version) ok? I am asking because i need to use canary so my stupid pay app will not detect root.
2. This might sound stupid but what is magisk companion and where do i get it? I can not find it in the magisk modules repository or on xda and neither google.
Click to expand...
Click to collapse
jeremyet said:
2. This might sound stupid but what is magisk companion and where do i get it? I can not find it in the magisk modules repository or on xda and neither google.
Click to expand...
Click to collapse
It's in the downloads folder at the end of the afh link in the OP[/QUOTE]
1. you can probably use the canaries of magisk too. But keep in mind, they’re canary builds for a reason. If you’re having issues, flash to magisk stable and see if you can reproduce them.
2. Like @jeremyet said, it’s in the download folder in the OP
good job man
@Freak07: Cool, the first costom kernel for the Zenfone 6, thanks
I am still thinking of switching to the Zenfone 6, one feature I currently use a lot, is the "USB fast charge" : it makes a big difference, if I have my Smartphone for file transfer on my Laptop or PC, whether it charges in the background only with 500 mAh or with a little over 900 mAh on my USB 3 ports.
Does your kernel support USB fast charge / if not: will it be supported? (some custom kernels devs don't want to implement it, bacause it is not an official feature and "might" not work perfectly)
Coming from stock kernel, I got stuck at the Zenfone logo during reboot after the first flash with exkm. Volume down+power fixed that and after flashing a second time all seems to be working ? zram is at 684mb for my 6Gb variant.
Thank you a lot.
A quick question about the kernel source: Is there an API/kernel endpoint that can be used to query and manipulate the flip camera's motor? If so, is it something than can be accessed from userland? I was wondering if one might be able to write a shell script that can be used to send commands to it.
Does camera has OIS? I've seen OIS code in DTS
dmd79 said:
Does camera has OIS? I've seen OIS code in DTS
Click to expand...
Click to collapse
It's not the object of this thread.
There's a "ask me anything thread" in the discussions forum.
Flashing via EXKM will NOT work, if you’re on the latest magisk canary! (currently 19305!)
19302 is still working fine with EXKM, as is stable 19.3. Big changes in magisk are coming. we will have to wait for flar2 to find a new way of flashing zips.
Can this be flashed on the latest update or does it require an update from you? If not are there any downsides to it not being based on the most current kernel source code then?
Kind regards
regenwurm16 said:
Can this be flashed on the latest update or does it require an update from you? If not are there any downsides to it not being based on the most current kernel source code then?
Kind regards
Click to expand...
Click to collapse
Wait a bit. I’ll release an update soon. (hopefully later today) This will have latest asus sources merged.
I currently see 2 downloads for my kernel :cyclops: so I thought I can take it slow.
Testing was good so it should be ready for prime time stay tuned!
Thanks for your effort.
If think the two downloads are because of the scarce availability of the phone. I ordered mine on 5th of June on Amazon Germany the 6GB RAM 128GB ROM variant (only model they sell) and it took until 1st of July to get to me
I would have ordered on the Asus eShop but they don't ship to my country/don't have a shop for my country
Just take a look in the UK availability thread it's even worse there

Not able to view content in HDR

Hi Team,
I am using redmi k20 of India varient after updating it MIUI 12.1.4 now I lost my widevine L1 certificate & I can't able to view content in HDR in NETFLIX and Amazon prime video.
When I got to setting - password & security - fingerprint unlock - fingerprint Payment - widevine L1 - certificate download once I click on download certificate I am getting an error message as 'couldn't download certificate error code:1'
Please help me out with this issue.

Categories

Resources