Question Xiaomi Mi 11 use for hardware research - Xiaomi Mi 11

Hi everyone. I have been lurking the forums a lot - there is a lot of useful info on mobile platforms here, more than anywhere else on the internet. I apologize in advance for a long post, but I feel like the only people who can answer my question are here on these forums. I am a graduate student at a university and my research project is on mobile SOC (System on Chip) architectures. As such, I want to grab an Android phone and evaluate its hardware performance using tools like simpleperf, which is a tool available from Android (it is their version of linux perf tool, which reads hardware counters directly from CPU's PMU (Performance monitoring unit)). Counters I am talking about are things like: cache misses, branch mispredictions, etc....
I was able to use the tool on my Pixel 5 after rooting it, but this is my personal phone and has older SOC (and I can not write to the file system, so I am using simpleperf by just displaying results in terminal), and my academic advisor told me that we can go ahead with the project and buy a new phone (with latest Snapdragon 888 SOC). I have in front of me Samsung S21 Ultra, but I am in Canada, so I have US version, and this phone can not be unlocked and/or rooted from what I understand, so we will be returning it and looking for another device (why claim you participate in open source when you lock your phone shut and prevent any development on it?)
As such, I am looking to buy Xiaomi Mi 11, root it, and use it to collect hardware counters. I live in Canada and so I would imagine I need to order the international version. So my questions to the esteemed members of this community are:
1. Am I right in assuming that Xiaomi Mi 11 can be rooted, so that I have root permissions on the underlying linux when I run adb shell and then su root. On my rooted Pixel 5 I have that.
2. Can the file system be mounted in RW mode? simpleperf can dump files with evaluation results and this requires writable file system.
3. If file system is not writable, is there a writable directory? For example, Samsung S21 has a directory /sd_card, to which I was able to write files. Is there something similar on Xiaomi Mi 11?
4. In general, are Xiaomi devices developer friendly? Do they have a bunch of special things installed like Odin on Samsung, or is it closer to Pixel devices by google, which are developer friendly?
Thank you very much!
Pavel.

Hey there. Sorry for not having all the answers for you but as no body wrote nothing yet I can just tell you that yes you can unlock bootloader and root your phone which should give you possible all the rights you need I hope
You can unlock developer options and there you can tweak some stuff. I am not developer but I do like to tweak
I think you should go ahead and buy mi 11 and research here what you can do with the device.
Note that you need to wait 168h to unlock the bootloader after applying for unlock.
Good Luck !

Thank you very much for response! Could you elaborate a little bit about 168h wait please? Is that 168 hours?
I also forgot to ask: is it possible to lock the bootloader after unlock and root?

Yes 168 hours that is 7 days of looong waiting.
It is but only on the rom that device came with. stock rom. If you change rom and want to lock it you might brick device (lock) but than again you can unlock it and fix it by yourself easily ,
I saw other user saying that he flashed global on orange rom and lock bootloader. but I think it is the same based rom so in his case it was possible.

I see. Thank you. 7 day wait is ok. I guess what I am trying to ask is whether I will be able to return device to original specifications?

Aha , yes I think there should not be problems. You just need to flash stock rom with lock all.bat command.
I advise you to research here and on the net how to properly unlock and other stuff while you wait for the device and unlock. there are steps to follow to have successful unlock and flash and other .

I see. Thank you very much!

Related

Xiaomi Note Pro root questions

Hello and happy holidays
I have some general Xiaomi Note Pro questions.
To me, I believe complex.
Chances are, complex to someone else too.
I was attempting to learn about rooting my phone.
There were some one-click-root applications like Kingroot and Framaroot.
Seemed those two were related to each other.
I read on some websites that Kingroot is questionable and may even harvest data to unknown parties.
It would be nice to get root without losing data with one click. (I could then do a Titanium backup and play around with my data safe) Is this just wishful thinking?
In 2015 there was some formal non click methods to root the phone.
(https://forum.xda-developers.com/mi-note-pro/general/guide-gain-root-access-easiest-method-t3140892)
Prior to this post I make now, I spent over 5 hours attempting to search the Internet to know if Framaroot, Kingroot, or any others that claim this one-click-root concept are valid. I found myself to be more uncomfortable with these two (Framaroot/Kingroot).
Is there a safe one-click-root option for the Note Pro phone?
Are Framaroot and Kingroot dangerous one-click-root options?
Thank you so much for feedback and any expertise I can get to clear up my questions
Again, I think if I have these questions, others may too. (Hope this helps others in the process)
The easiest is:
1: apply for code to unlock bootloader to Mi and unlock it
2: flash a pre rooted ROM like developer preview ROM or better if you want to easily have Google apps, flash eu. Miui ROM which is basically official Miui developer ROM + Google apps and all the languages you could dream of

bootloader

Is it possible to unlock?
At this moment, no.
You will know as it'll be reported here very early. There are some third party companies that do it. Some are cheaper than others.
For the moment, there is nothing..
Sucks I know
I asked this before on another similar thread and didn't get a response. Is it possible to dump the bootloader from either an unlocked or locked phone to analyse it for potential vulnerabilities either in how it handles the unlock code, or more generally that would allow a user to soft-mod unlock the phone? I know for the 5th, 7th, and 9th gen Fire 7 tablets exploits were found in the LK part of the bootloader which eventually allowed for a customised version of TWRP to be flashed onto the devices, and later LineageOS. If we could dump the current Huawei bootloader surely we could try to find if there are any similar exploits?
I am found metod but it needs mrt dongle((
Tbh custom roms aren't really important anymore. Google is already ruining android everytime a new update comes around, like the overlay feature that was introduced in oreo but then removed for no reason.
Besides EMUI is already optimised for the chip so, again, no reason for custom roms and/or rooting (unless you want to remove bloatware but that can be solved via ADB)
The Restless Soul said:
Tbh custom roms aren't really important anymore. Google is already ruining android everytime a new update comes around, like the overlay feature that was introduced in oreo but then removed for no reason.
Besides EMUI is already optimised for the chip so, again, no reason for custom roms and/or rooting (unless you want to remove bloatware but that can be solved via ADB)
Click to expand...
Click to collapse
I am need it for root and lineage os

What is the most up-to-date I can make my tencent ROG II using ASUS firmware, and how?

Hello!
I've been beating my head on this for a while now, and after several days of reflashing using various methods and ROMs I'm throwing my hands up.
Given the removal of 3g support by AT&T I decided to unlock my phone so I could install the VoLTE software necessary to remain on my network. Because I was unlocking my phone (and because I have a natural desire to break every operating system I meet, thanks linux) I decided to see what other upgrades I could do. I found that my device has a CN fingerprint, which is apparently bad? so without knowing anything I decided to dive in, and immediately bricked my phone.
I have become good friends with MiFlash, which I have used to successfully flash to stock firmware a few times now thanks to this guide. I gained root access, and changed "CN" to "WW" in some variety of rooted file explorer, and removed the "hidden" file from the themes menu. BUT I did NOT use the raw file and rootww191064.img from the guide because those files do not appear to exist on the internet anymore. (I've searched several places, and found many guides which all lead to broken download links)
So, even though I didn't completely follow that guide, when I flash to stock using MiFlash and check my device info using the device info hw app it identifies my fingerprint AND firmware as WW. BUT!!!! when I then try to flash an upgrade to android 10 using either an android 10 RAW file I've found, or a .zip I nabbed off the ASUS website my firmware tag CHANGES BACK to CN.
I am real worked up about it because I have tinkered endlessly and thought I had a sneaky solution... and I'm not even sure why I don't want it to say CN. I think the firmware isn't holding the WW code because I didn't use the rooted image to flash my phone, but I can't find a rooted image. So I think that might be the only thing I REALLY need help with... but I'm not sure what I don't know.
SO... does anyone have / can anyone help with...
1) a link to a raw rom with a rooted img that would allow me to "properly" change the fingerprint?
2) an explanation of how to properly flash the most current available ROM for the tencent ROG ii given what I've explained above
3) a link to said most current available rom? (I'm not just being lazy here, I've downloaded and used LOADS, I just am so lost and rather tired of not having a phone.)
Thank you friends, for your help. I've had a very enjoyable time breaking my system, I'm hopeful you lovely people I've been reading comments by will be able to guide me properly.

Bootloader Xiaomi Redmi 9

Hello to everyone reading this, wish you all the best in the New Year.. Now let's get to the problem I have.. I'm using Brave as my browser and I am sure most of you are familiar with Brave Ads, well they don't work on my phone.. While duckduckgo-ing through I stumbled on possible reason why it may not work, the said reason was unlocked bootloader.. It was suggested to download SafetyNet test and check if everything is as it should be. To my surprise my bootloader was unlocked (I double checked via developer options since Xiaomi offers information on that there as well) but the issue is I never flashed any ROM or Firmware nor anything similar, it's stock as it can be from the store.. Now that I elaborated the best I can (Since my native language is not English) I need to ask 3 questions as stupid as the may sound.
1. Is it possible that bootloader unlocked by itself or some shady app?
2. Does that lock icon below front camera unlocks bootloader by tapping when you turn on the phone? (Since it was locked before and now its not)
3. Is there a way I can lock it without using PC and adb tools?
Thank you for your answers and time, much appreciated!
PS: I would add pictures if needed but since I didn't tamper with the phone nor change anything in developer options I doubt it's of any help.
To lock the bootloader in mi you need to flash the stock rom and if you only need to pass the safety net checks install magisk canary and it's not actually possible to unlock an mi device without the authentication of Xiaomi so it can not unlock by itself as far as I know. Are you totally sure you or someone in your family or friends didn't unlock the bootloader because if not this may be a dangerous exploit used by a shady app and should be reported to Xiaomi now.
Not a single soul have a access to my phone, and if they did they sure as hell don't know hot to flash custom roms or unlock bootloader.. So it might be some shady app.. But how would I check and see if that is true?
PS: And about magisk canary I don't see it in google play store, but I suppose that is apk for rooted phones? The issue is my phone is not rooted if that is the case.

Question GSI for OPPO A74 5G?

I have been reading about GSI roms on forums and I wanted to make sure that the phone had full compatibility with Treble, I downloaded the app on Play Store and all the checks passed, so I guess it is somehow possible to flash a GSI image to the phone.
How do I unlock the bootloader in the first place? Does it require a specific driver on Windows? I've read about people saying that the fastboot commands don't work and I wanted someone to clarify that for me, any help would be kindly appreciated.
I can't comment specifically about this device, but all Android 12 itself has new security measures built in that has hampered the development community in developing ROMs.
As for GSI/Treble ROMs these should be able to work without the need for TWRP and the like. You will need device specific drivers for Windows to recognise the device bootloader and enable ADB to write to it. This is normal regardless of the device and Android version.
Try searching the forum for the universal ADB and drivers. Keep in mind that the whole thing is pointless without unlocking the bootloader in the first place. This procedure is brand specific and may require software to get it done.
The biggest hurdle for ROM development has been the availability of a working custom recovery. It is possible to unlock the bootloader and install a ROM via Fastboot (if one exists for the device), but this is beyond many custom ROM users ability to use this method.
As the A74 is a less common phone the chance of any official ROMs becoming available soon is slim. Once a working recovery becomes available this may change. SnapDragon devices do seem to get attention from developers sooner than other SOC's, so hold thumbs and keep an eye on the forum.

Categories

Resources