Stuck when flashing X720 - LeEco Le Pro3 Questions & Answers

So I've finally mustered up some courage to flash something fancy into my X720, and this is what happened. Up until flashing the ROM itself ([ROM] [TREBLE] [8.1] [Official] AICP 13.1 (Pro3 aka zl1, zl0, X727,X720,X722) by mosimchah) it went relatively well, but then I got twrp error 7. After some tweaking error message changed to "failed to mount '/system' (invalid argument). Can it be because I've wiped "system" before flashing? I think instructions said to do so... Anyway now I'm stuck, because even though I made a twrp backup, I was smart enough to remove it from the phone and now I can't put it back, because one of the files is 4gb in size, and I get error message when trying to copy it to phone storage (file system indicates "generic" or something along those lines). I'm new with this kind of stuff, so I really could use some advice. Should I flash stock rom? If so, which version? I can't remember exactly which was mine. I wonder if there's something to be done with that 4gb recovery file? And how did twrp mess up like that? Shouldn't it be calculated more carefully?

TheOkMan said:
So I've finally mustered up some courage to flash something fancy into my X720, and this is what happened. Up until flashing the ROM itself ([ROM] [TREBLE] [8.1] [Official] AICP 13.1 (Pro3 aka zl1, zl0, X727,X720,X722) by mosimchah) it went relatively well, but then I got twrp error 7. After some tweaking error message changed to "failed to mount '/system' (invalid argument). Can it be because I've wiped "system" before flashing? I think instructions said to do so... Anyway now I'm stuck, because even though I made a twrp backup, I was smart enough to remove it from the phone and now I can't put it back, because one of the files is 4gb in size, and I get error message when trying to copy it to phone storage (file system indicates "generic" or something along those lines). I'm new with this kind of stuff, so I really could use some advice. Should I flash stock rom? If so, which version? I can't remember exactly which was mine. I wonder if there's something to be done with that 4gb recovery file? And how did twrp mess up like that? Shouldn't it be calculated more carefully?
Click to expand...
Click to collapse
You can use a SD card or a USB otg and a flash drive for your backup
Sent from my PH-1 using Tapatalk

clsA said:
You can use a SD card or a USB otg and a flash drive for your backup
Sent from my PH-1 using Tapatalk
Click to expand...
Click to collapse
Thanks for the tip, clsA. Gave me quite a push. However, here what happened next: with USB OTG I was able to move the missing 4gb file to the phone storage and recovered my phone to a fully working state (wasn't able to recover directly from USB - anyone knows why? Maybe because it's ntfs?). Thinking I've established a good pivoting point I proceeded flashing custom ROMs. First time I did everything the same. The result was same, obviously. Then recovery. Then I tried leaving *system* out of wiping process and switched my ROM from AICP to DotOS. Installation went through without errors, but the ROM wasn't working correctly. SIM card wasn't recognized, HOME and DETAILS capacitive buttons wasn't working, couldn't download apps from play store, some crashing here and there. I though I had enough, and decided to recover for the time being, but when I did that upon boot up I got *ENCRYPTION UNSUCCESSFUL* error. There's restore system option under it, but it doesn't help. Tried recovering again - same. Reflashed DotOS - got my SIM recognized, but all other bugs remained. I think I'm doing something wrong when flashing, but can't figure out what. There isn't that many steps, and I followed them through... Even tried removing first lines of that script file (in ROM zip file) to get rid of that error 7 at the beginning of AICP installation, which didn't do anything (there's also a chance I've deleted wrong lines, or not all of them..). Maybe someone had similar problems and could share some ideas? And that Encryption error is very strange. Nothing changed after first recovery, so why I'm getting it? All the directories are in ex4 format. Any thoughts about this one?

TheOkMan said:
Thanks for the tip, clsA. Gave me quite a push. However, here what happened next: with USB OTG I was able to move the missing 4gb file to the phone storage and recovered my phone to a fully working state (wasn't able to recover directly from USB - anyone knows why? Maybe because it's ntfs?). Thinking I've established a good pivoting point I proceeded flashing custom ROMs. First time I did everything the same. The result was same, obviously. Then recovery. Then I tried leaving *system* out of wiping process and switched my ROM from AICP to DotOS. Installation went through without errors, but the ROM wasn't working correctly. SIM card wasn't recognized, HOME and DETAILS capacitive buttons wasn't working, couldn't download apps from play store, some crashing here and there. I though I had enough, and decided to recover for the time being, but when I did that upon boot up I got *ENCRYPTION UNSUCCESSFUL* error. There's restore system option under it, but it doesn't help. Tried recovering again - same. Reflashed DotOS - got my SIM recognized, but all other bugs remained. I think I'm doing something wrong when flashing, but can't figure out what. There isn't that many steps, and I followed them through... Even tried removing first lines of that script file (in ROM zip file) to get rid of that error 7 at the beginning of AICP installation, which didn't do anything (there's also a chance I've deleted wrong lines, or not all of them..). Maybe someone had similar problems and could share some ideas? And that Encryption error is very strange. Nothing changed after first recovery, so why I'm getting it? All the directories are in ex4 format. Any thoughts about this one?
Click to expand...
Click to collapse
follow instructions posted here > https://forum.xda-developers.com/showpost.php?p=77813881&postcount=793

clsA said:
follow instructions posted here > https://forum.xda-developers.com/showpost.php?p=77813881&postcount=793
Click to expand...
Click to collapse
Thanks again, clsA. Looks like this could be it. Will try it soon. For now I have flashed [ROM][X72X][7.1.X][OFFICIAL] LineageOS 14.1 (which is now 8.1 somehow...) and it works without any issues so far.
Any insights on why I'm getting *Encryption unsuccessful* error after restoring my original system image via TWRP (first recovery was fluent, error appeared following my later attempts for recovery)?

Related

TWRP not mount /system

I am unable at the moment with TWRP to mount my /system partition, which therefore has lead me not to have the ability to flash a custom ROM, but also at the same time I am ROMless, I have access to Recovery, at the moment, I'm attempting to sideload a Stock Rooted zip of my AT&T G2 ROM. However, I believe it won't have any progress, but I'm attempting anything at the moment in order to get my phone running.
Currently stuck on TWRP flashing a ROM and stuck on "Formatting" once again.
Any help would be appreciated. Quite frankly, I am scared out of my wit that I have bricked my phone, however there is some hope left in me with the fact that I have Recovery still running.
Kenchi* said:
I am unable at the moment with TWRP to mount my /system partition, which therefore has lead me not to have the ability to flash a custom ROM, but also at the same time I am ROMless, I have access to Recovery, at the moment, I'm attempting to sideload a Stock Rooted zip of my AT&T G2 ROM. However, I believe it won't have any progress, but I'm attempting anything at the moment in order to get my phone running.
Currently stuck on TWRP flashing a ROM and stuck on "Formatting" once again.
Any help would be appreciated. Quite frankly, I am scared out of my wit that I have bricked my phone, however there is some hope left in me with the fact that I have Recovery still running.
Click to expand...
Click to collapse
Im having the same issue too
Kenchi* said:
I am unable at the moment with TWRP to mount my /system partition, which therefore has lead me not to have the ability to flash a custom ROM, but also at the same time I am ROMless, I have access to Recovery, at the moment, I'm attempting to sideload a Stock Rooted zip of my AT&T G2 ROM. However, I believe it won't have any progress, but I'm attempting anything at the moment in order to get my phone running.
Currently stuck on TWRP flashing a ROM and stuck on "Formatting" once again.
Any help would be appreciated. Quite frankly, I am scared out of my wit that I have bricked my phone, however there is some hope left in me with the fact that I have Recovery still running.
Click to expand...
Click to collapse
Try this? http://forum.xda-developers.com/showthread.php?t=2451696
I finally solved the issue, miraculously, nothing was working so I just left the phone to continuing formatting for an hour so, came back, and it seemed to have done it, I installed Custom ROM, and it booted up normally, I'm not sure what triggered the phone to accept the system mount, but I am sure as hell happy it did. I was worried I was going to have a bricked device on my hands.
Hold strong, just allow the phone to continue doing what it needs to do I guess. Leave TWRP in all STOCK settings, I tried to modify multiple settings based on Devs saying to get a faster formatting to enable RM-F but I have no clue why and what didn't work.
Anyhow, problem resolved!
On another note, I would never use the recommended method from Droid_<3er as they would completely brick your phone unless you're specifically in the situation listed in that thread. As you would put your phone into a state where you lose both access to Recovery and ROM access, rendering your phone to a piece of plastic and metal. But it's definitely worth mentioning, I just had to do some research on the method cause I had the same thinking as well.
I can confirm by using normal make_ext4fs while formatting /system is the best way to avoid this. Was afraid of having a 5.2 inch brick, but thankfully, disabling the quick way to format has fixed it and allowed /system to be remounted.
I think (<-- that's the disclaimer) that it's OK to use the fast formatting method for Dalvik Cache and Cache, but not for System.
in my opinion it's best to use rm -rf /system aka delete_recursive("/system"); than formatting
I'm having the same issue, and I'd be willing to try this one. How would I do this?
I have the same issue with CWM and now got over to twrp with the same outcome.
Right here I see solutions that worked so far, but it seems like this was rather accidentially.
I want to try some of these, but in the thread posted above
"Try this? http://forum.xda-developers.com/show....php?t=2451696"
it says "Do it the wrong way and your phone might get nuked"
unfortunately it doesn't say what the commands in there mean...
Can anybody be of assistence which method will properly work without nuking the phone?
I have the MOTO G 2014 (2nd Gen)
It is an updated bootloader
i got the latest twrp
and some titan roms.
only stock rom will work so far,
custom roms will result in a bootloop.

[Q] Wrong data partition size

Hey guys!
I'm coming to you at the end of a loooong way after trying to upgrade to KitKat.
I started the upgrade to 4.4, on the go, and quite confident. What a mistake ...
The upgrade failed, and my device got bricked. Fortunately, I had the recovery partition. Unfortunately, I destroyed the recovery partition by mistake...
I finally succeed to fix the things, but I have no idea how exactly I did it (I just tried the things as they were coming, messing around with partitions and switching from tutorial to tutorial),
Anyway, I made it.
This was 2 months ago ... then time passed, and today I got a message "no space left on device". Hm, weird. I check and oh damn, my SD card only had 5GB on it ...!!
It looks like I've loaded the *GB version partition scheme at some point ... or just wrongly formatted the partitions ... or I don't know.
I've tried to check using fdisk, but it doesn't help me much.
I also tried some tools like "Partition table" but I still can't find the missing 10GB. it seems like they're just unpartitioned, but not even recognised as it ...
Did anyone ever had this issue? Any process to fix it? Or at least any way to rollback to the original partition scheme.
Many thanks!
Best,
Stop messing with all this crap.
Get the factory images.
Put the phone into fastboot mode and connect to the computer
Your computer needs to have a working fastboot set up. If not fix it.
Run the flash all script include in the factory images. It's the. Bat on Windows and. Sh on osx / Linux.
It fully wipes the phone. Everything gets wiped and flashes the stock images.
If you have anything on the internal storage you want to keep you can remove the - w line from that script and it won't wipe it.
When done you a stock phone with a unlocked bootloader. From there do what you want.. Either run stock. Flash a custom recovery and root or rom etc.
Or just use stock recovery and factory reset. It fix the storage size problem for me. You'll lose everything on your internal though, so make a backup of your pic/music/anything you think important in your phone.
**** it seems like the post subscription didn't work, I've just seen your replies.
Thanks guys, it seems like the right way to do it.
I'll try to do it tonight and let you know the progress.
Cheers!

[Q] Bricked Nexus 4

Hello Guys,
yesterday I restarted my Nexus 4, running the cm-13.0-20160520-NIGHTLY-mako. It stuck at the bootlogo, so I tried to reflash it in the twrp 2.8.7.0 recovery. But I got the error message "E:/ unable to mount /cache".
After that I was trying to solve this issue by wiping the cache, but I got the same error message -> The phone wasn't booting
From now on I did several things to solve my problem. I don't know the exact order.
- I've downloaded the Nexus Root Toolkit from WugFresh -> Tried to use the Flash Stock + Unroot Option with Soft-Bricked/Bootloop status enabled -> I choosed the 5.1.1 Factory Image -> In the cmd window, I get in every point the same error message "Falied (remote: flash write failure) -> I get the same message when I'm trying to manually flash each part of the factory image via fastboot
- Within the Toolkit I also tried to format cache, system and Userdata, but afther this I get the same error when trying to do the step before
- I think also used the Fastboot Flash options, but I'm not sure.
- After that I attempted to flash the cm13.zip via adb-sideload in TWRP. Here is a part from the error message I get:
"(...) could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/system, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: Invalid argument
unmount of /system failed: no such volume (...)
E: Error executing updater binary in zip 'sideload/package.zip'
E: Unable to mount '/data'
- In TWRP the Internal Storage is shown with 0mb
- Currently only the bootloader is working fine and I also can get a fastboot and adb connection to the phone
-> Loading the recovery is only possible by booting a recovery image in fastboot
Can somebody tell me if it is possible to restore my Nexus 4 and how to do it?
Thank you in advance :fingers-crossed:
PS: I hope I mentioned all the important points. If some information is missing, feel free to ask me.
Did you try to manually flash the latest rom?
Did you try to flash a stock 4.2 rom?
Tried different USB cables and USB ports?
audit13 said:
Did you try to manually flash the latest rom?
Did you try to flash a stock 4.2 rom?
Tried different USB cables and USB ports?
Click to expand...
Click to collapse
Thank you for your answer.
I tried to flash the newest cm13 in TWRP and with adb Sideload. I get the same error.
Also the 4.2 Stock rom doesn't work. Same problem as with the 5.1.1 factory image.
I also switched the cable and the USB ports, but it leads to the same error messages.
Try flashing the userdata.img file in fastboot. As soon as userdata finishes flashing, use the buttons to boot into recovery and perform a factory wipe. User the usedata.img file included with the stock ROM you flashed.
From what I see, your partitions got completely messed up. I reckon if it's fixable at all (assuming your chip ain't dead), the only thing that can fix it is fully reflashing everything via emergency mode. Now I can't seem to find the exact link, but I do know there was a thread on xda with instructions and everything. I'll keep digging around to see if I can find anything and then I'll link it here.
audit13 said:
Try flashing the userdata.img file in fastboot. As soon as userdata finishes flashing, use the buttons to boot into recovery and perform a factory wipe. User the usedata.img file included with the stock ROM you flashed.
Click to expand...
Click to collapse
I get the same error message as always: Falied (remote: flash write failure)
nerotNS said:
From what I see, your partitions got completely messed up. I reckon if it's fixable at all (assuming your chip ain't dead), the only thing that can fix it is fully reflashing everything via emergency mode. Now I can't seem to find the exact link, but I do know there was a thread on xda with instructions and everything. I'll keep digging around to see if I can find anything and then I'll link it here.
Click to expand...
Click to collapse
In Meanwhile I also think that my partitions are messed up. I saw one thread that could help me (http://forum.xda-developers.com/nexus-4/general/tutorial-how-to-unbrick-n4-t2347060), but some of the links are down.
Thank you for your help. :good:
Does the bootloader remain unlocked after rebooting? The emmc chip could be messed up and need replacement.
audit13 said:
Does the bootloader remain unlocked after rebooting? The emmc chip could be messed up and need replacement.
Click to expand...
Click to collapse
Unfortunately yes. After locking the bootloader via fastboot, the bootloader is marked as unlocked after rebooting.
Do I have to change the mainboard?
This confirms that the emmc chip is damaged and can only be fixed via a motherboard swap.
I had similar problems with two nexus 5 phones where I would unlock the bootloader but would always relock on reboot.
audit13 said:
This confirms that the emmc chip is damaged and can only be fixed via a motherboard swap.
I had similar problems with two nexus 5 phones where I would unlock the bootloader but would always relock on reboot.
Click to expand...
Click to collapse
Ok. Doesn't sound very good.
Nevertheless I will try the method of nerotNS, if he finds the thread.
tobi.king said:
I get the same error message as always: Falied (remote: flash write failure)
In Meanwhile I also think that my partitions are messed up. I saw one thread that could help me (http://forum.xda-developers.com/nexus-4/general/tutorial-how-to-unbrick-n4-t2347060), but some of the links are down.
Thank you for your help. :good:
Click to expand...
Click to collapse
Aye that's the thread I've been talking about. And yeah, the links are down for quite a while, I reckon the OP doesn't maintain it anymore. Anyways I used the tool once, I found all the files by Googling for like 4 hours or so - the most difficult one being the .dll file and getting the program itself to run. I'd upload them to you but there were on my C disk on my main rig and that got wiped when I reinstalled Windows :S I'm sure the files are on the net even now tho, I remember getting the .dll file from some Chinese website, Chrome's translator gave me enough info to actually download the file. Once I got it up and running the flash was OK, I've tested the method from that thread myself, the only problem is getting the files from the links that are down. I wish you good luck in your search for them, I know what an awful feeling it is for your nexus to die, my mako is still my daily driver, still kickin' ass
tobi.king said:
Ok. Doesn't sound very good.
Nevertheless I will try the method of nerotNS, if he finds the thread.
Click to expand...
Click to collapse
I did however have to change the motherboard out, since, while the flash was ok, the chip was not, so it didn't help much. I had an issue with my /data partition where it was completely gone, and the while filesystem got messed up, the only thing I could boot to was bootloader and even that only while on charger. Eventually I swapped my motherboard with a friends who didn't need her nexus 4 anymore and now it's ok. I suggest you first attempt the method from that link and if that fails, then you should resort to getting a new motherboard, but imo only if you can get it either dirt cheap or in a way like I did. Caching out around 100$ for a new nexus 4 mb, with phones like nexus 5X 32Gb costing 300$ is not a good investment if you ask me.
nerotNS said:
Aye that's the thread I've been talking about. And yeah, the links are down for quite a while, I reckon the OP doesn't maintain it anymore. Anyways I used the tool once, I found all the files by Googling for like 4 hours or so - the most difficult one being the .dll file and getting the program itself to run. I'd upload them to you but there were on my C disk on my main rig and that got wiped when I reinstalled Windows :S I'm sure the files are on the net even now tho, I remember getting the .dll file from some Chinese website, Chrome's translator gave me enough info to actually download the file. Once I got it up and running the flash was OK, I've tested the method from that thread myself, the only problem is getting the files from the links that are down. I wish you good luck in your search for them, I know what an awful feeling it is for your nexus to die, my mako is still my daily driver, still kickin' ass
I did however have to change the motherboard out, since, while the flash was ok, the chip was not, so it didn't help much. I had an issue with my /data partition where it was completely gone, and the while filesystem got messed up, the only thing I could boot to was bootloader and even that only while on charger. Eventually I swapped my motherboard with a friends who didn't need her nexus 4 anymore and now it's ok. I suggest you first attempt the method from that link and if that fails, then you should resort to getting a new motherboard, but imo only if you can get it either dirt cheap or in a way like I did. Caching out around 100$ for a new nexus 4 mb, with phones like nexus 5X 32Gb costing 300$ is not a good investment if you ask me.
Click to expand...
Click to collapse
I found all the necessary files for doing the method subscribed in the thread, but afther flashing the firmware nothing changed. Only thing that worked was the bootloader, everthing else still wasn't working.
Fortunately I had a broken Nexus 4 from a friend. So I switched both mainboards and my Phone is working again
Thank you for your help.
tobi.king said:
I found all the necessary files for doing the method subscribed in the thread, but afther flashing the firmware nothing changed. Only thing that worked was the bootloader, everthing else still wasn't working.
Fortunately I had a broken Nexus 4 from a friend. So I switched both mainboards and my Phone is working again
Thank you for your help.
Click to expand...
Click to collapse
Awesome, glad to be of service

Cannot copy files, nor install any roms!

Hi!
Problem; I cannot install any roms, i have downloaded 2 and put the to my sd-card and I cannot install them, it says an error message. Then later I saw it could be with a identification etc and saw this tutorial opening up the script-file and removing first two lines and then repacking it, again it did not work. (I also wiped things) Then I thought it could be something with sd-card so I tried copyying the image to the main phone and I couldnt move it.
I also upgraded TWRP from 2.8 to 3.1
Then I realized, perhaps it is linked with the malware I got. Basically somehow this virusy-thing installed on my phone. Unlimited amount of popups came. I thought if I would format it, system format it would go away but no. The very second I put on wifi it just kept installing and installing strange apps. I managed flashing it a year ago using SP Tools. That made it work. Now I am in the same situation again, I kinda want to install the newer OSes but after the scatter file etc, I dont remember anything about where to put a zip-file for OS. The OSes or the ROMS are made for TWRP btw but I assume this error I keep getting and the fact I cannot copy anything from SD>Internal.
What about a factory reset clean install say flash tool .de RC5 and then go from there to madOS.
Also check and/or replace SD card.
Good luck!

reflashed to stock, sd size changed and no access to /data

hey guys
Been messing around with tablet to find best setup then to find netflix wont work. I have reflashed back to stock rom from lineage os. but now my sd card size is showing 16gb under storage space but if I look at it elsewhere its like 6gb, when it should be 64gb, I read this is to do with userdata but I cant find any userdata files to flash.
other issue is attempting to factory reset using twrp getting alot of /data/.... (permission Denied)
how can I solve these issues? and the streaming apps (netflix and disneyplus)
thanks guys
Your data partition is encrypted. I had the same issue and found this thread:
https://forum.xda-developers.com/doogee-mix/how-to/fixed-how-to-remove-data-encryption-twrp-t3757595
Seems to have worked, TWRP sees the full storage amount, but still trying to get Lineage loaded...
Elysian893 said:
Seems to have worked, TWRP sees the full storage amount, but still trying to get Lineage loaded...
Click to expand...
Click to collapse
Having had this same issue recently TWRP will be your saving grace but before you go through the process in the link you should at least look at (while in TWRP) the WIPE section. Go through each of the listed options individually and hit the "repair or change File system option." What happened with mine is that the act of flashing stock changed The /DATA partition from EXT4 to NTFS and I Needed to change it back.
Regarding the Stock image you flashed double check to make sure its the one intended for your particular device storage size. Apparently there are different variants of the same stock ROM but with different PIT files (the file that sets your device partition.
One last piece of advise that may seem like a captain obvious is thing but I admittedly overlooked is when you flash your stock ROM, make sure to include not just the AP file, but also BL and CSC as well whwhenever you flash
Seems to have worked, TWRP sees the full storage amount, but still trying to get Lineage loaded...
[/QUOTE]
I tried flashing Lineage and Havoc and was never able to get either working for this device which I'm sure is likely user error but I gave up either way lol
Mekzul said:
I tried flashing Lineage and Havoc and was never able to get either working for this device which I'm sure is likely user error but I gave up either way lol
Click to expand...
Click to collapse
I actually got Lineage working fine on it. Once I got the data partition figured out I believe it was smooth sailing, though it was a while ago now.
Elysian893 said:
I actually got Lineage working fine on it. Once I got the data partition figured out I believe it was smooth sailing, though it was a while ago now.
Click to expand...
Click to collapse
Hey so I was able to get it up and running eventually as well but in the end wound up just running stock rom on this device as I was getting these weird "screen shatter" type glitches on bootup and so it wasnt really worth the hassle lol. Does rooting really even provide that much of a benefit for this device?
Mekzul said:
Hey so I was able to get it up and running eventually as well but in the end wound up just running stock rom on this device as I was getting these weird "screen shatter" type glitches on bootup and so it wasnt really worth the hassle lol. Does rooting really even provide that much of a benefit for this device?
Click to expand...
Click to collapse
Why in the world would you go back to stock just because of these "screen glitches" when booting up? They are gone after Boot and don't cause any issues .... Also this might be caused by you being on an old (or newer but it's rather unlikely as I fixed this "issue" for newer ones) firmware (bootloader matters)
Stock is laggy and bloated while lineage is not.
Edit: Btw, which model and firmware are you on?
If it's P615 with BTK2 firmware I might need to update dtbo sources again and this "issue" will be gone

Categories

Resources