Can not flash custom ROMs =( - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Hello! I've been trying to install custom ROMs like HavocOS or REVOS but none of them let me they give me the same problem it is not possible to flash them. Before try it I did a full wipe in every partition, do they need MIUI to be flashed? Meanwhile I could be able to reflash a fresh version of miui.eu to not have a bricked phone.

VSMiguel said:
Hello! I've been trying to install custom ROMs like HavocOS or REVOS but none of them let me they give me the same problem it is not possible to flash them. Before try it I did a full wipe in every partition, do they need MIUI to be flashed? Meanwhile I could be able to reflash a fresh version of miui.eu to not have a bricked phone.
Click to expand...
Click to collapse
what problem are u facing or error that you are getting..

Ezio553 said:
what problem are u facing or error that you are getting..
Click to expand...
Click to collapse
If I remember right it was something like error 7 can not flash nameoftheromszip.zip with both havoc and rev. By the other side I hat no problem flashing a miui.eu ROM

VSMiguel said:
If I remember right it was something like error 7 can not flash nameoftheromszip.zip with both havoc and rev. By the other side I hat no problem flashing a miui.eu ROM
Click to expand...
Click to collapse
u tried the latest twrp 3.4.0.0 as i had the same error 7 : this rom is for raphael device.. for all aosp roms & few miui roms.
For AOSP roms i use twrp 3.4.0.0 and that works perfectly fine but for miui roms i need to open the zip of rom
then goto META-INF\com\google\android\ then from here i open the update script with notepad++ and replace all the raphael word with raphaelin as my device is indian unit and then press ctrl+s to save it then exit notepad++ the zip will ask to update press yes and then use that zip for flashing.
Sorry i just mentioned the full way how i flash as i also got the same error when i bought my device and tried flashing any rom directly.
Use TWRP 3.4 for aosp roms and it should flash directly and for miui roms i always have to modify the zip updater script to make it work.

VSMiguel said:
Hello! I've been trying to install custom ROMs like HavocOS or REVOS but none of them let me they give me the same problem it is not possible to flash them. Before try it I did a full wipe in every partition, do they need MIUI to be flashed? Meanwhile I could be able to reflash a fresh version of miui.eu to not have a bricked phone.
Click to expand...
Click to collapse
Look here
https://forum.xda-developers.com/k20-pro/how-to/simple-guide-flipkart-owners-t4151007/post83329343

Related

[Q] Unable to start WiFi after flashing CWM 6.0.2.8 and 6.0.3.1 on custom JB ROM

Hello All,
I am on stock v4.1.2, flashed myself.
Now I want to move on to custom ROM.
My current stock ROM is rooted, and I have also unlocked my bootloader.
Now when I want to install custom ROM, I need to flash CWM, and when I do (tried v6.2.8 and v6.0.3.1), and install any ROM, my WiFi becomes unresponsive (failed to turn on). When I flash V20A back, everything turns normal.
I also gone through http://forum.xda-developers.com/showthread.php?t=2180138&page=43, and install the unsecure boot image after installing CWM 6028, but this make my custom rom hang on startup (on bootload screen).
Kindly help me out.
I have search a lot in the P880 forum, and didn't find any help regarding to this problem.
[email protected] said:
Hello All,
I am on stock v4.1.2, flashed myself.
Now I want to move on to custom ROM.
My current stock ROM is rooted, and I have also unlocked my bootloader.
Now when I want to install custom ROM, I need to flash CWM, and when I do (tried v6.2.8 and v6.0.3.1), and install any ROM, my WiFi becomes unresponsive (failed to turn on). When I flash V20A back, everything turns normal.
I also gone through http://forum.xda-developers.com/showthread.php?t=2180138&page=43, and install the unsecure boot image after installing CWM 6028, but this make my custom rom hang on startup (on bootload screen).
Kindly help me out.
I have search a lot in the P880 forum, and didn't find any help regarding to this problem.
Click to expand...
Click to collapse
i dont understand what the recovery has to do with the wifi. recovery is just an interface to easy install something, copy paste , edit , change permissions , etc , things we do using adb commands. it is just an environment. its something else u are doing wrong there.
<EDIT> yea i saw the thread on your link. others seem to have same problem but with the unsecure boot. why do u need unsecure boot if the bootloader is unlocked ? just install teamwin recovery or cwm recovery and the rom u want.
kessaras said:
i dont understand what the recovery has to do with the wifi. recovery is just an interface to easy install something, copy paste , edit , change permissions , etc , things we do using adb commands. it is just an environment. its something else u are doing wrong there.
<EDIT> yea i saw the thread on your link. others seem to have same problem but with the unsecure boot. why do u need unsecure boot if the bootloader is unlocked ? just install teamwin recovery or cwm recovery and the rom u want.
Click to expand...
Click to collapse
Well, I did. And it all went fine, and I am able to install various custom ROMs, and after I install custom ROM, my WiFi becomes unresponsive. I am completely at lost. I also tried MIUI v5 which is non-CM10.2 based, and it also showed the same issue.
Here are my steps to install a custom ROM.
- Currently I am on my V20A stock ROM.
- Root the stock ROM using the All-In-One-Toolkit v1.4.1
- Flush the CWM 6031 using ADB as
Code:
su
cat /mnt/sdcard/recovery.img > /dev/block/mmcblk0p1
sync
- After reboot, my device has the CWM.
- Copy custom ROM zip files to my device, and reboot to recovery
- Wipe out by data and cache
- Install ROM
thats it
And when I boot into the new custom ROM, my WiFi do not work.
Please help.
[email protected] said:
Well, I did. And it all went fine, and I am able to install various custom ROMs, and after I install custom ROM, my WiFi becomes unresponsive. I am completely at lost. I also tried MIUI v5 which is non-CM10.2 based, and it also showed the same issue.
Here are my steps to install a custom ROM.
- Currently I am on my V20A stock ROM.
- Root the stock ROM using the All-In-One-Toolkit v1.4.1
- Flush the CWM 6031 using ADB as
Code:
su
cat /mnt/sdcard/recovery.img > /dev/block/mmcblk0p1
sync
- After reboot, my device has the CWM.
- Copy custom ROM zip files to my device, and reboot to recovery
- Wipe out by data and cache
- Install ROM
thats it
And when I boot into the new custom ROM, my WiFi do not work.
Please help.
Click to expand...
Click to collapse
not exactly.
And here are my steps to install a custom ROM (if currently I am on my V20A stock ROM)
1. Root the stock ROM using the All-In-One-Toolkit v1.4.1
2. Unlock bootloader using All-In-One-Toolkit v1.4.1 or manually like this.
3. Flash the CWM 6.0.4.5 or 6.0.4.4 or TeamWin Recovery
4. Reboot the device in recovery.
5. Enter ADB sideload and install custom rom or using ADB bootloader or using ADB copy the rom in sd card and use install in recovery.
6. Wipe data and cache and reboot system.
<<STEPS DESCRIBED IN HELP SECTION - FREQUENTLY ASKED QUESTIONS>> ( by the way those must be updated too )
kessaras said:
not exactly.
And here are my steps to install a custom ROM (if currently I am on my V20A stock ROM)
1. Root the stock ROM using the All-In-One-Toolkit v1.4.1
2. Unlock bootloader using All-In-One-Toolkit v1.4.1 or manually like this.
3. Flash the CWM 6.0.4.5 or 6.0.4.4 or TeamWin Recovery
4. Reboot the device in recovery.
5. Enter ADB sideload and install custom rom or using ADB bootloader or using ADB copy the rom in sd card and use install in recovery.
6. Wipe data and cache and reboot system.
<<STEPS DESCRIBED IN HELP SECTION - FREQUENTLY ASKED QUESTIONS>> ( by the way those must be updated too )
Click to expand...
Click to collapse
I did wipe the data and cache after installing the custom ROM. But the result is the same; No WiFi response.
However, I always copy my custom ROMs by mounting my phone through USB to my Win8 laptop, and then copy the ROM file through windows explorer. And then install the ROM from the CWN recovery. Thus do not use ADB for copying files, or installing custom ROM as mentioned above. If this is the main issue reason, then advice.
Also I haven't tried TWRP till yet. Will do now. Till then, what else I can do.
Thanks for the quick replies.
i dont know what else you may doing wrong then. one was the insecure boot which is useless since u have unlocked the bootloader and the other that u had flash older version of cwm recovery. maybe compatibility issue with that version of cwm rec ? test and see.
format system also, when installing a new rom, not just data, cache & dalvik
kessaras said:
i dont know what else you may doing wrong then. one was the insecure boot which is useless since u have unlocked the bootloader and the other that u had flash older version of cwm recovery. maybe compatibility issue with that version of cwm rec ? test and see.
Click to expand...
Click to collapse
One piece of detail I missed to mentioned in my case previously was that, I unlocked my phone using the method mentioned in the thread http://forum.xda-developers.com/showthread.php?t=2263627 as I was unable to unlock using the official method.
After I unlock my bootloader, I have flashed V20A KDZ several times, and each time the SW Upd mode show me that my bootloader status is unlocked. Thus after first attempt of unlocking, I never came across need to unlocked my bootloader again as each time when I do the KDZ flash, I get the bootloader status as unlocked. And after each flash of KDZ, I was able to install CWM and custom ROMs, and boot into them successfully.
Is this something causing the issue?
[email protected] said:
One piece of detail I missed to mentioned in my case previously was that, I unlocked my phone using the method mentioned in the thread http://forum.xda-developers.com/showthread.php?t=2263627 as I was unable to unlock using the official method.
After I unlock my bootloader, I have flashed V20A KDZ several times, and each time the SW Upd mode show me that my bootloader status is unlocked. Thus after first attempt of unlocking, I never came across need to unlocked my bootloader again as each time when I do the KDZ flash, I get the bootloader status as unlocked. And after each flash of KDZ, I was able to install CWM and custom ROMs, and boot into them successfully.
Is this something causing the issue?
Click to expand...
Click to collapse
Now, I have repeated using CWM 6.0.4.5 and TWRP, and no breakthrough .... Starting to lose hope ... Help !!!
sorry , personally i dont know what else u may doing wrong there . and no it doesnt matter which way u unlock the phone, but since u unlock it , it stays that way until u lock it.
at least stock rom is working fine ? if that works fine there, then just install only custom kernel, do your tweaks, install another launcher and then delete the default, etc. u can do any modification u like to the stock one to make it look and work the way u want it.
kessaras said:
sorry , personally i dont know what else u may doing wrong there . and no it doesnt matter which way u unlock the phone, but since u unlock it , it stays that way until u lock it.
at least stock rom is working fine ? if that works fine there, then just install only custom kernel, do your tweaks, install another launcher and then delete the default, etc. u can do any modification u like to the stock one to make it look and work the way u want it.
Click to expand...
Click to collapse
Does it help if I installed a custom kernel on my custom ROM (with WiFi issue). My understanding is that the WiFi driver is compiled inside the kernel. So changing the kernel might reduce the issue. What do you think? If yes, then kindly advice me on which kernel should I install on my till now custom ROM MIUI v5 http://en.miui.com/download-79.html.
[email protected] said:
Does it help if I installed a custom kernel on my custom ROM (with WiFi issue). My understanding is that the WiFi driver is compiled inside the kernel. So changing the kernel might reduce the issue. What do you think? If yes, then kindly advice me on which kernel should I install on my till now custom ROM MIUI v5 http://en.miui.com/download-79.html.
Click to expand...
Click to collapse
a developer would never release a rom in public with wifi issues by default and since i have already tested all roms available before i end up to one, i can say that they all worked , but only had small bugs on homescreen. really i dont know what you are doing wrong and not even a teamviewer connection wouldnt help in this case. but on stock your phone works fine ? only in a custom rom u have this issue ?
<<EDIT>> did you also do a full format before going to another rom ? there is a choice in teamwin recovery ( dont know if its in cwm also ) to format data. careful i dont mean to wipe everything you see because you will remove the recovery too and u will have to flash it back. the format option deletes everything besides the recovery. if you dont format before you go to a totally different rom, then you maybe have issues. especially when going from stock to custom, differences are huge. you must format before flashing. and dont forget the gapps, if they are not inluded in rom. ( in your case miui there must have them inside, because i see its 256 mb+)
kessaras said:
a developer would never release a rom in public with wifi issues by default and since i have already tested all roms available before i end up to one, i can say that they all worked , but only had small bugs on homescreen. really i dont know what you are doing wrong and not even a teamviewer connection wouldnt help in this case. but on stock your phone works fine ? only in a custom rom u have this issue ?
<<EDIT>> did you also do a full format before going to another rom ? there is a choice in teamwin recovery ( dont know if its in cwm also ) to format data. careful i dont mean to wipe everything you see because you will remove the recovery too and u will have to flash it back. the format option deletes everything besides the recovery. if you dont format before you go to a totally different rom, then you maybe have issues. especially when going from stock to custom, differences are huge. you must format before flashing. and dont forget the gapps, if they are not inluded in rom. ( in your case miui there must have them inside, because i see its 256 mb+)
Click to expand...
Click to collapse
YES. When I flashed stock V20A, I never had issues with Wifi. Its when I install custom ROM, and any custom ROM.
So I suppose, either there is something wrong in my installing method, or in my stock ROM that won't allow WiFi to work on any custom ROM. But how much influential will be the stock ROM if it is being replaced by a custom ROM?
Well, I haven't formated before I install any custom ROM, as it was not instructed in the forums. But I will do that now, and let you know the results shortly.
Thanks again for the replies.
[email protected] said:
Well, I haven't formated before I install any custom ROM, as it was not instructed in the forums.
Click to expand...
Click to collapse
yea some informations are always missing from the instructions generally , but this is a developer forum , so it doesnt always include informations that are 100% well known to be done. So format and install again and tell me if its everything ok.
kessaras said:
yea some informations are always missing from the instructions generally , but this is a developer forum , so it doesnt always include informations that are 100% well known to be done. So format and install again and tell me if its everything ok.
Click to expand...
Click to collapse
Can you direct me how to install a custom ROM using ADB? Since when I format my /data, all of my custom roms that I copied will get deleted. So the only remaining option is to copy them using ADB.
[email protected] said:
Can you direct me how to install a custom ROM using ADB? Since when I format my /data, all of my custom roms that I copied will get deleted. So the only remaining option is to copy them using ADB.
Click to expand...
Click to collapse
What?????
Why would wiping your /data folder on internal storage delete your custom ROMs? Surely you keep them on your external SD-Card?
[email protected] said:
Can you direct me how to install a custom ROM using ADB? Since when I format my /data, all of my custom roms that I copied will get deleted. So the only remaining option is to copy them using ADB.
Click to expand...
Click to collapse
you dont need to copy it . u can open adb sideload from recovery and on pc use command : adb sideload [path/filename of rom.zip]
SimonTS said:
What?????
Why would wiping your /data folder on internal storage delete your custom ROMs? Surely you keep them on your external SD-Card?
Click to expand...
Click to collapse
So you are saying that, I copy them to external_sd, and then do the data format. Ok ... Will do and let you know.
BTW, I also found V20B. I will start with this stock rom instead of V20A. This might improves some thing.
[email protected] said:
So you are saying that, I copy them to external_sd, and then do the data format. Ok ... Will do and let you know.
BTW, I also found V20B. I will start with this stock rom instead of V20A. This might improves some thing.
Click to expand...
Click to collapse
AT LAST .... FIXED ...
I did two things, V20B, and format /system, /data before installing new ROM. So my steps were:
1) Flush V20B instead of V20A
2) After rooting, and installed CWM 6044 touch, copy custom ROM MIUI to external SDCARD
3) Reboot into recovery, and format /system, /data, and /cache partitions
4) Install custom ROM from external SDCARD
5) Wipe data and cache
6) Reboot into the new world
:good: formatting did the work sorry i didnt think of it earlier.

Reboot after flashing custom rom

After i flash Resurrection Remix OS. My phone always reboot after i get into the google verifycation and go to homescreen. And then my phone reboot again. It always reboot after a few seconds im on the google verification or the homepage.
Im on RR ROM and use unoficial pico gapps
(i look at the RR thread and it said to use the unoficial)
And im try to change the rom and install Lineage OS but i got the same problem.
Ive install the firmware v028/030/034. I try them all.
I root my stock rom MIUI and try to flash the custom rom but i dont see any changes.
Can you guys help me with these problem. What should i do? Am i doing wrong?
Help me with a clear tutorial please
UPDATE
i make the video so please watch it and look what is the problem
[HELP] XIAOMI REDMI 4X FAILED INSTALL CUSTOM ROM (ALWAYS REBOOTING AFTER FEW SECONDS)
It's a Bug. Maybe Some says Die to low network device reboot. Do Check PE, AEX official ROMs as they have Official Kernel source in someways.. maybe it will fix your issue. Or try Flashing A ROM then any Kernel which is using Official kernel sources(like Clarity kernel)

VOLTE NOT WORKING IN MY REDMI 4x

I am beginner in Rooting and Changing ROMs. Means I don't know internal details but able to flash different roms.
I have rooted my phone and installed many custom ROMs such as Pixel-Experience ,HAVOC-OS,Cardinal-AOSP and many others but didn't changed the kernel.
Now,I tried Pie Rom Superior OS and changed the kernel to TheBeatrix.
Now i am unable to call from my JIO SIM to anyone and unable to recieve call and messages.
I also tried Nitrogen OS and Pixys OS after it but still no affect.
What should i do to make my JIO calling work??
Is this a problem with my device now ? or something else ??
Bro you don't worry for this problem 2 days before in my phone (redmi 4x) same problem(Volte) create I have trying many ROMs + Kernel but failed ..
And Last Option Original Firmware Flash file (Miui 1.2gb etc depend Latest File available or Old file)
Flashed with TWRP or Batik Recovery.
After Flashing Flash Lazy Flasher
Than Original ROM of Redmi run my phone
And Reflash Custom ROM + Data (my Backup)
My Problem are Solved .
Dear user now following these Trick...
hemrajgole37 said:
Bro you don't worry for this problem 2 days before in my phone (redmi 4x) same problem(Volte) create I have trying many ROMs + Kernel but failed ..
And Last Option Original Firmware Flash file (Miui 1.2gb etc depend Latest File available or Old file)
Flashed with TWRP or Batik Recovery.
After Flashing Flash Lazy Flasher
Than Original ROM of Redmi run my phone
And Reflash Custom ROM + Data (my Backup)
My Problem are Solved .
Dear user now following these Trick...
Click to expand...
Click to collapse
Can you share the link or details of the file please?

Can I install 4.9 kernel rom using OrangeFox R10?

We've seen the rise of 4.9 kernel since last month. Maybe it's my time for changing rom since I got bored with what I am using right now. So as the title stated, is it working? also is OTA updates still working with this recovery? If it's not or you're not sure which recovery should I use?
4.9 kernel is being Pre-installed on many new updates of android 10 ROMs.
So you can choose and flash ROM which had 4.9 kernel pre-installed. Not sure if it available separately to flash, i would avoid to flash it on 3.18 since they are different and i wont want to cause any issue with device.
but if a ROM already has 4.9 kernel pre installed and there is 4.9 custom kernel available to flash then there should be no issue(but do check flashing guide first)
I did flashed latest build of Havoc OS which is as writing this comment Havoc-OS-v3.5-20200509 and it was running great, but it had slow charging issue and device was getting warm than normal charging so i went back to Havoc 2.9.
I flashed ROM with latest OrangeFox recovery and had no issue while flashing(i did backup everthing to avoid any issue) but it did went just fine.
Currently waiting for Havoc os update.
metelhammer said:
4.9 kernel is being Pre-installed on many new updates of android 10 ROMs.
So you can choose and flash ROM which had 4.9 kernel pre-installed. Not sure if it available separately to flash, i would avoid to flash it on 3.18 since they are different and i wont want to cause any issue with device.
I flashed ROM with latest OrangeFox recovery and had no issue while flashing(i did backup everthing to avoid any issue) but it did went just fine.
Currently waiting for Havoc os update.
Click to expand...
Click to collapse
So you did a clean install for a zip if it had 4.9 in update and currently installed was 3.18?
HuM4NoiD said:
So you did a clean install for a zip if it had 4.9 in update and currently installed was 3.18?
Click to expand...
Click to collapse
I did clean flash. if you are using any 3.18 kernel rom then clean flash is necessary to flash 4.9 kernel rom. do backup everything including persist backup too, to avoid any issue.
help
metelhammer said:
I did clean flash. if you are using any 3.18 kernel rom then clean flash is necessary to flash 4.9 kernel rom. do backup everything including persist backup too, to avoid any issue.
Click to expand...
Click to collapse
Hello I'm very insterested by this threads,
I have a 4x redmi with the MIUI premium 9.1stable rom and the kernel 3.18.31.
I would like to try to install a more recent rom as the author said
can you help me by giving me the procedure.
thanks a lot
korbendallas54 said:
Hello I'm very insterested by this threads,
I have a 4x redmi with the MIUI premium 9.1stable rom and the kernel 3.18.31.
I would like to try to install a more recent rom as the author said
can you help me by giving me the procedure.
thanks a lot
Click to expand...
Click to collapse
Well procedure is already mentioned in respected ROM thread(s) and it is pretty much the same for all the ROMs, no any different flashing method required for Redmi 4X unless it's instructed.
1. Backup everything in your device.
2. Download latest ROM Gapps of your choice. Magisk optional.
3. Reboot to recovery and wipe system, data, cache, dalvik, vendor. (wiping internal storage optional).
4. Flash ROM and Gapps.
5. Reboot to system.
Tanks for your answer,
Just try to flash the havoc-os3.x via recovery after wiping the system,data etc...as the procedure said with orangefox and It ended in an error message...
I should restore my previous rom
The error message indicates that the rom was no for my device santoni. I try to capture the message but I don't find the picture in the orangefox folder...
Interesting. I'm currently on latest release of LOS16.1. Want to try 10 roms in the future. So theres needed a full wipe to be able flash 4.9 kernel with latest roms? How their performance and battery life compared to pie roms? TY

Question Reinstalling stock firmware and ROM

Despite installing custom ROMs since Android 1.6, I did not manage to get this phone working without a lot of defects, so I am trying to restart from the scratch, by installing the stock firmware and ROM, and then reinstall TWRP and proceed with LineageOS installation.
My question is: what is the proper procedure to reinstall stock firmware and ROM? I downloaded
fw-vendor_sweet_miui_SWEETGlobal_V12.5.6.0.RKFMIXM_dbe755ebdf_11.0.zip but adb sideload fails to install it
Hey.. Quick thing - This is just a part of the full MIUI ROM package.. Having only fw+vendor...
sujju said:
Hey.. Quick thing - This is just a part of the full MIUI ROM package.. Having only fw+vendor...
Click to expand...
Click to collapse
Ah ok. In any case do you know how to flash the
fw-vendor_sweet_miui_SWEETGlobal_V12.5.6.0.RKFMIXM_dbe755ebdf_11.0.zip
file? Thank you
In my experience fastboot ROM flashing had better success to revert back to stock. That requires ROM in .tgz format.
This may help you https://androidfilebox.com/tips/how-to-install-miui-fastboot-rom/

Categories

Resources