[Q] Double Tap to Wake and OTA - Nexus 6 Q&A, Help & Troubleshooting

Is there any way to achieve double tap to wake on my Nexus 6 and still be able to receive OTA updates?

Probably not, as you have to make a change to a system file in order to achieve it.

I so want double tap, but I don't want to have to give up OTA.

If you're expecting lg style dttw, you're going to be dissapointed
Sent from my Nexus 6 using XDA Free mobile app

No expectations per se, just looking to have access to the original functionality that was pulled, and still have OTA.

Karine said:
I so want double tap, but I don't want to have to give up OTA.
Click to expand...
Click to collapse
Life lesson. You can't always have everything you want. You have to choose based on personal preference.
I'd rather have the ability to use DT2W multiple times a day, than the convenience of an OTA that may happen once every few months.

PaisanNYC said:
Life lesson. You can't always have everything you want. You have to choose based on personal preference.
I'd rather have the ability to use DT2W multiple times a day, than the convenience of an OTA that may happen once every few months.
Click to expand...
Click to collapse
If I go with DT2W is there another way for me to get what I would have otherwise received via OTA?

Karine said:
If I go with DT2W is there another way for me to get what I would have otherwise received via OTA?
Click to expand...
Click to collapse
Absolutely. Just flash the stock rom. It always gets posted here when the OTA is released:
https://developers.google.com/android/nexus/images

PaisanNYC said:
Absolutely. Just flash the stock rom. It always gets posted here when the OTA is released:
https://developers.google.com/android/nexus/images
Click to expand...
Click to collapse
Great link; thanks! Do you yourself follow the instructions on the link you provided to flash? And, how have you achieved DT2W?

I believe dt2w is enabled at the kernel level. When an ota comes out i just fastboot flash the bootloader, system, and radio and its like you got the OTA just faster

mymusicathome said:
I believe dt2w is enabled at the kernel level. When an ota comes out i just fastboot flash the bootloader, system, and radio and its like you got the OTA just faster
Click to expand...
Click to collapse
It can be kernel or ROM. Depends which implementation.

mymusicathome said:
I believe dt2w is enabled at the kernel level. When an ota comes out i just fastboot flash the bootloader, system, and radio and its like you got the OTA just faster
Click to expand...
Click to collapse
I'm afraid I don't understand.

Karine said:
I'm afraid I don't understand.
Click to expand...
Click to collapse
The link from Google will wipe your data. Its a full ROM flash.
Actually, you don't need to flash all that. You can extract the full ROM and using fastboot, only flash the system.img (ROM) and boot.img (kernel) to update.
Read about fastboot here. http://forum.xda-developers.com/showthread.php?t=3006500

rootSU said:
It can be kernel or ROM. Depends which implementation.
Click to expand...
Click to collapse
I'm afraid I don't understand.

Karine said:
I'm afraid I don't understand.
Click to expand...
Click to collapse
Its not relevant. We were talking about double tap 2 wake..

rootSU said:
The link from Google will wipe your data. Its a full ROM flash.
Actually, you don't need to flash all that. You can extract the full ROM and using fastboot, only flash the system.img (ROM) and boot.img (kernel) to update.
Read about fastboot here. http://forum.xda-developers.com/showthread.php?t=3006500
Click to expand...
Click to collapse
rootSU, many thanks for all of the thoughtful responses and the great links. You've given me a level of comfort that rooting to get DT2W is the right choice for me. In the All-In-One link inside of the Fastboot link you provided, the instructions state that I can stop at a certain point if I'm not looking to install a custom rom, etc. I'm not looking to install a custom rom; just looking to root to ultimately get DT2W. Am I correct that I don't need to install a custom rom to get DT2W?
Do you personally use DT2W, and if so, how did you achieve it after rooting?
Is there a link or set of instructions available for the rom extraction method you referenced for manually updating my device in lieu of an OTA?

Karine said:
rootSU, many thanks for all of the thoughtful responses and the great links. You've given me a level of comfort that rooting to get DT2W is the right choice for me. In the All-In-One link inside of the Fastboot link you provided, the instructions state that I can stop at a certain point if I'm not looking to install a custom rom, etc. I'm not looking to install a custom rom; just looking to root to ultimately get DT2W. Am I correct that I don't need to install a custom rom to get DT2W?
Do you personally use DT2W, and if so, how did you achieve it after rooting?
Is there a link or set of instructions available for the rom extraction method you referenced for manually updating my device in lieu of an OTA?
Click to expand...
Click to collapse
No problem @Karine.
I'll outline the steps a little.
- unlock bootloader (this will wipe device]
- fastboot flash recovery (TWRP]
- put latest SuperSU zip on your sdcard memory
- flash zip via recovery
To get dt2wake, there are 2 ways.
1) use Google implementation.
Google left this out however someone has managed to recompile the .so file. Many custom ROMs include this. You could also replace the file yourself in stock ROM BUT in my opinion its not as good as method 2 below
2) use custom kernel with dt2wake. This is better as it works more often. Method 1 sometimes just doesn't work.
Personally I use method 2 with elementalx kernel. Like root, it is a zip that you flash from recovery.
Now assuming you are going with method 2, the way to update ROM is below...
- Download full factory image from Google
- extract the zip (twice) to find the system.img
- fastboot flash the system.img only.
- flash the SuperSU zip in recovery to re-root
This should be everything you need.

rootSU said:
The link from Google will wipe your data. Its a full ROM flash.
Actually, you don't need to flash all that. You can extract the full ROM and using fastboot, only flash the system.img (ROM) and boot.img (kernel) to update.
Read about fastboot here. http://forum.xda-developers.com/showthread.php?t=3006500
Click to expand...
Click to collapse
rootSU said:
No problem @Karine.
I'll outline the steps a little.
- unlock bootloader (this will wipe device]
- fastboot flash recovery (TWRP]
- put latest SuperSU zip on your sdcard memory
- flash zip via recovery
To get dt2wake, there are 2 ways.
1) use Google implementation.
Google left this out however someone has managed to recompile the .so file. Many custom ROMs include this. You could also replace the file yourself in stock ROM BUT in my opinion its not as good as method 2 below
2) use custom kernel with dt2wake. This is better as it works more often. Method 1 sometimes just doesn't work.
Personally I use method 2 with elementalx kernel. Like root, it is a zip that you flash from recovery.
Now assuming you are going with method 2, the way to update ROM is below...
- Download full factory image from Google
- extract the zip (twice) to find the system.img
- fastboot flash the system.img only.
- flash the SuperSU zip in recovery to re-root
This should be everything you need.
Click to expand...
Click to collapse
The Nexus 6 doesn't have an external sdcard slot, so when referencing sdcard the reference is to the internal/built-in sdcard, correct? I recall that the references are used somewhat interchangeably, and don't want to make any assumptions.
Will the elementalx custom kernel change my stock Android experience in any way? And, where do I find that kernel?
Would updating the rom manually in lieu of an OTA in the manner you described wipe all of my data?

Karine said:
The Nexus 6 doesn't have an external sdcard slot, so when referencing sdcard the reference is to the internal/built-in sdcard, correct? I recall that the references are used somewhat interchangeably, and don't want to make any assumptions.
Will the elementalx custom kernel change my stock Android experience in any way? And, where do I find that kernel?
Would updating the rom manually in lieu of an OTA in the manner you described wipe all of my data?
Click to expand...
Click to collapse
1. All android phones have /sdcard be it a removable media card or a partition on the internal memory. Regardless of which one the device has, when We say sdcard - we always mean the same thing.
2. It will be quicker. Its in the original development section
3. No.

I may have just found the perfect solution for me, that gives me the ability to turn on the screen without having to press the power button, and without having to root and give up OTA... Wakeup Touch... https://play.google.com/store/apps/details?id=com.wolandsoft.wtlf

Related

[INFO] Nexus 4 OTA Help-Desk

Nexus 4 OTA Help-Desk
**4.4.4 KTU84P Available**
​
You want the latest OTA? You don’t want to wait? You received the OTA but it fails? You need help with the installation process? If any of those questions are yes, then this thread is for you.
First, let's talk about what an OTA is:
An OTA (Over the Air) update is the method of updating your phone's software. When the OTA is downloaded to your phone it will prompt you to reboot and install. It is not a complete image, but a series of patches to the OS. Patches in the OTA can include: bootloader, radio, system, recovery and kernel. While it's installing, the script checks the files it is patching to make sure the original files are correct. If everything is correct, the update will finish successfully. If it's not, the process will stop. That's why it is critical to make sure everything is in its "out of the box" state. Don't worry though. It is easy to get your phone back to a state where you will have your phone up and running, with the latest software.
We are also able to manually flash this file. When the URL of the OTA is discovered, you can download it and use adb or a custom recovery to apply it.
Now that you have read the important info above, Let's update your Nexus 4!
In order for the OTA to apply successfully, without intervention, you must be completely stock:
4.4.3 KTU84L
Current Bootloader - makoz30d
Current Radio - 2.0.1701.02
Stock Kernel - 3.4.0-perf-ga6edd5e
All system apps are present
No Modifications. AT ALL.​
If you meet the criteria above the OTA will complete.
If you don’t meet the criteria or don’t want to wait for the OTA to hit your device then see below.
Current OTA's
4.4.4-KTU84P-from-4.4.3-KTU844L: http://android.clients.google.com/p....signed-occam-KTU84P-from-KTU84L.50b64331.zip Thanks @oldblue910
Legacy OTA's
All legacy OTA links can be found here: http://forum.xda-developers.com/showpost.php?p=33631631&postcount=1 Thanks @oldblue910
These are the 4 most popular scenarios. If you aren't sure where you fit, feel free to ask.
Scenario #1
You are completely stock. Unlocked/locked bootloader. No root
Continue to Section A
Scenario #2
You are stock, with root. Custom Recovery without any modifications or deletions.
Continue to Section B
Scenario #3
You are stock, with custom kernel, any modifications or removed system apk(s)
Continue to Section C
Scenario #4
You are running a Custom ROM
Continue to Section C
Section A: adb sideload
NOTE:Make sure you have the latest version of adb. It's attached at the bottom.
1) Download the OTA.zip on your PC, rename the file update.zip, then place file in the same directory as adb.
2) Make sure you have USB Debugging checking in the Developer Options, then connect your phone.
3) Open the command prompt from the directory above on your PC and type the command: 'adb reboot recovery'
4) When in recovery, you’ll see an android laying down. Press power then immediately press volume up and release. The menu will appear. Select “apply update from adb”
5) Using the command prompt type: 'adb sideload update.zip' The file will load and the update will begin.
6) When completed, select reboot.
Section B: Flashing in a custom recovery
1) Download the OTA.zip and copy to your phone.
2) Boot into recovery.
3) Flash the OTA just like you would a ROM.
4) Reboot.
Section C: Let’s get back to stock
There are a few ways to do this:
Option #1) Flash the complete KTU84L image. Follow efrant’s guide: http://forum.xda-developers.com/showpost.php?p=34552123&postcount=1
a) If you want to keep your data & settings and are running the stock rom; only flash boot.img, system.img, and recovery.img (optional) with fastboot.​
OR
Option #2) Replace the stock images or .apk(s) you removed or modified.
After completing the steps needed to return to “stock” make sure you meet all the criteria at the top of the page then revert to:
Section A if you are running stock recovery.
Section B if you are running a custom recovery.
OR
Option #3) Forgo the OTA entirely and flash the KTU84P Factory Image in fastboot. https://developers.google.com/android/nexus/images#occam
If you need help with this follow efrant's guide
Feel free to ask any questions you may have. I’ll do my best to answer them as quickly as possible. Perhaps others may answer them as well. Please read to see if your question has been answered before asking.
Q&A Section:
Q #1: I'm seeing a kernel related status 7 error when trying to apply the OTA
A: Flash the system image along with the boot image. Some kernels (like franco for example) change a file or two in /system. So easiest way would be to re-flash the system. -Thanks efrant
Q #2: The ota applied successfully but I lost my custom recovery and I want to re-root. How do I get root back?
A: Flash the custom recovery of your choice in fastboot, then flash the SU.zip in recovery linked in Section B4.
Q #3: I've tried everything but I'm still getting status 7 errors.
A: Unfortunately you may have to start from scratch. Follow Section C1.
Thanks to these members for adding additional info and helping add things I forgot.
TheManii
zim2dive
davdigs
eskeyy
daverup
xaueious
Spaceman860
efrant
Updated: 4/17/14
Re: [INFO] Nexus OTA Help-Desk
I'm currently on stock and rooted. but I deleted a couple of system apps like Google wallet, play books and other 2. will I get the OTA update?
and oh, I did flash the MOD for Battery Circle and Rotation Lock in the notification bar.
Sent from my Nexus 4 using xda premium
Re: [INFO] Nexus OTA Help-Desk
ijustzeke said:
I'm currently on stock and rooted. but I deleted a couple of system apps like Google wallet, play books and other 2. will I get the OTA update?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
No you'll have to add those apps back to /system/app/
Sent from my Nexus 7 using Tapatalk HD
ijustzeke said:
. but I deleted a couple of system apps
Click to expand...
Click to collapse
El Daddy said:
No you'll have to add those apps back to /system/app/
Click to expand...
Click to collapse
You should more strongly point out that scenario 2 is "any modifications/deletions"
Since the update script does not care about added files, only modified and removed (which isn't much different)
The update script technically has a list of files it checks, but it's long enough that it's simply easier to say the entire rom must be completely unmodified.
Rooting depends on the method: some root by modifying the ramdisk, and that is a modification.
Some simply add su to xbin, and it's possible to be rooted and not modified if it only adds files.
I am using the Brainmaster's Stock ROM (which is not stock really), so I guess I must follow Section C.
Is there any advice on how to not loose all the configurations, the home screen, widgets, etc? I love testing ROMs, but I hate that each time I have to download all my apps again (including some couple of Gb on games), configure them, put the widgets with the proper configuration, etc.
JanusDC said:
I am using the Brainmaster's Stock ROM (which is not stock really), so I guess I must follow Section C.
Is there any advice on how to not loose all the configurations, the home screen, widgets, etc? I love testing ROMs, but I hate that each time I have to download all my apps again (including some couple of Gb on games), configure them, put the widgets with the proper configuration, etc.
Click to expand...
Click to collapse
First thing to do when you unbox your new nexus. 1. unlock bootloader. 2. backup stock image - If you didnt backup stock, you have to flash back to stock via fastboot. Guide provided OP
JanusDC said:
I am using the Brainmaster's Stock ROM (which is not stock really), so I guess I must follow Section C.
Is there any advice on how to not loose all the configurations, the home screen, widgets, etc? I love testing ROMs, but I hate that each time I have to download all my apps again (including some couple of Gb on games), configure them, put the widgets with the proper configuration, etc.
Click to expand...
Click to collapse
For the home screen layout with the stock launcher I'm not sure. There might be a few apps out there but, I not sure how well they work. I do know some custom launchers have that ability.
As far as your apps and data there are may backup apps out there. A new one and my favorite is Carbon: https://play.google.com/store/apps/details?id=com.koushikdutta.backup
So if I am on Stock ROM with CWM, and customer kernal, can't I just flash Stock kernal and then flash the OTA through CWM?
I cannot be arsed with doing a full reflash.
I'm rooted on a stock kernel + stock bootloader.
Made a few mods to my system files so we'll see.
Re: [INFO] Nexus OTA Help-Desk
rickykemp said:
So if I am on Stock ROM with CWM, and customer kernal, can't I just flash Stock kernal and then flash the OTA through CWM?
I cannot be arsed with doing a full reflash.
Click to expand...
Click to collapse
Yes you can. Section C,a.
Sent from my Nexus 4 using xda premium
Great post, this is what I will be looking for!
I think it would be helpful to add a link to the SU.zip (to regain root) in the OP, I think it's http://download.chainfire.eu/282/SuperSU/ but please confirm.
Thanks!
Re: [INFO] Nexus OTA Help-Desk
davidgs said:
Great post, this is what I will be looking for!
I think it would be helpful to add a link to the SU.zip (to regain root) in the OP, I think it's http://download.chainfire.eu/282/SuperSU/ but please confirm.
Thanks!
Click to expand...
Click to collapse
Thanks! I'll add it to the op when I get back to a computer.
Sent from my Nexus 4 using xda premium
Might want to warn folks that they'll need the latest SDK for the ADB security
http://forum.xda-developers.com/showthread.php?t=2144709
davidgs said:
Great post, this is what I will be looking for!
I think it would be helpful to add a link to the SU.zip (to regain root) in the OP, I think it's http://download.chainfire.eu/282/SuperSU/ but please confirm.
Thanks!
Click to expand...
Click to collapse
El Daddy said:
Thanks! I'll add it to the op when I get back to a computer.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I think the XDA link would be most up to date:
http://forum.xda-developers.com/showthread.php?t=1538053
There is a CWM / TWRP installable ZIP there.
Re: [INFO] Nexus OTA Help-Desk
zim2dive said:
Might want to warn folks that they'll need the latest SDK for the ADB security
http://forum.xda-developers.com/showthread.php?t=2144709
Click to expand...
Click to collapse
Thanks. I don't think they'll need it going from 4.2.1 to 4.2.2. At least I didn't with my nexus 7. But definitely in the future. I'll add links to the op later today.
Sent from my Nexus 4 using xda premium
El Daddy said:
Yes you can. Section C,a.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
This is mine!
Απ: [INFO] Nexus OTA Help-Desk
I am with stock 4.2.1 rooted with unlock bootloader and cwm recovery 6.0.23. Is there any chance to install the update 4.2.2 normally through OTA?
Send from my Awesome Gnexus using Tapatalk 2
xxSAKISxx said:
I am with stock 4.2.1 rooted with unlock bootloader and cwm recovery 6.0.23. Is there any chance to install the update 4.2.2 normally through OTA?
Send from my Awesome Gnexus using Tapatalk 2
Click to expand...
Click to collapse
Flash stock recovery then you can instal update when you receive notifcation about OTA (if you dont have any other modifications only cwm)
Btw if somebody uses stock rom with modifications then is enough to flash boot, recovery and system via fastboot after that rom is completly stock and all personal settings, apps and data are not wiped
Re: [INFO] Nexus OTA Help-Desk
eskeyy said:
Flash stock recovery then you can instal update when you receive notifcation about OTA (if you dont have any other modifications only cwm)
Btw if somebody uses stock rom with modifications then is enough to flash boot, recovery and system via fastboot after that rom is completly stock and all personal settings, apps and data are not wiped
Click to expand...
Click to collapse
Where can I get stock recovery IMG!? Thanks
Sent from my Nexus 4 using xda app-developers app
Re: [INFO] Nexus OTA Help-Desk
danfalcas said:
Where can I get stock recovery IMG!? Thanks
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I uploaded it last night. I'll add the link to the op in a bit. For now, here's the link http://d-h.st/Bbp
Sent from my Nexus 4 using xda premium

New NEXUS6

So I will have my new phone from T mobile on Wednesday and want to unlock and root it right away. I have read how to do it and it looks easy enough.
If I keep stock Rom and don't flash a custom kernel, can i still get updates or once you root can you no longer update?
thanks
nixie2121 said:
So I will have my new phone from T mobile on Wednesday and want to unlock and root it right away. I have read how to do it and it looks easy enough.
If I keep stock Rom and don't flash a custom kernel, can i still get updates or once you root can you no longer update?
thanks
Click to expand...
Click to collapse
Once you root lollipop you can't accept OTAs, however you can flash the update via fastboot.
nixie2121 said:
So I will have my new phone from T mobile on Wednesday and want to unlock and root it right away. I have read how to do it and it looks easy enough.
If I keep stock Rom and don't flash a custom kernel, can i still get updates or once you root can you no longer update?
thanks
Click to expand...
Click to collapse
Hi! Welcome to the Nexus 6 community.
First, keep doing what you have been doing. Reading! That's the best way to learn the how to's.
As far as OTA's, lollipop requires that NO system modifications are present for OTA to flash. However, there are many ways around this "feature". Keep searching and reading here, as all of these topics have been addressed. Always remember, Google is your friend too.
Pilz said:
Once you root lollipop you can't accept OTAs, however you can flash the update via fastboot.
Click to expand...
Click to collapse
I have been reading around, mostly on tapatalk (hard to find things!)
Anyway, could you answer this question (I will learn about flashing updates via fastboot soon, maybe you can point me to a good thread to learn this?)
When I flash an update, is it like flashing a new rom meaning all apps, settings and such are wiped?
Thanks so much!!!
nixie2121 said:
I have been reading around, mostly on tapatalk (hard to find things!)
Anyway, could you answer this question (I will learn about flashing updates via fastboot soon, maybe you can point me to a good thread to learn this?)
When I flash an update, is it like flashing a new rom meaning all apps, settings and such are wiped?
Thanks so much!!!
Click to expand...
Click to collapse
This OP is a good start
http://forum.xda-developers.com/showthread.php?t=2948481
When you flash a update via fastboot don't use the flash-all.bat file because it will encrypt your phone ( if you decrypted) and wipe the user data. Flash each image manually (I always do this) and you will be fine. If you want a break down of the order I'll post it and or link a post for updating while rooted.
Pilz said:
This OP is a good start
http://forum.xda-developers.com/showthread.php?t=2948481
When you flash a update via fastboot don't use the flash-all.bat file because it will encrypt your phone ( if you decrypted) and wipe the user data. Flash each image manually (I always do this) and you will be fine. If you want a break down of the order I'll post it and or link a post for updating while rooted.
Click to expand...
Click to collapse
Did you decrypt? I see the thread on how to do that as well.
nixie2121 said:
Did you decrypt? I see the thread on how to do that as well.
Click to expand...
Click to collapse
Yes I did (Its one of the first things I did) if you wait then you will lose your user data. When you encrypt or decrypt and or unlock/re-lock the BL it will wipe your phone.

[RESTORE] Factory Restore 24A zip

Here's a fast way to do a full factory restore so you can take an ota without erasing your internal storage.
This will not however remove the rooted message for a warrant claim.
Check MD5's before flashing.
Step 1: Flash Flash KK24a System Restore 1st.
Step 2: Flash KK24a Bootstack Restore 2nd.
Warning: You will loose your custom recovery after reboot.
Download: KK24A System Restore
https://mega.co.nz/#!kEljCSTY!qPS7oSXokZRg3j60FNzgmeA7sbpda8IMB-4uFTJuMxI
MD5: d3926bcb4b2938e33020c1e8b540414b
Download: KK24A Bootstack Restore
https://mega.co.nz/#!0E00kb6K!wH1bJHbFuqTQpZo2QKLeBrpf21slTgnOSMstivVS7Qs
MD5: dce61ff31f060164bb89962ffe8a1b8c
Reserved....
Can't do 27a restore as System.img is too big for a zip to be flashed. Its over 2.2gb. Needs to be under 2.1gb for custom recovery to flash it. I can't get it compressed under 2.1gb.
This is cool thanks!
Way cool !! Thanks!
Can i use this to upgrade from 4.2.2 ?
berz said:
Can i use this to upgrade from 4.2.2 ?
Click to expand...
Click to collapse
Yes.....
@MicroMod777, just to make sure before I proceed, I lose my custom recovery (in op), but I'm assuming I maintain root? I've read from others root is kept through 27a, and that Freedom Tools also restores recovery. Am I correct on all? Thank you!
njstein said:
@MicroMod777, just to make sure before I proceed, I lose my custom recovery (in op), but I'm assuming I maintain root? I've read from others root is kept through 27a, and that Freedom Tools also restores recovery. Am I correct on all? Thank you!
Click to expand...
Click to collapse
You'll loose root, but root detection is still there. You can use my freedom tools to get custom recovery on 27a.
You'll loose root, but root detection is still there. You can use my freedom tools to get custom recovery on 27a
Click to expand...
Click to collapse
Excellent, thank @MicroMod777. One more question; after I flash this, I'm unrooted, no custom recovery. If I root the 24a using ioroot25 (but not a custom recovery), will the root maintain through the updates to 27A? I recall reading somewhere on here that it did. Thanks for your work!!
njstein said:
Excellent, thank @MicroMod777. One more question; after I flash this, I'm unrooted, no custom recovery. If I root the 24a using ioroot25 (but not a custom recovery), will the root maintain through the updates to 27A? I recall reading somewhere on here that it did. Thanks for your work!!
Click to expand...
Click to collapse
Not really sure, but you can always use Stump Root on 27A. Can take up to 10 minutes for it to root through brute force:
http://forum.xda-developers.com/lg-g3/orig-development/root-stump-root-lg-g3-sprint-verizon-t2850906
I am pretty sure root maintains with the OTA 27A.
Awesome. This is great for when I gotta go to stock real quick for some fix or something and will real helpful once lollipop is out
Sent from my VS980 4G
hi... noob question... sry... how can I install this zip... on my custom recovery?!? ... thanks for any answer
kuribox said:
hi... noob question... sry... how can I install this zip... on my custom recovery?!? ... thanks for any answer
Click to expand...
Click to collapse
noob answer.... Read the Original Post other wise known as the OP.
And if that doesnt work then read it 15 times more... [emoji41]
Sent from my VS980 4G
Can i use this to downgrade from lollipop ?
hoangan12 said:
Can i use this to downgrade from lollipop ?
Click to expand...
Click to collapse
Yes, but why?
MicroMod777 said:
Yes, but why?
Click to expand...
Click to collapse
my phone has problems with touch. very difficult to turn the power button, many touch up
to turn on the screen. flash kdz and tot file failed >"<
MicroMod777 said:
Reserved....
Can't do 27a restore as System.img is too big for a zip to be flashed. Its over 2.2gb. Needs to be under 2.1gb for custom recovery to flash it. I can't get it compressed under 2.1gb.
Click to expand...
Click to collapse
Looks like they may have patched that in twrp recently.
https://github.com/omnirom/android_bootable_recovery/commit/78ab0c5807c17e343cc4fa9af86ea2d787e0e047
Though this could also just be for backups over 2gb... But they split those anyway.
Yoinx said:
Looks like they may have patched that in twrp recently.
https://github.com/omnirom/android_bootable_recovery/commit/78ab0c5807c17e343cc4fa9af86ea2d787e0e047
Though this could also just be for backups over 2gb... But they split those anyway.
Click to expand...
Click to collapse
Now using zerofree in linux to fix that problem.
MicroMod777 said:
Now using zerofree in linux to fix that problem.
Click to expand...
Click to collapse
I haven't had to use it on my LP system images. I used 7zip to compress one with zerofree, the other without zerofree, and the difference was around 8MB. I'm assuming LG didn't add too much junk info. this time around.

How to update from Android 5.1.1 to Android 6.0 without losing root and data

I've seen this thread here http://forum.xda-developers.com/nexus-6/help/rooted-nexus-6-updating-to-android-6-0-t3228796 but It doesn't really answer my question. I've also read that I can just flash the system.img, boot.img, and recovery.img without losing data, but will I lose my root or anything else by doing that?
steam374 said:
I've seen this thread here http://forum.xda-developers.com/nexus-6/help/rooted-nexus-6-updating-to-android-6-0-t3228796 but It doesn't really answer my question. I've also read that I can just flash the system.img, boot.img, and recovery.img without losing data, but will I lose my root or anything else by doing that?
Click to expand...
Click to collapse
What is required for root work?
Root adds a binary file and some scripts to the /system partition
What happens when you flash a system.img?
Everything in the /system partition is wiped and replaced with the contents of the system.img
So, basically as long as I flash super su in twrp I'll be good to go?
steam374 said:
So, basically as long as I flash super su in twrp I'll be good to go?
Click to expand...
Click to collapse
Well, not quite, because on 6.0, you also need a modified boot.img (kernel) too, to get root.
The main question is, are you encrypted? If so it is fairly easy and I will let you know what to do. But if you are not encrypted there is an extra step.
danarama said:
Well, not quite, because on 6.0, you also need a modified boot.img (kernel) too, to get root.
The main question is, are you encrypted? If so it is fairly easy and I will let you know what to do. But if you are not encrypted there is an extra step.
Click to expand...
Click to collapse
Yeah, I'm totally stock besides root and twrp. I used the nexus tool kit to obtain root and an unlocked bootloader.
steam374 said:
Yeah, I'm totally stock besides root and twrp. I used the nexus tool kit to obtain root and an unlocked bootloader.
Click to expand...
Click to collapse
OK.
So flash system.img and boot.img (you may also want to flash bootloader.img and radio.img). You do not need recovery.img.
Boot android as 100% stock until it starts up. This will likely replace TWRP with the stock recovery.img too. If you don't boot with the stock boot.img, you will likely get a bootloop once rooting. (unencrypted users need to flash a modified stock boot.img instead of stock, that does not enforce encryption and boot with that).
Flash chainfires modified boot.img, TWRP.img then boot into recovery and flash latest SuperSU beta (2.52 I think)
danarama said:
OK.
So flash system.img and boot.img (you may also want to flash bootloader.img and radio.img). You do not need recovery.img.
Boot android as 100% stock until it starts up. This will likely replace TWRP with the stock recovery.img too. If you don't boot with the stock boot.img, you will likely get a bootloop once rooting. (unencrypted users need to flash a modified stock boot.img instead of stock, that does not enforce encryption and boot with that).
Flash chainfires modified boot.img, TWRP.img then boot into recovery and flash latest SuperSU beta (2.52 I think)
Click to expand...
Click to collapse
Okay! Thank you very much! This is the help I needed.
steam374 said:
Okay! Thank you very much! This is the help I needed.
Click to expand...
Click to collapse
No probs
danarama said:
No probs
Click to expand...
Click to collapse
So I was successfully able to flash Android 6.0 thanks to your steps. Is there any benefit to updating my radio? I just fear I could brick my device because I remember the old Evo 3D days when that happened.
steam374 said:
So I was successfully able to flash Android 6.0 thanks to your steps. Is there any benefit to updating my radio? I just fear I could brick my device because I remember the old Evo 3D days when that happened.
Click to expand...
Click to collapse
Older HTC devices did seem to have issues with a dodgy radio flash. if you disconnected the connection / power during a radio flash, it could corrupt the filesystem and wasn't easy to fix. Often thought to be a brick. I saw that commonly on the Original HTC Desire.
The great thing with Nexus devices are that you can fastboot format partitions which will repair the file system, so you shouldn't have an issue with bricking from flashing a radio. I literally haven't seen a radio brick for years. That said, still be careful when it comes to power and USB connectivity.
Different radios may work better for you. There are too many variables to say that Radio X will work better than Radio Y for you, but there definitely can be improvements to be found by trying different ones.
danarama said:
Older HTC devices did seem to have issues with a dodgy radio flash. if you disconnected the connection / power during a radio flash, it could corrupt the filesystem and wasn't easy to fix. Often thought to be a brick. I saw that commonly on the Original HTC Desire.
The great thing with Nexus devices are that you can fastboot format partitions which will repair the file system, so you shouldn't have an issue with bricking from flashing a radio. I literally haven't seen a radio brick for years. That said, still be careful when it comes to power and USB connectivity.
Different radios may work better for you. There are too many variables to say that Radio X will work better than Radio Y for you, but there definitely can be improvements to be found by trying different ones.
Click to expand...
Click to collapse
Okay, thanks again you're always very helpful I also didn't update the bootloader is that okay?
steam374 said:
Okay, thanks again you're always very helpful I also didn't update the bootloader is that okay?
Click to expand...
Click to collapse
If it boots up, then yes that is fine. Only may see an issue with older 5.0 bootloaders on 6.0 but 5.1.x is fine.
danarama said:
If it boots up, then yes that is fine. Only may see an issue with older 5.0 bootloaders on 6.0 but 5.1.x is fine.
Click to expand...
Click to collapse
Okay, that should conclude my questions. Sorry for all the noob questions. I did all my major custom rom flashing back when the evo 3d was just released. Things are still very similar, but there's always that extra bit to learn. Thanks again for all the help and have a great day.
steam374 said:
Okay, that should conclude my questions. Sorry for all the noob questions. I did all my major custom rom flashing back when the evo 3d was just released. Things are still very similar, but there's always that extra bit to learn. Thanks again for all the help and have a great day.
Click to expand...
Click to collapse
Hey, don't worry. We prefer "noob" questions to "noob-help-me-i-screwed-up" requests

flash stock. via twrp?

Hey guys, I was hoping to flash a pure stock 7.x preferably via twrp.
A buddy of mine a year ago and me to flash pure Nexus for him but now needs a stock phone for business security net purposes.
Is there a link for this? I've searched and have come up short.
I'm guessing it'll have to update bootloader, radio and kernel as well?
I know how to do this via command line. Was really hoping for a way to do it on the fly since this is not my phone and taking a PC for a TWRP ready device is a hassle.
mrkhigh said:
Hey guys, I was hoping to flash a pure stock 7.x preferably via twrp.
A buddy of mine a year ago and me to flash pure Nexus for him but now needs a stock phone for business security net purposes.
Is there a link for this? I've searched and have come up short.
I'm guessing it'll have to update bootloader, radio and kernel as well?
I know how to do this via command line. Was really hoping for a way to do it on the fly since this is not my phone and taking a PC for a TWRP ready device is a hassle.
Click to expand...
Click to collapse
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
Pkt_Lnt said:
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
Click to expand...
Click to collapse
Thanks for the links,
But I was really hoping TWRP flash able.
Does TWRP allow flashing these images?
mrkhigh said:
Thanks for the links,
But I was really hoping TWRP flash able.
Does TWRP allow flashing these images?
Click to expand...
Click to collapse
Google search says that TWRP can not flash factory images.
Check the TWRP FAQ if you'd like.
http://teamw.in/FAQ/
Pkt_Lnt said:
Google search says that TWRP can not flash factory images.
Check the TWRP FAQ if you'd like.
http://teamw.in/FAQ/
Click to expand...
Click to collapse
That's what I thought.
Thanks for the links,
But I'm still looking for TWRP flashable if anyone knows of one?
This should be a relatively easy thing so I'm surprised it doesn't exist
there is no reason for it to HAVE to be twrp flashable, just google for "NEXUS ROOT TOOLKIT" you will see on there restore to stock, and re-lock boot-loader, not positive but i think twrp cant flash stock unrooted images, i could be wrong
leo5111 said:
there is no reason for it to HAVE to be twrp flashable, just google for "NEXUS ROOT TOOLKIT" you will see on there restore to stock, and re-lock boot-loader, not positive but i think twrp cant flash stock unrooted images, i could be wrong
Click to expand...
Click to collapse
TWRP can flash a stock image if someone creates it. Unless there is something odd about the nexus, but I doubt that. The only thing that shouldn't be flashed stock would be recovery.
I don't think I need to use some toolkit... adb and fastboot commands are simple enough.
I was hoping to avoid needing a PC at another persons house, I mean that is kinda the point of twrp.
I am surprised this doesn't exist. It does for every other device I've owned. It's honestly just a wiped clean, twrp backup of a stock device with TWRP installed.
If I owned the device I would make it for you guys. It seems something that is lacking that is really handy.
I guess I'll round up a laptop. Thanks for the links and suggestions.
Google has done that for you already. Just unpack the archive you choose and the four images are in there.
https://developers.google.com/android/images
I thought we've already decided I cannot flash these images with TWRP....
mrkhigh said:
I thought we've already decided I cannot flash these images with TWRP....
Click to expand...
Click to collapse
http://www.droidviews.com/now-flash-image-files-using-twrp-2-8-4-0/
Different Google search gave this. I can find nothing else on TWRP site or G+
Appears you can also use FlashFire.
Thanks for the help.
OP could flash one of the stock lite ROMs in the development forum and get the TWRP-flashable stock ROM he's looking for. Danvdh and tupac4u both offer one that is nothing more a debloated stock ROM.
TWRP is able to flash system images from 3.0.2 and on. Just unpack the archive and select install img. Remember to flash stock kernel and newest radio and bootloader too (bare in mind that flashable bootloader is harder to find. You might have to find older one and update the files inside on your own). Afterwards flash stock recovery and lock bootloader with a zip. Now you can just reboot it. It's not that hard.
Lawstorant said:
....bare in mind that flashable bootloader is harder to find....
Click to expand...
Click to collapse
For Nexus 6 https://forum.xda-developers.com/showthread.php?p=59728002/
Thank you.
I went ahead and simply flashed him 100% stock via flash and fastboot.
This is probably resolved now, just adding info though. I had flashed stock 7.1.1 zip downloaded from google via twrp 3.0.3.0. It removed twrp itself too and I was back on stock.
mrkhigh said:
I am surprised this doesn't exist. It does for every other device I've owned. It's honestly just a wiped clean, twrp backup of a stock device with TWRP installed.
I guess I'll round up a laptop. Thanks for the links and suggestions.
Click to expand...
Click to collapse
Try the app FlashFire.

Categories

Resources