[Q] Sideloading stock ROM problems on ClockworkMod Recovery - Verizon Samsung Galaxy S III

Howdy -- I was given a SGH-I747 formerly on AT&T. This was a hand-me-down from a coworker that doesn't know what the prior owner actually did to the thing.
It appears that the phone boot-loops for a bit until it lands in into ClockworkMod Recovery v6.0.4.7. The CyanogenMod logo appears at initial boot.
This recovery tool seems to have no external microSD card access. I already have ADB on my Win7 machine and was able to install a driver for the S3 to allow me to sideload via command prompt.
I attempted to do this with a copy of the stock ROM without root access.
Initially I was forced to update a line on the script to bypass the invalid number of arguments roadblock, but later encountered this:
Code:
Finding update package...
Opening update package...
Installing update...
set_perm: some changes failed
E:Error in /tmp/update.zip
(Status 7)
Installation aborted.
I presume something has changed on the primary partition that it wasn't expecting, but I haven't the slightest idea where to go from here.
Thanks for the brainpower

Moderator Edit: Thread Closed at request of OP.

Related

error in /sdcard/update.zip

Just got my captivate today.
I'm a noob at mobile phone dev, but I've been using linux as my primary operating system for years now.
I'm trying to root the phone.
I've attached the file that I used.
I mounted the phone as a mass storage device, it showed up in /media as /media/6F...
I copied the file (attached) to the top level directory of the mounted device and named it update.zip.
I rebooted the phone into recovery mode (using the hold down all three buttons method). I select "reinstall package" and get this error:
"assert failed: getprop("ro.product.device") == "GT-I5800" || getprop("ro.build.device") == "GT-I5800" || ..."
There are several other disjuncts in the statement, it seems to be trying getprop for "ro.product.device" and "ro.build.device" for GT-I5800, GT-I9000, and SGH-T959.
Then I get the error message and exit with status 7, installation aborted.
I'm guessing that I'm having this problem because I've got the wrong file for this phone, since the wiki seems to suggest that the att captivate is actually an SGH i897.
So, questions are:
*should i go get a different file, or edit the one I have?
*if the former, where can i get the file? if the latter, does anyone have instructions about what needs editing?
Thanks to all, I'm really looking forward to learning all about linux on my mobile.
Okay, I guess I'm a hasty poster. I tried again with the update.zip found here http://forum.xda-developers.com/showpost.php?p=7169129&postcount=18 and all is well. I'm su!
Thanks to chaoscentral for posting that file.

[Q] Phone stuck in boot loop - trying to update from fastboot. help needed!

Hi,
Last Friday I turned my phone off and when I turned it back on it got stuck on the loading screen and has been like that since.
I tried removing the battery loads, with no joy. I tried factory reset and clearing cache through the recovery menu, still nothing. So now I want to flash it but I'm having trouble.
I can't get the phone to boot so can't use adb to push a file to the sdcard and I'm stuck with fastboot commands (which I'm not that familiar with other than what I've found on here!). I downloaded the OTA update (from links found in these forums) for my phone to take it to 4.0.3 as I thought it was worth doing. I renamed it to update.zip but when I try the command "fastboot update update.zip" I get the message:
archive does not contain 'android-info.txt'
archive does not contain 'android-product.txt'
error: update package has no android-info.txt or android-product.txt
I then tried the full ROM from this thread: http://forum.xda-developers.com/showthread.php?t=1063664
but got the same message.
I don't know what these missing files are, or if I can create them myself! I've found other threads where people said they used replacements found elsewhere but I don't know where to find them!!
I can't find a way to get the update file onto the sdcard so can't use that recovery option.
I'd rather not have to send it back to samsung as that takes two weeks and I'm pretty sure they'd just flash it anyway!
I have the Nexus S still with stock ROM (2.3.6) and unrooted.
Any help will be greatly appreciated!! Ideally I'd like a way to transfer the update file to the sdcard and recover using the phone recovery. Failing that, I'd like to flash it using fastboot.
cheers
First you need to download this : http://www.4shared.com/zip/2L09-JyW/Root_Nexus_S.html
Just unpack , connect your phone and click run.bat....
After that you need : remove install-recovery.sh just in .....
run in windows-> Start->at the search bar write cmd and navigate into your android sdk is installed
For me :
C:/"Programs and Files (x86)"/Android/android-sdk/tools/>adb shell
# rm /system/etc/install-recovery.sh
#exit
or with Root Explorer into system/etc/install-recovery.sh just renam it (ex. : .sh.old)
thanks for the reply.
What will this do exactly?
I thought adb commands only worked when the phone was booted up?
just had a look at the bat. So it seems this will wipe and root the phone adding superuser privelages?
Is this the only way I can get it working again and once I've done this, how do I undo it as to get the stock version of ICS do I not need to be unrooted or will flashing the stock version from the link in my OP automatically unroot the phone and replace the recovery image etc?
thanks again for your help - I'm a bit of a noob when it comes to rooting and ROMs!
Forgot to say, I have GT-i9020 model if it makes any difference.
Skyap said:
Forgot to say, I have GT-i9020 model if it makes any difference.
Click to expand...
Click to collapse
My tools will root your device and installed CWM ...after that you can do anything you want....
I'm now rooted and have cwm recovery. Had some issues transferring files to the sdcard but seem to have moved a couple of files, but when I try to update using them I get...
Finding update package...
Opening update package...
E:Can't open /sdcard/name-of-file.zip
(bad)
Installation aborted.
I get this whether its the full stock ROMs found on here or the update only packages found on here.
Any ideas?
Skyap said:
I'm now rooted and have cwm recovery. Had some issues transferring files to the sdcard but seem to have moved a couple of files, but when I try to update using them I get...
Finding update package...
Opening update package...
E:Can't open /sdcard/name-of-file.zip
(bad)
Installation aborted.
I get this whether its the full stock ROMs found on here or the update only packages found on here.
Any ideas?
Click to expand...
Click to collapse
Trying to mount sdcard into CWM and see what happens.
---------- Post added at 07:37 PM ---------- Previous post was at 07:34 PM ----------
Reboot into recovery.
Go into "mounts and storage"
Select "mount sdcard"
Select "mount USB storage"
Shortly after your SD Card will be mounted on your computer.
please help my sh-12c stuck in boot
hi my sh-12c stuck in boot wont open could you hrelp me to guide ?
i enable su and and i change permission in settings thats all in hope if morelocal2 works but it doesnt work and was not problem to use but , i restart in hope if it work , but it stuck in the boot logo Auuos moving any way to restore ?

[Q] Red Triangle and no root

Hi all
Have a problem with a boot loop.
First, my story:
I rooted the tablet and installed Rouge recovery using the "one click root" from here: http://forum.xda-developers.com/showthread.php?t=1689193
That worked and I installed CM9
What I didn't do was to make a back-up before I had installed CM9.
I want to give the tablet away to a young relative and install the original firmware on it and removing root.
I downloaded from ASUS the WW_epad-user-9.2.1.27.zip file which was the latest firmware for the device.
When I went to flash it however I got the following error
assert failed: write_raw_image("/tmp/blob", "staging")
E:Error in /sdcard/US_epad-user-9.2.1.11.zip
(status 7)
Installation aborted.
So I did the following fix found here (http://forum.xda-developers.com/showthread.php?t=1576937)
- download the img file
- rename it as blob file with a more simple name for example cwm_touch.blob
- open Terminal Emulator on your tablet, then:
$ su
# dd if=/"path to blobfile" of=/dev/block/mmcblk0p4 (REPLACE "path to blobfile" with the path to where you have saved the file).
Now here's the problem, I restarted the device and it goes into a boot loop, trying to access the recovery (Power + Volume) It goes to an android with a red triangle and nothing else. So I'm stuck, I can't recover and I can't access the device on my computer.
What do I do?
Wedge85 said:
Hi all
Have a problem with a boot loop.
First, my story:
I rooted the tablet and installed Rouge recovery using the "one click root" from here: http://forum.xda-developers.com/showthread.php?t=1689193
That worked and I installed CM9
What I didn't do was to make a back-up before I had installed CM9.
I want to give the tablet away to a young relative and install the original firmware on it and removing root.
I downloaded from ASUS the WW_epad-user-9.2.1.27.zip file which was the latest firmware for the device.
When I went to flash it however I got the following error
assert failed: write_raw_image("/tmp/blob", "staging")
E:Error in /sdcard/US_epad-user-9.2.1.11.zip
(status 7)
Installation aborted.
So I did the following fix found here (http://forum.xda-developers.com/showthread.php?t=1576937)
- download the img file
- rename it as blob file with a more simple name for example cwm_touch.blob
- open Terminal Emulator on your tablet, then:
$ su
# dd if=/"path to blobfile" of=/dev/block/mmcblk0p4 (REPLACE "path to blobfile" with the path to where you have saved the file).
Now here's the problem, I restarted the device and it goes into a boot loop, trying to access the recovery (Power + Volume) It goes to an android with a red triangle and nothing else. So I'm stuck, I can't recover and I can't access the device on my computer.
What do I do?
Click to expand...
Click to collapse
EDIT:
Well after banging my head on a wall for a few hours, I found a solution.
http://www.transformerforums.com/fo...t/31927-frederuco-s-guide-root-rom-tf101.html
This has allowed me to get back a recovery and I have installed CM9 back again.
I'm still stumped as to how to return the device back to stock..
Wedge85 said:
EDIT:
Well after banging my head on a wall for a few hours, I found a solution.
http://www.transformerforums.com/fo...t/31927-frederuco-s-guide-root-rom-tf101.html
This has allowed me to get back a recovery and I have installed CM9 back again.
I'm still stumped as to how to return the device back to stock..
Click to expand...
Click to collapse
Why not just put ARHD on it and remove/uninstall super user app...... will work a fair bit better but still have all the stock Asus bits. There wont (i suspect) be any more updates for our TF so ARHD would be just the ticket imo.

HTC Sensation: Can't install zip from SD card & WiFi "Error" stopped working.

HTC Sensation: Can't install zip from SD card & WiFi "Error" stopped working.
Hello
I recently rooted my HTC Sensation (Pyramid) Z710e using KINGORoot and it was a successful root, unlocked bootlader and got SuperUser.
Security is still on (S-ON) as I don't need or wish to turn this off.
I have tried using CWM recovery 5.8.0.9 but flashing the ROM which was MADE for the Pyramid failed, then I tried using TWRP 2.1.0 but I got the same result, and then I also tried CWM recovery 5.0.2.0 but still the same result (error below).
The problem: When I try flashing a new custom ROM after doing data wipe, cache wipe and dalvik cache wipe it gives me the following error message:
' E: Error in /sdcard/'zipname'.zip
(Status 0 )
Installation Aborted. '
All recoveries downloaded were specific to my phone (obvoiusly) so all were named with Pyramid in them (ex. "twrp-pyramid-2.1.0.img") and so were the custom ROMs, specific to the sensation.
I read something about changing the META-INF File from the new ROM zip to a working META-INF file for the Pyramid but when I tried this it didn't work either, got me an error Status 1 message if I remember correctly.
I'm currently running a downloaded zip of ICS (Ice Cream Sandwich) Android 4.0.3 which is like the OS I had before I formatted everything except SD Card. However my WiFi isn't working anymore since I flashed this downloaded ICS zip and what I mean by not working I mean that when you flip the switch to turn WiFi on it flips to On and then to Off again immediately, and in the settings menu it says there's an Error, but that's it. I tried using the Wifix manager app with the code but that didn't work at all.
Any help is greatly appreciated as to what I can do regarding why I can't install a zip successfully from recovery or as to how I can fix my WiFi problem on my Sensation.
Thanks
Hello
Please wait for the moderation team to move this thread to relevant section.
Do register an account on xda for better access and privileges.
Have a good day !
Flash the boot.img of the rom via fastboot command
The command is fastboot flash boot boot.img
And I suggest to use 4ext recovery since you are on S-ON
Still not working :/
Thank you for the reply
Ok I did what you said, I'm currently trying to get the new latest version of CM12 - Lollipop for my sensation.
And yes I'm using 4ext recovery aswell.
I flashed the boot.img file in my phone and it was a success, however after wiping cache, davlik, and data and formatting all partitions except sd card I go to flash the CM12 ROM but it's giving me a status 0 error again.
Am I missing something?
Here is the log of when I try installing the CM12 zip
"
Installing: /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
Finding update package...
I:Update location: /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
Opening update package...
Installing update...
Warning: No file_contextsminzip: Extracted 3 file(s)
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: 12
run_program: child exited with status 127
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
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: 12
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: No such file or directory
unmount of /system failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/userdata, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data: No such file or directory
unmount of /data failed; no such volume
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: No such file or directory
E:Error in /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
(Status 0)
Installation aborted.
"
Thanks
Spitfire98 said:
Thank you for the reply
Ok I did what you said, I'm currently trying to get the new latest version of CM12 - Lollipop for my sensation.
And yes I'm using 4ext recovery aswell.
I flashed the boot.img file in my phone and it was a success, however after wiping cache, davlik, and data and formatting all partitions except sd card I go to flash the CM12 ROM but it's giving me a status 0 error again.
Am I missing something?
Here is the log of when I try installing the CM12 zip
"
Installing: /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
Finding update package...
I:Update location: /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
Opening update package...
Installing update...
Warning: No file_contextsminzip: Extracted 3 file(s)
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: 12
run_program: child exited with status 127
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
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: 12
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: No such file or directory
unmount of /system failed; no such volume
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/userdata, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data: No such file or directory
unmount of /data failed; no such volume
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: No such file or directory
E:Error in /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
(Status 0)
Installation aborted.
"
Thanks
Click to expand...
Click to collapse
did you flash the latest version of 4ext recovery?
if not take it from here
http://d-h.st/rG7
extract the recovery.img and flash it via fastboot command
Spitfire98 said:
Thank you for the reply
Ok I did what you said, I'm currently trying to get the new latest version of CM12 - Lollipop for my sensation.
And yes I'm using 4ext recovery aswell.
[]
E:Error in /sdcard/cm-12-20150203-UNOFFICIAL-pyramid.zip
(Status 0)
Installation aborted.
Click to expand...
Click to collapse
1.) Make sure you have at least 4ext recovery v1.0.0.6 RC2 in order to install new ROMs. Otherwise you will very likely get a status 0 error with most ROMs.
2.) I suggest to use CM11 as a daily driver, Lollipop so far has not been stable enough on the Sensation, I had different kinds of problems. Still seems to be a bit experimental to me.
WiFi + ROM (status 0) ~ Problem SOLVED!
Okay, first of all, a huge thanks to everyone that replied and took the time to help me with my problem!
The WiFi problem occurred because I had the incorrect ROM Build name even though it was like the old untampered Ice Cream Sandwich (my stock O.T.A.update ICS was 3.32.x and the one I had downloaded and flashed myself was a stock ICS to bring back my phone's old OS but it was 3.33.x).
The problem of the status 0 error was that at first I was forgetting to flash the Boot.img file in the phone, but then it was because I had version 1.0.0.5 of 4ext recovery not 1.0.0.6 (the latest) as you guys suggested. I can't believe it was that simple but it's solved atleast now and I am infact currently running the latest CM12 Lollipop on my Sensation which looks amazing but since its still unofficial it has a few small bugs.
Once again Thanks all
Happy Devving!

Please help... Acer e700 bootloop after official update!

Hello,
I was trying to update my phone(from settings>about phone) and I had no idea that I should not have done that because my phone is rooted; the downloaded update size was small around 12 megabytes as I remember and after restarting it got stuck into android system recovery <3e> (CWM), gave me that error "Installation aborted" and I can't boot into my system again. Unfortunately I haven't backed up my data and when I try to back them up using CWM it gives me this error "Write error, short write!" I tried recovering the backup file later from SD card on PC, it was damaged but I found out that it always crashes at 4 GB file size; I am using a 32 GB memory card and the size of data to be backed up is around 8 GB.
My questions are: Is there any other way to backup my files and applications data before attempting any repair methods?(My main concern) ;even if it was a physical way...
What should I do next?
This is what I have tried so far (without any luck),
- Wipe cache partition
- I tried installing Aroma file manager in CWM mode from SD card but it always gives me the error "Installation aborted".
- Connecting my phone to PC and choosing apply an update from ADB in CWM (The only way my PC can read my phone). I tried then pull, usb and reboot commands but it always gives me a message saying "error: closed". The only command that works is "adb sideload update.zip(Aroma also)" which gives me "Installation aborted" on the phone.
My mobile version is Acer_AV0K0_E39_1.024.00_EMEA_GEN2 (3 sims version)
=These lines are from the end of the log file for the first time the phone bootlooped trying to install the official update
(Unpacking new recovery...ApplyParsedPerms: chown of /system/bin/su to 0 failed: Operation not permitted
ApplyParsedPerms: chgrp of /system/bin/su to 0 failed: Operation not permitted
ApplyParsedPerms: chmod of /system/bin/su to 420 failed: Operation not permitted
ApplyParsedPerms: lsetfilecon of /system/bin/su to ubject_r:system_file:s0 failed: Operation not permitted
ApplyParsedPerms: removexattr of /system/bin/su to 0 failed: Operation not permitted
script aborted: set_metadata_recursive: some changes failed
Symlinks and permissions...
set_metadata_recursive: some changes failed
E:Error in /cache/alu/update.zip
(Status 7)
Update.zip is not correct
Installation aborted.
write result : MOTA_RESULT_FILE
write result : remove_mota_file
write result : remove_mota_file(DEFAULT_MOTA_FILE)
fw_upgrade: status = 1
fw_upgrade: fw
fw_upgrade_result_fw: dir does not exist, create it.
fw_upgrade_finish)
I hope that there is someone here who can find a solution to my problem. Thank you for your time.
Hello again,
I am about to try something but I am afraid it might crash my phone even more, so I would love to hear an expert opinion first;
I downloaded the same stock rom as the one in my phone from here (vache-android .com /hubicAcer/E700/OS%20Images/EMEA_GEN2/update_Acer_AV0K0_E39_1.024.00_EMEA_GEN2-sds.zip) and then I am planning to flash using the method in this video to preserve my data (youtube .com/watch?v=b5H6EbaCKrw),and then if this method works and the system booted I am planning to back up my data and applications using titanium back and then do a clean install.
Do you think this might work? If not, What other methods can I try to backup my data?

Categories

Resources