yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] castleofglass:
I'm with cm12.1, can I do it the same?

Inviato dal mio Redmi 3 utilizzando Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Yeah that could help.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] davtse:
Any ROM will do, preferably another person with miui can do it too in case the errors are different
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] castleofglass:
I'm trying to get it from file manager in twrp, but it doesn't stop to copy... if I try from terminal in twrp it says "no such file or directory". The folder is /proc/kmsg.txt, isn't it?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] bucefal82:
May be /proc/last_kmsg or /proc/last_kmsg.txt ?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] castleofglass:
there isn't a file with this name :(
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] bucefal82:
haikalizz

I attach kmsg file
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
I managed to start this kernel by repacking boot image with cmdline of a stock kernel:

instead of one originally used by OP:

and modifying tags offset from 0x01e00000 to 0x00000100.

The resulting boot image is attached, but unfortunately it fails to load binary firmware drivers (with "msm_comm_init_core - firmware loading failed" error), ending in bootloop. However it does allow to use adb shell & logcat at some point, so I was able to get the logs:

dmesg-sensei.log was made by running adb shell dmesg > dmesg-sensei.log (for some reason it doesn't display the earliest messages)

boot-sensei.log is a result of adb logcat > boot-sensei.log.

For reference there are also logs from (a successful) stock kernel boot attached.

Somehow they fixed firmware blobs for Mi4 on official forums here: hxxp://en.miui.com/thread-205539-1-1.html (sorry, have not got enough posts to include URL-s yet), but unfortunately I have absolutely no idea how one can create such a fix, maybe if we had original Mi4 blobs we could compare them to the fixed ones, idk...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Thanks for this logs, atleast with these new parameters, we can narrow down some stuff. You don't have to repack the kernel though, you can just change the parameters in the flash-kernel script under tools.

I saw that there are alot of GPU hangs in the log and some important services getting killed.

-- Edit --

I think it might be the same problem with the Mi4i, different blobs and partitions in newer MIUI versions. I don't have a redmi3 to test this theory out.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] castleofglass:
Can we test it for you?

Inviato dal mio Redmi 3 utilizzando Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Maybe if you can find the right files and such. Try looking at the Mi4i version for clues on what you need.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] davtse:
http://xdaforums.com/showpost.php?p=67088470&postcount=241

this guy seems to have made a booting version. Maybe we can ask him for help? Its mostly stock based
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
I'm not sure.. It might be a prebuilt kernel though, not a built from source. I'll send a message to him
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
I can provide you with a remote root shell into VM connected to a Redmi 3 and put it into the mode you need by physically pressing buttons via skype or any other messenger. I'm online almost 24/7, so if this suits for you just say :)

P.S. And I don't care if you brick the modem, since I always dreamed of installing gentoo there anyway :)
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
The kernel inside is:

Linux version 3.10.49-perf-g2d7697f (builder@qh-miui-ota-bd88.bj) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Mar 2 10:52:15 CST 2016

Which google only knows to exist here: hxxps://google.com/search?&q=3.10.49-perf-g2d7697f (had to link google, since I'm still not allowed to link outside, while that Chinese web-site seems like a great place to look for clues indeed)

The frequencies were set by editing init.qcom.power.rc inside the ramdisk...

I also attached .config that was used for building that kernel, I hope it might help.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
https://www.androidfilehost.com/?fid=24572369242686365

This one is with the new defconfig file and fixed some stuff, hope this one boots...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] aksenov92:
Anyone try this?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] phidung3721:
still doesn't boot
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] ariw182:
up up up up anyone tried ?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
It just stuck on the logo now. It doesn't even detect USB cable, so the previous build, which allowed to access adb & diag modes was somewhat better...

I suppose if I put the "setprop sys.usb.config diag,adb" command somewhere into the ramdisk, it may give some insights...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Oh wait, I forgot to use the new command to build the image in the flash script. Maybe thats why?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] pepuandroll:
One offtopic question: this kernel allows us to compile CM13? Instead using a prebuilt kernel?

Enviado desde mi Redmi 3 mediante Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Supermatt01:
I want to try it but my wife complains about it when my phone isn't working. :-|
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] YundiG:
Any work?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] davtse:
you guys seriously need to stop this "is it working" crap. Read the thread and see if anyone has said if its working. So far all that has been said is that it doesn't boot. Stop flooding the development thread with pointless posts that do nothing to aid in development of the kernel. Want to help? flash the damn kernel and post the kmsg you get when it doesn't boot. Sorry if this post sounds harsh but all these useless posts just makes it more difficult for the developer to keep track of any posts of actual use.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Should be able to compile but I cant guarantee if it boots. If you want to build, use the precompiled kernel from Xiaomi..
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] jpg3927:
anyone get work?

bootloop on cm12.1!
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
CM13 is working just fine with stock kernel, there is plenty of ROMS out there, they all use stock kernel.

As for the new version of haikalizz's kernel, the first one was clearly better. I haven't managed to boot it past the logo no matter whatever I tried. I can't even say it booted initrd. Probably you should include a ramdisk (maybe even compile it into kernel) with adb debugging turned on by default, since I cannot even get a dmesg from this new kernel to help you with finding the problem
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] davtse:
yep couldn't get any d/kmsg from this one this time round as well. was on miui 7
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] ricxgp:
How to compile kernel from source:

http://en.miui.com/forum.php?mod=viewthread&tid=293285&extra=page=1&mobile=2
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Doesnt help though, this was the first steps I used to compile it...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Ok, I hope this one fixes the not-booting problem... View my gitlab for changes...

https://www.androidfilehost.com/?fid=24591023225176228
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
Nope, still doesn't boot, just like the previous one.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
I'm starting to think this has something to do with the DTB image compiled from source... I'm trying a new one with dt.img extracted from stock kernel.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Here's the new one: https://www.androidfilehost.com/?fid=24591023225176231
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] pepuandroll:
Ask Anik1199 on miui english forum. He got a working kernel.

Enviado desde mi Redmi 3 mediante Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] St.Noigel:
I`m going to try it with MIUI8 beta (still 5.1.1)

Hmmm... Seems like it doesn`t boot too ((
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Wont recommend with MIUI8, might have some stuff changed. Does USB get detected in this one?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] St.Noigel:
Do you mean USB in recovery mode?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Like could you pull a log out of this?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] St.Noigel:
I have recovery log.. but I think you want another log... Can you tell me how I can make it?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Its a kmsg log.. can't remember how to get it. Something to do with ADB and such
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
I managed to compile that kernel, though I wouldn't call it "working", since it lacks even wi-fi support, but yeah, it boots indeed. Unfortunately, trying to add ANY feature beyond vendor-provided defconfig (as I said, it doesn't even have wifi in there) puts it into a bootloop just like Sensei's kernel...

P.S. In case you wonder about the kernel name - it's just the build script I used, there was no improvements at all...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
And how did you get it to boot? I'll try to reproduce it and try again...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Alright, try this but you need to fastboot flash it..

https://www.androidfilehost.com/?fid=24572369242686541
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
Well, there is a whole bunch of issues:

1. Your update script using mkbootimg, which actually make kernel bootloop 100% of time, probably due to boot image corruption it causes. I haven't used it myself, because I find fastboot more convenient, than TWRP, but noticed it when I was trying to prepare that kernel to upload to this thread. I had to redo whole image build system - you should use it too from now.

2. There is a great script in the kernel root, which allows you to extract .config from a kernel image, which can give lots of insight on where are 2 kernels differ from each other -

./scripts/extract-ikconfig. So you can just compare output of mine kernel & yours.

3. I haven't tried building with UberTC yet, so maybe toolchain itself was the problem.

As for attached images - first one is plain kernel + dt.img, which are applied to your current boot partition via TWRP, while the second one is a fastboot image, which contains my own ramdisk (probably full of unneeded junk)...

This build is greatly optimized (i.e. built without any debugging options (like frame-pointers), which slow it considerably) + is has lots of different governors included for you kernel aduitor. Also it doesn't have that thing in stock kernel, which prevented from specifying frequency or turning off cores of the main CPU... Well, there MAYBE a major problem with it - wifi drivers are not working. But there is a chance it's happening only my phone (because I deleted those wsndss folders, I though were useless :) - anyway testing is needed for that...

P.S. Fastboot version is for CM13, it might not boot at all with MIUI, so I suggest using TWRP version if you are not a CM13 user...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] davtse:
The twrp file doesn't seem to have flashed the kernel. I'll try the .IMG and see
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
Yep there was a typo in the dd command, lol. I re-uploaded fixed version.

Ok, there is another issue with that image - Redmi 3 has dm-crypt enabled, so when you build an image, it shouldn't contain "verify" anywhere near fstab. It just doesn't mount /system partition when "verify" is there. The second issue is that it looks like it has a stock miui ramdisk, which I bet won't work with CM. Well, anyway it doesn't boot just like the very first kernel. Though I managed to get lots of logs - one from the ramdisk you provided, the other from the CM13 ramdisk. They are attached to this post, please have a look...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] pepuandroll:
Which are the solutions?

Can we build an operative kernel?

What build of CM13 did you use?

Enviado desde mi Redmi 3 mediante Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
I'm working on the wi-fi issue right now (seems to work fine with stock kernel< so the problem is not in my phone). I suppose we could build in kernel that works at least as good as a xiaomi one, but we really need an experienced C-coder, so he would port great features to our kernel (like kexec/multirom to boot different OS on one phone, etc.). Without a real kernel guru, we are limited to selecting options in make menuconfig, which can't result in anything super cool :)
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] davtse:
yep i can confirm its booting on miui 7(the twrp version).

the wifi issue seems to be similar to one that we had on the samsung s3, we solved that by using the hostapd(SIC) from another ROM, not sure if it would work here.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] pepuandroll:
Well.. at least if we get good kernel, we can use these sources foe compiling, for example, CM13 from sources.

Maybe, it can be done now.

Enviado desde mi Redmi 3 mediante Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] AssGuard:
Kernel worked?

Double Tap 2 wake work?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] pepuandroll:
Yes.

No, that function has to be added.

Enviado desde mi Redmi 3 mediante Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] vikoadi:
I can confirm that twrp works (with a few exception of course) in cm12.1 by nehz but boot.img doesnt.

But my own compiled kernel is still doesn't work.

What changes you did to make it boot?

What you did to WT_SUBSYSTEM_REASTART error?

are you rebuilding dt.img? How?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
Basically, I'm not a C guru, just an average gentoo user (there is a lot of compilation in Gentoo OS), so an option "just fix those kernel bugs by coding in plain C" is not for me. After building a minimal kernel without errors (the wt88509_64-perf_defconfig one) (with this very helpful script by haikalizz, using the same toolchain, that was used in a stock one), I assumed there are options that just cause build errors. So with that script, which extract kernel options from image I eliminated every possible option that prevents kernel from booting. And now you can build yours easily, just knowing that your config may have any option, EXCEPT 2:

Persistent store support->Log kernel console messages

and

Persistent store support->Log panic/oops to a RAM buffer

Having them in your config will make kernel fail silently, every other option is fine (it needs several debug options to be enabled, though), as long as you are ready to replace failing files with something that looks similar enough (like this kernel). Replacing files actually makes devices unusable, BUT it fixes those stupid build errors easily. I have failed to repair wifi AND I have no camera now, lol, because of replacing files.

You really should learn some C, if you want to fix those devices, unfortunately it was always too cryptic for me :)

Anyway, if you want to build a kernel, just use my attached config file & haikalizz's build script. Fixing the wifi should be as easy as including "Qualcomm WCNSS CORE driver", just don't try to fix anything else, or you'll end up with an ancient PalmOS equivalent without a single device working as it is supposed to :)
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] AssGuard:
So, if kernel worked, what additional non-stock features work?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Anubioz:
It's not Sensei's kernel which worked, it's a stock one, without any features (I cannot even make those "stock" features work properly). I suppose we need a list of non-stock features that need to be ported to our device, though. My wish is kexec support, so we can boot Ubuntu/FirefoxOS (and maybe even windows) easily...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
I ported a nearly working kexec-hardboot patch to the Mi4i, I can maybe port here...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] pepuandroll:
First, you have to boot kernel [emoji14] I hope you do!

Enviado desde mi Redmi 3 mediante Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Trying my best here. I couldn't say much but the best I could do now is build using stock configs and use the TWRP zip posted earlier.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] pepuandroll:
Then your current kernel boots with MIUI?

Enviado desde mi Redmi 3 mediante Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] St.Noigel:
[MENTION=3025648]Anubioz[/MENTION] your TWRP version works on MIUI (tried on 7.1.3)

But it kills WiFi ))
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Alright, I'm trying [MENTION=3025648]Anubioz[/MENTION] twrp scripts. Please oh Redmi3, boot this time :(

https://www.androidfilehost.com/?fid=24572369242686697
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] adefxda:
Cant install with TWRP..

Sent with Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] davtse:
missing the meta.inf or something error

Edit: you had an extra folder, I unzipped extracted and re-zipped. Unfortunately still doesn't boot
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] yantz:
I managed to compile stock kernel using anik's guide but unable to boot. Then tried using Anubioz's config also unable to boot. [MENTION=3025648]Anubioz[/MENTION] what other changes did you make? Did you managed to build the dt.img? My dt.img is very small
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
I suspect that it's the dt.img that keeps the phone from booting... mine is around 800kb but not sure if thats the full size..
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] yantz:
The dt.img provided by Anubioz is identical to the stock dt.img. It's around 800kb. I got 600kb only even after using his config file. My kernel won't boot even if I used the stock dt.img

---------- Post added at 09:41 PM ---------- Previous post was at 09:37 PM ----------

May i know what you did to WT_SUBSYSTEM_REASTART error?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Supermatt01:
Please don't give up. You're likely the best hope we have of getting a kernel that is better than stock. :)
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Cant do much right now, without the device and a broken machine, working from a laptop is kinda limited.. Money is scarce right now, so yeah development is kinda slowing a bit...

If you guys wanted to contribute or anything, PM me first. And also, I will try to upload a new build tommorow to test out something new...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] KcLKcL:
So what's the current state of the kernel source?

From what I read you guys are having problem with wifi now.

Would Xiaomi listen if we submit an issue to their github, and tell them to fix their source? Remember when touch didn't work they immediately fixed the issue, that may work. At least, we need a working kernel, even if it's very close to stock, so we can start building features up.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] davtse:
I think OP submitted an issue already.. But I think xiaomi isn't going to be doing anything about it.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Supermatt01:
So, if I flash the kernel and it bootloops I should just restore the boot partition from my TWRP backup, right?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] AssGuard:
Yes, just restore your boot, or flash via fastboot
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Supermatt01:
I hadn't tried it with this phone before so I wanted to ask first. :)
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
I didn't post the issue, just had a hand in it but it seems that alot of people can't get the source to boot correctly. I'm trying out something I used with OP3, AnyKernel zip... Hope that it could fix it: https://www.androidfilehost.com/?fid=24572369242687267
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] adefxda:
Someone who has been test with cm 12.1 rom, pls share your xperience..

Sent with Tapatalk
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] yantz:
Updater script is for ferrari. I edited for ido but still not booting
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Weird, it was for ferrari? And also, if you could try to extract and remove the dtb file and zip it back and try to flash again, then report back.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] yantz:
Already tried removing. Doesn't boot. Replace with stock also doesn't boot.

Your script wants to delete power.msm8916.so but file doesn't exist in both folders. And your system folder is empty
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
https://www.androidfilehost.com/?fid=24572369242687285 Alright I think previous file had some prblems with it.. This one might fix it...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Supermatt01:
okay. I'm not busy today. I have time to mess up and fix my phone so I will test the new build. :)

No boot up, just the MI screen. I don't really know how to pull the boot log though. I am using MIUI EU 7 ido.

I am not sure how to help more. I will reboot to recovery and try wiping the ART and cache.

Something went wrong I can't boot into the recovery at all.

No connection to adb.

I am a bit worried. I can't get it back to normal if I can't boot the recovery.

Now I have it on adb but it lists it as unauthorized. I can't send it any commands.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Can you go onto fastboot? I think someone posted a working build a few posts back...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Supermatt01:
Fastboot I can do but I don't know how to command it from there. Why can't I get into the recovery?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
I'm not sure, you can download minimal adb/fastboot and use this command "fastboot flash boot boot.img" where boot.img is the stock kernel/kernel image posted a few posts back...
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Supermatt01:
Okay, I got the fastboot package and I downloaded the kernel people said worked to boot. Do I need to unzip the files or no?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
You downloaded the twrp or the fastboot version?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Supermatt01:
Fastboot, I can't boot TWRP. the recovery mode won't boot too.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] haikalizz:
Extract it and there should be a .img file in it or is it already an .img file?
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] Supermatt01:
There is a folder that had a dt.img file and a file that is named kernel in it but it is not an img extension. Should I rename it for flashing?

Says failed remote partition table doesn't exist.

Okay so I got the boot img too. I flashed that with no issue through fastboot but I still can't boot up or go to recovery.
[Xiaomi Redmi 3 ROMs, Kernels, Recoveries, & Other ] atiprusma:
Try to reflash twrp with fastboot,

And restore your boot partition (if you back it up) from twrp