[Q] Upgrading CM 10.2 to a Newer "Nightly" ROM Questions - Verizon Samsung Galaxy S III

Hello All,
I am new at this "flashing" scene and have a few questions. Could someone please tell me exactly what steps I need to take in order for me to put a newer "Nightly" CM 10.2 on my Verizon Galaxy S3? I hate the idea of having to re-download all my apps each time I get a new ROM. One of the questions I have is exactly what is "Dalvik Cache"?
Any help would be really appreciated.
Thanks,
Bruce

I'm not sure what recovery you have installed, but i use Cwm & I backup my ROM to external sdcard. Flash the new nightly & use advanced restore option & restore data only. Its always worked for me, I just wouldn't do it going in between touch wiz & AOSP
Sent from my SCH-I535 using xda app-developers app

Upgrading CM 10.2 Nightly
sjpritch25 said:
I'm not sure what recovery you have installed, but i use Cwm & I backup my ROM to external sdcard. Flash the new nightly & use advanced restore option & restore data only. Its always worked for me, I just wouldn't do it going in between touch wiz & AOSP
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Hi & thanks for responding! I am using the latest release of CWM. What I'm still not clear on is what steps do I need to take to flash the new Nightly?
Thanks!
Bruce

0 - make sure you've back up your IMEI.
1 - always do a nandroid backup
2- titanium backup (TiBu) to back up your apps
3- back up all your data (music, etc) onto your external SD card.
4 - going from TW to AOSP (or from one AOSP to a different one) always do a clean wipe: cache, dalvik, and factory reset.
Would not hurt to format your internal SD card either.
5 - after new ROM installation, can restore your apps with TiBu - restore apps and data. NEVER use restore system data option!!
.... Unfortunately there's no way to install a new build of ROM without having to reinstall your apps. TiBu makes it easier, but they still need to be re installed

Upgrading CM 10.2 Nightly
epagib said:
0 - make sure you've back up your IMEI.
1 - always do a nandroid backup
2- titanium backup (TiBu) to back up your apps
3- back up all your data (music, etc) onto your external SD card.
4 - going from TW to AOSP (or from one AOSP to a different one) always do a clean wipe: cache, dalvik, and factory reset.
Would not hurt to format your internal SD card either.
5 - after new ROM installation, can restore your apps with TiBu - restore apps and data. NEVER use restore system data option!!
.... Unfortunately there's no way to install a new build of ROM without having to reinstall your apps. TiBu makes it easier, but they still need to be re installed
Click to expand...
Click to collapse
Thank you for the info! I will give this a try once the next Nightly comes out.

I've always dirty flashed nightlies and have never had an issue.

With all due respect I would ignore everyone who has posted in this thread so far (except jbjarko's comment). Not sure if they misunderstood the question or if they just have a lot of extra time on their hands.
If you already have CM10.2 installed then all you have to do is download the newer nightly via the cmupdater app (System Settings / About Phone / CyanogenMod Updates) then after it is downloaded select it and click "update".
It's not a back idea to make a backup once in a while (i make a backup using Rom Manager about once a week), but 99.9% of the nightlies will flash just fine. AND if you ever do have a problem after flashing a new nightly just reboot into CWM recovery, wipe cache and dalvik cache, then re-flash the last working nightly.
The vast vast majority of the time you should never need to redownload a single app or reconfigure anything when going from one CM10.2 nightly to another CM10.2 nightly.
So in summary:
1. Use the built-in cmupdater to update from one nightly to the next
2. Always keep the last working nightly on your phone in case you need to flash back one version (cmupdater saves it on your internal sd card in a folder conveniently called "cmupdater")
3. Occasionally make a full backup (a nandroid) using CWM in case things really get jacked up
'Dalvik cache' can be cleared by going to "Advanced" when you are in CWM recovery

Restola said:
With all due respect I would ignore everyone who has posted in this thread so far (except jbjarko's comment). Not sure if they misunderstood the question or if they just have a lot of extra time on their hands.
If you already have CM10.2 installed then all you have to do is download the newer nightly via the cmupdater app (System Settings / About Phone / CyanogenMod Updates) then after it is downloaded select it and click "update".
It's not a back idea to make a backup once in a while (i make a backup using Rom Manager about once a week), but 99.9% of the nightlies will flash just fine. AND if you ever do have a problem after flashing a new nightly just reboot into CWM recovery, wipe cache and dalvik cache, then re-flash the last working nightly.
The vast vast majority of the time you should never need to redownload a single app or reconfigure anything when going from one CM10.2 nightly to another CM10.2 nightly.
So in summary:
1. Use the built-in cmupdater to update from one nightly to the next
2. Always keep the last working nightly on your phone in case you need to flash back one version (cmupdater saves it on your internal sd card in a folder conveniently called "cmupdater")
3. Occasionally make a full backup (a nandroid) using CWM in case things really get jacked up
'Dalvik cache' can be cleared by going to "Advanced" when you are in CWM recovery
Click to expand...
Click to collapse
Thanks for the props. :good:
Well laid out post.
Thanks!

Restola said:
With all due respect I would ignore everyone who has posted in this thread so far (except jbjarko's comment). Not sure if they misunderstood the question or if they just have a lot of extra time on their hands.
If you already have CM10.2 installed then all you have to do is download the newer nightly via the cmupdater app (System Settings / About Phone / CyanogenMod Updates) then after it is downloaded select it and click "update".
It's not a back idea to make a backup once in a while (i make a backup using Rom Manager about once a week), but 99.9% of the nightlies will flash just fine. AND if you ever do have a problem after flashing a new nightly just reboot into CWM recovery, wipe cache and dalvik cache, then re-flash the last working nightly.
The vast vast majority of the time you should never need to redownload a single app or reconfigure anything when going from one CM10.2 nightly to another CM10.2 nightly.
So in summary:
1. Use the built-in cmupdater to update from one nightly to the next
2. Always keep the last working nightly on your phone in case you need to flash back one version (cmupdater saves it on your internal sd card in a folder conveniently called "cmupdater")
3. Occasionally make a full backup (a nandroid) using CWM in case things really get jacked up
'Dalvik cache' can be cleared by going to "Advanced" when you are in CWM recovery
Click to expand...
Click to collapse
Thanks Restola! This should be very helpful!
Bruce

Restola nailed it.
Sent from my SCH-I535 using Tapatalk 4

Related

First Android device, need some help

Hello people of xda-developers
I got my first Android phone, which is an LG G2X 2.3.3 Gingerbread.
I have been searching around and found out you can root your phone which is kinda like jailbreaking an iphone.
I still don't completely understand how to do it though. I've seen a couple of threads that tell you how to root your Android device with something called SuperOneClick, but from what I understand, this doesn't work with the new Gingerbread.
Now from what I understand, you first have to root your phone, then flash it with CWM Recovery with NVFlash right?
Could someone please lead me to the threads that explain how to root a G2X with Gingerbread, and how to flash it with CWM Recovery.
hope this helps
Joseg1320 said:
Hello people of xda-developers
I got my first Android phone, which is an LG G2X 2.3.3 Gingerbread.
I have been searching around and found out you can root your phone which is kinda like jailbreaking an iphone.
I still don't completely understand how to do it though. I've seen a couple of threads that tell you how to root your Android device with something called SuperOneClick, but from what I understand, this doesn't work with the new Gingerbread.
Now from what I understand, you first have to root your phone, then flash it with CWM Recovery with NVFlash right?
Could someone please lead me to the threads that explain how to root a G2X with Gingerbread, and how to flash it with CWM Recovery.
Click to expand...
Click to collapse
although someone did post a way to root the gingerbread rom its pretty complicated for a new user.
the oneclick methods of rooting for the 2.3.3 dont exist.
if you want to be able to flash custom roms(which you do) than follow this link and it will walk you through what to do.
http://forum.xda-developers.com/showthread.php?t=1056847
that will get you where you need to be. but it will not root the rom you are currently using youll need to flash a custom rom for that. in the development section youll see several roms either from source. or that are based on the 2.3.3 release and xboarders is the 2.3.3 with root only thats the only change.
good luck.
Okay I flashed CWM via NVFlash. Now I have a question. How can I backup my apps before flashing a rom. I tried to use Titanium Backup, but that doesn't work because my phone isn't rooted. If I boot into Recovery, do I have to wipe data before I install for ex. CM7 onto my phone? But wouldn't wiping the data delete all of my apps?
Joseg1320 said:
Okay I flashed CWM via NVFlash. Now I have a question. How can I backup my apps before flashing a rom. I tried to use Titanium Backup, but that doesn't work because my phone isn't rooted. If I boot into Recovery, do I have to wipe data before I install for ex. CM7 onto my phone? But wouldn't wiping the data delete all of my apps?
Click to expand...
Click to collapse
Yes wipe everything. Here's a step-by-step method of flashing new roms:
1. Wipe Data/Factory
2. Wipe Cache
3. Wipe Dalvik
4. Wipe Battery stats - HINT. Always flash new ROMs with 100% battery to get the best battery life
5. Format/system
6. install zip from SD card
7. Fix permissions
8. Reboot and Enjoy!
All your paid apps will come again when you login to your Google account and set up your market. In Market, just press the menu button and hit My Apps and you should be able to re-install all your paid apps.
Joseg1320 said:
Okay I flashed CWM via NVFlash. Now I have a question. How can I backup my apps before flashing a rom. I tried to use Titanium Backup, but that doesn't work because my phone isn't rooted. If I boot into Recovery, do I have to wipe data before I install for ex. CM7 onto my phone? But wouldn't wiping the data delete all of my apps?
Click to expand...
Click to collapse
If you have Clockworkmod successfully flashed then you CAN now root without flashing another rom. Download the zip (theres one that roots, and one that unroots should you ever want that) file from the OP of this thread http://forum.xda-developers.com/showthread.php?t=1255214. Save it to your sdcard, boot into recovery and select to install zip from sdcard. Navigate to the zip file and install/flash it. Reboot and you have rooted your system with all your files and apps in place.
phburks said:
If you have Clockworkmod successfully flashed then you CAN now root without flashing another rom. Download the zip (theres one that roots, and one that unroots should you ever want that) file from the OP of this thread http://forum.xda-developers.com/showthread.php?t=1255214. Save it to your sdcard, boot into recovery and select to install zip from sdcard. Navigate to the zip file and install/flash it. Reboot and you have rooted your system with all your files and apps in place.
Click to expand...
Click to collapse
I did this. My phone is now rooted, but I ran into a problem. I tried flashing CM7 through ROM manager, I cleared cache and Dalvik and then flashed the CM7 Rom, but when I go to reboot, the phone freezes at the "T-Mobile G2X with Google" animation.
Joseg1320 said:
I did this. My phone is now rooted, but I ran into a problem. I tried flashing CM7 through ROM manager, I cleared cache and everything and then flashed the CM7 Rom, but when I go to reboot, the phone freezes at the "T-Mobile G2X with Google" animation.
Click to expand...
Click to collapse
Try it without rom manager. Power your phone off and then boot into recovery by holding power + volume down until you see the recovery splash screen. Do a full wipe and then flash cm7 again. After successfully installing cm7, or any rom for that matter, your first reboot may take several minutes while it builds the dalvik cache. Subsequent reboots will be MUCH faster.
phburks said:
Try it without rom manager. Power your phone off and then boot into recovery by holding power + volume down until you see the recovery splash screen. Do a full wipe and then flash cm7 again. After successfully installing cm7, or any rom for that matter, your first reboot may take several minutes while it builds the dalvik cache. Subsequent reboots will be MUCH faster.
Click to expand...
Click to collapse
Ah okay, I didn't know the first reboot takes longer. I'll give it a try from CWM Recovery.
Just wondering, which ROM is the most stable/popular?
Joseg1320 said:
Ah okay, I didn't know the first reboot takes longer. I'll give it a try from CWM Recovery.
Just wondering, which ROM is the most stable/popular?
Click to expand...
Click to collapse
Popular? Its really about personal preference but I'd say cm7, xboarders stock tweaked, miui, weapon, and eaglesblood are right up there at the top. If you want a more stock experience go with xboarders. Cm7 is fairly stock looking with a lot of useful features added. Miui is the opposite end of the spectrum, a very different kind of android indeed lol.
As for stable, any of the ones I mentioned are good, and probably others as well. Cm7 nightly builds are certainly useful enough to be a daily driver, but they have a few issues, but what else would you expect from nightly builds. They are development versions, not final releases.
Try a few and find what you like. Just make sure to keep a good working backup in case you fubar your phone lol.
Alright I got CM7 working and flashed google apps.
Now I have another little problem Before I flashed CM7, I used Titanium Backup to backup some of my game apps. After I flashed CM7, I go to Titanium Backup and none of my apps are there to restore. I connected my phone to my computer and I opened the Titanium Backup folder and the zip files and the PROPERTIES files are all there. How come I'm not able to restore my apps using Titanium Backup if all of the files are there?
I have the .apk files for the apps and I can just install them again, but I'm going to lose my save data.
Joseg1320 said:
Alright I got CM7 working and flashed google apps.
Now I have another little problem Before I flashed CM7, I used Titanium Backup to backup some of my game apps. After I flashed CM7, I go to Titanium Backup and none of my apps are there to restore. I connected my phone to my computer and I opened the Titanium Backup folder and the zip files and the PROPERTIES files are all there. How come I'm not able to restore my apps using Titanium Backup if all of the files are there?
I have the .apk files for the apps and I can just install them again, but I'm going to lose my save data.
Click to expand...
Click to collapse
I have never had success with Titanium Backup. Just reinstall your apks clean and forget about the old data. A clean install is better. Think about doing a new Windows installation. Do you want to import the crap that messed up your Windows in the first place? Android is the same way. Better to not import your old data and start new.
I have never had success with Titanium Backup. Just reinstall your apks clean and forget about the old data. A clean install is better. Think about doing a new Windows installation. Do you want to import the crap that messed up your Windows in the first place? Android is the same way. Better to not import your old data and start new.
Click to expand...
Click to collapse
Wait no! Don't do that you can salvage ur save data.
What happens when you install CM7 is that the sdcard directory now points to your external sd card rather then the internal that comes with the phone.
the internal is now at /mnt/emmc
Get root explorer and you will see what I'm talking about.
Once you have root explorer just copy the titanium backup folder from /mnt/emmc to /sdcard and you should be able to restore all user apps with data... however DO NOT restore system data from stock to CM7... big headaches.
Hope this helps!
thanasisc4 said:
Wait no! Don't do that you can salvage ur save data.
What happens when you install CM7 is that the sdcard directory now points to your external sd card rather then the internal that comes with the phone.
the internal is now at /mnt/emmc
Get root explorer and you will see what I'm talking about.
Once you have root explorer just copy the titanium backup folder from /mnt/emmc to /sdcard and you should be able to restore all user apps with data... however DO NOT restore system data from stock to CM7... big headaches.
Hope this helps!
Click to expand...
Click to collapse
Too late, lol.
I deleted the Titanum Backup folder from my phone.
Oh well, nothing GameCIH can't solve.
Titanium backup goes to you internal sdcard. so you connect to you computer find the folder named TitaniumBackup or something like that, then move that folder to your sd card. Its just a matter of keeping same folder structure that titanium looks for (ie the correct folder name), and puttin the files in there, on the correct external sd card
---------- Post added at 10:21 PM ---------- Previous post was at 10:20 PM ----------
oh also most of the time replacing the app doesn't work, just replace the data and it will work (unless of course you are actually trying to change the app in that case good luck).

multiboot CM7 to Froyo

i may go back to froyo for a weekend, going to a 24Hour GT race, would like everything working properly, vid, cam etc. basically nice and stable.
if i multi boot to froyo do i have to wipe cache/dalvik cache and sd ext. sd and sim inserted or not?
tried this before, ended up with continuos fc of apps when i inserted my sd card.
anyone give a step by step, and how to restore back to CM7?
(secretly hoping CM& is sorted by then, well, we can hope, eh?)
For g3mod,
Use kmapp by rapier07 to configure your multiboot settings
Enable multiboot
Enter recovery backup img and flash the froyo ROM img via multiboot
This will automatically backup your current ROM erase system, cache,etc., and flash froyo on your ROM
If you want to revert back to cm7 just flash the img you previously backuped.
Alternate:
Enter recovery backup everything
wipe everything except sdcard(wipe sd ext)
Flash img or update zip
When you want to revert back to cm7 just restore previous backup
and everything will be back
You will definitely get fcs if you don't wipe sd ext while using second method
In first method you don't need to do anything extra
Sent from my GT-I5800 using XDA
nice on allspark
first option seems the best i have KMApp 1.4.1 installed, but i cant find the multiboot options, data-kernel-tweaks and data conversion using menu button available.....
edit-running G3MOD 2.5 Kernel, forgot to say.
Didn't you find multiboot in data preferences . I think you find it right away on the main screen
Enable multiboot
If you don't try 1.3 which same great features
I can't confirm this as I am on fugumod and cm9 (not supported)
Edit: sorry dude
It is multiosdata
Sent from my GT-I5800 using XDA
use option 2 then!
@Skivit
Check my sig for multibooting...it's all there....but with g3mod 2.5 multiosdata ain't working somehow....dalvik gets wiped when u switch rom....automagicaly....only thing u should do is data wipe when switching to froyo & restore froyo data from multiboot....any [Q]?....just say
if i hit problems, i'll give you a shout!
If all the data in your phone is really very important then also have a nandroid backup in case multiboot fails
Also copy your contacts to sim using contact2sim or save them on your sd card just in case anything fails
Multiboot, nandroid backup and every possible way you try to backup data are extremely unreliable and I lost so much of my data lots of times believing they would work
Sent from my GT-I5800 using XDA
allspark2020 said:
If all the data in your phone is really very important then also have a nandroid backup in case multiboot fails
Also copy your contacts to sim using contact2sim or save them on your sd card just in case anything fails
Multiboot, nandroid backup and every possible way you try to backup data are extremely unreliable and I lost so much of my data lots of times believing they would work
Sent from my GT-I5800 using XDA
Click to expand...
Click to collapse
well....i never lost anything with multiboot.... you don't need full nandroid backup coz "backup_data" in multiboot is working perfectly....and only thingy is that due to multiosdata not working properly(e.g. data partition never gets restored)...so you have to format data & sd-ext partition before restoring other OS data to avoid any fc's due to overwriting data over existing data....that's all....otherwise it's safe...

Proper way to upgrade a ROM

Hey, so this could be a completely stupid question, but what is the 'correct' way to upgrade a ROM? At the moment I reboot into Recovery and then select 'Install .zip from SD card' and just pick the new ROM.
However, in the thread, people are saying to use a command or something? I used an all-in-one tool to remove the bootloader/root my phone (International One X) so I don't know if that command is for people rooting it via Command Prompt or what have you.
I have no idea which way is better, so I thought I'd ask here to make sure I'm not doing anything wrong.
samsaBEAR said:
Hey, so this could be a completely stupid question, but what is the 'correct' way to upgrade a ROM? At the moment I reboot into Recovery and then select 'Install .zip from SD card' and just pick the new ROM.
However, in the thread, people are saying to use a command or something? I used an all-in-one tool to remove the bootloader/root my phone (International One X) so I don't know if that command is for people rooting it via Command Prompt or what have you.
I have no idea which way is better, so I thought I'd ask here to make sure I'm not doing anything wrong.
Click to expand...
Click to collapse
Your method should be fine. You do need to check with the developer though as some updates require a full wipe first in order to prevent any bugs. Use titanium backup or some similar backup program so you can easily restore your apps and settings after a full wipe.
Sent from my S3 on Tapatalk.
RJFrank33 said:
Your method should be fine. You do need to check with the developer though as some updates require a full wipe first in order to prevent any bugs. Use titanium backup or some similar backup program so you can easily restore your apps and settings after a full wipe.
Sent from my S3 on Tapatalk.
Click to expand...
Click to collapse
Ah ok, thanks for clearing it up!
i wasn't sure on that one either, so now i know it's nothing wrong with installing from sd card. i have one question still, where can i find sony ericssons firmware, something like http://www.sammobile.com/firmware/ for samsung.
You can have some stability issues if you don't do a full wipe
I always full wipe and clear cache and dalvik cache before and after install. Overkill probably but never had a problem.
I'd do a full wipe every time but recently the ROM I'm using has been putting out updates every few days, restoring with Titanium each time is such a hassle, definite first world problem.
Your way should work but sometimes when i update without a full wipe some programs FC(force close) and i lags.
I use 4ext for recovery. It has a script that will format and wipe everything that needs to be wiped (except the SD card) then I use Titanium Backup. I bought the pro version which is less of a hassle when restoring.
-place newer rom on your sd card
-backup current rom just incase you need to go back
-use titanium backup to save your apps and app data
-wipe everything, then do it again just to make sure
-install your newer rom
-enjoy
I know this seems like a hassle everytime to update a rom but I usually flash roms 2-3 times a week and I have never had a problem with a rom that wasnt developer related. Hope this helps

SynergyROM Nightlies

I'm just wondering, I am currently on r73 for SynergyROM.
Once ech releases r77+, can I just download r77 onto my sdcard, go into CWM and install?
What's the proper process? Do I have to do a complete wipe?
Or just wipe cache and dalvik and install?
It depends: I prefer to do a full wipe-- which includes wiping data + formatting system in cwm. Just clearing davlik/cache is also known as a dirty wipe, and has a potential of having problems later down the road if you keep flashing dirty. Yes, you can download the .zip file onto your sd card, make a nandroid backup (if you want), and then perform a dirty/clean wipe, then flash the ROM. Don't forget to back up user apps with TiBu!
If the base changes then you'll want to do a fresh install. I'm not sure what base eschelon is using at the moment since its been a while since i used synergy. But i'd assume hes updating to the latest base in which case you'll want to a fresh install.

Restore from TWRP now my Directories are whacked?

So I have been doing a lot of flashing and I wanted to clean up my phone so I did a full wipe,factory reset and then rooted,unlocked bootloader and flashed TWRP 2.6.3.Then I backed up my fresh image of Samsung Touchwiz.Then I moved my TWRP backup of my Carbon setup into the backup directory created by my initial backup.then I did a restore of that backup.Now my problem is that my directory structure is out of whack.I plug the phone into the PC and all I see is Rocket Player,Android and clockworkmod folders in that order.I can't access Music or set a custom ringtone,those directories are not found.I can no longer see the original backup either,Trying to figure out what I did wrong.Did I need to flash Carbon and Gapps first and then do a restore?I missed a step somewhere just wondering if anyone can shed any light.
Thanks.
When you cleaned house on your internal storage while on TW, everything was in /sdcard. When you flashed Carbon (AOSP JB) Jellybean moved your internal storage to /0/sdcard and everything from TW is sort of hidden from that directory now. You should be able to see it or unhide that data in /data/media, /legacy, or /emulated if you switch back to TW. Idk if you'll be able to find it while currently on AOSP, someone correct me if I'm mistaken.
SlimSnoopOS said:
When you cleaned house on your internal storage while on TW, everything was in /sdcard. When you flashed Carbon (AOSP JB) Jellybean moved your internal storage to /0/sdcard and everything from TW is sort of hidden from that directory now. You should be able to see it or unhide that data in /data/media, /legacy, or /emulated if you switch back to TW. Idk if you'll be able to find it while currently on AOSP, someone correct me if I'm mistaken.
Click to expand...
Click to collapse
Hey man thanks for the reply-I repeated the whole process,doing a complete TWRP wipe as in no OS at all,flashed back to stock,flashed a "virgin" Carbon and Gapps,THEN did my TWRP restore (After a backup of the virgin Carbon).Now everything seems to be working normally.Evernote had to reformat and Swiftkey needed to download languages again but so far so good.
Hope this helps someone in the future-couldn't find any procedures for a restore AFTER doing a Full wipe,starting over from scratch.Now I know,first flash the ROM you will be restoring.
chiadrum said:
Hey man thanks for the reply-I repeated the whole process,doing a complete TWRP wipe as in no OS at all,flashed back to stock,flashed a "virgin" Carbon and Gapps,THEN did my TWRP restore (After a backup of the virgin Carbon).Now everything seems to be working normally.Evernote had to reformat and Swiftkey needed to download languages again but so far so good.
Hope this helps someone in the future-couldn't find any procedures for a restore AFTER doing a Full wipe,starting over from scratch.Now I know,first flash the ROM you will be restoring.
Click to expand...
Click to collapse
Glad you're all set! :good:

Categories

Resources