Related
After trying different roms and testing different things i realized that a full wipe does not clear everything of your current setup.
If you use root explorer for example and just take a look at your folders and files you will see that there are many files left from older roms.
What is the fastest way to make a totally clean installation with a custom rom (cm9 nightly or rr for example)?
I found an older tutorial here but i think it might be outdated.
Is there some kind of script that i can flash before installing the new rom (that cleans everything but efs files and recovery files for example?).
Or do i have to get a sammy stock rom with 3 parts and pit file and re-partition with odin and flash pack to a custom rom right after ?
in CWM
under mounts/storage
format system,cache,data
then flash rom
Really clean install? Flash rom through Odin. Everything will be wiped.
Odesláno z mého GT-I9100 pomocí Tapatalk 2
nitinvaid said:
in CWM
under mounts/storage
format system,cache,data
then flash rom
Click to expand...
Click to collapse
No as you said it just clears data and cache, that is wiped with full wipe /factory reset anyways. And system is also just the system folder.
The other folders in your root will not be touched by this and will still remain on the phone. But i cant really tell if they are used or not anymore. I can only tell by the content and the creation date that of the folders and files, that a lot of these have to be from older setups.
cz.hook said:
Really clean install? Flash rom through Odin. Everything will be wiped.
Odesláno z mého GT-I9100 pomocí Tapatalk 2
Click to expand...
Click to collapse
What kind of firmware do i need then? I think if i flash without the re-partion tick in odin options the old files would also stay there. and i need a firmware with 3 parts to flash because you need a pit file to do that.
Ofc i would like to have exactly the same partition sizes as before on my phone if i have to repartition.
So i guess i need somebody who has some knowledge with odin and 3 part firmwares.
download the stock rom from samfirmware.com(after signup)!
flash the "md5" file using odin
after fresh install of stock rom, goto settings>storage>format usb storage and format sd card if u have one!
then u can do a factory reset again and you have a clean wiped phone!
cz.hook said:
Really clean install? Flash rom through Odin. Everything will be wiped.
Odesláno z mého GT-I9100 pomocí Tapatalk 2
Click to expand...
Click to collapse
endingcolt007 said:
download the stock rom from samfirmware.com(after signup)!
flash the "md5" file using odin
after fresh install of stock rom, goto settings>storage>format usb storage and format sd card if u have one!
then u can do a factory reset again and you have a clean wiped phone!
Click to expand...
Click to collapse
Are you sure that a 1 part firmware from sammobile will wipe all the internal data and not just update and overwrite the new ones? (im not talking about the sd card, im talking about the system data that you can just see with a root explorer for example).
If you're performing a wipe data/factory reset alongside wiping the cache and Dalvik cache, you are performing a clean install. The residual files you're seeing are stored on the internal storage (the /sdcard partition), if you wish to clear them, go into recovery, mounts and storage, and format the /sdcard partition. Viola!
Also, wrong section. All questions should be posted in Q&A. Flagged.
screamworks
I attached some screenshots now about the files that i mean.
Im not talking about the content of the internal or external sd card.
Look at the misc, lib ,res or proc and preload folders.
Also the script files.
Some files might be related to the kernel settings of course.
Im trying to go on a stock rom now and call "*2767*3855# " for a hardreset and see if that works
EDIT:
Nope the hard reset didnt work, all the files are still there.
Where do i get a ics rom with 3 parts and a pit file that i can temporary install to clean my root folder? or is there a tutorial here somewhere could follow?
External SD not visible after new ROM installation
I rooted my galaxy s2 just a day before and faced an issue. After rooting I installed jelly bean 2.6 ROM(Resurrection and remix) and found my GPRS not working and then I did a factory reset, but unfortunately phone got dead and then I removed the battery and re booted after some time. This only restored 98 applications out of 113 in this new ROM. However, I re flashed the ROM again and all the applications got back to normal, but my SD card was not to be seen after this second flash, before factory reset my external SD card was readable(with the new ROM)
Anuruddha
anu7113 said:
I rooted my galaxy s2 just a day before and faced an issue. After rooting I installed jelly bean 2.6 ROM(Resurrection and remix) and found my GPRS not working and then I did a factory reset, but unfortunately phone got dead and then I removed the battery and re booted after some time. This only restored 98 applications out of 113 in this new ROM. However, I re flashed the ROM again and all the applications got back to normal, but my SD card was not to be seen after this second flash, before factory reset my external SD card was readable(with the new ROM)
Anuruddha
Click to expand...
Click to collapse
the external SD it's mounted on /emmc so, there are your files. You can access to this folder with any file explorer (even the stock one). Just open the file manager, select the "mnt" option on the top, the one between the Home icon and SD icon, inside you can find the emmc folder.
Well i guess i could compare my files with the files of somebody else with rr and delete some of them manually
How To Install This?
am new to all this.just downloaded the pre-rooted I9100XWLPT (4.0.4) firmware.
can anyone please tell me how do i install it in my galaxy s2 gt i9100?
am running Cyanogen Mod Nightly(4.0.4) with Baseband Version XXLPQ.
I WANT A FRESH CLEAN INSTAL. do i have to do it through odin? if yes,please guide me step-by-step.
thank u in advance.
wakeupproject03 said:
am new to all this.just downloaded the pre-rooted I9100XWLPT (4.0.4) firmware.
can anyone please tell me how do i install it in my galaxy s2 gt i9100?
am running Cyanogen Mod Nightly(4.0.4) with Baseband Version XXLPQ.
I WANT A FRESH CLEAN INSTAL. do i have to do it through odin? if yes,please guide me step-by-step.
thank u in advance.
Click to expand...
Click to collapse
Post the link for the pre-rooted firmware you downloaded, so as to make helping you easier.
Jokesy said:
Post the link for the pre-rooted firmware you downloaded, so as to make helping you easier.
Click to expand...
Click to collapse
here is the link:
http://forum.xda-developers.com/showthread.php?t=1608071
wakeupproject03 said:
here is the link:
http://forum.xda-developers.com/showthread.php?t=1608071
Click to expand...
Click to collapse
Since you are currently running CyanogenMod, then follow these instructions:
1. On your phone
-Boot your phone to CWM recovery
-Wipe data/factory reset
-boot your phone to download mode
2. On your Pc
- unzip the downloaded firmware,
- flash the tar.MD5 via Odin
READ Odin Flashing Tutorials here
Swyped from my Galaxy SII
i am also interested in this. Am new with galaxy s 2 well actualy its not even home yet =D but i got experience with HTC HD2, isnt there somethink like Task29 or similar or its odin exactly the same think, so that what am looking for? And would it be good to manuali format it with a pc, like when i conet galaxy s2 to pc and then via program format the comlet internal memory fat32 and ext3 or how it is made at that phone
ass this is already some time, ODIN is the best option on gs2, had my problems on start caus of imei restoration, was confuzing to learn all the stuff i needed as a brand new starter with it =D but got it done, but am suffering the loss of volume buttons, had to do an usb jig for 5cent :good: prety cheep jeh, now am on AOSP Neatrom 5.8 A.KK 4.4.3 slim, recomending it =)
Hi
First of all, yes, I am aware that there are tools for my question, I just wanted to know the principle of how it works out of personal interest.
I have a rooted S3 and am trying to delete some of my bloatware. There is a list here ( http://forum.xda-developers.com/showthread.php?t=1634624 ), which tells which application is safe to remove. Now my questions:
1. The list says which apk files to remove, but that should not be enough, right? There are also the files that are created during installation (data, cache, installation files), is that the "package name"?
2. Do tools like Titanium Backup uninstall all of the above files (data, cache) of the app as well?
Thanks for your help!
N.
Titanium removes all of it
R: Questions regarding bloatware removal
I remember a tool which uses aroma (u can flash the package thru clockwork and it will go trhu all options) that was meant to clean up bloatware from s3. (Plus add some stuff from cyanogen.
Pala tool for s3.
I used it it does what u tell it to do. Good tool.
Sent from my GT-I9300 using xda app-developers app
You can use Rom Cleaner. That's what killbubble was talking about.
It's safe and you can add or remove apps according to your wishes. But read the thread first!
Uses Anono ROM it´s free of the bloatware. The best rom ever.
glbr79 said:
The best rom ever.
Click to expand...
Click to collapse
no.
glbr79 said:
Uses Anono ROM it´s free of the bloatware. The best rom ever.
Click to expand...
Click to collapse
But slow and still with bloat.
jje
Thanks for all the replys. Like I said I'm aware that there are ROMs and tools out there that deal with that problem. I just wanted to know the principles behind it.
Anyone has an answer for my first question?
Neur0mancer said:
1. The list says which apk files to remove, but that should not be enough, right? There are also the files that are created during installation (data, cache, installation files), is that the "package name"?
Click to expand...
Click to collapse
1. The list says which apk files to remove, but that should not be enough, right? There are also the files that are created during installation (data, cache, installation files), is that the "package name"?
Two methods of removing bloat .
One remove from the rom before install .
Two remove after install and as you say some apks will create other files .
But many create no files until first used .
You can attempt to find these files in many cases it will be guesswork .
Wiping dalvik and cache in recovery will remove all in those areas and rebuild upon boot .
Installation files not seen any .
jje
Hi, i bought my galaxy November 2012 and since then I've made about 30-35 installations of roms..I searched around the forum and it seems that there are leftovers from previous installations, also, in some posts there are scripts that can clean your device, but the download links are broken...Can I delete leftovers manually with a root explorer?
Also, I've noticed that odin has became extremely slow, yesterday i waited for it for 40 minutes, several times I decided that it was stuck....but it wasn't; can this slowness be related to files, left from previous installations?
I saw this app - "Root Cleaner", should I try it out?
How can I make completely clean installation so that nothing old survives? If I use pit. file and odin stucks, will I be able go in "download mode" and reinstall...?
Hope that you can direct me! Thanks.
P.S. I'm trying to be understandable, but my English is not exactly perfect,so don't get mad
Downloading of script can be done, the links are perfectly fine!
I recommend Hawkerpaul's Nuke script (warning: this will delete every thing on yor device!!!)
Do not under any circumstances use .pit files!! Only if you're absolutely 101% sure what you're doing - then you can use .pit files. And there's a splendid Odin guide made by XDA's Hopper8. here you can read about it.
TheMasterOfToast said:
Downloading of script can be done, the links are perfectly fine!
I recommend Hawkerpaul's Nuke script (warning: this will delete every thing on yor device!!!)
Do not under any circumstances use .pit files!! Only if you're absolutely 101% sure what you're doing - then you can use .pit files. And there's a splendid Odin guide made by XDA's Hopper8. here you can read about it.
Click to expand...
Click to collapse
I'm definitely not sure what I'm doing, so I won't use .pit files. So i got this one: http://forum.xda-developers.com/showthread.php?t=2100558
I'm a complete noobie, i've read about it, there are 4 scripts, i'm not sure which one to use...
GS2ROMWipe - This wipes pre-defined areas of your device without performing any backups beforehand.
GS2ROMNuke - This does everything a Wipe does, and also deletes the following Android/Application-related folders on the internal and external SD Cards.
GS2ROMReset - This performs a additional tasks on top of a standard factory reset for your current ROM. This is designed to return you current ROM to its factory defaults. You will not have to re-install your ROM after running this. Just reboot and you will enter the Android installation wizard as normal on the first run.
GS2ROMClean - This will remove the following known temporary and corrupt files and folders.
It will attempt to remove them from your internal/external SD card.
I will use Nuke.It says to run it only before rom installations,but how does it work? I go into recovery, install it and how do I run it?
umex said:
I'm definitely not sure what I'm doing, so I won't use .pit files.
Click to expand...
Click to collapse
Good choice, same as i would!
umex said:
GS2ROMNuke - This does everything a Wipe does, and also deletes the following Android/Application-related folders on the internal and external
...
I will use Nuke.It says to run it only before rom installations,but how does it work? I go into recovery, install it and how do I run it?
Click to expand...
Click to collapse
Okay, but keep in mind that this will delete everything even from your internal and external sd cards. So if you have anything of value, anything at all - back it up.
I suggest you download HC-kTool from play store. Back up /efs. Then the files that appear after the /efs folder backup - back them up to your PC or a cloud storage (eg. dropbox) If you want to know which files had been created, sort the files after date. (keep in mind that there will be folder created too and if you've chosen a 'folder come first' policy in your file explorer, those folders will appear after all the lonesome files)
Just to check. In my phone (i just ran it again) there will be two files and three folders containing the necessary files to perform a /efs backup.
Now that /efs is backed up - you are good to go. Just 'flash' the nuke zip file as you would flash any ROM/kernel
Good luck.
TheMasterOfToast said:
Good choice, same as i would!
Okay, but keep in mind that this will delete everything even from your internal and external sd cards. So if you have anything of value, anything at all - back it up.
I suggest you download HC-kTool from play store. Back up /efs. Then the files that appear after the /efs folder backup - back them up to your PC or a cloud storage (eg. dropbox) If you want to know which files had been created, sort the files after date. (keep in mind that there will be folder created too and if you've chosen a 'folder come first' policy in your file explorer, those folders will appear after all the lonesome files)
Just to check. In my phone (i just ran it again) there will be two files and three folders containing the necessary files to perform a /efs backup.
Now that /efs is backed up - you are good to go. Just 'flash' the nuke zip file as you would flash any ROM/kernel
Good luck.
Click to expand...
Click to collapse
Thanks for the assistance! I ran the script through recovery and it "wiped" everything then it warned me to flash new rom.I did so, everything went OK , but it hasn't wiped the internal sd card, all my files are still there, i hope it has erased the leftovers from previous installations....Thanks again!
umex said:
Thanks for the assistance! I ran the script through recovery and it "wiped" everything then it warned me to flash new rom.I did so, everything went OK , but it hasn't wiped the internal sd card, all my files are still there, i hope it has erased the leftovers from previous installations....Thanks again!
Click to expand...
Click to collapse
It wont delete everything in sdcard. The system files will be there, but application data wont.
Glad it worked out!
PS. Don't say thanks - press it!
After coming from stock I rooted and installed imperium, in it's aroma installer I choose to have nexus 5 walpapers, then after I reflashed stock rom via odin and rooted, then reflashed a custom rom in the path emulated/0/0/imperiun there are about 15nexus 5 walls, if I delete them after a restart they reappear, if I delete hem through my laptop after a reboot they are still there. I always do a ful whipe when installing a new rom, eaven when I update, but they are still there. Is there a way to get rig of them, or to format the emulated folder when I install a new rom?
dark'em said:
After coming from stock I rooted and installed imperium, in it's aroma installer I choose to have nexus 5 walpapers, then after I reflashed stock rom via odin and rooted, then reflashed a custom rom in the path emulated/0/0/imperiun there are about 15nexus 5 walls, if I delete them after a restart they reappear, if I delete hem through my laptop after a reboot they are still there. I always do a ful whipe when installing a new rom, eaven when I update, but they are still there. Is there a way to get rig of them, or to format the emulated folder when I install a new rom?
Click to expand...
Click to collapse
Yes there is a way to totally format your whole phone (even the system folder). MegaWipe can do that: http://forum.xda-developers.com/showthread.php?t=1832326
Note: MegaWipe will delete your ROM from your phone as well, so you will need to download a ROM and place it in your external sd and after flashing MegaWipe, flash the ROM without rebooting the phone. Because there will be no system to load if you install no ROM.
This is one way to do that. I think there are other ways to do this also.
Thank you.
vinte007 said:
Yes there is a way to totally format your whole phone (even the system folder). MegaWipe can do that: http://forum.xda-developers.com/showthread.php?t=1832326
Note: MegaWipe will delete your ROM from your phone as well, so you will need to download a ROM and place it in your external sd and after flashing MegaWipe, flash the ROM without rebooting the phone. Because there will be no system to load if you install no ROM.
This is one way to do that. I think there are other ways to do this also.
Thank you.
Click to expand...
Click to collapse
Thank you! This is very helpful
Hey,
1st post here at xda. I have a s3 running 4.12 , stock rom vodafone in ireland.
I installed CWM and rooted phone. Then done a backup with CWM.
I tried to install R5 stock rom from internal sd card, i selected the zip file and the installation started but had an error
i coulnd;t see.
At this stage i panicked a bit. I tried again but wiped internal sdcard in CWM before i started.
Now the phone wont boot to any OS (since tried to install 2 other custom roms from xda, both times screnn went blank after choosing installation options)
Cant recover backup as its no longer on internal sd card.
I can access CWM. Should I start by installing stock rom from samsung site ?
Am I doing the custom rom installation correct by using CWM to install from zip file in sd card ?
I tried to install roms with odin but its looking for tar file ?
thanks for reading,
Phil
You are heading for a hard brick by not understanding what you are doing.
Go and read all the sticky threads in general forum, then carefully follow the guide on how to return to stock.
Once you have your phone working again then install the latest recovery version (I'd suggest philz), backup your efs, then try again.
Read and understand before you hit go.
Sent from my GT-I9300 using Tapatalk
Flash custom rom with recovery or odin?
boomboomer said:
You are heading for a hard brick by not understanding what you are doing.
Go and read all the sticky threads in general forum, then carefully follow the guide on how to return to stock.
Once you have your phone working again then install the latest recovery version (I'd suggest philz), backup your efs, then try again.
Read and understand before you hit go.
Sent from my GT-I9300 using Tapatalk
Click to expand...
Click to collapse
thanks. Read the general forum, was helpful. Its a great site, but in fairness there is so much information and some of it is conflicting to me, (maby i'm losing it!)
got the phone booting up again so happy days. will take my time and do backup before trying any custom roms.
After spending days reading how to flash custom roms, i'm still not getting how to 'flash custom rom' , as per the instructions i add zip to sd card then use custom recovery to run zip file ? Other places say to use odin, but every custom rom i've downloaded doesn't contain a tar file ?
Just want to improve battery life with a better rom, phone is 2 years old and battery isn;t the best.
thanks
Do your research before attempting things like this. I'm relatively new in flashing, before I began the first time I made sure I followed and understood every steps before proceeding, go check youtube for tutorial videos if you are really not sure, sometimes it pays being paranoid
philophilo said:
thanks. Read the general forum, was helpful. Its a great site, but in fairness there is so much information and some of it is conflicting to me, (maby i'm losing it!)
got the phone booting up again so happy days. will take my time and do backup before trying any custom roms.
After spending days reading how to flash custom roms, i'm still not getting how to 'flash custom rom' , as per the instructions i add zip to sd card then use custom recovery to run zip file ? Other places say to use odin, but every custom rom i've downloaded doesn't contain a tar file ?
Just want to improve battery life with a better rom, phone is 2 years old and battery isn;t the best.
thanks
Click to expand...
Click to collapse
Hi there,
you've got to understand that your first post sounded like yo did not do your research at all, which generally tons of people don't do whining about
their bricked devices afterwards in the forums. If you don't understand what you do - don't do it.
Your original mistake was probably not properly wiping and/or formatting certain partitions (e.g. one forgotten wipe of system or data partition often puts your phone into BL, all depending on what version you come from & go to etc.) before flashing the zip from CWM (which is the way you usually flash custom ROMS, you're right).
Every ROM provides installation instructions which are to be follwed exactly. Never use a file not made for your specific device. Don't do anything before you know how to revert in case of disaster. Don't do anything before you got a full Nandroid & EFS backup both transferred to your PC. And again, understand what you do.
Memory loss after installing ROM
Benko111 said:
Hi there,
you've got to understand that your first post sounded like yo did not do your research at all, which generally tons of people don't do whining about
their bricked devices afterwards in the forums. If you don't understand what you do - don't do it.
Your original mistake was probably not properly wiping and/or formatting certain partitions (e.g. one forgotten wipe of system or data partition often puts your phone into BL, all depending on what version you come from & go to etc.) before flashing the zip from CWM (which is the way you usually flash custom ROMS, you're right).
Every ROM provides installation instructions which are to be follwed exactly. Never use a file not made for your specific device. Don't do anything before you know how to revert in case of disaster. Don't do anything before you got a full Nandroid & EFS backup both transferred to your PC. And again, understand what you do.
Click to expand...
Click to collapse
thanks benko.
Installed philz recovery and done backup to ext sdcard (errored out was <1 G free space on card)
Done backup to internal sdcard - had about 7GB free
Copied recovery folder back to PC.
Installed Revolution ROM and afterwards noticed internal memory only 1GB
Am now copying the blob folder to PC.
Is this the case with all of the recoveries to use so much space doing a backup ?
Where do I read up on the 0 folder here, i've searched but there is so much info its a bit confusing.
0 folder
philophilo said:
thanks benko.
Installed philz recovery and done backup to ext sdcard (errored out was <1 G free space on card)
Done backup to internal sdcard - had about 7GB free
Copied recovery folder back to PC.
Installed Revolution ROM and afterwards noticed internal memory only 1GB
Am now copying the blob folder to PC.
Is this the case with all of the recoveries to use so much space doing a backup ?
Where do I read up on the 0 folder here, i've searched but there is so much info its a bit confusing.
Click to expand...
Click to collapse
I know the subject has been covered already, just looking for a thread where i can read in simply form about what to do.
I copied blob file to pc , freed up another 4 gb, OS and backups still taking up 12/16GB of internal storage without any user app or data , just not right.