Safing ROM on sdcard - Galaxy S6 Q&A, Help & Troubleshooting

Hey,
I've installed TWRP on my S6 and wiped my device but then I realized that I forgot to safe the custom ROM on the sdcard.
Is there a possibility to safe it on the sdcard without a system on it?
Greetings
iRemix

S6 does not have a sdcard in the first place

[iRemix] said:
Hey,
I've installed TWRP on my S6 and wiped my device but then I realized that I forgot to safe the custom ROM on the sdcard.
Is there a possibility to safe it on the sdcard without a system on it?
Greetings
iRemix
Click to expand...
Click to collapse
twrp has support for adb so you can adb push files to your device if you accidentally wiped system and the internal memory.
1. make sure you have adb and the samsung adb/fastboot drivers installed. as well as adb,.
2. if adb is not set up as a system path, copy the rom in the folder where adb is located
3.. open a command prompt window where the rom and adb are located (if adb is setup with system path you can open a command prompt window where the rom is located. (shift + right click will give you the option to open a command prompt within the current folder.)
4. within the command prompt use the command adb push romfilename.zip /sdcard/
5. copying may take a few minutes but will give you a confirmation with bytes in copied. the rom will be on the root of your sdcard. and you can then flash.

Related

Wiped and can't start now (Help)

I used a Super Wipe Full and my new ROM was in the internal storage (Not on SD) So I lost everything plus the new ROM that I should use to install now.
So I have nothing to install on it now. It doesn't start up, the only thing I can do is go at ClockworkMod (Vol+Down) and travel there but doing nothing very useful.
How can I copy and past my ROM to the SD?
From windows.
Thank you, sorry I am dumb, =/
You need to boot to CWM, then connect it to your PC using the charger cable.
Update the drivers to use the NakedDrivers.
Then get a copy of ADB.exe from the android SDK.
Download the ROM you want to flash and put it into the same directory as your ADB.exe file.
Open a command prompt and use the "cd" command to get to the directory with ADB.exe.
Then type this:
adb push ROM.zip /sdcard/
Assuming your ROM is called ROM.zip.
Then you can flash the ROM from CWM.
frederuco said:
You need to boot to CWM, then connect it to your PC using the charger cable.
Update the drivers to use the NakedDrivers.
Then get a copy of ADB.exe from the android SDK.
Download the ROM you want to flash and put it into the same directory as your ADB.exe file.
Open a command prompt and use the "cd" command to get to the directory with ADB.exe.
Then type this:
adb push ROM.zip /sdcard/
Assuming your ROM is called ROM.zip.
Then you can flash the ROM from CWM.
Click to expand...
Click to collapse
+1 Been there done that.
D
frederuco said:
You need to boot to CWM, then connect it to your PC using the charger cable.
Update the drivers to use the NakedDrivers.
Then get a copy of ADB.exe from the android SDK.
Download the ROM you want to flash and put it into the same directory as your ADB.exe file.
Open a command prompt and use the "cd" command to get to the directory with ADB.exe.
Then type this:
adb push ROM.zip /sdcard/
Assuming your ROM is called ROM.zip.
Then you can flash the ROM from CWM.
Click to expand...
Click to collapse
Thanks, gonna try later and edit here.
Edit. 1
So for Nakeddrivers should I download this one?
http://forum.xda-developers.com/showthread.php?t=1514942
And do what this guy says?
http://forum.xda-developers.com/showthread.php?t=2139767
Thank you.
frederuco said:
You need to boot to CWM, then connect it to your PC using the charger cable.
Update the drivers to use the NakedDrivers.
Then get a copy of ADB.exe from the android SDK.
Download the ROM you want to flash and put it into the same directory as your ADB.exe file.
Open a command prompt and use the "cd" command to get to the directory with ADB.exe.
Then type this:
adb push ROM.zip /sdcard/
Assuming your ROM is called ROM.zip.
Then you can flash the ROM from CWM.
Click to expand...
Click to collapse
I got a problem, when I type "adb push "ROM".zip /sdcard/"
It says: (by the first try)
"adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
error:"
(Second and other)
"adb server is out of date. killing...
* daemon started successfully *
protocol failure"
I downloaded this SDK:
http://developer.android.com/sdk/index.html
And this NakedDrivers:
http://forum.xda-developers.com/showthread.php?t=1514942
Help please =/
Did you get the ADB drivers installed?
I often get the same errors on ADB but it should eventually work.
What happens if you type:
adb devices
It should find your tablet.
frederuco said:
Did you get the ADB drivers installed?
I often get the same errors on ADB but it should eventually work.
What happens if you type:
adb devices
It should find your tablet.
Click to expand...
Click to collapse
After 3 errors with "adb devices" I got this:
"adb server is out of date. killing...
* daemon started successfully *
list of devices attached
37c624242616657 recovery"
What now?
type this:
adb shell
ls -l
see what the ouput is. Is there a sdcard directory listed?
If so, type exit so you are out of the ADB shell, then type:
adb push ROM.zip /sdcard/
frederuco said:
type this:
adb shell
ls -l
see what the ouput is. Is there a sdcard directory listed?
If so, type exit so you are out of the ADB shell, then type:
adb push ROM.zip /sdcard/
Click to expand...
Click to collapse
With "adb shell" I got few errors listed above and then this:
"adb server is out...
* daeomon started successfully *
~ #"
Thats all.
What happens if you type "ls -l" at the # prompt?
frederuco said:
What happens if you type "ls -l" at the # prompt?
Click to expand...
Click to collapse
Got a lot of suff:
http://img267.imageshack.us/img267/2112/31377010.jpg
If this helps, my deviece is a Asus Transformer TF101
I am trying to install the android revolution HD 3.6 rom
Filipebergami said:
Got a lot of suff:
http://img267.imageshack.us/img267/2112/31377010.jpg
If this helps, my deviece is a Asus Transformer TF101
I am trying to install the android revolution HD 3.6 rom
Click to expand...
Click to collapse
Perfect.
Now, download the android revolution HD 3.6 ROM if you have not done so. rename it to ROM.zip and put it in the c:\dev\adt\sdk\platform-tools directory.
Next, at the c:\dev\adt\sdk\platform-tools> prompt type:
adb push ROM.zip /sdcard/
It should then push the file ROM.zip to your internal SD card directory. It will say how many bytes were pushed succesfully when it finishes. If you get an error that it failed to start the daemon, just keep issuing the adb push ROM.zip /sdcard/ command until it works.
frederuco said:
Perfect.
Now, download the android revolution HD 3.6 ROM if you have not done so. rename it to ROM.zip and put it in the c:\dev\adt\sdk\platform-tools directory.
Next, at the c:\dev\adt\sdk\platform-tools> prompt type:
adb push ROM.zip /sdcard/
It should then push the file ROM.zip to your internal SD card directory. It will say how many bytes were pushed succesfully when it finishes. If you get an error that it failed to start the daemon, just keep issuing the adb push ROM.zip /sdcard/ command until it works.
Click to expand...
Click to collapse
YES !!!
After about 30 tries it worked, I got a bit scared when after * daemon thingy * got no answer for few minutes, but I manage to install it throught CW.
Thank you a lot.

stuck with bootloop and no alternative rom

i have a slight problem. i grabbed the ubuntu touch alpha and went in to recovery, loaded it (according to thread instructions) but ended up with a bootloop.
in the end i thought "lets just put another rom back on for now" and then realised i had deleted the other rom from the sdcard! so i'm stuck with it not booting in to ubuntu, and not able to get another rom on as it doesn't boot in.
can i connect to the internal sdcard area myself by plugging the usb in to the pc or something?
i have twrp loaded as recovery
thanks
ah, TWRP adb sideload to the rescue!
problem
my problem is stuck in boot screen after i did super wipe full what should i do? i have cwm 5.5.0.4. i try flash from sd put it says no files found
partti86 said:
my problem is stuck in boot screen after i did super wipe full what should i do? i have cwm 5.5.0.4. i try flash from sd put it says no files found
Click to expand...
Click to collapse
The issue, Superwipe wipes the internal /sdcard/ and also this is where it flashes from.
You need to boot to recovery and then use ADB to push files to the sdcard.
If you have never used ADB, it can be a bit daunting.
First, you need adb from the Android SDK. It is a big file for the few you need. I have a copy of the relevant ADB files here: https://db.tt/b9dQ6xzp
Unzip this to c:\adb folder on windows. If you are using Linux, it should already have adb in the /usr/bin/ folder.
Next, you need the Universal Naked Drivers: http://forum.xda-developers.com/attachment.php?attachmentid=1934814&d=1367674531
Unzip these to c:\universal_naked_drivers
Boot to CWM and then plug in your USB cable. It should show a new device found. It may find 2, an MTP and then there should be another either Unknown device or an Android ADB device. Right click and update the driver. Be sure to search for driver, then tell it you want to pick from a list. Hit the Have Disk button and then hit the browse button and browse to c:\universal_naked_drivers and hit OK. It should show you a driver to select and hit OK. If you are using Win 8, there is an additional step that is required to used non-signed drivers.
Once the driver is updated, download the zip file you want to flash on your PC. I assume it is a ROM.zip file for this example. Place this file in the c:\adb folder and call it ROM.zip (can be named something else, but this is what we will use for this example).
Now, open a command prompt and execute the following:
Code:
> [B]c:[/B]
c:\> [B]cd c:\adb[/B]
c:\adb> [B]adb devices[/B]
It will probably say some messages about the daemon is not running, restarting adb.
Then it should show a list. There should be some numbers followed by "recovery"
If no devices are shown, check that your ADB device is showing in the Device Manager.
Once you see it in the adb devices list, continue:
Code:
c:\adb> [B]adb push ROM.zip /sdcard/[/B]
successfully pushed xxx bytes
c:\adb>
At this point you should now see the ROM.zip file on the internal storage in CWM to allow you to install it.
Choose to install the file then reboot (not to recovery). You have to let it flash the file (progress bar will show). Once the screen goes black and the progress bar disappears, it should now boot to your ROM..
If your ROM requires a custom kernel and/or GAPPS to be flashed, use the same procedure to push your kernel.zip and GAPPS.zip to the /sdcard/ directory.
mk2media said:
ah, TWRP adb sideload to the rescue!
Click to expand...
Click to collapse
Can you explain what you did please? what is adb sideload?

LG G2 CM 11 BOOTLOOP! Help please!

hello guys, i just installed a nightly cm 11 on my LG G2 D805, i used a trick to convert it to D802, so its ok, but when i install the zip, i got stuck in the bootloader, i already wiped the data and cache, system, etc, the problem is i cant download and install another zip because the LG G2 has no SD ! ...i cant add more files to install, i need help, how i can unbrick my phone? please!
Can you enter the download mode?
This is easily solvable, I've had a few issues like you since the Nexus 5 does not have an SD Card slot either.
What you'll need to do is set up ADB, Google it if you don't have it.
Then go to where you have the contents (adb files). Or you can go into cmd (command promt) and type in "cd your/adb/folder/destination" if you haven't done the "cd" method simply go into the adb folder. And open a cmd window there, once open. Boot your device into recovery mode and plug in your cable to your PC. So that it detects your device.
Then in the command prompt window type the following command - "adb devices" (This will run adb and it'll check to see if adb is properly installed, if your device does not pop up, make sure you cable is in properly. If it still doesn't show, you will have to install the drivers for your device again... Properly).
Now it should list your device, go into the G2 section and download the preferred rom.
Once downloaded simply type this in the command prompt window.
Adb push path/to/rom.zip /sdcard
Eg - adb push c:/user/user/Downloads/cm11.zip /sdcard
Now this should push the .zip to your internal memory, in the recovery mode (after adb has down its job). Simply wipe data and install the .zip c:
Your device should work.
If I helped, don't hesitate to hit that Thanks button

[Q] Help with ADB Side Load

Help I messed up and formated the phone in TWRP 2.8.3.1 and now its stuck on the LG logo. I can still boot into TWRP but all my files were deleted off the phone. I have the SDK downloaded for sideload but when I goto the command prompt it reconizes the phone but DOES NOT have "sideload" next to the device name. When I try to side load I get an error and nothing. I also did not turn on ADB side load on my device before it happen. Please help if possible.....
Symbian_Black said:
Help I messed up and formated the phone in TWRP 2.8.3.1 and now its stuck on the LG logo. I can still boot into TWRP but all my files were deleted off the phone. I have the SDK downloaded for sideload but when I goto the command prompt it reconizes the phone but DOES NOT have "sideload" next to the device name. When I try to side load I get an error and nothing. I also did not turn on ADB side load on my device before it happen. Please help if possible.....
Click to expand...
Click to collapse
Let me help you
0. do not enable adb sideload inside twrp
1. look up your directory where adb is
2. open command window there (right click on folder or inside folder -> open command window here)
3. put your files inside the very same directory (for example rom.zip)
4. adb push rom.zip /sdcard/rom.zip
5. flash
bender_007 said:
Let me help you
0. do not enable adb sideload inside twrp
1. look up your directory where adb is
2. open command window there (right click on folder or inside folder -> open command window here)
3. put your files inside the very same directory (for example rom.zip)
4. adb push rom.zip /sdcard/rom.zip
5. flash
Click to expand...
Click to collapse
I forgot to tell you that I did not have debugging enabled on my phone at the time.........
Doesn't matter at all.
Should work.
Or - buy an USB otg Cable and you can use USB flash disks
Poslano sa mog LG-D802 koristeći Tapatalk
THANK YOU
bender_007 said:
Let me help you
0. do not enable adb sideload inside twrp
1. look up your directory where adb is
2. open command window there (right click on folder or inside folder -> open command window here)
3. put your files inside the very same directory (for example rom.zip)
4. adb push rom.zip /sdcard/rom.zip
5. flash
Click to expand...
Click to collapse
I got it to work! I actually did the ADB sideload in TWRP but used your command prompts. THANK YOU
Same thing but...
It is awesome you got your's to work! I have the exact same problem but my usb port isn't working I believe. Over multiple pc's and usb cables I keep getting UNKNOWN USB DEVICE. I went into a repair shop today and got a different port but then the screen wouldn't turn on so they put my old port back in. The LED light did flash so I'm wondering if I'd be better off getting the new USB port then worrying about the screen later. Any advice would be greatly appreciated. Thank you!
It help me a lot
The trick was not enabling adb sideload in twrp. Thank you for the info. I almost bought a new phone.
Of course. Read posts m8
Poslano sa mog LG-D802 koristeći Tapatalk

How to fix a soft bricked device from a flash that failed due to missing files

This guide is meant to less techie people, and written in detail. Please don't mind me if I overexplain. If you have any questions, feel free to comment them.
Also, I am not responsible for anything you do to your phone; you assume your responsibility for anything you do because of this guide.
Scenario:
So, lets say that you tried to flash an zip file on your android using sideload, but the zip required another file to be in the same directory as it, in order to work.
After flashing the zip and getting an error, your phone may not get pass the logo of the brand and be soft bricked.
Also, you formatted your external sd as internal, and cant access your usual location with files in the recovery.
In this case, don't worry, as I'm here to help you unbrick your phone without reinstalling the rom.
Things you will need:
your phone
a computer connected to your phone with an usb cable
the proper drivers for your phone
a custom recovery like cwm or twrp installed on your phone
probably root, although I'm not sure
and finally the adb (android development bridge) utility
Where to get a custom recovery?
- https://www.xda-developers.com/how-to-install-clockworkmod/
or search on xda under at your device's forum
Where to download adb from?
- https://forum.xda-developers.com/showthread.php?t=2588979 (this one comes with the drivers)
- https://dl.google.com/android/repository/platform-tools-latest-windows.zip (just the adb files)
So lets get started:
First, get your phone into Recovery mode (on samsung hold power button volume up and home button), and connect it to your pc with a usb cable.
Open ADB by shift + right clicking the folder platform-tools in witch it is located. Click on "Open Command Prompt window here" or "Open Powershell window here" (depends on your windows settings).
You need to find a location on your phone that is accessible through the flash zip menu from your recovery. (from sdcard / from sdcard1 or whatever your external sd is called)
In my case, i could get to see folder 0 and obb from "flash zip from sdcard".
To find a suitable folder:
In the window, type
Code:
adb.exe shell
if you opened cmd, or
Code:
./adb.exe shell
if you opened powershell.
This will open a terminal that will run commands on your phone.
(Now you can type commands in the cmd window that will be run on your phone.)
Type in
Code:
cd /sdcard/0
to go to the main sd card location that is accessible in recovery when you go to flash a zip from there. (if you can get to another folder where you could a flash a zip from, change the location to that place)
You can use here the command
Code:
ls
to view objects in the folder you are in.
After you are done, type
Code:
exit
to exit.
To solve the soft-brick, you need to reflash the zip, but with the files it needed in the same directory.
Type in the ADB window
Code:
./adb.exe push "location of the file you are sending" "location of the folder you are sending to (eg. /sdcard/0)"
if you are in powershell, or without the ./ if you are in cmd.
Use this until you have sent all the files needed for a successful flash.
Then just use the "flash zip" utility from your recovery with the location you have sent the files to, on your phone, to complete the flash, and solve the half-brick.
Restart your phone and you should be good to go.
Thanks to the following threads, that helped me put this together, and solve this problem on my phone:
https://forum.xda-developers.com/showthread.php?t=1927198
https://forum.xda-developers.com/showthread.php?t=2588979​

Categories

Resources