Wipe from TWRP + Kernal install? - Nexus 6P Q&A, Help & Troubleshooting

Sorry if this has been asked (did a couple searches didn't see a thread matching) but I already have my bootloader unlocked (from flashing a factory image) but I'm wondering if I choose to install TWRP and then flash a custom kernal would either of those actions require a full wipe (as in losing all data) of my 6P?
Thank you!

USFguy said:
Sorry if this has been asked (did a couple searches didn't see a thread matching) but I already have my bootloader unlocked (from flashing a factory image) but I'm wondering if I choose to install TWRP and then flash a custom kernal would either of those actions require a full wipe (as in losing all data) of my 6P?
Thank you!
Click to expand...
Click to collapse
If you want to decrypt the internal storage, then yes, you will need to wipe. If not, you can go ahead.

DJBhardwaj said:
If you want to decrypt the internal storage, then yes, you will need to wipe. If not, you can go ahead.
Click to expand...
Click to collapse
From what I read in the guide from Heisenberg there's really no reason to decrypt anymore correct?

USFguy said:
From what I read in the guide from Heisenberg there's really no reason to decrypt anymore correct?
Click to expand...
Click to collapse
It depends upon you. There is not much difference in terms of performance.

Related

How can I switch form PA 3.99RC2 to 4.4RC1 on N4?

Hello to all,
as one can easily deduce from the title I would need a guide with all the steps you can take to upgrade from the version of Paranoid Android 3.99 RC2 to the latest version 4.4 RC2.
I wanted to wait for it to come out of beta before flashing the new version but now I do not know if I need new bootloader and radio or make other steps introduced with the new versions of the PA.
Can someone guide me with the steps to follow to make this switch?
Thanks in advance for the answers.
PS: Sorry for my bad English.
make a nandroid backup in recovery, then dirty flash it over the previous version and also flash the gapps. if you have issues, wipe data and reflash everything.
Piota said:
Hello to all,
as one can easily deduce from the title I would need a guide with all the steps you can take to upgrade from the version of Paranoid Android 3.99 RC2 to the latest version 4.4 RC2.
I wanted to wait for it to come out of beta before flashing the new version but now I do not know if I need new bootloader and radio or make other steps introduced with the new versions of the PA.
Can someone guide me with the steps to follow to make this switch?
Thanks in advance for the answers.
PS: Sorry for my bad English.
Click to expand...
Click to collapse
Hiya Piota
basically:
1. Backup ur data
2. reboot into bootloader
3. Download and Flash the latest 2 files Radio , Bootloader
4. boot into recovery factory reset and format system
5. flash the rom and gapps.
new radio or bootloader is not needed if you dont want it.
nightmare911 said:
Hiya Piota
basically:
1. Backup ur data
2. reboot into bootloader
3. Download and Flash the latest 2 files Radio , Bootloader
4. boot into recovery factory reset and format system
5. flash the rom and gapps.
Click to expand...
Click to collapse
Can I flash radio and bootloader from the recovery?
If I factory reset and format system have I to reinstall all the apps?
PS: Thank you!
Piota said:
Can I flash radio and bootloader from the recovery?
If I factory reset and format system have I to reinstall all the apps?
PS: Thank you!
Click to expand...
Click to collapse
you can flash them in recovery, yes.
yes, wiping data/factory reset will get rid of all your apps and data.
simms22 said:
you can flash them in recovery, yes.
yes, wiping data/factory reset will get rid of all your apps and data.
Click to expand...
Click to collapse
I have done a bkp, then I've flashed radio and bootloader, than I've done wipe and format but now how can I flash something if I can't put the image in the phone (because there isn't an OS)?
Piota said:
I have done a bkp, then I've flashed radio and bootloader, than I've done wipe and format but now how can I flash something if I can't put the image in the phone (because there isn't an OS)?
Click to expand...
Click to collapse
why did you wipe the os? youll need to adb push a rom to your device now or flash the factory img and reroot. OR, restore your backup. thats why i wrote to dirty flash the rom first, you most likely would have been fine and had no data loss. second choice would be to wipe fdata and flash, where you would lose data. the last option is to wipe the os off your phone, only if you have serious issues.
edit. if you wiped all from your phone that means you cleared your backup as well.
simms22 said:
why did you wipe the os? youll need to adb push a rom to your device now or flash the factory img and reroot. OR, restore your backup. thats why i wrote to dirty flash the rom first, you most likely would have been fine and had no data loss. second choice would be to wipe fdata and flash, where you would lose data. the last option is to wipe the os off your phone, only if you have serious issues.
edit. if you wiped all from your phone that means you cleared your backup as well.
Click to expand...
Click to collapse
How can I restore the bkp if I can't put the bkp in the phone?
I have to push with ADB how can I do that?
search google "how to adb push a rom", or if youre using twrp you can search also search adb sideload. lots of links will come up.
Problem solved! Thank you all! I've just done an "adb push".
Piota said:
Problem solved! Thank you all! I've just done an "adb push".
Click to expand...
Click to collapse
sweet

Encryption unlocked & rooted?

I've been reading something that interested me.
https://www.reddit.com/r/MotoX/comments/2kx2lv/how_do_you_encrypt_a_rooted_moto_x/
Specifically.
I had the same issue today. Booted into safe mode, then I was able to encrypt.
Press power button to get power off popup menu. Press and hold power off. You will get another popup offering to reboot in safe mode.
Safe mode worked. This uncomplicates my process of rooting, unrooting, encrypting, and having issues rerooting after encryption. This is also a crazy easy single step process for an issue that has given me months of headaches.
You shall be the first person ever that I have given gold to.
Thank you so much!
Click to expand...
Click to collapse
I enter my password in the encryption settings menu and hit the Encrypt button
Click to expand...
Click to collapse
How would encryption effect flashing a new rom?
What are your guys thoughts on encryptimg a unlocked and rooted phone?
I do not want to enable it yet till it is comfirmed its ok.
Thanks.
Um I haven't had a problem and I've encrypted the software many times as I have installed many rooms and I always encrypt after setting everything up post root so it should just work without issue. Maybe they just weren't being patient and it can take a bit of time
timde9 said:
Um I haven't had a problem and I've encrypted the software many times as I have installed many rooms and I always encrypt after setting everything up post root so it should just work without issue. Maybe they just weren't being patient and it can take a bit of time
Click to expand...
Click to collapse
What about unencrypting? To say to flash a new kernel or rom?
Well that's an interesting question. I am testing twrp builds from hashbang to try and get encryption fully supported for this device in twrp. Until that time you can actually still flash zips via adb sideload no problem
timde9 said:
Well that's an interesting question. I am testing twrp builds from hashbang to try and get encryption fully supported for this device in twrp. Until that time you can actually still flash zips via adb sideload no problem
Click to expand...
Click to collapse
Ohh. Cool. I'll have to learn adb.
@timde9
I've got twrp installed.
To get to recovrry mode, do I go into recovery mode in twrp and then the recovery button in twrp to install packages m zips from adb?
to install packages via adb is pretty simple really you just open twrp go to advanced menu and open "adb sideload" from there. Then connect your device to your computer install adb and sideload an app with this syntax
"adb sideload ***.zip"
That is radical. Ty for this.
Encryption went like a breeze.
took no more than 20 min. I feel safe now.
timde9 said:
Well that's an interesting question. I am testing twrp builds from hashbang to try and get encryption fully supported for this device in twrp. Until that time you can actually still flash zips via adb sideload no problem
Click to expand...
Click to collapse
Just found out after encrypting twrp fails to mount data to backup. I might restore without encryption. That way I have access to backups on my phone too.
So I am having a problem restoring a backup. Since I cannot decrypt, to get rid of data from being locked down, do I flash with a rom? I am stuck.
Ok I have to do a factory reset. But not sure if this exists and works through twrp. Or if I have to do a factory reset some otherway.
Ok I skipped trying to reinstall rom and did a little searching.
This guy but with a 6P had exact issue.
For me to wipe data I need to
Code:
fastboot format userdata
https://www.reddit.com/r/Nexus6P/comments/3qnzz0/twrp_unable_to_mount_data/
Hitti2 said:
Ok I skipped trying to reinstall rom and did a little searching.
This guy but with a 6P had exact issue.
For me to wipe data I need to
Code:
fastboot format userdata
https://www.reddit.com/r/Nexus6P/comments/3qnzz0/twrp_unable_to_mount_data/
Click to expand...
Click to collapse
Is this ok to do? I don't want mess anything up.
Hitti2 said:
Is this ok to do? I don't want mess anything up.
Click to expand...
Click to collapse
That will erase all your data including files, apps, etc. Anything installed to /system should be untouched.
asuhoops8628 said:
That will erase all your data including files, apps, etc. Anything installed to /system should be untouched.
Click to expand...
Click to collapse
Thanks for confirming this. Exactly what I need when time comes to decrypt "wipe" I will use this.
I wasn't sure if it would delete the partition or wipe, this is why I asked.
Ty.
Hitti2 said:
Thanks for confirming this. Exactly what I need when time comes to decrypt "wipe" I will use this.
I wasn't sure if it would delete the partition or wipe, this is why I asked.
Ty.
Click to expand...
Click to collapse
Upon reading this again, just to be safe, you might want to start with just a fastboot erase. I think format does the same thing, but I have never used it.
Since you would be specifying the partition with both commands, I do not think you are in risk of completely blowing up your user partition if you choose to use fastboot format, but once again, I have always just used fastboot erase.
Hitti2 said:
Ok I skipped trying to reinstall rom and did a little searching.
This guy but with a 6P had exact issue.
For me to wipe data I need to
Code:
fastboot format userdata
https://www.reddit.com/r/Nexus6P/comments/3qnzz0/twrp_unable_to_mount_data/
Click to expand...
Click to collapse
So I went to use this. I got an error.
Code:
Formatting is not supported for filesystem with type 'raw'
So now, that I am guessing, since twrp can now decrypt, I should just be able to go into twrp and do a full wipe and reinstall of the trupurexmm 2.5 And encryption should be gone?
Hitti2 said:
So I went to use this. I got an error.
Code:
Formatting is not supported for filesystem with type 'raw'
So now, that I am guessing, since twrp can now decrypt, I should just be able to go into twrp and do a full wipe and reinstall of the trupurexmm 2.5 And encryption should be gone?
Click to expand...
Click to collapse
Nope. Encryption is still enabled. I flashed trupurexmm 2.5 following
5. How To Install A ROM with TWRP Recovery
Prerequisites: unlocked bootloader, TWRP recovery.
Installing a ROM is a pretty straight forward and easy process. Before you install anything you should make a nandroid backup (instructions above).
Download a ROM and appropriate Gapps package and place on your device.
Boot into your custom recovery.
Perform a full wipe.
Select the wipe option from the TWRP home screen.
Select advanced wipe.
Check the system, data, cache, and dalvik cache options.
Swipe to wipe.
Install the ROM.
Select the install option from the TWRP home screen.
Navigate to where you have the ROM zip stored on your sd card and select it.
Swipe to install.
Most ROMs will run an installer script at this point but some ROMs have what is called an Aroma Installer which allow you to choose some install options before the script runs.
You will also need to install the appropriate gapps package directly after installing the ROM.
Once you've installed all necessary zips you'll have an option to wipe cache/dalvik and an option to reboot system. Wipe the cache/dalvik, hit the back button, and hit the reboot system button.
Click to expand...
Click to collapse
I'm having an issue encrypting. Encryption will not start on my rooted moto x. I factory reset and encrypted, but could not get root working. Flashed everything via adb sideload in twrp but root refueses to work. Any ideas
Sent from my XT1575 using Tapatalk

Just got RMA, can't disable force encryption

Just got my RMA, so of course I instantly unlock, root, and go to disable forced encryption and i keep getting a password error, my only pin i've ever used won't work, so I flashed factory, reset it up, made sure i didn't use a pin or anything, tried again, still asks for a password and won't accept mine. Am I missing something or is the fact they sent me a remanufactured phone screwing me because of the previous users pin?
kickenwing13 said:
Just got my RMA, so of course I instantly unlock, root, and go to disable forced encryption and i keep getting a password error, my only pin i've ever used won't work, so I flashed factory, reset it up, made sure i didn't use a pin or anything, tried again, still asks for a password and won't accept mine. Am I missing something or is the fact they sent me a remanufactured phone screwing me because of the previous users pin?
Click to expand...
Click to collapse
What TWRP version are you using? Are you on the newest 3.03? If not that's more than likely your problem.
murphyjasonc said:
What TWRP version are you using? Are you on the newest 3.03? If not that's more than likely your problem.
Click to expand...
Click to collapse
OMG I'm confident it's 3.02. So I need to update that before I try the decrypting thing. I need to go root, twrp 3.3 then unencrypt ?
Thanks man I wouldn't ahve thought of that .
kickenwing13 said:
OMG I'm confident it's 3.02. So I need to update that before I try the decrypting thing. I need to go root, twrp 3.3 then unencrypt ?
Thanks man I wouldn't ahve thought of that .
Click to expand...
Click to collapse
Just download the updated TWRP from this link. Boot back into recovery and choose flash IMG instead of zip. Install to recovery partition and then reboot. You should be good to go.
http://dl.twrp.me/angler/
murphyjasonc said:
Just download the updated TWRP from this link. Boot back into recovery and choose flash IMG instead of zip. Install to recovery partition and then reboot. You should be good to go.
http://dl.twrp.me/angler/
Click to expand...
Click to collapse
same nonsense. Went from clean, rooted, flashed TWRP 3.03, tried to flash noencrypt kernel and it's asking me for a password I don't have ... . should I try making my own password next time I reflash stock and see if it like overwrites it ?
found something on a N6 thread that says wipe user data and it should work .
kickenwing13 said:
found something on a N6 thread that says wipe user data and it should work .
Click to expand...
Click to collapse
Yeah that will work and shouldn't be an issue backing up everything with a new phone. TWRP should be able to read an encrypted device though as long as you gave it permissions to change system. No kernel will decrypt a device but most do not force encrypt.
---------- Post added at 11:38 PM ---------- Previous post was at 11:37 PM ----------
kickenwing13 said:
same nonsense. Went from clean, rooted, flashed TWRP 3.03, tried to flash noencrypt kernel and it's asking me for a password I don't have ... . should I try making my own password next time I reflash stock and see if it like overwrites it ?
Click to expand...
Click to collapse
Are you by chance trying to restore a backup on your RMA?
kickenwing13 said:
same nonsense. Went from clean, rooted, flashed TWRP 3.03, tried to flash noencrypt kernel and it's asking me for a password I don't have ... . should I try making my own password next time I reflash stock and see if it like overwrites it ?
Click to expand...
Click to collapse
I had a similar problem with TWRP 3.0.3-0 when I tried to restore a backup. It asked for a password, which has never happened before. I couldn't access my backup or any of my data or boot up. I had to restore stock. Clearing user data did nothing.
murphyjasonc said:
Yeah that will work and shouldn't be an issue backing up everything with a new phone. TWRP should be able to read an encrypted device though as long as you gave it permissions to change system. No kernel will decrypt a device but most do not force encrypt.
---------- Post added at 11:38 PM ---------- Previous post was at 11:37 PM ----------
Are you by chance trying to restore a backup on your RMA?
Click to expand...
Click to collapse
I was not . Just trying to disable force encrypt root and get PN back on it . Wiping worked for me. Also on 3.03, but that alone didn't solve, had to wipe . May be because I was using WUGS instead of manually doing it . Not sure, but it worked .
kickenwing13 said:
I was not . Just trying to disable force encrypt root and get PN back on it . Wiping worked for me. Also on 3.03, but that alone didn't solve, had to wipe . May be because I was using WUGS instead of manually doing it . Not sure, but it worked .
Click to expand...
Click to collapse
Hey, I'm running into the same problem after an RMA. I'm currently on stock unrooted 7.1.1 and want to flash custom rom but want to disable encryption beforehand. Can you advise proper wipe steps, or is this correct?
- unlock bootloader
- restart phone, enable developer options for USB debugging
- fastboot twrp-3.0.3-0-angler.img
- factory reset
- wipe everything (all checkboxes) including internal? (will this format with no encryption?)
- wipe system, data, cache
- push ROM (PN), Gapps, SuperSU-v2.79-201612051815.zip to phone via ADB in TWRP
- flash ROM (PN), Gapps, SuperSU-v2.79-201612051815.zip
- restart
Or is there another way to decrypt data or is it not an issue when clean wiping a new ROM?
Thanks and appreciate any help.
martinomac said:
Hey, I'm running into the same problem after an RMA. I'm currently on stock unrooted 7.1.1 and want to flash custom rom but want to disable encryption beforehand. Can you advise proper wipe steps, or is this correct?
- unlock bootloader
- restart phone, enable developer options for USB debugging
- fastboot twrp-3.0.3-0-angler.img
- factory reset
- wipe everything (all checkboxes) including internal? (will this format with no encryption?)
- wipe system, data, cache
- push ROM (PN), Gapps, SuperSU-v2.79-201612051815.zip to phone via ADB in TWRP
- flash ROM (PN), Gapps, SuperSU-v2.79-201612051815.zip
- restart
Or is there another way to decrypt data or is it not an issue when clean wiping a new ROM?
Thanks and appreciate any help.
Click to expand...
Click to collapse
You need to Format Data, Not Wipe to decrypt. It WILL wipe EVERYTHING so make sure anything in internal storage you want is backed up.
CyberpodS2 said:
You need to Format Data, Not Wipe to decrypt. It WILL wipe EVERYTHING so make sure anything in internal storage you want is backed up.
Click to expand...
Click to collapse
Thanks for confirming, I wasn't aware that there's a difference between Format Data and Wipe Data. After formatting data, I should be able to sideload the ROM, gapps, etc back via TWRP right?
I always try to keep an emergency folder on the PC with the minimum needed to copy back to the phone through recovery. In my case I keep a copy of pure nexus, dynamic gapps, supersu and elementalx. That combination never fails to boot and I know it well enough to get back in business in short order if it all went to hell. Do what's best for you.
Sent from my Nexus 6 using XDA-Developers Legacy app

Formating / install custom ROM

Dear All,
first of all i would like to say that i have had some samsung phone over the past years so i am not that new on how to install a custom ROM anyway lets get to the main issue....
i download the custom ROM
boot into download and install twrp with odin
open the phone and open twrp recovery and here is the problem i dont see the phone memory i see it 0
so i cant install any custom rom.... any help??
please advice
Thnx
Ibrahim
first of all give us a little details of the phone so we can help you like model and firmware currently on the phone.
Model SM-G935FD
Android Version 7.0
You need to FORMAT DATA, It's in wipe, put format data (IT WILL WIPE EVERYTHING), and woah, there will be the main memory.
ManXXXX said:
You need to FORMAT DATA, It's in wipe, put format data (IT WILL WIPE EVERYTHING), and woah, there will be the main memory.
Click to expand...
Click to collapse
Well thnx for the reply I will give this a try but I don't think it will work because when I install the twrp the data value becomes 0, quick question before I try this by wipe everything you mean the phone right not the sd card am I right?
ibrahimisadek said:
Well thnx for the reply I will give this a try but I don't think it will work because when I install the twrp the data value becomes 0, quick question before I try this by wipe everything you mean the phone right not the sd card am I right?
Click to expand...
Click to collapse
Yes ,internal memory. U don't see it becoz it's encrypted. After u format the data..the space become available again
gabytzubc said:
Yes ,internal memory. U don't see it becoz it's encrypted. After u format the data..the space become available again
Click to expand...
Click to collapse
Alright, so final question before I give it a try, the only thing that I click to format is the data right or should I choose something else with it?
ibrahimisadek said:
Alright, so final question before I give it a try, the only thing that I click to format is the data right or should I choose something else with it?
Click to expand...
Click to collapse
So.. u flashed twrp with Odin , reboot in twrp,after that format data,flash no verity encryption..then flash supersu or magisk
gabytzubc said:
So.. u flashed twrp with Odin , reboot in twrp,after that format data,flash no verity encryption..then flash supersu or magisk
Click to expand...
Click to collapse
What does this no verity encryption do?
thank you all this was very helpful
ibrahimisadek said:
What does this no verity encryption do?
Click to expand...
Click to collapse
Disable the encryption put in kernel by Samsung so u could boot twrp and other ROMs

Rooting my X00_TD?

I have unlocked the boot-loader and also installed TWRP recovery on my X00_TD device which has 'Pie' as it's Stock ROM.
Now, I would like to know how to proceed to do rooting on this device.
Is it necessary to run decrypt zip file before we run 'magisk-v19.1' to root?
Please advise!
Decrypt removes another variable from the process, so yeah it might be good to remove a probable failure point.
Decrypt and then Magisk?
arko9699 said:
Decrypt removes another variable from the process, so yeah it might be good to remove a probable failure point.
Click to expand...
Click to collapse
So , irrespective of the state of the device one needs to flash the decrypt file first and then flash the magisk to root the device, right?
Please advise!
Kudla said:
So , irrespective of the state of the device one needs to flash the decrypt file first and then flash the magisk to root the device, right?
Please advise!
Click to expand...
Click to collapse
When rooting mine I used the decrypt.zip . When you factory reset the phone will take some time to encrypt your data and this prevents that. It will hinder you from flashing stuff from the internal storage in TWRP. You can use magisk without it too.
Unable to Mount Storage?
arko9699 said:
When rooting mine I used the decrypt.zip . When you factory reset the phone will take some time to encrypt your data and this prevents that. It will hinder you from flashing stuff from the internal storage in TWRP. You can use magisk without it too.
Click to expand...
Click to collapse
I went ahead and flashed magisk without flashing decrypt. The root was successful!
Now, when tried to clear cache via TWRP it says 'Unable to Mount Storage'. What could be the reason here?
Is it safe to wipe dalvik/art cache?
Please advise!
Kudla said:
I went ahead and flashed magisk without flashing decrypt. The root was successful!
Now, when tried to clear cache via TWRP it says 'Unable to Mount Storage'. What could be the reason here?
Is it safe to wipe dalvik/art cache?
Please advise!
Click to expand...
Click to collapse
Try to run decrypt.zip it should fix the problem. I used a OTG device since I didn't have a SD card. Unless you run decrypt.zip you cannot use the internal storage. So I would recommend running it despite my last statement.

Categories

Resources