[Q] how do you make a clockwork recovery zip - Captivate General

i was running root explorer trying to andromeda3 percent battery and deleted the framework-res.apk, as i was about to paste the downloaded version my wife called me for something and i set my phone down so my son picked it up and before i could paste, exited out of root explorer. long story short i had to boot into recovery and adb push the downloaded framework-res.apk into the /system/framework folder to make my phone usable again. luckily i was able to have access to a computer to do this, it made me wonder how i could make a zip that could be installed through clockwork recovery. i figured it was more then just using 7zip or something to zip it. thanks in advance, would be some nice information to know.
*Edit* after taking a second look, i found this thread (http://forum.xda-developers.com/showthread.php?t=796474) that i'm going to study

Related

load boot animations without being in recovery(must be rooted)

I was messing around with root explorer and noticed that i was able to delete my boot animation with it when i was mounted as R/W so i thought i would try to copy one and it also works... so no need to push with adb shell.. here are the steps
1. take the boot animation make sure it is named bootanimation.zip and copy it to your SD card
2. then open root explore and mount R/W and then navigate to the file and press on file till the menu comes up and select copy
3. then navigate to data/local and paste the file in the local directory
and you are done, this can be done with the android_audio.mp3 file as well just paste it to the same place.
just thought this would make it easier for people instead of using adb shell
credit goes to yojoe600
Exactly what I was looking for, I'll give it a try, thanks.
The Animation worked but the Audio didn't, do you also need to put the Audio in a zip file?
I didn't think that you needed root to access /data/
So in that case, would need Root Explorer? Wouldn't any file manager do?
Yeah, you dont need root access at all for this.
just adb push bootanimation.zip /data/local/
palomosan said:
Exactly what I was looking for, I'll give it a try, thanks.
The Animation worked but the Audio didn't, do you also need to put the Audio in a zip file?
Click to expand...
Click to collapse
need to look at the text file in your bootanimations.zip and add the words android to the front of the text in that file

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!

Helping a Friend with a New ROM

First, I do not have an Infuse. I am probably not an expert at ROMing but pretty close. Done it so many times on my DROID, Fascinate, NookColor, and now my Thunderbolt. But every phone/device seems to have their own unique thing going on.
I am trying to look into the ROMing world of the Infuse and it all looks standard. But I am having trouble figuring out the 3e Recovery. What is this about? I know with my Fascinate, I could not use the newest ROM Manager CW because of Voodoo and other reasons. Is that part of the reason why with the Infuse you have to go through these extra steps outside of flashing CW from ROM Manager?
He is not in a position to pay for Root Explorer as of yet. It seems you can install the Modded 3e through Terminal Emulator, correct? And THEN Flash ClockWork (i9000) through ROM Manager and boot into recovery like normal?
The ultimate goal is to install the Infused ROM. I got all the steps down except the first one--and since he can't use Root Explorer as of now, it may be more complicated. Any pointers here?
From what I understand, the stock recovery image on the Infuse (3e) will not allow you to install/flash unsigned .zip files. Modding the 3e recovery removes the requirement that zips be signed, letting you flash clockworkmod. I'm sure you've already seen this thread about installing modded 3e. If you aren't in a position to pay for root explorer, I'd suggest Super Manager instead. It worked fine for me when I modded my 3e. You don't need ADB or a terminal emulator either; there's an option in both root explorer and super manager to mount the system directory as read/write. Once you have the zip on your SD card, you shouldn't need your computer any more at all to finish installing modded 3e.
And yes, after that's done flash the i9000 CWM and it should be smooth sailing!
Thanks for helping out! That explains it perfectly.
Here is an issue I came across: We unzipped the recovery file and placed on SD card (I think it was like 307kb) and then I went and tried to copy it in /system/bin/ first with Terminal Emulator, then again with ADB. On the last step, I assume when I am pushing it to phone fromt he SD, it says it "cannot find" the recovery file.
Anyone come across something similar?
(I did download Super Manager and that seems like a nice option, I will see if that helps instead).
Eddog4DROID said:
Thanks for helping out! That explains it perfectly.
Here is an issue I came across: We unzipped the recovery file and placed on SD card (I think it was like 307kb) and then I went and tried to copy it in /system/bin/ first with Terminal Emulator, then again with ADB. On the last step, I assume when I am pushing it to phone fromt he SD, it says it "cannot find" the recovery file.
Anyone come across something similar?
(I did download Super Manager and that seems like a nice option, I will see if that helps instead).
Click to expand...
Click to collapse
Hm, that is odd. Dumb question, but are you sure you're pointing ADB/the terminal emulator to the right directory on the right SD card? Or is the recovery file properly named? Those are the only things I can think of.
Eddog4DROID said:
Thanks for helping out! That explains it perfectly.
Here is an issue I came across: We unzipped the recovery file and placed on SD card (I think it was like 307kb) and then I went and tried to copy it in /system/bin/ first with Terminal Emulator, then again with ADB. On the last step, I assume when I am pushing it to phone fromt he SD, it says it "cannot find" the recovery file.
Anyone come across something similar?
(I did download Super Manager and that seems like a nice option, I will see if that helps instead).
Click to expand...
Click to collapse
1) You must be root (e.g. rooted with SuperOneclick) to install the "modded 3e recovery"
2) Its permissions apparently must be EXACTLY the same as the original one for it to work - if it has MORE permissions than normal I've heard it may break!
3) I still haven't figured out why you need modded 3e recovery to flash CWM recovery - you should only need root to do so...
I forget my exact steps as I'm a bit of a Unix shell guru, but mine were something similar to:
1) SuperOneClick root
2) ADB shell into the phone
3) "su" within ADB (the superuser app will prompt on the touchscreen here)
4) in another terminal window on the PC (I'm a Linux guy... I can adb push while being adb shell'ed elsewhere), from wherever you have your modded recovery unzippped "adb push recovery /sdcard/recovery"
5) "cp /system/bin/recovery /system/bin/recovery.bak"
6) "busybox mount /system -o remount,rw" (for some reason, the default mount program is really crippled, gotta do busybox remount)
7) "cp /sdcard/recovery /system/bin/recovery"
8) "reboot"

[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.

Help please! Phone wont boot. Need adb expert.

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..

Categories

Resources