how about GSI? - Redmi K30 5G Questions & Answers

Generic System Image, as we know, is the production of Project Treble. Since the phone has twrp now, how can I install it? Or has anyone tried so?

zhufucdev said:
Generic System Image, as we know, is the production of Project Treble. Since the phone has twrp now, how can I install it? Or has anyone tried so?
Click to expand...
Click to collapse
no, if you try ,you will meet bootloop problem. because of android 10 seciurity!

Does GSI ROMs work now?

Related

Question Dsu working..

Hey idk if it's just me. Cause I was late finding out bout the android 12 beta. And I failed to read everything. So I got the tmo converted to eu. So ya needless to say bootlooped. But I noticed in developers options dsu had both slots filled and it actually worked I can go back and forth to android gms gsi. Or just pure asop. So check see if anyone else has that working?
I'm sorry can you explain little more, the beta loaded DSU with both asop and android gms images?
Ya it did. I didn't know at the time I posted this that the gsi was out also. It was the first time I seen dsu working. I have been following treble since day one. I am glad google did not scrap it. Just got excited when I posted that.
amaroney55 said:
Ya it did. I didn't know at the time I posted this that the gsi was out also. It was the first time I seen dsu working. I have been following treble since day one. I am glad google did not scrap it. Just got excited when I posted that.
Click to expand...
Click to collapse
I see the two options in my developer settings. How does it work exactly? Will being rooted cause any problem loading it? Does it only stay loaded only until next reboot?
Shooter7889 said:
I see the two options in my developer settings. How does it work exactly? Will being rooted cause any problem loading it? Does it only stay loaded only until next reboot?
Click to expand...
Click to collapse
I get an error message when selecting
Oh. I haven't tried clicking on either. I'll try
When I clicked on one w/gms it asked for my fingerprint then started downloading. I cancelled it (untill I find out if it is just for one boot or if it cld wipe my phone or what have you)
I wouldn't bt
It doesn't. Will just flip over the beta the gms is with google other is pure android when you get ready to go back to stock or whatever your using look in the notifications.
amaroney55 said:
It doesn't. Will just flip over the beta the gms is with google other is pure android when you get ready to go back to stock or whatever your using look in the notifications.
Click to expand...
Click to collapse
Cool thanks I'll check it out
Your bootloader has to be unlocked tho.
amaroney55 said:
Your bootloader has to be unlocked tho.
Click to expand...
Click to collapse
I'm unlocked and rooted..le2125 on EU rom
amaroney55 said:
Your bootloader has to be unlocked tho.
Click to expand...
Click to collapse
I'm unlocked and rooted..le2125 on EU rom
Says it is working on mine , but it just boots to an un-setup OnePlus Android OOS 11...US Unlocked.
I tried it too then someone on telegram tols me that dsu on oneplus phones used vendor of oos 11.but i saw a video guide of someone that has the nord and he used the dsu method and he got android 12 gsi..strange thing
Ya see that is what I am not understanding. Treble was only to change the system.img. and nothing else. Then they started messing with the vendor and that defeated the purpose of a generic img. To me if your going to change the system and vendor and recovery might as well be OEM only. But I didn't have a problem with it on oneplus 9 pro using 11. But my oneplus 7 pro it will install it but will not boot to it. Using 10 or 11.
Oh I am using a tmo converted to eu.

Can I flash project treble?

Hello,
I have a device that I obtained through beta testing that has not been released yet. I am allowed to keep the device now that testing is over. I am not happy with the stock rom and some of the apps it forces you to keep. I cannot remove them through ABD either. There is no stock ROM image available yet. Therefore, I cannot port TWRp or root.
I stumbled on project treble. I ran treble check and it says my phone is supported as it came with android 11. It supports systemless updates and has A/B system partition. I really like stock android ASOP. Is there anyway I can flash a generic image? What's the odds of it working correctly? Since there is no image available yet and I cannot port TWRP I have to worrying about not being able to recover the device if things go wrong. I know you can flash without TWRP which is why I decided to ask about this. Would I have a better chance flashing roms for supported devices with similar hardware? How should I proceed?
Thanks,
Rocky
as long as you have a compatible custom recovery AND the stock rom in case something go wrong, you can flash any GSI according to your device's architecture
Roizoulou said:
as long as you have a compatible custom recovery AND the stock rom in case something go wrong, you can flash any GSI according to your device's architecture
Click to expand...
Click to collapse
Since it is a beta unit I have neither as it has not been officially released. I have never flashed one of these roms so I do not know how well they work after flashing. I know the device has a pretty popular SOC which is a snapdragon 750g so I would assume if a gai runs good on another device using the 750g then it should work.
bigroc2223 said:
Since it is a beta unit I have neither as it has not been officially released. I have never flashed one of these roms so I do not know how well they work after flashing. I know the device has a pretty popular SOC which is a snapdragon 750g so I would assume if a gai runs good on another device using the 750g then it should work.
Click to expand...
Click to collapse
best you can do is dump the whole rom, make a backup before going any further
Roizoulou said:
best you can do is dump the whole rom, make a backup before going any further
Click to expand...
Click to collapse
I don't think I can dump it without root right?
bigroc2223 said:
I don't think I can dump it without root right?
Click to expand...
Click to collapse
an unlocked bootloader first and just search for how to dump system on google. it usually just need a pc and ADB
bigroc2223 said:
I don't think I can dump it without root right?
Click to expand...
Click to collapse
[GUIDE] Making Dump Files Out of Android Device Partitions
Use: The main purpose is to make a file that contains all data in android specific partition. This is really handy in case of dumping leak firmwares. Pr-requirement: - Rooted device. - Knowledge of how to use adb or Terminal Emulator. The...
forum.xda-developers.com
Roizoulou said:
[GUIDE] Making Dump Files Out of Android Device Partitions
Use: The main purpose is to make a file that contains all data in android specific partition. This is really handy in case of dumping leak firmwares. Pr-requirement: - Rooted device. - Knowledge of how to use adb or Terminal Emulator. The...
forum.xda-developers.com
Click to expand...
Click to collapse
I tried this before it requires root. I just double checked and the prereqs say root required too. This sucks because the device has decent specs. It's just the ROM and software on it are crappy. After doing some reading the biggest thing I'm worried about is flashing and not having mobile data since it is a 5g phone. I read about someone else flashing and not being able to get their mobile data to work.
bigroc2223 said:
I tried this before it requires root. I just double checked and the prereqs say root required too. This sucks because the device has decent specs. It's just the ROM and software on it are crappy. After doing some reading the biggest thing I'm worried about is flashing and not having mobile data since it is a 5g phone. I read about someone else flashing and not being able to get their mobile data to work.
Click to expand...
Click to collapse
what is the device?
Roizoulou said:
what is the device?
Click to expand...
Click to collapse
It's a beta device from TCL. It has not been released yet. I read that phh GSI should be compatible with all android phones with treble support. Therefore, I think I might just go for it. The only thing is if I end up with a bug I more than likely will probably have to figure it out on my own.
bigroc2223 said:
It's a beta device from TCL. It has not been released yet. I read that phh GSI should be compatible with all android phones with treble support. Therefore, I think I might just go for it. The only thing is if I end up with a bug I more than likely will probably have to figure it out on my own.
Click to expand...
Click to collapse
just try phh's first and if you encounter issues, try other custom roms
Roizoulou said:
just try phh's first and if you encounter issues, try other custom roms
Click to expand...
Click to collapse
I think I might of found a solution. I am pretty sure there is a way to boot a ROM before flashing it. I could of sworn I read this somewhere. It was an adb command. It allowed you too boot the ROM instead of flashing it. This would allow me to preview the ROM before officially flashing it to the device. I just cannot remember where I saw this at or the command.
My goal is to get a working gsi installed. From there I would like to get TWRP flashed on the device so it can be rooted. If I would need to port TWRP I think I could figure it out. This way when the device is officially released it will have TWRP ready to go for it. Also, since it will have TWRP I will be able to start porting roms as soon as they release the system image.
bigroc2223 said:
I think I might of found a solution. I am pretty sure there is a way to boot a ROM before flashing it. I could of sworn I read this somewhere. It was an adb command. It allowed you too boot the ROM instead of flashing it. This would allow me to preview the ROM before officially flashing it to the device. I just cannot remember where I saw this at or the command.
My goal is to get a working gsi installed. From there I would like to get TWRP flashed on the device so it can be rooted. If I would need to port TWRP I think I could figure it out. This way when the device is officially released it will have TWRP ready to go for it. Also, since it will have TWRP I will be able to start porting roms as soon as they release the system image.
Click to expand...
Click to collapse
like DSU loader?
Roizoulou said:
like DSU loader?
Click to expand...
Click to collapse
Never heard of that this was just an adb command.
I just downloaded ASOP 11.0 v309. Treble info says my device requires system-arm64-ab.img.xz. So I downloaded system-roar-arm64-ab-gapps.img.xz and system-roar-arm64-ab-vanilla.ikg.gz so hopefully those are the right ones. One has Gapps and one does not. Was going to flash the Gapps version first and see how things go. Then if need be flash vanilla.
I got a problem with phone calls. When I dial out I get call ended. Incoming calls I can hear them ring but get no way to answer. Also I am not getting text messages.
Roizoulou said:
like DSU loader?
Click to expand...
Click to collapse
I got it all working bro thanks for your help
bigroc2223 said:
I got it all working bro thanks for your help
Click to expand...
Click to collapse
gapps or vanilla?
Roizoulou said:
gapps or vanilla?
Click to expand...
Click to collapse
I was able to get them both to work. However, I am trying to use the gapps version, but I am getting an error that the device is not google certified. I cannot find a workaround unless I unroot which I do not want to do =(
bigroc2223 said:
I was able to get them both to work. However, I am trying to use the gapps version, but I am getting an error that the device is not google certified. I cannot find a workaround unless I unroot which I do not want to do =(
Click to expand...
Click to collapse
rooted with magisk?
Roizoulou said:
rooted with magisk
Click to expand...
Click to collapse
It comes rooted with phh superuser. I'm trying to find a way to pull my boot.img from the device so I can use it to flash magisk since it has a workaround for non Google certified devices.

Question Help me understand GIS for Xperia 10 III

I think I understand the idea behind the device-specific Treble system, and the device-agnostic GIS images, which can work on any phone that has Treble. The app "Treble Check" says that the Sony Xperia 10 III is fully supported.
Here's my questions / educated guesses, please tell me if they're wrong or right:
1. This phone already comes with a Treble-compliant hardware layer (kernel+drivers) and GSI-compliant user-facing ROM, directly from Sony.
2. I can install any other GSI ROM (or from XDA) as long as it's an A/B arm64 ROM, and the hardware should work perfectly.
3. Can the phone still get OTA vendor updates for the hardware stuff after I unlock bootloader/install 3rd party GIS, or do I have to get the new images and flash them manually? Or do I get cut off from them altogether?
4. The original bootloader can take commands from the standard fastboot util in the Android SDK Platform Tools.
5. I understand I need to unlock the bootloader in order to be able to flash anything, but why is it necessary to overwrite the vbmeta partition?
6. Is the procedure to get Magisk working still patching the bootloader, regardless what GSI ROM I install?
7. Did anybody pass Safety Net with Magisk and a 3rd-party GIS ROM? Can it be passed anymore after unlocking bootloader?
8. I see there's no TWRP recovery for this device. Does it matter? Are there alternatives? In theory, if I have Magisk->root I can do pretty much anything so it doesn't sound like a big deal.
wirespot said:
1. This phone already comes with a Treble-compliant hardware layer (kernel+drivers) and GSI-compliant user-facing ROM, directly from Sony.
Click to expand...
Click to collapse
Yes.
wirespot said:
2. I can install any other GSI ROM (or from XDA) as long as it's an A/B arm64 ROM, and the hardware should work perfectly.
Click to expand...
Click to collapse
In theory. In practice it still depends on how the GSI ROM was implemented, there can still be issues.
wirespot said:
3. Can the phone still get OTA vendor updates for the hardware stuff after I unlock bootloader/install 3rd party GIS, or do I have to get the new images and flash them manually? Or do I get cut off from them altogether?
Click to expand...
Click to collapse
Not totally sure about this one. I think you don't get to install OTA updates anymore. You can probably download a new firmware with XperiFirm and flash pieces of it but no idea how that would work or what would happen.
wirespot said:
4. The original bootloader can take commands from the standard fastboot util in the Android SDK Platform Tools.
Click to expand...
Click to collapse
Yes. Sony did a great job going for standard things.
wirespot said:
5. I understand I need to unlock the bootloader in order to be able to flash anything, but why is it necessary to overwrite the vbmeta partition?
Click to expand...
Click to collapse
The original vbmeta partition contains a mechanism that checks for the other partitions to not be modified. The image downloaded from Google disables that mechanism, so you can put whatever you want on any partition.
wirespot said:
6. Is the procedure to get Magisk working still patching the bootloader, regardless what GSI ROM I install?
Click to expand...
Click to collapse
Yes, it's for the best. A large amount of what Magisk does is based on it being "hidden" from the regular system. Not just for hiding from SafetyNet, since you may not care about that with a 3rd party GSI ROM, but because keeping system modifications separate and keeping the original ROM is a very, very good practice.
wirespot said:
7. Did anybody pass Safety Net with Magisk and a 3rd-party GIS ROM? Can it be passed anymore after unlocking bootloader?
Click to expand...
Click to collapse
You can pass SafetyNet on the stock ROM, with unlocked bootloader and boot image patched to load Magisk. See my how to guide. I don't know about 3rd party GIS ROMs.
wirespot said:
8. I see there's no TWRP recovery for this device. Does it matter? Are there alternatives? In theory, if I have Magisk->root I can do pretty much anything so it doesn't sound like a big deal.
Click to expand...
Click to collapse
I've looked into this some more. The biggest downsides seem to be inability to restore backups of the userdata, and inability to disable problematic Magisk modules. There are modules such as Magisk Bootloop Protector which will disable all modules if it detects a bootloop, but if the problem is not a bootloop and still prevents your access you're out of luck...
Please feel free to add more info.

Question A possible solution for OOS Stock Cam to work on Custom A12 roms

Guys, I have experienced and heard a lot from others that they come back to stock rom after enjoying the custom ROM for a week or two
just because they missed the OOS Stock cam application performance and features. And we all know, there isnt a custom ROM in which
OOS Cam works flawlessly. I might have a possible solution for this. To be frank, I havent tried this solution yet and I m no expert on
developing ROMS. This is just an idea. Therefore, to confirm this, I m putting forward my idea to the community.
Normally, GCAM works fine for me in Custom ROMS for taking few PICS here n there. But the problem arises when I goto a Vacation trip
or attend a party/function where Camera is an essential requirement. And GCAM just cant beat the shear video and photo performance
of stock OOS CAM. So, my solution might help guys in similar situations.
The possible solution maybe:-
1) Install an awesome Custom ROM of choice primarily on device.
2) Select DSU loader from the developer options
3) Choose the suitable Stock DSU Image. This will install the Stock ROM without affecting the primary custom ROM.
Just go thru normal step process and leave it at that. Remember we only need Stock OOS camera app from this ROM.
Therefore, during normal usage days. just use the CUstom ROM which doesnt require clicking videos or many photos.
However, during trips/vacations/functions, just quickly restart your device to switch to the DSU Image.
and voila, USE THE STOCK OOS CAM as usual and save all photos/videos.
Please let me know if this idea will work theoretically and practically?
I was actually wondering if dual boot was possible. I had no idea about DSU Loader before.
Is it possible to install OOS into the DSU Loader though? I did some quick research and it's meant for GSIs.
Would be cool if we had a tool like this that allowed OOS to be the secondary so we have a fully working custom ROM and OOS when needed.
I have tried dsu loader and it sent me to the your devuce is corrupt red screen.had to start from scratch.also the dsu loader will relock your bootloader.
gillim74 said:
I have tried dsu loader and it sent me to the your devuce is corrupt red screen.had to start from scratch.also the dsu loader will relock your bootloader.
Click to expand...
Click to collapse
lol, what? DSU doesn't lock your bootloader. Actually, in order to use DSU, your bootloader needs to be unlocked.
Please, double-check before spreading false information.
EtherealRemnant said:
I was actually wondering if dual boot was possible. I had no idea about DSU Loader before.
Is it possible to install OOS into the DSU Loader though? I did some quick research and it's meant for GSIs.
Would be cool if we had a tool like this that allowed OOS to be the secondary so we have a fully working custom ROM and OOS when needed.
Click to expand...
Click to collapse
I have seen that a custom DSU loader is also present which can easily install custom ROMS.
If we make OOS primary and custom ROM secondary and use that secondary ROM as primary. Wont that work?
i assume secondary DSU Custom ROMS dont have limited functionality.
sunny1689gupta said:
I have seen that a custom DSU loader is also present which can easily install custom ROMS.
If we make OOS primary and custom ROM secondary and use that secondary ROM as primary. Wont that work?
i assume secondary DSU Custom ROMS dont have limited functionality.
Click to expand...
Click to collapse
I was reading that calls don't work on the secondary ROM but maybe that was in that specific instance. I didn't spend a lot of time on reading.
The custom loader I saw seemed to only be for GSIs too which is why I asked if it can be used for regular ROMs.
Hmm.. nice point. Lets see if an expert can reply here
ekin_strops said:
lol, what? DSU doesn't lock your bootloader. Actually, in order to use DSU, your bootloader needs to be unlocked.
Please, double-check before spreading false information.
Click to expand...
Click to collapse
It did mine so i do know what i am talking about.i wouldnt post something i didnt experience personally.i did it both ways with it locked and unlocked and both times put me at the red your device is corrupt screen.
gillim74 said:
It did mine so i do know what i am talking about.i wouldnt post something i didnt experience personally.i did it both ways with it locked and unlocked and both times put me at the red your device is corrupt screen.
Click to expand...
Click to collapse
which option did u choose? Did u choose the right GSI DSU file. How much I know there are 4 to 5 options.
That could have been the issue choosing the wrong one.i didnt think they would give you the option to install one if it didnt work but that very well could have been the issue.i believe i chose the last option.
sunny1689gupta said:
which option did u choose? Did u choose the right GSI DSU file. How much I know there are 4 to 5 options.
Click to expand...
Click to collapse
gillim74 said:
It did mine so i do know what i am talking about.i wouldnt post something i didnt experience personally.i did it both ways with it locked and unlocked and both times put me at the red your device is corrupt screen.
Click to expand...
Click to collapse
You do know that that screen is always present when you have an unlocked bootloader, right? Lol
TheKnux said:
You do know that that screen is always present when you have an unlocked bootloader, right? Lol
Click to expand...
Click to collapse
Yes its not the yellow screen when you boot.it was a red screen that says your device is corrupt and cannot boot please visit the link from another device.
@gillim74 that's literally the screen I have every time I boot or restart my phone and it still successfully boots.
@sunny1689gupta could you PM if you don't mind? Either on here or telegram. Same username.
TheKnux said:
@gillim74 that's literally the screen I have every time I boot or restart my phone and it still successfully boots.
Click to expand...
Click to collapse
What os are you running
gillim74 said:
What os are you running
Click to expand...
Click to collapse
OOS.
TheKnux said:
OOS.
Click to expand...
Click to collapse
I think i have a messed up a slot.someone deleted the logical partition to try and flash a gsi and it dont flash roms right.i cant find a backup of one and ive done the whole msm thing.
gillim74 said:
I think i have a messed up a slot.someone deleted the logical partition to try and flash a gsi and it dont flash roms right.i cant find a backup of one and ive done the whole msm thing.
Click to expand...
Click to collapse
If you have a fully working slot with no issues, flash this via adb sideload or twrp. Just letting you know that the screen you're referring to is a known issue when having an unlocked bootloader when using OOS11 as a base. I DID NOT have this screen when running A12 Open Betas, even with an unlocked bootloader.
TheKnux said:
If you have a fully working slot with no issues, flash this via adb sideload or twrp. Just letting you know that the screen you're referring to is a known issue when having an unlocked bootloader when using OOS11 as a base. I DID NOT have this screen when running A12 Open Betas, even with an unlocked bootloader.
Click to expand...
Click to collapse
Cool thanks for the help and info
gillim74 said:
It did mine so i do know what i am talking about.i wouldnt post something i didnt experience personally.i did it both ways with it locked and unlocked and both times put me at the red your device is corrupt screen.
Click to expand...
Click to collapse
"It did mine, therefore it must be a fact that it's how it works". NO. Again, the DSU loader needs an unlocked bootloader. What happened or what it didn't happen to your device is irrelevant. It's a FACT that your DSU doesn't LOCK your bootloader because it would self-corrupt itself by doing that since the DSU needs an unlocked Bootloader.
Imagine developers making DSU that requires an unlocked bootloader, but in the process of flashing a GSI (Generic System Image), it will lock the bootloader by itself and brick itself. That absolutely makes no sense, and neither it is coded to work like that.

Is There A Lineage Image For TCL's Beyond TV 5?

i have one of these stupid android tv's and its oem unlocked and i want lineage on it
You can't. Being OEM unlocked doesn't mean much for these TVs. LineageOS doesn't make ROMs compatible with them. Try installing something on it (if it's really unlocked) and chances are you'll brick it.
LuccoJ said:
You can't. Being OEM unlocked doesn't mean much for these TVs. LineageOS doesn't make ROMs compatible with them. Try installing something on it (if it's really unlocked) and chances are you'll brick it.
Click to expand...
Click to collapse
i have a old amazon tate and its modded with crdorid or lineage and i want to know if their is a linux image for it?

Categories

Resources