Redmi 9 Kernel

0 views
Skip to first unread message

Paul

unread,
Aug 5, 2024, 10:29:02 AM8/5/24
to supptherpaymes
Soit shouldn't be a problem unless they're running around clicking the force checkbox from the start. (In which case they'll get a non-bootable system until they follow the vendor recovery or reflash from serial input)

I mean, I know I could revert back to factory firmware and install 23.05.x over the factory firmware, but I am wondering if there would be a simpler way to install 23.05.x over the new chained u-boots layout.


I mean, I know I could revert back to factory firmware and install 23.05.x over the factory firmware, but I am wondering if there would be a simpler way to install 23.05.x over the new chained u-boots layout


Anyway I was wondering what would happen if I apply a 23.05.x sysupgrade.bin via sysupgrade command (or via LuCI). Since the new image has the kernel+rootfs in UBI format (sysupgrade.ubi), and the previous image has kernel in a fixed size partition and only rootfs in UBI (sysupgrade.bin), I am trying to discover if it would work or not (I know it can softbrick my device, that's I'm trying to confirm here).


As expected. OpenWrt usually does not switch kernel versions within a stable release (23.05.2 -> 23.05.3 for example). Only kernel patches are applied on newer releases of a given stable version. A newer LTS kernel version (6.1) is already available in the snapshot releases for the AX6S as discussed above in this topic and it will be included in the next major stable release (24.x).


When I upgraded from 23.05.2 to snaphot via dd method, the configurations were kept, but when the device came up the configurations were all wrong (for example, it was showing 3 wifi radios instead of the expected 2 radios, and none was working).


GSI installation on Redmi 7A is very particular because I used the /e/ Q GSI which is arm64 while Redmi 7A is arm32 binder 64. In fact, Redmi 7A have an 64 bit processor but the kernel included with it is only 32 bit, so we have to change the kernel to a 64 bit one (like the one of Redmi 8A which have the same processor !)


I think it may be due to some change with the systemd services added in version 550 because that is when it happens the most. It has already happened to me twice when I am updating the system and it breaks it because the update cannot be completed. In the video it happens when the specific hooks are being processed (reloading system manager configuration).


I use endeavourOS(with kde) too on a lenovo legion 5(15h6h w/amd5600h+rtx3060) and can confirm random freezing on desktop use (currently ever since updating from 545 from nvidia-lts package i cannot also get nvidia to deep sleep which could affect stability?), REISUB works at least, when using nvidia-550 so i decided to wait for it and revert to 545, hope it gets fixed or else could be just distro specific.

If needed i can revert to back to nvidia-550 and fill bug report, for now i leave mine from 545:

nvidia-bug-report.log.gz (3.4 MB)


Other cases:

I found it to happen randomly, or just when chaining platform profiles.

Sometimes just when rebooting/powering off the machine, or randomly while booting/on the login screen.

It even happens when the GPU is not in use, powered off, on battery.


But this issue happens randomly, i just now did again and it did not happen, but in contrast e.g: the other day when i had vscode open, the app froze, then only mouse was working and then froze the system, REISUB worked still.


The trigger to cause the freeze is not consistent. The most reliable way to trigger it seems to be inserting / removing a USB-C cable which connects a single external monitor to the laptop. When the freeze starts to happen, I can move the mouse around sometimes but the UI does not respond and eventually the mouse cursor does not move anymore. There does not seem to be any correlation between the freeze and the applications which are running when it happens.


After this 2nd hang occurred, I booted the system one more time (2 minutes after the 2nd hard shutdown). 12 minutes later I performed a normal shutdown in the KDE start menu and this is where things got interesting. The system hung with a black screen pretty much immediately and would not respond to any user input.


I left it running overnight and did a hard shutdown in the morning to see what it would log overnight, but when checking the journal log today there was nothing logged past 1 second after the shutdown was initiated. Below is the complete journal log from this instance of hanging and the subsequent boot entry this evening


Same symptoms, same 550 driver, likewise the error appears in both X11 and Wayland, likewise the kernel panic stack starts with the __die function, likewise happens most often when shutting down/rebooting the laptop


Xiaomi Corporation (/ˈʃaʊmi/;[2] Chinese: 小米集团), commonly known as Xiaomi (registered as Xiaomi Inc.), is a Chinese designer and manufacturer of consumer electronics and related software, home appliances, automobiles and household hardware, with headquarters in Beijing, China. It is the second-largest manufacturer of smartphones in the world, behind Samsung,[3] most of which run on the MIUI (now HyperOS) operating system. The company is ranked 338th and is the youngest company on the Fortune Global 500.[4][5]


Xiaomi was founded in 2010 in Beijing by Lei Jun along with six associates. Lei had founded Kingsoft as well as Joyo.com, the latter of which he sold to Amazon for $75 million in 2004. In August 2011, Xiaomi released its first smartphone and, by 2014, it had the largest market share of smartphones sold in China. Initially the company only sold its products online; however, it later opened brick and mortar stores.[6] By 2015, it was developing a wide range of consumer electronics.[7] In 2020, the company sold 149.4 million smartphones and its MIUI (now HyperOS) mobile operating system has over 500 million monthly active users.[8] As of 2023, Xiaomi is the third-largest seller of smartphones worldwide, with a market share of about 12%, according to Counterpoint.[9] Its presence led some people to call Xiaomi the "Apple of China".[10] It has come up with its own range of wearable items.[11] It also is a major manufacturer of appliances including televisions, flashlights, unmanned aerial vehicles, and air purifiers using its Internet of things and Xiaomi Smart Home product ecosystems.


Xiaomi keeps its prices close to its manufacturing costs and bill of materials costs by keeping most of its products in the market for 18 months, longer than most smartphone companies.[12][13] The company also uses inventory optimization and flash sales to keep its inventory low.[14][6]


Lei had founded Kingsoft as well as Joyo.com, the latter of which he sold to Amazon for $75 million in 2004.[15] At the time of the founding of the company, Lei was dissatisfied with the products of other mobile phone manufacturers and thought he could make a better product.


In June 2012, the company raised $216 million of funding in a Series C round at a $4 billion valuation. Institutional investors participating in the first round of funding included Temasek Holdings, IDG Capital, Qiming Venture Partners and Qualcomm.[15][19]


In August 2013, the company hired Hugo Barra from Google, where he served as vice president of product management for the Android platform.[20][21][22][23] He was employed as vice president of Xiaomi to expand the company outside of mainland China, making Xiaomi the first company selling smartphones to poach a senior staffer from Google's Android team. He left the company in February 2017.[24]


In April 2014, Xiaomi purchased the domain name mi.com for a record US$3.6 million, the most expensive domain name ever bought in China, replacing xiaomi.com as the company's main domain name.[31][32]


In December 2014, Xiaomi raised US$1.1 billion at a valuation of over US$45 billion, making it one of the most valuable private technology companies in the world. The financing round was led by Hong Kong-based technology fund All-Stars Investment Limited, a fund run by former Morgan Stanley analyst Richard Ji.[35][36][37][38][39]


On 30 June 2015, Xiaomi announced its expansion into Brazil with the launch of locally manufactured Redmi 2; it was the first time the company assembled a smartphone outside of China.[44][45][46] However, the company left Brazil in the second half of 2016.[47]


On 5 September 2017, Xiaomi released Xiaomi Mi A1, the first Android One smartphone under the slogan: Created by Xiaomi, Powered by Google. Xiaomi stated started working with Google for the Mi A1 Android One smartphone earlier in 2017. An alternate version of the phone was also available with MIUI, the MI 5X.[60]


In 2017, Xiaomi opened Mi Stores in India, Pakistan and Bangladesh. The EU's first Mi Store was opened in Athens, Greece in October 2017.[61] In Q3 2017, Xiaomi overtook Samsung to become the largest smartphone brand in India. Xiaomi sold 9.2 million units during the quarter.[62] On 7 November 2017, Xiaomi commenced sales in Spain and western Europe.[63]


On 2 May 2018, Xiaomi announced the launch of Mi Music and Mi Video to offer "value-added internet services" in India.[65] On 3 May 2018, Xiaomi announced a partnership with 3 to sell smartphones in the United Kingdom, Ireland, Austria, Denmark, and Sweden[66]


In Q4 of 2018, the Xiaomi Pocophone F1 became the best-selling smartphone sold online in India.[72] The Pocophone was sometimes referred to as the "flagship killer" for offering high-end specifications at an affordable price.[73][74][72]


In March 2020, Xiaomi launched their first foldable phone, the Mi Mix Fold. Powered by Qualcomm Snapdragon 888 with an 8.01-inch foldable AMOLED display when open and a 6.5-inch external display when folded.[84] In March 2020, Xiaomi showcased its new 40W wireless charging solution, which was able to fully charge a smartphone with a 4,000mAh battery from flat in 40 minutes.[85][86]


On 30 March 2021, Xiaomi announced its intention to invest US$10 billion in electric vehicles over the following ten years.[88] On 31 March 2021, Xiaomi announced a new logo for the company, designed by Kenya Hara.[89][90]

3a8082e126
Reply all
Reply to author
Forward
0 new messages