[Q] [HELP] New To Flashing - Motorola Photon 4G

Couple questions I have.
What is the correct procedure for flashing ROMS? Heard you have to wipe cache and dalvik cache, where do you go to wipe dalvik cache?
Do you always have to flash a ROM twice?
When flashing zips for ROM fixes, do you have to re-install base ROM then the ROM fix? EX - Running AOKP Milestone 5.2, there is a problem with the Internal storage mounting. Downloaded a fix off jokersaxs website. In CWM I cleared the cache, flashed the ROM twice and the Internal memory still can not be found.
Thank you for the Help!

xpainkillerx said:
Couple questions I have.
What is the correct procedure for flashing ROMS? Heard you have to wipe cache and dalvik cache, where do you go to wipe dalvik cache?
Do you always have to flash a ROM twice?
When flashing zips for ROM fixes, do you have to re-install base ROM then the ROM fix? EX - Running AOKP Milestone 5.2, there is a problem with the Internal storage mounting. Downloaded a fix off jokersaxs website. In CWM I cleared the cache, flashed the ROM twice and the Internal memory still can not be found.
Thank you for the Help!
Click to expand...
Click to collapse
1) Depends on what you are flashing. Before flashing the file you will want to read up on it first. Usually there are guidelines in the OP. If you are not sure than best to ask first and make sure you have a backup created. It is a good idea to wipe cache/dalvik several times before flashing. This can be done via your recovery (in CWM dalvik is located under "Advanced" menu) or there are zip files you can flash which will do the wiping for you. I usually do both.
2) No. But with certain roms it is recommended to help prevent issues. Usually if it is needed it will be stated somewhere in the thread.
3) Should not have to but here again it depends on the type of file/fix and if it is necessary should be listed in the OP. Usually just the fix can be flashed otherwise it would be easier for the dev to post an updated rom version to flash.

Related

[Q] format partitions (/system, /data)

Hello!
Today I just wanted to revert back to the newest MIUI weekly (with the stock kernel). It's just suits best for my daily usage. Before that, I've used bunch of Custom ROM's, used Siyah kernel and done some OC.
Now, my question is: Together with the usual things like:
- Wipe data/factory reset
- Wipe cache
- Wipe dalvik cache
Is it good idea to also format partitions under CWM recovery (/system, /data or some others) to get as fresh, clean install as possible (just don't want to have any traces of ROM's, kernels or settings I had before). Didn't find any clear answers about that so that's why I'm posting it here.
Thanks!
I've done it a couple of times, had no problems. Just be sure to have the MIUI (Or whatever ROM you want to use) zip on the SD card.
Hi!
Yes, I do have the MIUI ROM zip on my device. So, to get as fresh install as possible, should I format all those partitions ? (/system, /data, /boot, /cache)?
matee89 said:
Hello!
Today I just wanted to revert back to the newest MIUI weekly (with the stock kernel). It's just suits best for my daily usage. Before that, I've used bunch of Custom ROM's, used Siyah kernel and done some OC.
Now, my question is: Together with the usual things like:
- Wipe data/factory reset
- Wipe cache
- Wipe dalvik cache
Is it good idea to also format partitions under CWM recovery (/system, /data or some others) to get as fresh, clean install as possible (just don't want to have any traces of ROM's, kernels or settings I had before). Didn't find any clear answers about that so that's why I'm posting it here.
Thanks!
Click to expand...
Click to collapse
For best result, install stock ROM & then hard reset . After that you install whatever you want .
Sent from my GT-I9100 using XDA App
Thanks sendhiloo7! I will do it then

[Q] How to return to Stock Kernal?

I've installed clockworkmod on my phone, however I am cautious about installing a rom that requires a different kernel as I'm unsure how to return to stock kernel for a different rom.
How do you return to the original kernel?
You can download a flashable zip for the stock kernel (sorry I dont have a link atm) and you can install a rom which has the stock kernel included. You can also backup your rom in recovery (make sure you have enough space on your sd card, I recommend about 2Gb because a backup can easily be more or less 1.5 Gb) and restore again if you dont want the custom rom anymore. The backup will include the kernel. Always make sure you use the wipe data button in recovery before you install a rom or restore a backup! Also check if the kernel for CDMA or GSM, Idk which one you have, because installing the wrong one may brick your device
Sent from my HTC EVO 3D X515m using xda premium
process to flashing a new ROM... follow this religiously and 99% of the time you will have no issues.
wipe data twice
wipe cache twice
(no need to wipe dalvik cache when you wipe data, because dalvik cache is in the /data/ directory, so when you wipe data, you are wiping dalvik cache)
format system through recovery or do what i have always been doing and flash a .zip that formats system, data, cache, all that for you in one move.
the synergy superwipe.zip is a great tool to use, so is virus' infectedwipe tool. either of those.
also, i haven't been using clockwork mod for a while, but if it is able to backup your boot.img separately, back it up. your kernel is packaged in your boot.img so if you flash a completely stock ROM, and back up your boot.img, you have effectively backed up and saved a copy of the stock kernel.
hope that helps.

Upgrade ROM "SGT7+CM10+Cherry Picks,By meghd00t"?

hi,
this ROM works very nice for me, thanks all the deveopers!
i have few questions:
(1) since this ROM has OTA updater (it seems, from the changelog), next time when the new version is realeased, can i just update the ROM via OTA updater?
(2) i dont really understand what “Wipe cache/dalvik” and “Wipe data / factory reset” really do. my guess is that “Wipe data / factory reset” repartitions the internal flash memory of the original memory, so we can use all the memory for our purpose. (not like original Nook Tablet, in which they dedicate only 1GB for personal usage)
if i understand all these correctly, this means next time if i flash the new ROM and want to keep the old data, i should not do "Wipe data / factory reset", but only need to do "Wipe cache/dalvik"? is this correct?
thanks so much,
Jun
junkoi said:
hi,
this ROM works very nice for me, thanks all the deveopers!
i have few questions:
(1) since this ROM has OTA updater (it seems, from the changelog), next time when the new version is realeased, can i just update the ROM via OTA updater?
(2) i dont really understand what “Wipe cache/dalvik” and “Wipe data / factory reset” really do. my guess is that “Wipe data / factory reset” repartitions the internal flash memory of the original memory, so we can use all the memory for our purpose. (not like original Nook Tablet, in which they dedicate only 1GB for personal usage)
if i understand all these correctly, this means next time if i flash the new ROM and want to keep the old data, i should not do "Wipe data / factory reset", but only need to do "Wipe cache/dalvik"? is this correct?
thanks so much,
Jun
Click to expand...
Click to collapse
Wipe data/factory reset is an option in CWM Recovery. Really all it does (from the screen messages) is format both /data and /cache.
Assuming you have CWM Recovery (though I imagine that there are similar entries in TWRP, I've just never used it), to wipe both of the caches you will first need to go to the entry "Wipe Cache Partition", which I believe is directly below Wipe Data/Factory Reset. Do that 3x (that's always been the recommendation, anyway) then go to Advanced and click on Wipe Dalvik Cache (again, 3x).
Again, assuming CWM Recovery, when you're in the recovery Vol Up/Down goes up and down in the list, the 'n' key is for Enter, and the Pwr button goes back.
I don't know about the OTA Updater. I always download and install ROMs (on both my phone and my NT) via Recovery.
Since this is a CM10 based rom you probably don't want to do the ota updater since that is a Cyanogenmod feature. This rom is optimized for the Nook from the CM10 Source I would presume. I personally tried the ota uldater since i get the notifications all the time but i get an error message something like "can't verify the source with a string of numbers". Stick to the recovery based flash installation.
Sent from my SPH-L710 using xda app-developers app
---------- Post added at 10:48 AM ---------- Previous post was at 10:10 AM ----------
I agree with liquidzoo that you should probably do the wipe cache, wipe dalvik cache and factory reset 3times seems like overkill but you can never be too safe. Also i use twrp recovery and click the system button and wipe system a few times as well.
Sent from my SPH-L710 using xda app-developers app
kobhomye said:
I agree with liquidzoo that you should probably do the wipe cache, wipe dalvik cache and factory reset 3times seems like overkill but you can never be too safe. Also i use twrp recovery and click the system button and wipe system a few times as well.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I wipe /system 3x as well (under Mounts in CWM Recovery) when I'm installing a new ROM.
liquidzoo said:
I wipe /system 3x as well (under Mounts in CWM Recovery) when I'm installing a new ROM.
Click to expand...
Click to collapse
I'm not picking on you personally, but deleting and/or wiping partitions (in the case of /system) or directories (dalvik-cache) three times as opposed to once is completely unnecessary. You'll gain nothing by running the command three times over running it once, assuming you received no errors the first time.
When wiping the dalvik cache, both CM recovery and TWRP perform an "rm -rf /data/dalvik-cache" command using the shell. It's not Windows, and is unlikely to fail when passed the "-f (force)" option along with the "-r (recursive)" option.
In the case of wiping the /system partition, again both CM and TWRP write out zeros to clear the data on the partition. I would be suprised if CWM acted differently from CM and TWRP when wiping dalvik-cache and /system.
The only reason I bothered to look into what these commands actually do is to prevent a user from thinking there's a corellation between a failure to wipe 3x versus a problem they're having. If a 3x wipe "fixes" something for you, whatever the problem was, it's very unlikely that the second or third wipe was what fixed it but instead it was more likely a result of a clean install of the ROM.
References from source:
TWRP Wipe Dalvik - https://github.com/TeamWin/Team-Win...548de276b62c0e9af8661e/extra-functions.c#L986
TWRP Wipe/Format System - https://github.com/TeamWin/Team-Win...8de276b62c0e9af8661e/mtdutils/mtdutils.c#L498
CM Wipe Dalvik - https://github.com/CyanogenMod/andr...aa7ff3d06d5dd115b16c/extendedcommands.c#L1292
CM Wipe/Format System - https://github.com/CyanogenMod/andr...aa7ff3d06d5dd115b16c/mtdutils/mtdutils.c#L498
Have fun modding!
No worries, it's just something I've always done as it's been recommended to me in the past (there are some ROM developers that recommend 5x, actually). I'm not saying that 3x over 1x is any better, but I've never had issues. YMMV, but it doesn't take much more time and I like being thorough.
liquidzoo said:
Wipe data/factory reset is an option in CWM Recovery. Really all it does (from the screen messages) is format both /data and /cache.
Assuming you have CWM Recovery (though I imagine that there are similar entries in TWRP, I've just never used it), to wipe both of the caches you will first need to go to the entry "Wipe Cache Partition", which I believe is directly below Wipe Data/Factory Reset. Do that 3x (that's always been the recommendation, anyway) then go to Advanced and click on Wipe Dalvik Cache (again, 3x).
Click to expand...
Click to collapse
sorry, but can you confirm that when i upgrade to the new ROM (from the same author), it is really necessary to Wipe cache &Dalvik cache?
i am confused because somebody told me that i can just flash the ROM by installing the ZIP file (containing the ROM), and reboot the Nook without having to wipe or clean anything.
thanks,
JK
Flashing a ROM
junkoi said:
sorry, but can you confirm that when i upgrade to the new ROM (from the same author), it is really necessary to Wipe cache &Dalvik cache?
i am confused because somebody told me that i can just flash the ROM by installing the ZIP file (containing the ROM), and reboot the Nook without having to wipe or clean anything.
thanks,
JK
Click to expand...
Click to collapse
I don't know if I am doing it right or wrong but I have flashed numerous ROMs and lately have flashed every version of SGT7+CM10+Cherry Picks,By meghd00t. from 24/09 thru my current installation of 08/10 with only one glitch and that was when I flashed enhancements v2 on top of v1.
I have never had any other issues with the above mentioned ROMs except when I flashed 04/10 with enhancement v2. I didn't have the tablet option.
The way I do it is as follows:
1. format /system
2. format /data
3. Flash ROM
4. Flash CWM emmc
5. Flash GAPPs
6. Reset Factory/format data
7. Remove CWM SD card put in data SD Card with Flash Player (no longer avail on Google Play)
8. Boot from CWM menu
Takes awhile to boot this first time. When booted up I bypass the setup screens.
9. Manually set up wireless (need to access auth web site at work and need wireless to be working to accomplish that)
10. Browse to a web site and get redirected to auth page.
11. Auth
12. Set up Google account and other settings, especially under Security <Install from other locations>
13. Download apps I want from Google.
At this first boot SD card is not mounted.
14. Shut down and do a cold boot.
Now I can see SD Card.
15. Install Flash Player from External SD Card.
16. Install Crackle from Play Store.
Now I check Pandora for Audio, Crackle for Video, other apps I use, utilities, keyboards, launchers, games, etc.
So far since Version 24/09 everything has worked for me with the two exceptions above, tablet mode with 04/10 with enhancement v2 and when I flashed enhancement v2 over enhancement v1.
I am now running 08/10 and am very happy with the performance, battery drain is more than CM7 but that is to be expected from a fairly new ROM but not so bad that it is unacceptable, to me at least.
I have never had a black screen or arbitrary reboot (knock on wood). However I do turn my tablet off when I am finished using it, so don't know about deep sleep. I'm using OnDemand, and three launchers without one being the default....Apex, Nova and Trebucket.
All I can say is these developers really ROCK, way to go guys!
--------------------------------------------------------------------------------
MojoGB said:
The way I do it is as follows:
1. format /system
2. format /data
3. Flash ROM
4. Flash CWM emmc
5. Flash GAPPs
6. Reset Factory/format data
7. Remove CWM SD card put in data SD Card with Flash Player (no longer avail on Google Play)
8. Boot from CWM menu
Click to expand...
Click to collapse
You don't need to re-flash CWM every time you flash a ROM. Also, it doesn't make sense to me why you would do a factory reset/format after flashing the new ROM, I would think it would be done prior to flashing the ROM but maybe it doesn't make a difference, I don't know.
I've got TWRP installed to the emmc so I just download the new ROM to the SD with GooManager, reboot into recovery, do a backup, factory reset, flash new ROM & GApps and reboot. Only takes a few minutes.
Reflash ROM
LifeWOutMilk said:
You don't need to re-flash CWM every time you flash a ROM. Also, it doesn't make sense to me why you would do a factory reset/format after flashing the new ROM, I would think it would be done prior to flashing the ROM but maybe it doesn't make a difference, I don't know.
I've got TWRP installed to the emmc so I just download the new ROM to the SD with GooManager, reboot into recovery, do a backup, factory reset, flash new ROM & GApps and reboot. Only takes a few minutes.
Click to expand...
Click to collapse
Tried it as you mentioned, doing a factory reset before flashing the ROM and got a black screen and wouldn't boot. May have been a fluke but the way I mentioned above gives me a good image and alway boots. Don't know why, but if it works for me, I will continue to do it this way as long as it works for me. I have flashed numerous other ROMs the same way with good results each time.
junkoi said:
sorry, but can you confirm that when i upgrade to the new ROM (from the same author), it is really necessary to Wipe cache &Dalvik cache?
i am confused because somebody told me that i can just flash the ROM by installing the ZIP file (containing the ROM), and reboot the Nook without having to wipe or clean anything.
thanks,
JK
Click to expand...
Click to collapse
For an update, yes it is recommended to clear both caches. To be clear, this is only for an update. If it is a new ROM, or if the author recommends it, you should also wipe /data and /system first.
You can just flash without clearing them, but you might run into unexpected issues, so it's not recommended.
MojoGB said:
Tried it as you mentioned, doing a factory reset before flashing the ROM and got a black screen and wouldn't boot. May have been a fluke but the way I mentioned above gives me a good image and alway boots. Don't know why, but if it works for me, I will continue to do it this way as long as it works for me. I have flashed numerous other ROMs the same way with good results each time.
Click to expand...
Click to collapse
I get a black screen for a while on first boot too, but it only last a couple minutes at the most and if you shine a bright light at the screen you can see the CM logo spinning. Are you sure it was hung?
Sent from my Barnes & Noble Nook Tablet using xda premium
When you clear the Dalvik cache, it clears out data stored in your applications. When you turn on your Nook after clearing the Dalvik, the first thing it does is it rebuilds the Dalvik cache, that's why it seemed like it hung on startup. I believe the long black screen in the beginning is when it rebuilds Dalvik for core Android apps and then when it says "Optimizing Apps", that's for the rest of your applications. The more apps you have, the longer it will take to build the Dalvik. No need to freak out, just a little patience is all you need. Correct me if I'm wrong, however, as I'm still pretty much a noob at this... :laugh:
Flash a Rom
topdawg7793 said:
When you clear the Dalvik cache, it cleares out data stored in your applications. When you turn on your Nook after clearing the Dalvik, the first thing it does is it rebuilds the Dalvik cache, that's why it seemed like it hung on startup. I believe the long black screen in the beginning is when it rebuilds dalvik for core Android apps and then when it says "Optimizing Apps", that's for the rest of your applications. The more apps you have, the longer it will take to build the dalvik. No need to freak out, just a little patience is all you need. Correct me if I'm wrong, however, as I'm still pretty much a noob at this... :laugh:
Click to expand...
Click to collapse
Well fhe screen was black, no light at all and I waited for over five minutes for the Flash Screen to come up and it never did. Yes I know when you are waiting time drags. But due to the ROMS always taking awhile to boot up the first time I actually pay attention to how long it takes. No more then 2 minutes in my experience. I had to hold the power button in for a long time until it finally booted in B&N Recovery. Used my sequence mentioned in earlier post to flash the ROM again and everything worked as it should, GREAT. The number of APPs shouldn't be an issue as these ROMS only have the very basic apps.
I have read this forum and see the various and asundry errors some are getting, so far I have never gotten a major error, except for when I forgot to do the Wipe Data/Factory Reset after flashing.
I also got the "No Tablet Mode Option" with 04/10 with enhancement v2.
But I consider these minor issues and currently am running 08/10 with no issues, works smoother then any version of Microsoft Windows I have dealt with.
These developers are exceptional.
MojoGB said:
I don't know if I am doing it right or wrong but I have flashed numerous ROMs and lately have flashed every version of SGT7+CM10+Cherry Picks,By meghd00t. from 24/09 thru my current installation of 08/10 with only one glitch and that was when I flashed enhancements v2 on top of v1.
I have never had any other issues with the above mentioned ROMs except when I flashed 04/10 with enhancement v2. I didn't have the tablet option.
The way I do it is as follows:
1. format /system
2. format /data
3. Flash ROM
4. Flash CWM emmc
5. Flash GAPPs
6. Reset Factory/format data
7. Remove CWM SD card put in data SD Card with Flash Player (no longer avail on Google Play)
8. Boot from CWM menu
--------------------------------------------------------------------------------
Click to expand...
Click to collapse
oh, so you always reset factory every time you upgrade the ROM? that way will delete all the old data/apps you installed, so you need to install all the apps again?
this is my concern, because i dont want to reinstall apps, or lose my data. so i think i just need flash the new ROM, then Wipe cache/Dalvik cache, and hopefully all the old apps and data are still intact.
thanks.
MojoGB said:
I don't know if I am doing it right or wrong but I have flashed numerous ROMs and lately have flashed every version of SGT7+CM10+Cherry Picks,By meghd00t. from 24/09 thru my current installation of 08/10 with only one glitch and that was when I flashed enhancements v2 on top of v1.
--------------------------------------------------------------------------------
Click to expand...
Click to collapse
i have some questions on the "Enhancements":
(1) the correct way to install them is to flash version 1 first, then immediately flash version 2 right after version 1 (without having to reboot first)?
(2) i am not sure what i will get with this "enhancements". they will make video/audio playing more smoothly? is the quality improvement really noticable? anything else, like they make the battery last longer, for example?
thanks,
Jun
If you're running 08/10, the enhancements are not needed. That's my understanding at least. I had problems with V2 so I decided to not install them while on 04/10.
Sent from my Barnes & Noble Nook Tablet using xda premium
Flash Rom
junkoi said:
i have some questions on the "Enhancements":
(1) the correct way to install them is to flash version 1 first, then immediately flash version 2 right after version 1 (without having to reboot first)?
(2) i am not sure what i will get with this "enhancements". they will make video/audio playing more smoothly? is the quality improvement really noticable? anything else, like they make the battery last longer, for example?
thanks,
Jun
Click to expand...
Click to collapse
If you flash enhancement v2 on top of version 1 you will have problems, UI will stop. If you only flash v2 you will not have the Tablet Mode Option. So my understanding is that you can use either v1 or v2 but not both.
ROM 08/10 does not need either enhancement as indicated by the developer. ROM 08/10 works great by itself is my experience.
If I'm installing a ROM, backup the existing ROM and wipe everything.
If I'm installing a .zip package like GApps or an enhancement, backup the existing ROM, wipe Data/Dalvik.
Folks, these are development ROMS. Thar be bugs in thet thar code. It's going to take you longer than the time you think you're going to save by doing a dirty flash, and then having to restore the thing to stock (worse case) only to start all over.
Don't ask how I know.
wellersl said:
If I'm installing a ROM, backup the existing ROM and wipe everything.
Click to expand...
Click to collapse
so it is possible to back up the existing data/apps, then restore them back after the new ROM is flashed? could you please confirm this?
if so, how & what is the right steps to do the backup? can we still use CWM, or use ROM Manager, or other tools?
thanks

[cwm flash] ROM Wipe & Factory Reset & Cache Wipe

I NOR ANYONE ELSE BUT YOURSELF IS RESPONSIBLE FOR ANY DAMAGES, LOSS, OR ANYTHING ELSE THAT MAY RESULTS FROM FOLLOWING THE INSTRUCTIONS, OR USING ANYTHING FOUND ON THIS PAGE ----USE AT YOUR OWN RISK----
These are some tools I made to save time, and button presses while in Recovery. These are for the i777, and Straight Talk SGH-S959G only.
Flash in CWM Recovery.
If your going from Samsung based JellyBean to an AOSP based ROM you will have a bunch of garbage left over that cannot be wiped from your recovery menu. COOK'S ROM WIPE will remove it.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S ROM WIPE
This one formats system, preload, data, and cache. For a FRESH install. YOU MUST FLASH A NEW ROM, or RESTORE A BACKUP AFTER USING THIS.
DOWNLOAD- COOK'S ROM WIPE.zip - 142.32 KB
(WARNING! Backups of Samsung based JellyBean MUST include "preload". If not you will need to flash the ROM first then restore your backup.)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S KERNEL CLEANER
This one does everything needed for a clean install of the latest AJK Kernel. Wipes cache, dalvik cache, resets STweaks profile, and fixes permissions.
DOWNLOAD- COOK'S KERNEL CLEANER.zip - 146.34 KB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S PRELOAD SAFE ROM WIPE
This one formats system, data, and cache. For a FRESH install (But leaves Preload to be able to restore Samsung based backups that didn't include Preload). YOU MUST FLASH A NEW ROM, or RESTORE A BACKUP AFTER USING THIS.
DOWNLOAD- COOK'S PRELOAD SAFE ROM WIPE.zip - 142.31 KB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S PRELOAD WIPE
This one formats only the preload.
DOWNLOAD- COOK'S PRELOAD WIPE.zip - 142.13 KB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S FACTORY RESET & CACHE WIPE
This one does a Basic Factory Reset, and Wipes Caches.
DOWNLOAD- COOK'S FACTORY RESET & CACHE WIPE.zip - 142.15 KB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S CACHE WIPE
This one only Wipes Cache, and Dalvik Cache.
DOWNLOAD- COOK'S CACHE WIPE.zip - 142.18 KB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S CACHE WIPE + FIX PERMISSIONS
This one Wipes Cache, and Dalvik Cache. Plus fixes permissions all in one simple flash.
DOWNLOAD- COOK'S CACHE WIPE + FIX PERMISSIONS.zip - 146.32 KB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S FIX PERMISSIONS
This one only fixes permissions. Incase this option has been removed from your recovery.
DOWNLOAD- COOK'S FIX PERMISSIONS.zip - 146.22 KB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S CREATE PRELOAD SYMLINKS
This one creates the symlinks that are needed for system apps that are stored in preload/symlink/system/app. It is useful when replacing outdated system apps.
DOWNLOAD- COOK'S CREATE PRELOAD SYMLINKS.zip - 142.54 KB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S CREATE PRELOAD SYMLINKS + FIX PERMISSIONS
This one creates the symlinks that are needed for system apps that are stored in preload/symlink/system/app. Plus fixes permissions. It is useful when replacing outdated system apps.
DOWNLOAD- COOK'S CREATE PRELOAD SYMLINKS + FIX PERMISSIONS.zip - 146.65 KB
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Warning! Currently some ROMs need the cache wiped manually. If you get stuck at the boot animation- wipe cache from the CWM menu
I'm just trying to make everyone's life a little easier. If you're one of the people who prefer to do it manually, Please keep your comments to yourself. Thanks.
OLD VERSIONS
COOK'S ROM WIPE
This one formats system, preload, data, and cache. For a FRESH install. YOU MUST FLASH A NEW ROM, or RESTORE A BACKUP AFTER USING THIS.
DOWNLOAD- COOK'S ROM WIPE
(WARNING! Backups of Samsung based JellyBean MUST include "preload". If not you will need to flash the ROM first then restore your backup.)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S PRELOAD SAFE ROM WIPE
This one formats system, data, and cache. For a FRESH install (But leaves Preload to be able to restore Samsung based backups that didn't include Preload). YOU MUST FLASH A NEW ROM, or RESTORE A BACKUP AFTER USING THIS.
DOWNLOAD- COOK'S PRELOAD SAFE ROM WIPE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S FACTORY RESET & CACHE WIPE
This one does a Basic Factory Reset, and Wipes Caches.
DOWNLOAD- COOK'S FACTORY RESET & CACHE WIPE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COOK'S CACHE WIPE
This one only Wipes Cache, and Dalvik Cache.
DOWNLOAD- COOK'S CACHE WIPE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Warning! Currently some ROMs need the cache wiped manually. If you get stuck at the boot animation- wipe cache from the CWM menu
Nice work.... Less stuff to do. I'll try it out later when I flash the Captivating rom.
Works great. Very convinient as well. I give ye props, sir.
Re: [cwm flashable] Factory Reset & Cache Wipe
Works great, love the all-inclusive script, thanks for sharing this.
Sent from the i777
Re: [cwm flashable] Factory Reset & Cache Wipe
SteveMurphy said:
Works great, love the all-inclusive script, thanks for sharing this.
Sent from the i777
Click to expand...
Click to collapse
Awesome. Thanks.
I will be adding a ROM wipe real soon. It will do a full format for a FRESH install.
Sent from my SGH-S959G
OP updated, added COOK'S ROM WIPE. Check it out.
Thread renamed to include addition.
Sent from my SGH-S959G
I tried the cache wipe, but I encountered an issue where the phone refused to move past the boot ani. It just stuck for for all of 10 minutes. I eventually rebooted into recovery and did the cache wipe manually, after which it booted successfully. Maybe I did something wrong?
Xander_25 said:
I tried the cache wipe, but I encountered an issue where the phone refused to move past the boot ani. It just stuck for for all of 10 minutes. I eventually rebooted into recovery and did the cache wipe manually, after which it booted successfully. Maybe I did something wrong?
Click to expand...
Click to collapse
What ROM are you using?
I have used all of these with SHOstock3, and Slim Bean with no issue. I actually just used the cache wipe without issue. So I'm going to need more information.
Sent from my SGH-S959G
mr-cook said:
What ROM are you using?
I have used all of these with SHOstock3, and Slim Bean with no issue. I actually just used the cache wipe without issue. So I'm going to need more information.
Sent from my SGH-S959G
Click to expand...
Click to collapse
Right now I'm using Sephi's Captivating Rom. I think it's based off of HellyBean
Xander_25 said:
Right now I'm using Sephi's Captivating Rom. I think it's based off of HellyBean
Click to expand...
Click to collapse
Why were you clearing your cache? Were you having an issue with the ROM?
I'm "trying" to download it to test, goo.im is super slow.
Sent from my SGH-S959G
Xander_25 said:
Right now I'm using Sephi's Captivating Rom. I think it's based off of HellyBean
Click to expand...
Click to collapse
Confirmed it hangs at the boot animation after using the cache wipe. This is ROM related, and likely to happen with all CyanogenMod 10.1 based ROMs. For now the only way around it is to wipe the cache from the CWM menu on these ROMs. I will look for a work around, but likely there may not be any way to fix this on my end.
Sent from my SGH-S959G
mr-cook said:
Confirmed it hangs at the boot animation after using the cache wipe. This is ROM related, and likely to happen with all CyanogenMod 10.1 based ROMs. For now the only way around it is to wipe the cache from the CWM menu on these ROMs. I will look for a work around, but likely there may not be any way to fix this on my end.
Sent from my SGH-S959G
Click to expand...
Click to collapse
Ahh.. Understood. It's no big deal. Thanks for looking into it.
Going to try out cooks favtory reset and wipe tonight. Been having some wonkiness outta my rom and i eant to see if a fresh install will help. Thanks Mr Cook.
SGH_S959G
SHOstock3 2.5.6
AJK 1.25
razen_kain said:
Going to try out cooks favtory reset and wipe tonight. Been having some wonkiness outta my rom and i eant to see if a fresh install will help. Thanks Mr Cook.
SGH_S959G
SHOstock3 2.5.6
AJK 1.25
Click to expand...
Click to collapse
Zip worked great. Happy to report
SGH_S959G
SHOstock3 2.5.6
AJK 1.25
mr-cook said:
If your going from Samsung based JellyBean to an AOSP based ROM you will have a bunch of garbage left over that cannot be wiped from your recovery menu. COOK'S ROM WIPE will remove it.
Click to expand...
Click to collapse
I'm curious, what exactly does this script wipe that cannot be wiped from CWM Recovery?
mattdm said:
I'm curious, what exactly does this script wipe that cannot be wiped from CWM Recovery?
Click to expand...
Click to collapse
Preload.
Sent from my SGH-S959G
mr-cook said:
Preload.
Click to expand...
Click to collapse
Huh. I've always been able to wipe format Preload from Recovery.
mattdm said:
Huh. I've always been able to wipe format Preload from Recovery.
Click to expand...
Click to collapse
I believe there's only one kernel with that option
in CWM. Which makes this a valuable tool, besides being easier and faster when flashing a new ROM.
mr-cook said:
I'm just trying to make everyone's life a little easier. If you're one of the people who prefer to do it manually, Please keep your comments to yourself. Thanks.
Click to expand...
Click to collapse
This ^ is quoted directly from the OP.
Any more sarcasm, or flaming will be reported!
Sent from my SGH-S959G
mr-cook said:
I believe there's only one kernel with that option
in CWM. Which makes this a valuable tool, besides being easier and faster when flashing a new ROM.
This ^ is quoted directly from the OP.
Any more sarcasm, or flaming will be reported!
Click to expand...
Click to collapse
Easy there, my posts weren't sarcasm, and I haven't flamed you. I was just trying to find out if there really was something the script could do that I couldn't do. Purely academic.

Help needed - Installing Infamous PAC ROM 4.3

I am getting a fc in setup wizard after installing the Infamous ROM 4.3 "pac_p4_4.3-Infamous_20131017.zip".
Followed below steps:
1. using CWM 6.0.2.7, wipe data/factory reset
2. wipe cache partition
3. wipe delvik cache
4. Flashed Infamous ROM
5. Flashed gaps "gapps-jb-20130813-signed"
6. Reboot
after getting the fc on setup wizard i tried, 1) wiping cache and rebooting 2) reflashing the infamous rom on top again.
both solutions did not work.
I am coming from Ganbarou 4.3 ROM and before that i had Toldo's v8 ICS rom. Ganbarou ROM was working well.
Just wanted to test different JB 4.3 roms.
can someone help me out?
thanks.
Have you tried reflashing gapps?
Sent from my iPhone using Tapatalk - now Free
haven't done that yet. i will try reflashing gaps.
thanks.
ahsenz said:
haven't done that yet. i will try reflashing gaps.
thanks.
Click to expand...
Click to collapse
First you need to update your recovery to 6.0.3.6. You can get it from Droidbasement.
Secondly, before flashing you need to format system under Mounts and Storages in addition to the wipes you mentioned above.
After installation wipe cache and dalvik cache again and then reboot.
The gapps is okay as it is same as mine, and I never had any issues.
Cheers.
Sent from my GT-P7500 using xda app-developers app
John Kester said:
First you need to update your recovery to 6.0.3.6. You can get it from Droidbasement.
Secondly, before flashing you need to format system under Mounts and Storages in addition to the wipes you mentioned above.
After installation wipe cache and dalvik cache again and then reboot.
The gapps is okay as it is same as mine, and I never had any issues.
Cheers.
Sent from my GT-P7500 using xda app-developers app
Click to expand...
Click to collapse
Great advice...
I also always suggest a system format...
I just wanted to add that with the older recovery...it doesn't like 4.3 gapps. You can boot after ROM flash. Then go back to recovery and flash gapps...wipe cache and dalvik before. And that will work also and I've seen gapps cause some weird issues with this device as well as my e4gt..
Or just use twrp...I've had zero issues with flashing anything since switching...
Thanks for the advice. (John and Gil81)
I followed the steps as advised i.e.
1. under Mount and Storage, format system
2. format cache
3. format data
4. flash rom, this time i flashed CM10.2/SGT7 rom.
5. reboot
everything was working smooth, so moved on to
6. flashing gaps
7. reboot and now
8. Enjoying. (restoring apps)
great work from all the developers of 4.3 roms for our device.
have not upgraded the CWM recovery yet, but please advise if it is absolutely necessary to do that. May be i would do it with any future upgrades.
also to get better understanding of the recovery, what is the difference between format data and format sdcard option?
thanks.
ahsenz said:
Thanks for the advice. (John and Gil81)
I followed the steps as advised i.e.
1. under Mount and Storage, format system
2. format cache
3. format data
4. flash rom, this time i flashed CM10.2/SGT7 rom.
5. reboot
everything was working smooth, so moved on to
6. flashing gaps
7. reboot and now
8. Enjoying. (restoring apps)
great work from all the developers of 4.3 roms for our device.
have not upgraded the CWM recovery yet, but please advise if it is absolutely necessary to do that. May be i would do it with any future upgrades.
also to get better understanding of the recovery, what is the difference between format data and format sdcard option?
thanks.
Click to expand...
Click to collapse
Formatting sdcard will wipe everything in your device including the media partition where your user generated data like pictures, videos, downloads etc and also all the files copied to the device from PC. So be careful NOT to format the sdcard.
Formatting data, on the other hand will remove your installed gapps and the associated data. This is necessary when migrating from an older ROM to a newer one that will need you to install different version of gapps that is suitable for the newer ROM. Even when crossing from one ROM to another based on the same version of android, it becomes necessary to format data to get a clean install so the data from the different ROMs do not conflict.
The recovery version, as I understand it, is necessary for the changes to the filing system of 4.3 which is different from 4.2.2. In addition it is also designed to support the multiuser feature of 4.3. I am a single user so I can't attest to how it helps there.
Cheers.
Sent from my GT-P7500 using xda app-developers app

Categories

Resources