doubts i have while flashing twrp and magisk - Sony Xperia XA2 Questions & Answers

i have xperia xa2 (H3133). I have downloaded twrp-installer-3.6.0_9-0-pioneer.zip file,twrp-3.6.0_9-0-pioneer.img file and magisk 18.1.zip file. are these files ok? will i need anything else? can i put these on internal memory and go ahead or must i copy these files to sd card?

Related

Dumb Q - Is it safe to delete .zip after flashing?

As the title says really....
I've flashed a new radio and ROM, and now the zips are taking up space on my memory card.
Is it safe to delete the zip files now?
Yes, it's fine ! However I keep them on there in case of an emergency.
It's safe to delete them. What sort of emergencies could happen? You'd keep the files on your SD card if something could happen while you're away from your PC and ain't flashing anything.
I guess if you flash on the spot alot, or want to, you'd better keep those zips on your card. That or make constant backups and delete them when you make another, which can be more annoying and more space involved
in my opinions, you can delete it only if you have at least 1 nandroid backup via cwm.
but actually, in case you dont have any nandroid backup, cant boot and you also dont have the rom zip file to flash (so you can't flash anything):
1. you can take out your sd card, use card reader and put it to your pc.
2. copy the zip file to your sd card,
3. put it (sd card) back to your phone
4. walla, you have your rom zip file again.
but i think 200+mb of rom zip file is not a big deal to store in your sd card, right?
yeah, test the phone for some time and make a nand backup. Then you could delete the zip files if you like. I keep them on my SD card (32GB) so no need of the space.

Delete PC10IMG

Am i supposed to delete this file from the sd after i have S-OFF and root?
NthZ said:
Am i supposed to delete this file from the sd after i have S-OFF and root?
Click to expand...
Click to collapse
Yes. Otherwise everytime you go into bootloader, your phone will try to flash it.
Sent from my HTC Desire Z
thanks. what can't i delete from the sd card? can i delete things after i have installed them from ROM manager? i just overclocked my cpu, so can i now delete the "update.zip" installation file from the sd card? Also, all the other files i now have on there from the downgrade/root/S-OFF. which files do i need to keep on there?
You don't need to keep any of the rooting files on the sd card, or any flashable zips.
Although it is recommended to save the part*backup files to your computer at least.
-Nipqer

[Q] no OS and ROM zip files corrupted on external SD!

While on the below thread .. I eventually ended up making my TWRP to format my data, system, cache, as well as internal storage!
http://forum.xda-developers.com/showpost.php?p=46522379&postcount=364
Now it is all gone. successfully.
Note, when i formatted the internal storage - it did ask me to restart to update the partition tables. I did that. I warned me that there is no OS. I went ahead and restarted in recovery. I could browse using TWRP->advanced->file manager and see the zips on external sd card.
I had gapps and rom zip files copied on external SD card. When I try to flash those in TWRP, it throws an error - E: unable to open zip file!
Now I can not flash any of those! there is no OS also on the phone! I suspect that the external SD card is corrupt! I have good zip files on my computer (it has no working sd card reader).
Is there any way, i can transfer these zip files from my computer to phone's internal storage from where i can flash them?
please help!
rohit.bhosale said:
While on the below thread .. I eventually ended up making my TWRP to format my data, system, cache, as well as internal storage!
http://forum.xda-developers.com/showpost.php?p=46522379&postcount=364
Now it is all gone. successfully.
Note, when i formatted the internal storage - it did ask me to restart to update the partition tables. I did that. I warned me that there is no OS. I went ahead and restarted in recovery. I could browse using TWRP->advanced->file manager and see the zips on external sd card.
I had gapps and rom zip files copied on external SD card. When I try to flash those in TWRP, it throws an error - E: unable to open zip file!
Now I can not flash any of those! there is no OS also on the phone! I suspect that the external SD card is corrupt! I have good zip files on my computer (it has no working sd card reader).
Is there any way, i can transfer these zip files from my computer to phone's internal storage from where i can flash them?
please help!
Click to expand...
Click to collapse
There's no way to effectively access internal SD without having been mounted first.
But there are two ways you can do this.
1. Take the MicroSD Card and insert into the PC via Card Readers.Then copy the zip files there. Properly eject the card from PC then insert it into the phone. Now TWRP will recognize the files and flash them. If it still does not then its a bad download so download again. Also while there, get the MD5 values as well for your zip files. This allows the recovery to validate the files. If you still have errors then roll back TWRP to version 2.5.0.0
2. Put phone in download mode. Use Odin on PC to flash one of the rooted stock roms. After that, proceed to re-download on phone and try again.
P.S. - I typically never let Recovery to format my external card. Then the file system issues start popping up.
EDIT - I noticed from your other post that your PC does not have a working SD Card Slot. In that case, you could put the card in another phone and then copy the files to this sd card and then use that way.
Perseus71 said:
There's no way to effectively access internal SD without having been mounted first.
But there are two ways you can do this.
1. Take the MicroSD Card and insert into the PC via Card Readers.Then copy the zip files there. Properly eject the card from PC then insert it into the phone. Now TWRP will recognize the files and flash them. If it still does not then its a bad download so download again. Also while there, get the MD5 values as well for your zip files. This allows the recovery to validate the files. If you still have errors then roll back TWRP to version 2.5.0.0
2. Put phone in download mode. Use Odin on PC to flash one of the rooted stock roms. After that, proceed to re-download on phone and try again.
P.S. - I typically never let Recovery to format my external card. Then the file system issues start popping up.
EDIT - I noticed from your other post that your PC does not have a working SD Card Slot. In that case, you could put the card in another phone and then copy the files to this sd card and then use that way.
Click to expand...
Click to collapse
How do I flash CM or MIUI ROM using odin? I am trying to search the forums but unable to find anything! odin needs a tar file and all these roms come with zip file! What do I do?
You can't unless the dev specifically made an Odin flashable version, which they never do. Flash the stock root66 firmware with odin.
You can't access the internal storage simply because it's not there anymore. When you chose to format data, it completely wiped out the /data partition. Your internal sd is really located at /data/media, but until you can reboot, this won't be recreated.
I doubt the external sd is corrupt or you would've seen issues before your wiping frenzy. But you can use adb while in recovery to connect the phone to your computer. Search for adb sdk install guide, or similar.
Best option now is to try Odin flashing the root66 firmware.
Oh, and you probably know by now, but never format system! This should only be a last resort type thing imo. Never understood why people recommend it for things like prepping for a Rom flash. The Rom will format system during install anyway.
Sent from my SGH-T999V using Tapatalk 4
I used this
http://apcmag.com/how-to-unroot-your-galaxy-s3-and-flash-it-back-to-stock-rom.htm
and got the stock rom back. appeared like that was the only way to get back to running system. Now it's alright.
to my surprise, following problems disappeared.
1. The SD card no more automatically ejects!
2. battery lasts longer!
3. no random reboots at all!
never thought .. i would feel good getting back to stock rom !
Isn't that exactly what we were telling you to do in the first place though? Use odin to flash stock/root66 firmware? I think you just took the long way is all. I also have all that firmware hosted so people could download it much faster than by using sammobile or samsung-updates hotfile downloads.
Either way though, glad you got it running again!
Just posting so others know if they come across this in the future.
Sent from my SGH-T999N using Tapatalk
yes guru! you said it.
I tried adb route too ... but for some reason it never detected my device. I tried removing, installing drivers, getting sdk and all. then tried the odin route.
Now will stay with this rom for some days ... before I get back to MIUI ... want to see it working ... for some reason it was continuously making my phone reboot! now that it is a clean slate, i hope this time, it will work!
fingers crossed!
If you want to try adb again for anything in the future, there's a different driver pkg that would probably help there. Adb universal drivers. Theyre in my driver repo with the rest if you ever need them.
Sent from my SGH-T999 using Tapatalk
just copy the zip file on your phone storage
ROM zip files corrupted on external SD!
i think just change your sd card
and its work for you
this happen because of croupted sd card
I have same problem when flash the rom through tarp it shown zip file is currupt. Any one help me I tried more method but I failed every time
ashiqpm14 said:
I have same problem when flash the rom through tarp it shown zip file is currupt. Any one help me I tried more method but I failed every time
Click to expand...
Click to collapse
I used this
http://apcmag.com/how-to-unroot-your...-stock-rom.htm
and got the stock rom back. appeared like that was the only way to get back to running system.
Did you try this?

Problems with backups

I am having problems backing up files prior to flashing a newer version of CM13. I wanted to back up all files to my sd and computer but keep getting errors.
I installed a different file manager which allows me to move some files to the sd card but I still am not able to drag and drop files to my computer.
Error while copying "contacts.vcf".
There was an error copying the file into /home/....../hima/sd
Error getting file: -6: Not Supported​I am not able to copy or move recovery and other backup files to sd or computer. I have not encrypted anything.
What needs to be done or how do I move my backups into a safe place before flashing a new rom?
Thanks for your help!!
----------------------------------------------
CyanogenMod version
13.0-20161012-UNOFFICIAL-himawhl
If the files are on internal storage move them to an external sd with a file browser.
If you are using a custom rom and having usb issues then uncheck usb debugging in dev settings.

copy file on sd card - then 0kb

Hello,
when i copy a file to sdcard the file has 0kb and dont work.
Can the modul "SD write enable.." for magisk help for the problem ?
Or do any another feature helps?
Thanks for your answers.
mfg
Dieter
have nobody else this problem ?
A problem known in Orego for Xiaomi, the solution is to reboot the phone after transferring files to the SD card or using the system file manager.
You can also check out the SD card thread where SUPERUSER's solution seemed to be useful.
https://forum.xda-developers.com/mi-max-3/help/sdcard-write-issue-3rd-party-apps-0-t3860804

Categories

Resources