Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mj_blue
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 4
Join Date: Jan 2005
Unhappy Device semi-bricked no way to rom zips to sdcard

Hi,

I was attempting to update my P7310 to ICS and have flashed CWM 5.0.2.6 I then attempted to flash the alpha2 ICS release but it started flashing and then the device rebooted. I was able to boot back into recovery but it seems that the whole device fileystem is empty / screwed.

I have tried adb push of a file to /sdcard/ but it fails:

$ ./adb.exe push p5wifi_galaxian-soup-a2.zip /sdcard/wifi.zip
failed to copy 'p5wifi_galaxian-soup-a2.zip' to '/sdcard/wifi.zip': Not a directory

Is there any way of getting a new rom zip onto the device so that I can then update again through CWM "apply update from sdcard". Can I apply update from any other way?


I can push the file to the device root:

$ ./adb.exe push p5wifi_galaxian-soup-a2.zip /wifi.zip
1307 KB/s (96366459 bytes in 71.999s)

I can't run adb shell to do stuff either:

$ ./adb.exe shell
- exec '/system/bin/sh' failed: No such file or directory (2) -

Can I flash something that works through ODIN which still talks to the device..?

Im stuck and have ran out of ideas..any help appreciated
 
nirogu325
Old
(Last edited by nirogu325; 13th January 2012 at 04:24 PM.)
#2  
nirogu325's Avatar
Senior Member
Thanks Meter 451
Posts: 1,222
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by mj_blue View Post
Hi,

I was attempting to update my P7310 to ICS and have flashed CWM 5.0.2.6 I then attempted to flash the alpha2 ICS release but it started flashing and then the device rebooted. I was able to boot back into recovery but it seems that the whole device fileystem is empty / screwed.

I have tried adb push of a file to /sdcard/ but it fails:

$ ./adb.exe push p5wifi_galaxian-soup-a2.zip /sdcard/wifi.zip
failed to copy 'p5wifi_galaxian-soup-a2.zip' to '/sdcard/wifi.zip': Not a directory

Is there any way of getting a new rom zip onto the device so that I can then update again through CWM "apply update from sdcard". Can I apply update from any other way?


I can push the file to the device root:

$ ./adb.exe push p5wifi_galaxian-soup-a2.zip /wifi.zip
1307 KB/s (96366459 bytes in 71.999s)

I can't run adb shell to do stuff either:

$ ./adb.exe shell
- exec '/system/bin/sh' failed: No such file or directory (2) -

Can I flash something that works through ODIN which still talks to the device..?

Im stuck and have ran out of ideas..any help appreciated
You're telling adb to push the file into a zip? Anyways, ADB sadly does not work in our CWM (nor USB mounting as you might have noticed), so the only way you can restore functionality and start again (no erasure of your SDcard contents so don't worry) is to use ODIN back to stock. From there, start again. It could be your download was corrupted (download again), because I could flash it fine, but eventually went back to KJ5 for functionality.

Edit: Check my guide below for ODIN FAQ and how-to if necessary.
 
lufc
Old
#3  
lufc's Avatar
Senior Moderator / Resident Priest
Thanks Meter 1472
Posts: 9,442
Join Date: Oct 2007
Location: Blackpool UK

 
DONATE TO ME
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS

Moving to General
Pay attention and participate,Encourage,
not discourage, Listen to advice and accept instruction,
and in the end you will be wise.......... Prov. 19:20
 
kallt_kaffe
Old
#4  
Senior Member
Thanks Meter 1154
Posts: 1,471
Join Date: Mar 2010

 
DONATE TO ME
The clockwork I posted in the CM9 thread supports adb.

A bit late for that now though...
Take full control over your external USB or Bluetooth keyboard with External Keyboard Helper Pro!

My blog.
 
nirogu325
Old
(Last edited by nirogu325; 13th January 2012 at 06:28 PM.)
#5  
nirogu325's Avatar
Senior Member
Thanks Meter 451
Posts: 1,222
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by kallt_kaffe View Post
The clockwork I posted in the CM9 thread supports adb.

A bit late for that now though...
Edit: Sent you a PM.
 
wyatt23
Old
#6  
Member
Thanks Meter 1
Posts: 42
Join Date: Feb 2010
was there a resolution to this issue? i have the same exact problem as the OP.

However, I cannot restore back to stock with ODIN. when writing my system.img.md5 my restore fails.

I know my devices can be fixed! i just have not found my answer yet.
 
ellokomen
Old
#7  
Senior Member
Thanks Meter 21
Posts: 278
Join Date: Nov 2009

 
DONATE TO ME
you need to copy the CWM flashable rom into the sdcard:

1st: Install CWM using Odin
2nd: enter CWM and go to "Mount" and mount /system (this will enable the shell)
3rd: now you can use "adb shell" and "adb push" to push your rom into the sdcard.

I remember this thing happened to me once, that the /sdcard directory was not found, but I don't remember how I solved it.
SE Z310 -> MT t191->BB 8820 -> HTC Touch Pro -> BB 8820 ->SE X10i -> SE X10a -> Samsung Galaxy SII-> Nokia Lumia 920

Nokia Lumia 920 Black
Samsung Galaxy Tab 8.9 ICS
 
suwandiapr
Old
#8  
Senior Member
Thanks Meter 162
Posts: 171
Join Date: Jan 2012
Location: Semarang
How about this.?
adb push files\your_files /data/media/.
Before that, please mount your /data partition..
Why? Because /data/media/... have the same content with /sdcard/...
Just check it, and tell me if it works...
The Following User Says Thank You to suwandiapr For This Useful Post: [ Click to Expand ]
 
wyatt23
Old
#9  
Member
Thanks Meter 1
Posts: 42
Join Date: Feb 2010
Quote:
Originally Posted by ellokomen View Post
you need to copy the CWM flashable rom into the sdcard:

1st: Install CWM using Odin
2nd: enter CWM and go to "Mount" and mount /system (this will enable the shell)
3rd: now you can use "adb shell" and "adb push" to push your rom into the sdcard.

I remember this thing happened to me once, that the /sdcard directory was not found, but I don't remember how I solved it.
Quote:
Originally Posted by suwandiapr View Post
How about this.?
adb push files\your_files /data/media/.
Before that, please mount your /data partition..
Why? Because /data/media/... have the same content with /sdcard/...
Just check it, and tell me if it works...
Ok, so i'll let you know what my whole problem is. I am not starting a thread yet, because i believe the problem is the same.

I wanted to install overcome's rom on a United States, Galaxy Tab 8.9 WiFi Only. I rooted my devices just fine. The instructions with pictures told me to use ODIN to flash the modified version of CWM. now, in the picture i saw a pit file being used. it was called "android_fastboot_emmc_full_p4_16G_32G.pit". I found the file and I left 'Re-Partition' checked per the picture.

After this, I had no CWM, only downloading mode. I used ODIN to reflash the P7310XXKJ4. I put that in PDA. unchecked re-partition. it failed at writing system.img.md5

stock normal recovery was back, but i had no access to the sdcard, data, or anything else.

I then used ODIN (no more pit files anymore and no more re-partition) to flash the overcome CWM. WORKED.

So now i have access to CWM, but it cannot mount sdcard, data, nothing.

I purchased the sdcard kit so i could see if i could load up a ROM on an external SDcard and flash from there. NO DICE.

I refuse to believe this is over! but I am begging for someone's help.

Tonight, I am going to uninstall the drivers i have on win7. reinstall a fresh copy of KJ4. and see if that works.

I am open to ANY suggestions. I see that others are experiencing this problem, but there is no readily available solution.
 
nirogu325
Old
#10  
nirogu325's Avatar
Senior Member
Thanks Meter 451
Posts: 1,222
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by wyatt23 View Post
Ok, so i'll let you know what my whole problem is. I am not starting a thread yet, because i believe the problem is the same.

I wanted to install overcome's rom on a United States, Galaxy Tab 8.9 WiFi Only. I rooted my devices just fine. The instructions with pictures told me to use ODIN to flash the modified version of CWM. now, in the picture i saw a pit file being used. it was called "android_fastboot_emmc_full_p4_16G_32G.pit". I found the file and I left 'Re-Partition' checked per the picture.

After this, I had no CWM, only downloading mode. I used ODIN to reflash the P7310XXKJ4. I put that in PDA. unchecked re-partition. it failed at writing system.img.md5

stock normal recovery was back, but i had no access to the sdcard, data, or anything else.

I then used ODIN (no more pit files anymore and no more re-partition) to flash the overcome CWM. WORKED.

So now i have access to CWM, but it cannot mount sdcard, data, nothing.

I purchased the sdcard kit so i could see if i could load up a ROM on an external SDcard and flash from there. NO DICE.

I refuse to believe this is over! but I am begging for someone's help.

Tonight, I am going to uninstall the drivers i have on win7. reinstall a fresh copy of KJ4. and see if that works.

I am open to ANY suggestions. I see that others are experiencing this problem, but there is no readily available solution.
The thing is, none of the ODIN images (at least the 7310 ones I've seen) have this .pit file since it is not needed at all. The CWM available is just for wiping and flashing. I'm afraid adb does not work. I heard of a Recovery in the CM9 kang thread over at the Development section in which adb works if that's what you want. There are some ODIN links in my guide and all you need to do with the downloaded file is putting the biggest (and only) file in PDA, make sure "F. Reset Time" is clicked and forget about Repartitioning (it is NOT needed in this tab).

The Following User Says Thank You to nirogu325 For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...