[Q] Format Phone ? - Galaxy S I9000 Q&A, Help & Troubleshooting

Is it possible to reformat the phone to an original state ? That is have all the extra file system entries that where added by custom roms to be deleted and have the file system in an original state.
I did an flash with Odin and a low level original rom, but i had the impression it still left symlinks and the likes on the phone ..does odin just overwrite files, or can i really do a clean format ?
Thanks in advance !
Robert

do a hard reset by typing in *#2767*3855# then flash a stock ROM via ODIN and that should do it. you could also wipe cache and dalvik cache and factory rest in recovery mode too. just to be sure nothing custom is left behind.

Thanks, will try next time

Related

[Q] Rom Manager made bad back up image...HELP PLEASE!!!!

I rooted my hero using the 1 click root from the market. I then used rom manager to make a back up image, then flashed cyanogenmod 7.0.2 on it. There was no Market, my home button didnt work, and a few other quirks so I decided to go back to my original os. I clicked on the manage and restore in rom manager. It went thru the process and said restore complete. when it boots up it has overlayed images, and says "the application Settings(process.com.android.settings)has stopped unexpectedly.FC. As i go thru the set up, many of they options are greyed out and not accessable, then when i get to "finish setup" it FC's and says" the application Setup(process.com.htc.android.htcsetupwizard)has stopped unexpectedly. Then i get a black screen. Just wondering if I can get a good Back up image from someone to put on my sd card, then do a restore? I am pretty noob at all this, so any help would be greatly appreciated!!!!!
Mmhmm...first, 1 click bad, second, rom manager...worse in the wrong hands...
Why don't you download the gapps and put it on the root of your sdcard and then flash it after the 7.0.2 and then you'll be ok I'm sure if you take a little time to figure out you may be the only person that can fix your issue. By that, what I mean is in the install steps I'd bet it mentions to install gapps and if it doesn't let me know and I'll get the op to add that step.
As for all your messed up permissions try running fix permissions in rom manager if you can get there.
~maybe I set it too high...
i tried that first but coulnt get it to work, so i downloaded the rom directly from rom manager. The only thing i can do on the phone now is thru clockworkMod recovery
You can do fix permission in cwm also, I think under advanced. Just whatever you do, do NOT format recovery or misc if those options are in your recovery.
If you're in recovery though you're in the right place to flash. It's just
Wipe data /factory reset
Advanced -> wipe dalvik cache
Back
Install zip from sdcard and choose the7.0.2 zip and then thesame thing with gapps.
Reboot system
Edit, you could also just try to restore again from cwm. I'm assuming it holds the backup.
~maybe I set it too high...
ok, im off to bed...i will try this in the morning and post my status, thanks for your help so far
Did you ever wipe between installations and flashes? I always play it safe and wipe boot, cache, data, system and dalvik cache when I am flashing different ROMs and when restoring. Try going back into recovery and wipe what I posted and then restore your backup.
Sent from my HERO200 using XDA Premium App
I couldnt wait, I had to try it....YOU ARE ABSOLUTELY AWESOME!!!!!!!!!!!! Thank you so very much. I already had Rocksteady and Gapps downloaded on my comp, so i put those on the sd, followed your steps and BAMM! Works great! I can not thank you enough!

CyanogenMod bin\fls

How to put cyanogenmod to bin\fls to install it from SFT?And is it any nand from pc explorer (phone is in S\W mode)
download cyanogenmod and install it with cwm
you cannot flash it with smart flashtool
if you have no cwm, you can download this
http://yadi.sk/d/4HLAXYCb4Hdn
and flash this with smart flash tool
after that, cwm will open
data format factory reset , wipe cache ,format system, wipe dalvik
and install cyanogenmodxxxx.zip
I am working on making BIN file from other Files. We got the Bin File figured out, but changing ext4 or creating ext4 image from nothing is very hard. (We can use tools like mkfs to do it already, theoretically) I have a free weekend, but I am going to work mostly on changing the v30 to match our OB.
Dude is it the full stock rom?? Or its just the CWM??

[Q] i897 dont boot

I have Samsung i897 Captivate (i9000) with SlimICS 4.1.1 Cyanogenmod installed.
Yesterday morning I've found, that my phone is repeatedly show me boot screen (video on boot with many blinking pieces/elements colors shown to me), but did not load an Android at all. I've tried to reboot the phone (with battery eject), but nothing changes: phone shows start-up animations repeatedly.
Last my action evening before was setting alarm (usual task that I've done for one year probably). Dont know what reason to reboot was, maybe no free space available, but dont sure. Before this problem with load I have no problems with phone at all.
I have Clockworkmod installed, but there's no options to boot an Android in safe mode or some similar options. I could get access to the internal phone memory, but not for system partitions. I've tried to wipe dalvik/cache, fix permissions, but no changes at boot.
So could you gents help me to get access to the filesystem: I have memo's & uncynchronised contacts & SMS, which I would like to save before do anything. I know how to reinstall the system (I have backup for it, but not for contacts & memo's).
Thanks.
kalabazoo said:
I have Samsung i897 Captivate (i9000) with SlimICS 4.1.1 Cyanogenmod installed.
Yesterday morning I've found, that my phone is repeatedly show me boot screen (video on boot with many blinking pieces/elements colors shown to me), but did not load an Android at all. I've tried to reboot the phone (with battery eject), but nothing changes: phone shows start-up animations repeatedly.
Last my action evening before was setting alarm (usual task that I've done for one year probably). Dont know what reason to reboot was, maybe no free space available, but dont sure. Before this problem with load I have no problems with phone at all.
I have Clockworkmod installed, but there's no options to boot an Android in safe mode or some similar options. I could get access to the internal phone memory, but not for system partitions. I've tried to wipe dalvik/cache, fix permissions, but no changes at boot.
So could you gents help me to get access to the filesystem: I have memo's & uncynchronised contacts & SMS, which I would like to save before do anything. I know how to reinstall the system (I have backup for it, but not for contacts & memo's).
Thanks.
Click to expand...
Click to collapse
The I9000 and the I897 are 2 different phones. I9000 is the international version of the Captivate, therefor, if you flashed the I9000 bootloaders on a I897 Captivate, you'll have distorted colors/screen.
What exactly was done to the phone before this happened?
Pardon, I have AT&T i897 Captivate phone. I did not flashed, nor updated phone, nothing similar, that could affect phone booting process. Just set an alarm (default, from Clocks), then go sleep. In morning found that my phone stuck in boot process - it show boot-up animation but don't load OS.
kalabazoo said:
Pardon, I have AT&T i897 Captivate phone. I did not flashed, nor updated phone, nothing similar, that could affect phone booting process. Just set an alarm (default, from Clocks), then go sleep. In morning found that my phone stuck in boot process - it show boot-up animation but don't load OS.
Click to expand...
Click to collapse
Have you tried re-flashing the ROM (Without factory reset)? Wipe cache and dalvik.
BWolf56 said:
Have you tried re-flashing the ROM (Without factory reset)?
Click to expand...
Click to collapse
No, I'm no so clean understand reflashing process, so worry to lost my data (I know that my contacts lie here - /data/data/com.android.providers.contacts , but can't found where memo's saved). I could choose "Restore /system" from
"Backup & Resore -> Advanced" in CWM, you mean this?
BWolf56 said:
Wipe cache and dalvik.
Click to expand...
Click to collapse
Yes, did it, but no changes at boot at all (wait there >10 minutes).
kalabazoo said:
No, I'm no so clean understand reflashing process, so worry to lost my data (I know that my contacts lie here - /data/data/com.android.providers.contacts , but can't found where memo's saved). I could choose "Restore /system" from
"Backup & Resore -> Advanced" in CWM, you mean this?
Yes, did it, but no changes at boot at all (wait there >10 minutes).
Click to expand...
Click to collapse
Reflashing your ROM won't touch your data as long as you don't wipe/factory reset. It's what we call a dirty flash, you just wipe cache/dalvik and flash your ROM again with the Gapps.
Thank you for the way to resolve the problem. Spend some time to understand the process of reflashing. Now I collected all files (bootloader, ROM, essentials, gapps and so on of my actual setup) and ready to reflash it with Heimdall.
But still have a question: is there any possibilities to get access to filesystem (for maybe just copy all files from system partitions into Big Brother) before take action in my case?
Will I get access to my contacts & memo's after reflashing? As I understand, if I reflash phone, /data & /datadata partitions (as part of freshy ROM reinstall) will be touched too, then I lost as minumum link to the Wizard Memo (and I'm not sure that installing it from Google Play will restore access to my memo's).
As you could realise, I have no actual backup of my data, so asking maybe dumb questions (
Could I simple use Clockwork's mod option "Restore /system" & "Restore /data" (as I have it in almost fresh backup - 2 months ago)? Will it be analogue to reflashing? Or it revert /system and /data to the stage when it was make, with contacts, programs and so on with 2 months ago state, not current?
kalabazoo said:
Thank you for the way to resolve the problem. Spend some time to understand the process of reflashing. Now I collected all files (bootloader, ROM, essentials, gapps and so on of my actual setup) and ready to reflash it with Heimdall.
But still have a question: is there any possibilities to get access to filesystem (for maybe just copy all files from system partitions into Big Brother) before take action in my case?
Will I get access to my contacts & memo's after reflashing? As I understand, if I reflash phone, /data & /datadata partitions (as part of freshy ROM reinstall) will be touched too, then I lost as minumum link to the Wizard Memo (and I'm not sure that installing it from Google Play will restore access to my memo's).
As you could realise, I have no actual backup of my data, so asking maybe dumb questions (
Could I simple use Clockwork's mod option "Restore /system" & "Restore /data" (as I have it in almost fresh backup - 2 months ago)? Will it be analogue to reflashing? Or it revert /system and /data to the stage when it was make, with contacts, programs and so on with 2 months ago state, not current?
Click to expand...
Click to collapse
I guess i wasn't so clear. What I mean by reflashing is to simply get in recovery mode and reflashing RemICS and their Gapps. Not to start fresh with stock.
Sent from my SGH-I747 using xda app-developers app
You explained well, errors on my side Resolved this issue with copying all data from filesystem, then reflashing with fresh slimrom . For those who fall into same situation: you could get access to filesystem of your phone trough ADB tool, and just copy sensible data to another partition/SD/device. See QtADB program also, very friendly for that.

[Q] trying to install Resurrection Remix ROM on GT-I9305

Hey guys,
First time post here. I've looked through the similar threads and I don't think any relate to my problem.
My issue is that after flashing Resurrection Remix ROM (which i believe i have followed the correct procedure) and reboot, all i am rewarded with is that the phone boots into the "downloading...do not turn off target" screen. ie i flash, reboot, and it goes to the download green android.
The obvious question is, what am i doing wrong?
To help you guys answer i'll list my processes below as i do them at the same time:
My phone is a Samsung Galaxy S3 GT-I9305. Android Version 4.1.2. Original stock firmware is installed on the phone
All files were downloaded through the links provided at
HTML:
http://forum.xda-developers.com/showthread.php?t=1815285
1. Rooted phone through Odin.
2. Flashed CWM through Odin.
3. Downloaded the ROM and the GAPPS zip files and transferred files onto external SD card.
4. Entered CWM.
a. wipe data/factory reset
b. install zip from sd card>choose zip from sdcard>installed the ROM.
At this point it all goes well and gets to "Install from sdcard complete.
c. install zip from sd card>choose zip from sdcard>installed the GAPPS.
At this point it all goes well and gets to "Install from sdcard complete.
d. advanced>wipe dalvik cache
Dalvik Cache wiped.
e. advanced>Fix Permissions
Fixing Permissions....Done.
f. wipe cache partition
Cache Wipe Complete.
g. reboot system
And low and behold, it boots into the "downloading...do not turn off target screen".
So. Questions are:
- is this ROM compatible with the GT-I9305? (im 99% sure it is)
- If it is, what am i doing wrong?
Please help guys, I am having the same problems with other ROMS. I DONT WANT SAMSUNG STOCK POO!
Thanks in advance.
myszkowskin said:
Hey guys,
First time post here. I've looked through the similar threads and I don't think any relate to my problem.
My issue is that after flashing Resurrection Remix ROM (which i believe i have followed the correct procedure) and reboot, all i am rewarded with is that the phone boots into the "downloading...do not turn off target" screen. ie i flash, reboot, and it goes to the download green android.
The obvious question is, what am i doing wrong?
To help you guys answer i'll list my processes below as i do them at the same time:
My phone is a Samsung Galaxy S3 GT-I9305. Android Version 4.1.2. Original stock firmware is installed on the phone
All files were downloaded through the links provided at
HTML:
http://forum.xda-developers.com/showthread.php?t=1815285
1. Rooted phone through Odin.
2. Flashed CWM through Odin.
3. Downloaded the ROM and the GAPPS zip files and transferred files onto external SD card.
4. Entered CWM.
a. wipe data/factory reset
b. install zip from sd card>choose zip from sdcard>installed the ROM.
At this point it all goes well and gets to "Install from sdcard complete.
c. install zip from sd card>choose zip from sdcard>installed the GAPPS.
At this point it all goes well and gets to "Install from sdcard complete.
d. advanced>wipe dalvik cache
Dalvik Cache wiped.
e. advanced>Fix Permissions
Fixing Permissions....Done.
f. wipe cache partition
Cache Wipe Complete.
g. reboot system
And low and behold, it boots into the "downloading...do not turn off target screen".
So. Questions are:
- is this ROM compatible with the GT-I9305? (im 99% sure it is)
- If it is, what am i doing wrong?
Please help guys, I am having the same problems with other ROMS. I DONT WANT SAMSUNG STOCK POO!
Thanks in advance.
Click to expand...
Click to collapse
When i change from samsung based to aosp based roms i do these steps beliw
1. Factory data reset
2. Wipe cache partition
3. Wipe dalvik cache
4. Format /system
Resurrection remix is compatible with i9305 since I have previously flashed it
myszkowskin said:
Hey guys,
First time post here. I've looked through the similar threads and I don't think any relate to my problem.
My issue is that after flashing Resurrection Remix ROM (which i believe i have followed the correct procedure) and reboot, all i am rewarded with is that the phone boots into the "downloading...do not turn off target" screen. ie i flash, reboot, and it goes to the download green android.
The obvious question is, what am i doing wrong?
To help you guys answer i'll list my processes below as i do them at the same time:
My phone is a Samsung Galaxy S3 GT-I9305. Android Version 4.1.2. Original stock firmware is installed on the phone
All files were downloaded through the links provided at
HTML:
http://forum.xda-developers.com/showthread.php?t=1815285
1. Rooted phone through Odin.
2. Flashed CWM through Odin.
3. Downloaded the ROM and the GAPPS zip files and transferred files onto external SD card.
4. Entered CWM.
a. wipe data/factory reset
b. install zip from sd card>choose zip from sdcard>installed the ROM.
At this point it all goes well and gets to "Install from sdcard complete.
c. install zip from sd card>choose zip from sdcard>installed the GAPPS.
At this point it all goes well and gets to "Install from sdcard complete.
d. advanced>wipe dalvik cache
Dalvik Cache wiped.
e. advanced>Fix Permissions
Fixing Permissions....Done.
f. wipe cache partition
Cache Wipe Complete.
g. reboot system
And low and behold, it boots into the "downloading...do not turn off target screen".
So. Questions are:
- is this ROM compatible with the GT-I9305? (im 99% sure it is)
- If it is, what am i doing wrong?
Please help guys, I am having the same problems with other ROMS. I DONT WANT SAMSUNG STOCK POO!
Thanks in advance.
Click to expand...
Click to collapse
Hmm.. Please try something like that: when your phone is showing "downloading... bla bla bla" press and hold power button+home button (together) for some time. This should reboot your phone normally. It seems like your recovery is rebooting your phone into download mode (needed for odin).
Try rebooting before installing GApps .
Other usual suspect is you are trying to install the wrong file for a different phone or file is faulty .
jje
Hey guys..thanks heaps for your replies...I have fixed my issue!Lol just carelessness on my end...whilst looking through my original downloads, although not a 100% sure, it looks as if I downloaded and flashed the wrong cf-root package..I think I used the i9300 instead of i9350...so I started from the beginning and used the correct one and multiple ROMs have now been successfully flashed and trying them out thanks all

ROG 2 phone soft bricked

Hello,
today I did have a strange experience with my ROG 2 and my best guess is that there is some UFS problem, but a second opinion or ideas are welcome.
During a bike ride when I was wifi scanning (apps: "Tower collector", "Radio Beacon"), navigating and listening to an audio book, the phone just went dark. I thought from previous experience on a Note 3 that it might have overheated. Pretty much stress proofed from the previous phone.
Yes - it was warm in its bike pocket but really not overly hot.
The phone is an ebay buy 2 months old and has been ever since with omnirom, stable so far. I only noticed that the RGB LED here has no blue light, but I plainly did not care.
I tried to boot it after some 10 minutes again and the phone would not go past its omnirom boot screen until it reboots after some time, boot loops.
30 Minutes later at home I wondered then what is going on, and I copied off the TWRP backup from the phone I took two days ago, just in case.
I then tried to restore the same backup, but the phone switched off during restore after ~30%. This was reproducible, so I thought this may be something with the backup, maybe I cannot restore a partition. When I restore I had all partitions marked and I tested them one by one. The restore of single partitions worked, one by one, except vendor as it was marked read only and data as it failed unpacking (my recent backup then is dead?).
I then tried formatting the partitions, so "data", originally f2fs. I lack experience with journal recovery on f2fs so went to ext4. System was ext4 and was just wiped. I lost of course other data on the internal storage so tried to restore again with my copied backup. It restores, but it cannot boot and just bootloops. I now formatted all partitions, including vendor.
Finally, I tried downloading omnirom again and installed it. It won't boot, it doesn't even get to the boot animation, but just boot loops.
I reformatted data back to f2fs. But no change here.
Trying more: lineageos won't flash for unknown reasons, it immediately dies as "Error installing zip file". Checksum of the downloaded zip is correct.
I downloaded a stock rom and installed it. This is now the best result so far - It does want to boot.
Here I get a boot animation and this incredibly lame "tching" sound (it is a phone, not a sword...). But it also stops there and never continues. Yes, first boot takes longer, but not 10 minutes.
Any ideas what else to try with this phone?
So far, I can boot twrp via sideload and interact with it fine. But that will be it; ran out of ideas.
Happy for suggestions.
Gaya
Use raw firmware to restore everything.
Install latest firmware zip on both slots.
After installing custom roms go to wipe -> format data by typing yes. Otherwise rom wont boot
thanks for getting back, If by raw firmware you meant the ASUS stock, I did. Not sure why data wipe after installation or double install to a/b partition would make a difference, but in the end I am new to this a/b concept, looks though like standard dual boot to me. Tried it, but no difference.
- installed asus firmware to inactive B
- switched to B partition
- installed asus firmware to inactive A
- wiped data
- started, so far same behaviour after 15 minutes of waiting (boot animation with sound, then it repeats boot animation until ...).
There are Two kind of rom raw firmware (used to restore bricked device) and recovery rom (zip file we use for update)
Raw firmware will flash ROM to both the slots, while recovery rom only flash to one slot. So you need to Only select reboot to recovery after flashing ROM to switch to the updated slot.
No, stock rom is not exactly raw firmware. RAW firmware uses EDL mode (in bootloader) to flash the stock rom. Download A10 raw from here version .90.
when extracting it you will see some files.
Steps To flash Raw:
* enable usb debugging in phone.
*connect the phone via side port to pc
open command prompt and run this command
adb devices
adb reboot bootloader
Now go to the folder where you extracted the raw firmware & run "flashall_AFT.cmd" as admin
wait [there will be no output]. After 15 -20 mins your device should boot. If you have any old version stock rom data the phone will carry the data to new version. If you have any custom rom/ updated version of stock rom data, it will ask to factory reset, so do that.
wiping is not exactly formatting so do it the right way
Why format: the one where you format by typing "yes" .If you switch between Roms ( stock to custom or vice versa) and go back to older versions (v .100 to .60) the old/previous rom data cant be used with new one so you must format data.
when formatting is not necessary : If you want to upgrade both stock images (version .90 to .100) & custom rom (v 1 to 1.2) i.e., flashing stock rom and then custom rom over it, you dont need to format data because you can reuse the data from custom rom to updated custom rom.
A/B device use two partition instead of one. so the upgrade can happen in the background. On restart you will switched to updated slot. So room for error is less.
The wiping here should be the same as formatting, as it is running the mke2fs (as per TWRP settings). But raw rom I do not have (I believe).
The link you have there seems broken, could you repost it again?
I did download the stock ROM earlier from ASUS directly, to not violate policies, HTTP links etc, here is only the path on asus . com
pub/ASUS/ZenFone/ZS660KL/UL-ASUS_I001_1-ASUS-17.0240.2103.75-1.1.229-user.zip
That is the one I installed via recovery. Am not sure what is in your mentioned flashall_AFT.cmd though, but suspect some adb sideload at least.
I eventually succeeded, but of course would liek to know
1) why
2) what happened?
I did follow a video about flashing the stock rom, basically as you explained (factory reset and data wipe), twice to a and b partition. That made the device bootable. Why is this needed?
I tested wiping system again (I am used to doing clean flashes) and installed omnirom again, and it failed booting.
I installed again the a/b with stocks, factory reset and data wipe and installed omnirom as dirty flash. All is well.
Now I was able to restore my backup finally without the device switching off and it did not complain about the data backup. So finally I am with my phone again rom and copy data to my fresh partition.
as to 1) why?
I understand a/b partition as sort of windows/linux dual boot with a more separate bootloader maybe. So I do not see the point in flashing the stock rom twice or in rendering the device unbootable when wiping system.
and as 2) what happened.
I may only guess: I did an omnirom upgrade 2 days earlier that worked fine and was the reason for my nandroid.
During my ride, the phone had some whateverissue and rebooted. I am unsure whether i tested booting but assume that after the upgrade it flashed to the other partition and it was not bootable. It does not make sense as this would make a/B partitions rather hard for custom rom makers, e.g. people complaining all the time.
Other guess: there was a file system issue with f2fs. Problem with data partition seems to cause bigger issues.
When I flash to ext4 after testing the bootable rom with a wiped data, it would not boot anymore. After factory reset again, it mke2fs the data partition again, back to f2fs and the device booted again happily.
Thanks for the help. Happy to know/learn more about this issue, as I would love to prevent or handle them quicker with more of I know what I'm doing.
Android Dual Partition (A/B) is made for seamless updates i.e, Dual system/vendor partition but uses same data partition. Lets say you are currently in slot A when you apply system update the slot B gets updated. As always rebooting the device switches to the B partition after update. & further update flashes the system to the A partition.
Basically there is no need to flash stock rom twice, unless you are coming from stock [one partition might be in higher firmware version than other] or there is new stock version with some minor/major upgrades to firmware files.
Our custom ROMs are not stand alone, Mostly it only replaces the system files and keep the vendor same as stock. (also this keeps the ROM update file size to be minimum)
you might even have different version of Android in A/B partition.
Here is a scenario on How A/B works:
Say you are currently using your device in B-slot and A9 so partition on slot-A will be A9 partition slot-B be A9. After that you are doing system update to A10 from System update (not via TWRP)
now you will have A10 on slot-A and A9 on slot-B.
then you want to go to custom rom, so you flashed say omni on A-slot and rebooted & it will surely work.
After that you are using inbuild system update from custom rom any applied it. now the system update will overwrite the A9's system files but (the device specifically needs A10s vendor to work properly). Now comes the fun part i.e., soft brick, boot looping, and corrupt images
That's why you have to flash latest stock to both A and B slots, and overwrite them all with system files from custom rom (also should be flashed once in slots A and B) to get neat experience from custom ROMs.
If you understand what was written above, then you will know the reason behind soft brick.
stock rom flashed only once (firmware image variation may affect stability)
custom rom only flashed in one slot (switching slot will boot loop device)
Not using Reboot to recovery to flash (you will be flashing to the same slot over and over & thus rebooting will boot loop)
Not formatting data ( Just Maybe, your custom ROM and stock uses different file system for data partition)
For Raw files search "ASUS rog 2 RAW firmware images" those files will be around 3 GB in size.

Categories

Resources