[Q] Error 7 When installing 2.3.7 from Recovery - GT540 Optimus General

Hello XDA Developers! Last time I was here I was hacking a HTC Blue Angel..That was a long time away....I digress
I have this phone which is currently running a 2.3.4 rom and I have ClockworkMod Recovery v2.5.0.5, and when I download any of the 2.3.7 roms this is what happens:
I drag the recovery zip to my phone with no extraction at all and select install zip from recovery menu. It does nothing.
I extract the zip file and end up with recovery.img and a zip file. I drag both to the root of my memory card and then select install zip from my phone. I then get the following error:
i.imgur.com/xlHip.png
I have absolutely no idea what to try from here, the biggest problem i've dealt with thus far was a md5 mismatch...
Kevin

normankev said:
Hello XDA Developers! Last time I was here I was hacking a HTC Blue Angel..That was a long time away....I digress
I have this phone which is currently running a 2.3.4 rom and I have ClockworkMod Recovery v2.5.0.5, and when I download any of the 2.3.7 roms this is what happens:
I drag the recovery zip to my phone with no extraction at all and select install zip from recovery menu. It does nothing.
I extract the zip file and end up with recovery.img and a zip file. I drag both to the root of my memory card and then select install zip from my phone. I then get the following error:
i.imgur.com/xlHip.png
I have absolutely no idea what to try from here, the biggest problem i've dealt with thus far was a md5 mismatch...
Kevin
Click to expand...
Click to collapse
Try toggling script asserts, or re-download the file.
Also, I suggest updating your recovery to 2.5.1.8.

Thanks for the quick reply!
I toggled script asserts so it was enabled, for the raw unmodified zip file nothing happened, and for the extracted zip file I got an Error seven again
I've tried redownloading the file multiple times, even getting earlier versions of the rom to try.
How would I go about updating recovery? I don't have a functional usb cable at the moment unfortunately but if absolutely neccessary I can hack one up.

normankev said:
I toggled script asserts so it was enabled, for the raw unmodified zip file nothing happened, and for the extracted zip file I got an Error seven again
Click to expand...
Click to collapse
I think you should have the asserts disabled to get past the error. (use the extracted zip, which gave you the error 7)
If this does not help, probably best way to go forward is to get a usb cable and try flashing using fastboot

Related

[Q] custom recovery problem?

http://forum.sdx-developers.com/index.php?topic=7108.0
On the original post by inxane he says to 2. Download the recovery and put it in C:\Program Files (Program Files (x86) if you are on 64 bit)\Samsung Electronics\SWUpgrade\Models\Binary. DELETE THE FILE ALREADY IN THERE OR YOU MAY PERMA-BRICK YOUR INTERCEPT...
Is the recovery just the cm01 tar file at the top because this link >http://www.sdx-downloads.com/devs/inxane/intercept/recoveryv14.tar can no longer be found.
sorry first time working with the intercept, i was going to try adb method but i heard the recovery goes away after you reboot.
From my experience, the CM01.tar file needs the recovery.rfs extracted. When you download SWUpgrade, you want to delete the file inside the Binary Folder and replace it with the recovery.rfs which happens to be Inxane's CM Recovery. The latest should be 2.5.1.0.
The reason it exists as a .tar file is becuse CM Recovery recognizes system files as .tar extensions. So if there was a case you wanted to reflash CM Recovery for some reason, you can do it inside CM Recovery so long as it's in the .tar container. Otherwise, you need the recovery.rfs file on the PC side.
From my experience, If you move CM01.tar to the Binary folder and run SWUpgrade, the upgrade won't start and it'll just hang.
alpha-niner64 said:
...the upgrade won't start and it'll just hang.
Click to expand...
Click to collapse
THANK YOU!!! I was wondering why it was hanging/just rebooting...
[Wrong link! My bad!]
I read that the Intercept can re-install it's stock recovery after rebooting the phone.
Recovery
Read this too
Basically someone is suggesting to just flash a root kernel (SlapKernel) with SW Upgrade. I'm going to try it out right now.
[EDIT] Flashing SlapKernel worked fine (and I wasn't rooted before...), and it's way more responsive so far. I suggest you follow these instructions

[RUU] Froyo flashable RUU zip file!

Since I had to RUU my phone to stock sense today I had to create a flashable zip file since im on a Mac (unfortuately).
Anyways here is a link to the zip.
Instructions:
1) Backup everything (TI backup and nandroid backups via CWM).
2) Copy backups from SDcard of phone to your computer
3) Copy PG016IMG.zip to sdcard of your phone
4) Run adb reboot fastboot from adndroid sdk platform tools folder
5) Reboot recovery
6) Fastboot recovery will find the PG016IMG.zip and ask if you want to flash, say yes. It will check the file and start flashing.
7) You will see TP being bypassed twice, then the 3rd TP being flashed.
Once it complete the phone will reboot and you will be on stock HTC Sense Android 2.2.
Enjoy.
http://www.multiupload.com/1G88PQX30Q
md5: 27095270aa8e0708a1e774ac01ec6dd6
You are aware that we already have this, right? One "zip" RUU-Back to stock-2.3 zip removed completely
crump84 said:
You are aware that we already have this, right? One "zip" RUU-Back to stock-2.3 zip removed completely
Click to expand...
Click to collapse
edit: nevermind, I am now. Wish I had seen that before I had to go through compiling unshield and running unruu. It wasn't on the wiki. Oh well. thanks!

Flashing ROM Fail HELP!!!

So I decided I'm tired of all the bugs in Android 4.4 and wanted to flash the PACMan ROM onto my 2012 Wifi only Nexus 7. So I have my nexus unlocked and rooted but when I go to install the ROM via TWRP V2.6.3.1 I get this error message:
Installing '/sdcard/pac_grouper-nightly-20140121.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
assert failed: getprop("ro.product.device") == "grouper" II getprop("ro.build.pr
E:Error executing updater binary in zip '/sdcard/pac_grouper-nightly-20140121.zip
Updating partition files..
Can anyone tell me whats going wrong? I'm terrible at the whole computer thing, unlocking and rooting was tough enough even with the Nexus Root Toolkit.
Thanks
ST2014 said:
So I decided I'm tired of all the bugs in Android 4.4 and wanted to flash the PACMan ROM onto my 2012 Wifi only Nexus 7. So I have my nexus unlocked and rooted but when I go to install the ROM via TWRP V2.6.3.1 I get this error message:
Installing '/sdcard/pac_grouper-nightly-20140121.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
assert failed: getprop("ro.product.device") == "grouper" II getprop("ro.build.pr
E:Error executing updater binary in zip '/sdcard/pac_grouper-nightly-20140121.zip
Updating partition files..
Can anyone tell me whats going wrong? I'm terrible at the whole computer thing, unlocking and rooting was tough enough even with the Nexus Root Toolkit.
Thanks
Click to expand...
Click to collapse
Transfer zip to a pc Open up the zip file with winrar or 7zip there is a meta inf folder find the updater script file open with notepad erase the first line it will say something like asset get prop ect...... save the file transfer back to tablet it will now flash. Or use cwm to flash. I can do it for you if u send me the updater script file.
Even I have the same problem and if you flash a modded zip, TWRP and CWM give an error with no specified status number. I even tried signing the zip
EDIT: Install CWM and toggle signature verification. Simple right?
Press thanks if I helped.?
b3ltazar said:
Transfer zip to a pc Open up the zip file with winrar or 7zip there is a meta inf folder find the updater script file open with notepad erase the first line it will say something like asset get prop ect...... save the file transfer back to tablet it will now flash. Or use cwm to flash. I can do it for you if u send me the updater script file.
Click to expand...
Click to collapse
Thanks for the help. Unfortunately I got a tad frustrated and accidentally deleted EVERYTHING!!! So I have blank tablet now. I'm trying to download the Google Factory Images from their site but it only downloads this .tgz file instead of a zip with 4 files. I even tried extracting the .tgz and it give me a single file. Anyone have any ideas as to why this is?
I'm trying to restore this tablet based on following this page (can't post outside links on this site until after 10 posts?.......really?)
But as you can imagine I'm stuck because I can't download the aforementioned zip file.
My tablet is soon becoming destined to be a rifle target.
BAM!!! Never mind got it all squared away. Now if we can get that ROM set up so that it will work properly.
Androlover98 said:
Even I have the same problem and if you flash a modded zip, TWRP and CWM give an error with no specified status number. I even tried signing the zip
EDIT: Install CWM and toggle signature verification. Simple right?
Press thanks if I helped.?
Click to expand...
Click to collapse
I used CWM to load the ROM no problem. Thanks for the heads up.
So far I''m loving this PACMan ROM, smooth and tons of options. For me KitKat ruined my tablet, completely breaking the auto-rotate (making is stick in portrait mode), chrome crashed all the time and it was just generally laggy and slow.
Thanks to all that replied.
ST2014 said:
I used CWM to load the ROM no problem. Thanks for the heads up.
So far I''m loving this PACMan ROM, smooth and tons of options. For me KitKat ruined my tablet, completely breaking the auto-rotate (making is stick in portrait mode), chrome crashed all the time and it was just generally laggy and slow.
Thanks to all that replied.
Click to expand...
Click to collapse
Kitkat should work with no issues. i use slimkat 4.4.2 and i love it. Just make sure you wipe before the kitkat install and your tablet will fly.
b3ltazar said:
Kitkat should work with no issues. i use slimkat 4.4.2 and i love it. Just make sure you wipe before the kitkat install and your tablet will fly.
Click to expand...
Click to collapse
Exactly. Nothing beats KitKat. PERIOD
Sent from my Nexus 7 using Tapatalk

[FIX] error 7 fastboot fix for vince

This is a "bloated out" verison of the miui fastboot rom, its JUST for fixing rom flashes with "ERROR 7"
it will NOT:
flash your recovery to stock (you KEEP you current recovery)
flash you system partition to stock rom (you KEEP you current system)
flashing cust (whatever this s#it is)
http://inzanedanii.de/vince_global_images_V9.2.13.0.FASTBOOT.zip
hope this will help you
I can't flash the zip. I 'm using AEX rom now.Why?
Buyaemathenaw said:
I can't flash the zip. I 'm using AEX rom now.Why?
Click to expand...
Click to collapse
need try reboot to bootloader (fastboot) and run the file .. so you need to extract the file
Thanks it works, now install lineage 14 to replace the stock Rom
can you tell how to flash it
dhimansandeep393 said:
can you tell how to flash it
Click to expand...
Click to collapse
I think u must use "adb" command from a PC or something equal with Laptop, and your Device must in "Fastboot" Mode
Then via cable data u can remote from the PC with "ADB Command, for more detail , u can search in google : replace booatloder via Fastboot
signi said:
I think u must use "adb" command from a PC or something equal with Laptop, and your Device must in "Fastboot" Mode
Then via cable data u can remote from the PC with "ADB Command, for more detail , u can search in google : replace booatloder via Fastboot
Click to expand...
Click to collapse
exactly. the phone needs to be in fastboot!
the file needs to be extracted on the desktop or your device and you need to run the .bat file, thats all
diedmaster said:
exactly. the phone needs to be in fastboot!
the file needs to be extracted on the desktop or your device and you need to run the .bat file, thats all
Click to expand...
Click to collapse
I tried running the .bat file but even after running it I still got error 7. What I did was unlock bootloader, flash twrp through fastboot, wipe data, boot into fastboot, run.bat file, open twrp and flash ROM, but I got error 7 still. Any idea what is happening?
Mubasher96 said:
I tried running the .bat file but even after running it I still got error 7. What I did was unlock bootloader, flash twrp through fastboot, wipe data, boot into fastboot, run.bat file, open twrp and flash ROM, but I got error 7 still. Any idea what is happening?
Click to expand...
Click to collapse
Dude just open any custom rom zip using winrar etc. don't extract the whole zip just extract the META-INF folder, then delete the META-INF from the custom rom zip, open the folder of META-INF that you have formerly extracted, open updater-script using notepad++ and remove the line starting with "assert...." save the updater-script file and copy the whole META-INF folder to the custom rom zip, copy this zip with modified META-INF to your phone and flash normly using TWRP.
rashidmalyk said:
Dude just open any custom rom zip using winrar etc. don't extract the whole zip just extract the META-INF folder, then delete the META-INF from the custom rom zip, open the folder of META-INF that you have formerly extracted, open updater-script using notepad++ and remove the line starting with "assert...." save the updater-script file and copy the whole META-INF folder to the custom rom zip, copy this zip with modified META-INF to your phone and flash normly using TWRP.
Click to expand...
Click to collapse
I tried that too but didnt work. Its working now though. Successfully booted into LOS 15.1. Had to flash and boot into xiaomi.eu after format data once to solve the error 7.
Mubasher96 said:
I tried that too but didnt work. Its working now though. Successfully booted into LOS 15.1. Had to flash and boot into xiaomi.eu after format data once to solve the error 7.
Click to expand...
Click to collapse
this wasnt working for everyone so yea

Flashing stock rom gives Treble Compatibility error

Hello.
I'm trying to get my phone back to stock rom.
I'm using the TWRP from the [All In One] post: https://forum.xda-developers.com/re...overy-unofficial-twrp-touch-recovery-t3921637
And I'm trying to install the file I got from: http://en.miui.com/download-360.html
But when I flash the file (miui_LAVENDERGlobal_V10.3.5.0.PFGMIXM_a5cabeca22_ 9.0.zip) I get the error attached.
Can anyone help me with this error?
Download the zip file again from miui.com, if you’re using a custom rom go to ‘Wipe’ -> ‘Advanced Wipe’ and wipe the ‘Cache’, ‘Dalvik/ART Cache’, ‘Data’ and ‘System’ partitions.
Once you are done, go back and tap on the ‘Install’ button and browse the rom file.
If this doesn't work, try the fastboot method with the miui flash tool.
delete compatibility.zip in rom file and flash normally
Thanks for the replies. I already formatted and wiped, and tried redownloading the stock rom file, but got the same error. I also tried the MIUI flash tool but got an error after doing the last step.
However... I did end up fixing the problem moments ago.
As I was leaving work, a nerd directed to a wepage that had instructions that worked:
https://www.androidexplained.com/redmi-note-7-unbrick
16. May 2020: the tip: unzipping - deleting - zipping and flash that new file worked for me also. Redmi Note 7 Lavender; Rom Lineage 17.1 20200215. Very nice. Ernest from Germany
FligMupple said:
Hello.
I'm trying to get my phone back to stock rom.
I'm using the TWRP from the [All In One] post: https://forum.xda-developers.com/re...overy-unofficial-twrp-touch-recovery-t3921637
And I'm trying to install the file I got from: http://en.miui.com/download-360.html
But when I flash the file (miui_LAVENDERGlobal_V10.3.5.0.PFGMIXM_a5cabeca22_ 9.0.zip) I get the error attached.
Can anyone help me with this error?
Click to expand...
Click to collapse
Why not orangefox?

Categories

Resources