the snake are in the front of you, the tutorial are also there
I followed this method to install a custom recovery method and all worked well, until one day I installed a Magisk module (Detach) and the phone went haywire. It went into boot-loop.
In TWRP, it could not mount /system read-write, showing /system is not in proc/mount. TWRP shows 0 mb /system. partition size. Wiping /system /data and /cache fails with I/O error or something like that. My first guess was that TWRP erred, so I pushed different TWRP images to /tmp with adb (because /sdcard is read-only), and installed them over recovery partition. All show no error during flashing, but after rebooting my recovery did not change.
I did further check, and I found that su binaries are missing, but I can go to adb shell as root (whoami returns root). Doing adb remount does not actually mount /system read-write although it returns as successful.
So I returned to Odin, and flashed combination, to no avail. Odin could not complete the operation with (Write) fail. I flashed 4 file firmware to no avail as well. Tried with different cables, with same result.
It is a nice paperweight now. But I am wondering if the phone can still be brought to life without using direct flashing methods like UFI/ISP. Thank you in advance for any suggestion or direction you all can give.
Well, are you sure you are flashing the correct firmware? Hopefully you're not flashing anything with a lower bootloader version perhaps. What errors are you getting on your phone when flashing with Odin that Odin fails?
Yes, I am flashing correct firmware (i.e., the one that the phone was running before it stopped working correctly,G532GDXU1ASA5_XID). The log:
<ID:0/011> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> AP_G532GDXU1ASA5_CL15222057_QB21594701_REV00_user_low_ship_MULTI_CERT.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> CP_G532GDXU1ARC3_CL13269178_QB17586474_REV00_user_low_ship_MULTI_CERT.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> CSC_OLE_G532GOLE1ASA5_CL15222057_QB21594701_REV00_user_low_ship_MULTI_CERT.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> BL_G532GDXU1ASA5_CL15222057_QB21594701_REV00_user_low_ship_MULTI_CERT.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/011> Odin v.3 engine (ID:11)..
<ID:0/011> File analysis..
<ID:0/011> SetupConnection..
<ID:0/011> Initialzation..
<ID:0/011> Set PIT file..
<ID:0/011> DO NOT TURN OFF TARGET!!
<ID:0/011> Get PIT for mapping..
<ID:0/011> Firmware update start..
<ID:0/011> preloader.img
<ID:0/011> NAND Write Start!!
<ID:0/011> lk.bin
<ID:0/011> FAIL!
<OSM> All threads completed. (succeed 0 / failed 1)
Odin logs don't necessarily give me useful information. Are there any red messages popping up on your phone?
I know it's off topic, but i'm working on lineageos for g532g, f, m and mt. Wait and see if a lineageos unofficial thread appears here eventually.can anyone here make an custom rom based on touchwiz or lineage os ?
OK you need to flash the boot patcher to disable encryption. This is the only way you can make a data backup or restore.Ok so every time I boot in to TWRP, I am going to have to flash the "no-verity-no-encrypt_ashyx" file? Or is it every time the phone reboots, I am going to have to flash this file?
Because so far I've booted into recovery twice and both times I've had this message (the one that asks if I should keep read only or allow modifications to system)?
Also, backup was a success after the flashing of the no-verity file but I failed to make a successful restore
I'm uploading the recovery to mediafire since it's about 2 MB long and I didn't want you to miss any detail.
Recovery Log
Seeing as there has been nearly 200 downloads since posting and only 2 yes 2 people have bothered clicking the Thanks button in the OP with no reports of any issues, I have changed the status to stable for your benefit.