Hi,
I just installed Huawei P9 [ROM][6.0] fRomFuture - NewWorld V2 and the phone boots and works fine, but I cant update Su binary because of this error in TWRP ( I have unlocked bootloader and root):
failed to mount /data (Invalid argument)
Just clear the notification on each restart, don't try and update the SU Binary. It's a known issue
See the rom's thread
And re the TWRP issue, are you using the latest one from @paulobrien? 3.0.2.0 RC3?
colthekid said:
Just clear the notification on each restart, don't try and update the SU Binary. It's a known issue
See the rom's thread
And re the TWRP issue, are you using the latest one from @paulobrien? 3.0.2.0 RC3?
Click to expand...
Click to collapse
Thank you, nope I was using the one from SRK TOOL. Do you know how to install TWRP via Paul, its a img file (i'll have a hunt for his copy)
In twrp, go install, choose install image, choose file, select partition recovery and done
Other method with pc-fastboot command -> fastboot flash recovery blabla.img this method need root with stock rom. Custom roms already rooted so dont worry
Milamber said:
Thank you, nope I was using the one from SRK TOOL. Do you know how to install TWRP via Paul, its a img file (i'll have a hunt for his copy)
Click to expand...
Click to collapse
Don't know if the Tool is using the latest version. Paul's is here ... http://forum.xda-developers.com/p9/development/wip-twrp-support-t3372331 still has some issues backing up, but best we have at the mo.
you can either flash as @master' suggests or via adb
adb reboot-bootloader
fastboot flash recovery twrp-3.0.2-0-eva-modaco-rc3.img
fastboot reboot
edit: beaten to it! :highfive:
colthekid said:
Don't know if the Tool is using the latest version. Paul's is here ... http://forum.xda-developers.com/p9/development/wip-twrp-support-t3372331 still has some issues backing up, but best we have at the mo.
you can either flash as @master' suggests or via adb
adb reboot-bootloader
fastboot flash recovery twrp-3.0.2-0-eva-modaco-rc3.img
fastboot reboot
edit: beaten to it! :highfive:
Click to expand...
Click to collapse
Thanks to both of you from Australia!
Hi. when I try backup system ihad message : "createTarFork () process ended with error :255"
What`s wrong?
Last messages from log
I:addFile '/data/hw_init/system/emui' including root: 0
==> set selinux context: ubject_r:system_data_file:s0
I:addFile '/data/hw_init/system/emui/base' including root: 0
I:Error adding file '/data/hw_init/system/emui/base' to '/external_sd/TWRP/BACKUPS/MWS0216C19000719/2017-03-15--12-38-32//data.f2fs.win'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/external_sd/TWRP/BACKUPS/MWS0216C19000719/2017-03-15--12-38-32/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup
Click to expand...
Click to collapse
ok. I changed SD card ,formated it in phone and did backup by TWRP-3.0.2-0-eva. Now I think all done good. Last question is what about this red alert at the end of log?
Unmounting main partitions...
Failed to unmount '/system' (Device or resource busy)
Click to expand...
Click to collapse
Related
I just updated to TWRP 2.6.3.4 on my Sprint HTC One, in order to flash KitKat, and the corrisponding CyanogenMod Nightly's, but in doing so I wiped everything off my phone. So now I can get into TWRP, but have no ROMs to flash... I tried sideloading, which didn't work, so then I just used adb push to get my files into data/media, which worked.
Now Im trying to flash the .zip files for KK and CM11; KK flashes just fine, but when it gets to CM11, it gives me errors like:
Code:
E:Error executing updater binary in zip 'data/media/cm-11-20140129-NIGHTLY-m7spr.zip'
Error Flashing zip '/data/media/cm-11-20140129-NIGHTLY-m7spr.zip'
updating partition details...
E:unable to mount '/cache'
Failed
I've tried flashing KK before CM11, and after CM11; but no matter how I do it, it fails on CM11.
Anyone know whats wrong with my phone? How do I fix this so that it'll flash CM11, or any KK ROM?
Any help would be great, as my phone is useless right now...
TheDiabeetle said:
I just updated to TWRP 2.6.3.4 on my Sprint HTC One, in order to flash KitKat, and the corrisponding CyanogenMod Nightly's, but in doing so I wiped everything off my phone. So now I can get into TWRP, but have no ROMs to flash... I tried sideloading, which didn't work, so then I just used adb push to get my files into data/media, which worked.
Now Im trying to flash the .zip files for KK and CM11; KK flashes just fine, but when it gets to CM11, it gives me errors like:
Code:
E:Error executing updater binary in zip 'data/media/cm-11-20140129-NIGHTLY-m7spr.zip'
Error Flashing zip '/data/media/cm-11-20140129-NIGHTLY-m7spr.zip'
updating partition details...
E:unable to mount '/cache'
Failed
I've tried flashing KK before CM11, and after CM11; but no matter how I do it, it fails on CM11.
Anyone know whats wrong with my phone? How do I fix this so that it'll flash CM11, or any KK ROM?
Any help would be great, as my phone is useless right now...
Click to expand...
Click to collapse
2.6.3.0 is the latest version for the sprint htc one at this time. flashing that one should fix it.
http://forum.xda-developers.com/showthread.php?t=2236620
Do I need twrp-2.6.3.0-m7ul? or will twrp-2.6.3.0-hltetmo work just as well? It is the only 2.6.3.0 I can find.
Edit: Nevermind, I found 2.6.3.0-m7wls.
TheDiabeetle said:
Do I need twrp-2.6.3.0-m7ul? or will twrp-2.6.3.0-hltetmo work just as well? It is the only 2.6.3.0 I can find.
Edit: Nevermind, I found 2.6.3.0-m7wls.
Click to expand...
Click to collapse
http://techerrata.com/file/twrp2/m7wls/openrecovery-twrp-2.6.3.0-m7wls.img
Sent from my HTCONE using Tapatalk 2
Ok I got it all sorted out, thanks a bunch!!!! It all had to do with having the wrong kind of TWRP on here.
If anyone stumbles into this thread with the same problem I had, heres what I had to do, on ubuntu:
1.Install all the android SDK, adb, and fastboot stuff. adb and fastboot both needed me to download stuff when I tried to use them in the terminal, so I just said yes and it worked fine. Fastboot requires you to use "sudo Fastboot".
2.Boot to H-BOOT, and flash TWRP 2.6.3.0 m7wls, which you can get from the TWRP website if you google TWRP 2.6.3.0 HTC One
3. If your ROMs are gone, like mine were, use either sideboot in TWRP, or the "adb push" command in Terminal, to add them back to your storage. I put mine in /data/media. (sideboot never worked for me, adb push was way more reliable.)
4.Flash your Rom and the gapps, and you should be good to go!
The commands are easily googled, but in case you can't find them:
sudo fastboot erase cache
sudo fastboot flash recovery openrecovery-twrp-2.6.3.0-m7wls.img
adb push XXXX.zip /data/media
hi,
i have the M7 of a mate of mine here.
i have the problem that after i manged to flash android revolution rom the phone boots in android but only showing the HTC page (no bootloop. ist in android. ADB SHELL works, locksreen works, when try to pull down the notification bar it shows the bar but not pulls down)
can anyone help me?
etsch said:
hi,
i have the M7 of a mate of mine here.
i have the problem that after i manged to flash android revolution rom the phone boots in android but only showing the HTC page (no bootloop. ist in android. ADB SHELL works, locksreen works, when try to pull down the notification bar it shows the bar but not pulls down)
can anyone help me?
Click to expand...
Click to collapse
USE TWRP 2.6.3.3 and flash the rom again
i use 2.6.3.3 already and tried flashing the rom 4 times
etsch said:
hi,
i have the M7 of a mate of mine here.
i have the problem that after i manged to flash android revolution rom the phone boots in android but only showing the HTC page (no bootloop. ist in android. ADB SHELL works, locksreen works, when try to pull down the notification bar it shows the bar but not pulls down)
can anyone help me?
Click to expand...
Click to collapse
adb reboot recovery
wipe/advanced-cache, dalvik, data, system-wipe
reinstall rom or choose another rom.
already tried
and other roms wont flash
etsch said:
already tried
and other roms wont flash
Click to expand...
Click to collapse
If you have tried everything why are you asking us ?
because you maybe have an idea what i can do.
etsch said:
because you maybe have an idea what i can do.
Click to expand...
Click to collapse
Try a different rom
etsch said:
because you maybe have an idea what i can do.
Click to expand...
Click to collapse
TWRP / WIPE / Format Data / Type yes
then reboot the phone and sideload a rom
sideload this Rom to your phone
http://www.androidrevolution.org/downloader/download.php?file=Android_Revolution_HD-One_84.0.zip
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot
at flashing other roms i will get different error messages
cyanogen mod - mount: faild to mount /dev/block/platform /msm.......... succed (but nothing changed)
reflection rom - mount: faild to mount /dev/block/platform /msm.......... - succed (but nothing changed)
dirty unicorn - mount: faild to mount /dev/block/platform /msm.......... - failed
etsch said:
at flashing other roms i will get different error messages
cyanogen mod - mount: faild to mount /dev/block/platform /msm.......... succed (but nothing changed)
reflection rom - mount: faild to mount /dev/block/platform /msm.......... - succed (but nothing changed)
dirty unicorn - mount: faild to mount /dev/block/platform /msm.......... - failed
Click to expand...
Click to collapse
Look up ^^
TWRP / Wipe /Format Data / Type Yes
adb sideload rom.zip
same again
etsch said:
same again
Click to expand...
Click to collapse
That's pretty much it .. Find a RUU for your CID / MID
i looked after that but there is no ruu for the CID (O2___102)
and i did not found an s off that works (tried rumrunner,revone . didnt find firewater, moonshine)
etsch said:
i looked after that but there is no ruu for the CID (O2___102)
and i did not found an s off that works (tried rumrunner,revone . didnt find firewater, moonshine)
Click to expand...
Click to collapse
Sunshine s-off is the only option and it requires your phone to be working to use it
are you sure you format data / reboot and then pushed a rom and tried to install it ?
are you md5 checking your downlaods / have you tried a different usb port / different usb cable
yes iam sure
after feels like 100 tries getting cyanogen mod on it the same error
etsch said:
yes iam sure
after feels like 100 tries getting cyanogen mod on it the same error
Click to expand...
Click to collapse
yeah you don't flash CM with TWRP you use CWM did you read the first post?
RECOVERY:
IMPORTANT!
A recovery update beginning with the Nightly ROM 20140501 will be required!
Guidance & Instructions can be found here
The easiest way to flash recovery is to use Flashify from the Play Store
Recovery Downloads:
TWRP 2.7.1.2
CWM Touch 6.0.4.8
ROM & GAPPS Downloads:
Read this before you flash a Milestone Build!
Click to expand...
Click to collapse
Download and install the latest TWRP Recovery for Int'l, AT&T, TMobile HTC One, Sprint HTC One or Verizon HTC One if you haven't already.
Copy the CM12 zip and the Gapps zip to your Internal Storage
Then reboot into TWRP recovery
Before flashing you might want to back up your data (Optional)
Then wipe Data, Cache and Dalvik-Cache before flashing
Next, tap Install, locate the CM12 zip and install it
Once that's finished tap install again, locate the Gapps zip and install it
If you are S-OFF, simply reboot and enjoy CM12, no need to follow the remaining steps. If you are S-ON tap Power and Reboot to bootloader
Then open the CM12 zip on a Computer, copy the boot.img to your fastboot folder
Connect your phone to your computer then open a Command window, "cd" to your fastboot folder and type the following: fastboot flash boot boot.img
Now type: fastboot reboot
You are finished. Enjoy CM12
Click to expand...
Click to collapse
cwm wont work and twrp 2.7.1.2 neither
etsch said:
at flashing other roms i will get different error messages
cyanogen mod - mount: faild to mount /dev/block/platform /msm.......... succed (but nothing changed)
reflection rom - mount: faild to mount /dev/block/platform /msm.......... - succed (but nothing changed)
dirty unicorn - mount: faild to mount /dev/block/platform /msm.......... - failed
Click to expand...
Click to collapse
etsch said:
cwm wont work and twrp 2.7.1.2 neither
Click to expand...
Click to collapse
Go back to TWRP 2.6.3.3 and try flash ARHD again if it fails, Take a pic of your phone with the error on the screen and post it here :good:
Here the error
Dear community,
I installed xposed using the following adk: XposedInstaller_3.0_alpha4.apk then flash, from recovery, the framework for my Oukitel K6000 Pro (Android 6.0): xposed-v86-sdk23-arm64.zip
All worked fine until I have to restore a backup from recovery (backup taken before I flash the framework).
Now, Xposed cannot see the framework, so I tried to uninstall it using xposed-uninstaller-20150831-arm64.zip always from recovery. The uninstallation seems goes ok, so I reboot the device, enter again into recovery to flash again the xposed-v86-sdk23-arm64.zip
Unfortunately I got an error during install process:
chown: /system/bin/dex2oat.orig.gz read only file system
or
cp: can't create '/system/xposed.prop' File esists
And the installation stop there.
Could someone help me to reinstall the framework and come back to working status?
Thank you
Lucas
Lord Spectre said:
Dear community,
I installed xposed using the following adk: XposedInstaller_3.0_alpha4.apk then flash, from recovery, the framework for my Oukitel K6000 Pro (Android 6.0): xposed-v86-sdk23-arm64.zip
All worked fine until I have to restore a backup from recovery (backup taken before I flash the framework).
Now, Xposed cannot see the framework, so I tried to uninstall it using xposed-uninstaller-20150831-arm64.zip always from recovery. The uninstallation seems goes ok, so I reboot the device, enter again into recovery to flash again the xposed-v86-sdk23-arm64.zip
Unfortunately I got an error during install process:
chown: /system/bin/dex2oat.orig.gz read only file system
or
cp: can't create '/system/xposed.prop' File esists
And the installation stop there.
Could someone help me to reinstall the framework and come back to working status?
Thank you
Lucas
Click to expand...
Click to collapse
Try clearing art/dalvik and cache then reboot directly back into recovery and flash Xposed again
Sent from my SCH-R220
Thank you for reply mattzeller, unfortunately, after cleaning art/dalvik and cache and reboot directly into recovery to install sdk I got the same error:
chown: /system/bin/dex2oat.orig.gz read only file system
Lord Spectre said:
Thank you for reply mattzeller, unfortunately, after cleaning art/dalvik and cache and reboot directly into recovery to install sdk I got the same error:
chown: /system/bin/dex2oat.orig.gz read only file system
Click to expand...
Click to collapse
Try mounting system as read/write in recovery before flashing
Sent from my SCH-R220
mattzeller said:
Try mounting system as read/write in recovery before flashing
Click to expand...
Click to collapse
I believe you mean from terminal, could you please share the command to do that? Thx!
However I see from recovery log, during uninstall/install processes:
Mounting /system and /vendor read-write
So, packages already tried to mount system... Maybe fails, I don't know!!!
Lord Spectre said:
I believe you mean from terminal, could you please share the command to do that? Thx!
However I see from recovery log, during uninstall/install processes:
Mounting /system and /vendor read-write
So, packages already tried to mount system... Maybe fails, I don't know!!!
Click to expand...
Click to collapse
In recovery open terminal :
mount -o rw,remount /system
Then try to flash Xposed
Sent from my SCH-R220
DAMN!DAMN!DAMN! This is what I done on terminal:
# mount -o rw,remount /system
Try to flash xposed-v86-sdk23-arm64.zip
Got: cp: can't create '/system/xposed.prop' File esists
Then from terminal:
# rm /system/xposed.prop
rm: can't remove '/system/xposed.prop': Read-only file system
At this point I don't know how can I proceed. Maybe flashing stock rom, then install framework from recovery, and then restore backup
Just to inform that I solved reflashing stock rom, recovery TWRP and SuperSU... Then flash again the Xposed SDK. Unfortunately I cannot use the TWRP backup, and I had to configure my phone from scratch.
Lord Spectre said:
Just to inform that I solved reflashing stock rom, recovery TWRP and SuperSU... Then flash again the Xposed SDK. Unfortunately I cannot use the TWRP backup, and I had to configure my phone from scratch.
Click to expand...
Click to collapse
Sounds like something in your backup got screwed up I would suggest deleting that back up once everything is set up and redoing it
Sent from my SCH-R220
Hello,
First of all, my version was l19c185b385
I wanted to install marshmallow instead of nougat because of Xposed. Anyway, I didn't want to use rollback package (I didn't know that I can't install marshmallow like that) so, I just opened TWRP and then I removed everything even the system. Now, I can't install MM it always gives me the error "sparse flash write failure" in fastboot; however, when I installed b385 it finished the installation. In addition, I can't install anything for MM like recovery and twrp.
At the moment I can access only to trwp, fastboot, erecovery and dload (although it never works for me :crying
PS: I have tried to install rollback package via dload but it said it isn't compatible and stopped at 5%
IDontKnowAnythingAtAll said:
Hello,
First of all, my version was l19c185b385
I wanted to install marshmallow instead of nougat because of Xposed. Anyway, I didn't want to use rollback package (I didn't know that I can't install marshmallow like that) so, I just opened TWRP and then I removed everything even the system. Now, I can't install MM it always gives me the error "sparse flash write failure" in fastboot; however, when I installed b385 it finished the installation. In addition, I can't install anything for MM like recovery and twrp.
At the moment I can access only to trwp, fastboot, erecovery and dload (although it never works for me :crying
PS: I have tried to install rollback package via dload but it said it isn't compatible and stopped at 5%
Click to expand...
Click to collapse
Well done. Well done.
Try to flash firmware as zip file via twrp.
Are you able to mount/unmount /system in twrp?
xtcislove said:
Well done. Well done.
Try to flash firmware as zip file via twrp.
Are you able to mount/unmount /system in twrp?
Click to expand...
Click to collapse
yes I can mount system, I can't flash the firmware as zip because i don't have it i mean the update.zip can't be flashed in twrp
IDontKnowAnythingAtAll said:
yes I can mount system, I can't flash the firmware as zip because i don't have it i mean the update.zip can't be flashed in twrp
Click to expand...
Click to collapse
Come on... You risking your phone here, why don't you do some research before you mess things up?
The zip file with the update. App in it (firmware) is flashable with twrp
Huawei Firmware finder app in play store and you are fine
xtcislove said:
Come on... You risking your phone here, why don't you do some research before you mess things up?
The zip file with the update. App in it (firmware) is flashable with twrp
Huawei Firmware finder app in play store and you are fine
Click to expand...
Click to collapse
I thought you can't flash a system.zip without meta-inf
Anyway I have flashed it and it didn't work
I have also download another copy of the system, and yet nothing changed
Edit: the errors are
32K crc checked failure
E: unknown command [error]
E: unknown command [error]
update_huawei_pkg_from_ota_zip: update package from zip failed
updater process ended with error: 7
error installing zip file '/sdcard/update.zip'
updating partition details
failed to mount '/vendor' (invalid argument)
failed to mount '/product' (invalid argument)
failed to mount '/version' (invalid argument)
...done
okay, i have managed to fully fix my phone thanks to you , but now i need to rollback can you teach me how? idk why but dload method always fail
IDontKnowAnythingAtAll said:
okay, i have managed to fully fix my phone thanks to you , but now i need to rollback can you teach me how? idk why but dload method always fail
Click to expand...
Click to collapse
Look for a dload folder on your internal storage, there could be another folder something with "hw" in the name but i dont know anymore what i like to say there are maybe leftovers from an OTA or something like this just delete any folder with zip files in it.
Maybe you have the wrong Rollback package.
The Rollback package from the second link in my signature works on EVAL09 and EVAL19.
I'm trying to install a oreo custom rom, but when I trying to flash the ZIP file from TWRP, an ERROR 7 appears:
mount: Failed to mount /dev/block/plataform/soc.0/
7824900.sdhci/by-name/system at /system: No such
file or directory
Backuptools: starting backup script
Backuptools: DONE! Now real installation will begin
Failed to unmount /system: no such volume
script aborted (no error message)
Updater process ended witch ERROR: 7
Error installing zip file
I already have...
Firmware: HM4X_fw_9.2.4.0glob_baseband_v032
TWRP: twrp_santoni_oreo
Please help me
hello,
"Failed to mount" means the filesystem is toast, format at least system first.
kind regards
gabom88 said:
I'm trying to install a oreo custom rom, but when I trying to flash the ZIP file from TWRP, an ERROR 7 appears:
mount: Failed to mount /dev/block/plataform/soc.0/
7824900.sdhci/by-name/system at /system: No such
file or directory
Backuptools: starting backup script
Backuptools: DONE! Now real installation will begin
Failed to unmount /system: no such volume
script aborted (no error message)
Updater process ended witch ERROR: 7
Error installing zip file
I already have...
Firmware: HM4X_fw_9.2.4.0glob_baseband_v032
TWRP: twrp_santoni_oreo
Please help me
Click to expand...
Click to collapse
Use Redwolf TWRP
hsboss said:
Use Redwolf TWRP
Click to expand...
Click to collapse
Same error
gabom88 said:
Same error
Click to expand...
Click to collapse
Format the system, not internal storage!
hsboss said:
Format the system, not internal storage!
Click to expand...
Click to collapse
Wipe/format system, data, cache and dalvik patition but the same error 7 always appears. And yes... I Have and updated firmware (032)
I don't think you need format anything. You only need Mount system manually on TWRP. That's it
gabom88 said:
Wipe/format system, data, cache and dalvik patition but the same error 7 always appears. And yes... I Have and updated firmware (032)
Click to expand...
Click to collapse
U can try mounting system before flashing! But U guess u already might have done that?
hsboss said:
U can try mounting system before flashing! But U guess u already might have done that?
Click to expand...
Click to collapse
thanks for answering. I have already tried it and the same error appears.
The only ROM with Android oreo that I could install is AEX
gabom88 said:
thanks for answering. I have already tried it and the same error appears.
The only ROM with Android oreo that I could install is AEX
Click to expand...
Click to collapse
There might be problem with the zip file!
hsboss said:
There might be problem with the zip file!
Click to expand...
Click to collapse
the ZIP file is correct. I have verified by md5
gabom88 said:
the ZIP file is correct. I have verified by md5
Click to expand...
Click to collapse
Google for the TWRP Error 7 solution. I remember the solution is to edit the updater script file,perhaps!
hsboss said:
Google for the TWRP Error 7 solution. I remember the solution is to edit the updater script file,perhaps!
Click to expand...
Click to collapse
This error can be for many reasons different. Searching in Google this error says that it is because the ZIP file specifies another device name, but this is not my case
gabom88 said:
This error can be for many reasons different. Searching in Google this error says that it is because the ZIP file specifies another device name, but this is not my case
Click to expand...
Click to collapse
Have you tried nikesh's 3.2.1 TWRP? This happened to me when I installed an early TWRP for when this device was a few months old and tried to install RR 6.0.0
read here... https://forum.xda-developers.com/showthread.php?t=2522762