I have discovered that when using Cyanogenmod 11 I cannot write to /sdcard or /storage/sdcard0. I can format it in CWM and I can format it from within the system settings, but I cannot write files or create folders etc. I've got root access and can write to any other folder in / so I don't know why this doesn't work. If I install MIUI I can write to it fine. I've tried wiping data etc and formatting from CWM and system settings and it's not helped. I've tried installing an older version of CM11 and I still can't write to /sdcard - even though that older version let me write to it with no problems a month ago! I think it must be corrupted or a permission issue. I really like Cyanogenmod and dislike MIUI so would love a solution for this. Otherwise I'll try AOSP or Pac-Rom etc to see if that works.
Any help would be greatfully received.
SANGER_A2 said:
I have discovered that when using Cyanogenmod 11 I cannot write to /sdcard or /storage/sdcard0. I can format it in CWM and I can format it from within the system settings, but I cannot write files or create folders etc. I've got root access and can write to any other folder in / so I don't know why this doesn't work. If I install MIUI I can write to it fine. I've tried wiping data etc and formatting from CWM and system settings and it's not helped. I've tried installing an older version of CM11 and I still can't write to /sdcard - even though that older version let me write to it with no problems a month ago! I think it must be corrupted or a permission issue. I really like Cyanogenmod and dislike MIUI so would love a solution for this. Otherwise I'll try AOSP or Pac-Rom etc to see if that works.
Any help would be greatfully received.
Click to expand...
Click to collapse
After installing miui don't wipe sdcard and install CM.
AWESOME! Thanks very much. It works fine now.
Few Tips that might help others with this issue: I need to remember to just format /data manually in future if I ever need to wipe. I struggled to flash Cwm using miui 6 or fastboot. In the end I flashed Android 4.1 miui using miflash and installed Cwm using the stock miui update app. Then I booted to Cwm, wiped /data and flashed a cm11 nightly, supersu and gapps. I deleted the files in /sdcard from in cm11 with no issues.
Hi friend, im a noob here, I need some help
I bought Oneplus 5 Chinese version with Hydrogen Os.
I follow all steps, download the full oxygen rom + OTA on 3 different links and downloaded the adb and minimal fastboot.
i made all steps doing the developer android activation on OS, usb debugging and etc.
i booted it on recovery chosen adb installation and made all prompt commands, when it start to install it failed on 0% and the phone gives me the Installation Failed note, I need to know if the correct rom is that folder or zip that I download on one plus site. when I copy the *.zip or folder to internal storage on the phone it doesn't recognize on that system update menu with local update. I have tried many times and with different forms, what I did wrong?
sorry my bad English because im from Brazil.. thks!
brunomarzullo said:
Hi friend, im a noob here, I need some help
I bought Oneplus 5 Chinese version with Hydrogen Os.
I follow all steps, download the full oxygen rom + OTA on 3 different links and downloaded the adb and minimal fastboot.
i made all steps doing the developer android activation on OS, usb debugging and etc.
i booted it on recovery chosen adb installation and made all prompt commands, when it start to install it failed on 0% and the phone gives me the Installation Failed note, I need to know if the correct rom is that folder or zip that I download on one plus site. when I copy the *.zip or folder to internal storage on the phone it doesn't recognize on that system update menu with local update. I have tried many times and with different forms, what I did wrong?
sorry my bad English because im from Brazil.. thks!
Click to expand...
Click to collapse
Put the OOS rom in the root directory of your sdcard (not in a subfolder), then boot into recovery and choose install from internal storage. After flashing the rom do a data factory reset and you should be good to go. Don`t know for sure if you have to unlock the bootloader first because its a Chinese device.
gee2012 said:
Put the OOS rom in the root directory of your sdcard (not in a subfolder), then boot into recovery and choose install from internal storage. After flashing the rom do a data factory reset and you should be good to go. Don`t know for sure if you have to unlock the bootloader first because its a Chinese device.
Click to expand...
Click to collapse
The doubt is I really don't know if the correct (FULL OXYGEN ROM) file to copy is a zip file or any other extension file? I downloaded on website, inside it has some folders and some IMG and DAT files.
when you said SD CARD you mean put the zip file inside a REAL SD CARD? or you mean the internal storage on the phone?
i have copied the downloaded zip file on internal storage root, and when I made a boot recovery and chosen the internal storage it finds the zip file but again when I proceed the installation it gives me again the INSTALLATION FAILED MSG..
does the OnePlus5Oxygen_23_OTA_010_all_1707032122_2a134296766a4804.zip on one plus site?
is that the correct file? thks
brunomarzullo said:
The doubt is I really don't know if the correct (FULL OXYGEN ROM) file to copy is a zip file or any other extension file? I downloaded on website, inside it has some folders and some IMG and DAT files.
when you said SD CARD you mean put the zip file inside a REAL SD CARD? or you mean the internal storage on the phone?
i have copied the downloaded zip file on internal storage root, and when I made a boot recovery and chosen the internal storage it finds the zip file but again when I proceed the installation it gives me again the INSTALLATION FAILED MSG..
does the OnePlus5Oxygen_23_OTA_010_all_1707032122_2a134296766a4804.zip on one plus site?
is that the correct file? thks
Click to expand...
Click to collapse
I meant the internal storage as there is no actual sdcard slot. and yes this OnePlus5Oxygen_23_OTA_010_all_1707032122_2a134296766a4804.zip is the correct file. Do not extract the rom.zip! As i said maybe you have to unlock the bootloader first in order to flash the rom but that is not the case as i read. So put the downloaded OTA.zip on the sdcard, wipe cache and flash it in recovery in install from internal storag and the factory reset. There are several video`s on YouTube on how to do it https://www.google.nl/url?sa=t&rct=...LyJ4Ho&usg=AFQjCNEFn7t35Gdh9Vzxxwfe4oBMs4EH_Q.
Hello,
I've installed twrp 3.0.2-r5 on my Moto G4 Play reteu.
In the last months I was running a Lineage OS based on 7.1.2.
Before I did this installation I created a backup with TWRP.
As there is now the official release of Android 7.x from Moto I want to switch back to stock rom.
The old backup is currently placed on SD\TWRP\BACKUPS\ZY223PZFVW\2016-10-16--23-17-52
and contains these files:
boot.emmc.win
boot.emmc.win.md5
data.f2fs.win
data.f2fs.win.md5
data.info
recovery.log
system.ext4.win000
system.ext4.win000.md5
system.ext4.win001
system.ext4.win001.md5
system.info
So started twrp and tried to recover the backup.
I can choose to restore:
Data
System
Boot
System 1882MB and Boot 16MB can be restored without any problem.
But while restoring DATA (54MB) Twrp says:
Code:
E: Unable to find file system (first period).
E: Unknown restore method for '/external_sd
So what does this error mean? I tried to solve by copying the whole backup to internal storage but if I do so I will not be recognized by TWRP as a backup to be restored.
In which folder has the backup, an which files, to be placed on the internal storage?
Thank you for you help
Paul84 said:
Hello,
I've installed twrp 3.0.2-r5 on my Moto G4 Play reteu.
In the last months I was running a Lineage OS based on 7.1.2.
Before I did this installation I created a backup with TWRP.
As there is now the official release of Android 7.x from Moto I want to switch back to stock rom.
The old backup is currently placed on SD\TWRP\BACKUPS\ZY223PZFVW\2016-10-16--23-17-52
and contains these files:
boot.emmc.win
boot.emmc.win.md5
data.f2fs.win
data.f2fs.win.md5
data.info
recovery.log
system.ext4.win000
system.ext4.win000.md5
system.ext4.win001
system.ext4.win001.md5
system.info
So started twrp and tried to recover the backup.
I can choose to restore:
Data
System
Boot
System 1882MB and Boot 16MB can be restored without any problem.
But while restoring DATA (54MB) Twrp says:
So what does this error mean? I tried to solve by copying the whole backup to internal storage but if I do so I will not be recognized by TWRP as a backup to be restored.
In which folder has the backup, an which files, to be placed on the internal storage?
Thank you for you help
Click to expand...
Click to collapse
Although not a direct answer I have found TWRP 3.x has difficulty restoring if the underlying files/folders are separated from the parent.
As for the data partition you can probably skip that and simply wipe in TWRP. Boot, recovery and system are the most important if your goal is returning to stock.
Not sure how important stock recovery is if manually flashing vs accepting an OTA update. More experienced minds will need to weigh in.
Hello.
I was recently updating from the stock oxygen os (5.0.1) from an android 7.1.1 version of oxygen OS (23 OTA) to the newer android version 8.0.0 , from which I received an error 7. I have a custom recovery and an unlocked bootloader. I used the zip file I downloaded through the stock oxygen os rom, and got an error. My recovery files are encrypted, so I can't flash/restore anything from the phone. I'm trying to install either the xXx_No_Limits rom or the oxygen os android 8.0.0 rom through my usb OTG. The toolkit installs recoveries properly, but the xXx_no_limits file doesn't exit the aroma installer. I can force it to reboot after it attempts to exit the aroma installer, but then it gets stuck in a bootloop.
I can still see my phone in the fastboot devices list. The fastboot menu has productname: QC_reference_phone, my serial number, secure boot = yes, and device state = unlocked. Using the all in one tool kit I can boot into twrp. When I boot into twrp all my system files are encrypted, but my USB otg is not. I have a backup of my 7.1.1 version of android I can restore, but I can't restore it without decrypting.
I have been trying to adb sideload through twrp and the stock oneplus recovery, but regardless of which rom I try I get the following error. I can flash smaller zips like the no verity file, but I don't think that will help this late into the problem.
cannot read 'filename.zip'
Pretty lost as to what options are left.
Thanks in advance
" I have a custom recovery "
Error 7, The problem is that, your Recovery is compatible with Oreo? You must use TWRP compatible, the best is [RECOVERY][cheeseburger] TWRP 3.2.1-0 for Oreo (8.0 and 8.1) by codeworkx
because this TWRP version is universal 5/5T and also can decrypt 8.0/8.1 Oreo versions
Ok, I downloaded the universal version provided by codeworks. I then run this command:
"fastboot flash recovery twrp-3.2.1-0-universal-codeworkx-cheeseburger.img"
I get a confirmation. And then i proceed to boot into the recovery with:
"fastboot boot twrp-3.2.1-0-universal-codeworkx-cheeseburger.img"
Here is a link to my cmd commands: https://pastebin.com/ARGP6yqw
I accept the allow system modification on twrp 3.2.1-0.
My data is still encrypted throughout, so my recovery file names and file folders are unrecognizable. I then select source, and switch to my usb otg with the OnePlus5Oxygen_23_OTA_028.1.zip (1.6gb)
I get a successful installation message, install the twrp app, and reboot.
I don't think I need to flash gapps on an official OTA. I then leave my phone plugged in and charging for a while while the dots are spinning in the boot up process.
It's been about 75 minutes, and it's still doing the whole dots spinning. When I did this yesterday, it sat on the boot process for 35+ minutes and didn't get further.
Even after I do flashed the recovery file, it occasionally boots into oneplus recovery
I think everything you can do is to format all partitions including internal storage and start from scratch by flashing codeworkX TWRP, stock OxygenOS or any ROM you want, then wiping internal storage again and proceeding. Some1 correct me if I'm wrong.
Do you know if I can do that with, the all in one tool kit?
I can get into the adb sideload parts of the phone not sure if I can do anything with that.
Whenever i try to flash something from my usb otg through twrp, I get ERROR: 7. "Failed to mount '/data' (invalid argument)"
So I can go into twrp >wipe > advanced wipe> select Data > repair or change file system.
Here it tells me that mount point: /data, file system: ext4, present: yes, removable: no, size:0mb, used:0mb, free:0mb, backup size: 0mb.
Should I repair file system, resize file system, or change file system?
I think i found the problem:
Whenever i try to flash something from my usb otg through twrp, I get ERROR: 7. "Failed to mount '/data' (invalid argument)"
So I can go into twrp >wipe > advanced wipe> select Data > repair or change file system.
Here it tells me that mount point: /data, file system: ext4, present: yes, removable: no, size:0mb, used:0mb, free:0mb, backup size: 0mb.
Should I repair file system, resize file system, or change file system?
You must:
1/ Connect your OP5 to your computer
2/ Make a backup of your data on your desktop (Pictures, DCIM, Download, etc)
3/ In TWRP > WIPE > "Format" Data partition, you will have a warning message (all your date will be erased), confirm with tape "yes"
4/ Reboot directly in TWRP (> Reboot > Recovery)
5/ Now wipe all partitions (Dalvik/Cache - Cache - System)
6/ Put your Rom on your internal storage and flash it !
Depend if you want a official stock rom or xXx (custom rom) you must flash Magisk for keep your Custom Recovery and allow root permissions
Just wipe internal storage, don't touch file system.
When i goto wipe the internal storage it says:
"Failed to mount '/data' (invalid argument)
Updating partition details....
Failed to mount '/data' (invalid argument)
...done"
and it says "Wipe complete: failed"
I don't think it can wipe /data because there's nothing in it.
My phone now shows up through the mtp protocol in recovery through the computer. The only file in the internal storage is the TWRP folder
Hello.
I did this, but skipped the first two steps (I already have my data backed up) and it gives me an error 7.
In bootloader my system reads out:
"Product Name: QC_reference phone
Variant: MSM UFS
Bootloader version:
Serial number: (my serial number)
Secure boot: ues
Device State: unlocked"
TWRP prints out:
"Installing zip file /usbstorage/oneplus5oxygen_23_OTA_028.1.zip
Checking for digest file....
Skipping digest check: no digest file found
Warning: No file_contexts
E3005: This devices is unlocked; bootstate: ""; sdk version "25".
Updater process ended with Error: 7
Error installing zip file '/usbstorage/oneplus5oxygen_23_OTA_028.1.zip'
Updating partition details....
...done"
Is there anything else I could try?
My phone now shows up through the mtp protocol in recovery through the computer. The only file in the internal storage is the TWRP folder
You don't understand:
1/ You have FORMAT data partion or just Wipe?
2/ Your rom is where? On internal storage or on a usb key?
3/ Verify your ROM file, your rom seem to be corrupted, check MD5? Where have you downloaded this rom, it's not the legit name
1) Ok. so i goto wipe > format Data > type in "yes", and then reboot directly into recovery.
2) I have my rom on an external usb drive. I can move it onto the phone through the twrp mtp.
3) I downloaded the file from here http://downloads.oneplus.net/oneplus-5/oneplus_5_oxygenos_5.0.1/
I just renamed it. I will download it again. My new file is named "OnePlus5Oxygen_23_OTA_028_all_1801031502_109fde3709984ec8.zip"
This gives me this error:
"E3005: This devices is unlocked; bootstate: ""; sdk version "25".
Updater process ended with Error: 7
Error installing zip file '/sdcard/OnePlus5Oxygen_23_OTA_028_all_1801031502_109fde3709984ec8.zip'
Updating partition details....
...done"
I found this thread which may solve my problem: https://forums.oneplus.net/threads/how-can-i-fix-this-twrp-update-process-ended-with-error-7.501934
My phone doesn't have a build.prop file on it, so it might not be able to read the ro.display.series causing it to abort?
Will this work?
3. The rom from oneplus MD5 matches exactly with my file's md5.
So the problem is caused by your external drive, YOU MUST PUT your rom directly on your internal storage.
TWRP sees the oxygen23OTA location as: /sdcard/OnePlus5Oxygen_23_OTA_028_all_1801031502_109fde3709984ec8.zip
I can use the twrp file manager to move it to the storage folder on the root. I currently have copies of the zip in /usbstorage, /sdcard, /storage. Is there a specific folder I should move it into? (my options are: acct, boot, cache, config, data, dev, etc, firmware, license, mnt, oem, proc, recovery, res, root, sbin, sdcard, sideload, storage, sys, system, tmp, twres, usbstorage, and vendor.
Installing off the sdcard, usbstorage, and storage folders. All give the following error:
E3005: This devices is unlocked; bootstate: ""; sdk version "25".
Updater process ended with Error: 7
Error installing zip file '/sdcard/OnePlus5Oxygen_23_OTA_028_all_1801031502_109fde3709984ec8.zip'
My computer see's the file in Oneplus A5000>Internal Storage> OnePlus5Oxygen_23_OTA_028_all_1801031502_109fde3709984ec8.zip
Could the problem be that that the bootloader shows the phone as QC_reference_phone?
I downloaded the xXx no limits rom, to check if it was an error with my download file from oneplus. The xXx no limits rom didn't give me any errors when installing, except for:
I rewiped again. Formatted my storage and flashed the xXx.
It worked.
Just flash the no Verity zip and you would be ready to go
I have the same problem as you do.. thanks for putting it out there...