[Q] Deodexed to Odexed Rom - Sprint Samsung Galaxy Note II

Went from NoWizAOSPMod, which is deodexed, to the 4.3 Beta build of SlimRoms, which is odexed. Did a Factory Reset in TWRP, and after boot kept saying "setup wizard has stopped/crashed", along with other application crashes ex: "Picasa Uploader has crashed". Feel like I definitely missed a step, just not sure where?

justcallmejohan said:
Went from NoWizAOSPMod, which is deodexed, to the 4.3 Beta build of SlimRoms, which is odexed. Did a Factory Reset in TWRP, and after boot kept saying "setup wizard has stopped/crashed", along with other application crashes ex: "Picasa Uploader has crashed". Feel like I definitely missed a step, just not sure where?
Click to expand...
Click to collapse
This isn't a matter of odexed vs. deodexed. This is a matter of TWiz-base to AOSP-base, most likely. Now slow down, what exactly was your procedure to go from NoWiz to Slim? Where exactly in that procedure did the factory reset come in?
If all you did in between ROMs was factory reset (i.e. NoWiz->Factory Reset->Slim)...then that was your problem. All factory reset does is clear /data and /cache but not system or /dalvik. Further, unlike what TeamWin says on their website....I find that TWRP does not do complete flashes, and therefore does in fact need 2-3x wipe operations as anything less usually means ROM buginess in ROMs that are otherwise stable.
I suspect an incomplete wipe is where your issue stems from, as I've been running the SlimBean 4.3 alpha and beta builds myself without a hitch.

Made a backup with helium on NoWiz. Boot into TWRP. Wipe-->FactoryReset 3x --> Dalvik Cache 3x
Installed the Odexed Beta SlimRom
Rebooted, and setup wizard kept giving me a force close box

justcallmejohan said:
Made a backup with helium on NoWiz. Boot into TWRP. Wipe-->FactoryReset 3x --> Dalvik Cache 3x
Installed the Odexed Beta SlimRom
Rebooted, and setup wizard kept giving me a force close box
Click to expand...
Click to collapse
Yup. Incomplete wipe more likely than not.
Zero out: /system, /data, /cache, /dalvik....because the one thing that needs wiped thoroughly is the one thing you're not wiping, which is /system.
Factory reset does just that...it is to take a ROM back to the (factory) installed ROM default. It ain't there to purge the ROM chip in preparation to accept a new OS load.

Related

[Q] MAJOR Problems, Error occurred while attempting to run privileged commands

Alrighty....seems as if I have some MAJOR problems here.
Background, I have a DInc 1, rooted using Unrevoked, and the only ROM I put on it was Cyanogen Mod 7. S-off is all set up, and there is the Superuser features have worked fine 75% of the time. Everything was up and running quite well for some time. Then this weekend, I installed a few different DWLauncher themes, and things still seemed to be ok. Sunday night, I installed Words with Friends, and that is when all hell broke lose.
Now, I really can't run anything. Apps are force closing all over the place, Google framework stuff is force closing and when I even try to report a problem, even that force closes. So, I uninstalled the Words with Friends App, and changed themes, thinking those were the culprits, but seems like the damage has been done. Nothing really works and everything is force closing.
Went into the ROM Manager (premium) and did a fix permissions and it gave me the "error occurred while attempting to run privileged commands" error. I ran it a handful of times, and it worked once last night. I thought it would have cleared a bunch of stuff up, but it didn't really help at all. Kept the phone off all night, and when I got to work this morning, I started working on it. Fine, time to ditch everything and start from scratch. So, downloaded a different ROM (Cyanogen MOD nightly), and also tried a few others, which it let me download, but when I click to install, no matter what options I click from wiping cache, wiping Dalvik, backing up or anything, it always gave me the same error. So, back to ROM manager, trying to boot in recovery, error, boot into CM recovery, error.
Edit, as I finished typing this, I tried to install the nightly one more time, but did not click wipe Dalvik, and it is installing things. As soon as everything installed, it was more of the same, apps crashing all over the place. I was able to go into ROM manager and boot into CM recovery, which is now allowing me to fix problems. So, it seems as if was working properly, for the first couple of hours, but around 10 pm, roughly 12 hours after the install, app crash-o-rama again. Also, from ROM Manager, when I try to flash ClockworkMod Recovery, it force closes.
So, I am kinda stuck. No matter what ROM I download, it gives me the same error. At this point, I don't care what ROM is on there (I do have preferences), but I just want the phone working again. Is there anyway to force a wipe and install?
Thanks in advance
You can, instead of installing the ROM through ROM Manager, just download the ROM zip file, put it on your SD card, do the full wipe/factory reset/dalvik in Recovery, then flash the ROM zip from there.
I've had issues trying to install a ROM that's downloaded from ROM Manager.
Here's what I do before flashing the ROM zip file:
Wipe user data/factory reset
Wipe dalvik (under the Advanced menu in Recovery)
Wipe /boot, /system, /data, /cache (under Mounts and Storage in Recovery)
THEN flash the ROM zip file.
Hope this helps!
Thanks for the reply. It has been a long day of working on this phone. I have to pull my battery so many times, almost as many times as my blackberry.
I have installed about 4 different ROM versions until it would allow me to clean everything up, Dalvik and system cache, but as of now, everything is back up and running.....for now. Let's hope it stays that way.
If it doesn't, it seem like I will go the way of skipping the ROM Manager and just boot straight into recovery and do it all that way.
Thanks again
ROM manager isn't exactly reliable software. Most devs recommend a clockwork flash rather than ROM manager. Don't know why there are so many issues with it, but its pretty much not worth using to flash ROMs. It's fix permission feature is exactly the same routine that clockwork uses though. Updating the superuser might be something to try too.
ROM manager only wipes once and cwm3 doesn't wipe properly.... I've always read that you should wipe data cache and dalvik 3 times each before installing a new ROM wich is why you should use cwm.
Sent from my Synergy Rom using XDA App
:facepalm:
Re: multiple wipes
http://cvpcs.org/blog/2011-06-05/time_to_wipe_data/cache
k_nivesout said:
:facepalm:
Re: multiple wipes
http://cvpcs.org/blog/2011-06-05/time_to_wipe_data/cache
Click to expand...
Click to collapse
Awesome link!
That you all for the info. I tried a few things, installed a few ROMS, wiped them each time, and back to the CM7 nightlies and it all seems to be working fine now. Let's hope it stays that way.
Next time I have problems, I will have to do everything out side of ROM Manager and see if it has a better result..
Thanks again
Actually this has happened to me, usually happens when installing or Uninstalling certain hardware.
After reinstalling my roms to get it to work right when it did it few hours later to infuriate me. The only thing that did work was booting into Recovery and install my rom again but with what the guy said.
Wipe all data, everything, factory reset.
Then install your rom, then make sure you don't install or Uninstall certain hardware.
Sent from my HTC Droid Incredible -CyanogenMod- 157#build/Chads IncrediKernel ("Using" XDA Forums App)

[Q] updating a ROM - flash what? wipe what?

I want to update my Unofficial CM10 +3.x Kernel to the latest update from Hashcode.
UNOFFICIAL CM10 + 3.x Kernel for Kindle Fire [09/16 CHARGING+]
When you do an update like this, do you wipe everything like I did when I first flashed the ROM? I mean, when I installed, I wiped system, factory reset, cache and dalvik cache. Then I flashed the ROM and then I flashed gapps.
So now I just want to update the OS, what do I need to wipe? And will I need to flash gapps again?
CAn't ask this in the development thread 'cause my n00b hat it still too shiney.
Thanks!
A question like this doesn't belong in the development thread because it isn't development related.
If you're going from one ROM to a different one, you need to wipe System and Factory Reset (data and cache).
If the ROM is simply an update of an existing ROM, generally all you need to wipe is data and cache. There are always exceptions to this so it's always a good idea to make a backup in case things turn sour.
After installation of the ROM you have the option to wipe cache and dalvik. It isn't required but not wiping them has been known to cause some bugginess.
soupmagnet said:
A question like this doesn't belong in the development thread because it isn't development related.
If you're going from one ROM to a different one, you need to wipe System and Factory Reset (data and cache).
If the ROM is simply an update of an existing ROM, generally all you need to wipe is data and cache. There are always exceptions to this so it's always a good idea to make a backup in case things turn sour.
After installation of the ROM you have the option to wipe cache and dalvik. It isn't required but not wiping them has been known to cause some bugginess.
Click to expand...
Click to collapse
Thank you once again, soupmagnet. Yeah this is just an update to my current ROM. So .... I won't need to flash gapps again?
I'm slowly figuring this stuff out. hehehe... When I was 30 I picked this stuff up quick. Turning 60 on Thursday and stuff tends to need a little more pondering lately. hahaha
Anywho.... thanks
Oh, yeah. You need to flash Gapps if you wipe system.
soupmagnet said:
Oh, yeah. You need to flash Gapps if you wipe system.
Click to expand...
Click to collapse
OK, see, now you're messin' with the old man here... hehehe
On one hand I'm hearing if I am only updating my current ROM, I just wipe data and cache.
Then you tell me I have to flash gapps if I wipe System.
But prior you said I only need to wipe system if I'm going from one ROM to a different ROM.
So.... I'm just updating my current ROM. I wipe data and cache, flash the updated ROM, wipe dalvik.... done...
no flash gapps, right?
I need to look at TWRP again to see exactly how it presents the choices. Don't be hatin' on the old guy for bein' dumb now.
OK, booted to TWRP. When I select Wipe my choices are : Cache, Dalvik Cache, Factory Reset, System and then External Storage. So... in your first answer to me when you said to go to a different ROM I should wipe "System and Factory Reset (data and cache)" it appears you are telling me that "System and Factory Reset" is another way of referring to "data and cache". Is that correct?
Gapps go in the /system/app folder so if you wipe the system partition, Gapps will go along with it.
soupmagnet said:
Gapps go in the /system/app folder so if you wipe the system partition, Gapps will go along with it.
Click to expand...
Click to collapse
GAaaahhh..... I just wiped System and watched as it processed /system
and then I wiped Factory Reset and watched as it processed /data and /cache
So I guess that answers my confusion.

[Q] Boot Fail after Custom ROM

I have a Samsung Galaxy Nexus GSM and have been trying to install the Paranoid Android flavor custom ROM, I had 2.22 installed not long ago but managed to screw it up when I updated it without clearing my security settings (I had a 4x4 pattern swipe which I couldn't enter with the update which restored it to 3x3 pattern) so I wiped and restored to stock 4.2. I'm now trying to re-install with any custom ROM but it's not working.
Whenever I install a ROM it seems to install ok but when I get to the boot screen it just hangs on the nexus/PA logo.
I've tried with:
Goo Manager
TWRP 2.2
TWRP 2.3
CWM 6.0.1.5
and with
PA 2.22
PA 2.99.1
PA 2.99.5
PA 2.99.6
PA 2.99.7
and I always get the same error, I've tried wiping all options within TWRP and CWM and going from there but that doesn't seem to work, the strange thing for me though is that if I re-install a stock Google ROM it works perfectly fine.
I'm fairly new so please be gentle.
flash the latest twrp and move the rom and gapps to your sdcard then follow this..
1. factory reset
2. wipe system
3. wipe cache
4. wipe dalvik
5. flash rom
6. flash gapps
7. reboot
if it still freezes at boot animation pull battery reboot to recovery wipe cache/dalvik and reboot
Thanks for the suggestion but that didn't work.
Any other suggestions?
When you say TWRP 2.3 do you mean 2.3.2.1? http://teamw.in/project/twrp2/90
Clockwork 6.0.1.5 is also outdated, newest is 6.0.1.9.
You need to update your recoveries for Android 4.2.X which is what PA 2.99 is based off of.
zephiK said:
When you say TWRP 2.3 do you mean 2.3.2.1?
Clockwork 6.0.1.5 is also outdated, newest is 6.0.1.9.
You need to update your recoveries for Android 4.2.X which is what PA 2.99 is based off of.
Click to expand...
Click to collapse
Yes I did mean 2.3.2.1, I wasn't sure what the whole version number was at the time and I was halfway through resetting up stock on my phone at the time so I didn't bother to check exactly. sorry about that.
Is there a way to completely wipe everything on the phone so that it is bare stock? I was just wondering if I would be able to start from a clean phone if it would make any difference. I'm aware of cache/delvik cache/internal storage/(i think it's called "system partition" or something like that).
Using TWRP, wiping cache, dalvik, and system should wipe everything except the sdcard contents. So doing these wipes should make your phone "bare stock" again as you described
Why don't you try downloading another custom ROM or download the same ROM again because maybe it is corrupted or something
osiris231 said:
Yes I did mean 2.3.2.1, I wasn't sure what the whole version number was at the time and I was halfway through resetting up stock on my phone at the time so I didn't bother to check exactly. sorry about that.
Is there a way to completely wipe everything on the phone so that it is bare stock? I was just wondering if I would be able to start from a clean phone if it would make any difference. I'm aware of cache/delvik cache/internal storage/(i think it's called "system partition" or something like that).
Click to expand...
Click to collapse
RANT: huh..... seriously? you couldn't have browsed around, searching for this COMMON issue (which usually comes down to user "error"), read the STICKIES, before posting?
first, internal storage = /data/media aka /storage/sdcard0/ aka /sdcard/
Please read all of this
http://forum.xda-developers.com/showthread.php?t=1626895

[Q] Stuck on boot

I was using Xylon 2.4.2 with AK Rubic r3 kernel for quite some days. Since yesterday the phone started to re-start randomly. So I decided to flash new version of AK Kernel.
Went recovery and flashed the new kernel (Diamond 99) then wiped cache and dalvik. --> ROM stuck in bootloop. Went back to bootloader and flashed Rubik -> Started, "Android is upgrading" -> Optimising app x of 214. Then stuck forever on "Starting apps".
Flashed the ROM again along with gapps -> Stuck on boot.
I don't know what to do :crying:
Any help?
I don't want to do a factory reset
unless you did a nandroid before you did all of that crazy flashing, i'm guessing factory reset and start over is in your future. not that big of a deal, you won't lose anything on your sdcard. plus, you get to start fresh and install the kernel you wanted to originally install.
1. Make sure you have the ROM, Gapps, and kernel you want on your phone.
2. Boot into recovery
3. Wipe cache, dalvik, and system
4. Flash ROM
5. Flash Gapps
6. Flash Kernel
7. Boot
If that doesn't work, you might have something screwy in your data partition that will require a factory reset.
I tried, did not work.
Ultimately restored a Nandroid taken 1 week back :/
What does wiping how /system do? It clears all installed apps ?
Sent from my Galaxy Nexus using xda app-developers app
Sounava said:
What does wiping how /system do? It clears all installed apps ?
Click to expand...
Click to collapse
It clears the entire /system partition (your ROM installation). Installed user apps are left alone (since they're stored in /data/apps). Most ROMs do that as part of their install scripts, but some still don't and they can sometimes have issues with files that are left behind from other ROM installations. I've gotten into the habit of doing it every time I change ROMs, even just on my Jellybro CM10.1 nightlies updates.
Ok great thanks for the headsup!
App data will remain intact if I wipe system right?
Sent from my Galaxy Nexus using xda app-developers app
App data should remain intact however some of your data left over can impact system apps also so if you have problems wipe it all. Also if you run into that problem again you can erase the boot partition and flash kernel again. That has worked for me in the past. In adb:
Adb erase boot
You can do the same for all partitions. If I really want to start squeaky clean I do this. Not sure if it matters or not butbit makes me feel all fuzzy.
G-Nexus Sent

[Q] Flashing issue or not ?

Hi, in the last minutes i've flashed the 2.7 build of LiquidSmooth Rom from the Paranoid Hello Halo rom... I've done the prcedure like XDA said : Wipe Wipe Wipe (cache, dalvik, system) Flash Rom Flash Gapps. It booted fine but all my apps that i've had on my previous rom was still there... all of them. The most disturbing is my settings were also like I've left them ( disabled pie wifi etc) also my Google Accound was already setuped and good to go. Is it a new feature from flashing 4.2.2 rom to an other 4.2.2 rom ? I've never seen that before. I've also rebooted to make sure it wont boot loop on reboot, and it booted like a charm!
Any clues ?
Weird, never seen that before. Tell us what recovery you have and exactly what you are wiping. Can't think of anything else at the moment I'm sure others will chime in.
Sounds to me like you're not wiping /data. This is where your apps and setting are stored and unless you factory reset using stock recovery, deliberately wipe/format /data, or flash a Rom that wipes it for you, all your apps and settings will remain.
Seems like normal behavior to me.
Sent from my SGH-T999L using xda premium
Ya I re-read it and he just wipes caches and system, definitely need to factory reset lol.
kruse1944 said:
Hi, in the last minutes i've flashed the 2.7 build of LiquidSmooth Rom from the Paranoid Hello Halo rom... I've done the prcedure like XDA said : Wipe Wipe Wipe (cache, dalvik, system) Flash Rom Flash Gapps. It booted fine but all my apps that i've had on my previous rom was still there... all of them. The most disturbing is my settings were also like I've left them ( disabled pie wifi etc) also my Google Accound was already setuped and good to go. Is it a new feature from flashing 4.2.2 rom to an other 4.2.2 rom ? I've never seen that before. I've also rebooted to make sure it wont boot loop on reboot, and it booted like a charm!
Any clues ?
Click to expand...
Click to collapse
Tapatalk.
mt3g said:
Ya I re-read it and he just wipes caches and system, definitely need to factory reset lol.
Click to expand...
Click to collapse
Got it that's why. I was sure wiping system would wipe data too. But do you think its dangerous to not wipe data? Because actually my ROM is rocking right now without issues? Should I reflash it for safety?
It just depends....
It's always best to start clean, especially if you were having problems. But if you want to keep data intact, you should be ok as long as you don't go to an entirely different rom, base, or build.
If you are updating to a newer version of the same build, you're fine. Also if updating to a newer build/version you should be ok, but may have a few hiccups.
However, anytime you go backwards (4.2.2 to 4.1.2) you should wipe it all. The same is true if you are moving to a different base, such as CM to TW. Keeping your internal sdcard data is usually ok, but sometimes it can cause some issues.
Sent from my SGH-T999L using xda premium

Categories

Resources