[Q] Help! Can't flash anything - ONE Q&A, Help & Troubleshooting

I did not make a back up (lesson learned...) and erased everything.. There is no OS loaded on it and the only thing I can get into is TWRP and Fastboot Mode (Just shows logo).
Strange thing is, I used the Mac Toolkit to root and unlock boot loader but as far as I know, not it's saying that it is not rooted (When it indicates "Not rooted; install SuperSU to do so?") and also in some cases, it displays that the boot loader is locked as well. I do have a PC to work with (which is super slow but it works..) but OSX workaround would be ideal.
Please help as I hope the phone is not bricked. I've looked around the forums for about a week and can't seem to find a thread where there is a similar situation.
Dummy-101 instructions would be very much appreciated!

While you have the device booted into TWRP you should be able to copy a ROM from your PC to the phone using the MTP connection. So just download a ROM + gapps to your PC, copy them across, and flash.
Transmitted via Bacon

timmaaa said:
While you have the device booted into TWRP you should be able to copy a ROM from your PC to the phone using the MTP connection. So just download a ROM + gapps to your PC, copy them across, and flash.
Transmitted via Bacon
Click to expand...
Click to collapse
That's what my initial tries were; but there comes an error when trying to flash a ROM.
E: Error executing updater binary in zip '/sdcard/Download/[ROMName]' (Trying to install BlissPop)
From there I shut things off until I can figure this out.. that's where I encounter
"Install SuperSU? Your device does not appear to be rooted. Install SuperSU now? This will root your device. '
I swipe to install but does nothing and shuts down in a millisecond.

Is that the only error you get? What's the full filename of the ROM file that you're trying to flash? Are you checking the md5 after downloading the file?

timmaaa said:
Is that the only error you get? What's the full filename of the ROM file that you're trying to flash? Are you checking the md5 after downloading the file?
Click to expand...
Click to collapse
Trying to installl BlissPop-v1.8-bacon-OFFICIAL-20150124.1647
Not sure how to check md5 sum - is it to verify the file before installing?

sdkim89 said:
Trying to installl BlissPop-v1.8-bacon-OFFICIAL-20150124.1647
Not sure how to check md5 sum - is it to verify the file before installing?
Click to expand...
Click to collapse
It is indeed to verify the integrity of the file. At the download page you can see the ROM zips and directly below each ROM zip is the md5sum file too. Looking at the md5sum for the file you're trying to flash I can see that the md5 should be 85bdc2efffa404bf5864555984628665. So you need to use an md5 checking app to ensure that the md5 of the actual file you've downloaded matches that.

I'm having the same issue. tried wiping, md5 checked, it matches, this problem still persists. any ideas?
EDIT: doh, flashing firmware update fixed it

Related

[Q] My CWM 3.x.x.x backup doesn't work : SGS2

Hi,
I checked through many threads to see if anyone had a similar problem but couldn't find anything unfortunately.
Background :
I was running a Lite'ning ROM on my Samsung Galaxy S2. You're probably familiar with this ROM, but for those who aren't it gets flashed with ODIN and comes rooted and pre-installed with CWM.
I forget which version of Lite'ning ROM it was, but I am fairly certain it was pre-1.5 as the bundled CWM was definitely version 3.x.x.x (later versions I found had 4.x.x.x and 5.x.x.x).
I wanted to try a version of GalnetMIUI for something a bit different and hadn't changed ROMs in quite some time, so I booted into CWM 3.x.x.x (maybe 3.0.0.2?) and did a backup to the internal SD. This came in at around 1.4 GB and comprised of 4 files :
cache.img
data.img
nandroid.md5
system.img
I copied these to my PC too, just in case they somehow got erased from my phone.
Once I'd done this, I then copied the new ROM .zip file (latest version of GalnetMIUI) to the root of the internal SD, booted the phone into CWM, wiped user data and Dalvik cache, then proceeded to install it.
The problem :
I can't get my apps or data back. I was under the false impression that my Google account was automatically backing this up for me, and would restore everything once logged in as it had in the past (factory resets etc.). So once this didn't happen, I tried using CWM to revert back to how things were before installing the new ROM but although the restore appears to work I end up with issues.
I've tried a number of different ROMs and they either get stuck in 'boot loops' or a black screen after running through the restore procedure. I've tried restoring just data via the 'Advanced' option but this doesn't help.
I was under the impression that I'd be able to fully restore the ROM backup if I needed to, and have the phone running exactly how it was prior to messing around. It would seem this is not the case.
In desperation I tried flashing every Lite'ning ROM from version 1.0 to 4.2, restoring my backup each time but as mentioned I always get boot issues.
Have I lost my data? I hope not, as I had 'To Do' lists and all sorts of things that would cause problems if they were not retrievable. I realise this is a lack of knowledge and foresight on my part. I'm thinking now that I should have run Titanium Backup prior to this, and not assumed that CWM was going to provide a complete solution.
Hope all this makes sense and if any of you have the time to read through and offer advice it would be greatly appreciated. I am currently running a very pretty and slick GalnetMIUI without any of my data!
Thanks in advance.
download cwm 2.5.x.x its better
[email protected] said:
download cwm 2.5.x.x its better
Click to expand...
Click to collapse
Thanks for that, I'll give it a go tonight after work. Am I right in thinking that if it doesn't work I can extract the individual files and insert them manually to get my app data back?
OK, so after hours of searching I'm still no wiser as to how to install CWM 2.5.1.2
I found a zip file that was apparently version 2.5.1.2 but when I tried to install it from inside CWM 5.0.2.6 (included with GalnetMIUI) it sometimes gives an error, sometimes it reboots CWM and sometimes it simply says it has successfully installed (it lies). No matter what it says or does, it doesn't seem to actually replace version 5.0.2.6 with the older one and every time I do the three-finger boot it loads up the latest version like nothing changed.
I'm just so lost. All I want to do is restore my old backup, get my data back and move on. Please someone help me before I go insane from all this research!
[EDIT] In case any more information is needed, my exact procedure for installing version 2.5.1.2 of CWM went like this :
Download 2.5.1.2 zip file
Copy zip file to root folder on internal SD
Boot into CWM 5.0.2.6
Select "install zip from sdcard"
Select "choose zip from sdcard"
Navigate to 2.5.1.2 zip file, select and confirm
Can anyone help me at all?
In particular I'd like to know how I can downgrade to CWM 2.5.1.2 or similar in order to give [email protected]'s suggestion a go.
Failing that, if anyone has any suggestions whatsoever about how I can get my backup data restored it would be greatly appreciated. After spending some time with MIUI - in particular the Galnet ICS build - I have nothing but praise, but I really have to get my data back!
You should be able to downgrade through ROM manager. Go to "All Clockwork Mod Recoveries" and just flash one that is not 5.x.x. Any backup not made with version 5 will not work with the new version So if you can flash one that is version 2, 3 or 4 you should be good to go. If that doesn't work you can fastboot flash it. There are guides on how to do that.
Wait.....did you mount /system before installing the CWM zip ?
Sent from my GT-S5830 using XDA App
Sorry for the delayed reply, for some reason I didn't get an email notification that my thread had been updated.
lowandbehold said:
You should be able to downgrade through ROM manager. Go to "All Clockwork Mod Recoveries" and just flash one that is not 5.x.x. Any backup not made with version 5 will not work with the new version So if you can flash one that is version 2, 3 or 4 you should be good to go. If that doesn't work you can fastboot flash it. There are guides on how to do that.
Click to expand...
Click to collapse
For some reason, when I select "All ClockworkMod Recoveries" the only two options are 4.0.1.4 and v4.0.1.4. I'll have to look into "fastboot" flashing as I've never heard of that.
By the way, if I boot into CWM via ROM Manager the version that loads is 4.0.1.5, but if I perform the three-button combo when switching my device on I get version 5.0.2.6.
EmoBoiix3 said:
Wait.....did you mount /system before installing the CWM zip ?
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
I didn't, is that something I should try?
Edit - Just tried this and at first it rebooted CWM and the version number hadn't changed. Doing this again yielded me the following error with no change in version number :
Code:
E:Error in /sdcard/CM V 2.5.1.2_update.zip
(Status 0)
Installation aborted.
I found out that I can extract the contents of my backed up .img files using unyaffs.exe.
Unless I'm doing something wrong, it would appear that my backup is corrupt somehow. When trying to extract data.img, it processes for a while and does bring back a lot of files but I also get the following :
Code:
read image file
: Bad file descriptor
read image file
: Bad file descriptor
data.img is around 1.2GB but the files I extract only amount to around 190MB.
It would appear that I don't have my contacts database in there which is annoying as for some reason there were quite a few that didn't get synced to Google's servers.

[Q] CWM won't install Cyanogenmod 10 - HELP!!

I rooted my phone, installed CWM and all that stuff. I downloaded cm-10.0.0-crespo.zip and mounted my usb storage, put it in the root folder, then rebooted into CWM. I formatted system, and went to install it from zip. I choose it, and it acts like it's gonna install it, but then I get an error at Opening update package:
E:Can't open /sdcard/cm-10.0.0-crespo.zip
(bad)
I tried rebooting, but it gets stuck at the Google screen. I can't mount USB storage in CWM for some reason, so I can't fix/replace the zip. I think I'm screwed. Is there a way to fix this??
Help is greatly appreciated!
OrbitGum22 said:
I rooted my phone, installed CWM and all that stuff. I downloaded cm-10.0.0-crespo.zip and mounted my usb storage, put it in the root folder, then rebooted into CWM. I formatted system, and went to install it from zip. I choose it, and it acts like it's gonna install it, but then I get an error at Opening update package:
E:Can't open /sdcard/cm-10.0.0-crespo.zip
(bad)
I tried rebooting, but it gets stuck at the Google screen. I can't mount USB storage in CWM for some reason, so I can't fix/replace the zip. I think I'm screwed. Is there a way to fix this??
Help is greatly appreciated!
Click to expand...
Click to collapse
Follow the directions for unbricking using nexus root tool kit... And then on how to flash a ROM...
Sent from my Nexus S using xda premium
Also could be a bad download, try re-downloading. Could also try to sideload from CWM. Also would recommend CM10.1 RC5 much better then 10.0 and faster too.
philosopherssage said:
Also could be a bad download, try re-downloading. Could also try to sideload from CWM. Also would recommend CM10.1 RC5 much better then 10.0 and faster too.
Click to expand...
Click to collapse
How do you side load? Whenever I try it gives me this list of commands.
OrbitGum22 said:
How do you side load? Whenever I try it gives me this list of commands.
Click to expand...
Click to collapse
Reboot to bootloader,
Select recovery to start CWM
Select -install zip from sideload
ON Computer open command window
IN Command window: ADB sideload cm-10.1.0-RC5-crespo.zip
this is assuming that cm-10.1.0-RC5-crespo.zip is in the same directory as ADB
I had the same problem.. I downloaded Cyanogenmod from it's original site 3 times.. and every time I got the (bad) error and it wouldn't install...
I was downloading it with IDM and every one of those files failed to install..
Then I downloaded via the browser bypassing my download accelerator.. and bamm! it works...
So sometimes the answer is so simple and so stupid.. it leaves you stupified!

[Q] Installation failed CM 10.2 on HTC Google Nexus One

My first post Hurray!
Hi guys.
I want to install Android 4.3 to my HTC Google Nexus One. I followed this post.
I installed everything needed and when I try to install the update I get the following results:
Formatting System
Installing CM 10.2
Setting symlinks and premissions...
Setting symlinks...
Setting permissions..
set_perm: some changed failed
E:Error in /sdcard/update.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
I have Fastboot access to the phone when connected via USB to my Windows 7 laptop.
I am using recovery versions 5.0.2.0 for my Google Nexus One phone.
Flashing ROM: CM 10.2 Rom for the N1
How can I solve this issue, need your help. Thanks in advance. :cyclops:
Other things I've tried: Flashing the rom from boot.img from the zipped file via fastload
I also checked for assert command in the script file but there aren't any.
IdanShechter said:
My first post Hurray!
Hi guys.
I want to install Android 4.3 to my HTC Google Nexus One. I followed this post.
I installed everything needed and when I try to install the update I get the following results:
I have Fastboot access to the phone when connected via USB to my Windows 7 laptop.
I am using recovery versions 5.0.2.0 for my Google Nexus One phone.
Flashing ROM: CM 10.2 Rom for the N1
How can I solve this issue, need your help. Thanks in advance. :cyclops:
Other things I've tried: Flashing the rom from boot.img from the zipped file via fastload
I also checked for assert command in the script file but there aren't any.
Click to expand...
Click to collapse
might need to get a higher vesion of CWM. otherwise google Status 7 error
Hi,
Which version is recommended, the highest that is compatible. According to the ROM manager page of clockworkmod, this is the only one available for the nexus one.
IdanShechter said:
Hi,
Which version is recommended, the highest that is compatible. According to the ROM manager page of clockworkmod, this is the only one available for the nexus one.
Click to expand...
Click to collapse
you would have to get a ported (non offical: should work just as fine as offical but there could be some other added stuff.) version since you want Cm 10.2 5.x.x.x should work but just to be on the safe side you should try getting 6.0.4.5. should only have to download a zip of whatever you find and flash it in your current recovery.
Trozzul said:
you would have to get a ported (non offical: should work just as fine as offical but there could be some other added stuff.) version since you want Cm 10.2 5.x.x.x should work but just to be on the safe side you should try getting 6.0.4.5. should only have to download a zip of whatever you find and flash it in your current recovery.
Click to expand...
Click to collapse
I get Image Update Error when updating the 6.0.4.5 version. I've chosen on for another device because there isn't any 6.0.4.5 version for Nexus One.
I checked the free available space. In the SD Card I've have plenty (more than 2GB), but /system has 0% available. This might cause the flash to fail. Is there any option to free up space before I flash the ROM?
Update: even after formatting the system directory I still get the same error, this it not the problem so it seems.
IdanShechter said:
I checked the free available space. In the SD Card I've have plenty (more than 2GB), but /system has 0% available. This might cause the flash to fail. Is there any option to free up space before I flash the ROM?
Update: even after formatting the system directory I still get the same error, this it not the problem so it seems.
Click to expand...
Click to collapse
your gonna have to ask the nexus ones offical Q&A then http://forum.xda-developers.com/nexus-one/help if i right with this problem you have to do something specifically and differently for every device so just ask the pros on your device first.
IdanShechter said:
My first post Hurray!
Hi guys.
I want to install Android 4.3 to my HTC Google Nexus One. I followed this post.
I installed everything needed and when I try to install the update I get the following results:
I have Fastboot access to the phone when connected via USB to my Windows 7 laptop.
I am using recovery versions 5.0.2.0 for my Google Nexus One phone.
Flashing ROM: CM 10.2 Rom for the N1
How can I solve this issue, need your help. Thanks in advance. :cyclops:
Other things I've tried: Flashing the rom from boot.img from the zipped file via fastload
I also checked for assert command in the script file but there aren't any.
Click to expand...
Click to collapse
Status 7 error comes due to system folder being full.. I m not a nexus one user and its a common problem..
Open the rom zip of your file delete some apps from system/app then flash the rom..
This will solve your status 7 error..

[Completed] (Nexus 5) Error 7, made multiple mistakes, "assert" fix isn't working

As I understand, my situation is fairly specific, and so I need to address a few points:
This is my first time rooting a phone- I've made several mistakes but managed, at this point, to avoid bricking my phone
I'm using a Nexus 5, and flashing the pwnphone system (Android Open Pwn Project)
I've followed all the standard steps (except one... see below) for unlocking, rooting, and using TWRP as my recovery
I've also successfully flashed AOPP once, although I made an error I couldn't fix during setup and needed to reinstall
To my stupidity, I forgot to make a Nandroid backup on both attempts
I've just used TWRP to wipe my phone's Dalvik/ART Cache, system, data, and cache, assuming I could reflash the same zip I used before
MD5 check is disabled
Zip validation is disabled
Okay, so let's get down to the heart of the issue now. My phone is sitting here, plugged into my computer, I have a command prompt running, and adb is working properly. I try to flash THE SAME ZIP file I used, just before, to start from a clean slate AOPP install, and now I'm recieving an Error: 7.
I looked up the fixes for this, and ran into a problem: I'm already using the most recent version of TWRP- and I just made an alternate AOPP.zip where I removed the asserts from /META-INF/com/google/android/update-script. I was hoping this would solve my problem, but it didn't.
Now, instead of getting an Error: 7, I'm getting an "invalid zip format" notice with very little other information.
Installing zip file '/sdcard/aoppfix.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Invalid zip file format!
Error installing zip file '/sdcard/aoppfix.zip'
Updating partition details...
...done
Click to expand...
Click to collapse
I have no idea what to do at this point. In my earlier error, I failed to make a Nandroid backup file- and much to my dismay- I can't even find one someone has uploaded elsewhere which I could use to at least have a functioning phone to to boot into.
Can someone please help figure out what my next course of action is?
Hi and welcome to XDA Assist !
I`ve searching and I couldn`t find that rom on the Nexus 5 development forums so it`s hard to figure out what`s the problem
Your attempts to modify that script are courageous but I`m afraid that is more than a script issue
Try to flash a different rom with xda support and you`ll get more info and help , good luck !

August Security Patch Rolling Out

[Global] Mi A2 Lite V11.0.10.0.QDLMIXM rolling out!

			
				
Wow. That's gotta be some kind of record for Xiaomi
Mine is only 13M though. Must be a tiny update.
Wow! First time ever that this Android One device is actually up to date security wise.
Yes, from July update only 13MB.
Maybe it was there before, but after updating I noticed a native screen recorder icon.
Updated: It is not native. I have a screen recorder app installed.
Direct share not yet available.
penahj said:
Maybe it was there before, but after updating I notice a native screen recorder icon
Click to expand...
Click to collapse
strange i dont have this one and never had screen recording option
Antho02 said:
strange i dont have this one and never had screen recording option
Click to expand...
Click to collapse
You are right. It's not a native app. I have a screen recordering app installed. Sorry for the wrong news.
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Alibabara said:
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Click to expand...
Click to collapse
+1 I am also looking for this
Alibabara said:
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Click to expand...
Click to collapse
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Antho02 said:
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Click to expand...
Click to collapse
So you Flash the whole Rom (~1.2gb) and not just the Update?
I would like to find a way to Flash just the Update since your method is taking too long for me...
Best regards
Alex
If you only have Magisk, the standard process should work for you.
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
If it's not working and you have somehow modified some other partition, it will be written to the logcat.
adb logcat | grep update_engine
My Problem is, even with magisk 'uninstalled' the Update App from xiaomi still says 'Installation failed: Installation Problem'
That even happens with totally Stock rom, no root and no twrp.
I dont know why. But is there any other way to Update manually without flashing the whole Big Rom file? Just the Update file...
There must be a reason why there is an update file in zip Format which is 13mb Big.
Best regards
Alex
Alibabara said:
My Problem is, even with magisk 'uninstalled' the Update App from xiaomi still says 'Installation failed: Installation Problem'
That even happens with totally Stock rom, no root and no twrp.
I dont know why. But is there any other way to Update manually without flashing the whole Big Rom file? Just the Update file...
There must be a reason why there is an update file in zip Format which is 13mb Big.
Best regards
Alex
Click to expand...
Click to collapse
Alex, You don't have to flash the whole big rom file, but you do have to download it though. You can get it from here: https://mirom.ezbox.idv.tw/en/phone/daisy/roms-global-stable/
You then have to extract the files that you need with payload_dumper which you get from here:
https://androidfilehost.com/?fid=818070582850510260
NB that is the Windows 64bit version so make sure that is the OS your pc is using.
You then have to find which partition it is that is causing the problem for which you have to use a1291762's advice:
Code:
adb logcat | grep update_engine
and read very carefully through the results because the offending entry will be difficult to spot amongst the dozens of others.
You then flash the partition mentioned in the logcat. For example if 'system' is mentioned in the logcat as having an incorrect hash (that is always the reason for the failures) you would have to extract 'system.img' with payload_dumper and run
Code:
fastboot flash system system.img
Then try the update again. If it works you will also probably have to reinstall Magisk from scratch again as flashing system will probably remove it.
Yes it is complicated - far too complicated, but the simple measure you call for - just flash an update file - has, to the best of my knowledge never been possible, so there must be some reason why that is so, but I don't know what it is.
Incidentally, the reason I am able to respond to this question is that I had a torrid time yesterday trying to update my A2 lite on which I had not one, but 3 errors. aboot hash incorrect, system hash incorrect, and before any of that the normal Magisk uninstall told me it had no images to restore and so had to be uninstalled completely. It took me hours and it wasn't that much fun.
Alibabara said:
There must be a reason why there is an update file in zip Format which is 13mb Big.
Click to expand...
Click to collapse
The update is only 13M because it contains only changes. But for that to work, your partitions must be unmodified.
The larger update zip has complete partitions so it can work even if you have changes. You may be able to do the recovery update method with that file...
The even larger fastboot image has every partition.
thanks everyone for the help!
I did it as you said viking777 and it worked.
It's sad, that for an 13mb update this procedure is necessary, but thats how it is..
So thanks again everyone for the help
Antho02 said:
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Click to expand...
Click to collapse
Can I do this with out installing TWRP as I haven't installed it already.
Aadil Gillani said:
Can I do this with out installing TWRP as I haven't installed it already.
Click to expand...
Click to collapse
sure, even more quick if u dont need twrp
flash last rom with xiaomi flash (save user data selected)
then boot patched.img and install magisk, less than 10 mins and no need to worries about uninstall magisk or any mod before
Antho02 said:
sure, even more quick if u dont need twrp
flash last rom with xiaomi flash (save user data selected)
then boot patched.img and install magisk, less than 10 mins and no need to worries about uninstall magisk or any mod before
Click to expand...
Click to collapse
I have some questions it would be a be a pleasure if you could answer.
Q1 will the modules remain or not ?
Q2 how to make make patched boot img I mean should I make my self using Magisk Manager app
Q3 Also which TWRP do you use and if it has any problems
Q4 should I use zip file or tgz for mi flash

Categories

Resources