Need to make my phone stock through CWM? - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Hi everyone,
Recently my Ace has stopped charging through the USB port. I tried every cable I could find, even the PC cable, but none charge (and the PC doesn't recognize the phone), so I've come to the conclusion that my phone's port is faulty. I'm still under warranty, so normally I would just send it in.
Here's the tricky part. I have cyanogen mod 7.2 flashed on the phone, and I'd rather send it in stock. Before anyone asks, I DID make a backup of stock the moment I got the phone, but in the 6 months I had it, somethings happened and now it won't go back to it (it recovers up to 'data' then fails)
Anyway, I have an external battery charger which lets me charge just the battery, so I'm not on some weird doomclock, and have a 16 gb SD card, and an adapter which lets me load stuff onto it directly from a computer. My ace is the Telstra variant which runs on the S5830TDVKQ3 ## rom, but to be honest I'll be happy to get any ace stock rom onto it.
I was thinking that I could go back to stock by flashing stock kernel, then bootloader, and then rom, then stock recovery? The only problem is, I have no idea how to split up the firmware from SamMobile into those parts and have them flash-able. I've seen a similar thread to this on about a galaxy nexus but not for the ace, can anyone help me out?

so you mean to say, you want to know how a firmware can be converted to a flashable zip.. right ?

download any of the stock based custom roms
get 7-zip, open up the custom rom zip file
navigate to /system/bin
delete the su binary
then go to /system/app
delete superuser.apk
then repack the zip file and flash
this much should be enough to satisfy them at the service center
btw take a backup of your current rom in case something goes wrong

Nandroid backup first.
Try using ext4 manager app which you can get from cf-root post or cf-root flashable zip (open the zip, take the app, put it in system/app with rw-r-r permissions).
Use ext4 manager to convert your file system to rfs. After its done you should be able to restore your stock backup without errors.
Good luck.

Related

What are the issues doing this

With all of the really good roms now a days...that is..
1) Rooting...doing a back up of the stock rom..and then using that backup to return to stock without having to flash through Odin?
I'm guessing here...but..wouldn't you have to have disable any lag fix..going back to rfs..disable any voodoo..changing any oc/uc settings to stock..prior to doing this ?
2) Pulling a copy of the entire EFS folder from stock to your PC before doing any flashing new roms and then prior to un-rooting dropping it back in with root explorer...Won't this do the same thing without having to use a terminal or hex editor to have the original imei # and product code #? If #1 is a complete copy..would #2 be even needed ?
Just looking for a easy way to do this on a brand new phone
Thanks
Mac
Mac11700 said:
With all of the really good roms now a days...that is..
1) Rooting...doing a back up of the stock rom..and then using that backup to return to stock without having to flash through Odin?
I'm guessing here...but..wouldn't you have to have disable any lag fix..going back to rfs..disable any voodoo..changing any oc/uc settings to stock..prior to doing this ?
2) Pulling a copy of the entire EFS folder from stock to your PC before doing any flashing new roms and then prior to un-rooting dropping it back in with root explorer...Won't this do the same thing without having to use a terminal or hex editor to have the original imei # and product code #? If #1 is a complete copy..would #2 be even needed ?
Just looking for a easy way to do this on a brand new phone
Thanks
Mac
Click to expand...
Click to collapse
1) You should basically be doing this everytime you flash a new rom. I've flashed my cappy probly 50 times and everytime except once I went back to stock first. 0 issues -- the 1 time I didn't have a pc at hand and had to disable the lagfix then flash rom. But. going back to stock with Odin3 1 click is easy as long as you can get into download mode. Make sure you can get into dload mode before even attempting to flash a rom.
You only have to disable lagfix if you are not going back to stock prior to flashing a new rom (don't ever flash a rom over another rom without first disabling the lagfix or going back to stock).
2) I never backup my sdcard when flashing rom or master clear (I'm lazy I guess and don't want to wait for the files to transfer). I also keep update.zip as the clockwork recovery update.zip file. So after going back to stock, all I have to do is go into stock recovery and reinstall packages to install clockwork recovery, then I can flash the new rom and any add ons.
mod777 said:
1) You should basically be doing this everytime you flash a new rom. I've flashed my cappy probly 50 times and everytime except once I went back to stock first. 0 issues -- the 1 time I didn't have a pc at hand and had to disable the lagfix then flash rom. But. going back to stock with Odin3 1 click is easy as long as you can get into download mode. Make sure you can get into dload mode before even attempting to flash a rom.
You only have to disable lagfix if you are not going back to stock prior to flashing a new rom (don't ever flash a rom over another rom without first disabling the lagfix or going back to stock).
2) I never backup my sdcard when flashing rom or master clear (I'm lazy I guess and don't want to wait for the files to transfer). I also keep update.zip as the clockwork recovery update.zip file. So after going back to stock, all I have to do is go into stock recovery and reinstall packages to install clockwork recovery, then I can flash the new rom and any add ons.
Click to expand...
Click to collapse
I guess I am wording this wrong...I know how to flash..and I know how to odin back...but I was curious if I could eliminate doing some of that by just using the back up of the stock rom that is rooted..I don't think that can be done with out flashing stock via Odin first (because of the kernels if not using a Captivate kernel )...but if you are using one... I haven't read anything about...cause I really don't know..
I am trying to see if all the EFS files are replaced with the correct #s without having to do and terminal work or use a hex editor..once the back up from Rom manager is put back on and used..Just trying to make a real easy check list about it..
Mac
mod777 said:
(don't ever flash a rom over another rom without first disabling the lagfix or going back to stock).
Click to expand...
Click to collapse
I guess I got lucky cuz one day I was too lazy and away from the PC, but I have a couple of ROMs on my SD so I just flashed Assonance on top of Perception and worked fine.. that is the only time I did that, I always go back to stock with one click ODIN before flashing a new rom
dq13 said:
I guess I got lucky cuz one day I was too lazy and away from the PC, but I have a couple of ROMs on my SD so I just flashed Assonance on top of Perception and worked fine.. that is the only time I did that, I always go back to stock with one click ODIN before flashing a new rom
Click to expand...
Click to collapse
the lagfixes may not have been installed...i think you have to manually install them with the roms you mentioned

Help on Entering Recovery and Flashing Please?

Okay .... I have sucessfully rooted the wife's original Verizon Moto Droid and I have installed CWM via ROM Manager. I have performed a backup of her current ROM.
From the looks of things here, I will just load the ROM I want to flash onto her sd card and then flash it via ROM Manager. Is this correct? If it fails half way through the flash, can I still enter CWM via the key sequence to re-flash/restore the phone to its original state using the backup on the card from ROM Manager?
I gave her this phone when I bought my Samsung Droid Charge when it came out back last March. I can flash ROMs & Kernels on that phone all day long but the Moto Droid is an entirely different animal. I want to be sure of my fail-safes before I flash anything here.
Thanx In Advance for Your Help
Okay ... cwm just didn't take the first time I flashed it. I am now able to enter CWM from a powered off state.
[Q] If I flash a rom and it doesn't take half way through the flash, will I still be able to enter cwm and install the backup of her current rom? That ROM is not in a zip format on the sd card. It is a tar file and the other components in a folder.
I want to be sure I can recover the phone if I experience a bad flash before I attempt anything. Remember, this is my WIFE'S phone !!! LOL
Any help appreciated.
Edit: Also, I installed RSD lite on my computer but when I open it and hook the phone up, it doesn't see the phone. At least, from what I can tell it doesn't. I click 'show' device and nothing happens. Is this a flashing tool or do I put the ROM on sd card and flash via rom manager? And the fail-safe !! Gotta have the fail-safe !!!

[Q] Android curiosity

Hey forum, pretty much a noob (not even 10 posts) I would like to get off my stock AT&T Gingerbread rom (KK4 2.3.5) and I keep looking through the posts for a lil explanation, can't find any. So I'm hesitant to flash roms without properly knowing what is actually going on within. Essentially I would just like to test the water first by rooting so I could get rid of the AT&T crap, and possibly progress to a full-on custom rom. If there are any devs, or passers-by that could assist, I would be more than grateful.
I suppose comparing it to regular PC terms would help best, as i feel I am somewhat savvy with PC's.
Root can be acquired through the [APP]SuperOneClick, or gained through [MOD] FuguRoot: root _any_ stock SGS ROM safely (froyo, GB) or by means of Flashing a Custom Rom (all have Root). See this 【Guide】How To flash Captivate ROMs from Stock (inc. Gingerbread ROMs) or U could flash a Developer's Kernel that has the CWM Recovery baked in and the option to install Root through said recovery (Corn Kernel is one that is based on KK4. I recommend v6.03 because it is very stable).
And be sure to read the Stickied Threads View attachment 868387 in the Captivate General, Q & A, and Delelopment Forums. That will prove to be most helpful.
Very cool. Now i suppose I'm being a pansy about this, but you seem pretty knowledgeable; if (rather when) I take the plunge to a new rom, will that wipe the whole card (which is where I'm assuming that the system is mounted), including any apps that I have gotten, and/or erase the SIM card (I hope not)?
Yes it wipes apps, although those aren't stored in /system they're in /data but a full wipe ROM will clear data. Use titanium backup to backup your apps, move contacts to Sim card or backup to your gmail.
It will not touch your Sim card.
When I attempt to root using SOC it locks up at step 7 (shell root), it freezes. Of any assistance, I look at my task panel, it runs 2 instances of adb.
Sent from my SAMSUNG-SGH-I897 using XDA App
Use the FuguRoot method or just use Odin3 v1.83 to flash the .tar v6.03 of Corn Kernel. The .tar file goes in the PDA slot of the Odin.
Open Odin 1st, Select the PDA tab, Navigate to the .tar kernel (that u sould have downloaded) Connect ur phone to ur pc in Download mode and once Odin recognizes it, select Start. Kernel will get installed and phone will reboot. Afterwards use button combo to get into CWM Recovery (hold volume up and volume down and power button at the same time until u see the att splash screen then release the buttons). U r now in cwm recovery and can install root from there. Look under Reformatting, tweaks and more. There u will find the option to install root.
Sent by XDA Premium App
4-2ndtwin, I would like to verbally thank you, in addition to the "digital" thanks given already, I'm running the Corn Kernel right now, and from what I can see, it's a re-packaged KK4 with CwM to allow installation of root from the Bootloader menu. Now what I'm wondering, is what is the difference between the available kernel's for i897 (Captivate), more specifically those running the 2.3.5 kernel, e.g. corn kernel is re-packaged and does not have VooDoo sound, in PC terms could that be equated to a specific driver for the sound processor vice a generic driver included in the kernel?
Secondarily, just prior to appying root, I backed up everything using Nandroid, is that essentially a 1-to-1 image of what's on the rom?
Third(arily) , does Ti Backup save apps in such a state that I can move the .apk's to my pc desktop, install a custom ROM w/wipe, and re-install the apps as if they were there the entire time?
I appreciate any help.
Voodoo sounds is kinda like that, its a module compiled in the kernel that allows the tweaking of audio levels by the user with an app called voodoo control.
A nandroid is a system image yes, but it is not 1 for 1. They do not contain kernels or modems. Just the firmware and user settings and stuff. So, if you were to flash a different ROM, you would have to flash back to what the backup was made on, then restore the nandroid and it'll be like you never flashed anything.
Tibu backs up the apps and their data top a folder in your sdcard called "titanium backup" just move that whole folder back and forth and it'll work fine. Hell you can even put that folder in a different phone and restore those backups
The reason I was inquiring about Voodoo sound is (call me crazy) the volume reference has gone up a few notches since Froyo i.e. the lowest earpiece volume is twice what it was with Froyo. It's too bad there isn't a "Patchable" kernel that one could add that into.
I hate to admit this, but I always get confused at the term SD Card, as i usually think of dynamic storage that can be removed, not a static, soldered-to-mainboard storage that it is. So if I got a ROM that wiped the entire static storage, wouldn't I also lose the backups that Nandroid made?
Sdcard reffers to the /sdcard partition on the internal sdcard.
A ROM does not wipe this partition, that's where they are flAshed from, it can't wipe itself from existence and still continue the flash.

GT-I9000 Problem with Stock-, Custom-Rom, Kernel and Recovery!

Hello,
I have a big problem with my GT-i9000 (yes its very old!)
I think first I have to explain the situation:
When I was 12 I wanted to learning Android App Development because I can program JAVA and I know that Android is JAVA. So my dad bought me a (used) phone with a Telecom branding from Germany (my home country). The GT-I9000, Samsung's flagship! I began to develop Apps. After a while, I flashed a Custom Recovery and i rooted it to install CyanogenMod 11.2. All went fine! Until i wanted to install TouchWiz over a Mod per CWM. But that went wrong... I don't know how but I was able to flash CM 11.2 again. But everytime when I flashed something, my phone didn't boot right. It always kept in the bootscreen. The cm circle circulated for hours.. But every time it was possible to fix that. I only had to delete my /system folder before flashing anything. But once (now, 2 years after I bought my phone), I wanted to flash Paranoid Android 4.4.4 (I already tested it and all went fine s it wasn't incompatible). I deletd the system folder like everytime and... Status 7... I tried to flash the stock ROM because i cant put another custem rom on my phone without any firmware (remember i deleted /system).
But i dont know my Bseband version and the CSC code... I tried to flash CWM with some Kernels. It was pposible but as i wanted to flash anything, it couldn't find the /sdcard or /sdcard1 folder
What to do? Does anyone know whats my CSC code, and post me a complete package witch all the files I need? :crying:
Hi,
at first there are some things to sort out:
- There's no CM11.2. There is CM11, and there is CM10.2.
- If you install CM11 over a prior version like stock or CM10.2, you will get a Status 7 error to inform you about the changed partition layout and telling you to flash the CM11 zip once more if you really want to install it as your phone will be wiped completely.
- I'm not sure, but just formatting /system isn't sufficient. You should do a complete wipe (don't forget to do a nandroid backup before...)
- If you want to go back to stock, you'll need a 3 files firmware and a proper pit file. Use Heimdall for flashing, and tick repartition.
Sent from my GT-I9000 using XDA Free mobile app

[Q] Usb gone, cant use ODIN, must return it to stock

Hey guys!
I'm currently running the latest CM from nova-fusion but i have a problem with the usb port (its hardware related not software). It shows its still charging if i unplug the charger and i cannot connect it to the pc so i can't use Odin.
I have to restore it to stock everything so i can send it for repairs. I did a nandroid backup of the stock system so i can use that to restore the rom but i don't know how to flash the stock recovery without Odin. I am currently using TWRP 2.7.0.0.
Is "Recovery-Switcher" the alternative i am looking for? Is it capable of flashing my stock recovery back without the use of a cable? Also any thoughts on resetting the counter for custom rom's in download mode?
Thank you in advance!:highfive:
geo91 said:
Hey guys!
I'm currently running the latest CM from nova-fusion but i have a problem with the usb port (its hardware related not software). It shows its still charging if i unplug the charger and i cannot connect it to the pc so i can't use Odin.
I have to restore it to stock everything so i can send it for repairs. I did a nandroid backup of the stock system so i can use that to restore the rom but i don't know how to flash the stock recovery without Odin. I am currently using TWRP 2.7.0.0.
Is "Recovery-Switcher" the alternative i am looking for? Is it capable of flashing my stock recovery back without the use of a cable? Also any thoughts on resetting the counter for custom rom's in download mode?
Thank you in advance!:highfive:
Click to expand...
Click to collapse
I know a way how to get the stock recovery back and reset the custom binary counter back to 0 without Odin.
So, I think you should first restore your backed up stock ROM. Then follow this :
1. Download your stock ROM from SamMobile and save it to your PC.
2. After successful download extract (unzip) it and RENAME the ...HOME.tar.md5 file to ...HOME.zip. Then you are able to extract system.img, cache.img etc. files.
3. Now extract the "recovery.img" file to your desktop. (It's the stock recovery)
4. After that remove your micro SD card from your S3 mini and put it into a other phone or card reader. (A important point!)
5. Move the recovery.img file to your micro SD card and put it back to your s3 mini. (Important point too!)
6. Now download triangle away from : http://forum.xda-developers.com/galaxy-s2/orig-development/2014-01-15-triangleaway-v3-26-t1494114. Install it and open it. Triangle Away can reset and set your phone status back to official. (triangle away needs ROOT access)
7. Reset your custom binary counter (You will get a warning message, this method may risks a soft brick but don't worry, triangle away supports s3 mini but only if you use stock ROM.)
8. Now your custom binary counter should show 0 in download mode.
9. Now download and install "rashr - recovery flasher" from play store. This app can flash recoveries as .img format (this app needs root access too) link to play store : https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools
10. Open "Rashr - Recovery Flasher". Choose "flash revovery" > "other from storage" navigate to sdcard1 (mirco SD card) and choose "recovery.img" and flash it, of course!
11. Now you should have your stock recovery back (check it first )
12. If everything is ok then you are ready to unroot etc.
Good luck!!

Categories

Resources