android 5.1 flash stock kernel - Nexus 5 Q&A, Help & Troubleshooting

Hello all,
I'm on android 5.1 and I'm facing the memory leak bug. Some users reported that flashing another kernel fixxes the problem for them, so I'd like to give it a try.. But, how do I flash the stock kernel if it doesn't fix it? Can I just flash boot.img to reflash the stock kernel? Does it affect other settings/data?
Greets,
swa100

Flashing boot.img worked. So, this thread can be closed!

Hi,
Am using nexus 5 rooted with custom kernel elementalX. But I forgot to backup my stock kernel. Can you upload the stock kernel for nexus 5 running 5.1? Please?
Sent from my Nexus 5 using XDA Free mobile app

KJ_1996 said:
Hi,
Am using nexus 5 rooted with custom kernel elementalX. But I forgot to backup my stock kernel. Can you upload the stock kernel for nexus 5 running 5.1? Please?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Just extract it from the factory image.
Sent from my Nexus 5 using XDA Free mobile app

KJ_1996 said:
Hi,
Am using nexus 5 rooted with custom kernel elementalX. But I forgot to backup my stock kernel. Can you upload the stock kernel for nexus 5 running 5.1? Please?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
jd1639 said:
Just extract it from the factory image.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
its the boot.img in the factory img.

Which file? Sorry. Am noob.?
Sent from my Nexus 5 using XDA Free mobile app
---------- Post added at 08:08 PM ---------- Previous post was at 08:05 PM ----------
I tried it before. I installed it with my twrp recovery and it showed that it installed successfully. But after booting it was still on elementalX kernel. Any solutions ?
Sent from my Nexus 5 using XDA Free mobile app

KJ_1996 said:
Which file? Sorry. Am noob.?
Sent from my Nexus 5 using XDA Free mobile app
---------- Post added at 08:08 PM ---------- Previous post was at 08:05 PM ----------
I tried it before. I installed it with my twrp recovery and it showed that it installed successfully. But after booting it was still on elementalX kernel. Any solutions ?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
how do you expect to install it via twrp? lol! you can only flash it via fastboot. i know that twrp CAN flash .img files now, but you have to enable that function first. i dont know if itll flash a stock boot.img?

Pls pls pls, tell me how to flash it via fast boot? Sorry for being sooo noob.
Sent from my Nexus 5 using XDA Free mobile app

Related

Accidentally deleted my OS backup

So I wiped my my whole SD card and I have a brick pretty much does anyone know how to put back the OS on your phone using fastboot or is there any other options
Sent from my XT1080 using XDA Premium 4 mobile app
Oh yeah I wiped my OS because I was installing a custom ROM so I have nothing
Sent from my XT1080 using XDA Premium 4 mobile app
Either use adb to push a ROM zip to your phone, or flash the stock images in fastboot
sent from my Paranoid HAMMERHEAD
---------- Post added at 03:38 PM ---------- Previous post was at 03:32 PM ----------
Here's a link to flashing factory images
http://forum.xda-developers.com/showthread.php?t=2513701
[TUTORIAL] How to flash a factory image | Return to stock | Unroot/SAVE your Nexus 5
sent from my Paranoid HAMMERHEAD
use fastboot to flash a recovery and then use the recovery to mount the sdcard on a computer so you can push a rom over. if you want stock fastboot can flash stock.
lart2150 said:
use fastboot to flash a recovery and then use the recovery to mount the sdcard on a computer so you can push a rom over. if you want stock fastboot can flash stock.
Click to expand...
Click to collapse
Like a custom recovery?
Sent from my XT1080 using XDA Premium 4 mobile app
vegasdgk said:
Like a custom recovery?
Sent from my XT1080 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes.
You can also flash a rom from a usb stick by connecting it to the phone using an OTG cable.
Thanks guys for the help a moderator can close this thread now
Sent from my Nexus 5 using XDA Premium 4 mobile app
vegasdgk said:
a moderator can close this thread now
Click to expand...
Click to collapse
Have you reported your thread or do you think moderators have the time to read every individual post?
Sent from my Nexus 5 using Tapatalk

[Q] Root Flash then Revert Without a PC?

Just wanted to know if its possible to root (towel root) flash custom recovery and custom roms and then if I decide to later revert totally back to stock unrooted nexus without a PC. Ive attempted to read up on this but I'm a little confused that ill need to use SDK and ADB which i can't have access to at the moment or have the skills to use.
I've seen apps on google play to unlock boot loader once towel rooted but I'm just unsure if i can revert totally back to an unrooted nexus 5 with original recovery, without a pc as I'm using an iMac and having really unreliability with it :/
Id greatly appreciate any help :good:
cameracartwright said:
Just wanted to know if its possible to root (towel root) flash custom recovery and custom roms and then if I decide to later revert totally back to stock unrooted nexus without a PC. Ive attempted to read up on this but I'm a little confused that ill need to use SDK and ADB which i can't have access to at the moment or have the skills to use.
I've seen apps on google play to unlock boot loader once towel rooted but I'm just unsure if i can revert totally back to an unrooted nexus 5 with original recovery, without a pc as I'm using an iMac and having really unreliability with it :/
Id greatly appreciate any help :good:
Click to expand...
Click to collapse
You may need a computer to return to stock but otherwise you shouldn't need a pc
Sent from my VS980 4G using XDA Free mobile app
Could I not back up the stock ROM using twrp and then after using custom ROMs flash it back (stock) and flash stock recovery and in root and relock boot loader using super su and boot loader apk?
Sent from my Nexus 5 using XDA Free mobile app
cameracartwright said:
Could I not back up the stock ROM using twrp and then after using custom ROMs flash it back (stock) and flash stock recovery and in root and relock boot loader using super su and boot loader apk?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Yes. If u can find all the right files to do that
Sent from my VS980 4G using XDA Free mobile app
NBreunig3 said:
Yes. If u can find all the right files to do that
Sent from my VS980 4G using XDA Free mobile app
Click to expand...
Click to collapse
think there on xda somewhere?
cameracartwright said:
think there on xda somewhere?
Click to expand...
Click to collapse
Yes. What phone and carrier are you using?
Sent from my VS980 4G using XDA Free mobile app
Nexus 5 on EE
Sent from my Nexus 5 using XDA Free mobile app
cameracartwright said:
Nexus 5 on EE
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
EE?
Sent from my VS980 4G using XDA Free mobile app
---------- Post added at 05:47 PM ---------- Previous post was at 05:46 PM ----------
cameracartwright said:
Nexus 5 on EE
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
The nexus devices are the easiest devices to get back to stock because Google supplies the stock images
Sent from my VS980 4G using XDA Free mobile app
Yes EE it was the first 4g carrier in UK used to be T-Mobile and orange
Sent from my Nexus 5 using XDA Free mobile app
But I can only flash the images from Google using adb right?
Sent from my Nexus 5 using XDA Free mobile app
cameracartwright said:
But I can only flash the images from Google using adb right?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Not sure. I am not familiar with nexus devices
Sent from my VS980 4G using XDA Free mobile app
This is a nexus thread?
Sent from my Nexus 5 using XDA Free mobile app
There are a couple different options.
I'm not sure if flashify requires a unlocked bootloader. Root, flash custom recovery with flashify, make a backup. When you are done either restore backup or if stock already use flashify to flash stock recovery, delete root apps, unroot via supersu.
Boot unlocker I have heard will work to lock and unlock boot loader but I'm not sure about resetting the tamper flag.
Using fastboot and adb is always going to be the surest and safest way to root etc. Unless you are going to be submitting your phone for RMA there should be no reason to unroot. You can always flash a stock rooted ROM and just leave it.
http://forum.xda-developers.com/showthread.php?p=47025283
http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 5 using Tapatalk
Steps are;
-Download boot unlocker fr on play
-Download flashify from play (just in case)
-Download vomers stock ROM (number 6 in resources section in the link in my signature)
-Download stock recovery (number 7 in resources section in the link in my signature)
Firstly, flash the recovery zip via your current recovery and reboot
Then, reset The tamper flag and lock the boot loader
Finally, open SuperSU and use the full indoor option to remove Root
Good as new.
Sent from my Nexus 5 using Tapatalk

Help with in call issue

Im having an issue with my calling. When I go to make a phone call to anyone the screen is completely black and I can not access my dialer or anything else while I'm on the phone but if I turn on my Bluetooth lg tones and make a phone call the screen will turn on and let me navagate threw my phone and I don't know how to fix this issue I was running android l from the Google website. Then I went to slim ROM weekly with Franco kernel and posted about my issue was told to flash factory image so I did and still broken. So I decided to completely unroot to 4.4.2 and lock my bootloader and take the 4.4.4 ota to see if that would fix the issue and it is still broken I'm curious if anyone has heard of this problem and has a solution to the fix? I also tried to just flash the 4.4.4 kernel and that didn't work either. Thank you for any help in advance
Sent from my Nexus 5
Most likely a hardware issue with the location sensor. If you're still under warranty I'd consider using it.
Edit, if you have a case on take that off first, it could be interfering with the sensor
Sent from my Nexus 5 using XDA Free mobile app
It was working just fine until I installed the dev preview that's what I don't understand
Sent from my Nexus 5 using XDA Free mobile app
fisher1991 said:
It was working just fine until I installed the dev preview that's what I don't understand
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Have you flashed the kk firmware in fastboot?
Sent from my Nexus 5 using XDA Free mobile app
Well I used a one root toolkit to unroot and then re root my phone so im not sure if I did or not
Sent from my Nexus 5 using XDA Free mobile app
fisher1991 said:
Well I used a one root toolkit to unroot and then re root my phone so im not sure if I did or not
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Download the 4.4.4 firmware and flash that in fastboot. Google nexus 5 factory image. Extract it and double click on the flash-all.bat. If you don't have fastboot, Google 15 second adb install xda. That'll set it up
See this too for further help http://forum.xda-developers.com/showthread.php?p=53439068
Sent from my Nexus 5 using XDA Free mobile app
Well I tried that and it didn't work out of ideas
Sent from my Nexus 5 using XDA Free mobile app
fisher1991 said:
Well I tried that and it didn't work out of ideas
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Installing with fastboot didn't work, or it did, but same problem? An important clarification.
I flashed a stock factory image with fastboot and it didn't work then I unrooted the phone to stock 4.4.2 took the update to 4.4.4 then tried and it was still broken then I rooted and tried again and its still broken
Sent from my Nexus 5 using XDA Free mobile app
fisher1991 said:
I flashed a stock factory image with fastboot and it didn't work then I unrooted the phone to stock 4.4.2 took the update to 4.4.4 then tried and it was still broken then I rooted and tried again and its still broken
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
If it's the same after a fresh stock install, then it's likely hardware. Tho honestly, I've never heard of this particular issue.
Thanks for your help on this that's just whatbi don't understand because it was all fine until I rand dev preview of android l let's hope the 5.0 ota fixes this issue if not then o well
Sent from my Nexus 5 using XDA Free mobile app
Wait. You need to solve your fastboot issue and flash stock. What you've done won't change anything. You need a clean install .
---------- Post added at 08:20 PM ---------- Previous post was at 08:18 PM ----------
Ota"s are not clean installs. Figure out the fastboot issue and flash 4.4.4.

Reverting from CM12 to kitkat 4.4.4

Hi All,
I am planning to upgrade my oneplus one to lollipop. How to revert it back on kitkat if in case I didn't find it useful as daily driver.
Thanks
Sent from my A0001 using XDA Premium 4 mobile app
Before you flash lollipop based rom, do a nandroid backup. If you don't find it as a daily driver then nandroid restore and you'll be we're you are at that given time.
Or just wipe and flash a kit kat rom.
Sent from my Nexus 6 using Tapatalk
abheshekk said:
Hi All,
I am planning to upgrade my oneplus one to lollipop. How to revert it back on kitkat if in case I didn't find it useful as daily driver.
Thanks
Sent from my A0001 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Just make a nandroid backup of your current ROM with TWRP before you wipe and flash. If you don't like Lollipop it's as simple as restoring the backup. I have detailed instructions in my guide thread (link in my signature).
---------- Post added at 09:29 PM ---------- Previous post was at 09:28 PM ----------
zephiK said:
Before you flash lollipop based rom, do a nandroid backup. If you don't find it as a daily driver then nandroid restore and you'll be we're you are at that given time.
Or just wipe and flash a kit kat rom.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Lol, beat me by a minute!
Which lollipop ROM is good as a daily driver with very few issues. Any recommendation
Sent from my A0001 using XDA Premium 4 mobile app
abheshekk said:
Which lollipop ROM is good as a daily driver with very few issues. Any recommendation
Sent from my A0001 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The only way to find out is to read the threads and see what people are saying about them.
Still I want to know what you guys are using and does it have any issues
Sent from my A0001 using XDA Premium 4 mobile app
abheshekk said:
Still I want to know what you guys are using and does it have any issues
Sent from my A0001 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Most roms do not have any issues. Just read the forum thread of the roms that look interesting to you, skim through the last couple of pages and you'll get a jist of the rom.
Or feel adventurous and go on a flashing adventure and try them all for a couple of minutes and then try another rom if it doesn't suite your needs. And what I mean by this is don't sign into your Google account, check the settings and what it has to offers.
Have fun doing it and don't take things too seriously
Sent from my Nexus 6 using Tapatalk
for a nandroid you means in TWRP go to backup and select data system cache and the 4th option all checked .. right

Temp-root to Perma-root?

Does anybody know of any ways to force a temp-root to a perma-root?
ate you using towel root
Sent from my SM-G355H using XDA Free mobile app
Remove the temp root and do a perma root maybe
Have a nice day, sent from my HTC One M8
most easy way is to flash a root update zip using any cuatom recovery. update.zip should de for your device
Sent from my SM-G355H using XDA Free mobile app
Easiest way is to get a custom recovery and flash the SuperSU zip which is universal
Sent from my SM-G386T1 using Tapatalk
droid_god said:
ate you using towel root
Sent from my SM-G355H using XDA Free mobile app
Click to expand...
Click to collapse
No, it's KingRoot.
None of the perma-roots work on this phone
[emoji25]
alvierahman90 said:
Remove the temp root and do a perma root maybe
Have a nice day, sent from my HTC One M8
Click to expand...
Click to collapse
Ok permanent way is to flash a root update zip file
https://drive.google.com/file/d/0ByZiuaK2U388eVdYbGRpTzRUTUk/view?usp=docslist_api
Sent from my SM-G355H using XDA Free mobile app
droid_god said:
most easy way is to flash a root update zip using any cuatom recovery. update.zip should de for your device
Sent from my SM-G355H using XDA Free mobile app
Click to expand...
Click to collapse
No custom recovery for this phone (yet).
Is it not possible to flash zips through the stock recovery?
Blu8 said:
Easiest way is to get a custom recovery and flash the SuperSU zip which is universal
Sent from my SM-G386T1 using Tapatalk
Click to expand...
Click to collapse
Anyway to flash through stock recovery?
No the stock recovery can't flash zips made for twrp and the like, only updates from your sd card.
Sent from my SM-G386T1 using Tapatalk
---------- Post added at 11:51 AM ---------- Previous post was at 11:50 AM ----------
Which phone do you have?
Sent from my SM-G386T1 using Tapatalk
---------- Post added at 11:53 AM ---------- Previous post was at 11:51 AM ----------
droid_god said:
Ok permanent way is to flash a root update zip file
https://drive.google.com/file/d/0ByZiuaK2U388eVdYbGRpTzRUTUk/view?usp=docslist_api
Sent from my SM-G355H using XDA Free mobile app
Click to expand...
Click to collapse
Two questions, why did that get flagged as a violation of ToS? And second, if that's the SuperSU zip, why are you uploading it and sharing it through Google drive?
Sent from my SM-G386T1 using Tapatalk
Blu8 said:
No the stock recovery can't flash zips made for twrp and the like, only updates from your sd card.
Sent from my SM-G386T1 using Tapatalk
---------- Post added at 11:51 AM ---------- Previous post was at 11:50 AM ----------
Which phone do you have?
Sent from my SM-G386T1 using Tapatalk
---------- Post added at 11:53 AM ---------- Previous post was at 11:51 AM ----------
Two questions, why did that get flagged as a violation of ToS? And second, if that's the SuperSU zip, why are you uploading it and sharing it through Google drive?
Sent from my SM-G386T1 using Tapatalk
Click to expand...
Click to collapse
Updates from SD card?
Phone is an Alcatel One Touch Pop Icon (A564C) though.
Like official updates, or if anyone ever figures it out you could get root by flashing a zip using the stock recovery. But that would have to be specifically made to work with the stock recovery.
Sent from my SM-G386T1 using Tapatalk
Stock recovery should have an option of flaahing update.zip.
Just rename the zip to update.zip and flash through stock one
Sent from my SM-G355H using XDA Free mobile app
Just curious, what are linking to on Google drive? And that's unlikely to work, try it if you want op
Sent from my SM-G386T1 using Tapatalk
droid_god said:
Stock recovery should have an option of flaahing update.zip.
Just rename the zip to update.zip and flash through stock one
Sent from my SM-G355H using XDA Free mobile app
Click to expand...
Click to collapse
Have you ever done this before?
Blu8 said:
Just curious, what are linking to on Google drive? And that's unlikely to work, try it if you want op
Sent from my SM-G386T1 using Tapatalk
Click to expand...
Click to collapse
Idk what he's linking. Pretty sure it's a supersu.zip or something...
Will what he's suggesting have a high chance of bricking my device?
It might but I don't understand why it's flagged or why he's making mirror links to what is the easiest to find rooting file on the Internet. Will it brick? Probably not, it most likely won't even flash successfully.
Sent from my SM-G386T1 using Tapatalk
droid_god said:
Stock recovery should have an option of flaahing update.zip.
Just rename the zip to update.zip and flash through stock one
Sent from my SM-G355H using XDA Free mobile app
Click to expand...
Click to collapse
Renamed zip to update.zip but it wouldn't show up in stock recovery...is it supposed to be in a specific location? Tried with it in internal memory as well as onsd card...
While in recovery ended up on a screen with android laying down on back with a triangle with exclamation point...what exactly does that mean?

Categories

Resources