yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A20 Guides, News, & Discussion] jajk:
Lots of GSI activity has been happening here:

https://mirrors.lolinet.com/firmware/gsi/
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Have you tried any?
[Samsung Galaxy A20 Guides, News, & Discussion] jajk:
[MENTION=5440376]physwizz[/MENTION] Not at all, I am too busy recovering from failed restores every time I get a bit keen......

https://akito.evolution-x.org/GSI/ has the same + a couple of extras.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Is it only stock that you have trouble restoring or is it GSIs as well.
[Samsung Galaxy A20 Guides, News, & Discussion] jajk:
[MENTION=5440376]physwizz[/MENTION] Stock and GSIs. I have tried all variations of wiping, formatting, uninstall/reinstall Magisk etc. and the outcome is always the same....stuck on boot logo.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Perhaps [MENTION=4770483]afaneh92[/MENTION] could explain it
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
So this all gsi are arm 64?

There's only written A and AB so wondering if it will even boot for samsung a20!!
[Samsung Galaxy A20 Guides, News, & Discussion] jajk:
[MENTION=10157269]Dhyey25[/MENTION] A20 needs arm64 AB GSI ROMs.

I found those links on the A50 forum. There is a bit more info on installing them there if you need it.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
What is the size of your recovery.tar?
[Samsung Galaxy A20 Guides, News, & Discussion] jajk:
[MENTION=5440376]physwizz[/MENTION] See attached pic
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
Tried miui booted perfectly but camera is not working and sim cards lose signals every 2 to 3 seconds.

And also oxygen os is not booting. I thought sharing this info will save time for people :)

---------- Post added at 10:08 AM ---------- Previous post was at 09:58 AM ----------

Didn't work and 2nd file will brick device. Volte calling is the reason why I switch back again to one ui. I hope someone will find solution of volte for exynos processor.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Mine is

Boot.img 30,011,412

Recovery.img 35,178,512

Vbmeta 256

Did you patch the recovery.img?
[Samsung Galaxy A20 Guides, News, & Discussion] jajk:
[MENTION=5440376]physwizz[/MENTION] That is with the added charger file inserted that wasn't needed. Otherwise it is unaltered. Boot.img has been patched with Magisk v20 but the problem does not stem from that - it has existed on v19.3, 19.4 and 20.
[Samsung Galaxy A20 Guides, News, & Discussion] afaneh92:
As of topjohnwu you cant restore boot or system or vbmeta via twrp

when I have some time will try to fix this issue
[Samsung Galaxy A20 Guides, News, & Discussion] jajk:
[MENTION=5440376]physwizz[/MENTION] [MENTION=4770483]afaneh92[/MENTION] I have never tried to restore stock partitions - only tried to restore already patched partitions. The big question is....what must you do to restore a GSI ROM or rooted Stock ROM? What partitions must be restored, what wipes / formats must be done etc.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
try going back to the original patched boot.img I posted for you.
[Samsung Galaxy A20 Guides, News, & Discussion] jajk:
[MENTION=5440376]physwizz[/MENTION] original patched boot.img makes no difference to the problem but I just noticed that after attempting to reboot after a restore and failing, the data partition shows error 8 when trying a repair file system even when /data is freshly formatted and shows no errors before the restore.
[Samsung Galaxy A20 Guides, News, & Discussion] IamTheBRAVE:
Don't know if it is related, but when i had mine installed, Adaway had a problem with enabling systemless mode with magisk 19.3. so maybe it has other bugs? I was told to revert to magisk 17.3 and it worked.

On the other hand, i don't remember if i repatched boot.img and reinstalled gsi or just installed it afterwards. So I could be wrong.

Either way it couldn't hurt to try, right?
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
When you are restoring the system with Odin do you flash into every slot except the bottom one?
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
[MENTION=4770483]afaneh92[/MENTION]

Why is that I can backup & restore all my Android 9 ROMs but [MENTION=5952980]jajk[/MENTION] can't, even though our phones are the same ( A205yn)
[Samsung Galaxy A20 Guides, News, & Discussion] jajk:
Confirmed the Oxygen OS GSI linked previously does not boot. So far success with PHH AOSP Vanilla 1.19 and MSM Extended

[MENTION=5440376]physwizz[/MENTION] I do a full restore from Odin when going back to stock (all slots). It is the magic question: why can you restore and I can't? The next question that is not clearly answered is who else is happily jumping between ROMs and restoring without problem?
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
What is the difference between yours and mine?

It's either in the recovery.tar or in the downloaded ROM.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
There is only one point of difference that I can identify.

My phone is locked in to Vodafone and I have a Vodafone compatible sim card (Kogan).
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
I've tried miui, havoc, arrow, lineage, extended, aosp, (oxygen which does not boot) gsi roms and now I am in stock one ui. I have no problem restoring stock rom. SMA205F)

Also wondering if there's working resurrection remix gsi for A20!!! Because I got stuck on boot animation in RR gsi.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I felt your pain today.

I was playing around with Q and my backups wouldn't restore.

I kept booting into recovery.

Eventually I solved the problem by

1. Restoring my MSM_Xtended backup

2. format Data.

3. Install "Disable_Dm-Verity_ForceEncrypt"

4. reboot

5. Success. It booted into the start screen

6. Reboot recovery restore MSM_Xrended backup again.

7. reboot ....Success
[Samsung Galaxy A20 Guides, News, & Discussion] jajk:
[MENTION=5440376]physwizz[/MENTION] The one thing that is persistent is that, starting with an error free /data partition, after the failed reboot, it gets unrepairable errors and spits out an error 8. Tried re-applying "Disable_Dm-Verity_ForceEncrypt" without success.

To sum up: Using unmodified TWRP and patched with any version of Magisk from 19.3 to 20.1, I cannot reboot any ROM (stock based or GSI) after a restore (always stuck at boot logo). After the failed boot, /data is corrupted and nothing short of a format will clear the error. I have tried rebasing on XSA and VAP variants of the stock ROM with no change to outcome.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Your Android 9 backups are behaving like my Android 10 backups.

Try modifying my Android 10 backup technique from post #2

It might go like this.

To Backup a GSI

Backup Data only.

To Restore a GSI

Wipe both caches, data and system

Flash a GSI

Possibly Format Data and flash "Disable_Dm-Verity_ForceEncrypt"

Restore Data

Edit: flash GSI_boot_fix.zip

Wipe both caches

Reboot

I suspect that something weird happened to your system when it was vendor unlocked. How was it done?
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
[MENTION=5440376]physwizz[/MENTION] is there any new gsi for A20 which has gapps included in it?

The gsi I've tried which boots:

miui 11 and miui 9 gsi but it does not detect simcards.

Havoc os

Msm xtended

Aosp

Arrow

The gsi I've tried so far and does not boot:

Ressurecsion

zenui

Oxygen os

Pixel

Lineage with gapps from other thread.

Lineage os mentioned here boots but it does not have gapps and that is the problem cause gapps won't show up even if I flash correct version of gapps.

Right now I am on msm xtended because it has gapps included in it.
[Samsung Galaxy A20 Guides, News, & Discussion] thatha:
Could you give me link of Lineage with gapps that you mentioned ?
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
https://xdaforums.com/project-trebl...development/9-0-lineage-os-16-0-t3840801/amp/
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I prefer MSM
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
Yes it is perfect.

Just a question...will somone make a custom rom specific for a20 only?
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I started to look into that but put it on hold.

https://xdaforums.com/t/samsung-galaxy-a20
[Samsung Galaxy A20 Guides, News, & Discussion] hwp_2804:
anyone have fix for sdcard on gsi ?
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I have no problem with SD card.

What is the issue?
[Samsung Galaxy A20 Guides, News, & Discussion] hwp_2804:
sdcard is broken on pixel experince android 10 gsi
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I couldn't get pixel to work.

Android 10 is still too buggy for me
[Samsung Galaxy A20 Guides, News, & Discussion] hwp_2804:
well .. for me all is okay . just the sdcard broken if i using pixelExperince 10.0 by erfan.

sdcard works with the phh android 10 AOSP
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
What backup and restore method do you use?
[Samsung Galaxy A20 Guides, News, & Discussion] hwp_2804:
i use clean install method

following this tutorial https://xdaforums.com/showpost.php?p=80289889&postcount=107
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Have you tried my method from post #2?
[Samsung Galaxy A20 Guides, News, & Discussion] hwp_2804:
yes i did. and it's work as well.
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
Can you give me the link of the gsi that you've used...i tried pixel gsi before but it won't boot. Also i tried android 10 generic gsi and sd card was not working in it
[Samsung Galaxy A20 Guides, News, & Discussion] hwp_2804:
here's the PixelExperince 10.0 BETA with Gapps Included

https://drive.google.com/a/turbox.uk/uc?id=1R_PGOJEmTyX6IG_M5iqF6r1yoGBQHKIF&export=download

so u just follow the tutorial on post #02 but just skip the gapps because it already included
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
Is volte working? If not then there's no point to flash it because my both sim needs volte for calling.
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
Pixel booted perfectly but steps are bit different.

1. Flash stock rom

2. Flash twrp

3. Flash havoc os gsi and let it boot.

4. Now reboot to twrp and wipe everything except internal storage.

5. Now flash pixel gsi.

6. Flash perrmissiver_v4 or v5.

7. Now go to file manager system/system/bin and delete rw_system.sh file.

8. Reboot. All done.

Note: Before flashing any android 10 gsi I had to flash havoc os first then follow the steps mentioned above.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I'll try it.
[Samsung Galaxy A20 Guides, News, & Discussion] Agrim720:
lol.

1. Flash stock boot and vendor.img from twrp

2. wipe all partition (u can keep the internel if u want)

3. Flash dm-veriety and zygote.

4. Flash gsi

5. reboot to twrp

6. Mount system and delete the setup.apex file

7. then reboot it

The requied file are avaible on telegram

http://t.me/a202019
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
That's method #3.
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
Its not that i like to do long process okay...i couldn't find vendor.img so i had to go through all that. Instead of lol you could've said dont do this long steps use this instead. I am kinda beginner here..well thanks for the help though. I appreciate ?
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
[MENTION=10157269]Dhyey25[/MENTION]

There is never ever one way to do anything.

If your method works, then it is valid.
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
Hey is it the same vendor.img which comes in the stock firmware? If yes then can i simply take the vendor.img from the stock firmware zip which i have?
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Yup.

I'll add it to post #2 to make it easier.
[Samsung Galaxy A20 Guides, News, & Discussion] shumway66:
Havoc os 3.0 andriod 10

https://sourceforge.net/projects/developerluke-roms/files/GSIs/Havoc-OS-3.0_ARM64-AB.img.xz/download

released today
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Have you tried it?
[Samsung Galaxy A20 Guides, News, & Discussion] shumway66:
no i havent yet wont have time till end of week
[Samsung Galaxy A20 Guides, News, & Discussion] Engineer_Virus:
I did, until now the only bug I can found that signal bars are always empty not depending on network strength.

Other than that it's the best Q GSI I have tried.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I can never get Google to behave nicely on Q.

What GApps did you use?
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
I dont know why but gapps wont appear after flashing..i tried almost every version of gapps but no luck at all. Tell me which an how u flashed gapps...ON Bitgapps they say AB device has to flash gapps on B partition so how to do that?
[Samsung Galaxy A20 Guides, News, & Discussion] Engineer_Virus:
I using unofficial nano GApps provided by [MENTION=7156450]LietRell[/MENTION], the link is dead now but there is a new beta release here:

https://sourceforge.net/projects/opengapps/files/arm64/beta/20191006/

When my phone boots I got this annoying error " this device is not google play protect certificate something something"

All I did is to use magsik hide on all google apps then cleared google play and google service data and everything worked out fine.

---------- Post added at 12:33 PM ---------- Previous post was at 12:29 PM ----------

I used the same mothed in post 2

And using unofficial nano GApps arm64
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Thanks
[Samsung Galaxy A20 Guides, News, & Discussion] Engineer_Virus:
I think you should wait for the new build. Phh's new build 200e should be more stable.

Good news

https://github.com/phhusson/treble_experimentations/releases
[Samsung Galaxy A20 Guides, News, & Discussion] shumway66:
i used the one with gapps in it it worked awesome android 10

only thing i found is that if u update chrome it doesnt work downgraded back o what came in gsi and all is good

https://github.com/phhusson/treble_experimentations/releases/tag/v201
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
It's working good but camera says insert sd card before using even though file manager is detecting sd card.

So msm xtended is still perfect for me and I am switching back to it.

And yeah about that navigation bar issue, in my case after flashing ROM I reboot it again and nav bar appears no porblem at all, so just saying maybe we don't need to flash that magisk module for it.?
[Samsung Galaxy A20 Guides, News, & Discussion] Dhyey25:
I was wondering is it possible to port a20 stock camera which can work in custom gsi for a20?
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Works great for me too
[Samsung Galaxy A20 Guides, News, & Discussion] IamTheBRAVE:
Have you tried kiwi browser? It's so much better than chrome on mobile. It's been my default browser for avwhile now.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Works better than chrome on Q.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Added to Post #1 :)
[Samsung Galaxy A20 Guides, News, & Discussion] Engineer_Virus:
Am I the only getting bootloops when using magisk v20?
[Samsung Galaxy A20 Guides, News, & Discussion] IamTheBRAVE:
Do you guys have adaptive brightness in your display settings? I'm still on AOSP 9 v119, arm32binder64 GSI, but a quick search shows it should be there:

https://www.bestusefultips.com/use-adaptive-brightness-in-android-p-9-0/
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
It's not on mine.
[Samsung Galaxy A20 Guides, News, & Discussion] IamTheBRAVE:
Maybe it's device specific, not on gsi. Maybe an app can make it work...
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I'm using. Q

I think it was working on one of the other gsis
[Samsung Galaxy A20 Guides, News, & Discussion] IamTheBRAVE:
Found this thread, haven't read it yet but apparently it's possible to add auto brightness and other features.

https://xdaforums.com/project-trebl.../overlay-enable-night-light-adaptive-t3741965
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I just installed this on Q but I saw no changes.
[Samsung Galaxy A20 Guides, News, & Discussion] IamTheBRAVE:
Maybe you can try it this way?

Copied from thread

For everyone that can't get it to work in a way that describet in first post, try to run this script on any terminal emulator app:

1. put this lines in a text file and rename it to <any name>.sh

#!/bin/sh
mount -o rw,remount /vendor; cp -rf framework-res__auto_generated_rro.apk /vendor/overlay/; chmod 755 /vendor/overlay/framework-res__auto_generated_rro.apk; chown root:shell /vendor/overlay/framework-res__auto_generated_rro.apk; chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay;chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay/framework-res__auto_generated_rro.apk; mount -o ro,remount /vendor

2. place this file and framework-res__auto_generated_rro.apk in a root of sdcard

3. open terminal app, and run this commands

su
cd /sdcard
sh <anyname>.sh

5. reboot

PS

I'm using Pixel Experience 9.0 GSI on Le max 2
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
That's the way i did it
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I've gone back to MSM. It has everything I need.
[Samsung Galaxy A20 Guides, News, & Discussion] shumway66:
bliss gsi

anyone tried this one

https://sourceforge.net/projects/blissroms/files/GSI/
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
I think I tried it once before.

I've decided to go back to MSM v18.

I couldn't get Titanium Backup to work with v19.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Did a dirty flash.

1. Wipe both caches

2. Install the GSI image

3. Flash GSI boot fix

4. Flash Magisk.zip

5. Wipe both caches

6. Reboot

Phone didn't work and couldn't connect to wifi
[Samsung Galaxy A20 Guides, News, & Discussion] IamTheBRAVE:
Yay! I'm finally back. Last Friday afternoon I had a mishap with navbar disappearing, tried refreshing my gsi but it stuck on android logo. No other gsi would work. Went back to stock and rerooted dozens of times with no success ( I even made a backup, formatted data and tried restoring it). Finally retried today. And I'm back to rooted stock. [MENTION=10127076]HazardsDE[/MENTION] I'll resume the work on your TWRP. Touchscreen unresponsive could be because your screen is capacitive, ours is amoled. So i would need to switch the touchscreen drivers. Right now I have no idea how to do that.if someone could help? that would be great. I looked in sys/devices it's probably in input, right?

EDIT: This should be in Twrp thread, sorry.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Try this one

https://xdaforums.com/project-trebl...ment/gsi-msm-xtended-xq-release-v3-0-t4001147
[Samsung Galaxy A20 Guides, News, & Discussion] s7aycool:
In first post you said "I chose arm64 ab files" ... but A205FN is A slot only. Why you choose ab?
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
The ab ones usually work for my A205yn

I'll try a and see what happens.
[Samsung Galaxy A20 Guides, News, & Discussion] IamTheBRAVE:
When android was in v8, they made system have two partitions, A and B, each one separate from the other. But in android 9 they changed that making A only phones also use 2 partition, so even though our phones are A only we have to use AB images. I don't think it's wise to flash A only image it might create unforeseen problems

Here is the original post that explains it further

https://xdaforums.com/pixel-xl/help/help-understanding-b-partitions-t3748003
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Thanks

I hope this helps [MENTION=10297495]s7aycool[/MENTION]
[Samsung Galaxy A20 Guides, News, & Discussion] s7aycool:
Bro you wrote all this guides just trying things all the time and see what happens? It so ridiculous. Try some reading before doing blindly. And then making these barely accurate guides.

p.s. getprop ro.build.ab_update

This will return true if the device supports dual partitions.

Can you please please say exactly what changed between android 8.0 and 9.0? I haven't found that in link you provided. And on source.android and everywhere else.

How A only slot phones with these partitions:

recovery

boot

cache

system

vendor

data

have to use a/b ROMs which have these partitions:

boot_a

boot_b

system_a

system_b

vendor_a

vendor_b

data

HOW? It will be done automatically?

Yeah, you better don't flash A only image on your A only slot device, it might create unforeseen problems for sure
[Samsung Galaxy A20 Guides, News, & Discussion] shumway66:
tried it got it to boot but get error when trying to restore google
[Samsung Galaxy A20 Guides, News, & Discussion] IamTheBRAVE:
AFAIK, in A8, phones manufacturers had the choice of having a single slot PTable or 2-slot one. When A9 rolled out, Android made it mandatory to have 2 slots but kept the backward compatibility with A8, ie. A/B partition table still supports A only.

I read source.android too, and frankly I still feel a little dumb even after reading through all the data there. :)

They make a slight distinction between "Legacy Android 9" GSI and regular "Android 9" GSI. Nowhere do they mention A-only, they always say non- A/B phones, which could mean both -a slots and pre-A/AB partition scheme.

To answer your question of HOW? In this partition scheme, installation occurs only in one slot, so A/B roms still are able to install on A-only slots. The only drawback is: with A-only we won't be able to use the A/B feature of seamless updates i.e updating the system while it's still running.

Slot A is set as Active & Bootable) and slot B as update ready, which is downloaded and installed on system-b then it's set to Bootable, on reboot, system boots from system-b to use the new GSI while A is set to update ready and so on. If update fails, it's still able to boot back from old system-a since it hasn't been replaced yet.

About unforeseen problems, I meant not to install A-only gsi on top of an A/B gsi (because even if you wipe system beforehand, it will still have the old boot from A/B, AFAIK)

That's all I learned today, I hope I will have room for tomorrow's knowledge my mind is about to go boom :laugh:
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Ignore
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
It worked for me.

I installed the GApps for Q in post#2 and restored data from a previous Q

https://androidfilehost.com/?fid=4349826312261609084
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
[MENTION=8033385]IamTheBRAVE[/MENTION]

Thank you for your positive and constructive input
[Samsung Galaxy A20 Guides, News, & Discussion] Henrique1887:
Por sinal

Ok, I've been trying to use MSM_Xtended and get away from Stock ROM, but there is a bug that makes it impossible to use everyday, the network signal for calls is not working, it's extremely making it impossible to have a good phone call reception. This happens at Xtended and several other GSIs, would you have a viable solution?
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Yes. I've noticed that too.

It's not an issue for me because I always have good reception.
[Samsung Galaxy A20 Guides, News, & Discussion] physwizz:
Try Xtensions -Statusbar Settings - Network Traffic.

Also try

https://play.google.com/store/apps/details?id=biz.lapay.mobiledatawidget
[Samsung Galaxy A20 Guides, News, & Discussion] Henrique1887:
Wow, Nice.

I recently tested MIUI 11, it started up normally, getting usable a lot of the time, but like everything, it has a few minor issues; The network signal (calls) keeps connecting and disconnecting (as if the user is removing the chip slot) making it impossible to make calls. 2 ° The SIM TOOLKIT app stops working, it ends the experience (but it's easy to solve) and MIUI's Blur effects go black. if you want the link to test and try to solve the problems I can provide