Can't seem to flash on top of CM10.2 - Nexus 4 Q&A, Help & Troubleshooting

SOLVED: MAKE SURE THAT THE ROM YOU'RE FLASHING IS FOR YOUR DEVICE!
Hello,
I can't seem to be able to flash any rom on top of my current CM10.2Nightly.
I'm trying to flash ParanoidAndroid3.99 onto my Nexus 4 and it won't let me.
It says that the ROM and GAPPS are installed successfully but when I boot
the CyanogenMod boot animation starts and CM10.2 boots.
Why?
I did the following(Using TWRP):
- FACTORY RESET
- INSTALL ROM and PA GAPPS
- WIPE CACHE & DALVIK CACHE
- REBOOT
Also, my phone connects to my computer using debug, but once it gets to the bootloader it loses connection and can't install anything.(Using Nexus Root Toolkit.)
Any help would be greatly appreciated!

Odd. Try going into advanced wipe within twrp, select system and wipe it. Then flash PA.
Sent using xda-developers app

Chromium_ said:
Odd. Try going into advanced wipe within twrp, select system and wipe it. Then flash PA.
Sent using xda-developers app
Click to expand...
Click to collapse
I'l try that now, I have since installed a new bootloader and radio.
EDIT:
I tried what you said, now I'm getting "Failed"
Mounting system...
file_getprop: failed to stat "/system/build.prop": No such file or direc
E: Error executing updater binary in zip (It goes on)
Click to expand...
Click to collapse

BlueShiftXD said:
I'l try that now, I have since installed a new bootloader and radio.
EDIT:
I tried what you said, now I'm getting "Failed"
Click to expand...
Click to collapse
Try reflashing twrp. Also redownload PA and make sure the md5 sum is correct.
Sent using xda-developers app

Chromium_ said:
Try reflashing twrp. Also redownload PA and make sure the md5 sum is correct.
Sent using xda-developers app
Click to expand...
Click to collapse
Oh god, I'm sorry haha
I made a very stupid mistake and downloaded the rom but for a Note II..
1AM, tired. haha
Sorry for wasting your time, thanks for your help!

BlueShiftXD said:
Oh god, I'm sorry haha
I made a very stupid mistake and downloaded the rom but for a Note II..
1AM, tired. haha
Sorry for wasting your time, thanks for your help!
Click to expand...
Click to collapse
Oh my, just be glad you didn't brick the phone. Be careful next time.
Sent using xda-developers app

Related

Please Help may have accidently wipe stock ROM without a restore point.

1) Used the toolKit to unlock Bootloader
2) install twrp using Toolkit
3) transfered AOKP rom to device using airdroid
4) Went to TWRP, System Wipe 3 times, Clear cache 3 times
5) attempt to flash AOKP ZIP
6) ZIP failed to install no idea why
7) Tried to restart and now stuck at the GOOGLE logo
Please help is there anything i can do?
Hmm could i use the toolkit to flash an img file? Im dling a stock img atm.
First off.. Don't panic ... It wasn't your fault it failed ... I know because it happened to me . don't get it from "downloads" or goomanager .. Get it from the second post I. That thread on the latest date
Second . I don't think otg works in twrp so you will have to use adb to load the ROM
Sent from my Nexus 4 using Tapatalk 2
italia0101 said:
First off.. Don't panic ... It wasn't your fault it failed ... I know because it happened to me . don't get it from "downloads" or goomanager .. Get it from the second post I. That thread on the latest date
Second . I don't think otg works in twrp so you will have to use adb to load the ROM
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I did get it from the second post though, and how can i load into ADB?
italia0101 said:
Second . I don't think otg works in twrp so you will have to use adb to load the ROM
Click to expand...
Click to collapse
OTG does work in TWRP. I have found that it doesn't like some flash drives - no idea why. I've tried quite a few, some of mine work all the time, other just won't work.
adoute said:
OTG does work in TWRP. I have found that it doesn't like some flash drives - no idea why. I've tried quite a few, some of mine work all the time, other just won't work.
Click to expand...
Click to collapse
Ok went to twrp and used the ADB sideload feature but it said OTG cable fail to mount.
FIXED
WOOO FIXED IT NVM! Mod please delete thanks for help guys
Someone with more experience correct me if I'm wrong, but shouldn't we be avoiding wiping system in TWRP prior to flashing ROMs? I believe I read a thread (probably on RootzWiki) that said wiping system messes things up as you lose the ability to flash a ROM in the "traditional" manner. I wipe cache, dalvik, then click factory reset. I leave system alone and I've never had a problem with flashing ROMs.

AOKP rom

So i got my nexus 4 yesterday and Ive always wanted to root an android phone and install a custom rom. So i unlocked the bootloader and rooted it pretty easy. I want to flash AOKP rom. i downloaded the rom file and google apps from their website on the phone. I went into CWM recovery and installed those files from the sd card, and it says its complete. I reboot the device and it just sits on the nexus logo screen. I dont know what i did wrong. Anybody got any ideas
It's normal for it to sit on that screen for about a minute or so.. How long did you give it?
Sent from my Nexus 4 using Tapatalk 2
capcanuck said:
It's normal for it to sit on that screen for about a minute or so.. How long did you give it?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
3-4 minutes
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
thatguyzx said:
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
Click to expand...
Click to collapse
yeah im pretty sure i did that all correctly, but ill try again. Also for some reason when i try to boot into recovery sometimes, instead of going into CWM, it shows the android robot open with an exclamation mark on him. Any idea what that is
^
I believe that the stock recovery...
When you first boot cmw, it does not stay permanently afterwards...
You can flash it again by downloading ROM manager??
Or somthing else..
Maybe use adb+fastboot to flash ROM..
Just to try if the files aren't broken.
Sent from my Nexus 4 using xda app-developers app
MarcPlusTwo said:
Maybe use adb+fastboot to flash ROM..
Just to try if the files aren't broken.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You can't flash a ROM in fastboot, you can only flash images.
You can flash the recovery image through fastboot.
I would let it sit for more than just 3-4 minutes as well.
thatguyzx said:
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
Click to expand...
Click to collapse
Maybe I'm wrong, but I think you have to format /system and format /boot when switching from another rom, otherwise it bootlops.
trillo69 said:
Maybe I'm wrong, but I think you have to format /system and format /boot when switching from another rom, otherwise it bootlops.
Click to expand...
Click to collapse
Unnecessary.
Surprised no one has suggested this already. This happened to me before, go back into recovery and wipe davlik cache
Sent from my Nexus 4 using xda app-developers app

Does anyone have a flashable .zip of the 9.8.1Q-78-1 kernel?

I flashed argghhh's kernel and am having bluetooth stutters (with apt-x headphones). I am not sure it's because of the kernel though and want to test a bit.
Does anyone know how to restore the previous kernel without re-flashing the stock rom?
Coronado is dead said:
I flashed argghhh's kernel and am having bluetooth stutters (with apt-x headphones). I am not sure it's because of the kernel though and want to test a bit.
Does anyone know how to restore the previous kernel without re-flashing the stock rom?
Click to expand...
Click to collapse
Just dirty flash the stock ROM, without wiping anything. Well, you could wipe cache/dalvik just to be safe. If you don't wipe data, dirty flashing the ROM shouldn't affect anything.
Coronado is dead said:
I flashed argghhh's kernel and am having bluetooth stutters (with apt-x headphones). I am not sure it's because of the kernel though and want to test a bit.
Does anyone know how to restore the previous kernel without re-flashing the stock rom?
Click to expand...
Click to collapse
As sloosecannon made clear a simple solo restore of the boot partition / img is replacing the kernel.
9.8.1Q-78-1 Stock Kernel
Thanks everyone!
And thanks Attack!
Update: Oh wow, that was it. No skips at all now. 2/3 of my audio programs would skip before when starting a song (again, only when using an Apt-X compatible bluetooth headset). Or they'd skip when opening a menu while playing a song, or turning off the screen. Skips would continue for 5-10 seconds and then it would even out.
Not even once on the stock kernel. I guess I'll report this to arrghh
ATTACK said:
9.8.1Q-78-1 Stock Kernel
Click to expand...
Click to collapse
Hmm, I tried this and it installed and all, but my wifi is broken. I wonder if it is because I was on a deodexed stock rom. Will try a dirty flash of the whole thing now.
Coronado is dead said:
Hmm, I tried this and it installed and all, but my wifi is broken. I wonder if it is because I was on a deodexed stock rom. Will try a dirty flash of the whole thing now.
Click to expand...
Click to collapse
Weird... I'm on stock deodexed and I didn't have any problems. I used it to restore from arrrghhh's kernel.
ATTACK said:
Weird... I'm on stock deodexed and I didn't have any problems. I used it to restore from arrrghhh's kernel.
Click to expand...
Click to collapse
Yeah, no idea. A dirty flash got it all back and working.
If I pressed the wifi toggle it would just turn back to off. After a few times I got the 10 fast vibrates and still nothing. Wiped caches a few time, still no.
But I'm back up and running
I was having an issues with my WiFi when using arggghhss.
Flashed the stock kernel from this thread and now I have the same problem with my WiFi not turning on. A dirty flashed fixed this? What's a dirty flash and where can I find a stock ROM?
Sent from my XT907 using xda app-developers app
Franteeko said:
I was having an issues with my WiFi when using arggghhss.
Flashed the stock kernel from this thread and now I have the same problem with my WiFi not turning on. A dirty flashed fixed this? What's a dirty flash and where can I find a stock ROM?
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
Dirty flashing is just flashing without wiping anything. Just dirty flash whatever ROM you're using and it will reload the original kernel that came with that ROM. You can wipe cache/dalvik to be safe, but don't worry about wiping data when you're dirty flashing.
RikRong said:
Dirty flashing is just flashing without wiping anything. Just dirty flash whatever ROM you're using and it will reload the original kernel that came with that ROM. You can wipe cache/dalvik to be safe, but don't worry about wiping data when you're dirty flashing.
Click to expand...
Click to collapse
Thank you. I am just using stock ota ROM rooted and unlocked. I'm not sure where I can obtain a stock ROM because the one I have I received ota.
Anyone know where I can download a stock ROM? And when i flash, will I have to reroot?
Sent from my XT907 using xda app-developers app
Franteeko said:
Thank you. I am just using stock ota ROM rooted and unlocked. I'm not sure where I can obtain a stock ROM because the one I have I received ota.
Anyone know where I can download a stock ROM? And when i flash, will I have to reroot?
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
http://droid-hive.com/index.php?/forum/469-roms/
jco23 said:
http://droid-hive.com/index.php?/forum/469-roms/
Click to expand...
Click to collapse
Downloaded and attempted flash twice. It errord both times. Anyone have a stock ROM I can flash?
To clarify, I can't seem to get WiFi working on the stock kernel. WiFi functions somewhat on arrgs.
Sent from my XT907 using xda app-developers app
Franteeko said:
Downloaded and attempted flash twice. It errord both times. Anyone have a stock ROM I can flash?
To clarify, I can't seem to get WiFi working on the stock kernel. WiFi functions somewhat on arrgs.
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
what recovery are you using? i'm using TWRP.
jco23 said:
what recovery are you using? i'm using TWRP.
Click to expand...
Click to collapse
Clockwork mod. I should switch to twrp maybe?
Sent from my XT907 using xda app-developers app
Franteeko said:
Clockwork mod. I should switch to twrp maybe?
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
it should still work via CWM - but I think most folks are using TWRP.
what are your steps in the process?
mine would be:
copy zip file to the root folder of the sdcard (mnt/external1)
reboot recovery
mount system
wipe cache
wipe dalvik
wipe data/factory reset
wipe system
reboot recovery (not sure if this in an option in CWM, if not, then just make sure that system is still mounted)
mount system
install ROM
reboot
jco23 said:
it should still work via CWM - but I think most folks are using TWRP.
what are your steps in the process?
mine would be:
copy zip file to the root folder of the sdcard (mnt/external1)
reboot recovery
mount system
wipe cache
wipe dalvik
wipe data/factory reset
wipe system
reboot recovery (not sure if this in an option in CWM, if not, then just make sure that system is still mounted)
mount system
install ROM
reboot
Click to expand...
Click to collapse
Well I got it flashed. I was doing a dirty flash so I didn't wipe data or system. But I guess I didn't realize that you had to Mount system. I assumed that the recovery did that automatically.
After mounting system the stock rom flashed just fine and my WiFi is golden. Thanks to everyone who helped.
Sent from my XT907 using xda app-developers app
Franteeko said:
Well I got it flashed. I was doing a dirty flash so I didn't wipe data or system. But I guess I didn't realize that you had to Mount system. I assumed that the recovery did that automatically.
After mounting system the stock rom flashed just fine and my WiFi is golden. Thanks to everyone who helped.
Sent from my XT907 using xda app-developers app
Click to expand...
Click to collapse
yeah, I think what happened was that you were installing a ROM with an incompatible kernel (existing one) or vice versa... in either case, glad you got it working. i almost always mount when tinkering....
jco23 said:
yeah, I think what happened was that you were installing a ROM with an incompatible kernel (existing one) or vice versa... in either case, glad you got it working. i almost always mount when tinkering....
Click to expand...
Click to collapse
Good advice JC thank you.
Sent from my XT907 using xda app-developers app

Curious about failed ROM flash

So I decided to flash slim 4.4 on my d800 and it failed using twrp 2.6.3.2(?). I had the options for home, reboot system and something else. I elected to reflash the ROM that I'd been using, as I was hesitant to reboot system knowing that a flash had just failed. My question is, if I had chosen to just reboot system, would it have rebooted to the ROM I had been using prior to attempting to flash? Noob question for sure, but this was my first failed attempt at flashing. Thanks.
Sent from my LG-D800 using Tapatalk
thestrangebrew said:
So I decided to flash slim 4.4 on my d800 and it failed using twrp 2.6.3.2(?). I had the options for home, reboot system and something else. I elected to reflash the ROM that I'd been using, as I was hesitant to reboot system knowing that a flash had just failed. My question is, if I had chosen to just reboot system, would it have rebooted to the ROM I had been using prior to attempting to flash? Noob question for sure, but this was my first failed attempt at flashing. Thanks.
Sent from my LG-D800 using Tapatalk
Click to expand...
Click to collapse
No
Thanks Devs. From my VZW G2.
You'll be stuck at LG logo or at rom bootscreen forever
Best thing to always do in that situation is to just restore your BU and try redownloading the ROM. Or wipe and flash something else(working obv lol). Sounds like a bad DL to me
Sent from LG-LS980
bearsblack said:
Best thing to always do in that situation is to just restore your BU and try redownloading the ROM. Or wipe and flash something else(working obv lol). Sounds like a bad DL to me
Sent from LG-LS980
Click to expand...
Click to collapse
That.
Or if you dont have BKP >
choose boot into recovery.
WIPE EVERYTHING (factory + sys + dalvik + cache)
install rom
WIPE EVERYTHING (factory + sys + dalvik + cache)
reinstall ROM
install gapps
boot
OK cool thanks everyone. Glad I didn't mess anything up last night lol
Sent from my LG-D800 using Tapatalk

Cant flash any rom😭

Ok so i have a at&t lg g2 D80010o and every time i try to flash a rom it installed but will not boot up. I am on TWRP i used FREEGEE To install it AND all the rom i tried to flash all say NO MD5 found.i also tried using CWM recovery to see if it would work and it didn't ? ..everyone i talked to told me to try flashing it using PHILZ recovery but the recover will not install always say ERROR. Can someone help me?.. Thanks ahead of time
Sent from my LG-D800 using XDA Premium 4 mobile app
Spyda264 said:
Ok so i have a at&t lg g2 D80010o and every time i try to flash a rom it installed but will not boot up. I am on TWRP i used FREEGEE To install it AND all the rom i tried to flash all say NO MD5 found.i also tried using CWM recovery to see if it would work and it didn't ? ..everyone i talked to told me to try flashing it using PHILZ recovery but the recover will not install always say ERROR. Can someone help me?.. Thanks ahead of time
Sent from my LG-D800 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
What version of TWRP did FreeGee give you? I bet you need to update it to atleast 2.6.3.3
You can find it here - http://techerrata.com/file/twrp2/g2att/openrecovery-twrp-2.6.3.3-g2att.zip
I am on twrp 2.6.3.3. I tried everything i dont kno what to do??
Sent from my LG-D800 using XDA Premium 4 mobile app
More info.. what rom are you trying to flash, steps you've taken, etc.
I am trying to install AEON V3 ALLIANCE ROM. And when i am flashing i wipe data after that is finnish i install the ZIP from the sdcard ..and when i finnish all of that and it trying to install but always say CHECKING MD5 AND THEN IT SAYS MD5 NOT FOUND
Sent from my LG-D800 using XDA Premium 4 mobile app
Spyda264 said:
I am trying to install AEON V3 ALLIANCE ROM. And when i am flashing i wipe data after that is finnish i install the ZIP from the sdcard ..and when i finnish all of that and it trying to install but always say CHECKING MD5 AND THEN IT SAYS MD5 NOT FOUND
Sent from my LG-D800 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Don't think the md5 part matters. Sounds to me like you're not wiping completely (/system specifically). Follow these steps and you should be good to go..
Wipe dalvik cache
/system
/data
cache.
DO NOT WIPE INTERNAL STORAGE
btm fdr said:
Don't think the md5 part matters. Sounds to me like you're not wiping completely (/system specifically). Follow these steps and you should be good to go..
Wipe dalvik cache
/system
/data
cache.
DO NOT WIPE INTERNAL STORAGE
Click to expand...
Click to collapse
Yea i always Wipe dalvik,cache and systemdata i should have put that in my old post sry..i also have to add that twrp ALWAYS says that it was successfully installed but it NEVER BOOT UP
Sent from my LG-D800 using XDA Premium 4 mobile app
Getting an error other than the md5 check?
EDIT: Did you Factory Reset in TWRP or go to Advanced Wipe?
btm fdr said:
Getting an error other than the md5 check?
EDIT: Did you Factory Reset in TWRP or go to Advanced Wipe?
Click to expand...
Click to collapse
I dont think so other than md5 but i could be wrong i have really bad memory..and i went into advance wipe
Sent from my LG-D800 using XDA Premium 4 mobile app
Spyda264 said:
I dont think so but i could be wrong i have really bad memory..
Sent from my LG-D800 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Reason I asked is that I would suggest skipping the factory reset option, go in to advanced wipe and check all except internal storage.
btm fdr said:
Reason I asked is that I would suggest skipping the factory reset option, go in to advanced wipe and check all except internal storage.
Click to expand...
Click to collapse
Yes i do the advance wipe..and i even tried installing cwm recovery to see if it would work and cwm just freeze in the install of the rom
Sent from my LG-D800 using XDA Premium 4 mobile app

Categories

Resources