Help please! Phone wont boot. Need adb expert. - AT&T Samsung Galaxy S II Skyrocket SGH-I727

Hey all. I did something silly and deleted a file in system/bin folder while troubleshooting a problem. I made a backup of the file before deleting it in sdcard/download but my phone wont boot so I can copy the backup file back to system/bin. I am able to get my phone into download mode and I believe I could copy the file via adb. However I do not know how to get adb to recognize the phone in download mode. I type...
adb devices
and it states "List of devices attached" and there is nothing under the list but when I plug my phone via USB it shows "SAMSUNG Mobile USB CDC Composite Device" in device manager so I know my pc is recognizing it. I have used adb before with batch files like 1click root and things like that so I know its just me not knowing the right commands to get my device recognized.
Any and all help is appreciated! I just need to copy 1 file from sdcard/download to system/bin and I would assume it would boot back up with no problem!
Thanks!

do u have cwm installed?

I just installed CWM v5.5.0.4 via download mode using this method. http://www.theandroidsoul.com/skyrocket-root-clockworkmod-cwm-recovery/
So now that I am in CWM I am trying to mount things like /system and it shows an error mounting /sdcard and I get that error messaging for mounting all except mount usb storage which works great. I was however able to get the file off my phone but now how do I get the file back to system/bin?

Yes.. you can (and really should) flash CWM from download mode via your PC/laptop. A few weeks ago I did something very similar and soft-bricked my SR by renaming an in-use file (framework-res.apk)... I also only had 3e, so couldn't just restore a nandroid or flash a rom zip. Go to the Dev section and find the thread by Copperhed ("Root the ATT SGH-I727 Skyrocket..."). read through the OP and follow instruction exactly. You will be Odin3 flashing just the CWM recovery partition... this will NOT trip your flash counter. If you are already rooted, you should retain root... if not, you can root via his OP. After you have CWM recovery, there's a way you can mount the sdcard so you can transfer files between your PC and SR... then, you can put the sbin file back and see if it reboots fine... if not, with CWM installed, you can flash (via zip.. not Odin) any rom/kernel/modem zip package you want.

Even though I installed CWM from a different source I thanked you anyways DoctorQMM! Now that I have CWM installed how to I transfer the file from my pc to the system/bin directory? I have been able to mount usb storage and it show up as a drive on my pc but when I mount /system nothing shows up. What am I missing?
Thanks for all your help! I am almost there! ^_^

hey, I recommended it first . Seriously though, download a kernel from the dev section, any kernel. Open it up in winrar, winzip, etc... and delete everything except the system folder. Now take the bin file u copied to ur computer and put it in a folder called bin. Put this bin in the kernel zip inside the system folder. Now delete everything else in the system folder. Put this file on a microsd, slip it in ur phone and flash it through cwm. this will put the bin back, and allow u to reboot phone

JDub... PM cdshepherd.... he's the one who shared with me you can use the mounts and storage option in cwm (then click "mount USB storage")... then you can copy files between your sd and computer without having to do what I did (which was pull external sd out of SR, mount in micro adapter, plugged into laptop and loaded files on the sd... then put sd back in phone.. booted into CWM and flashed the rom zip I put on there). Yes.. you are close! If you can't get that one file back to sbin on root, you could try to flash a stock rom/kernel zip (KK1 or LA3)... you only need to put that rom/kernel zip on your sd or external sd so CWM will see it.

icenight89 your right you provided the inspiration so I thanked you as well and appreciate the explanation. I will perform it now and see where I get. Let me understand this correctly in steps..
1. Download a kernel, any kernel.
2. Open it up, delete everything except the system folder.
3. Create a folder named bin and put the backed up file in the bin folder.
4. Delete everything else within the system folder except the bin file and bin folder. So it should be /system/bin/xxx.file
5. Put this on a microsd card and flash it through cwm. I assume I do this by selecting "install zip from sdcard?"
Thanks for the continual help! ^_^

I am having trouble with the kernel part. I downloaded a i727 kernel from here http://forum.xda-developers.com/showthread.php?t=1340114&page=2. Opened it up and it has boot.img in it. Am I missing something?

Alright. I downloaded the kernel from here http://www.mediafire.com/?85g701ate11zdc9. The kernel contained a folder named system and deleted everything else. I then added the folder bin and added the backed up file I deleted to the system/bin/ directory. I then mounted usb storage via CWM and put the new .zip in there. I then selected "install zip from sdcard", "choose zip from internal sd card" located the zip file and selected "yes." I then get the following read outs...
Installing update...
Installation aborted.
--Installing: /emmc/sgh-1727-skyrocket-att-original-kernel_2.zip
Finding update package...
Opening update package...
Installing update...
Installation aborted.
So it looks like it is not installing. Am I doing something wrong?

wrong kernel, download this one:
http://faux.androidro.ms/sky-kernel-010b1.zip
delete everything from in there except system folder, including boot.img, and follow instructions again, should work

JDubbed said:
icenight89 your right you provided the inspiration so I thanked you as well and appreciate the explanation. I will perform it now and see where I get. Let me understand this correctly in steps..
1. Download a kernel, any kernel.
2. Open it up, delete everything except the system folder.
3. Create a folder named bin and put the backed up file in the bin folder.
4. Delete everything else within the system folder except the bin file and bin folder. So it should be /system/bin/xxx.file
5. Put this on a microsd card and flash it through cwm. I assume I do this by selecting "install zip from sdcard?"
Thanks for the continual help! ^_^
Click to expand...
Click to collapse
these steps are exact, nice

Unfortunately I get the same error message with the kernel you supplied. x.x
010b1.zip
Finding update package...
Opening update package...
Installing update...
Installation aborted.
Are you sure I can just delete and add stuff like that and It will work? I mean it makes sense to me but since it keeps aborting there may be something crucial missing that I need to keep in the .zip file. Any ideas?
Here is a link of my modified zip. http://dl.dropbox.com/u/6778642/Android/sky-kernel-010b1.zip

pm me when u get a chance

JDubbed said:
Unfortunately I get the same error message with the kernel you supplied. x.x
010b1.zip
Finding update package...
Opening update package...
Installing update...
Installation aborted.
Are you sure I can just delete and add stuff like that and It will work? I mean it makes sense to me but since it keeps aborting there may be something crucial missing that I need to keep in the .zip file. Any ideas?
Here is a link of my modified zip. http://dl.dropbox.com/u/6778642/Android/sky-kernel-010b1.zip
Click to expand...
Click to collapse
download a rom from Dev section. Doesn't matter which one. Try silvers rom you'll like it. Mount USB storage in cwm. Copy rom to sd. Eject SD from computer. Go back to main menu in cwm. Wipe data/factory reset. Wipe cache partition. Wipe dalvik cache(under advanced in cwm) format system under mounts and storage. Back to main menu in cwm. Install zip from sdcard. Choose zip(rom) you just placed on your SD. Flash it. Reboot device. Enjoy. And make a nandroid after it boots for the first time.
Sent from my SAMSUNG-SGH-I727 using xda premium

Did you make a cwm backup of rom you were using prior to this?
Sent from my SAMSUNG-SGH-I727 using xda premium

No, I did not make a nandroid backup. I had to install CWM from download mode and then I was able to get into CWM all without booting.
I appreciate your time in writing a solution however I am not interested in wiping everything and starting from scratch which is what your proposing. I simply deleted a file in system/bin named mediaserver so system/bin/mediaserver. When I rebooted the phone would not boot. I made a backup of the mediaserver before deleting it and placed it in the sdcard/download folder. All I need to do is copy the mediaserver file back to system/bin/ directory and phone should boot backup as if nothing ever happened. That's is how I understand it. Its just missing a file and I know what the file is and I have the file I just need to figure out how to copy it back over to where it belongs.
I do know how to install stock and other roms but after spending numerous hours on my first phone, SGS Captivate, to experience others roms like Darky's Rom the end result was that it was not worth me having to keep up with all the releases and bug fixes, loading in working kernels to make things work correctly and the like. I would rather just stick with stock. Its just a personal preference.
If anyone knows how to copy a file from my pc or from internal sdcard to my Skyrocket using Download mode or ClockWorkMod using any means but without wiping my data please let me know. Eventually if I do not get a solution I will be forced to revert back to the stock rom but I would rather leave that as a last resort.
I look forward to any other suggestions!
Thank you!

Without the ability to push/pull with adb your running out of solutions. I do hope that you get your skyrocket up and running no matter what method you use. And I do hope that someone with the ability comes along to help you. My way is prob the easy way out. If it were me ide cut my losses. Start from scratch, and try to figure out where my prob starts. Good news is there is a great community with plenty of help. Good luck mate.
Sent from my SAMSUNG-SGH-I727 using xda premium

Since my zip suggestion didn't work, try flashing a different kernel, romracer stockish 0.3 is a good choice, from cwm

JDubbed said:
No, I did not make a nandroid backup. I had to install CWM from download mode and then I was able to get into CWM all without booting.
I appreciate your time in writing a solution however I am not interested in wiping everything and starting from scratch which is what your proposing. I simply deleted a file in system/bin named mediaserver so system/bin/mediaserver. When I rebooted the phone would not boot. I made a backup of the mediaserver before deleting it and placed it in the sdcard/download folder. All I need to do is copy the mediaserver file back to system/bin/ directory and phone should boot backup as if nothing ever happened. That's is how I understand it. Its just missing a file and I know what the file is and I have the file I just need to figure out how to copy it back over to where it belongs.
I do know how to install stock and other roms but after spending numerous hours on my first phone, SGS Captivate, to experience others roms like Darky's Rom the end result was that it was not worth me having to keep up with all the releases and bug fixes, loading in working kernels to make things work correctly and the like. I would rather just stick with stock. Its just a personal preference.
If anyone knows how to copy a file from my pc or from internal sdcard to my Skyrocket using Download mode or ClockWorkMod using any means but without wiping my data please let me know. Eventually if I do not get a solution I will be forced to revert back to the stock rom but I would rather leave that as a last resort.
I look forward to any other suggestions!
Thank you!
Click to expand...
Click to collapse
Based on your first post, I don't think your pc is FULLY installed your device. Download mode requires additional drivers.........adb devices should return a serial number.
I have not tried adb on my skyrocket...I will do that for your sake and reply with my experience..

Related

Getting files onto the root of the drive

I'm trying to install cyanogenmod on my G Tablet, but I can't figure out how to get files onto the root of the drive, specifically the update.zip and recovery folder.
I've successfully rooted it using z4root, thinking that would give me root access to the files - but not so...
So, I'm at an impasse. I can't move files from the sdcard folder, nor the sdcard2 folder into the root folder.
How can I get the needed files there?
Thanks!
they need to be in sdcard not root. at least it is where mine go
edit not sure with cyanogen. you may need a different file manager to place them in the root directory
try using ghost commander, it lets me move files around. otherwise plug it into a pc and move the files that way?
pqrs said:
try using ghost commander, it lets me move files around. otherwise plug it into a pc and move the files that way?
Click to expand...
Click to collapse
Ghost Commander is giving me the error, "File not accessible" when trying to copy it from sdcard to / (I assume this is the same as the linux filesystem?)
Edit: I've gotten it to give me root access, I'm just having trouble getting files to transfer now. It tells me that things transfer, but I'm not seeing them in the file system. I'll keep messing with it though.
scheda said:
I'm trying to install cyanogenmod on my G Tablet, but I can't figure out how to get files onto the root of the drive, specifically the update.zip and recovery folder.
I've successfully rooted it using z4root, thinking that would give me root access to the files - but not so...
So, I'm at an impasse. I can't move files from the sdcard folder, nor the sdcard2 folder into the root folder.
How can I get the needed files there?
Thanks!
Click to expand...
Click to collapse
You only need to put the update zip file on the main directory ( /sdcard ) not the root directory which is just ( / )
Then flash the update zip via recovery mode.
Be sure to wipe data and cache first if you are flashing over another rom, which it sounds like you are.
tekrhino said:
You only need to put the update zip file on the main directory ( /sdcard ) not the root directory which is just ( / )
Then flash the update zip via recovery mode.
Be sure to wipe data and cache first if you are flashing over another rom, which it sounds like you are.
Click to expand...
Click to collapse
I just figured that out And this is my very first flash, so I'm entirely inexperienced with this.
I've just done the update.zip portion, now I'm moving onto the next step as detailed here: http://forum.xda-developers.com/showthread.php?t=865245
I was originally just going to flash with ROM Manager, but it force closes when I open it now, so I'll just follow this guide.
scheda said:
I just figured that out And this is my very first flash, so I'm entirely inexperienced with this.
I've just done the update.zip portion, now I'm moving onto the next step as detailed here: http://forum.xda-developers.com/showthread.php?t=865245
I was originally just going to flash with ROM Manager, but it force closes when I open it now, so I'll just follow this guide.
Click to expand...
Click to collapse
Good Deal, welcome to the MOD world!

HELP - nvflash

I just did my 1st nvflash. followed all the directions and the flash completed. it started to boot to the stock rom. I saw the tap n whatever screen then another. it is stuck at the n with the 5 thinks above it screen for almost 20 min...
what can i do at this point??
thanks
ok, i got into the rom now. i am sending back for repairs. do i need to remove cwm recovery? anything else?
Stock recovery 1.2.4349
nixie2121 said:
ok, i got into the rom now. i am sending back for repairs. do i need to remove cwm recovery? anything else?
Click to expand...
Click to collapse
Assuming you went back to stock 1.2.4349...Here's the stock recovery
http://dl.dropbox.com/u/36150173/4349stock_recovery.zip
Put this on your internal sd, boot to CWM & flash this.
Al
aabbondanza said:
Assuming you went back to stock 1.2.4349...Here's the stock recovery
http://dl.dropbox.com/u/36150173/4349stock_recovery.zip
Put this on your internal sd, boot to CWM & flash this.
Al
Click to expand...
Click to collapse
something crazy going on. I copy the file onto the tablet and it does not stay. i see it in the folder, (tried while tablet was on and tried copying file while in recovery. i see the file is on the tablet on my computer but when i go to flash it is not there??? do they check recovery (if i cant flash this one back)?
thanks!!!
They probably don't check BUT can't guarantee it!
Are you selecting the "install zip from sdcard" option in CWM (different than the "apply sdcard:update.zip" option). The first option lets you browse for any zip you want the second looks specifically for a zip called update.zip in the root of sdcard.
You should use the "install zip from sdcard" option since the filename for the stock recovery isn't update.zip.
Al
yes, i am choosing the right option. The file I copied is not really coping to the tablet. so weird
thanks for the help... I just downloaded from the tablet and got it done...really, thanks a bunch!!!!
The only reason I could think that it would do that is if it hasn't finished copying or the Android is seeing the file as damaged.
Android perioically does file system checks (it's the scanning sdcard notifications you may see periodically). If it finds a corrupt file it moves it and moves it to the LOST.DIR folder.
Are you sure you are giving it enough time to fully copy? Are you sure you got a good download from the link. Try opening the zip on your PC to make sure it isn't damaged. After transferring to the tablet open your file manager & long press on it...it should give you the option to Extract to....see if it will extract the contents to a folder (to make sure the zip transferred OK) if it extract fine you know the zip is intact & you can then delete the extracted folder/contents.
Al

Flash a Data.img?

I extracted all my files from my data.img backup and made it into a .zip. Is there anyway
i can cwm flash that data.zip to get all my data back? I tried just flashing the zip and it says,
"(bad) Installation Aborted."
Any help would be greatly appreciated
mafo5000 said:
I extracted all my files from my data.img backup and made it into a .zip. Is there anyway
i can cwm flash that data.zip to get all my data back? I tried just flashing the zip and it says,
"(bad) Installation Aborted."
Any help would be greatly appreciated
Click to expand...
Click to collapse
Here's a few things you could do assuming that what you want is even in this zip file.
1) Get a working cwm format zip file and take a close look at it because you need to use it as a template if this is going to work. In particular, check out updater-script in META-INF\com\google\android\*. Updater-script is what directs the restore operation so it needs to match what you want to do. You can get the idea by looking at one that restores say, some data or system files, like a kernel will always restore some /system/lib/module files.
2) Since you've got some sort of zip file, make sure it matches the general format of a working cwm zip file and then just make sure step 1) is right.
3) I don't know if this is still a search for .android_secure folder on /sdcard, but if it is you're probably not going to get there from here, because the tf101 generallyl doesn't have that file since there's no need for tf101 -> sdcard app storage. For example, mine never had that folder either on internal or external storage.
4) Kernels aren't in the data or system archives from cwm, so that is possibly some sort of show-stopper too. I'm working on the cwm source today a bit to try to create a boot.img (or in the newer cwm lingo, boot.*.tar) archive. That archive will use blob and boot tools to be able (via the direction in updater-script) burn the blob onto block m*4.
I hope that helps.
Oh yeah, another thing you can try: If you wanted just the 'apps' from the cwm archive, you shouldn't even need the zip file. All you need to do is run Titanium Backup (assuming you've got it or can get it), and use the new feature in options called restore from cwm backup (or something like that). I've used it and it works fine on 3.x and 5.x cwm backups.
-- good luck
hachamacha said:
Here's a few things you could do assuming that what yowant is even in this zip file.
1) Get a working cwm format zip file and take a close look at it because you need to use it as a template if this is going to work. In particular, check out updater-script in META-INF\com\google\android\*. Updater-script is what directs the restore operation so it needs to match what you want to do. You can get the idea by looking at one that restores say, some data or system files, like a kernel will always restore some /system/lib/module files.
2) Since you've got some sort of zip file, make sure it matches the general format of a working cwm zip file and then just make sure step 1) is right.
3) I don't know if this is still a search for .android_secure folder on /sdcard, but if it is you're probably not going to get there from here, because the tf101 generallyl doesn't have that file since there's no need for tf101 -> sdcard app storage. For example, mine never had that folder either on internal or external storage.
4) Kernels aren't in the data or system archives from cwm, so that is possibly some sort of show-stopper too. I'm working on the cwm source today a bit to try to create a boot.img (or in the newer cwm lingo, boot.*.tar) archive. That archive will use blob and boot tools to be able (via the direction in updater-script) burn the blob onto block m*4.
I hope that helps.
Oh yeah, another thing you can try: If you wanted just the 'apps' from the cwm archive, you shouldn't even need the zip file. All you need to do is run Titanium Backup (assuming you've got it or can get it), and use the new feature in options called restore from cwm backup (or something like that). I've used it and it works fine on 3.x and 5.x cwm backups.
-- good luck
Click to expand...
Click to collapse
OK Ill see if the titanium backup way works. I'll report back to you if it works. Also if I do get all my apps back is there a way to get the app data?
Hi - If Titanium is bringing up the selections screen then the usual choices for each app are data/app/data+app, so yes.
The titanium back option is called "extract from Android backup" I can't do
It right now because I don't have my tf with me. But I don't think it will work because
The Android backup I made was currupted. I would get the .android_secure error
And couldn't restore. So if titanium takes the data.img from my Android I'm thinking
It won't work but if I can give it the zip it probably will. I won't be home for a couple
Hours.
thank you so much i got all my stuff back using titanium backup!
mafo5000 said:
thank you so much i got all my stuff back using titanium backup!
Click to expand...
Click to collapse
Cool! --
Congrats.

[Q] HELP rooted Nexus S w/ Cyanogen mod 9

I rooted my phone (nexus s i9020a at&t) and have superuser and downloaded rom manager. I had no idea how to figure out how to flash a rom onto my device on my mac so I downloaded one of the many cyanogen mod 9's directly in rom manager. The rom loaded up perfectly and runs smoothly except there is no app market. When I try to go back into rom manager it force quits out.
I am very new to rooting and hacking into my phone and tried searching for hours and can't figure out what to do. If anyone knows how I can just flash a new updated version of cyanogen mod 9 without using rom manager that would be awesome. I really just need a step by step way to do it on the mac because every time someone posts a rom .zip file it downloads as a folder with random stuff in it and in recovery mode in my phone I don't know how to go about flashing it. So confused. Any help would be so appreciated.
Jess
Check your PM. I couldn't post links as it would have been my first post.
cm9 issue
thanks did you get my replies to your pm? i can't figure this out haha
download cm9 and the gapps add-on(with your phone) in the first post of the cm9 thread. boot into recovery, fimd your rom and gapps files, flash cm9 there, then flash the gapps(google apps), then reboot. you do not need rom manager.
Hmm cm9 does not come pre loaded with android app market so u will have to download the latest gapps from other posts in this forum... then copy it into ur phone from ur computer...then after going to cwm recovery use the volume up down buttons to scroll and the power button to choose...u will have to remember where u pasted the gapps file and u will have to navigate to it ...choose the gapps file and scroll down to yes to flash it then go back and reboot...that's it u will now have google apps in ur nexus s...Remember u do not need to open the downloaded gapps zip file as there is nothing u can do by opening it...good luck and happy flashing...
Sent from my Crespo using Tapatalk
Must not of searched that much if you overlooked that. Gapps is separate. Read the post fully, please.
Sent from my Nexus S 4G using XDA
okay so i downloaded the g apps file and its a folder on my desktop with a few other folders within with random files. i go to recovery on my phone mount my phone drag this folder to my mounted phone. then i go back and do i do instal zip from sdcard? or do i do apply update from sd card? this is where I'm stuck idk where to go from here. if i click install zip from sdcard it makes me navigate and i find the name of the folder but it just brings me to the smaller folders and little individual files it's not just one big file but a bunch of little ones so i can't choose the whole thing.
so im confused
edit: so i guess on my mac when i download the zip file it must unzip it during download and becomes a folder. so i tried compressing the folder back into zip format and go back into recovery and load it but it says installation aborted.
Jessicaa39 said:
okay so i downloaded the g apps file and its a folder on my desktop with a few other folders within with random files. i go to recovery on my phone mount my phone drag this folder to my mounted phone. then i go back and do i do instal zip from sdcard? or do i do apply update from sd card? this is where I'm stuck idk where to go from here. if i click install zip from sdcard it makes me navigate and i find the name of the folder but it just brings me to the smaller folders and little individual files it's not just one big file but a bunch of little ones so i can't choose the whole thing.
so im confused
edit: so i guess on my mac when i download the zip file it must unzip it during download and becomes a folder. so i tried compressing the folder back into zip format and go back into recovery and load it but it says installation aborted.
Click to expand...
Click to collapse
use google chrome browser on your mac and it wont unzip your files
latest gapps http://t.co/LssQaFMj
alright it went through and it's rebooting now..... it worked. thanks everyone for all your help!! im such a noob but i'm learning.
Jess
Jessicaa39 said:
alright it went through and it's rebooting now..... it worked. thanks everyone for all your help!! im such a noob but i'm learning.
Jess
Click to expand...
Click to collapse
we were all noobs before. most important is the learning part.

Stock Recovery Menu TF700T

I managed to get to the stock recovery back from cwm.....thanx to @eoh7678
But now I want to get access to the recovery "menu". I get into the recovery and end up at the android logo with a " ! "
I tried some key combinations but didn't help.
Please help me, thanks
The stock recovery does not have a menu. The only thing it can do is flash a stock firmware file loaded to the root of your internal storage (or external after renaming it). So what you are seeing is perfectly normal.
What are you trying to accomplish and how?
berndblb said:
The stock recovery does not have a menu. The only thing it can do is flash a stock firmware file loaded to the root of your internal storage (or external after renaming it). So what you are seeing is perfectly normal.
What are you trying to accomplish and how?
Click to expand...
Click to collapse
Actually I want to update it from stock 4.2.1 to 4.2.2. I have downloaded the update file from asus website but I don't know how to update it now. Can you please explain me properly? I have copied the update file in /cache. I made a file named command in /cache/recovery
and in that file I inserted "--update_package=/cache/<the update filename> .zip " and saved the file and then booted into recovery.
Nothing happened, the device did not update.
And then I again booted into the OS and found that the "command" file no longer existed! I have tried this 3 times.
-Ngu said:
Actually I want to update it from stock 4.2.1 to 4.2.2. I have downloaded the update file from asus website but I don't know how to update it now. Can you please explain me properly? I have copied the update file in /cache. I made a file named command in /cache/recovery
and in that file I inserted "--update_package=/cache/<the update filename> .zip " and saved the file and then booted into recovery.
Nothing happened, the device did not update.
And then I again booted into the OS and found that the "command" file no longer existed! I have tried this 3 times.
Click to expand...
Click to collapse
The file you downloaded is called something like bla_bla_UPDATELAUNCHER.zip.
Extraxt that zip once and you end up with another zip: bla_bla_user.zip
Take the user.zip and put it into the root level of internal storage. NOT into any folder, just alongside your Downloads, Pictures folders etc., so into /sdcard/
The system should automatically recognize the file and give you a notification. If it doesn't, reboot.
If still nothing happens you either have an incorrect file or read this:
http://www.transformerforums.com/fo...irmware-tf700-tf300-tf101-possibly-tf201.html

Categories

Resources