How you did got lineageos recovery flashed?Hello, I recently flashed this ROM (with SHRP) without gapps, and in the setup process some "Update LineageOS" option was checked. I didn't know what it did, so I left it checked.
Then, I wanted to flash gapps and found my recovery got replaced by Lineage OS Recovery. Now when trying to enter recovery a series of messages appear:
`E: inotify_add_watch failed: No such file or directory`
`E: [libfs_mgr]Skipping mounting '/dev/block/bootdevice/by-name/cache'`
`E: [libfs_mgr]Failed to open '/dev/block/bootdevice/by-name/cache' No such file or directory`
and so on. Nothing can be mounted, nothing can be flashed.
Is this expected?
If you see, flashing zip have recovery.img image but will didn't got replace by default because flashing script is don't have any command to flash recovery.
Code:
assert(getprop("ro.product.device") == "j6primelte" || getprop("ro.build.product") == "j6primelte" || abort("E3004: This package is for device: j6primelte; this device is " + getprop("ro.product.device") + "."););
ui_print("Target: samsung/j6primeltedd/j6primelte:9/PPR1.180610.011/J610FXXU3BSI1:user/release-keys");
package_extract_dir("install", "/tmp/install");
set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
run_program("/tmp/install/bin/backuptool.sh", "backup", "/dev/block/platform/soc/7824900.sdhci/by-name/system", "ext4");
ui_print("Patching system image unconditionally...");
show_progress(0.900000, 0);
block_image_update("/dev/block/platform/soc/7824900.sdhci/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
show_progress(0.020000, 10);
run_program("/tmp/install/bin/backuptool.sh", "restore", "/dev/block/platform/soc/7824900.sdhci/by-name/system", "ext4");
package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");
show_progress(0.100000, 10);
set_progress(1.000000);
No any command use recovery.img, then you maybe just check a update lineageos recovery while setup wizard or flash with yourself....
OKAY THANKS BUT HOW I CAN FIX THIS PROBLEM?
1.If system can booted normally or adb is working
Code:
adb reboot download
2.if system cannot been booted or adb is not working.
- try force shutdown by vol down + power button (if loop in recovery)
- sometimes you maybe got lucky that maybe boot to odin mode if system got catch cannot been booted.
- LAST WAY: IF YOU CANNOT DO EVERYTHING, IF YOU ARE ENGINEER OR KNOW ABOUT THIS, JUST GO TO EDL MODE BY TEST POINT AND FLASH STOCK ROM AGAIN MEAN YOU NEED OEM UNLOCK, FLASH TWRP, RMM FIXING AGAIN!