Galaxy S9 SM-960F unable to boot any GSI - Treble-Enabled Device Questions and Answers

SM-G960F is bootlooping regardless of what GSI/gapps/kernel/etc is being installed post-PIE update.
I had, at one point, installed an 8.1 GSI long ago before I installed the CSD1 update and managed to get it to boot, but have not been able to get one to boot at all now.
Just looking for some input from anyone else running GSI's or trying to at least.
So, just to clarify, these are the steps I went through from a fresh CSD4 build. (With no success.)
Advanced Wipe
>Selected Dalvik/ART Cache, System, Data, and Cache and wiped.
Install
>Selected ARM64 A-Only GSI (Tried multiple ones, such as Resurrection Remix and Havok's)
Reboot into recovery
Advanced Wipe
>Selected System, then Resized
Install
>Selected Gapps (Tried OpenGapps, phh's GSI gapps and bitgapps)
>Tried installing custom kernels, Magisk, and vendor/firmware files when GSI+gapps didn't work.
Reboot into system
>System will reboot, show the boot screen, restart, show the boot screen again, then reach the boot animation where it will remain.
Regardless of image/gapps/kernel/vendor/firmware, it has resulted in bootloops
Currently (attempting to) pull any log I can find.
I'd appreciate any help I can get here.
Thanks.

Related

My /data partition always gets encrypted again after beeing formatted

Hi,
I try to install LineageOS 14.1 + Magisk 15.0 without encryption on Data, but it always is encrypted after installation again.
Here are the steps I take:
1. Install TWRP 3.2.1-0
2. Boot into TWRP recovery (getting prompted to enter pattern so it can decrypt data)
3. Format Data (forced to type "yes" , so did not only wipe it)
4. Reboot into recovery to proove that I am unencrypted now (not prompted again for the pattern again)
5. Install LineageOS 14.1
6. Install Magisk 15.0
7. Install Google Apps
8. Reboot into system, installing LineageOS, some apps, etc.
The next time I boot into recovery, I get prompted for the pattern so I guess my Data partition is encrypted again.
I tried several variants of install packages, also the "no-enforce-encrypt-no-verify" package (after installing LineageOS), but got no luck so far.
Please could someone tell me what I am doing wrong and what to do to avoid encryption of data again?
Thank you!
fex42
fex42 said:
Hi,
I try to install LineageOS 14.1 + Magisk 15.0 without encryption on Data, but it always is encrypted after installation again.
Here are the steps I take:
1. Install TWRP 3.2.1-0
2. Boot into TWRP recovery (getting prompted to enter pattern so it can decrypt data)
3. Format Data (forced to type "yes" , so did not only wipe it)
4. Reboot into recovery to proove that I am unencrypted now (not prompted again for the pattern again)
5. Install LineageOS 14.1
6. Install Magisk 15.0
7. Install Google Apps
8. Reboot into system, installing LineageOS, some apps, etc.
The next time I boot into recovery, I get prompted for the pattern so I guess my Data partition is encrypted again.
I tried several variants of install packages, also the "no-enforce-encrypt-no-verify" package (after installing LineageOS), but got no luck so far.
Please could someone tell me what I am doing wrong and what to do to avoid encryption of data again?
Thank you!
fex42
Click to expand...
Click to collapse
Use this recovery:
Pendragon2000 said:
Use this recovery:
Click to expand...
Click to collapse
Thank you, but it seems not to be caused by my TWRP version (3.2.1-0). In the meantime I installed LineageOS 15.1 but did format data again just before rebooting and now data stays unencrypted (does not ask me for unlock pattern in TWRP). Even after installing Magisk v15.0 later, is stays unencrypted . But in MagiskManager there's the checkbox set "keep force encryption" - dont know if that does matter? On my Redmi Note 4 this checkbox is not set.
Same problem here with my Redmi K20 Pro. The problem occurred after I reboot my phone to uninstall FDE.AI magisk module. My phone then encrypts itself. Factory reset, format data, repair partition, re-flashing stock ROM doesn't solve the problem. Have you solved it yet?

Stuck in Twrp reboot loop

I recently installed twrp and for my moto g5 then I did format data later on went for reboot system then I found no os installed so I installed a custom Rom later rebooted the system then I got stuck in twrp loop. I went through all the solution but it did not work so please help. Thank you
If you're on stock rom you need to remove dm-verity for it to boot (read faqs on twrp thread!)
For custom rom flash it correctly
Wipe
Advanced wipe
Wipe system data cache
Install
Select rom zip
Select gapps zip
Select root zip (optional)
Wipe cache
Restart
What architecture rom and twrp are you using?

[HELP][SAGIT] how to back from custom to miui.eu

Hi you guys
Can anyone tell me how back from custom rom to miui.eu, how to do that?
I had Resurrection Remix Oreo RR-O-v6.1.0-20180817-sagit-Official.zip and I wanted update to RR-O-v6.2.1-20181017-sagit-Final.zip.
After update I have all issues: can not unlock phone after power on, reboot to system almost everytime.
Newest TWRP twrp-3.2.3-4-arian-sagit make a big mess with my time zone and all next attempts to install any version of twrp take over the same time zone error
I came to the conclusion that I think I will return to miui.eu
And forget how to do that
1. Try:
- Boot into this TWRP
- Wipe system, cache and dalvik cache, art, data
- install xiaomi.eu_multi_MI6_8.10.25_v10-8.0
- reboot to system
Code:
No OS Installed! Are you sure you wish to reboot?
2. Try:
- Boot into this TWRP
- Wipe system, cache and dalvik cache, art, data
- format data - write yes tap ok
- Boot into this TWRP again, copy rom from pc
- install xiaomi.eu_multi_MI6_8.10.25_v10-8.0
- reboot to system
Code:
No OS Installed! Are you sure you wish to reboot?
as a result, I have a clean phone with no OS and recovery twrp-3.2.3-4-arian-sagit
I format data and then wipe all, try that.
that no os msg ur getting, if u can get miui to boot then it doesnt matter. give it a few min after you reboot even if it says there's no OS, mby its worth the try.
_euphonic_ said:
Hi you guys
Can anyone tell me how back from custom rom to miui.eu, how to do that?
I had Resurrection Remix Oreo RR-O-v6.1.0-20180817-sagit-Official.zip and I wanted update to RR-O-v6.2.1-20181017-sagit-Final.zip.
After update I have all issues: can not unlock phone after power on, reboot to system almost everytime.
Newest TWRP twrp-3.2.3-4-arian-sagit make a big mess with my time zone and all next attempts to install any version of twrp take over the same time zone error
I came to the conclusion that I think I will return to miui.eu
And forget how to do that
1. Try:
- Boot into this TWRP
- Wipe system, cache and dalvik cache, art, data
- install xiaomi.eu_multi_MI6_8.10.25_v10-8.0
- reboot to system
2. Try:
- Boot into this TWRP
- Wipe system, cache and dalvik cache, art, data
- format data - write yes tap ok
- Boot into this TWRP again, copy rom from pc
- install xiaomi.eu_multi_MI6_8.10.25_v10-8.0
- reboot to system
as a result, I have a clean phone with no OS and recovery twrp-3.2.3-4-arian-sagit
Click to expand...
Click to collapse
Foa this is the wrong place, use the Question / Help section.
Sad to hear you can't use the final RR build, which works just fine. Also my twrp build inst nuking the time, it isn't working on all new builds.
To go to miui you just need to do the steps from your try 2.

[GSI Question] How does one properly install a GSI?

SM-G960F/DS is bootlooping regardless of what GSI/gapps/kernel/etc is being installed post-PIE update.
I had, at one point, installed an 8.1 GSI long ago before I installed the CSD1 update and managed to get it to boot, but have not been able to get one to boot at all now.
Just looking for some input from anyone else running GSI's or trying to at least.
So, just to clarify, these are the steps I went through from a fresh CSD4 build. (With no success.)
Advanced Wipe
>Selected Dalvik/ART Cache, System, Data, and Cache and wiped.
Install
>Selected GSI (Tried multiple ones, such as Resurrection Remix and Havok's)
Reboot into recovery
Advanced Wipe
>Selected System, then Resized
Install
>Selected Gapps (Tried OpenGapps, phh's GSI gapps and bitgapps)
>Tried installing custom kernels, Magisk, and vendor/firmware files when GSI+gapps didn't work.
Reboot into system
>System will reboot, show the boot screen, restart, show the boot screen again, then reach the boot animation where it will remain.
Regardless of image/gapps/kernel/vendor/firmware, it has resulted in bootloops
Currently (attempting to) pull any log I can get.
I'd appreciate any help I can get here.
Thanks.

Pixel Experience 11 Bootloop

Hi,
i was using LineageOS 17.1(Android 10) on my pixel Xl (32 gb storage)
when android 11 came out, I thought I would switch to pixel experience. So I went to their official website and downloaded the android 11 version of pixel XL
There was an instruction guide provided by the developers on how to install android 11
So I followed that and even after applying update from the adb, there was no issue at all
but when I pressed "Reboot to system" Bootloop is happening
Note: I didn't noticed the official instruction first so i installed twrp to flash the rom just like I flashed LineageOS, but in the advance wipe section, there was only 4 option available
-Dalvik / ART cache
-System
-Data
-Internal Storage
there was no cache option
I formatted the data and wiped all of them and tried to both install and sideload the rom but every time during the installation, an error (code 28) occurs
Then I downloaded the rom again hoping that the previos 1 was corrupted and i saw the instruction guide this time.
So I followed the guide and installed their recovery image, flashed recovery partition and flashed the rom using sideload.
But after rebooting the system, Bootloop keeps occurring
*sorry for any misspell or grammatical mistake*
ROM and Recovery image Downloaded from - https://download.pixelexperience.org/marlin (Android 11, 2021/04/16)
ROM and Recovery image installation guide - https://wiki.pixelexperience.org/devices/marlin/install/
I'm having the same issue. Did you flash the repartition zip?
I ended up reflashing stock rom https://developers.google.com/android/images#marlin
Try doing that and restarting the process
GalaxyWhy said:
I'm having the same issue. Did you flash the repartition zip?
I ended up reflashing stock rom https://developers.google.com/android/images#marlin
Try doing that and restarting the process
Click to expand...
Click to collapse
I actually solved the problem a few moments ago
What i did wrong was, when i sideload the rom rom file with twrp i always cleared the dalvik and cache file
let me make a little guide for you..hope that will help
1. install twrp recovery
2. go to wipe section -> advanced wipe -> wipe all 4(Dalvik/ART cache, System, Data, Internal Storage)
3. do a factory reset and format data
4. go to mount section and check all the boxes (system, data, vendor)
5. sideload the repartition zip according to your storage and device model (mine was pixel xl 32gb)
6. after sideload is done reboot the system..it will reboot into recovery again
7. then again sideload the rom file (don't check the clear cache and dalvik boxes)
8. after that is done, go back to main menu and go to reboot-> switch to slot B-> Reboot into system
Hopefully you're done
Note: don't skip any step regarding how minor it is
and if you wish you can also follow the official instruction: https://wiki.pixelexperience.org/devices/marlin/install/
Let me know if it works for you
Best of luck!

Categories

Resources