[FIXED]Wiped the device, but can't install/flash/update new ROM - P8 Lite (2017) Discussion

FIXED: See at the end of the post
Hello !
So I tried fastboot/dload/twrp, but none of this worked.
I used this ROM : http://www.stechguide.com/download-huawei-p8-lite-2017-android-nougat-firmware/
- fastboot fails telling me the package is missing an android_info.txt file.
- dload because apparently "the update package does not exist" (I did create a dload folder at the root of my SD card with the update.app file inside)
- twrp fails at error 7 :
[2017-06-07 00:14:47 634] update_from_zip_module_post,line=189: cmd_unit_write_begin_func failure
error:update_device_func,line:300, all_module_func[1]
minzip: Process function elected to fail (in inflate)
[2017-06-07 00:14:47 634] dload_format_userdata,line=413: info.upgrade_entrance = 0
[2017-06-07 00:14:47 634] dload_format_userdata,line=414: info.is_partition_changed = 0
[2017-06-07 00:14:47 634] dload_format_userdata,line=415: info.is_userdata_changed = 0
[2017-06-07 00:14:47 634] dload_format_userdata,line=416: info.is_reboot_for_format = 0
[2017-06-07 00:14:47 634] dload_format_userdata,line=417: info.is_already_write_userdata = 0
[2017-06-07 00:14:47 634] dload_format_userdata,line=418: info.is_format_internal_card_protect = 0
[2017-06-07 00:14:47 634] dload_format_userdata,line=419: info.is_factory_runmode = 0
[2017-06-07 00:14:47 634] dload_format_userdata,line=420: info.is_data_package = 0
[2017-06-07 00:14:47 634] dload_format_userdata,line=554: dload_format_userdata ok!
script aborted: update_huawei_pkg_from_ota_zip: update package from zip failed
check_write_data_to_partition,write data error
E:unknown command [errno]
update_huawei_pkg_from_ota_zip: update package from zip failed
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
I:Install took 0 second(s).
Error installing zip file '/external_sd/Download/update.zip'
Updating partition details...
Iata backup size is 874MB, free: 7416MB.
I:Unable to mount '/usbotg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /external_sd/recovery.log
Click to expand...
Click to collapse
Indeed I can't mount /usbotg manually.
- Huawei eRecovery also fails "getting package info failed".
I'm getting desperate...I was stupid to wipe without backup...
EDIT:
I finally managed to fix my device. My error stemmed from the fact I tried to flash the wrong ROM.
Here's what I used:
- [Firmware Finder](https://forum.xda-developers.com/tools/general/huawei-firmware-finder-team-mt-t3469146).
It allowed me to find the original stock ROM of my device (PRA-LX1C530B111).
- [Huawei UPDATE extractor](https://forum.xda-developers.com/showthread.php?t=2433454)
I extracted the update.app file found on firmware finder (System.img, boot.img, recovery.img) so I could flash them later with fastboot.
- [fastboot and adb](https://forum.xda-developers.com/showthread.php?t=2317790)
It allowed me to flash the .img files extracted earlier with the Huawei Update extractor. ("fastboot flash *** ***.img" *** being in turn system, boot and recovery)
- Once there, I went into eRecovery holding vol up + power buttons (your device has to be off and not connected to the computer) and chose the official factory reset (which I couldn't use before flashing the .img files).
So in place of a blank screen greeting me after the Huawei logo, I had the usual procedure for brand new ROM.
I hope I can be useful to someone who experience the same level of naivety than me.

Help me please
Hello i used firmware finder and downloaded the right firmware then i extracted it and then i flashed system,boot and recovery and then i did the last thing you said but it didnt work i still got: "Getting package info failed"

I downloaded update.zip. I extracted system.img, recovery.img and boot.img. I flashed recovery and boot files. But i can't flash system.img. I am trying to load the stock rom. There is an error message: "remote: command not allowed". What's the problem? Thank you.
---------- Post added at 06:02 PM ---------- Previous post was at 05:09 PM ----------
i unlocked the bootloader and then flashed system.img
then i relocked the bootloader.
but the build number is the same.
it should have been different, i guess?

Related

HD Hybrid to EMMC - no recovery

Was running CM10.1 HYBRID
Went to 10.2 EMMC and cannot access recovery from EMMC - If i put the SD card back can get into recovery from there
Otherwise all works fine
Any ideas how to fix ?
TIA
Unless you flashed a custom recovery to emmc, there is only stock recovery there.
Once you have flashed a custom recovery to internal, just boot and hold the power and n buttons very briefly. Release the power button before it turns itself off. That will put you into recovery (either stock or custom depending on which you have installed)
Sent from my BN NookHD+ using xda premium
Thanks for reply
Here is recover log when I try and flash TWRP
I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/3024760203024104'
I:Version number saved to '/cache/recovery/.version'
I:Switching packages (TWRP)
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:Set page: 'flash_zip'
Installing '/emmc/twrp-recovery-ovation-4.zip'...
Checking for MD5 file...
I:Cannot find file /emmc/twrp-recovery-ovation-4.zip.md5
Skipping MD5 check: no MD5 file found.
script aborted: assert failed: getprop("ro.product.device") == "ovation" || getprop("ro.build.product")
== "ovation"
assert failed: getprop("ro.product.device") == "ovation" || getprop("ro.build.product")== "ovation"
E:Error executing updater binary in zip '/emmc/twrp-recovery-ovation-4.zip'
Error flashing zip '/emmc/twrp-recovery-ovation-4.zip'
Updating partition details...
E:Unable to mount '/bootdata'
I:Actual block device: '/dev/block/mmcblk0p6', current file system: 'vfat'
Iata backup size is 576MB, size: 12977MB, used: 922MB, free: 11906MB, in data/media: 345MB.
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:Set page: 'flash_zip'
I know nothing about TWRP. Try CWM.
Sent from my BN NookHD+ using xda premium
Once I got CWM for the right device
it worked!
thanks for your help

[Q&A] [ROM][5.0.2][TITAN]RESURRECTION REMIX_lp[WIP][CM12]

Q&A for [ROM][5.0.2][TITAN]RESURRECTION REMIX_lp[WIP][CM12]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [ROM][5.0.2][TITAN]RESURRECTION REMIX_lp[WIP][CM12]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
found a small problem when playing videos, they reproduce in slow motion most of the time .. sorry my English, I am Brazilian ..
Rom is very nice, smooth and fast, great work!
Please put option to select Sim1 and Sim2 ringtones separately like BlissPop Rom
How to disable bold font on settings?
Sent from my Moto G 2014 using XDA Free mobile app
UI crashing on last REsurrection ROM Update
The UI is crashing when I change the phone position from vertical to horizontal on gallery and other apps.
I am talking about the last ROM update Resurrection Remix Lollipop 5.0.2 - v5.3.8
ROM 5.3.8, clean Flash
Swipe-Gesture doesn't work on AOSP-Keyboard
A:http://forum.cyanogenmod.org/topic/103962-no-gesture-typing-in-aosp-keyboard/
TheSword75 said:
The UI is crashing when I change the phone position from vertical to horizontal on gallery and other apps.
I am talking about the last ROM update Resurrection Remix Lollipop 5.0.2 - v5.3.8
Click to expand...
Click to collapse
I have also noticed.
Restart
Včera 2x při volání
Restart when calling 3x, 1x changing
wallpaper
heyy wen i flash this rom in TWRP
it shows an error to me nd shows failed
please help me how to install this rom
Last two builds fail when trying to flash? I'm on xt64/TWRP.
Sent from my Moto G 2014 using XDA Premium 4 mobile app
cant flash it...(
Hey @varund7726 bhai. First of all thnx work bringing RR for moto g the problem is i tried flashing it after clearing dalvik, data, system and cache but the status said failed.......i m using xt1068, twrp 2.8.5.0 also providing you the log.....
Iperation_start: 'Flashing'
Installing '/sdcard1/cm-Resurrection_Remix_LP_v5.3.9-20150320-titan.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
script aborted: This package supports bootloader(s): 0x4882; this device has bootloader 0x4807.
This package supports bootloader(s): 0x4882; this device has bootloader 0x4807.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard1/cm-Resurrection_Remix_LP_v5.3.9-20150320-titan.zip'
Error flashing zip '/sdcard1/cm-Resurrection_Remix_LP_v5.3.9-20150320-titan.zip'
Updating partition details...
Iata backup size is 0MB, free: 6066MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
lolsinnerlol said:
Hey @varund7726 bhai. First of all thnx work bringing RR for moto g the problem is i tried flashing it after clearing dalvik, data, system and cache but the status said failed.......i m using xt1068, twrp 2.8.5.0 also providing you the log.....
Iperation_start: 'Flashing'
Installing '/sdcard1/cm-Resurrection_Remix_LP_v5.3.9-20150320-titan.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
script aborted: This package supports bootloader(s): 0x4882; this device has bootloader 0x4807.
This package supports bootloader(s): 0x4882; this device has bootloader 0x4807.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard1/cm-Resurrection_Remix_LP_v5.3.9-20150320-titan.zip'
Error flashing zip '/sdcard1/cm-Resurrection_Remix_LP_v5.3.9-20150320-titan.zip'
Updating partition details...
Iata backup size is 0MB, free: 6066MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Click to expand...
Click to collapse
Here's your error
This package supports bootloader(s): 0x4882; this device has bootloader 0x4807.
This package supports bootloader(s): 0x4882; this device has bootloader 0x4807.
Upgrade your bootloader to lollipop
One Question... Is in the new 5.1 Build Dual Sim full functionelly on my XT1068?
1) Can someone help me and explain what this vertical white line on the top of my lock screen is? Only appears when locking the phone. See attached screenshot.
ronnycoleman said:
1) Can someone help me and explain what this vertical white line on the top of my lock screen is? Only appears when locking the phone. See attachment.
Click to expand...
Click to collapse
most likely the carrier label with no carrier name so it's just the separator there
HouseBreaker said:
most likely the carrier label with no carrier name so it's just the separator there
Click to expand...
Click to collapse
Ah thanks. Seems the sim card somehow wasn't unlocked. After rebooting I entered my pin and the carrier name appeared.
But is there a chance to deactivate the info for a (missing/not inserted) 2nd sim card on the lock screen?
Hey, excelent rom and work, loving 5.1 with this custom.
Just one bug I have found and searched for without results: Music app FC when playing anything. I clean flashed and everything else is working fine (xt1068). Has someone faced this bug?
---------- Post added at 06:51 PM ---------- Previous post was at 06:40 PM ----------
ronnycoleman said:
Ah thanks. Seems the sim card somehow wasn't unlocked. After rebooting I entered my pin and the carrier name appeared.
But is there a chance to deactivate the info for a (missing/not inserted) 2nd sim card on the lock screen?
Click to expand...
Click to collapse
Yeah, that bar its annoying, but there is no mod for disabling it in settings
BTW, I see on your screenshot you have the same bug as me: Double network icons. This shouldnt happen, one should be there and the other one should be an unused SIM icon that actually can be hidden (on Configurations/UI/StatusBar/Show empty SIM icons). Dont confound, this last setting doesnt change the lockscreen bar you are talking about, I was just describing the two icons bug
Jeees! Best rom eva! Thx
Also I noticed that some apps are crashing sometimes when minimizing (using back/return navigation button)...never happened on stock rom. I think I'll have to collect the crash logs then..

[q&a] [rom][5.1.1][blisspop][official][cancro]

Q&A for [ROM][5.1.1][BLISSPOP][OFFICIAL][CANCRO]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [ROM][5.1.1][BLISSPOP][OFFICIAL][CANCRO]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Error installing ROMs
Hi all,
I got error blkdiscard failed invalid argument while flashing [ROM][5.1.1][BLISSPOP][OFFICIAL][CANCRO]
Many said that I had to extend partition to 1.2GB, which I already did.
Here is what I have did before
-[ROM][5.1.1][CANCRO UNOFFICIAL] Resurrection Remix LP
-script extend partition
-flash TWRP
all step above failed to install[ROM][5.1.1][BLISSPOP][OFFICIAL][CANCRO] and also
[ROM][5.1.1][UNOFFICIAL] GZR Validus ROM V8.0 [R2,2015-06-09]
Here is my log from TWRP
PHP Code:
Installing '/sdcard/Custom_rom/[ROM][5.1.1][BLISSPOP][OFFICIAL][CANCRO]
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
minzip: Extracted 4 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
Patching system image unconditionally...blockimg version is 2
erasing 318848 blocks
script aborted: blkdiscard failed: Invalid argument
blkdiscard failed: Invalid argument
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/[ROM][5.1.1][BLISSPOP][OFFICIAL][CANCRO]
Error flashing zip '/sdcard/[ROM][5.1.1][BLISSPOP][OFFICIAL][CANCRO]
Updating partition details...
when i want to get the logcat on my mi4...
i got this tips "Unable to open log device 'main'" , is this a bug?
when will the new build come without sod ?
or if i install the current build and dont use ambient display will it solve the sod issue?
Thanks! Works fine
But lockscreen rotates even when "lockscreen" rotation is disabled
Can't install
Am on stock partition I can't install it and it gv me error status 7 plz can u say solution
please help me!!! I'm flashing the ROM is fail . E:Error executing updater binary in zip '/sdcard/XXXX.zip. My Device: Xiaomi mi4 .:crying::crying::crying:
Plz help
zip not installed. twrp shows error executing updater binary installation aborted. plzzz helppp!!!
Flashed .. Working super cool...
Experiencing awesome customization... Kudos..
Really need camera app .. No camera app .. Tried google camera error says can't connect to the camera.. And FM app...
Do pleas help to flash these two apps
---------- Post added at 10:44 PM ---------- Previous post was at 10:40 PM ----------
sumitk3 said:
zip not installed. twrp shows error executing updater binary installation aborted. plzzz helppp!!!
Click to expand...
Click to collapse
Problem is because of partition
Hey guys you just need to flash extended partition script or modify partition through adb... You can find it in XDA forum...
Error flashing, HELP!!
Hi, I had the 2.2 version installed, I installed other ROM and when I try to flash the new Blisspop 3.5v with CMW in my Mi 4, I have an error (Status 7) or (Status 6). I tried to change the boot.img for other one than works, but it does not flash... Anyone knows why this happens?
Apology for my english :///
Heeeeelp!!!
I can't flash? Have i got to format system 2 or delete it? Pls I need an answer (((((
sergio_gnzlz said:
I can't flash? Have i got to format system 2 or delete it? Pls I need an answer (((((
Click to expand...
Click to collapse
Have you repartitioned it to 1.2 GB it wont install on stock partition. If you dont know how to repartition search on miui forum there zip files are provided
---------- Post added at 11:04 AM ---------- Previous post was at 10:47 AM ----------
Using this rom from 2 days, highly customizable, stable rom, slightly sluggish as compared to ivans but in day to day use u wont even notice. Can be used as daily driver if you dont bother about following issues
Few concerns need to be adressed-
1. Battery drain is faster than other roms. was expected as it is CM based rom and I have made lot of customizations but hey, more the merrier....
2. Camera app- Must needed as not a single app works
3. Mobile network issue- Reboot results in no network or no sim card error- workaround is mentioned in other posts- Airplane mode-ON, reboot, turn airplane mode OFF. Not sure if during sleep the phone results in not reachable to the caller.
4. Not sure about X-posed framework- can anyone update if this rom supports Xposed and Xmod games
5. Quick setting panel/notification panel dropdown is must on lockscreen and with torch support (I guess if you fix camera, torch will also work)
Thankfully no SOD or call bug in latest release of 24th June
Will wait for another 3-4 days if no update to above issues will shift to omni or CM12.1 temasek
Camera still not working
Hi Jackeagle,
Camera issue is still there even in the latest July versions also. Please do something. We love your rom
Error executing install script in BlissPop-v3.6-cancro-OFFICIAL-20150708-1540
Hi,
I have just tried to install your ROM on my cancro device. I followed all the steps.
However, everytime I try to flash the ZIP through TWRP, I get a message in red, saying that there wasn and error executing install script in BlissPop-v3.6-cancro-OFFICIAL-20150708-1540
And the flash fails. What am I doing wrong ?
Here's the log:
Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing '/sdcard/BlissPop-v3.6-cancro-OFFICIAL-20150708-1540.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
minzip: Extracted 4 file(s)
******************************************
* BlissPop Rom
******************************************
* Created By TeamBliss
******************************************
* Build date: Wed Jul 8 15:42:18 PDT 2015
* Device: MI 3W (cancro)
******************************************
{*} Running backup scripts...
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 3
run_program: child exited with status 127
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
{*} Done.
blockimg version is 2
erasing 318848 blocks
{*} Following operation takes time, please wait...
{*} Installation is block based
Patching system image unconditionally...
script aborted: blkdiscard failed: Invalid argument
blkdiscard failed: Invalid argument
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/BlissPop-v3.6-cancro-OFFICIAL-20150708-1540.zip'
Error flashing zip '/sdcard/BlissPop-v3.6-cancro-OFFICIAL-20150708-1540.zip'
Updating partition details...
Iata backup size is 0MB, free: 11416MB.
I:Unable to mount '/usbotg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'settings'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing '/sdcard/BlissPop-v3.6-cancro-OFFICIAL-20150708-1540.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Verifying zip signature...
I:read key e=3 hash=20
I:read key e=65537 hash=20
I:read key e=65537 hash=20
I:read key e=65537 hash=20
I:4 key(s) loaded from /res/keys
I:comment is 1738 bytes; signature 1720 bytes from end
I:whole-file signature verified against RSA key 0
Zip signature verified successfully.
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
minzip: Extracted 4 file(s)
******************************************
* BlissPop Rom
******************************************
* Created By TeamBliss
******************************************
* Build date: Wed Jul 8 15:42:18 PDT 2015
* Device: MI 3W (cancro)
******************************************
{*} Running backup scripts...
detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 3
run_program: child exited with status 127
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
{*} Done.
blockimg version is 2
erasing 318848 blocks
{*} Following operation takes time, please wait...
{*} Installation is block based
Patching system image unconditionally...
script aborted: blkdiscard failed: Invalid argument
blkdiscard failed: Invalid argument
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/BlissPop-v3.6-cancro-OFFICIAL-20150708-1540.zip'
Error flashing zip '/sdcard/BlissPop-v3.6-cancro-OFFICIAL-20150708-1540.zip'
Updating partition details...
Iata backup size is 0MB, free: 11416MB.
I:Unable to mount '/usbotg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'settings'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log

[Q] Unable to update to 7.19.401.22

Hello,
I have the 7.19.401.2 installed on my m7. I have the stock rom with the elemantalX kernel.
The last week-end, my phone try to update to 7.19.401.22 but it doesn't work (error on TWRP 2.8.5.0, see below)
I:Inserting 'install [email protected]|@uC'
I:Copying file /cache/recovery/log to /cache/recovery/last_log
tw_get_context got selinux context: ubject_r:media_rw_data_file:s0
I:Got default contexts and file mode for storage files.
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/HT35MW900317'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
__bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
I:TWFunc::Set_Brightness: Setting brightness control to 255
I:TWFunc::Fixup_Time: Pre-fix date and time: 2015-07-03--11-35-23
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: Date and time corrected: 2015-07-03--11-35-23
I:Switching packages (TWRP)
I:Set page: 'action_page'
Iperation_start: 'OpenRecoveryScript'
Processing AOSP recovery commands...
I:command is: 'install'
I:value is: '[email protected]|@uC'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
I:Trying to find zip '[email protected]|@uC' on '/data/media/0'...
Unable to locate zip file '[email protected]|@uC'.
Installing '[email protected]|@uC'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
sysutil: Unable to open '[email protected]|@uC': No such file or directory
E:Failed to sysMapFile '[email protected]|@uC'
E:Error installing zip file '[email protected]|@uC'
Done processing script file
Iperation_end - status=1
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Click to expand...
Click to collapse
Need I to install a stock kernel to be able to update ? Or someone does have an idea on this error ?
jfjava2002 said:
Hello,
I have the 7.19.401.2 installed on my m7. I have the stock rom with the elemantalX kernel.
The last week-end, my phone try to update to 7.19.401.22 but it doesn't work (error on TWRP 2.8.5.0, see below)
Need I to install a stock kernel to be able to update ? Or someone does have an idea on this error ?
Click to expand...
Click to collapse
You can't install ota updates using a custom recovery, your system partition must also be 100% untouched for the ota to install. Flash the stock recovery back and if it still doesn't work that mean you rom isn't 100% stock so you'll have to update using the 7.19.401.22 ruu.zip posted in the general section.
OK I will try this.
Thanks for your answer!
Sent from my HTC One using XDA Free mobile app

I think my Moto G is bricked

Hi, yesterday i was talking with my phone and suddenly it shutdown with 0 battery, when i turn on the phone it begin to spawn me error messages..
When i tried to Wipe/FactoryReset it only says
Wipe Complete
Failed
Full SELinux support is present.
E: Unable to open '/cache/recovery/.version'.
MTP Enabled
Wiping Dalvik Cache Directories...
Cleaned: /data/dalvik-cache...
- - Dalvik Cache Directories Wipe Complete!
Wiping data without wiping /data/media ...
Done.
Wiping internal storage - - /data/media...
Updating partition details...
And when i tried to install a rom it says
(TWRP)
I:Starting command line thread
created new mtpserver object
adding internal storage
MtpStorage id: 65537 path: /data/media/0
MtpStorage id: 65539 path: /sdcard1
MtpServer::run fd: 51
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing '/sdcard1/TitanPrimeROMv1.0.3_UNIFIED.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
installing gptupgrade updater extensions
file_contexts path is present in /tmp/file_contexts
******************************************
* Installing... *
* Titan ROM for Motorola Moto G 2014 *
* v1.0.3 BETA *
* Compiled on March 25, 2015 *
******************************************
***FORMATTING SYSTEM***
blk: partition "" size 1036288 not a multiple of io_buffer_size 524288
blk: partition "" size 2387968 not a multiple of io_buffer_size 524288
blk: partition "" size 1036288 not a multiple of io_buffer_size 524288
blk: partition "" size 1077248 not a multiple of io_buffer_size 524288
blk: partition "" size 10444800 not a multiple of io_buffer_size 524288
blk: partition "" size 10526720 not a multiple of io_buffer_size 524288
blk: partition "" size 560070656 not a multiple of io_buffer_size 524288
blk: partition "" size 5912788992 not a multiple of io_buffer_size 524288
blk: partition "" size 7943989248 not a multiple of io_buffer_size 524288
Attempting to mount /dev/block/platform/msm_sdcc.1/by-name/userdata as ext4
Failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data error Device or resource busy
Can't mount userdata partition for validating erase
Formatting partition /dev/block/platform/msm_sdcc.1/by-name/system of length 45000000 starting at 2a100000
Aligning offset to 400000 boundary by moving 300000 bytes
Failed to wipe /dev/block/platform/msm_sdcc.1/by-name/system partition. ioctl failure. errno 5
blkdiscard on partition /dev/block/platform/msm_sdcc.1/by-name/system failed
script aborted: assert failed: format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system")
assert failed: format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system")
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard1/TitanPrimeROMv1.0.3_UNIFIED.zip'
Error flashing zip '/sdcard1/TitanPrimeROMv1.0.3_UNIFIED.zip'
Updating partition details...
Iata backup size is 2518MB, free: 610MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /sdcard1/recovery.log
even with te rom is has at the moment.. I'm really desperate, plz help me with this
Sorry for my bad english, im from venezuela.
thepaco12 said:
Hi, yesterday i was talking with my phone and suddenly it shutdown with 0 battery, when i turn on the phone it begin to spawn me error messages..
When i tried to Wipe/FactoryReset it only says
Wipe Complete
Failed
Full SELinux support is present.
E: Unable to open '/cache/recovery/.version'.
MTP Enabled
Wiping Dalvik Cache Directories...
Cleaned: /data/dalvik-cache...
- - Dalvik Cache Directories Wipe Complete!
Wiping data without wiping /data/media ...
Done.
Wiping internal storage - - /data/media...
Updating partition details...
And when i tried to install a rom it says
(TWRP)
I:Starting command line thread
created new mtpserver object
adding internal storage
MtpStorage id: 65537 path: /data/media/0
MtpStorage id: 65539 path: /sdcard1
MtpServer::run fd: 51
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing '/sdcard1/TitanPrimeROMv1.0.3_UNIFIED.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
installing gptupgrade updater extensions
file_contexts path is present in /tmp/file_contexts
******************************************
* Installing... *
* Titan ROM for Motorola Moto G 2014 *
* v1.0.3 BETA *
* Compiled on March 25, 2015 *
******************************************
***FORMATTING SYSTEM***
blk: partition "" size 1036288 not a multiple of io_buffer_size 524288
blk: partition "" size 2387968 not a multiple of io_buffer_size 524288
blk: partition "" size 1036288 not a multiple of io_buffer_size 524288
blk: partition "" size 1077248 not a multiple of io_buffer_size 524288
blk: partition "" size 10444800 not a multiple of io_buffer_size 524288
blk: partition "" size 10526720 not a multiple of io_buffer_size 524288
blk: partition "" size 560070656 not a multiple of io_buffer_size 524288
blk: partition "" size 5912788992 not a multiple of io_buffer_size 524288
blk: partition "" size 7943989248 not a multiple of io_buffer_size 524288
Attempting to mount /dev/block/platform/msm_sdcc.1/by-name/userdata as ext4
Failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data error Device or resource busy
Can't mount userdata partition for validating erase
Formatting partition /dev/block/platform/msm_sdcc.1/by-name/system of length 45000000 starting at 2a100000
Aligning offset to 400000 boundary by moving 300000 bytes
Failed to wipe /dev/block/platform/msm_sdcc.1/by-name/system partition. ioctl failure. errno 5
blkdiscard on partition /dev/block/platform/msm_sdcc.1/by-name/system failed
script aborted: assert failed: format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system")
assert failed: format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system")
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard1/TitanPrimeROMv1.0.3_UNIFIED.zip'
Error flashing zip '/sdcard1/TitanPrimeROMv1.0.3_UNIFIED.zip'
Updating partition details...
Iata backup size is 2518MB, free: 610MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /sdcard1/recovery.log
even with te rom is has at the moment.. I'm really desperate, plz help me with this
Sorry for my bad english, im from venezuela.
Click to expand...
Click to collapse
You could try the fastboot -w to CLEAR the userdata and cache AFTER INSTALLING TWRP and wipe options MAKE THE THREE TYPES OF AVALIABLE WIPE, is to slide the button, then the write "yes" and finally the advanced and selects the partitions , WORKS WITH ME .
Only stock roms on my Motorola G can format the partitions in the boot process if they are in RAW format that should be the case, you'll have to make three types of wipes available in TWRP , make quiet that gives nothing and then flash the rom.
(custom roms if partitions are formatted RAW How badly these errors.)
in wipe advanced selects all partitions , date, cache , system , there you go and try to flash the rom again
LudwigFerdinand18 said:
You could try the fastboot -w to CLEAR the userdata and cache AFTER INSTALLING TWRP and wipe options MAKE THE THREE TYPES OF AVALIABLE WIPE, is to slide the button, then the write "yes" and finally the advanced and selects the partitions , WORKS WITH ME .
Only stock roms on my Motorola G can format the partitions in the boot process if they are in RAW format that should be the case, you'll have to make three types of wipes available in TWRP , make quiet that gives nothing and then flash the rom.
(custom roms if partitions are formatted RAW How badly these errors.)
in wipe advanced selects all partitions , date, cache , system , there you go and try to flash the rom again
Click to expand...
Click to collapse
Hi, i have tried this.. But when i try flash the rom it get stuck on formating system (it was a custom rom), the only stock rom that i have is the one u can install with and easy install .bat.. Im becoming frustated with this problem :S
thepaco12 said:
Hi, i have tried this.. But when i try flash the rom it get stuck on formating system (it was a custom rom), the only stock rom that i have is the one u can install with and easy install .bat.. Im becoming frustated with this problem :S
Click to expand...
Click to collapse
maybe you should try the bootloader
fastboot erase cache
fastboot erase system
fastboot erase userdata
and after that make the wipes advanced TWRP by selecting all partitions except the USB - OTG partition
answer here in the TWRP presents an error to make these partitions wipes ... :good:
LudwigFerdinand18 said:
maybe you should try the bootloader
fastboot erase cache
fastboot erase system
fastboot erase userdata
and after that make the wipes advanced TWRP by selecting all partitions except the USB - OTG partition
answer here in the TWRP presents an error to make these partitions wipes ... :good:
Click to expand...
Click to collapse
if a more severe case and wipes do not resolve the only way is by using the adb shell as root and using dd ​​if to write the System partition a cell of the same model that its
The partition system is mmcblk0p36
What is the model of your Motorola ?
You tried to flash other custom roms ?
LudwigFerdinand18 said:
maybe you should try the bootloader
fastboot erase cache
fastboot erase system
fastboot erase userdata
and after that make the wipes advanced TWRP by selecting all partitions except the USB - OTG partition
answer here in the TWRP presents an error to make these partitions wipes ... :good:
Click to expand...
Click to collapse
It says like everything has been wipe, but nothing has been wipe... I think that's the biggest problem of them all.
welcome to the land of frozen/bricked nand
thepaco12 said:
It says like everything has been wipe, but nothing has been wipe... I think that's the biggest problem of them all.
Click to expand...
Click to collapse
you have experience with adb shell in root mode? you'll have to use dd if to repair the partition ...
just download the stock rom files of your device , flash all of them by fastboot method !
Restore to stock ... I should work ...
swapnilxd said:
just download the stock rom files of your device , flash all of them by fastboot method !
Click to expand...
Click to collapse
aseef17 said:
Restore to stock ... I should work ...
Click to expand...
Click to collapse
is not that easy that was the first thing i do.. Well then i just have lost 200 euros to the trash.. I can´t take that phone to any cellphone service on my country.. Thanks for all of you help.
thepaco12 said:
is not that easy that was the first thing i do.. Well then i just have lost 200 euros to the trash.. I can´t take that phone to any cellphone service on my country.. Thanks for all of you help.
Click to expand...
Click to collapse
Try searching on e-bay for the mainboard, you can replace it for a non-damaged one.

Categories

Resources