Blackscreen. how to put update.zip - Galaxy S I9000 Android Development

Hi i tied to put framework-res.apk in /system/freamework (baterry mod) but something went wrong and after the reboot the phone showed the startup screen but after that stays on blackscreen. I have debugging on and i can see the phone with adb. But when i try to push the restored framework-res.apk from the computer i get "failed to copy 'framework-res.apk' to '/sdcard//framework-res.apk': Permission denied". I tried to put update.zip but the same. i only have to put one update.zip i the /sdcard/ but i cant. I cant run adb shell. su. i does not work. So how to put the update.zip file in the phone on a blackscreen?

black_men said:
Hi i tied to put framework-res.apk in /system/freamework (baterry mod) but something went wrong and after the reboot the phone showed the startup screen but after that stays on blackscreen. I have debugging on and i can see the phone with adb. But when i try to push the restored framework-res.apk from the computer i get "failed to copy 'framework-res.apk' to '/sdcard//framework-res.apk': Permission denied". I tried to put update.zip but the same. i only have to put one update.zip i the /sdcard/ but i cant. I cant run adb shell. su. i does not work. So how to put the update.zip file in the phone on a blackscreen?
Click to expand...
Click to collapse
Unfortunately, I guess you need to reflash with ODIN before anything else.
In order to avoid this behavior in the future, I've done some Zip storage on internal SD.
I keep CWM renamed to update.zip on SD root folder and Doc's ROMs inside a subfolder.
That way, if something gets wrong, it's always possible to comeback from recovery 3 to CWM, then reflash ROM using «select Zip from SD»
Sent from my GT-I9000 using XDA App

If you have a lagfix kernel flashed you might 'mount /sdcard' from within the custom cwm-recovery and afterwards push an update.zip onto your phone using adb

Related

Remove files from system

I'm trying to remove some preinstalled apps from /system/app folder. My phone is rooted.
When I'm trying this over adb it says that I only have Read permissions. What am I doing wrong?
Put the phone into recovery mode then do the adb commands.
You only have read access while booted. R/W access while in recovery.
Mh I tried this but I couldn't even open the shell, said something.sh is missing.
You mean the normal recovery and not Clockworkmod or something, right?
You have to put it in the custom recovery. Clockworkmod or whichever one you use.
Ah okay, thank you, I will try that.
Though I need to use the normal recovery.
I tried it with clockwork now. It works but when I do "cd system" and do "ls" it's empty...so I can't see any app-folder?!
Edit: Oh I forgot - do I need to mount system first using the partitions menu?!
Eggcake said:
I tried it with clockwork now. It works but when I do "cd system" and do "ls" it's empty...so I can't see any app-folder?!
Edit: Oh I forgot - do I need to mount system first using the partitions menu?!
Click to expand...
Click to collapse
Code:
mount /system
At the adb shell.
Oy, thanks now I finally got it
Remove worked, pull didn't (or it took >5min for a simple apk file and I aborted it too early).

Accessing the internal storage from recovery? No ROM installed or backup available.

I downloaded a ROM for the wrong nexus phone (there's so damn many I forgot to check carefully) and I've already wiped system and moved my nandroid backups to my computer because I wanted to wipe the SD card.
Is there any way to get into the phone's internal storage from recovery and load a new ROM manually?
With my older phones I would just pull the micro SD card and put the ROM on it from my PC, this doesn't seem to be possible with the nexus.
EDIT: I also have the Galaxy Nexus Root Toolkit v1.3. I think I can load a ROM using this right?
Thanks!
Check my faq section in my siggy.
Jubakuba said:
Check my faq section in my siggy.
Click to expand...
Click to collapse
Pulled:
adb push NAMEOFZIP.zip /sdcard/
from your FAQ. Thank you very much! Should work perfectly.
I got:
C:\Program Files\Android\android-sdk\platform-tools>adb push update-cm-9-20120314-NIGHTLY-toro-signed.zip /sdcard/
error: device not found
in my device manager I have:
SAUMSUNG Android Phone
-> Android ADB Interface
I assume typing "adb devices" brings nothing up?
Are you in the fastboot menu?
Do you have the drivers installed (I'd assume so, if you're rooted)
Jubakuba said:
I assume typing "adb devices" brings nothing up?
Click to expand...
Click to collapse
Brings up a blank list with an empty entry:
C:\Program Files\Android\android-sdk\platform-tools>adb devices
List of devices attached
C:\Program Files\Android\android-sdk\platform-tools>
Jubakuba said:
Are you in the fastboot menu?
Click to expand...
Click to collapse
Held down the vol up and vol down buttons while holding power.
Android guy has his chest open with a 4x4 blue square pattern inside of him.
Says FASTBOOT MODE in red and LOCK STATE - UNLOCKED also in red.
Jubakuba said:
Do you have the drivers installed (I'd assume so, if you're rooted)
Click to expand...
Click to collapse
Add / Remove programs says 'SAMSUNG USB Driver for Mobile Phones' 45.5MB version 1.4.6.0
EDIT: Changing to 1.4.8.0 didn't help
EDIT: Seeing Fastboot Command Read Error -2147382647
EDIT: Installing new naked drivers from here didn't work either, same read error sometimes, other times adb devices returns blank
http://forum.xda-developers.com/showthread.php?t=1379875
Okay got into the phone when I used recovery instead of boodloader to talk to it with ADB. I'm pushing the ROM but CWM doesn't see the ZIP after it has been pushed when I choose 'install ZIP from sdcard'
Final edit: Couldn't find the ROM when I pushed it using ADB. I think I was using the command wrong because the file never showed on the SDCARD after pushing it. So what I did was push it as 'update.zip' and then used CWM's 'load update.zip' from SDCARD function and got Cyanogenmod installed and everything is gravy again.
advocat3 said:
Okay got into the phone when I used recovery instead of boodloader to talk to it with ADB. I'm pushing the ROM but CWM doesn't see the ZIP after it has been pushed when I choose 'install ZIP from sdcard'
Final edit: Couldn't find the ROM when I pushed it using ADB. I think I was using the command wrong because the file never showed on the SDCARD after pushing it. So what I did was push it as 'update.zip' and then used CWM's 'load update.zip' from SDCARD function and got Cyanogenmod installed and everything is gravy again.
Click to expand...
Click to collapse
this didn't work for me. adb devices shows serial number recovery (that's the only thing I can boot my phone to)
when I adb push update /scard it eventually says it successfully did so with xxxxx amounts of data.
When I apply update.zip card from CWM menu it tells me can't open /sdcard/update.zip (no such file or directory)
I also renamed latest cm.zip and pushed it to /sdcard/0/Download - even when it says OK I can't find that file in that directory.
Am I royally screwed?
---------- Post added at 10:50 PM ---------- Previous post was at 10:49 PM ----------
advocat3 said:
Okay got into the phone when I used recovery instead of boodloader to talk to it with ADB. I'm pushing the ROM but CWM doesn't see the ZIP after it has been pushed when I choose 'install ZIP from sdcard'
Final edit: Couldn't find the ROM when I pushed it using ADB. I think I was using the command wrong because the file never showed on the SDCARD after pushing it. So what I did was push it as 'update.zip' and then used CWM's 'load update.zip' from SDCARD function and got Cyanogenmod installed and everything is gravy again.
Click to expand...
Click to collapse
this didn't work for me. adb devices shows serial number recovery (that's the only thing I can boot my phone to)
when I adb push update /scard it eventually says it successfully did so with xxxxx amounts of data.
When I apply update.zip card from CWM menu it tells me can't open /sdcard/update.zip (no such file or directory)
I also renamed latest cm.zip and pushed it to /sdcard/0/Download - even when it says OK I can't find that file in that directory.
Am I royally screwed?
Bronyr said:
this didn't work for me. adb devices shows serial number recovery (that's the only thing I can boot my phone to)
when I adb push update /scard it eventually says it successfully did so with xxxxx amounts of data.
When I apply update.zip card from CWM menu it tells me can't open /sdcard/update.zip (no such file or directory)
I also renamed latest cm.zip and pushed it to /sdcard/0/Download - even when it says OK I can't find that file in that directory.
Am I royally screwed?
Click to expand...
Click to collapse
Sorry but this is really really old. You should try doing a flash-back-to-stock if you can using the Nexus Root Toolkit.
I haven't had my Galaxy Nexus for well over a year.
advocat3 said:
Sorry but this is really really old. You should try doing a flash-back-to-stock if you can using the Nexus Root Toolkit.
I haven't had my Galaxy Nexus for well over a year.
Click to expand...
Click to collapse
thanks. Finally got philZ.zip pushed via ADB to internal, rebooted, all gravy! Pushing didn't work cause my battery was weak.
You van also flash a ROM via recovery from your PC with adb sideload. Its awesome.
Sent from my Galaxy Nexus using XDA Premium HD app

Phone wont install my backups.......HELP!!!!!

I was running Jelly bean for 2 weeks now and no problems and I hooked the phone up to my charger and it just started to bootload itself over and over and so I just tried to install my backup and start over but it says error while restoring data on all my backups. I need help on whether or not I am screwed or If I can connect my phone to my computer someway and use clockwork and maybe do something that way. I am able to get to clockwork rec and I believe that my files have been erased some how some way and cant connect to my computer to just start over unless one of you guys can really help me out. If I can get step by step help I will def buy someone a beer or two or three. Thanks
If you have a rom zip on your sdcard just boot into recovery, wipe and flash a new rom. If you don't then go into recovery, mount sdcard to your computer and move a zip onto your sd and then flash.
Sent from my Galaxy Nexus using Tapatalk 2
eqjunkie829 said:
If you have a rom zip on your sdcard just boot into recovery, wipe and flash a new rom. If you don't then go into recovery, mount sdcard to your computer and move a zip onto your sd and then flash.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I dont have a rom zip on my phone my dumbass deleted it 3 days ago. this sounds stupid but I go to recovery5.8.0.2 and how do I mount the sd card to my mac? if that helps....
Try this.
http://forum.xda-developers.com/showthread.php?t=1667929
genethebean33 said:
I dont have a rom zip on my phone my dumbass deleted it 3 days ago. this sounds stupid but I go to recovery5.8.0.2 and how do I mount the sd card to my mac? if that helps....
Click to expand...
Click to collapse
Connect your phone to your computer, boot into CWM recovery, and use ADB to push a ROM.zip, GAPPS, and whatever else you need to flash to your phone. You can then do a data wipe in CWM and flash the ROM.
If you don't know how to use ADB, download the package I've attached to this post. Unzip it to your home directory and drop any files you need to push into that file as well. Open up Terminal, type "cd" (no quotes) and drag that unzipped Mac_ADB_Fastboot folder into the terminal and hit return. It'll take you to that directory.
First, make sure the computer recognized the device by typing:
Code:
./adb devices
and hitting return.
If it detects, then type this into the Terminal, of course substituting any file you need (GAPPS, etc.) where "ROM.zip" is:
Code:
./adb push ROM.zip /sdcard/
cattom2000 said:
Try this.
http://forum.xda-developers.com/showthread.php?t=1667929
Click to expand...
Click to collapse
is there a mac version?
genethebean33 said:
is there a mac version?
Click to expand...
Click to collapse
Read my post.
genethebean33 said:
is there a mac version?
Click to expand...
Click to collapse
adb is a platform tool in android sdk, and can use on mac surely.
you can get one sent by martonikaj.
firstly you have to try to mount your sdcard in the cwm recovery. if it done, you can use adb push send file to sdcard.
martonikaj said:
Connect your phone to your computer, boot into CWM recovery, and use ADB to push a ROM.zip, GAPPS, and whatever else you need to flash to your phone. You can then do a data wipe in CWM and flash the ROM.
If you don't know how to use ADB, download the package I've attached to this post. Unzip it to your home directory and drop any files you need to push into that file as well. Open up Terminal, type "cd" (no quotes) and drag that unzipped Mac_ADB_Fastboot folder into the terminal and hit return. It'll take you to that directory.
First, make sure the computer recognized the device by typing:
Code:
./adb devices
and hitting return.
If it detects, then type this into the Terminal, of course substituting any file you need (GAPPS, etc.) where "ROM.zip" is:
Code:
./adb push ROM.zip /sdcard/
Click to expand...
Click to collapse
I tried what you did and when I try to detect the device it says no such file or directory. is there anything I am doing wrong? when I go to mounts and storage i mount the system and data and nothing happens.
man now I cant mount my sd card........... I am so screwed!!! do i need a new phone now?
genethebean33 said:
man now I cant mount my sd card........... I am so screwed!!! do i need a new phone now?
Click to expand...
Click to collapse
You could always just find someone with a PC that will let you use it for 15 minutes, download the rom, move to your phone, boot into recovery, flash and enjoy. I always have 2 or 3 rom zips on my phone just for that reason.
Sent from my Suxen Yxalag using Xparent SkyBlue Tapatalk 2
yeh I cant even mount my sd card now. just a quick question? do I just sell my phone or is there anything I can do?
genethebean33 said:
yeh I cant even mount my sd card now. just a quick question? do I just sell my phone or is there anything I can do?
Click to expand...
Click to collapse
Maybe this help.
http://forum.xda-developers.com/showpost.php?p=26088161&postcount=5
http://forum.xda-developers.com/showpost.php?p=25850720&postcount=8

Forgot to transfer ROM

I tried to root my Nexus to get Jellybean...all went well till I realized I forgot to get the ROM onto the phone.
I made a backup onto the computer but didn't do it after I booted into clockwork mod. I wiped the cache etc. and installed the Gapps and that is when I realised the ROM wasn't on the phone. My phone wont connect to the computer and the only backup I have is on my computer.
Is there a way to get the stock ICS on the phone or somehow get the JB ROM onto my phone?
Not an expert, but fastboot and flash stock???
Sent from my Galaxy Nexus using Tapatalk 2
If your phone is recognized by the PC, push the ROM with ADB. You can then flash it.
Code:
adb push rom-file.zip /sdcard/
Alternatively if you just want to return to stock, flash the images via fastboot: http://forum.xda-developers.com/showthread.php?t=1626895
martonikaj said:
If your phone is recognized by the PC, push the ROM with ADB. You can then flash it.
Code:
adb push rom-file.zip /sdcard/
Alternatively if you just want to return to stock, flash the images via fastboot: http://forum.xda-developers.com/showthread.php?t=1626895
Click to expand...
Click to collapse
Phone is not recognized by the computer. It tries to install the driver then says it can't.
adb push it.
You can adb push from a custom recovery (CWM)
Jubakuba said:
adb push it.
You can adb push from a custom recovery (CWM)
Click to expand...
Click to collapse
I can't find the AndroidSDK folder on my computer at all...
edit-
downloaded and installed Android SDK.
edit-
got to cmd....I get to the point where I need to adb push but I get this message: 'adb' is not recognized as an internal or external command, operable program or batch file.
and on cwm, I can't toggle the /sdcard to unmount. It stays on mount.
cwpmz3 said:
I can't find the AndroidSDK folder on my computer at all...
edit-
downloaded and installed Android SDK.
edit-
got to cmd....I get to the point where I need to adb push but I get this message: 'adb' is not recognized as an internal or external command, operable program or batch file.
and on cwm, I can't toggle the /sdcard to unmount. It stays on mount.
Click to expand...
Click to collapse
You need to be in the sdk folder where the adb.exe is located, and the file you want to push must be in the same folder aswell.
Swype'ed on my CM10 Galaxy Nexus
cwpmz3 said:
I can't find the AndroidSDK folder on my computer at all...
edit-
downloaded and installed Android SDK.
edit-
got to cmd....I get to the point where I need to adb push but I get this message: 'adb' is not recognized as an internal or external command, operable program or batch file.
and on cwm, I can't toggle the /sdcard to unmount. It stays on mount.
Click to expand...
Click to collapse
Open the directory where you put the adb.exe file. Shift+Right Click the blank screen. Click Run Command Prompt Here. Now you should be able to use adb and all its commands when your phone is in recovery mode and connected to computer. Just to make sure, you can always do "adb devices" to check it the phone is recognized.
Also make sure that the ROM you want to transfer is in the same directory as adb.exe.
After you've done that, do "adb push NAME OF THE ROM.zip /sdcard/"
Now use CWM to flash that zip file and you're good to go.
Thanks everyone! Got it working!
Definitely made my heartdrop before haha but man I learned a lot haha again, Thanks!:good:

[Q] How to put a ROM on read-only /sdcard, while adb shell not working

I've been searching my _ off for two days now to find a solution for my problem, but I can't find one working for me.
What I do have right now:
NO working ROM (I believe because of a failed atempt to revert to a backup in CWM)
Access to my bootloader (unlocked through HTCDev)
Access to my recovery (Which is the latest CWM)
Fastboot/adb working
Phone boots upon the HTC logo screen
NO ROM zipfile on the SD-Card (I accidentilly deleted that, I still hate myself for that)
I've managed to push to ROM file into both /data and /system, which (ofcourse) isn't usefull to flash from because they don't show up in CWM.
What I've tried:
Reverting to a Nandroid backup, I've 2 on the sdcard. Both don't pass the part where /system is being restored.
'asd shell' to push files, or mount the SD card, does not work. First I had the error saying '--exec /system/bin/sh failure: file or dir not found (2)'. I managed to push the sh file into system, (and I believe into /system/bin), and the error changed to '[...] No directory (20)'
asd push /sdcard/; doesn't work because /sdcard is read-only.
In CWM I can't mount as USB storage, is says something about a file which can't be found.
TWRP recovery doesn't work on my device, I can touch whatever I wan't, the only button responding is the power button, which causes a locked recovery, which I can't unlock. (You need to swipe for that, which my phone seems to ignore).
I've read almost every topic on XDA and whatever Google could give me, but most solutions somewhere relied on the asd shell, or pushing into the /sdcard, or simply assume I still can mount as USB storage.
Does anyone have any suggestions left on howto get a ROM into the /sdcard so I can flash it? I would be thanking you forever!
Thanks in advance!
No ADB shell, then adb push *filename* /sdcard?
Maybe sideload a ROM?
Sent from my GT-I9300 using Tapatalk 4 Beta
I can't push files to the /sdcard since it's an read-only directory.
I tried the sideload part, but instead of executing something, it shows me the help of adb.
Any clue how to fix my shell, or get a ROM on it?
Tried typing 'adb remount' a few times and trying again?
Also, you should update your CWM to latest version so you can mount sdcard
tomascus said:
Tried typing 'adb remount' a few times and trying again?
Also, you should update your CWM to latest version so you can mount sdcard
Click to expand...
Click to collapse
I tried using remount, but that is to remount the /system partition right? I can put the ZIP on the /system partition. But CWM can't install from there.
I'm using the last version of CWM, but it gives me an error about a file not being found, so I can't mound as USB Storage device.
I returned the phone, to the store. I pretty much gave up after another few hours of struggling.

Categories

Resources