[MOD] Fix Boot-loop on Redmi 5 Plus (vince) - Xiaomi Redmi Note 5 / 5 Plus Themes, Apps, and Mod

Hi Every User! I hope everything will be moving fine.
This thread is about How to fix every boot-loop caused after/due to;
Flashing Magisk.zip (rooting the device)
Installing the magisk modules
Installing MIUI Mods
Installing MIUI updates via TWRP
Installing MIUI Based custom roms
and every bloody reason of boot-loop
Requirements:
Unlocked boot-loader and custom recovery
Anti Boot-loop.zip
Procedure to Cure:
Download the anti boot-loop.zip (link is present in video's description)
Flash the zip and reboot to system!
Link:
https://drive.google.com/file/d/1zXw9ECFTDuxL9PsSvnZp_kvblSaX5JQC/view
Credits:
rashidmalyk​

Does your anti boot-loop.Zip work for redmi note 5 (or all other Mi phone) too?

Stuck on a bootloop after rom installation.
I've been stuck on a bootloop after I flashed a Rom using orangefox recovery. I accidentally lost all my data while wiping cache so I can even test if my phone is working with stock rom, Your Antibootloop didn't work either. If you have any other tactic I can try, please tell me.
Currently downloading your 9.0 based MIUI Rom. Let's see if its just a broken Rom File. I will post any updates on my part. Meanwhile, if you can help me in any way. Please do.

TeeTipu said:
I've been stuck on a bootloop after I flashed a Rom using orangefox recovery. I accidentally lost all my data while wiping cache so I can even test if my phone is working with stock rom, Your Antibootloop didn't work either. If you have any other tactic I can try, please tell me.
Currently downloading your 9.0 based MIUI Rom. Let's see if its just a broken Rom File. I will post any updates on my part. Meanwhile, if you can help me in any way. Please do.
Click to expand...
Click to collapse
I'm facing same problem too. I'm trying to flash a custom ROM but every time when I flash custom ROM and boot up device it's reboot randomly again and again.
But when I flash again MiUi ROM it works fine.
And I've also tried after flashing fastboot. But every time I got same result.
If you have any solution, Plz let me know

TeeTipu said:
I've been stuck on a bootloop after I flashed a Rom using orangefox recovery. I accidentally lost all my data while wiping cache so I can even test if my phone is working with stock rom, Your Antibootloop didn't work either. If you have any other tactic I can try, please tell me.
Currently downloading your 9.0 based MIUI Rom. Let's see if its just a broken Rom File. I will post any updates on my part. Meanwhile, if you can help me in any way. Please do.
Click to expand...
Click to collapse
Mine problem fixed. But I don't know how. I downloaded 5 custom rom and kernel policy patcher.zip..
And then I was flashing one rom with kernel policy patcher.zip. in first flash I set to kernel enforcing then reboot.
If this not fix my problem. Then I again flash custom rom and this time set kernel permissive.
After 4-5 attempt it was fixed.

Помогите открыть. P7d
---------- Post added at 12:37 PM ---------- Previous post was at 12:27 PM ----------
:good:

Niamotullah said:
Mine problem fixed. But I don't know how. I downloaded 5 custom rom and kernel policy patcher.zip..
And then I was flashing one rom with kernel policy patcher.zip. in first flash I set to kernel enforcing then reboot.
If this not fix my problem. Then I again flash custom rom and this time set kernel permissive.
After 4-5 attempt it was fixed.
Click to expand...
Click to collapse
does the kernel policy patcher works in recovery because i cannot get past the setup screen in any custom rom, and if it does where can i find it ??

Uchiha9911 said:
does the kernel policy patcher works in recovery because i cannot get past the setup screen in any custom rom, and if it does where can i find it ??
Click to expand...
Click to collapse
Yes, kernel policy patcher works for me. If it's not working for you then try permissive.zip.. I forgot to say that I also tried with flashing backdated firmware nd latest firmware..
Here's 2 link. U can use any of them or try both.
https://github.com/evdenis/selinux_permissive
https://androidfilehost.com/?fid=23991606952602503

Hello dears!
How should I install this package?

Related

[SOLVED] SGH-i317 Custom Rom Installation (No Rom Works)

Hi,
I have tried to install many custom roms but all get stuck on their own boot logos
eg
*Resurrection remix 5.6.5 marshmallow was stuck on its rr logo ( Tried installation with twrp 3.0, 2.4. 2.6 but still same thing)
*Cyanide 5.1 also gets stuck on its boot logo
Phone gets passes note 2 thing but gets stuck on respective roms logos i install
# Yes i Rooted phone before installation
# TWRP 3.0 installed
# Did clean installs (Formatted EVERYTHING and installed)(Read somewhere twrp cant format stock stuff properly, i dont know) Should i try different recovery? (Please suggest best to install RR Marshmallow)
# Presently I m on stock 4.4.2
# tried this too >> custom rom zip install >> SU Install >> Gapps >>restart (Did without SU install too but doesnt work that way too)
I got it SOLVED finally
HOW?
Yup sure i ll tell how
I followed the following steps
1. Flash stock rom ( I mean stock rom by odin, Not factory reset or anything (as that didnt work) and my baseband was also lost (showed 'Unknown'))
2. Didnt add anything to it (gmail account or any settings etc)
3. Booted it completely once again ( restarted after first boot)
4. got to Download mode
5. Rooted it using cf auto root ( for sgh-i317m as i m using same phone)
6. restarted
7. got to Download mode again
8. Flashed twrp 2.8.7.0 from Odin
9. restarted again
10. got to Recovery
11. Flashed Resurrection Marshmallow (I think 5.6.5)
12. Flashed SU manually after that
13. Flashed OpenGapps Mini 6.0
14. Wiped Dalvikcache / Cache
15. Reboot
16. Wait for about FIVE Mins and
VOILA....
Enjoying new Marshmallow
Hope this helps someone who is also stuck in my situation.
Thanks for all your help
are you sure that should work? you have i317 and as far as I know it differs from N7100 and N7105
I too am experiencing the same issue, I have an at&t SGH-i317
I tried latest TWRP as well as CWM and Philz recovery
I tried like 4 different ROM's some based off stock and some based of Cyanogen mods.
I even wiped cache and davlik cache after ROM install as suggested by some of the threads, I actually tried every combination I could think of and all ROM's get stuck on the boot logo splash screen.
Is there something I am missing or doing wrong, this is certainly the the first phone I tried this on.
yaro666 said:
are you sure that should work? you have i317 and as far as I know it differs from N7100 and N7105
Click to expand...
Click to collapse
I m not sure about it. Do they actually differ ? i317 and n7105 (My thoughts they are same, Actually ALL Canadian versions of note 2 are same)
xtacydima said:
I too am experiencing the same issue, I have an at&t SGH-i317
I tried latest TWRP as well as CWM and Philz recovery
I tried like 4 different ROM's some based off stock and some based of Cyanogen mods.
I even wiped cache and davlik cache after ROM install as suggested by some of the threads, I actually tried every combination I could think of and all ROM's get stuck on the boot logo splash screen.
Is there something I am missing or doing wrong, this is certainly the the first phone I tried this on.
Click to expand...
Click to collapse
Can this be because of stock kernel? Because i m still on stock kernel
And thats the only thing i didnt change, despite all other random changes in steps to follow to install custom rom.
First and foremost TWRP 3.0 might be your problem, Its buggy and doesnt work right some people couldnt install it and all others have had issues with flashing roms, I would downgrade twrp to 2.8.5 if I were you.
the only other thing I think you already said you did but when you wipe go to advanced wipe make sure system is checked so system, cache, delvik cache, and data...but I think mainly TWRP is probably your problem.
lsdhillon said:
Hi,
I have tried to install many custom roms but all get stuck on their own boot logos
eg
*Resurrection remix 5.6.5 marshmallow was stuck on its rr logo ( Tried installation with twrp 3.0, 2.4. 2.6 but still same thing)
*Cyanide 5.1 also gets stuck on its boot logo
Phone gets passes note 2 thing but gets stuck on respective roms logos i install
# Yes i Rooted phone before installation
# TWRP 3.0 installed
# Did clean installs (Formatted EVERYTHING and installed)(Read somewhere twrp cant format stock stuff properly, i dont know) Should i try different recovery? (Please suggest best to install RR Marshmallow)
# Presently I m on stock 4.4.2
# tried this too >> custom rom zip install >> SU Install >> Gapps >>restart (Did without SU install too but doesnt work that way too)
Click to expand...
Click to collapse
yaro666 said:
are you sure that should work? you have i317 and as far as I know it differs from N7100 and N7105
Click to expand...
Click to collapse
majicmazo said:
First and foremost TWRP 3.0 might be your problem, Its buggy and doesnt work right some people couldnt install it and all others have had issues with flashing roms, I would downgrade twrp to 2.8.5 if I were you.
the only other thing I think you already said you did but when you wipe go to advanced wipe make sure system is checked so system, cache, delvik cache, and data...but I think mainly TWRP is probably your problem.
Click to expand...
Click to collapse
I m gonna go to twrp 2.8.5. Hopefully it works. Will be back with results soon.
i get this error after installation (Using twrp 2.8.5.0 now)
"unmount of /system failed; no such volume"
Probably this is cause?
How to fix it?
and
I m using twrp for t0lte (i have SGH-i317m) I hope its all right with that.
lsdhillon said:
Can this be because of stock kernel? Because i m still on stock kernel
And thats the only thing i didnt change, despite all other random changes in steps to follow to install custom rom.
Click to expand...
Click to collapse
Actually yes I never updated the kernel, and now I am wondering if that is the reason why. Perhaps the latest ROM's need the latest kernel. Unfortunately, the links for that are down, if anyone can repost please.
[UPDATE]
I found the latest kernel and flashed it within Philz latest recovery and sure enough that did the trick, now I got two ROM's I tried and both booted fine. I guess that's the fix.
that's weird, I'm using stock kernel since the 1st day and never had boot problem. See if your emmc chip is sane or insane
xtacydima said:
Actually yes I never updated the kernel, and now I am wondering if that is the reason why. Perhaps the latest ROM's need the latest kernel. Unfortunately, the links for that are down, if anyone can repost please.
[UPDATE]
I found the latest kernel and flashed it within Philz latest recovery and sure enough that did the trick, now I got two ROM's I tried and both booted fine. I guess that's the fix.
Click to expand...
Click to collapse
Could you please guide me to stable risk-free custom kernel for my sgh-i317
yaro666 said:
that's weird, I'm using stock kernel since the 1st day and never had boot problem. See if your emmc chip is sane or insane
Click to expand...
Click to collapse
Stock kernel with latest 6.x ROM's? Only thing I can think of is your stock kernel was updated with an Android update, since this isn't my phone I din't know how on queue my family member who owns it was with updates. Everything is working fine now I just settled on a ROM after trying a few, so I think my emmc chip is fine.
---------- Post added at 03:20 PM ---------- Previous post was at 03:00 PM ----------
lsdhillon said:
Could you please guide me to stable risk-free custom kernel for my sgh-i317
Click to expand...
Click to collapse
Here is the kernel I downloaded (it's a zip so I flashed via Phil'z latest recovery)
http://d-h.st/JUm
Here is latest modem (same flashed via Philz)
http://d-h.st/WTp
xtacydima said:
Stock kernel with latest 6.x ROM's? Only thing I can think of is your stock kernel was updated with an Android update, since this isn't my phone I din't know how on queue my family member who owns it was with updates. Everything is working fine now I just settled on a ROM after trying a few, so I think my emmc chip is fine.
Click to expand...
Click to collapse
really stock kernel with MJ5 modem and old bootloader up until this year january, as I updated to RR 5.1.1 and then updated bl, modem to OC and flashed CM13
xtacydima said:
Stock kernel with latest 6.x ROM's? Only thing I can think of is your stock kernel was updated with an Android update, since this isn't my phone I din't know how on queue my family member who owns it was with updates. Everything is working fine now I just settled on a ROM after trying a few, so I think my emmc chip is fine.
---------- Post added at 03:20 PM ---------- Previous post was at 03:00 PM ----------
Here is the kernel I downloaded (it's a zip so I flashed via Phil'z latest recovery)
http://d-h.st/JUm
Here is latest modem (same flashed via Philz)
http://d-h.st/WTp
Click to expand...
Click to collapse
I flashed AGNI kernel but the results were still same. Now gonna flash http://d-h.st/JUm as xtacydima suggested(Thanks).
Hope it works.
Will be back with results soon.
Do i need to update modem? to install RR (Marshmallow)?
With http://d-h.st/JUm as xtacydima suggested
It doesnt pass note 2 logo
Just goes blank after note 2 logo, So i think it isnt supported.
i m on 4.4.2 stock now.
Another thing i note is that my baseband is "unknown".
Any suggestions?
I got it SOLVED finally
HOW?
Yup sure i ll tell how
I followed the following steps
1. Flash stock rom ( I mean stock rom by odin, Not factory reset or anything (as that didnt work) and my baseband was also lost (showed 'Unknown'))
2. Didnt add anything to it (gmail account or any settings etc)
3. Booted it completely once again ( restarted after first boot)
4. got to Download mode
5. Rooted it using cf auto root ( for sgh-i317m as i m using same phone)
6. restarted
7. got to Download mode again
8. Flashed twrp 2.8.7.0 from Odin
9. restarted again
10. got to Recovery
11. Flashed Resurrection Marshmallow (I think 5.6.5)
12. Flashed SU manually after that
13. Flashed OpenGapps Mini 6.0
14. Wiped Dalvikcache / Cache
15. Reboot
16. Wait for about FIVE Mins and
VOILA....
Enjoying new Marshmallow
Hope this helps someone who is also stuck in my situation.
Thanks for all your help

[QUESTION] changing back to miui

Im using a custom rom installed via twrp,
I wanna go back to miui, will it be fine if clean flashed over the current custom ROM through twrp, or do i need to follow any other way?
Try use ROM xiaomi.eu
---------- Post added at 01:00 AM ---------- Previous post was at 01:00 AM ----------
Or mi-globe.com
jaspad1710 said:
Im using a custom rom installed via twrp,
I wanna go back to miui, will it be fine if clean flashed over the current custom ROM through twrp, or do i need to follow any other way?
Click to expand...
Click to collapse
Its easy..
Clean flash ur MIUI rom... (Using TWRP)
And use lazyflasher to skip dm-verity check..
Here : https://drive.google.com/file/d/0ByWEieei-0nyMTR4R0dxWk9BTms/view?usp=sharing
Done .... Reboot and Enjoy !!
QwertySDuos2 said:
Its easy..
Clean flash ur MIUI rom... (Using TWRP)
And use lazyflasher to skip dm-verity check..
Here : https://drive.google.com/file/d/0ByWEieei-0nyMTR4R0dxWk9BTms/view?usp=sharing
Done .... Reboot and Enjoy !!
Click to expand...
Click to collapse
Wait, i installed miui9 correct version from miui website, i properly did a clean flash (installed correct openg) which im 100% sure, but the phone was stuck at boot logo, but twrp was working with the hardware key combo..pls help
And a peculiar thing is i have been using openg full arm64
Since i first begun using los unofficial, but today after flashing miui its showing that mine is arm and not arm64..pls give ur valuable insights
jaspad1710 said:
Wait, i installed miui9 correct version from miui website, i properly did a clean flash (installed correct openg) which im 100% sure, but the phone was stuck at boot logo, but twrp was working with the hardware key combo..pls help
And a peculiar thing is i have been using openg full arm64
Since i first begun using los unofficial, but today after flashing miui its showing that mine is arm and not arm64..pls give ur valuable insights
Click to expand...
Click to collapse
Format data and cache partitions as ext4 not as f2fs..
Then follow my instructions as before..
Miui has inbuilt gapps..
Why u need opengapps then ??
(Dont flash gapps on miui..)
QwertySDuos2 said:
Format data and cache partitions as ext4 not as f2fs..
Then follow my instructions as before..
Miui has inbuilt gapps..
Why u need opengapps then ??
(Dont flash gapps on miui..)
Click to expand...
Click to collapse
Holyy so flashing the gapps crashed it?
jaspad1710 said:
Holyy so flashing the gapps crashed it?
Click to expand...
Click to collapse
Yeah... Probably coz the gapps in miui are in data partition instead of system partiton (atleast that was the case with miui 8 on my other device the Redmi Note 4G)

Can not flash new roms, it stucks on boot screen

Hello dear friends,
I had been using some custom roms for a while like lineage os, cm, resurrection etc.Then i wanted to change it to a 4.4 rom.Once i flashed a stock rom by odin.Then i tired to use Eclipse.I have been using it without a problem.But now i want to upgrade the phone again.
-And i tried to flash different roms but i have the same problem.It passes SAMSUNG screen and shows ROM's flash.But it stucks in there.It keeps moving but nothing more.The rom doesn't start the homescreen.I tried to factory reset, wipe cache and dalvik cache.But they also doesn't work at all.I wait about half and hour or 1 hour, Once i tried to let it work overnight even.But doesn't work.Now i try to flash Cosmic OS but the problem still exists.I have a Eclipse rom backup and i restore it and it works.I use TWRP recovery on the phone.
-So what the problem might be?How can i fix it?
I recommend flashing back to the latest stock ROM, factory reset, and start over with TWRP.
audit13 said:
I recommend flashing back to the latest stock ROM, factory reset, and start over with TWRP.
Click to expand...
Click to collapse
Thank you it worked.I just want to explain the steps to give some information for the others who got the same problem.
-Connect the phone to the pc and flash a stock rom by odin or heimdall in linux
-Then wait for the rom to start.
-Open stock recovery mod (not TWRP or CWM Recovery)
-Format all data
-Flash a custom recovery (I use TWRP)
-And flash the custom rom as instructions.
And it works for me.Thank you again.
stranger_88 said:
Thank you it worked.I just want to explain the steps to give some information for the others who got the same problem.
-Connect the phone to the pc and flash a stock rom by odin or heimdall in linux
-Then wait for the rom to start.
-Open stock recovery mod (not TWRP or CWM Recovery)
-Format all data
-Flash a custom recovery (I use TWRP)
-And flash the custom rom as instructions.
And it works for me.Thank you again.
Click to expand...
Click to collapse
Glad you got it working.
Thanks for posting your method.
same problem
i'm gettin the same problem...
in download mode there are few lines as follows:
odin mode
prduct name:gt-n7100
current binary:Custom
System Status:Custom
knox warranty void: 1
AP SWREV: A2
PLSSS HELP
ShubhamS156 said:
i'm gettin the same problem...
in download mode there are few lines as follows:
odin mode
prduct name:gt-n7100
current binary:Custom
System Status:Custom
knox warranty void: 1
AP SWREV: A2
PLSSS HELP
Click to expand...
Click to collapse
Which rom you are using to flash?
Is the rom exactly for your phone model? (For eg, N7100 rom cannot be used for N7105)
thomas140 said:
Which rom you are using to flash?
Is the rom exactly for your phone model? (For eg, N7100 rom cannot be used for N7105)
Click to expand...
Click to collapse
Yep ...it's for N7100 only.... DotOs 7.1.2 by Santosh
---------- Post added at 08:20 AM ---------- Previous post was at 08:16 AM ----------
stranger_88 said:
Hello dear friends,
I had been using some custom roms for a while like lineage os, cm, resurrection etc.Then i wanted to change it to a 4.4 rom.Once i flashed a stock rom by odin.Then i tired to use Eclipse.I have been using it without a problem.But now i want to upgrade the phone again.
-And i tried to flash different roms but i have the same problem.It passes SAMSUNG screen and shows ROM's flash.But it stucks in there.It keeps moving but nothing more.The rom doesn't start the homescreen.I tried to factory reset, wipe cache and dalvik cache.But they also doesn't work at all.I wait about half and hour or 1 hour, Once i tried to let it work overnight even.But doesn't work.Now i try to flash Cosmic OS but the problem still exists.I have a Eclipse rom backup and i restore it and it works.I use TWRP recovery on the phone.
-So what the problem might be?How can i fix it?
Click to expand...
Click to collapse
Stranger_88....try doing a complete advanced wipe using Twrp..and then install a rom
You said DotOS 7.1.2, it is custom rom and I think it needs to be install using TWRP. And also, need to perform wipe in TWRP before reboot. Otherwise, it will stuck at Samsung logo boot loop.
Solved
thomas140 said:
Which rom you are using to flash?
Is the rom exactly for your phone model? (For eg, N7100 rom cannot be used for N7105)
Click to expand...
Click to collapse
Dude I got it working. Use Heimdall in Linux , my phone was detected in Heimdall and I followed the simple instructions there and flashed a new rom.

custom roms do not boot up

hi there,
i used crDroidAndroid-8.1-20180606-riva-v4.3 but there were color problems i didnt know 2 fix so i decided 2 flash a new rom resp. a newer version but no custom rom boots up.
when it tries 2 boot is freezes at the boot screen, then screen switches off and nothing happens. i can go 2 fastboot and recovery.
sometimes it boots up but after a few seconds it freezes 2.
i tried different roms and recoveries but nothing works.
i foolishly wiped internal storage once but then i flashed the stock rom again which boots up. then i unlocked the bootloader and flashed a custom recovery and a rom again but the same error is there (no booting up)
anyone got a solution for this problem? no unbricking suggestions plz
edit: im in the wrong thread i think. i wanted 2 post it in "Guides, News, & Discussion". cant delete it. sry for that
logs
so i managed 2 create logs while booting up.
1) https://pastebin.com/cgrX2DA1
2) https://pastebin.com/r7DmcN46
3) https://pastebin.com/0pwXyuys
4) https://pastebin.com/S41FG2SQ
1) is 1st part of the log while booting with no success to boot into the os.
2) is 2nd part of the log while booting with no success to boot into the os.
3) is 1st part of the log while booting with successful boot into the os.
4) is 2nd part of the log while booting with successful boot into the os.
i also tried 2 log "cat /proc/last_kmsg > /sdcard/last_kernel_message_log.txt"
and "dmesg > /sdcard/kernel_boot_log.txt" via terminal in linux but it only sais file or directory not found.
i hope sum1 can give me sum help now.
so i did this https://en.miui.com/thread-3921604-1-1.html but it doesnt help. as i expected.
any1? i can post more information if necessary. just say which and perhaps how ;D
cmon guys. i can impossibly b the only 1 who faces this problem.
i dont think its a hardware thing cause stock rom and android 7.1.2 (viper os) work. maybe a vendor problem? could flash another vendor img solve this problem? can sum1 send me his?
i got sum more logs after flashing rr 7.0:
logcat 1st part: https://pastebin.com/EBZAgbhF
logcat 2nd part: https://pastebin.com/qaMFrvxi
dmesg: https://pastebin.com/Gg8bYkJy
cheers
Fastboot flash latest miui 10 stable using mi flash tool and use the rom after setting up. Then flash custom recovery and do a full wipe.
This works for most cases.
NaAnBcEhEuL9A8K7 said:
Fastboot flash latest miui 10 stable using mi flash tool and use the rom after setting up. Then flash custom recovery and do a full wipe.
This works for most cases.
Click to expand...
Click to collapse
thx for ur answer but i tried this already. does not work on android 8 and 9 roms
daemonicvs said:
thx for ur answer but i tried this already. does not work on android 8 and 9 roms
Click to expand...
Click to collapse
Well it worked for me.
Which custom rom you want to use?
well, it doesnt matter 2 me. the main thing is that it works =D rr, aex, crdroid..
daemonicvs said:
well, it doesnt matter 2 me. the main thing is that it works =D rr, aex, crdroid..
Click to expand...
Click to collapse
Crdroid is my choice because aex and rr are very early builds. I like pixel experience but the devs not updating it so crdroid or havoc os.
Like i said use Xiaomi flash tool and flash miui 10 stable via fastboot method(there are 3 options in the bottom select flash all instead of flash and lock to avoid unlocking the bootloader again), don't flash anything else, setup and use the phone, flash recovery wipe all and format, install rom, don't flash gapps yet, boot into rom and see if its fixed.
Use vendor based recovery, if using batik recovery you have to flash batik recovery again after format.
This is my solution.
NaAnBcEhEuL9A8K7 said:
Crdroid is my choice because aex and rr are very early builds. I like pixel experience but the devs not updating it so crdroid or havoc os.
Like i said use Xiaomi flash tool and flash miui 10 stable via fastboot method(there are 3 options in the bottom select flash all instead of flash and lock to avoid unlocking the bootloader again), don't flash anything else, setup and use the phone, flash recovery wipe all and format, install rom, don't flash gapps yet, boot into rom and see if its fixed.
Use vendor based recovery, if using batik recovery you have to flash batik recovery again after format.
This is my solution.
Click to expand...
Click to collapse
i did it several times before but 2 b safe i did it again like that:
i flashed riva_global_images_V10.1.1.0.NCKMIFI_20181029.0000.00_7.1_global_f444c158ed.tgz using XIAOMI-TOOL-MiFlash-for-Linux-by-IceMan-master. im on linux mint 18.3. i have 4 options:
flash_all_lock.sh
flash_all_lock_crc.sh
flash_all_except_data_storage.sh
flash_all.sh
i chose flash_all.sh
i booted into the stock rom and set it up, enabled dev options and adb.
then i switched it off, went into bootloader, flashed twrp-3.2.3-0-riva.img via fastboot.
after that i entered twrp, flashed OrangeFox-R8.3-riva.zip and rebooted into recovery
i wiped everything except external sd and usb otg (i dont have these)
after a reboot intorecovery i formatted data then rebooted in recovery
i flahed crDroidAndroid-9.0-20181002-riva-v5.0.zip
then reboot into system
no success as i expected! wtf is wrong wtf. this cant b true!
but thank u very much for ur efforts! perhaps i would try 2 restore a vendor img from sum1 which rom does work. i know its a great demand but could u send me urs? ;D i dont know if there r sum personal info..
best regards
Don't give up there might be a solution.
Pray to God for some help.
:good:
---------- Post added at 01:23 PM ---------- Previous post was at 12:59 PM ----------
Currently I am using Xiaomi.eu beta rom. You can check their website for all the features. Its smooth, stable and can update without needing to got the recovery:victory:
This should work for you because unlike other roms this is based on miui for riva. That means you will get updates till Xiaomi ditches support for riva.
I recommend you use this rom over the global rom until you fix the problem with your phone.
Some things missing:
Choice of region is limited( India is not available)
There is no custom kernel available for miui oreo as of now.
Magisk safetynet not passed
If you're going flash this rom you need to be on latest global beta fastboot rom and need a recovery that supports oreo base.
I use batik recovery base oreo.
yes. i cant b the only 1 facing this problem...!? really. i cant!
thx anyway
daemonicvs said:
yes. i cant b the only 1 facing this problem...!? really. i cant!
thx anyway
Click to expand...
Click to collapse
Maybe you can be the only one facing this problem.
Try joing telegram community maybe your problem will get fixed from there.
NaAnBcEhEuL9A8K7 said:
Maybe you can be the only one facing this problem.
Try joing telegram community maybe your problem will get fixed from there.
Click to expand...
Click to collapse
theres no difference between my device and yours... everybody must have this problem ;/
daemonicvs said:
theres no difference between my device and yours... everybody must have this problem ;/
Click to expand...
Click to collapse
Did you try edl method?
NaAnBcEhEuL9A8K7 said:
Did you try edl method?
Click to expand...
Click to collapse
yes. i could flash the stock rom this way but the problem is not solved this way
daemonicvs said:
yes. i could flash the stock rom this way but the problem is not solved this way
Click to expand...
Click to collapse
At least you have to try.
I just unlocked my 5a today tried aosp rremix, pixel ex, no luck. the phone won't boot up. plus excno ept "TWRP-Oreo-Riva-STREBLE-Mod-sjcbank" no other recovery works. tried normal twrp orangefox, no luck.
Eddyb299 said:
I just unlocked my 5a today tried aosp rremix, pixel ex, no luck. the phone won't boot up. plus excno ept "TWRP-Oreo-Riva-STREBLE-Mod-sjcbank" no other recovery works. tried normal twrp orangefox, no luck.
Click to expand...
Click to collapse
Did you flash lazy flasher?
Eddyb299 said:
I just unlocked my 5a today tried aosp rremix, pixel ex, no luck. the phone won't boot up. plus excno ept "TWRP-Oreo-Riva-STREBLE-Mod-sjcbank" no other recovery works. tried normal twrp orangefox, no luck.
Click to expand...
Click to collapse
dont u have 2 wait 2 weeks or so till bootloader is unlocked?
what exactly do u mean with won't boot up? bootloop? or stuck at boot logo?
after flashing a custom recovery, did u boot directly into the system or did u try 2 boot into recovery? sometimes the stock recovery overwrites the custom 1 when stock rom boots up
my problem is solved. i remembered that i made a full nandroid backup with twrp before i flashed a new rom and the problem appeared. so i restored everything i backed up with twrp (incl cust) and voila, rom booted up. and i can wipe system and data and flash every rom i wanna and it still boots up \o/
i really could have tried it earlier but i didnt think of this untill yesterday ;D
well, thx for ur efforts anyway buddy @NaAnBcEhEuL9A8K7
cheers

Device turns off randomly after root

Hi guys, I rooted my redmi note 8 yesterday. Everything went well except two things: on boot the error message said that "there is an internal problem" and the phone reboots/shuts down itself.
Any thoughts?
cicish said:
Hi guys, I rooted my redmi note 8 yesterday. Everything went well except two things: on boot the error message said that "there is an internal problem" and the phone reboots/shuts down itself.
Any thoughts?
Click to expand...
Click to collapse
You should explain the problem obviously if you want a help, if your phone still working you should flash twerp.img to be able to root it and solve any existing problem by flashing new rom
niceman2007 said:
You should explain the problem obviously if you want a help, if your phone still working you should flash twerp.img to be able to root it and solve any existing problem by flashing new rom
Click to expand...
Click to collapse
Hey thanks for answer.
Actually i did everything correctly, flashed latest twrp, tried several roms, oficial, unoficial etc., But still no result. After all these, ive flashed the stock rom which solved the problem but phone is no more rooted. So..
cicish said:
Hey thanks for answer.
Actually i did everything correctly, flashed latest twrp, tried several roms, oficial, unoficial etc., But still no result. After all these, ive flashed the stock rom which solved the problem but phone is no more rooted. So..
Click to expand...
Click to collapse
If you still want to root it again,after flasing new rom go to twero and then go to wipe then format,you should format your phone after rom flashing,try this and inform me
Yes yes! I want to root phone once again. So the steps are these:
1) booting into twrp with adb from pc.
2) from the twrp menu wiping and formating the data
3) instaling new rom
Is this true?
Thanks!
If you want to root you don't have to install another custom rom unless you don't like the stock rom. If you like your current stock rom, then flash twrp in fastboot and download the latest magisk stable zip and also diasble dm-verity zip. Using twrp first flash disable dm-verity zip and then magisk zip, wipe dalvik cache and reboot to system, hopefully you would have root permission.
Leeban Joseph said:
If you want to root you don't have to install another custom rom unless you don't like the stock rom. If you like your current stock rom, then flash twrp in fastboot and download the latest magisk stable zip and also diasble dm-verity zip. Using twrp first flash disable dm-verity zip and then magisk zip, wipe dalvik cache and reboot to system, hopefully you would have root permission.
Click to expand...
Click to collapse
You mean that its possible to have root access on stock rom?
Leeban Joseph said:
If you want to root you don't have to install another custom rom unless you don't like the stock rom. If you like your current stock rom, then flash twrp in fastboot and download the latest magisk stable zip and also diasble dm-verity zip. Using twrp first flash disable dm-verity zip and then magisk zip, wipe dalvik cache and reboot to system, hopefully you would have root permission.
Click to expand...
Click to collapse
Hey, I was able to flash magical using twrp but can't flash dm-verity. It gives me some error 1 with no description. I could flash magisk. What can the problem be? Thanks!
cicish said:
Hey, I was able to flash magical using twrp but can't flash dm-verity. It gives me some error 1 with no description. I could flash magisk. What can the problem be? Thanks!
Click to expand...
Click to collapse
From your stock rom extract the boot.img and place it on your SD card. Flash the boot image using twrp or you can also flash in fastboot, then reboot. Now boot to twrp recovery and flash dm-verity first and then magisk zip. Worked for me I'm having root permission with stock rom.
Leeban Joseph said:
From your stock rom extract the boot.img and place it on your SD card. Flash the boot image using twrp or you can also flash in fastboot, then reboot. Now boot to twrp recovery and flash dm-verity first and then magisk zip. Worked for me I'm having root permission with stock rom.
Click to expand...
Click to collapse
i could grant the root permission on stock rom before you wrote this. thank you very much! but i still have a problem with a custom rom as it randomly turns off or reboots the device. strange
cicish said:
i could grant the root permission on stock rom before you wrote this. thank you very much! but i still have a problem with a custom rom as it randomly turns off or reboots the device. strange
Click to expand...
Click to collapse
UPDATE: after another custom rom install failure, i got back to stock miui 11 with miflash tool. the problem is now that when i unlock the bootloader and try to flash magisk and disable-dm-verity, the system refuses to boot. the redmi note 8 logo is sticked on boot. i dont understand what i am doing incorrectly. if there are any suggestions im ready to try.
cicish said:
UPDATE: after another custom rom install failure, i got back to stock miui 11 with miflash tool. the problem is now that when i unlock the bootloader and try to flash magisk and disable-dm-verity, the system refuses to boot. the redmi note 8 logo is sticked on boot. i dont understand what i am doing incorrectly. if there are any suggestions im ready to try.
Click to expand...
Click to collapse
Is your bootloader unlocked right now or did you lock it while flashing using miflash tool.
Leeban Joseph said:
Is your bootloader unlocked right now or did you lock it while flashing using miflash tool.
Click to expand...
Click to collapse
the bootloader was unlocked. everything went kinda fine, until i flashed youtube vanced from magisk: when i did that, the system was unable to boot. i don't know what's happening. is there anything to do with kernel or something? really interesting what i am doing wrong.
cicish said:
the bootloader was unlocked. everything went kinda fine, until i flashed youtube vanced from magisk: when i did that, the system was unable to boot. i don't know what's happening. is there anything to do with kernel or something? really interesting what i am doing wrong.
Click to expand...
Click to collapse
I think it may be because of YouTube vanced module. If you remove the module you might be able to boot. In twrp in the advanced option select file manager and then select data/adb/magisk/ in that you will find the list of installed modules, select the one which is causing the problem and delete that folder and try to reboot.
Leeban Joseph said:
I think it may be because of YouTube vanced module. If you remove the module you might be able to boot. In twrp in the advanced option select file manager and then select data/adb/magisk/ in that you will find the list of installed modules, select the one which is causing the problem and delete that folder and try to reboot.
Click to expand...
Click to collapse
I've already flashed the stock rom but this will help me next time! Thanks!
I'll stop trying for some days cause I'm really tired with tweaking so thanks and will get back!
cicish said:
i could grant the root permission on stock rom before you wrote this. thank you very much! but i still have a problem with a custom rom as it randomly turns off or reboots the device. strange
Click to expand...
Click to collapse
Your device reboots randomly on custom rom because probably it was made for tianma display and you have hauxing display
the_weird_aquarian said:
Your device reboots randomly on custom rom because probably it was made for tianma display and you have hauxing display
Click to expand...
Click to collapse
Hey, thanks for the answer. i've just googled about it and you are right. checked the TP version and it says that i have huaxing display. in the Lineage OS thread the moderator wrote that the next update will fix that bug. hopefully ill be able to install custom rom. also if you know, are there any custom roms for huaxing display? thank you man!
cicish said:
Hey, thanks for the answer. i've just googled about it and you are right. checked the TP version and it says that i have huaxing display. in the Lineage OS thread the moderator wrote that the next update will fix that bug. hopefully ill be able to install custom rom. also if you know, are there any custom roms for huaxing display? thank you man!
Click to expand...
Click to collapse
currently bootleggers rom,PE official and unofficial and drepfest all have reboot issues in huaxing display. Haven't tried any other rom yet..still on MIUI..waiting to get the issue fixed asap.
the_weird_aquarian said:
currently bootleggers rom,PE official and unofficial and drepfest all have reboot issues in huaxing display. Haven't tried any other rom yet..still on MIUI..waiting to get the issue fixed asap.
Click to expand...
Click to collapse
i've tried Lineage OS too and it also has reboot issue. i've checked a thread here https://forum.xda-developers.com/redmi-note-5-pro/development/derp-kernel-clang-4-4-138-t3804996 that flashing a different kernel when you have flashed a custom rom can fix the problem. idk if its safe to do
cicish said:
i've tried Lineage OS too and it also has reboot issue. i've checked a thread here https://forum.xda-developers.com/redmi-note-5-pro/development/derp-kernel-clang-4-4-138-t3804996 that flashing a different kernel when you have flashed a custom rom can fix the problem. idk if its safe to do
Click to expand...
Click to collapse
that thread is for redmi note 5 pro..and flashing different kernel probably won't solve it because I know few guys flashed genom kernel but still ended up with reboot in huaxing display. Maybe waiting for fix is better.

Categories

Resources