|
ROMs y desarrollo Xiaomi Mi 10T ROMs y desarrollo Xiaomi Mi 10T |
|
Herramientas |
#1
|
||||
|
||||
MiuiPlus[STOCK][UPSTREAMED][LINUX 5.10.69][Mi 10T]
Hola.
Como os comente hay varias sorpresitas... He conseguido arrancar el kernel mainline (5.4.61) la más alta que se puede ejecutar en un movil, y efectivamente lo he logrado arrancar en MIUI. EL ZIP instalable: https://drive.google.com/file/d/1adH...ew?usp=sharing Tendreis que hacer instalacion limpia de la rom MIUI, una vez echa la instalacion limpia, siempre podreis actualizar el kernel, que voy compilando cada semana con mejoras y actualizaciones. Compatible con cualquier rom STOCK MIUI(xiaomi.eu, la STOCK etc). Despues de hacer la instalacion, es necesario flashear el kernel mediante TWRP. Las mejoras se centran en rendimiento, y parches de seguridad aplicados al kernel del kernel más nuevo. Me gustaria saber, si podeis hacer pruebas de rendimiento, y duración de bateria. Espero que os guste este proyecto tanto como yo e disfrutado haciendolo. Un saludo: El codigo fuente: https://gitlab.com/moi162/kernel_xiaomi_oss Última edición por moi12345 Día 01/10/21 a las 18:17:28. |
Gracias de parte de: | ||
|
#3
|
||||
|
||||
|
Gracias de parte de: | ||
#4
|
||||
|
||||
Con el kernel que hemos desarrollado, practicamente el Xiaomi MI10T barre a su competencia, incluso superando al exynos 2100 del galaxy s21 ultra:
Aquí teneis la prueba: |
#5
|
||||
|
||||
RE:
Codigo fuente del kernel: https://gitlab.com/moi162/kernel_xiaomi_oss Enlace del zip INSTALABLE: https://drive.google.com/file/d/1l8U...ew?usp=sharing Cambios: KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run() scsi: core: Fix bad pointer dereference when ehandler kthread is invalid tracing: Do not reference char * as a string in histograms cgroup: verify that source is a string fbmem: Do not delete the mode that is still in use net: moxa: Use devm_platform_get_and_ioremap_resource() dmaengine: fsl-qdma: check dma_set_mask return value srcu: Fix broken node geometry after early ssp init tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero misc/libmasm/module: Fix two use after free in ibmasm_init_one misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get(). iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get() ALSA: usx2y: Don't call free_pages_exact() with NULL address Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro" w1: ds2438: fixing bug that would always get page0 scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw() scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs scsi: core: Cap scsi_host cmd_per_lun at can_queue ALSA: ac97: fix PM reference leak in ac97_bus_remove() tty: serial: 8250: serial_cs: Fix a memory leak in error handling path scsi: scsi_dh_alua: Check for negative result value fs/jfs: Fix missing error code in lmLogInit() scsi: megaraid_sas: Fix resource leak in case of probe failure scsi: megaraid_sas: Early detection of VD deletion through RaidMap update scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs scsi: iscsi: Add iscsi_cls_conn refcount helpers scsi: iscsi: Fix conn use after free during resets scsi: iscsi: Fix shost->max_id use scsi: qedi: Fix null ref during abort handling mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE mfd: cpcap: Fix cpcap dmamask not set warnings ASoC: img: Fix PM reference leak in img_i2s_in_probe() serial: tty: uartlite: fix console setup s390/sclp_vt220: fix console name to match device selftests: timers: rtcpie: skip test if default RTC device does not exist ALSA: sb: Fix potential double-free of CSP mixer elements powerpc/ps3: Add dma_mask to ps3_dma_region iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation gpio: zynq: Check return value of pm_runtime_get_sync ALSA: ppc: fix error return code in snd_pmac_probe() selftests/powerpc: Fix "no_handler" EBB selftest gpio: pca953x: Add support for the On Semi pca9655 ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing() s390/processor: always inline stap() and __load_psw_mask() s390/ipl_parm: fix program check new psw handling s390/mem_detect: fix diag260() program check new psw handling s390/mem_detect: fix tprot() program check new psw handling Input: hideep - fix the uninitialized use in hideep_nvm_unlock() ALSA: bebob: add support for ToneWeal FW66 ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count ALSA: usb-audio: scarlett2: Fix data_mutex lock ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values usb: gadget: f_hid: fix endianness issue with descriptors usb: gadget: hid: fix error return code in hid_bind() powerpc/boot: Fixup device-tree on little endian ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters backlight: lm3630a: Fix return code of .update_status() callback ALSA: hda: Add IRQ check for platform_get_irq() ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions staging: rtl8723bs: fix macro value for 2.4Ghz only device intel_th: Wait until port is in reset before programming it i2c: core: Disable client irq on reboot/shutdown lib/decompress_unlz4.c: correctly handle zero-padding around initrds. power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE pwm: spear: Don't modify HW state in .remove callback power: supply: ab8500: Avoid NULL pointers power: supply: max17042: Do not enforce (incorrect) interrupt trigger type power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1 PCI/P2PDMA: Avoid pci_get_slot(), which may sleep watchdog: Fix possible use-after-free in wdt_startup() watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff() watchdog: Fix possible use-after-free by calling del_timer_sync() watchdog: imx_sc_wdt: fix pretimeout watchdog: iTCO_wdt: Account for rebooting on second timeout x86/fpu: Return proper error codes from user access functions PCI: tegra: Add missing MODULE_DEVICE_TABLE orangefs: fix orangefs df output. ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty NFS: nfs_find_open_context() may only select open files power: supply: charger-manager: add missing MODULE_DEVICE_TABLE power: supply: ab8500: add missing MODULE_DEVICE_TABLE pwm: img: Fix PM reference leak in img_pwm_enable() pwm: tegra: Don't modify HW state in .remove callback ACPI: AMBA: Fix resource name in /proc/iomem ACPI: video: Add quirk for the Dell Vostro 3350 virtio-blk: Fix memory leak among suspend/resume procedure virtio_net: Fix error handling in virtnet_restore() virtio_console: Assure used length from device is limited x86/signal: Detect and prevent an alternate signal stack overflow f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun power: supply: rt5033_battery: Fix device tree enumeration NFSv4: Initialise connection to the server in nfs4_alloc_client() um: fix error return code in slip_open() um: fix error return code in winch_tramp() watchdog: aspeed: fix hardware timeout calculation nfs: fix acl memory leak of posix_acl_create() ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode PCI: iproc: Fix multi-MSI base vector number allocation PCI: iproc: Support multi-MSI only on uniprocessor kernel x86/fpu: Limit xstate copy size in xstateregs_set() pwm: imx1: Don't disable clocks at device remove time virtio_net: move tx vq operation under tx queue lock nvme-tcp: can't set sk_user_data without write_lock ALSA: isa: Fix error return code in snd_cmi8330_probe() NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times hexagon: use common DISCARDS macro ARM: dts: gemini-rut1xx: remove duplicate ethernet node reset: a10sr: add missing of_match_table reference ARM: exynos: add missing of_node_put for loop iteration ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3 ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1 ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4 memory: atmel-ebi: add missing of_node_put for loop iteration reset: brcmstb: Add missing MODULE_DEVICE_TABLE memory: pl353: Fix error return code in pl353_smc_probe() rtc: fix snprintf() checking in is_rtc_hctosys() arm64: dts: renesas: v3msk: Fix memory size ARM: dts: r8a7779, marzen: Fix DU clock names firmware: tegra: Fix error return code in tegra210_bpmp_init() firmware: arm_scmi: Reset Rx buffer to max size during async commands ARM: dts: BCM5301X: Fixup SPI binding reset: bail if try_module_get() fails memory: fsl_ifc: fix leak of IO mapping on probe failure memory: fsl_ifc: fix leak of private memory on probe failure ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema ARM: dts: imx6q-dhcom: Fix ethernet reset time properties ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations firmware: turris-mox-rwtm: fix reply status decoding function firmware: turris-mox-rwtm: report failures better firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe() mips: always link byteswap helpers into decompressor mips: disable branch profiling in boot/decompress.o MIPS: vdso: Invalid GIC access through VDSO scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg() misc: alcor_pci: fix inverted branch condition seq_file: disallow extremely large seq buffer allocations - |
#6
|
||||
|
||||
Lo estoy probando en la EEA. Ya te diré cómo va.
|
#7
|
||||
|
||||
|
#8
|
||||
|
||||
|
#9
|
||||
|
||||
|
#10
|
||||
|
||||
Solucionado el drenaje de bateria excesivo por parte del kernel, y otros cambios qué comunico a continuación: Cambios:net: qrtr: fix another OOB Read in qrtr_endpoint_post ARC: Fix CONFIG_STACKDEPOT netfilter: conntrack: collect all entries in one cycle once: Fix panic when module unload ovl: fix uninitialized pointer read in ovl_lookup_real_one() mmc: sdhci-msm: Update the software timeout value for sdhc mm, oom: make the calculation of oom badness more accurate can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters Revert "USB: serial: ch341: fix character loss at high transfer rates" USB: serial: option: add new VID/PID to support Fibocom FG150 usb: dwc3: gadget: Fix dwc3_calc_trbs_left() usb: dwc3: gadget: Stop EP0 transfers during pullup disable scsi: core: Fix hang of freezing queue between blocking and running device RDMA/bnxt_re: Add missing spin lock initialization IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs() e1000e: Fix the max snoop/no-snoop latency for 10M RDMA/efa: Free IRQ vectors on error flow ip_gre: add validation for csum_start xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()' net: marvell: fix MVNETA_TX_IN_PRGRS bit number rtnetlink: Return correct error on changing device netns net: hns3: clear hardware resource when loading driver net: hns3: fix duplicate node in VLAN list net: hns3: fix get wrong pfc_en when query PFC configuration drm/i915: Fix syncmap memory leak usb: gadget: u_audio: fix race condition on endpoint stop perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32 opp: remove WARN when no valid OPPs remain virtio: Improve vq->broken access to avoid any compiler optimization virtio_pci: Support surprise removal of virtio pci device vringh: Use wiov->used to check for read/write desc order qed: qed ll2 race condition fixes qed: Fix null-pointer dereference in qed_rdma_create_qp() drm: Copy drm_wait_vblank to user before returning drm/nouveau/disp: power down unused DP links during init net/rds: dma_map_sg is entitled to merge entries btrfs: fix race between marking inode needs to be logged and log syncing vt_kdsetmode: extend console locking bpf: Track contents of read-only maps as scalars bpf: Fix cast to pointer from integer of different size warning net: dsa: mt7530: fix VLAN traffic leaks again KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88 btrfs: fix NULL pointer dereference when deleting device by invalid id Revert "floppy: reintroduce O_NDELAY fix" Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat" net: don't unconditionally copy_from_user a struct ifreq for socket ioctls audit: move put_tree() to avoid trim_trees refcount underflow and UAF Enlace del ZIP instalable: https://drive.google.com/file/d/1P5I...ew?usp=sharing Codigo fuente del kernel: https://www.gitlab.com/moi162/kernel_xiaomi_oss Screenshots: |
#11
|
||||
|
||||
Actualizada la version del kernel linux 5.4.146
Corregidos fallos menores, y mejora aun más la eficiencia energetica asi como el rendimiento. Enlace del ZIP instalable: https://drive.google.com/file/d/19T0...ew?usp=sharing Codigo fuente: https://gitlab.com/moi162/kernel_xiaomi_oss |
Gracias de parte de: | ||
#12
|
||||
|
||||
Actualizada la version del kernel linux 5.4.146
Corregidos fallos menores, y mejora aun más la eficiencia energetica asi como el rendimiento. Enlace del ZIP instalable: https://drive.google.com/file/d/19T0...ew?usp=sharing Codigo fuente: https://gitlab.com/moi162/kernel_xiaomi_oss Coreccion de errores menores, y corregidos fallos en los controladores de gestion de dispositivos bluetooth, asi como aumentado el rendimiento del sistema. Source code: https://gitlab.com/moi162/kernel_xiaomi_oss Enlace del ZIP INSTALABLE: https://drive.google.com/file/d/1ge8...ew?usp=sharing |
Gracias de parte de: | ||
#13
|
||||
|
||||
Voy a probar.
Edit: va bien en xiaomi.eu yo no he reinstalado la ROM limpia ni nada, sobre la que tenía ya de antes. Última edición por bufank Día 24/09/21 a las 15:26:40. |
#15
|
||||
|
||||
Muy buenas
Simplemente entras en recovery y lo instalas y ya está???? Gracias...ahhhh por cierto llevo la EU estable... |
#16
|
||||
|
||||
No solo es valido para Mi10T a secas Un saludo |
Gracias de parte de: | ||
#17
|
||||
|
||||
No hay problema, funciona con ROMS STOCK y CUSTOMS roms ya que se basa en el kernel de xiaomi desarrollado para dispositivos que contengan vendor OSS, todas las CUSTOM rom con vendor OSS y ROM STOCK(que obvio que lo llevan) no tendras ningun problema. Un saludo y gracias. |
Gracias de parte de: | ||
#18
|
||||
|
||||
|
Gracias de parte de: | ||
#20
|
||||
|
||||
La reinstalacion limpia se recomienda por qué los modulos anteriores pueden entrar en conflicto con los modulos del kernel nuevo, aunque es posible realizar la instalacion del kernel sin tener que hacer una instalacion limpia.
No hay problema, funciona con ROMS STOCK y CUSTOMS roms ya que se basa en el kernel de xiaomi desarrollado para dispositivos que contengan vendor OSS, todas las CUSTOM rom con vendor OSS y ROM STOCK(que obvio que lo llevan) no tendras ningun problema. Un saludo y gracias. |
Estás aquí | ||||||
|