Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add support for vayu #270

Closed
ojaghiradin opened this issue Sep 8, 2023 · 15 comments · Fixed by #271
Closed

Add support for vayu #270

ojaghiradin opened this issue Sep 8, 2023 · 15 comments · Fixed by #271
Labels
device Request to add or improve a specific device.

Comments

@ojaghiradin
Copy link

Device informations

  • Brand: Xiaomi
  • Phone name: Poco X3 Pro
  • Device code (if unknown, leave blank):
  • Model (if several models exist): M2102J20SG

Device images
Please provide links to any available images of the device, such as official stock firmware or custom ROMs you would like to install.
https://wiki.lineageos.org/devices/vayu/ , https://get.pixelexperience.org/vayu
Do you own the device and would be willing to test the installer?

  • [ yes ]

Additional context
Please provide any additional context or information that may be helpful in adding support for this device.

@ojaghiradin ojaghiradin added the device Request to add or improve a specific device. label Sep 8, 2023
@anon1892
Copy link
Member

anon1892 commented Sep 8, 2023

Same installation process as #222, I will do that today.
You will be able to test it with branch dev-flash-additional (some already / not already merged PR are required to support Xiaomi devices, will all be merged with next update iirc)

@ojaghiradin
Copy link
Author

ojaghiradin commented Sep 8, 2023

first of all sorry for my broken english
im not that technical so idk what a branch is :p
and 2 : i dont have a custom recover installed or have my bootloadr unlocked
how can i do them ?
thanks

@anon1892
Copy link
Member

anon1892 commented Sep 8, 2023

Ok, no problem! If you want to test, we can provide you a running version of the program (no need to do anything, just click it and it will start)

But before that, to install custom ROM, you will have to unlock your bootloader. This will reset your device. Make sure you have a backup! There are the steps :

  • Create a Mi account on Xiaomi’s website. Beware that one account is only allowed to unlock one unique device every 30 days.
  • Add a phone number to your Mi account, insert a SIM into your phone.
  • Enable developer options in Settings > About Phone by repeatedly tapping MIUI Version.
  • Link the device to your Mi account in Settings > Additional settings > Developer options > Mi Unlock status.
  • Download the Mi Unlock app with the link bellow (Windows is required to run the app), and follow the instructions provided by the app. It may tell you that you have to wait, usually 7 days. If it does so, please wait the quoted amount of time before continuing to the next step!
  • After device and Mi account are successfully verified, the bootloader should be unlocked.
  • Since the device resets completely, you will need to re-enable USB debugging to continue : Settings > Additional settings > Developer options > USB debugging

@MagicLike MagicLike linked a pull request Sep 8, 2023 that will close this issue
tsterbak added a commit that referenced this issue Sep 27, 2023
Asked here : #270 

This device configuration file is not tested. (but should be working,
LineageOS installation process is the same as #222, and so the device
configuration file is)

Maybe @ojaghiradin want to test it?
@tsterbak
Copy link
Member

tsterbak commented Oct 2, 2023

Has been released with 0.5.0.

Feel free to report your experience with the new release.

@tsterbak tsterbak closed this as completed Oct 2, 2023
@MagicLike MagicLike added the needs testing Device support was added, but it still needs testing label Oct 2, 2023
@ojaghiradin
Copy link
Author

i will be testing it soon but i dont know how to back up all my data
can any one help me with that ?
i will test it as soon as i backup my data

@tsterbak
Copy link
Member

tsterbak commented Oct 2, 2023

i will be testing it soon but i dont know how to back up all my data
can any one help me with that ?
i will test it as soon as i backup my data

Hey, thank you that you want to test the installer with your device :)

I can only recommend to backup everything in a manual way. Connect your device to a computer and copy what you want to keep. Automatic backup solutions don't work well from what I can tell. In general on Android and especially on custom ROMs. Only use them when you verified they work for your setup.
Long story short, copy everything you can to your PC, everything else will be gone.

@ojaghiradin
Copy link
Author

thank you
after backing my data up , i tried to test it but it says i need to a12 installed , i currently have a13 installed on my phone
do i have to downgrade ?

@tsterbak
Copy link
Member

tsterbak commented Oct 3, 2023

If you are trying an Android 12 based ROM (like LineageOS 19.1), I guess you should be on Android 12. But thats probably a question @anon1892 can answer better.

@anon1892
Copy link
Member

anon1892 commented Oct 3, 2023

do i have to downgrade ?

You have to be on the same Android version you want to install (or last available for phones no more supported by the manufacturer) (unless exceptions)
It's generally written when you download your ROM : use the version developers recommend

Examples :
For Lineage 19.1, Android 12 is needed (so you have to downgrade)
For crDroid (A13), latest version (Android 13) is good

@ojaghiradin
Copy link
Author

so i can install pixel experience right ?
and one more thing
in the official pe website it says that for my device its deprecated
what does it mean ?
can i install it ?
thank you

@anon1892
Copy link
Member

anon1892 commented Oct 3, 2023

Yes, you can ! Download PE (Android 13), so you don't have to downgrade or whatever (they don't specify a specific version you should be on)
Deprecated only signify there is no maintainer (so bugs may not be patched, but officially supported devices almost never have bugs, so no worries ^^)

@ojaghiradin
Copy link
Author

Thank you soooooooo much

@ojaghiradin
Copy link
Author

thank you thank you thank you
i installed pixel experience today
and i swear to god it was the most easy thing that i have ever done
thank you so much
its amazing

@tsterbak
Copy link
Member

thank you thank you thank you
i installed pixel experience today
and i swear to god it was the most easy thing that i have ever done
thank you so much
its amazing

Thanks for the great review! 😄 I'm happy it worked so well for you! :)

@anon1892
Copy link
Member

thank you thank you thank you

You're welcome, happy to help!

@tsterbak Can you remove untested metadata and mark vayu as tested in the README ?

@MagicLike MagicLike removed the needs testing Device support was added, but it still needs testing label Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device Request to add or improve a specific device.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants