so, just got my nexus a couple of days ago, and loving it!
would like to decrypt, but not 100% sure on the best/safest way to do it at this point..
running pure rom, with lots of tweaks, and I originally unlocked and rooted with Wugs great toolkit.
I know if I decrypt at this point I will lose all my data and stuff, but of course its already backed up in a couple of places, and I have the "fixes" to flash after I decrypt to keep me that way, if I flash a "encrypted" rom by mistake.
Just wondering if someone could make a straightforward post, telling me the 3 or 4 things I need to do/flash to get to that point.
Thanks so much!:good:
you need to flash a custom kernel that allows for decryption, then you have to format your storage. only then will you boot up decrypted. if you dont actively decrypt(format your storage), you wont be decrypted. this will delete everything in your storage.
ok, then do you know of a kernel for Tmobile that allows for that?
do I flash that kernel in twrp, then also format everything else in TWRP?
if I do that, how do I then boot my phone into something useable so I can rebuild it once again?
thanks
wase4711 said:
ok, then do you know of a kernel for Tmobile that allows for that?
do I flash that kernel in twrp, then also format everything else in TWRP?
if I do that, how do I then boot my phone into something useable so I can rebuild it once again?
thanks
Click to expand...
Click to collapse
You can use the Nexus Root Toolkit to decrypt as well. I believe its under advanced utilities-flash boot image. You will have to be on a stock build however, so you could also use flash stock plus unroot. I believe there is an option there for flashing a no encrypt kernel in the process.
Sent from my Nexus 6 using Tapatalk
wase4711 said:
ok, then do you know of a kernel for Tmobile that allows for that?
do I flash that kernel in twrp, then also format everything else in TWRP?
if I do that, how do I then boot my phone into something useable so I can rebuild it once again?
thanks
Click to expand...
Click to collapse
any custom kernel does. and there is no such thing on any nexus device as aa rom or kernel for a specific carrier, they all work on tmobile.
Othoric said:
You can use the Nexus Root Toolkit to decrypt as well. I believe its under advanced utilities-flash boot image. You will have to be on a stock build however, so you could also use flash stock plus unroot. I believe there is an option there for flashing a no encrypt kernel in the process.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
simms22 said:
any custom kernel does. and there is no such thing on any nexus device as aa rom or kernel for a specific carrier, they all work on tmobile.
Click to expand...
Click to collapse
thanks guys, I got it now!
Final question; is there a REAL difference in performace when you are decrypted, or is it mostly placebo?
this phone, on Pure Rom, is super fast and smooth, and I cant imagine it getting much better if decrypted, but as a Nexus N00b, I just dont know.
Thanks again for your help and feedback :good:
Most likely Pure has a decrypt kernel. Haven't looked. Beans usually adds all those tweaks. Just need to format data. May Lose your data and have to start over. Not sure as I run encrypted. If run decrypted might as well welcome Stagefright too.
ah, good point, so running decrypted makes you vulnerable to that krap...
wase4711 said:
ah, good point, so running decrypted makes you vulnerable to that krap...
Click to expand...
Click to collapse
Decrypted makes you vulnerable to any data exploit. Stagefright is different but both are security risks. Probably won't see a performance boost with decrypt. Only can be seen with large data files. Won't see with apps or daily use.
wase4711 said:
thanks guys, I got it now!
Final question; is there a REAL difference in performace when you are decrypted, or is it mostly placebo?
this phone, on Pure Rom, is super fast and smooth, and I cant imagine it getting much better if decrypted, but as a Nexus N00b, I just dont know.
Thanks again for your help and feedback :good:
Click to expand...
Click to collapse
I've ran both. And I actually just decrypted for a second time to see if I noticed any difference. To be perfectly honest, and this is just my personal experience, I haven't seen any noticeable difference between being encrypted or not since the release of 5.1. And since there are some ROMs out there that do have force encryption, I personally am going to go back to being encrypted just so I have one less thing to worry about when flashing ROMs. But there is a flashable zip that you can flash after any ROM that will disable force encryption if you want to go that route.
Sent from my Nexus 6 using Tapatalk
Let's clear things up. There is only one way to do it. You first need a kernel that doesn't force encryption (most don't force) so check the rom thread as its kernel probably doesn't either.
Then, you have to format userdata, which means all your apps, data (including sdcard) and settings will be gone.
Granted, there are a few ways to get these 2 steps done, but "fastboot format userdata" or format /data from TWRP recovery are the best.
As for TMobile, its the exact same phone as every other in north America, so all roms and kernels work. Actually there is.only one other model.(international) .and that works.with all the same.ROMs.and kernels.too.
Thanks for clarification. The format userdata was what I wasn't sure about. Recovery format I know clears all data. Fastboot format userdata restores data after format. Fastboot erase userdata wipes data. Wasn't sure which type format was required.
danarama said:
Let's clear things up. There is only one way to do it. You first need a kernel that doesn't force encryption (most don't force) so check the rom thread as its kernel probably doesn't either.
Then, you have to format userdata, which means all your apps, data (including sdcard) and settings will be gone.
Granted, there are a few ways to get these 2 steps done, but "fastboot format userdata" or format /data from TWRP recovery are the best.
As for TMobile, its the exact same phone as every other in north America, so all roms and kernels work. Actually there is.only one other model.(international) .and that works.with all the same.ROMs.and kernels.too.
Click to expand...
Click to collapse
thanks man, I am out of thanks for the day, but I do appreciate the input!
it sounds like with 5.1, there isn't a real strong reason to decrypt, and with all the stagefright nonsense floating around, and what ever other hidden exploits there are, its probably better at this point to just stay encrypted, since it doesn't sound like there are any major advantages to decrypt right now.
I appreciate everyone who posted in here for their knowledge and insight, and I will make sure I help anyone else going forward with a similar question.:good::good:
prdog1 said:
Thanks for clarification. The format userdata was what I wasn't sure about. Recovery format I know clears all data. Fastboot format userdata restores data after format. Fastboot erase userdata wipes data. Wasn't sure which type format was required.
Click to expand...
Click to collapse
fastboot erase userdata wipes all data but doesn't recreate the file system so the filesystem will retain the encryption flag.
fastboot format userdata will recreate the filesystem losing the encryption flag and since the kernel won't re-add the flag on boot, ,you're good to go.
Neither restore data.
Same in recovery, erase/wipe data won't format, only format will.
danarama said:
fastboot erase userdata wipes all data but doesn't recreate the file system so the filesystem will retain the encryption flag.
fastboot format userdata will recreate the filesystem losing the encryption flag and since the kernel won't re-add the flag on boot, ,you're good to go.
Neither restore data.
Same in recovery, erase/wipe data won't format, only format will.
Click to expand...
Click to collapse
You are correct. Thanks for the clarification. I run modified stock rooted so don't run into a lot of these scenarios that break their devices. All my mods are hard coded.
Mod Edit
Thread Closed - At OP request
ronnie498
Forum Moderator
Related
Anyone know if this can be obtained without flashing the userdata.img? I don't feel like backing up my phone and just want to decrypt..
Sent from my Nexus 6
noodles2224 said:
Anyone know if this can be obtained without flashing the userdata.img? I don't feel like backing up my phone and just want to decrypt..
Sent from my Nexus 6
Click to expand...
Click to collapse
That's the thing, the current process doesn't actually decrypt your device, it just no longer forces encryption. Since all of your current data is encrypted, the only way to run without encryption is to format the encrypted data. This is what is done when you flash the userdata.img.
So no, formatting data is the only way currently. Perhaps someone makes a way eventually, but to be honest I don't think anyone would make something. It would likely take as much time and effort as it does to make backups on your computer, then put them back afterwards.
Oh ok.. I guess I'll do it when I'm bored or something and when I get the latest adb and fastboot on my Mac. I keep getting the system error and read that having the latest adb and fastboot helps with that.. Thank you.
Sent from my Nexus 6
Guys I just have a question,
I will be receiving my nexus 6 tomorrow and I plan on unlocking the boot loader and rooting it, but what I am curious about from reading all the threads is a few things.
1) I plan on using adb to unlock boot loader and root
2) I plan on using flashify to install twrp so i can be able to get a backup of the stock recovery
My question is this. I plan on installing cm12 on my device and i like the idea of having my device descrpyted. I am told I have to flash the script I believe made by chainfire, but i also read u can flash another kernel. Which would i have to do? I read some say that u have to do the one made by chainfire first, and others said u just have to flash another kernel.
Also since the cm12 comes encrypted as default and lets say I "dont" want to descrypt do I have to before I flash cm12 even though its set as default encrpyted just like stock?
the_rooter said:
1) I plan on using adb to unlock boot loader and root
2) I plan on using flashify to install twrp so i can be able to get a backup of the stock recovery
Click to expand...
Click to collapse
1) You'll need to use fastboot to unlock the bootloader. YOu'll then need to use fastboot to flash the recovery. If you're going to flash a rom, you may not need to then root as some roms are already rooted
2) flashify needs root to flash the recovery and you need the recovery to flash root.
What chain fire thing? Chain fire doesn't have anything in relation to encryption from what I know. Go to Android development and find the unencrypt thread and from there you'll find out how to unencrypt.
Do note that your data will be wiped. You'll have to flash a custom kernel before your phone starts up otherwise your phone will be encrypted again.
Most custom kernels have encryption patches to accelerate the encryption i/o speeds. You're better off just leaving it enabled if you want to keep things simple.
Sent from my Nexus 6 using Tapatalk
rootSU said:
1) You'll need to use fastboot to unlock the bootloader. YOu'll then need to use fastboot to flash the recovery. If you're going to flash a rom, you may not need to then root as some roms are already rooted
2) flashify needs root to flash the recovery and you need the recovery to flash root.
Click to expand...
Click to collapse
If i remember from previous devices doesnt flashify allow backup of the stock recovery? and also it flashes twrp within the app as long as root is done.
Edit:
Also I wasnt sure who made the descrypt file to flash, and yes i know it does a FDR, but wouldnt it be better just to flash a custom kernel? Most kernels are already descrypted. Sorry if i repeated anything.
the_rooter said:
If i remember from previous devices doesnt flashify allow backup of the stock recovery? and also it flashes twrp within the app as long as root is done.
Click to expand...
Click to collapse
Yes, but you wont have root at that point so, no...
rootSU said:
Yes, but you wont have root at that point so, no...
Click to expand...
Click to collapse
i am honestly not trying to pick a fight and i thank you for taking your time to help me out but if i follow this thread:
http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
That gives me root via fastboot up to the end of obtaining root and not doing custom recovery.
Within flashify i know u can back up the stock recovery, and then flash twrp. After i flash twrp i will be making a back up of my system just in case something goes wrong.
That sound correct? I prolly will give a few days and wait till my usb otg sd adapter to get here before i actually flash a rom. Sorry should have mentioned that.
the_rooter said:
i am honestly not trying to pick a fight and i thank you for taking your time to help me out but if i follow this thread:
http://forum.xda-developers.com/nexus-6/general/how-to-nexus-6-one-beginners-guide-t2948481
That gives me root via fastboot up to the end of obtaining root and not doing custom recovery.
Within flashify i know u can back up the stock recovery, and then flash twrp. After i flash twrp i will be making a back up of my system just in case something goes wrong.
That sound correct? I prolly will give a few days and wait till my usb otg sd adapter to get here before i actually flash a rom. Sorry should have mentioned that.
Click to expand...
Click to collapse
That uses a script to flash root... But lets break down your steps...
fastboot unlock
run script
boot into android
install flashify
flash recovery
Download rom
reboot recovery
flash rom
vs my steps...
fastboot unlock
fastboot flash recovery
put rom on sdcard
flash rom
It doesnt matter if you backup your stock recovery, because its all available on the google site anyway as this is a nexus device.
rootSU said:
That uses a script to flash root... But lets break down your steps...
fastboot unlock
run script
boot into android
install flashify
flash recovery
Download rom
reboot recovery
flash rom
vs my steps...
fastboot unlock
fastboot flash recovery
put rom on sdcard
flash rom
It doesnt matter if you backup your stock recovery, because its all available on the google site anyway as this is a nexus device.
Click to expand...
Click to collapse
thanks man that helps alot. Now still on the confusing about the encrypt and decrypt. Whats the advantages to disadvantages? because from what i here people say it should be decrpyted, and that i have to follow the step set up in that thread to do so, but wouldnt like i said before just be as easier to just flash a decrpyted kernel and be done with it?
Edit: Sorry with all the questions this is my first nexus device since i am on verizon.
the_rooter said:
thanks man that helps alot. Now still on the confusing about the encrypt and decrypt. Whats the advantages to disadvantages? because from what i here people say it should be decrpyted, and that i have to follow the step set up in that thread to do so, but wouldnt like i said before just be as easier to just flash a decrpyted kernel and be done with it?
Edit: Sorry with all the questions this is my first nexus device since i am on verizon.
Click to expand...
Click to collapse
Do some reading off XDA on what encryption is and its advantages/disadvantages.
To be simplistic,
Encryption pro: more protection with your data
Encryption disadvantage: slower I/O speed
(Most custom kernels include patches that accelerate the speed of I/O with encryption on, Google's stock kernel does not include this)
Decryption pro: faster I/O speeds, possible increase in battery life as your phone is not using clock cycles to perform encryption (not by much, if any)
Decrypton disadvantage: less protection with your data, but if you're not carrying sensitive data, then who cares.
My suggestion to you is to leave it encrypted and if you don't notice anything slowing down then leave it. Keep it simple.
zephiK said:
Do some reading off XDA on what encryption is and its advantages/disadvantages.
To be simplistic,
Encryption pro: more protection with your data
Encryption disadvantage: slower I/O speed
(Most custom kernels include patches that accelerate the speed of I/O with encryption on, Google's stock kernel does not include this)
Decryption pro: faster I/O speeds, possible increase in battery life as your phone is not using clock cycles to perform encryption (not by much, if any)
Decrypton disadvantage: less protection with your data, but if you're not carrying sensitive data, then who cares.
My suggestion to you is to leave it encrypted and if you don't notice anything slowing down then leave it. Keep it simple.
Click to expand...
Click to collapse
Thanks for you help guys. With this being my first nexus phone i think i understand now.
the_rooter said:
Thanks for you help guys. With this being my first nexus phone i think i understand now.
Click to expand...
Click to collapse
Once a Nexus you won't go back Nexus devices are the devices to be on XDA, traffic is a lot higher here than the other phones.
zephiK said:
Once a Nexus you won't go back Nexus devices are the devices to be on XDA, traffic is a lot higher here than the other phones.
Click to expand...
Click to collapse
well yeah but like i said i am on big red and this is the first nexus device they are allowing since the gnex days
I recently received my nexus 6 a couple days ago and I LOVE it. The problem I am having at the moment is that I can't seem to get it to go decrypt. I downloaded the tool kit and my devices build isn't present. As a result, the tool kit it won't allow me to run the decrypt option on the fastboot window.
It's anyone running into this. My build is a LNX***.
First, what toolkit are you talking about?
Second, to decrypt the N6 you need to flash a modified boot image and then wipe your phone.
Thirdly, what's build LNX***?
Didgeridoohan said:
First, what toolkit are you talking about?
Second, to decrypt the N6 you need to flash a modified boot image and then wipe your phone.
Thirdly, what's build LNX***?
Click to expand...
Click to collapse
I'm using the nexus root toolkit . I have the flash on my computer and LNX07M is the build I have on the device. Maybe I should install a custom ROM first?
Nexus 6....man I missed being rooted.
KappaAce2010 said:
I'm using the nexus root toolkit . I have the flash on my computer and LNX07M is the build I have on the device. Maybe I should install a custom ROM first?
Nexus 6....man I missed being rooted.
Click to expand...
Click to collapse
You just need a custom kernel and a wipe.
another prime example of why you shouldn't use toolkits, if you don't understand what they are doing you shouldn't be using them.
To decrypt all you need to do is:
Backup your internal storage to a PC
Either use custom recovery to wipe everything including internal storage, install your rom and install a kernel that doesn't force
or
factory reset your phone, but before it boots up go back into recovery and flash a custom kernel that doesn't enforce
Circaflex said:
another prime example of why you shouldn't use toolkits, if you don't understand what they are doing you shouldn't be using them.
To decrypt all you need to do is:
Backup your internal storage to a PC
Either use custom recovery to wipe everything including internal storage, install your rom and install a kernel that doesn't force
or
factory reset your phone, but before it boots up go back into recovery and flash a custom kernel that doesn't enforce
Click to expand...
Click to collapse
Well if you to come off as a jerk, you have accomplished your goal. All you had to do was state what was needed and none of bs personal ideals you have. It's a Q & A section, so you should expect questions like this to arise.
Thank you for the input though.
Nexus 6....man I missed being rooted.
KappaAce2010 said:
Well if you to come off as a jerk, you have accomplished your goal. All you had to do was state what was needed and none of bs personal ideals you have. It's a Q & A section, so you should expect questions like this to arise.
Thank you for the input though.
Nexus 6....man I missed being rooted.
Click to expand...
Click to collapse
Although you're right, it is a personal ideal of many of us, I don't think he intended to come off as a jerk. But his point is that toolkits often remove the need for knowledge, which can become a problem for some users.
The good thing about nexus devices is that everything is pretty easy to do, so if you get stuck - continue to ask.
+1 to what rootSU said. And you should probably upgrade. That build is ancient and doesn't even have an official factory image (the reason it's not available in NRT).
Didgeridoohan said:
+1 to what rootSU said. And you should probably upgrade. That build is ancient and doesn't even have an official factory image (the reason it's not available in NRT).
Click to expand...
Click to collapse
I already plan on doing this anyway. Just time is conflicting with me at the moment.
rootSU said:
Although you're right, it is a personal ideal of many of us, I don't think he intended to come off as a jerk. But his point is that toolkits often remove the need for knowledge, which can become a problem for some users.
The good thing about nexus devices is that everything is pretty easy to do, so if you get stuck - continue to ask.
Click to expand...
Click to collapse
Well it happened, it's not going anywhere. Either way thanks guys for the advice. I should figure out everything tonight.
Nexus 6....man I missed being rooted.
Everything is a go. Fully decrypted and loving it. Thanks again.
Hey guys! Me again! Just wanted to know if you're supposed to wipe userdata for every custom kernel with this phone. I know it has the forced encryption and it complicates things a bit. I know if you flash an unencrypted kernel, it needs to be wiped because it can't read your old encrypted data, but as for a custom kernel change that maybe has encryption on, is a full wipe still needed? Thanks guys!
Sent from my Nexus 6
H4X0R46 said:
Hey guys! Me again! Just wanted to know if you're supposed to wipe userdata for every custom kernel with this phone. I know it has the forced encryption and it complicates things a bit. I know if you flash an unencrypted kernel, it needs to be wiped because it can't read your old encrypted data, but as for a custom kernel change that maybe has encryption on, is a full wipe still needed? Thanks guys!
Sent from my Nexus 6
Click to expand...
Click to collapse
short answer, no.
long answer.. you NEVER have to wipe when flashing a kernel. what does your data and installed apps have to do with kernels? its like wiping your butt specifically to eat a banana :silly:
Oh no way? I heard the unencrypted kernels need a full wipe! And the same when installing the stock kernel back! Is this wrong info?
As for what it has to do with kernels, I thought it did just because this device specifically complicates it with it's forced encryption.
Sent from my Nexus 6
@simms22 banana huh. Lol I agree guys, and why would the encryption matter. Correct me if I'm wrong Simms but that's like saying yes to permissive boot, no to enforcing. Just kernel commands. Still a kernel. Fastboot wouldn't, flashifly wouldn't.
Sent from my Nexus 6 using Tapatalk
Alright guys! So I was told false information hahahaha nice banana analogy. So flashing an unencrypted kernel means I can retain my data? The forced encryption doesn't cause any extra complications?
H4X0R46 said:
Alright guys! So I was told false information hahahaha nice banana analogy. So flashing an unencrypted kernel means I can retain my data? The forced encryption doesn't cause any extra complications?
Click to expand...
Click to collapse
It's always best practice to to wipe or format userdata and if you have one when going from one version of Android to another (such as Lollipop to Marshmallow) but I guess there's nothing wrong with trying a "dirty upgrade" (no format) and seeing if everything works okay. If it doesn't you can always go back and wipe or format userdata and restore from your backup.
713brianp27 said:
@simms22 banana huh. Lol I agree guys, and why would the encryption matter. Correct me if I'm wrong Simms but that's like saying yes to permissive boot, no to enforcing. Just kernel commands. Still a kernel. Fastboot wouldn't, flashifly wouldn't.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
its made into a kernel option nowadays, but it really can be implemented by anything. it use to be apps that people used, but google banned all those apps from the play store, like 6 months ago i think.
Oh yeah I deal with selinux in repos. I just add the cmdline, but I was just using that as an analogy referring to encryption on kernel. Not seeing why encryption status would matter. @simms22
Sent from my Nexus 7 using Tapatalk
H4X0R46 said:
Alright guys! So I was told false information hahahaha nice banana analogy. So flashing an unencrypted kernel means I can retain my data? The forced encryption doesn't cause any extra complications?
Click to expand...
Click to collapse
to unencrypt, you not only have to flash the kernel, but you have to format your storage as well. that completely delete everything. thats a one time deal though. those kernels actually give you an option, you can stay encrypted or you could decrypt. if you flash other custom kerneks, theyll give you the same option. from that point on, you could just flash. or flash your rom , and kernel. but you you flash a kernel that doesnt give you that option, itll encrypt you again.
---------- Post added at 11:29 PM ---------- Previous post was at 11:13 PM ----------
713brianp27 said:
Oh yeah I deal with selinux in repos. I just add the cmdline, but I was just using that as an analogy referring to encryption on kernel. Not seeing why encryption status would matter. @simms22
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
my bad
i thought you were asking about it :angel:
When you mentioned app, I was lost. Google's encrypting apps. Guess I should a role a fruit rectum combo. Its a fine line simms. You can flash unencrypted w/o wiping or anything. But you'll still be encrypted until you "fastboot format user data.img". I decrypted twice first on fastboot, then tried the twrp format and it worked.
Sent from my Nexus 6 using Tapatalk
Alright, so basically you have to wipe when you first install an unencrypted kernel, but you don't have to wipe again when installing the stock encrypted kernel? This post is going so many random ways, from butt wiping to getting your daily intake of vitamins hahahaha
Sent from my Nexus 6
H4X0R46 said:
Alright, so basically you have to wipe when you first install an unencrypted kernel, but you don't have to wipe again when installing the stock encrypted kernel? This post is going so many random ways, from butt wiping to getting your daily intake of vitamins hahahaha
Sent from my Nexus 6
Click to expand...
Click to collapse
Yeah , sorry we were going off topic in your thread. Lol
Once your unencrypted your good. No erasing data. I only did it twice because I needed to check a feature on cm as were cm based and they still had boot encryption. Should of known better. 1 time format data and install any kernel thats not force encryption
713brianp27 said:
Yeah , sorry we were going off topic in your thread. Lol
Once your unencrypted your good. No erasing data. I only did it twice because I needed to check a feature on cm as were cm based and they still had boot encryption. Should of known better. 1 time format data and install any kernel thats not force encryption
Click to expand...
Click to collapse
Nah you guys are all good haha a good laugh is needed sometimes xD Alright! Are most or all custom kernels unencrypted? And is a full wipe needed to go back to stock kernel? Thanks guys! You're a big help lol
H4X0R46 said:
Nah you guys are all good haha a good laugh is needed sometimes xD Alright! Are most or all custom kernels unencrypted? And is a full wipe needed to go back to stock kernel? Thanks guys! You're a big help lol
Click to expand...
Click to collapse
Yes most are. Saw 1 "Starship" not yet unencrypted. Yes you flash back to stock but upon reboot your data will get encrypted
hey, so, I am on hells-core kernel right now, and It still says that I am decrypted. Can someone help me out with this? I have not wiped anything since I unlocked the bootloader. Do I need to wipe everything to have it decrypted? please help because I have no idea why its not unencrypting it.
royredman said:
hey, so, I am on hells-core kernel right now, and It still says that I am decrypted. Can someone help me out with this? I have not wiped anything since I unlocked the bootloader. Do I need to wipe everything to have it decrypted? please help because I have no idea why its not unencrypting it.
Click to expand...
Click to collapse
you need to format your userdata to decrypt, after flashing a kernel that allows it. you can use fastboot to do it, fastboot format user data.img. or you can do it with twrp recovery. it will delete everything in your storage.
Thanks everyone! You guys are awesome!
EDIT: This may be a stupid question, but you can't be too damn careful with kernels haha anyways, are custom kernels at all specific to a certain build? Or is it cool to flash a custom kernel without worrying about the build too much? And worst case scenario, you can just fastboot flash the stock if it just doesn't work?
H4X0R46 said:
Thanks everyone! You guys are awesome!
EDIT: This may be a stupid question, but you can't be too damn careful with kernels haha anyways, are custom kernels at all specific to a certain build? Or is it cool to flash a custom kernel without worrying about the build too much? And worst case scenario, you can just fastboot flash the stock if it just doesn't work?
Click to expand...
Click to collapse
Build meaning Roms correlated Android version. Yes they are specific. For ex an easy one is ElementalX , his site will list device- and version . kernel for 5.1.1 kernel for 6.0 and such. Visit his xda under original android development. You'll see how it works version wise.
Sent from my Nexus 6 using Tapatalk
H4X0R46 said:
Thanks everyone! You guys are awesome!
EDIT: This may be a stupid question, but you can't be too damn careful with kernels haha anyways, are custom kernels at all specific to a certain build? Or is it cool to flash a custom kernel without worrying about the build too much? And worst case scenario, you can just fastboot flash the stock if it just doesn't work?
Click to expand...
Click to collapse
It' s all about Android version. Generally, you should only use a 5.0 kernel on a 5.0 build, or a 5.1 kernel on 5.1, however, there aren't many kernel changes between 5.1.1 and 6.0, so you can actually use a 6.0 kernel without any issues on 5.11 - though you shouldn't go backwards and use a 5.1.1 kernel on 6.0
Per Android version yea, I figured. But they aren't specific as to like, only works with MRA48k or only works with LMY48I or something? And worst case scenario, can a kernel leave your device in a hard brick if it's at least for your device?
Sent from my Nexus 6
So I have a Nexus 6 stock room rooted (Systemless root). I have been a cm user ever since my Evo supersonic. I am unfamiliar with the correct way to apply the OTA that came out recently.
I have read that all that is needed is to flash system.img from the new archive. Is this true? Keep in mind I want to update without wiping my apps and data. I have been asking myself if I can give up phone-wide adblocking, and I'm going to give it a shot. The reason I've been asking this is because as I understand it, updating will remove twrp. This I don't really understand... Why would flashing system wipe recovery? Aren't they in different partitions?
I have done a lot of searching over a stupidly long period of time and have not found satisfactory answers.
Can I simply :
fastboot flash system system.img
or is there more to it than that?
Could someone please lay it all out for me?
Thanks
And yes I did see this thread: http://forum.xda-developers.com/nexus-6/general/easily-apply-ota-update-to-rooted-nexus-t3204018
And this one as well: http://forum.xda-developers.com/nexus-6/general/using-image-to-update-nexus-6-data-loss-t3053158
There are unanswered questions with both.
On the first link, why the hell would I erase the system partition? Wouldn't that be like doing a factory reset???
On the second one, why the hell would I flash the bootloader? Would it have changed from version to version and why would it matter if it had?
Why do I need anything other than to flash system.img over what is already there and flash the new radio?
So, erasing system before flashing is not really necessary, but it doesn't hurt, and definitely it's not factory reset. Erasing only makes sure that while flashing erases all files before flashing a partition, you want to be extremely sure.
And no, erasing system is not factory reset. Factory reset is erasing the data partition where the application data is stored, even for the system and private system apps. Actually TWRP only deletes the /data/data folder and some Android folders and leaves your other files safe when performing "factory reset".
You might need the boot.img, because it contains the kernel itself, so as these updated are security updates, it's probable they have patched some security hole in the kernel itself.
Finally the radio might have changed, but it usually doesn't. In fact AFAIK it hasn't changed since after the M previews, and the bootloader is the same as in the M previews. But if you don't have the previous factory images to do quick file diffs, it won't hurt to update them anyway.
So you need to flash boot and system, the re-flash SuperSu, and that"s that. If you want to make sure you won't have some system apps FC-ing in TWRP delete cache and dalvik. And if it'S TWRP prior to 3.0 don't let it modify your system partition.
And that's that.
Thank you
Forboding Angel said:
And yes I did see this thread: http://forum.xda-developers.com/nexus-6/general/easily-apply-ota-update-to-rooted-nexus-t3204018
And this one as well: http://forum.xda-developers.com/nexus-6/general/using-image-to-update-nexus-6-data-loss-t3053158
Click to expand...
Click to collapse
Did you also take a look at this one: http://forum.xda-developers.com/nexus-6/help/how-security-update-ota-twrp-t3307409 ? Post #23 in that thread may answer your question as to why TWRP might get replaced with stock recovery.
Ahhhh ok that explains a lot. I think I'm going to try going straight stock with adblock browser and no root and see if I can put up with it.