FORUMS

New Xposed for Lollipop 5.0 Update Fixes Major Bugs

Senior Recognized Developer rovo89 has patched Xposed for Lollipop 5.0 to … more

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of … more

[Q] ADB Push and internal storage

22 posts
Thanks Meter: 2
 
By thenighthawk, Junior Member on 3rd September 2014, 01:53 PM
Post Reply Subscribe to Thread Email Thread
Hi all,

I accidentally deleted internal storage while I was trying to flash paranoid android on my Nexus 5. I then managed to push the ROM.zip back into my phone's internal storage using ADB Push. I installed the ROM but after the ROM installed, the zip file is no longer in the internal storage. What happened to the zip package? Where did it go?

Thanks for your help in advance.
 
 
3rd September 2014, 01:56 PM |#2  
Recognized Contributor
Thanks Meter: 1,323
 
More
/data/media
3rd September 2014, 04:23 PM |#3  
OP Junior Member
Thanks Meter: 2
 
More
Sorry
The media dir is blank. I used the command as ADB push ROM.zip /sdcard
3rd September 2014, 04:33 PM |#4  
jd1639's Avatar
XDA: ASSIST
Recognized Contributor
Minnetonka, MN
Thanks Meter: 4,877
 
Donate to Me
More
Quote:
Originally Posted by thenighthawk

Sorry
The media dir is blank. I used the command as ADB push ROM.zip /sdcard

Use

adb rom.zip /sdcard/

Sent from my Nexus 5 using XDA Free mobile app
3rd September 2014, 05:17 PM |#5  
danarama's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 18,811
 
More
Quote:
Originally Posted by thenighthawk

Sorry
The media dir is blank. I used the command as ADB push ROM.zip /sdcard

It isn't blank. You're just using a file explorer without permissions to view it.

If you used CWM recovery when you adb pushed, its as already state by @Aerowinder... . In /data/media because CWM recovery still mounts /sdcard as /data/media instead of what android 4.2+ mounts it as which is /data/media/0

Sent from my Nexus 5 using Tapatalk
3rd September 2014, 09:40 PM |#6  
OP Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by rootSU

It isn't blank. You're just using a file explorer without permissions to view it.

If you used CWM recovery when you adb pushed, its as already state by @Aerowinder... . In /data/media because CWM recovery still mounts /sdcard as /data/media instead of what android 4.2+ mounts it as which is /data/media/0

Sent from my Nexus 5 using Tapatalk

I used TWRP v2.6.3
I will look in TWRP Mount settings if I can configure the permissions.
3rd September 2014, 09:43 PM |#7  
danarama's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 18,811
 
More
Quote:
Originally Posted by thenighthawk

I used TWRP v2.6.3
I will look in TWRP Mount settings if I can configure the permissions.

What permissions?

Sent from my Nexus 5 using Tapatalk
3rd September 2014, 09:46 PM |#8  
OP Junior Member
Thanks Meter: 2
 
More
You're right. There are no permissions to configure in TWRP file explorer.

Should I switch to CWM?
3rd September 2014, 09:51 PM |#9  
danarama's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 18,811
 
More
Just boot into android and use a proper file explorer with root access.

Or you can use adb and Linux command line to

mount /data
ls /data/media

To see if the file is there.

Also I know with Philz recovery when you formatted /sdcard, the 0 folder from /data/media/0 was gone leaving only /data/media (until a commit was made to recreate 0) so its possible TWRP does the same making /sdcard temporarily mount to /data/media

Anyway not sure where it is if its not there

No don't change to CWM

Sent from my Nexus 5 using Tapatalk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes