Question Question about root - Google Pixel 6 Pro

I've been out of the rooting side of android for quite some time (last phone I rooted was the moto X4, if that gives you an idea). I recently got a p6p after being on Samsung since then and had a few questions about everything.
1) is SuperSU no longer a thing? I've only seen magisk root
2) I've noticed no custom roms, have none been made yet or is just harder to flash on the pixel? I remember the X4 having a a/b partition which bring me to my 3rd question if the pixel also has it?
Please excuse my noobish questions, it's just been awhile for me, thanks in advance, and happy holidays!

@Chainfire sold SuperSU six years ago and it reasonably quickly was stopped being developed by the new owner. Besides that, the trustworthiness of the new owner was definitely in question. Magisk is what's used now. As of the time of this writing, the latest Magisk Canary, build 23016 is what you want to use.
There are custom ROMs. There's at least one (unofficial) thread here for a custom ROM - GrapheneOS. The others don't have threads here - I've only seen other users post in this section mention them, and where they're available, but I don't know off the top of my head because I like stock Android, just tweaked after rooted.
Yes, all Pixels (and some other brands too) have dual partitions (but notably Samsung is lacking here).
No apology necessary, you're welcome, and back to you - Happy Holidays! Click the How To Guide or Development filters at the top of the section to see relevant threads for rooting et cetera.
{
"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"
}
Old article from October 3, 2017: Chainfire Retires from SuperSU, to Leave Fully February 24th
Two years ago, Chinese company CCMT bought SuperSU from Chainfire, a move which did produce a lot of chatter, and in some cases negative emotions, in the Android enthusiast community. Today Chainfire has finally announced his retirement from working on SuperSU on his Google+ page, becoming only an advisor until February 24th when his contract fully expires. He will no longer be working on SuperSU in any capacity once his contract has ended. He also says that his root applications may be affected in time.
Chainfire assures users that the people that have SuperSU now have their hearts in the right place and that he has been conducting full code reviews as development went along and approves of the changes. The fact that it is not open source leaves many feeling uncomfortable, especially when open source alternatives such as Magisk currently exist.
This marks the end of Chainfire’s five and a half year long tenure with SuperSU, being the first to release a no-strings-attached root module for Android, simply a flash and go zip installation. Chainfire also released suhide when SafetyNet became an issue in an attempt to hide the root binaries.
Chainfire also points out that this is just after the ten year anniversary of his first application release, KaiserTweak. KaiserTweak was originally a Windows Mobile application for tweaking various system settings.
This does not mark the end of Chainfire’s adventure with Android, and he has expressed an interest in Kotlin and Swift. Both are used for Android app development. He only recently launched firmware.mobi too, which is a website dedicated to hosting factory images for as many devices as possible for the convenience of users. Chainfire may be done with SuperSU, but this doesn’t mean he’s leaving the Android scene and community behind!
Click to expand...
Click to collapse

1) Magisk is now the de-facto rooting standard, system-less and open source; in addition provides a framework for modifying (edit, add, (virtual)delete) of system files without modifying partitions (except for the boot partition)
2) Indeed, not so many ROMs as of yet, but the phone has only come out recently
3) Pixel 6 (pro) has A/B partitions

@roirraW "edor" ehT I remember that well. It took him almost a year to finally disassociate completely from SuperSU IIRC. I think the company he gave/sold it to updated a few versions but that was it. Why were they questionable, that I didn't know. I stopped unlocking / rooting after he left and had this post about how you'd be crazy to unlock the bootloader and/or root if you have any sensitive accounts on your device. I took it to heart and locked the bl and didn't look back. (although now I am to a certain degree thanks to Google screwing up the P6 line with flawed updates) I know you unlock and root and this is no judgment on those that do, just stating why I don't any longer.

bobby janow said:
@roirraW "edor" ehT I remember that well. It took him almost a year to finally disassociate completely from SuperSU IIRC. I think the company he gave/sold it to updated a few versions but that was it. Why were they questionable, that I didn't know.
Click to expand...
Click to collapse
Because the company was some Chinese company and it wasn't going to necessarily be transparent what changes they would include in SuperSU.

roirraW edor ehT said:
@Chainfire sold SuperSU six years ago and it reasonably quickly was stopped being developed by the new owner. Besides that, the trustworthiness of the new owner was definitely in question. Magisk is what's used now. As of the time of this writing, the latest Magisk Canary, build 23016 is what you want to use.
There are custom ROMs. There's at least one (unofficial) thread here for a custom ROM - GrapheneOS. The others don't have threads here - I've only seen other users post in this section mention them, and where they're available, but I don't know off the top of my head because I like stock Android, just tweaked after rooted.
Yes, all Pixels (and some other brands too) have dual partitions (but notably Samsung is lacking here).
No apology necessary, you're welcome, and back to you - Happy Holidays! Click the How To Guide or Development filters at the top of the section to see relevant threads for rooting et cetera.
View attachment 5495661
Old article from October 3, 2017: Chainfire Retires from SuperSU, to Leave Fully Fe
Click to expand...
Click to collapse
roirraW edor ehT said:
@Chainfire sold SuperSU six years ago and it reasonably quickly was stopped being developed by the new owner. Besides that, the trustworthiness of the new owner was definitely in question. Magisk is what's used now. As of the time of this writing, the latest Magisk Canary, build 23016 is what you want to use.
There are custom ROMs. There's at least one (unofficial) thread here for a custom ROM - GrapheneOS. The others don't have threads here - I've only seen other users post in this section mention them, and where they're available, but I don't know off the top of my head because I like stock Android, just tweaked after rooted.
Yes, all Pixels (and some other brands too) have dual partitions (but notably Samsung is lacking here).
No apology necessary, you're welcome, and back to you - Happy Holidays! Click the How To Guide or Development filters at the top of the section to see relevant threads for rooting et cetera.
View attachment 5495661
Old article from October 3, 2017: Chainfire Retires from SuperSU, to Leave Fully February 24th
Click to expand...
Click to collapse
Dang I sure missed a lot in the past years haha. But thanks a lot for the info! I'll probably do the same as I haven't had any problems with stock Android. Is TWRP still required or does magisk use another way?

as.hs said:
Dang I sure missed a lot in the past years haha. But thanks a lot for the info! I'll probably do the same as I haven't had any problems with stock Android. Is TWRP still required or does magisk use another way?
Click to expand...
Click to collapse
There is no TWRP for the Pixel 6 or Pixel 6 Pro...yet, but it's not necessary. You'll find everything you ever wanted to know about modern rooting (and more) in the How To Guide threads.
Click the How To Guide or Development filters at the top of the section to see relevant threads for rooting et cetera.

roirraW edor ehT said:
There is no TWRP for the Pixel 6 or Pixel 6 Pro...yet, but it's not necessary. You'll find everything you ever wanted to know about modern rooting (and more) in the How To Guide threads.
Click the How To Guide or Development filters at the top of the section to see relevant threads for rooting et cetera.
Click to expand...
Click to collapse
I certainly will look into all that, and thanks again, it's been extremely helpful!

as.hs said:
I certainly will look into all that, and thanks again, it's been extremely helpful!
Click to expand...
Click to collapse
You're welcome! Glad to help.

Wow, chainfire was a XDA developer god way back! And his avatar was one of best I've ever seen!
But, as mentioned above Magisk is today's rooting
Cheers and happy New Year's to XDA members!

as.hs said:
I've been out of the rooting side of android for quite some time (last phone I rooted was the moto X4, if that gives you an idea). I recently got a p6p after being on Samsung since then and had a few questions about everything.
1) is SuperSU no longer a thing? I've only seen magisk root
2) I've noticed no custom roms, have none been made yet or is just harder to flash on the pixel? I remember the X4 having a a/b partition which bring me to my 3rd question if the pixel also has it?
Please excuse my noobish questions, it's just been awhile for me, thanks in advance, and happy holidays!
Click to expand...
Click to collapse
Supersu has always been a closed source program, and as such, its inner workings were "secret". You don't want someone ELSE to have secrets when it comes to YOUR security.
This is why phhusson and some others brought Koush's "superuser" back to life, and why that was integrated into magisk.
The demise of supersu was actually a result of it being naturally replaced by that.

Related

Pixel XL - System UI Has Stopped Working

Hello all,
I usually don't join forums and jump in to make one post pertaining to my issue but rather conduct extensive research to figure out my problem, so many apologies beforehand. However, this issue seems to be unique to me and I would to know if anyone can help me out!
After unlocking the bootloader yesterday, I rooted my Pixel XL using chainfire's systemless root method and I was ecstatic as ever! I followed the directions to the T to make sure I didn't make any mistakes, but using ADB program is familiar territory to me - everything went as expected and I successfully rooted my phone. However, I made the mistake of downloading apps that were not compatible with the systemless root, which I read could have some complications. This is where I was stumbling upon new ground, because I am not entirely familiar with "systemless root" and what the key differences are, nor what the repercussions would be for downloading apps that would look for root access in the /system partition. The two apps that I downloaded were "Magisk Manager" and "Game Guardian." On the Magisk Manager, the install data was downloaded to my phone, nothing was actually installed to the phone. As for Game Guardian, I don't think that app had compatibility with systemless root yet.
This issue where my UI would crash would persist, even after restarting my phone. I would boot the phone up to bootloader and recovery mode - just to cycle through and restart the phone regularly (since you can't wipe the cache partition), that didn't work. I tried deleting those apps and clearing their data from my phone, and that didn't work.
I made a revelation when I plugged the phone in and the persistent UI crashing stopped. I had thought that I fixed the issue, but then it continued throughout the day - up until before I posted this post. That was when I noticed that the crashing is tied with the battery status;
When I had low battery and my phone wasn't charging, my System UI would immediately crash.
When I had low battery and my phone was charging, my System UI would not crash.
When I have a decent charge (anything above what is "low battery" - 15%?), my System UI would not crash.
I did a little experiment when I was at low battery and I noticed that RIGHT BEFORE the System UI would crash, the battery icon would stay with the lightning bolt, instead of switching over to a red battery with low charge. I was unable to get a screenshot before it crashed, though. Provided, are screenshots of what my screen looked when the System UI would crash (minus the consistent pop-up) and when it was charging:
{
"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"
}
My concern right now, with my ignorance on systemless rooting and how incompatible apps could affect the phone, is that maybe the stock battery icon for when the phone is at a low charge is missing from the system file images and that is what might be causing the crashing.
Can anyone give any insight on the matter? I'll provide any information required, if need be!
Thank you in advance.
EDIT 1:
This issue is being tracked; http://forum.xda-developers.com/pixe...3490156/page11
this has been well documented in other threads. read around...
nbhadusia said:
this has been well documented in other threads. read around...
Click to expand...
Click to collapse
I understand that this a well-documented issue on other threads. However, those particular issues on those particular devices offered no remedy to the issue on my phone.
Callyvan said:
I understand that this a well-documented issue on other threads. However, those particular issues on those particular devices offered no remedy to the issue on my phone.
Click to expand...
Click to collapse
....thats because 'those' devices are the same devices as yours and theres currently no 'remedy' though CF is workin on one.... read around... its well documented for the device youre using....
http://forum.xda-developers.com/pixel-xl/development/root-supersu-t3490156/page11
Change your battery saver to 15%.
See pic below.
nbhadusia said:
....thats because 'those' devices are the same devices as yours and theres currently no 'remedy' though CF is workin on one.... read around... its well documented for the device youre using....
http://forum.xda-developers.com/pixel-xl/development/root-supersu-t3490156/page11
Click to expand...
Click to collapse
My apologies, I had thought that "read around" meant that other threads were posted, not that it was discussed in a previous thread.
Thank you for a point in the right direction.
Callyvan said:
My apologies, I had thought that "read around" meant that other threads were posted, not that it was discussed in a previous thread.
Thank you for a point in the right direction.
Click to expand...
Click to collapse
I have not experienced this problem. And some that have were using outdated ADB / SDK drivers.
One person fixed it by simply updating ADB and drivers then re-rooted and he was all set. I will try to find the link...
Correction: Chainfire did identify the issue: http://forum.xda-developers.com/showpost.php?p=69405488&postcount=143
Scott said:
I have not experienced this problem. And some that have were using outdated ADB / SDK drivers.
One person fixed it by simply updating ADB and drivers then re-rooted and he was all set. I will try to find the link...
Correction: Chainfire did identify the issue: http://forum.xda-developers.com/showpost.php?p=69405488&postcount=143
Click to expand...
Click to collapse
Thank you for that, Scott. I'll be following that main thread now.
At least it is indeed that it only happens when the battery level is low.
Callyvan said:
I understand that this a well-documented issue on other threads. However, those particular issues on those particular devices offered no remedy to the issue on my phone.
Click to expand...
Click to collapse
The current fix is to flash the stock boot.img or custom kernel and don't flash root. Im hopeful it will be fixed in next Supersu update.
Wtf
nbhadusia said:
this has been well documented in other threads. read around...
Click to expand...
Click to collapse
Who the heck are you helping even posting this stupid sentence? Not everyone is sitting at a desktop. Your post is just a big waste of time for you and everyone who reads it. Why not try to be helpful for once. I see over 200 people have viewed this post but all you can do is post how it's documented . Thanks a whole lot buddy..
ko0ky said:
Who the heck are you helping even posting this stupid sentence? Not everyone is sitting at a desktop. Your post is just a big waste of time for you and everyone who reads it. Why not try to be helpful for once. I see over 200 people have viewed this post but all you can do is post how it's documented . Thanks a whole lot buddy..
Click to expand...
Click to collapse
You're welcome. So hows that anger management course coming along 'buddy'?
nbhadusia said:
You're welcome. So hows that anger management course coming along 'buddy'?
Click to expand...
Click to collapse
Useless reply.

[ABANDONED][ROM][Pixel 2][UNOFFICIAL] LineageOS 15.1 / 16.0 [walleye]

{
"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"
}
LineageOS is a free and open-source operating system for smartphones and tablet computers, based on the Android mobile platform.
This is an unofficial build of LineageOS for the Pixel 2 (walleye). I always liked Lineage (and its predecessor CyanogenMOD) as well as the Google line of phones. Unfortunately having a Google Pixel phone isn't certainty for a lot of custom ROMS anymore, so that's why I decided to compile my own version. It's been quite challeging, but I think I finally have a build that is good enough to share.
About
This ROM is is always built straight from the LineageOS sources found on https://github.com/lineageos. There are only 3 changes in order to get this build:
The binaries for this ROM come from AICP
GApps are compiled with the ROM from MindTheGapps including the Pixel specific bits for unlimited photo upload for instance
Disabled Android Verity Boot (AVB), so we don't get the security warning when booting
I am not a developer, I only build this ROM and it reflects the the current status. If there are any things missing or not working I suggest to contact the LineageOS team, they are the real geniuses here and deserve all the credits. I will try to keep this ROM updated on a regular basis.
First Installation
Installing the ROM can be a little hard, especially the first install. Upgrades will be relatively easy though. This first setup is only needed when coming from a different ROM then this. I can't support you if you did't follow this first installation. Be warned it will wipe your user data in the process
In order to get the initial setup and also to use the same vendor partition as the ROM you have to install the latest stock Pixel 2 image from Google found here. More info on unlocking your phone and installing the latest Pixel image can be found in the excellent post by @nathanchance found here. The bestway to flash a stock ROM in my opinion is @Deuces' script found here. The benefit of this is that it'll flash the image to both slots, so they are both on the latest build, including the bootloader and radio. All instructions for using the script are inside the forum. After flashing the image make sure you reboot at least once (no need to set it up now though).
Place the ROM and optionally the TWRP zip and root from (Magisk or from LineageOS (not tested) on the phone and reboot to recovery by using the command line (fastboot boot twrp.img)
Wipe 'data' and 'Dalvik / Art Cache' from TWRP - Wipe - Advanced Wipe. Optionally you should also delete the Android folder on your internal storage through the TWRP File Manager
Flash the ROM and optionally the TWRP zip and reboot the phone
Upgrades to new version
After the hard initial work to get the ROM installed it's going to be easy for upgrades to new versions.
Download the new ROM and reboot of flash to TWRP
Flash the new ROM and optionally TWRP. If you want to flash another kernel or a root solution you will have to reboot you phone, so it switches slots and let it boot normally. Then go back to recovery and flash in this order: TWRP - kernel - Magisk and reboot
After a monthly update from Google and only when LineageOS also adapted to the latest monthly sources (I will tell you this) you will have to do an extra step:
Download the latest Lineage OS ROM and place it on the internal storage
Download the latest image from the Google Factory Images site and run Deuces' script. No need to wipe your data!
After the script finishes it automatically boots into the bootloader. From here fastboot into TWRP and flash the previously downloaded new ROM, optionally followed by TWRP.
Optionally, after a reboot you can flash Magisk and/or another kernel.
Not working
Substratum
Use Powerbutton for flashlight when Ambient Display is set
Active Edge
Now playing
Downloads
I'm not maintaining this project anymore, download link has been removed.
Happy flashing
Miraculous... Will flash soon. Thank you for keeping Pixel 2 relevant.
Is link not posted yet?
I want to thank you for posting. But, I get the feeling this will just be closed as well really soon. Hope this sticks around, because XDA is not what it use to be, at all!
JCBiznatch said:
I want to thank you for posting. But, I get the feeling this will just be closed as well really soon. Hope this sticks around, because XDA is not what it use to be, at all!
Click to expand...
Click to collapse
Why would it be closed?
JCBiznatch said:
I want to thank you for posting. But, I get the feeling this will just be closed as well really soon. Hope this sticks around, because XDA is not what it use to be, at all!
Click to expand...
Click to collapse
I completely agree...
Any chance for an MD5
jascolli said:
Any chance for an MD5
Click to expand...
Click to collapse
Added in the same folder:
MD5: a28cd4f3cabe627fbe99cbe1485cba3f
TCUofficial said:
Why would it be closed?
Click to expand...
Click to collapse
I don't have a clue. It just seems that anyone who posts a ROM gets the thread closed. It's almost as if they don't want walleye to have any development.
Just check this forum out compared to the pixel XL 2 forum.
Thanks very much for sharing this. I've got it installed and it's running fantastic.
Everyone who has had a rom thread has closed the thread for different reasons, time, family, frustration or lack of support etc...
I see don't see why we should be negative and assumee the same is the case with this build. Every rom thread has produced better and more stable builds as time progressed.
@Joregen2009, I have seen your name around before, appreciate you building!!
razrlover said:
Everyone who has had a rom thread has closed the thread for different reasons, time, family, frustration or lack of support etc...
I see don't see why we should be negative and assumee the same is the case with this build. Every rom thread has produced better and more stable builds as time progressed.
@Joregen2009, I have seen your name around before, appreciate you building!!
Click to expand...
Click to collapse
It's my pleasure. I only wanted to share my build, because I know that many of you much be as frustrated as me for the lack of ROMs for our device.
We'll see how long this thread will hold. If it's up to me I'll try to provide at least a weekly build from the actual sources, or whenever there are some major changes in the sources that are important for our device until the Lineage Team declares our device official. Let's hope that happens soon and that this thread can contribute to that.
Awesome! Thanks for this ROM. Any known issues one should be aware of before flashing?
Does Lineage have Substratum support ?? Having trouble connecting......
Update. Found answer - : no substratum support
@jorgen2009
Hey thanks so much for the ROM. Its working great!
Is there any chance you could link me the kernel source for this specific build? (Pixel2)
I'm trying to figure out how to rebuild it with the drivers for my TP-LINK WN722N V1.
I really don't know what I'm doing but I'm trying to learn.
I'm trying to follow this guide to accomplish this.
https://forum.xda-developers.com/showthread.php?t=2338179
I do have Kali for Magisk up and running just fine.
Lsusb command shows my WiFi Adaptor but the kernel won't let me use it.
Thanks so much for reading, if what I'm trying to do is stupid feel free to let me know why haha. If I get it to work I'll share it with everyone.
redsmith said:
Awesome! Thanks for this ROM. Any known issues one should be aware of before flashing?
Click to expand...
Click to collapse
The only thing that I am aware of is the fact that the battery LED isn't working, but that will be solved in the next build
tkacer said:
Does Lineage have Substratum support ?? Having trouble connecting......
Update. Found answer - : no substratum support
Click to expand...
Click to collapse
Sorry, than I fear it's not supported by LineageOS in general yet, I don't use it myself
gahndii said:
@jorgen2009
Is there any chance you could link me the kernel source for this specific build? (Pixel2)
Click to expand...
Click to collapse
Sure, see LineageOS sources on github, I didn't touch the kernel in this build:
https://github.com/LineageOS/android_kernel_google_wahoo
I am still getting the security warning when booting. Am I the only one so I missed something?
Other question: is the Trusted Faces not working because the used GApps package has not been modified for the Pixel, or the ROM has got some incompatibility issue?
Great job. Just a little bug: Long press power button to turn on torch is not working when Ambient Display is set to always on.
banciii said:
I am still getting the security warning when booting. Am I the only one so I missed something?
Other question: is the Trusted Faces not working because the used GApps package has not been modified for the Pixel, or the ROM has got some incompatibility issue?
Click to expand...
Click to collapse
Are you sure you are on the April vendor? Your vendor version must be the same as the ROM needs (currently the April one).
Trusted Faces is GApps related yes, it's not in MindTheGApps. I'll try to make a build with OpenGApps in to see if that works. Both Face Detection for Media and Face Unlock are in the Nano package (https://github.com/opengapps/opengapps/wiki/Nano-Package)
redsmith said:
Great job. Just a little bug: Long press power button to turn on torch is not working when Ambient Display is set to always on.
Click to expand...
Click to collapse
I'll put it in the known issues list in the OP later this week for an overview
Another build is up. This time I used OpenGapps so you might need to clear the Store cache. I had no problems upgrading myself. The Text-to-speech improved a lot with these Gapps for me.
New in this build is the LED light when charging and some basic stuff for more compatibility with our device and some networks. Also all the normal changes since the last build for LineageOS are in of course. For the download link see the OP. I also adjusted the OP a bit to show the things that are known not to work. Let me know if I missed something so I can adjust the list

Firmware/Vendor Confusion + General Questions about ROMs and Android

Hello all,
A few months back I unlocked my Mi 9 SE and rooted it using TWRP+Magisk, so fine so good. I then wanted to go on and install a custom ROM, but every time I tried, I just got my phone stuck in a bootloop and had to reflash MIUI using the scripts provided by Xiaomi (MiFlash/ .flash_all). After that, I decided I would not try meddling with ROMs again until had a better understanding of the (basic) underlying workings of this stuff.
After doing some research on my own I got answers to some of my confusion, but a lot remain, which is why I'm now trying my luck here. Maybe there is a "beginner's guide" of sorts somewhere on this forum, but so far I haven't been lucky in finding any. So, if any more experienced "flasher" or maybe even developer could clarify some things for me, and perhaps others, that would be great!
Firmware/Vendor
Firstly, the thing that has confused me since the beginning is the concept of firmware/vendor. I understand that the firmware of Xiaomi phones can be found easily on the internet and that it contains some amount of proprietary software such as drivers. However, while in some flashing instructions it is clearly indicated to "flash fw" after wiping, in others this is not mentioned at all. Is this because some ROMS already contain those drivers and others don't?
Then comes the question of "vendor". Again, some guides mention this, some don't, and on the site http://xiaomifirmwareupdater.com/, where one can find the fw, there is also a section for "vendor" files. So my question here is: what is the difference between vendor and firmware, and is either of them necessary before installing ROMS?
General Questions
From all of this, the way I picture the contents of an android phone are, from low to high level:
Bootloader (like the BIOS on a computer) ==> Firmware (Basic proprietary drivers) ==> Kernel ==> Rest of the OS (Implicit question: how correct is this picture?)
The kernel, from what I gather, is included in the flashable images of most ROMS, and the devs in turn use either the stock kernel from Xiaomi of some custom one like Kowalski's.
Question: What is the distinction between the firmware and the kernel? Since both are, in the beginning, made by Xiaomi, why are they separate things if they serve a similar purpose (drivers and Hardware/Software communication)?
Also, "bonus question" (just out of curiosity): I've heard that the only way to actually hard-brick your phone (other than hardware damage) is to somehow mess up the bootloader (kind of like corrupting the BIOS on a computer). How could this happen?
ROM Build
Finally, a few questions if any ROM dev stumbles upon this post, since apart from the practical aspects I'm also curious about the way a ROM is actually ported to a specific device, say our beloved little grus. Again, I'll just say what I understood so far and you guys can then correct me. From what I read in the building instructions for LineageOS on other devices, the way to proceed is to get the source code of the ROM itself by cloning the repo and then adding device-specific code (Kernel, device tree and Vendor Blobs) before proceeding to actually build the Image. My questions are, apart from if this is correct:
- How intercompatible are these components? Is a device tree specific to a certain kernel? To a certain ROM? Could one use, say, the kowalski DT with the stock kernel from Xiaomi?
- Again, what is the difference between "vendor blobs" and the "vendor" files mentioned above?
I know this is a very long post and I'm asking a lot of unrelated questions, but I hope that if someone takes the time to read through it and answer at least some parts of it, this could be useful in the future not only for me but also any other beginner trying to get into custom ROMS on Xiaomi phones. Cheers!
Wouldn't agree with your firmware definition (although you probably consulted like Wikipedia - their definition is more like for embedded systems like remote controllers or so)
Download Xiaomi Fastboot firmware from:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Its tgz file, hence to unpack, you have to un-gzip and un-tar (you can use 7-zip on Windoze or MiXPlorer to do everything on your phone), open Images folder and look how many img files it contains.
Besides like System, Vendor, etc, it even contains image for Recovery (Recovery is not part of Android, you separately boot to Android, Recovery or Fastboot - the last is part of Bootloader).
Manufacturer can even push new Bootloader via the firmware OTA (I recall how Huawei pushed new bootloader.img in 2018 via its OTA updates, to invalidate the previous merhods for unlocking Bootloader, making it 'almost' impossible to unlock the new Bootloader)
Consider firmware as the opposite of hardware, it's all firm software on your phone: Bootloader, Recovery, Android - all except your user apps, settings and Data you will install to Data or Internal memory.
Firmware also does not overwrite some specifical info related to your particular phone like IMEI(s), Widewine L1 cert (hence if you dropped to L3 by installing custom ROMs, you cannot recover L1 by reflashing the full firmware)
And Kernel is just the Android kernel (as inherited from Linux kernel), similarly like Windows OS has its own kernel
Thanks for your reply, I think that there is a misunderstanding: What I'm talking about when I say Firmware is this thing: (taken from the site you referenced). This is a small (~70mb) zip archive that contains no images, only binaries. I'm NOT talking about the whole Xiaomi ROM, which is indeed a large tgz and contains all the images you mention.
{
"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"
}
To clarify, what confuses me in flashing guides is (example from evolution x rom) the line where it says "Flash FW & BB", or sometimes just "flash fw"
lachesis197 said:
Thanks for your reply, I think that there is a misunderstanding: What I'm talking about when I say Firmware is this thing: (taken from the site you referenced). This is a small (~70mb) zip archive that contains no images, only binaries. I'm NOT talking about the whole Xiaomi ROM, which is indeed a large tgz and contains all the images you mention.
View attachment 5181291
To clarify, what confuses me in flashing guides is (example from evolution x rom) the line where it says "Flash FW & BB", or sometimes just "flash fw"
View attachment 5181295
Click to expand...
Click to collapse
Don't really now what does it mean in the context of installation guide for the given custom ROM
Under Mi 9T/Redmi K 20 ROMs subforum, there are tons of threads, each one for a particular custom ROM.
For most of them there are also Telegram channels
IMO, you can better clarify by asking there, where the ROM users are subscribed and actively participating
Hello, I Have a Samsung galaxy s9 Exynos. I have rooted it with magick. Now i want to use evolution Rom but when I am trying to flash with TWRP it is showing--
Vendor Image on the device is NOT compatible
Expected Version: 29_ETFS
You can download it from mega.NZ/FM/F9VHHALY.
what to do. can Someone help?
Manglesh____ said:
Hello, I Have a Samsung galaxy s9 Exynos. I have rooted it with magick. Now i want to use evolution Rom but when I am trying to flash with TWRP it is showing--
Vendor Image on the device is NOT compatible
Expected Version: 29_ETFS
You can download it from mega.NZ/FM/F9VHHALY.
what to do. can Someone help?
Click to expand...
Click to collapse
You missed the Forum - this is for Xiaomi Mi 9 SE - do you really want a Xiaomi user to guide you about flashing your Samsung and to brick your phone
zgfg said:
You missed the Forum - this is for Xiaomi Mi 9 SE - do you really want a Xiaomi user to guide you about flashing your Samsung and to brick your phone
Click to expand...
Click to collapse
thank for telling man i really missed ,anyways the problem is solves now.
@lachesis197 I'm in the same spot you where 1,5 years ago.
It seems in the Android customization community most info to be found is of the sorts "to get this, do this". But very little of why something works the way it does. Very little explanations of what it all means.
hagekic548 said:
@lachesis197 I'm in the same spot you where 1,5 years ago.
It seems in the Android customization community most info to be found is of the sorts "to get this, do this". But very little of why something works the way it does. Very little explanations of what it all means.
Click to expand...
Click to collapse
Here I am about a year later after you! It seems so hard to find 'curated' info. All this info is all over the place.

[SHARE] [JOAN] [H930,H932] [11.0.0] AospExtended ROM V8.0 [UNOFFICIAL]

{
"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"
}
Download - h930, h932
Buy me a coffee or beer​
smooth rom with microg will update after using. thank you for the rom
known bugs?
Nice Rom!
But there are some minor things I want to mention about this rom.
1. Show status bar clock with seconds not work.
2. Quicksettings show 3 Rows even with the media player. (See Picture)
3. Can't double tap to wake.
Thank you for your nice work for bring another android 11 custom rom to my dear LG V30+ and hope my bad English will not make you confuse.
I don't have data when I boot up.
I'm sorry but I'm having the toughest time upgrading to your rom. I came from rooted stock android9 h932 that I haven't touched in years. I spent the last 5hours flashing different firmwares and searching for what is wrong but no luck. What am I missing? Am I running the wrong firmware?
xprog said:
I don't have data when I boot up.
I'm sorry but I'm having the toughest time upgrading to your rom. I came from rooted stock android9 h932 that I haven't touched in years. I spent the last 5hours flashing different firmwares and searching for what is wrong but no luck. What am I missing? Am I running the wrong firmware?
Click to expand...
Click to collapse
That's an issue for all custom rom installation
I also saw that issue the first time when I try to flash a custom rom on it
What you need to do is format data in recovery
Remember to backup your data if that's important to you
Press Wipe>Format Data in TWRP
Than everything will be fine
Just reboot your phone (That doesn't wipe your system away)
Enjoy the new rom
This erased all of my local data after flash (Internal Storage)
I mostly keep my stuff in the cloud but some memes you just don't find the second time
Would be good to add some warning in case someone keep some more critical stuff than memes...
nice
First of all I just want to say thank you for bringing this to the 932!!!! But my wifi doesn't work. Anyone know how to fix this
NVM found a random wifi fix on Google from some telegram group lol
@ChazzMatt How is this possible for H932? LOS-17 based roms don't even support H932 but this one, a 11.0 rom does?
ROOT Your LG V30! and Custom ROMs FAQ
ROOT YOUR LG V3O! Bootloader unlock, install TWRP, root any V30/V30+/V30S on the planet! * WTF V30/V30+/V30S Bootloader Unlock, TWRP and Root INSTRUCTIONS The WTF bootloader unlock, TWRP installation, root method (link above) works on EVERY...
forum.xda-developers.com
"Whereas you do need to update to stock Pie first before trying to install "Android 10" LOS-17 custom ROMs. However, while those ROMS are improving they are still have a few more bugs than LOS-16. So if you try them, don't like them and instead want to run the older "Pie" LOS-16 based custom ROMs, then you've already ignored the warning above. Sorry, T-mobile H932 is not (yet) compatible with any of the "Android 10" AOSP/LOS-17 custom ROMs."
wa ,Android 11
noddledizzy said:
@ChazzMatt How is this possible for H932? LOS-17 based roms don't even support H932 but this one, a 11.0 rom does?
ROOT Your LG V30! and Custom ROMs FAQ
ROOT YOUR LG V3O! Bootloader unlock, install TWRP, root any V30/V30+/V30S on the planet! * WTF V30/V30+/V30S Bootloader Unlock, TWRP and Root INSTRUCTIONS The WTF bootloader unlock, TWRP installation, root method (link above) works on EVERY...
forum.xda-developers.com
"Whereas you do need to update to stock Pie first before trying to install "Android 10" LOS-17 custom ROMs. However, while those ROMS are improving they are still have a few more bugs than LOS-16. So if you try them, don't like them and instead want to run the older "Pie" LOS-16 based custom ROMs, then you've already ignored the warning above. Sorry, T-mobile H932 is not (yet) compatible with any of the "Android 10" AOSP/LOS-17 custom ROMs."
Click to expand...
Click to collapse
Dev @ShapeShifter499 finally solved merging the two separate LOS trees to create universal build for all V30/V30+/V30S. All LOS-based 10 & 11 ROMs since first week of October, 2020 now also support T-Mobile H932 -- as long as they have incorporated @ShapeShifter499's changes. By now, most have.
We posted about it in the LOS ROM threads. See HERE and read the next few posts after that:
Since temporarily moving to another country for family reasons right about that time, I haven't had enough spare time to (yet) edit my ROMs FAQ to mention that. I'm now back in the U.S., but the months since have been very busy!
======
This ROM here is actually posted in the wrong forum section. I'm going to request it be moved to the ROMs section...
ChazzMatt said:
Dev @ShapeShifter499 finally solved merging the two separate LOS trees to create universal build for all V30/V30+/V30S. All LOS-based 10 & 11 ROMs since first week of October, 2020 now also support T-Mobile H932 -- as long as they have incorporated @ShapeShifter499's changes. By now, most have.
We posted about it in the LOS ROM threads. See HERE and read the next few posts after that:
Since temporarily moving to another country for family reasons right about that time, I haven't had enough spare time to (yet) edit my ROMs FAQ to mention that. I'm now back in the U.S., but the months since have been very busy!
======
This ROM here is actually posted in the wrong forum section. I'm going to request it be moved to the ROMs section...
Click to expand...
Click to collapse
That's a good new indeed. But... what's the point at the same time. US carriers will not work with custom roms starting this year.

Question [NEW ONEPLUS USER] - Happy to be amoung you.

Hello everyone, I just bought the OnePlus 9 Pro 5G LE2123 Dual SIM 12GB+256G. Due to my inexperience, I ask for considerations in reference to a possible procedure for obtaining Root + TWRP permissions. ​I also ask if obtaining root permissions invalidate the warranty with some alleged counter (for example samsung knox counter). ​In the previous smarphone ( samsung galaxy note 9 ) I corrupted the EFS IMEI file by mistake and I don't want to repeat the same mistake. Thanks to all the Admins of the topic for your attention, as I can't help but be happy to be part of your oneplus family ​​
{
"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"
}
[GUIDE] [Magisk] [Unlock / ROOT / Keep Root] OOS 13.1.0.500
Different variants of Magisk that are available for use : Magisk Variant Stable / Beta / Canary Release Official Android / OOS OOS 11 and above Maintainer topjohnwu Project Link GitHub Zygisk No...
forum.xda-developers.com
Thank you so much my friend
Congratulations on your OnePlus 9 Pro! Enjoy!!
You are phenomenal, I am reading the best guide indicated above and it is perfect and very clear in its explanation. ​I have only three questions: ​
To possibly send it to assistance, would it be enough to just lock the bootloader and flash the original boot? ​
Is it essential to have twrp recovery? ​
What bekup operation should I do to avoid stumbling into some errors ( ex. EFS IMEI)? ​
​Thank you for your time.​
pronegate said:
You are phenomenal, I am reading the best guide indicated above and it is perfect and very clear in its explanation. ​I have only three questions: ​
To possibly send it to assistance, would it be enough to just lock the bootloader and flash the original boot? ​
Is it essential to have twrp recovery? ​
What bekup operation should I do to avoid stumbling into some errors ( ex. EFS IMEI)? ​
​Thank you for your time.​
Click to expand...
Click to collapse
Use the MSM tool to get back to stock.
I don't install TWRP, but boot it in temp mode for flashing etc.
SwiftBackup app for backing up apps and data, call logs and sms. Messed up data, MSM tool to factory and restore with SwiftBackup. Copy internal storage to PC for it's backup.....
Thanks friend
Other questions
In your experience, do you recommend staying on OOS 13 or immediately flashing some of the custom roms you recommend?
Before flashing the new custom rom, which partition should I wipe?
Once the new custom rom is installed, for ota updates is the same procedure with magisk to maintain root permissions?
Thank you for your time @TheGhost1951.​
pronegate said:
Thanks friend
Other questions
In your experience, do you recommend staying on OOS 13 or immediately flashing some of the custom roms you recommend?
Before flashing the new custom rom, which partition should I wipe?
Once the new custom rom is installed, for ota updates is the same procedure with magisk to maintain root permissions?
Thank you for your time @TheGhost1951.​
Click to expand...
Click to collapse
As for custom roms, it is just a matter of choice. I have seen people that are happy and seen some that have had problems. As for me I prefer stock because it is made specifically for your phone. Less chance of problems. If you install a custom ROM it is usually advisable to go into recovery and factory reset. That is the wiping that is talked about. Finally, go back and read the link I gave you on keeping root. Read it until you have a clear picture as to what you need to do...
TheGhost1951 said:
As for custom roms, it is just a matter of choice. I have seen people that are happy and seen some that have had problems. As for me I prefer stock because it is made specifically for your phone. Less chance of problems. If you install a custom ROM it is usually advisable to go into recovery and factory reset. That is the wiping that is talked about. Finally, go back and read the link I gave you on keeping root. Read it until you have a clear picture as to what you need to do...
Click to expand...
Click to collapse
Thank you for your time @TheGhost1951 ​
pronegate said:
Thank you for your time @TheGhost1951 ​
Click to expand...
Click to collapse
You are most welcome. Like I said, staying with stock roms are more trouble free. They are made for your phone. Custom roms are ok for the most part, but I have seen too many in the forums trying to run a custom ROM and having too many problems or it doesn't have everything the stock ROM has to begin with. On the OnePlus 9 Pro, there is one more little nugget I can offer the will give you full root that Magisk is short on. Once you are rooted with Magisk, send me a PM and I will clue you in on it....
Oh, by the way, you need to disable driver signing on windows PC from this link https://www.techpout.com/disable-driver-signature-enforcement/ and then search for and install latest OnePlus and Qualcomm USB drivers and install them. This way you can connect your phone to PC in ADB, Fastboot and EDL modes for maintenance tasks!
TheGhost1951 said:
You are most welcome. Like I said, staying with stock roms are more trouble free. They are made for your phone. Custom roms are ok for the most part, but I have seen too many in the forums trying to run a custom ROM and having too many problems or it doesn't have everything the stock ROM has to begin with. On the OnePlus 9 Pro, there is one more little nugget I can offer the will give you full root that Magisk is short on. Once you are rooted with Magisk, send me a PM and I will clue you in on it....
Click to expand...
Click to collapse
I INSTALLED THE DRIVERS AS GIVEN IN YOUR GUIDE
I WAIT VERY HURRY FOR THE ARRIVAL OF MY ONEPLUS 9 PRO. I WILL UPDATE YOU AS SOON AS I HAVE NEWS
I would recommend first testing Oxygen OS software, I thinks it is not necessary for most users to tinker with custom roms.
In some time you will discover if your needs are covered with official soft or not, I know Oxygen Os is not what it used to be, it is nor good nor bad, it just was so much better before merging with Oppo because it had its own dev team and they actually did care about users, now they pretend to but ignore important matters, just answer silly questions in their forums but always abstract and tasteless...
You can always root your phone and stay in Oxygen Os but with benefits of magisk, you can tinker with it staying in Oxygen OS, but beware, you need to dome some certain things in order to "trick" some sensitive apps to root, like banking, when it detects your phone is rooted some functions may not work for "safety reasons", read magisk tutorial and enable saferynet, magisk hide deny list and you will be good to go, pretty easy for certainly experienced user, if not feel free to ask, we all will be happy to help!
pronegate said:
You are phenomenal, I am reading the best guide indicated above and it is perfect and very clear in its explanation. ​I have only three questions: ​
To possibly send it to assistance, would it be enough to just lock the bootloader and flash the original boot? ​
Is it essential to have twrp recovery? ​
What bekup operation should I do to avoid stumbling into some errors ( ex. EFS IMEI)? ​
​Thank you for your time.​
Click to expand...
Click to collapse
When you have your phone in edl and recognized by the msm tool, you can press F8 and choose partitions to back up. Take a backup of modemst1/2, efs/persist and while you're in there, grab boot_a so you can inject magisk into that boot image for root.
After you select the partitions you want, press read back and they will be saved to C:\ - with the partitions backed up, even if you do manage to break something the msm tool can't fix, you'll have the originals to put back in place.
The password is oneplus, one word all lowercase.
I don't use twrp anymore but that's your choice. I also stay on oos11. Some stay on 11, some go to 13, some go custom rom. It just depends on what you want and need from your phone. For now, we have the last OnePlus phone with real custom rom support as the newer OnePlus phones don't have public msm tools for flashing or recovering from brick state

Categories

Resources