I have delete my sdcard and have no System more - One (M7) Q&A, Help & Troubleshooting

Hi,
I have Formated my sdcard and have no.more Syste.
If. I want push over adb to sdcard i get the Message that the sdcard have read only.
What i can Do to get rw for the sdcard?
Please Held me any one

Erazor500 said:
Hi,
I have Formated my sdcard and have no.more Syste.
If. I want push over adb to sdcard i get the Message that the sdcard have read only.
What i can Do to get rw for the sdcard?
Please Held me any one
Click to expand...
Click to collapse
you need to push to /data/media/0
/sdcard is just a symlink from /data/media/0.
...if you use twrp you can also use adb sideload:
[HOW TO] ADB Sideload/Push if you Wipe Internal Storage And have no ROM to Flash

Related

[Solved] Can't flash ROM?

Hi, i try to flash Cyan's new rom v4.0.1, but i keep getting this error message in my recover console:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No such file or directory)
E:Can't mount SDCARD:update.zip
Installation aborted.
After trying unsuccesfully to flash the rom, my sdcard can no longer be seen in my phone and it became write-protected, unable to move files into the sdcard. Appreciate your help....
Edit: Yeah solved this menacing but simple problem which i found out is my sd card fault. Since i couldn't access sdparted in the recovery console, i had to use Ubuntu to partition my sd card again. Sighs... now i have to replace everything back into phone. Thanks anyways for those who gave advice.
is your sdcard formatted to fat32? because /dev/block/mmcblk0p1 or /dev/block/mmcblk0 is referencing your first partition or your sdcard respectively.
you dont flash a rom in consol
you flash it from the recovery screen. you probably CAN flash it from consol, but its much easier to flash from the recovery screen. what recovery image do you have?
david1171 said:
is your sdcard formatted to fat32? because /dev/block/mmcblk0p1 or /dev/block/mmcblk0 is referencing your first partition or your sdcard respectively.
Click to expand...
Click to collapse
yes my sdcard is fat32(1st partition) and my 2nd partition is ext3 whilst the last is a linux-swap partition...
oshizzle1991 said:
you flash it from the recovery screen. you probably CAN flash it from consol, but its much easier to flash from the recovery screen. what recovery image do you have?
Click to expand...
Click to collapse
Using Cyan's Recover 1.4. How do you flash from the console? commands?
Scholesville said:
Using Cyan's Recover 1.4. How do you flash from the console? commands?
Click to expand...
Click to collapse
Have you tried using the CM Updater?
Scholesville said:
yes my sdcard is fat32 and my 1st partition is ext3.
Click to expand...
Click to collapse
Well I've Always had the best luck with my partitions in order as follows Fat32-Ext3-Linux-Swap(if you use it)
And if you still have problems this is what I do
Well I re-downloaded the update. and did this.
This is how I installed without any problems:
: rename to update.zip
: place in the root of sd card
: shut off device
: boot into recovery
: wipe (alt w)
: go to console (alt x) and hit enter
(enter)
# mount -o rw /dev/block/mmcblk0p2 /system/sd
# cd /system/sd
# rm -rf /system/sd/*
# reboot recovery
: now wipe again (alt w)
: run a filesystem check from the menu. If it tells you to run it manually,
drop to a console (alt+x) and run "e2fsck /dev/block/mmcblk0p2".
: flash
Enjoy!!
Hope this helps!!!
yourtravelboy said:
Well I've Always had the best luck with my partitions in order as follows Fat32-Ext3-Linux-Swap(if you use it)
And if you still have problems this is what I do
Well I re-downloaded the update. and did this.
This is how I installed without any problems:
: rename to update.zip
: place in the root of sd card
: shut off device
: boot into recovery
: wipe (alt w)
: go to console (alt x) and hit enter
(enter)
# mount -o rw /dev/block/mmcblk0p2 /system/sd
# cd /system/sd
Hope this helps!!!
Click to expand...
Click to collapse
The problem is i can't even mount mount my 2nd partition, and everytime i write the command > # mount -o rw /dev/block/mmcblk0p2 /system/sd < , it justs says no such file or directory found.
I also can't go into parted in the recovery console so the now the problem is i can't even reformat my card. I'm going to try Ubuntu and reformat my card and partition it again. Sighs...
please, can you tell me how did you solved it, did you use ubuntu to reformat the sdcard? thanks in advance..
q2box said:
please, can you tell me how did you solved it, did you use ubuntu to reformat the sdcard? thanks in advance..
Click to expand...
Click to collapse
Yes, since i was not able to access parted in the recovery console, my only choice was to use Ubuntu: Partition Editor. When i diagnose my sdcard, i manage to format only my ext3 partition so my fat32 remain unchanged. You need to go download Ubuntu OS, then try to install or LiveCD the Ubuntu. There is a thread under android development which will guide you on how to do this...

Changing a SDCard

I have a Kingston 8Gig Class 4 and i just bought a Transcend 8Gig Class 6 SDCard.
Can someone please tell me step by step how to backup my class 4 to and restore it to my new Class 6.
Thanks in advance!
ubuntu is the easiest way believe it or not as it is the only o that will see ur partition when u mount ur sd card. check out the wubi installer. or u can use adb.
adb remount
adb pull system/sd/app to pull the apps off, just replace pull with push when u want to put them back on the ext.
i can't recall the exact thread in this Q&A section but there was one that showed how to backup /system/sd to your sdcard then you could pull those files off on a computer and put them on the new sdcard then copy them back over to the second partition.
i think they were something like
Code:
mkdir sdcard/ext2 (the directory name doesn't matter just whatever is easiest for you to remember)
cp /system/sd /sdcard/ext2
someone correct me if something is wrong with those. then put those files on your new sdcard and go to the recovery console so you won't have to worry about any force closes with the new sdcard. make sure you do this after partitioning your new sdcard
Code:
mount /system
mount /sdcard
mkdir /system/sd
cp /sdcard/ext2 /system/sd
i think the commands were something like that. but if you have adb then the way posted above is the easiest for me.
jedinyt said:
I have a Kingston 8Gig Class 4 and i just bought a Transcend 8Gig Class 6 SDCard.
Can someone please tell me step by step how to backup my class 4 to and restore it to my new Class 6.
Thanks in advance!
Click to expand...
Click to collapse
Why don't you just use backup(for root) users application? just copy the folder it creates on your sdcard to your drive, and place into the new sdcard.
@David, I think those commands would work, but here's what I always do (and can verify it works).
Code:
rm -r /system/sd/dalvik-cache/*
rm -r /system/sd/app_s/*
cd sdcard
mkdir ext
cp /system/sd/* /sdcard/ext/
Then to push back
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
rm -r /system/sd/*
cp /sdcard/ext/* /system/sd/
reboot
Its best to do all that in the recovery console, or adb shell when the phone is in recovery. Don't do it while the phone has booted in the ROM.
Thanks for all the help/reply...
one more question... how do i do it? do i do it in the terminal? console? or adb?
What they just gave you would be done in terminal.
jedinyt said:
Thanks for all the help/reply...
one more question... how do i do it? do i do it in the terminal? console? or adb?
Click to expand...
Click to collapse
I said at the bottom of my post. Recovery console is best, if you do it when your phone is actually running you could have issues.
supremeteam256 said:
What they just gave you would be done in terminal.
Click to expand...
Click to collapse
or adb shell
JJbdoggg said:
or adb shell
Click to expand...
Click to collapse
Well yeah, ideally when the phone is in recovery...
i have a Desire and im wondering if there's a easier way to clone the sd card to another bigger. Any idea ? Cloning softwares ?
What about just dd the SD card. something like:
1. Turn off the phone
2. dd sd card to img file
3. dd img to new file
4. New sd in slot and reboot

how to backup app partition

is there a way for me to backup my ext2 app partition on my sdcard with a windows machine? im running cyans 4.0.2 and i love it! but i would like to be able to backup the partition 'just in case' but i only have a xp desktop. thank you!
need to backup your ext partition?
the following commands will backup/restore your ext partition to/from a folder named sdbackup in your current directory. these must be run while phone is booted, not recovery.
to backup your ext partition: adb pull /system/sd/ %CD%\sdbackup
to restore back to sdcard: adb push %CD%\sdbackup /system/sd
When you star a thread with "How..." in the title you must start this thread in Dream Q&A sub forum !
Thread moved
You can also use Ubuntu.
title sounds more like this thread would be instructions rather than a question.
Another way that does not require adb would be to enter the following in terminal emulator
Code:
cd system
cp -r sd /sdcard/(name of folder you wish to backup to)
Than just plug the usb into your windows box, mount the sd card, and copy the folder.
hcphs said:
need to backup your ext partition?
the following commands will backup/restore your ext partition to/from a folder named sdbackup in your current directory. these must be run while phone is booted, not recovery.
to backup your ext partition: adb pull /system/sd/ %CD%\sdbackup
to restore back to sdcard: adb push %CD%\sdbackup /system/sd
Click to expand...
Click to collapse
Will this allow me to move my partition to a different SD card without re-installing all my apps (via nandroid)?

app2ext and amonra problem

1-When ı push amon ra and restrat my devices its otomaticaly turn orgınal recovery condition.İ try to delete scipt but not successfull i need help
2- Posted by djmcnz
Code:
adb shell pm setInstallLocation 1
Well set future installs to "internal" (sd-ext).
You'll need to manually move the ones already on sd-fat back to "internal" using Manage Applications... then fixed...
This is the only a thing over adb and may i need any ext 3 or ext 4 partition my my sd card and how must be its size
I'm trying really hard to figure out how to respond to your questions, but I may be misunderstanding what you are asking.
1) What technique did you use for trying to flash Amon_RA's recovery? Have you already rooted your phone? Assuming you have rooted via the "fastboot oem unlock" method, you should be able to just execute "fastboot flash <Amon_RA_filename>.img recovery". Alternatively, you could install ROM Manager from the Market and use that to flash ClockworkMod recovery, which accomplishes the same thing. The ROM Manager route is generally much easier, as you can do it all from the phone. Your phone MUST be rooted to install a custom recovery.
2) If you are hoping to use the DarkTremor apps2ext method, you must have an ext2/3/4 partition on your SD card. You can partition your SD card from whichever recovery you end up with, but keep in mind that you will lose ALL data on the SD card so be sure to back it up first. 512MB should be more than enough for most people; I think my ext partition is 768MB or something.
Does this help?
I'm trying really hard to figure out how to respond to your questions, but I may be misunderstanding what you are asking.
1) What technique did you use for trying to flash Amon_RA's recovery?
via fastboot :
fastboot devices
fastboot flash recovery recovery-RA-passion-v2.2.1.img
And reboot.
----------------
Have you already rooted your phone?
Yes, i rooted
i have unlock boot loader
Assuming you have rooted via the "fastboot oem unlock" method,you should be able to just execute "fastboot flash <Amon_RA_filename>.img recovery".
i am anti-ClockworkMod recovery man.İts requiers too many permission
----------------------------------
when i try to use recovery its turn orginal state.
this method doesnt work,am i need to do this things in recovery mod
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
#1: From the console:
As mentionned in many previous posts, I have tried the following commands once connected to the nexus
mount: Operation not permitted
http://forum.xda-developers.com/showthread.php?t=740748
------------------------------------------------
2) If you are hoping to use the DarkTremor apps2ext method, you must have an ext2/3/4 partition on your SD card. You can partition your SD card from whichever recovery you end up with, but keep in mind that you will lose ALL data on the SD card so be sure to back it up first. 512MB should be more than enough for most people; I think my ext partition is 768MB or something.
İ def. understand but how usage of this script
Code:
adb shell pm setInstallLocation 1
Well set future installs to "internal" (sd-ext).
this way ?
Does this help?
Cralin said:
i am anti-ClockworkMod recovery man.İts requiers too many permission
Click to expand...
Click to collapse
ClockworkMod Recovery makes use of the exact same file access permissions as Amon_RA's recovery. As a user, you aren't really aware of the permissions required, since it is a pre-OS function and isn't explicitly granted any permissions from Android. ROM Manager requires a bunch of permissions for good reason - it has to be able to flash recoveries and ROMs. If you would try flashing a recovery using ROM Manager, it might help eliminate some issues.
when i try to use recovery its turn orginal state.
this method doesnt work,am i need to do this things in recovery mod
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
#1: From the console:
As mentionned in many previous posts, I have tried the following commands once connected to the nexus
mount: Operation not permitted
http://forum.xda-developers.com/showthread.php?t=740748
------------------------------------------------
Click to expand...
Click to collapse
Based on the thread that you referenced, the solution to that poster's issue was to make sure USB Debugging was enabled. Is yours enabled?
2) If you are hoping to use the DarkTremor apps2ext method, you must have an ext2/3/4 partition on your SD card. You can partition your SD card from whichever recovery you end up with, but keep in mind that you will lose ALL data on the SD card so be sure to back it up first. 512MB should be more than enough for most people; I think my ext partition is 768MB or something.
İ def. understand but how usage of this script
Code:
adb shell pm setInstallLocation 1
Well set future installs to "internal" (sd-ext).
this way ?
Does this help?
Click to expand...
Click to collapse
The function of the adb shell pm setInstallLocation 1 command is not related to DT Apps2ext in any way. It is a command that controls how the Froyo apps2sd method behaves (that is, using the FAT partition of your SD card rather than requiring an additional ext partition). Setting it to "internal" simply prevents the Android OS from automatically moving any applications to the FAT partition of your card; since DT apps2ext makes your phone think that the /sd-ext (linux) partition is a part of your internal storage, apps will be installed there.
Getting close?
the solution to that poster's issue was to make sure USB Debugging was enabled. Is yours enabled? yes but i cant delet it.Everytime same solution.
i read Apps2ext tag but ı cant sove it can u explain me ?

Recover Nexus One

Hi people, my problem is that i erase all nexus one files form ClockworkMod Recovery and when i power on the nexus it's go directly to recovery mod.
when i try
adb shell
mount data
adb push C:\ROM.zip /data/
adb shell
recovery –update_package=DATA:ROM.zip
its return
sh: /sbin/postrecoveryboot.sh: not found
when i try apply a zip from sdcard return
E: can't mount /sdcard/
anyone know anything about this ?
You're saying you formatted your system? In that case your ROM is probably gone right? If you have a flashable custom rom in your SD card why don't you flash that from recovery?
Can't you just:
adb push [rom file path] /sdcard/
reboot
Flash that rom ( just any working rom)
???
If that doesn't work and still says can't mount sd have you tried formatting your sd card?
Do you have any recovery backups you can restore?

Categories

Resources