|
ROMs y desarrollo Xiaomi Mi 10T ROMs y desarrollo Xiaomi Mi 10T |
|
Herramientas |
#1
|
||||
|
||||
[KERNEL][UPSTREAMED]CoreLinux Kernel [APOLLO][MI 10T][LINUX 5.4.61]
Hola.
He creado un kernel basado en el codigo fuente y aplicando los commits de este kernel: https://github.com/Official-Ayrton99..._xiaomi_sm8250 He creado un kernel upstreamed, es decir, utiliza la ultima versión del kernel linux 4.19(en concreto la versión 4.19.204). Cuales son las mejoras?: Changelog: KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB tracing: Reject string operand in the histogram expression bpf: Inherit expanded/patched seen count from old aux data bpf: Do not mark insn as seen under speculative path verification bpf: Fix leakage under speculation on mispredicted branches bpf, selftests: Adjust few selftest outcomes wrt unreachable code KVM: X86: MMU: Use the correct inherited permissions to get shadow page USB:ehci:fix Kunpeng920 ehci hardware problem ppp: Fix generating ppp unit id when ifname is not specified ovl: prevent private clone if bind mount is not allowed net: xilinx_emaclite: Do not print real IOMEM pointer Codigo fuente de CoreLinux disponible en el siguiente enlace: https://gitlab.com/moi162/kernel_xia...llo-upstreamed Enlace de descarga del ZIP(ESTE ES UN KERNEL CAF AOSP POR LO QUE SOLO FUNCIONARA EN CUSTOMS ROMS AOSP!!) https://drive.google.com/file/d/1DNu...ew?usp=sharing Un saludo y espero que los que teneis roms AOSP podais echarle un tiento! MUCHISIMAS GRACIAS!!. Última edición por moi12345 Día 24/08/21 a las 20:57:17. |
|
#2
|
||||
|
||||
RE:
Hola.
Hemos(digo todos por que es un trabajo comunitario!) portar el kernel del Xiaomi MI10T a la version mainline (la version 5.4.6) el kernel estable de Android más reciente que a publicado google en su rama upstream-5.4.y y que ha sido actualizada con exito, el Xiaomi MI10T es el primer dispositivo en correr la version del kernel Linux 5.x. Os dejo el codigo fuente y los cambios, y por supuesto el kernel en zip para instalar en customs rom AOSP. Enlace de descarga del zip instalable https://drive.google.com/file/d/1Ylu...ew?usp=sharing Codigo fuente de CoreLinux https://gitlab.com/moi162/kernel_xia...llo-upstreamed Cambios: smb3: warn on confusing error scenario with sec=krb5 genirq/affinity: Make affinity setting if activated opt-in genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq() PCI: hotplug: ACPI: Fix context refcounting in acpiphp_grab_context() PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken PCI: Add device even if driver attach failed PCI: qcom: Define some PARF params needed for ipq8064 SoC PCI: qcom: Add support for tx term offset for rev 2.1.0 btrfs: allow use of global block reserve for balance item deletion btrfs: free anon block device right after subvolume deletion btrfs: don't allocate anonymous block device for user invisible roots btrfs: ref-verify: fix memory leak in add_block_entry btrfs: stop incremening log_batch for the log root tree when syncing log btrfs: remove no longer needed use of log_writers for the log root tree btrfs: don't traverse into the seed devices in show_devname btrfs: open device without device_list_mutex btrfs: move the chunk_mutex in btrfs_read_chunk_tree btrfs: relocation: review the call sites which can be interrupted by signal btrfs: add missing check for nocow and compression inode flags btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree btrfs: sysfs: use NOFS for device creation btrfs: don't WARN if we abort a transaction with EROFS btrfs: fix race between page release and a fast fsync btrfs: fix messages after changing compression level by remount btrfs: only search for left_info if there is no right_info in try_merge_free_space btrfs: inode: fix NULL pointer dereference if inode doesn't need compression btrfs: fix memory leaks after failure to lookup checksums during inode logging btrfs: make sure SB_I_VERSION doesn't get unset by remount btrfs: fix return value mixup in btrfs_get_extent arm64: perf: Correct the event index in sysfs dt-bindings: iio: io-channel-mux: Fix compatible string in example code iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw() xtensa: add missing exclusive access state management xtensa: fix xtensa_pmu_setup prototype cifs: Fix leak when handling lease break for cached root fid powerpc/ptdump: Fix build failure in hashpagetable.c powerpc: Allow 4224 bytes of stack expansion for the signal frame powerpc: Fix circular dependency between percpu.h and mmu.h pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH media: vsp1: dl: Fix NULL pointer dereference on unbind net: ethernet: stmmac: Disable hardware multicast filter net: stmmac: dwmac1000: provide multicast filter fallback net/compat: Add missing sock updates for SCM_RIGHTS md/raid5: Fix Force reconstruct-write io stuck in degraded raid5 bcache: allocate meta data pages as compound pages bcache: fix overflow in offset_to_stripe() mac80211: fix misplaced while instead of if driver core: Avoid binding drivers to dead devices MIPS: CPU#0 is not hotpluggable MIPS: qi_lb60: Fix routing to audio amplifier ext2: fix missing percpu_counter_inc khugepaged: collapse_pte_mapped_thp() flush the right range khugepaged: collapse_pte_mapped_thp() protect the pmd lock ocfs2: change slot number type s16 to u16 mm/page_counter.c: fix protection usage propagation mm/memory_hotplug: fix unpaired mem_hotplug_begin/done ftrace: Setup correct FTRACE_FL_REGS flags for module kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler tracing/hwlat: Honor the tracing_cpumask tracing: Use trace_sched_process_free() instead of exit() for pid tracing tracing: Move pipe reference to trace array instead of current_tracer watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options watchdog: f71808e_wdt: remove use of wrong watchdog_info option watchdog: f71808e_wdt: clear watchdog timeout occurred flag ceph: set sec_context xattr on symlink creation ceph: handle zero-length feature mask in session messages pseries: Fix 64 bit logical memory block panic module: Correctly truncate sysfs sections output perf intel-pt: Fix FUP packet state perf intel-pt: Fix duplicate branch after CBR remoteproc: qcom: q6v5: Update running state before requesting stop remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load drm/imx: imx-ldb: Disable both channels for split mode in enc->disable() orangefs: get rid of knob code... pinctrl: ingenic: Properly detect GPIO direction when configured for IRQ crypto: algif_aead - Only wake up when ctx->more is zero mfd: arizona: Ensure 32k clock is put on driver unbind and error octeontx2-af: change (struct qmem)->entry_sz from u8 to u16 mtd: rawnand: fsl_upm: Remove unused mtd var platform/chrome: cros_ec_ishtp: Fix a double-unlock issue RDMA/ipoib: Return void from ipoib_ib_dev_stop() RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah() media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic media: rockchip: rga: Only set output CSC mode for RGB input IB/uverbs: Set IOVA on IB MR in uverbs layer selftests/bpf: Test_progs indicate to shell on non-actions selftests/bpf: test_progs use another shell exit on non-actions USB: serial: ftdi_sio: make process-packet buffer unsigned USB: serial: ftdi_sio: clean up receive processing crypto: af_alg - Fix regression on empty requests devres: keep both device name and resource name in pretty name RDMA/counter: Only bind user QPs in auto mode RDMA/counter: Allow manually bind QPs with different pids to same counter mmc: renesas_sdhi_internal_dmac: clean up the code for dma complete crypto: caam - Remove broken arc4 support gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile dm rq: don't call blk_mq_queue_stopped() in dm_stop_queue() clk: actions: Fix h_clk for Actions S500 SoC selftests/powerpc: ptrace-pkey: Rename variables to make it easier to follow code selftests/powerpc: ptrace-pkey: Update the test to mark an invalid pkey correctly selftests/powerpc: ptrace-pkey: Don't update expected UAMOR value iommu/omap: Check for failure of a call to omap_iommu_dump_ctx clk: qcom: gcc: fix sm8150 GPU and NPU clocks clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL iommu/vt-d: Enforce PASID devTLB field mask i2c: rcar: slave: only send STOP event when we have been addressed clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk clk: clk-atlas6: fix return value check in atlas6_clk_init() pwm: bcm-iproc: handle clk_get_rate() return tools build feature: Use CC and CXX from parent i2c: rcar: avoid race when unregistering slave nfs: ensure correct writeback errors are returned on close() ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename clk: bcm2835: Do not use prediv with bcm2711's PLLs libnvdimm/security: fix a typo libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr openrisc: Fix oops caused when dumping stack scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport nfs: nfs_file_write() should check for writeback errors watchdog: initialize device before misc_register md-cluster: Fix potential error pointer dereference in resize_bitmaps() x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC Input: sentelic - fix error return when fsp_reg_write fails recordmcount: Fix build failure on non arm64 drm/vmwgfx: Use correct vmw_legacy_display_unit pointer drm/vmwgfx: Fix two list_for_each loop exit tests net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init nfs: Fix getxattr kernel panic and memory overflow fs/minix: set s_maxbytes correctly fs/minix: fix block limit check for V1 filesystems fs/minix: remove expected error message in block_to_path() fs/ufs: avoid potential u32 multiplication overflow test_kmod: avoid potential double free in trigger_config_run_type() i2c: iproc: fix race between client unreg and isr mfd: dln2: Run event handler loop under spinlock crypto: algif_aead - fix uninitialized ctx->init ALSA: echoaudio: Fix potential Oops in snd_echo_resume() perf bench mem: Always memset source before memcpy tools build feature: Quote CC and CXX for their arguments perf/x86/rapl: Fix missing psys sysfs attributes sh: landisk: Add missing initialization of sh_io_port_base khugepaged: retract_page_tables() remember to test exit arm64: dts: marvell: espressobin: add ethernet alias drm/panfrost: Use kvfree() to free bo->sgts drm: Added orientation quirk for ASUS tablet model T103HAF drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume drm/amd/display: dchubbub p-state warning during surface planes switch Imagen: |
#3
|
||||
|
||||
RE:
Actualizada la version del kernel a la version 5.4.61
Cambios: Documentation/llvm: add documentation on building w/ Clang/LLVM Documentation/llvm: fix the name of llvm-size net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware x86/boot: kbuild: allow readelf executable to be specified kbuild: remove PYTHON2 variable kbuild: remove AS variable kbuild: replace AS=clang with LLVM_IAS=1 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset() gfs2: Improve mmap write vs. punch_hole consistency gfs2: Never call gfs2_block_zero_range with an open transaction perf probe: Fix memory leakage when the probe point is not found khugepaged: khugepaged_test_exit() check mmget_still_valid() khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter() bcache: avoid nr_stripes overflow in bcache_device_init() btrfs: export helpers for subvolume name/id resolution btrfs: don't show full path of bind mounts in subvol= btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases btrfs: add wrapper for transaction abort predicate ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer() can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated spi: Prevent adding devices below an unregistering controller romfs: fix uninitialized memory leak in romfs_dev_read() kernel/relay.c: fix memleak on destroy relay channel uprobes: __replace_page() avoid BUG in munlock_vma_page() mm: include CMA pages in lowmem_reserve at boot mm, page_alloc: fix core hung in free_pcppages_bulk() RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request ext4: fix checking of directory entry validity for inline directories jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock() scsi: zfcp: Fix use-after-free in request timeout handlers drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal drm/amd/display: Fix EDID parsing after resume from suspend drm/amd/display: fix pow() crashing when given base 0 kthread: Do not preempt current task if it is going to call schedule() opp: Enable resources again if they were disabled earlier scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM media: budget-core: Improve exception handling in budget_register() rtc: goldfish: Enable interrupt in set_alarm() when necessary media: vpss: clean up resources in init Input: psmouse - add a newline when printing 'proto' by sysfs MIPS: Fix unable to reserve memory for Crash kernel m68knommu: fix overwriting of bits in ColdFire V3 cache control svcrdma: Fix another Receive buffer leak xfs: fix inode quota reservation checks drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access jffs2: fix UAF problem ceph: fix use-after-free for fsc->mdsc swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0 scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases virtio_ring: Avoid loop when vq is broken in virtqueue_poll media: camss: fix memory leaks on error handling paths in probe tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init alpha: fix annotation of io{read,write}{16,32}be() fs/signalfd.c: fix inconsistent return codes for signalfd4 ext4: fix potential negative array index in do_split() ext4: don't allow overlapping system zones netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian spi: stm32: fixes suspend/resume management ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM ASoC: q6routing: add dummy register read/write function bpf: sock_ops sk access may stomp registers when dst_reg = src_reg can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can() can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack can: j1939: transport: add j1939_session_skb_find_by_offset() function i40e: Set RX_ONLY mode for unicast promiscuous on VLAN i40e: Fix crash during removing i40e driver net: fec: correct the error path for regulator disable in probe bonding: show saner speed for broadcast mode can: j1939: fix support for multipacket broadcast message can: j1939: cancel rxtimer on multipacket broadcast session complete can: j1939: abort multipacket broadcast session when timeout occurs can: j1939: add rxtimer for multipacket broadcast session bonding: fix a potential double-unregister s390/runtime_instrumentation: fix storage key handling s390/ptrace: fix storage key handling ASoC: msm8916-wcd-analog: fix register Interrupt offset ASoC: intel: Fix memleak in sst_media_open vfio/type1: Add proper error unwind for vfio_iommu_replay() kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe" kconfig: qconf: do not limit the pop-up menu to the first row kconfig: qconf: fix signal connection to invalid slots efi: avoid error message when booting under Xen Fix build error when CONFIG_ACPI is not set/enabled: RDMA/bnxt_re: Do not add user qps to flushlist afs: Fix NULL deref in afs_dynroot_depopulate() ARM64: vdso32: Install vdso32 from vdso_install bonding: fix active-backup failover for current ARP slave net: ena: Prevent reset after device destruction net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe() hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit() net: dsa: b53: check for timeout powerpc/pseries: Do not initiate shutdown when system is running on UPS efi: add missed destroy_workqueue when efisubsys_init fails epoll: Keep a reference on files added to the check list do_epoll_ctl(): clean the failure exits up a bit mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible xen: don't reschedule in preemption off sections KVM: Pass MMU notifier range flags to kvm_unmap_hva_range() KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set Enlace del zip descargable: https://drive.google.com/file/d/1LN4...ew?usp=sharing Screenshots: Un saludo! Codigo fuente: https://gitlab.com/moi162/kernel_xia...llo-upstreamed Última edición por moi12345 Día 24/08/21 a las 22:20:32. |
#4
|
||||
|
||||
RE:
Hola.
Alguien me podria dar feedback (en el caso de qué tengas una ROM AOSP) de los consumos, uso de memoria, y demás que esta haciendo el kernel?. Si esto se anima, puede haber mas sorpesas!. Un saludo! |
Estás aquí | ||||||
|