[GUIDE] How to correctly flash a GSI rom and avoid fastboot boot bug - Nokia 6.1 Plus (X6) Guides, News, & Discussion

Disclaimer:
use this guide at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware and any kind of damages/losses.
GUIDE​
Download your rom (i suggest you omnirom or RR remix).
Download this files (MANDATORY)
Download TWRP
vbmeta
Reboot to fastboot, and do all of this in one time (don't reboot to one to another command).
-fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
-fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
-fastboot erase system_a
-fastboot erase system_b
-fastboot flash system_a nameoftherom.img
-fastboot flash system_b nameoftherom.img
-fastboot reboot
-press again the volume - + power to re enter in bootloader
-fastboot getvar all, see what partition is active
-fastboot --set-active=_a if the active partition is _a or _b if the active partition is _b
-fastboot boot twrp.img
-Once booted, go to wipe, and swipe to wipe data\factory reset.
-Go to wipe again, advanced wipe, tap on system squarebox, select Repair or Change File System, tap on resize file system then swipe (this will allow you to flash gapps)
-Flash Gapps
-Flash magisk
-Flash Twrp permanent link
Enjoy!

Sir i can't flash gsi image bigger than 2.5gb..
Any solution for this???
Because many popular gsi rom size is over than 2.5 gb..

Pixel Dust GSI
Is there any way to manually update security patches on this ROM?

brtq82 said:
Is there any way to manually update security patches on this ROM?
Click to expand...
Click to collapse
You have to flash the newest version of the GSI manually.

I've tried several GSI roms, and I can't select LTE on any of them, only the global option, so when I select my apn I can't make or receive calls? Anybody know the solution for this?

There is a small mistake in your guide.
The line
Code:
fastboot --set-active=_a
should be
Code:
fastboot --set-active=a
The underscore in your line made me not able to switch slots and when I removed the underscore it worked!

Related

Failed to enter on system after bootloader unlock and did oem lock (XT1650-03)

After got the code to unblock my bootloader, I did "fastboot oem_unlock CODE" and I've not managed to boot into my system (screen telling me: your device has been unlocked and cannot be trusted without showing mine ID), after that I've installed the twrp-3.0.2 from the official site and tried to install LineageOS14.1 after failing this I've screwed up everything trying to "fastboot oem lock", and adb keeps me telling to provide boot.img ... Sorry for troublesome case... :crying:
IanF_ said:
After got the code to unblock my bootloader, I did "fastboot oem_unlock CODE" and I've not managed to boot into my system (screen telling me: your device has been unlocked and cannot be trusted without showing mine ID), after that I've installed the twrp-3.0.2 from the official site and tried to install LineageOS14.1 after failing this I've screwed up everything trying to "fastboot oem lock", and adb keeps me telling to provide boot.img ... Sorry for troublesome case... :crying:
Click to expand...
Click to collapse
You don't have to lock you bootloader, the message is something it happens to all moto devices once they are unlocked, you can rid of it by flashing a new logo, not big deal, btw, the same happens to me: "ID: none" and till now nothing happened to my phone. Is normal after unlocking your bootloader that takes more time than usual to reboot.
sometimes the system partition got corrupted. Please enter to your bootloader and flash entire system again. download the system file and flash this
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash oem oem.img
fastboot flash fsg fsg.mbn
fastboot flash modem NON-HLOS.bin
fastboot erase cache
fastboot reboot
please comment if you have any question
good luck
juliospinoza said:
You don't have to lock you bootloader, the message is something it happens to all moto devices once they are unlocked, you can rid of it by flashing a new logo, not big deal, btw, the same happens to me: "ID: none" and till now nothing happened to my phone. Is normal after unlocking your bootloader that takes more time than usual to reboot.
sometimes the system partition got corrupted. Please enter to your bootloader and flash entire system again. download the system file and flash this
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash oem oem.img
fastboot flash fsg fsg.mbn
fastboot flash modem NON-HLOS.bin
fastboot erase cache
fastboot reboot
please comment if you have any question
good luck
Click to expand...
Click to collapse
Where may I download the system files? Where can I find an stock rom for Brazil?
IanF_ said:
Where may I download the system files? Where can I find an stock rom for Brazil?
Click to expand...
Click to collapse
Here are some system files
https://forum.xda-developers.com/moto-z/development/moto-z-official-firmware-downloads-t3449837
I don't know where to download the brazilian version, but you can use the Mexican too.
juliospinoza said:
Here are some system files
https://forum.xda-developers.com/moto-z/development/moto-z-official-firmware-downloads-t3449837
I don't know where to download the brazilian version, but you can use the Mexican too.
Click to expand...
Click to collapse
I've flashed the LineageOS 14.1, I only manage to boot when I choose bp tools , but my gsm/cellphone are not working... some Tips?
IanF_ said:
I've flashed the LineageOS 14.1, I only manage to boot when I choose bp tools , but my gsm/cellphone are not working... some Tips?
Click to expand...
Click to collapse
can you enter to the bootloader?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
power off, then press the power and volume down buttons simultaneously.
juliospinoza said:
can you enter to the bootloader?
power off, then press the power and volume down buttons simultaneously.
Click to expand...
Click to collapse
I've flashed twrp and I can enter on bootloader, but start only makes me enter in a loop between twrp and the warning, only option that makes me boot onto lineage is bp tools... and lineage does not have cellular signal
IanF_ said:
I've flashed twrp and I can enter on bootloader, but start only makes me enter in a loop between twrp and the warning, only option that makes me boot onto lineage is bp tools... and lineage does not have cellular signal
Click to expand...
Click to collapse
dude, i dont know what are you trying to do.
If you can enter bootloader and you want to recover the stock system, do as I said in post 2, if you want to have signal on lineage flash
fastboot flash oem oem.img
fastboot flash fsg fsg.mbn
fastboot flash modem NON-HLOS.bin
sometimes the roms mess with the modems.
please comment what exactly are you trying to do with your phone before you brick it.
juliospinoza said:
dude, i dont know what are you trying to do.
If you can enter bootloader and you want to recover the stock system, do as I said in post 2, if you want to have signal on lineage flash
fastboot flash oem oem.img
fastboot flash fsg fsg.mbn
fastboot flash modem NON-HLOS.bin
sometimes the roms mess with the modems.
please comment what exactly are you trying to do with your phone before you brick it.
Click to expand...
Click to collapse
I've only flashed a Lineage OS rom (december one), but I've prefer to flash a stock system now.. I'll download the Mexico one...
IanF_ said:
I've only flashed a Lineage OS rom (december one), but I've prefer to flash a stock system now.. I'll download the Mexico one...
Click to expand...
Click to collapse
Good, enter bootloader and flash this
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash oem oem.img
fastboot flash fsg fsg.mbn
fastboot flash modem NON-HLOS.bin
fastboot erase cache
THIS IS OPTIONAL, this will erase internal storage----> fastboot erase userdata
fastboot reboot
juliospinoza said:
Good, enter bootloader and flash this
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash oem oem.img
fastboot flash fsg fsg.mbn
fastboot flash modem NON-HLOS.bin
fastboot erase cache
THIS IS OPTIONAL, this will erase internal storage----> fastboot erase userdata
fastboot reboot
Click to expand...
Click to collapse
After everything my system insist to boot on twrp... maybe i've flashed twrp on boot partition :/
IanF_ said:
After everything my system insist to boot on twrp... maybe i've flashed twrp on boot partition :/
Click to expand...
Click to collapse
two possible escenarios.
1. your bootloader is locked and you didnt flash the stock recovery (please share the data or the fastboot flashing), you must be able to see after every step "writing.... OK"
2. try to reflash a different version of TWRP, after this the bootloop will fix, this is reported to work most of the times; and after that you can reflash the stock recovery
please report
juliospinoza said:
two possible escenarios.
1. your bootloader is locked and you didnt flash the stock recovery (please share the data or the fastboot flashing), you must be able to see after every step "writing.... OK"
2. try to reflash a different version of TWRP, after this the bootloop will fix, this is reported to work most of the times; and after that you can reflash the stock recovery
please report
Click to expand...
Click to collapse
I've managed to install the system on the correct partitions! Thanks!!!

[ROM] GSI Joyeuse Blissrom From Phoenix Rom (Note 8)

Hi Bro,
I Have Try Installed Fastboot Rom from Bliss-v12.10-phoenix into my joyeuse and that is successfully
1. Download the firmware from HERE
2 Extac it, you got boot.img product.img system.img vbmeta.img vbmeta_system.img
3. We only need product.img system.img vbmeta.img vbmeta_system.img
3. Make sure You got bootloader unlocked, Reboot into fastboot mode or turn off your phone and press power button and vol down button (togather)
4. fastboot reboot fastboot
5. fastboot --disable-verity --disable-verification flash product product.img
6. fastboot --disable-verity --disable-verification flash system system.img
7. fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
8. fastboot --disable-verity --disable-verification flash vbmeta _system vbmeta_system.img
9. fastboot reboot recovery
10. Erase Your Phone and reboot
I have been try Havoc OS GSI but still bug in fingerprint like ghost touch every touch the fingerprint
DOWNLOAD
- Thankyou @sooti for the tutorial befor

How to: Run an GSI on NORD

To run an GSI on your Nord:
Unlock bootloader
Toogle oem unlock in Developer options
Reboot to fastboot (turn of phone, press volume down and start)
Run
-fastboot oem unlock
Install GSI (check https://forum.xda-developers.com/project-treble/trebleenabled-device-development)
Select ARM 64 A/B version
Download vbmeta vbmeta.img and vbmeta_system.img from https://forum.xda-developers.com/oneplus-nord/development/rom-lineageos-17-1-t4147863
Install from fastboot:
- fastboot reboot fastboot
- fastboot flash system system_of_your_choice.img
- fastboot --disable-verity flash vbmeta vbmeta.img
- fastboot --disable-verity flash vbmeta_system vbmeta_system.img
- fastboot -w
- fastboot reboot
Credit to lakshay18 for the vbeta files
I run V222system10-arm64-ab-ufOxTERM.img from oF2pks, only bugs found: tap to wake functional some graphical bug
I use nord. In the Lineage 17.1 by @lakshay18, he has mentioned flashing product.img. Should we need product img as well for flashing? Also do we need TWRP? I have no luck with flashing using TWRP
There's no space to install even minimal gapps after installing https://forum.xda-developers.com/t/gsi-11-lineageos-18-x-gsi-all-archs.4205461/
Someone please reupload vbmeta vbmeta.img and vbmeta_system.img.

TWRP (BETA) Motorola One Macro

HI everyone...
During last Weeks I have been working on getting a recovery working for this device, I upload the first version of what I have done, I was not able to test it properly due there is an issue with touchscreen if someone has the possibilitie to test it with an mouse that would be great. It was made for the xt2016-2 version only regards
You will need fastboot on your PC:
https://forum.xda-developers.com/showthread.php?t=2317790
as well a bootloader unlocked
WARNING:Flashing this may get device encrypted data so it may delete your data
i am not responsable of any damaged device
first you have to know your active slot on the device for that you will do the following:
Make sure the smartphone is connected to the PC with a USB cable
Now boot the smartphone into Fastboot Mode
Open up a Command Prompt, Windows PowerShell, or a Terminal in the same folder as your ADB and Fastboot files
Type out the following command. . .
fastboot getvar all
. . .then press Enter on the keyboard
Wait for a lot of text to finish scrolling and look for the (bootloader) current-slot text
This should actually be toward the bottom without the need to scroll up.
The letter after this text will be the currently active partition slot for your device
Commands to flash it and things you will need:
Blank vbmeta (To remove AVB verfication): https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
command: fastboot --disable-verification flash vbmeta_(slot what you are using) vbmeta.img
then we are gonna flash the TWRP image
TWRP XT2016-2: https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
Command: fastboot flash boot_(slot what you are using) TWRP.img
NOTE: REMOVE THE () AND JUST PUT THE LETTER*
In case of brick: I leave stock images
command for vbmeta: fastboot flash vbmeta_a vbmetastock.img
command for vbmeta: fastboot flash vbmeta_b vbmetastock.img
Vbmeta:https://mega.nz/file/OP5jAISC#NFLCqerxXZC5aY9-WW5fq6cUlZ6WWwDQxIMvfN0nOxI
Boot:https://mega.nz/file/3fIQhQzA#GFeIbb1TYPg8x8Lq_fBiNu9UFenUgvFH1-eVjIm4uqE
You flash boot same way than previous one.
If someone wants to help with the developing just pm me and I'll answer as soon i can
Can't Download TWRP
Hey,
I want to try this but the TWRP link leads me to vbmeta link so I can't download it.
Test
I want to help you testing this but the link of TWRP is the same as the one for the vbmeta file
command: fastboot --disable-verification flash vbmeta_b vbmeta.img
returns
PS C:\adb> fastboot --disable-verification flash vbmeta_b vbmeta.img
C:\adb\fastboot.exe: unknown option -- disable-verification
Dr0wn3d said:
command: fastboot --disable-verification flash vbmeta_b vbmeta.img
returns
PS C:\adb> fastboot --disable-verification flash vbmeta_b vbmeta.img
C:\adb\fastboot.exe: unknown option -- disable-verification
Click to expand...
Click to collapse
Fastboot commands do not necessarily work on all Android devices. Their compatibility differs from OEM to OEM.
Dr0wn3d said:
command: fastboot --disable-verification flash vbmeta_b vbmeta.img
returns
PS C:\adb> fastboot --disable-verification flash vbmeta_b vbmeta.img
C:\adb\fastboot.exe: unknown option -- disable-verification
Click to expand...
Click to collapse
Use: fastboot --disable-verity flash vbmeta_b vbmeta.img (For Slot_B)
fastboot --disable-verity flash vbmeta_a vbmeta.img (For Slot_A)
i cant download twrp too... any way I can help?
thanks
Blank vbmeta (To remove AVB verfication): https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
command: fastboot --disable-verification flash vbmeta_(slot what you are using) vbmeta.img
then we are gonna flash the TWRP image
TWRP XT2016-2: https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
[/QUOTE]
This two link are the same, please upload the TWRP link again, thanks
no more updates or new link?
umago mais sobre o twrp/

[Guide] How To Fastboot Flash without PC for Redmi 9(lancelot) && Poco M2

Steps to flash Miui without PC(fastboot flash)
Requirements:
• An OTG cable
• An extra phone
• Working Human brain
Method 1(root):
(1) Download termux(playstore), flash this (https://ghostmirror.hitesh920.workers.dev/0://ADB_&_Fastboot_for_Android_NDK-1.0.41(104107).zip) in magisk, reboot
(2) Download miui fastboot image, extract, in downloads folder, inside the folder, there is a folder called images, move that folder in Downloads folder
(3) Open termux and type
pkg install wget
rm -rf fastboot_flash_no_pc.sh && wget https://mirror.akshaykakatkar.dev/fastboot_flash_no_pc.sh
(If it gives internal server error, simply type again)
su
(4) Connect phone to otg, and type,
chmod +x * && ./fastboot_flash_no_pc.sh
(6) fastboot flash should start and complete after 10-15min
Method 2(non root):
(1) Download This (https://play.google.com/store/apps/details?id=eu.sisik.hackendebug) app
(2)Download miui fastboot rom, extract, inside that folder, there is Images folder, place the images folder in Downloads folder
(3) Open the app, go in fastboot section, and type these commands one by one, and select files from images folder
fastboot erase boot
fastboot flash preloader
fastboot flash logo
fastboot flash tee1
fastboot flash tee2
fastboot flash scp1
fastboot flash scp2
fastboot flash sspm_1
fastboot flash sspm_2
fastboot flash lk
fastboot flash lk2
fastboot flash super
fastboot flash cache
fastboot flash recovery
fastboot flash boot
fastboot flash dtbo
fastboot flash vbmeta
fastboot flash spmfw
fastboot flash md1img
fastboot flash vbmeta_system
fastboot flash vbmeta_vendor
fastboot flash cust
fastboot flash exaid
fastboot flash userdata
fastboot reboot
credits: @Akash23q2 for helping and testing
Thanks for sharing
thanks for the guide

Categories

Resources