Samsung A21s Project Treble - Samsung Galaxy A21s Questions & Answers

A quick test with ADB shows that the A21s is compatible with project treble. Could this be used to flash GSI ROMs?

BeatLink said:
A quick test with ADB shows that the A21s is compatible with project treble. Could this be used to flash GSI ROMs?
Click to expand...
Click to collapse
Yes. But we don't have working twrp yet

There seems to be unofficial builds of TWRP already: https://forum.xda-developers.com/t/recovery-unofficial-twrp-for-galaxy-a21s.4197239/
If we could iron out a few bugs and kinks and find a maintainer, maybe we could make it official

BeatLink said:
There seems to be unofficial builds of TWRP already: https://forum.xda-developers.com/t/recovery-unofficial-twrp-for-galaxy-a21s.4197239/
If we could iron out a few bugs and kinks and find a maintainer, maybe we could make it official
Click to expand...
Click to collapse
Never install this TWRP. This almost ruined my phone.

I used Lineage Recovery to install OS 18.1

Rishi_5717 said:
Never install this TWRP. This almost ruined my phone.
Click to expand...
Click to collapse
It will not work if you're not on u5 binary , the problem with this phone is if you managed to bypass or just flash the unofficial binary which targets binaries lower than 7 , when you reboot to system it auto enters download with something like bad header/bad magic.

beginner148 said:
It will not work if you're not on u5 binary , the problem with this phone is if you managed to bypass or just flash the unofficial binary which targets binaries lower than 7 , when you reboot to system it auto enters download with something like bad header/bad magic.
Click to expand...
Click to collapse
I'm on U6 bruh.

Rishi_5717 said:
I'm on u6 , what are you talking about?
Click to expand...
Click to collapse
Good you can use the lineage recovery and that's it , i still didnt try flashing it on s7 binary with exkernel manager so you think it's worth trying or it's not gonna work anyways????

beginner148 said:
Good you can use the lineage recovery and that's it , i still didnt try flashing it on s7 binary with flashify so you think it's worth trying or it's not gonna work anyways????
Click to expand...
Click to collapse
Nothing more now bruh. I already changed my phone to Poco..........

Rishi_5717 said:
Nothing more now bruh. I already changed my phone to Poco..........
Click to expand...
Click to collapse
It looks like nobody's willing to tamper enough with this phone , unfortunately im still a student who had terrible experience with a xiaomi mtk phone if it was up to me i will but no backup

beginner148 said:
It looks like nobody's willing to tamper enough with this phone , unfortunately im still a student who had terrible experience with a xiaomi mtk phone if it was up to me i will but no backup
Click to expand...
Click to collapse
Mtk is just a crap. I always prefer a Snapdragon for any reason.

Related

one key install failed in es file Pro

Rooted my redmi Note 3 kenzo with supersu. Even after granting root access es file explorer Pro & similar apps are unable to install, uninstalll multiple apk files in 1 click.thought problem is with supersu so replaced it with magisk but the problem persists.my friend can install multiple apk in 1 click on his moto g2. Please help me to solve this problem
please help somebody
I think ur system is not properly rooted... let us know how did u root the system 1st..
evansourav said:
I think ur system is not properly rooted... let us know how did u root the system 1st..
Click to expand...
Click to collapse
I used both magisk & supersu but nothing works.titanium backup works.
it works on ported miui nougat roms&viper also
but in all other runs it fails.
borsemayur2 said:
I used both magisk & supersu but nothing works.titanium backup works.
it works on ported miui nougat roms&viper also
but in all other runs it fails.
Click to expand...
Click to collapse
Which rom you are on currently, Which twrp are you using?
evansourav said:
Which rom you are on currently, Which twrp are you using?
Click to expand...
Click to collapse
iam using dual boot patcher.have 5 roms.miuipro nougat is primary.es install is working in it.but not working in nitrogen nougat,oreo & miuipro mm & rr.using red wolf recovery
borsemayur2 said:
iam using dual boot patcher.have 5 roms.miuipro nougat is primary.es install is working in it.but not working in nitrogen nougat,oreo & miuipro mm & rr.using red wolf recovery
Click to expand...
Click to collapse
Dual Boot is logical to me but running 5 roms at a time simply shows you want to be Coc$y not Geeky .. you asked for problems now you should know to find the way too.. Good luck!
evansourav said:
Dual Boot is logical to me but running 5 roms at a time simply shows you want to be Coc$y not Geeky .. you asked for problems now you should know to find the way too.. Good luck!
Click to expand...
Click to collapse
I have tried all roms without dual boot patcher but(1 at a time) but the problem exists
Clean Fastboot Miui..
working in ported roms like epic,miuipro nougat
not working in most of the roms

Locked

Lock this thread.
Is the magisk zip only for mido? Or is it generic as well?
I only have mido for testing , but it should be universal. I should build an image with su for treble devices without twrp, I guess.
An alpha build of twrp is available for the Honor 9 lite. I'll test in the next 24 hrs and report here.
Working on any Treble supported device right?
It should work on any device phh-treble works.
Would you be interested in adding fixes for the Huawei mate 10 pro ?
I could try to play the guinea pig.
Maybe a secondary flashable zip / kernel would do the job as not much has to be fixed...
Have you tried the current build? I would like to know the issues with huawei treble devices.
pchatzop said:
Have you tried the current build? I would like to know the issues with huawei treble devices.
Click to expand...
Click to collapse
Downloading mate. I will flash with my p10+. Btw, im using carbon rom atm.
Work on mido.
Bootloops on my Huawei P Smart. Phh's V12 ROM works Ok though.
Good to know. It may be a problem with dm-verity, will patch it on the next build.
pchatzop said:
Good to know. It may be a problem with dm-verity, will patch it on the next build.
Click to expand...
Click to collapse
Booted with my p10+ but every I reboot got this mate.
pchatzop said:
Good to know. It may be a problem with dm-verity, will patch it on the next build.
Click to expand...
Click to collapse
Likewise, the ROM cannot be charge when turnoff same with treble (boot you in recovery mode). However, you may check carbon rom of honor view 10 as it can be charge when turnoff (also, the supercharge is enable when off)
Anyone tested on Redmi 3s
Just installed it on my Mido with nano GApps and provided Magisk, running fine for now, will test on!
Thank you very much for your work, for some Reason I can't use Thanks Button the last days but feel thanked and hugged for that you, Sir, made my Day!
pchatzop said:
Have you tried the current build? I would like to know the issues with huawei treble devices.
Click to expand...
Click to collapse
Can I simply replace my actual LineageOS build with yours ?
I got many things running in a way I can keep it as a daily driver and I sadly can't make a TWRP backup as TWRP can't decrypt our device for the moment.
ChriKn said:
Can I simply replace my actual LineageOS build with yours ?
I got many things running in a way I can keep it as a daily driver and I sadly can't make a TWRP backup as TWRP can't decrypt our device for the moment.
Click to expand...
Click to collapse
May cause you bootloop. Better backup your data/files. I used titanium backup :good:
v0ne said:
May cause you bootloop. Better backup your data/files. I used titanium backup :good:
Click to expand...
Click to collapse
I just have gotten a working phone after 3 days of work, I prefer to keep it this way
But once TWRP backups are feasible, I will of course try this
ChriKn said:
I just have gotten a working phone after 3 days of work, I prefer to keep it this way
But once TWRP backups are feasible, I will of course try this
Click to expand...
Click to collapse
If you're using the Treble LOS right now, you will not find anything in this Rom that will not work for you, I think.
Been using it for a few hours and no Problems popped up!
Set up with
opengapps (Mini), Magisk from OP and Pixel2 Experience Module.
Battery seems to be good for now, all Basics like WhatsApp, GMail, Messenger, Maps (GPS), Spotify with Bluetooth Car Audio (excellent sound), Mi Band 1s do work. And it has March Security Patch.
Of course it's just a few hours but till now, it's just awesome!

Galaxy J6 Infinity Treble Rom???

Note To Developers :
I have tried to install so many treble roms in my Galaxy J6 Infinity and always failed to install. Can any developer please provide us a full guide on how to install treble roms in samsung exynos devices using TWRP or anything else. Please help us.
I tried to install the following roms
1. OmniP-arm64_aonly_vanilla_nosu
2. PixelExperienceP-arm-aonly
3. dotOS-O-v2.4-santoni-OFFICIAL-20180723
All the above roms are treble roms and I failed to install.
My device also supports Project Treble.
Please Help:crying::crying::crying:
Nitin devarapalli said:
Note To Developers :
I have tried to install so many treble roms in my Galaxy J6 Infinity and always failed to install. Can any developer please provide us a full guide on how to install treble roms in samsung exynos devices using TWRP or anything else. Please help us.
I tried to install the following roms
1. OmniP-arm64_aonly_vanilla_nosu
2. PixelExperienceP-arm-aonly
3. dotOS-O-v2.4-santoni-OFFICIAL-20180723
All the above roms are treble roms and I failed to install.
My device also supports Project Treble.
Please Help:crying::crying::crying:
Click to expand...
Click to collapse
Which twrp? and give forum link for your device....
In 3rd option santoni is a Xiaomi mobile i think....
I also have samsung galaxy j6 2018 and have project treble support so tried flashing
PixelExperienceP-arm-aonly gsi system image but failed. I flashed through twrp given in following thread
https://forum.xda-developers.com/galaxy-j/development/recovery-twrp-3-2-2-0-galaxy-j6-on6-t3819751
Any help ?
Is there even some way to install treble roms on tje j6? I could really need a different rom
Nitin devarapalli said:
Note To Developers :
I have tried to install so many treble roms in my Galaxy J6 Infinity and always failed to install. Can any developer please provide us a full guide on how to install treble roms in samsung exynos devices using TWRP or anything else. Please help us.
I tried to install the following roms
1. OmniP-arm64_aonly_vanilla_nosu
2. PixelExperienceP-arm-aonly
3. dotOS-O-v2.4-santoni-OFFICIAL-20180723
All the above roms are treble roms and I failed to install.
My device also supports Project Treble.
Please Help:crying::crying::crying:
Click to expand...
Click to collapse
Dude, there IS a tutorial on how to flash treble GSIs! You're just not willing to use a simple thing like GOOGLE!
https://www.xda-developers.com/flash-generic-system-image-project-treble-device/
Now, from what I read here is that a perquisite is that you don't have a patched boot/ramdisk aka a rooted phone.
If you have a rooted phone, you're going to have to install a fresh, unmodified kernel (boot.img) and then try it
I'll give it a try and try to post back results. I'm not familiar with how project treble works, but I doubt it's as easy as it sounds
@ShaDisNX255 plz share the result. I too have a Galaxy J6 and wanted to have an AOSP based rom in it. If u succeed, plz post it here. Not a big fan of Touchwiz.
hmm i failed myself, tried system-180818-arm-aonly-gapps.img without succes.
1. i've installed TWRP https://forum.xda-developers.com/galaxy-j/development/recovery-twrp-3-2-2-0-galaxy-j6-on6-t3819751
2. install Resurrection Remix ARM A Only Devices (system-180818-arm-aonly-gapps.img)
3. on system image
4. reboot
result endless reboot
Samsung probably went out of their way to make it harder.
Too busy to experiment myself but from my first tests I didn't get it to work.
Oh well, so much for "Project treble making it easier"
lol
ShaDisNX255 said:
Samsung probably went out of tbeir way to make it harder.
Too busy to experiment myself but from my first tests I didn't get it to work.
Oh well, so much for "Prohect treble making it easier"
lol
Click to expand...
Click to collapse
Trust me when i say this but i really want u to succeed. Touchwiz is too damn heavily bloated to use. Really hope u make it work!
adityam0338 said:
Trust me when i say this but i really want u to succeed. Touchwiz is too damn heavily bloated to use. Really hope u make it work!
Click to expand...
Click to collapse
It's fairly easy to debloat using something like Super R's kitchen.
Why would you buy a J6 if you hate Touchwiz?
There are waaaaay better options that have closer to stock Android experiences than a Samsung phone
ShaDisNX255 said:
It's fairly easy to debloat using something like Super R's kitchen.
Why would you buy a J6 if you hate Touchwiz?
There are waaaaay better options that have closer to stock Android experiences than a Samsung phone
Click to expand...
Click to collapse
Lol that's the issue. Got the phone from my parents. Never would've bought this myself. I like AOSP based roms. Yeah i know its easy to debloat but i just count it as a con of toucwiz(weird as it may be). So here i'm scratching my head and looking all round the internet to find a possible way to turn this to my liking. 4pda also gave negative results, so replying to some recently created threads seemed like my last resort. Btw have u found a working GCAM port for this phone. Tried 6-7 ports but none of them even got installed.
adityam0338 said:
Lol that's the issue. Got the phone from my parents. Never would've bought this myself. I like AOSP based roms. Yeah i know its easy to debloat but i just count it as a con of toucwiz(weird as it may be). So here i'm scratching my head and looking all round the internet to find a possible way to turn this to my liking. 4pda also gave negative results, so replying to some recently created threads seemed like my last resort. Btw have u found a working GCAM port for this phone. Tried 6-7 ports but none of them even got installed.
Click to expand...
Click to collapse
Nope, I'm not much of a picture taker.
Lol a lot of people get phones from their parents, just be glad you're not stuck with a phone with a ****ty processor like Mediatek.
And well, I'm not an experienced person, so I wouldn't even be able to port something like Lineage or the like, sorry
ShaDisNX255 said:
Nope, I'm not much of a picture taker.
Lol a lot of people get phones from their parents, just be glad you're not stuck with a phone with a ****ty processor like Mediatek.
And well, I'm not an experienced person, so I wouldn't even be able to port something like Lineage or the like, sorry
Click to expand...
Click to collapse
Yeah, I'm grateful to them. And i don't expect u to port a rom. Nonetheless im grateful to u for trying treble. Just hope u get positive results. Cheers! ?
adityam0338 said:
Yeah, I'm grateful to them. And i don't expect u to port a rom. Nonetheless im grateful to u for trying treble. Just hope u get positive results. Cheers! ?
Click to expand...
Click to collapse
Hopefully somebody figures it out
ShaDisNX255 said:
Hopefully somebody figures it out
Click to expand...
Click to collapse
Yep, hope somebody does. ??
I failed again, had to stop,out of options. This phone is my only device atm. Kicked back to original stock rom.
KRiST0F said:
I failed again, had to stop,out of options. This phone is my only device atm. Kicked back to original stock rom.
Click to expand...
Click to collapse
I think the problem is with TWRP cause i read in some other threads that u need some vendor partition enabled( or sthng like this) TWRP to flash Pie GSIs. Not sure if im right or wrong. But this is the first thing that comes to mind.
adityam0338 said:
I think the problem is with TWRP cause i read in some other threads that u need some vendor partition enabled( or sthng like this) TWRP to flash Pie GSIs. Not sure if im right or wrong. But this is the first thing that comes to mind.
Click to expand...
Click to collapse
that was also something i thought of, because in some procedures they speak of a trebel recovery mode
TWRP on the J6 DOES support the vendor partition, so I don't understand what you're trying to say
ShaDisNX255 said:
TWRP on the J6 DOES support the vendor partition, so I don't understand what you're trying to say
Click to expand...
Click to collapse
Ok. I didn't know that. Thnx for the info. Then what is going wrong with the treble GSIs??

AOSP 9.0 GSI October security - A and AB Arm and Arm64 Legacy - No Modifications

I compiled the GSI overnight, its aosp_arm64_a Legacy GSI, because the ones I keep downloading are all August security patch and I wanted it a little more up to date. I got the source directly from google and built it myself. AB is now uploaded as aosp_arm64_ab. A only is also up as aosp_arm64_a-aosp. I ran it on my One Plus 5, NFC was buggy but the camera, ril, Bluetooth, wifi, and everything I tried out worked. this is vanilla, so its bare bones. no apps besides the basics, no mods or any customizing. As this is a GSI it should be useable on many devices, I can only help you with the devices that I own, pixel XL and one plus 5. If you have a device other then that, you will have to find help from someone knowledgeable about that device. I have had success using twrp and fastboot to flash the system image. I was told doing it via fastboot is the best, so you can disable verified boot, then flash, then format all in one shot. My device did not require me to disable the verify boot. From my end it was literally as simple as 3 commands via fastboot and then restart the device and I was in. I flashed a 50mb gapps package from xda here, and magisk. took some photos, connected my Bluetooth speaker, made a call. sent some texts, installed a few apps. I will be staying on stock. But only because my device has stock pie, and the theming from one plus far trumps google.
aosp_arm_a-userdebug and aosp_arm_ab-userdebug added
https://mega.nz/#F!Xh4g2KSB!EJIGQtvLFKzHzqKXmZI7tg
Sources: https://source.android.com/setup/build/gsi
Do you find it smoother than HOS Pie Beta ?
Thanks for your share! Awesome, I don't need/use NFC.
korm85 said:
Do you find it smoother than HOS Pie Beta ?
Click to expand...
Click to collapse
It's very fast. install and boot was very fast. but I just discovered my home button does not work. however I don't assume that would be a difficult fix. the back and pages button are working. its very bare tho, you need to install everything you want manually. Which I prefer, it gives me more control over my phone I find. Hydrogen works ok too, it just requires a bit of work to get play store going and remove all the bloatware. GSI camera worked fine from boot.
Dzol Cp said:
Thanks for your share! Awesome, I don't need/use NFC.
Click to expand...
Click to collapse
upload is at finished now
can a mod change the title to reflect that this will have the AB and A GSI not just A? Please and thank you.
Thanks! Any chance of an arm build?
Got no boot ......?!
Device's nubia z17 sd835
91egt said:
Thanks! Any chance of an arm build?
Click to expand...
Click to collapse
yea, it will be up in the morning. I did A and just about done AB for arm64, then will do A and AB arm
aljoscha81 said:
Got no boot ......?!
Device's nubia z17 sd835
Click to expand...
Click to collapse
how did you flash it? I didnt use trwp, I used fastboot from the pc
godkingofcanada said:
how did you flash it? I didnt use trwp, I used fastboot from the pc
Click to expand...
Click to collapse
Maybe thats the matter i always use twrp but got..... So far never problems ....?
Make it a difference?
aljoscha81 said:
Maybe thats the matter i always use twrp but got..... So far never problems ....?
Make it a difference?
Click to expand...
Click to collapse
It shouldn't. But its twrp. Weird things happen. Use fastboot. Its only 3 or 4 steps. The tutorial is on the google gsi website. I tried via twrp and had no issues however. It started to launch then rebooted, second boot it loaded OK
Cracked screen. But you can see the build info
godkingofcanada said:
Cracked screen. But you can see the build info
Click to expand...
Click to collapse
Ok.. will test out with fastboot thanks a lot!
aljoscha81 said:
Ok.. will test out with fastboot thanks a lot!
Click to expand...
Click to collapse
No problem
AB will be posted in about 2-3 hours. After that I will build A only Arm. It should be available by morning.
a/b please
irfaniphank2 said:
a/b please
Click to expand...
Click to collapse
Aosp_arm64_ab-userdebug will be on the link in post 1 in about 90 min. Its 90% done building.
godkingofcanada said:
Aosp_arm64_ab-userdebug will be on the link in post 1 in about 90 min. Its 90% done building.
Click to expand...
Click to collapse
:good::good::good::good::good::highfive::highfive::highfive:
AB arm64 legacy is now uploaded to the link in post one. Arm A and AB will show up over night. Starting with a in the morning. It takes about 4.5 to 5 hours to build

Xiaomi 12X custom rom requested

Hi everyone, I've been trying to find a custom rom for Xiaomi Mi 12X, but none found so far. I tried to port Pixel Experience rom using the Xiaomi Mi 11X (alioth) device tree and changed accordingly, since the SOC and almost all specs are the same except Camera. Can anybody shed some light in how to correctly port the ROM for my devices without official device tree from LineageOS or Pixel Experience? Thank you.
Anybody has any suggestions?
JChanMe said:
Anybody has any suggestions?
Click to expand...
Click to collapse
Hi, right now I'm using crdroid gsi, which works pretty good. Except of fp, everything works as it should. It's smooth, has a good bb and even MGC's Gcam 8.1, last stable, works incl. portrait, nightmode and with all lenses (ok, no pixelbinning). Installing is pretty simple: use fastbootd and just fash img to system. That's it....
Voodoojonny said:
Hi, right now I'm using crdroid gsi, which works pretty good. Except of fp, everything works as it should. It's smooth, has a good bb and even MGC's Gcam 8.1, last stable, works incl. portrait, nightmode and with all lenses (ok, no pixelbinning). Installing is pretty simple: use fastbootd and just fash img to system. That's it....
Click to expand...
Click to collapse
Thank you but I don't see it on crdrood website, did you build it yourself?
JChanMe said:
Thank you but I don't see it on crdrood website, did you build it yourself?
Click to expand...
Click to collapse
It's a gsi treble rom (that works with many vendors)... Just search for project treble on xda!
Voodoojonny said:
It's a gsi treble rom (that works with many vendors)... Just search for project treble on xda!
Click to expand...
Click to collapse
Thank you. I figured it out and tried a few treble roms including pixel experience, there are a few problems including auto brightness, fingerprint and vibrator. You had the same problems?
JChanMe said:
Thank you. I figured it out and tried a few treble roms including pixel experience, there are a few problems including auto brightness, fingerprint and vibrator. You had the same problems?
Click to expand...
Click to collapse
Yes, especially the sound makes problems... When usung videocall, it's awfully distorted. I'm using stock for now. With Lawnchair and some modifications it's ok for now.
Do you know, why there's no thread for our phone here?
Just seen, you are forking some repositories... Have you been successful in building?
Voodoojonny said:
Just seen, you are forking some repositories... Have you been successful in building?
Click to expand...
Click to collapse
I successfully build the ROM without errors, just some warnings, but it didn't boot aftter flashing it.
JChanMe said:
I successfully build the ROM without errors, just some warnings, but it didn't boot aftter flashing it.
Click to expand...
Click to collapse
Did you flash with vendor or system only?
Voodoojonny said:
Did you flash with vendor or system only?
Click to expand...
Click to collapse
No, I used the same procedure as described for Alioth device, fastboot flash boot boot.img, then from recovery use adb push to update the zip ROM file.
JChanMe said:
No, I used the same procedure as described for Alioth device, fastboot flash boot boot.img, then from recovery use adb push to update the zip ROM file.
Click to expand...
Click to collapse
But how did you built the rom. Did you get out a flashing zip directly? Normally, you create different partitions as fas as I know... Would you share your rom? Btw. which one did you build?
Voodoojonny said:
But how did you built the rom. Did you get out a flashing zip directly? Normally, you create different partitions as fas as I know... Would you share your rom? Btw. which one did you build?
Click to expand...
Click to collapse
Yes, after building I got a zip and flashing it using update by adb push. I built Pixel Experience Android 11
JChanMe said:
Yes, after building I got a zip and flashing it using update by adb push. I built Pixel Experience Android 11
Click to expand...
Click to collapse
But you used the lineage device tree. And PE is aosp not lineage. Might that be the problem? Would you try to build crdroid? Or instruct me how to setup a build environment?
No, I used the PE device tree, not Lineage. I used the build instructions provided by Pixel Experience for Alioth.
JChanMe said:
Anybody has any suggestions?
Click to expand...
Click to collapse
Yesterday xiaomi released kernel for 12x on GitHub. So I think now you can build pe/los without troubles
Maxletsplay_1 said:
Yesterday xiaomi released kernel for 12x on GitHub. So I think now you can build pe/los without troubles
Click to expand...
Click to collapse
Didn't they release the kernel when the phone was released?
JChanMe said:
Didn't they release the kernel when the phone was released?
Click to expand...
Click to collapse
Technically yes, but i've checked GitHub(about month ago) and I didn't saw kernel for this phone, just an empty folder
JChanMe said:
Didn't they release the kernel when the phone was released?
Click to expand...
Click to collapse
Did you replaced vendor libs with libs from 12x and other stuff like fstab, bins, rc files..configs? Attach logs from boot if you decide to build again. My advice is to build as eng and disable encryption, put selinux to minimal mode, nuke livedisplay, import vendor modules if you build with stock prebuilt kernel. Always look for F Linker errors in log and resolve them.
I'm waiting for AOSP rom too.

Categories

Resources