Is this true? - One (M7) Q&A, Help & Troubleshooting

Unlocking the bootloader erases your system partition and data ?

yes

anuragvivek93 said:
Unlocking the bootloader erases your system partition and data ?
Click to expand...
Click to collapse
Unlocking the bootloader definitely erases your data (apps etc). It doesn't erase your /system partition as it will erase your phone's OS turning it useless till you flash custom recovery and flash a Rom.
Sent from my HTC One S using xda app-developers app

Related

Fix for those who flashed the 1.29 RUU and now are boot looping

For those who flashed the 1.29 RUU and are boot looping and a wipe isn't fixing it:
Go into the recovery.
Go to wipe.
Go to advanced.
Tell it to reformat your cache partition.
I've only tested it on one phone but it may be that the RUU is corrupting the cache partition before failing and thus leaving you with a boot looping phone.
Or, since you're already in fastboot...
Code:
fastboot erase cache
CNexus said:
Or, since you're already in fastboot...
Code:
fastboot erase cache
Click to expand...
Click to collapse
Yep, if you have access to a computer, you can also do that as well.

Help! Am I screwed?

Nexus 6 - I unlocked and installed twrp recovery deleted oem files but then relocked and now phone is flashing the twrp recovery splash screen and it goes no further. What the hell do I do now? I can do fastboot but can't unlock in fastboot because it says to allow enable unlock in Developer options.
Does android boot?
I am at the bootloader, from there if I start it simply goes to the twrp recovery splash screen just flashing every couple of seconds and I'm stuck there.
MKAMWE said:
I am at the bootloader, from there if I start it simply goes to the twrp recovery splash screen just flashing every couple of seconds and I'm stuck there.
Click to expand...
Click to collapse
Use "fastboot reboot" from bootloader. Same?
What about "fastboot reboot recovery"?
fastboot reboot does the same, fastboot reboot recovery does nothing
You cannot get Into recovery at all? No way?
If I hit recovery from bootloader the twrp recovery splash just flashes
OK. Yep I think you're screwed
Can you use this http://forum.xda-developers.com/nexus-6/general/fix-fix-qhusbbulk-cm12-t3059518 in order to flash factory images using RSD Lite?
MKAMWE said:
Nexus 6 - I unlocked and installed twrp recovery deleted oem files but then relocked and now phone is flashing the twrp recovery splash screen and it goes no further. What the hell do I do now? I can do fastboot but can't unlock in fastboot because it says to allow enable unlock in Developer options.
Click to expand...
Click to collapse
well the heck did u relock your device? Makes no sense at all? Might as well do an RMA
try wiping cache and data with fastboot
How would I wipe cache and data in fastboot?
MKAMWE said:
How would I wipe cache and data in fastboot?
Click to expand...
Click to collapse
http://techbeasts.com/2014/01/05/useful-adb-and-fastboot-commands-and-how-to-them/
MKAMWE said:
How would I wipe cache and data in fastboot?
Click to expand...
Click to collapse
read up on this.
http://forum.xda-developers.com/showthread.php?t=2225405
idtheftvictim said:
Can you use this http://forum.xda-developers.com/nexus-6/general/fix-fix-qhusbbulk-cm12-t3059518 in order to flash factory images using RSD Lite?
Click to expand...
Click to collapse
No. Read the last few page
simms22 said:
try wiping cache and data with fastboot
Click to expand...
Click to collapse
Is that possible with a locked bootloader?
ok, did fastboot wipe cache and fastboot wipe data... phone is now on the swirling google dots... how long does this take?
MKAMWE said:
How would I wipe cache and data in fastboot?
Click to expand...
Click to collapse
Code:
fastboot format userdata
fastboot format cache
fastboot reboot
MKAMWE said:
ok, did fastboot wipe cache and fastboot wipe data... phone is now on the swirling google dots... how long does this take?
Click to expand...
Click to collapse
Wait a good 10-15 mins
format i meant, not wipe! but it should do the same thing..
simms22 said:
http://techbeasts.com/2014/01/05/useful-adb-and-fastboot-commands-and-how-to-them/
Click to expand...
Click to collapse
Wow, thanks for this

fastboot format boot ; fastboot reboot-bootloader

i have read that if you wipe the boot partition (not bootloader) and try to reboot before flashing a boot image. the device will not boot. i was surprised to read this because i thought as long as the bootloader was intact you would be able to get into fastboot/bootloader mode. i thought the boot partition was just the android kernel/ramdisk, and that there was a separate bootloader partition for the bootloader
but i think this is wrong
so if i run this:
Code:
fastboot format boot
fastboot reboot-bootloader
i wont be able to boot into android, but i'll still be able to get into recovery and fastboot modes, right?
gnarlycs said:
i have read that if you wipe the boot partition (not bootloader) and try to reboot before flashing a boot image. the device will not boot. i was surprised to read this because i thought as long as the bootloader was intact you would be able to get into fastboot/bootloader mode. i thought the boot partition was just the android kernel/ramdisk, and that there was a separate bootloader partition for the bootloader
but i think this is wrong
so if i run this:
Code:
fastboot format boot
fastboot reboot-bootloader
i wont be able to boot into android, but i'll still be able to get into recovery and fastboot modes, right?
Click to expand...
Click to collapse
What exactly are you trying to accomplish here?
You can wipe the boot partition, but you cannot wipe the BOOTLOADER.
If you wipe the bootloader, you'll be screwed.
The bootloader is on a partition called "aboot".
Interestingly, Nexus 6 has a second aboot partition named "abootBackup". Wonder what's up with that...?
doitright said:
You can wipe the boot partition
Click to expand...
Click to collapse
I'm curious. What would be the reason to wipe boot partition?
cam30era said:
I'm curious. What would be the reason to wipe boot partition?
Click to expand...
Click to collapse
Sometimes just to clear out anything before an install of a new kernel - if some kernel put something special there. I never do it personally but it can be done, but you should flash another kernel immediately. No need to reboot the bootloader.

Stock restore

I would bring my Nexus 6 to the stock...to have a phone completely clean, can I do (with the toolkit) the various erase boot, cache, recovery, system, userdata? And then flash, even with the tool, the stock ROM? I would not make mistakes
hollywood_jack said:
I would bring my Nexus 6 to the stock...to have a phone completely clean, can I do (with the toolkit) the various erase boot, cache, recovery, system, userdata? And then flash, even with the tool, the stock ROM? I would not make mistakes
Click to expand...
Click to collapse
Or do it manualy with adb, look here as a guide http://forum.xda-developers.com/nexus-6/general/guide-properly-prepare-nexus-6-resale-t3104504 method 2. Toolkits will always bite you in the ass at some point in the future
gee2012 said:
Toolkits will always bite you in the ass at some point in the future
Click to expand...
Click to collapse
Sorry but I not have understood this
hollywood_jack said:
Sorry but I not have understood this
Click to expand...
Click to collapse
If you use automated software to flash or alter the OS or parts of it you don`t understand whats going on and if something goes wrong you will not be able to solve the issue because you don`t know what went wrong
gee2012 said:
If you use automated software to flash or alter the OS or parts of it you don`t understand whats going on and if something goes wrong you will not be able to solve the issue because you don`t know what went wrong
Click to expand...
Click to collapse
Ok :good:
But in this page http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008 I read only erase cache...can I do, in the same way, all erase (boot, cache, recovery, system, userdata)?
hollywood_jack said:
Ok :good:
But in this page http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008 I read only erase cache...can I do, in the same way, all erase (boot, cache, recovery, system, userdata)?
Click to expand...
Click to collapse
Some more info please: do you have stock rom, recovery, kernel and are you rooted?
If the answer is yes to the above just:
- fastboot erase system
- fastboot flash system system.img
- data factory reset in recovery
- reboot and you`re done.
gee2012 said:
Some more info please: do you have stock rom, recovery, kernel and are you rooted?
If the answer is yes to the above just:
- fastboot erase system
- fastboot flash system system.img
- data factory reset in recovery
- reboot and you`re done.
Click to expand...
Click to collapse
I have stock rom with TWRP recovery...then I have multirom app with (I think) modified kernel
hollywood_jack said:
I have stock rom with TWRP recovery...then I have multirom app with (I think) modified kernel
Click to expand...
Click to collapse
Then after you flash system.img (look in my previous post)you also flash boot.img and recovery.img
gee2012 said:
Then after you flash system.img (look in my previous post)you also flash boot.img and recovery.img
Click to expand...
Click to collapse
Thanks gee2012...you are very exhaustive :good:
Only another little question: can I erase cache and userdata? Or is better to use the format command? What is the difference between format and erase?
hollywood_jack said:
Thanks gee2012...you are very exhaustive :good:
Only another little question: can I erase cache and userdata? Or is better to use the format command? What is the difference between format and erase?
Click to expand...
Click to collapse
I always use the erase command, but i guess format will work too. The outcome should be the same And if you flash userdata it will erase userdata before the flash automaticaly, so no need to erase/format.
gee2012 said:
I always use the erase command, but i guess format will work too. The outcome should be the same And if you flash userdata it will erase userdata before the flash automaticaly, so no need to erase/format.
Click to expand...
Click to collapse
Sorry my friend for a new question but I have many doubts about the factory image flash, I'm a newbie
I would flash also the original bootloader and now my question is this: after the flash the original bootloader and after reboot-bootloader (http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008 method 2) I have a locked bootloader or unlocked bootloader? If the bootloader is locked might I end up in a boot loop with the following flash (always method 2)?
hollywood_jack said:
Sorry my friend for a new question but I have many doubts about the factory image flash, I'm a newbie
I would flash also the original bootloader and now my question is this: after the flash the original bootloader and after reboot-bootloader (http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008 method 2) I have a locked bootloader or unlocked bootloader? If the bootloader is locked might I end up in a boot loop?
Click to expand...
Click to collapse
First you have to unlock the bootloader and then you can flash the factory image in parts (system, boot, recovery, cache).
Fastboot command in cmd and bootloader/fastboot mode: fastboot oem unlock. Only flash the bootloader and radio if you don`t have the correct BL/radio installed, if you have there os no need to flash it again.
gee2012 said:
First you have to unlock the bootloader and then you can flash the factory image in parts (system, boot, recovery, cache).
Fastboot command in cmd and bootloader/fastboot mode: fastboot oem unlock. Only flash the bootloader and radio if you don`t have the correct BL/radio installed, if you have there os no need to flash it again.
Click to expand...
Click to collapse
Ok, all clear but if I need to flash also the bootloader what would be the correct steps?
hollywood_jack said:
Ok, all clear but if I need to flash also the bootloader what would be the correct steps?
Click to expand...
Click to collapse
Extract the rom and flash the bootloader first (fastboot flash bootloader namebootloader.img) and fastboot reboot-bootloader, then the radio and also reboot and then the rest in one go. Good luck an if you have doubts/problems post it here. Plenty of helpfull members around
But after flash and reboot bootloader can I flash the other factory image parts? The original bootloader that I just flashed not is locked?
Inviato dal mio Nexus 6 utilizzando Tapatalk
hollywood_jack said:
But after flash and reboot bootloader can I flash the other factory image parts? The original bootloader that I just flashed not is locked?
Inviato dal mio Nexus 6 utilizzando Tapatalk
Click to expand...
Click to collapse
Once you unlock the BL it stays unlocked unless you lock it manualy. Even if you flash a new bootloader.
Thanks my friend...thanks alot
with my Nexus 6
hollywood_jack said:
Thanks my friend...thanks alot
with my Nexus 6
Click to expand...
Click to collapse
Good luck, its only a bit stressfull the first time
gee2012 said:
Good luck, its only a bit stressfull the first time
Click to expand...
Click to collapse
Can I flash directly a no force encryption boot.img like this http://forum.xda-developers.com/showpost.php?p=61203588&postcount=913?
Then
- fastboot erase system
- fastboot flash system system.img
- fastboot flash userdata userdata.img
- fastboot erase boot
- fastboot flash boot "no force encryption boot".img
- fastboot erase recovery (optional if I want the original recovery)
- fastboot flash recovery recovery.img (optional if I want the original recovery)
- fastboot erase cache
- fastboot flash cache cache.img
- data factory reset in recovery (it's necessary?)
- reboot system.
Then...root with WugFresh toolkit...
It's correct?
hollywood_jack said:
Can I flash directly a no force encryption boot.img like this http://forum.xda-developers.com/showpost.php?p=61203588&postcount=913?
Then
- fastboot erase system
- fastboot flash system system.img
- fastboot flash userdata userdata.img
- fastboot erase boot
- fastboot flash boot "no force encryption boot".img
- fastboot erase recovery (optional if I want the original recovery)
- fastboot flash recovery recovery.img (optional if I want the original recovery)
- fastboot erase cache
- fastboot flash cache cache.img
- data factory reset in recovery (it's necessary?)
- reboot system.
Then...root with WugFresh toolkit...
It's correct?
Click to expand...
Click to collapse
- You don`t have to erase boot and recovery
- Yes you can flash a non encryped kernel but you`ll have to factory reset after you flashed and the N6 is booting or your storage will say its 32GB.
- Rooting is easiest by placing the latest 2.8.7.1 TWRP recovery in the sdk-platform-tools folder, reboot in bootloadermode and fastboot boot namerecovery.img and boot up and flash the latest superSU.zip (Beta 2.49 afaik) or use a toolkit if want to.

MOB30I Swap Partition.

Anyone else noticing that the device now shows a swap partition? I used diskinfo (https://play.google.com/store/apps/details?id=me.kuder.diskinfo&hl=en) for this, and before updating to MOB30I, this swap partition wasn't there, it was included in my normal RAM.
EDIT: Here's a screenshot. http://i.imgur.com/GoLG6EP.jpg
Mine doesn't. Only flashed bootloader & system though.
Strange. I did a flashboot flash-all install of 30i and don't have a swap partition.
Sent from my Nexus 6 using XDA Labs
No swap partition here either. Also on MOB30I
Wow that's really strange. I flashed all of the img files one by one. And then noticed the swap partition. I didn't do anything out of the ordinary. ._.
H4X0R46 said:
Wow that's really strange. I flashed all of the img files one by one. And then noticed the swap partition. I didn't do anything out of the ordinary. ._.
Click to expand...
Click to collapse
What order maybe that matters
DR3W5K1 said:
What order maybe that matters
Click to expand...
Click to collapse
My exact steps.
fastboot flash bootloader bootloader[tab]
fastboot reboot-bootloader
fastboot flash radio radio[tab]
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot format userdata
fastboot format cache
fastboot flash cache cache.img
then I rebooted, installed elite kernel, went back into bootloader and ran fastboot format userdata again to unencreypt, systemless rooted, and installed xposed. Those are my exact steps, this swap partition caught me by surprise.
H4X0R46 said:
My exact steps.
fastboot flash bootloader bootloader[tab]
fastboot reboot-bootloader
fastboot flash radio radio[tab]
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot format userdata
fastboot format cache
fastboot flash cache cache.img
then I rebooted, installed elite kernel, went back into bootloader and ran fastboot format userdata again to unencreypt, systemless rooted, and installed xposed. Those are my exact steps, this swap partition caught me by surprise.
Click to expand...
Click to collapse
It's probably from elite having swap default. Or maybe you turned or on with kernel auditor
Could that mean possible Ubuntu touch support with Multi ROM?
Sent from my Nexus 6 using XDA-Developers mobile app
DR3W5K1 said:
It's probably from elite having swap default. Or maybe you turned or on with kernel auditor
Click to expand...
Click to collapse
I got with the dev for elite and he said it was in a recent update to the kernel, so it's the kernel that does this. Thanks guys!

Categories

Resources