edit: I never did figure out how to backup the original rom. As far as rooting it goes make sure that your phone is in download mode and that you are using a real PC. I am using parallels on a mac and I still have yet to figure out how to get my phone connect to the VM in download mode.
Ok so I just got my galaxy S and I have spent a day and a half searching for the answer to this so if I missed it I am sorry.
I can mount the SD card, copy the update.zip (I have tried all of them I could find), reboot into recovery, flash the update.zip, and reboot
When the phone boots back up the superuser.apk is installed, busybox is in the /system/xbin folder but no "su" in the xbin folder.
My phone is an i9000 8GB
Firmware Version 2.1-update1
Baseband version I9000BGJF1
Build Number ECLAIR.BGJF4
I really want to backup the whole system before I flash a new rom.... any ideas on what could be going wrong?
Related
I have a T-Mo G1 that had CM 4.1.11.1 on it and I was looking to upgrade to the newest stable, 4.2.1, using CM recovery 1.4. Something went wrong while upgrading so I decided to unroot the phone. I've read many guides on rooting and unrooting, but something just doesnt seem right to me.
1. When I return to rC29 should Telnet be downloading automatically? Does this mean I still have stored info somewhere in there?
2. When performing tasks in CM 1.4, such as flashing, it prompts me to reboot so I do it. Should I be returned to the recovery screen again after boot every time? I don't remember this happening before...
3. Which update.zip do I use when unrooting, the 177kb (droids on skateboards) or 205kb (red, green, blue, white) file?
4. Can someone give me a guide to unroot and fully wipe with CM 1.4?
Any help is appreciated, thanks alot.
I'll give you the steps to unroot which should answer your questions
1) Flash the stock SPL (the tri colour one). If you have 1.33.2005 (AKA Danger) SPL and you do downgrade to 1.1/RCx YOU WILL BRICK.
2) Flash the RC29 DREAIMG.nbh from the SPL - boot in to it by holding power and camera (it should be tricolour). Telnet should not magically be there, even if it was, doesn't matter
3) Put a recovery image of your choice on the root of the sdcard as 'recovery.img'
4) Flash the recovery image
1. Download recovery.img and copy it to your SD card (see the previous instructions on how to copy from your computer to your Phone's SD card).
2. Download the Hard SPL and copy the zip file to the SD card.
3. All files must be on the root of your SD card.
4. Restart your phone. Wait for your phone to start up fully and show the home screen.
5. After your phone starts up, hit the enter key twice, type "telnetd" and press enter. (Yes, it will start up a contact search, don't worry. Just type it.)
6. Download an Android "Telnet" application from the Market and connect to localhost.
7. If you connect successfully, you will have a root prompt "#".
8. Type the following into Telnet (these commands will give you root access easier in the future):
* mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
* cd sdcard
* flash_image recovery recovery.img
* cat recovery.img > /system/recovery.img
Click to expand...
Click to collapse
After that you can flash the 26I radio then a 1.5/1.6 ROM.
only way i found to unroot completely.. is to go bac thru the unroot process.. then update with an ota.. to remove all root...
unroot g1: http://theunlockr.com/2009/07/05/how-to-unroot-your-t-mobile-g1/
unroot mt3g: http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/
*Double post fail*
mrnv45 said:
only way i found to unroot completely.. is to go bac thru the unroot process.. then update with an ota.. to remove all root...
unroot g1: http://theunlockr.com/2009/07/05/how-to-unroot-your-t-mobile-g1/
unroot mt3g: http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/
Click to expand...
Click to collapse
He wants to re-root I believe, so not point updating.
RC29 and RC7 aren't root enabled ROMs, they just have security flaws which can be exploited to flash root enabled ROMs. Updating doesn't matter...
Thanks for your help, I'll be able to try this in about a half hour, will report back. As you said after step 4, I will need to flash a "26I" radio?
Had to install Telnet manually. Good to see a sign of normalcy here.
Flashing 26I Radio, HTC Recovery 1.6, and CM 4.2.1. Flash Radio, reboot, HTC, no reboot, CM 4.2.1, reboot. Right?
Tried the above, also tried with a reboot in between the HTC flash and CM 4.2.1 flash, stuck at G1 screen.
I'm still stuck at the G1 screen.
Probably be me next.
Finding myself having to do the same thing, somehow doing the CM 4.2.1.? whatever the last one was. I managed to lose root, be really nice to have a second card right now having to move 8 gigs off and repartition it to make it see the R29 image so i get to do literally everything all over again.
As someone once said, Ah Linux! Its Free! assuming your time is worth nothing. So true, lol. well ill be even better once it all works, if i can figure out what it takes to make it all work ill come back and try to help you out. Looks like mine wont see the image cause of my multi-partitioned microSD card. Not sure if yours is like that too or not, something to think about.
virtually painless
Kind of like virtual reality i guess?
Only gotcha i found in going back and reinstalling the RC29 image back on to be able to reclaim root was that my SD card having being partitioned. would cause it to fail. I would hit the tri-color screen, see a real quick gray flash and a message that vanished as quick as it popped up and then i would be stuck back on the colored screen.
So, i backed up the whole card, followed by
removing all data from the card. then running fdisk /dev/sdg. deleting the 3 partitions, writing a filesystem to the root of the disk via mkfs.vfat /dev/sdg , copying the 5 required files over and proceeding to get root and then recreating the paritions and copying data back over.
Back up and running.
mrnv45 said:
only way i found to unroot completely.. is to go bac thru the unroot process.. then update with an ota.. to remove all root...
unroot g1: http://theunlockr.com/2009/07/05/how-to-unroot-your-t-mobile-g1/
unroot mt3g: http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/
Click to expand...
Click to collapse
Thanks XDA - have to do a TMo warranty exchange and this helps greatly.
i already searched all over the place
okay so i rooted my g1 last month and last night it started to get a little laggy. i found a new theme i wanted so i tried to reboot my phone. and it kept getting stuck on the G1 home page. it would start up fine. but i just couldnt get to the recovery page. i got impatient so i tried pressing the camera+power button and i guess i reseted my phone. so today i spent all day trying to re-root my phone and everytime i try to reboot it it comes up with that "exclamation" picture and im sure im doing everything right and im following all the steps. also i am now stuck on the 1.0 firmware will these update eventually?
Relax, you just deleted your custom recovery image. Just download CM 1.4 or Amon_Ra 1.5.2 onto your sd card then try to install the rom you want
i already tried the cyanogen one and it still gives me the same "exclamation" i havent tried to other one yet but i will give it a shot
memphisaccord said:
i already tried the cyanogen one and it still gives me the same "exclamation" i havent tried to other one yet but i will give it a shot
Click to expand...
Click to collapse
Does it boot up fine? Like past the g1 logo then the android logo?
How are you trying to put the custom recovery on ?
You using the terminal emulator ? ADB ? or via fastboot ?
I never had those issue's with my G1.
What you could try is to put the CM recovery 1.4 on and then flash the CyanogemMOD 4.0.4 as that is his most stable cupcake.
If that works try following CM's guide to upgrade to his latest versions.
Hope this helps.
Have you checked to make sure your sdcard is being mounted properly? In recovery, drop to console and execute the following:
# cd /sdcard
# ls
-- if it comes up blank, your card didn't mount. To fix it, execute the following:
# cd /
# mount /sdcard
# cd /sdcard
# s
-- assuming you now see your sdcard's contents, you can get back to recovery as follows:
# recovery
yeah everything boots up fine. i just got a notification to update to 1.6 today so im gonna try and root it again.
EDIT: NEVERMIND EVERYONE, I took the plunge and flashed with odin. Good a time as any to try out froyo JP3 optimism lol
I was mucking around and made a noob mistake of copying some odex files from captivate to i9000 using root explorer. I made a similar post in the general section but please forgive me for posting here aswell (thought it might be more appropriate here +im getting desperate...)
My SGS gets stuck after boot animation ( the files are in system/app
AudioPostcard.apk
AudioPostcard.odex
SamsungWidget_FeedAndUpdate.odex)
I can't seem to delete/modify any files through adb whilst in recovery mode, nor can i seem to push an update zip onto the internel SD
seems like adb might not work properly in recovery mode?... http://androidforums.com/samsung-i7500/35532-android-internal-sd-card-partitions-dead-galaxy.html can i get it working in download mode?
I either get permission denied or other errors (director doesn't exist, or no output etc).
Some possible solutions I've thought of, but haven't been able to work as yet...
- Somehow getting clockwork recovery update.zip onto internal sd? (possible to mount the drive on windows? while in recovery. something like this http://forum.xda-developers.com/showthread.php?t=531310&page=5)
- Using adb to remove/replace files (if i can solve permission and other errors... somehow get su permission approved whilst in recovery mode).
- Using odin to flash over the files? If this is this possible without erasing rest of firmware???
- some special way/button combo to get past the freeze??
I realllllly don't want to reflash my firmware and lose all apps/data/settings/messages... I'd be so crushed...
Some extra details:
- Have adb installed on win7 32bit
- Superuser/root are present on phone, although it seems that superuser needs to set permission for adb??? Thought it had to do that for lagfix though...
-JG1 firmware with 1-click lagfix.
Forever grateful to any helpers!!!
Hello,
I don't know how, but I managed to end up with a system that has /dev/block/mtd* wiped clean. All the partitions contain valid yaffs2 file systems, but all they contain is a lost+found directory.
This includes the recovery partition, which I guess is the reason why I am not able to enter recovery or download mode anymore. No matter how I boot, the phone display only shows the cyanogen^mod splash screen.
I still have root access to the device using adb shell, and I can call flash_image and mount /sdcard as well as /dev/mtd*.
How do I best recover from this situation?
Can I download the missing contents from somewhere? I wasn't even able to find a suitable rescue image, even the clockwork recovery images from koushikdutta.com come as .zips which have to be properly installed.
And is it sufficient to mount mtdX and extract the files there, or do I have to use flash_image?
Thanks for any suggestions!
Here is how I recovered:
Download SpeedMod Kernel
Create a nandroid backup on a working phone, copy that over to the broken one
Copy zImage from SpeedMod kernel to SD on broken phone with adb
Enter shell mode on phone
Look into misc/recovery.fstab to figure out the name of the sdcard block device
Mount sdcard with `mount [blockdev] /sdcard`
Flash zImage with `flash_image boot /sdcard/zImage`
Flash nandroid backups with `flash_image {system,cache,datadata} /sdcard/{system,cache,datadata}.img` (but not data)
Leave the phone without battery for at least 1 and at most 6 hours (my phone appeared completely dead after this operation, not even adb shell access, so I went to bed frustrated)
Now you can boot into download mode again using "adb reboot download" (which didn't work when running the CM7 kernel)
Use One Click Odin to revert to stock firmware
Install 3ButtonFix to get combos working again
Note that the original problem that caused all the trouble was that flashing the stock ROM with Odin One-Click disables the 3 Button combos. You have to use the 3ButtonFix to get it working again.
Ok
Please forgive me I have spent up to 7 hours today searching and trying but to no luck.
So I didnt realise what i was doing and Semi Bricked my Phone. I edited build.prop and saved it in MyExplorer(name?) to try and turn off the camera sounds and when I rebooted, it just gets stuck on the galaxy S 2 screen, boot loop.
I'm on SGSII (Australia) Stock Vodafone's ICS 4.0.3 Rooted.
I have CWM installed but tried a few things:
- I can get into Download MOde (no idea what to do here)
- I can get into CWM mode 5.0.2.7 Recovery mode but cant do anything still.
- I tried various Edify script builders to try and put the original build.prop back in but get multiple Status 0 errors whenever I try update.zip from the SD card.
- I tried rebuilding the backup on there and changing the build.prop file on there and trying to restore but MD5 check fails. Even tried rebuilding the MD5 file with the modified files and still no luck. MD5 files fails.
Would anyone have any suggestions and how to resolve this without a flash or wipe? I didnt back recent backup and will lose everything.
I am coming to a point where I really am wanting to back to Apple
There are 2 build.props attached. One is the bad one that stopped me from booting up and I found another one that was named .bak (extension taken off) I found in the same directory (/SYSTEM)
If anyone can help me build an update.zip to push in via CVM I would greatly be in your debt (I tried for 4 hours with no luck)
If you have recovery and download mode yet nothing is lost.
In first, do saved your apps ?
If you had saved them or if it doesn't matter to you, reflash a rom via recovery
LINK HERE:
http://download.cyanogenmod.com/get/jenkins/2773/cm-9-20120615-NIGHTLY-galaxys2.zip
Flash it GoogleApps folder
http://goo.im/gapps/gapps-ics-20120317-signed.zip
The rom that I attached to the reply is a CM9 ICS version, it's quitly stable and we can have some settings on it.
If it doesn't work reflash with Odin (it's with software who use the Download Mode)
http://hotfile.com/dl/149514867/aea2f22/I9100XXLPQ_I9100OXALPQ_XEO.zip.html
Instructions
-Unzip the Rom Folder ( I9100XXLPQ..........)
-Open the included Odin
-Put your phone on Download Mode
-Click PDA and select I9100_CODE_I9100XXKP*_CL*_REV02_user_low_ship.tar.md5
-Click PHONE and select MODEM_I9100XX*_REV_02_CL*.tar.md5
-Click CSC and GT-I9100-MULTI-CSC-OXA*.tar.md5
-Click Start and don't touch anything still the colored case become green
-And now your phone resurrects
Reply me of results
thanks for your reply
unfortunately i didnt save my apps and havent got backups of my data either
i cant reach the file via ADB either, when i run ADB (have KIES installed and worked before) - adb devices.
nothing shows up when the phone is stuck on "Samsung GS2" screen.
do you have any recommendations around keeping my data there?
If you find the exact same software your on now to download you could try flashing that in cwm without wipes I think that would work i think it replaces all system stuff so it will work, worth a try
Sent from my GT-I9000 using xda premium
understood thanks
what if i just want to flash build.prop via update.zip?
i tried so many methods but it always fails. is anyone able to create a update.zip for me?
i used a GUI script creator to try and update it via CWM recovery mode but it doesnt seem to like it.
If i turn off signature verification, it gives me a (status 0) error saying : E: Error in /sdcard/update.zip
and if i turn on verification toggle, it says E: signature verification failed
can anyone help?
calum96 said:
If you find the exact same software your on now to download you could try flashing that in cwm without wipes I think that would work i think it replaces all system stuff so it will work, worth a try
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
i know there are 2 types of ROMS right? the nonwipes and wipes. i really dont want the wipe versions.
the one i downloaded is 1G which i'd imagine is the wipe version if i were to upgrade via odin?
http://www.androidaddicted.com/firm...-vodafone-australia-firmware-update-1267.html
Can you mount any sd on your pc, because you can the recovery mount trick to access to your data.
When you are in the recovery menu, go to mount and storage and click on "mount usb storage" and the internal and external sd will appear on your pc.
you are posting in galaxy s thread....repost in galaxy s2 thread
I don't think so but then again I don't own a s2 but you can select advanced restore: restore data then flash a compatible ROM, then restore the data if you worried but as I said before flashing the same ROM shouldn't remove user data
Sent from my GT-I9000 using xda premium