Successfully dirty flashed from Stock 5.0.1 > Stock 5.1 > Cataclysm Mar 12 + updates - Nexus 5 Q&A, Help & Troubleshooting

Successfully dirty flashed from Stock 5.0.1 > Stock 5.1 > Cataclysm Mar 12 + updates
Hi,
for anyone that's actually running a Lollipop stock firmware and is willing to switch to this excellent ROM, I inform you that you can install it over a 5.1 Stock firmware without wiping or losing your data.
Until a week ago, my Nexus 5 was on 5.0.1 stock, so I first upgraded it to 5.1 using the LMY47D factory image
https://dl.google.com/dl/android/aosp/hammerhead-lmy47d-factory-6c1ad81e.tgz
I followed the usual fastboot procedure, just modified the flash-all script to remove the -w switch, so that it would not wipe the Nexus data/cache partitions but still upgrade system, bootloader and radio.
Since factory images also reinstall the stock recovery, I reflashed the latest TWRP and used it to flash the Cataclysm Mar-12 Beta, then the latest Cataclysm update (Cataclysm-Beta_Update_Mar_16.zip as of this writing); you can also flash your preferred kernel (I use ElementalX 2.11) and wipe cache (just to be sure) then reboot.
I only experienced a minor issue with the QuickToggles/Notifications pulldown, but easily fixed it following this procedure from the Cataclysm FAQ section:
My home/back button, notification pulldown isn't working after a dirty flash
- Open a terminal emulator on the phone and digit:
- su (enter)
- am start -n com.google.android.setupwizard/.SetupWizardTestActivity (enter)
- follow the instructions and possibly reboot after
Click to expand...
Click to collapse
(don't worry, despite what it says, the setup wizard will not initialize or restore your phone from backup, I guess we must force-launch it to reset some cache file).
That's all: now I have the latest Cataclysm ROM with all my apps and their settings but didn't have to reinstall or restore from backup ... I'm pretty sure we can do this with Cataclysm (and not with other ROMs like CM or Paranoid) because it's basically a stock firmware plus the atl4antis additions.

Related

[Q] Quick question in regards to order of flashing?

Hello,
I wanted to upgrade the software on my nexus which I havent done since November I think. Currently I am on:
4.4.1
Baseband: M8974A
Kernel: Franco #54
Build Number: KOT49E
Recovery: 2.6.3.4 (Themed)
I wanted to upgrade to 4.4.4 Paranoid Android (latest stable), update my modem and update TWRP. Can someone confirm the order with me?
1) Flash the new recovery
2) Wipe data/factory reset/clean cache
3) Format /System
4) Install Paranoid android
5) Install Modem (KTU84P is the latest correct version according to my build number right?)
Would that be correct?
Also would I need to remove the TWRP theme before updating TWRP?
Thanks!!
omgbuffguy said:
Hello,
I wanted to upgrade the software on my nexus which I havent done since November I think. Currently I am on:
4.4.1
Baseband: M8974A
Kernel: Franco #54
Build Number: KOT49E
Recovery: 2.6.3.4 (Themed)
I wanted to upgrade to 4.4.4 Paranoid Android (latest stable), update my modem and update TWRP. Can someone confirm the order with me?
1) Flash the new recovery
2) Wipe data/factory reset/clean cache
3) Format /System
4) Install Paranoid android
5) Install Modem (KTU84P is the latest correct version according to my build number right?)
Would that be correct?
Also would I need to remove the TWRP theme before updating TWRP?
Thanks!!
Click to expand...
Click to collapse
1) Flash the new recovery
2) Take Backup
3) Wipe data/factory reset/clean cache (cache is not needed - included)
x) Format /System - Not really needed
4) Install Paranoid android
5) Install Modem (KTU84P is the latest correct version according to my build number right?) Can be done at any time
That'll work fine except I wouldn't bother to update the stock recovery. For twrp, just flash the latest twrp zip. Google recovery zip collection xda for the latest zip
Sent from my Nexus 5 using XDA Free mobile app
rootSU said:
1) Flash the new recovery
2) Take Backup
3) Wipe data/factory reset/clean cache (cache is not needed - included)
x) Format /System - Not really needed
4) Install Paranoid android
5) Install Modem (KTU84P is the latest correct version according to my build number right?) Can be done at any time
Click to expand...
Click to collapse
Much appreciated !

[Q] Official (not manual) lollipop OTA on unlocked moto g xt1033

So, the situation is I have moto g xt1033 with :- unlocked bootloader, rooted, stock rom 4.4.4 kitkat (i mean no custom rom). and fastboot flash mode 41.13 2014-06-16 and philz touch 6 clockworkmod v6.0.4.7
I want to know how to update to lollipop with official OTA update (not manually or sideloaded)?
Why I am asking this?
I got the prompt of official OTA available on my phone and then i clicked yes and downloaded the update. But when i clicked on install, it went in bootloop. It boots on the philz recovery mode and then nothing happens just restart again whatever i select.
As of now, as I backed up, I recovered to the before state of the phone. Do I need to lock the bootloader again or what? The official OTA update is not for me? Then how to get lollipop? I read the soak test etc threads but why not official update ?
Locking the bootloader won't do anything,so don't lock it
Ota update requires:
1.Stock firmware(unmodified and unchanged or tampered)
2.unrooted
3.Stock recovery
That probably happend becuZ your KitKat firmware was modified and you have custom recovery,root..
So just reflash the stock firmware
Do that on your own risk as failing this might brick your phone
Thank me if I helped
Thanks mate for reply.
1. I have stock firmware KK 4.4.4 (though xposed framework & few modules are installed currently)
2. Rooted
3. What is stock recovery? (m noob here)
And i guess reflashing the stock firmware wipes out all user data & apps, right?
Any other alternative which does not wipes out my data?
instinctblade said:
Locking the bootloader won't do anything,so don't lock it
Ota update requires:
1.Stock firmware(unmodified and unchanged or tampered)
2.unrooted
3.Stock recovery
That probably happend becuZ your KitKat firmware was modified and you have custom recovery,root..
So just reflash the stock firmware
Do that on your own risk as failing this might brick your phone
Thank me if I helped
Click to expand...
Click to collapse
pr.itdude said:
Thanks mate for reply.
1. I have stock firmware KK 4.4.4 (though xposed framework & few modules are installed currently)
2. Rooted
3. What is stock recovery? (m noob here)
And i guess reflashing the stock firmware wipes out all user data & apps, right?
Any other alternative which does not wipes out my data?
Click to expand...
Click to collapse
Actually there is no other way you could do it
i tried everything i could to stop the wipe procedure but it obviously wiped everything
you just backup everything you have got on your internal and external sd card ..
1.Stock Recovery:: Android devices come with Google’s recovery environment, which is often referred to as the “stock recovery.” You can boot to the recovery system by pressing device-specific buttons as your phone or tablet boots or by issuing an adb command that boots your device to recovery mode. The recovery menu provides options to help recover your device — for example, you can reset your device to its factory default state from here. The recovery mode can also be used to flash OTA update files.
2.Custom Recovery::A custom recovery is a third-party recovery environment. Flashing this recovery environment onto your device replaces the default, stock recovery environment with a third-party, customized recovery environment. This is a bit like flashing a custom ROM like CyanogenMod — but, instead of replacing your device’s Android operating system, it replaces the recovery environment.
what you have to do is:
Find the Kitkat official update on the internet accrouding to your [Build number],[model number] [system version] you can get this information in about phone....
If you have asia retail then follow this method http://forum.xda-developers.com/showthread.php?t=2700502
ok Here what i am planning:
1. Uninstall all modules & xposed framework
2. Unroot using supersu
3. Restore/reflash stock recovery (just recovery not whole firmware as I already have stock rom)
4. Install the update either manually via recovery or using auto install.
Am i on right path? Pls help me on step 3, any link or step-t-step guide? I couldn't find one, every post is abt restoring whole firmware.
TIA. Cheers !!

Phone very "laggy" with stang5litre rom

I just flashed my wife's Galaxy S4 (SCH-I545 ) with stang5litre's Lollipop rom (see: http://forum.xda-developers.com/galaxy-s4-verizon/development/stang5litre-ediition-5-0-t3132555).
I have the NK4 bootloader with Safestrap installed. The previously installed stock OS was 4.4.2. I installed Stang5litre's rom over the exising ROM using SS (in other words, I DID NOT use a new ROM slot).
The method I used was (from the ROM's announcement page):
If coming from any Rom Before OC1 Ex 4.4.2 or Below
1. Boot into SS
2. Flash stang5litre 5.0 Edition v2NON-MDK Rom.zip
3. Flash OC1_firmware.zip
4. Flash SuperSU v2.49 Beta
5. Flash OC1 SS/FF Flashable kernel.zip
6. Reboot system.​
Everything seems to be working okay, but the apps take 10+ seconds to open. Once open they seem to run normally.
Any suggestions?
Also, the instructions included nothing about wiping the phone before flashing, so I did not do it.
Should I have?
Would this ROM/method still work if I did a wipe to factory settings before installing?​Thanks.
You apply al wipes? Data,system,caché, dalvik cache?

How to flash stock ROM in XT1040?

Hi, I've read many guides on how to flash stock roms and stuff, but I'm still not sure how to do it in my case.
I bought an XT1040 from a guy and it came with bootloader unlocked and Lollipop 5.0.2 (CM 12-20150126-NIGHTLY-peregrine)
I wanted to install the stock LP rom, but then I found an optimized version on this thread: http://forum.xda-developers.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816 I think that would be better, but the problem is I'm following this guide to install a stock rom: http://forum.xda-developers.com/showthread.php?t=2542219 but it says you have to flash every file, one by one, yet this .zip I downloaded (Retail Latin America 5.1 ROM (Optimized) v1.0a (331mb)) only has a "boot.img" and some folders named "supersu", "system" and "META-INF". Does that mean I have to flash the whole ZIP in the recovery? (oh and btw I installed TWRP v2.8.7 [recoverytwrp2-8-7encryption.img] using adb, I didn't wipe the other recovery with "fastboot erase recovery" because this had CWM already installed... is that okay?)
What should I do?
In short:
I have a bootloader unlocked phone with Lollipop 5.0.2 (CM 12-20150126-NIGHTLY-peregrine) and CWM
I flashed TWRP v2.8.7 without wiping recovery (at least I think that's what "fastboot erase recovery" does)
I want to flash a stock rom (optimized) with LP 5.1 from here http://forum.xda-developers.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816 (Retail Latin America 5.1 ROM (Optimized) v1.0a (331mb)) but I'm not sure what to do.
Thanks.
_______________________________________
I just decided to do what the guide said:
1) Boot into latest TWRP and Format Data (Wipe > Format DATA > Yes) - This step is essential, and will wipe Internal Storage (Downloads, Music, Photos etc, **backup important files**)
2) Transfer ROM to SDCARD or Internal Storage. This may be done in Windows via MTP, or using adb sideload or adb push ROM.zip /sdcard/
3) TWRP > Wipe > Factory reset and flash ROM.
4) Reboot.
5) Call / WiFi issues can be solved by flashing 5.1 Radio Firmware (Below) for your Model.
now I'm in the step 3, trying to flash the ROM but the bar doesn't fill at all...
_________________________________________
Lol that was me panicking, the device managed to flash the ROM and it's working now, I also flashed the radio firmware so I have working WiFi, but the screen flickering keeps happening each time I reboot the device.
I'll probably want to downgrade in the future... any tip on that would be appreciated.
You don't need to use Fastboot other than when changing TWRP version. Simply flash the Optimized Stock ROM (or any custom ROM) via TWRP. Screen flickering is caused by not having updated your Bootloader - this utility will do that for you: Bootloader Upgrader Tool.
I highly recommend you try the following optimized Stock Marshmallow ROM: (It's faster than Lollipop)
[ROM][PEREGRINE][6.0][STOCK] Identity Crisis 6 LTE v1.3b​

Why is my custom kernel being lost after flashing a new rom?

Hi all. I'm a bit of a noob who just really started digging into custom roms and rooting this month. A friend helped me root Lollipop when I first got this phone and I've been putting off updating to marshmallow for 6 months, but learned how over the past weekend and I'm loving it! Small problem, though, and I don't know if it's even a real one, but here it is. After all is said and done flashing the XstreStoLite 3.3.1 rom and Aroma add on pack, everything works fine, but the arter97 kernel is no longer listed as the active kernel, even though in XstreStoLite's settings when presented with the overwrite kernel option I always selected No. Is there a reason this is happening? Can I just reflash the kernel now, and is it safe to do so without brick in the phone? Does this rom or any other necessary apps/root features require the custom kernel? Thanks! This was my process in getting my phone up and running:
Factory reset
Flash stock 6.0.1 with Odin
Flash arter97 recovery with Odin
Recovery mode to flash arter97 kernel and superSU
Flash XstreStoLite in recovery, factory reset
Flash aroma addon
Additional random question I had: at what point, if any, should I be flashing the custom bootloader and modem, and does a factory reset/cache wipe delete those or is it one and done? Thank you!
The bootloader and modem flashing is needed if you want to move from 5.x lollipop to 6.x marshmallow.
If you are allready on 6.x there is no need.
If you lost your custom kernel you can reflash it in twrp and after wipe cache/dalvik cache.
If you flash the corect version of kernel the is no problem of softbrick.
Flash a 6.x kernel on a 6.x rom

Categories

Resources