really silly question about bricking - G1 Q&A, Help & Troubleshooting

would I brick my phone if I delete the /etc/fstab file ?
i don't want to start messing up with some important files if i can't run recovery anymore

samygent said:
would I brick my phone if I delete the /etc/fstab file ?
i don't want to start messing up with some important files if i can't run recovery anymore
Click to expand...
Click to collapse
In theory if you can't get in to recovery you should still be able to get in to the SPL and flash a nandroid backupp using fastboot...in theory. Just make sure your SPL supports fastboot first.
Why do you want to remove the file?

AdrianK said:
In theory if you can't get in to recovery you should still be able to get in to the SPL and flash a nandroid backupp using fastboot...in theory. Just make sure your SPL supports fastboot first.
Why do you want to remove the file?
Click to expand...
Click to collapse
i don't want to remove the file , i just wanted to know if i could brick the phone if i ever mess up some important file.
but like you sayd i can simply flash a nandroid backup in fastboot mode
thx

samygent said:
i don't want to remove the file , i just wanted to know if i could brick the phone if i ever mess up some important file.
but like you sayd i can simply flash a nandroid backup in fastboot mode
thx
Click to expand...
Click to collapse
Silly of me for thinking this but... are you trying to "brick" your phone? By removing the file I don't think it will "brick" your phone but it may cause it not to boot. That'll be about the worse that can happen... but it won't brick.

Related

FUBAR After AOSP 1.6 - PLEASE HELP

So I was trying to troubleshoot an SMS issue with AOSP 1.6 so I decided to flash back to Fresh 1.0. I also performed a wipe/factory reset. Fresh would not boot - it would just endlessly loop through the boot process, crashing at various points. I tried Fresh 1.1. Same problem. I re-downloaded Fresh 1.0 to make sure my file was not corrupt, flashed that, and have the same problem.
So I decided to start trying to recover from my various backups. What do you know - every single one is corrupt. From adb I see:
Code:
Verifying backup images...
boot.img: OK
cache.img: OK
data.img: FAILED
misc.img: OK
recovery.img: OK
system.img: FAILED
md5sum: WARNING: 2 of 6 computed checksums did NOT match
On every single one. Even if I make a backup and immediately try to restore it I see this error. I also tried backups of my backups and each of those failed as well. Any way to force these to restore?
So I checked my SD card with various tools - no problems found.
So now I'm left unable to flash 1.5 or restore from or make any backups.
Does anyone have any ideas what could be wrong or what I should do to fix it? What other information could I provide?
honestly I would try to RUU and reroot and then try flashing a backup it may not be that the backups are corupt put that something isnt letting it read that part of the backup correctly.
gthing said:
So I was trying to troubleshoot an SMS issue with AOSP 1.6 so I decided to flash back to Fresh 1.0. I also performed a wipe/factory reset. Fresh would not boot - it would just endlessly loop through the boot process, crashing at various points. I tried Fresh 1.1. Same problem. I re-downloaded Fresh 1.0 to make sure my file was not corrupt, flashed that, and have the same problem.
So I decided to start trying to recover from my various backups. What do you know - every single one is corrupt. From adb I see:
Code:
Verifying backup images...
boot.img: OK
cache.img: OK
data.img: FAILED
misc.img: OK
recovery.img: OK
system.img: FAILED
md5sum: WARNING: 2 of 6 computed checksums did NOT match
On every single one. Even if I make a backup and immediately try to restore it I see this error. I also tried backups of my backups and each of those failed as well. Any way to force these to restore?
So I checked my SD card with various tools - no problems found.
So now I'm left unable to flash 1.5 or restore from or make any backups.
Does anyone have any ideas what could be wrong or what I should do to fix it? What other information could I provide?
Click to expand...
Click to collapse
Have you tried to use the RUU to return to complete sock and then just re-root? The RUU does not depend on your SD card, just in case that is the culprit. There is a link on my sig. If not that would be my next step.
wtphoto said:
honestly I would try to RUU and reroot and then try flashing a backup it may not be that the backups are corupt put that something isnt letting it read that part of the backup correctly.
Click to expand...
Click to collapse
Beat me to it.
But a quick thread hijack real quick. I see in your sig you have a horizontal fresh nexus hybrid bootscreen. care to share the source. Sounds cool.
Back on track after this I promise
rockcrawler said:
Beat me to it.
But a quick thread hijack real quick. I see in your sig you have a horizontal fresh nexus hybrid bootscreen. care to share the source. Sounds cool.
Back on track after this I promise
Click to expand...
Click to collapse
give me a min and I will post a flashable zip in the theme sticky
now back to the helping.
Trying to flash RUU from the Fresh blog now. For some reason it is failing to see my phone when it is trying to flash. Could it be because I am in recovery mode?
gthing said:
Trying to flash RUU from the Fresh blog now. For some reason it is failing to see my phone when it is trying to flash. Could it be because I am in recovery mode?
Click to expand...
Click to collapse
Yes. Boot into whatever ROM you can and then try again.
I assume that you have had the ADB drivers working before?
gthing said:
Trying to flash RUU from the Fresh blog now. For some reason it is failing to see my phone when it is trying to flash. Could it be because I am in recovery mode?
Click to expand...
Click to collapse
no this has been brought up a few times you need to make sure you have the most recent sdk installed then copy and paste the adb.exe, adbwinapi.dll and the fastboot.exe into the ruu file then try again.
wtphoto said:
no this has been brought up a few times you need to make sure you have the most recent sdk installed then copy and paste the adb.exe, adbwinapi.dll and the fastboot.exe into the ruu file then try again.
Click to expand...
Click to collapse
+1 on this,
Someone should update the ruu thread to include this.
Installed the adb driver (no, I didn't have it previously) and copied the files from the latest SDK. No luck still but I'm going to keep trying.
you could also try booting into fastboot and trying it who knows it might be becuase you are in recovery just poer off and hold volume down and power at the same time to get into fastboot and try it that way.
wtphoto said:
you could also try booting into fastboot and trying it who knows it might be becuase you are in recovery just poer off and hold volume down and power at the same time to get into fastboot and try it that way.
Click to expand...
Click to collapse
That did it! Flashing now! Thanks!
EDIT: Maybe I spoke too soon. The flasher is stuck at "erasing user data..." and is showing 0% and the phone is showing the htc boot screen. I don't know if it's safe to cut it off and start over or not.
Windows had to increase virtual memory in the middle of the operation and I think it jacked things up ....
np glad to help.
Yea ... it seems to be getting stuck on "Erasing user data...." not sure what to try next.
unfortunatly thats the extent of the knowledge that I have I would try contacting gbhil or toast or fresh or one of the other devs to see what they say.
Pull battery, do a factory reset (BACK+HOME+POWER) & then attempt to reflash RUU.
gu1dry said:
Pull battery, do a factory reset (BACK+HOME+POWER) & then attempt to reflash RUU.
Click to expand...
Click to collapse
No luck... I give up for tonight...
gthing said:
No luck... I give up for tonight...
Click to expand...
Click to collapse
That really sucks.
same thing
The same thing happened to me when i tried to flash gumbo 1.5c. I flashed RUU and then re-rooted that resolved my issue..
Turns out my problem was that I was trying to flash the RUU from a virtual machine. I'm used to being able to flash WM roms from a Windows VM but apparently it doesn't work with the Android tools. I could also not use the auto-rooter from the VM.
I had to track down a Windows machine () and then was able to get everything flashed and running without too much trouble.
Thanks for everyone's help on this. My phone is now back up and running and I was able to confirm the problem I was having: AOSP 1.6 radio is incompatible with the airave and will cause you to not be able to send SMS messages.

[Q] Restore samsung default recovery

I rooted and installed clockwordmod recovery using the information on this forum, now I want to revert to stock recovery. I followed the instructions on this page
showthread.php?t=731989
Click to expand...
Click to collapse
and did a master clear and the regular flashing process. Everything seems to be working fine except when I reboot into recovery mode and select reinstall all packages i get this error:
e: can't open /sdcard/update.zip.
Click to expand...
Click to collapse
I tried two different Odin packages I897UCJF6 and I897UCJF1, both give me the same issue.
I think my only option is to use a nandroid backup from a fresh install, can anyone send me a link to one please.
If you did a master clear it deleted everything on your /sdcard volume... so of course it isn't finding an update.zip package there =P
if your recovery is black screen w blue letters, That is samsung recovery.
Zilch25 said:
If you did a master clear it deleted everything on your /sdcard volume... so of course it isn't finding an update.zip package there =P
Click to expand...
Click to collapse
I dont think theres supposed to be an update.zip on the factory device, besides odin is supposed to be a complete image
Sent from my SAMSUNG-SGH-I897 using XDA App
iamamp3pimp said:
if your recovery is black screen w blue letters, That is samsung recovery.
Click to expand...
Click to collapse
I can get to samsung recovery, but when I click reinstall packages it fails if there isn't an update.zip file in the /sdcard directory.
I poked around the clockworkmod update.zip and found out it deletes the /cache/recovery/update.zip and installs a modified /sbin/recovery; among other things, but I think those are the files that are most important to me right now, are those files not restored by Odin?
btw I'm new to android but I'm a linux admin and programmer so I have a basic understanding of how this works, now to just dig deeper and find out where it's going wrong.
Odin will wipe everything on your NAND clean, this does not include the /sdcard area (internal Sdcard)
Doing a master clear wipes everything including your internal sd (so if you had already had a clockwork backup it would have gotten wiped as well)
Rom Manager/Clockwork creates a folder on your /sdcard called /sdcard/clockwork, and within that folder all of your images are stored. Clockwork uses and update.zip file to install itself on boot up (through stock recovery)
I'm not entirely sure what answer you're looking for though, so I figured I'd just lay out a few facts in hopes that one of them might help
Thanks for the reply, I know the basics of how clockworkmod/nand work. What I'm trying to do is restore my phone to factory condition, Odin restores everything except the recovery manager, for some reason I'm stuck with the modified recovery that needs an update.zip. Before I made any changes, when my phone was new, if I booted into recovery and selected reinstall packages it would run the default att/samsung recovery program and reinstall default packages(as far as I can remember, please tell me if I'm just imagining this, ive been flashing and reflashing my phone countless times so I could be really confused), thats what I wan't to happen, now it just gives me the error:
e: can't open /sdcard/update.zip.
Click to expand...
Click to collapse
I don't recall my stock phone doing that, otherwise I wouldn't of had to return my first phone , black screened it on the first day I had it lol.
tbae2 said:
I don't recall my stock phone doing that, otherwise I wouldn't of had to return my first phone , black screened it on the first day I had it lol.
Click to expand...
Click to collapse
lol thanks, do you mean that it didn't try to reinstall the packages?
And could someone else with a stock AT&T Captivate please confirm, I'm not ready to admit that I've gone completely crazy....
Just so I understand. You go to recovery and it tries to install an update.zip without you doing anything? This isn't normal.
I'd do another odin and a master clear. That really should do it.
gunnyman said:
Just so I understand. You go to recovery and it tries to install an update.zip without you doing anything? This isn't normal.
I'd do another odin and a master clear. That really should do it.
Click to expand...
Click to collapse
No, he is saying that when he first got the phone it used to reinstall the stock packages when he selected reinstall packages. Now it doesn't and instead just says it can't find update.zip. He just wants to make sure that on a stock recovery it's not supposed to install anything when he selects reinstall packages.
If you did a master clear and have not manually put an update.zip file back into the root of the sdcard, then you will always get that message because the file does not exist. If you ran the 1 click odin and restored the phone, then you are back to stock. No further actions necessary.
Sent from my SAMSUNG-SGH-I897 using XDA App
gunnyman said:
Just so I understand. You go to recovery and it tries to install an update.zip without you doing anything? This isn't normal.
I'd do another odin and a master clear. That really should do it.
Click to expand...
Click to collapse
I've done a few master clears using odin. It's not trying to install an update.zip without me doing anything, the way I remember it on the stock phone when you select reinstall packages it will reinstall the default att packages, am I wrong about this?
kaiserman023 said:
I've done a few master clears using odin. It's not trying to install an update.zip without me doing anything, the way I remember it on the stock phone when you select reinstall packages it will reinstall the default att packages, am I wrong about this?
Click to expand...
Click to collapse
You are wrong about this. Selecting reinstall packages tells the phone to look for an update.zip file.
alphadog00 said:
You are wrong about this. Selecting reinstall packages tells the phone to look for an update.zip file.
Click to expand...
Click to collapse
Solved. Thankyou
Turns out there was nothing wrong with the phone just me, I've been trying to fix something that isn't broken!!!
alphadog00 said:
You are wrong about this. Selecting reinstall packages tells the phone to look for an update.zip file.
Click to expand...
Click to collapse
this......
Lol Jeez with all the hard issues we get around here it's the simple questions that confuse the crap out of us
Thread moved to Q&A.

USB connector defect

hello,
i have found a few threads, but couldnt find an accurate answer.
Since today my usb connector is not working constantly, i always have to push the cable down a little bit to charge it or to connect it to the pc.
I still have warranty so i want to unroot and factory reset. I am currently using zeus 6.4 but i cant make up a way to do that without a working usb connector.
I really hope you guys can help me and excuse me for my english
lukemb89 said:
hello,
i have found a few threads, but couldnt find an accurate answer.
Since today my usb connector is not working constantly, i always have to push the cable down a little bit to charge it or to connect it to the pc.
I still have warranty so i want to unroot and factory reset. I am currently using zeus 6.4 but i cant make up a way to do that without a working usb connector.
I really hope you guys can help me and excuse me for my english
Click to expand...
Click to collapse
First, try a diffrent USB cable and USB port. If all else fails, read: http://forum.xda-developers.com/showthread.php?t=1962887
Read it whole before clicking any link. This has default recovery, files and so on. You'll find the file at post #22.
gabwerkz said:
First, try a diffrent USB cable and USB port. If all else fails, read: http://forum.xda-developers.com/showthread.php?t=1962887
Read it whole before clicking any link. This has default recovery, files and so on. You'll find the file at post #22.
Click to expand...
Click to collapse
ok thx alot! but how do i get it on my phone?
and am i right that if i installed the rom that everything is back to normal and i can send it in?
lukemb89 said:
ok thx alot! but how do i get it on my phone?
and am i right that if i installed the rom that everything is back to normal and i can send it in?
Click to expand...
Click to collapse
You didn't read. I will quote for you then from the OP/Author.
USB was broken and ppl cant unroot their phones using Smartflash then, I wanna make a ROM, that can be flashed by using CWM.
Click to expand...
Click to collapse
To simplify things, you flash this using ClockWorkMod. It will replace your recovery to the default LG one, and your files (unrooted). As I have said, everything you need to know is in the OP (Original Post/er).
Since you are coming from Gingerbread (Zeus), that's all you need.
gabwerkz said:
You didn't read. I will quote for you then from the OP/Author.
To simplify things, you flash this using ClockWorkMod. It will replace your recovery to the default LG one, and your files (unrooted). As I have said, everything you need to know is in the OP (Original Post/er).
Since you are coming from Gingerbread (Zeus), that's all you need.
Click to expand...
Click to collapse
i read it all, the problem is i am far away from being an expert...
i still dont get it :silly: dont i need to have the rom on my phone to flash it using cmw?
lukemb89 said:
i read it all, the problem is i am far away from being an expert...
i still dont get it :silly: dont i need to have the rom on my phone to flash it using cmw?
Click to expand...
Click to collapse
You said you're on Zeus ROM right? How did you flash it? You reboot to recovery (ClockWorkMod), make wipes, then flash the zip. Right?
Now download the file/ROM on that thread at post #22, save it to your SD Card. Reboot to recovery, wipe and flash it. It's just the same procedure when you flashed Zeus ROM.
You need not to be an expert. If you managed to flash Zeus, you can flash this too. There's no abracadabra involved.
Again:
Save the file from the thread
Save it on your SD card
Reboot to recovery either by long pressing power button (Zeus has reboot to recovery added), or go to market and download Quick Boot.
If you are in recovery, wipe data/cache/dalvik cache, so as to remove SuperUser files, and have a clean one.
Flash the zip you saved
Done? Reboot!
gabwerkz said:
You said you're on Zeus ROM right? How did you flash it? You reboot to recovery (ClockWorkMod), make wipes, then flash the zip. Right?
Now download the file/ROM on that thread at post #22, save it to your SD Card. Reboot to recovery, wipe and flash it. It's just the same procedure when you flashed Zeus ROM.
You need not to be an expert. If you managed to flash Zeus, you can flash this too. There's no abracadabra involved.
Again:
Save the file from the thread
Save it on your SD card
Reboot to recovery either by long pressing power button (Zeus has reboot to recovery added), or go to market and download Quick Boot.
If you are in recovery, wipe data/cache/dalvik cache, so as to remove SuperUser files, and have a clean one.
Flash the zip you saved
Done? Reboot!
Click to expand...
Click to collapse
Ok thank you! I didnt think about the way to take out my sd card

[Q] Help with bricked phone!

My S Advance is hard bricked and I am unable to bring it back to life, though it does go to recovery mode and download mode I've flashed plenty of firmwares from 2.3.6 to 4.1.2 and none of them work. Anyway I'm past that because I've bought a new phone now, what I need to ask is this: Can I somehow recover the data from my internal SDcard, and how should i go about doing so?
I want to add one more thing...
I know the problem of the phone not booting is hardware related, but i believe that the internal memory is intact. I believe so because when i go to recovery mode I am able to mount and unmout sdcard0, also using the "Install zip" option I'm able to view the folders inside sdcard0.
M0shi said:
I want to add one more thing...
I know the problem of the phone not booting is hardware related, but i believe that the internal memory is intact. I believe so because when i go to recovery mode I am able to mount and unmout sdcard0, also using the "Install zip" option I'm able to view the folders inside sdcard0.
Click to expand...
Click to collapse
See if you can get adb shell, and pull data with it.
shut_down said:
See if you can get adb shell, and pull data with it.
Click to expand...
Click to collapse
Does adb require android to boot first?
M0shi said:
Does adb require android to boot first?
Click to expand...
Click to collapse
With CoCore you should be able do get it before boot. I think someone had similar question, and I left Odin flashable CoCore in that thread.
P.S. Find CoCore Odin flashable tar in the attachment.
shut_down said:
With CoCore you should be able do get it before boot. I think someone had similar question, and I left Odin flashable CoCore in that thread.
Click to expand...
Click to collapse
Well thanks, I'll try that and report back in this thread.
M0shi said:
Well thanks, I'll try that and report back in this thread.
Click to expand...
Click to collapse
I put kernel that you can flash with Odin in edit on my previous post.
M0shi said:
My S Advance is hard bricked and I am unable to bring it back to life, though it does go to recovery mode and download mode I've flashed plenty of firmwares from 2.3.6 to 4.1.2 and none of them work. Anyway I'm past that because I've bought a new phone now, what I need to ask is this: Can I somehow recover the data from my internal SDcard, and how should i go about doing so?
Click to expand...
Click to collapse
If you are able to enter the custom recovery,as you said,you could do an nandroid backup and it will be automaticly safe to your sd-card.
After that you can open it up in your new or other smartphone with nandroid manager and you can pull out all your files and savegames etc. .

I need help to unbrick my phone.

Ok so, I was trying to update my rom and managed to get my phone stuck in a boot loop with no backup on the phone (I pulled it off thinking I could put it back on in recovery). During the rom install I did a wipe witch turned out to remove the rom file as welll. So I have been trying to move a backup onto the phone but have not had any luck. I have a stock rom and odin but no idea if it's the right one. I have been trying to reinstall the firmware but that is not working either. I'm running out of ideas on what to do. I have no idea what the status of the phone is right now because I'm sure I have messed it up more by trying to fix it. At this point I want to just get the phone back to factory status so I can move files back onto the device.
If you are previously rooted. Just making sure... if you flash the latest twrp.. it'll let to plug into your computer and access your memory.. so you can put something on it to flash. But only do it if you have previously rooted.
LiL_Assassin said:
If you are previously rooted. Just making sure... if you flash the latest twrp.. it'll let to plug into your computer and access your memory.. so you can put something on it to flash. But only do it if you have previously rooted.
Click to expand...
Click to collapse
Yeah it's rooted.
Tanjer1588 said:
Yeah it's rooted.
Click to expand...
Click to collapse
Then flash twrp to flash another rom into it.

Categories

Resources