Question Orangefox/TWRP can't mount /system and /Data - Redmi Note 10 Pro

I recently installed PixelOS, tried a bunch of different methods to fix my problem but my current install is by using the PixelOS recovery, adb sideload, and choosing the zip on my sd card so no pc involved. I wiped data cache and dalvik, and then flashed the miui firmware file (like 80mb) then flashed PixelOS through the adb sideload -> flash from sd option in PixelOS recovery. Everything worked fine, i booted into pixelos did the setup, works flawlessly. Then I flashed orangefox recovery, by fastboot flash recovery recovery.img and then after booting into OrangeFox, selected the Orangefox.zip from my sd card (you have to do that for a full install). Here is where the problems begin. Orangefox apparently instalelled fine, but then I tried flashing Magisk v25.1, by selecting the Magisk.zip file in orangefox and flashing it. It failed saying it couldn't mount /system. Furthermore if I go to reboot from the orangefox menu, it says no os detected, but if i reboot it just boots to pixelos just fine. Tried TWRP too, same problem, any ideas?

Which version of TWRP you use?

cldkrs said:
Which version of TWRP you use?
Click to expand...
Click to collapse
twrp-3.6.2_11-0-sweet, and also the latest of OrangeFox.

cldkrs said:
Which version of TWRP you use?
Click to expand...
Click to collapse
Newest here:
TWRP Releases - Browse /Sweet at SourceForge.net
sourceforge.net

Laptapper said:
Newest here:
TWRP Releases - Browse /Sweet at SourceForge.net
sourceforge.net
Click to expand...
Click to collapse
Huh, its even able to decrypt the storage. Everything works. Why don't they have this listed on their website? Thanks

Related

Magisk Bootloop on MIUI 11 11.0.1.0 Global Version

Hi friends, every time I try to root the 11.0.1.0 Global, my phone end up in Bootloop (goes to TWRP every time). I tried to flash disable dm verity, but same results.
I'm using TWRP unnoficial (twrp-3.3.1-25-raphael-mauronofrio.img) but tried with the official too, same results.
This time I will try to flash Magisk v18, or older.
I'm using Mi 9T Pro Global Rom.
Clear Cache and Dalvik cache in TWRP
XblackdemonX said:
Clear Cache and Dalvik cache in TWRP
Click to expand...
Click to collapse
Okay, now I'm unrooted, what steps I need to do? TWRP >> Flash Magisk >> Flash DM Verity >> Wipe Cache/Dalvik? Or only Flash Magisk via TWRP and Wipe Caches?
Edit: same results, tried to flash magisk and clear cache and dalvik, bootloop again.
Edit²: tried to do a Factory Reset on TWRP and system booted up normally, Magisk Manager says that I'm rooted, but I can't install any module. Tested AdAway do get root, and all ok.
Edit³: Magisk Manager requested for some "additional files", I pressed to install and he rebooted the phone, now I'm stuck again in TWRP. Tried to clear Cache and Dalvik cache, same results.
RobertPirainoBR said:
Hi friends, every time I try to root the 11.0.1.0 Global, my phone end up in Bootloop (goes to TWRP every time). I tried to flash disable dm verity, but same results.
I'm using TWRP unnoficial (twrp-3.3.1-25-raphael-mauronofrio.img) but tried with the official too, same results.
This time I will try to flash Magisk v18, or older.
I'm using Mi 9T Pro Global Rom.
Click to expand...
Click to collapse
install magisk 19.3
Video install
https://drive.google.com/file/d/16vDfZDWBgtY8_ECB8aRWNed_6mqctY5T/view
 @redmiK20ProIndonesia
RobertPirainoBR said:
Hi friends, every time I try to root the 11.0.1.0 Global, my phone end up in Bootloop (goes to TWRP every time). I tried to flash disable dm verity, but same results.
I'm using TWRP unnoficial (twrp-3.3.1-25-raphael-mauronofrio.img) but tried with the official too, same results.
This time I will try to flash Magisk v18, or older.
I'm using Mi 9T Pro Global Rom.
Click to expand...
Click to collapse
To install magisk on the global version, you must first remove the encryption.
1. return the system to its original state so that it boots, most likely it is flash via MiFlash (or via twrp ROM version for twrp)
2. flash DFE-script, reboot from twrp in twrp ( https://drive.google.com/open?id=1mFVdDlnp32g2AjdKlMq6tZcqK0krP-js )
3. format data-yes, reboot in system
4. check in the settings that encryption is disabled
5. flashing magisk in twrp
kancutluh said:
install magisk 19.3
Video install
https://drive.google.com/file/d/16vDfZDWBgtY8_ECB8aRWNed_6mqctY5T/view
@redmiK20ProIndonesia
Click to expand...
Click to collapse
alex9yust said:
To install magisk on the global version, you must first remove the encryption.
1. return the system to its original state so that it boots, most likely it is flash via MiFlash (or via twrp ROM version for twrp)
2. flash DFE-script, reboot from twrp in twrp ( https://drive.google.com/open?id=1mFVdDlnp32g2AjdKlMq6tZcqK0krP-js )
3. format data-yes, reboot in system
4. check in the settings that encryption is disabled
5. flashing magisk in twrp
Click to expand...
Click to collapse
I will try this now. I can do this with dirty flash? I'm able to boot system, with Magisk v20.1 installed and partially working (if I install the additional content in Magisk Manager will Bootloop again, and I can't install modules).
RobertPirainoBR said:
I will try this now. I can do this with dirty flash? I'm able to boot system, with Magisk v20.1 installed and partially working (if I install the additional content in Magisk Manager will Bootloop again, and I can't install modules).
Click to expand...
Click to collapse
You can flash the magisk-uninstaller 20.1.
and after format data-yes all your data will be gone.
Go to /data/adb/magisk/chromeos find "futility" file. Permission 644 for it.
Go to /data/adb/magisk find "BusyBox" file and permission 664 for it.
Reboot and done.
In future, when you flash any rom on k20 pro. Remember that do it if you flash magisk.
Good luck!
(Solution from 4pda)
shinigami_tsin said:
Go to /data/adb/magisk/chromeos find "futility" file. Permission 644 for it.
Go to /data/adb/magisk find "BusyBox" file and permission 664 for it.
Reboot and done.
In future, when you flash any rom on k20 pro. Remember that do it if you flash magisk.
Good luck!
(Solution from 4pda)
Click to expand...
Click to collapse
Wow this seems to have worked!
shinigami_tsin said:
Go to /data/adb/magisk/chromeos find "futility" file. Permission 644 for it.
Go to /data/adb/magisk find "BusyBox" file and permission 664 for it.
Reboot and done.
In future, when you flash any rom on k20 pro. Remember that do it if you flash magisk.
Good luck!
(Solution from 4pda)
Click to expand...
Click to collapse
This is great. I downloaded magiskhide and had to enable it through terminal then it showed up in the drop down browser for magisk but wasnt in modules list of magisk. None of the modules seem to download and go there. Is it supposed to be like that?
Vanmanman said:
This is great. I downloaded magiskhide and had to enable it through terminal then it showed up in the drop down browser for magisk but wasnt in modules list of magisk. None of the modules seem to download and go there. Is it supposed to be like that?
Click to expand...
Click to collapse
Same here, trying to install modules but don't show up on modules tab.
RobertPirainoBR said:
Same here, trying to install modules but don't show up on modules tab.
Click to expand...
Click to collapse
Yeap!
1. Flash magisk via twrp (suggest pitchblack)
2. Delete 2 files
3. Reboot (→solved bootloop)
4. Open magisk manager and update (if failed, close app and try again and agian) → after auto reboot (after 5 seconds), can solved issue "can not flash modules - of course with all modules flashed, it's showed in list).
RobertPirainoBR said:
Same here, trying to install modules but don't show up on modules tab.
Click to expand...
Click to collapse
Solution is here https://forum.xda-developers.com/mi-9t/help/phone-stuck-bootloop-try-to-install-t4007259
1. I back up my Internal storage to my PC
2. Format Data (In TWRP: Wipe -> Format Data)
3. I reboot back into recovery
4. I connected my device to PC via a cable and copy two files: "Magisk-v20.1.zip" and "Disable_Dm-Verity_ForceEncrypt_10.20.2019.zip" into Internal storage. Then rename "Disable_Dm-Verity_ForceEncrypt_10.20.2019.zip" to "Disable_ForceEncrypt.zip"
4. I flash "Magisk-v20.1.zip", then I reboot back into recovery again.
5. I flash "Disable_ForceEncrypt.zip" . Reboot to system and setting my phone like after flash a new room, and then I installed "MagiskManager-v7.4.0.apk"
It's working for me!
You can download "Disable_Dm-Verity_ForceEncrypt_10.20.2019.zip" here: https://forum.xda-developers.com/and...crypt-t3817389
Vanmanman said:
Solution is here https://forum.xda-developers.com/mi-9t/help/phone-stuck-bootloop-try-to-install-t4007259
1. I back up my Internal storage to my PC
2. Format Data (In TWRP: Wipe -> Format Data)
3. I reboot back into recovery
4. I connected my device to PC via a cable and copy two files: "Magisk-v20.1.zip" and "Disable_Dm-Verity_ForceEncrypt_10.20.2019.zip" into Internal storage. Then rename "Disable_Dm-Verity_ForceEncrypt_10.20.2019.zip" to "Disable_ForceEncrypt.zip"
4. I flash "Magisk-v20.1.zip", then I reboot back into recovery again.
5. I flash "Disable_ForceEncrypt.zip" . Reboot to system and setting my phone like after flash a new room, and then I installed "MagiskManager-v7.4.0.apk"
It's working for me!
You can download "Disable_Dm-Verity_ForceEncrypt_10.20.2019.zip" here: https://forum.xda-developers.com/and...crypt-t3817389
Click to expand...
Click to collapse
doesn't work, tried and stuck on boot loop
Vanmanman said:
Solution is here https://forum.xda-developers.com/mi-9t/help/phone-stuck-bootloop-try-to-install-t4007259
1. I back up my Internal storage to my PC
2. Format Data (In TWRP: Wipe -> Format Data)
3. I reboot back into recovery
4. I connected my device to PC via a cable and copy two files: "Magisk-v20.1.zip" and "Disable_Dm-Verity_ForceEncrypt_10.20.2019.zip" into Internal storage. Then rename "Disable_Dm-Verity_ForceEncrypt_10.20.2019.zip" to "Disable_ForceEncrypt.zip"
4. I flash "Magisk-v20.1.zip", then I reboot back into recovery again.
5. I flash "Disable_ForceEncrypt.zip" . Reboot to system and setting my phone like after flash a new room, and then I installed "MagiskManager-v7.4.0.apk"
It's working for me!
You can download "Disable_Dm-Verity_ForceEncrypt_10.20.2019.zip" here: https://forum.xda-developers.com/and...crypt-t3817389
Click to expand...
Click to collapse
I tried in many ways but did not succeed
Khaledms said:
I tried in many ways but did not succeed
Click to expand...
Click to collapse
Not sure sorry. I ended up waiting for a better version of Magisk to come out. Have you tried Magisk 20.3 on K20/mi96t android 10 miui 11?
Hi guys,
Try to format data in TWRP before the first reboot. Remember, this will clear your data.
It is very easy to get bootloop because of cryptography.
Good luck!

How To Guide how to decrypt xiaomi.eu roms internal storage is now showing in custom recovery

I managed to decrypt Xiaomi.eu rom. my internal storage is now showing in twrp and OrangeFox.
The main problem was that is was not able to run mcrypt.zip because Vendor partition was in Read only mode.
I use xiaomi.eu Stable 12.0.15. (I have not tried on newer releases)
What you need:
OrangeFox R11.1 Beta 2
Magisk V23
SetRW.sh
rmcrypt.zip
Xiaomi EU Rom 12.0.15.0 (or later)
1. Unlock bootloader (I Guess that is already done for most)
2. Flash Orange Fox R11.1 Beta 2 from fastboot
3. format internal Storage from Orange Fox
4. copy Xiaomi EU Rom 12.0.15.0 to internal storage (or sdcard)
5. Flash Xiaomi EU Rom 12.0.15.0 and reboot
6. Boot back to Orange Fox and format Internal Storage again (because it got encrypted)
7. Copy Magisk V23 and flash it but DONT reboot
8. Copy SetRW.sh to sdcard
9 copy rmcrypt.zip to sdcard
10. In orangefox go to mount press the gear image and disabe "Mount system and vendor read-only"
11. Mount then system, system_ext, Product and Vendor (Dont mount Odm!)
12. Open terminal from OrangeFox and type
13. chmod 0755 sdcard/Download/setrw.sh
14. ./sdcard/Download/setrw.sh
15. When the script is done flash rmcrypt.zip (If you get an error that cant mount odm or vendor then check that they are not still mounted
16. Reboot to miui and then reboot back to orangefox and check if your internal storage is decrypted
Good luck
The rmcrypt and SetRW is not my work! Big thank you to the folks over 4pda
eliaztheone said:
I managed to decrypt Xiaomi.eu rom. my internal storage is now showing in twrp and OrangeFox.
The main problem was that is was not able to run mcrypt.zip because Vendor partition was in Read only mode.
I use xiaomi.eu Stable 12.0.15. (I have not tried on newer releases)
What you need:
OrangeFox R11.1 Beta 2
Magisk V23
SetRW.sh
rmcrypt.zip
Xiaomi EU Rom 12.0.15.0 (or later)
1. Unlock bootloader (I Guess that is already done for most)
2. Flash Orange Fox R11.1 Beta 2 from fastboot
3. format internal Storage from Orange Fox
4. copy Xiaomi EU Rom 12.0.15.0 to internal storage (or sdcard)
5. Flash Xiaomi EU Rom 12.0.15.0 and reboot
6. Boot back to Orange Fox and format Internal Storage again (because it got encrypted)
7. Copy Magisk V23 and flash it but DONT reboot
8. Copy SetRW.sh to sdcard
9 copy rmcrypt.zip to sdcard
10. In orangefox go to mount press the gear image and disabe "Mount system and vendor read-only"
11. Mount then system, system_ext, Product and Vendor (Dont mount Odm!)
12. Open terminal from OrangeFox and type
13. chmod 0755 sdcard/Download/setrw.sh
14. ./sdcard/Download/setrw.sh
15. When the script is done flash rmcrypt.zip (If you get an error that cant mount odm or vendor then check that they are not still mounted
16. Reboot to miui and then reboot back to orangefox and check if your internal storage is decrypted
Good luck
The rmcrypt and SetRW is not my work! Big thank you to the folks over 4pda
Click to expand...
Click to collapse
Thanks for sharing @eliaztheone... I have a question, please... SetRW.sh is orange fox? Because the link to Mega is for orange fox... If you would be so kind to share this SetRW.sh it will be fine, please! I was looking for it on 4pda but it was removed...Thank you
eliaztheone said:
I managed to decrypt Xiaomi.eu rom. my internal storage is now showing in twrp and OrangeFox.
The main problem was that is was not able to run mcrypt.zip because Vendor partition was in Read only mode.
I use xiaomi.eu Stable 12.0.15. (I have not tried on newer releases)
What you need:
OrangeFox R11.1 Beta 2
Magisk V23
SetRW.sh
rmcrypt.zip
Xiaomi EU Rom 12.0.15.0 (or later)
1. Unlock bootloader (I Guess that is already done for most)
2. Flash Orange Fox R11.1 Beta 2 from fastboot
3. format internal Storage from Orange Fox
4. copy Xiaomi EU Rom 12.0.15.0 to internal storage (or sdcard)
5. Flash Xiaomi EU Rom 12.0.15.0 and reboot
6. Boot back to Orange Fox and format Internal Storage again (because it got encrypted)
7. Copy Magisk V23 and flash it but DONT reboot
8. Copy SetRW.sh to sdcard
9 copy rmcrypt.zip to sdcard
10. In orangefox go to mount press the gear image and disabe "Mount system and vendor read-only"
11. Mount then system, system_ext, Product and Vendor (Dont mount Odm!)
12. Open terminal from OrangeFox and type
13. chmod 0755 sdcard/Download/setrw.sh
14. ./sdcard/Download/setrw.sh
15. When the script is done flash rmcrypt.zip (If you get an error that cant mount odm or vendor then check that they are not still mounted
16. Reboot to miui and then reboot back to orangefox and check if your internal storage is decrypted
Good luck
The rmcrypt and SetRW is not my work! Big thank you to the folks over 4pda
Click to expand...
Click to collapse
Good work
But I think it's easier to flash dfe and format once with yes .
If any ROM changes flash only DfE without format at last step.
Hellera​
Download 4pda
Laptapper said:
Good work
But I think it's easier to flash dfe and format once with yes .
If any ROM changes flash only DfE without format at last step.
Click to expand...
Click to collapse
Which dfe is working for xiaomi.eu 12.5.9 (based on Android 11)?
MikelFuchs said:
Which dfe is working for xiaomi.eu 12.5.9 (based on Android 11)?
Click to expand...
Click to collapse
Not sure because I'm using OSS but you can try the file attached.
I just installed custom MIUI-MIX 13.0.4 android 12 and followed the above instructions... I succeded to decrypt it in ofox!
Thank you @eliaztheone for sharing this!
anyone successfully restored twrp backup without data decryption and bootloop to twrp?.
jd.21 said:
anyone successfully restored twrp backup without data decryption and bootloop to twrp?.
Click to expand...
Click to collapse
It's not possible in android 12 without decryption. TWRP and OFOX cannot deal with that... yet.

how downgrade sm-a605fn from android 10 to 9

Hello, I have a Samsung Galaxy A6+ with latest fw installed.
(italian version)
A605FNXXU7CUD4
The phone is totally useless after the update to android 10, it takes AGES to perform any action, even open the Camera or open a Message.
Already tried to wipe everything, hard reset, reinstall fw. Still useless.
Since I’d like to downgrade to Android 9 to have back a useful phone, I tried to install the latest Android 9 fw with Odin.
A605FNXXS5BTB1
But it fails, saying SW REV CHECK FAIL : [aboot] Fused 7 > Binary 5
What can I do?
Is there any chance to downgrade this phone?
Thank you
1. Unlock your bootloader.
2. Flash custom recovery for your device.
3. Go to custom recovery (TWRP) and flash any downloaded custom rom (for your device), GSI or save stock firmware as flashable zip with tool like ClassyKitchen.
4. Flash Magisk or RMM-bypass-v3 in TWRP to protect your bootloader from getting locked again.
Backup your personal data at first, of course.
nqnxev said:
1. Unlock your bootloader.
2. Flash custom recovery for your device.
3. Go to custom recovery (TWRP) and flash any downloaded custom rom (for your device), GSI or save stock firmware as flashable zip with tool like ClassyKitchen.
4. Flash Magisk or RMM-bypass-v3 in TWRP to protect your bootloader from getting locked again.
Backup your personal data at first, of course.
Click to expand...
Click to collapse
Almost done, but I can't find any custom rom available for download. Can someone help? Since wwith twrp I cannot install a stock rom. Thanks in advance.
I managed to flash a so called Ari's rom, but I think the phone is now bricked. It is on bootloop on the first screen of Samsung (with phone name and so on) and with SET WARRANTY BIT : KERNEL at top left. I think it is time to trash it or does someone have any hint? Thanks
Ecto1000 said:
I managed to flash a so called Ari's rom, but I think the phone is now bricked. It is on bootloop on the first screen of Samsung (with phone name and so on) and with SET WARRANTY BIT : KERNEL at top left. I think it is time to trash it or does someone have any hint? Thanks
Click to expand...
Click to collapse
I proposed three different options: custom rom, GSI (generic system image) or conversion stock firmware to flashable form. If there's no good custom rom for A6+, then don't worry - you can still try another options. Try playing with Generic System Images:
1. Flash your current stock firmware as usual in Odin.
2. Unlock bootloader and flash TWRP.
3. Go to TWRP.
4. Wipe partitions cache, dalvik, data, system (don't wipe vendor partition - it's needed).
5. Flash GSI image (recommended will be at first phhusson's AOSP (Android 9 or 10)) as "system image". You always need to choose and download "arm32_binder64" variant of img file.
6. Reboot to your new system.
Second option is to convert stock Android 9 firmware into flashable form.
1. Download ClassyKitchen tool.
2. Import downloaded Android 9 stock firmware (for your phone) into it and save it as flashable zip.
3. Go to TWRP.
4. Wipe cache, dalvik, data, system and vendor.
5. Flash your previously done zip with Android 9 as any other flashable zip in TWRP.
6. Flash Magisk or RMM-state-bypass-v3 in TWRP to prevent your bootloader from getting locked again.
7. Reboot.
I went for the second option, in Classykitchen I loaded the stock android 9 rom and selected
BUILD ZIP ROM (for recovery).
Then installed with TWRP following your wipe indications.
Success.
But when I went to install RMM-state-bypass-v3 I got the error impossile to mount /system.
So I rebooted twrp and before anything I manually mounted SYSTEM in twrp in the dedicated MOUNT menu, and I did everything again from wipe to install.
Is this procedure correct?
Success, success also for RMM-state-bypass-v3.
I rebooted but I'm again stuck in the same loop described in my previous reply.
When I selecr REBOOT in twrp, do I have to flag anything? For example System?
Regarding the first option, if I go there:
Releases · phhusson/treble_experimentations
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
exactly which file do I have to download among ASSETS of any release?
Thank you very much
Ecto1000 said:
I went for the second option, in Classykitchen I loaded the stock android 9 rom and selected
BUILD ZIP ROM (for recovery).
Then installed with TWRP following your wipe indications.
Success.
But when I went to install RMM-state-bypass-v3 I got the error impossile to mount /system.
So I rebooted twrp and before anything I manually mounted SYSTEM in twrp in the dedicated MOUNT menu, and I did everything again from wipe to install.
Is this procedure correct?
Click to expand...
Click to collapse
Yes, it's correct. If RMM bypass or Magisk.zip was flashed without any errors in TWRP then everything is okay. Just reboot to system in TWRP after that - there is option to reboot directly to system. First boot always can take a bit longer than next boots.
Ecto1000 said:
exactly which file do I have to download among ASSETS of any release
Click to expand...
Click to collapse
You always need to get any "arm32_binder64" (always AB) image. Gapps or vanilla is just your choice. Just get Android 9 or 10 image and flash it as "system image" (but wipe at first partitions specified in my previous post - don't wipe only Vendor partition, because it contains important things). Android 12 GSI still aren't stable. Android 11 - maybe will work properly. Android 9 and 10 should work fine. There is even short article about GSI on Galaxy A6+ with some fixes for that device attached:
Samsung Galaxy A6 Plus (2018)
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
You can try of course other GSI's as well:
Generic System Image (GSI) list
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Thank you very much, appreciated.
But something weird happens: I install the ROM with success. If then I try to install Magisk (or Rmm) it fails with error 7.
And twrp says No Os installed if I reboot.
But if I try to install Magisk after rebooting into twrp after installing the ROM it goes without errors.
But anyway I have the issues of No Os installed.
Ecto1000 said:
Thank you very much, appreciated.
But something weird happens: I install the ROM with success. If then I try to install Magisk (or Rmm) it fails with error 7.
And twrp says No Os installed if I reboot.
But if I try to install Magisk after rebooting into twrp after installing the ROM it goes without errors.
But anyway I have the issues of No Os installed.
Click to expand...
Click to collapse
You need to reboot to recovery after flashing new system, because just after flashing TWRP doesn't recognize it - that is why you see that "no OS installed". Just reboot your phone to recovery again (you have such option in TWRP). In case of GSI (except maybe CAOS, LineageOS Q/R mod) Magisk or RMM bypass is not needed.
Btw, in case of any problems with hardware support on GSI flash also that patch in TWRP (it may be needed to mount "Vendor" partition in TWRP before flashing that fixes):
Fixes.zip
drive.google.com
Thank you again for your help.
I already rebooted to recovery and twrp keeps saying NO OS.
I'm using twrp 3.5.2_10-0.
I'm starting to suspect that this behaviour is due to the fact that this version of twrp could be too much new and unstable for my phone.
So I'd like to install an older version of twrp with Odin, as explained here:
TWRP for SM-A605FN Samsung Galaxy A6+
How to Install TWRP 3.2.3-1 on Galaxy A6+ SM-A605FN Android 8.0.0 Oreo. Once you installed TWRP recovery on your Samsung Galaxy A6+ SM-A605FN, you can customize it, Rooting or installing custom ROM
www.recovery-mode.com
But I cannot manage to go into download mode again, even from REBOOT menu of twrp it doesn't work, I keep staying in the loop explained before.
Moreover your first option of GSI need me to go into download mode to install the latest stock ROM with Odin.
I just manage to get into the attached screen.
Any idea?
Thank you again
It's not possible to ignore that message and just flash latest stock firmware via Odin? Odin refuses flashing latest stock firmware?
Other builds of TWRP for your devices you'll find here:
Releases · roynatech2544/TWRP_device_samsung_a6plte
Contribute to roynatech2544/TWRP_device_samsung_a6plte development by creating an account on GitHub.
github.com
But don't use TWRP older than 3.4.0, because it doesn't have support for "Vendor" partition.
Yes, I managed to ignore that screen and go in download mode again.
I tried to follow your first option since the second one was not successful.
Installed latest stock and then twrp 3.5.0-1.
Wipe as you explained, I flash the Gsi
system-quack-arm32_binder64-ab-gapps.img
The flash is very fast, but no errors, is it normal?
After that I reboot to recovery in order to flash
Disable_DM-Verity_ForceEncrypt_11.02.2020
it goes but just at the end it gives the error
failed to mount /odm no such file or directory.
And if I reboot to system the phone loops as always.
I'm losing all hope...
Ecto1000 said:
system-quack-arm32_binder64-ab-gapps.img
Click to expand...
Click to collapse
It's okay, but it's possible that you'll always need "vndklite" images for working camera.
Ecto1000 said:
The flash is very fast, but no errors, is it normal?
Click to expand...
Click to collapse
If you flashed it as "System Image" and it was successful then yes - should be fine. DM-Verity isn't needed for GSI - only RMM bypass v3 is sometimes needed (on CAOS, Lineage Q/R mod and maybe in case of some other images). On usual A600FN RMM bypass is not needed on phhusson AOSP. Just format "Data" partition (format, not only wipe) - it will remove encryption for you.
Procedure of flashing should be like that:
1. Wipe: cache, dalvik, data, system ("Vendor" partition leave untouched, because it's important for GSI - that is why you needed to flash stock firmware at first, because it adds vendor files for your phone, but it's needed only once, just don't wipe "Vendor").
2. Flash your GSI as "System Image".
3. Reboot phone (to recovery again).
4. Mount your "data", "vendor" and "system" partition.
5. Flash your zips: RMM bypass v3 (optionally Magisk).
5. Reboot to your new system now.
In case of any hardware support problems, reboot to TWRP again, mount "Vendor" partition and flash that fixes:
Fixes.zip
drive.google.com
Try to boot Android 10 or Android 9 images. If it will succeed, then you can try flashing Android 11 images and check what works, and what not. According to that article
nqnxev said:
It's okay, but it's possible that you'll always need "vndklite" images for working camera.
Click to expand...
Click to collapse
I don't know what are those images. Can you explain better?
When I proceed with RMM bypass V3 I see the errors in the attached image. It seems like there is a problem in writing to /system.
Can this be related to the hardware support problems you mentioned?
I tried with different versions of Twrp already and with Havoc Os too.
Should I try with flashing a different ROM ?
Thanks again
Ecto1000 said:
I don't know what are those images. Can you explain better?
Click to expand...
Click to collapse
Just look at filename of system images. But as I see, it's apparently important on Android 11 and newer. For now, try to boot Android 10 or 9. Let's try with that image:
https://github.com/phhusson/treble_experimentations/releases/download/v222/system-quack-arm32_binder64-ab-vanilla.img.xz
1. Decompress that image.
2. Copy to SD card or to internal storage.
3. Wipe cache, dalvik, data, system.
4. Format data partition (it's needed only once).
5. Flash downloaded and extracted file as "System Image".
6. Reboot phone to recovery (again).
7. Select in TWRP: Mount -> system, data, vendor.
8. Flash RMM bypass v3 (or Magisk).
9. Reboot now to system.
10. In case of some things not working, go back to TWRP and mount vendor partition (Mount -> tick "Vendor" -> go back to flashing zips) and flash that:
Fixes.zip
drive.google.com
11. Reboot to system again and check if now everything works properly.
Ecto1000 said:
When I proceed with RMM bypass V3 I see the errors in the attached image. It seems like there is a problem in writing to /system.
Click to expand...
Click to collapse
Yes, because you need to mount that partitions in TWRP:
Mount -> tick "system", "vendor" and "data" - and now flash whatever you want.
The only "receipt" which isn't giving installation errors is following your last instructions but avoiding to reboot to recovery after ROM flash (used Vanilla), and using Magisk v22 with unticked the line called "skip digest check" . See attached images.
Anyway, still no success to get into android.
Also tried fixes.zip.
Maybe I have to try with sideload ?
Ecto1000 said:
The only "receipt" which isn't giving installation errors is following your last instructions but avoiding to reboot to recovery after ROM flash (used Vanilla), and using Magisk v22 with unticked the line called "skip digest check" . See attached images.
Anyway, still no success to get into android.
Also tried fixes.zip.
Click to expand...
Click to collapse
Everything seems to be okay in your photos. What happens when you press "Reboot System"?
nqnxev said:
Everything seems to be okay in your photos. What happens when you press "Reboot System"?
Click to expand...
Click to collapse
The phone goes into loop with the attached screen and black screen alternatively.
On the top you can see SET WARRANTY BIT: KERNEL, it should be normal right?
Do I have to set something inside MOUNT of twrp before rebooting to system?
Ecto1000 said:
The phone goes into loop with the attached screen and black screen alternatively.
On the top you can see SET WARRANTY BIT: KERNEL, it should be normal right?
Do I have to set something inside MOUNT of twrp before rebooting to system?
Click to expand...
Click to collapse
I've never had such problem, but according to that thread it seems that it's a fault of modified kernel (so don't flash Magisk with GSI, because it patches kernel).
Try to flash stock firmware, unlock bootloader, flash TWRP, format "data" partition, wipe partitions (cache, dalvik, system, data) and flash GSI image as "system image". And reboot to system.
Don't flash RMM and Magisk for now - and check if system will run properly.

LineageOS 18 and 19

Hey!
I unlocked the phone (LLD-L31) with PotatoNV and installed TWRP 3.2.1-0 (from this page: https://ministryofsolutions.com/2020/03/honor-9-lite-emui9-1-twrp-and-root-lld-l31-l21-l22-al10.html), so far so good.
Now I found LOS 18 and 19 (testing) for this device: https://sourceforge.net/projects/andyyan-gsi/
But the sideload doesn't work.
Error: insufficient permissions for device.
I can see the phone via 'adb devices' (in the main menu of the TWRP)
BUT if I start adb sideload in TWRP I get no permissions.
tried sudo, but with the same result.
best regards
lay
#Edit1:
I restarted the adb server with as sudo
adb kill-server
sudo adb start-server
Now it shows Total xfer: 0.00x and breaks.
I think it has something to do with the img.xz files.
I just deleted the xz and tried to sideload it as img.
#Edit2:
ok, the ISOs are compressed.
'unxz blabla.iso.xz'
But the same result: Total xfer: 0.00x and breaks
Simply flash image in fastboot
https://forum.xda-developers.com/t/losq-lir-lineageos-17-1-18-1-unofficial-gsi.4219291/
-Alf- said:
Simply flash image in fastboot
https://forum.xda-dlinelineage-19.1-20220410-UNOFFICIAL-arm64_bvS.imgage-19.1-20220410-UNOFFICIAL-arm64_bvS.imgeveloplineage-19.1-20220410-UNOFFICIAL-arm64_bvS.imgers.com/t/losq-lir-lineageos-17-1-18-1-unofficial-gsi.4219291/
Click to expand...
Click to collapse
THANKS!
so it works via 'sudo fastboot flash system blabla.img'
So... LineageOG 19 (testing) gets 'invalid sparce file format at header magic' while flashing, but installes then everything, after that, it's hanging.
After that I tried this step from the link above:
"4. Run command fastboot reboot, unplug your phone, when appears on screen yellow warning, press and hold for 3 sec Volume Up . In eRecovery select 'Wipe data/factory reset'.Reboot ."
Now it does not start the system, but the TWRP (without touchscreen), So i can not use it. Even if I flash LineageOS 18. If I now flash TWRP again and restart, I get to eRecovery and have no TWRP. If I reboot then in eRecovery, I get to LineageOS 18. For my understanding.... VERY strange!
The LineageOS boots and boots and boooooots now...
#Edit1:
tried now the ROMs from your link.
18.1 shows 'invalid sparce file format at header magic' and fails on install.
17.1 without GAPPS succeeds the flashing, but did not reboot in eRecovery, but the TWRP. There I did the same (wipe data, cache, davlik / factory reset) with the error 'unable to wipe cache'.
and it also does NOT boot the system, but TWRP without touchscreen
#Edit2:
I think the phone is dead
maby because of the TWRP wiping the data
The strange thing is, I can still write to the system partition and flash another LineageOS. But it never reboots to system, just to TWRP (in TWRP I can not mount 'system')
#Edit3:
I can not even reboot to fastboot. It always boots the TWRP
#Edit4:
formated (repaired) system in ext4 again
Now it can be mounted, but I can not get to fastboot-mode and get no device via adb.
I can just boot to eRecovery now. So I try the only one thing, that is there: recovery via wifi. It's downloading now the EMUI 9.1. So we'll see.
It's just crazy!
layalala said:
Now it does not start the system, but the TWRP (without touchscreen), So i can not use it. Even if I flash LineageOS 18. If I now flash TWRP again and restart, I get to eRecovery and have no TWRP
Click to expand...
Click to collapse
Your problem is that you don't read carefully.
Why do you have TWRP installed???
layalala said:
It's just crazy!
Click to expand...
Click to collapse
Indeed!
the problem was, that I first followed enother tutorials and then swiched to yours
so the TWRP was already there.
The point is, I got it!!!
After downloading new EMUI via wifi in eRecovery, I got everything back. Meanwhile my VM in the QubesOS did not want to accept the USB-Controller I used for adb-fastboot. So i switched to Windows and followed your tutorial. BUT with the ROMs from Andy Yan (https://4pda.to/forum/index.php?showtopic=896420&st=10780#entry100487186). And everything works! Even the testing LOS 19! Android 12 on that old phone, yeah! but it works rather good.
Your ROM (LOS 18.1) did not work for me. It showed error in header while flashing and broke the process. The ROM from Andy Yan (LOS 19) also showed an error in header while flashing, but the process worked after that.
now I'll try to root it and hope that this will work well
layalala said:
now I'll try to root it and hope that this will work well
Click to expand...
Click to collapse
did rooting succeed?
epicmann24 said:
did rooting succeed?
Click to expand...
Click to collapse
yes!
layalala said:
yes!
Click to expand...
Click to collapse
may i ask which gsi image and which magisk zip did you flash? as for me rooting does not work.
epicmann24 said:
which magisk zip did you flash
Click to expand...
Click to collapse
Running EMUI 9.1 you have to flash magisk_patched recovery_ramdisk (on EMUI 9.1 ramdisk is included in the recovery_ramdisk).
Also you can follow this guide:
https://forum.xda-developers.com/t/losq-lir-lineageos-17-1-18-1-unofficial-gsi.4219291/post-84305543
You can use files linked in this post, recovery_ramdisk and erecovery are the same for ANE and LLD devices. Use TWRP linked on this post (important!).
Edit: you can get root rights also via SuperUser:
1. In TWRP flash Zip.file
2. Install Phh Superuser apk .(if needed)
https://mega.nz/file/A4sWFYxZ#9KMkvKRgzU7oCvgThPFQOpv_wKAnLZcZVWcJ03HDyNE
layalala said:
the problem was, that I first followed enother tutorials and then swiched to yours
so the TWRP was already there.
Click to expand...
Click to collapse
Hello,
Everything worked; even to the Lineage 19 rom, but, I couldn't install OpenGapps 12l (error 70).
I tried to replace the system "LOSQ - LineageOS 17.1-[10]-unofficial-GSI" via TWRP (system install) and I had the same problem, in addition to not being able to boot by eRecovery to download EMUI by Wi-Fi.
also, on TWRP, I don't have the option to mount "system"
How did you do?
[2022/07/06 - EDIT]
--> eRecovery done
--> Download in progress
--> EMUI 9 Install done
--> go test lineage 18.1 first
Rahinsoo said:
I don't have the option to mount "system"
Click to expand...
Click to collapse
This option is only on GSI vndk-lite version
Keep in mind, that on the Honor 9 lite, in the latest firmwares, the system partition is only 2312 Mb, if I'm not mistaken (on ANE-LX1, the system is 3270 Mb). So those GSI ROMs that work on ANE (Losq, LiR, PE+ etc.) probably won't work on LLD.
https://forum.xda-developers.com/t/kernel-emui-9-p20-lite-phenix-kernel.4241503/post-87085313
-Alf- said:
This option is only on GSI vndk-lite version
Keep in mind, that on the Honor 9 lite, in the latest firmwares, the system partition is only 2312 Mb, if I'm not mistaken (on ANE-LX1, the system is 3270 Mb). So those GSI ROMs that work on ANE (Losq, LiR, PE+ etc.) probably won't work on LLD.
https://forum.xda-developers.com/t/kernel-emui-9-p20-lite-phenix-kernel.4241503/post-87085313
Click to expand...
Click to collapse
That's right, I managed to install open gapps pico in some instance, especially on the bvs_vndklite versions.
What is the difference between bvs version and bvs_vndklite version?
Rahinsoo said:
That's right, I managed to install open gapps pico in some instance, especially on the bvs_vndklite versions.
What is the difference between bvs version and bvs_vndklite version?
Click to expand...
Click to collapse
Very simplistically written:
generally, vndk-lite build are designed for vndk-lite vendors, vndk for vndk vendors.
But on Phhusson AOSP based GSI ROMs there is one change from v300 version (or so): A/B non-lite builds are read-only (due to new phh patches),
A/B vndk-lite builds are in r/w mode, i.e. allow mount system and system modifications.
-Alf- said:
Very simplistically written:
generally, vndk-lite build are designed for vndk-lite vendors, vndk for vndk vendors.
But on Phhusson AOSP based GSI ROMs there is one change from v300 version (or so): A/B non-lite builds are read-only (due to new phh patches),
A/B vndk-lite builds are in r/w mode, i.e. allow mount system and system modifications.
Click to expand...
Click to collapse
Can I use this version without particular problems on my honor 9 lite?
Rahinsoo said:
Can I use this version without particular problems on my honor 9 lite?
Click to expand...
Click to collapse
Read carefully.
Oh, I'm sorry, I misunderstood ^^'
my question was for the vndklite version because I'm having a hard time figuring out the difference.
Rahinsoo said:
my question was for the vndklite version
Click to expand...
Click to collapse
I answered you, didn't I?
Currently I tested several roms. Only certain Andy Yan roms in the version without Gapps work correctly and allow the installation of Gapps.
OK test:
- lineage-18.1-20220616-UNOFFICIAL-arm64_bvS-vndklite
+ Open Gapps pico OK
- lineage-18.1-20220616-UNOFFICIAL-arm64_bvS-vndklite.img --> OK
+ Gaaps --> pico OK ---> play store does not start --> cannot factory reformat (automatic boot on TWRP)
- lineage-19.1-20220613-UNOFFICIAL-arm64_bgS-vndklite.img --> OK
+ Gaaps --> pico OK --> play store does not start --> cannot factory reformat (automatic boot on TWRP)
- lir-v316-220325-arm64-bgZ-lite.img --> OK
+Gaaps --> pico OK --> play store OK --> factory reformat impossible (automatic boot on TWRP)
What is the procedure for factory reformatting to work normally without booting to TWRP?
Rahinsoo said:
Currently I tested several roms. Only certain Andy Yan roms in the version without Gapps work correctly and allow the installation of Gapps.
OK test:
- lineage-18.1-20220616-UNOFFICIAL-arm64_bvS-vndklite
+ Open Gapps pico OK
- lineage-18.1-20220616-UNOFFICIAL-arm64_bvS-vndklite.img --> OK
+ Gaaps --> pico OK ---> play store does not start --> cannot factory reformat (automatic boot on TWRP)
- lineage-19.1-20220613-UNOFFICIAL-arm64_bgS-vndklite.img --> OK
+ Gaaps --> pico OK --> play store does not start --> cannot factory reformat (automatic boot on TWRP)
- lir-v316-220325-arm64-bgZ-lite.img --> OK
+Gaaps --> pico OK --> play store OK --> factory reformat impossible (automatic boot on TWRP)
What is the procedure for factory reformatting to work normally without booting to TWRP?
Click to expand...
Click to collapse
Why do you have TWRP there? You don't need it to install GSI. And if you have TWRP installed instead of Recovery, then it should be clear...

Question How do I install Magisk in Crdroid?

I installed Crdroid using TWRP. But Crdroid wiped of TWRP and install some custom version of crdroid recovery. But there's no option to flash zip file. So, how to I install Magisk using Crdroid?
NOTE: I tried reinstalling TWRP and flash Magisk zip. But I got mount error.
I just install Magisk with patched boot.img using PC. it's working.
Um you could actually have booted in the crdroid recovery then took a usb pendrive formatted it as fat32 and place the magisk.zip in it then connect it to your device via otg. Then selected apply update then choose usb storage and clicked on magisk.zip . Reboot and enjoy.
pulsar said:
I installed Crdroid using TWRP. But Crdroid wiped of TWRP and install some custom version of crdroid recovery. But there's no option to flash zip file. So, how to I install Magisk using Crdroid?
NOTE: I tried reinstalling TWRP and flash Magisk zip. But I got mount error.
Click to expand...
Click to collapse
For those stumbling over the same problem. You can use "apply update" in crdroid recovery and choose magisk.zip from sdcard to install. Did it this way after latest update (January build). No issues.

Categories

Resources