Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen after remove chroot #21

Closed
binhvo7794 opened this issue Feb 16, 2023 · 1 comment
Closed

Black screen after remove chroot #21

binhvo7794 opened this issue Feb 16, 2023 · 1 comment

Comments

@binhvo7794
Copy link

When i remove Ubuntu chroot (using lhroot command), my phone black screen, need to power off use vol up + power and restart again, it look like bricked, you make me so scariest!

@FerryAr
Copy link
Owner

FerryAr commented Feb 16, 2023

if you uninstall via lhroot, you must have seen this message

lhroot/system/bin/lhroot

Lines 429 to 440 in 5c916bc

if [ $installed ]; then
killlinux
echo "If dev is not successfully unmounted, please reboot your device or your device will be freezed."
sleep 1
echo "I give you 15 seconds to reboot your device if dev is not successfully unmounted."
sleep 1
echo "After reboot, you can rerun this script or remove chroot yourself with 'rm -rf /data/<chroot folder>' command"
sleep 15
rm -rf $lmount
else
echo "No chroot installed"
fi

If the killlinux command is logging something like this:

umount: can't unmount /dev resource busy

I am telling you to reboot your phone to ensure that all mountpoint is already unmounted. I already give you 15 seconds!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants