[Q]ADB help pushing rom - Nexus 7 Q&A, Help & Troubleshooting

Hi
Nexus 7 is rooted and trying to update ROM...Stuck on Google logo screen at start-up..
Can get into cwm recovery.
Trying to put rom in storage so I can flash it.
In the mounts and storage menu when i select mount /sdcard...Nothing happens.
When i select mount /system...the name changes to unmount /system
I just need to access the storage so i can flash my rom
I cannot see the flash storage on my computer when I select mount /sdcard or /system
So I tried just pushing the rom from adb.
#adb devices
#adb mount /sdcard (command does not work)
#adb mount /system (command does not work)
#adb push SmoothROM-v4.1.zip /sdcard/SmoothROM-v4.1.zip (just get back " _ " No transfer rates or anything)
Please help me flash this ROM
Thank You
-----------------------------------------------------------------------
Ok I fixed it...I pushed the rom using qtadb....with that software i could see the filestructure...i pushed the file to /data/media (i think)...and i could find the zip from clockwork...rom just installed...works great...
Please can some clarify how the storage works in nexus 7? Where is the sdcard files? is it stored in /data/media ?
why did the adb mount command did not work?

Adb push (file name) /mnt/sdcard/(final directory of your choice)
Shouldn't need to mount anything

Related

mounting SD??

Does anyone know where a video of mounting you SD card will be be??
Or can anuone tell me how to mount my SD Card
Mount it howso? Because you can connect it to the computer, and then an option to mount it will pop up on the phone. Or you can do this (probably what you want):
adb remount
adb shell
su
mount -o rw,remount auto /sdcard
That will mount your sdcard in readable/writable mode.
mrinehart93 said:
Mount it howso? Because you can connect it to the computer, and then an option to mount it will pop up on the phone. Or you can do this (probably what you want):
adb remount
adb shell
su
mount -o rw,remount auto /sdcard
That will mount your sdcard in readable/writable mode.
Click to expand...
Click to collapse
or you can just install mountusb from market.
well i want to mount it. so i can but the sdk android on my phone and root it.
I dont know which way that is. but how do i do it that way??
Well, the AndroidSDK doesn't actually go on the phone itself. If all you want is just to root the phone, I'd suggest using this (VERY easy): http://link.geekfor.me/fresh105
Download that, and then run it. There is a function in the program that will automatically root your phone for you, all you have to do is click a few buttons.
will it put nandroid on my sd card where i can put it onto my computer and does it put on backup
ok but if i use the fresh kitchen can i use DamageControl v2.07.2.
DamageControl v2.07.2 is Android 2.1
Fresh Kitchen will install a custom recovery when it roots your phone. The custom recovery will allow you to use nandroid, which will put backups of your phone on your sdcard in a folder labeled "nandroid". Once you root, you can install any ROM you want on your phone, even if it is Android 2.1.

Putting update on sd card w/o removing it?

I was wondering if there is an app that allows you to put an update (nighty) on an sd card without having to remove the card and attaching it to your computer.
I have wifi pro and that doesn't look like it allows me to do that and just hooking the nook to my pc doesn't look like it gives me the option either. Am I missing something?
I've haven't done myself yet but heard people mentioned about the app called "Root Explorer"??? or "Root Folder" or something with "root".
Download nightly build directly on the NC then use the app to drag the zip file over the "boot" partition.
I think it should be able to do, not done that myself.
The best I can offer is, if you eject the card long enough to start booting to stock, then re-insert it before stock fully loads (on one of the splash screens), the boot partition will be mounted as storage and you can connect to your PC by USB to drop an update file in there.
It might help you out if the issue is not having access to a card reader, but you still have to pop the card out and back in.
ETA: I never had any luck getting an update on the root of any SD, even one formatted for storage, using a file manager.
NookColorUMS allows you to mount any partition. Turn off compatibility mode in spare parts and then reboot to see app in full screen.
http://forum.xda-developers.com/showthread.php?t=952456
If you're running off of SD and adb is working then:
adb shell busybox mkdir /sdcard/boot
adb shell busybox mount /dev/block/mmcblk1p1 /sdcard/boot
adb push ***UPDATEFILE*** /sdcard/boot
adb reboot recovery
If running from EMMC then:
adb shell busybox mkdir /sdcard/boot
adb shell busybox mount /dev/block/mmcblk0p1 /sdcard/boot
adb push ***UPDATEFILE*** /sdcard/boot
adb reboot recovery

[HOWTO]Format and Use your int. sdcard as ext4

Tested on BOCA RC1. (not sure if works in other roms)
This is a mini tutorial, for partition and mount correctly your internal sdcard as EXT4.
Do it at your own risk.
First make a backup of all your sdcard data.
PROS:
-No more fragmentation.
-Read/Write speed faster.
-Random read speed faster.
-Mount almost instantly.
-Better security (if you care about that lol)
CONS:
-Permissions problems (can be fixed using a script)
-If you use windows, you need to use a ext4 mounting program (Ext2Fsd) works fine.
-Recovery mode, doesn´t mount internal sdcard.
To partition int. sdcard you need to mount USB Storage.
And use Minitool Partition Wizard in Windows. to format to ext4.
if you use a linux based system:
Open terminal.
Code:
cfdisk /dev/sdx
Code:
mkfs.ext4 /dev/sdx
x: the letter of partition, you can find it using "mount" command.
After the format is done. (Windows or Linux)
Use adb to run the following command.
Code:
adb shell chmod -R 777 /mnt/sdcard
This command will make all the file system readable/writeable.
Then go to recovery and mount internal storage in usb, and restore the backup.
If the sdcard doesn´t mount automatically, go to setting > Storage and select activate sdcard.
or run the following command using adb. or terminal emulator.
Code:
adb shell mount -t ext4 /dev/block/vold/179:1 /mnt/sdcard
I recommend to make a fresh install of BOCA RC1 after format sdcard.
Because recovery doesn´t mount the sdcard, if you want to flash a new rom or a .zip file you need to use a external sdcard.
If you already have BOCA RC1 go to recovery and wipe cache and dalvik cache.
There´s a problem with the permissions, sometimes files or folder created with some aplication or copying files from pc to tab doesn´t appear or aren´t writables.
This can be fixed. runinng the following script in terminal emulator, script manager and ROM Toolbox (recommended)
Code:
chmod -R 777 /mnt/sdcard
chmod -R 777 /mnt/Android/data
This is quite anoying some times .
Credits to art_sn00p
PD: If some dev can help me with the permissions problems it will be apreciated
I can confirm that is working in lastest CM9
rafaeker19 said:
I can confirm that is working in lastest CM9
Click to expand...
Click to collapse
ayudame por favor tengo un problema con mi p1000n
help me please, i have a problem whit my p1000n, i'm san salvador

[Q] Can't mount /sdcard

Somehow I managed to make it so my Nexus 4 can't mount internal sdcard. I've tried formatting it from CWM and everything, no luck.
What do I do to get a working phone again?
You can't use "mount /sdcard" with the N4 because it is the command to mount *external* sdcard
What are you trying to achieve?
If you're trying to flash a zip already in sdcard:
flash zip => 0 => your sdcard folder
to push to sdcard, use adb push filename /sdcard/0/filename
Sent from my Nexus 4 in a Faraday cage
Apparently using that command ("mount /sdcard") actually destroyed the mounting of it so it couldn't be mounted in CWM.
Only way to resolve was wiping /data

[Q] Retrieve data from CWM

Hello there
I was wondering, can the internal sd card can be mounted with CWM?
If so, can you provide the button count to do it?
I have a S4 with a broken LCD, and I want to retrieve the data, but since I can't enter the passcode, not kies or windows see the files.
I managed to root it and flash CWM but now I got stuck and I just don't remember if I can't mount the internal SD with CWM
dsv591 said:
Hello there
I was wondering, can the internal sd card can be mounted with CWM?
If so, can you provide the button count to do it?
I have a S4 with a broken LCD, and I want to retrieve the data, but since I can't enter the passcode, not kies or windows see the files.
I managed to root it and flash CWM but now I got stuck and I just don't remember if I can't mount the internal SD with CWM
Click to expand...
Click to collapse
install android sdk if you dont have it.
boot your phone into cwm and connect to pc.
open cmd line where adb file exist, and type:
Code:
adb devices
you must see your serial number with recovery
Code:
adb pull /sdcard/ /sdcard/
when it finish, "sdcard" folder in "c" directory
samersh72 said:
install android sdk if you dont have it.
boot your phone into cwm and connect to pc.
open cmd line where adb file exist, and type:
Code:
adb devices
you must see your serial number with recovery
Code:
adb pull /sdcard/ /sdcard/
when it finish, "sdcard" folder in "c" directory
Click to expand...
Click to collapse
So, after some struggling with the adb drivers I got the device detected by adb and gave this a try, but I think I hit another wall.
sdcard showed 0 files, so I entered the shell and realized the sdcard was not mounted.
I tried to mount it by running mount /sdcard/ but it says sdcard can't be found in fstab{
This is what my fstab has:
cat fstab
/dev/block/mmcblk0p19 /cache ext4 rw
/dev/block/mmcblk0p21 /data ext4 rw
/dev/block/mmcblk0p20 /system ext4 rw
Any suggestion? Thanks in advance
EDIT: I'm thinking that maybe CWM didn't flash correctly (I did it from Odin, and since I'm going blindly there is no way for me to know for sure)
dsv591 said:
So, after some struggling with the adb drivers I got the device detected by adb and gave this a try, but I think I hit another wall.
sdcard showed 0 files, so I entered the shell and realized the sdcard was not mounted.
I tried to mount it by running mount /sdcard/ but it says sdcard can't be found in fstab{
This is what my fstab has:
cat fstab
/dev/block/mmcblk0p19 /cache ext4 rw
/dev/block/mmcblk0p21 /data ext4 rw
/dev/block/mmcblk0p20 /system ext4 rw
Any suggestion? Thanks in advance
EDIT: I'm thinking that maybe CWM didn't flash correctly (I did it from Odin, and since I'm going blindly there is no way for me to know for sure)
Click to expand...
Click to collapse
did you try this
Code:
adb shell
mount /sdcard
samersh72 said:
did you try this
Code:
adb shell
mount /sdcard
Click to expand...
Click to collapse
I did. That's when it said that /sdcard/ coudn't be found in /etc/fstab
****************************
UPDATE
I got it to work.
If anyone is interested, this is how I mounted the sdcard
Code:
mount /dev/block/mmcblk0p21 /sdcard/
where mmcblk0p21 is the partition that sdcard usually mounts.
After that, it was a simple as exiting the shell and run
Code:
pull /sdcard/ /sdcard/
as recommended above

Categories

Resources