help, lost device operating system - Samsung Galaxy Nexus

I did the dumbest move. I was having some issues with my phone so I did a factory reset within the phone. It booted up no problem but was still having problems, so I booted up in twrp and wiped everything but I forgot that when I did a factory reset, it wiped everything on my sd card. All my roms and all. No I can only boot in boot loader and twrp. Even in twrp when I try to mount usb storage, my computer sees it but its not installing the drivers for my to access it.
What can I do?
Edit. I was able to load a factory rom using nexus tool kit 1.5.3

Also keep in mind when in recovery you can adb push files to your internal storage. So as long as you have fastboot or recovery or both, you're fine.
Sent from my AOSP Android 4.1.1 Galaxy Nexus

Zeinzu said:
Also keep in mind when in recovery you can adb push files to your internal storage. So as long as you have fastboot or recovery or both, you're fine.
Sent from my AOSP Android 4.1.1 Galaxy Nexus
Click to expand...
Click to collapse
Yup!
Code:
adb push ROM.zip /sdcard/
then flash it.

Related

[Q] Can I access storage memory from CWM?

I have a Galaxy Nexus that won't boot. It goes through a boot loop. I've tried everything to try and get it working. I've wiped data/factory reset, I've formatted system and re-flashed ROMs that were already on my phone, I've tried restoring backups from several nandroid backups. It never gets past the initial Google splash screen with the unlock symbol.
I'm going to send it in for service, but I'm wondering if there's a way to try to access the flash memory to copy all the data to my computer? I've stupidly done tons of regular backups (Titanium, SMS, nandroid) to my flash memory on my phone, but never backed it up to my PC. I can see the directory structure through CWM 5.5.0.2, but I can't mount it as a USB storage device from CWM and I assume I actually have to be booted up to use ADB.
Any suggestions?
big_raji said:
I have a Galaxy Nexus that won't boot. It goes through a boot loop. I've tried everything to try and get it working. I've wiped data/factory reset, I've formatted system and re-flashed ROMs that were already on my phone, I've tried restoring backups from several nandroid backups. It never gets past the initial Google splash screen with the unlock symbol.
I'm going to send it in for service, but I'm wondering if there's a way to try to access the flash memory to copy all the data to my computer? I've stupidly done tons of regular backups (Titanium, SMS, nandroid) to my flash memory on my phone, but never backed it up to my PC. I can see the directory structure through CWM 5.5.0.2, but I can't mount it as a USB storage device from CWM and I assume I actually have to be booted up to use ADB.
Any suggestions?
Click to expand...
Click to collapse
You should be able to do adb with the device in recovery mode. I'd recommend doing something like
Code:
> adb pull /data/media sdcard
This will copy the entire contents of the pretend SDcard on the phone (/data/media) onto a new folder on your computer called "sdcard".
I don't think there's a way to access the internal memory through CWM. For CWM to do that, is that to unmount that partition, and it cannot unmount data (where the sd-cad resides) as android wouldn't run without the /data partition, or so I've heard.
Feel free to correct me if I'm wrong.
Theshawty said:
I don't think there's a way to access the internal memory through CWM. For CWM to do that, is that to unmount that partition, and it cannot unmount data (where the sd-cad resides) as android wouldn't run without the /data partition, or so I've heard.
Feel free to correct me if I'm wrong.
Click to expand...
Click to collapse
Recovery is not Android, it will run fine without the /data partition mounted (though there isn't a whole lot it would be able to do then, since that's where all your flashable goodies would reside). CWM accesses internal storage all day long when you're flashing ROMs and kernels and whatnot.
Thanks! I assumed ADB wouldn't work in recovery because I tried it quickly on a PC that didn't have the drivers installed. I plugged in it on my upstairs PC and I'm doing a very lengthy adb pull as I type this. Thanks!

[Q] Bricked Galaxy Nexus (stuck at JB boot animation)

I have a Galaxy Nexus (Verizon) which I just rooted for the first time. I used fastboot to unlock it, and installed clockworkmod and superuser.
I then downloaded the Vicious Jelly Bean V3 ROM to my phone and flashed it (from the Downloads folder in my SD card, not from the root. I didn't realize it had to be in the root directory).
Now whenever I start my phone, I see the Google logo, then the new Jelly Bean "x" boot animation, but then it restarts itself back to the Google logo after about 30 seconds, and continues this way in an infinite loop - the phone won't boot up.
I can access the bootloader (by holding down the volume keys and power button) but I can't, say, flash back to stock ICS, because I can't transfer files to the my phone's SD card until my phone has fully booted up.
I tried wiping the cache partition and doing a factory reset, but the problem persists. What should I do?
First, make sure you're flashing a Verizon ROM, and if you are, I would suggest doing a format of your /system, /data, and /cache. Then install the ROM again from CWM. That should fix any errors you may have.
Sent from my Jellybean'd Galaxy Nexus using Tapatalk 2
Didu back up before u flashed the jb rom.
iZ3RO said:
First, make sure you're flashing a Verizon ROM, and if you are, I would suggest doing a format of your /system, /data, and /cache. Then install the ROM again from CWM. That should fix any errors you may have.
Click to expand...
Click to collapse
How can I install a ROM from CWM without my phone booting up? I've tried formatting /data, and /cache, but I'm still stuck on the boot animation. Unfortunately I don't have a backup.
How do you format /system?
taniscontrol said:
How can I install a ROM from CWM without my phone booting up? I've tried formatting /data, and /cache, but I'm still stuck on the boot animation. Unfortunately I don't have a backup.
How do you format /system?
Click to expand...
Click to collapse
In CWM I believe it's under Mounts and Storage.
EDIT: I use TWRP recovery, so I'm just going off of memory here.
You can still put any zip file on your SD without booting your phone up fully, you'll need to use adb commands to do it.
You'll need to open a command prompt window, change directory (cd) to where you keep your SDK folder (eg. cd sdk/platform-tools), put the ROM zip file in your SDK/platform-tools folder to make it easy, and then under the CWM menu Mounts and Storage select "mount /data" (it may already be mounted).
Then in the command prompt window, type: adb push Example.zip /data/media/
That'll push the ROM zip file to the root of your sd card. Don't enter Example.zip, type the name of the actual ROM zip file, I just used Example.zip as the example. See my screen shot of the commands.

Horrible Horrible Mistake

So Jelly Bean 4.2 came out and I was curious so in class today I downloaded http://forum.xda-developers.com/showthread.php?t=1737849
correct me if I'm wrong but that's the correct ROM I should download for the GSM/HSPDA Gnex. Anyways it successfully downloads and I attempt to flash it and when I did it got stuck on the Google screen. So what I did is battery reset and flash my original JB rom I still had on the memory and re-downloaded JB 4.2 thinking it might have been a corrupted download. This time around it actually gets to booting but it bugs up on the lock screen and is on a boot loop. So what I did now is completely cleared everything from CWM, the cache, partition, dalvik, and I even formatted everything as well. Not knowing what I was doing I guess the formatting formatted my SD card so it cleared everything. I said OK, CWM has a USB mounting system I'll just hook up to my PC and put in a rom and flash it. But the problem is it's not detecting my phone, I press mount SD Card and nothing shows up on my computer. I'm confident I have the drivers installed, what else could be the problem?
tl;dr CWM mounting doesn't work with PC and I can't boot into my ROM.
Moe747 said:
So Jelly Bean 4.2 came out and I was curious so in class today I downloaded http://forum.xda-developers.com/showthread.php?t=1737849
correct me if I'm wrong but that's the correct ROM I should download for the GSM/HSPDA Gnex. Anyways it successfully downloads and I attempt to flash it and when I did it got stuck on the Google screen. So what I did is battery reset and flash my original JB rom I still had on the memory and re-downloaded JB 4.2 thinking it might have been a corrupted download. This time around it actually gets to booting but it bugs up on the lock screen and is on a boot loop. So what I did now is completely cleared everything from CWM, the cache, partition, dalvik, and I even formatted everything as well. Not knowing what I was doing I guess the formatting formatted my SD card so it cleared everything. I said OK, CWM has a USB mounting system I'll just hook up to my PC and put in a rom and flash it. But the problem is it's not detecting my phone, I press mount SD Card and nothing shows up on my computer. I'm confident I have the drivers installed, what else could be the problem?
tl;dr CWM mounting doesn't work with PC and I can't boot into my ROM.
Click to expand...
Click to collapse
man is simple to repair it !go in fastboot mode connect to your pc and open gnex toolkit reflash 4.1.2 and thats all
Ouch... You have two choices. You can Adb push xxx /sdcard or fastboot the device... I dont think mounting works in CWR on the Gnex
altimax98 said:
Ouch... You have two choices. You can Adb push xxx /sdcard or fastboot the device... I dont think mounting works in CWR on the Gnex
Click to expand...
Click to collapse
This is exactly right. Mounting does not give you usb mounting but makes the partition accessible from adb.
Sent from my Galaxy Nexus using xda app-developers app
altimax98 said:
Ouch... You have two choices. You can Adb push xxx /sdcard or fastboot the device... I dont think mounting works in CWR on the Gnex
Click to expand...
Click to collapse
It doesn't. No need for fastboot, reboot to recovery, adb push file name.file-extension /data/media/.
http://forum.xda-developers.com/showthread.php?t=1812959
Sent from my i9250
Fixed it, flashed the phone to stock with tool kit then start everything over from scratch. Didn't take to long actually.
lol
10chars

[Q] Bricked Ascend P6-U06

Hello there,
I made the mistake of wiping the internal storage using TWRP.
I am unable to enter recovery mode with the button hold options (tried all variations). The only way I was able to get into TWRP was adb reboot recovery. adb connection is now gone and the phone is stuck at the boot screen.
I can get a fastboot connection and the bootloader is unlocked. So I flashed the boot partition with a stock boot.img and the recovery partition with a stock recovery.img (even though I can't enter the recovery partition).
the phone never gets past the boot logo. Is there a way to directly flash a system.img vie fastboot, so that the device can be used? I am kind of stuck here.. read several threads for the past 2-3 hours, tried to reinstall TWRP as recovery but cant boot into it, etc.
I downloaded the B510.zip and was wondering if there is a way to burn an .img out of that and flash the system partition. But maybe that doesn't make sense at all.
Any help is greatly appreciated
update
Alright then, I managed to boot into TWRP!! a previous version worked.
it shows: Custom storage (498MB), Internal Storage (0MB), External Storage (0MB)
i am now proceding to install the zipped 510 rom from huawei. unfortunately i must have lost my microSD so i am lefti with sideload and otg.
sideload doesn't work because i can't find my device with adb. only fastboot seems to work, i dont know the reason but i understand its normal for my situation.
i only have an unpowered otg cable. from what i read that won't work, but I'm giving it a try and currently load the zip on a usb flashdrive.
do i understand correctly that the overall storage just appears to be 498MB? my partition table must be fairly messed up if that is the case. are there other partitions not shown by TWRP?
what do you recommend besides/instead of getting a microsd?
kind regards
update #2
I managed to mount the internal storage as mtp and copied the zip into the pictures folder, because i had no writing permission for the parent dir.
i tried to install, but the first time i got an error that cache could not be mounted. i cleared the dalvik cache and retried.
this time i had another error message as you can see in the screenshot.
adb still does not work, so sideload is not an option. i can also mount the custom partition but it is just under 500mb while the rom zip is 7xx mb
any help would be greatly appreciated
Resolved
I managed to solve it. Installed the paranoid android rom from the pictures dir. it was under 500mb and worked fine.
eyevector said:
I managed to mount the internal storage as mtp and copied the zip into the pictures folder, because i had no writing permission for the parent dir.
i tried to install, but the first time i got an error that cache could not be mounted. i cleared the dalvik cache and retried.
this time i had another error message as you can see in the screenshot.
adb still does not work, so sideload is not an option. i can also mount the custom partition but it is just under 500mb while the rom zip is 7xx mb
any help would be greatly appreciated
Click to expand...
Click to collapse
You cant install Huawei Firmware with TWRP! Only Repacked / Custom Roms.
thank you
RabbidZ said:
You cant install Huawei Firmware with TWRP! Only Repacked / Custom Roms.
Click to expand...
Click to collapse
so that is the reason why the paranoidandroid worked in the end.
cheers

Can't push files to phone via TWRP

Rooted phone, went to flash rom then accidentally selected to install TWRP app, read somewhere that doing so bricks your phone so I wiped everything. I accidentally selected to wipe internal storage along with this, so now I have no OS, no files on my phones internal storage, and can't figure this out.
I tried mounting usb with TWRP, but OTG reads as 0mb, and on my computer my Pixel XL shows up as AOSP on msm8996, and trying to copy files to it just freezes explorer.exe
I had the though of doing an adb push for the ROM, or even a factory OTA image but don't know the commands for this since it's not an SD card or anything.
I'm taking shots in the dark with this and nothing works, any responses and help is greatly appreciated
Never mind. after cmd and powershell weren't working I downloaded the all in one tool and just dragged the files over to the phones storage. In the future if anybody goes full retard like me, just do that
Or just....flash a factory image with Fastboot.

Categories

Resources