MIA1 custom rom update - chiedo aiuto passo passo

Se è mobile allora qui trova il suo posto ideale
Rispondi
Avatar utente
Blobay
Messaggi: 1319
Iscritto il: martedì 3 novembre 2015, 14:00

MIA1 custom rom update - chiedo aiuto passo passo

Messaggio da Blobay »

Mia moglie ha cambiato telefono perché questo non si caricava più... ed anche perché lo voleva cambiare.
Sono riuscito a sostituire l mudulo usb ed ora funziona perfettamente. A parte la normale usura, ho una batteria di ricambio e delle pellicole protettive, funziona bene in 4G... Insomma, può ancora essere un ottimo telefono.

Vorrei dunque installare una versione rom aggiornata, attualmente gira con la MIUI basata su android 9.
Non l'ho mai fatto prima, se non tanti anni fa su di un tablet e devo dire che non mi è andata troppo bene.

Ho trovato e sto scaricando la versione che mi sembra essere la più leggera e quella con le caratteristiche meno customizzate:
https://forum.xda-developers.com/t/rom- ... le.4351515

Ho installato TWRP nel telefono da playstore. Ovviamente mi chiede il root anche per fare il backup... che non ho.

Stavo seguendo questa guida passo passo, ma i link non funzionano:
https://www.getdroidtips.com/android-12-xiaomi-mi-a1/

Vi chiedo dunque di seguirmi ed indicarmi tutto quello che devo fare per aggiornare il telefono.

Grazie in anticipo.

Avatar utente
Blobay
Messaggi: 1319
Iscritto il: martedì 3 novembre 2015, 14:00

Re: MIA1 custom rom update - chiedo aiuto passo passo

Messaggio da Blobay »

OK, intanto ho installato

Codice: Seleziona tutto

adb

Codice: Seleziona tutto

fastboot
dentro linux, ho impostato la modalità usb debug, come da guida:

https://www.getdroidtips.com/unlock-boo ... omi-mi-a1/

Spoiler: mostra
Steps to Unlock Bootloader on Xiaomi Mi A1

1 - First of all, enable the Developer Option
2 - To Enable the Developer Option, Go to your Settings -> About -> Software Information -> More -> Now Tap on the Build Number 7-8 Times until you see a toast message “Developer option enabled“build
3 - Go back to settings -> Now you need to enable the OEM Unlock by going to Settings -> Developer Option and Enable OEM Unlock and USB Debugging
4 - Download and Extract the Downloaded ADB fastboot Zip file on your PC.
5 - Now connect your phone to Computer using USB Cable.
6 - When you connect your Phone to Computer, please wait until all the drivers get installed.ADB Folder
7 - In your ADB fastboot folder open a command prompt window by pressing Shift Key + Right Mouse Click
8 - Now type the command in your command window

Codice: Seleziona tutto

adb devices
9 - If you see a pop up to allow USB Debugging on your phone, Click OK pop up to allow USB Debugging
10 - Now type the command below to reboot your phone to bootloader

Codice: Seleziona tutto

adb reboot bootloader
11 - Once your phone reboot into bootloader, make sure your phone shows the bootloader locked and then type the command below to make sure fastboot drivers are installed properly.

Codice: Seleziona tutto

fastboot devices
12 - This command will list the connected devices. If your phones serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly. In order for you to continue, you must fix your drivers so that your phone is listed under fastboot devices.fastboot
13 - If the phone has been recognized by the command above, proceed to unlock the bootloader with the following command:
Remember that this step will wipe EVERYTHING off the phone

Codice: Seleziona tutto

fastboot oem unlock
14 - After the above command has finished executing, run the following

Codice: Seleziona tutto

fastboot reboot
15 - The phone will reboot. Wait until the phone has fully booted up into Android, and enjoy!

Sono riuscito (credo) a diventare ROOT
Ultima modifica di Blobay il martedì 25 aprile 2023, 20:34, modificato 3 volte in totale.

Avatar utente
Blobay
Messaggi: 1319
Iscritto il: martedì 3 novembre 2015, 14:00

Re: MIA1 custom rom update - chiedo aiuto passo passo

Messaggio da Blobay »

OK, ho problemi TWRP. l'ho installato ma non ho capito cosa ci devo fare.
A parte il fatto che mi crasha, ma non so se gli devo dare in pasto il file d'immagine del reboot, o il file immagine del firmware da installare.
Ho provato anche a lanciare twrp tramite fastboot, indicandogli l'ultima immagine disponibile scaricata dal sito:
https://twrp.me/xiaomi/xiaomimia1.html


Spoiler: mostra
Fastboot Install Method (No Root Required):

On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:

adb reboot bootloader

You should now be in fastboot mode.

Download the correct image file and copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:

fastboot flash recovery twrp.img

fastboot reboot

Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.


Si avvia, ma poi da errore:

Codice: Seleziona tutto

$ fastboot flash recovery recovery.img
Sending 'recovery' (31024 KB)                      OKAY [  1.033s]
Writing 'recovery'                                 FAILED (remote: 'partition table doesn't exist')
fastboot: error: Command failed
Ultima modifica di Blobay il martedì 25 aprile 2023, 20:49, modificato 1 volta in totale.

Avatar utente
Blobay
Messaggi: 1319
Iscritto il: martedì 3 novembre 2015, 14:00

Re: MIA1 custom rom update - chiedo aiuto passo passo

Messaggio da Blobay »

Cercando in giro ho trovato il disguido.
Il telefono MIA1 possiede due partizioni distinte, quindi quando si va ad inviare il comando, bisogna indicare anche la partizione su cui si vuole operare:

Codice: Seleziona tutto

fastboot flash boot_b twrp.img
A quel punto twrp è partito e mi ha permesso di conseguenza di fare il backup di sistema ed anche il flash della nuova iso.
Attualmente sta girando un a versione Pixel di Android 12 completa del playsore :run:

Rapida e scattante, sembra di avere un hardware di ultima generazione :aiuto:

Se a qualcuno interessasse, posso fase un riassunto di tutti i passaggi.

Rispondi