CONSIDERATIONS (aka What Does Not Work):
NVidia Controller. This ROM does not include the support for such as I did not patch Frameworks Base.
HDMI AV Output (no support for audio for a while now)
Kodi (older than Jarvis 16beta4) and some games do not have touch
Netflix (and other apps that require WideVine) remain finicky
DOWNLOAD:
CarbonROM Downloads
GAPPS:
Beans GApps ARM
INSTRUCTIONS: (if coming from Lollipop, extra steps are italicized)
Download ROM above, and GApps package
Save/push files to your (External) SD card (preferably in the root folder where you can find it later)
Reboot into recovery ("adb reboot recovery")
Nandroid/Back up device (optional, but highly recommended, especially if coming from stock)
[*]Reboot to bootloader, activate fastboot (second option)
[*]Flash staging blob from Stock 5.x ROM ... "fastboot flash staging blob.img"
[*]Select option to power off device, wait a few seconds, then power on
[*]Let the system bootloop (or boot fully, depending on the LP version), then power off (hold the power button for 10 to 12 seconds)
[*]Use the magic keys (Vol-Dn + Pwr) to get back into bootloader, activate fastboot
[*]Flash TWRP or Carbon Recovery ... "fastboot flash recovery name-of-recovery.img"
Wipe cache and data/factory reset (unless updating from previous CarbonROM Nougat build)
Install ROM and GApps (always flash ROM first in line)
Wipe Dalvik cache
Reboot
Enjoy!
DOWNGRADING: (to Lollipop, if need be)
Reboot to bootloader, activate fastboot (second option)
Flash staging blob from 3.1.1 ROM ... "fastboot flash staging blob"
Select option to power off device, wait a few seconds, then power on
Let the system bootloop, then power off (hold the power button for 10 to 12 seconds)
Use the magic keys (Vol-Dn + Pwr) to get back into bootloader, activate fastboot
Flash TWRP ... "fastboot flash recovery name-of-recovery.img"
Restore previously made backup
Related
Experimental and under development, certain functions may cause damage up to and including data loss and bricking!
Features:
Full touch UI
Working mounts for system, data, cache, external sd
AROMA compatible
4.2 Jellybean Compatible
Changelog:
Fixed mounts, access to external SD for backup/restore and flashing.
Updated to 2.3.2.3. Automounts external SD, built against JB Source, curtain animation removed, 4.2 compatible.
Installation Instructions:
This assumes you still have your drivers from when you rooted, and you have an unlocked bootloader. If not, go unlock it.
Download the recovery image someplace useful, like where you have fastboot installed, or c:\twrp
Reboot into download mode (fastboot mode) by powering on holding volume down, then selecting the usb icon with volume down then power to select.
On the PC, type fastboot flash recovery twrp-thrive.img
Once it's done (should be like 3 seconds) type fastboot reboot then hold down volume down again, this time selecting recovery
Enjoy TWRP recovery!
Alternate Installation:
Flash the TWRP flashable zip in CWM same as you would flash any ROM/Kernel.
Uses the Balthesaur Kernel
Downloads:
TWRP 2.3.2.3 Fastboot Flash image
Flashable Files:
TWRP 2.3.2.3 Recovery flashable zip - Flash in recovery same as any other ROM/kernel
CWM Recovery flashable zip (thanks to dalepl) - Returns you to CWM Touch Recovery, flash in recovery same as any other ROM/kernel
Instead of rooting, installing CWM and then installing the ROM, it’s better to just:
• Copy the downloaded ROM to Internal Memory or SDCard (modem file also for L/S versions)
• Download universal fastboot/adb drivers (link provided)
• Turn Off the phone, Press VolUp+VolDown and press power until you are in the bootloader
• From there select Fastboot
• Browse for drivers when prompted and install them (you may have to forcefully install them)
• Download recovery (link provided) and run CWM 6.0.4.8.bat (recommended) or TWRP 2.8.6.0 (may not work well with stock based roms) and the phone should boot straight into recovery
• Factory Reset, Wipe Cache and Dalvik
• Formatting System, Data and Cache is up to you
• Install ZIP and when you are about to reboot it’ll ask to disable flash recovery, select NO to keep the stock recovery as you can boot into custom recovery directly anyways
• Stock recovery is a better option for factors resets and adds a little more security of data in case phone is lost/stolen
• Doesn’t matter if you are coming from AOSP or any other ROM. This ROM also installs Modem, Stock Recovery etc…
Enjoy the stock KitKat sweetness
NOTE: You may also try installing the ROM on L/S versions but make sure to install Modem file right after installing the ROM. Links for modem files are also provided here for convenience
Here are links to download:
1. Fastboot/ADB Drivers
http://forum.xda-developers.com/attachment.php?attachmentid=3446458&stc=1&d=1440144523
2. Recovery
https://drive.google.com/file/d/0B8_wtN-YXTxndkhkZ2QwcTR1d2c/view?usp=sharing
3. ROM
https://drive.google.com/file/d/0B8_wtN-YXTxnTGRBWnpyZmlzd1E/view?usp=sharing
4. Link Modem: 850L
https://drive.google.com/file/d/0BxveGwot73rCYmZlem5JbXJDQkE/view?usp=sharing
5. Link Modem: 850S
https://drive.google.com/file/d/0BxveGwot73rCTkV1amFpVHVJR1k/view?usp=sharing
My experience flashing ferrari Mi4i with cm 12.1 from stock MIUI 7, and face bootloop. some thread suggesting flash MIUI stock 6 or lower. Downloading fastboot rom of about 900 MB painful for slow internet. after investigating, the bootloop is caused by CM 12.1 (including Mokee rom) built with compatibility on stock rom 6 or lower. So I repack the tools from fastboot stock rom Mi4iGlobal_V6.5.4.0.LXIMICD and delete userdata.img, system.img, ADDED TWRP-3.0.0-ferrari (to replace stock recovery): modify the script to achieve Mi4i stage to ready to flash with custom rom (cm 12 probably cm 13) and no bootloopTested with cm 12.1
PC Pre-requirements :
Your ferrari
Download custom rom your wish to flash to ferrari
Download appropriate gapps
Dowload supersu (not mandatory)
Put all zip file in your root of sdcard storage (internal storare)
In Your PC : windows or linux
Working fastboot (and adb) on the PC
USB Driver for ferrari installled
Procedure
Dowdload zipped tools HERE
Extract the tools any where in your home directore
Open Terminal/console > Navigate to the extracted folder
Turn your ferrari to fastboot mode ( push power button and volume down simultaneously)
Connect ferrari to PC via usb
For linux > execute $sh linux-flash-mi4i_b4_cm.sh > hit enter. Note : if you should use sudo to access fastboot execute $ sudo sh linux-flash-mi4i_b4_cm.sh
For window > double click win-flash_mi4i_b4_cm.bat
After finishing flashing your ferrari will still in FASTBOOT MODE. Switch off (push power button and release) push volume up before release. Sub all going well you will prompted with TWRP 3 on your ferrari do flashing your customs ROM :
Wipe system, cache, dalvik cache (NOTE : do not wipe /sdcard coz you have custom rom.zip and gapps.zip for flashing)
Install cm rom zip, gapps .zip
Wipe cache
Reboot to system
Enjoy CM without bootlop
after double click on win-flash_mi4i_b4_cm.bat nothing happens?
ShawnMercer said:
after double click on win-flash_mi4i_b4_cm.bat nothing happens?
Click to expand...
Click to collapse
worked for me. did you open a terminal in the specific folder?
x1123 said:
My experience flashing ferrari Mi4i with cm 12.1 from stock MIUI 7, and face bootloop. some thread suggesting flash MIUI stock 6 or lower. Downloading fastboot rom of about 900 MB painful for slow internet. after investigating, the bootloop is caused by CM 12.1 (including Mokee rom) built with compatibility on stock rom 6 or lower. So I repack the tools from fastboot stock rom Mi4iGlobal_V6.5.4.0.LXIMICD and delete userdata.img, system.img, ADDED TWRP-3.0.0-ferrari (to replace stock recovery): modify the script to achieve Mi4i stage to ready to flash with custom rom (cm 12 probably cm 13) and no bootloopTested with cm 12.1
PC Pre-requirements :
Your ferrari
Download custom rom your wish to flash to ferrari
Download appropriate gapps
Dowload supersu (not mandatory)
Put all zip file in your root of sdcard storage (internal storare)
In Your PC : windows or linux
Working fastboot (and adb) on the PC
USB Driver for ferrari installled
Procedure
Dowdload zipped tools <link removed>
Extract the tools any where in your home directore
Open Terminal/console > Navigate to the extracted folder
Turn your ferrari to fastboot mode ( push power button and volume down simultaneously)
Connect ferrari to PC via usb
For linux > execute $sh linux-flash-mi4i_b4_cm.sh > hit enter. Note : if you should use sudo to access fastboot execute $ sudo sh linux-flash-mi4i_b4_cm.sh
For window > double click win-flash_mi4i_b4_cm.bat
After finishing flashing your ferrari will still in FASTBOOT MODE. Switch off (push power button and release) push volume up before release. Sub all going well you will prompted with TWRP 3 on your ferrari do flashing your customs ROM :
Wipe system, cache, dalvik cache (NOTE : do not wipe /sdcard coz you have custom rom.zip and gapps.zip for flashing)
Install cm rom zip, gapps .zip
Wipe cache
Reboot to system
Enjoy CM without bootlop
Click to expand...
Click to collapse
Thanks ever so much :good:. That worked like a charm! Now I have AICP 12.1
Step by Step Installation of/Upgrade to Android Pie Custom Roms
Following this guide, you will lose all your data if haven't backed it up yet!!
Also NO USING GSI PIE!!!
Requirements:
- Twrp is already installed.
What you need:
- LineageosTWRP (Attached to thread)
- Custom Rom (can be found here)
- Open Gapps (Pico or Nano)
Only if Root is wanted: Chose either of them
Magisk(Recommended) or SuperSU
- A brain and a body
- The Knowledge that you will wipe your phone by doing this. Be Warned.
Installation:
1. Backup all the files that you have either by copying them to a usb drive ,a micro SD or your computer.
2. Check that all files are copied successfully and can be opened or viewed.
( Some apps have a cloud synchonisation feature, use it if you have it as an option since it is really helpful!)
3. Now, get your preferred rom, gapps and if wanted, your root method ready, also unzip the twrp file aswell.
Copy them to your micro SD.
4. Boot into twrp via adb or by using some app(root needed).
In Twrp, go into wipe option, then select change file system. Change file System to ext4.
4.1 Now use Twrp Reboot-Menu Option to reboot into recovery(twrp) again.
4.2 Wipe system, data, cache and dalvik-cache partitions using the Wipe option
5. Go into Install Option and Press on "Install IMG" , select pietwrp image and flash it. (The name should be lineagerecovery.img or something if downloaded via telegram)
(If you don't have it yet and are in the Lenovo P2 Telegram group, type #pietwrp in chat and make sure to safe it to your download folder. Otherwise it's also attached to this thread.)
6. Reboot back to recovery like you did in step 4.1.
7. Now install your rom and gapps.
8. Wipe cache and then reboot .
9. Setup your phone and Enjoy.
( For Root, reboot to recovery. Flash your Root Method, wipe cache and reboot)
Enjoy and thank your Devs
FAQ
Q: Instructions unclear, phone stuck in bootloop
A: Either do this:
Download this folder and use one of the two ".bat" files. Boot into Bootloader via Volume Down and Power Button. --
It will flash S048 Firmware of our Lenovo P2, after the flash-process is finished it will boot up on its own. Recommended: Do all the ota updates via ota app.
Or: Boot into bootloader, via adb cmd prompt use: fastboot boot lineagerecovery.img , then use reboot menu to reboot into twrp. Clean Wipe phone(Wipe system,data, cache and dalvik-cache Partitions) and try flashing your Rom etc. again.
Q: Instructions unclear, hardbricked my phone!!
A: Thaat shouldn't have happened. Did you screw up somewhere?...
Luckily you backed up your most important files!
My new Xiaomi Poco X3 Pro is showing an error screen after some time, like in this post:
https://forum.xda-developers.com/t/cant-load-android-system-lineageos.4314035/
It reads "Can't load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device"
This happened so far:
I just unlocked the boot loader of my new phone after week of waiting.
I followed the official lineage instructions to install the OS: https://wiki.lineageos.org/devices/vayu/install
Everything worked including the sideloading via db.
I downloaded those two files for the LineageOS-Site:
- Recovery via fastboot: lineage-18.1-20211203-recovery-vayu.img (recovery works, I can still boot into recovery)
- System via adb: lineage-18.1-20211203-nightly-vayu-signed.zip
I also added Gapps via adb: "open_gapps-arm64-11.0-nano-20211204.zip"
Both adb transfers exited successfully.
After the first error screen
- I tapped Try again,
- When the error occurred again, I tapped "Factory data reset," but the error still occurred. The phone is new, no user data is on the phone.
- I booted into recovery and reset all the data I could. When I tap "Format system partition" it throws an error "E: Failed to open /dev/block/dm-0: No such file or directory. System wipe failed."
- Then I repeated the adb sideload. The error occurs again.
- I removed the SIM card, as someone in the forum suggested this could be a problem source. The error still occurs.
What can I do now?
----
Update [2021-12-05 Sun 20:09]
It seems to be a Problem with the GApps Version.
What I did Try so far is:
- Install 03-12-LOS and latest GApps via LOS recovery (didn't work)
- Install 03-12-LOS and latest GApps via TWRP recovery (didn't work)
- install LOS Build from 26-11-2021 without GApps (works)
- Install LOS Build from 26-11-2021 with latest GApps (didn't work)
- Install LOS Build form 26-11-2021 with GApps from 25-11-2021 (works)
Just use TWRP, flash ROM and AFTER flashing ROM Format Data where you have to type "yes". (Format, not Wipe)
Xiaomi Poco X3 Pro
Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...
twrp.me
Thanks for the Idea. At the moment it has not solved the problem.
This is what I did:
- Flash TWRP
Code:
fastboot flash recovery TWRP-3.5.2-vayu-Nebrassy-2.img
- copy lineage-18.1-20211203-nightly-vayu-signed.zip and "open_gapps-arm64-11.0-nano-20211204.zip" to the Poco device
- install via "install" option, wipe cache at the end of installation
- Format files (via "Wipe" -> "Format Data" -> type "yes")
- Reboot
After some time of the animated Lineage OS logo, the phone reboots into TWRP.
To me this seems very similar to the Lineage recovery before.
Any ideas what could be wrong?
You probably wiped System or Vendor partition or something, you are not supposed to do that.
Most likely you have to reflash MIUI now first. Make sure it's atleast version 12.5.X.X.
Flashing instructions are really simple, this apply to all ROM's.
FIRST INSTALL?:
Remove any fingerprint, PIN, or password in MIUI
Unlock the bootloader
Transfer ROM to internal storage
Install any suitable recovery
Flash ROM zip file
Do a data wipe in recovery (format data)
Reboot to the system, wait and enjoy
FLASHING UPDATES?:
Download via OTA Updater and let it automatically install; OR
Download an update, transfer to internal/external storage (always check file sha256)
Flash ROM zip and reboot.
Do not wipe anything else or add any additional steps. (maybe except Gapps if ROM doesn't have them included)
ps.
In first post there is no mention if you did Format Data or not and when you did it. Like i said before - you have to Formata DATA AFTER flashing ROM . Not before.
This happened so far:
I just unlocked the boot loader of my new phone after week of waiting.
I followed the official lineage instructions to install the OS: https://wiki.lineageos.org/devices/vayu/install
Everything worked including the sideloading via db.
I downloaded those two files for the LineageOS-Site:
- Recovery via fastboot: lineage-18.1-20211203-recovery-vayu.img (recovery works, I can still boot into recovery)
- System via adb: lineage-18.1-20211203-nightly-vayu-signed.zip
I also added Gapps via adb: "open_gapps-arm64-11.0-nano-20211204.zip"
Both adb transfers exited successfully.
Click to expand...
Click to collapse
k3lcior said:
In first post there is no mention if you did Format Data or not and when you did it. Like i said before - you have to Formata DATA AFTER flashing ROM . Not before.
Click to expand...
Click to collapse
I followed the LOS Install Guide: https://wiki.lineageos.org/devices/vayu/install But this procedure does not seem to bee the cause (see below).
Download the LineageOS installation package that you would like to install or build the package yourself.
Optionally, download an application package add-on such as Google Apps (use the arm64 architecture).
If you are not in recovery, reboot into recovery:
With the device powered off, hold Volume Up + Power. When Xiaomi/POCO/Redmi splash appears, release Power and keep pressed Volume Up until recovery appears.
Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
Return to the main menu.
Sideload the LineageOS .zip package:
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
Click to expand...
Click to collapse
Okay so this is what I did (the part that works):
- I downloaded the latest possible stock ROM from https://www.xda-developers.com/down...ut-several-xiaomi-redmi-mi-poco-devices/#vayu The fastboot ROM is more than 5GB.
- Extract the file "vayu_eea_global_images_V12.5.3.0.RJUEUXM_20211015.0000.00_11.0_eea_05cc38de43.tgz"
- then connect the phone via USB cable in fastboot mode and:
Bash:
cd ~/Downloads/vayu_eea_global_images_V12.5.3.0.RJUEUXM_20211015.0000.00_11.0_eea
/bin/bash ./flash_all.sh
- The default MIUI starts flawless, as it dit the first time I turned on the phone. So far so good.
What didn't work:
1. I installed the LOS Recovery again and flashed the OS and Gapps. Only after that I did step 3 - formating. The result ist the same bootloop as in the beginning.
2. I flashed the stock MIUI ROM again (which woks fine). Then I flashed TWRP, transfered the OS and GApps file and installed. I did not wipe anything, just used "format data" like above.
In both cases the OS does not start. After a while displaying the LOS-logo the phone reboots to recovery.
What did work:
I downloaded lineage-18.1-20211126-nightly-vayu-signed.zip, one version before the latest verion and the corresponding recovery lineage-18.1-20211126-recovery-vayu.img
I flashed only the OS, and no GApps -- and it launched successfully. Installing with the latest GApps failed again.
Install older gapp, not all gapp is compatible