Changing ROM, do I need SD Card? - Xiaomi Poco X3 NFC Questions & Answers

Hello,
I'm currently using Corvus OS and I want to change to Arrow OS. How can I cleanly/freshly flash the Arrow OS?
Is this the right steps?
1. Download arrow OS and save it to my SD Card (planning to buy one)
2. Boot to recovery (already have backups)
3. Format Data
3.1. am I missing a next step?
4. Flash Arrow OS
5. Wipe Dalvik/Cache
5.1. Do i need to format data again?
6. Reboot?
Is this right?

There are many ways to flash w/o a sd card, that includes:
Using a PC and adb sideload while in the recovery, although your recovery should support such a feature. (Most of the newer updated ones support it)
Use adb push or manually copying your ROM to /tmp and flash it from there. (Only works if you don't shut off your device or reboot, else will get automatically deleted)
Use a USB stick and an OTG cable/a USB-C stick.
Only step 5.1 is actually mandatory (apart from the usual wipes).

Related

**[GUIDE] Format SD-card complete, Fresh start after many flashes**

Ok so Ive just completely formatted my SD card and installed the first ROM version/file system on it since the format.
All went very smooth and I would like to share my steps with anyone interested.
1. PHONE: flash collective recovery via latest ROM build FOUND HERE
2. PHONE: reboot into touch recovery
3. PHONE: mount usb storage
4. PC: go online and download latest build (ALSO FOUND HERE) to desktop or wherever, then verify md5 to build download.
5.PHONE and PC: browse through existing file system on phone and backup to desktop on pc, any music/ringtones/pictures/CWM backups/important app data using my best judgement and preserving folder layout by copying the entire folders and subfolders.
6.PHONE: disconnect from USB storage
7.PHONE: enter wipe/format menu within recovery then triple wipe(wipe data, cache, dalvik)
8.PHONE: "format all partitions(except SDcard)"
9.PHONE: "format sdcard" from same wipe/format menu (SCREENSHOT SEEN HERE)
10.PHONE: mount USB storage within recovery again and add the latest build .zip file to the root of your sdcard which should have only one folder now... "4EXT". Do not add it within 4EXT but rather below it on root of card. You should now see the folder "4EXT" and the .zip below it.
11HONE: disconnect USB storage
12HONE: install zip from sd and flash latest build, once prompted, reboot.
DONE - with a super clean sccard and install/flash
once your new file system is in place, set-up and stable ... add back your important folders/files as needed via USB
tips. ALWAYS "EJECT" YOUR USB STORAGE DEVICE FROM PC, THEN PHONE! This simple step can save you a big headache later...
You do not have to use Ascention and can flash the ROM of your choice as long as its pre-rooted
Hope this helps anyone who can use it.
FLAWLESS!!!
credit to collective team for ROM/recovery
Awesome!!! Thx

Unable to mount storage in freshly installed TWRP

I have the TX1541 model, 16GB ROM. I just got the device a few hours ago so here's a quick rundown of exactly what I have done with it so far.
1. Boot
2. Go through google setup
3. Install marshmallow update
4. Format Sandisk 32GB SDCard as internal storage
5. Enable Developer options, allow OEM unlock, enable USB Debugging
6. Move latest CM13 nightly and OpenGApps to internal storage using MTP
7. Boot into fastboot
8. Unlock bootloader successfully
9. Flash latest TWRP build (twrp-osprey-3.0.2-r1) successfully
10. Reboot into recovery
11. Swipe to allow TWRP to allow modifications
Now, I can't install any of the zips I moved on the device earlier because according to the log neither "storage" nor "/data" can be mounted. So obviously, if I go to Install -> Select Storage everything has "0MB" and wiping doesn't work. . Oh yeah and MTP doesn't work either so I can't really get any files on the device ATM, maybe using push in fastbooot...
I'd appreciate any help on this...
Don't wipe anything yet... Once you boot into TWRP once and allow changes to system, go to Reboot menu and reboot to Recovery again. Test to see if you can see storage now...
Encrypted?
When you format your SD card as internal, it encrypts it so that you can't use it with other phones, and it protects your data.
If you encrypted it and then installed TRWP you've essentially changed the phone, you won't be able to access it without booting into the android OS that you encrypted it on.
Hope that it wasn't what you did. Otherwise the only way in is to load it into android, connect to the computer, and get the files from there.
RylenWolf said:
When you format your SD card as internal, it encrypts it so that you can't use it with other phones, and it protects your data.
If you encrypted it and then installed TRWP you've essentially changed the phone, you won't be able to access it without booting into the android OS that you encrypted it on.
Hope that it wasn't what you did. Otherwise the only way in is to load it into android, connect to the computer, and get the files from there.
Click to expand...
Click to collapse
how do you fix it on the computer?
mjf042 said:
how do you fix it on the computer?
Click to expand...
Click to collapse
@Jisifus You need to go in twrp ans change the filesystem to ext4
mjf042 said:
how do you fix it on the computer?
Click to expand...
Click to collapse
@Jisifus You need to go in twrp ans change the filesystem to ext4
Hi
You found solution to this problem :C??
I have the same problem :crying:
This is a known issue in the official version... @Alberto97 has submitted the fixes, we just need to wait until it's merged into official build.
An unofficial build with the fixes applied is available here: https://forum.xda-developers.com//2...t/twrp-twrp-moto-g-2015-t3170537/post71386235

Question about A/B paritions, TWRP, flashing order and rebooting

I've read many threads about the A/B parition scheme and I'm not new to flashing so I do know how it works. But some things still confuse me:
1) Which is the correct flashing order for ROM/TWRP/Magisk/Open GApps/Kernel? Like this?
Clean: ROM & TWRP, reboot, Open GApps & Magisk & custom kernel, done?
Dirty: ROM & TWRP, reboot, Magisk & custom kernel, done?
So after a reboot Magisk and after that the custom kernel?
2) Why is it necessary to reboot after ROM & TWRP flash?
3) When is slot A and B switched? After every reboot or what triggers the switching mechanism?
4) AFAIK there is no firmware zip or something similar like with the OnePlus 5T am I correct? When I have OOS installed and want to switch to a custom ROM how should i format /data or internal storage or is this even necessary? Do they all use the same encryption? Do I need to flash the custom ROM twice or shall I wait for the first OTA update? Because that would mean I have to boot to TWRP, flash ROM & TWRP, reboot, flash Gapps, Magisk and custom ROM, reboot to the other slot and do the same?
5) Do I need to wipe internal storage when encrypted and switching ROMs or is it unaffected (so only wipe /data)?
6) Is there any way to know which partition is used when booting the ROM or only in TWRP?
Thanks in advance!
Macusercom said:
I've read many threads about the A/B parition scheme and I'm not new to flashing so I do know how it works. But some things still confuse me:
Click to expand...
Click to collapse
1. Follow instructions on the custom rom OP, but that order will usually work.
2. Rebooting makes sure you are on the active slot, which will change with a full OOS flash.
3. Only when flashing the full OOS package or installing an update through the update engine. Some roms might also switch the slot, though I am not familiar with which ones. Again, just be sure you follow the installation instructions for that rom.
4. Varies by rom. Normally not necessary to format unless rolling back to an earlier security patch.
6. There are apps like DevCheck that will show you which slot is active.
So if I’m on slot A and go to the recovery, flashing the ROM changes slot B and then triggers the switch so that rebooting to recovery results in me being at slot B. From there Gapps etc. if flashed on the same slot so tafter a reboot everything is done? Is that correct? Makes it more clear to me now.
Any issues or changes with keymaster aren’t an issue now? So switching between ROMs without wiping would be possible (although with some issues after boot) but it would boot? Or would you need to format /system, /data and internal storage?
Wiping internal storage never is recommended which makes me ask why? On the 5T a full wipe was required as different ROMs use different keymaster versions etc. Was kinda a bit annoying.

Issue with Havoc ROM installation

Guys, having a lot of trouble getting the Havoc ROM on my device. I am new to this slot A/B thing so please bear with me. I am coming from OOS 9.5.13 with unofficial twrp 3.3.1-70. Active slot is B. I rebooted to recovery, it asked me for my password, entered password, wipe data, flash rom, flash twrp installer, and when I reboot recovery I can't access my sd storage!! I see a 0 folder with random folders inside. So I figured TWRP is unable to decrypt the other slot. I start from scratch, i.e, format data and let it boot, strangely OOS boots with again like a fresh install To prevent encryption again, I don't go throught the setup, reboot to bootloader, then select recovery, inside twrp again (note: wasn't asked for password this time; I assumed because I didn't go through the OOS initial setup (no PIN etc) the storage in currently decrypted), connect to PC for transferring ROM back onto the phone again, disconnect from PC, wipe data, flash rom, flash installer, revoot recovery, reboots to slot A, and AGAIN no access to the SD card contents (folder 0 with random folders inside again). So my questions are:
1) Can someone please explain to me what's going on...?
2) Is there a way to permanently disable encryption on the device? (no-verity, etc)
3) Can I read something to get up to speed with this two slot thing and how things are supposed to work with OnePlus devices (was a long time Samsung user)
I am terribly frustrated with this; I have gone through this process a ridiculous number of times. I have fastboot flashed stock OOS several times. Even did the MSMTool to get back to as-stock-as-possible (somehow frying my SIM in the process, which I also suspect has something to do with Magisk modules). I am absolutely loosing my marbles over this.. Someone please help me!!
My device is retail Indian unlocked OP7P.
Why are you so hellbent on disabling encryption?
Format data, install rom over adb sideload, boot the rom, profit?

Unable to install/update apps to internal storage

Hi all,
In my quest to breathe more life into my OP6, I've decided to install TWRP and Magisk. Once doing so, it seems that I cannot install apps or update some already preloaded apps - I get an error message saying that the app can't be downloaded and I need to install to a SD card or external USB storage.
The exact error reads: App requires external storage. (insert app name) can't be downloaded. Insert an SD card or USB storage with sufficient storage, and try again.
I tried to Google a solution but didn't really find anything. I've already tried to do a wipe with TWRP and reflashed the recovery and Magisk but am still getting the same error. Maybe I'm doing something wrong or missing a setting.
Any help would be appreciated. I'd like to stick to OOS but am not opposed to another ROM.
Currently on OOS 10.3.4, TWRP 3.4.0, and Magisk 20.4. Thanks.
Same here.
semdoc said:
Same here.
Click to expand...
Click to collapse
Finally got it to fix itself after several system and dalvik wipes. Hope that works for you too. Also had to re-flash Magisk after every wipe.
Well... Here is the solution:
Download stock ROM ( 10.3.2 or higher). Download latest TWRP.zip from @mauronofrio - Link HERE
Then.
1. Boot to TWRP recovery
2. Format data.. (say yes when it's asked)
3. reboot to recovery
4. Move Stock ROM and downloaded TWRP to your internal sdcard.
5. Flash Stock ROM.zip + TWRP.zip -> reboot to recovery -> Flash Stock ROM.
6. Boot to Stock recovery
7. erase everything in your internal SD card. (Trivial part)
8. Boot to System and set your device.
Voila.
After this... You can flash TWRP and Magisk as it's recommended in several guides for enchilada....
That worked for me.
Cheerz
xeks said:
Hi all,
In my quest to breathe more life into my OP6, I've decided to install TWRP and Magisk. Once doing so, it seems that I cannot install apps or update some already preloaded apps - I get an error message saying that the app can't be downloaded and I need to install to a SD card or external USB storage.
The exact error reads: App requires external storage. (insert app name) can't be downloaded. Insert an SD card or USB storage with sufficient storage, and try again.
I tried to Google a solution but didn't really find anything. I've already tried to do a wipe with TWRP and reflashed the recovery and Magisk but am still getting the same error. Maybe I'm doing something wrong or missing a setting.
Any help would be appreciated. I'd like to stick to OOS but am not opposed to another ROM.
Currently on OOS 10.3.4, TWRP 3.4.0, and Magisk 20.4. Thanks.
Click to expand...
Click to collapse
same problem in my one plus 5 and i did these simple steps and the problem was fixed
1 open settings
2 about phone
3 tap 5/6 times until you are a developer message pop up
4 go back from about phone and go to system
5 you see developer option then open it
6 scroll down until you see (force allow apps on external) and turn on
hope these steps fixed your problem too...

Categories

Resources