I've been trying to fix my phone lately so i can do this whole apps-2-sd card thing. i've partitioned my sd card to fat32 and ext2. right now im in the process of flashing my phone. i'm trying to back-up to the memory card right now, but everytime i try, i always get some kind of error message.
everytime i put in "cat /dev/mtd/mtd0 > /sdcard/mtd0.img" i get "/dev/mtd/mtd0: permission denied"
what is going on right now?
you have to have root permission to access these devices. try su first or use nandroid backup
i have root access. but i don't know why its acting this way. i'll try the nandroid backup tho...then i'll flash and continue and just pray that it works out correctly.
nvm i understood it wrong
Related
Hey guys,
yesterday i flashed my g1 with JF RC33 and alls fine, except by one thing: every time i turned it on, a message pop up telling that android.process.media needed to be close.
Then I did a wipe, but after this i can't turn on my phone again, it stay on the flashing android screen
What should i do?
Thanks!
it seems to be caused by a broken system file or hardware problem. could you try flashing your system again? this update.zip is signed, so something must happened during the copying process.
Simply reflash an update. I recommend you do a Nandroid backup next time. Also, make sure your SD card is in your phone when turning on. For some odd reasons, when my SD card isn't in my phone, it just hangs on the boot image. Very strange. I have Apps to SD and am running on Haykuro 5.0.2H
it looks to be an issue with your sd card, do you have apps to SD enabled or anything else with your phone that might need to access the SD card at boot? if you have apps tp SD then you need to re-push the mountd.conf and the init.rc and redo the links to your /system/sd partition. if not i would make sure that your SD card is not corrupt by formatting it again. as solomenwishing(sp) said next time you should make a nandroid backup of your phone before you mess with anything
Thanks guy.
I flash everything again and it's ok.
Now i don't know how to make the nandroid backup.
Can someone help me?
Search is your best friend here....
http://forum.xda-developers.com/showthread.php?t=459830
Well this is a sticky on this forum
okay, i had already read this before, but the only thing that i don't know for sure is this.
"Android G1 phone in recovery mode with busybox installed, including appropriate symlinks to at least tar and md5sum, as well as 'adb shell' support running as root."
My recovery image is from the JF topic "How -to- Root,Hack and flashing...."..the only thing i know is my one has the adbshell support running as root
It's ok to do this?
TKS GUYS
So I have been flashing custom rooms and kernels a lot over the past few weeks, with no issues. I have been running lordmod 4.5.2 kernel without issue. Today I flashed the -50 under volt script, taking a android backup beforehand.
So I go to boot it up after the flash, and it freezes up on me. I think no big deal, I will just do a nandroid restore. I boot into clockwork and attempt to do a restore - and it says no files found. I do a install from zip and it let's me browse the sd card. I attempt to flash a rom from there and it fails and says (bad).
I have pulled the battery and reseated the sd card multiple times. At this point I am trying to figure out why clockwork can read my sd card just fine, but not perform any actual functions like restore or flashing.
At this point my device is unusable, looking for help.
Thanks
Update: I was able to do a data wipe and reset from clockwork, and it booted up just fine. I have a titanium backup from last night so I will just restore it, and then try to figure out why clockwork coulnt read the sd card.
So looking at my sd card in a file browser on my phone, all my files andfolders are there, but they're all 0.00B. Wtf happened here? The only important thing on here was my titanium backups, which sucks that those are gone.
Is my card dead?
EvoXOhio said:
So looking at my sd card in a file browser on my phone, all my files andfolders are there, but they're all 0.00B. Wtf happened here? The only important thing on here was my titanium backups, which sucks that those are gone.
Is my card dead?
Click to expand...
Click to collapse
I have read that before you unplug your phone from your computer you must use the OS to Eject the SD card. The result of not doing this is supposed to be a corrupt card. Any chance this is what you did?
Edit: This is from the notes on the Hack Kit thread: IMPORTANT: BEFORE SWITCHING FROM DISK DRIVE TO CHARGE ONLY MODE, ALWAYS EJECT THE GOLDCARD WITH PC SOFTWARE TO FLUSH WRITE BUFFERS AND AVOID CORRUPTING THE SDCARD.
chrisjaffe said:
I have read that before you unplug your phone from your computer you must use the OS to Eject the SD card. The result of not doing this is supposed to be a corrupt card. Any chance this is what you did?
Edit: This is from the notes on the Hack Kit thread: IMPORTANT: BEFORE SWITCHING FROM DISK DRIVE TO CHARGE ONLY MODE, ALWAYS EJECT THE GOLDCARD WITH PC SOFTWARE TO FLUSH WRITE BUFFERS AND AVOID CORRUPTING THE SDCARD.
Click to expand...
Click to collapse
My phone wasnt plugged into my computer when this happened, nor did i eject my sdcard from the phone.
hey guys and girls, hopefully you can help me out.
I'm using a t-mobile galaxy S, trying to flash a new rom after I rooted it. I followed the instructions, and I have CWM able to load. when I got into select the install from the SD card, I'm able to select the file (trying bionix frost), it tries to load it, but then comes back telling me 'Can't mount /sdcard' and any subsquent attempts to even browse for the install zip give me the same error. I can boot the phone into the rooted stock image, access anything on the SD card there fine, copy files to it, etc, but CWM will not install the ROM's or keep the /sdcard mounted.
anyone here run into this issue? I'm using CwM Voodoo lagfix Recovery 3.0.2.8x
It's been awhile since I flashed that ROM...
Did you change the mounts manually? Does the OP say to change mounts? Back then we had to change the mounts ourselves in CWM to UMMU.
I'm at work and just sending a quick reply..check the OP to see what your mounts should be
to clarify a bit, this isn't just on a specific ROM, this is for ANY rom I try, after I access any ZIP file through CWM, it unmounts the SD Card and won't let me get back to it unless I reboot, and the cycle repeats.
Ok. Sorry I can't help you with that. I'm still kinda new.
I'm sure you'll get the help you need soon especially with your last reply.
Good luck and sorry I couldn't be of help.
I'm backing up and will format my SD card to see if this is the problem, saw this fixed a couple of errors like this for other peeps.
So since I couldn't get CWM to install the rom, I used ODIN and flashed to gingerbread. that's installed and working (had it fail the first time, but the 2nd installed and was up inside 10 minutes)
Hi,
I'm having a succesfully rooted LG Optimus One, P500 phone. Stock GB 2.3.3 (rooted). Stock Kernel. [Yeah..noob ]
I flashed a custom recovery using the "Flash Image GUI" app (given here under sticky, Step 2. b). The flashing was successful and I was able to enter recovery mode successfully using adb shell (reboot recovery).
The problem is I can't take any Nandroid backups.
1) When I try to create any backup it gives the "Oops. . . something went wrong!
Please check the recovery log!" message.
2) So I try to use Others> Move recovery log to SD card and again get the same message
3) I tried using SD-Card option so that I can use the SD card using my PC. However, only the drive shows up (0 size).
I've tried the following custom recoveries and had the same problem in all of them:
- AmonRa (from above sticky link)
- Thunderg (3.0.6 from their official location here)
Could someone please tell me what I'm doing wrong here and How I can access the recovery.log?
Edit1:
I've installed Thunderg 2.2.1 now. I am now able to create Nandroid backups on my SD card. However, restore still gives the same error..
Tried with boot, system only and even that failed to restore..It gives the same message "oops....something went wrong. Please check the recovery log"
Make sure to check if the root was actually successful with a app like root checker basic. There are some instances where I have seen a root process say it has been successful but when I check for root access it actually was not granted.
lord_nathan9 said:
Make sure to check if the root was actually successful with a app like root checker basic. There are some instances where I have seen a root process say it has been successful but when I check for root access it actually was not granted.
Click to expand...
Click to collapse
Hi lord_nathan9, Thanks for replying. I'm quite positive that I have root access. I checked the root access in the following ways:
Using the Root Checker app (+ve)
While installing Titanium Backup (was able to move Handcent SMS to external card successfully)
Installing BusyBox (it required the root access) - message flashed that it was granted
using the "su" command on the adb shell. A message flashed on the phone that permission was granted and I got the # symbol showing up
When I open the SuperUser app it doesnt show me any problems either. So I'm positive that I've got root access..
Can you back up the sd card to your pc and try reformatting it in recovery?
upconvert said:
Can you back up the sd card to your pc and try reformatting it in recovery?
Click to expand...
Click to collapse
Sure thing. So the steps would be as follows?
1. Connect phone to PC with USB
2. Copy everything from SD card
3. Reboot to recovery mode
4. Format SD card
5. Start phone
6. Copy everything back to SD card???
7. Check whether everything is working fine..
Between steps 4 and 5, try making a nandroid.
upconvert said:
Between steps 4 and 5, try making a nandroid.
Click to expand...
Click to collapse
I've installed Thunderg 2.2.1 recovery (updated my 1st post). I'm now able to create Nandroid backups. However, restore is still failing with the same oops error message. Should I still try out this wiping SD card thing?
Re: [Q] Problem with Nandroid backup not working [noob]
Couldn't hurt, as long as you back it up first.
Sent from my LG-VM670 using xda app-developers app
upconvert said:
Couldn't hurt, as long as you back it up first.
Sent from my LG-VM670 using xda app-developers app
Click to expand...
Click to collapse
Okay. I'm going to try it out and post an update whenever it gets done.
Edit:
Tried the option "others> wipe SD Card".
Created a Nandroid Backup (got created)
Tried a restore (same oops error)
Is there an option to format, instead of wiping? If not, can you format it with a card reader and your pc?
upconvert said:
Is there an option to format, instead of wiping? If not, can you format it with a card reader and your pc?
Click to expand...
Click to collapse
Unfortunately there is no other option besides wipe. However, I noticed something suspicious about the "Mount" setting. It has the following options:
Mount /system
Unmount /cache <--- No idea whether this is normal or not
Mount /data
Mount /sd-ext
Mount /sdcard
Should I try to unmount the cache and then try restoring the Nandroid backup or what?
Thanks a lot for your help upconvert. I have found the solution finally! This whole investigation took me an entire day but finally the restore is working!..
TWR custom recovery is working for me when others are failing and giving me all kinds of weird errors. I found the solution in this link here.
Any idea how to mark this thread as answered?
Re: [Q] Problem with Nandroid backup not working [noob]
Just go to your original post and edit the title. Glad it worked out!
Sent from my GT-P7310 using xda app-developers app
I was trying to boot into recovery, and from Bootloader, I scrolled down to far and hit Factory Reset.... immediately, I held the power button down to try to avert this.... and it stopped (I think). I then booted into recovery (TWRP 2.6.3) and then used file manager to look at sd card... and its empty (aside from one TWRP directory.
First I didn't think a "Factory Reset" formatted the SD card... but if that is what happened, is there any way to recover this information... isn't this formatted in ext4 with journaling??? I know I have recovered things from linux when I have deleted them...
But, if I am out of luck... is there a solution to this problem as my phone is not really booting either (I suspect it is looking for files on the SD card which are no longer there)...
Any help would be appreciated.
THanks!!!!!!!
syntropic
HTC One-s (S4).
Hboot 2.15....
Rooted/S=off/SuperCID
OK.... I managed to boot into my ROM....
It seems to indicate that my SD card is not mounted..... I realize I can go to recovery and wipe/format my sdcard. However, just for kicks.... I would like to run fsck on it.
So.... I am in terminal emulator... (I have bash and busybox installed too btw). I found fsck. But when I type "mount" I cannot see my sdcard....which makes sense because it is not mounted. But I don't know the dev/block for it... and I can't find the list with all the partitions that people have already determined.
Can someone let me know the dev/block so I can run fsck? Or let me know where that document is when all the partitions???
THanks again!!!